@revisium/admin 1.7.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -37,7 +37,7 @@ var $re=Object.defineProperty;var Are=(t,e,r)=>e in t?$re(t,e,{enumerable:!0,con
|
|
|
37
37
|
`+R[L].replace(" at new "," at ");return u.displayName&&ae.includes("<anonymous>")&&(ae=ae.replace("<anonymous>",u.displayName)),ae}while(1<=L&&0<=K);break}}}finally{J=!1,Error.prepareStackTrace=v}return(u=u?u.displayName||u.name:"")?U(u):""}function q(u){switch(u.tag){case 5:return U(u.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return u=Q(u.type,!1),u;case 11:return u=Q(u.type.render,!1),u;case 1:return u=Q(u.type,!0),u;default:return""}}function oe(u){if(u==null)return null;if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case _:return"Fragment";case E:return"Portal";case M:return"Profiler";case $:return"StrictMode";case X:return"Suspense";case D:return"SuspenseList"}if(typeof u=="object")switch(u.$$typeof){case B:return(u.displayName||"Context")+".Consumer";case j:return(u._context.displayName||"Context")+".Provider";case V:var f=u.render;return u=u.displayName,u||(u=f.displayName||f.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case F:return f=u.displayName||null,f!==null?f:oe(u.type)||"Memo";case Y:f=u._payload,u=u._init;try{return oe(u(f))}catch{}}return null}function Oe(u){var f=u.type;switch(u.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return u=f.render,u=u.displayName||u.name||"",f.displayName||(u!==""?"ForwardRef("+u+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oe(f);case 8:return f===$?"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 f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function Z(u){switch(typeof u){case"boolean":case"number":case"string":case"undefined":return u;case"object":return u;default:return""}}function le(u){var f=u.type;return(u=u.nodeName)&&u.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function Pe(u){var f=le(u)?"checked":"value",v=Object.getOwnPropertyDescriptor(u.constructor.prototype,f),x=""+u[f];if(!u.hasOwnProperty(f)&&typeof v<"u"&&typeof v.get=="function"&&typeof v.set=="function"){var R=v.get,I=v.set;return Object.defineProperty(u,f,{configurable:!0,get:function(){return R.call(this)},set:function(L){x=""+L,I.call(this,L)}}),Object.defineProperty(u,f,{enumerable:v.enumerable}),{getValue:function(){return x},setValue:function(L){x=""+L},stopTracking:function(){u._valueTracker=null,delete u[f]}}}}function ee(u){u._valueTracker||(u._valueTracker=Pe(u))}function re(u){if(!u)return!1;var f=u._valueTracker;if(!f)return!0;var v=f.getValue(),x="";return u&&(x=le(u)?u.checked?"true":"false":u.value),u=x,u!==v?(f.setValue(u),!0):!1}function ye(u){if(u=u||(typeof document<"u"?document:void 0),typeof u>"u")return null;try{return u.activeElement||u.body}catch{return u.body}}function ke(u,f){var v=f.checked;return z({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v??u._wrapperState.initialChecked})}function Me(u,f){var v=f.defaultValue==null?"":f.defaultValue,x=f.checked!=null?f.checked:f.defaultChecked;v=Z(f.value!=null?f.value:v),u._wrapperState={initialChecked:x,initialValue:v,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function De(u,f){f=f.checked,f!=null&&k(u,"checked",f,!1)}function Vt(u,f){De(u,f);var v=Z(f.value),x=f.type;if(v!=null)x==="number"?(v===0&&u.value===""||u.value!=v)&&(u.value=""+v):u.value!==""+v&&(u.value=""+v);else if(x==="submit"||x==="reset"){u.removeAttribute("value");return}f.hasOwnProperty("value")?yr(u,f.type,v):f.hasOwnProperty("defaultValue")&&yr(u,f.type,Z(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(u.defaultChecked=!!f.defaultChecked)}function vr(u,f,v){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var x=f.type;if(!(x!=="submit"&&x!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+u._wrapperState.initialValue,v||f===u.value||(u.value=f),u.defaultValue=f}v=u.name,v!==""&&(u.name=""),u.defaultChecked=!!u._wrapperState.initialChecked,v!==""&&(u.name=v)}function yr(u,f,v){(f!=="number"||ye(u.ownerDocument)!==u)&&(v==null?u.defaultValue=""+u._wrapperState.initialValue:u.defaultValue!==""+v&&(u.defaultValue=""+v))}var ur=Array.isArray;function or(u,f,v,x){if(u=u.options,f){f={};for(var R=0;R<v.length;R++)f["$"+v[R]]=!0;for(v=0;v<u.length;v++)R=f.hasOwnProperty("$"+u[v].value),u[v].selected!==R&&(u[v].selected=R),R&&x&&(u[v].defaultSelected=!0)}else{for(v=""+Z(v),f=null,R=0;R<u.length;R++){if(u[R].value===v){u[R].selected=!0,x&&(u[R].defaultSelected=!0);return}f!==null||u[R].disabled||(f=u[R])}f!==null&&(f.selected=!0)}}function Rr(u,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return z({},f,{value:void 0,defaultValue:void 0,children:""+u._wrapperState.initialValue})}function zt(u,f){var v=f.value;if(v==null){if(v=f.children,f=f.defaultValue,v!=null){if(f!=null)throw Error(r(92));if(ur(v)){if(1<v.length)throw Error(r(93));v=v[0]}f=v}f==null&&(f=""),v=f}u._wrapperState={initialValue:Z(v)}}function Tn(u,f){var v=Z(f.value),x=Z(f.defaultValue);v!=null&&(v=""+v,v!==u.value&&(u.value=v),f.defaultValue==null&&u.defaultValue!==v&&(u.defaultValue=v)),x!=null&&(u.defaultValue=""+x)}function zn(u){var f=u.textContent;f===u._wrapperState.initialValue&&f!==""&&f!==null&&(u.value=f)}function $n(u){switch(u){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 pi(u,f){return u==null||u==="http://www.w3.org/1999/xhtml"?$n(f):u==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":u}var io,En=function(u){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,v,x,R){MSApp.execUnsafeLocalFunction(function(){return u(f,v,x,R)})}:u}(function(u,f){if(u.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in u)u.innerHTML=f;else{for(io=io||document.createElement("div"),io.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=io.firstChild;u.firstChild;)u.removeChild(u.firstChild);for(;f.firstChild;)u.appendChild(f.firstChild)}});function Ii(u,f){if(f){var v=u.firstChild;if(v&&v===u.lastChild&&v.nodeType===3){v.nodeValue=f;return}}u.textContent=f}var qn={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},Rl=["Webkit","ms","Moz","O"];Object.keys(qn).forEach(function(u){Rl.forEach(function(f){f=f+u.charAt(0).toUpperCase()+u.substring(1),qn[f]=qn[u]})});function Ja(u,f,v){return f==null||typeof f=="boolean"||f===""?"":v||typeof f!="number"||f===0||qn.hasOwnProperty(u)&&qn[u]?(""+f).trim():f+"px"}function Ic(u,f){u=u.style;for(var v in f)if(f.hasOwnProperty(v)){var x=v.indexOf("--")===0,R=Ja(v,f[v],x);v==="float"&&(v="cssFloat"),x?u.setProperty(v,R):u[v]=R}}var Mg=z({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 Il(u,f){if(f){if(Mg[u]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,u));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function ni(u,f){if(u.indexOf("-")===-1)return typeof f.is=="string";switch(u){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 $c=null;function $l(u){return u=u.target||u.srcElement||window,u.correspondingUseElement&&(u=u.correspondingUseElement),u.nodeType===3?u.parentNode:u}var cd=null,es=null,$s=null;function ud(u){if(u=Kg(u)){if(typeof cd!="function")throw Error(r(280));var f=u.stateNode;f&&(f=g0(f),cd(u.stateNode,u.type,f))}}function ts(u){es?$s?$s.push(u):$s=[u]:es=u}function ue(){if(es){var u=es,f=$s;if($s=es=null,ud(u),f)for(u=0;u<f.length;u++)ud(f[u])}}function ve(u,f){return u(f)}function we(){}var $e=!1;function We(u,f,v){if($e)return u(f,v);$e=!0;try{return ve(u,f,v)}finally{$e=!1,(es!==null||$s!==null)&&(we(),ue())}}function wt(u,f){var v=u.stateNode;if(v===null)return null;var x=g0(v);if(x===null)return null;v=x[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(x=!x.disabled)||(u=u.type,x=!(u==="button"||u==="input"||u==="select"||u==="textarea")),u=!x;break e;default:u=!1}if(u)return null;if(v&&typeof v!="function")throw Error(r(231,f,typeof v));return v}var at=!1;if(s)try{var Ue={};Object.defineProperty(Ue,"passive",{get:function(){at=!0}}),window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue)}catch{at=!1}function Ct(u,f,v,x,R,I,L,K,ae){var be=Array.prototype.slice.call(arguments,3);try{f.apply(v,be)}catch(_e){this.onError(_e)}}var G=!1,W=null,te=!1,ce=null,de={onError:function(u){G=!0,W=u}};function qe(u,f,v,x,R,I,L,K,ae){G=!1,W=null,Ct.apply(de,arguments)}function tt(u,f,v,x,R,I,L,K,ae){if(qe.apply(this,arguments),G){if(G){var be=W;G=!1,W=null}else throw Error(r(198));te||(te=!0,ce=be)}}function Ot(u){var f=u,v=u;if(u.alternate)for(;f.return;)f=f.return;else{u=f;do f=u,(f.flags&4098)!==0&&(v=f.return),u=f.return;while(u)}return f.tag===3?v:null}function ir(u){if(u.tag===13){var f=u.memoizedState;if(f===null&&(u=u.alternate,u!==null&&(f=u.memoizedState)),f!==null)return f.dehydrated}return null}function br(u){if(Ot(u)!==u)throw Error(r(188))}function It(u){var f=u.alternate;if(!f){if(f=Ot(u),f===null)throw Error(r(188));return f!==u?null:u}for(var v=u,x=f;;){var R=v.return;if(R===null)break;var I=R.alternate;if(I===null){if(x=R.return,x!==null){v=x;continue}break}if(R.child===I.child){for(I=R.child;I;){if(I===v)return br(R),u;if(I===x)return br(R),f;I=I.sibling}throw Error(r(188))}if(v.return!==x.return)v=R,x=I;else{for(var L=!1,K=R.child;K;){if(K===v){L=!0,v=R,x=I;break}if(K===x){L=!0,x=R,v=I;break}K=K.sibling}if(!L){for(K=I.child;K;){if(K===v){L=!0,v=I,x=R;break}if(K===x){L=!0,x=I,v=R;break}K=K.sibling}if(!L)throw Error(r(189))}}if(v.alternate!==x)throw Error(r(190))}if(v.tag!==3)throw Error(r(188));return v.stateNode.current===v?u:f}function qt(u){return u=It(u),u!==null?Ir(u):null}function Ir(u){if(u.tag===5||u.tag===6)return u;for(u=u.child;u!==null;){var f=Ir(u);if(f!==null)return f;u=u.sibling}return null}var vt=e.unstable_scheduleCallback,pr=e.unstable_cancelCallback,ct=e.unstable_shouldYield,Qt=e.unstable_requestPaint,Dt=e.unstable_now,xr=e.unstable_getCurrentPriorityLevel,Wn=e.unstable_ImmediatePriority,wa=e.unstable_UserBlockingPriority,mo=e.unstable_NormalPriority,vo=e.unstable_LowPriority,Ho=e.unstable_IdlePriority,Sa=null,Un=null;function dd(u){if(Un&&typeof Un.onCommitFiberRoot=="function")try{Un.onCommitFiberRoot(Sa,u,void 0,(u.current.flags&128)===128)}catch{}}var yo=Math.clz32?Math.clz32:Uf,Jb=Math.log,Wf=Math.LN2;function Uf(u){return u>>>=0,u===0?32:31-(Jb(u)/Wf|0)|0}var Al=64,fd=4194304;function Ac(u){switch(u&-u){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 u&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return u&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return u}}function As(u,f){var v=u.pendingLanes;if(v===0)return 0;var x=0,R=u.suspendedLanes,I=u.pingedLanes,L=v&268435455;if(L!==0){var K=L&~R;K!==0?x=Ac(K):(I&=L,I!==0&&(x=Ac(I)))}else L=v&~R,L!==0?x=Ac(L):I!==0&&(x=Ac(I));if(x===0)return 0;if(f!==0&&f!==x&&(f&R)===0&&(R=x&-x,I=f&-f,R>=I||R===16&&(I&4194240)!==0))return f;if((x&4)!==0&&(x|=v&16),f=u.entangledLanes,f!==0)for(u=u.entanglements,f&=x;0<f;)v=31-yo(f),R=1<<v,x|=u[v],f&=~R;return x}function Yee(u,f){switch(u){case 1:case 2:case 4:return f+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 f+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 Kee(u,f){for(var v=u.suspendedLanes,x=u.pingedLanes,R=u.expirationTimes,I=u.pendingLanes;0<I;){var L=31-yo(I),K=1<<L,ae=R[L];ae===-1?((K&v)===0||(K&x)!==0)&&(R[L]=Yee(K,f)):ae<=f&&(u.expiredLanes|=K),I&=~K}}function JP(u){return u=u.pendingLanes&-1073741825,u!==0?u:u&1073741824?1073741824:0}function FM(){var u=Al;return Al<<=1,(Al&4194240)===0&&(Al=64),u}function ek(u){for(var f=[],v=0;31>v;v++)f.push(u);return f}function Ng(u,f,v){u.pendingLanes|=f,f!==536870912&&(u.suspendedLanes=0,u.pingedLanes=0),u=u.eventTimes,f=31-yo(f),u[f]=v}function Jee(u,f){var v=u.pendingLanes&~f;u.pendingLanes=f,u.suspendedLanes=0,u.pingedLanes=0,u.expiredLanes&=f,u.mutableReadLanes&=f,u.entangledLanes&=f,f=u.entanglements;var x=u.eventTimes;for(u=u.expirationTimes;0<v;){var R=31-yo(v),I=1<<R;f[R]=0,x[R]=-1,u[R]=-1,v&=~I}}function tk(u,f){var v=u.entangledLanes|=f;for(u=u.entanglements;v;){var x=31-yo(v),R=1<<x;R&f|u[x]&f&&(u[x]|=f),v&=~R}}var $r=0;function BM(u){return u&=-u,1<u?4<u?(u&268435455)!==0?16:536870912:4:1}var zM,rk,qM,WM,UM,nk=!1,e0=[],Mc=null,Nc=null,jc=null,jg=new Map,Dg=new Map,Dc=[],ete="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 HM(u,f){switch(u){case"focusin":case"focusout":Mc=null;break;case"dragenter":case"dragleave":Nc=null;break;case"mouseover":case"mouseout":jc=null;break;case"pointerover":case"pointerout":jg.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dg.delete(f.pointerId)}}function Lg(u,f,v,x,R,I){return u===null||u.nativeEvent!==I?(u={blockedOn:f,domEventName:v,eventSystemFlags:x,nativeEvent:I,targetContainers:[R]},f!==null&&(f=Kg(f),f!==null&&rk(f)),u):(u.eventSystemFlags|=x,f=u.targetContainers,R!==null&&f.indexOf(R)===-1&&f.push(R),u)}function tte(u,f,v,x,R){switch(f){case"focusin":return Mc=Lg(Mc,u,f,v,x,R),!0;case"dragenter":return Nc=Lg(Nc,u,f,v,x,R),!0;case"mouseover":return jc=Lg(jc,u,f,v,x,R),!0;case"pointerover":var I=R.pointerId;return jg.set(I,Lg(jg.get(I)||null,u,f,v,x,R)),!0;case"gotpointercapture":return I=R.pointerId,Dg.set(I,Lg(Dg.get(I)||null,u,f,v,x,R)),!0}return!1}function XM(u){var f=hd(u.target);if(f!==null){var v=Ot(f);if(v!==null){if(f=v.tag,f===13){if(f=ir(v),f!==null){u.blockedOn=f,UM(u.priority,function(){qM(v)});return}}else if(f===3&&v.stateNode.current.memoizedState.isDehydrated){u.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}u.blockedOn=null}function t0(u){if(u.blockedOn!==null)return!1;for(var f=u.targetContainers;0<f.length;){var v=ok(u.domEventName,u.eventSystemFlags,f[0],u.nativeEvent);if(v===null){v=u.nativeEvent;var x=new v.constructor(v.type,v);$c=x,v.target.dispatchEvent(x),$c=null}else return f=Kg(v),f!==null&&rk(f),u.blockedOn=v,!1;f.shift()}return!0}function ZM(u,f,v){t0(u)&&v.delete(f)}function rte(){nk=!1,Mc!==null&&t0(Mc)&&(Mc=null),Nc!==null&&t0(Nc)&&(Nc=null),jc!==null&&t0(jc)&&(jc=null),jg.forEach(ZM),Dg.forEach(ZM)}function Qg(u,f){u.blockedOn===f&&(u.blockedOn=null,nk||(nk=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,rte)))}function Vg(u){function f(R){return Qg(R,u)}if(0<e0.length){Qg(e0[0],u);for(var v=1;v<e0.length;v++){var x=e0[v];x.blockedOn===u&&(x.blockedOn=null)}}for(Mc!==null&&Qg(Mc,u),Nc!==null&&Qg(Nc,u),jc!==null&&Qg(jc,u),jg.forEach(f),Dg.forEach(f),v=0;v<Dc.length;v++)x=Dc[v],x.blockedOn===u&&(x.blockedOn=null);for(;0<Dc.length&&(v=Dc[0],v.blockedOn===null);)XM(v),v.blockedOn===null&&Dc.shift()}var Hf=T.ReactCurrentBatchConfig,r0=!0;function nte(u,f,v,x){var R=$r,I=Hf.transition;Hf.transition=null;try{$r=1,ik(u,f,v,x)}finally{$r=R,Hf.transition=I}}function ite(u,f,v,x){var R=$r,I=Hf.transition;Hf.transition=null;try{$r=4,ik(u,f,v,x)}finally{$r=R,Hf.transition=I}}function ik(u,f,v,x){if(r0){var R=ok(u,f,v,x);if(R===null)Sk(u,f,x,n0,v),HM(u,x);else if(tte(R,u,f,v,x))x.stopPropagation();else if(HM(u,x),f&4&&-1<ete.indexOf(u)){for(;R!==null;){var I=Kg(R);if(I!==null&&zM(I),I=ok(u,f,v,x),I===null&&Sk(u,f,x,n0,v),I===R)break;R=I}R!==null&&x.stopPropagation()}else Sk(u,f,x,null,v)}}var n0=null;function ok(u,f,v,x){if(n0=null,u=$l(x),u=hd(u),u!==null)if(f=Ot(u),f===null)u=null;else if(v=f.tag,v===13){if(u=ir(f),u!==null)return u;u=null}else if(v===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;u=null}else f!==u&&(u=null);return n0=u,null}function GM(u){switch(u){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(xr()){case Wn:return 1;case wa:return 4;case mo:case vo:return 16;case Ho:return 536870912;default:return 16}default:return 16}}var Lc=null,ak=null,i0=null;function YM(){if(i0)return i0;var u,f=ak,v=f.length,x,R="value"in Lc?Lc.value:Lc.textContent,I=R.length;for(u=0;u<v&&f[u]===R[u];u++);var L=v-u;for(x=1;x<=L&&f[v-x]===R[I-x];x++);return i0=R.slice(u,1<x?1-x:void 0)}function o0(u){var f=u.keyCode;return"charCode"in u?(u=u.charCode,u===0&&f===13&&(u=13)):u=f,u===10&&(u=13),32<=u||u===13?u:0}function a0(){return!0}function KM(){return!1}function Xo(u){function f(v,x,R,I,L){this._reactName=v,this._targetInst=R,this.type=x,this.nativeEvent=I,this.target=L,this.currentTarget=null;for(var K in u)u.hasOwnProperty(K)&&(v=u[K],this[K]=v?v(I):I[K]);return this.isDefaultPrevented=(I.defaultPrevented!=null?I.defaultPrevented:I.returnValue===!1)?a0:KM,this.isPropagationStopped=KM,this}return z(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=a0)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=a0)},persist:function(){},isPersistent:a0}),f}var Xf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(u){return u.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sk=Xo(Xf),Fg=z({},Xf,{view:0,detail:0}),ote=Xo(Fg),lk,ck,Bg,s0=z({},Fg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:dk,button:0,buttons:0,relatedTarget:function(u){return u.relatedTarget===void 0?u.fromElement===u.srcElement?u.toElement:u.fromElement:u.relatedTarget},movementX:function(u){return"movementX"in u?u.movementX:(u!==Bg&&(Bg&&u.type==="mousemove"?(lk=u.screenX-Bg.screenX,ck=u.screenY-Bg.screenY):ck=lk=0,Bg=u),lk)},movementY:function(u){return"movementY"in u?u.movementY:ck}}),JM=Xo(s0),ate=z({},s0,{dataTransfer:0}),ste=Xo(ate),lte=z({},Fg,{relatedTarget:0}),uk=Xo(lte),cte=z({},Xf,{animationName:0,elapsedTime:0,pseudoElement:0}),ute=Xo(cte),dte=z({},Xf,{clipboardData:function(u){return"clipboardData"in u?u.clipboardData:window.clipboardData}}),fte=Xo(dte),hte=z({},Xf,{data:0}),eN=Xo(hte),pte={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gte={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"},mte={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vte(u){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(u):(u=mte[u])?!!f[u]:!1}function dk(){return vte}var yte=z({},Fg,{key:function(u){if(u.key){var f=pte[u.key]||u.key;if(f!=="Unidentified")return f}return u.type==="keypress"?(u=o0(u),u===13?"Enter":String.fromCharCode(u)):u.type==="keydown"||u.type==="keyup"?gte[u.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:dk,charCode:function(u){return u.type==="keypress"?o0(u):0},keyCode:function(u){return u.type==="keydown"||u.type==="keyup"?u.keyCode:0},which:function(u){return u.type==="keypress"?o0(u):u.type==="keydown"||u.type==="keyup"?u.keyCode:0}}),bte=Xo(yte),Ote=z({},s0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),tN=Xo(Ote),wte=z({},Fg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:dk}),Ste=Xo(wte),xte=z({},Xf,{propertyName:0,elapsedTime:0,pseudoElement:0}),Pte=Xo(xte),kte=z({},s0,{deltaX:function(u){return"deltaX"in u?u.deltaX:"wheelDeltaX"in u?-u.wheelDeltaX:0},deltaY:function(u){return"deltaY"in u?u.deltaY:"wheelDeltaY"in u?-u.wheelDeltaY:"wheelDelta"in u?-u.wheelDelta:0},deltaZ:0,deltaMode:0}),Cte=Xo(kte),Tte=[9,13,27,32],fk=s&&"CompositionEvent"in window,zg=null;s&&"documentMode"in document&&(zg=document.documentMode);var Ete=s&&"TextEvent"in window&&!zg,rN=s&&(!fk||zg&&8<zg&&11>=zg),nN=" ",iN=!1;function oN(u,f){switch(u){case"keyup":return Tte.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function aN(u){return u=u.detail,typeof u=="object"&&"data"in u?u.data:null}var Zf=!1;function _te(u,f){switch(u){case"compositionend":return aN(f);case"keypress":return f.which!==32?null:(iN=!0,nN);case"textInput":return u=f.data,u===nN&&iN?null:u;default:return null}}function Rte(u,f){if(Zf)return u==="compositionend"||!fk&&oN(u,f)?(u=YM(),i0=ak=Lc=null,Zf=!1,u):null;switch(u){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return rN&&f.locale!=="ko"?null:f.data;default:return null}}var Ite={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 sN(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f==="input"?!!Ite[u.type]:f==="textarea"}function lN(u,f,v,x){ts(x),f=f0(f,"onChange"),0<f.length&&(v=new sk("onChange","change",null,v,x),u.push({event:v,listeners:f}))}var qg=null,Wg=null;function $te(u){CN(u,0)}function l0(u){var f=eh(u);if(re(f))return u}function Ate(u,f){if(u==="change")return f}var cN=!1;if(s){var hk;if(s){var pk="oninput"in document;if(!pk){var uN=document.createElement("div");uN.setAttribute("oninput","return;"),pk=typeof uN.oninput=="function"}hk=pk}else hk=!1;cN=hk&&(!document.documentMode||9<document.documentMode)}function dN(){qg&&(qg.detachEvent("onpropertychange",fN),Wg=qg=null)}function fN(u){if(u.propertyName==="value"&&l0(Wg)){var f=[];lN(f,Wg,u,$l(u)),We($te,f)}}function Mte(u,f,v){u==="focusin"?(dN(),qg=f,Wg=v,qg.attachEvent("onpropertychange",fN)):u==="focusout"&&dN()}function Nte(u){if(u==="selectionchange"||u==="keyup"||u==="keydown")return l0(Wg)}function jte(u,f){if(u==="click")return l0(f)}function Dte(u,f){if(u==="input"||u==="change")return l0(f)}function Lte(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var rs=typeof Object.is=="function"?Object.is:Lte;function Ug(u,f){if(rs(u,f))return!0;if(typeof u!="object"||u===null||typeof f!="object"||f===null)return!1;var v=Object.keys(u),x=Object.keys(f);if(v.length!==x.length)return!1;for(x=0;x<v.length;x++){var R=v[x];if(!l.call(f,R)||!rs(u[R],f[R]))return!1}return!0}function hN(u){for(;u&&u.firstChild;)u=u.firstChild;return u}function pN(u,f){var v=hN(u);u=0;for(var x;v;){if(v.nodeType===3){if(x=u+v.textContent.length,u<=f&&x>=f)return{node:v,offset:f-u};u=x}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=hN(v)}}function gN(u,f){return u&&f?u===f?!0:u&&u.nodeType===3?!1:f&&f.nodeType===3?gN(u,f.parentNode):"contains"in u?u.contains(f):u.compareDocumentPosition?!!(u.compareDocumentPosition(f)&16):!1:!1}function mN(){for(var u=window,f=ye();f instanceof u.HTMLIFrameElement;){try{var v=typeof f.contentWindow.location.href=="string"}catch{v=!1}if(v)u=f.contentWindow;else break;f=ye(u.document)}return f}function gk(u){var f=u&&u.nodeName&&u.nodeName.toLowerCase();return f&&(f==="input"&&(u.type==="text"||u.type==="search"||u.type==="tel"||u.type==="url"||u.type==="password")||f==="textarea"||u.contentEditable==="true")}function Qte(u){var f=mN(),v=u.focusedElem,x=u.selectionRange;if(f!==v&&v&&v.ownerDocument&&gN(v.ownerDocument.documentElement,v)){if(x!==null&&gk(v)){if(f=x.start,u=x.end,u===void 0&&(u=f),"selectionStart"in v)v.selectionStart=f,v.selectionEnd=Math.min(u,v.value.length);else if(u=(f=v.ownerDocument||document)&&f.defaultView||window,u.getSelection){u=u.getSelection();var R=v.textContent.length,I=Math.min(x.start,R);x=x.end===void 0?I:Math.min(x.end,R),!u.extend&&I>x&&(R=x,x=I,I=R),R=pN(v,I);var L=pN(v,x);R&&L&&(u.rangeCount!==1||u.anchorNode!==R.node||u.anchorOffset!==R.offset||u.focusNode!==L.node||u.focusOffset!==L.offset)&&(f=f.createRange(),f.setStart(R.node,R.offset),u.removeAllRanges(),I>x?(u.addRange(f),u.extend(L.node,L.offset)):(f.setEnd(L.node,L.offset),u.addRange(f)))}}for(f=[],u=v;u=u.parentNode;)u.nodeType===1&&f.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<f.length;v++)u=f[v],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var Vte=s&&"documentMode"in document&&11>=document.documentMode,Gf=null,mk=null,Hg=null,vk=!1;function vN(u,f,v){var x=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;vk||Gf==null||Gf!==ye(x)||(x=Gf,"selectionStart"in x&&gk(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Hg&&Ug(Hg,x)||(Hg=x,x=f0(mk,"onSelect"),0<x.length&&(f=new sk("onSelect","select",null,f,v),u.push({event:f,listeners:x}),f.target=Gf)))}function c0(u,f){var v={};return v[u.toLowerCase()]=f.toLowerCase(),v["Webkit"+u]="webkit"+f,v["Moz"+u]="moz"+f,v}var Yf={animationend:c0("Animation","AnimationEnd"),animationiteration:c0("Animation","AnimationIteration"),animationstart:c0("Animation","AnimationStart"),transitionend:c0("Transition","TransitionEnd")},yk={},yN={};s&&(yN=document.createElement("div").style,"AnimationEvent"in window||(delete Yf.animationend.animation,delete Yf.animationiteration.animation,delete Yf.animationstart.animation),"TransitionEvent"in window||delete Yf.transitionend.transition);function u0(u){if(yk[u])return yk[u];if(!Yf[u])return u;var f=Yf[u],v;for(v in f)if(f.hasOwnProperty(v)&&v in yN)return yk[u]=f[v];return u}var bN=u0("animationend"),ON=u0("animationiteration"),wN=u0("animationstart"),SN=u0("transitionend"),xN=new Map,PN="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 Qc(u,f){xN.set(u,f),o(f,[u])}for(var bk=0;bk<PN.length;bk++){var Ok=PN[bk],Fte=Ok.toLowerCase(),Bte=Ok[0].toUpperCase()+Ok.slice(1);Qc(Fte,"on"+Bte)}Qc(bN,"onAnimationEnd"),Qc(ON,"onAnimationIteration"),Qc(wN,"onAnimationStart"),Qc("dblclick","onDoubleClick"),Qc("focusin","onFocus"),Qc("focusout","onBlur"),Qc(SN,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xg="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(" "),zte=new Set("cancel close invalid load scroll toggle".split(" ").concat(Xg));function kN(u,f,v){var x=u.type||"unknown-event";u.currentTarget=v,tt(x,f,void 0,u),u.currentTarget=null}function CN(u,f){f=(f&4)!==0;for(var v=0;v<u.length;v++){var x=u[v],R=x.event;x=x.listeners;e:{var I=void 0;if(f)for(var L=x.length-1;0<=L;L--){var K=x[L],ae=K.instance,be=K.currentTarget;if(K=K.listener,ae!==I&&R.isPropagationStopped())break e;kN(R,K,be),I=ae}else for(L=0;L<x.length;L++){if(K=x[L],ae=K.instance,be=K.currentTarget,K=K.listener,ae!==I&&R.isPropagationStopped())break e;kN(R,K,be),I=ae}}}if(te)throw u=ce,te=!1,ce=null,u}function sn(u,f){var v=f[Ek];v===void 0&&(v=f[Ek]=new Set);var x=u+"__bubble";v.has(x)||(TN(f,u,2,!1),v.add(x))}function wk(u,f,v){var x=0;f&&(x|=4),TN(v,u,x,f)}var d0="_reactListening"+Math.random().toString(36).slice(2);function Zg(u){if(!u[d0]){u[d0]=!0,n.forEach(function(v){v!=="selectionchange"&&(zte.has(v)||wk(v,!1,u),wk(v,!0,u))});var f=u.nodeType===9?u:u.ownerDocument;f===null||f[d0]||(f[d0]=!0,wk("selectionchange",!1,f))}}function TN(u,f,v,x){switch(GM(f)){case 1:var R=nte;break;case 4:R=ite;break;default:R=ik}v=R.bind(null,f,v,u),R=void 0,!at||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(R=!0),x?R!==void 0?u.addEventListener(f,v,{capture:!0,passive:R}):u.addEventListener(f,v,!0):R!==void 0?u.addEventListener(f,v,{passive:R}):u.addEventListener(f,v,!1)}function Sk(u,f,v,x,R){var I=x;if((f&1)===0&&(f&2)===0&&x!==null)e:for(;;){if(x===null)return;var L=x.tag;if(L===3||L===4){var K=x.stateNode.containerInfo;if(K===R||K.nodeType===8&&K.parentNode===R)break;if(L===4)for(L=x.return;L!==null;){var ae=L.tag;if((ae===3||ae===4)&&(ae=L.stateNode.containerInfo,ae===R||ae.nodeType===8&&ae.parentNode===R))return;L=L.return}for(;K!==null;){if(L=hd(K),L===null)return;if(ae=L.tag,ae===5||ae===6){x=I=L;continue e}K=K.parentNode}}x=x.return}We(function(){var be=I,_e=$l(v),Re=[];e:{var Ee=xN.get(u);if(Ee!==void 0){var He=sk,Je=u;switch(u){case"keypress":if(o0(v)===0)break e;case"keydown":case"keyup":He=bte;break;case"focusin":Je="focus",He=uk;break;case"focusout":Je="blur",He=uk;break;case"beforeblur":case"afterblur":He=uk;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":He=JM;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":He=ste;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":He=Ste;break;case bN:case ON:case wN:He=ute;break;case SN:He=Pte;break;case"scroll":He=ote;break;case"wheel":He=Cte;break;case"copy":case"cut":case"paste":He=fte;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":He=tN}var rt=(f&4)!==0,Ln=!rt&&u==="scroll",he=rt?Ee!==null?Ee+"Capture":null:Ee;rt=[];for(var se=be,pe;se!==null;){pe=se;var Ne=pe.stateNode;if(pe.tag===5&&Ne!==null&&(pe=Ne,he!==null&&(Ne=wt(se,he),Ne!=null&&rt.push(Gg(se,Ne,pe)))),Ln)break;se=se.return}0<rt.length&&(Ee=new He(Ee,Je,null,v,_e),Re.push({event:Ee,listeners:rt}))}}if((f&7)===0){e:{if(Ee=u==="mouseover"||u==="pointerover",He=u==="mouseout"||u==="pointerout",Ee&&v!==$c&&(Je=v.relatedTarget||v.fromElement)&&(hd(Je)||Je[Ml]))break e;if((He||Ee)&&(Ee=_e.window===_e?_e:(Ee=_e.ownerDocument)?Ee.defaultView||Ee.parentWindow:window,He?(Je=v.relatedTarget||v.toElement,He=be,Je=Je?hd(Je):null,Je!==null&&(Ln=Ot(Je),Je!==Ln||Je.tag!==5&&Je.tag!==6)&&(Je=null)):(He=null,Je=be),He!==Je)){if(rt=JM,Ne="onMouseLeave",he="onMouseEnter",se="mouse",(u==="pointerout"||u==="pointerover")&&(rt=tN,Ne="onPointerLeave",he="onPointerEnter",se="pointer"),Ln=He==null?Ee:eh(He),pe=Je==null?Ee:eh(Je),Ee=new rt(Ne,se+"leave",He,v,_e),Ee.target=Ln,Ee.relatedTarget=pe,Ne=null,hd(_e)===be&&(rt=new rt(he,se+"enter",Je,v,_e),rt.target=pe,rt.relatedTarget=Ln,Ne=rt),Ln=Ne,He&&Je)t:{for(rt=He,he=Je,se=0,pe=rt;pe;pe=Kf(pe))se++;for(pe=0,Ne=he;Ne;Ne=Kf(Ne))pe++;for(;0<se-pe;)rt=Kf(rt),se--;for(;0<pe-se;)he=Kf(he),pe--;for(;se--;){if(rt===he||he!==null&&rt===he.alternate)break t;rt=Kf(rt),he=Kf(he)}rt=null}else rt=null;He!==null&&EN(Re,Ee,He,rt,!1),Je!==null&&Ln!==null&&EN(Re,Ln,Je,rt,!0)}}e:{if(Ee=be?eh(be):window,He=Ee.nodeName&&Ee.nodeName.toLowerCase(),He==="select"||He==="input"&&Ee.type==="file")var ot=Ate;else if(sN(Ee))if(cN)ot=Dte;else{ot=Nte;var yt=Mte}else(He=Ee.nodeName)&&He.toLowerCase()==="input"&&(Ee.type==="checkbox"||Ee.type==="radio")&&(ot=jte);if(ot&&(ot=ot(u,be))){lN(Re,ot,v,_e);break e}yt&&yt(u,Ee,be),u==="focusout"&&(yt=Ee._wrapperState)&&yt.controlled&&Ee.type==="number"&&yr(Ee,"number",Ee.value)}switch(yt=be?eh(be):window,u){case"focusin":(sN(yt)||yt.contentEditable==="true")&&(Gf=yt,mk=be,Hg=null);break;case"focusout":Hg=mk=Gf=null;break;case"mousedown":vk=!0;break;case"contextmenu":case"mouseup":case"dragend":vk=!1,vN(Re,v,_e);break;case"selectionchange":if(Vte)break;case"keydown":case"keyup":vN(Re,v,_e)}var bt;if(fk)e:{switch(u){case"compositionstart":var kt="onCompositionStart";break e;case"compositionend":kt="onCompositionEnd";break e;case"compositionupdate":kt="onCompositionUpdate";break e}kt=void 0}else Zf?oN(u,v)&&(kt="onCompositionEnd"):u==="keydown"&&v.keyCode===229&&(kt="onCompositionStart");kt&&(rN&&v.locale!=="ko"&&(Zf||kt!=="onCompositionStart"?kt==="onCompositionEnd"&&Zf&&(bt=YM()):(Lc=_e,ak="value"in Lc?Lc.value:Lc.textContent,Zf=!0)),yt=f0(be,kt),0<yt.length&&(kt=new eN(kt,u,null,v,_e),Re.push({event:kt,listeners:yt}),bt?kt.data=bt:(bt=aN(v),bt!==null&&(kt.data=bt)))),(bt=Ete?_te(u,v):Rte(u,v))&&(be=f0(be,"onBeforeInput"),0<be.length&&(_e=new eN("onBeforeInput","beforeinput",null,v,_e),Re.push({event:_e,listeners:be}),_e.data=bt))}CN(Re,f)})}function Gg(u,f,v){return{instance:u,listener:f,currentTarget:v}}function f0(u,f){for(var v=f+"Capture",x=[];u!==null;){var R=u,I=R.stateNode;R.tag===5&&I!==null&&(R=I,I=wt(u,v),I!=null&&x.unshift(Gg(u,I,R)),I=wt(u,f),I!=null&&x.push(Gg(u,I,R))),u=u.return}return x}function Kf(u){if(u===null)return null;do u=u.return;while(u&&u.tag!==5);return u||null}function EN(u,f,v,x,R){for(var I=f._reactName,L=[];v!==null&&v!==x;){var K=v,ae=K.alternate,be=K.stateNode;if(ae!==null&&ae===x)break;K.tag===5&&be!==null&&(K=be,R?(ae=wt(v,I),ae!=null&&L.unshift(Gg(v,ae,K))):R||(ae=wt(v,I),ae!=null&&L.push(Gg(v,ae,K)))),v=v.return}L.length!==0&&u.push({event:f,listeners:L})}var qte=/\r\n?/g,Wte=/\u0000|\uFFFD/g;function _N(u){return(typeof u=="string"?u:""+u).replace(qte,`
|
|
38
38
|
`).replace(Wte,"")}function h0(u,f,v){if(f=_N(f),_N(u)!==f&&v)throw Error(r(425))}function p0(){}var xk=null,Pk=null;function kk(u,f){return u==="textarea"||u==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var Ck=typeof setTimeout=="function"?setTimeout:void 0,Ute=typeof clearTimeout=="function"?clearTimeout:void 0,RN=typeof Promise=="function"?Promise:void 0,Hte=typeof queueMicrotask=="function"?queueMicrotask:typeof RN<"u"?function(u){return RN.resolve(null).then(u).catch(Xte)}:Ck;function Xte(u){setTimeout(function(){throw u})}function Tk(u,f){var v=f,x=0;do{var R=v.nextSibling;if(u.removeChild(v),R&&R.nodeType===8)if(v=R.data,v==="/$"){if(x===0){u.removeChild(R),Vg(f);return}x--}else v!=="$"&&v!=="$?"&&v!=="$!"||x++;v=R}while(v);Vg(f)}function Vc(u){for(;u!=null;u=u.nextSibling){var f=u.nodeType;if(f===1||f===3)break;if(f===8){if(f=u.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return u}function IN(u){u=u.previousSibling;for(var f=0;u;){if(u.nodeType===8){var v=u.data;if(v==="$"||v==="$!"||v==="$?"){if(f===0)return u;f--}else v==="/$"&&f++}u=u.previousSibling}return null}var Jf=Math.random().toString(36).slice(2),Ms="__reactFiber$"+Jf,Yg="__reactProps$"+Jf,Ml="__reactContainer$"+Jf,Ek="__reactEvents$"+Jf,Zte="__reactListeners$"+Jf,Gte="__reactHandles$"+Jf;function hd(u){var f=u[Ms];if(f)return f;for(var v=u.parentNode;v;){if(f=v[Ml]||v[Ms]){if(v=f.alternate,f.child!==null||v!==null&&v.child!==null)for(u=IN(u);u!==null;){if(v=u[Ms])return v;u=IN(u)}return f}u=v,v=u.parentNode}return null}function Kg(u){return u=u[Ms]||u[Ml],!u||u.tag!==5&&u.tag!==6&&u.tag!==13&&u.tag!==3?null:u}function eh(u){if(u.tag===5||u.tag===6)return u.stateNode;throw Error(r(33))}function g0(u){return u[Yg]||null}var _k=[],th=-1;function Fc(u){return{current:u}}function ln(u){0>th||(u.current=_k[th],_k[th]=null,th--)}function Ur(u,f){th++,_k[th]=u.current,u.current=f}var Bc={},Hi=Fc(Bc),bo=Fc(!1),pd=Bc;function rh(u,f){var v=u.type.contextTypes;if(!v)return Bc;var x=u.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===f)return x.__reactInternalMemoizedMaskedChildContext;var R={},I;for(I in v)R[I]=f[I];return x&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=f,u.__reactInternalMemoizedMaskedChildContext=R),R}function Oo(u){return u=u.childContextTypes,u!=null}function m0(){ln(bo),ln(Hi)}function $N(u,f,v){if(Hi.current!==Bc)throw Error(r(168));Ur(Hi,f),Ur(bo,v)}function AN(u,f,v){var x=u.stateNode;if(f=f.childContextTypes,typeof x.getChildContext!="function")return v;x=x.getChildContext();for(var R in x)if(!(R in f))throw Error(r(108,Oe(u)||"Unknown",R));return z({},v,x)}function v0(u){return u=(u=u.stateNode)&&u.__reactInternalMemoizedMergedChildContext||Bc,pd=Hi.current,Ur(Hi,u),Ur(bo,bo.current),!0}function MN(u,f,v){var x=u.stateNode;if(!x)throw Error(r(169));v?(u=AN(u,f,pd),x.__reactInternalMemoizedMergedChildContext=u,ln(bo),ln(Hi),Ur(Hi,u)):ln(bo),Ur(bo,v)}var Nl=null,y0=!1,Rk=!1;function NN(u){Nl===null?Nl=[u]:Nl.push(u)}function Yte(u){y0=!0,NN(u)}function zc(){if(!Rk&&Nl!==null){Rk=!0;var u=0,f=$r;try{var v=Nl;for($r=1;u<v.length;u++){var x=v[u];do x=x(!0);while(x!==null)}Nl=null,y0=!1}catch(R){throw Nl!==null&&(Nl=Nl.slice(u+1)),vt(Wn,zc),R}finally{$r=f,Rk=!1}}return null}var nh=[],ih=0,b0=null,O0=0,xa=[],Pa=0,gd=null,jl=1,Dl="";function md(u,f){nh[ih++]=O0,nh[ih++]=b0,b0=u,O0=f}function jN(u,f,v){xa[Pa++]=jl,xa[Pa++]=Dl,xa[Pa++]=gd,gd=u;var x=jl;u=Dl;var R=32-yo(x)-1;x&=~(1<<R),v+=1;var I=32-yo(f)+R;if(30<I){var L=R-R%5;I=(x&(1<<L)-1).toString(32),x>>=L,R-=L,jl=1<<32-yo(f)+R|v<<R|x,Dl=I+u}else jl=1<<I|v<<R|x,Dl=u}function Ik(u){u.return!==null&&(md(u,1),jN(u,1,0))}function $k(u){for(;u===b0;)b0=nh[--ih],nh[ih]=null,O0=nh[--ih],nh[ih]=null;for(;u===gd;)gd=xa[--Pa],xa[Pa]=null,Dl=xa[--Pa],xa[Pa]=null,jl=xa[--Pa],xa[Pa]=null}var Zo=null,Go=null,wn=!1,ns=null;function DN(u,f){var v=Ea(5,null,null,0);v.elementType="DELETED",v.stateNode=f,v.return=u,f=u.deletions,f===null?(u.deletions=[v],u.flags|=16):f.push(v)}function LN(u,f){switch(u.tag){case 5:var v=u.type;return f=f.nodeType!==1||v.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(u.stateNode=f,Zo=u,Go=Vc(f.firstChild),!0):!1;case 6:return f=u.pendingProps===""||f.nodeType!==3?null:f,f!==null?(u.stateNode=f,Zo=u,Go=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(v=gd!==null?{id:jl,overflow:Dl}:null,u.memoizedState={dehydrated:f,treeContext:v,retryLane:1073741824},v=Ea(18,null,null,0),v.stateNode=f,v.return=u,u.child=v,Zo=u,Go=null,!0):!1;default:return!1}}function Ak(u){return(u.mode&1)!==0&&(u.flags&128)===0}function Mk(u){if(wn){var f=Go;if(f){var v=f;if(!LN(u,f)){if(Ak(u))throw Error(r(418));f=Vc(v.nextSibling);var x=Zo;f&&LN(u,f)?DN(x,v):(u.flags=u.flags&-4097|2,wn=!1,Zo=u)}}else{if(Ak(u))throw Error(r(418));u.flags=u.flags&-4097|2,wn=!1,Zo=u}}}function QN(u){for(u=u.return;u!==null&&u.tag!==5&&u.tag!==3&&u.tag!==13;)u=u.return;Zo=u}function w0(u){if(u!==Zo)return!1;if(!wn)return QN(u),wn=!0,!1;var f;if((f=u.tag!==3)&&!(f=u.tag!==5)&&(f=u.type,f=f!=="head"&&f!=="body"&&!kk(u.type,u.memoizedProps)),f&&(f=Go)){if(Ak(u))throw VN(),Error(r(418));for(;f;)DN(u,f),f=Vc(f.nextSibling)}if(QN(u),u.tag===13){if(u=u.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(r(317));e:{for(u=u.nextSibling,f=0;u;){if(u.nodeType===8){var v=u.data;if(v==="/$"){if(f===0){Go=Vc(u.nextSibling);break e}f--}else v!=="$"&&v!=="$!"&&v!=="$?"||f++}u=u.nextSibling}Go=null}}else Go=Zo?Vc(u.stateNode.nextSibling):null;return!0}function VN(){for(var u=Go;u;)u=Vc(u.nextSibling)}function oh(){Go=Zo=null,wn=!1}function Nk(u){ns===null?ns=[u]:ns.push(u)}var Kte=T.ReactCurrentBatchConfig;function Jg(u,f,v){if(u=v.ref,u!==null&&typeof u!="function"&&typeof u!="object"){if(v._owner){if(v=v._owner,v){if(v.tag!==1)throw Error(r(309));var x=v.stateNode}if(!x)throw Error(r(147,u));var R=x,I=""+u;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===I?f.ref:(f=function(L){var K=R.refs;L===null?delete K[I]:K[I]=L},f._stringRef=I,f)}if(typeof u!="string")throw Error(r(284));if(!v._owner)throw Error(r(290,u))}return u}function S0(u,f){throw u=Object.prototype.toString.call(f),Error(r(31,u==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":u))}function FN(u){var f=u._init;return f(u._payload)}function BN(u){function f(he,se){if(u){var pe=he.deletions;pe===null?(he.deletions=[se],he.flags|=16):pe.push(se)}}function v(he,se){if(!u)return null;for(;se!==null;)f(he,se),se=se.sibling;return null}function x(he,se){for(he=new Map;se!==null;)se.key!==null?he.set(se.key,se):he.set(se.index,se),se=se.sibling;return he}function R(he,se){return he=Yc(he,se),he.index=0,he.sibling=null,he}function I(he,se,pe){return he.index=pe,u?(pe=he.alternate,pe!==null?(pe=pe.index,pe<se?(he.flags|=2,se):pe):(he.flags|=2,se)):(he.flags|=1048576,se)}function L(he){return u&&he.alternate===null&&(he.flags|=2),he}function K(he,se,pe,Ne){return se===null||se.tag!==6?(se=CC(pe,he.mode,Ne),se.return=he,se):(se=R(se,pe),se.return=he,se)}function ae(he,se,pe,Ne){var ot=pe.type;return ot===_?_e(he,se,pe.props.children,Ne,pe.key):se!==null&&(se.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Y&&FN(ot)===se.type)?(Ne=R(se,pe.props),Ne.ref=Jg(he,se,pe),Ne.return=he,Ne):(Ne=U0(pe.type,pe.key,pe.props,null,he.mode,Ne),Ne.ref=Jg(he,se,pe),Ne.return=he,Ne)}function be(he,se,pe,Ne){return se===null||se.tag!==4||se.stateNode.containerInfo!==pe.containerInfo||se.stateNode.implementation!==pe.implementation?(se=TC(pe,he.mode,Ne),se.return=he,se):(se=R(se,pe.children||[]),se.return=he,se)}function _e(he,se,pe,Ne,ot){return se===null||se.tag!==7?(se=Pd(pe,he.mode,Ne,ot),se.return=he,se):(se=R(se,pe),se.return=he,se)}function Re(he,se,pe){if(typeof se=="string"&&se!==""||typeof se=="number")return se=CC(""+se,he.mode,pe),se.return=he,se;if(typeof se=="object"&&se!==null){switch(se.$$typeof){case C:return pe=U0(se.type,se.key,se.props,null,he.mode,pe),pe.ref=Jg(he,null,se),pe.return=he,pe;case E:return se=TC(se,he.mode,pe),se.return=he,se;case Y:var Ne=se._init;return Re(he,Ne(se._payload),pe)}if(ur(se)||ne(se))return se=Pd(se,he.mode,pe,null),se.return=he,se;S0(he,se)}return null}function Ee(he,se,pe,Ne){var ot=se!==null?se.key:null;if(typeof pe=="string"&&pe!==""||typeof pe=="number")return ot!==null?null:K(he,se,""+pe,Ne);if(typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case C:return pe.key===ot?ae(he,se,pe,Ne):null;case E:return pe.key===ot?be(he,se,pe,Ne):null;case Y:return ot=pe._init,Ee(he,se,ot(pe._payload),Ne)}if(ur(pe)||ne(pe))return ot!==null?null:_e(he,se,pe,Ne,null);S0(he,pe)}return null}function He(he,se,pe,Ne,ot){if(typeof Ne=="string"&&Ne!==""||typeof Ne=="number")return he=he.get(pe)||null,K(se,he,""+Ne,ot);if(typeof Ne=="object"&&Ne!==null){switch(Ne.$$typeof){case C:return he=he.get(Ne.key===null?pe:Ne.key)||null,ae(se,he,Ne,ot);case E:return he=he.get(Ne.key===null?pe:Ne.key)||null,be(se,he,Ne,ot);case Y:var yt=Ne._init;return He(he,se,pe,yt(Ne._payload),ot)}if(ur(Ne)||ne(Ne))return he=he.get(pe)||null,_e(se,he,Ne,ot,null);S0(se,Ne)}return null}function Je(he,se,pe,Ne){for(var ot=null,yt=null,bt=se,kt=se=0,vi=null;bt!==null&&kt<pe.length;kt++){bt.index>kt?(vi=bt,bt=null):vi=bt.sibling;var gr=Ee(he,bt,pe[kt],Ne);if(gr===null){bt===null&&(bt=vi);break}u&&bt&&gr.alternate===null&&f(he,bt),se=I(gr,se,kt),yt===null?ot=gr:yt.sibling=gr,yt=gr,bt=vi}if(kt===pe.length)return v(he,bt),wn&&md(he,kt),ot;if(bt===null){for(;kt<pe.length;kt++)bt=Re(he,pe[kt],Ne),bt!==null&&(se=I(bt,se,kt),yt===null?ot=bt:yt.sibling=bt,yt=bt);return wn&&md(he,kt),ot}for(bt=x(he,bt);kt<pe.length;kt++)vi=He(bt,he,kt,pe[kt],Ne),vi!==null&&(u&&vi.alternate!==null&&bt.delete(vi.key===null?kt:vi.key),se=I(vi,se,kt),yt===null?ot=vi:yt.sibling=vi,yt=vi);return u&&bt.forEach(function(Kc){return f(he,Kc)}),wn&&md(he,kt),ot}function rt(he,se,pe,Ne){var ot=ne(pe);if(typeof ot!="function")throw Error(r(150));if(pe=ot.call(pe),pe==null)throw Error(r(151));for(var yt=ot=null,bt=se,kt=se=0,vi=null,gr=pe.next();bt!==null&&!gr.done;kt++,gr=pe.next()){bt.index>kt?(vi=bt,bt=null):vi=bt.sibling;var Kc=Ee(he,bt,gr.value,Ne);if(Kc===null){bt===null&&(bt=vi);break}u&&bt&&Kc.alternate===null&&f(he,bt),se=I(Kc,se,kt),yt===null?ot=Kc:yt.sibling=Kc,yt=Kc,bt=vi}if(gr.done)return v(he,bt),wn&&md(he,kt),ot;if(bt===null){for(;!gr.done;kt++,gr=pe.next())gr=Re(he,gr.value,Ne),gr!==null&&(se=I(gr,se,kt),yt===null?ot=gr:yt.sibling=gr,yt=gr);return wn&&md(he,kt),ot}for(bt=x(he,bt);!gr.done;kt++,gr=pe.next())gr=He(bt,he,kt,gr.value,Ne),gr!==null&&(u&&gr.alternate!==null&&bt.delete(gr.key===null?kt:gr.key),se=I(gr,se,kt),yt===null?ot=gr:yt.sibling=gr,yt=gr);return u&&bt.forEach(function(Ire){return f(he,Ire)}),wn&&md(he,kt),ot}function Ln(he,se,pe,Ne){if(typeof pe=="object"&&pe!==null&&pe.type===_&&pe.key===null&&(pe=pe.props.children),typeof pe=="object"&&pe!==null){switch(pe.$$typeof){case C:e:{for(var ot=pe.key,yt=se;yt!==null;){if(yt.key===ot){if(ot=pe.type,ot===_){if(yt.tag===7){v(he,yt.sibling),se=R(yt,pe.props.children),se.return=he,he=se;break e}}else if(yt.elementType===ot||typeof ot=="object"&&ot!==null&&ot.$$typeof===Y&&FN(ot)===yt.type){v(he,yt.sibling),se=R(yt,pe.props),se.ref=Jg(he,yt,pe),se.return=he,he=se;break e}v(he,yt);break}else f(he,yt);yt=yt.sibling}pe.type===_?(se=Pd(pe.props.children,he.mode,Ne,pe.key),se.return=he,he=se):(Ne=U0(pe.type,pe.key,pe.props,null,he.mode,Ne),Ne.ref=Jg(he,se,pe),Ne.return=he,he=Ne)}return L(he);case E:e:{for(yt=pe.key;se!==null;){if(se.key===yt)if(se.tag===4&&se.stateNode.containerInfo===pe.containerInfo&&se.stateNode.implementation===pe.implementation){v(he,se.sibling),se=R(se,pe.children||[]),se.return=he,he=se;break e}else{v(he,se);break}else f(he,se);se=se.sibling}se=TC(pe,he.mode,Ne),se.return=he,he=se}return L(he);case Y:return yt=pe._init,Ln(he,se,yt(pe._payload),Ne)}if(ur(pe))return Je(he,se,pe,Ne);if(ne(pe))return rt(he,se,pe,Ne);S0(he,pe)}return typeof pe=="string"&&pe!==""||typeof pe=="number"?(pe=""+pe,se!==null&&se.tag===6?(v(he,se.sibling),se=R(se,pe),se.return=he,he=se):(v(he,se),se=CC(pe,he.mode,Ne),se.return=he,he=se),L(he)):v(he,se)}return Ln}var ah=BN(!0),zN=BN(!1),x0=Fc(null),P0=null,sh=null,jk=null;function Dk(){jk=sh=P0=null}function Lk(u){var f=x0.current;ln(x0),u._currentValue=f}function Qk(u,f,v){for(;u!==null;){var x=u.alternate;if((u.childLanes&f)!==f?(u.childLanes|=f,x!==null&&(x.childLanes|=f)):x!==null&&(x.childLanes&f)!==f&&(x.childLanes|=f),u===v)break;u=u.return}}function lh(u,f){P0=u,jk=sh=null,u=u.dependencies,u!==null&&u.firstContext!==null&&((u.lanes&f)!==0&&(wo=!0),u.firstContext=null)}function ka(u){var f=u._currentValue;if(jk!==u)if(u={context:u,memoizedValue:f,next:null},sh===null){if(P0===null)throw Error(r(308));sh=u,P0.dependencies={lanes:0,firstContext:u}}else sh=sh.next=u;return f}var vd=null;function Vk(u){vd===null?vd=[u]:vd.push(u)}function qN(u,f,v,x){var R=f.interleaved;return R===null?(v.next=v,Vk(f)):(v.next=R.next,R.next=v),f.interleaved=v,Ll(u,x)}function Ll(u,f){u.lanes|=f;var v=u.alternate;for(v!==null&&(v.lanes|=f),v=u,u=u.return;u!==null;)u.childLanes|=f,v=u.alternate,v!==null&&(v.childLanes|=f),v=u,u=u.return;return v.tag===3?v.stateNode:null}var qc=!1;function Fk(u){u.updateQueue={baseState:u.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function WN(u,f){u=u.updateQueue,f.updateQueue===u&&(f.updateQueue={baseState:u.baseState,firstBaseUpdate:u.firstBaseUpdate,lastBaseUpdate:u.lastBaseUpdate,shared:u.shared,effects:u.effects})}function Ql(u,f){return{eventTime:u,lane:f,tag:0,payload:null,callback:null,next:null}}function Wc(u,f,v){var x=u.updateQueue;if(x===null)return null;if(x=x.shared,(dr&2)!==0){var R=x.pending;return R===null?f.next=f:(f.next=R.next,R.next=f),x.pending=f,Ll(u,v)}return R=x.interleaved,R===null?(f.next=f,Vk(x)):(f.next=R.next,R.next=f),x.interleaved=f,Ll(u,v)}function k0(u,f,v){if(f=f.updateQueue,f!==null&&(f=f.shared,(v&4194240)!==0)){var x=f.lanes;x&=u.pendingLanes,v|=x,f.lanes=v,tk(u,v)}}function UN(u,f){var v=u.updateQueue,x=u.alternate;if(x!==null&&(x=x.updateQueue,v===x)){var R=null,I=null;if(v=v.firstBaseUpdate,v!==null){do{var L={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};I===null?R=I=L:I=I.next=L,v=v.next}while(v!==null);I===null?R=I=f:I=I.next=f}else R=I=f;v={baseState:x.baseState,firstBaseUpdate:R,lastBaseUpdate:I,shared:x.shared,effects:x.effects},u.updateQueue=v;return}u=v.lastBaseUpdate,u===null?v.firstBaseUpdate=f:u.next=f,v.lastBaseUpdate=f}function C0(u,f,v,x){var R=u.updateQueue;qc=!1;var I=R.firstBaseUpdate,L=R.lastBaseUpdate,K=R.shared.pending;if(K!==null){R.shared.pending=null;var ae=K,be=ae.next;ae.next=null,L===null?I=be:L.next=be,L=ae;var _e=u.alternate;_e!==null&&(_e=_e.updateQueue,K=_e.lastBaseUpdate,K!==L&&(K===null?_e.firstBaseUpdate=be:K.next=be,_e.lastBaseUpdate=ae))}if(I!==null){var Re=R.baseState;L=0,_e=be=ae=null,K=I;do{var Ee=K.lane,He=K.eventTime;if((x&Ee)===Ee){_e!==null&&(_e=_e.next={eventTime:He,lane:0,tag:K.tag,payload:K.payload,callback:K.callback,next:null});e:{var Je=u,rt=K;switch(Ee=f,He=v,rt.tag){case 1:if(Je=rt.payload,typeof Je=="function"){Re=Je.call(He,Re,Ee);break e}Re=Je;break e;case 3:Je.flags=Je.flags&-65537|128;case 0:if(Je=rt.payload,Ee=typeof Je=="function"?Je.call(He,Re,Ee):Je,Ee==null)break e;Re=z({},Re,Ee);break e;case 2:qc=!0}}K.callback!==null&&K.lane!==0&&(u.flags|=64,Ee=R.effects,Ee===null?R.effects=[K]:Ee.push(K))}else He={eventTime:He,lane:Ee,tag:K.tag,payload:K.payload,callback:K.callback,next:null},_e===null?(be=_e=He,ae=Re):_e=_e.next=He,L|=Ee;if(K=K.next,K===null){if(K=R.shared.pending,K===null)break;Ee=K,K=Ee.next,Ee.next=null,R.lastBaseUpdate=Ee,R.shared.pending=null}}while(!0);if(_e===null&&(ae=Re),R.baseState=ae,R.firstBaseUpdate=be,R.lastBaseUpdate=_e,f=R.shared.interleaved,f!==null){R=f;do L|=R.lane,R=R.next;while(R!==f)}else I===null&&(R.shared.lanes=0);Od|=L,u.lanes=L,u.memoizedState=Re}}function HN(u,f,v){if(u=f.effects,f.effects=null,u!==null)for(f=0;f<u.length;f++){var x=u[f],R=x.callback;if(R!==null){if(x.callback=null,x=v,typeof R!="function")throw Error(r(191,R));R.call(x)}}}var em={},Ns=Fc(em),tm=Fc(em),rm=Fc(em);function yd(u){if(u===em)throw Error(r(174));return u}function Bk(u,f){switch(Ur(rm,f),Ur(tm,u),Ur(Ns,em),u=f.nodeType,u){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:pi(null,"");break;default:u=u===8?f.parentNode:f,f=u.namespaceURI||null,u=u.tagName,f=pi(f,u)}ln(Ns),Ur(Ns,f)}function ch(){ln(Ns),ln(tm),ln(rm)}function XN(u){yd(rm.current);var f=yd(Ns.current),v=pi(f,u.type);f!==v&&(Ur(tm,u),Ur(Ns,v))}function zk(u){tm.current===u&&(ln(Ns),ln(tm))}var _n=Fc(0);function T0(u){for(var f=u;f!==null;){if(f.tag===13){var v=f.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||v.data==="$?"||v.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&128)!==0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var qk=[];function Wk(){for(var u=0;u<qk.length;u++)qk[u]._workInProgressVersionPrimary=null;qk.length=0}var E0=T.ReactCurrentDispatcher,Uk=T.ReactCurrentBatchConfig,bd=0,Rn=null,ii=null,gi=null,_0=!1,nm=!1,im=0,Jte=0;function Xi(){throw Error(r(321))}function Hk(u,f){if(f===null)return!1;for(var v=0;v<f.length&&v<u.length;v++)if(!rs(u[v],f[v]))return!1;return!0}function Xk(u,f,v,x,R,I){if(bd=I,Rn=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,E0.current=u===null||u.memoizedState===null?nre:ire,u=v(x,R),nm){I=0;do{if(nm=!1,im=0,25<=I)throw Error(r(301));I+=1,gi=ii=null,f.updateQueue=null,E0.current=ore,u=v(x,R)}while(nm)}if(E0.current=$0,f=ii!==null&&ii.next!==null,bd=0,gi=ii=Rn=null,_0=!1,f)throw Error(r(300));return u}function Zk(){var u=im!==0;return im=0,u}function js(){var u={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gi===null?Rn.memoizedState=gi=u:gi=gi.next=u,gi}function Ca(){if(ii===null){var u=Rn.alternate;u=u!==null?u.memoizedState:null}else u=ii.next;var f=gi===null?Rn.memoizedState:gi.next;if(f!==null)gi=f,ii=u;else{if(u===null)throw Error(r(310));ii=u,u={memoizedState:ii.memoizedState,baseState:ii.baseState,baseQueue:ii.baseQueue,queue:ii.queue,next:null},gi===null?Rn.memoizedState=gi=u:gi=gi.next=u}return gi}function om(u,f){return typeof f=="function"?f(u):f}function Gk(u){var f=Ca(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var x=ii,R=x.baseQueue,I=v.pending;if(I!==null){if(R!==null){var L=R.next;R.next=I.next,I.next=L}x.baseQueue=R=I,v.pending=null}if(R!==null){I=R.next,x=x.baseState;var K=L=null,ae=null,be=I;do{var _e=be.lane;if((bd&_e)===_e)ae!==null&&(ae=ae.next={lane:0,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null}),x=be.hasEagerState?be.eagerState:u(x,be.action);else{var Re={lane:_e,action:be.action,hasEagerState:be.hasEagerState,eagerState:be.eagerState,next:null};ae===null?(K=ae=Re,L=x):ae=ae.next=Re,Rn.lanes|=_e,Od|=_e}be=be.next}while(be!==null&&be!==I);ae===null?L=x:ae.next=K,rs(x,f.memoizedState)||(wo=!0),f.memoizedState=x,f.baseState=L,f.baseQueue=ae,v.lastRenderedState=x}if(u=v.interleaved,u!==null){R=u;do I=R.lane,Rn.lanes|=I,Od|=I,R=R.next;while(R!==u)}else R===null&&(v.lanes=0);return[f.memoizedState,v.dispatch]}function Yk(u){var f=Ca(),v=f.queue;if(v===null)throw Error(r(311));v.lastRenderedReducer=u;var x=v.dispatch,R=v.pending,I=f.memoizedState;if(R!==null){v.pending=null;var L=R=R.next;do I=u(I,L.action),L=L.next;while(L!==R);rs(I,f.memoizedState)||(wo=!0),f.memoizedState=I,f.baseQueue===null&&(f.baseState=I),v.lastRenderedState=I}return[I,x]}function ZN(){}function GN(u,f){var v=Rn,x=Ca(),R=f(),I=!rs(x.memoizedState,R);if(I&&(x.memoizedState=R,wo=!0),x=x.queue,Kk(JN.bind(null,v,x,u),[u]),x.getSnapshot!==f||I||gi!==null&&gi.memoizedState.tag&1){if(v.flags|=2048,am(9,KN.bind(null,v,x,R,f),void 0,null),mi===null)throw Error(r(349));(bd&30)!==0||YN(v,f,R)}return R}function YN(u,f,v){u.flags|=16384,u={getSnapshot:f,value:v},f=Rn.updateQueue,f===null?(f={lastEffect:null,stores:null},Rn.updateQueue=f,f.stores=[u]):(v=f.stores,v===null?f.stores=[u]:v.push(u))}function KN(u,f,v,x){f.value=v,f.getSnapshot=x,ej(f)&&tj(u)}function JN(u,f,v){return v(function(){ej(f)&&tj(u)})}function ej(u){var f=u.getSnapshot;u=u.value;try{var v=f();return!rs(u,v)}catch{return!0}}function tj(u){var f=Ll(u,1);f!==null&&ss(f,u,1,-1)}function rj(u){var f=js();return typeof u=="function"&&(u=u()),f.memoizedState=f.baseState=u,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:om,lastRenderedState:u},f.queue=u,u=u.dispatch=rre.bind(null,Rn,u),[f.memoizedState,u]}function am(u,f,v,x){return u={tag:u,create:f,destroy:v,deps:x,next:null},f=Rn.updateQueue,f===null?(f={lastEffect:null,stores:null},Rn.updateQueue=f,f.lastEffect=u.next=u):(v=f.lastEffect,v===null?f.lastEffect=u.next=u:(x=v.next,v.next=u,u.next=x,f.lastEffect=u)),u}function nj(){return Ca().memoizedState}function R0(u,f,v,x){var R=js();Rn.flags|=u,R.memoizedState=am(1|f,v,void 0,x===void 0?null:x)}function I0(u,f,v,x){var R=Ca();x=x===void 0?null:x;var I=void 0;if(ii!==null){var L=ii.memoizedState;if(I=L.destroy,x!==null&&Hk(x,L.deps)){R.memoizedState=am(f,v,I,x);return}}Rn.flags|=u,R.memoizedState=am(1|f,v,I,x)}function ij(u,f){return R0(8390656,8,u,f)}function Kk(u,f){return I0(2048,8,u,f)}function oj(u,f){return I0(4,2,u,f)}function aj(u,f){return I0(4,4,u,f)}function sj(u,f){if(typeof f=="function")return u=u(),f(u),function(){f(null)};if(f!=null)return u=u(),f.current=u,function(){f.current=null}}function lj(u,f,v){return v=v!=null?v.concat([u]):null,I0(4,4,sj.bind(null,f,u),v)}function Jk(){}function cj(u,f){var v=Ca();f=f===void 0?null:f;var x=v.memoizedState;return x!==null&&f!==null&&Hk(f,x[1])?x[0]:(v.memoizedState=[u,f],u)}function uj(u,f){var v=Ca();f=f===void 0?null:f;var x=v.memoizedState;return x!==null&&f!==null&&Hk(f,x[1])?x[0]:(u=u(),v.memoizedState=[u,f],u)}function dj(u,f,v){return(bd&21)===0?(u.baseState&&(u.baseState=!1,wo=!0),u.memoizedState=v):(rs(v,f)||(v=FM(),Rn.lanes|=v,Od|=v,u.baseState=!0),f)}function ere(u,f){var v=$r;$r=v!==0&&4>v?v:4,u(!0);var x=Uk.transition;Uk.transition={};try{u(!1),f()}finally{$r=v,Uk.transition=x}}function fj(){return Ca().memoizedState}function tre(u,f,v){var x=Zc(u);if(v={lane:x,action:v,hasEagerState:!1,eagerState:null,next:null},hj(u))pj(f,v);else if(v=qN(u,f,v,x),v!==null){var R=ao();ss(v,u,x,R),gj(v,f,x)}}function rre(u,f,v){var x=Zc(u),R={lane:x,action:v,hasEagerState:!1,eagerState:null,next:null};if(hj(u))pj(f,R);else{var I=u.alternate;if(u.lanes===0&&(I===null||I.lanes===0)&&(I=f.lastRenderedReducer,I!==null))try{var L=f.lastRenderedState,K=I(L,v);if(R.hasEagerState=!0,R.eagerState=K,rs(K,L)){var ae=f.interleaved;ae===null?(R.next=R,Vk(f)):(R.next=ae.next,ae.next=R),f.interleaved=R;return}}catch{}finally{}v=qN(u,f,R,x),v!==null&&(R=ao(),ss(v,u,x,R),gj(v,f,x))}}function hj(u){var f=u.alternate;return u===Rn||f!==null&&f===Rn}function pj(u,f){nm=_0=!0;var v=u.pending;v===null?f.next=f:(f.next=v.next,v.next=f),u.pending=f}function gj(u,f,v){if((v&4194240)!==0){var x=f.lanes;x&=u.pendingLanes,v|=x,f.lanes=v,tk(u,v)}}var $0={readContext:ka,useCallback:Xi,useContext:Xi,useEffect:Xi,useImperativeHandle:Xi,useInsertionEffect:Xi,useLayoutEffect:Xi,useMemo:Xi,useReducer:Xi,useRef:Xi,useState:Xi,useDebugValue:Xi,useDeferredValue:Xi,useTransition:Xi,useMutableSource:Xi,useSyncExternalStore:Xi,useId:Xi,unstable_isNewReconciler:!1},nre={readContext:ka,useCallback:function(u,f){return js().memoizedState=[u,f===void 0?null:f],u},useContext:ka,useEffect:ij,useImperativeHandle:function(u,f,v){return v=v!=null?v.concat([u]):null,R0(4194308,4,sj.bind(null,f,u),v)},useLayoutEffect:function(u,f){return R0(4194308,4,u,f)},useInsertionEffect:function(u,f){return R0(4,2,u,f)},useMemo:function(u,f){var v=js();return f=f===void 0?null:f,u=u(),v.memoizedState=[u,f],u},useReducer:function(u,f,v){var x=js();return f=v!==void 0?v(f):f,x.memoizedState=x.baseState=f,u={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:u,lastRenderedState:f},x.queue=u,u=u.dispatch=tre.bind(null,Rn,u),[x.memoizedState,u]},useRef:function(u){var f=js();return u={current:u},f.memoizedState=u},useState:rj,useDebugValue:Jk,useDeferredValue:function(u){return js().memoizedState=u},useTransition:function(){var u=rj(!1),f=u[0];return u=ere.bind(null,u[1]),js().memoizedState=u,[f,u]},useMutableSource:function(){},useSyncExternalStore:function(u,f,v){var x=Rn,R=js();if(wn){if(v===void 0)throw Error(r(407));v=v()}else{if(v=f(),mi===null)throw Error(r(349));(bd&30)!==0||YN(x,f,v)}R.memoizedState=v;var I={value:v,getSnapshot:f};return R.queue=I,ij(JN.bind(null,x,I,u),[u]),x.flags|=2048,am(9,KN.bind(null,x,I,v,f),void 0,null),v},useId:function(){var u=js(),f=mi.identifierPrefix;if(wn){var v=Dl,x=jl;v=(x&~(1<<32-yo(x)-1)).toString(32)+v,f=":"+f+"R"+v,v=im++,0<v&&(f+="H"+v.toString(32)),f+=":"}else v=Jte++,f=":"+f+"r"+v.toString(32)+":";return u.memoizedState=f},unstable_isNewReconciler:!1},ire={readContext:ka,useCallback:cj,useContext:ka,useEffect:Kk,useImperativeHandle:lj,useInsertionEffect:oj,useLayoutEffect:aj,useMemo:uj,useReducer:Gk,useRef:nj,useState:function(){return Gk(om)},useDebugValue:Jk,useDeferredValue:function(u){var f=Ca();return dj(f,ii.memoizedState,u)},useTransition:function(){var u=Gk(om)[0],f=Ca().memoizedState;return[u,f]},useMutableSource:ZN,useSyncExternalStore:GN,useId:fj,unstable_isNewReconciler:!1},ore={readContext:ka,useCallback:cj,useContext:ka,useEffect:Kk,useImperativeHandle:lj,useInsertionEffect:oj,useLayoutEffect:aj,useMemo:uj,useReducer:Yk,useRef:nj,useState:function(){return Yk(om)},useDebugValue:Jk,useDeferredValue:function(u){var f=Ca();return ii===null?f.memoizedState=u:dj(f,ii.memoizedState,u)},useTransition:function(){var u=Yk(om)[0],f=Ca().memoizedState;return[u,f]},useMutableSource:ZN,useSyncExternalStore:GN,useId:fj,unstable_isNewReconciler:!1};function is(u,f){if(u&&u.defaultProps){f=z({},f),u=u.defaultProps;for(var v in u)f[v]===void 0&&(f[v]=u[v]);return f}return f}function eC(u,f,v,x){f=u.memoizedState,v=v(x,f),v=v==null?f:z({},f,v),u.memoizedState=v,u.lanes===0&&(u.updateQueue.baseState=v)}var A0={isMounted:function(u){return(u=u._reactInternals)?Ot(u)===u:!1},enqueueSetState:function(u,f,v){u=u._reactInternals;var x=ao(),R=Zc(u),I=Ql(x,R);I.payload=f,v!=null&&(I.callback=v),f=Wc(u,I,R),f!==null&&(ss(f,u,R,x),k0(f,u,R))},enqueueReplaceState:function(u,f,v){u=u._reactInternals;var x=ao(),R=Zc(u),I=Ql(x,R);I.tag=1,I.payload=f,v!=null&&(I.callback=v),f=Wc(u,I,R),f!==null&&(ss(f,u,R,x),k0(f,u,R))},enqueueForceUpdate:function(u,f){u=u._reactInternals;var v=ao(),x=Zc(u),R=Ql(v,x);R.tag=2,f!=null&&(R.callback=f),f=Wc(u,R,x),f!==null&&(ss(f,u,x,v),k0(f,u,x))}};function mj(u,f,v,x,R,I,L){return u=u.stateNode,typeof u.shouldComponentUpdate=="function"?u.shouldComponentUpdate(x,I,L):f.prototype&&f.prototype.isPureReactComponent?!Ug(v,x)||!Ug(R,I):!0}function vj(u,f,v){var x=!1,R=Bc,I=f.contextType;return typeof I=="object"&&I!==null?I=ka(I):(R=Oo(f)?pd:Hi.current,x=f.contextTypes,I=(x=x!=null)?rh(u,R):Bc),f=new f(v,I),u.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=A0,u.stateNode=f,f._reactInternals=u,x&&(u=u.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=R,u.__reactInternalMemoizedMaskedChildContext=I),f}function yj(u,f,v,x){u=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(v,x),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(v,x),f.state!==u&&A0.enqueueReplaceState(f,f.state,null)}function tC(u,f,v,x){var R=u.stateNode;R.props=v,R.state=u.memoizedState,R.refs={},Fk(u);var I=f.contextType;typeof I=="object"&&I!==null?R.context=ka(I):(I=Oo(f)?pd:Hi.current,R.context=rh(u,I)),R.state=u.memoizedState,I=f.getDerivedStateFromProps,typeof I=="function"&&(eC(u,f,I,v),R.state=u.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof R.getSnapshotBeforeUpdate=="function"||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(f=R.state,typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount(),f!==R.state&&A0.enqueueReplaceState(R,R.state,null),C0(u,v,R,x),R.state=u.memoizedState),typeof R.componentDidMount=="function"&&(u.flags|=4194308)}function uh(u,f){try{var v="",x=f;do v+=q(x),x=x.return;while(x);var R=v}catch(I){R=`
|
|
39
39
|
Error generating stack: `+I.message+`
|
|
40
|
-
`+I.stack}return{value:u,source:f,stack:R,digest:null}}function rC(u,f,v){return{value:u,source:null,stack:v??null,digest:f??null}}function nC(u,f){try{console.error(f.value)}catch(v){setTimeout(function(){throw v})}}var are=typeof WeakMap=="function"?WeakMap:Map;function bj(u,f,v){v=Ql(-1,v),v.tag=3,v.payload={element:null};var x=f.value;return v.callback=function(){V0||(V0=!0,yC=x),nC(u,f)},v}function Oj(u,f,v){v=Ql(-1,v),v.tag=3;var x=u.type.getDerivedStateFromError;if(typeof x=="function"){var R=f.value;v.payload=function(){return x(R)},v.callback=function(){nC(u,f)}}var I=u.stateNode;return I!==null&&typeof I.componentDidCatch=="function"&&(v.callback=function(){nC(u,f),typeof x!="function"&&(Hc===null?Hc=new Set([this]):Hc.add(this));var L=f.stack;this.componentDidCatch(f.value,{componentStack:L!==null?L:""})}),v}function wj(u,f,v){var x=u.pingCache;if(x===null){x=u.pingCache=new are;var R=new Set;x.set(f,R)}else R=x.get(f),R===void 0&&(R=new Set,x.set(f,R));R.has(v)||(R.add(v),u=Ore.bind(null,u,f,v),f.then(u,u))}function Sj(u){do{var f;if((f=u.tag===13)&&(f=u.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return u;u=u.return}while(u!==null);return null}function xj(u,f,v,x,R){return(u.mode&1)===0?(u===f?u.flags|=65536:(u.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(f=Ql(-1,1),f.tag=2,Wc(v,f,1))),v.lanes|=1),u):(u.flags|=65536,u.lanes=R,u)}var sre=T.ReactCurrentOwner,wo=!1;function oo(u,f,v,x){f.child=u===null?zN(f,null,v,x):ah(f,u.child,v,x)}function Pj(u,f,v,x,R){v=v.render;var I=f.ref;return lh(f,R),x=Xk(u,f,v,x,I,R),v=Zk(),u!==null&&!wo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~R,Vl(u,f,R)):(wn&&v&&Ik(f),f.flags|=1,oo(u,f,x,R),f.child)}function kj(u,f,v,x,R){if(u===null){var I=v.type;return typeof I=="function"&&!kC(I)&&I.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(f.tag=15,f.type=I,Cj(u,f,I,x,R)):(u=U0(v.type,null,x,f,f.mode,R),u.ref=f.ref,u.return=f,f.child=u)}if(I=u.child,(u.lanes&R)===0){var L=I.memoizedProps;if(v=v.compare,v=v!==null?v:Ug,v(L,x)&&u.ref===f.ref)return Vl(u,f,R)}return f.flags|=1,u=Yc(I,x),u.ref=f.ref,u.return=f,f.child=u}function Cj(u,f,v,x,R){if(u!==null){var I=u.memoizedProps;if(Ug(I,x)&&u.ref===f.ref)if(wo=!1,f.pendingProps=x=I,(u.lanes&R)!==0)(u.flags&131072)!==0&&(wo=!0);else return f.lanes=u.lanes,Vl(u,f,R)}return iC(u,f,v,x,R)}function Tj(u,f,v){var x=f.pendingProps,R=x.children,I=u!==null?u.memoizedState:null;if(x.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ur(fh,Yo),Yo|=v;else{if((v&1073741824)===0)return u=I!==null?I.baseLanes|v:v,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:u,cachePool:null,transitions:null},f.updateQueue=null,Ur(fh,Yo),Yo|=u,null;f.memoizedState={baseLanes:0,cachePool:null,transitions:null},x=I!==null?I.baseLanes:v,Ur(fh,Yo),Yo|=x}else I!==null?(x=I.baseLanes|v,f.memoizedState=null):x=v,Ur(fh,Yo),Yo|=x;return oo(u,f,R,v),f.child}function Ej(u,f){var v=f.ref;(u===null&&v!==null||u!==null&&u.ref!==v)&&(f.flags|=512,f.flags|=2097152)}function iC(u,f,v,x,R){var I=Oo(v)?pd:Hi.current;return I=rh(f,I),lh(f,R),v=Xk(u,f,v,x,I,R),x=Zk(),u!==null&&!wo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~R,Vl(u,f,R)):(wn&&x&&Ik(f),f.flags|=1,oo(u,f,v,R),f.child)}function _j(u,f,v,x,R){if(Oo(v)){var I=!0;v0(f)}else I=!1;if(lh(f,R),f.stateNode===null)N0(u,f),vj(f,v,x),tC(f,v,x,R),x=!0;else if(u===null){var L=f.stateNode,K=f.memoizedProps;L.props=K;var ae=L.context,be=v.contextType;typeof be=="object"&&be!==null?be=ka(be):(be=Oo(v)?pd:Hi.current,be=rh(f,be));var _e=v.getDerivedStateFromProps,Re=typeof _e=="function"||typeof L.getSnapshotBeforeUpdate=="function";Re||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(K!==x||ae!==be)&&yj(f,L,x,be),qc=!1;var Ee=f.memoizedState;L.state=Ee,C0(f,x,L,R),ae=f.memoizedState,K!==x||Ee!==ae||bo.current||qc?(typeof _e=="function"&&(eC(f,v,_e,x),ae=f.memoizedState),(K=qc||mj(f,v,K,x,Ee,ae,be))?(Re||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(f.flags|=4194308)):(typeof L.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=x,f.memoizedState=ae),L.props=x,L.state=ae,L.context=be,x=K):(typeof L.componentDidMount=="function"&&(f.flags|=4194308),x=!1)}else{L=f.stateNode,WN(u,f),K=f.memoizedProps,be=f.type===f.elementType?K:is(f.type,K),L.props=be,Re=f.pendingProps,Ee=L.context,ae=v.contextType,typeof ae=="object"&&ae!==null?ae=ka(ae):(ae=Oo(v)?pd:Hi.current,ae=rh(f,ae));var He=v.getDerivedStateFromProps;(_e=typeof He=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(K!==Re||Ee!==ae)&&yj(f,L,x,ae),qc=!1,Ee=f.memoizedState,L.state=Ee,C0(f,x,L,R);var Je=f.memoizedState;K!==Re||Ee!==Je||bo.current||qc?(typeof He=="function"&&(eC(f,v,He,x),Je=f.memoizedState),(be=qc||mj(f,v,be,x,Ee,Je,ae)||!1)?(_e||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(x,Je,ae),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(x,Je,ae)),typeof L.componentDidUpdate=="function"&&(f.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof L.componentDidUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=1024),f.memoizedProps=x,f.memoizedState=Je),L.props=x,L.state=Je,L.context=ae,x=be):(typeof L.componentDidUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=1024),x=!1)}return oC(u,f,v,x,I,R)}function oC(u,f,v,x,R,I){Ej(u,f);var L=(f.flags&128)!==0;if(!x&&!L)return R&&MN(f,v,!1),Vl(u,f,I);x=f.stateNode,sre.current=f;var K=L&&typeof v.getDerivedStateFromError!="function"?null:x.render();return f.flags|=1,u!==null&&L?(f.child=ah(f,u.child,null,I),f.child=ah(f,null,K,I)):oo(u,f,K,I),f.memoizedState=x.state,R&&MN(f,v,!0),f.child}function Rj(u){var f=u.stateNode;f.pendingContext?$N(u,f.pendingContext,f.pendingContext!==f.context):f.context&&$N(u,f.context,!1),Bk(u,f.containerInfo)}function Ij(u,f,v,x,R){return oh(),Nk(R),f.flags|=256,oo(u,f,v,x),f.child}var aC={dehydrated:null,treeContext:null,retryLane:0};function sC(u){return{baseLanes:u,cachePool:null,transitions:null}}function $j(u,f,v){var x=f.pendingProps,R=_n.current,I=!1,L=(f.flags&128)!==0,K;if((K=L)||(K=u!==null&&u.memoizedState===null?!1:(R&2)!==0),K?(I=!0,f.flags&=-129):(u===null||u.memoizedState!==null)&&(R|=1),Ur(_n,R&1),u===null)return Mk(f),u=f.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?((f.mode&1)===0?f.lanes=1:u.data==="$!"?f.lanes=8:f.lanes=1073741824,null):(L=x.children,u=x.fallback,I?(x=f.mode,I=f.child,L={mode:"hidden",children:L},(x&1)===0&&I!==null?(I.childLanes=0,I.pendingProps=L):I=H0(L,x,0,null),u=Pd(u,x,v,null),I.return=f,u.return=f,I.sibling=u,f.child=I,f.child.memoizedState=sC(v),f.memoizedState=aC,u):lC(f,L));if(R=u.memoizedState,R!==null&&(K=R.dehydrated,K!==null))return lre(u,f,L,x,K,R,v);if(I){I=x.fallback,L=f.mode,R=u.child,K=R.sibling;var ae={mode:"hidden",children:x.children};return(L&1)===0&&f.child!==R?(x=f.child,x.childLanes=0,x.pendingProps=ae,f.deletions=null):(x=Yc(R,ae),x.subtreeFlags=R.subtreeFlags&14680064),K!==null?I=Yc(K,I):(I=Pd(I,L,v,null),I.flags|=2),I.return=f,x.return=f,x.sibling=I,f.child=x,x=I,I=f.child,L=u.child.memoizedState,L=L===null?sC(v):{baseLanes:L.baseLanes|v,cachePool:null,transitions:L.transitions},I.memoizedState=L,I.childLanes=u.childLanes&~v,f.memoizedState=aC,x}return I=u.child,u=I.sibling,x=Yc(I,{mode:"visible",children:x.children}),(f.mode&1)===0&&(x.lanes=v),x.return=f,x.sibling=null,u!==null&&(v=f.deletions,v===null?(f.deletions=[u],f.flags|=16):v.push(u)),f.child=x,f.memoizedState=null,x}function lC(u,f){return f=H0({mode:"visible",children:f},u.mode,0,null),f.return=u,u.child=f}function M0(u,f,v,x){return x!==null&&Nk(x),ah(f,u.child,null,v),u=lC(f,f.pendingProps.children),u.flags|=2,f.memoizedState=null,u}function lre(u,f,v,x,R,I,L){if(v)return f.flags&256?(f.flags&=-257,x=rC(Error(r(422))),M0(u,f,L,x)):f.memoizedState!==null?(f.child=u.child,f.flags|=128,null):(I=x.fallback,R=f.mode,x=H0({mode:"visible",children:x.children},R,0,null),I=Pd(I,R,L,null),I.flags|=2,x.return=f,I.return=f,x.sibling=I,f.child=x,(f.mode&1)!==0&&ah(f,u.child,null,L),f.child.memoizedState=sC(L),f.memoizedState=aC,I);if((f.mode&1)===0)return M0(u,f,L,null);if(R.data==="$!"){if(x=R.nextSibling&&R.nextSibling.dataset,x)var K=x.dgst;return x=K,I=Error(r(419)),x=rC(I,x,void 0),M0(u,f,L,x)}if(K=(L&u.childLanes)!==0,wo||K){if(x=mi,x!==null){switch(L&-L){case 4:R=2;break;case 16:R=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:R=32;break;case 536870912:R=268435456;break;default:R=0}R=(R&(x.suspendedLanes|L))!==0?0:R,R!==0&&R!==I.retryLane&&(I.retryLane=R,Ll(u,R),ss(x,u,R,-1))}return PC(),x=rC(Error(r(421))),M0(u,f,L,x)}return R.data==="$?"?(f.flags|=128,f.child=u.child,f=wre.bind(null,u),R._reactRetry=f,null):(u=I.treeContext,Go=Vc(R.nextSibling),Zo=f,wn=!0,ns=null,u!==null&&(xa[Pa++]=jl,xa[Pa++]=Dl,xa[Pa++]=gd,jl=u.id,Dl=u.overflow,gd=f),f=lC(f,x.children),f.flags|=4096,f)}function Aj(u,f,v){u.lanes|=f;var x=u.alternate;x!==null&&(x.lanes|=f),Qk(u.return,f,v)}function cC(u,f,v,x,R){var I=u.memoizedState;I===null?u.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:x,tail:v,tailMode:R}:(I.isBackwards=f,I.rendering=null,I.renderingStartTime=0,I.last=x,I.tail=v,I.tailMode=R)}function Mj(u,f,v){var x=f.pendingProps,R=x.revealOrder,I=x.tail;if(oo(u,f,x.children,v),x=_n.current,(x&2)!==0)x=x&1|2,f.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=f.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&Aj(u,v,f);else if(u.tag===19)Aj(u,v,f);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===f)break e;for(;u.sibling===null;){if(u.return===null||u.return===f)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}x&=1}if(Ur(_n,x),(f.mode&1)===0)f.memoizedState=null;else switch(R){case"forwards":for(v=f.child,R=null;v!==null;)u=v.alternate,u!==null&&T0(u)===null&&(R=v),v=v.sibling;v=R,v===null?(R=f.child,f.child=null):(R=v.sibling,v.sibling=null),cC(f,!1,R,v,I);break;case"backwards":for(v=null,R=f.child,f.child=null;R!==null;){if(u=R.alternate,u!==null&&T0(u)===null){f.child=R;break}u=R.sibling,R.sibling=v,v=R,R=u}cC(f,!0,v,null,I);break;case"together":cC(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function N0(u,f){(f.mode&1)===0&&u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2)}function Vl(u,f,v){if(u!==null&&(f.dependencies=u.dependencies),Od|=f.lanes,(v&f.childLanes)===0)return null;if(u!==null&&f.child!==u.child)throw Error(r(153));if(f.child!==null){for(u=f.child,v=Yc(u,u.pendingProps),f.child=v,v.return=f;u.sibling!==null;)u=u.sibling,v=v.sibling=Yc(u,u.pendingProps),v.return=f;v.sibling=null}return f.child}function cre(u,f,v){switch(f.tag){case 3:Rj(f),oh();break;case 5:XN(f);break;case 1:Oo(f.type)&&v0(f);break;case 4:Bk(f,f.stateNode.containerInfo);break;case 10:var x=f.type._context,R=f.memoizedProps.value;Ur(x0,x._currentValue),x._currentValue=R;break;case 13:if(x=f.memoizedState,x!==null)return x.dehydrated!==null?(Ur(_n,_n.current&1),f.flags|=128,null):(v&f.child.childLanes)!==0?$j(u,f,v):(Ur(_n,_n.current&1),u=Vl(u,f,v),u!==null?u.sibling:null);Ur(_n,_n.current&1);break;case 19:if(x=(v&f.childLanes)!==0,(u.flags&128)!==0){if(x)return Mj(u,f,v);f.flags|=128}if(R=f.memoizedState,R!==null&&(R.rendering=null,R.tail=null,R.lastEffect=null),Ur(_n,_n.current),x)break;return null;case 22:case 23:return f.lanes=0,Tj(u,f,v)}return Vl(u,f,v)}var Nj,uC,jj,Dj;Nj=function(u,f){for(var v=f.child;v!==null;){if(v.tag===5||v.tag===6)u.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===f)break;for(;v.sibling===null;){if(v.return===null||v.return===f)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},uC=function(){},jj=function(u,f,v,x){var R=u.memoizedProps;if(R!==x){u=f.stateNode,yd(Ns.current);var I=null;switch(v){case"input":R=ke(u,R),x=ke(u,x),I=[];break;case"select":R=z({},R,{value:void 0}),x=z({},x,{value:void 0}),I=[];break;case"textarea":R=Rr(u,R),x=Rr(u,x),I=[];break;default:typeof R.onClick!="function"&&typeof x.onClick=="function"&&(u.onclick=p0)}Il(v,x);var L;v=null;for(be in R)if(!x.hasOwnProperty(be)&&R.hasOwnProperty(be)&&R[be]!=null)if(be==="style"){var K=R[be];for(L in K)K.hasOwnProperty(L)&&(v||(v={}),v[L]="")}else be!=="dangerouslySetInnerHTML"&&be!=="children"&&be!=="suppressContentEditableWarning"&&be!=="suppressHydrationWarning"&&be!=="autoFocus"&&(i.hasOwnProperty(be)?I||(I=[]):(I=I||[]).push(be,null));for(be in x){var ae=x[be];if(K=R!=null?R[be]:void 0,x.hasOwnProperty(be)&&ae!==K&&(ae!=null||K!=null))if(be==="style")if(K){for(L in K)!K.hasOwnProperty(L)||ae&&ae.hasOwnProperty(L)||(v||(v={}),v[L]="");for(L in ae)ae.hasOwnProperty(L)&&K[L]!==ae[L]&&(v||(v={}),v[L]=ae[L])}else v||(I||(I=[]),I.push(be,v)),v=ae;else be==="dangerouslySetInnerHTML"?(ae=ae?ae.__html:void 0,K=K?K.__html:void 0,ae!=null&&K!==ae&&(I=I||[]).push(be,ae)):be==="children"?typeof ae!="string"&&typeof ae!="number"||(I=I||[]).push(be,""+ae):be!=="suppressContentEditableWarning"&&be!=="suppressHydrationWarning"&&(i.hasOwnProperty(be)?(ae!=null&&be==="onScroll"&&sn("scroll",u),I||K===ae||(I=[])):(I=I||[]).push(be,ae))}v&&(I=I||[]).push("style",v);var be=I;(f.updateQueue=be)&&(f.flags|=4)}},Dj=function(u,f,v,x){v!==x&&(f.flags|=4)};function sm(u,f){if(!wn)switch(u.tailMode){case"hidden":f=u.tail;for(var v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?u.tail=null:v.sibling=null;break;case"collapsed":v=u.tail;for(var x=null;v!==null;)v.alternate!==null&&(x=v),v=v.sibling;x===null?f||u.tail===null?u.tail=null:u.tail.sibling=null:x.sibling=null}}function Zi(u){var f=u.alternate!==null&&u.alternate.child===u.child,v=0,x=0;if(f)for(var R=u.child;R!==null;)v|=R.lanes|R.childLanes,x|=R.subtreeFlags&14680064,x|=R.flags&14680064,R.return=u,R=R.sibling;else for(R=u.child;R!==null;)v|=R.lanes|R.childLanes,x|=R.subtreeFlags,x|=R.flags,R.return=u,R=R.sibling;return u.subtreeFlags|=x,u.childLanes=v,f}function ure(u,f,v){var x=f.pendingProps;switch($k(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zi(f),null;case 1:return Oo(f.type)&&m0(),Zi(f),null;case 3:return x=f.stateNode,ch(),ln(bo),ln(Hi),Wk(),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(u===null||u.child===null)&&(w0(f)?f.flags|=4:u===null||u.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,ns!==null&&(wC(ns),ns=null))),uC(u,f),Zi(f),null;case 5:zk(f);var R=yd(rm.current);if(v=f.type,u!==null&&f.stateNode!=null)jj(u,f,v,x,R),u.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!x){if(f.stateNode===null)throw Error(r(166));return Zi(f),null}if(u=yd(Ns.current),w0(f)){x=f.stateNode,v=f.type;var I=f.memoizedProps;switch(x[Ms]=f,x[Yg]=I,u=(f.mode&1)!==0,v){case"dialog":sn("cancel",x),sn("close",x);break;case"iframe":case"object":case"embed":sn("load",x);break;case"video":case"audio":for(R=0;R<Xg.length;R++)sn(Xg[R],x);break;case"source":sn("error",x);break;case"img":case"image":case"link":sn("error",x),sn("load",x);break;case"details":sn("toggle",x);break;case"input":Me(x,I),sn("invalid",x);break;case"select":x._wrapperState={wasMultiple:!!I.multiple},sn("invalid",x);break;case"textarea":zt(x,I),sn("invalid",x)}Il(v,I),R=null;for(var L in I)if(I.hasOwnProperty(L)){var K=I[L];L==="children"?typeof K=="string"?x.textContent!==K&&(I.suppressHydrationWarning!==!0&&h0(x.textContent,K,u),R=["children",K]):typeof K=="number"&&x.textContent!==""+K&&(I.suppressHydrationWarning!==!0&&h0(x.textContent,K,u),R=["children",""+K]):i.hasOwnProperty(L)&&K!=null&&L==="onScroll"&&sn("scroll",x)}switch(v){case"input":ee(x),vr(x,I,!0);break;case"textarea":ee(x),zn(x);break;case"select":case"option":break;default:typeof I.onClick=="function"&&(x.onclick=p0)}x=R,f.updateQueue=x,x!==null&&(f.flags|=4)}else{L=R.nodeType===9?R:R.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=$n(v)),u==="http://www.w3.org/1999/xhtml"?v==="script"?(u=L.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof x.is=="string"?u=L.createElement(v,{is:x.is}):(u=L.createElement(v),v==="select"&&(L=u,x.multiple?L.multiple=!0:x.size&&(L.size=x.size))):u=L.createElementNS(u,v),u[Ms]=f,u[Yg]=x,Nj(u,f,!1,!1),f.stateNode=u;e:{switch(L=ni(v,x),v){case"dialog":sn("cancel",u),sn("close",u),R=x;break;case"iframe":case"object":case"embed":sn("load",u),R=x;break;case"video":case"audio":for(R=0;R<Xg.length;R++)sn(Xg[R],u);R=x;break;case"source":sn("error",u),R=x;break;case"img":case"image":case"link":sn("error",u),sn("load",u),R=x;break;case"details":sn("toggle",u),R=x;break;case"input":Me(u,x),R=ke(u,x),sn("invalid",u);break;case"option":R=x;break;case"select":u._wrapperState={wasMultiple:!!x.multiple},R=z({},x,{value:void 0}),sn("invalid",u);break;case"textarea":zt(u,x),R=Rr(u,x),sn("invalid",u);break;default:R=x}Il(v,R),K=R;for(I in K)if(K.hasOwnProperty(I)){var ae=K[I];I==="style"?Ic(u,ae):I==="dangerouslySetInnerHTML"?(ae=ae?ae.__html:void 0,ae!=null&&En(u,ae)):I==="children"?typeof ae=="string"?(v!=="textarea"||ae!=="")&&Ii(u,ae):typeof ae=="number"&&Ii(u,""+ae):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(i.hasOwnProperty(I)?ae!=null&&I==="onScroll"&&sn("scroll",u):ae!=null&&k(u,I,ae,L))}switch(v){case"input":ee(u),vr(u,x,!1);break;case"textarea":ee(u),zn(u);break;case"option":x.value!=null&&u.setAttribute("value",""+Z(x.value));break;case"select":u.multiple=!!x.multiple,I=x.value,I!=null?or(u,!!x.multiple,I,!1):x.defaultValue!=null&&or(u,!!x.multiple,x.defaultValue,!0);break;default:typeof R.onClick=="function"&&(u.onclick=p0)}switch(v){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}}x&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return Zi(f),null;case 6:if(u&&f.stateNode!=null)Dj(u,f,u.memoizedProps,x);else{if(typeof x!="string"&&f.stateNode===null)throw Error(r(166));if(v=yd(rm.current),yd(Ns.current),w0(f)){if(x=f.stateNode,v=f.memoizedProps,x[Ms]=f,(I=x.nodeValue!==v)&&(u=Zo,u!==null))switch(u.tag){case 3:h0(x.nodeValue,v,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&h0(x.nodeValue,v,(u.mode&1)!==0)}I&&(f.flags|=4)}else x=(v.nodeType===9?v:v.ownerDocument).createTextNode(x),x[Ms]=f,f.stateNode=x}return Zi(f),null;case 13:if(ln(_n),x=f.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(wn&&Go!==null&&(f.mode&1)!==0&&(f.flags&128)===0)VN(),oh(),f.flags|=98560,I=!1;else if(I=w0(f),x!==null&&x.dehydrated!==null){if(u===null){if(!I)throw Error(r(318));if(I=f.memoizedState,I=I!==null?I.dehydrated:null,!I)throw Error(r(317));I[Ms]=f}else oh(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;Zi(f),I=!1}else ns!==null&&(wC(ns),ns=null),I=!0;if(!I)return f.flags&65536?f:null}return(f.flags&128)!==0?(f.lanes=v,f):(x=x!==null,x!==(u!==null&&u.memoizedState!==null)&&x&&(f.child.flags|=8192,(f.mode&1)!==0&&(u===null||(_n.current&1)!==0?oi===0&&(oi=3):PC())),f.updateQueue!==null&&(f.flags|=4),Zi(f),null);case 4:return ch(),uC(u,f),u===null&&Zg(f.stateNode.containerInfo),Zi(f),null;case 10:return Lk(f.type._context),Zi(f),null;case 17:return Oo(f.type)&&m0(),Zi(f),null;case 19:if(ln(_n),I=f.memoizedState,I===null)return Zi(f),null;if(x=(f.flags&128)!==0,L=I.rendering,L===null)if(x)sm(I,!1);else{if(oi!==0||u!==null&&(u.flags&128)!==0)for(u=f.child;u!==null;){if(L=T0(u),L!==null){for(f.flags|=128,sm(I,!1),x=L.updateQueue,x!==null&&(f.updateQueue=x,f.flags|=4),f.subtreeFlags=0,x=v,v=f.child;v!==null;)I=v,u=x,I.flags&=14680066,L=I.alternate,L===null?(I.childLanes=0,I.lanes=u,I.child=null,I.subtreeFlags=0,I.memoizedProps=null,I.memoizedState=null,I.updateQueue=null,I.dependencies=null,I.stateNode=null):(I.childLanes=L.childLanes,I.lanes=L.lanes,I.child=L.child,I.subtreeFlags=0,I.deletions=null,I.memoizedProps=L.memoizedProps,I.memoizedState=L.memoizedState,I.updateQueue=L.updateQueue,I.type=L.type,u=L.dependencies,I.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),v=v.sibling;return Ur(_n,_n.current&1|2),f.child}u=u.sibling}I.tail!==null&&Dt()>hh&&(f.flags|=128,x=!0,sm(I,!1),f.lanes=4194304)}else{if(!x)if(u=T0(L),u!==null){if(f.flags|=128,x=!0,v=u.updateQueue,v!==null&&(f.updateQueue=v,f.flags|=4),sm(I,!0),I.tail===null&&I.tailMode==="hidden"&&!L.alternate&&!wn)return Zi(f),null}else 2*Dt()-I.renderingStartTime>hh&&v!==1073741824&&(f.flags|=128,x=!0,sm(I,!1),f.lanes=4194304);I.isBackwards?(L.sibling=f.child,f.child=L):(v=I.last,v!==null?v.sibling=L:f.child=L,I.last=L)}return I.tail!==null?(f=I.tail,I.rendering=f,I.tail=f.sibling,I.renderingStartTime=Dt(),f.sibling=null,v=_n.current,Ur(_n,x?v&1|2:v&1),f):(Zi(f),null);case 22:case 23:return xC(),x=f.memoizedState!==null,u!==null&&u.memoizedState!==null!==x&&(f.flags|=8192),x&&(f.mode&1)!==0?(Yo&1073741824)!==0&&(Zi(f),f.subtreeFlags&6&&(f.flags|=8192)):Zi(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}function dre(u,f){switch($k(f),f.tag){case 1:return Oo(f.type)&&m0(),u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 3:return ch(),ln(bo),ln(Hi),Wk(),u=f.flags,(u&65536)!==0&&(u&128)===0?(f.flags=u&-65537|128,f):null;case 5:return zk(f),null;case 13:if(ln(_n),u=f.memoizedState,u!==null&&u.dehydrated!==null){if(f.alternate===null)throw Error(r(340));oh()}return u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 19:return ln(_n),null;case 4:return ch(),null;case 10:return Lk(f.type._context),null;case 22:case 23:return xC(),null;case 24:return null;default:return null}}var j0=!1,Gi=!1,fre=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function dh(u,f){var v=u.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(x){An(u,f,x)}else v.current=null}function dC(u,f,v){try{v()}catch(x){An(u,f,x)}}var Lj=!1;function hre(u,f){if(xk=r0,u=mN(),gk(u)){if("selectionStart"in u)var v={start:u.selectionStart,end:u.selectionEnd};else e:{v=(v=u.ownerDocument)&&v.defaultView||window;var x=v.getSelection&&v.getSelection();if(x&&x.rangeCount!==0){v=x.anchorNode;var R=x.anchorOffset,I=x.focusNode;x=x.focusOffset;try{v.nodeType,I.nodeType}catch{v=null;break e}var L=0,K=-1,ae=-1,be=0,_e=0,Re=u,Ee=null;t:for(;;){for(var He;Re!==v||R!==0&&Re.nodeType!==3||(K=L+R),Re!==I||x!==0&&Re.nodeType!==3||(ae=L+x),Re.nodeType===3&&(L+=Re.nodeValue.length),(He=Re.firstChild)!==null;)Ee=Re,Re=He;for(;;){if(Re===u)break t;if(Ee===v&&++be===R&&(K=L),Ee===I&&++_e===x&&(ae=L),(He=Re.nextSibling)!==null)break;Re=Ee,Ee=Re.parentNode}Re=He}v=K===-1||ae===-1?null:{start:K,end:ae}}else v=null}v=v||{start:0,end:0}}else v=null;for(Pk={focusedElem:u,selectionRange:v},r0=!1,Ge=f;Ge!==null;)if(f=Ge,u=f.child,(f.subtreeFlags&1028)!==0&&u!==null)u.return=f,Ge=u;else for(;Ge!==null;){f=Ge;try{var Je=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(Je!==null){var rt=Je.memoizedProps,Ln=Je.memoizedState,he=f.stateNode,se=he.getSnapshotBeforeUpdate(f.elementType===f.type?rt:is(f.type,rt),Ln);he.__reactInternalSnapshotBeforeUpdate=se}break;case 3:var pe=f.stateNode.containerInfo;pe.nodeType===1?pe.textContent="":pe.nodeType===9&&pe.documentElement&&pe.removeChild(pe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Ne){An(f,f.return,Ne)}if(u=f.sibling,u!==null){u.return=f.return,Ge=u;break}Ge=f.return}return Je=Lj,Lj=!1,Je}function lm(u,f,v){var x=f.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var R=x=x.next;do{if((R.tag&u)===u){var I=R.destroy;R.destroy=void 0,I!==void 0&&dC(f,v,I)}R=R.next}while(R!==x)}}function D0(u,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var v=f=f.next;do{if((v.tag&u)===u){var x=v.create;v.destroy=x()}v=v.next}while(v!==f)}}function fC(u){var f=u.ref;if(f!==null){var v=u.stateNode;switch(u.tag){case 5:u=v;break;default:u=v}typeof f=="function"?f(u):f.current=u}}function Qj(u){var f=u.alternate;f!==null&&(u.alternate=null,Qj(f)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(f=u.stateNode,f!==null&&(delete f[Ms],delete f[Yg],delete f[Ek],delete f[Zte],delete f[Gte])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function Vj(u){return u.tag===5||u.tag===3||u.tag===4}function Fj(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||Vj(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function hC(u,f,v){var x=u.tag;if(x===5||x===6)u=u.stateNode,f?v.nodeType===8?v.parentNode.insertBefore(u,f):v.insertBefore(u,f):(v.nodeType===8?(f=v.parentNode,f.insertBefore(u,v)):(f=v,f.appendChild(u)),v=v._reactRootContainer,v!=null||f.onclick!==null||(f.onclick=p0));else if(x!==4&&(u=u.child,u!==null))for(hC(u,f,v),u=u.sibling;u!==null;)hC(u,f,v),u=u.sibling}function pC(u,f,v){var x=u.tag;if(x===5||x===6)u=u.stateNode,f?v.insertBefore(u,f):v.appendChild(u);else if(x!==4&&(u=u.child,u!==null))for(pC(u,f,v),u=u.sibling;u!==null;)pC(u,f,v),u=u.sibling}var $i=null,os=!1;function Uc(u,f,v){for(v=v.child;v!==null;)Bj(u,f,v),v=v.sibling}function Bj(u,f,v){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(Sa,v)}catch{}switch(v.tag){case 5:Gi||dh(v,f);case 6:var x=$i,R=os;$i=null,Uc(u,f,v),$i=x,os=R,$i!==null&&(os?(u=$i,v=v.stateNode,u.nodeType===8?u.parentNode.removeChild(v):u.removeChild(v)):$i.removeChild(v.stateNode));break;case 18:$i!==null&&(os?(u=$i,v=v.stateNode,u.nodeType===8?Tk(u.parentNode,v):u.nodeType===1&&Tk(u,v),Vg(u)):Tk($i,v.stateNode));break;case 4:x=$i,R=os,$i=v.stateNode.containerInfo,os=!0,Uc(u,f,v),$i=x,os=R;break;case 0:case 11:case 14:case 15:if(!Gi&&(x=v.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){R=x=x.next;do{var I=R,L=I.destroy;I=I.tag,L!==void 0&&((I&2)!==0||(I&4)!==0)&&dC(v,f,L),R=R.next}while(R!==x)}Uc(u,f,v);break;case 1:if(!Gi&&(dh(v,f),x=v.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=v.memoizedProps,x.state=v.memoizedState,x.componentWillUnmount()}catch(K){An(v,f,K)}Uc(u,f,v);break;case 21:Uc(u,f,v);break;case 22:v.mode&1?(Gi=(x=Gi)||v.memoizedState!==null,Uc(u,f,v),Gi=x):Uc(u,f,v);break;default:Uc(u,f,v)}}function zj(u){var f=u.updateQueue;if(f!==null){u.updateQueue=null;var v=u.stateNode;v===null&&(v=u.stateNode=new fre),f.forEach(function(x){var R=Sre.bind(null,u,x);v.has(x)||(v.add(x),x.then(R,R))})}}function as(u,f){var v=f.deletions;if(v!==null)for(var x=0;x<v.length;x++){var R=v[x];try{var I=u,L=f,K=L;e:for(;K!==null;){switch(K.tag){case 5:$i=K.stateNode,os=!1;break e;case 3:$i=K.stateNode.containerInfo,os=!0;break e;case 4:$i=K.stateNode.containerInfo,os=!0;break e}K=K.return}if($i===null)throw Error(r(160));Bj(I,L,R),$i=null,os=!1;var ae=R.alternate;ae!==null&&(ae.return=null),R.return=null}catch(be){An(R,f,be)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)qj(f,u),f=f.sibling}function qj(u,f){var v=u.alternate,x=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(as(f,u),Ds(u),x&4){try{lm(3,u,u.return),D0(3,u)}catch(rt){An(u,u.return,rt)}try{lm(5,u,u.return)}catch(rt){An(u,u.return,rt)}}break;case 1:as(f,u),Ds(u),x&512&&v!==null&&dh(v,v.return);break;case 5:if(as(f,u),Ds(u),x&512&&v!==null&&dh(v,v.return),u.flags&32){var R=u.stateNode;try{Ii(R,"")}catch(rt){An(u,u.return,rt)}}if(x&4&&(R=u.stateNode,R!=null)){var I=u.memoizedProps,L=v!==null?v.memoizedProps:I,K=u.type,ae=u.updateQueue;if(u.updateQueue=null,ae!==null)try{K==="input"&&I.type==="radio"&&I.name!=null&&De(R,I),ni(K,L);var be=ni(K,I);for(L=0;L<ae.length;L+=2){var _e=ae[L],Re=ae[L+1];_e==="style"?Ic(R,Re):_e==="dangerouslySetInnerHTML"?En(R,Re):_e==="children"?Ii(R,Re):k(R,_e,Re,be)}switch(K){case"input":Vt(R,I);break;case"textarea":Tn(R,I);break;case"select":var Ee=R._wrapperState.wasMultiple;R._wrapperState.wasMultiple=!!I.multiple;var He=I.value;He!=null?or(R,!!I.multiple,He,!1):Ee!==!!I.multiple&&(I.defaultValue!=null?or(R,!!I.multiple,I.defaultValue,!0):or(R,!!I.multiple,I.multiple?[]:"",!1))}R[Yg]=I}catch(rt){An(u,u.return,rt)}}break;case 6:if(as(f,u),Ds(u),x&4){if(u.stateNode===null)throw Error(r(162));R=u.stateNode,I=u.memoizedProps;try{R.nodeValue=I}catch(rt){An(u,u.return,rt)}}break;case 3:if(as(f,u),Ds(u),x&4&&v!==null&&v.memoizedState.isDehydrated)try{Vg(f.containerInfo)}catch(rt){An(u,u.return,rt)}break;case 4:as(f,u),Ds(u);break;case 13:as(f,u),Ds(u),R=u.child,R.flags&8192&&(I=R.memoizedState!==null,R.stateNode.isHidden=I,!I||R.alternate!==null&&R.alternate.memoizedState!==null||(vC=Dt())),x&4&&zj(u);break;case 22:if(_e=v!==null&&v.memoizedState!==null,u.mode&1?(Gi=(be=Gi)||_e,as(f,u),Gi=be):as(f,u),Ds(u),x&8192){if(be=u.memoizedState!==null,(u.stateNode.isHidden=be)&&!_e&&(u.mode&1)!==0)for(Ge=u,_e=u.child;_e!==null;){for(Re=Ge=_e;Ge!==null;){switch(Ee=Ge,He=Ee.child,Ee.tag){case 0:case 11:case 14:case 15:lm(4,Ee,Ee.return);break;case 1:dh(Ee,Ee.return);var Je=Ee.stateNode;if(typeof Je.componentWillUnmount=="function"){x=Ee,v=Ee.return;try{f=x,Je.props=f.memoizedProps,Je.state=f.memoizedState,Je.componentWillUnmount()}catch(rt){An(x,v,rt)}}break;case 5:dh(Ee,Ee.return);break;case 22:if(Ee.memoizedState!==null){Hj(Re);continue}}He!==null?(He.return=Ee,Ge=He):Hj(Re)}_e=_e.sibling}e:for(_e=null,Re=u;;){if(Re.tag===5){if(_e===null){_e=Re;try{R=Re.stateNode,be?(I=R.style,typeof I.setProperty=="function"?I.setProperty("display","none","important"):I.display="none"):(K=Re.stateNode,ae=Re.memoizedProps.style,L=ae!=null&&ae.hasOwnProperty("display")?ae.display:null,K.style.display=Ja("display",L))}catch(rt){An(u,u.return,rt)}}}else if(Re.tag===6){if(_e===null)try{Re.stateNode.nodeValue=be?"":Re.memoizedProps}catch(rt){An(u,u.return,rt)}}else if((Re.tag!==22&&Re.tag!==23||Re.memoizedState===null||Re===u)&&Re.child!==null){Re.child.return=Re,Re=Re.child;continue}if(Re===u)break e;for(;Re.sibling===null;){if(Re.return===null||Re.return===u)break e;_e===Re&&(_e=null),Re=Re.return}_e===Re&&(_e=null),Re.sibling.return=Re.return,Re=Re.sibling}}break;case 19:as(f,u),Ds(u),x&4&&zj(u);break;case 21:break;default:as(f,u),Ds(u)}}function Ds(u){var f=u.flags;if(f&2){try{e:{for(var v=u.return;v!==null;){if(Vj(v)){var x=v;break e}v=v.return}throw Error(r(160))}switch(x.tag){case 5:var R=x.stateNode;x.flags&32&&(Ii(R,""),x.flags&=-33);var I=Fj(u);pC(u,I,R);break;case 3:case 4:var L=x.stateNode.containerInfo,K=Fj(u);hC(u,K,L);break;default:throw Error(r(161))}}catch(ae){An(u,u.return,ae)}u.flags&=-3}f&4096&&(u.flags&=-4097)}function pre(u,f,v){Ge=u,Wj(u)}function Wj(u,f,v){for(var x=(u.mode&1)!==0;Ge!==null;){var R=Ge,I=R.child;if(R.tag===22&&x){var L=R.memoizedState!==null||j0;if(!L){var K=R.alternate,ae=K!==null&&K.memoizedState!==null||Gi;K=j0;var be=Gi;if(j0=L,(Gi=ae)&&!be)for(Ge=R;Ge!==null;)L=Ge,ae=L.child,L.tag===22&&L.memoizedState!==null?Xj(R):ae!==null?(ae.return=L,Ge=ae):Xj(R);for(;I!==null;)Ge=I,Wj(I),I=I.sibling;Ge=R,j0=K,Gi=be}Uj(u)}else(R.subtreeFlags&8772)!==0&&I!==null?(I.return=R,Ge=I):Uj(u)}}function Uj(u){for(;Ge!==null;){var f=Ge;if((f.flags&8772)!==0){var v=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:Gi||D0(5,f);break;case 1:var x=f.stateNode;if(f.flags&4&&!Gi)if(v===null)x.componentDidMount();else{var R=f.elementType===f.type?v.memoizedProps:is(f.type,v.memoizedProps);x.componentDidUpdate(R,v.memoizedState,x.__reactInternalSnapshotBeforeUpdate)}var I=f.updateQueue;I!==null&&HN(f,I,x);break;case 3:var L=f.updateQueue;if(L!==null){if(v=null,f.child!==null)switch(f.child.tag){case 5:v=f.child.stateNode;break;case 1:v=f.child.stateNode}HN(f,L,v)}break;case 5:var K=f.stateNode;if(v===null&&f.flags&4){v=K;var ae=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":ae.autoFocus&&v.focus();break;case"img":ae.src&&(v.src=ae.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var be=f.alternate;if(be!==null){var _e=be.memoizedState;if(_e!==null){var Re=_e.dehydrated;Re!==null&&Vg(Re)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Gi||f.flags&512&&fC(f)}catch(Ee){An(f,f.return,Ee)}}if(f===u){Ge=null;break}if(v=f.sibling,v!==null){v.return=f.return,Ge=v;break}Ge=f.return}}function Hj(u){for(;Ge!==null;){var f=Ge;if(f===u){Ge=null;break}var v=f.sibling;if(v!==null){v.return=f.return,Ge=v;break}Ge=f.return}}function Xj(u){for(;Ge!==null;){var f=Ge;try{switch(f.tag){case 0:case 11:case 15:var v=f.return;try{D0(4,f)}catch(ae){An(f,v,ae)}break;case 1:var x=f.stateNode;if(typeof x.componentDidMount=="function"){var R=f.return;try{x.componentDidMount()}catch(ae){An(f,R,ae)}}var I=f.return;try{fC(f)}catch(ae){An(f,I,ae)}break;case 5:var L=f.return;try{fC(f)}catch(ae){An(f,L,ae)}}}catch(ae){An(f,f.return,ae)}if(f===u){Ge=null;break}var K=f.sibling;if(K!==null){K.return=f.return,Ge=K;break}Ge=f.return}}var gre=Math.ceil,L0=T.ReactCurrentDispatcher,gC=T.ReactCurrentOwner,Ta=T.ReactCurrentBatchConfig,dr=0,mi=null,Hn=null,Ai=0,Yo=0,fh=Fc(0),oi=0,cm=null,Od=0,Q0=0,mC=0,um=null,So=null,vC=0,hh=1/0,Fl=null,V0=!1,yC=null,Hc=null,F0=!1,Xc=null,B0=0,dm=0,bC=null,z0=-1,q0=0;function ao(){return(dr&6)!==0?Dt():z0!==-1?z0:z0=Dt()}function Zc(u){return(u.mode&1)===0?1:(dr&2)!==0&&Ai!==0?Ai&-Ai:Kte.transition!==null?(q0===0&&(q0=FM()),q0):(u=$r,u!==0||(u=window.event,u=u===void 0?16:GM(u.type)),u)}function ss(u,f,v,x){if(50<dm)throw dm=0,bC=null,Error(r(185));Ng(u,v,x),((dr&2)===0||u!==mi)&&(u===mi&&((dr&2)===0&&(Q0|=v),oi===4&&Gc(u,Ai)),xo(u,x),v===1&&dr===0&&(f.mode&1)===0&&(hh=Dt()+500,y0&&zc()))}function xo(u,f){var v=u.callbackNode;Kee(u,f);var x=As(u,u===mi?Ai:0);if(x===0)v!==null&&pr(v),u.callbackNode=null,u.callbackPriority=0;else if(f=x&-x,u.callbackPriority!==f){if(v!=null&&pr(v),f===1)u.tag===0?Yte(Gj.bind(null,u)):NN(Gj.bind(null,u)),Hte(function(){(dr&6)===0&&zc()}),v=null;else{switch(BM(x)){case 1:v=Wn;break;case 4:v=wa;break;case 16:v=mo;break;case 536870912:v=Ho;break;default:v=mo}v=iD(v,Zj.bind(null,u))}u.callbackPriority=f,u.callbackNode=v}}function Zj(u,f){if(z0=-1,q0=0,(dr&6)!==0)throw Error(r(327));var v=u.callbackNode;if(ph()&&u.callbackNode!==v)return null;var x=As(u,u===mi?Ai:0);if(x===0)return null;if((x&30)!==0||(x&u.expiredLanes)!==0||f)f=W0(u,x);else{f=x;var R=dr;dr|=2;var I=Kj();(mi!==u||Ai!==f)&&(Fl=null,hh=Dt()+500,Sd(u,f));do try{yre();break}catch(K){Yj(u,K)}while(!0);Dk(),L0.current=I,dr=R,Hn!==null?f=0:(mi=null,Ai=0,f=oi)}if(f!==0){if(f===2&&(R=JP(u),R!==0&&(x=R,f=OC(u,R))),f===1)throw v=cm,Sd(u,0),Gc(u,x),xo(u,Dt()),v;if(f===6)Gc(u,x);else{if(R=u.current.alternate,(x&30)===0&&!mre(R)&&(f=W0(u,x),f===2&&(I=JP(u),I!==0&&(x=I,f=OC(u,I))),f===1))throw v=cm,Sd(u,0),Gc(u,x),xo(u,Dt()),v;switch(u.finishedWork=R,u.finishedLanes=x,f){case 0:case 1:throw Error(r(345));case 2:xd(u,So,Fl);break;case 3:if(Gc(u,x),(x&130023424)===x&&(f=vC+500-Dt(),10<f)){if(As(u,0)!==0)break;if(R=u.suspendedLanes,(R&x)!==x){ao(),u.pingedLanes|=u.suspendedLanes&R;break}u.timeoutHandle=Ck(xd.bind(null,u,So,Fl),f);break}xd(u,So,Fl);break;case 4:if(Gc(u,x),(x&4194240)===x)break;for(f=u.eventTimes,R=-1;0<x;){var L=31-yo(x);I=1<<L,L=f[L],L>R&&(R=L),x&=~I}if(x=R,x=Dt()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*gre(x/1960))-x,10<x){u.timeoutHandle=Ck(xd.bind(null,u,So,Fl),x);break}xd(u,So,Fl);break;case 5:xd(u,So,Fl);break;default:throw Error(r(329))}}}return xo(u,Dt()),u.callbackNode===v?Zj.bind(null,u):null}function OC(u,f){var v=um;return u.current.memoizedState.isDehydrated&&(Sd(u,f).flags|=256),u=W0(u,f),u!==2&&(f=So,So=v,f!==null&&wC(f)),u}function wC(u){So===null?So=u:So.push.apply(So,u)}function mre(u){for(var f=u;;){if(f.flags&16384){var v=f.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var x=0;x<v.length;x++){var R=v[x],I=R.getSnapshot;R=R.value;try{if(!rs(I(),R))return!1}catch{return!1}}}if(v=f.child,f.subtreeFlags&16384&&v!==null)v.return=f,f=v;else{if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function Gc(u,f){for(f&=~mC,f&=~Q0,u.suspendedLanes|=f,u.pingedLanes&=~f,u=u.expirationTimes;0<f;){var v=31-yo(f),x=1<<v;u[v]=-1,f&=~x}}function Gj(u){if((dr&6)!==0)throw Error(r(327));ph();var f=As(u,0);if((f&1)===0)return xo(u,Dt()),null;var v=W0(u,f);if(u.tag!==0&&v===2){var x=JP(u);x!==0&&(f=x,v=OC(u,x))}if(v===1)throw v=cm,Sd(u,0),Gc(u,f),xo(u,Dt()),v;if(v===6)throw Error(r(345));return u.finishedWork=u.current.alternate,u.finishedLanes=f,xd(u,So,Fl),xo(u,Dt()),null}function SC(u,f){var v=dr;dr|=1;try{return u(f)}finally{dr=v,dr===0&&(hh=Dt()+500,y0&&zc())}}function wd(u){Xc!==null&&Xc.tag===0&&(dr&6)===0&&ph();var f=dr;dr|=1;var v=Ta.transition,x=$r;try{if(Ta.transition=null,$r=1,u)return u()}finally{$r=x,Ta.transition=v,dr=f,(dr&6)===0&&zc()}}function xC(){Yo=fh.current,ln(fh)}function Sd(u,f){u.finishedWork=null,u.finishedLanes=0;var v=u.timeoutHandle;if(v!==-1&&(u.timeoutHandle=-1,Ute(v)),Hn!==null)for(v=Hn.return;v!==null;){var x=v;switch($k(x),x.tag){case 1:x=x.type.childContextTypes,x!=null&&m0();break;case 3:ch(),ln(bo),ln(Hi),Wk();break;case 5:zk(x);break;case 4:ch();break;case 13:ln(_n);break;case 19:ln(_n);break;case 10:Lk(x.type._context);break;case 22:case 23:xC()}v=v.return}if(mi=u,Hn=u=Yc(u.current,null),Ai=Yo=f,oi=0,cm=null,mC=Q0=Od=0,So=um=null,vd!==null){for(f=0;f<vd.length;f++)if(v=vd[f],x=v.interleaved,x!==null){v.interleaved=null;var R=x.next,I=v.pending;if(I!==null){var L=I.next;I.next=R,x.next=L}v.pending=x}vd=null}return u}function Yj(u,f){do{var v=Hn;try{if(Dk(),E0.current=$0,_0){for(var x=Rn.memoizedState;x!==null;){var R=x.queue;R!==null&&(R.pending=null),x=x.next}_0=!1}if(bd=0,gi=ii=Rn=null,nm=!1,im=0,gC.current=null,v===null||v.return===null){oi=1,cm=f,Hn=null;break}e:{var I=u,L=v.return,K=v,ae=f;if(f=Ai,K.flags|=32768,ae!==null&&typeof ae=="object"&&typeof ae.then=="function"){var be=ae,_e=K,Re=_e.tag;if((_e.mode&1)===0&&(Re===0||Re===11||Re===15)){var Ee=_e.alternate;Ee?(_e.updateQueue=Ee.updateQueue,_e.memoizedState=Ee.memoizedState,_e.lanes=Ee.lanes):(_e.updateQueue=null,_e.memoizedState=null)}var He=Sj(L);if(He!==null){He.flags&=-257,xj(He,L,K,I,f),He.mode&1&&wj(I,be,f),f=He,ae=be;var Je=f.updateQueue;if(Je===null){var rt=new Set;rt.add(ae),f.updateQueue=rt}else Je.add(ae);break e}else{if((f&1)===0){wj(I,be,f),PC();break e}ae=Error(r(426))}}else if(wn&&K.mode&1){var Ln=Sj(L);if(Ln!==null){(Ln.flags&65536)===0&&(Ln.flags|=256),xj(Ln,L,K,I,f),Nk(uh(ae,K));break e}}I=ae=uh(ae,K),oi!==4&&(oi=2),um===null?um=[I]:um.push(I),I=L;do{switch(I.tag){case 3:I.flags|=65536,f&=-f,I.lanes|=f;var he=bj(I,ae,f);UN(I,he);break e;case 1:K=ae;var se=I.type,pe=I.stateNode;if((I.flags&128)===0&&(typeof se.getDerivedStateFromError=="function"||pe!==null&&typeof pe.componentDidCatch=="function"&&(Hc===null||!Hc.has(pe)))){I.flags|=65536,f&=-f,I.lanes|=f;var Ne=Oj(I,K,f);UN(I,Ne);break e}}I=I.return}while(I!==null)}eD(v)}catch(ot){f=ot,Hn===v&&v!==null&&(Hn=v=v.return);continue}break}while(!0)}function Kj(){var u=L0.current;return L0.current=$0,u===null?$0:u}function PC(){(oi===0||oi===3||oi===2)&&(oi=4),mi===null||(Od&268435455)===0&&(Q0&268435455)===0||Gc(mi,Ai)}function W0(u,f){var v=dr;dr|=2;var x=Kj();(mi!==u||Ai!==f)&&(Fl=null,Sd(u,f));do try{vre();break}catch(R){Yj(u,R)}while(!0);if(Dk(),dr=v,L0.current=x,Hn!==null)throw Error(r(261));return mi=null,Ai=0,oi}function vre(){for(;Hn!==null;)Jj(Hn)}function yre(){for(;Hn!==null&&!ct();)Jj(Hn)}function Jj(u){var f=nD(u.alternate,u,Yo);u.memoizedProps=u.pendingProps,f===null?eD(u):Hn=f,gC.current=null}function eD(u){var f=u;do{var v=f.alternate;if(u=f.return,(f.flags&32768)===0){if(v=ure(v,f,Yo),v!==null){Hn=v;return}}else{if(v=dre(v,f),v!==null){v.flags&=32767,Hn=v;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{oi=6,Hn=null;return}}if(f=f.sibling,f!==null){Hn=f;return}Hn=f=u}while(f!==null);oi===0&&(oi=5)}function xd(u,f,v){var x=$r,R=Ta.transition;try{Ta.transition=null,$r=1,bre(u,f,v,x)}finally{Ta.transition=R,$r=x}return null}function bre(u,f,v,x){do ph();while(Xc!==null);if((dr&6)!==0)throw Error(r(327));v=u.finishedWork;var R=u.finishedLanes;if(v===null)return null;if(u.finishedWork=null,u.finishedLanes=0,v===u.current)throw Error(r(177));u.callbackNode=null,u.callbackPriority=0;var I=v.lanes|v.childLanes;if(Jee(u,I),u===mi&&(Hn=mi=null,Ai=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||F0||(F0=!0,iD(mo,function(){return ph(),null})),I=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||I){I=Ta.transition,Ta.transition=null;var L=$r;$r=1;var K=dr;dr|=4,gC.current=null,hre(u,v),qj(v,u),Qte(Pk),r0=!!xk,Pk=xk=null,u.current=v,pre(v),Qt(),dr=K,$r=L,Ta.transition=I}else u.current=v;if(F0&&(F0=!1,Xc=u,B0=R),I=u.pendingLanes,I===0&&(Hc=null),dd(v.stateNode),xo(u,Dt()),f!==null)for(x=u.onRecoverableError,v=0;v<f.length;v++)R=f[v],x(R.value,{componentStack:R.stack,digest:R.digest});if(V0)throw V0=!1,u=yC,yC=null,u;return(B0&1)!==0&&u.tag!==0&&ph(),I=u.pendingLanes,(I&1)!==0?u===bC?dm++:(dm=0,bC=u):dm=0,zc(),null}function ph(){if(Xc!==null){var u=BM(B0),f=Ta.transition,v=$r;try{if(Ta.transition=null,$r=16>u?16:u,Xc===null)var x=!1;else{if(u=Xc,Xc=null,B0=0,(dr&6)!==0)throw Error(r(331));var R=dr;for(dr|=4,Ge=u.current;Ge!==null;){var I=Ge,L=I.child;if((Ge.flags&16)!==0){var K=I.deletions;if(K!==null){for(var ae=0;ae<K.length;ae++){var be=K[ae];for(Ge=be;Ge!==null;){var _e=Ge;switch(_e.tag){case 0:case 11:case 15:lm(8,_e,I)}var Re=_e.child;if(Re!==null)Re.return=_e,Ge=Re;else for(;Ge!==null;){_e=Ge;var Ee=_e.sibling,He=_e.return;if(Qj(_e),_e===be){Ge=null;break}if(Ee!==null){Ee.return=He,Ge=Ee;break}Ge=He}}}var Je=I.alternate;if(Je!==null){var rt=Je.child;if(rt!==null){Je.child=null;do{var Ln=rt.sibling;rt.sibling=null,rt=Ln}while(rt!==null)}}Ge=I}}if((I.subtreeFlags&2064)!==0&&L!==null)L.return=I,Ge=L;else e:for(;Ge!==null;){if(I=Ge,(I.flags&2048)!==0)switch(I.tag){case 0:case 11:case 15:lm(9,I,I.return)}var he=I.sibling;if(he!==null){he.return=I.return,Ge=he;break e}Ge=I.return}}var se=u.current;for(Ge=se;Ge!==null;){L=Ge;var pe=L.child;if((L.subtreeFlags&2064)!==0&&pe!==null)pe.return=L,Ge=pe;else e:for(L=se;Ge!==null;){if(K=Ge,(K.flags&2048)!==0)try{switch(K.tag){case 0:case 11:case 15:D0(9,K)}}catch(ot){An(K,K.return,ot)}if(K===L){Ge=null;break e}var Ne=K.sibling;if(Ne!==null){Ne.return=K.return,Ge=Ne;break e}Ge=K.return}}if(dr=R,zc(),Un&&typeof Un.onPostCommitFiberRoot=="function")try{Un.onPostCommitFiberRoot(Sa,u)}catch{}x=!0}return x}finally{$r=v,Ta.transition=f}}return!1}function tD(u,f,v){f=uh(v,f),f=bj(u,f,1),u=Wc(u,f,1),f=ao(),u!==null&&(Ng(u,1,f),xo(u,f))}function An(u,f,v){if(u.tag===3)tD(u,u,v);else for(;f!==null;){if(f.tag===3){tD(f,u,v);break}else if(f.tag===1){var x=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(Hc===null||!Hc.has(x))){u=uh(v,u),u=Oj(f,u,1),f=Wc(f,u,1),u=ao(),f!==null&&(Ng(f,1,u),xo(f,u));break}}f=f.return}}function Ore(u,f,v){var x=u.pingCache;x!==null&&x.delete(f),f=ao(),u.pingedLanes|=u.suspendedLanes&v,mi===u&&(Ai&v)===v&&(oi===4||oi===3&&(Ai&130023424)===Ai&&500>Dt()-vC?Sd(u,0):mC|=v),xo(u,f)}function rD(u,f){f===0&&((u.mode&1)===0?f=1:(f=fd,fd<<=1,(fd&130023424)===0&&(fd=4194304)));var v=ao();u=Ll(u,f),u!==null&&(Ng(u,f,v),xo(u,v))}function wre(u){var f=u.memoizedState,v=0;f!==null&&(v=f.retryLane),rD(u,v)}function Sre(u,f){var v=0;switch(u.tag){case 13:var x=u.stateNode,R=u.memoizedState;R!==null&&(v=R.retryLane);break;case 19:x=u.stateNode;break;default:throw Error(r(314))}x!==null&&x.delete(f),rD(u,v)}var nD;nD=function(u,f,v){if(u!==null)if(u.memoizedProps!==f.pendingProps||bo.current)wo=!0;else{if((u.lanes&v)===0&&(f.flags&128)===0)return wo=!1,cre(u,f,v);wo=(u.flags&131072)!==0}else wo=!1,wn&&(f.flags&1048576)!==0&&jN(f,O0,f.index);switch(f.lanes=0,f.tag){case 2:var x=f.type;N0(u,f),u=f.pendingProps;var R=rh(f,Hi.current);lh(f,v),R=Xk(null,f,x,u,R,v);var I=Zk();return f.flags|=1,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,Oo(x)?(I=!0,v0(f)):I=!1,f.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,Fk(f),R.updater=A0,f.stateNode=R,R._reactInternals=f,tC(f,x,u,v),f=oC(null,f,x,!0,I,v)):(f.tag=0,wn&&I&&Ik(f),oo(null,f,R,v),f=f.child),f;case 16:x=f.elementType;e:{switch(N0(u,f),u=f.pendingProps,R=x._init,x=R(x._payload),f.type=x,R=f.tag=Pre(x),u=is(x,u),R){case 0:f=iC(null,f,x,u,v);break e;case 1:f=_j(null,f,x,u,v);break e;case 11:f=Pj(null,f,x,u,v);break e;case 14:f=kj(null,f,x,is(x.type,u),v);break e}throw Error(r(306,x,""))}return f;case 0:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),iC(u,f,x,R,v);case 1:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),_j(u,f,x,R,v);case 3:e:{if(Rj(f),u===null)throw Error(r(387));x=f.pendingProps,I=f.memoizedState,R=I.element,WN(u,f),C0(f,x,null,v);var L=f.memoizedState;if(x=L.element,I.isDehydrated)if(I={element:x,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},f.updateQueue.baseState=I,f.memoizedState=I,f.flags&256){R=uh(Error(r(423)),f),f=Ij(u,f,x,v,R);break e}else if(x!==R){R=uh(Error(r(424)),f),f=Ij(u,f,x,v,R);break e}else for(Go=Vc(f.stateNode.containerInfo.firstChild),Zo=f,wn=!0,ns=null,v=zN(f,null,x,v),f.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(oh(),x===R){f=Vl(u,f,v);break e}oo(u,f,x,v)}f=f.child}return f;case 5:return XN(f),u===null&&Mk(f),x=f.type,R=f.pendingProps,I=u!==null?u.memoizedProps:null,L=R.children,kk(x,R)?L=null:I!==null&&kk(x,I)&&(f.flags|=32),Ej(u,f),oo(u,f,L,v),f.child;case 6:return u===null&&Mk(f),null;case 13:return $j(u,f,v);case 4:return Bk(f,f.stateNode.containerInfo),x=f.pendingProps,u===null?f.child=ah(f,null,x,v):oo(u,f,x,v),f.child;case 11:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),Pj(u,f,x,R,v);case 7:return oo(u,f,f.pendingProps,v),f.child;case 8:return oo(u,f,f.pendingProps.children,v),f.child;case 12:return oo(u,f,f.pendingProps.children,v),f.child;case 10:e:{if(x=f.type._context,R=f.pendingProps,I=f.memoizedProps,L=R.value,Ur(x0,x._currentValue),x._currentValue=L,I!==null)if(rs(I.value,L)){if(I.children===R.children&&!bo.current){f=Vl(u,f,v);break e}}else for(I=f.child,I!==null&&(I.return=f);I!==null;){var K=I.dependencies;if(K!==null){L=I.child;for(var ae=K.firstContext;ae!==null;){if(ae.context===x){if(I.tag===1){ae=Ql(-1,v&-v),ae.tag=2;var be=I.updateQueue;if(be!==null){be=be.shared;var _e=be.pending;_e===null?ae.next=ae:(ae.next=_e.next,_e.next=ae),be.pending=ae}}I.lanes|=v,ae=I.alternate,ae!==null&&(ae.lanes|=v),Qk(I.return,v,f),K.lanes|=v;break}ae=ae.next}}else if(I.tag===10)L=I.type===f.type?null:I.child;else if(I.tag===18){if(L=I.return,L===null)throw Error(r(341));L.lanes|=v,K=L.alternate,K!==null&&(K.lanes|=v),Qk(L,v,f),L=I.sibling}else L=I.child;if(L!==null)L.return=I;else for(L=I;L!==null;){if(L===f){L=null;break}if(I=L.sibling,I!==null){I.return=L.return,L=I;break}L=L.return}I=L}oo(u,f,R.children,v),f=f.child}return f;case 9:return R=f.type,x=f.pendingProps.children,lh(f,v),R=ka(R),x=x(R),f.flags|=1,oo(u,f,x,v),f.child;case 14:return x=f.type,R=is(x,f.pendingProps),R=is(x.type,R),kj(u,f,x,R,v);case 15:return Cj(u,f,f.type,f.pendingProps,v);case 17:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),N0(u,f),f.tag=1,Oo(x)?(u=!0,v0(f)):u=!1,lh(f,v),vj(f,x,R),tC(f,x,R,v),oC(null,f,x,!0,u,v);case 19:return Mj(u,f,v);case 22:return Tj(u,f,v)}throw Error(r(156,f.tag))};function iD(u,f){return vt(u,f)}function xre(u,f,v,x){this.tag=u,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ea(u,f,v,x){return new xre(u,f,v,x)}function kC(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Pre(u){if(typeof u=="function")return kC(u)?1:0;if(u!=null){if(u=u.$$typeof,u===V)return 11;if(u===F)return 14}return 2}function Yc(u,f){var v=u.alternate;return v===null?(v=Ea(u.tag,f,u.key,u.mode),v.elementType=u.elementType,v.type=u.type,v.stateNode=u.stateNode,v.alternate=u,u.alternate=v):(v.pendingProps=f,v.type=u.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=u.flags&14680064,v.childLanes=u.childLanes,v.lanes=u.lanes,v.child=u.child,v.memoizedProps=u.memoizedProps,v.memoizedState=u.memoizedState,v.updateQueue=u.updateQueue,f=u.dependencies,v.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},v.sibling=u.sibling,v.index=u.index,v.ref=u.ref,v}function U0(u,f,v,x,R,I){var L=2;if(x=u,typeof u=="function")kC(u)&&(L=1);else if(typeof u=="string")L=5;else e:switch(u){case _:return Pd(v.children,R,I,f);case $:L=8,R|=8;break;case M:return u=Ea(12,v,f,R|2),u.elementType=M,u.lanes=I,u;case X:return u=Ea(13,v,f,R),u.elementType=X,u.lanes=I,u;case D:return u=Ea(19,v,f,R),u.elementType=D,u.lanes=I,u;case ie:return H0(v,R,I,f);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case j:L=10;break e;case B:L=9;break e;case V:L=11;break e;case F:L=14;break e;case Y:L=16,x=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return f=Ea(L,v,f,R),f.elementType=u,f.type=x,f.lanes=I,f}function Pd(u,f,v,x){return u=Ea(7,u,x,f),u.lanes=v,u}function H0(u,f,v,x){return u=Ea(22,u,x,f),u.elementType=ie,u.lanes=v,u.stateNode={isHidden:!1},u}function CC(u,f,v){return u=Ea(6,u,null,f),u.lanes=v,u}function TC(u,f,v){return f=Ea(4,u.children!==null?u.children:[],u.key,f),f.lanes=v,f.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},f}function kre(u,f,v,x,R){this.tag=f,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ek(0),this.expirationTimes=ek(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ek(0),this.identifierPrefix=x,this.onRecoverableError=R,this.mutableSourceEagerHydrationData=null}function EC(u,f,v,x,R,I,L,K,ae){return u=new kre(u,f,v,K,ae),f===1?(f=1,I===!0&&(f|=8)):f=0,I=Ea(3,null,null,f),u.current=I,I.stateNode=u,I.memoizedState={element:x,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fk(I),u}function Cre(u,f,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:E,key:x==null?null:""+x,children:u,containerInfo:f,implementation:v}}function oD(u){if(!u)return Bc;u=u._reactInternals;e:{if(Ot(u)!==u||u.tag!==1)throw Error(r(170));var f=u;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(Oo(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(u.tag===1){var v=u.type;if(Oo(v))return AN(u,v,f)}return f}function aD(u,f,v,x,R,I,L,K,ae){return u=EC(v,x,!0,u,R,I,L,K,ae),u.context=oD(null),v=u.current,x=ao(),R=Zc(v),I=Ql(x,R),I.callback=f??null,Wc(v,I,R),u.current.lanes=R,Ng(u,R,x),xo(u,x),u}function X0(u,f,v,x){var R=f.current,I=ao(),L=Zc(R);return v=oD(v),f.context===null?f.context=v:f.pendingContext=v,f=Ql(I,L),f.payload={element:u},x=x===void 0?null:x,x!==null&&(f.callback=x),u=Wc(R,f,L),u!==null&&(ss(u,R,L,I),k0(u,R,L)),L}function Z0(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function sD(u,f){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var v=u.retryLane;u.retryLane=v!==0&&v<f?v:f}}function _C(u,f){sD(u,f),(u=u.alternate)&&sD(u,f)}function Tre(){return null}var lD=typeof reportError=="function"?reportError:function(u){console.error(u)};function RC(u){this._internalRoot=u}G0.prototype.render=RC.prototype.render=function(u){var f=this._internalRoot;if(f===null)throw Error(r(409));X0(u,f,null,null)},G0.prototype.unmount=RC.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var f=u.containerInfo;wd(function(){X0(null,u,null,null)}),f[Ml]=null}};function G0(u){this._internalRoot=u}G0.prototype.unstable_scheduleHydration=function(u){if(u){var f=WM();u={blockedOn:null,target:u,priority:f};for(var v=0;v<Dc.length&&f!==0&&f<Dc[v].priority;v++);Dc.splice(v,0,u),v===0&&XM(u)}};function IC(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function Y0(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function cD(){}function Ere(u,f,v,x,R){if(R){if(typeof x=="function"){var I=x;x=function(){var be=Z0(L);I.call(be)}}var L=aD(f,x,u,0,null,!1,!1,"",cD);return u._reactRootContainer=L,u[Ml]=L.current,Zg(u.nodeType===8?u.parentNode:u),wd(),L}for(;R=u.lastChild;)u.removeChild(R);if(typeof x=="function"){var K=x;x=function(){var be=Z0(ae);K.call(be)}}var ae=EC(u,0,!1,null,null,!1,!1,"",cD);return u._reactRootContainer=ae,u[Ml]=ae.current,Zg(u.nodeType===8?u.parentNode:u),wd(function(){X0(f,ae,v,x)}),ae}function K0(u,f,v,x,R){var I=v._reactRootContainer;if(I){var L=I;if(typeof R=="function"){var K=R;R=function(){var ae=Z0(L);K.call(ae)}}X0(f,L,u,R)}else L=Ere(v,f,u,R,x);return Z0(L)}zM=function(u){switch(u.tag){case 3:var f=u.stateNode;if(f.current.memoizedState.isDehydrated){var v=Ac(f.pendingLanes);v!==0&&(tk(f,v|1),xo(f,Dt()),(dr&6)===0&&(hh=Dt()+500,zc()))}break;case 13:wd(function(){var x=Ll(u,1);if(x!==null){var R=ao();ss(x,u,1,R)}}),_C(u,1)}},rk=function(u){if(u.tag===13){var f=Ll(u,134217728);if(f!==null){var v=ao();ss(f,u,134217728,v)}_C(u,134217728)}},qM=function(u){if(u.tag===13){var f=Zc(u),v=Ll(u,f);if(v!==null){var x=ao();ss(v,u,f,x)}_C(u,f)}},WM=function(){return $r},UM=function(u,f){var v=$r;try{return $r=u,f()}finally{$r=v}},cd=function(u,f,v){switch(f){case"input":if(Vt(u,v),f=v.name,v.type==="radio"&&f!=null){for(v=u;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<v.length;f++){var x=v[f];if(x!==u&&x.form===u.form){var R=g0(x);if(!R)throw Error(r(90));re(x),Vt(x,R)}}}break;case"textarea":Tn(u,v);break;case"select":f=v.value,f!=null&&or(u,!!v.multiple,f,!1)}},ve=SC,we=wd;var _re={usingClientEntryPoint:!1,Events:[Kg,eh,g0,ts,ue,SC]},fm={findFiberByHostInstance:hd,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Rre={bundleType:fm.bundleType,version:fm.version,rendererPackageName:fm.rendererPackageName,rendererConfig:fm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=qt(u),u===null?null:u.stateNode},findFiberByHostInstance:fm.findFiberByHostInstance||Tre,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var J0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!J0.isDisabled&&J0.supportsFiber)try{Sa=J0.inject(Rre),Un=J0}catch{}}return Po.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_re,Po.createPortal=function(u,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!IC(f))throw Error(r(200));return Cre(u,f,null,v)},Po.createRoot=function(u,f){if(!IC(u))throw Error(r(299));var v=!1,x="",R=lD;return f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(x=f.identifierPrefix),f.onRecoverableError!==void 0&&(R=f.onRecoverableError)),f=EC(u,1,!1,null,null,v,!1,x,R),u[Ml]=f.current,Zg(u.nodeType===8?u.parentNode:u),new RC(f)},Po.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var f=u._reactInternals;if(f===void 0)throw typeof u.render=="function"?Error(r(188)):(u=Object.keys(u).join(","),Error(r(268,u)));return u=qt(f),u=u===null?null:u.stateNode,u},Po.flushSync=function(u){return wd(u)},Po.hydrate=function(u,f,v){if(!Y0(f))throw Error(r(200));return K0(null,u,f,!0,v)},Po.hydrateRoot=function(u,f,v){if(!IC(u))throw Error(r(405));var x=v!=null&&v.hydratedSources||null,R=!1,I="",L=lD;if(v!=null&&(v.unstable_strictMode===!0&&(R=!0),v.identifierPrefix!==void 0&&(I=v.identifierPrefix),v.onRecoverableError!==void 0&&(L=v.onRecoverableError)),f=aD(f,null,u,1,v??null,R,!1,I,L),u[Ml]=f.current,Zg(u),x)for(u=0;u<x.length;u++)v=x[u],R=v._getVersion,R=R(v._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[v,R]:f.mutableSourceEagerHydrationData.push(v,R);return new G0(f)},Po.render=function(u,f,v){if(!Y0(f))throw Error(r(200));return K0(null,u,f,!1,v)},Po.unmountComponentAtNode=function(u){if(!Y0(u))throw Error(r(40));return u._reactRootContainer?(wd(function(){K0(null,null,u,!1,function(){u._reactRootContainer=null,u[Ml]=null})}),!0):!1},Po.unstable_batchedUpdates=SC,Po.unstable_renderSubtreeIntoContainer=function(u,f,v,x){if(!Y0(v))throw Error(r(200));if(u==null||u._reactInternals===void 0)throw Error(r(38));return K0(u,f,v,!1,x)},Po.version="18.3.1-next-f1338f8080-20240426",Po}var yD;function cz(){if(yD)return MC.exports;yD=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),MC.exports=Vre(),MC.exports}var bD;function Fre(){if(bD)return eO;bD=1;var t=cz();return eO.createRoot=t.createRoot,eO.hydrateRoot=t.hydrateRoot,eO}var Bre=Fre();const zre={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"13c427e",MODE:"production",PACKAGE_VERSION:"1.7.2",PROD:!0,REACT_APP_ENDPOINT_HOST:"",REACT_APP_ENDPOINT_PORT:"",REACT_APP_ENDPOINT_SERVER_URL:"/endpoint",REACT_APP_GRAPHQL_SERVER_URL:"/graphql",REACT_APP_SWAGGER_SERVER_URL:"/api",SSR:!1},gv=t=>{var n;const e=zre[t];return((n=window.__env__)==null?void 0:n[t])||e},Lo=(...t)=>t.filter(Boolean).map(e=>e.trim()).join(" ");function qre(t,e){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${e}`}function mv(t={}){const{name:e,strict:r=!0,hookName:n="useContext",providerName:i="Provider",errorMessage:o,defaultValue:a}=t,s=A.createContext(a);s.displayName=e;function l(){var d;const c=A.useContext(s);if(!c&&r){const p=new Error(o??qre(n,i));throw p.name="ContextError",(d=Error.captureStackTrace)==null||d.call(Error,p,l),p}return c}return[s.Provider,l,s]}function Wre(...t){return function(...r){t.forEach(n=>n==null?void 0:n(...r))}}const Ure=(...t)=>t.map(e=>{var r;return(r=e==null?void 0:e.trim)==null?void 0:r.call(e)}).filter(Boolean).join(" "),Hre=/^on[A-Z]/;function Wv(...t){let e={};for(let r of t){for(let n in e){if(Hre.test(n)&&typeof e[n]=="function"&&typeof r[n]=="function"){e[n]=Wre(e[n],r[n]);continue}if(n==="className"||n==="class"){e[n]=Ure(e[n],r[n]);continue}if(n==="style"){e[n]=Object.assign({},e[n]??{},r[n]??{});continue}e[n]=r[n]!==void 0?r[n]:e[n]}for(let n in r)e[n]===void 0&&(e[n]=r[n])}return e}const Xre=Object.freeze({}),Zre=Object.freeze({});function uz(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Gre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Yre=uz(function(t){return Gre.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function Kre(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Jre(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var ene=function(){function t(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jre(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Kre(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},e.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},t}(),Yi="-ms-",Q1="-moz-",Or="-webkit-",dz="comm",u$="rule",d$="decl",tne="@import",fz="@keyframes",rne="@layer",nne=Math.abs,bx=String.fromCharCode,ine=Object.assign;function one(t,e){return Vi(t,0)^45?(((e<<2^Vi(t,0))<<2^Vi(t,1))<<2^Vi(t,2))<<2^Vi(t,3):0}function hz(t){return t.trim()}function ane(t,e){return(t=e.exec(t))?t[0]:t}function wr(t,e,r){return t.replace(e,r)}function m_(t,e){return t.indexOf(e)}function Vi(t,e){return t.charCodeAt(e)|0}function Uv(t,e,r){return t.slice(e,r)}function qs(t){return t.length}function f$(t){return t.length}function tO(t,e){return e.push(t),t}function sne(t,e){return t.map(e).join("")}var Ox=1,Op=1,pz=0,Vo=0,Jn=0,Zp="";function wx(t,e,r,n,i,o,a){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:Ox,column:Op,length:a,return:""}}function pm(t,e){return ine(wx("",null,null,"",null,null,0),t,{length:-t.length},e)}function lne(){return Jn}function cne(){return Jn=Vo>0?Vi(Zp,--Vo):0,Op--,Jn===10&&(Op=1,Ox--),Jn}function pa(){return Jn=Vo<pz?Vi(Zp,Vo++):0,Op++,Jn===10&&(Op=1,Ox++),Jn}function tl(){return Vi(Zp,Vo)}function Jw(){return Vo}function ab(t,e){return Uv(Zp,t,e)}function Hv(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gz(t){return Ox=Op=1,pz=qs(Zp=t),Vo=0,[]}function mz(t){return Zp="",t}function e1(t){return hz(ab(Vo-1,v_(t===91?t+2:t===40?t+1:t)))}function une(t){for(;(Jn=tl())&&Jn<33;)pa();return Hv(t)>2||Hv(Jn)>3?"":" "}function dne(t,e){for(;--e&&pa()&&!(Jn<48||Jn>102||Jn>57&&Jn<65||Jn>70&&Jn<97););return ab(t,Jw()+(e<6&&tl()==32&&pa()==32))}function v_(t){for(;pa();)switch(Jn){case t:return Vo;case 34:case 39:t!==34&&t!==39&&v_(Jn);break;case 40:t===41&&v_(t);break;case 92:pa();break}return Vo}function fne(t,e){for(;pa()&&t+Jn!==57;)if(t+Jn===84&&tl()===47)break;return"/*"+ab(e,Vo-1)+"*"+bx(t===47?t:pa())}function hne(t){for(;!Hv(tl());)pa();return ab(t,Vo)}function pne(t){return mz(t1("",null,null,null,[""],t=gz(t),0,[0],t))}function t1(t,e,r,n,i,o,a,s,l){for(var c=0,d=0,p=a,g=0,m=0,y=0,b=1,O=1,S=1,w=0,k="",T=i,C=o,E=n,_=k;O;)switch(y=w,w=pa()){case 40:if(y!=108&&Vi(_,p-1)==58){m_(_+=wr(e1(w),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:_+=e1(w);break;case 9:case 10:case 13:case 32:_+=une(y);break;case 92:_+=dne(Jw()-1,7);continue;case 47:switch(tl()){case 42:case 47:tO(gne(fne(pa(),Jw()),e,r),l);break;default:_+="/"}break;case 123*b:s[c++]=qs(_)*S;case 125*b:case 59:case 0:switch(w){case 0:case 125:O=0;case 59+d:S==-1&&(_=wr(_,/\f/g,"")),m>0&&qs(_)-p&&tO(m>32?wD(_+";",n,r,p-1):wD(wr(_," ","")+";",n,r,p-2),l);break;case 59:_+=";";default:if(tO(E=OD(_,e,r,c,d,i,s,k,T=[],C=[],p),o),w===123)if(d===0)t1(_,e,E,E,T,o,p,s,C);else switch(g===99&&Vi(_,3)===110?100:g){case 100:case 108:case 109:case 115:t1(t,E,E,n&&tO(OD(t,E,E,0,0,i,s,k,i,T=[],p),C),i,C,p,s,n?T:C);break;default:t1(_,E,E,E,[""],C,0,s,C)}}c=d=m=0,b=S=1,k=_="",p=a;break;case 58:p=1+qs(_),m=y;default:if(b<1){if(w==123)--b;else if(w==125&&b++==0&&cne()==125)continue}switch(_+=bx(w),w*b){case 38:S=d>0?1:(_+="\f",-1);break;case 44:s[c++]=(qs(_)-1)*S,S=1;break;case 64:tl()===45&&(_+=e1(pa())),g=tl(),d=p=qs(k=_+=hne(Jw())),w++;break;case 45:y===45&&qs(_)==2&&(b=0)}}return o}function OD(t,e,r,n,i,o,a,s,l,c,d){for(var p=i-1,g=i===0?o:[""],m=f$(g),y=0,b=0,O=0;y<n;++y)for(var S=0,w=Uv(t,p+1,p=nne(b=a[y])),k=t;S<m;++S)(k=hz(b>0?g[S]+" "+w:wr(w,/&\f/g,g[S])))&&(l[O++]=k);return wx(t,e,r,i===0?u$:s,l,c,d)}function gne(t,e,r){return wx(t,e,r,dz,bx(lne()),Uv(t,2,-2),0)}function wD(t,e,r,n){return wx(t,e,r,d$,Uv(t,0,n),Uv(t,n+1,-1),n)}function op(t,e){for(var r="",n=f$(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function mne(t,e,r,n){switch(t.type){case rne:if(t.children.length)break;case tne:case d$:return t.return=t.return||t.value;case dz:return"";case fz:return t.return=t.value+"{"+op(t.children,n)+"}";case u$:t.value=t.props.join(",")}return qs(r=op(t.children,n))?t.return=t.value+"{"+r+"}":""}function vne(t){var e=f$(t);return function(r,n,i,o){for(var a="",s=0;s<e;s++)a+=t[s](r,n,i,o)||"";return a}}function yne(t){return function(e){e.root||(e=e.return)&&t(e)}}var bne=function(e,r,n){for(var i=0,o=0;i=o,o=tl(),i===38&&o===12&&(r[n]=1),!Hv(o);)pa();return ab(e,Vo)},One=function(e,r){var n=-1,i=44;do switch(Hv(i)){case 0:i===38&&tl()===12&&(r[n]=1),e[n]+=bne(Vo-1,r,n);break;case 2:e[n]+=e1(i);break;case 4:if(i===44){e[++n]=tl()===58?"&\f":"",r[n]=e[n].length;break}default:e[n]+=bx(i)}while(i=pa());return e},wne=function(e,r){return mz(One(gz(e),r))},SD=new WeakMap,Sne=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!SD.get(n))&&!i){SD.set(e,!0);for(var o=[],a=wne(r,o),s=n.props,l=0,c=0;l<a.length;l++)for(var d=0;d<s.length;d++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[d]):s[d]+" "+a[l]}}},xne=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function vz(t,e){switch(one(t,e)){case 5103:return Or+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Or+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Or+t+Q1+t+Yi+t+t;case 6828:case 4268:return Or+t+Yi+t+t;case 6165:return Or+t+Yi+"flex-"+t+t;case 5187:return Or+t+wr(t,/(\w+).+(:[^]+)/,Or+"box-$1$2"+Yi+"flex-$1$2")+t;case 5443:return Or+t+Yi+"flex-item-"+wr(t,/flex-|-self/,"")+t;case 4675:return Or+t+Yi+"flex-line-pack"+wr(t,/align-content|flex-|-self/,"")+t;case 5548:return Or+t+Yi+wr(t,"shrink","negative")+t;case 5292:return Or+t+Yi+wr(t,"basis","preferred-size")+t;case 6060:return Or+"box-"+wr(t,"-grow","")+Or+t+Yi+wr(t,"grow","positive")+t;case 4554:return Or+wr(t,/([^-])(transform)/g,"$1"+Or+"$2")+t;case 6187:return wr(wr(wr(t,/(zoom-|grab)/,Or+"$1"),/(image-set)/,Or+"$1"),t,"")+t;case 5495:case 3959:return wr(t,/(image-set\([^]*)/,Or+"$1$`$1");case 4968:return wr(wr(t,/(.+:)(flex-)?(.*)/,Or+"box-pack:$3"+Yi+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Or+t+t;case 4095:case 3583:case 4068:case 2532:return wr(t,/(.+)-inline(.+)/,Or+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qs(t)-1-e>6)switch(Vi(t,e+1)){case 109:if(Vi(t,e+4)!==45)break;case 102:return wr(t,/(.+:)(.+)-([^]+)/,"$1"+Or+"$2-$3$1"+Q1+(Vi(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~m_(t,"stretch")?vz(wr(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(Vi(t,e+1)!==115)break;case 6444:switch(Vi(t,qs(t)-3-(~m_(t,"!important")&&10))){case 107:return wr(t,":",":"+Or)+t;case 101:return wr(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Or+(Vi(t,14)===45?"inline-":"")+"box$3$1"+Or+"$2$3$1"+Yi+"$2box$3")+t}break;case 5936:switch(Vi(t,e+11)){case 114:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Or+t+Yi+t+t}return t}var Pne=function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case d$:e.return=vz(e.value,e.length);break;case fz:return op([pm(e,{value:wr(e.value,"@","@"+Or)})],i);case u$:if(e.length)return sne(e.props,function(o){switch(ane(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return op([pm(e,{props:[wr(o,/:(read-\w+)/,":"+Q1+"$1")]})],i);case"::placeholder":return op([pm(e,{props:[wr(o,/:(plac\w+)/,":"+Or+"input-$1")]}),pm(e,{props:[wr(o,/:(plac\w+)/,":"+Q1+"$1")]}),pm(e,{props:[wr(o,/:(plac\w+)/,Yi+"input-$1")]})],i)}return""})}},kne=[Pne],Cne=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var O=b.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=e.stylisPlugins||kne,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var O=b.getAttribute("data-emotion").split(" "),S=1;S<O.length;S++)o[O[S]]=!0;s.push(b)});var l,c=[Sne,xne];{var d,p=[mne,yne(function(b){d.insert(b)})],g=vne(c.concat(i,p)),m=function(O){return op(pne(O),g)};l=function(O,S,w,k){d=w,m(O?O+"{"+S.styles+"}":S.styles),k&&(y.inserted[S.name]=!0)}}var y={key:r,sheet:new ene({key:r,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return y.sheet.hydrate(s),y};function Pt(){return Pt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pt.apply(null,arguments)}var DC={exports:{}},Pr={};/** @license React v16.13.1
|
|
40
|
+
`+I.stack}return{value:u,source:f,stack:R,digest:null}}function rC(u,f,v){return{value:u,source:null,stack:v??null,digest:f??null}}function nC(u,f){try{console.error(f.value)}catch(v){setTimeout(function(){throw v})}}var are=typeof WeakMap=="function"?WeakMap:Map;function bj(u,f,v){v=Ql(-1,v),v.tag=3,v.payload={element:null};var x=f.value;return v.callback=function(){V0||(V0=!0,yC=x),nC(u,f)},v}function Oj(u,f,v){v=Ql(-1,v),v.tag=3;var x=u.type.getDerivedStateFromError;if(typeof x=="function"){var R=f.value;v.payload=function(){return x(R)},v.callback=function(){nC(u,f)}}var I=u.stateNode;return I!==null&&typeof I.componentDidCatch=="function"&&(v.callback=function(){nC(u,f),typeof x!="function"&&(Hc===null?Hc=new Set([this]):Hc.add(this));var L=f.stack;this.componentDidCatch(f.value,{componentStack:L!==null?L:""})}),v}function wj(u,f,v){var x=u.pingCache;if(x===null){x=u.pingCache=new are;var R=new Set;x.set(f,R)}else R=x.get(f),R===void 0&&(R=new Set,x.set(f,R));R.has(v)||(R.add(v),u=Ore.bind(null,u,f,v),f.then(u,u))}function Sj(u){do{var f;if((f=u.tag===13)&&(f=u.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return u;u=u.return}while(u!==null);return null}function xj(u,f,v,x,R){return(u.mode&1)===0?(u===f?u.flags|=65536:(u.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:(f=Ql(-1,1),f.tag=2,Wc(v,f,1))),v.lanes|=1),u):(u.flags|=65536,u.lanes=R,u)}var sre=T.ReactCurrentOwner,wo=!1;function oo(u,f,v,x){f.child=u===null?zN(f,null,v,x):ah(f,u.child,v,x)}function Pj(u,f,v,x,R){v=v.render;var I=f.ref;return lh(f,R),x=Xk(u,f,v,x,I,R),v=Zk(),u!==null&&!wo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~R,Vl(u,f,R)):(wn&&v&&Ik(f),f.flags|=1,oo(u,f,x,R),f.child)}function kj(u,f,v,x,R){if(u===null){var I=v.type;return typeof I=="function"&&!kC(I)&&I.defaultProps===void 0&&v.compare===null&&v.defaultProps===void 0?(f.tag=15,f.type=I,Cj(u,f,I,x,R)):(u=U0(v.type,null,x,f,f.mode,R),u.ref=f.ref,u.return=f,f.child=u)}if(I=u.child,(u.lanes&R)===0){var L=I.memoizedProps;if(v=v.compare,v=v!==null?v:Ug,v(L,x)&&u.ref===f.ref)return Vl(u,f,R)}return f.flags|=1,u=Yc(I,x),u.ref=f.ref,u.return=f,f.child=u}function Cj(u,f,v,x,R){if(u!==null){var I=u.memoizedProps;if(Ug(I,x)&&u.ref===f.ref)if(wo=!1,f.pendingProps=x=I,(u.lanes&R)!==0)(u.flags&131072)!==0&&(wo=!0);else return f.lanes=u.lanes,Vl(u,f,R)}return iC(u,f,v,x,R)}function Tj(u,f,v){var x=f.pendingProps,R=x.children,I=u!==null?u.memoizedState:null;if(x.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ur(fh,Yo),Yo|=v;else{if((v&1073741824)===0)return u=I!==null?I.baseLanes|v:v,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:u,cachePool:null,transitions:null},f.updateQueue=null,Ur(fh,Yo),Yo|=u,null;f.memoizedState={baseLanes:0,cachePool:null,transitions:null},x=I!==null?I.baseLanes:v,Ur(fh,Yo),Yo|=x}else I!==null?(x=I.baseLanes|v,f.memoizedState=null):x=v,Ur(fh,Yo),Yo|=x;return oo(u,f,R,v),f.child}function Ej(u,f){var v=f.ref;(u===null&&v!==null||u!==null&&u.ref!==v)&&(f.flags|=512,f.flags|=2097152)}function iC(u,f,v,x,R){var I=Oo(v)?pd:Hi.current;return I=rh(f,I),lh(f,R),v=Xk(u,f,v,x,I,R),x=Zk(),u!==null&&!wo?(f.updateQueue=u.updateQueue,f.flags&=-2053,u.lanes&=~R,Vl(u,f,R)):(wn&&x&&Ik(f),f.flags|=1,oo(u,f,v,R),f.child)}function _j(u,f,v,x,R){if(Oo(v)){var I=!0;v0(f)}else I=!1;if(lh(f,R),f.stateNode===null)N0(u,f),vj(f,v,x),tC(f,v,x,R),x=!0;else if(u===null){var L=f.stateNode,K=f.memoizedProps;L.props=K;var ae=L.context,be=v.contextType;typeof be=="object"&&be!==null?be=ka(be):(be=Oo(v)?pd:Hi.current,be=rh(f,be));var _e=v.getDerivedStateFromProps,Re=typeof _e=="function"||typeof L.getSnapshotBeforeUpdate=="function";Re||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(K!==x||ae!==be)&&yj(f,L,x,be),qc=!1;var Ee=f.memoizedState;L.state=Ee,C0(f,x,L,R),ae=f.memoizedState,K!==x||Ee!==ae||bo.current||qc?(typeof _e=="function"&&(eC(f,v,_e,x),ae=f.memoizedState),(K=qc||mj(f,v,K,x,Ee,ae,be))?(Re||typeof L.UNSAFE_componentWillMount!="function"&&typeof L.componentWillMount!="function"||(typeof L.componentWillMount=="function"&&L.componentWillMount(),typeof L.UNSAFE_componentWillMount=="function"&&L.UNSAFE_componentWillMount()),typeof L.componentDidMount=="function"&&(f.flags|=4194308)):(typeof L.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=x,f.memoizedState=ae),L.props=x,L.state=ae,L.context=be,x=K):(typeof L.componentDidMount=="function"&&(f.flags|=4194308),x=!1)}else{L=f.stateNode,WN(u,f),K=f.memoizedProps,be=f.type===f.elementType?K:is(f.type,K),L.props=be,Re=f.pendingProps,Ee=L.context,ae=v.contextType,typeof ae=="object"&&ae!==null?ae=ka(ae):(ae=Oo(v)?pd:Hi.current,ae=rh(f,ae));var He=v.getDerivedStateFromProps;(_e=typeof He=="function"||typeof L.getSnapshotBeforeUpdate=="function")||typeof L.UNSAFE_componentWillReceiveProps!="function"&&typeof L.componentWillReceiveProps!="function"||(K!==Re||Ee!==ae)&&yj(f,L,x,ae),qc=!1,Ee=f.memoizedState,L.state=Ee,C0(f,x,L,R);var Je=f.memoizedState;K!==Re||Ee!==Je||bo.current||qc?(typeof He=="function"&&(eC(f,v,He,x),Je=f.memoizedState),(be=qc||mj(f,v,be,x,Ee,Je,ae)||!1)?(_e||typeof L.UNSAFE_componentWillUpdate!="function"&&typeof L.componentWillUpdate!="function"||(typeof L.componentWillUpdate=="function"&&L.componentWillUpdate(x,Je,ae),typeof L.UNSAFE_componentWillUpdate=="function"&&L.UNSAFE_componentWillUpdate(x,Je,ae)),typeof L.componentDidUpdate=="function"&&(f.flags|=4),typeof L.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof L.componentDidUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=1024),f.memoizedProps=x,f.memoizedState=Je),L.props=x,L.state=Je,L.context=ae,x=be):(typeof L.componentDidUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=4),typeof L.getSnapshotBeforeUpdate!="function"||K===u.memoizedProps&&Ee===u.memoizedState||(f.flags|=1024),x=!1)}return oC(u,f,v,x,I,R)}function oC(u,f,v,x,R,I){Ej(u,f);var L=(f.flags&128)!==0;if(!x&&!L)return R&&MN(f,v,!1),Vl(u,f,I);x=f.stateNode,sre.current=f;var K=L&&typeof v.getDerivedStateFromError!="function"?null:x.render();return f.flags|=1,u!==null&&L?(f.child=ah(f,u.child,null,I),f.child=ah(f,null,K,I)):oo(u,f,K,I),f.memoizedState=x.state,R&&MN(f,v,!0),f.child}function Rj(u){var f=u.stateNode;f.pendingContext?$N(u,f.pendingContext,f.pendingContext!==f.context):f.context&&$N(u,f.context,!1),Bk(u,f.containerInfo)}function Ij(u,f,v,x,R){return oh(),Nk(R),f.flags|=256,oo(u,f,v,x),f.child}var aC={dehydrated:null,treeContext:null,retryLane:0};function sC(u){return{baseLanes:u,cachePool:null,transitions:null}}function $j(u,f,v){var x=f.pendingProps,R=_n.current,I=!1,L=(f.flags&128)!==0,K;if((K=L)||(K=u!==null&&u.memoizedState===null?!1:(R&2)!==0),K?(I=!0,f.flags&=-129):(u===null||u.memoizedState!==null)&&(R|=1),Ur(_n,R&1),u===null)return Mk(f),u=f.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?((f.mode&1)===0?f.lanes=1:u.data==="$!"?f.lanes=8:f.lanes=1073741824,null):(L=x.children,u=x.fallback,I?(x=f.mode,I=f.child,L={mode:"hidden",children:L},(x&1)===0&&I!==null?(I.childLanes=0,I.pendingProps=L):I=H0(L,x,0,null),u=Pd(u,x,v,null),I.return=f,u.return=f,I.sibling=u,f.child=I,f.child.memoizedState=sC(v),f.memoizedState=aC,u):lC(f,L));if(R=u.memoizedState,R!==null&&(K=R.dehydrated,K!==null))return lre(u,f,L,x,K,R,v);if(I){I=x.fallback,L=f.mode,R=u.child,K=R.sibling;var ae={mode:"hidden",children:x.children};return(L&1)===0&&f.child!==R?(x=f.child,x.childLanes=0,x.pendingProps=ae,f.deletions=null):(x=Yc(R,ae),x.subtreeFlags=R.subtreeFlags&14680064),K!==null?I=Yc(K,I):(I=Pd(I,L,v,null),I.flags|=2),I.return=f,x.return=f,x.sibling=I,f.child=x,x=I,I=f.child,L=u.child.memoizedState,L=L===null?sC(v):{baseLanes:L.baseLanes|v,cachePool:null,transitions:L.transitions},I.memoizedState=L,I.childLanes=u.childLanes&~v,f.memoizedState=aC,x}return I=u.child,u=I.sibling,x=Yc(I,{mode:"visible",children:x.children}),(f.mode&1)===0&&(x.lanes=v),x.return=f,x.sibling=null,u!==null&&(v=f.deletions,v===null?(f.deletions=[u],f.flags|=16):v.push(u)),f.child=x,f.memoizedState=null,x}function lC(u,f){return f=H0({mode:"visible",children:f},u.mode,0,null),f.return=u,u.child=f}function M0(u,f,v,x){return x!==null&&Nk(x),ah(f,u.child,null,v),u=lC(f,f.pendingProps.children),u.flags|=2,f.memoizedState=null,u}function lre(u,f,v,x,R,I,L){if(v)return f.flags&256?(f.flags&=-257,x=rC(Error(r(422))),M0(u,f,L,x)):f.memoizedState!==null?(f.child=u.child,f.flags|=128,null):(I=x.fallback,R=f.mode,x=H0({mode:"visible",children:x.children},R,0,null),I=Pd(I,R,L,null),I.flags|=2,x.return=f,I.return=f,x.sibling=I,f.child=x,(f.mode&1)!==0&&ah(f,u.child,null,L),f.child.memoizedState=sC(L),f.memoizedState=aC,I);if((f.mode&1)===0)return M0(u,f,L,null);if(R.data==="$!"){if(x=R.nextSibling&&R.nextSibling.dataset,x)var K=x.dgst;return x=K,I=Error(r(419)),x=rC(I,x,void 0),M0(u,f,L,x)}if(K=(L&u.childLanes)!==0,wo||K){if(x=mi,x!==null){switch(L&-L){case 4:R=2;break;case 16:R=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:R=32;break;case 536870912:R=268435456;break;default:R=0}R=(R&(x.suspendedLanes|L))!==0?0:R,R!==0&&R!==I.retryLane&&(I.retryLane=R,Ll(u,R),ss(x,u,R,-1))}return PC(),x=rC(Error(r(421))),M0(u,f,L,x)}return R.data==="$?"?(f.flags|=128,f.child=u.child,f=wre.bind(null,u),R._reactRetry=f,null):(u=I.treeContext,Go=Vc(R.nextSibling),Zo=f,wn=!0,ns=null,u!==null&&(xa[Pa++]=jl,xa[Pa++]=Dl,xa[Pa++]=gd,jl=u.id,Dl=u.overflow,gd=f),f=lC(f,x.children),f.flags|=4096,f)}function Aj(u,f,v){u.lanes|=f;var x=u.alternate;x!==null&&(x.lanes|=f),Qk(u.return,f,v)}function cC(u,f,v,x,R){var I=u.memoizedState;I===null?u.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:x,tail:v,tailMode:R}:(I.isBackwards=f,I.rendering=null,I.renderingStartTime=0,I.last=x,I.tail=v,I.tailMode=R)}function Mj(u,f,v){var x=f.pendingProps,R=x.revealOrder,I=x.tail;if(oo(u,f,x.children,v),x=_n.current,(x&2)!==0)x=x&1|2,f.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=f.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&Aj(u,v,f);else if(u.tag===19)Aj(u,v,f);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===f)break e;for(;u.sibling===null;){if(u.return===null||u.return===f)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}x&=1}if(Ur(_n,x),(f.mode&1)===0)f.memoizedState=null;else switch(R){case"forwards":for(v=f.child,R=null;v!==null;)u=v.alternate,u!==null&&T0(u)===null&&(R=v),v=v.sibling;v=R,v===null?(R=f.child,f.child=null):(R=v.sibling,v.sibling=null),cC(f,!1,R,v,I);break;case"backwards":for(v=null,R=f.child,f.child=null;R!==null;){if(u=R.alternate,u!==null&&T0(u)===null){f.child=R;break}u=R.sibling,R.sibling=v,v=R,R=u}cC(f,!0,v,null,I);break;case"together":cC(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function N0(u,f){(f.mode&1)===0&&u!==null&&(u.alternate=null,f.alternate=null,f.flags|=2)}function Vl(u,f,v){if(u!==null&&(f.dependencies=u.dependencies),Od|=f.lanes,(v&f.childLanes)===0)return null;if(u!==null&&f.child!==u.child)throw Error(r(153));if(f.child!==null){for(u=f.child,v=Yc(u,u.pendingProps),f.child=v,v.return=f;u.sibling!==null;)u=u.sibling,v=v.sibling=Yc(u,u.pendingProps),v.return=f;v.sibling=null}return f.child}function cre(u,f,v){switch(f.tag){case 3:Rj(f),oh();break;case 5:XN(f);break;case 1:Oo(f.type)&&v0(f);break;case 4:Bk(f,f.stateNode.containerInfo);break;case 10:var x=f.type._context,R=f.memoizedProps.value;Ur(x0,x._currentValue),x._currentValue=R;break;case 13:if(x=f.memoizedState,x!==null)return x.dehydrated!==null?(Ur(_n,_n.current&1),f.flags|=128,null):(v&f.child.childLanes)!==0?$j(u,f,v):(Ur(_n,_n.current&1),u=Vl(u,f,v),u!==null?u.sibling:null);Ur(_n,_n.current&1);break;case 19:if(x=(v&f.childLanes)!==0,(u.flags&128)!==0){if(x)return Mj(u,f,v);f.flags|=128}if(R=f.memoizedState,R!==null&&(R.rendering=null,R.tail=null,R.lastEffect=null),Ur(_n,_n.current),x)break;return null;case 22:case 23:return f.lanes=0,Tj(u,f,v)}return Vl(u,f,v)}var Nj,uC,jj,Dj;Nj=function(u,f){for(var v=f.child;v!==null;){if(v.tag===5||v.tag===6)u.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===f)break;for(;v.sibling===null;){if(v.return===null||v.return===f)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},uC=function(){},jj=function(u,f,v,x){var R=u.memoizedProps;if(R!==x){u=f.stateNode,yd(Ns.current);var I=null;switch(v){case"input":R=ke(u,R),x=ke(u,x),I=[];break;case"select":R=z({},R,{value:void 0}),x=z({},x,{value:void 0}),I=[];break;case"textarea":R=Rr(u,R),x=Rr(u,x),I=[];break;default:typeof R.onClick!="function"&&typeof x.onClick=="function"&&(u.onclick=p0)}Il(v,x);var L;v=null;for(be in R)if(!x.hasOwnProperty(be)&&R.hasOwnProperty(be)&&R[be]!=null)if(be==="style"){var K=R[be];for(L in K)K.hasOwnProperty(L)&&(v||(v={}),v[L]="")}else be!=="dangerouslySetInnerHTML"&&be!=="children"&&be!=="suppressContentEditableWarning"&&be!=="suppressHydrationWarning"&&be!=="autoFocus"&&(i.hasOwnProperty(be)?I||(I=[]):(I=I||[]).push(be,null));for(be in x){var ae=x[be];if(K=R!=null?R[be]:void 0,x.hasOwnProperty(be)&&ae!==K&&(ae!=null||K!=null))if(be==="style")if(K){for(L in K)!K.hasOwnProperty(L)||ae&&ae.hasOwnProperty(L)||(v||(v={}),v[L]="");for(L in ae)ae.hasOwnProperty(L)&&K[L]!==ae[L]&&(v||(v={}),v[L]=ae[L])}else v||(I||(I=[]),I.push(be,v)),v=ae;else be==="dangerouslySetInnerHTML"?(ae=ae?ae.__html:void 0,K=K?K.__html:void 0,ae!=null&&K!==ae&&(I=I||[]).push(be,ae)):be==="children"?typeof ae!="string"&&typeof ae!="number"||(I=I||[]).push(be,""+ae):be!=="suppressContentEditableWarning"&&be!=="suppressHydrationWarning"&&(i.hasOwnProperty(be)?(ae!=null&&be==="onScroll"&&sn("scroll",u),I||K===ae||(I=[])):(I=I||[]).push(be,ae))}v&&(I=I||[]).push("style",v);var be=I;(f.updateQueue=be)&&(f.flags|=4)}},Dj=function(u,f,v,x){v!==x&&(f.flags|=4)};function sm(u,f){if(!wn)switch(u.tailMode){case"hidden":f=u.tail;for(var v=null;f!==null;)f.alternate!==null&&(v=f),f=f.sibling;v===null?u.tail=null:v.sibling=null;break;case"collapsed":v=u.tail;for(var x=null;v!==null;)v.alternate!==null&&(x=v),v=v.sibling;x===null?f||u.tail===null?u.tail=null:u.tail.sibling=null:x.sibling=null}}function Zi(u){var f=u.alternate!==null&&u.alternate.child===u.child,v=0,x=0;if(f)for(var R=u.child;R!==null;)v|=R.lanes|R.childLanes,x|=R.subtreeFlags&14680064,x|=R.flags&14680064,R.return=u,R=R.sibling;else for(R=u.child;R!==null;)v|=R.lanes|R.childLanes,x|=R.subtreeFlags,x|=R.flags,R.return=u,R=R.sibling;return u.subtreeFlags|=x,u.childLanes=v,f}function ure(u,f,v){var x=f.pendingProps;switch($k(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zi(f),null;case 1:return Oo(f.type)&&m0(),Zi(f),null;case 3:return x=f.stateNode,ch(),ln(bo),ln(Hi),Wk(),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(u===null||u.child===null)&&(w0(f)?f.flags|=4:u===null||u.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,ns!==null&&(wC(ns),ns=null))),uC(u,f),Zi(f),null;case 5:zk(f);var R=yd(rm.current);if(v=f.type,u!==null&&f.stateNode!=null)jj(u,f,v,x,R),u.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!x){if(f.stateNode===null)throw Error(r(166));return Zi(f),null}if(u=yd(Ns.current),w0(f)){x=f.stateNode,v=f.type;var I=f.memoizedProps;switch(x[Ms]=f,x[Yg]=I,u=(f.mode&1)!==0,v){case"dialog":sn("cancel",x),sn("close",x);break;case"iframe":case"object":case"embed":sn("load",x);break;case"video":case"audio":for(R=0;R<Xg.length;R++)sn(Xg[R],x);break;case"source":sn("error",x);break;case"img":case"image":case"link":sn("error",x),sn("load",x);break;case"details":sn("toggle",x);break;case"input":Me(x,I),sn("invalid",x);break;case"select":x._wrapperState={wasMultiple:!!I.multiple},sn("invalid",x);break;case"textarea":zt(x,I),sn("invalid",x)}Il(v,I),R=null;for(var L in I)if(I.hasOwnProperty(L)){var K=I[L];L==="children"?typeof K=="string"?x.textContent!==K&&(I.suppressHydrationWarning!==!0&&h0(x.textContent,K,u),R=["children",K]):typeof K=="number"&&x.textContent!==""+K&&(I.suppressHydrationWarning!==!0&&h0(x.textContent,K,u),R=["children",""+K]):i.hasOwnProperty(L)&&K!=null&&L==="onScroll"&&sn("scroll",x)}switch(v){case"input":ee(x),vr(x,I,!0);break;case"textarea":ee(x),zn(x);break;case"select":case"option":break;default:typeof I.onClick=="function"&&(x.onclick=p0)}x=R,f.updateQueue=x,x!==null&&(f.flags|=4)}else{L=R.nodeType===9?R:R.ownerDocument,u==="http://www.w3.org/1999/xhtml"&&(u=$n(v)),u==="http://www.w3.org/1999/xhtml"?v==="script"?(u=L.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild)):typeof x.is=="string"?u=L.createElement(v,{is:x.is}):(u=L.createElement(v),v==="select"&&(L=u,x.multiple?L.multiple=!0:x.size&&(L.size=x.size))):u=L.createElementNS(u,v),u[Ms]=f,u[Yg]=x,Nj(u,f,!1,!1),f.stateNode=u;e:{switch(L=ni(v,x),v){case"dialog":sn("cancel",u),sn("close",u),R=x;break;case"iframe":case"object":case"embed":sn("load",u),R=x;break;case"video":case"audio":for(R=0;R<Xg.length;R++)sn(Xg[R],u);R=x;break;case"source":sn("error",u),R=x;break;case"img":case"image":case"link":sn("error",u),sn("load",u),R=x;break;case"details":sn("toggle",u),R=x;break;case"input":Me(u,x),R=ke(u,x),sn("invalid",u);break;case"option":R=x;break;case"select":u._wrapperState={wasMultiple:!!x.multiple},R=z({},x,{value:void 0}),sn("invalid",u);break;case"textarea":zt(u,x),R=Rr(u,x),sn("invalid",u);break;default:R=x}Il(v,R),K=R;for(I in K)if(K.hasOwnProperty(I)){var ae=K[I];I==="style"?Ic(u,ae):I==="dangerouslySetInnerHTML"?(ae=ae?ae.__html:void 0,ae!=null&&En(u,ae)):I==="children"?typeof ae=="string"?(v!=="textarea"||ae!=="")&&Ii(u,ae):typeof ae=="number"&&Ii(u,""+ae):I!=="suppressContentEditableWarning"&&I!=="suppressHydrationWarning"&&I!=="autoFocus"&&(i.hasOwnProperty(I)?ae!=null&&I==="onScroll"&&sn("scroll",u):ae!=null&&k(u,I,ae,L))}switch(v){case"input":ee(u),vr(u,x,!1);break;case"textarea":ee(u),zn(u);break;case"option":x.value!=null&&u.setAttribute("value",""+Z(x.value));break;case"select":u.multiple=!!x.multiple,I=x.value,I!=null?or(u,!!x.multiple,I,!1):x.defaultValue!=null&&or(u,!!x.multiple,x.defaultValue,!0);break;default:typeof R.onClick=="function"&&(u.onclick=p0)}switch(v){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}}x&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return Zi(f),null;case 6:if(u&&f.stateNode!=null)Dj(u,f,u.memoizedProps,x);else{if(typeof x!="string"&&f.stateNode===null)throw Error(r(166));if(v=yd(rm.current),yd(Ns.current),w0(f)){if(x=f.stateNode,v=f.memoizedProps,x[Ms]=f,(I=x.nodeValue!==v)&&(u=Zo,u!==null))switch(u.tag){case 3:h0(x.nodeValue,v,(u.mode&1)!==0);break;case 5:u.memoizedProps.suppressHydrationWarning!==!0&&h0(x.nodeValue,v,(u.mode&1)!==0)}I&&(f.flags|=4)}else x=(v.nodeType===9?v:v.ownerDocument).createTextNode(x),x[Ms]=f,f.stateNode=x}return Zi(f),null;case 13:if(ln(_n),x=f.memoizedState,u===null||u.memoizedState!==null&&u.memoizedState.dehydrated!==null){if(wn&&Go!==null&&(f.mode&1)!==0&&(f.flags&128)===0)VN(),oh(),f.flags|=98560,I=!1;else if(I=w0(f),x!==null&&x.dehydrated!==null){if(u===null){if(!I)throw Error(r(318));if(I=f.memoizedState,I=I!==null?I.dehydrated:null,!I)throw Error(r(317));I[Ms]=f}else oh(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;Zi(f),I=!1}else ns!==null&&(wC(ns),ns=null),I=!0;if(!I)return f.flags&65536?f:null}return(f.flags&128)!==0?(f.lanes=v,f):(x=x!==null,x!==(u!==null&&u.memoizedState!==null)&&x&&(f.child.flags|=8192,(f.mode&1)!==0&&(u===null||(_n.current&1)!==0?oi===0&&(oi=3):PC())),f.updateQueue!==null&&(f.flags|=4),Zi(f),null);case 4:return ch(),uC(u,f),u===null&&Zg(f.stateNode.containerInfo),Zi(f),null;case 10:return Lk(f.type._context),Zi(f),null;case 17:return Oo(f.type)&&m0(),Zi(f),null;case 19:if(ln(_n),I=f.memoizedState,I===null)return Zi(f),null;if(x=(f.flags&128)!==0,L=I.rendering,L===null)if(x)sm(I,!1);else{if(oi!==0||u!==null&&(u.flags&128)!==0)for(u=f.child;u!==null;){if(L=T0(u),L!==null){for(f.flags|=128,sm(I,!1),x=L.updateQueue,x!==null&&(f.updateQueue=x,f.flags|=4),f.subtreeFlags=0,x=v,v=f.child;v!==null;)I=v,u=x,I.flags&=14680066,L=I.alternate,L===null?(I.childLanes=0,I.lanes=u,I.child=null,I.subtreeFlags=0,I.memoizedProps=null,I.memoizedState=null,I.updateQueue=null,I.dependencies=null,I.stateNode=null):(I.childLanes=L.childLanes,I.lanes=L.lanes,I.child=L.child,I.subtreeFlags=0,I.deletions=null,I.memoizedProps=L.memoizedProps,I.memoizedState=L.memoizedState,I.updateQueue=L.updateQueue,I.type=L.type,u=L.dependencies,I.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext}),v=v.sibling;return Ur(_n,_n.current&1|2),f.child}u=u.sibling}I.tail!==null&&Dt()>hh&&(f.flags|=128,x=!0,sm(I,!1),f.lanes=4194304)}else{if(!x)if(u=T0(L),u!==null){if(f.flags|=128,x=!0,v=u.updateQueue,v!==null&&(f.updateQueue=v,f.flags|=4),sm(I,!0),I.tail===null&&I.tailMode==="hidden"&&!L.alternate&&!wn)return Zi(f),null}else 2*Dt()-I.renderingStartTime>hh&&v!==1073741824&&(f.flags|=128,x=!0,sm(I,!1),f.lanes=4194304);I.isBackwards?(L.sibling=f.child,f.child=L):(v=I.last,v!==null?v.sibling=L:f.child=L,I.last=L)}return I.tail!==null?(f=I.tail,I.rendering=f,I.tail=f.sibling,I.renderingStartTime=Dt(),f.sibling=null,v=_n.current,Ur(_n,x?v&1|2:v&1),f):(Zi(f),null);case 22:case 23:return xC(),x=f.memoizedState!==null,u!==null&&u.memoizedState!==null!==x&&(f.flags|=8192),x&&(f.mode&1)!==0?(Yo&1073741824)!==0&&(Zi(f),f.subtreeFlags&6&&(f.flags|=8192)):Zi(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}function dre(u,f){switch($k(f),f.tag){case 1:return Oo(f.type)&&m0(),u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 3:return ch(),ln(bo),ln(Hi),Wk(),u=f.flags,(u&65536)!==0&&(u&128)===0?(f.flags=u&-65537|128,f):null;case 5:return zk(f),null;case 13:if(ln(_n),u=f.memoizedState,u!==null&&u.dehydrated!==null){if(f.alternate===null)throw Error(r(340));oh()}return u=f.flags,u&65536?(f.flags=u&-65537|128,f):null;case 19:return ln(_n),null;case 4:return ch(),null;case 10:return Lk(f.type._context),null;case 22:case 23:return xC(),null;case 24:return null;default:return null}}var j0=!1,Gi=!1,fre=typeof WeakSet=="function"?WeakSet:Set,Ge=null;function dh(u,f){var v=u.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(x){An(u,f,x)}else v.current=null}function dC(u,f,v){try{v()}catch(x){An(u,f,x)}}var Lj=!1;function hre(u,f){if(xk=r0,u=mN(),gk(u)){if("selectionStart"in u)var v={start:u.selectionStart,end:u.selectionEnd};else e:{v=(v=u.ownerDocument)&&v.defaultView||window;var x=v.getSelection&&v.getSelection();if(x&&x.rangeCount!==0){v=x.anchorNode;var R=x.anchorOffset,I=x.focusNode;x=x.focusOffset;try{v.nodeType,I.nodeType}catch{v=null;break e}var L=0,K=-1,ae=-1,be=0,_e=0,Re=u,Ee=null;t:for(;;){for(var He;Re!==v||R!==0&&Re.nodeType!==3||(K=L+R),Re!==I||x!==0&&Re.nodeType!==3||(ae=L+x),Re.nodeType===3&&(L+=Re.nodeValue.length),(He=Re.firstChild)!==null;)Ee=Re,Re=He;for(;;){if(Re===u)break t;if(Ee===v&&++be===R&&(K=L),Ee===I&&++_e===x&&(ae=L),(He=Re.nextSibling)!==null)break;Re=Ee,Ee=Re.parentNode}Re=He}v=K===-1||ae===-1?null:{start:K,end:ae}}else v=null}v=v||{start:0,end:0}}else v=null;for(Pk={focusedElem:u,selectionRange:v},r0=!1,Ge=f;Ge!==null;)if(f=Ge,u=f.child,(f.subtreeFlags&1028)!==0&&u!==null)u.return=f,Ge=u;else for(;Ge!==null;){f=Ge;try{var Je=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(Je!==null){var rt=Je.memoizedProps,Ln=Je.memoizedState,he=f.stateNode,se=he.getSnapshotBeforeUpdate(f.elementType===f.type?rt:is(f.type,rt),Ln);he.__reactInternalSnapshotBeforeUpdate=se}break;case 3:var pe=f.stateNode.containerInfo;pe.nodeType===1?pe.textContent="":pe.nodeType===9&&pe.documentElement&&pe.removeChild(pe.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(Ne){An(f,f.return,Ne)}if(u=f.sibling,u!==null){u.return=f.return,Ge=u;break}Ge=f.return}return Je=Lj,Lj=!1,Je}function lm(u,f,v){var x=f.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var R=x=x.next;do{if((R.tag&u)===u){var I=R.destroy;R.destroy=void 0,I!==void 0&&dC(f,v,I)}R=R.next}while(R!==x)}}function D0(u,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var v=f=f.next;do{if((v.tag&u)===u){var x=v.create;v.destroy=x()}v=v.next}while(v!==f)}}function fC(u){var f=u.ref;if(f!==null){var v=u.stateNode;switch(u.tag){case 5:u=v;break;default:u=v}typeof f=="function"?f(u):f.current=u}}function Qj(u){var f=u.alternate;f!==null&&(u.alternate=null,Qj(f)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(f=u.stateNode,f!==null&&(delete f[Ms],delete f[Yg],delete f[Ek],delete f[Zte],delete f[Gte])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function Vj(u){return u.tag===5||u.tag===3||u.tag===4}function Fj(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||Vj(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function hC(u,f,v){var x=u.tag;if(x===5||x===6)u=u.stateNode,f?v.nodeType===8?v.parentNode.insertBefore(u,f):v.insertBefore(u,f):(v.nodeType===8?(f=v.parentNode,f.insertBefore(u,v)):(f=v,f.appendChild(u)),v=v._reactRootContainer,v!=null||f.onclick!==null||(f.onclick=p0));else if(x!==4&&(u=u.child,u!==null))for(hC(u,f,v),u=u.sibling;u!==null;)hC(u,f,v),u=u.sibling}function pC(u,f,v){var x=u.tag;if(x===5||x===6)u=u.stateNode,f?v.insertBefore(u,f):v.appendChild(u);else if(x!==4&&(u=u.child,u!==null))for(pC(u,f,v),u=u.sibling;u!==null;)pC(u,f,v),u=u.sibling}var $i=null,os=!1;function Uc(u,f,v){for(v=v.child;v!==null;)Bj(u,f,v),v=v.sibling}function Bj(u,f,v){if(Un&&typeof Un.onCommitFiberUnmount=="function")try{Un.onCommitFiberUnmount(Sa,v)}catch{}switch(v.tag){case 5:Gi||dh(v,f);case 6:var x=$i,R=os;$i=null,Uc(u,f,v),$i=x,os=R,$i!==null&&(os?(u=$i,v=v.stateNode,u.nodeType===8?u.parentNode.removeChild(v):u.removeChild(v)):$i.removeChild(v.stateNode));break;case 18:$i!==null&&(os?(u=$i,v=v.stateNode,u.nodeType===8?Tk(u.parentNode,v):u.nodeType===1&&Tk(u,v),Vg(u)):Tk($i,v.stateNode));break;case 4:x=$i,R=os,$i=v.stateNode.containerInfo,os=!0,Uc(u,f,v),$i=x,os=R;break;case 0:case 11:case 14:case 15:if(!Gi&&(x=v.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){R=x=x.next;do{var I=R,L=I.destroy;I=I.tag,L!==void 0&&((I&2)!==0||(I&4)!==0)&&dC(v,f,L),R=R.next}while(R!==x)}Uc(u,f,v);break;case 1:if(!Gi&&(dh(v,f),x=v.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=v.memoizedProps,x.state=v.memoizedState,x.componentWillUnmount()}catch(K){An(v,f,K)}Uc(u,f,v);break;case 21:Uc(u,f,v);break;case 22:v.mode&1?(Gi=(x=Gi)||v.memoizedState!==null,Uc(u,f,v),Gi=x):Uc(u,f,v);break;default:Uc(u,f,v)}}function zj(u){var f=u.updateQueue;if(f!==null){u.updateQueue=null;var v=u.stateNode;v===null&&(v=u.stateNode=new fre),f.forEach(function(x){var R=Sre.bind(null,u,x);v.has(x)||(v.add(x),x.then(R,R))})}}function as(u,f){var v=f.deletions;if(v!==null)for(var x=0;x<v.length;x++){var R=v[x];try{var I=u,L=f,K=L;e:for(;K!==null;){switch(K.tag){case 5:$i=K.stateNode,os=!1;break e;case 3:$i=K.stateNode.containerInfo,os=!0;break e;case 4:$i=K.stateNode.containerInfo,os=!0;break e}K=K.return}if($i===null)throw Error(r(160));Bj(I,L,R),$i=null,os=!1;var ae=R.alternate;ae!==null&&(ae.return=null),R.return=null}catch(be){An(R,f,be)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)qj(f,u),f=f.sibling}function qj(u,f){var v=u.alternate,x=u.flags;switch(u.tag){case 0:case 11:case 14:case 15:if(as(f,u),Ds(u),x&4){try{lm(3,u,u.return),D0(3,u)}catch(rt){An(u,u.return,rt)}try{lm(5,u,u.return)}catch(rt){An(u,u.return,rt)}}break;case 1:as(f,u),Ds(u),x&512&&v!==null&&dh(v,v.return);break;case 5:if(as(f,u),Ds(u),x&512&&v!==null&&dh(v,v.return),u.flags&32){var R=u.stateNode;try{Ii(R,"")}catch(rt){An(u,u.return,rt)}}if(x&4&&(R=u.stateNode,R!=null)){var I=u.memoizedProps,L=v!==null?v.memoizedProps:I,K=u.type,ae=u.updateQueue;if(u.updateQueue=null,ae!==null)try{K==="input"&&I.type==="radio"&&I.name!=null&&De(R,I),ni(K,L);var be=ni(K,I);for(L=0;L<ae.length;L+=2){var _e=ae[L],Re=ae[L+1];_e==="style"?Ic(R,Re):_e==="dangerouslySetInnerHTML"?En(R,Re):_e==="children"?Ii(R,Re):k(R,_e,Re,be)}switch(K){case"input":Vt(R,I);break;case"textarea":Tn(R,I);break;case"select":var Ee=R._wrapperState.wasMultiple;R._wrapperState.wasMultiple=!!I.multiple;var He=I.value;He!=null?or(R,!!I.multiple,He,!1):Ee!==!!I.multiple&&(I.defaultValue!=null?or(R,!!I.multiple,I.defaultValue,!0):or(R,!!I.multiple,I.multiple?[]:"",!1))}R[Yg]=I}catch(rt){An(u,u.return,rt)}}break;case 6:if(as(f,u),Ds(u),x&4){if(u.stateNode===null)throw Error(r(162));R=u.stateNode,I=u.memoizedProps;try{R.nodeValue=I}catch(rt){An(u,u.return,rt)}}break;case 3:if(as(f,u),Ds(u),x&4&&v!==null&&v.memoizedState.isDehydrated)try{Vg(f.containerInfo)}catch(rt){An(u,u.return,rt)}break;case 4:as(f,u),Ds(u);break;case 13:as(f,u),Ds(u),R=u.child,R.flags&8192&&(I=R.memoizedState!==null,R.stateNode.isHidden=I,!I||R.alternate!==null&&R.alternate.memoizedState!==null||(vC=Dt())),x&4&&zj(u);break;case 22:if(_e=v!==null&&v.memoizedState!==null,u.mode&1?(Gi=(be=Gi)||_e,as(f,u),Gi=be):as(f,u),Ds(u),x&8192){if(be=u.memoizedState!==null,(u.stateNode.isHidden=be)&&!_e&&(u.mode&1)!==0)for(Ge=u,_e=u.child;_e!==null;){for(Re=Ge=_e;Ge!==null;){switch(Ee=Ge,He=Ee.child,Ee.tag){case 0:case 11:case 14:case 15:lm(4,Ee,Ee.return);break;case 1:dh(Ee,Ee.return);var Je=Ee.stateNode;if(typeof Je.componentWillUnmount=="function"){x=Ee,v=Ee.return;try{f=x,Je.props=f.memoizedProps,Je.state=f.memoizedState,Je.componentWillUnmount()}catch(rt){An(x,v,rt)}}break;case 5:dh(Ee,Ee.return);break;case 22:if(Ee.memoizedState!==null){Hj(Re);continue}}He!==null?(He.return=Ee,Ge=He):Hj(Re)}_e=_e.sibling}e:for(_e=null,Re=u;;){if(Re.tag===5){if(_e===null){_e=Re;try{R=Re.stateNode,be?(I=R.style,typeof I.setProperty=="function"?I.setProperty("display","none","important"):I.display="none"):(K=Re.stateNode,ae=Re.memoizedProps.style,L=ae!=null&&ae.hasOwnProperty("display")?ae.display:null,K.style.display=Ja("display",L))}catch(rt){An(u,u.return,rt)}}}else if(Re.tag===6){if(_e===null)try{Re.stateNode.nodeValue=be?"":Re.memoizedProps}catch(rt){An(u,u.return,rt)}}else if((Re.tag!==22&&Re.tag!==23||Re.memoizedState===null||Re===u)&&Re.child!==null){Re.child.return=Re,Re=Re.child;continue}if(Re===u)break e;for(;Re.sibling===null;){if(Re.return===null||Re.return===u)break e;_e===Re&&(_e=null),Re=Re.return}_e===Re&&(_e=null),Re.sibling.return=Re.return,Re=Re.sibling}}break;case 19:as(f,u),Ds(u),x&4&&zj(u);break;case 21:break;default:as(f,u),Ds(u)}}function Ds(u){var f=u.flags;if(f&2){try{e:{for(var v=u.return;v!==null;){if(Vj(v)){var x=v;break e}v=v.return}throw Error(r(160))}switch(x.tag){case 5:var R=x.stateNode;x.flags&32&&(Ii(R,""),x.flags&=-33);var I=Fj(u);pC(u,I,R);break;case 3:case 4:var L=x.stateNode.containerInfo,K=Fj(u);hC(u,K,L);break;default:throw Error(r(161))}}catch(ae){An(u,u.return,ae)}u.flags&=-3}f&4096&&(u.flags&=-4097)}function pre(u,f,v){Ge=u,Wj(u)}function Wj(u,f,v){for(var x=(u.mode&1)!==0;Ge!==null;){var R=Ge,I=R.child;if(R.tag===22&&x){var L=R.memoizedState!==null||j0;if(!L){var K=R.alternate,ae=K!==null&&K.memoizedState!==null||Gi;K=j0;var be=Gi;if(j0=L,(Gi=ae)&&!be)for(Ge=R;Ge!==null;)L=Ge,ae=L.child,L.tag===22&&L.memoizedState!==null?Xj(R):ae!==null?(ae.return=L,Ge=ae):Xj(R);for(;I!==null;)Ge=I,Wj(I),I=I.sibling;Ge=R,j0=K,Gi=be}Uj(u)}else(R.subtreeFlags&8772)!==0&&I!==null?(I.return=R,Ge=I):Uj(u)}}function Uj(u){for(;Ge!==null;){var f=Ge;if((f.flags&8772)!==0){var v=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:Gi||D0(5,f);break;case 1:var x=f.stateNode;if(f.flags&4&&!Gi)if(v===null)x.componentDidMount();else{var R=f.elementType===f.type?v.memoizedProps:is(f.type,v.memoizedProps);x.componentDidUpdate(R,v.memoizedState,x.__reactInternalSnapshotBeforeUpdate)}var I=f.updateQueue;I!==null&&HN(f,I,x);break;case 3:var L=f.updateQueue;if(L!==null){if(v=null,f.child!==null)switch(f.child.tag){case 5:v=f.child.stateNode;break;case 1:v=f.child.stateNode}HN(f,L,v)}break;case 5:var K=f.stateNode;if(v===null&&f.flags&4){v=K;var ae=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":ae.autoFocus&&v.focus();break;case"img":ae.src&&(v.src=ae.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var be=f.alternate;if(be!==null){var _e=be.memoizedState;if(_e!==null){var Re=_e.dehydrated;Re!==null&&Vg(Re)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Gi||f.flags&512&&fC(f)}catch(Ee){An(f,f.return,Ee)}}if(f===u){Ge=null;break}if(v=f.sibling,v!==null){v.return=f.return,Ge=v;break}Ge=f.return}}function Hj(u){for(;Ge!==null;){var f=Ge;if(f===u){Ge=null;break}var v=f.sibling;if(v!==null){v.return=f.return,Ge=v;break}Ge=f.return}}function Xj(u){for(;Ge!==null;){var f=Ge;try{switch(f.tag){case 0:case 11:case 15:var v=f.return;try{D0(4,f)}catch(ae){An(f,v,ae)}break;case 1:var x=f.stateNode;if(typeof x.componentDidMount=="function"){var R=f.return;try{x.componentDidMount()}catch(ae){An(f,R,ae)}}var I=f.return;try{fC(f)}catch(ae){An(f,I,ae)}break;case 5:var L=f.return;try{fC(f)}catch(ae){An(f,L,ae)}}}catch(ae){An(f,f.return,ae)}if(f===u){Ge=null;break}var K=f.sibling;if(K!==null){K.return=f.return,Ge=K;break}Ge=f.return}}var gre=Math.ceil,L0=T.ReactCurrentDispatcher,gC=T.ReactCurrentOwner,Ta=T.ReactCurrentBatchConfig,dr=0,mi=null,Hn=null,Ai=0,Yo=0,fh=Fc(0),oi=0,cm=null,Od=0,Q0=0,mC=0,um=null,So=null,vC=0,hh=1/0,Fl=null,V0=!1,yC=null,Hc=null,F0=!1,Xc=null,B0=0,dm=0,bC=null,z0=-1,q0=0;function ao(){return(dr&6)!==0?Dt():z0!==-1?z0:z0=Dt()}function Zc(u){return(u.mode&1)===0?1:(dr&2)!==0&&Ai!==0?Ai&-Ai:Kte.transition!==null?(q0===0&&(q0=FM()),q0):(u=$r,u!==0||(u=window.event,u=u===void 0?16:GM(u.type)),u)}function ss(u,f,v,x){if(50<dm)throw dm=0,bC=null,Error(r(185));Ng(u,v,x),((dr&2)===0||u!==mi)&&(u===mi&&((dr&2)===0&&(Q0|=v),oi===4&&Gc(u,Ai)),xo(u,x),v===1&&dr===0&&(f.mode&1)===0&&(hh=Dt()+500,y0&&zc()))}function xo(u,f){var v=u.callbackNode;Kee(u,f);var x=As(u,u===mi?Ai:0);if(x===0)v!==null&&pr(v),u.callbackNode=null,u.callbackPriority=0;else if(f=x&-x,u.callbackPriority!==f){if(v!=null&&pr(v),f===1)u.tag===0?Yte(Gj.bind(null,u)):NN(Gj.bind(null,u)),Hte(function(){(dr&6)===0&&zc()}),v=null;else{switch(BM(x)){case 1:v=Wn;break;case 4:v=wa;break;case 16:v=mo;break;case 536870912:v=Ho;break;default:v=mo}v=iD(v,Zj.bind(null,u))}u.callbackPriority=f,u.callbackNode=v}}function Zj(u,f){if(z0=-1,q0=0,(dr&6)!==0)throw Error(r(327));var v=u.callbackNode;if(ph()&&u.callbackNode!==v)return null;var x=As(u,u===mi?Ai:0);if(x===0)return null;if((x&30)!==0||(x&u.expiredLanes)!==0||f)f=W0(u,x);else{f=x;var R=dr;dr|=2;var I=Kj();(mi!==u||Ai!==f)&&(Fl=null,hh=Dt()+500,Sd(u,f));do try{yre();break}catch(K){Yj(u,K)}while(!0);Dk(),L0.current=I,dr=R,Hn!==null?f=0:(mi=null,Ai=0,f=oi)}if(f!==0){if(f===2&&(R=JP(u),R!==0&&(x=R,f=OC(u,R))),f===1)throw v=cm,Sd(u,0),Gc(u,x),xo(u,Dt()),v;if(f===6)Gc(u,x);else{if(R=u.current.alternate,(x&30)===0&&!mre(R)&&(f=W0(u,x),f===2&&(I=JP(u),I!==0&&(x=I,f=OC(u,I))),f===1))throw v=cm,Sd(u,0),Gc(u,x),xo(u,Dt()),v;switch(u.finishedWork=R,u.finishedLanes=x,f){case 0:case 1:throw Error(r(345));case 2:xd(u,So,Fl);break;case 3:if(Gc(u,x),(x&130023424)===x&&(f=vC+500-Dt(),10<f)){if(As(u,0)!==0)break;if(R=u.suspendedLanes,(R&x)!==x){ao(),u.pingedLanes|=u.suspendedLanes&R;break}u.timeoutHandle=Ck(xd.bind(null,u,So,Fl),f);break}xd(u,So,Fl);break;case 4:if(Gc(u,x),(x&4194240)===x)break;for(f=u.eventTimes,R=-1;0<x;){var L=31-yo(x);I=1<<L,L=f[L],L>R&&(R=L),x&=~I}if(x=R,x=Dt()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*gre(x/1960))-x,10<x){u.timeoutHandle=Ck(xd.bind(null,u,So,Fl),x);break}xd(u,So,Fl);break;case 5:xd(u,So,Fl);break;default:throw Error(r(329))}}}return xo(u,Dt()),u.callbackNode===v?Zj.bind(null,u):null}function OC(u,f){var v=um;return u.current.memoizedState.isDehydrated&&(Sd(u,f).flags|=256),u=W0(u,f),u!==2&&(f=So,So=v,f!==null&&wC(f)),u}function wC(u){So===null?So=u:So.push.apply(So,u)}function mre(u){for(var f=u;;){if(f.flags&16384){var v=f.updateQueue;if(v!==null&&(v=v.stores,v!==null))for(var x=0;x<v.length;x++){var R=v[x],I=R.getSnapshot;R=R.value;try{if(!rs(I(),R))return!1}catch{return!1}}}if(v=f.child,f.subtreeFlags&16384&&v!==null)v.return=f,f=v;else{if(f===u)break;for(;f.sibling===null;){if(f.return===null||f.return===u)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function Gc(u,f){for(f&=~mC,f&=~Q0,u.suspendedLanes|=f,u.pingedLanes&=~f,u=u.expirationTimes;0<f;){var v=31-yo(f),x=1<<v;u[v]=-1,f&=~x}}function Gj(u){if((dr&6)!==0)throw Error(r(327));ph();var f=As(u,0);if((f&1)===0)return xo(u,Dt()),null;var v=W0(u,f);if(u.tag!==0&&v===2){var x=JP(u);x!==0&&(f=x,v=OC(u,x))}if(v===1)throw v=cm,Sd(u,0),Gc(u,f),xo(u,Dt()),v;if(v===6)throw Error(r(345));return u.finishedWork=u.current.alternate,u.finishedLanes=f,xd(u,So,Fl),xo(u,Dt()),null}function SC(u,f){var v=dr;dr|=1;try{return u(f)}finally{dr=v,dr===0&&(hh=Dt()+500,y0&&zc())}}function wd(u){Xc!==null&&Xc.tag===0&&(dr&6)===0&&ph();var f=dr;dr|=1;var v=Ta.transition,x=$r;try{if(Ta.transition=null,$r=1,u)return u()}finally{$r=x,Ta.transition=v,dr=f,(dr&6)===0&&zc()}}function xC(){Yo=fh.current,ln(fh)}function Sd(u,f){u.finishedWork=null,u.finishedLanes=0;var v=u.timeoutHandle;if(v!==-1&&(u.timeoutHandle=-1,Ute(v)),Hn!==null)for(v=Hn.return;v!==null;){var x=v;switch($k(x),x.tag){case 1:x=x.type.childContextTypes,x!=null&&m0();break;case 3:ch(),ln(bo),ln(Hi),Wk();break;case 5:zk(x);break;case 4:ch();break;case 13:ln(_n);break;case 19:ln(_n);break;case 10:Lk(x.type._context);break;case 22:case 23:xC()}v=v.return}if(mi=u,Hn=u=Yc(u.current,null),Ai=Yo=f,oi=0,cm=null,mC=Q0=Od=0,So=um=null,vd!==null){for(f=0;f<vd.length;f++)if(v=vd[f],x=v.interleaved,x!==null){v.interleaved=null;var R=x.next,I=v.pending;if(I!==null){var L=I.next;I.next=R,x.next=L}v.pending=x}vd=null}return u}function Yj(u,f){do{var v=Hn;try{if(Dk(),E0.current=$0,_0){for(var x=Rn.memoizedState;x!==null;){var R=x.queue;R!==null&&(R.pending=null),x=x.next}_0=!1}if(bd=0,gi=ii=Rn=null,nm=!1,im=0,gC.current=null,v===null||v.return===null){oi=1,cm=f,Hn=null;break}e:{var I=u,L=v.return,K=v,ae=f;if(f=Ai,K.flags|=32768,ae!==null&&typeof ae=="object"&&typeof ae.then=="function"){var be=ae,_e=K,Re=_e.tag;if((_e.mode&1)===0&&(Re===0||Re===11||Re===15)){var Ee=_e.alternate;Ee?(_e.updateQueue=Ee.updateQueue,_e.memoizedState=Ee.memoizedState,_e.lanes=Ee.lanes):(_e.updateQueue=null,_e.memoizedState=null)}var He=Sj(L);if(He!==null){He.flags&=-257,xj(He,L,K,I,f),He.mode&1&&wj(I,be,f),f=He,ae=be;var Je=f.updateQueue;if(Je===null){var rt=new Set;rt.add(ae),f.updateQueue=rt}else Je.add(ae);break e}else{if((f&1)===0){wj(I,be,f),PC();break e}ae=Error(r(426))}}else if(wn&&K.mode&1){var Ln=Sj(L);if(Ln!==null){(Ln.flags&65536)===0&&(Ln.flags|=256),xj(Ln,L,K,I,f),Nk(uh(ae,K));break e}}I=ae=uh(ae,K),oi!==4&&(oi=2),um===null?um=[I]:um.push(I),I=L;do{switch(I.tag){case 3:I.flags|=65536,f&=-f,I.lanes|=f;var he=bj(I,ae,f);UN(I,he);break e;case 1:K=ae;var se=I.type,pe=I.stateNode;if((I.flags&128)===0&&(typeof se.getDerivedStateFromError=="function"||pe!==null&&typeof pe.componentDidCatch=="function"&&(Hc===null||!Hc.has(pe)))){I.flags|=65536,f&=-f,I.lanes|=f;var Ne=Oj(I,K,f);UN(I,Ne);break e}}I=I.return}while(I!==null)}eD(v)}catch(ot){f=ot,Hn===v&&v!==null&&(Hn=v=v.return);continue}break}while(!0)}function Kj(){var u=L0.current;return L0.current=$0,u===null?$0:u}function PC(){(oi===0||oi===3||oi===2)&&(oi=4),mi===null||(Od&268435455)===0&&(Q0&268435455)===0||Gc(mi,Ai)}function W0(u,f){var v=dr;dr|=2;var x=Kj();(mi!==u||Ai!==f)&&(Fl=null,Sd(u,f));do try{vre();break}catch(R){Yj(u,R)}while(!0);if(Dk(),dr=v,L0.current=x,Hn!==null)throw Error(r(261));return mi=null,Ai=0,oi}function vre(){for(;Hn!==null;)Jj(Hn)}function yre(){for(;Hn!==null&&!ct();)Jj(Hn)}function Jj(u){var f=nD(u.alternate,u,Yo);u.memoizedProps=u.pendingProps,f===null?eD(u):Hn=f,gC.current=null}function eD(u){var f=u;do{var v=f.alternate;if(u=f.return,(f.flags&32768)===0){if(v=ure(v,f,Yo),v!==null){Hn=v;return}}else{if(v=dre(v,f),v!==null){v.flags&=32767,Hn=v;return}if(u!==null)u.flags|=32768,u.subtreeFlags=0,u.deletions=null;else{oi=6,Hn=null;return}}if(f=f.sibling,f!==null){Hn=f;return}Hn=f=u}while(f!==null);oi===0&&(oi=5)}function xd(u,f,v){var x=$r,R=Ta.transition;try{Ta.transition=null,$r=1,bre(u,f,v,x)}finally{Ta.transition=R,$r=x}return null}function bre(u,f,v,x){do ph();while(Xc!==null);if((dr&6)!==0)throw Error(r(327));v=u.finishedWork;var R=u.finishedLanes;if(v===null)return null;if(u.finishedWork=null,u.finishedLanes=0,v===u.current)throw Error(r(177));u.callbackNode=null,u.callbackPriority=0;var I=v.lanes|v.childLanes;if(Jee(u,I),u===mi&&(Hn=mi=null,Ai=0),(v.subtreeFlags&2064)===0&&(v.flags&2064)===0||F0||(F0=!0,iD(mo,function(){return ph(),null})),I=(v.flags&15990)!==0,(v.subtreeFlags&15990)!==0||I){I=Ta.transition,Ta.transition=null;var L=$r;$r=1;var K=dr;dr|=4,gC.current=null,hre(u,v),qj(v,u),Qte(Pk),r0=!!xk,Pk=xk=null,u.current=v,pre(v),Qt(),dr=K,$r=L,Ta.transition=I}else u.current=v;if(F0&&(F0=!1,Xc=u,B0=R),I=u.pendingLanes,I===0&&(Hc=null),dd(v.stateNode),xo(u,Dt()),f!==null)for(x=u.onRecoverableError,v=0;v<f.length;v++)R=f[v],x(R.value,{componentStack:R.stack,digest:R.digest});if(V0)throw V0=!1,u=yC,yC=null,u;return(B0&1)!==0&&u.tag!==0&&ph(),I=u.pendingLanes,(I&1)!==0?u===bC?dm++:(dm=0,bC=u):dm=0,zc(),null}function ph(){if(Xc!==null){var u=BM(B0),f=Ta.transition,v=$r;try{if(Ta.transition=null,$r=16>u?16:u,Xc===null)var x=!1;else{if(u=Xc,Xc=null,B0=0,(dr&6)!==0)throw Error(r(331));var R=dr;for(dr|=4,Ge=u.current;Ge!==null;){var I=Ge,L=I.child;if((Ge.flags&16)!==0){var K=I.deletions;if(K!==null){for(var ae=0;ae<K.length;ae++){var be=K[ae];for(Ge=be;Ge!==null;){var _e=Ge;switch(_e.tag){case 0:case 11:case 15:lm(8,_e,I)}var Re=_e.child;if(Re!==null)Re.return=_e,Ge=Re;else for(;Ge!==null;){_e=Ge;var Ee=_e.sibling,He=_e.return;if(Qj(_e),_e===be){Ge=null;break}if(Ee!==null){Ee.return=He,Ge=Ee;break}Ge=He}}}var Je=I.alternate;if(Je!==null){var rt=Je.child;if(rt!==null){Je.child=null;do{var Ln=rt.sibling;rt.sibling=null,rt=Ln}while(rt!==null)}}Ge=I}}if((I.subtreeFlags&2064)!==0&&L!==null)L.return=I,Ge=L;else e:for(;Ge!==null;){if(I=Ge,(I.flags&2048)!==0)switch(I.tag){case 0:case 11:case 15:lm(9,I,I.return)}var he=I.sibling;if(he!==null){he.return=I.return,Ge=he;break e}Ge=I.return}}var se=u.current;for(Ge=se;Ge!==null;){L=Ge;var pe=L.child;if((L.subtreeFlags&2064)!==0&&pe!==null)pe.return=L,Ge=pe;else e:for(L=se;Ge!==null;){if(K=Ge,(K.flags&2048)!==0)try{switch(K.tag){case 0:case 11:case 15:D0(9,K)}}catch(ot){An(K,K.return,ot)}if(K===L){Ge=null;break e}var Ne=K.sibling;if(Ne!==null){Ne.return=K.return,Ge=Ne;break e}Ge=K.return}}if(dr=R,zc(),Un&&typeof Un.onPostCommitFiberRoot=="function")try{Un.onPostCommitFiberRoot(Sa,u)}catch{}x=!0}return x}finally{$r=v,Ta.transition=f}}return!1}function tD(u,f,v){f=uh(v,f),f=bj(u,f,1),u=Wc(u,f,1),f=ao(),u!==null&&(Ng(u,1,f),xo(u,f))}function An(u,f,v){if(u.tag===3)tD(u,u,v);else for(;f!==null;){if(f.tag===3){tD(f,u,v);break}else if(f.tag===1){var x=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(Hc===null||!Hc.has(x))){u=uh(v,u),u=Oj(f,u,1),f=Wc(f,u,1),u=ao(),f!==null&&(Ng(f,1,u),xo(f,u));break}}f=f.return}}function Ore(u,f,v){var x=u.pingCache;x!==null&&x.delete(f),f=ao(),u.pingedLanes|=u.suspendedLanes&v,mi===u&&(Ai&v)===v&&(oi===4||oi===3&&(Ai&130023424)===Ai&&500>Dt()-vC?Sd(u,0):mC|=v),xo(u,f)}function rD(u,f){f===0&&((u.mode&1)===0?f=1:(f=fd,fd<<=1,(fd&130023424)===0&&(fd=4194304)));var v=ao();u=Ll(u,f),u!==null&&(Ng(u,f,v),xo(u,v))}function wre(u){var f=u.memoizedState,v=0;f!==null&&(v=f.retryLane),rD(u,v)}function Sre(u,f){var v=0;switch(u.tag){case 13:var x=u.stateNode,R=u.memoizedState;R!==null&&(v=R.retryLane);break;case 19:x=u.stateNode;break;default:throw Error(r(314))}x!==null&&x.delete(f),rD(u,v)}var nD;nD=function(u,f,v){if(u!==null)if(u.memoizedProps!==f.pendingProps||bo.current)wo=!0;else{if((u.lanes&v)===0&&(f.flags&128)===0)return wo=!1,cre(u,f,v);wo=(u.flags&131072)!==0}else wo=!1,wn&&(f.flags&1048576)!==0&&jN(f,O0,f.index);switch(f.lanes=0,f.tag){case 2:var x=f.type;N0(u,f),u=f.pendingProps;var R=rh(f,Hi.current);lh(f,v),R=Xk(null,f,x,u,R,v);var I=Zk();return f.flags|=1,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,Oo(x)?(I=!0,v0(f)):I=!1,f.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,Fk(f),R.updater=A0,f.stateNode=R,R._reactInternals=f,tC(f,x,u,v),f=oC(null,f,x,!0,I,v)):(f.tag=0,wn&&I&&Ik(f),oo(null,f,R,v),f=f.child),f;case 16:x=f.elementType;e:{switch(N0(u,f),u=f.pendingProps,R=x._init,x=R(x._payload),f.type=x,R=f.tag=Pre(x),u=is(x,u),R){case 0:f=iC(null,f,x,u,v);break e;case 1:f=_j(null,f,x,u,v);break e;case 11:f=Pj(null,f,x,u,v);break e;case 14:f=kj(null,f,x,is(x.type,u),v);break e}throw Error(r(306,x,""))}return f;case 0:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),iC(u,f,x,R,v);case 1:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),_j(u,f,x,R,v);case 3:e:{if(Rj(f),u===null)throw Error(r(387));x=f.pendingProps,I=f.memoizedState,R=I.element,WN(u,f),C0(f,x,null,v);var L=f.memoizedState;if(x=L.element,I.isDehydrated)if(I={element:x,isDehydrated:!1,cache:L.cache,pendingSuspenseBoundaries:L.pendingSuspenseBoundaries,transitions:L.transitions},f.updateQueue.baseState=I,f.memoizedState=I,f.flags&256){R=uh(Error(r(423)),f),f=Ij(u,f,x,v,R);break e}else if(x!==R){R=uh(Error(r(424)),f),f=Ij(u,f,x,v,R);break e}else for(Go=Vc(f.stateNode.containerInfo.firstChild),Zo=f,wn=!0,ns=null,v=zN(f,null,x,v),f.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling;else{if(oh(),x===R){f=Vl(u,f,v);break e}oo(u,f,x,v)}f=f.child}return f;case 5:return XN(f),u===null&&Mk(f),x=f.type,R=f.pendingProps,I=u!==null?u.memoizedProps:null,L=R.children,kk(x,R)?L=null:I!==null&&kk(x,I)&&(f.flags|=32),Ej(u,f),oo(u,f,L,v),f.child;case 6:return u===null&&Mk(f),null;case 13:return $j(u,f,v);case 4:return Bk(f,f.stateNode.containerInfo),x=f.pendingProps,u===null?f.child=ah(f,null,x,v):oo(u,f,x,v),f.child;case 11:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),Pj(u,f,x,R,v);case 7:return oo(u,f,f.pendingProps,v),f.child;case 8:return oo(u,f,f.pendingProps.children,v),f.child;case 12:return oo(u,f,f.pendingProps.children,v),f.child;case 10:e:{if(x=f.type._context,R=f.pendingProps,I=f.memoizedProps,L=R.value,Ur(x0,x._currentValue),x._currentValue=L,I!==null)if(rs(I.value,L)){if(I.children===R.children&&!bo.current){f=Vl(u,f,v);break e}}else for(I=f.child,I!==null&&(I.return=f);I!==null;){var K=I.dependencies;if(K!==null){L=I.child;for(var ae=K.firstContext;ae!==null;){if(ae.context===x){if(I.tag===1){ae=Ql(-1,v&-v),ae.tag=2;var be=I.updateQueue;if(be!==null){be=be.shared;var _e=be.pending;_e===null?ae.next=ae:(ae.next=_e.next,_e.next=ae),be.pending=ae}}I.lanes|=v,ae=I.alternate,ae!==null&&(ae.lanes|=v),Qk(I.return,v,f),K.lanes|=v;break}ae=ae.next}}else if(I.tag===10)L=I.type===f.type?null:I.child;else if(I.tag===18){if(L=I.return,L===null)throw Error(r(341));L.lanes|=v,K=L.alternate,K!==null&&(K.lanes|=v),Qk(L,v,f),L=I.sibling}else L=I.child;if(L!==null)L.return=I;else for(L=I;L!==null;){if(L===f){L=null;break}if(I=L.sibling,I!==null){I.return=L.return,L=I;break}L=L.return}I=L}oo(u,f,R.children,v),f=f.child}return f;case 9:return R=f.type,x=f.pendingProps.children,lh(f,v),R=ka(R),x=x(R),f.flags|=1,oo(u,f,x,v),f.child;case 14:return x=f.type,R=is(x,f.pendingProps),R=is(x.type,R),kj(u,f,x,R,v);case 15:return Cj(u,f,f.type,f.pendingProps,v);case 17:return x=f.type,R=f.pendingProps,R=f.elementType===x?R:is(x,R),N0(u,f),f.tag=1,Oo(x)?(u=!0,v0(f)):u=!1,lh(f,v),vj(f,x,R),tC(f,x,R,v),oC(null,f,x,!0,u,v);case 19:return Mj(u,f,v);case 22:return Tj(u,f,v)}throw Error(r(156,f.tag))};function iD(u,f){return vt(u,f)}function xre(u,f,v,x){this.tag=u,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ea(u,f,v,x){return new xre(u,f,v,x)}function kC(u){return u=u.prototype,!(!u||!u.isReactComponent)}function Pre(u){if(typeof u=="function")return kC(u)?1:0;if(u!=null){if(u=u.$$typeof,u===V)return 11;if(u===F)return 14}return 2}function Yc(u,f){var v=u.alternate;return v===null?(v=Ea(u.tag,f,u.key,u.mode),v.elementType=u.elementType,v.type=u.type,v.stateNode=u.stateNode,v.alternate=u,u.alternate=v):(v.pendingProps=f,v.type=u.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=u.flags&14680064,v.childLanes=u.childLanes,v.lanes=u.lanes,v.child=u.child,v.memoizedProps=u.memoizedProps,v.memoizedState=u.memoizedState,v.updateQueue=u.updateQueue,f=u.dependencies,v.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},v.sibling=u.sibling,v.index=u.index,v.ref=u.ref,v}function U0(u,f,v,x,R,I){var L=2;if(x=u,typeof u=="function")kC(u)&&(L=1);else if(typeof u=="string")L=5;else e:switch(u){case _:return Pd(v.children,R,I,f);case $:L=8,R|=8;break;case M:return u=Ea(12,v,f,R|2),u.elementType=M,u.lanes=I,u;case X:return u=Ea(13,v,f,R),u.elementType=X,u.lanes=I,u;case D:return u=Ea(19,v,f,R),u.elementType=D,u.lanes=I,u;case ie:return H0(v,R,I,f);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case j:L=10;break e;case B:L=9;break e;case V:L=11;break e;case F:L=14;break e;case Y:L=16,x=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return f=Ea(L,v,f,R),f.elementType=u,f.type=x,f.lanes=I,f}function Pd(u,f,v,x){return u=Ea(7,u,x,f),u.lanes=v,u}function H0(u,f,v,x){return u=Ea(22,u,x,f),u.elementType=ie,u.lanes=v,u.stateNode={isHidden:!1},u}function CC(u,f,v){return u=Ea(6,u,null,f),u.lanes=v,u}function TC(u,f,v){return f=Ea(4,u.children!==null?u.children:[],u.key,f),f.lanes=v,f.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},f}function kre(u,f,v,x,R){this.tag=f,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ek(0),this.expirationTimes=ek(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ek(0),this.identifierPrefix=x,this.onRecoverableError=R,this.mutableSourceEagerHydrationData=null}function EC(u,f,v,x,R,I,L,K,ae){return u=new kre(u,f,v,K,ae),f===1?(f=1,I===!0&&(f|=8)):f=0,I=Ea(3,null,null,f),u.current=I,I.stateNode=u,I.memoizedState={element:x,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},Fk(I),u}function Cre(u,f,v){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:E,key:x==null?null:""+x,children:u,containerInfo:f,implementation:v}}function oD(u){if(!u)return Bc;u=u._reactInternals;e:{if(Ot(u)!==u||u.tag!==1)throw Error(r(170));var f=u;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(Oo(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(u.tag===1){var v=u.type;if(Oo(v))return AN(u,v,f)}return f}function aD(u,f,v,x,R,I,L,K,ae){return u=EC(v,x,!0,u,R,I,L,K,ae),u.context=oD(null),v=u.current,x=ao(),R=Zc(v),I=Ql(x,R),I.callback=f??null,Wc(v,I,R),u.current.lanes=R,Ng(u,R,x),xo(u,x),u}function X0(u,f,v,x){var R=f.current,I=ao(),L=Zc(R);return v=oD(v),f.context===null?f.context=v:f.pendingContext=v,f=Ql(I,L),f.payload={element:u},x=x===void 0?null:x,x!==null&&(f.callback=x),u=Wc(R,f,L),u!==null&&(ss(u,R,L,I),k0(u,R,L)),L}function Z0(u){if(u=u.current,!u.child)return null;switch(u.child.tag){case 5:return u.child.stateNode;default:return u.child.stateNode}}function sD(u,f){if(u=u.memoizedState,u!==null&&u.dehydrated!==null){var v=u.retryLane;u.retryLane=v!==0&&v<f?v:f}}function _C(u,f){sD(u,f),(u=u.alternate)&&sD(u,f)}function Tre(){return null}var lD=typeof reportError=="function"?reportError:function(u){console.error(u)};function RC(u){this._internalRoot=u}G0.prototype.render=RC.prototype.render=function(u){var f=this._internalRoot;if(f===null)throw Error(r(409));X0(u,f,null,null)},G0.prototype.unmount=RC.prototype.unmount=function(){var u=this._internalRoot;if(u!==null){this._internalRoot=null;var f=u.containerInfo;wd(function(){X0(null,u,null,null)}),f[Ml]=null}};function G0(u){this._internalRoot=u}G0.prototype.unstable_scheduleHydration=function(u){if(u){var f=WM();u={blockedOn:null,target:u,priority:f};for(var v=0;v<Dc.length&&f!==0&&f<Dc[v].priority;v++);Dc.splice(v,0,u),v===0&&XM(u)}};function IC(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11)}function Y0(u){return!(!u||u.nodeType!==1&&u.nodeType!==9&&u.nodeType!==11&&(u.nodeType!==8||u.nodeValue!==" react-mount-point-unstable "))}function cD(){}function Ere(u,f,v,x,R){if(R){if(typeof x=="function"){var I=x;x=function(){var be=Z0(L);I.call(be)}}var L=aD(f,x,u,0,null,!1,!1,"",cD);return u._reactRootContainer=L,u[Ml]=L.current,Zg(u.nodeType===8?u.parentNode:u),wd(),L}for(;R=u.lastChild;)u.removeChild(R);if(typeof x=="function"){var K=x;x=function(){var be=Z0(ae);K.call(be)}}var ae=EC(u,0,!1,null,null,!1,!1,"",cD);return u._reactRootContainer=ae,u[Ml]=ae.current,Zg(u.nodeType===8?u.parentNode:u),wd(function(){X0(f,ae,v,x)}),ae}function K0(u,f,v,x,R){var I=v._reactRootContainer;if(I){var L=I;if(typeof R=="function"){var K=R;R=function(){var ae=Z0(L);K.call(ae)}}X0(f,L,u,R)}else L=Ere(v,f,u,R,x);return Z0(L)}zM=function(u){switch(u.tag){case 3:var f=u.stateNode;if(f.current.memoizedState.isDehydrated){var v=Ac(f.pendingLanes);v!==0&&(tk(f,v|1),xo(f,Dt()),(dr&6)===0&&(hh=Dt()+500,zc()))}break;case 13:wd(function(){var x=Ll(u,1);if(x!==null){var R=ao();ss(x,u,1,R)}}),_C(u,1)}},rk=function(u){if(u.tag===13){var f=Ll(u,134217728);if(f!==null){var v=ao();ss(f,u,134217728,v)}_C(u,134217728)}},qM=function(u){if(u.tag===13){var f=Zc(u),v=Ll(u,f);if(v!==null){var x=ao();ss(v,u,f,x)}_C(u,f)}},WM=function(){return $r},UM=function(u,f){var v=$r;try{return $r=u,f()}finally{$r=v}},cd=function(u,f,v){switch(f){case"input":if(Vt(u,v),f=v.name,v.type==="radio"&&f!=null){for(v=u;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<v.length;f++){var x=v[f];if(x!==u&&x.form===u.form){var R=g0(x);if(!R)throw Error(r(90));re(x),Vt(x,R)}}}break;case"textarea":Tn(u,v);break;case"select":f=v.value,f!=null&&or(u,!!v.multiple,f,!1)}},ve=SC,we=wd;var _re={usingClientEntryPoint:!1,Events:[Kg,eh,g0,ts,ue,SC]},fm={findFiberByHostInstance:hd,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Rre={bundleType:fm.bundleType,version:fm.version,rendererPackageName:fm.rendererPackageName,rendererConfig:fm.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(u){return u=qt(u),u===null?null:u.stateNode},findFiberByHostInstance:fm.findFiberByHostInstance||Tre,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var J0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!J0.isDisabled&&J0.supportsFiber)try{Sa=J0.inject(Rre),Un=J0}catch{}}return Po.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_re,Po.createPortal=function(u,f){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!IC(f))throw Error(r(200));return Cre(u,f,null,v)},Po.createRoot=function(u,f){if(!IC(u))throw Error(r(299));var v=!1,x="",R=lD;return f!=null&&(f.unstable_strictMode===!0&&(v=!0),f.identifierPrefix!==void 0&&(x=f.identifierPrefix),f.onRecoverableError!==void 0&&(R=f.onRecoverableError)),f=EC(u,1,!1,null,null,v,!1,x,R),u[Ml]=f.current,Zg(u.nodeType===8?u.parentNode:u),new RC(f)},Po.findDOMNode=function(u){if(u==null)return null;if(u.nodeType===1)return u;var f=u._reactInternals;if(f===void 0)throw typeof u.render=="function"?Error(r(188)):(u=Object.keys(u).join(","),Error(r(268,u)));return u=qt(f),u=u===null?null:u.stateNode,u},Po.flushSync=function(u){return wd(u)},Po.hydrate=function(u,f,v){if(!Y0(f))throw Error(r(200));return K0(null,u,f,!0,v)},Po.hydrateRoot=function(u,f,v){if(!IC(u))throw Error(r(405));var x=v!=null&&v.hydratedSources||null,R=!1,I="",L=lD;if(v!=null&&(v.unstable_strictMode===!0&&(R=!0),v.identifierPrefix!==void 0&&(I=v.identifierPrefix),v.onRecoverableError!==void 0&&(L=v.onRecoverableError)),f=aD(f,null,u,1,v??null,R,!1,I,L),u[Ml]=f.current,Zg(u),x)for(u=0;u<x.length;u++)v=x[u],R=v._getVersion,R=R(v._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[v,R]:f.mutableSourceEagerHydrationData.push(v,R);return new G0(f)},Po.render=function(u,f,v){if(!Y0(f))throw Error(r(200));return K0(null,u,f,!1,v)},Po.unmountComponentAtNode=function(u){if(!Y0(u))throw Error(r(40));return u._reactRootContainer?(wd(function(){K0(null,null,u,!1,function(){u._reactRootContainer=null,u[Ml]=null})}),!0):!1},Po.unstable_batchedUpdates=SC,Po.unstable_renderSubtreeIntoContainer=function(u,f,v,x){if(!Y0(v))throw Error(r(200));if(u==null||u._reactInternals===void 0)throw Error(r(38));return K0(u,f,v,!1,x)},Po.version="18.3.1-next-f1338f8080-20240426",Po}var yD;function cz(){if(yD)return MC.exports;yD=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),MC.exports=Vre(),MC.exports}var bD;function Fre(){if(bD)return eO;bD=1;var t=cz();return eO.createRoot=t.createRoot,eO.hydrateRoot=t.hydrateRoot,eO}var Bre=Fre();const zre={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"f1f9aa5",MODE:"production",PACKAGE_VERSION:"2.0.0",PROD:!0,REACT_APP_ENDPOINT_HOST:"",REACT_APP_ENDPOINT_PORT:"",REACT_APP_ENDPOINT_SERVER_URL:"/endpoint",REACT_APP_GRAPHQL_SERVER_URL:"/graphql",REACT_APP_SWAGGER_SERVER_URL:"/api",SSR:!1},gv=t=>{var n;const e=zre[t];return((n=window.__env__)==null?void 0:n[t])||e},Lo=(...t)=>t.filter(Boolean).map(e=>e.trim()).join(" ");function qre(t,e){return`${t} returned \`undefined\`. Seems you forgot to wrap component within ${e}`}function mv(t={}){const{name:e,strict:r=!0,hookName:n="useContext",providerName:i="Provider",errorMessage:o,defaultValue:a}=t,s=A.createContext(a);s.displayName=e;function l(){var d;const c=A.useContext(s);if(!c&&r){const p=new Error(o??qre(n,i));throw p.name="ContextError",(d=Error.captureStackTrace)==null||d.call(Error,p,l),p}return c}return[s.Provider,l,s]}function Wre(...t){return function(...r){t.forEach(n=>n==null?void 0:n(...r))}}const Ure=(...t)=>t.map(e=>{var r;return(r=e==null?void 0:e.trim)==null?void 0:r.call(e)}).filter(Boolean).join(" "),Hre=/^on[A-Z]/;function Wv(...t){let e={};for(let r of t){for(let n in e){if(Hre.test(n)&&typeof e[n]=="function"&&typeof r[n]=="function"){e[n]=Wre(e[n],r[n]);continue}if(n==="className"||n==="class"){e[n]=Ure(e[n],r[n]);continue}if(n==="style"){e[n]=Object.assign({},e[n]??{},r[n]??{});continue}e[n]=r[n]!==void 0?r[n]:e[n]}for(let n in r)e[n]===void 0&&(e[n]=r[n])}return e}const Xre=Object.freeze({}),Zre=Object.freeze({});function uz(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Gre=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Yre=uz(function(t){return Gre.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91});function Kre(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Jre(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var ene=function(){function t(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(n){n.forEach(this._insertTag)},e.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Jre(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Kre(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},e.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},t}(),Yi="-ms-",Q1="-moz-",Or="-webkit-",dz="comm",u$="rule",d$="decl",tne="@import",fz="@keyframes",rne="@layer",nne=Math.abs,bx=String.fromCharCode,ine=Object.assign;function one(t,e){return Vi(t,0)^45?(((e<<2^Vi(t,0))<<2^Vi(t,1))<<2^Vi(t,2))<<2^Vi(t,3):0}function hz(t){return t.trim()}function ane(t,e){return(t=e.exec(t))?t[0]:t}function wr(t,e,r){return t.replace(e,r)}function m_(t,e){return t.indexOf(e)}function Vi(t,e){return t.charCodeAt(e)|0}function Uv(t,e,r){return t.slice(e,r)}function qs(t){return t.length}function f$(t){return t.length}function tO(t,e){return e.push(t),t}function sne(t,e){return t.map(e).join("")}var Ox=1,Op=1,pz=0,Vo=0,Jn=0,Zp="";function wx(t,e,r,n,i,o,a){return{value:t,root:e,parent:r,type:n,props:i,children:o,line:Ox,column:Op,length:a,return:""}}function pm(t,e){return ine(wx("",null,null,"",null,null,0),t,{length:-t.length},e)}function lne(){return Jn}function cne(){return Jn=Vo>0?Vi(Zp,--Vo):0,Op--,Jn===10&&(Op=1,Ox--),Jn}function pa(){return Jn=Vo<pz?Vi(Zp,Vo++):0,Op++,Jn===10&&(Op=1,Ox++),Jn}function tl(){return Vi(Zp,Vo)}function Jw(){return Vo}function ab(t,e){return Uv(Zp,t,e)}function Hv(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function gz(t){return Ox=Op=1,pz=qs(Zp=t),Vo=0,[]}function mz(t){return Zp="",t}function e1(t){return hz(ab(Vo-1,v_(t===91?t+2:t===40?t+1:t)))}function une(t){for(;(Jn=tl())&&Jn<33;)pa();return Hv(t)>2||Hv(Jn)>3?"":" "}function dne(t,e){for(;--e&&pa()&&!(Jn<48||Jn>102||Jn>57&&Jn<65||Jn>70&&Jn<97););return ab(t,Jw()+(e<6&&tl()==32&&pa()==32))}function v_(t){for(;pa();)switch(Jn){case t:return Vo;case 34:case 39:t!==34&&t!==39&&v_(Jn);break;case 40:t===41&&v_(t);break;case 92:pa();break}return Vo}function fne(t,e){for(;pa()&&t+Jn!==57;)if(t+Jn===84&&tl()===47)break;return"/*"+ab(e,Vo-1)+"*"+bx(t===47?t:pa())}function hne(t){for(;!Hv(tl());)pa();return ab(t,Vo)}function pne(t){return mz(t1("",null,null,null,[""],t=gz(t),0,[0],t))}function t1(t,e,r,n,i,o,a,s,l){for(var c=0,d=0,p=a,g=0,m=0,y=0,b=1,O=1,S=1,w=0,k="",T=i,C=o,E=n,_=k;O;)switch(y=w,w=pa()){case 40:if(y!=108&&Vi(_,p-1)==58){m_(_+=wr(e1(w),"&","&\f"),"&\f")!=-1&&(S=-1);break}case 34:case 39:case 91:_+=e1(w);break;case 9:case 10:case 13:case 32:_+=une(y);break;case 92:_+=dne(Jw()-1,7);continue;case 47:switch(tl()){case 42:case 47:tO(gne(fne(pa(),Jw()),e,r),l);break;default:_+="/"}break;case 123*b:s[c++]=qs(_)*S;case 125*b:case 59:case 0:switch(w){case 0:case 125:O=0;case 59+d:S==-1&&(_=wr(_,/\f/g,"")),m>0&&qs(_)-p&&tO(m>32?wD(_+";",n,r,p-1):wD(wr(_," ","")+";",n,r,p-2),l);break;case 59:_+=";";default:if(tO(E=OD(_,e,r,c,d,i,s,k,T=[],C=[],p),o),w===123)if(d===0)t1(_,e,E,E,T,o,p,s,C);else switch(g===99&&Vi(_,3)===110?100:g){case 100:case 108:case 109:case 115:t1(t,E,E,n&&tO(OD(t,E,E,0,0,i,s,k,i,T=[],p),C),i,C,p,s,n?T:C);break;default:t1(_,E,E,E,[""],C,0,s,C)}}c=d=m=0,b=S=1,k=_="",p=a;break;case 58:p=1+qs(_),m=y;default:if(b<1){if(w==123)--b;else if(w==125&&b++==0&&cne()==125)continue}switch(_+=bx(w),w*b){case 38:S=d>0?1:(_+="\f",-1);break;case 44:s[c++]=(qs(_)-1)*S,S=1;break;case 64:tl()===45&&(_+=e1(pa())),g=tl(),d=p=qs(k=_+=hne(Jw())),w++;break;case 45:y===45&&qs(_)==2&&(b=0)}}return o}function OD(t,e,r,n,i,o,a,s,l,c,d){for(var p=i-1,g=i===0?o:[""],m=f$(g),y=0,b=0,O=0;y<n;++y)for(var S=0,w=Uv(t,p+1,p=nne(b=a[y])),k=t;S<m;++S)(k=hz(b>0?g[S]+" "+w:wr(w,/&\f/g,g[S])))&&(l[O++]=k);return wx(t,e,r,i===0?u$:s,l,c,d)}function gne(t,e,r){return wx(t,e,r,dz,bx(lne()),Uv(t,2,-2),0)}function wD(t,e,r,n){return wx(t,e,r,d$,Uv(t,0,n),Uv(t,n+1,-1),n)}function op(t,e){for(var r="",n=f$(t),i=0;i<n;i++)r+=e(t[i],i,t,e)||"";return r}function mne(t,e,r,n){switch(t.type){case rne:if(t.children.length)break;case tne:case d$:return t.return=t.return||t.value;case dz:return"";case fz:return t.return=t.value+"{"+op(t.children,n)+"}";case u$:t.value=t.props.join(",")}return qs(r=op(t.children,n))?t.return=t.value+"{"+r+"}":""}function vne(t){var e=f$(t);return function(r,n,i,o){for(var a="",s=0;s<e;s++)a+=t[s](r,n,i,o)||"";return a}}function yne(t){return function(e){e.root||(e=e.return)&&t(e)}}var bne=function(e,r,n){for(var i=0,o=0;i=o,o=tl(),i===38&&o===12&&(r[n]=1),!Hv(o);)pa();return ab(e,Vo)},One=function(e,r){var n=-1,i=44;do switch(Hv(i)){case 0:i===38&&tl()===12&&(r[n]=1),e[n]+=bne(Vo-1,r,n);break;case 2:e[n]+=e1(i);break;case 4:if(i===44){e[++n]=tl()===58?"&\f":"",r[n]=e[n].length;break}default:e[n]+=bx(i)}while(i=pa());return e},wne=function(e,r){return mz(One(gz(e),r))},SD=new WeakMap,Sne=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!SD.get(n))&&!i){SD.set(e,!0);for(var o=[],a=wne(r,o),s=n.props,l=0,c=0;l<a.length;l++)for(var d=0;d<s.length;d++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[d]):s[d]+" "+a[l]}}},xne=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function vz(t,e){switch(one(t,e)){case 5103:return Or+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Or+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Or+t+Q1+t+Yi+t+t;case 6828:case 4268:return Or+t+Yi+t+t;case 6165:return Or+t+Yi+"flex-"+t+t;case 5187:return Or+t+wr(t,/(\w+).+(:[^]+)/,Or+"box-$1$2"+Yi+"flex-$1$2")+t;case 5443:return Or+t+Yi+"flex-item-"+wr(t,/flex-|-self/,"")+t;case 4675:return Or+t+Yi+"flex-line-pack"+wr(t,/align-content|flex-|-self/,"")+t;case 5548:return Or+t+Yi+wr(t,"shrink","negative")+t;case 5292:return Or+t+Yi+wr(t,"basis","preferred-size")+t;case 6060:return Or+"box-"+wr(t,"-grow","")+Or+t+Yi+wr(t,"grow","positive")+t;case 4554:return Or+wr(t,/([^-])(transform)/g,"$1"+Or+"$2")+t;case 6187:return wr(wr(wr(t,/(zoom-|grab)/,Or+"$1"),/(image-set)/,Or+"$1"),t,"")+t;case 5495:case 3959:return wr(t,/(image-set\([^]*)/,Or+"$1$`$1");case 4968:return wr(wr(t,/(.+:)(flex-)?(.*)/,Or+"box-pack:$3"+Yi+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Or+t+t;case 4095:case 3583:case 4068:case 2532:return wr(t,/(.+)-inline(.+)/,Or+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qs(t)-1-e>6)switch(Vi(t,e+1)){case 109:if(Vi(t,e+4)!==45)break;case 102:return wr(t,/(.+:)(.+)-([^]+)/,"$1"+Or+"$2-$3$1"+Q1+(Vi(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~m_(t,"stretch")?vz(wr(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(Vi(t,e+1)!==115)break;case 6444:switch(Vi(t,qs(t)-3-(~m_(t,"!important")&&10))){case 107:return wr(t,":",":"+Or)+t;case 101:return wr(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Or+(Vi(t,14)===45?"inline-":"")+"box$3$1"+Or+"$2$3$1"+Yi+"$2box$3")+t}break;case 5936:switch(Vi(t,e+11)){case 114:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Or+t+Yi+wr(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Or+t+Yi+t+t}return t}var Pne=function(e,r,n,i){if(e.length>-1&&!e.return)switch(e.type){case d$:e.return=vz(e.value,e.length);break;case fz:return op([pm(e,{value:wr(e.value,"@","@"+Or)})],i);case u$:if(e.length)return sne(e.props,function(o){switch(ane(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return op([pm(e,{props:[wr(o,/:(read-\w+)/,":"+Q1+"$1")]})],i);case"::placeholder":return op([pm(e,{props:[wr(o,/:(plac\w+)/,":"+Or+"input-$1")]}),pm(e,{props:[wr(o,/:(plac\w+)/,":"+Q1+"$1")]}),pm(e,{props:[wr(o,/:(plac\w+)/,Yi+"input-$1")]})],i)}return""})}},kne=[Pne],Cne=function(e){var r=e.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(b){var O=b.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(b),b.setAttribute("data-s",""))})}var i=e.stylisPlugins||kne,o={},a,s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(b){for(var O=b.getAttribute("data-emotion").split(" "),S=1;S<O.length;S++)o[O[S]]=!0;s.push(b)});var l,c=[Sne,xne];{var d,p=[mne,yne(function(b){d.insert(b)})],g=vne(c.concat(i,p)),m=function(O){return op(pne(O),g)};l=function(O,S,w,k){d=w,m(O?O+"{"+S.styles+"}":S.styles),k&&(y.inserted[S.name]=!0)}}var y={key:r,sheet:new ene({key:r,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return y.sheet.hydrate(s),y};function Pt(){return Pt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pt.apply(null,arguments)}var DC={exports:{}},Pr={};/** @license React v16.13.1
|
|
41
41
|
* react-is.production.min.js
|
|
42
42
|
*
|
|
43
43
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -146,7 +146,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
146
146
|
`),w=Ewe(O.slice(0,S)),k=w["content-type"],k&&k.toLowerCase().indexOf("application/json")===-1)throw new Error("Unsupported patch content type: application/json is required.");if(T=O.slice(S),T){if(C=IH(t,T),Object.keys(C).length>1||"data"in C||"incremental"in C||"errors"in C||"payload"in C)if(lwe(C)){if(E={},"payload"in C){if(Object.keys(C).length===1&&C.payload===null)return[2];E=ge({},C.payload)}"errors"in C&&(E=ge(ge({},E),{extensions:ge(ge({},"extensions"in E?E.extensions:null),($={},$[B2]=C.errors,$))})),e(E)}else e(C);else if(Object.keys(C).length===1&&"hasNext"in C&&!C.hasNext)return[2]}b=s.indexOf(a)}return[3,1];case 3:return[2]}})})}function Ewe(t){var e={};return t.split(`
|
|
147
147
|
`).forEach(function(r){var n=r.indexOf(":");if(n>-1){var i=r.slice(0,n).trim().toLowerCase(),o=r.slice(n+1).trim();e[i]=o}}),e}function IH(t,e){if(t.status>=300){var r=function(){try{return JSON.parse(e)}catch{return e}};RH(t,r(),"Response not successful: Received status code ".concat(t.status))}try{return JSON.parse(e)}catch(i){var n=i;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}}function _we(t,e){t.result&&t.result.errors&&t.result.data&&e.next(t.result),e.error(t)}function Rwe(t){return function(e){return e.text().then(function(r){return IH(e,r)}).then(function(r){return!Array.isArray(r)&&!EQ.call(r,"data")&&!EQ.call(r,"errors")&&RH(e,r,"Server response was missing for query '".concat(Array.isArray(t)?t.map(function(n){return n.operationName}):t.operationName,"'.")),r})}}var SR=function(t,e){var r;try{r=JSON.stringify(t)}catch(i){var n=fo(39,e,i.message);throw n.parseError=i,n}return r},Iwe={includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},$we={accept:"*/*","content-type":"application/json"},Awe={method:"POST"},Mwe={http:Iwe,headers:$we,options:Awe},Nwe=function(t,e){return e(t)};function jwe(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(p){i=ge(ge(ge({},i),p.options),{headers:ge(ge({},i.headers),p.headers)}),p.credentials&&(i.credentials=p.credentials),o=ge(ge({},o),p.http)}),i.headers&&(i.headers=Dwe(i.headers,o.preserveHeaderCase));var a=t.operationName,s=t.extensions,l=t.variables,c=t.query,d={operationName:a,variables:l};return o.includeExtensions&&(d.extensions=s),o.includeQuery&&(d.query=e(c,dP)),{options:i,body:d}}function Dwe(t,e){if(!e){var r=Object.create(null);return Object.keys(Object(t)).forEach(function(o){r[o.toLowerCase()]=t[o]}),r}var n=Object.create(null);Object.keys(Object(t)).forEach(function(o){n[o.toLowerCase()]={originalName:o,value:t[o]}});var i=Object.create(null);return Object.keys(n).forEach(function(o){i[n[o].originalName]=n[o].value}),i}var Lwe=function(t){if(!t&&typeof fetch>"u")throw fo(37)},Qwe=function(t,e){var r=t.getContext(),n=r.uri;return n||(typeof e=="function"?e(t):e||"/graphql")};function Vwe(t,e){var r=[],n=function(p,g){r.push("".concat(p,"=").concat(encodeURIComponent(g)))};if("query"in e&&n("query",e.query),e.operationName&&n("operationName",e.operationName),e.variables){var i=void 0;try{i=SR(e.variables,"Variables map")}catch(p){return{parseError:p}}n("variables",i)}if(e.extensions){var o=void 0;try{o=SR(e.extensions,"Extensions map")}catch(p){return{parseError:p}}n("extensions",o)}var a="",s=t,l=t.indexOf("#");l!==-1&&(a=t.substr(l),s=t.substr(0,l));var c=s.indexOf("?")===-1?"?":"&",d=s+c+r.join("&")+a;return{newURI:d}}var _Q=ds(function(){return fetch}),$H=function(t){t===void 0&&(t={});var e=t.uri,r=e===void 0?"/graphql":e,n=t.fetch,i=t.print,o=i===void 0?Nwe:i,a=t.includeExtensions,s=t.preserveHeaderCase,l=t.useGETForQueries,c=t.includeUnusedVariables,d=c===void 0?!1:c,p=pc(t,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);globalThis.__DEV__!==!1&&Lwe(n||_Q);var g={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new Cc(function(m){var y=Qwe(m,r),b=m.getContext(),O={};if(b.clientAwareness){var S=b.clientAwareness,w=S.name,k=S.version;w&&(O["apollographql-client-name"]=w),k&&(O["apollographql-client-version"]=k)}var T=ge(ge({},O),b.headers),C={http:b.http,options:b.fetchOptions,credentials:b.credentials,headers:T};if(cy(["client"],m.query)){var E=xH(m.query);if(!E)return RT(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));m.query=E}var _=jwe(m,o,Mwe,g,C),$=_.options,M=_.body;M.variables&&!d&&(M.variables=fwe(M.variables,m.query));var j;!$.signal&&typeof AbortController<"u"&&(j=new AbortController,$.signal=j.signal);var B=function(ne){return ne.kind==="OperationDefinition"&&ne.operation==="mutation"},V=function(ne){return ne.kind==="OperationDefinition"&&ne.operation==="subscription"},X=V($b(m.query)),D=cy(["defer"],m.query);if(l&&!m.query.definitions.some(B)&&($.method="GET"),D||X){$.headers=$.headers||{};var F="multipart/mixed;";X&&D&&globalThis.__DEV__!==!1&&xt.warn(38),X?F+="boundary=graphql;subscriptionSpec=1.0,application/json":D&&(F+="deferSpec=20220824,application/json"),$.headers.accept=F}if($.method==="GET"){var Y=Vwe(y,M),ie=Y.newURI,H=Y.parseError;if(H)return RT(H);y=ie}else try{$.body=SR(M,"Payload")}catch(ne){return RT(ne)}return new Nr(function(ne){var z=n||ds(function(){return fetch})||_Q,N=ne.next.bind(ne);return z(y,$).then(function(U){var J;m.setContext({response:U});var Q=(J=U.headers)===null||J===void 0?void 0:J.get("content-type");return Q!==null&&/^multipart\/mixed/i.test(Q)?Twe(U,N):Rwe(m)(U).then(N)}).then(function(){j=void 0,ne.complete()}).catch(function(U){j=void 0,_we(U,ne)}),function(){j&&j.abort()}})})},Fwe=function(t){Ts(e,t);function e(r){r===void 0&&(r={});var n=t.call(this,$H(r).request)||this;return n.options=r,n}return e}(Cc);const{toString:RQ,hasOwnProperty:Bwe}=Object.prototype,IQ=Function.prototype.toString,xR=new Map;function hn(t,e){try{return PR(t,e)}finally{xR.clear()}}function PR(t,e){if(t===e)return!0;const r=RQ.call(t),n=RQ.call(e);if(r!==n)return!1;switch(r){case"[object Array]":if(t.length!==e.length)return!1;case"[object Object]":{if(AQ(t,e))return!0;const i=$Q(t),o=$Q(e),a=i.length;if(a!==o.length)return!1;for(let s=0;s<a;++s)if(!Bwe.call(e,i[s]))return!1;for(let s=0;s<a;++s){const l=i[s];if(!PR(t[l],e[l]))return!1}return!0}case"[object Error]":return t.name===e.name&&t.message===e.message;case"[object Number]":if(t!==t)return e!==e;case"[object Boolean]":case"[object Date]":return+t==+e;case"[object RegExp]":case"[object String]":return t==`${e}`;case"[object Map]":case"[object Set]":{if(t.size!==e.size)return!1;if(AQ(t,e))return!0;const i=t.entries(),o=r==="[object Map]";for(;;){const a=i.next();if(a.done)break;const[s,l]=a.value;if(!e.has(s)||o&&!PR(l,e.get(s)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),e=new Uint8Array(e);case"[object DataView]":{let i=t.byteLength;if(i===e.byteLength)for(;i--&&t[i]===e[i];);return i===-1}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const i=IQ.call(t);return i!==IQ.call(e)?!1:!Wwe(i,qwe)}}return!1}function $Q(t){return Object.keys(t).filter(zwe,t)}function zwe(t){return this[t]!==void 0}const qwe="{ [native code] }";function Wwe(t,e){const r=t.length-e.length;return r>=0&&t.indexOf(e,r)===r}function AQ(t,e){let r=xR.get(t);if(r){if(r.has(e))return!0}else xR.set(t,r=new Set);return r.add(e),!1}function AH(t,e,r,n){var i=e.data,o=pc(e,["data"]),a=r.data,s=pc(r,["data"]);return hn(o,s)&&b1($b(t).selectionSet,i,a,{fragmentMap:oP(lP(t)),variables:n})}function b1(t,e,r,n){if(e===r)return!0;var i=new Set;return t.selections.every(function(o){if(i.has(o)||(i.add(o),!_b(o,n.variables))||MQ(o))return!0;if(Nu(o)){var a=Mu(o),s=e&&e[a],l=r&&r[a],c=o.selectionSet;if(!c)return hn(s,l);var d=Array.isArray(s),p=Array.isArray(l);if(d!==p)return!1;if(d&&p){var g=s.length;if(l.length!==g)return!1;for(var m=0;m<g;++m)if(!b1(c,s[m],l[m],n))return!1;return!0}return b1(c,s,l,n)}else{var y=aP(o,n.fragmentMap);if(y)return MQ(y)?!0:b1(y.selectionSet,e,r,n)}})}function MQ(t){return!!t.directives&&t.directives.some(Uwe)}function Uwe(t){return t.name.value==="nonreactive"}var MH=function(){function t(){this.assumeImmutableResults=!1,this.getFragmentDoc=dy(G0e,{max:mc["cache.fragmentQueryDocuments"]||1e3,cache:fS})}return t.prototype.batch=function(e){var r=this,n=typeof e.optimistic=="string"?e.optimistic:e.optimistic===!1?null:void 0,i;return this.performTransaction(function(){return i=e.update(r)},n),i},t.prototype.recordOptimisticTransaction=function(e,r){this.performTransaction(e,r)},t.prototype.transformDocument=function(e){return e},t.prototype.transformForLink=function(e){return e},t.prototype.identify=function(e){},t.prototype.gc=function(){return[]},t.prototype.modify=function(e){return!1},t.prototype.readQuery=function(e,r){return r===void 0&&(r=!!e.optimistic),this.read(ge(ge({},e),{rootId:e.id||"ROOT_QUERY",optimistic:r}))},t.prototype.watchFragment=function(e){var r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=a===void 0?!0:a,l=this.getFragmentDoc(n,i),c={returnPartialData:!0,id:typeof o=="string"?o:this.identify(o),query:l,optimistic:s},d;return new Nr(function(p){return r.watch(ge(ge({},c),{immediate:!0,callback:function(g){if(!(d&&AH(l,{data:d==null?void 0:d.result},{data:g.result}))){var m={data:g.result,complete:!!g.complete};g.missing&&(m.missing=fP(g.missing.map(function(y){return y.missing}))),d=g,p.next(m)}}}))})},t.prototype.readFragment=function(e,r){return r===void 0&&(r=!!e.optimistic),this.read(ge(ge({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:r}))},t.prototype.writeQuery=function(e){var r=e.id,n=e.data,i=pc(e,["id","data"]);return this.write(Object.assign(i,{dataId:r||"ROOT_QUERY",result:n}))},t.prototype.writeFragment=function(e){var r=e.id,n=e.data,i=e.fragment,o=e.fragmentName,a=pc(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:r,result:n}))},t.prototype.updateQuery=function(e,r){return this.batch({update:function(n){var i=n.readQuery(e),o=r(i);return o==null?i:(n.writeQuery(ge(ge({},e),{data:o})),o)}})},t.prototype.updateFragment=function(e,r){return this.batch({update:function(n){var i=n.readFragment(e),o=r(i);return o==null?i:(n.writeFragment(ge(ge({},e),{data:o})),o)}})},t}();globalThis.__DEV__!==!1&&(MH.prototype.getMemoryInternals=sOe);var NH=function(t){Ts(e,t);function e(r,n,i,o){var a,s=t.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)s.missing=(a={},a[s.path[l]]=s.missing,a)}else s.missing=s.path;return s.__proto__=e.prototype,s}return e}(Error),Oi=Object.prototype.hasOwnProperty;function $m(t){return t==null}function jH(t,e){var r=t.__typename,n=t.id,i=t._id;if(typeof r=="string"&&(e&&(e.keyObject=$m(n)?$m(i)?void 0:{_id:i}:{id:n}),$m(n)&&!$m(i)&&(n=i),!$m(n)))return"".concat(r,":").concat(typeof n=="number"||typeof n=="string"?n:JSON.stringify(n))}var DH={dataIdFromObject:jH,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Hwe(t){return Ip(DH,t)}function LH(t){var e=t.canonizeResults;return e===void 0?DH.canonizeResults:e}function Xwe(t,e){return kr(e)?t.get(e.__ref,"__typename"):e&&e.__typename}var QH=/^[_a-z][_0-9a-z]*/i;function Lu(t){var e=t.match(QH);return e?e[0]:t}function kR(t,e,r){return Nn(e)?jn(e)?e.every(function(n){return kR(t,n,r)}):t.selections.every(function(n){if(Nu(n)&&_b(n,r)){var i=Mu(n);return Oi.call(e,i)&&(!n.selectionSet||kR(n.selectionSet,e[i],r))}return!0}):!1}function ep(t){return Nn(t)&&!kr(t)&&!jn(t)}function Zwe(){return new Du}function VH(t,e){var r=oP(lP(t));return{fragmentMap:r,lookupFragment:function(n){var i=r[n];return!i&&e&&(i=e.lookup(n)),i||null}}}var O1=Object.create(null),IT=function(){return O1},NQ=Object.create(null),fy=function(){function t(e,r){var n=this;this.policies=e,this.group=r,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(i,o){return bR(kr(i)?n.get(i.__ref,o):i&&i[o])},this.canRead=function(i){return kr(i)?n.has(i.__ref):typeof i=="object"},this.toReference=function(i,o){if(typeof i=="string")return lp(i);if(kr(i))return i;var a=n.policies.identify(i)[0];if(a){var s=lp(a);return o&&n.merge(a,i),s}}}return t.prototype.toObject=function(){return ge({},this.data)},t.prototype.has=function(e){return this.lookup(e,!0)!==void 0},t.prototype.get=function(e,r){if(this.group.depend(e,r),Oi.call(this.data,e)){var n=this.data[e];if(n&&Oi.call(n,r))return n[r]}if(r==="__typename"&&Oi.call(this.policies.rootTypenamesById,e))return this.policies.rootTypenamesById[e];if(this instanceof iu)return this.parent.get(e,r)},t.prototype.lookup=function(e,r){if(r&&this.group.depend(e,"__exists"),Oi.call(this.data,e))return this.data[e];if(this instanceof iu)return this.parent.lookup(e,r);if(this.policies.rootTypenamesById[e])return Object.create(null)},t.prototype.merge=function(e,r){var n=this,i;kr(e)&&(e=e.__ref),kr(r)&&(r=r.__ref);var o=typeof e=="string"?this.lookup(i=e):e,a=typeof r=="string"?this.lookup(i=r):r;if(a){xt(typeof i=="string",1);var s=new Du(Ywe).merge(o,a);if(this.data[i]=s,s!==o&&(delete this.refs[i],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach(function(c){if(!o||o[c]!==s[c]){l[c]=1;var d=Lu(c);d!==c&&!n.policies.hasKeyArgs(s.__typename,d)&&(l[d]=1),s[c]===void 0&&!(n instanceof iu)&&delete s[c]}}),l.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[i]===s.__typename&&delete l.__typename,Object.keys(l).forEach(function(c){return n.group.dirty(i,c)})}}},t.prototype.modify=function(e,r){var n=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,l={DELETE:O1,INVALIDATE:NQ,isReference:kr,toReference:this.toReference,canRead:this.canRead,readField:function(c,d){return n.policies.readField(typeof c=="string"?{fieldName:c,from:d||lp(e)}:c,{store:n})}};if(Object.keys(i).forEach(function(c){var d=Lu(c),p=i[c];if(p!==void 0){var g=typeof r=="function"?r:r[c]||r[d];if(g){var m=g===IT?O1:g(bR(p),ge(ge({},l),{fieldName:d,storeFieldName:c,storage:n.getStorage(e,c)}));if(m===NQ)n.group.dirty(e,c);else if(m===O1&&(m=void 0),m!==p&&(o[c]=m,a=!0,p=m,globalThis.__DEV__!==!1)){var y=function(C){if(n.lookup(C.__ref)===void 0)return globalThis.__DEV__!==!1&&xt.warn(2,C),!0};if(kr(m))y(m);else if(Array.isArray(m))for(var b=!1,O=void 0,S=0,w=m;S<w.length;S++){var k=w[S];if(kr(k)){if(b=!0,y(k))break}else if(typeof k=="object"&&k){var T=n.policies.identify(k)[0];T&&(O=k)}if(b&&O!==void 0){globalThis.__DEV__!==!1&&xt.warn(3,O);break}}}}p!==void 0&&(s=!1)}}),a)return this.merge(e,o),s&&(this instanceof iu?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},t.prototype.delete=function(e,r,n){var i,o=this.lookup(e);if(o){var a=this.getFieldValue(o,"__typename"),s=r&&n?this.policies.getStoreFieldName({typename:a,fieldName:r,args:n}):r;return this.modify(e,s?(i={},i[s]=IT,i):IT)}return!1},t.prototype.evict=function(e,r){var n=!1;return e.id&&(Oi.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof iu&&this!==r&&(n=this.parent.evict(e,r)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},t.prototype.clear=function(){this.replace(null)},t.prototype.extract=function(){var e=this,r=this.toObject(),n=[];return this.getRootIdSet().forEach(function(i){Oi.call(e.policies.rootTypenamesById,i)||n.push(i)}),n.length&&(r.__META={extraRootIds:n.sort()}),r},t.prototype.replace=function(e){var r=this;if(Object.keys(this.data).forEach(function(o){e&&Oi.call(e,o)||r.delete(o)}),e){var n=e.__META,i=pc(e,["__META"]);Object.keys(i).forEach(function(o){r.merge(o,i[o])}),n&&n.extraRootIds.forEach(this.retain,this)}},t.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},t.prototype.release=function(e){if(this.rootIds[e]>0){var r=--this.rootIds[e];return r||delete this.rootIds[e],r}return 0},t.prototype.getRootIdSet=function(e){return e===void 0&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof iu?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},t.prototype.gc=function(){var e=this,r=this.getRootIdSet(),n=this.toObject();r.forEach(function(a){Oi.call(n,a)&&(Object.keys(e.findChildRefIds(a)).forEach(r.add,r),delete n[a])});var i=Object.keys(n);if(i.length){for(var o=this;o instanceof iu;)o=o.parent;i.forEach(function(a){return o.delete(a)})}return i},t.prototype.findChildRefIds=function(e){if(!Oi.call(this.refs,e)){var r=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return r;var i=new Set([n]);i.forEach(function(o){kr(o)&&(r[o.__ref]=!0),Nn(o)&&Object.keys(o).forEach(function(a){var s=o[a];Nn(s)&&i.add(s)})})}return this.refs[e]},t.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},t}(),FH=function(){function t(e,r){r===void 0&&(r=null),this.caching=e,this.parent=r,this.d=null,this.resetCaching()}return t.prototype.resetCaching=function(){this.d=this.caching?bH():null,this.keyMaker=new hg(pg)},t.prototype.depend=function(e,r){if(this.d){this.d($T(e,r));var n=Lu(r);n!==r&&this.d($T(e,n)),this.parent&&this.parent.depend(e,r)}},t.prototype.dirty=function(e,r){this.d&&this.d.dirty($T(e,r),r==="__exists"?"forget":"setDirty")},t}();function $T(t,e){return e+"#"+t}function jQ(t,e){Tv(t)&&t.group.depend(e,"__exists")}(function(t){var e=function(r){Ts(n,r);function n(i){var o=i.policies,a=i.resultCaching,s=a===void 0?!0:a,l=i.seed,c=r.call(this,o,new FH(s))||this;return c.stump=new Gwe(c),c.storageTrie=new hg(pg),l&&c.replace(l),c}return n.prototype.addLayer=function(i,o){return this.stump.addLayer(i,o)},n.prototype.removeLayer=function(){return this},n.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},n}(t);t.Root=e})(fy||(fy={}));var iu=function(t){Ts(e,t);function e(r,n,i,o){var a=t.call(this,n.policies,o)||this;return a.id=r,a.parent=n,a.replay=i,a.group=o,i(a),a}return e.prototype.addLayer=function(r,n){return new e(r,this,n,this.group)},e.prototype.removeLayer=function(r){var n=this,i=this.parent.removeLayer(r);return r===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(o){var a=n.data[o],s=i.lookup(o);s?a?a!==s&&Object.keys(a).forEach(function(l){hn(a[l],s[l])||n.group.dirty(o,l)}):(n.group.dirty(o,"__exists"),Object.keys(s).forEach(function(l){n.group.dirty(o,l)})):n.delete(o)}),i):i===this.parent?this:i.addLayer(this.id,this.replay)},e.prototype.toObject=function(){return ge(ge({},this.parent.toObject()),this.data)},e.prototype.findChildRefIds=function(r){var n=this.parent.findChildRefIds(r);return Oi.call(this.data,r)?ge(ge({},n),t.prototype.findChildRefIds.call(this,r)):n},e.prototype.getStorage=function(){for(var r=this.parent;r.parent;)r=r.parent;return r.getStorage.apply(r,arguments)},e}(fy),Gwe=function(t){Ts(e,t);function e(r){return t.call(this,"EntityStore.Stump",r,function(){},new FH(r.group.caching,r.group))||this}return e.prototype.removeLayer=function(){return this},e.prototype.merge=function(r,n){return this.parent.merge(r,n)},e}(iu);function Ywe(t,e,r){var n=t[r],i=e[r];return hn(n,i)?n:i}function Tv(t){return!!(t instanceof fy&&t.group.caching)}function Kwe(t){return Nn(t)?jn(t)?t.slice(0):ge({__proto__:Object.getPrototypeOf(t)},t):t}var DQ=function(){function t(){this.known=new(eH?WeakSet:Set),this.pool=new hg(pg),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return t.prototype.isKnown=function(e){return Nn(e)&&this.known.has(e)},t.prototype.pass=function(e){if(Nn(e)){var r=Kwe(e);return this.passes.set(r,e),r}return e},t.prototype.admit=function(e){var r=this;if(Nn(e)){var n=this.passes.get(e);if(n)return n;var i=Object.getPrototypeOf(e);switch(i){case Array.prototype:{if(this.known.has(e))return e;var o=e.map(this.admit,this),a=this.pool.lookupArray(o);return a.array||(this.known.add(a.array=o),globalThis.__DEV__!==!1&&Object.freeze(o)),a.array}case null:case Object.prototype:{if(this.known.has(e))return e;var s=Object.getPrototypeOf(e),l=[s],c=this.sortedKeys(e);l.push(c.json);var d=l.length;c.sorted.forEach(function(m){l.push(r.admit(e[m]))});var a=this.pool.lookupArray(l);if(!a.object){var p=a.object=Object.create(s);this.known.add(p),c.sorted.forEach(function(m,y){p[m]=l[d+y]}),globalThis.__DEV__!==!1&&Object.freeze(p)}return a.object}}}return e},t.prototype.sortedKeys=function(e){var r=Object.keys(e),n=this.pool.lookupArray(r);if(!n.keys){r.sort();var i=JSON.stringify(r);(n.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,n.keys={sorted:r,json:i})}return n.keys},t}();function LQ(t){return[t.selectionSet,t.objectOrReference,t.context,t.context.canonizeResults]}var Jwe=function(){function t(e){var r=this;this.knownResults=new(pg?WeakMap:Map),this.config=Ip(e,{addTypename:e.addTypename!==!1,canonizeResults:LH(e)}),this.canon=e.canon||new DQ,this.executeSelectionSet=dy(function(n){var i,o=n.context.canonizeResults,a=LQ(n);a[3]=!o;var s=(i=r.executeSelectionSet).peek.apply(i,a);return s?o?ge(ge({},s),{result:r.canon.admit(s.result)}):s:(jQ(n.context.store,n.enclosingRef.__ref),r.execSelectionSetImpl(n))},{max:this.config.resultCacheMaxSize||mc["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:LQ,makeCacheKey:function(n,i,o,a){if(Tv(o.store))return o.store.makeCacheKey(n,kr(i)?i.__ref:i,o.varString,a)}}),this.executeSubSelectedArray=dy(function(n){return jQ(n.context.store,n.enclosingRef.__ref),r.execSubSelectedArrayImpl(n)},{max:this.config.resultCacheMaxSize||mc["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(n){var i=n.field,o=n.array,a=n.context;if(Tv(a.store))return a.store.makeCacheKey(i,o,a.varString)}})}return t.prototype.resetCanon=function(){this.canon=new DQ},t.prototype.diffQueryAgainstStore=function(e){var r=e.store,n=e.query,i=e.rootId,o=i===void 0?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,l=s===void 0?!0:s,c=e.canonizeResults,d=c===void 0?this.config.canonizeResults:c,p=this.config.cache.policies;a=ge(ge({},I2(lH(n))),a);var g=lp(o),m=this.executeSelectionSet({selectionSet:$b(n).selectionSet,objectOrReference:g,enclosingRef:g,context:ge({store:r,query:n,policies:p,variables:a,varString:Su(a),canonizeResults:d},VH(n,this.config.fragments))}),y;if(m.missing&&(y=[new NH(e1e(m.missing),m.missing,n,a)],!l))throw y[0];return{result:m.result,complete:!y,missing:y}},t.prototype.isFresh=function(e,r,n,i){if(Tv(i.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,r,i,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},t.prototype.execSelectionSetImpl=function(e){var r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(kr(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,l=a.policies,c=a.store,d=c.getFieldValue(i,"__typename"),p=[],g,m=new Du;this.config.addTypename&&typeof d=="string"&&!l.rootIdsByTypename[d]&&p.push({__typename:d});function y(k,T){var C;return k.missing&&(g=m.merge(g,(C={},C[T]=k.missing,C))),k.result}var b=new Set(n.selections);b.forEach(function(k){var T,C;if(_b(k,s))if(Nu(k)){var E=l.readField({fieldName:k.name.value,field:k,variables:a.variables,from:i},a),_=Mu(k);E===void 0?D2.added(k)||(g=m.merge(g,(T={},T[_]="Can't find field '".concat(k.name.value,"' on ").concat(kr(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),T))):jn(E)?E.length>0&&(E=y(r.executeSubSelectedArray({field:k,array:E,enclosingRef:o,context:a}),_)):k.selectionSet?E!=null&&(E=y(r.executeSelectionSet({selectionSet:k.selectionSet,objectOrReference:E,enclosingRef:kr(E)?E:o,context:a}),_)):a.canonizeResults&&(E=r.canon.pass(E)),E!==void 0&&p.push((C={},C[_]=E,C))}else{var $=aP(k,a.lookupFragment);if(!$&&k.kind===Ye.FRAGMENT_SPREAD)throw fo(9,k.name.value);$&&l.fragmentMatches($,d)&&$.selectionSet.selections.forEach(b.add,b)}});var O=fP(p),S={result:O,missing:g},w=a.canonizeResults?this.canon.admit(S):bR(S);return w.result&&this.knownResults.set(w.result,n),w},t.prototype.execSubSelectedArrayImpl=function(e){var r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s,l=new Du;function c(d,p){var g;return d.missing&&(s=l.merge(s,(g={},g[p]=d.missing,g))),d.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(d,p){return d===null?null:jn(d)?c(r.executeSubSelectedArray({field:n,array:d,enclosingRef:o,context:a}),p):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:d,enclosingRef:kr(d)?d:o,context:a}),p):(globalThis.__DEV__!==!1&&t1e(a.store,n,d),d)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:s}},t}();function e1e(t){try{JSON.stringify(t,function(e,r){if(typeof r=="string")throw r;return r})}catch(e){return e}}function t1e(t,e,r){if(!e.selectionSet){var n=new Set([r]);n.forEach(function(i){Nn(i)&&(xt(!kr(i),10,Xwe(t,i),e.name.value),Object.values(i).forEach(n.add,n))})}}var z2=new A2,QQ=new WeakMap;function Ev(t){var e=QQ.get(t);return e||QQ.set(t,e={vars:new Set,dep:bH()}),e}function VQ(t){Ev(t).vars.forEach(function(e){return e.forgetCache(t)})}function r1e(t){Ev(t).vars.forEach(function(e){return e.attachCache(t)})}function n1e(t){var e=new Set,r=new Set,n=function(o){if(arguments.length>0){if(t!==o){t=o,e.forEach(function(l){Ev(l).dep.dirty(n),i1e(l)});var a=Array.from(r);r.clear(),a.forEach(function(l){return l(t)})}}else{var s=z2.getValue();s&&(i(s),Ev(s).dep(n))}return t};n.onNextChange=function(o){return r.add(o),function(){r.delete(o)}};var i=n.attachCache=function(o){return e.add(o),Ev(o).vars.add(n),n};return n.forgetCache=function(o){return e.delete(o)},n}function i1e(t){t.broadcastWatches&&t.broadcastWatches()}var FQ=Object.create(null);function q2(t){var e=JSON.stringify(t);return FQ[e]||(FQ[e]=Object.create(null))}function BQ(t){var e=q2(t);return e.keyFieldsFn||(e.keyFieldsFn=function(r,n){var i=function(a,s){return n.readField(s,a)},o=n.keyObject=W2(t,function(a){var s=up(n.storeObject,a,i);return s===void 0&&r!==n.storeObject&&Oi.call(r,a[0])&&(s=up(r,a,zH)),xt(s!==void 0,4,a.join("."),r),s});return"".concat(n.typename,":").concat(JSON.stringify(o))})}function zQ(t){var e=q2(t);return e.keyArgsFn||(e.keyArgsFn=function(r,n){var i=n.field,o=n.variables,a=n.fieldName,s=W2(t,function(c){var d=c[0],p=d.charAt(0);if(p==="@"){if(i&&fl(i.directives)){var g=d.slice(1),m=i.directives.find(function(S){return S.name.value===g}),y=m&&sP(m,o);return y&&up(y,c.slice(1))}return}if(p==="$"){var b=d.slice(1);if(o&&Oi.call(o,b)){var O=c.slice(0);return O[0]=b,up(o,O)}return}if(r)return up(r,c)}),l=JSON.stringify(s);return(r||l!=="{}")&&(a+=":"+l),a})}function W2(t,e){var r=new Du;return BH(t).reduce(function(n,i){var o,a=e(i);if(a!==void 0){for(var s=i.length-1;s>=0;--s)a=(o={},o[i[s]]=a,o);n=r.merge(n,a)}return n},Object.create(null))}function BH(t){var e=q2(t);if(!e.paths){var r=e.paths=[],n=[];t.forEach(function(i,o){jn(i)?(BH(i).forEach(function(a){return r.push(n.concat(a))}),n.length=0):(n.push(i),jn(t[o+1])||(r.push(n.slice(0)),n.length=0))})}return e.paths}function zH(t,e){return t[e]}function up(t,e,r){return r=r||zH,qH(e.reduce(function n(i,o){return jn(i)?i.map(function(a){return n(a,o)}):i&&r(i,o)},t))}function qH(t){return Nn(t)?jn(t)?t.map(qH):W2(Object.keys(t).sort(),function(e){return up(t,e)}):t}function CR(t){return t.args!==void 0?t.args:t.field?sP(t.field,t.variables):null}var o1e=function(){},qQ=function(t,e){return e.fieldName},WQ=function(t,e,r){var n=r.mergeObjects;return n(t,e)},UQ=function(t,e){return e},a1e=function(){function t(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=ge({dataIdFromObject:jH},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return t.prototype.identify=function(e,r){var n,i=this,o=r&&(r.typename||((n=r.storeObject)===null||n===void 0?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=r&&r.storeObject||e,s=ge(ge({},r),{typename:o,storeObject:a,readField:r&&r.readField||function(){var g=U2(arguments,a);return i.readField(g,{store:i.cache.data,variables:g.variables})}}),l,c=o&&this.getTypePolicy(o),d=c&&c.keyFn||this.config.dataIdFromObject;d;){var p=d(ge(ge({},e),a),s);if(jn(p))d=BQ(p);else{l=p;break}}return l=l?String(l):void 0,s.keyObject?[l,s.keyObject]:[l]},t.prototype.addTypePolicies=function(e){var r=this;Object.keys(e).forEach(function(n){var i=e[n],o=i.queryType,a=i.mutationType,s=i.subscriptionType,l=pc(i,["queryType","mutationType","subscriptionType"]);o&&r.setRootTypename("Query",n),a&&r.setRootTypename("Mutation",n),s&&r.setRootTypename("Subscription",n),Oi.call(r.toBeAdded,n)?r.toBeAdded[n].push(l):r.toBeAdded[n]=[l]})},t.prototype.updateTypePolicy=function(e,r){var n=this,i=this.getTypePolicy(e),o=r.keyFields,a=r.fields;function s(l,c){l.merge=typeof c=="function"?c:c===!0?WQ:c===!1?UQ:l.merge}s(i,r.merge),i.keyFn=o===!1?o1e:jn(o)?BQ(o):typeof o=="function"?o:i.keyFn,a&&Object.keys(a).forEach(function(l){var c=n.getFieldPolicy(e,l,!0),d=a[l];if(typeof d=="function")c.read=d;else{var p=d.keyArgs,g=d.read,m=d.merge;c.keyFn=p===!1?qQ:jn(p)?zQ(p):typeof p=="function"?p:c.keyFn,typeof g=="function"&&(c.read=g),s(c,m)}c.read&&c.merge&&(c.keyFn=c.keyFn||qQ)})},t.prototype.setRootTypename=function(e,r){r===void 0&&(r=e);var n="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[n];r!==i&&(xt(!i||i===e,5,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[r]=n,this.rootTypenamesById[n]=r)},t.prototype.addPossibleTypes=function(e){var r=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){r.getSupertypeSet(n,!0),e[n].forEach(function(i){r.getSupertypeSet(i,!0).add(n);var o=i.match(QH);(!o||o[0]!==i)&&r.fuzzySubtypes.set(i,new RegExp(i))})})},t.prototype.getTypePolicy=function(e){var r=this;if(!Oi.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(a,s){if(a.test(e)){var l=r.supertypeMap.get(s);l&&l.forEach(function(c){return i.add(c)})}})),i&&i.size&&i.forEach(function(a){var s=r.getTypePolicy(a),l=s.fields,c=pc(s,["fields"]);Object.assign(n,c),Object.assign(n.fields,l)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(a){r.updateTypePolicy(e,a)}),this.typePolicies[e]},t.prototype.getFieldPolicy=function(e,r,n){if(e){var i=this.getTypePolicy(e).fields;return i[r]||n&&(i[r]=Object.create(null))}},t.prototype.getSupertypeSet=function(e,r){var n=this.supertypeMap.get(e);return!n&&r&&this.supertypeMap.set(e,n=new Set),n},t.prototype.fragmentMatches=function(e,r,n,i){var o=this;if(!e.typeCondition)return!0;if(!r)return!1;var a=e.typeCondition.name.value;if(r===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(r,!0),l=[s],c=function(y){var b=o.getSupertypeSet(y,!1);b&&b.size&&l.indexOf(b)<0&&l.push(b)},d=!!(n&&this.fuzzySubtypes.size),p=!1,g=0;g<l.length;++g){var m=l[g];if(m.has(a))return s.has(a)||(p&&globalThis.__DEV__!==!1&&xt.warn(6,r,a),s.add(a)),!0;m.forEach(c),d&&g===l.length-1&&kR(e.selectionSet,n,i)&&(d=!1,p=!0,this.fuzzySubtypes.forEach(function(y,b){var O=r.match(y);O&&O[0]===r&&c(b)}))}return!1},t.prototype.hasKeyArgs=function(e,r){var n=this.getFieldPolicy(e,r,!1);return!!(n&&n.keyFn)},t.prototype.getStoreFieldName=function(e){var r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o,a=i&&i.keyFn;if(a&&r)for(var s={typename:r,fieldName:n,field:e.field||null,variables:e.variables},l=CR(e);a;){var c=a(l,s);if(jn(c))a=zQ(c);else{o=c||n;break}}return o===void 0&&(o=e.field?POe(e.field,e.variables):sH(n,CR(e))),o===!1?n:n===Lu(o)?o:n+":"+o},t.prototype.readField=function(e,r){var n=e.from;if(n){var i=e.field||e.fieldName;if(i){if(e.typename===void 0){var o=r.store.getFieldValue(n,"__typename");o&&(e.typename=o)}var a=this.getStoreFieldName(e),s=Lu(a),l=r.store.getFieldValue(n,a),c=this.getFieldPolicy(e.typename,s,!1),d=c&&c.read;if(d){var p=HQ(this,n,e,r,r.store.getStorage(kr(n)?n.__ref:n,a));return z2.withValue(this.cache,d,[l,p])}return l}}},t.prototype.getReadFunction=function(e,r){var n=this.getFieldPolicy(e,r,!1);return n&&n.read},t.prototype.getMergeFunction=function(e,r,n){var i=this.getFieldPolicy(e,r,!1),o=i&&i.merge;return!o&&n&&(i=this.getTypePolicy(n),o=i&&i.merge),o},t.prototype.runMergeFunction=function(e,r,n,i,o){var a=n.field,s=n.typename,l=n.merge;return l===WQ?WH(i.store)(e,r):l===UQ?r:(i.overwrite&&(e=void 0),l(e,r,HQ(this,void 0,{typename:s,fieldName:a.name.value,field:a,variables:i.variables},i,o||Object.create(null))))},t}();function HQ(t,e,r,n,i){var o=t.getStoreFieldName(r),a=Lu(o),s=r.variables||n.variables,l=n.store,c=l.toReference,d=l.canRead;return{args:CR(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:kr,toReference:c,storage:i,cache:t.cache,canRead:d,readField:function(){return t.readField(U2(arguments,e,s),n)},mergeObjects:WH(n.store)}}function U2(t,e,r){var n=t[0],i=t[1],o=t.length,a;return typeof n=="string"?a={fieldName:n,from:o>1?i:e}:(a=ge({},n),Oi.call(a,"from")||(a.from=e)),globalThis.__DEV__!==!1&&a.from===void 0&&globalThis.__DEV__!==!1&&xt.warn(7,VU(Array.from(t))),a.variables===void 0&&(a.variables=r),a}function WH(t){return function(r,n){if(jn(r)||jn(n))throw fo(8);if(Nn(r)&&Nn(n)){var i=t.getFieldValue(r,"__typename"),o=t.getFieldValue(n,"__typename"),a=i&&o&&i!==o;if(a)return n;if(kr(r)&&ep(n))return t.merge(r.__ref,n),r;if(ep(r)&&kr(n))return t.merge(r,n.__ref),n;if(ep(r)&&ep(n))return ge(ge({},r),n)}return n}}function AT(t,e,r){var n="".concat(e).concat(r),i=t.flavors.get(n);return i||t.flavors.set(n,i=t.clientOnly===e&&t.deferred===r?t:ge(ge({},t),{clientOnly:e,deferred:r})),i}var s1e=function(){function t(e,r,n){this.cache=e,this.reader=r,this.fragments=n}return t.prototype.writeToStore=function(e,r){var n=this,i=r.query,o=r.result,a=r.dataId,s=r.variables,l=r.overwrite,c=Ib(i),d=Zwe();s=ge(ge({},I2(c)),s);var p=ge(ge({store:e,written:Object.create(null),merge:function(m,y){return d.merge(m,y)},variables:s,varString:Su(s)},VH(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),g=this.processSelectionSet({result:o||Object.create(null),dataId:a,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:p});if(!kr(g))throw fo(11,o);return p.incomingById.forEach(function(m,y){var b=m.storeObject,O=m.mergeTree,S=m.fieldNodeSet,w=lp(y);if(O&&O.map.size){var k=n.applyMerges(O,w,b,p);if(kr(k))return;b=k}if(globalThis.__DEV__!==!1&&!p.overwrite){var T=Object.create(null);S.forEach(function(_){_.selectionSet&&(T[_.name.value]=!0)});var C=function(_){return T[Lu(_)]===!0},E=function(_){var $=O&&O.map.get(_);return!!($&&$.info&&$.info.merge)};Object.keys(b).forEach(function(_){C(_)&&!E(_)&&l1e(w,b,_,p.store)})}e.merge(y,b)}),e.retain(g.__ref),g},t.prototype.processSelectionSet=function(e){var r=this,n=e.dataId,i=e.result,o=e.selectionSet,a=e.context,s=e.mergeTree,l=this.cache.policies,c=Object.create(null),d=n&&l.rootTypenamesById[n]||pR(i,o,a.fragmentMap)||n&&a.store.get(n,"__typename");typeof d=="string"&&(c.__typename=d);var p=function(){var k=U2(arguments,c,a.variables);if(kr(k.from)){var T=a.incomingById.get(k.from.__ref);if(T){var C=l.readField(ge(ge({},k),{from:T.storeObject}),a);if(C!==void 0)return C}}return l.readField(k,a)},g=new Set;this.flattenFields(o,i,a,d).forEach(function(k,T){var C,E=Mu(T),_=i[E];if(g.add(T),_!==void 0){var $=l.getStoreFieldName({typename:d,fieldName:T.name.value,field:T,variables:k.variables}),M=XQ(s,$),j=r.processFieldValue(_,T,T.selectionSet?AT(k,!1,!1):k,M),B=void 0;T.selectionSet&&(kr(j)||ep(j))&&(B=p("__typename",j));var V=l.getMergeFunction(d,T.name.value,B);V?M.info={field:T,typename:d,merge:V}:ZQ(s,$),c=k.merge(c,(C={},C[$]=j,C))}else globalThis.__DEV__!==!1&&!k.clientOnly&&!k.deferred&&!D2.added(T)&&!l.getReadFunction(d,T.name.value)&&globalThis.__DEV__!==!1&&xt.error(12,Mu(T),i)});try{var m=l.identify(i,{typename:d,selectionSet:o,fragmentMap:a.fragmentMap,storeObject:c,readField:p}),y=m[0],b=m[1];n=n||y,b&&(c=a.merge(c,b))}catch(k){if(!n)throw k}if(typeof n=="string"){var O=lp(n),S=a.written[n]||(a.written[n]=[]);if(S.indexOf(o)>=0||(S.push(o),this.reader&&this.reader.isFresh(i,O,o,a)))return O;var w=a.incomingById.get(n);return w?(w.storeObject=a.merge(w.storeObject,c),w.mergeTree=TR(w.mergeTree,s),g.forEach(function(k){return w.fieldNodeSet.add(k)})):a.incomingById.set(n,{storeObject:c,mergeTree:pS(s)?void 0:s,fieldNodeSet:g}),O}return c},t.prototype.processFieldValue=function(e,r,n,i){var o=this;return!r.selectionSet||e===null?globalThis.__DEV__!==!1?TH(e):e:jn(e)?e.map(function(a,s){var l=o.processFieldValue(a,r,n,XQ(i,s));return ZQ(i,s),l}):this.processSelectionSet({result:e,selectionSet:r.selectionSet,context:n,mergeTree:i})},t.prototype.flattenFields=function(e,r,n,i){i===void 0&&(i=pR(r,e,n.fragmentMap));var o=new Map,a=this.cache.policies,s=new hg(!1);return function l(c,d){var p=s.lookup(c,d.clientOnly,d.deferred);p.visited||(p.visited=!0,c.selections.forEach(function(g){if(_b(g,n.variables)){var m=d.clientOnly,y=d.deferred;if(!(m&&y)&&fl(g.directives)&&g.directives.forEach(function(S){var w=S.name.value;if(w==="client"&&(m=!0),w==="defer"){var k=sP(S,n.variables);(!k||k.if!==!1)&&(y=!0)}}),Nu(g)){var b=o.get(g);b&&(m=m&&b.clientOnly,y=y&&b.deferred),o.set(g,AT(n,m,y))}else{var O=aP(g,n.lookupFragment);if(!O&&g.kind===Ye.FRAGMENT_SPREAD)throw fo(13,g.name.value);O&&a.fragmentMatches(O,i,r,n.variables)&&l(O.selectionSet,AT(n,m,y))}}}))}(e,n),o},t.prototype.applyMerges=function(e,r,n,i,o){var a,s=this;if(e.map.size&&!kr(n)){var l=!jn(n)&&(kr(r)||ep(r))?r:void 0,c=n;l&&!o&&(o=[kr(l)?l.__ref:l]);var d,p=function(g,m){return jn(g)?typeof m=="number"?g[m]:void 0:i.store.getFieldValue(g,String(m))};e.map.forEach(function(g,m){var y=p(l,m),b=p(c,m);if(b!==void 0){o&&o.push(m);var O=s.applyMerges(g,y,b,i,o);O!==b&&(d=d||new Map,d.set(m,O)),o&&xt(o.pop()===m)}}),d&&(n=jn(c)?c.slice(0):ge({},c),d.forEach(function(g,m){n[m]=g}))}return e.info?this.cache.policies.runMergeFunction(r,n,e.info,i,o&&(a=i.store).getStorage.apply(a,o)):n},t}(),UH=[];function XQ(t,e){var r=t.map;return r.has(e)||r.set(e,UH.pop()||{map:new Map}),r.get(e)}function TR(t,e){if(t===e||!e||pS(e))return t;if(!t||pS(t))return e;var r=t.info&&e.info?ge(ge({},t.info),e.info):t.info||e.info,n=t.map.size&&e.map.size,i=n?new Map:t.map.size?t.map:e.map,o={info:r,map:i};if(n){var a=new Set(e.map.keys());t.map.forEach(function(s,l){o.map.set(l,TR(s,e.map.get(l))),a.delete(l)}),a.forEach(function(s){o.map.set(s,TR(e.map.get(s),t.map.get(s)))})}return o}function pS(t){return!t||!(t.info||t.map.size)}function ZQ(t,e){var r=t.map,n=r.get(e);n&&pS(n)&&(UH.push(n),r.delete(e))}var GQ=new Set;function l1e(t,e,r,n){var i=function(p){var g=n.getFieldValue(p,r);return typeof g=="object"&&g},o=i(t);if(o){var a=i(e);if(a&&!kr(o)&&!hn(o,a)&&!Object.keys(o).every(function(p){return n.getFieldValue(a,p)!==void 0})){var s=n.getFieldValue(t,"__typename")||n.getFieldValue(e,"__typename"),l=Lu(r),c="".concat(s,".").concat(l);if(!GQ.has(c)){GQ.add(c);var d=[];!jn(o)&&!jn(a)&&[o,a].forEach(function(p){var g=n.getFieldValue(p,"__typename");typeof g=="string"&&!d.includes(g)&&d.push(g)}),globalThis.__DEV__!==!1&&xt.warn(14,l,s,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",c,ge({},o),ge({},a))}}}}var HH=function(t){Ts(e,t);function e(r){r===void 0&&(r={});var n=t.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new OH(D2),n.assumeImmutableResults=!0,n.makeVar=n1e,n.txCount=0,n.config=Hwe(r),n.addTypename=!!n.config.addTypename,n.policies=new a1e({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return e.prototype.init=function(){var r=this.data=new fy.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=r.stump,this.resetResultCache()},e.prototype.resetResultCache=function(r){var n=this,i=this.storeReader,o=this.config.fragments;this.storeWriter=new s1e(this,this.storeReader=new Jwe({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:LH(this.config),canon:r?void 0:i&&i.canon,fragments:o}),o),this.maybeBroadcastWatch=dy(function(a,s){return n.broadcastWatch(a,s)},{max:this.config.resultCacheMaxSize||mc["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(a){var s=a.optimistic?n.optimisticData:n.data;if(Tv(s)){var l=a.optimistic,c=a.id,d=a.variables;return s.makeCacheKey(a.query,a.callback,Su({optimistic:l,id:c,variables:d}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(a){return a.resetCaching()})},e.prototype.restore=function(r){return this.init(),r&&this.data.replace(r),this},e.prototype.extract=function(r){return r===void 0&&(r=!1),(r?this.optimisticData:this.data).extract()},e.prototype.read=function(r){var n=r.returnPartialData,i=n===void 0?!1:n;try{return this.storeReader.diffQueryAgainstStore(ge(ge({},r),{store:r.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:i})).result||null}catch(o){if(o instanceof NH)return null;throw o}},e.prototype.write=function(r){try{return++this.txCount,this.storeWriter.writeToStore(this.data,r)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.modify=function(r){if(Oi.call(r,"id")&&!r.id)return!1;var n=r.optimistic?this.optimisticData:this.data;try{return++this.txCount,n.modify(r.id||"ROOT_QUERY",r.fields)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.diff=function(r){return this.storeReader.diffQueryAgainstStore(ge(ge({},r),{store:r.optimistic?this.optimisticData:this.data,rootId:r.id||"ROOT_QUERY",config:this.config}))},e.prototype.watch=function(r){var n=this;return this.watches.size||r1e(this),this.watches.add(r),r.immediate&&this.maybeBroadcastWatch(r),function(){n.watches.delete(r)&&!n.watches.size&&VQ(n),n.maybeBroadcastWatch.forget(r)}},e.prototype.gc=function(r){var n;Su.reset(),dP.reset(),this.addTypenameTransform.resetCache(),(n=this.config.fragments)===null||n===void 0||n.resetCaches();var i=this.optimisticData.gc();return r&&!this.txCount&&(r.resetResultCache?this.resetResultCache(r.resetResultIdentities):r.resetResultIdentities&&this.storeReader.resetCanon()),i},e.prototype.retain=function(r,n){return(n?this.optimisticData:this.data).retain(r)},e.prototype.release=function(r,n){return(n?this.optimisticData:this.data).release(r)},e.prototype.identify=function(r){if(kr(r))return r.__ref;try{return this.policies.identify(r)[0]}catch(n){globalThis.__DEV__!==!1&&xt.warn(n)}},e.prototype.evict=function(r){if(!r.id){if(Oi.call(r,"id"))return!1;r=ge(ge({},r),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(r,this.data)}finally{!--this.txCount&&r.broadcast!==!1&&this.broadcastWatches()}},e.prototype.reset=function(r){var n=this;return this.init(),Su.reset(),r&&r.discardWatches?(this.watches.forEach(function(i){return n.maybeBroadcastWatch.forget(i)}),this.watches.clear(),VQ(this)):this.broadcastWatches(),Promise.resolve()},e.prototype.removeOptimistic=function(r){var n=this.optimisticData.removeLayer(r);n!==this.optimisticData&&(this.optimisticData=n,this.broadcastWatches())},e.prototype.batch=function(r){var n=this,i=r.update,o=r.optimistic,a=o===void 0?!0:o,s=r.removeOptimistic,l=r.onWatchUpdated,c,d=function(g){var m=n,y=m.data,b=m.optimisticData;++n.txCount,g&&(n.data=n.optimisticData=g);try{return c=i(n)}finally{--n.txCount,n.data=y,n.optimisticData=b}},p=new Set;return l&&!this.txCount&&this.broadcastWatches(ge(ge({},r),{onWatchUpdated:function(g){return p.add(g),!1}})),typeof a=="string"?this.optimisticData=this.optimisticData.addLayer(a,d):a===!1?d(this.data):d(),typeof s=="string"&&(this.optimisticData=this.optimisticData.removeLayer(s)),l&&p.size?(this.broadcastWatches(ge(ge({},r),{onWatchUpdated:function(g,m){var y=l.call(this,g,m);return y!==!1&&p.delete(g),y}})),p.size&&p.forEach(function(g){return n.maybeBroadcastWatch.dirty(g)})):this.broadcastWatches(r),c},e.prototype.performTransaction=function(r,n){return this.batch({update:r,optimistic:n||n!==null})},e.prototype.transformDocument=function(r){return this.addTypenameToDocument(this.addFragmentsToDocument(r))},e.prototype.broadcastWatches=function(r){var n=this;this.txCount||this.watches.forEach(function(i){return n.maybeBroadcastWatch(i,r)})},e.prototype.addFragmentsToDocument=function(r){var n=this.config.fragments;return n?n.transform(r):r},e.prototype.addTypenameToDocument=function(r){return this.addTypename?this.addTypenameTransform.transformDocument(r):r},e.prototype.broadcastWatch=function(r,n){var i=r.lastDiff,o=this.diff(r);n&&(r.optimistic&&typeof n.optimistic=="string"&&(o.fromOptimisticTransaction=!0),n.onWatchUpdated&&n.onWatchUpdated.call(this,r,o,i)===!1)||(!i||!hn(i.result,o.result))&&r.callback(r.lastDiff=o,i)},e}(MH);globalThis.__DEV__!==!1&&(HH.prototype.getMemoryInternals=aOe);var Dr;(function(t){t[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error"})(Dr||(Dr={}));function hy(t){return t?t<7:!1}var YQ=Object.assign,c1e=Object.hasOwnProperty,ER=function(t){Ts(e,t);function e(r){var n=r.queryManager,i=r.queryInfo,o=r.options,a=t.call(this,function(O){try{var S=O._subscription._observer;S&&!S.error&&(S.error=u1e)}catch{}var w=!a.observers.size;a.observers.add(O);var k=a.last;return k&&k.error?O.error&&O.error(k.error):k&&k.result&&O.next&&O.next(k.result),w&&a.reobserve().catch(function(){}),function(){a.observers.delete(O)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=MT(o.fetchPolicy),a.isTornDown=!1;var s=n.defaultOptions.watchQuery,l=s===void 0?{}:s,c=l.fetchPolicy,d=c===void 0?"cache-first":c,p=o.fetchPolicy,g=p===void 0?d:p,m=o.initialFetchPolicy,y=m===void 0?g==="standby"?d:g:m;a.options=ge(ge({},o),{initialFetchPolicy:y,fetchPolicy:g}),a.queryId=i.queryId||n.generateQueryId();var b=Ib(a.query);return a.queryName=b&&b.name&&b.name.value,a}return Object.defineProperty(e.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),e.prototype.result=function(){var r=this;return new Promise(function(n,i){var o={next:function(s){n(s),r.observers.delete(o),r.observers.size||r.queryManager.removeQuery(r.queryId),setTimeout(function(){a.unsubscribe()},0)},error:i},a=r.subscribe(o)})},e.prototype.resetDiff=function(){this.queryInfo.resetDiff()},e.prototype.getCurrentResult=function(r){r===void 0&&(r=!0);var n=this.getLastResult(!0),i=this.queryInfo.networkStatus||n&&n.networkStatus||Dr.ready,o=ge(ge({},n),{loading:hy(i),networkStatus:i}),a=this.options.fetchPolicy,s=a===void 0?"cache-first":a;if(!(MT(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers))if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(o.data=l.result),hn(o.data,{})&&(o.data=void 0),l.complete?(delete o.partial,l.complete&&o.networkStatus===Dr.loading&&(s==="cache-first"||s==="cache-only")&&(o.networkStatus=Dr.ready,o.loading=!1)):o.partial=!0,globalThis.__DEV__!==!1&&!l.complete&&!this.options.partialRefetch&&!o.loading&&!o.data&&!o.error&&ZH(l.missing)}return r&&this.updateLastResult(o),o},e.prototype.isDifferentFromLastResult=function(r,n){if(!this.last)return!0;var i=this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!AH(this.query,this.last.result,r,this.variables):!hn(this.last.result,r);return i||n&&!hn(this.last.variables,n)},e.prototype.getLast=function(r,n){var i=this.last;if(i&&i[r]&&(!n||hn(i.variables,this.variables)))return i[r]},e.prototype.getLastResult=function(r){return this.getLast("result",r)},e.prototype.getLastError=function(r){return this.getLast("error",r)},e.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},e.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},e.prototype.refetch=function(r){var n,i={pollInterval:0},o=this.options.fetchPolicy;if(o==="cache-and-network"?i.fetchPolicy=o:o==="no-cache"?i.fetchPolicy="no-cache":i.fetchPolicy="network-only",globalThis.__DEV__!==!1&&r&&c1e.call(r,"variables")){var a=lH(this.query),s=a.variableDefinitions;(!s||!s.some(function(l){return l.variable.name.value==="variables"}))&&globalThis.__DEV__!==!1&&xt.warn(20,r,((n=a.name)===null||n===void 0?void 0:n.value)||a)}return r&&!hn(this.options.variables,r)&&(i.variables=this.options.variables=ge(ge({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(i,Dr.refetch)},e.prototype.fetchMore=function(r){var n=this,i=ge(ge({},r.query?r:ge(ge(ge(ge({},this.options),{query:this.options.query}),r),{variables:ge(ge({},this.options.variables),r.variables)})),{fetchPolicy:"no-cache"});i.query=this.transformDocument(i.query);var o=this.queryManager.generateQueryId();this.lastQuery=r.query?this.transformDocument(this.options.query):i.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=Dr.fetchMore,i.notifyOnNetworkStatusChange&&this.observe();var l=new Set;return this.queryManager.fetchQuery(o,i,Dr.fetchMore).then(function(c){return n.queryManager.removeQuery(o),a.networkStatus===Dr.fetchMore&&(a.networkStatus=s),n.queryManager.cache.batch({update:function(d){var p=r.updateQuery;p?d.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(g){return p(g,{fetchMoreResult:c.data,variables:i.variables})}):d.writeQuery({query:i.query,variables:i.variables,data:c.data})},onWatchUpdated:function(d){l.add(d.query)}}),c}).finally(function(){l.has(n.query)||XH(n)})},e.prototype.subscribeToMore=function(r){var n=this,i=this.queryManager.startGraphQLSubscription({query:r.document,variables:r.variables,context:r.context}).subscribe({next:function(o){var a=r.updateQuery;a&&n.updateQuery(function(s,l){var c=l.variables;return a(s,{subscriptionData:o,variables:c})})},error:function(o){if(r.onError){r.onError(o);return}globalThis.__DEV__!==!1&&xt.error(21,o)}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},e.prototype.setOptions=function(r){return this.reobserve(r)},e.prototype.silentSetOptions=function(r){var n=Ip(this.options,r||{});YQ(this.options,n)},e.prototype.setVariables=function(r){return hn(this.variables,r)?this.observers.size?this.result():Promise.resolve():(this.options.variables=r,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:r},Dr.setVariables):Promise.resolve())},e.prototype.updateQuery=function(r){var n=this.queryManager,i=n.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,o=r(i,{variables:this.variables});o&&(n.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),n.broadcastQueries())},e.prototype.startPolling=function(r){this.options.pollInterval=r,this.updatePolling()},e.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},e.prototype.applyNextFetchPolicy=function(r,n){if(n.nextFetchPolicy){var i=n.fetchPolicy,o=i===void 0?"cache-first":i,a=n.initialFetchPolicy,s=a===void 0?o:a;o==="standby"||(typeof n.nextFetchPolicy=="function"?n.fetchPolicy=n.nextFetchPolicy(o,{reason:r,options:n,observable:this,initialFetchPolicy:s}):r==="variables-changed"?n.fetchPolicy=s:n.fetchPolicy=n.nextFetchPolicy)}return n.fetchPolicy},e.prototype.fetch=function(r,n,i){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,r,n,i)},e.prototype.updatePolling=function(){var r=this;if(!this.queryManager.ssrMode){var n=this,i=n.pollingInfo,o=n.options.pollInterval;if(!o||!this.hasObservers()){i&&(clearTimeout(i.timeout),delete this.pollingInfo);return}if(!(i&&i.interval===o)){xt(o,22);var a=i||(this.pollingInfo={});a.interval=o;var s=function(){var c,d;r.pollingInfo&&(!hy(r.queryInfo.networkStatus)&&!(!((d=(c=r.options).skipPollAttempt)===null||d===void 0)&&d.call(c))?r.reobserve({fetchPolicy:r.options.initialFetchPolicy==="no-cache"?"no-cache":"network-only"},Dr.poll).then(l,l):l())},l=function(){var c=r.pollingInfo;c&&(clearTimeout(c.timeout),c.timeout=setTimeout(s,c.interval))};l()}}},e.prototype.updateLastResult=function(r,n){n===void 0&&(n=this.variables);var i=this.getLastError();return i&&this.last&&!hn(n,this.last.variables)&&(i=void 0),this.last=ge({result:this.queryManager.assumeImmutableResults?r:TH(r),variables:n},i?{error:i}:null)},e.prototype.reobserveAsConcast=function(r,n){var i=this;this.isTornDown=!1;var o=n===Dr.refetch||n===Dr.fetchMore||n===Dr.poll,a=this.options.variables,s=this.options.fetchPolicy,l=Ip(this.options,r||{}),c=o?l:YQ(this.options,l),d=this.transformDocument(c.query);this.lastQuery=d,o||(this.updatePolling(),r&&r.variables&&!hn(r.variables,a)&&c.fetchPolicy!=="standby"&&c.fetchPolicy===s&&(this.applyNextFetchPolicy("variables-changed",c),n===void 0&&(n=Dr.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=MT(c.fetchPolicy));var p=function(){i.concast===y&&(i.waitForOwnResult=!1)},g=c.variables&&ge({},c.variables),m=this.fetch(c,n,d),y=m.concast,b=m.fromLink,O={next:function(S){hn(i.variables,g)&&(p(),i.reportResult(S,g))},error:function(S){hn(i.variables,g)&&(p(),i.reportError(S,g))}};return!o&&(b||!this.concast)&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=O),y.addObserver(O),y},e.prototype.reobserve=function(r,n){return this.reobserveAsConcast(r,n).promise},e.prototype.resubscribeAfterError=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var i=this.last;this.resetLastResults();var o=this.subscribe.apply(this,r);return this.last=i,o},e.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},e.prototype.reportResult=function(r,n){var i=this.getLastError(),o=this.isDifferentFromLastResult(r,n);(i||!r.partial||this.options.returnPartialData)&&this.updateLastResult(r,n),(i||o)&&Cv(this.observers,"next",r)},e.prototype.reportError=function(r,n){var i=ge(ge({},this.getLastResult()),{error:r,errors:r.graphQLErrors,networkStatus:Dr.error,loading:!1});this.updateLastResult(i,n),Cv(this.observers,"error",this.last.error=r)},e.prototype.hasObservers=function(){return this.observers.size>0},e.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(r){return r.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},e.prototype.transformDocument=function(r){return this.queryManager.transform(r)},e}(Nr);EH(ER);function XH(t){var e=t.options,r=e.fetchPolicy,n=e.nextFetchPolicy;return r==="cache-and-network"||r==="network-only"?t.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(i,o){return this.nextFetchPolicy=n,typeof this.nextFetchPolicy=="function"?this.nextFetchPolicy(i,o):r}}):t.reobserve()}function u1e(t){globalThis.__DEV__!==!1&&xt.error(23,t.message,t.stack)}function ZH(t){globalThis.__DEV__!==!1&&t&&globalThis.__DEV__!==!1&&xt.debug(24,t)}function MT(t){return t==="network-only"||t==="no-cache"||t==="standby"}var GH=function(){function t(e){var r=e.cache,n=e.client,i=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=r,n&&(this.client=n),i&&this.addResolvers(i),o&&this.setFragmentMatcher(o)}return t.prototype.addResolvers=function(e){var r=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(n){r.resolvers=OQ(r.resolvers,n)}):this.resolvers=OQ(this.resolvers,e)},t.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},t.prototype.getResolvers=function(){return this.resolvers||{}},t.prototype.runResolvers=function(e){return au(this,arguments,void 0,function(r){var n=r.document,i=r.remoteResult,o=r.context,a=r.variables,s=r.onlyRunForcedResolvers,l=s===void 0?!1:s;return su(this,function(c){return n?[2,this.resolveDocument(n,i.data,o,a,this.fragmentMatcher,l).then(function(d){return ge(ge({},i),{data:d.result})})]:[2,i]})})},t.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},t.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},t.prototype.clientQuery=function(e){return cy(["client"],e)&&this.resolvers?e:null},t.prototype.serverQuery=function(e){return xH(e)},t.prototype.prepareContext=function(e){var r=this.cache;return ge(ge({},e),{cache:r,getCacheKey:function(n){return r.identify(n)}})},t.prototype.addExportedVariables=function(e){return au(this,arguments,void 0,function(r,n,i){return n===void 0&&(n={}),i===void 0&&(i={}),su(this,function(o){return r?[2,this.resolveDocument(r,this.buildRootValueFromCache(r,n)||{},this.prepareContext(i),n).then(function(a){return ge(ge({},n),a.exportedVariables)})]:[2,ge({},n)]})})},t.prototype.shouldForceResolvers=function(e){var r=!1;return gc(e,{Directive:{enter:function(n){if(n.name.value==="client"&&n.arguments&&(r=n.arguments.some(function(i){return i.name.value==="always"&&i.value.kind==="BooleanValue"&&i.value.value===!0}),r))return E2}}}),r},t.prototype.buildRootValueFromCache=function(e,r){return this.cache.diff({query:UOe(e),variables:r,returnPartialData:!0,optimistic:!1}).result},t.prototype.resolveDocument=function(e,r){return au(this,arguments,void 0,function(n,i,o,a,s,l){var c,d,p,g,m,y,b,O,S,w,k;return o===void 0&&(o={}),a===void 0&&(a={}),s===void 0&&(s=function(){return!0}),l===void 0&&(l=!1),su(this,function(T){return c=$b(n),d=lP(n),p=oP(d),g=this.collectSelectionsToResolve(c,p),m=c.operation,y=m?m.charAt(0).toUpperCase()+m.slice(1):"Query",b=this,O=b.cache,S=b.client,w={fragmentMap:p,context:ge(ge({},o),{cache:O,client:S}),variables:a,fragmentMatcher:s,defaultOperationType:y,exportedVariables:{},selectionsToResolve:g,onlyRunForcedResolvers:l},k=!1,[2,this.resolveSelectionSet(c.selectionSet,k,i,w).then(function(C){return{result:C,exportedVariables:w.exportedVariables}})]})})},t.prototype.resolveSelectionSet=function(e,r,n,i){return au(this,void 0,void 0,function(){var o,a,s,l,c,d=this;return su(this,function(p){return o=i.fragmentMap,a=i.context,s=i.variables,l=[n],c=function(g){return au(d,void 0,void 0,function(){var m,y;return su(this,function(b){return!r&&!i.selectionsToResolve.has(g)?[2]:_b(g,s)?Nu(g)?[2,this.resolveField(g,r,n,i).then(function(O){var S;typeof O<"u"&&l.push((S={},S[Mu(g)]=O,S))})]:(COe(g)?m=g:(m=o[g.name.value],xt(m,18,g.name.value)),m&&m.typeCondition&&(y=m.typeCondition.name.value,i.fragmentMatcher(n,y,a))?[2,this.resolveSelectionSet(m.selectionSet,r,n,i).then(function(O){l.push(O)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return fP(l)})]})})},t.prototype.resolveField=function(e,r,n,i){return au(this,void 0,void 0,function(){var o,a,s,l,c,d,p,g,m,y=this;return su(this,function(b){return n?(o=i.variables,a=e.name.value,s=Mu(e),l=a!==s,c=n[s]||n[a],d=Promise.resolve(c),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(p=n.__typename||i.defaultOperationType,g=this.resolvers&&this.resolvers[p],g&&(m=g[l?a:s],m&&(d=Promise.resolve(z2.withValue(this.cache,m,[n,sP(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}]))))),[2,d.then(function(O){var S,w;if(O===void 0&&(O=c),e.directives&&e.directives.forEach(function(T){T.name.value==="export"&&T.arguments&&T.arguments.forEach(function(C){C.name.value==="as"&&C.value.kind==="StringValue"&&(i.exportedVariables[C.value.value]=O)})}),!e.selectionSet||O==null)return O;var k=(w=(S=e.directives)===null||S===void 0?void 0:S.some(function(T){return T.name.value==="client"}))!==null&&w!==void 0?w:!1;if(Array.isArray(O))return y.resolveSubSelectedArray(e,r||k,O,i);if(e.selectionSet)return y.resolveSelectionSet(e.selectionSet,r||k,O,i)})]):[2,null]})})},t.prototype.resolveSubSelectedArray=function(e,r,n,i){var o=this;return Promise.all(n.map(function(a){if(a===null)return null;if(Array.isArray(a))return o.resolveSubSelectedArray(e,r,a,i);if(e.selectionSet)return o.resolveSelectionSet(e.selectionSet,r,a,i)}))},t.prototype.collectSelectionsToResolve=function(e,r){var n=function(a){return!Array.isArray(a)},i=this.selectionsToResolveCache;function o(a){if(!i.has(a)){var s=new Set;i.set(a,s),gc(a,{Directive:function(l,c,d,p,g){l.name.value==="client"&&g.forEach(function(m){n(m)&&uQ(m)&&s.add(m)})},FragmentSpread:function(l,c,d,p,g){var m=r[l.name.value];xt(m,19,l.name.value);var y=o(m);y.size>0&&(g.forEach(function(b){n(b)&&uQ(b)&&s.add(b)}),s.add(l),y.forEach(function(b){s.add(b)}))}})}return i.get(a)}return o(e)},t}(),tp=new(pg?WeakMap:Map);function NT(t,e){var r=t[e];typeof r=="function"&&(t[e]=function(){return tp.set(t,(tp.get(t)+1)%1e15),r.apply(this,arguments)})}function KQ(t){t.notifyTimeout&&(clearTimeout(t.notifyTimeout),t.notifyTimeout=void 0)}var jT=function(){function t(e,r){r===void 0&&(r=e.generateQueryId()),this.queryId=r,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;tp.has(n)||(tp.set(n,0),NT(n,"evict"),NT(n,"modify"),NT(n,"reset"))}return t.prototype.init=function(e){var r=e.networkStatus||Dr.loading;return this.variables&&this.networkStatus!==Dr.loading&&!hn(this.variables,e.variables)&&(r=Dr.setVariables),hn(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:r}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},t.prototype.reset=function(){KQ(this),this.dirty=!1},t.prototype.resetDiff=function(){this.lastDiff=void 0},t.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&hn(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&r.options.fetchPolicy==="no-cache")return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},t.prototype.updateLastDiff=function(e,r){this.lastDiff=e?{diff:e,options:r||this.getDiffOptions()}:void 0},t.prototype.getDiffOptions=function(e){var r;return e===void 0&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:(r=this.observableQuery)===null||r===void 0?void 0:r.options.canonizeResults}},t.prototype.setDiff=function(e){var r=this,n,i=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(!((n=this.observableQuery)===null||n===void 0)&&n.getLastError())||(this.updateLastDiff(e),!this.dirty&&!hn(i&&i.result,e&&e.result)&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},t.prototype.setObservableQuery=function(e){var r=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){var n=r.getDiff();n.fromOptimisticTransaction?e.observe():XH(e)})):delete this.oqListener)},t.prototype.notify=function(){var e=this;KQ(this),this.shouldNotify()&&this.listeners.forEach(function(r){return r(e)}),this.dirty=!1},t.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(hy(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if(e!=="cache-only"&&e!=="cache-and-network")return!1}return!0},t.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=t.prototype.cancel;var e=this.observableQuery;e&&e.stopPolling()}},t.prototype.cancel=function(){},t.prototype.updateWatch=function(e){var r=this;e===void 0&&(e=this.variables);var n=this.observableQuery;if(!(n&&n.options.fetchPolicy==="no-cache")){var i=ge(ge({},this.getDiffOptions(e)),{watcher:this,callback:function(o){return r.setDiff(o)}});(!this.lastWatch||!hn(i,this.lastWatch))&&(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},t.prototype.resetLastWrite=function(){this.lastWrite=void 0},t.prototype.shouldWrite=function(e,r){var n=this.lastWrite;return!(n&&n.dmCount===tp.get(this.cache)&&hn(r,n.variables)&&hn(e.data,n.result.data))},t.prototype.markResult=function(e,r,n,i){var o=this,a=new Du,s=fl(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&fl(e.incremental)){var l=_H(this.getDiff().result,e);e.data=l}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=a.merge(c.result,e.data)}this.graphQLErrors=s,n.fetchPolicy==="no-cache"?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):i!==0&&(_R(e,n.errorPolicy)?this.cache.performTransaction(function(d){if(o.shouldWrite(e,n.variables))d.writeQuery({query:r,data:e.data,variables:n.variables,overwrite:i===1}),o.lastWrite={result:e,variables:n.variables,dmCount:tp.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var p=o.getDiffOptions(n.variables),g=d.diff(p);!o.stopped&&hn(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(g,p),g.complete&&(e.data=g.result)}):this.lastWrite=void 0)},t.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Dr.ready},t.prototype.markError=function(e){return this.networkStatus=Dr.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},t}();function _R(t,e){e===void 0&&(e="none");var r=e==="ignore"||e==="all",n=!y1(t);return!n&&r&&t.data&&(n=!0),n}var d1e=Object.prototype.hasOwnProperty,JQ=Object.create(null),f1e=function(){function t(e){var r=e.cache,n=e.link,i=e.defaultOptions,o=e.documentTransform,a=e.queryDeduplication,s=a===void 0?!1:a,l=e.onBroadcast,c=e.ssrMode,d=c===void 0?!1:c,p=e.clientAwareness,g=p===void 0?{}:p,m=e.localState,y=e.assumeImmutableResults,b=y===void 0?!!r.assumeImmutableResults:y,O=e.defaultContext,S=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new rH(mc["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new hg(!1);var w=new OH(function(k){return S.cache.transformDocument(k)},{cache:!1});this.cache=r,this.link=n,this.defaultOptions=i||Object.create(null),this.queryDeduplication=s,this.clientAwareness=g,this.localState=m||new GH({cache:r}),this.ssrMode=d,this.assumeImmutableResults=b,this.documentTransform=o?w.concat(o).concat(w):w,this.defaultContext=O||Object.create(null),(this.onBroadcast=l)&&(this.mutationStore=Object.create(null))}return t.prototype.stop=function(){var e=this;this.queries.forEach(function(r,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches(fo(25))},t.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(r){return r(e)}),this.fetchCancelFns.clear()},t.prototype.mutate=function(e){return au(this,arguments,void 0,function(r){var n,i,o,a,s,l,c,d=r.mutation,p=r.variables,g=r.optimisticResponse,m=r.updateQueries,y=r.refetchQueries,b=y===void 0?[]:y,O=r.awaitRefetchQueries,S=O===void 0?!1:O,w=r.update,k=r.onQueryUpdated,T=r.fetchPolicy,C=T===void 0?((l=this.defaultOptions.mutate)===null||l===void 0?void 0:l.fetchPolicy)||"network-only":T,E=r.errorPolicy,_=E===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.errorPolicy)||"none":E,$=r.keepRootFields,M=r.context;return su(this,function(j){switch(j.label){case 0:return xt(d,26),xt(C==="network-only"||C==="no-cache",27),n=this.generateMutationId(),d=this.cache.transformForLink(this.transform(d)),i=this.getDocumentInfo(d).hasClientExports,p=this.getVariables(d,p),i?[4,this.localState.addExportedVariables(d,p,M)]:[3,2];case 1:p=j.sent(),j.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[n]={mutation:d,variables:p,loading:!0,error:null}),a=g&&this.markMutationOptimistic(g,{mutationId:n,document:d,variables:p,fetchPolicy:C,errorPolicy:_,context:M,updateQueries:m,update:w,keepRootFields:$}),this.broadcastQueries(),s=this,[2,new Promise(function(B,V){return ET(s.getObservableFromLink(d,ge(ge({},M),{optimisticResponse:a?g:void 0}),p,!1),function(X){if(y1(X)&&_==="none")throw new xh({graphQLErrors:OR(X)});o&&(o.loading=!1,o.error=null);var D=ge({},X);return typeof b=="function"&&(b=b(D)),_==="ignore"&&y1(D)&&delete D.errors,s.markMutationResult({mutationId:n,result:D,document:d,variables:p,fetchPolicy:C,errorPolicy:_,context:M,update:w,updateQueries:m,awaitRefetchQueries:S,refetchQueries:b,removeOptimistic:a?n:void 0,onQueryUpdated:k,keepRootFields:$})}).subscribe({next:function(X){s.broadcastQueries(),(!("hasNext"in X)||X.hasNext===!1)&&B(X)},error:function(X){o&&(o.loading=!1,o.error=X),a&&s.cache.removeOptimistic(n),s.broadcastQueries(),V(X instanceof xh?X:new xh({networkError:X}))}})})]}})})},t.prototype.markMutationResult=function(e,r){var n=this;r===void 0&&(r=this.cache);var i=e.result,o=[],a=e.fetchPolicy==="no-cache";if(!a&&_R(i,e.errorPolicy)){if(cp(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),cp(i)&&fl(i.incremental)){var s=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),l=void 0;s.result&&(l=_H(s.result,i)),typeof l<"u"&&(i.data=l,o.push({result:l,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(p,g){var m=p.observableQuery,y=m&&m.queryName;if(!(!y||!d1e.call(c,y))){var b=c[y],O=n.queries.get(g),S=O.document,w=O.variables,k=r.diff({query:S,variables:w,returnPartialData:!0,optimistic:!1}),T=k.result,C=k.complete;if(C&&T){var E=b(T,{mutationResult:i,queryName:S&&gR(S)||void 0,queryVariables:w});E&&o.push({result:E,dataId:"ROOT_QUERY",query:S,variables:w})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(p){a||o.forEach(function(b){return p.write(b)});var g=e.update,m=!swe(i)||cp(i)&&!i.hasNext;if(g){if(!a){var y=p.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});y.complete&&(i=ge(ge({},i),{data:y.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}m&&g(p,i,{context:e.context,variables:e.variables})}!a&&!e.keepRootFields&&m&&p.modify({id:"ROOT_MUTATION",fields:function(b,O){var S=O.fieldName,w=O.DELETE;return S==="__typename"?b:w}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(p){return d.push(p)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(d).then(function(){return i})}return Promise.resolve(i)},t.prototype.markMutationOptimistic=function(e,r){var n=this,i=typeof e=="function"?e(r.variables,{IGNORE:JQ}):e;return i===JQ?!1:(this.cache.recordOptimisticTransaction(function(o){try{n.markMutationResult(ge(ge({},r),{result:{data:i}}),o)}catch(a){globalThis.__DEV__!==!1&&xt.error(a)}},r.mutationId),!0)},t.prototype.fetchQuery=function(e,r,n){return this.fetchConcastWithInfo(e,r,n).concast.promise},t.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(r,n){e[n]={variables:r.variables,networkStatus:r.networkStatus,networkError:r.networkError,graphQLErrors:r.graphQLErrors}}),e},t.prototype.resetErrors=function(e){var r=this.queries.get(e);r&&(r.networkError=void 0,r.graphQLErrors=[])},t.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},t.prototype.getDocumentInfo=function(e){var r=this.transformCache;if(!r.has(e)){var n={hasClientExports:z0e(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:cy(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:SH([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:I2(Ib(e)),asQuery:ge(ge({},e),{definitions:e.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?ge(ge({},i),{operation:"query"}):i})})};r.set(e,n)}return r.get(e)},t.prototype.getVariables=function(e,r){return ge(ge({},this.getDocumentInfo(e).defaultVars),r)},t.prototype.watchQuery=function(e){var r=this.transform(e.query);e=ge(ge({},e),{variables:this.getVariables(r,e.variables)}),typeof e.notifyOnNetworkStatusChange>"u"&&(e.notifyOnNetworkStatusChange=!1);var n=new jT(this),i=new ER({queryManager:this,queryInfo:n,options:e});return i.lastQuery=r,this.queries.set(i.queryId,n),n.init({document:r,observableQuery:i,variables:i.variables}),i},t.prototype.query=function(e,r){var n=this;return r===void 0&&(r=this.generateQueryId()),xt(e.query,28),xt(e.query.kind==="Document",29),xt(!e.returnPartialData,30),xt(!e.pollInterval,31),this.fetchQuery(r,ge(ge({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(r)})},t.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},t.prototype.generateRequestId=function(){return this.requestIdCounter++},t.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},t.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},t.prototype.stopQueryInStoreNoBroadcast=function(e){var r=this.queries.get(e);r&&r.stop()},t.prototype.clearStore=function(e){return e===void 0&&(e={discardWatches:!0}),this.cancelPendingFetches(fo(32)),this.queries.forEach(function(r){r.observableQuery?r.networkStatus=Dr.loading:r.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},t.prototype.getObservableQueries=function(e){var r=this;e===void 0&&(e="active");var n=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(a){typeof a=="string"?i.set(a,!1):pOe(a)?i.set(r.transform(a),!1):Nn(a)&&a.query&&o.add(a)}),this.queries.forEach(function(a,s){var l=a.observableQuery,c=a.document;if(l){if(e==="all"){n.set(s,l);return}var d=l.queryName,p=l.options.fetchPolicy;if(p==="standby"||e==="active"&&!l.hasObservers())return;(e==="active"||d&&i.has(d)||c&&i.has(c))&&(n.set(s,l),d&&i.set(d,!0),c&&i.set(c,!0))}}),o.size&&o.forEach(function(a){var s=aR("legacyOneTimeQuery"),l=r.getQuery(s).init({document:a.query,variables:a.variables}),c=new ER({queryManager:r,queryInfo:l,options:ge(ge({},a),{fetchPolicy:"network-only"})});xt(c.queryId===s),l.setObservableQuery(c),n.set(s,c)}),globalThis.__DEV__!==!1&&i.size&&i.forEach(function(a,s){a||globalThis.__DEV__!==!1&&xt.warn(typeof s=="string"?33:34,s)}),n},t.prototype.reFetchObservableQueries=function(e){var r=this;e===void 0&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(i,o){var a=i.options.fetchPolicy;i.resetLastResults(),(e||a!=="standby"&&a!=="cache-only")&&n.push(i.refetch()),r.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},t.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},t.prototype.startGraphQLSubscription=function(e){var r=this,n=e.query,i=e.fetchPolicy,o=e.errorPolicy,a=o===void 0?"none":o,s=e.variables,l=e.context,c=l===void 0?{}:l;n=this.transform(n),s=this.getVariables(n,s);var d=function(g){return r.getObservableFromLink(n,c,g).map(function(m){i!=="no-cache"&&(_R(m,a)&&r.cache.write({query:n,result:m.data,dataId:"ROOT_SUBSCRIPTION",variables:g}),r.broadcastQueries());var y=y1(m),b=Pwe(m);if(y||b){var O={};if(y&&(O.graphQLErrors=m.errors),b&&(O.protocolErrors=m.extensions[B2]),a==="none"||b)throw new xh(O)}return a==="ignore"&&delete m.errors,m})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,s,c).then(d);return new Nr(function(g){var m=null;return p.then(function(y){return m=y.subscribe(g)},g.error),function(){return m&&m.unsubscribe()}})}return d(s)},t.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},t.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},t.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},t.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},t.prototype.getLocalState=function(){return this.localState},t.prototype.getObservableFromLink=function(e,r,n,i){var o=this,a;i===void 0&&(i=(a=r==null?void 0:r.queryDeduplication)!==null&&a!==void 0?a:this.queryDeduplication);var s,l=this.getDocumentInfo(e),c=l.serverQuery,d=l.clientQuery;if(c){var p=this,g=p.inFlightLinkObservables,m=p.link,y={query:c,variables:n,operationName:gR(c)||void 0,context:this.prepareContext(ge(ge({},r),{forceFetch:!i}))};if(r=y.context,i){var b=dP(c),O=Su(n),S=g.lookup(b,O);if(s=S.observable,!s){var w=new Qh([wR(m,y)]);s=S.observable=w,w.beforeNext(function(){g.remove(b,O)})}}else s=new Qh([wR(m,y)])}else s=new Qh([Nr.of({data:{}})]),r=this.prepareContext(r);return d&&(s=ET(s,function(k){return o.localState.runResolvers({document:d,remoteResult:k,context:r,variables:n})})),s},t.prototype.getResultsFromLink=function(e,r,n){var i=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(n.query);return ET(this.getObservableFromLink(o,n.context,n.variables),function(a){var s=OR(a),l=s.length>0;if(i>=e.lastRequestId){if(l&&n.errorPolicy==="none")throw e.markError(new xh({graphQLErrors:s}));e.markResult(a,o,n,r),e.markReady()}var c={data:a.data,loading:!1,networkStatus:Dr.ready};return l&&n.errorPolicy!=="ignore"&&(c.errors=s,c.networkStatus=Dr.error),c},function(a){var s=kwe(a)?a:new xh({networkError:a});throw i>=e.lastRequestId&&e.markError(s),s})},t.prototype.fetchConcastWithInfo=function(e,r,n,i){var o=this;n===void 0&&(n=Dr.loading),i===void 0&&(i=r.query);var a=this.getVariables(i,r.variables),s=this.getQuery(e),l=this.defaultOptions.watchQuery,c=r.fetchPolicy,d=c===void 0?l&&l.fetchPolicy||"cache-first":c,p=r.errorPolicy,g=p===void 0?l&&l.errorPolicy||"none":p,m=r.returnPartialData,y=m===void 0?!1:m,b=r.notifyOnNetworkStatusChange,O=b===void 0?!1:b,S=r.context,w=S===void 0?{}:S,k=Object.assign({},r,{query:i,variables:a,fetchPolicy:d,errorPolicy:g,returnPartialData:y,notifyOnNetworkStatusChange:O,context:w}),T=function(M){k.variables=M;var j=o.fetchQueryByPolicy(s,k,n);return k.fetchPolicy!=="standby"&&j.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy("after-fetch",r),j},C=function(){return o.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,function(M){C(),setTimeout(function(){return E.cancel(M)})});var E,_;if(this.getDocumentInfo(k.query).hasClientExports)E=new Qh(this.localState.addExportedVariables(k.query,k.variables,k.context).then(T).then(function(M){return M.sources})),_=!0;else{var $=T(k.variables);_=$.fromLink,E=new Qh($.sources)}return E.promise.then(C,C),{concast:E,fromLink:_}},t.prototype.refetchQueries=function(e){var r=this,n=e.updateCache,i=e.include,o=e.optimistic,a=o===void 0?!1:o,s=e.removeOptimistic,l=s===void 0?a?aR("refetchQueries"):void 0:s,c=e.onQueryUpdated,d=new Map;i&&this.getObservableQueries(i).forEach(function(g,m){d.set(m,{oq:g,lastDiff:r.getQuery(m).getDiff()})});var p=new Map;return n&&this.cache.batch({update:n,optimistic:a&&l||!1,removeOptimistic:l,onWatchUpdated:function(g,m,y){var b=g.watcher instanceof jT&&g.watcher.observableQuery;if(b){if(c){d.delete(b.queryId);var O=c(b,m,y);return O===!0&&(O=b.refetch()),O!==!1&&p.set(b,O),O}c!==null&&d.set(b.queryId,{oq:b,lastDiff:y,diff:m})}}}),d.size&&d.forEach(function(g,m){var y=g.oq,b=g.lastDiff,O=g.diff,S;if(c){if(!O){var w=y.queryInfo;w.reset(),O=w.getDiff()}S=c(y,O,b)}(!c||S===!0)&&(S=y.refetch()),S!==!1&&p.set(y,S),m.indexOf("legacyOneTimeQuery")>=0&&r.stopQueryNoBroadcast(m)}),l&&this.cache.removeOptimistic(l),p},t.prototype.fetchQueryByPolicy=function(e,r,n){var i=this,o=r.query,a=r.variables,s=r.fetchPolicy,l=r.refetchWritePolicy,c=r.errorPolicy,d=r.returnPartialData,p=r.context,g=r.notifyOnNetworkStatusChange,m=e.networkStatus;e.init({document:o,variables:a,networkStatus:n});var y=function(){return e.getDiff()},b=function(T,C){C===void 0&&(C=e.networkStatus||Dr.loading);var E=T.result;globalThis.__DEV__!==!1&&!d&&!hn(E,{})&&ZH(T.missing);var _=function($){return Nr.of(ge({data:$,loading:hy(C),networkStatus:C},T.complete?null:{partial:!0}))};return E&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:E},context:p,variables:a,onlyRunForcedResolvers:!0}).then(function($){return _($.data||void 0)}):c==="none"&&C===Dr.refetch&&Array.isArray(T.missing)?_(void 0):_(E)},O=s==="no-cache"?0:n===Dr.refetch&&l!=="merge"?1:2,S=function(){return i.getResultsFromLink(e,O,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:c})},w=g&&typeof m=="number"&&m!==n&&hy(n);switch(s){default:case"cache-first":{var k=y();return k.complete?{fromLink:!1,sources:[b(k,e.markReady())]}:d||w?{fromLink:!0,sources:[b(k),S()]}:{fromLink:!0,sources:[S()]}}case"cache-and-network":{var k=y();return k.complete||d||w?{fromLink:!0,sources:[b(k),S()]}:{fromLink:!0,sources:[S()]}}case"cache-only":return{fromLink:!1,sources:[b(y(),e.markReady())]};case"network-only":return w?{fromLink:!0,sources:[b(y()),S()]}:{fromLink:!0,sources:[S()]};case"no-cache":return w?{fromLink:!0,sources:[b(e.getDiff()),S()]}:{fromLink:!0,sources:[S()]};case"standby":return{fromLink:!1,sources:[]}}},t.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new jT(this,e)),this.queries.get(e)},t.prototype.prepareContext=function(e){e===void 0&&(e={});var r=this.localState.prepareContext(e);return ge(ge(ge({},this.defaultContext),r),{clientAwareness:this.clientAwareness})},t}(),e4=!1,YH=function(){function t(e){var r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw fo(15);var n=e.uri,i=e.credentials,o=e.headers,a=e.cache,s=e.documentTransform,l=e.ssrMode,c=l===void 0?!1:l,d=e.ssrForceFetchDelay,p=d===void 0?0:d,g=e.connectToDevTools,m=g===void 0?typeof window=="object"&&!window.__APOLLO_CLIENT__&&globalThis.__DEV__!==!1:g,y=e.queryDeduplication,b=y===void 0?!0:y,O=e.defaultOptions,S=e.defaultContext,w=e.assumeImmutableResults,k=w===void 0?a.assumeImmutableResults:w,T=e.resolvers,C=e.typeDefs,E=e.fragmentMatcher,_=e.name,$=e.version,M=e.link;M||(M=n?new Fwe({uri:n,credentials:i,headers:o}):Cc.empty()),this.link=M,this.cache=a,this.disableNetworkFetches=c||p>0,this.queryDeduplication=b,this.defaultOptions=O||Object.create(null),this.typeDefs=C,p&&setTimeout(function(){return r.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=x2,this.localState=new GH({cache:a,client:this,resolvers:T,fragmentMatcher:E}),this.queryManager=new f1e({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:S,documentTransform:s,queryDeduplication:b,ssrMode:c,clientAwareness:{name:_,version:$},localState:this.localState,assumeImmutableResults:k,onBroadcast:m?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),m&&this.connectToDevTools()}return t.prototype.connectToDevTools=function(){if(typeof window=="object"){var e=window,r=Symbol.for("apollo.devtools");(e[r]=e[r]||[]).push(this),e.__APOLLO_CLIENT__=this}!e4&&globalThis.__DEV__!==!1&&(e4=!0,setTimeout(function(){if(typeof window<"u"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&/^(https?|file):$/.test(window.location.protocol)){var n=window.navigator,i=n&&n.userAgent,o=void 0;typeof i=="string"&&(i.indexOf("Chrome/")>-1?o="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":i.indexOf("Firefox/")>-1&&(o="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),o&&globalThis.__DEV__!==!1&&xt.log("Download the Apollo DevTools for a better development experience: %s",o)}},1e4))},Object.defineProperty(t.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),t.prototype.stop=function(){this.queryManager.stop()},t.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=_T(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&(e.fetchPolicy==="network-only"||e.fetchPolicy==="cache-and-network")&&(e=ge(ge({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},t.prototype.query=function(e){return this.defaultOptions.query&&(e=_T(this.defaultOptions.query,e)),xt(e.fetchPolicy!=="cache-and-network",16),this.disableNetworkFetches&&e.fetchPolicy==="network-only"&&(e=ge(ge({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},t.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=_T(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},t.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},t.prototype.readQuery=function(e,r){return r===void 0&&(r=!1),this.cache.readQuery(e,r)},t.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},t.prototype.readFragment=function(e,r){return r===void 0&&(r=!1),this.cache.readFragment(e,r)},t.prototype.writeQuery=function(e){var r=this.cache.writeQuery(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),r},t.prototype.writeFragment=function(e){var r=this.cache.writeFragment(e);return e.broadcast!==!1&&this.queryManager.broadcastQueries(),r},t.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},t.prototype.__requestRaw=function(e){return wR(this.link,e)},t.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(r){return r()}))}).then(function(){return e.reFetchObservableQueries()})},t.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(r){return r()}))})},t.prototype.onResetStore=function(e){var r=this;return this.resetStoreCallbacks.push(e),function(){r.resetStoreCallbacks=r.resetStoreCallbacks.filter(function(n){return n!==e})}},t.prototype.onClearStore=function(e){var r=this;return this.clearStoreCallbacks.push(e),function(){r.clearStoreCallbacks=r.clearStoreCallbacks.filter(function(n){return n!==e})}},t.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},t.prototype.refetchQueries=function(e){var r=this.queryManager.refetchQueries(e),n=[],i=[];r.forEach(function(a,s){n.push(s),i.push(a)});var o=Promise.all(i);return o.queries=n,o.results=i,o.catch(function(a){globalThis.__DEV__!==!1&&xt.debug(17,a)}),o},t.prototype.getObservableQueries=function(e){return e===void 0&&(e="active"),this.queryManager.getObservableQueries(e)},t.prototype.extract=function(e){return this.cache.extract(e)},t.prototype.restore=function(e){return this.cache.restore(e)},t.prototype.addResolvers=function(e){this.localState.addResolvers(e)},t.prototype.setResolvers=function(e){this.localState.setResolvers(e)},t.prototype.getResolvers=function(){return this.localState.getResolvers()},t.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},t.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(t.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),t}();globalThis.__DEV__!==!1&&(YH.prototype.getMemoryInternals=oOe);var w1=new Map,RR=new Map,KH=!0,gS=!1;function JH(t){return t.replace(/[\s,]+/g," ").trim()}function h1e(t){return JH(t.source.body.substring(t.start,t.end))}function p1e(t){var e=new Set,r=[];return t.definitions.forEach(function(n){if(n.kind==="FragmentDefinition"){var i=n.name.value,o=h1e(n.loc),a=RR.get(i);a&&!a.has(o)?KH&&console.warn("Warning: fragment with name "+i+` already exists.
|
|
148
148
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
149
|
-
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||RR.set(i,a=new Set),a.add(o),e.has(o)||(e.add(o),r.push(n))}else r.push(n)}),ge(ge({},t),{definitions:r})}function g1e(t){var e=new Set(t.definitions);e.forEach(function(n){n.loc&&delete n.loc,Object.keys(n).forEach(function(i){var o=n[i];o&&typeof o=="object"&&e.add(o)})});var r=t.loc;return r&&(delete r.startToken,delete r.endToken),t}function m1e(t){var e=JH(t);if(!w1.has(e)){var r=YU(t,{experimentalFragmentVariables:gS,allowLegacyFragmentVariables:gS});if(!r||r.kind!=="Document")throw new Error("Not a valid GraphQL document.");w1.set(e,g1e(p1e(r)))}return w1.get(e)}function Ae(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];typeof t=="string"&&(t=[t]);var n=t[0];return e.forEach(function(i,o){i&&i.kind==="Document"?n+=i.loc.source.body:n+=i,n+=t[o+1]}),m1e(n)}function v1e(){w1.clear(),RR.clear()}function y1e(){KH=!1}function b1e(){gS=!0}function O1e(){gS=!1}var Am={gql:Ae,resetCaches:v1e,disableFragmentWarnings:y1e,enableExperimentalFragmentVariables:b1e,disableExperimentalFragmentVariables:O1e};(function(t){t.gql=Am.gql,t.resetCaches=Am.resetCaches,t.disableFragmentWarnings=Am.disableFragmentWarnings,t.enableExperimentalFragmentVariables=Am.enableExperimentalFragmentVariables,t.disableExperimentalFragmentVariables=Am.disableExperimentalFragmentVariables})(Ae||(Ae={}));Ae.default=Ae;var DT={exports:{}},t4;function w1e(){return t4||(t4=1,function(t){t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,ob())}(DT)),DT.exports}var xu=w1e();const S1e=Uu(xu),x1e=yx({__proto__:null,default:S1e},[xu]);var r4=R2?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function P1e(){xt("createContext"in x1e,45);var t=xu.createContext[r4];return t||(Object.defineProperty(xu.createContext,r4,{value:t=xu.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t}var k1e=function(t){var e=t.client,r=t.children,n=P1e(),i=xu.useContext(n),o=xu.useMemo(function(){return ge(ge({},i),{client:e||i.client})},[i,e]);return xt(o.client,46),xu.createElement(n.Provider,{value:o},r)};function C1e(t){return new Cc(function(e,r){var n=pc(e,[]);return new Nr(function(i){var o,a=!1;return Promise.resolve(n).then(function(s){return t(s,e.getContext())}).then(e.setContext).then(function(){a||(o=r(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})})}function eX(t){return new Cc(function(e,r){return new Nr(function(n){var i,o,a;try{i=r(e).subscribe({next:function(s){if(s.errors&&(a=t({graphQLErrors:s.errors,response:s,operation:e,forward:r}),a)){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(s)},error:function(s){if(a=t({operation:e,networkError:s,graphQLErrors:s&&s.result&&s.result.errors,forward:r}),a){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(s)},complete:function(){a||n.complete.bind(n)()}})}catch(s){t({networkError:s,operation:e,forward:r}),n.error(s)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}(function(t){Ts(e,t);function e(r){var n=t.call(this)||this;return n.link=eX(r),n}return e.prototype.request=function(r,n){return this.link.request(r,n)},e})(Cc);const T1e={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"13c427e",MODE:"production",PACKAGE_VERSION:"1.7.2",PROD:!0,REACT_APP_ENDPOINT_HOST:"",REACT_APP_ENDPOINT_PORT:"",REACT_APP_ENDPOINT_SERVER_URL:"/endpoint",REACT_APP_GRAPHQL_SERVER_URL:"/graphql",REACT_APP_SWAGGER_SERVER_URL:"/api",SSR:!1},E1e=t=>{var n;const e=(n=window.__env__)==null?void 0:n[t],r=T1e[t];return e||r},H2="/",tX="sandbox",Nf="login",rX="logout",hP="signup",nX="username",iX="github",oX="google",aX="completed",_1e="confirm",Pu="app",ku=":organizationId",Cu=":projectName",Tu=":branchName",pP="-/draft",sX="-/:revisionId",_v=":tableId",lX=":rowId";var dn=(t=>(t.Organization="organization",t.Project="project",t.Branch="branch",t.DraftRevision="draftRevision",t.HeadRevision="headRevision",t.SpecificRevision="specificRevision",t.DraftTable="draftTable",t.HeadTable="headTable",t.SpecificTable="specificTable",t.DraftRow="draftRow",t.HeadRow="headRow",t.SpecificRow="specificRow",t))(dn||{});const gg=({hideSidebar:t,sidebar:e,title:r,actions:n,children:i})=>P.jsxs(Te,{minHeight:"100vh",children:[!t&&P.jsxs(Te,{backgroundColor:"gray.50",borderRight:"1px solid",borderRightColor:"gray.200",flexDirection:"column",justifyContent:e?"space-between":"flex-end",padding:"1rem",width:"250px",height:"100vh",top:0,position:"sticky",children:[P.jsx(ze,{children:e}),P.jsx(ze,{alignSelf:"center",children:P.jsx(Ua,{to:`/${rX}`,children:P.jsx(gb,{color:"gray.400",alignSelf:"center",children:"Logout"})})})]}),P.jsxs(Te,{alignItems:"center",flex:1,flexDirection:"column",width:"100%",children:[(r||n)&&P.jsxs(Te,{alignItems:"center",backgroundColor:"white",borderBottom:"1px solid",borderBottomColor:"gray.50",justifyContent:"space-between",maxWidth:"900px",padding:"8px",width:"100%",position:"sticky",zIndex:1,top:0,children:[r,n]}),P.jsx(Te,{flex:1,flexDirection:"column",maxWidth:"900px",padding:"1rem 1rem 0rem 1rem",width:"100%",children:i})]})]});var cX={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n4=Qe.createContext&&Qe.createContext(cX),R1e=["attr","size","title"];function I1e(t,e){if(t==null)return{};var r=$1e(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function $1e(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function mS(){return mS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},mS.apply(this,arguments)}function i4(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vS(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?i4(Object(r),!0).forEach(function(n){A1e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i4(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function A1e(t,e,r){return e=M1e(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M1e(t){var e=N1e(t,"string");return typeof e=="symbol"?e:e+""}function N1e(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function uX(t){return t&&t.map((e,r)=>Qe.createElement(e.tag,vS({key:r},e.attr),uX(e.child)))}function er(t){return e=>Qe.createElement(j1e,mS({attr:vS({},t.attr)},e),uX(t.child))}function j1e(t){var e=r=>{var{attr:n,size:i,title:o}=t,a=I1e(t,R1e),s=i||r.size||"1em",l;return r.className&&(l=r.className),t.className&&(l=(l?l+" ":"")+t.className),Qe.createElement("svg",mS({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:l,style:vS(vS({color:t.color||r.color},r.style),t.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Qe.createElement("title",null,o),t.children)};return n4!==void 0?Qe.createElement(n4.Consumer,null,r=>e(r)):e(cX)}function dX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"},child:[]}]})(t)}function fX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},child:[]}]})(t)}function D1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M108,60A16,16,0,1,1,92,44,16,16,0,0,1,108,60Zm56,16a16,16,0,1,0-16-16A16,16,0,0,0,164,76ZM92,112a16,16,0,1,0,16,16A16,16,0,0,0,92,112Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,112ZM92,180a16,16,0,1,0,16,16A16,16,0,0,0,92,180Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,180Z"},child:[]}]})(t)}function L1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"},child:[]}]})(t)}function Q1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},child:[]}]})(t)}function X2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M156,128a28,28,0,1,1-28-28A28,28,0,0,1,156,128Z"},child:[]}]})(t)}function hX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"},child:[]}]})(t)}function pX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm0,184A80,80,0,1,1,181.34,68.37a8,8,0,0,1-10.67,11.92A64,64,0,1,0,191.5,136H128a8,8,0,0,1,0-16h72a8,8,0,0,1,8,8A80.09,80.09,0,0,1,128,208Z"},child:[]}]})(t)}function V1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"},child:[]}]})(t)}function Z2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},child:[]}]})(t)}function o4(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},child:[]}]})(t)}function F1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},child:[]}]})(t)}function gP(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},child:[]}]})(t)}function B1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},child:[]}]})(t)}function Ab(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},child:[]}]})(t)}function z1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},child:[]}]})(t)}function q1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-86.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L124,158.34V88a4,4,0,0,1,8,0v70.34l25.17-25.17A4,4,0,0,1,162.83,133.17Z"},child:[]}]})(t)}function W1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm42.83-94.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L158.34,132H88a4,4,0,0,1,0-8h70.34L133.17,98.83a4,4,0,0,1,5.66-5.66Z"},child:[]}]})(t)}function U1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"},child:[]}]})(t)}function H1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"},child:[]}]})(t)}function X1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},child:[]}]})(t)}function Z1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},child:[]}]})(t)}function G1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M155.87,36.06a4,4,0,0,1-3.87,3,4.29,4.29,0,0,1-1-.13,92,92,0,0,0-46,0,4,4,0,0,1-2-7.74,100.09,100.09,0,0,1,50,0A4,4,0,0,1,155.87,36.06ZM56.65,57.94a100.18,100.18,0,0,0-25,43.29,4,4,0,0,0,7.71,2.14,92.06,92.06,0,0,1,23-39.82,4,4,0,1,0-5.7-5.61ZM39.36,152.62a4,4,0,0,0-7.71,2.14,100.08,100.08,0,0,0,25,43.31,4,4,0,1,0,5.71-5.61A91.91,91.91,0,0,1,39.36,152.62ZM151,217.09a92,92,0,0,1-46,0,4,4,0,0,0-2,7.75,100,100,0,0,0,50,0,4,4,0,1,0-2-7.74Zm70.58-67.25a4,4,0,0,0-4.92,2.79,92.12,92.12,0,0,1-23,39.82,4,4,0,1,0,5.7,5.61,100.18,100.18,0,0,0,25-43.29A4,4,0,0,0,221.58,149.84Zm-4.94-46.46a4,4,0,0,0,7.71-2.14,100.08,100.08,0,0,0-25-43.31,4,4,0,1,0-5.71,5.61A91.91,91.91,0,0,1,216.64,103.38Z"},child:[]}]})(t)}function a4(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"},child:[]}]})(t)}function Y1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},child:[]}]})(t)}function K1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,100a28,28,0,1,0,28,28A28,28,0,0,0,128,100Zm0,48a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},child:[]}]})(t)}function J1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},child:[]}]})(t)}function gX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},child:[]}]})(t)}function eSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},child:[]}]})(t)}function tSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M146.83,141.17a4,4,0,0,0-5.66,0L120,162.34,93.66,136l21.17-21.17a4,4,0,0,0-5.66-5.66L88,130.34,66.83,109.17a4,4,0,0,0-5.66,5.66L70.34,124,44.2,150.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L58.06,203.6l8.2,8.2a28,28,0,0,0,39.6,0L132,185.66l9.17,9.17a4,4,0,0,0,5.66-5.66L125.66,168l21.17-21.17A4,4,0,0,0,146.83,141.17Zm-46.63,65a20,20,0,0,1-28.28,0L49.86,184.08a20,20,0,0,1,0-28.28L76,129.66,126.34,180Zm134.63-185a4,4,0,0,0-5.66,0L197.94,52.4l-8.2-8.2a28,28,0,0,0-39.6,0L124,70.34l-9.17-9.17a4,4,0,0,0-5.66,5.66l80,80a4,4,0,0,0,5.66-5.66L185.66,132l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,31.23-31.23A4,4,0,0,0,234.83,21.17ZM212,86.06a19.86,19.86,0,0,1-5.86,14.14L180,126.34,129.66,76,155.8,49.86a20,20,0,0,1,28.28,0l22.06,22.06A19.85,19.85,0,0,1,212,86.06Z"},child:[]}]})(t)}function rSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M234.83,109.17l-80-80A4,4,0,0,0,148,32V76.09c-54,2.44-120.43,53.55-127.94,119a7.87,7.87,0,0,0,4.58,8.16,8,8,0,0,0,3.41.77,7.9,7.9,0,0,0,5.79-2.55h0c11.53-12.27,53.29-51.73,114.16-53.4V192a4,4,0,0,0,6.83,2.83l80-80A4,4,0,0,0,234.83,109.17ZM156,182.33V144a4,4,0,0,0-4-4c-27.39,0-54.08,7.17-79.34,21.3A189.91,189.91,0,0,0,28,196l2.92,2.74L28,196c3.36-29.21,19.55-57.48,45.6-79.57C97.53,96.11,126.83,84,152,84a4,4,0,0,0,4-4V41.66L226.34,112Z"},child:[]}]})(t)}function nSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M176,148h32a12,12,0,0,0,12-12V104a12,12,0,0,0-12-12H176a12,12,0,0,0-12,12v12H84V76H96a12,12,0,0,0,12-12V32A12,12,0,0,0,96,20H64A12,12,0,0,0,52,32V64A12,12,0,0,0,64,76H76V192a20,20,0,0,0,20,20h68v12a12,12,0,0,0,12,12h32a12,12,0,0,0,12-12V192a12,12,0,0,0-12-12H176a12,12,0,0,0-12,12v12H96a12,12,0,0,1-12-12V124h80v12A12,12,0,0,0,176,148ZM60,64V32a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4V64a4,4,0,0,1-4,4H64A4,4,0,0,1,60,64ZM172,192a4,4,0,0,1,4-4h32a4,4,0,0,1,4,4v32a4,4,0,0,1-4,4H176a4,4,0,0,1-4-4Zm0-88a4,4,0,0,1,4-4h32a4,4,0,0,1,4,4v32a4,4,0,0,1-4,4H176a4,4,0,0,1-4-4Z"},child:[]}]})(t)}function iSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H80a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H176a4,4,0,0,1,0-8h48A12,12,0,0,1,236,136ZM82.83,74.83,124,33.66V128a4,4,0,0,0,8,0V33.66l41.17,41.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"},child:[]}]})(t)}function G2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"},child:[]}]})(t)}const sl=({height:t="2.5rem",title:e,onClick:r,disabled:n,isSelected:i,isLoading:o,icon:a,dataTestId:s})=>P.jsx(ag,{"data-testid":s,_hover:{color:"gray.400",backgroundColor:"white"},_disabled:i?{backgroundColor:"gray.50",cursor:"not-allowed"}:void 0,alignSelf:"flex-start",color:"gray.300",fontWeight:"500",fontSize:16,height:t,disabled:n||i,loading:o,variant:"ghost",onClick:r,children:P.jsxs(Te,{alignItems:"center",gap:"0.5rem",children:[a&&P.jsx(sg,{size:"sm",children:a}),P.jsx(dt,{children:e})]})}),mg=t=>P.jsx(sl,{...t,icon:P.jsx(Q1e,{})}),Mb=({height:t="2.5rem",loading:e,isDisabled:r,onClick:n,title:i,dataTestId:o})=>P.jsxs(ag,{"data-testid":o,_hover:{backgroundColor:"gray.50"},alignSelf:"flex-start",color:"gray.400",height:t,loading:e,disabled:r,variant:"ghost",onClick:n,width:"48px",children:[P.jsx(sg,{size:"sm",mr:i?8:0,children:P.jsx(fX,{})}),i]}),Nb=({height:t="2.5rem",onClick:e,disabled:r,dataTestId:n})=>P.jsx(ag,{"data-testid":n,disabled:r,_hover:{backgroundColor:"gray.50"},alignSelf:"flex-start",color:"gray.400",height:t,variant:"ghost",onClick:e,width:"48px",children:P.jsx(sg,{size:"md",children:P.jsx(z1e,{})})}),mX=({dataTestId:t,...e})=>P.jsx(Ti,{"data-testid":t,_hover:{backgroundColor:"gray.100"},color:"gray.400",variant:"ghost",size:"lg",width:"40px",height:"40px",...e,children:P.jsx(L1e,{})}),oSe=({dataTestId:t,...e})=>P.jsx(Ti,{"data-testid":t,_hover:{backgroundColor:"gray.50"},color:"gray.400",variant:"ghost",size:"sm",...e,children:P.jsx(gP,{})}),nc=({value:t,placeholder:e,autoFocus:r,onChange:n,onBlur:i,onEnter:o,width:a,height:s,type:l,dataTestId:c,autoComplete:d})=>{const p=yX();return P.jsx(tW,{autoComplete:d,"data-testid":c,borderColor:"gray.100",padding:"0 9px",placeholder:e,ref:r?p:void 0,value:t,variant:"outline",onChange:n,onBlur:i,width:a,height:s,type:l,onKeyDown:o?g=>{g.key==="Enter"&&o()}:void 0})},ef=rde({placement:"top",pauseOnPageIdle:!0}),s4=()=>P.jsx(Ku,{children:P.jsx(Jge,{toaster:ef,insetInline:{mdDown:"4"},children:t=>P.jsxs(eme,{width:{md:"sm"},children:[t.type==="loading"?P.jsx(Bx,{size:"sm",color:"blue.solid"}):P.jsx(ame,{}),P.jsxs(K9,{gap:"1",flex:"1",maxWidth:"100%",children:[t.title&&P.jsx(rme,{children:t.title}),t.description&&P.jsx(nme,{children:t.description})]}),t.action&&P.jsx(ime,{children:t.action.label}),t.closable&&P.jsx(tme,{})]})})}),vX=A.forwardRef(function(e,r){const{showArrow:n,children:i,disabled:o,portalled:a=!0,content:s,contentProps:l,portalRef:c,...d}=e;return o?i:P.jsxs(dW,{...d,children:[P.jsx(fW,{asChild:!0,children:i}),P.jsx(Ku,{disabled:!a,container:c,children:P.jsx(hW,{children:P.jsxs(pW,{ref:r,...l,children:[n&&P.jsx(sme,{children:P.jsx(gW,{})}),s]})})})]})}),aSe=$H({uri:E1e("REACT_APP_GRAPHQL_SERVER_URL")}),sSe=C1e(async()=>({headers:{Authorization:`Bearer ${localStorage.getItem("token")}`}})),lSe=eX(({graphQLErrors:t})=>{if(t)for(const e of t)ef.info({duration:3e3,description:e.message})}),_r=new YH({connectToDevTools:!0,link:hwe([sSe,lSe,aSe]),cache:new HH({typePolicies:{TableModel:{keyFields:["versionId"]},RowModel:{keyFields:["versionId"]}}}),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network"}}});_r.cache;const yX=()=>A.useCallback(t=>{t&&t.focus()},[]),jf=(t,...e)=>{const r=A.useRef(null),[n,i]=A.useState(e),o=A.useMemo(()=>n.length!==e.length||n.some((a,s)=>a!==e[s])?(i(e),e):n,[e,n]);return r.current||(r.current=ft.get(t)),A.useEffect(()=>{var s;const a=r.current;return(s=a==null?void 0:a.init)==null||s.call(a,...o),()=>{var l;(l=a==null?void 0:a.dispose)==null||l.call(a)}},[o]),r.current};class cSe{constructor(){fe(this,"registrations",new Map)}register(e,r,n){this.registrations.set(e,{factory:r,scope:n.scope})}get(e){const r=this.registrations.get(e);if(!r)throw new Error(`No provider found for ${e.name}`);return r.scope==="singleton"?(r.instance||(r.instance=r.factory()),r.instance):r.factory()}}const ft=new cSe;class Y2{constructor(e){fe(this,"values");this.values=e,lt(this,{},{autoBind:!0})}setValue(e,r){this.values[e]=r}get isValid(){return Object.values(this.values).every(e=>!!e)}}const K2=JSON,uSe=t=>t.toUpperCase(),dSe=t=>{const e={};return t.forEach((r,n)=>{e[n]=r}),e},fSe=(t,e,r)=>t.document?t:{document:t,variables:e,requestHeaders:r,signal:void 0},hSe=(t,e,r)=>t.query?t:{query:t,variables:e,requestHeaders:r,signal:void 0},pSe=(t,e)=>t.documents?t:{documents:t,requestHeaders:e,signal:void 0},l4=t=>{var n,i;let e;const r=t.definitions.filter(o=>o.kind==="OperationDefinition");return r.length===1&&(e=(i=(n=r[0])==null?void 0:n.name)==null?void 0:i.value),e},LT=t=>{if(typeof t=="string"){let r;try{const n=YU(t);r=l4(n)}catch{}return{query:t,operationName:r}}const e=l4(t);return{query:_2(t),operationName:e}};class Rv extends Error{constructor(e,r){const n=`${Rv.extractMessage(e)}: ${JSON.stringify({response:e,request:r})}`;super(n),Object.setPrototypeOf(this,Rv.prototype),this.response=e,this.request=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Rv)}static extractMessage(e){var r,n;return((n=(r=e.errors)==null?void 0:r[0])==null?void 0:n.message)??`GraphQL Error (Code: ${e.status})`}}var av={exports:{}},gSe=av.exports,c4;function mSe(){return c4||(c4=1,function(t,e){var r=typeof self<"u"?self:gSe,n=function(){function o(){this.fetch=!1,this.DOMException=r.DOMException}return o.prototype=r,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l(D){return D&&DataView.prototype.isPrototypeOf(D)}if(s.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(D){return D&&c.indexOf(Object.prototype.toString.call(D))>-1};function p(D){if(typeof D!="string"&&(D=String(D)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(D))throw new TypeError("Invalid character in header field name");return D.toLowerCase()}function g(D){return typeof D!="string"&&(D=String(D)),D}function m(D){var F={next:function(){var Y=D.shift();return{done:Y===void 0,value:Y}}};return s.iterable&&(F[Symbol.iterator]=function(){return F}),F}function y(D){this.map={},D instanceof y?D.forEach(function(F,Y){this.append(Y,F)},this):Array.isArray(D)?D.forEach(function(F){this.append(F[0],F[1])},this):D&&Object.getOwnPropertyNames(D).forEach(function(F){this.append(F,D[F])},this)}y.prototype.append=function(D,F){D=p(D),F=g(F);var Y=this.map[D];this.map[D]=Y?Y+", "+F:F},y.prototype.delete=function(D){delete this.map[p(D)]},y.prototype.get=function(D){return D=p(D),this.has(D)?this.map[D]:null},y.prototype.has=function(D){return this.map.hasOwnProperty(p(D))},y.prototype.set=function(D,F){this.map[p(D)]=g(F)},y.prototype.forEach=function(D,F){for(var Y in this.map)this.map.hasOwnProperty(Y)&&D.call(F,this.map[Y],Y,this)},y.prototype.keys=function(){var D=[];return this.forEach(function(F,Y){D.push(Y)}),m(D)},y.prototype.values=function(){var D=[];return this.forEach(function(F){D.push(F)}),m(D)},y.prototype.entries=function(){var D=[];return this.forEach(function(F,Y){D.push([Y,F])}),m(D)},s.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function b(D){if(D.bodyUsed)return Promise.reject(new TypeError("Already read"));D.bodyUsed=!0}function O(D){return new Promise(function(F,Y){D.onload=function(){F(D.result)},D.onerror=function(){Y(D.error)}})}function S(D){var F=new FileReader,Y=O(F);return F.readAsArrayBuffer(D),Y}function w(D){var F=new FileReader,Y=O(F);return F.readAsText(D),Y}function k(D){for(var F=new Uint8Array(D),Y=new Array(F.length),ie=0;ie<F.length;ie++)Y[ie]=String.fromCharCode(F[ie]);return Y.join("")}function T(D){if(D.slice)return D.slice(0);var F=new Uint8Array(D.byteLength);return F.set(new Uint8Array(D)),F.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(D){this._bodyInit=D,D?typeof D=="string"?this._bodyText=D:s.blob&&Blob.prototype.isPrototypeOf(D)?this._bodyBlob=D:s.formData&&FormData.prototype.isPrototypeOf(D)?this._bodyFormData=D:s.searchParams&&URLSearchParams.prototype.isPrototypeOf(D)?this._bodyText=D.toString():s.arrayBuffer&&s.blob&&l(D)?(this._bodyArrayBuffer=T(D.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(D)||d(D))?this._bodyArrayBuffer=T(D):this._bodyText=D=Object.prototype.toString.call(D):this._bodyText="",this.headers.get("content-type")||(typeof D=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s.searchParams&&URLSearchParams.prototype.isPrototypeOf(D)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s.blob&&(this.blob=function(){var D=b(this);if(D)return D;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(S)}),this.text=function(){var D=b(this);if(D)return D;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(k(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(D){var F=D.toUpperCase();return E.indexOf(F)>-1?F:D}function $(D,F){F=F||{};var Y=F.body;if(D instanceof $){if(D.bodyUsed)throw new TypeError("Already read");this.url=D.url,this.credentials=D.credentials,F.headers||(this.headers=new y(D.headers)),this.method=D.method,this.mode=D.mode,this.signal=D.signal,!Y&&D._bodyInit!=null&&(Y=D._bodyInit,D.bodyUsed=!0)}else this.url=String(D);if(this.credentials=F.credentials||this.credentials||"same-origin",(F.headers||!this.headers)&&(this.headers=new y(F.headers)),this.method=_(F.method||this.method||"GET"),this.mode=F.mode||this.mode||null,this.signal=F.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Y)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Y)}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})};function M(D){var F=new FormData;return D.trim().split("&").forEach(function(Y){if(Y){var ie=Y.split("="),H=ie.shift().replace(/\+/g," "),ne=ie.join("=").replace(/\+/g," ");F.append(decodeURIComponent(H),decodeURIComponent(ne))}}),F}function j(D){var F=new y,Y=D.replace(/\r?\n[\t ]+/g," ");return Y.split(/\r?\n/).forEach(function(ie){var H=ie.split(":"),ne=H.shift().trim();if(ne){var z=H.join(":").trim();F.append(ne,z)}}),F}C.call($.prototype);function B(D,F){F||(F={}),this.type="default",this.status=F.status===void 0?200:F.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in F?F.statusText:"OK",this.headers=new y(F.headers),this.url=F.url||"",this._initBody(D)}C.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},B.error=function(){var D=new B(null,{status:0,statusText:""});return D.type="error",D};var V=[301,302,303,307,308];B.redirect=function(D,F){if(V.indexOf(F)===-1)throw new RangeError("Invalid status code");return new B(null,{status:F,headers:{location:D}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(F,Y){this.message=F,this.name=Y;var ie=Error(F);this.stack=ie.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function X(D,F){return new Promise(function(Y,ie){var H=new $(D,F);if(H.signal&&H.signal.aborted)return ie(new a.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function z(){ne.abort()}ne.onload=function(){var N={status:ne.status,statusText:ne.statusText,headers:j(ne.getAllResponseHeaders()||"")};N.url="responseURL"in ne?ne.responseURL:N.headers.get("X-Request-URL");var U="response"in ne?ne.response:ne.responseText;Y(new B(U,N))},ne.onerror=function(){ie(new TypeError("Network request failed"))},ne.ontimeout=function(){ie(new TypeError("Network request failed"))},ne.onabort=function(){ie(new a.DOMException("Aborted","AbortError"))},ne.open(H.method,H.url,!0),H.credentials==="include"?ne.withCredentials=!0:H.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&s.blob&&(ne.responseType="blob"),H.headers.forEach(function(N,U){ne.setRequestHeader(U,N)}),H.signal&&(H.signal.addEventListener("abort",z),ne.onreadystatechange=function(){ne.readyState===4&&H.signal.removeEventListener("abort",z)}),ne.send(typeof H._bodyInit>"u"?null:H._bodyInit)})}return X.polyfill=!0,o.fetch||(o.fetch=X,o.Headers=y,o.Request=$,o.Response=B),a.Headers=y,a.Request=$,a.Response=B,a.fetch=X,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;e=i.fetch,e.default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e}(av,av.exports)),av.exports}var yS=mSe();const S1=Uu(yS),vSe=yx({__proto__:null,default:S1},[yS]),Ph=t=>{let e={};return t&&(typeof Headers<"u"&&t instanceof Headers||vSe&&yS.Headers&&t instanceof yS.Headers?e=dSe(t):Array.isArray(t)?t.forEach(([r,n])=>{r&&n!==void 0&&(e[r]=n)}):e=t),e},u4=t=>t.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),ySe=t=>{if(!Array.isArray(t.query)){const n=t,i=[`query=${encodeURIComponent(u4(n.query))}`];return t.variables&&i.push(`variables=${encodeURIComponent(n.jsonSerializer.stringify(n.variables))}`),n.operationName&&i.push(`operationName=${encodeURIComponent(n.operationName)}`),i.join("&")}if(typeof t.variables<"u"&&!Array.isArray(t.variables))throw new Error("Cannot create query with given variable type, array expected");const e=t,r=t.query.reduce((n,i,o)=>(n.push({query:u4(i),variables:e.variables?e.jsonSerializer.stringify(e.variables[o]):void 0}),n),[]);return`query=${encodeURIComponent(e.jsonSerializer.stringify(r))}`},bSe=t=>async e=>{const{url:r,query:n,variables:i,operationName:o,fetch:a,fetchOptions:s,middleware:l}=e,c={...e.headers};let d="",p;t==="POST"?(p=wSe(n,i,o,s.jsonSerializer),typeof p=="string"&&(c["Content-Type"]="application/json")):d=ySe({query:n,variables:i,operationName:o,jsonSerializer:s.jsonSerializer??K2});const g={method:t,headers:c,body:p,...s};let m=r,y=g;if(l){const b=await Promise.resolve(l({...g,url:r,operationName:o,variables:i})),{url:O,...S}=b;m=O,y=S}return d&&(m=`${m}?${d}`),await a(m,y)};class OSe{constructor(e,r={}){this.url=e,this.requestConfig=r,this.rawRequest=async(...n)=>{const[i,o,a]=n,s=hSe(i,o,a),{headers:l,fetch:c=S1,method:d="POST",requestMiddleware:p,responseMiddleware:g,...m}=this.requestConfig,{url:y}=this;s.signal!==void 0&&(m.signal=s.signal);const{operationName:b}=LT(s.query);return QT({url:y,query:s.query,variables:s.variables,headers:{...Ph(VT(l)),...Ph(s.requestHeaders)},operationName:b,fetch:c,method:d,fetchOptions:m,middleware:p}).then(O=>(g&&g(O),O)).catch(O=>{throw g&&g(O),O})}}async request(e,...r){const[n,i]=r,o=fSe(e,n,i),{headers:a,fetch:s=S1,method:l="POST",requestMiddleware:c,responseMiddleware:d,...p}=this.requestConfig,{url:g}=this;o.signal!==void 0&&(p.signal=o.signal);const{query:m,operationName:y}=LT(o.document);return QT({url:g,query:m,variables:o.variables,headers:{...Ph(VT(a)),...Ph(o.requestHeaders)},operationName:y,fetch:s,method:l,fetchOptions:p,middleware:c}).then(b=>(d&&d(b),b.data)).catch(b=>{throw d&&d(b),b})}batchRequests(e,r){const n=pSe(e,r),{headers:i,...o}=this.requestConfig;n.signal!==void 0&&(o.signal=n.signal);const a=n.documents.map(({document:l})=>LT(l).query),s=n.documents.map(({variables:l})=>l);return QT({url:this.url,query:a,variables:s,headers:{...Ph(VT(i)),...Ph(n.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??S1,method:this.requestConfig.method||"POST",fetchOptions:o,middleware:this.requestConfig.requestMiddleware}).then(l=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(l),l.data)).catch(l=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(l),l})}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,r){const{headers:n}=this.requestConfig;return n?n[e]=r:this.requestConfig.headers={[e]:r},this}setEndpoint(e){return this.url=e,this}}const QT=async t=>{const{query:e,variables:r,fetchOptions:n}=t,i=bSe(uSe(t.method??"post")),o=Array.isArray(t.query),a=await i(t),s=await SSe(a,n.jsonSerializer??K2),l=Array.isArray(s)?!s.some(({data:d})=>!d):!!s.data,c=Array.isArray(s)||!s.errors||Array.isArray(s.errors)&&!s.errors.length||n.errorPolicy==="all"||n.errorPolicy==="ignore";if(a.ok&&c&&l){const{errors:d,...p}=(Array.isArray(s),s),g=n.errorPolicy==="ignore"?p:s;return{...o?{data:g}:g,headers:a.headers,status:a.status}}else{const d=typeof s=="string"?{error:s}:s;throw new Rv({...d,status:a.status,headers:a.headers},{query:e,variables:r})}},wSe=(t,e,r,n)=>{const i=n??K2;if(!Array.isArray(t))return i.stringify({query:t,variables:e,operationName:r});if(typeof e<"u"&&!Array.isArray(e))throw new Error("Cannot create request body with given variable type, array expected");const o=t.reduce((a,s,l)=>(a.push({query:s,variables:e?e[l]:void 0}),a),[]);return i.stringify(o)},SSe=async(t,e)=>{let r;return t.headers.forEach((n,i)=>{i.toLowerCase()==="content-type"&&(r=n)}),r&&(r.toLowerCase().startsWith("application/json")||r.toLowerCase().startsWith("application/graphql+json")||r.toLowerCase().startsWith("application/graphql-response+json"))?e.parse(await t.text()):t.text()},VT=t=>typeof t=="function"?t():t;Ae`
|
|
149
|
+
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a||RR.set(i,a=new Set),a.add(o),e.has(o)||(e.add(o),r.push(n))}else r.push(n)}),ge(ge({},t),{definitions:r})}function g1e(t){var e=new Set(t.definitions);e.forEach(function(n){n.loc&&delete n.loc,Object.keys(n).forEach(function(i){var o=n[i];o&&typeof o=="object"&&e.add(o)})});var r=t.loc;return r&&(delete r.startToken,delete r.endToken),t}function m1e(t){var e=JH(t);if(!w1.has(e)){var r=YU(t,{experimentalFragmentVariables:gS,allowLegacyFragmentVariables:gS});if(!r||r.kind!=="Document")throw new Error("Not a valid GraphQL document.");w1.set(e,g1e(p1e(r)))}return w1.get(e)}function Ae(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];typeof t=="string"&&(t=[t]);var n=t[0];return e.forEach(function(i,o){i&&i.kind==="Document"?n+=i.loc.source.body:n+=i,n+=t[o+1]}),m1e(n)}function v1e(){w1.clear(),RR.clear()}function y1e(){KH=!1}function b1e(){gS=!0}function O1e(){gS=!1}var Am={gql:Ae,resetCaches:v1e,disableFragmentWarnings:y1e,enableExperimentalFragmentVariables:b1e,disableExperimentalFragmentVariables:O1e};(function(t){t.gql=Am.gql,t.resetCaches=Am.resetCaches,t.disableFragmentWarnings=Am.disableFragmentWarnings,t.enableExperimentalFragmentVariables=Am.enableExperimentalFragmentVariables,t.disableExperimentalFragmentVariables=Am.disableExperimentalFragmentVariables})(Ae||(Ae={}));Ae.default=Ae;var DT={exports:{}},t4;function w1e(){return t4||(t4=1,function(t){t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,ob())}(DT)),DT.exports}var xu=w1e();const S1e=Uu(xu),x1e=yx({__proto__:null,default:S1e},[xu]);var r4=R2?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function P1e(){xt("createContext"in x1e,45);var t=xu.createContext[r4];return t||(Object.defineProperty(xu.createContext,r4,{value:t=xu.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t}var k1e=function(t){var e=t.client,r=t.children,n=P1e(),i=xu.useContext(n),o=xu.useMemo(function(){return ge(ge({},i),{client:e||i.client})},[i,e]);return xt(o.client,46),xu.createElement(n.Provider,{value:o},r)};function C1e(t){return new Cc(function(e,r){var n=pc(e,[]);return new Nr(function(i){var o,a=!1;return Promise.resolve(n).then(function(s){return t(s,e.getContext())}).then(e.setContext).then(function(){a||(o=r(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})})}function eX(t){return new Cc(function(e,r){return new Nr(function(n){var i,o,a;try{i=r(e).subscribe({next:function(s){if(s.errors&&(a=t({graphQLErrors:s.errors,response:s,operation:e,forward:r}),a)){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(s)},error:function(s){if(a=t({operation:e,networkError:s,graphQLErrors:s&&s.result&&s.result.errors,forward:r}),a){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(s)},complete:function(){a||n.complete.bind(n)()}})}catch(s){t({networkError:s,operation:e,forward:r}),n.error(s)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}(function(t){Ts(e,t);function e(r){var n=t.call(this)||this;return n.link=eX(r),n}return e.prototype.request=function(r,n){return this.link.request(r,n)},e})(Cc);const T1e={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"f1f9aa5",MODE:"production",PACKAGE_VERSION:"2.0.0",PROD:!0,REACT_APP_ENDPOINT_HOST:"",REACT_APP_ENDPOINT_PORT:"",REACT_APP_ENDPOINT_SERVER_URL:"/endpoint",REACT_APP_GRAPHQL_SERVER_URL:"/graphql",REACT_APP_SWAGGER_SERVER_URL:"/api",SSR:!1},E1e=t=>{var n;const e=(n=window.__env__)==null?void 0:n[t],r=T1e[t];return e||r},H2="/",tX="sandbox",Nf="login",rX="logout",hP="signup",nX="username",iX="github",oX="google",aX="completed",_1e="confirm",Pu="app",ku=":organizationId",Cu=":projectName",Tu=":branchName",pP="-/draft",sX="-/:revisionId",_v=":tableId",lX=":rowId";var dn=(t=>(t.Organization="organization",t.Project="project",t.Branch="branch",t.DraftRevision="draftRevision",t.HeadRevision="headRevision",t.SpecificRevision="specificRevision",t.DraftTable="draftTable",t.HeadTable="headTable",t.SpecificTable="specificTable",t.DraftRow="draftRow",t.HeadRow="headRow",t.SpecificRow="specificRow",t))(dn||{});const gg=({hideSidebar:t,sidebar:e,title:r,actions:n,children:i})=>P.jsxs(Te,{minHeight:"100vh",children:[!t&&P.jsxs(Te,{backgroundColor:"gray.50",borderRight:"1px solid",borderRightColor:"gray.200",flexDirection:"column",justifyContent:e?"space-between":"flex-end",padding:"1rem",width:"250px",height:"100vh",top:0,position:"sticky",children:[P.jsx(ze,{children:e}),P.jsx(ze,{alignSelf:"center",children:P.jsx(Ua,{to:`/${rX}`,children:P.jsx(gb,{color:"gray.400",alignSelf:"center",children:"Logout"})})})]}),P.jsxs(Te,{alignItems:"center",flex:1,flexDirection:"column",width:"100%",children:[(r||n)&&P.jsxs(Te,{alignItems:"center",backgroundColor:"white",borderBottom:"1px solid",borderBottomColor:"gray.50",justifyContent:"space-between",maxWidth:"900px",padding:"8px",width:"100%",position:"sticky",zIndex:1,top:0,children:[r,n]}),P.jsx(Te,{flex:1,flexDirection:"column",maxWidth:"900px",padding:"1rem 1rem 0rem 1rem",width:"100%",children:i})]})]});var cX={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},n4=Qe.createContext&&Qe.createContext(cX),R1e=["attr","size","title"];function I1e(t,e){if(t==null)return{};var r=$1e(t,e),n,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}function $1e(t,e){if(t==null)return{};var r={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)){if(e.indexOf(n)>=0)continue;r[n]=t[n]}return r}function mS(){return mS=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},mS.apply(this,arguments)}function i4(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable})),r.push.apply(r,n)}return r}function vS(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?i4(Object(r),!0).forEach(function(n){A1e(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i4(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function A1e(t,e,r){return e=M1e(e),e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function M1e(t){var e=N1e(t,"string");return typeof e=="symbol"?e:e+""}function N1e(t,e){if(typeof t!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var n=r.call(t,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function uX(t){return t&&t.map((e,r)=>Qe.createElement(e.tag,vS({key:r},e.attr),uX(e.child)))}function er(t){return e=>Qe.createElement(j1e,mS({attr:vS({},t.attr)},e),uX(t.child))}function j1e(t){var e=r=>{var{attr:n,size:i,title:o}=t,a=I1e(t,R1e),s=i||r.size||"1em",l;return r.className&&(l=r.className),t.className&&(l=(l?l+" ":"")+t.className),Qe.createElement("svg",mS({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,a,{className:l,style:vS(vS({color:t.color||r.color},r.style),t.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Qe.createElement("title",null,o),t.children)};return n4!==void 0?Qe.createElement(n4.Consumer,null,r=>e(r)):e(cX)}function dX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a100,100,0,0,1-98.66,100H128a99.39,99.39,0,0,1-68.62-27.29,12,12,0,0,1,16.48-17.45,76,76,0,1,0-1.57-109c-.13.13-.25.25-.39.37L54.89,92H72a12,12,0,0,1,0,24H24a12,12,0,0,1-12-12V56a12,12,0,0,1,24,0V76.72L57.48,57.06A100,100,0,0,1,228,128Z"},child:[]}]})(t)}function fX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"},child:[]}]})(t)}function D1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M108,60A16,16,0,1,1,92,44,16,16,0,0,1,108,60Zm56,16a16,16,0,1,0-16-16A16,16,0,0,0,164,76ZM92,112a16,16,0,1,0,16,16A16,16,0,0,0,92,112Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,112ZM92,180a16,16,0,1,0,16,16A16,16,0,0,0,92,180Zm72,0a16,16,0,1,0,16,16A16,16,0,0,0,164,180Z"},child:[]}]})(t)}function L1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M112,60a16,16,0,1,1,16,16A16,16,0,0,1,112,60Zm16,52a16,16,0,1,0,16,16A16,16,0,0,0,128,112Zm0,68a16,16,0,1,0,16,16A16,16,0,0,0,128,180Z"},child:[]}]})(t)}function Q1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},child:[]}]})(t)}function X2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M156,128a28,28,0,1,1-28-28A28,28,0,0,1,156,128Z"},child:[]}]})(t)}function hX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,104v8a56.06,56.06,0,0,1-48.44,55.47A39.8,39.8,0,0,1,176,192v40a8,8,0,0,1-8,8H104a8,8,0,0,1-8-8V216H72a40,40,0,0,1-40-40A24,24,0,0,0,8,152a8,8,0,0,1,0-16,40,40,0,0,1,40,40,24,24,0,0,0,24,24H96v-8a39.8,39.8,0,0,1,8.44-24.53A56.06,56.06,0,0,1,56,112v-8a58.14,58.14,0,0,1,7.69-28.32A59.78,59.78,0,0,1,69.07,28,8,8,0,0,1,76,24a59.75,59.75,0,0,1,48,24h24a59.75,59.75,0,0,1,48-24,8,8,0,0,1,6.93,4,59.74,59.74,0,0,1,5.37,47.68A58,58,0,0,1,216,104Z"},child:[]}]})(t)}function pX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104,104,0,0,0,128,24Zm0,184A80,80,0,1,1,181.34,68.37a8,8,0,0,1-10.67,11.92A64,64,0,1,0,191.5,136H128a8,8,0,0,1,0-16h72a8,8,0,0,1,8,8A80.09,80.09,0,0,1,128,208Z"},child:[]}]})(t)}function V1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"},child:[]}]})(t)}function Z2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,32H88a8,8,0,0,0-8,8V80H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H168a8,8,0,0,0,8-8V176h40a8,8,0,0,0,8-8V40A8,8,0,0,0,216,32ZM160,208H48V96H160Zm48-48H176V88a8,8,0,0,0-8-8H96V48H208Z"},child:[]}]})(t)}function o4(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm56-12a12,12,0,1,0,12,12A12,12,0,0,0,196,116ZM60,116a12,12,0,1,0,12,12A12,12,0,0,0,60,116Z"},child:[]}]})(t)}function F1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"},child:[]}]})(t)}function gP(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,80a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Zm88-29.84q.06-2.16,0-4.32l14.92-18.64a8,8,0,0,0,1.48-7.06,107.21,107.21,0,0,0-10.88-26.25,8,8,0,0,0-6-3.93l-23.72-2.64q-1.48-1.56-3-3L186,40.54a8,8,0,0,0-3.94-6,107.71,107.71,0,0,0-26.25-10.87,8,8,0,0,0-7.06,1.49L130.16,40Q128,40,125.84,40L107.2,25.11a8,8,0,0,0-7.06-1.48A107.6,107.6,0,0,0,73.89,34.51a8,8,0,0,0-3.93,6L67.32,64.27q-1.56,1.49-3,3L40.54,70a8,8,0,0,0-6,3.94,107.71,107.71,0,0,0-10.87,26.25,8,8,0,0,0,1.49,7.06L40,125.84Q40,128,40,130.16L25.11,148.8a8,8,0,0,0-1.48,7.06,107.21,107.21,0,0,0,10.88,26.25,8,8,0,0,0,6,3.93l23.72,2.64q1.49,1.56,3,3L70,215.46a8,8,0,0,0,3.94,6,107.71,107.71,0,0,0,26.25,10.87,8,8,0,0,0,7.06-1.49L125.84,216q2.16.06,4.32,0l18.64,14.92a8,8,0,0,0,7.06,1.48,107.21,107.21,0,0,0,26.25-10.88,8,8,0,0,0,3.93-6l2.64-23.72q1.56-1.48,3-3L215.46,186a8,8,0,0,0,6-3.94,107.71,107.71,0,0,0,10.87-26.25,8,8,0,0,0-1.49-7.06Zm-16.1-6.5a73.93,73.93,0,0,1,0,8.68,8,8,0,0,0,1.74,5.48l14.19,17.73a91.57,91.57,0,0,1-6.23,15L187,173.11a8,8,0,0,0-5.1,2.64,74.11,74.11,0,0,1-6.14,6.14,8,8,0,0,0-2.64,5.1l-2.51,22.58a91.32,91.32,0,0,1-15,6.23l-17.74-14.19a8,8,0,0,0-5-1.75h-.48a73.93,73.93,0,0,1-8.68,0,8,8,0,0,0-5.48,1.74L100.45,215.8a91.57,91.57,0,0,1-15-6.23L82.89,187a8,8,0,0,0-2.64-5.1,74.11,74.11,0,0,1-6.14-6.14,8,8,0,0,0-5.1-2.64L46.43,170.6a91.32,91.32,0,0,1-6.23-15l14.19-17.74a8,8,0,0,0,1.74-5.48,73.93,73.93,0,0,1,0-8.68,8,8,0,0,0-1.74-5.48L40.2,100.45a91.57,91.57,0,0,1,6.23-15L69,82.89a8,8,0,0,0,5.1-2.64,74.11,74.11,0,0,1,6.14-6.14A8,8,0,0,0,82.89,69L85.4,46.43a91.32,91.32,0,0,1,15-6.23l17.74,14.19a8,8,0,0,0,5.48,1.74,73.93,73.93,0,0,1,8.68,0,8,8,0,0,0,5.48-1.74L155.55,40.2a91.57,91.57,0,0,1,15,6.23L173.11,69a8,8,0,0,0,2.64,5.1,74.11,74.11,0,0,1,6.14,6.14,8,8,0,0,0,5.1,2.64l22.58,2.51a91.32,91.32,0,0,1,6.23,15l-14.19,17.74A8,8,0,0,0,199.87,123.66Z"},child:[]}]})(t)}function B1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"},child:[]}]})(t)}function Ab(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"},child:[]}]})(t)}function z1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"},child:[]}]})(t)}function q1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-86.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L124,158.34V88a4,4,0,0,1,8,0v70.34l25.17-25.17A4,4,0,0,1,162.83,133.17Z"},child:[]}]})(t)}function W1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm42.83-94.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66-5.66L158.34,132H88a4,4,0,0,1,0-8h70.34L133.17,98.83a4,4,0,0,1,5.66-5.66Z"},child:[]}]})(t)}function U1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"},child:[]}]})(t)}function H1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"},child:[]}]})(t)}function X1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M35.89,128C52,136.23,52,155.64,52,172c0,24.8,1.35,40,28,40a4,4,0,0,1,0,8c-36,0-36-26.61-36-48,0-24.8-1.35-40-28-40a4,4,0,0,1,0-8c26.65,0,28-15.2,28-40,0-21.39,0-48,36-48a4,4,0,0,1,0,8C53.35,44,52,59.2,52,84,52,100.36,52,119.77,35.89,128ZM240,124c-26.65,0-28-15.2-28-40,0-21.39,0-48-36-48a4,4,0,0,0,0,8c26.65,0,28,15.2,28,40,0,16.36,0,35.77,16.11,44C204,136.23,204,155.64,204,172c0,24.8-1.35,40-28,40a4,4,0,0,0,0,8c36,0,36-26.61,36-48,0-24.8,1.35-40,28-40a4,4,0,0,0,0-8Z"},child:[]}]})(t)}function Z1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"},child:[]}]})(t)}function G1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M155.87,36.06a4,4,0,0,1-3.87,3,4.29,4.29,0,0,1-1-.13,92,92,0,0,0-46,0,4,4,0,0,1-2-7.74,100.09,100.09,0,0,1,50,0A4,4,0,0,1,155.87,36.06ZM56.65,57.94a100.18,100.18,0,0,0-25,43.29,4,4,0,0,0,7.71,2.14,92.06,92.06,0,0,1,23-39.82,4,4,0,1,0-5.7-5.61ZM39.36,152.62a4,4,0,0,0-7.71,2.14,100.08,100.08,0,0,0,25,43.31,4,4,0,1,0,5.71-5.61A91.91,91.91,0,0,1,39.36,152.62ZM151,217.09a92,92,0,0,1-46,0,4,4,0,0,0-2,7.75,100,100,0,0,0,50,0,4,4,0,1,0-2-7.74Zm70.58-67.25a4,4,0,0,0-4.92,2.79,92.12,92.12,0,0,1-23,39.82,4,4,0,1,0,5.7,5.61,100.18,100.18,0,0,0,25-43.29A4,4,0,0,0,221.58,149.84Zm-4.94-46.46a4,4,0,0,0,7.71-2.14,100.08,100.08,0,0,0-25-43.31,4,4,0,1,0-5.71,5.61A91.91,91.91,0,0,1,216.64,103.38Z"},child:[]}]})(t)}function a4(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Z"},child:[]}]})(t)}function Y1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M192.14,42.55C174.94,33.17,152.16,28,128,28S81.06,33.17,63.86,42.55C45.89,52.35,36,65.65,36,80v96c0,14.35,9.89,27.65,27.86,37.45,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c18-9.8,27.86-23.1,27.86-37.45V80C220,65.65,210.11,52.35,192.14,42.55ZM212,176c0,11.29-8.41,22.1-23.69,30.43C172.27,215.18,150.85,220,128,220s-44.27-4.82-60.31-13.57C52.41,198.1,44,187.29,44,176V149.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm0-48c0,11.29-8.41,22.1-23.69,30.43C172.27,167.18,150.85,172,128,172s-44.27-4.82-60.31-13.57C52.41,150.1,44,139.29,44,128V101.48c4.69,5.93,11.37,11.34,19.86,16,17.2,9.38,40,14.55,64.14,14.55s46.94-5.17,64.14-14.55c8.49-4.63,15.17-10,19.86-16Zm-23.69-17.57C172.27,119.18,150.85,124,128,124s-44.27-4.82-60.31-13.57C52.41,102.1,44,91.29,44,80s8.41-22.1,23.69-30.43C83.73,40.82,105.15,36,128,36s44.27,4.82,60.31,13.57C203.59,57.9,212,68.71,212,80S203.59,102.1,188.31,110.43Z"},child:[]}]})(t)}function K1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,100a28,28,0,1,0,28,28A28,28,0,0,0,128,100Zm0,48a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"},child:[]}]})(t)}function J1e(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"},child:[]}]})(t)}function gX(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M236,88.12a50.44,50.44,0,0,1-14.81,34.31l-34.75,34.74A50.33,50.33,0,0,1,150.62,172h-.05A50.63,50.63,0,0,1,100,120a4,4,0,0,1,4-3.89h.11a4,4,0,0,1,3.89,4.11A42.64,42.64,0,0,0,150.58,164h0a42.32,42.32,0,0,0,30.14-12.49l34.75-34.74a42.63,42.63,0,1,0-60.29-60.28l-11,11a4,4,0,0,1-5.66-5.65l11-11A50.64,50.64,0,0,1,236,88.12ZM111.78,188.49l-11,11A42.33,42.33,0,0,1,70.6,212h0a42.63,42.63,0,0,1-30.11-72.77l34.75-34.74A42.63,42.63,0,0,1,148,135.82a4,4,0,0,0,8,.23A50.64,50.64,0,0,0,69.55,98.83L34.8,133.57A50.63,50.63,0,0,0,70.56,220h0a50.33,50.33,0,0,0,35.81-14.83l11-11a4,4,0,1,0-5.65-5.66Z"},child:[]}]})(t)}function eSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M234.83,21.17a4,4,0,0,0-5.66,0L173.94,76.4l-8.2-8.2a28,28,0,0,0-39.6,0L100,94.34l-9.17-9.17a4,4,0,0,0-5.66,5.66L94.34,100,68.2,126.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L82.06,179.6l8.2,8.2a28,28,0,0,0,39.6,0L156,161.66l9.17,9.17a4,4,0,0,0,5.66-5.66L161.66,156l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,55.23-55.23A4,4,0,0,0,234.83,21.17Zm-110.63,161a20,20,0,0,1-28.28,0L73.86,160.08a20,20,0,0,1,0-28.28L100,105.66,150.34,156Zm57.94-57.94L156,150.34,105.66,100,131.8,73.86a20,20,0,0,1,28.28,0l22.06,22.06A20,20,0,0,1,182.14,124.2ZM92.29,33.49a4,4,0,1,1,7.42-3l8,20a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,104,56a4,4,0,0,1-3.71-2.51Zm-64,61a4,4,0,0,1,5.2-2.22l20,8A4,4,0,0,1,52,108a3.91,3.91,0,0,1-1.49-.29l-20-8A4,4,0,0,1,28.29,94.51Zm199.42,67A4,4,0,0,1,224,164a3.91,3.91,0,0,1-1.49-.29l-20-8a4,4,0,1,1,3-7.42l20,8A4,4,0,0,1,227.71,161.49Zm-64,61a4,4,0,0,1-2.22,5.2A3.91,3.91,0,0,1,160,228a4,4,0,0,1-3.71-2.51l-8-20a4,4,0,0,1,7.42-3Z"},child:[]}]})(t)}function tSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M146.83,141.17a4,4,0,0,0-5.66,0L120,162.34,93.66,136l21.17-21.17a4,4,0,0,0-5.66-5.66L88,130.34,66.83,109.17a4,4,0,0,0-5.66,5.66L70.34,124,44.2,150.14a28,28,0,0,0,0,39.6l8.2,8.2L21.17,229.17a4,4,0,0,0,5.66,5.66L58.06,203.6l8.2,8.2a28,28,0,0,0,39.6,0L132,185.66l9.17,9.17a4,4,0,0,0,5.66-5.66L125.66,168l21.17-21.17A4,4,0,0,0,146.83,141.17Zm-46.63,65a20,20,0,0,1-28.28,0L49.86,184.08a20,20,0,0,1,0-28.28L76,129.66,126.34,180Zm134.63-185a4,4,0,0,0-5.66,0L197.94,52.4l-8.2-8.2a28,28,0,0,0-39.6,0L124,70.34l-9.17-9.17a4,4,0,0,0-5.66,5.66l80,80a4,4,0,0,0,5.66-5.66L185.66,132l26.14-26.14a28,28,0,0,0,0-39.6l-8.2-8.2,31.23-31.23A4,4,0,0,0,234.83,21.17ZM212,86.06a19.86,19.86,0,0,1-5.86,14.14L180,126.34,129.66,76,155.8,49.86a20,20,0,0,1,28.28,0l22.06,22.06A19.85,19.85,0,0,1,212,86.06Z"},child:[]}]})(t)}function rSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M234.83,109.17l-80-80A4,4,0,0,0,148,32V76.09c-54,2.44-120.43,53.55-127.94,119a7.87,7.87,0,0,0,4.58,8.16,8,8,0,0,0,3.41.77,7.9,7.9,0,0,0,5.79-2.55h0c11.53-12.27,53.29-51.73,114.16-53.4V192a4,4,0,0,0,6.83,2.83l80-80A4,4,0,0,0,234.83,109.17ZM156,182.33V144a4,4,0,0,0-4-4c-27.39,0-54.08,7.17-79.34,21.3A189.91,189.91,0,0,0,28,196l2.92,2.74L28,196c3.36-29.21,19.55-57.48,45.6-79.57C97.53,96.11,126.83,84,152,84a4,4,0,0,0,4-4V41.66L226.34,112Z"},child:[]}]})(t)}function nSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M176,148h32a12,12,0,0,0,12-12V104a12,12,0,0,0-12-12H176a12,12,0,0,0-12,12v12H84V76H96a12,12,0,0,0,12-12V32A12,12,0,0,0,96,20H64A12,12,0,0,0,52,32V64A12,12,0,0,0,64,76H76V192a20,20,0,0,0,20,20h68v12a12,12,0,0,0,12,12h32a12,12,0,0,0,12-12V192a12,12,0,0,0-12-12H176a12,12,0,0,0-12,12v12H96a12,12,0,0,1-12-12V124h80v12A12,12,0,0,0,176,148ZM60,64V32a4,4,0,0,1,4-4H96a4,4,0,0,1,4,4V64a4,4,0,0,1-4,4H64A4,4,0,0,1,60,64ZM172,192a4,4,0,0,1,4-4h32a4,4,0,0,1,4,4v32a4,4,0,0,1-4,4H176a4,4,0,0,1-4-4Zm0-88a4,4,0,0,1,4-4h32a4,4,0,0,1,4,4v32a4,4,0,0,1-4,4H176a4,4,0,0,1-4-4Z"},child:[]}]})(t)}function iSe(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M236,136v64a12,12,0,0,1-12,12H32a12,12,0,0,1-12-12V136a12,12,0,0,1,12-12H80a4,4,0,0,1,0,8H32a4,4,0,0,0-4,4v64a4,4,0,0,0,4,4H224a4,4,0,0,0,4-4V136a4,4,0,0,0-4-4H176a4,4,0,0,1,0-8h48A12,12,0,0,1,236,136ZM82.83,74.83,124,33.66V128a4,4,0,0,0,8,0V33.66l41.17,41.17a4,4,0,1,0,5.66-5.66l-48-48a4,4,0,0,0-5.66,0l-48,48a4,4,0,0,0,5.66,5.66ZM196,168a8,8,0,1,0-8,8A8,8,0,0,0,196,168Z"},child:[]}]})(t)}function G2(t){return er({attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"},child:[]}]})(t)}const sl=({height:t="2.5rem",title:e,onClick:r,disabled:n,isSelected:i,isLoading:o,icon:a,dataTestId:s})=>P.jsx(ag,{"data-testid":s,_hover:{color:"gray.400",backgroundColor:"white"},_disabled:i?{backgroundColor:"gray.50",cursor:"not-allowed"}:void 0,alignSelf:"flex-start",color:"gray.300",fontWeight:"500",fontSize:16,height:t,disabled:n||i,loading:o,variant:"ghost",onClick:r,children:P.jsxs(Te,{alignItems:"center",gap:"0.5rem",children:[a&&P.jsx(sg,{size:"sm",children:a}),P.jsx(dt,{children:e})]})}),mg=t=>P.jsx(sl,{...t,icon:P.jsx(Q1e,{})}),Mb=({height:t="2.5rem",loading:e,isDisabled:r,onClick:n,title:i,dataTestId:o})=>P.jsxs(ag,{"data-testid":o,_hover:{backgroundColor:"gray.50"},alignSelf:"flex-start",color:"gray.400",height:t,loading:e,disabled:r,variant:"ghost",onClick:n,width:"48px",children:[P.jsx(sg,{size:"sm",mr:i?8:0,children:P.jsx(fX,{})}),i]}),Nb=({height:t="2.5rem",onClick:e,disabled:r,dataTestId:n})=>P.jsx(ag,{"data-testid":n,disabled:r,_hover:{backgroundColor:"gray.50"},alignSelf:"flex-start",color:"gray.400",height:t,variant:"ghost",onClick:e,width:"48px",children:P.jsx(sg,{size:"md",children:P.jsx(z1e,{})})}),mX=({dataTestId:t,...e})=>P.jsx(Ti,{"data-testid":t,_hover:{backgroundColor:"gray.100"},color:"gray.400",variant:"ghost",size:"lg",width:"40px",height:"40px",...e,children:P.jsx(L1e,{})}),oSe=({dataTestId:t,...e})=>P.jsx(Ti,{"data-testid":t,_hover:{backgroundColor:"gray.50"},color:"gray.400",variant:"ghost",size:"sm",...e,children:P.jsx(gP,{})}),nc=({value:t,placeholder:e,autoFocus:r,onChange:n,onBlur:i,onEnter:o,width:a,height:s,type:l,dataTestId:c,autoComplete:d})=>{const p=yX();return P.jsx(tW,{autoComplete:d,"data-testid":c,borderColor:"gray.100",padding:"0 9px",placeholder:e,ref:r?p:void 0,value:t,variant:"outline",onChange:n,onBlur:i,width:a,height:s,type:l,onKeyDown:o?g=>{g.key==="Enter"&&o()}:void 0})},ef=rde({placement:"top",pauseOnPageIdle:!0}),s4=()=>P.jsx(Ku,{children:P.jsx(Jge,{toaster:ef,insetInline:{mdDown:"4"},children:t=>P.jsxs(eme,{width:{md:"sm"},children:[t.type==="loading"?P.jsx(Bx,{size:"sm",color:"blue.solid"}):P.jsx(ame,{}),P.jsxs(K9,{gap:"1",flex:"1",maxWidth:"100%",children:[t.title&&P.jsx(rme,{children:t.title}),t.description&&P.jsx(nme,{children:t.description})]}),t.action&&P.jsx(ime,{children:t.action.label}),t.closable&&P.jsx(tme,{})]})})}),vX=A.forwardRef(function(e,r){const{showArrow:n,children:i,disabled:o,portalled:a=!0,content:s,contentProps:l,portalRef:c,...d}=e;return o?i:P.jsxs(dW,{...d,children:[P.jsx(fW,{asChild:!0,children:i}),P.jsx(Ku,{disabled:!a,container:c,children:P.jsx(hW,{children:P.jsxs(pW,{ref:r,...l,children:[n&&P.jsx(sme,{children:P.jsx(gW,{})}),s]})})})]})}),aSe=$H({uri:E1e("REACT_APP_GRAPHQL_SERVER_URL")}),sSe=C1e(async()=>({headers:{Authorization:`Bearer ${localStorage.getItem("token")}`}})),lSe=eX(({graphQLErrors:t})=>{if(t)for(const e of t)ef.info({duration:3e3,description:e.message})}),_r=new YH({connectToDevTools:!0,link:hwe([sSe,lSe,aSe]),cache:new HH({typePolicies:{TableModel:{keyFields:["versionId"]},RowModel:{keyFields:["versionId"]}}}),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network"}}});_r.cache;const yX=()=>A.useCallback(t=>{t&&t.focus()},[]),jf=(t,...e)=>{const r=A.useRef(null),[n,i]=A.useState(e),o=A.useMemo(()=>n.length!==e.length||n.some((a,s)=>a!==e[s])?(i(e),e):n,[e,n]);return r.current||(r.current=ft.get(t)),A.useEffect(()=>{var s;const a=r.current;return(s=a==null?void 0:a.init)==null||s.call(a,...o),()=>{var l;(l=a==null?void 0:a.dispose)==null||l.call(a)}},[o]),r.current};class cSe{constructor(){fe(this,"registrations",new Map)}register(e,r,n){this.registrations.set(e,{factory:r,scope:n.scope})}get(e){const r=this.registrations.get(e);if(!r)throw new Error(`No provider found for ${e.name}`);return r.scope==="singleton"?(r.instance||(r.instance=r.factory()),r.instance):r.factory()}}const ft=new cSe;class Y2{constructor(e){fe(this,"values");this.values=e,lt(this,{},{autoBind:!0})}setValue(e,r){this.values[e]=r}get isValid(){return Object.values(this.values).every(e=>!!e)}}const K2=JSON,uSe=t=>t.toUpperCase(),dSe=t=>{const e={};return t.forEach((r,n)=>{e[n]=r}),e},fSe=(t,e,r)=>t.document?t:{document:t,variables:e,requestHeaders:r,signal:void 0},hSe=(t,e,r)=>t.query?t:{query:t,variables:e,requestHeaders:r,signal:void 0},pSe=(t,e)=>t.documents?t:{documents:t,requestHeaders:e,signal:void 0},l4=t=>{var n,i;let e;const r=t.definitions.filter(o=>o.kind==="OperationDefinition");return r.length===1&&(e=(i=(n=r[0])==null?void 0:n.name)==null?void 0:i.value),e},LT=t=>{if(typeof t=="string"){let r;try{const n=YU(t);r=l4(n)}catch{}return{query:t,operationName:r}}const e=l4(t);return{query:_2(t),operationName:e}};class Rv extends Error{constructor(e,r){const n=`${Rv.extractMessage(e)}: ${JSON.stringify({response:e,request:r})}`;super(n),Object.setPrototypeOf(this,Rv.prototype),this.response=e,this.request=r,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,Rv)}static extractMessage(e){var r,n;return((n=(r=e.errors)==null?void 0:r[0])==null?void 0:n.message)??`GraphQL Error (Code: ${e.status})`}}var av={exports:{}},gSe=av.exports,c4;function mSe(){return c4||(c4=1,function(t,e){var r=typeof self<"u"?self:gSe,n=function(){function o(){this.fetch=!1,this.DOMException=r.DOMException}return o.prototype=r,new o}();(function(o){(function(a){var s={searchParams:"URLSearchParams"in o,iterable:"Symbol"in o&&"iterator"in Symbol,blob:"FileReader"in o&&"Blob"in o&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in o,arrayBuffer:"ArrayBuffer"in o};function l(D){return D&&DataView.prototype.isPrototypeOf(D)}if(s.arrayBuffer)var c=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(D){return D&&c.indexOf(Object.prototype.toString.call(D))>-1};function p(D){if(typeof D!="string"&&(D=String(D)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(D))throw new TypeError("Invalid character in header field name");return D.toLowerCase()}function g(D){return typeof D!="string"&&(D=String(D)),D}function m(D){var F={next:function(){var Y=D.shift();return{done:Y===void 0,value:Y}}};return s.iterable&&(F[Symbol.iterator]=function(){return F}),F}function y(D){this.map={},D instanceof y?D.forEach(function(F,Y){this.append(Y,F)},this):Array.isArray(D)?D.forEach(function(F){this.append(F[0],F[1])},this):D&&Object.getOwnPropertyNames(D).forEach(function(F){this.append(F,D[F])},this)}y.prototype.append=function(D,F){D=p(D),F=g(F);var Y=this.map[D];this.map[D]=Y?Y+", "+F:F},y.prototype.delete=function(D){delete this.map[p(D)]},y.prototype.get=function(D){return D=p(D),this.has(D)?this.map[D]:null},y.prototype.has=function(D){return this.map.hasOwnProperty(p(D))},y.prototype.set=function(D,F){this.map[p(D)]=g(F)},y.prototype.forEach=function(D,F){for(var Y in this.map)this.map.hasOwnProperty(Y)&&D.call(F,this.map[Y],Y,this)},y.prototype.keys=function(){var D=[];return this.forEach(function(F,Y){D.push(Y)}),m(D)},y.prototype.values=function(){var D=[];return this.forEach(function(F){D.push(F)}),m(D)},y.prototype.entries=function(){var D=[];return this.forEach(function(F,Y){D.push([Y,F])}),m(D)},s.iterable&&(y.prototype[Symbol.iterator]=y.prototype.entries);function b(D){if(D.bodyUsed)return Promise.reject(new TypeError("Already read"));D.bodyUsed=!0}function O(D){return new Promise(function(F,Y){D.onload=function(){F(D.result)},D.onerror=function(){Y(D.error)}})}function S(D){var F=new FileReader,Y=O(F);return F.readAsArrayBuffer(D),Y}function w(D){var F=new FileReader,Y=O(F);return F.readAsText(D),Y}function k(D){for(var F=new Uint8Array(D),Y=new Array(F.length),ie=0;ie<F.length;ie++)Y[ie]=String.fromCharCode(F[ie]);return Y.join("")}function T(D){if(D.slice)return D.slice(0);var F=new Uint8Array(D.byteLength);return F.set(new Uint8Array(D)),F.buffer}function C(){return this.bodyUsed=!1,this._initBody=function(D){this._bodyInit=D,D?typeof D=="string"?this._bodyText=D:s.blob&&Blob.prototype.isPrototypeOf(D)?this._bodyBlob=D:s.formData&&FormData.prototype.isPrototypeOf(D)?this._bodyFormData=D:s.searchParams&&URLSearchParams.prototype.isPrototypeOf(D)?this._bodyText=D.toString():s.arrayBuffer&&s.blob&&l(D)?(this._bodyArrayBuffer=T(D.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(D)||d(D))?this._bodyArrayBuffer=T(D):this._bodyText=D=Object.prototype.toString.call(D):this._bodyText="",this.headers.get("content-type")||(typeof D=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):s.searchParams&&URLSearchParams.prototype.isPrototypeOf(D)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},s.blob&&(this.blob=function(){var D=b(this);if(D)return D;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(S)}),this.text=function(){var D=b(this);if(D)return D;if(this._bodyBlob)return w(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(k(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},s.formData&&(this.formData=function(){return this.text().then(M)}),this.json=function(){return this.text().then(JSON.parse)},this}var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function _(D){var F=D.toUpperCase();return E.indexOf(F)>-1?F:D}function $(D,F){F=F||{};var Y=F.body;if(D instanceof $){if(D.bodyUsed)throw new TypeError("Already read");this.url=D.url,this.credentials=D.credentials,F.headers||(this.headers=new y(D.headers)),this.method=D.method,this.mode=D.mode,this.signal=D.signal,!Y&&D._bodyInit!=null&&(Y=D._bodyInit,D.bodyUsed=!0)}else this.url=String(D);if(this.credentials=F.credentials||this.credentials||"same-origin",(F.headers||!this.headers)&&(this.headers=new y(F.headers)),this.method=_(F.method||this.method||"GET"),this.mode=F.mode||this.mode||null,this.signal=F.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&Y)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(Y)}$.prototype.clone=function(){return new $(this,{body:this._bodyInit})};function M(D){var F=new FormData;return D.trim().split("&").forEach(function(Y){if(Y){var ie=Y.split("="),H=ie.shift().replace(/\+/g," "),ne=ie.join("=").replace(/\+/g," ");F.append(decodeURIComponent(H),decodeURIComponent(ne))}}),F}function j(D){var F=new y,Y=D.replace(/\r?\n[\t ]+/g," ");return Y.split(/\r?\n/).forEach(function(ie){var H=ie.split(":"),ne=H.shift().trim();if(ne){var z=H.join(":").trim();F.append(ne,z)}}),F}C.call($.prototype);function B(D,F){F||(F={}),this.type="default",this.status=F.status===void 0?200:F.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in F?F.statusText:"OK",this.headers=new y(F.headers),this.url=F.url||"",this._initBody(D)}C.call(B.prototype),B.prototype.clone=function(){return new B(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new y(this.headers),url:this.url})},B.error=function(){var D=new B(null,{status:0,statusText:""});return D.type="error",D};var V=[301,302,303,307,308];B.redirect=function(D,F){if(V.indexOf(F)===-1)throw new RangeError("Invalid status code");return new B(null,{status:F,headers:{location:D}})},a.DOMException=o.DOMException;try{new a.DOMException}catch{a.DOMException=function(F,Y){this.message=F,this.name=Y;var ie=Error(F);this.stack=ie.stack},a.DOMException.prototype=Object.create(Error.prototype),a.DOMException.prototype.constructor=a.DOMException}function X(D,F){return new Promise(function(Y,ie){var H=new $(D,F);if(H.signal&&H.signal.aborted)return ie(new a.DOMException("Aborted","AbortError"));var ne=new XMLHttpRequest;function z(){ne.abort()}ne.onload=function(){var N={status:ne.status,statusText:ne.statusText,headers:j(ne.getAllResponseHeaders()||"")};N.url="responseURL"in ne?ne.responseURL:N.headers.get("X-Request-URL");var U="response"in ne?ne.response:ne.responseText;Y(new B(U,N))},ne.onerror=function(){ie(new TypeError("Network request failed"))},ne.ontimeout=function(){ie(new TypeError("Network request failed"))},ne.onabort=function(){ie(new a.DOMException("Aborted","AbortError"))},ne.open(H.method,H.url,!0),H.credentials==="include"?ne.withCredentials=!0:H.credentials==="omit"&&(ne.withCredentials=!1),"responseType"in ne&&s.blob&&(ne.responseType="blob"),H.headers.forEach(function(N,U){ne.setRequestHeader(U,N)}),H.signal&&(H.signal.addEventListener("abort",z),ne.onreadystatechange=function(){ne.readyState===4&&H.signal.removeEventListener("abort",z)}),ne.send(typeof H._bodyInit>"u"?null:H._bodyInit)})}return X.polyfill=!0,o.fetch||(o.fetch=X,o.Headers=y,o.Request=$,o.Response=B),a.Headers=y,a.Request=$,a.Response=B,a.fetch=X,Object.defineProperty(a,"__esModule",{value:!0}),a})({})})(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var i=n;e=i.fetch,e.default=i.fetch,e.fetch=i.fetch,e.Headers=i.Headers,e.Request=i.Request,e.Response=i.Response,t.exports=e}(av,av.exports)),av.exports}var yS=mSe();const S1=Uu(yS),vSe=yx({__proto__:null,default:S1},[yS]),Ph=t=>{let e={};return t&&(typeof Headers<"u"&&t instanceof Headers||vSe&&yS.Headers&&t instanceof yS.Headers?e=dSe(t):Array.isArray(t)?t.forEach(([r,n])=>{r&&n!==void 0&&(e[r]=n)}):e=t),e},u4=t=>t.replace(/([\s,]|#[^\n\r]+)+/g," ").trim(),ySe=t=>{if(!Array.isArray(t.query)){const n=t,i=[`query=${encodeURIComponent(u4(n.query))}`];return t.variables&&i.push(`variables=${encodeURIComponent(n.jsonSerializer.stringify(n.variables))}`),n.operationName&&i.push(`operationName=${encodeURIComponent(n.operationName)}`),i.join("&")}if(typeof t.variables<"u"&&!Array.isArray(t.variables))throw new Error("Cannot create query with given variable type, array expected");const e=t,r=t.query.reduce((n,i,o)=>(n.push({query:u4(i),variables:e.variables?e.jsonSerializer.stringify(e.variables[o]):void 0}),n),[]);return`query=${encodeURIComponent(e.jsonSerializer.stringify(r))}`},bSe=t=>async e=>{const{url:r,query:n,variables:i,operationName:o,fetch:a,fetchOptions:s,middleware:l}=e,c={...e.headers};let d="",p;t==="POST"?(p=wSe(n,i,o,s.jsonSerializer),typeof p=="string"&&(c["Content-Type"]="application/json")):d=ySe({query:n,variables:i,operationName:o,jsonSerializer:s.jsonSerializer??K2});const g={method:t,headers:c,body:p,...s};let m=r,y=g;if(l){const b=await Promise.resolve(l({...g,url:r,operationName:o,variables:i})),{url:O,...S}=b;m=O,y=S}return d&&(m=`${m}?${d}`),await a(m,y)};class OSe{constructor(e,r={}){this.url=e,this.requestConfig=r,this.rawRequest=async(...n)=>{const[i,o,a]=n,s=hSe(i,o,a),{headers:l,fetch:c=S1,method:d="POST",requestMiddleware:p,responseMiddleware:g,...m}=this.requestConfig,{url:y}=this;s.signal!==void 0&&(m.signal=s.signal);const{operationName:b}=LT(s.query);return QT({url:y,query:s.query,variables:s.variables,headers:{...Ph(VT(l)),...Ph(s.requestHeaders)},operationName:b,fetch:c,method:d,fetchOptions:m,middleware:p}).then(O=>(g&&g(O),O)).catch(O=>{throw g&&g(O),O})}}async request(e,...r){const[n,i]=r,o=fSe(e,n,i),{headers:a,fetch:s=S1,method:l="POST",requestMiddleware:c,responseMiddleware:d,...p}=this.requestConfig,{url:g}=this;o.signal!==void 0&&(p.signal=o.signal);const{query:m,operationName:y}=LT(o.document);return QT({url:g,query:m,variables:o.variables,headers:{...Ph(VT(a)),...Ph(o.requestHeaders)},operationName:y,fetch:s,method:l,fetchOptions:p,middleware:c}).then(b=>(d&&d(b),b.data)).catch(b=>{throw d&&d(b),b})}batchRequests(e,r){const n=pSe(e,r),{headers:i,...o}=this.requestConfig;n.signal!==void 0&&(o.signal=n.signal);const a=n.documents.map(({document:l})=>LT(l).query),s=n.documents.map(({variables:l})=>l);return QT({url:this.url,query:a,variables:s,headers:{...Ph(VT(i)),...Ph(n.requestHeaders)},operationName:void 0,fetch:this.requestConfig.fetch??S1,method:this.requestConfig.method||"POST",fetchOptions:o,middleware:this.requestConfig.requestMiddleware}).then(l=>(this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(l),l.data)).catch(l=>{throw this.requestConfig.responseMiddleware&&this.requestConfig.responseMiddleware(l),l})}setHeaders(e){return this.requestConfig.headers=e,this}setHeader(e,r){const{headers:n}=this.requestConfig;return n?n[e]=r:this.requestConfig.headers={[e]:r},this}setEndpoint(e){return this.url=e,this}}const QT=async t=>{const{query:e,variables:r,fetchOptions:n}=t,i=bSe(uSe(t.method??"post")),o=Array.isArray(t.query),a=await i(t),s=await SSe(a,n.jsonSerializer??K2),l=Array.isArray(s)?!s.some(({data:d})=>!d):!!s.data,c=Array.isArray(s)||!s.errors||Array.isArray(s.errors)&&!s.errors.length||n.errorPolicy==="all"||n.errorPolicy==="ignore";if(a.ok&&c&&l){const{errors:d,...p}=(Array.isArray(s),s),g=n.errorPolicy==="ignore"?p:s;return{...o?{data:g}:g,headers:a.headers,status:a.status}}else{const d=typeof s=="string"?{error:s}:s;throw new Rv({...d,status:a.status,headers:a.headers},{query:e,variables:r})}},wSe=(t,e,r,n)=>{const i=n??K2;if(!Array.isArray(t))return i.stringify({query:t,variables:e,operationName:r});if(typeof e<"u"&&!Array.isArray(e))throw new Error("Cannot create request body with given variable type, array expected");const o=t.reduce((a,s,l)=>(a.push({query:s,variables:e?e[l]:void 0}),a),[]);return i.stringify(o)},SSe=async(t,e)=>{let r;return t.headers.forEach((n,i)=>{i.toLowerCase()==="content-type"&&(r=n)}),r&&(r.toLowerCase().startsWith("application/json")||r.toLowerCase().startsWith("application/graphql+json")||r.toLowerCase().startsWith("application/graphql-response+json"))?e.parse(await t.text()):t.text()},VT=t=>typeof t=="function"?t():t;Ae`
|
|
150
150
|
fragment PageInfo on PageInfo {
|
|
151
151
|
startCursor
|
|
152
152
|
hasNextPage
|
|
@@ -694,7 +694,7 @@ this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):a
|
|
|
694
694
|
}
|
|
695
695
|
${nd}
|
|
696
696
|
${xl}
|
|
697
|
-
`,uxe=(t,e,r,n)=>t();function dxe(t,e=uxe){return{confirmEmailCode(r,n){return e(i=>t.request(TSe,r,{...n,...i}),"confirmEmailCode","mutation",r)},loginGithub(r,n){return e(i=>t.request(ESe,r,{...n,...i}),"loginGithub","mutation",r)},loginGoogle(r,n){return e(i=>t.request(_Se,r,{...n,...i}),"loginGoogle","mutation",r)},login(r,n){return e(i=>t.request(RSe,r,{...n,...i}),"login","mutation",r)},signUp(r,n){return e(i=>t.request(ISe,r,{...n,...i}),"signUp","mutation",r)},setUsername(r,n){return e(i=>t.request($Se,r,{...n,...i}),"setUsername","mutation",r)},configuration(r,n){return e(i=>t.request(ASe,r,{...n,...i}),"configuration","query",r)},getMe(r,n){return e(i=>t.request(MSe,r,{...n,...i}),"getMe","query",r)},CreateBranchByRevisionIdMst(r,n){return e(i=>t.request(NSe,r,{...n,...i}),"CreateBranchByRevisionIdMst","mutation",r)},CreateEndpointMst(r,n){return e(i=>t.request(jSe,r,{...n,...i}),"CreateEndpointMst","mutation",r)},CreateProjectMst(r,n){return e(i=>t.request(DSe,r,{...n,...i}),"CreateProjectMst","mutation",r)},CreateRevisionMst(r,n){return e(i=>t.request(LSe,r,{...n,...i}),"CreateRevisionMst","mutation",r)},CreateRowMst(r,n){return e(i=>t.request(QSe,r,{...n,...i}),"CreateRowMst","mutation",r)},CreateTableMst(r,n){return e(i=>t.request(VSe,r,{...n,...i}),"CreateTableMst","mutation",r)},DeleteEndpointMst(r,n){return e(i=>t.request(FSe,r,{...n,...i}),"DeleteEndpointMst","mutation",r)},DeleteProjectMst(r,n){return e(i=>t.request(BSe,r,{...n,...i}),"DeleteProjectMst","mutation",r)},DeleteRowMst(r,n){return e(i=>t.request(zSe,r,{...n,...i}),"DeleteRowMst","mutation",r)},DeleteTableMst(r,n){return e(i=>t.request(qSe,r,{...n,...i}),"DeleteTableMst","mutation",r)},RenameRowMst(r,n){return e(i=>t.request(WSe,r,{...n,...i}),"RenameRowMst","mutation",r)},RenameTableMst(r,n){return e(i=>t.request(USe,r,{...n,...i}),"RenameTableMst","mutation",r)},RevertChangesMst(r,n){return e(i=>t.request(HSe,r,{...n,...i}),"RevertChangesMst","mutation",r)},UpdateRowMst(r,n){return e(i=>t.request(XSe,r,{...n,...i}),"UpdateRowMst","mutation",r)},UpdateTableMst(r,n){return e(i=>t.request(ZSe,r,{...n,...i}),"UpdateTableMst","mutation",r)},BranchMst(r,n){return e(i=>t.request(GSe,r,{...n,...i}),"BranchMst","query",r)},BranchesMst(r,n){return e(i=>t.request(YSe,r,{...n,...i}),"BranchesMst","query",r)},GetRowCountForeignKeysTo(r,n){return e(i=>t.request(KSe,r,{...n,...i}),"GetRowCountForeignKeysTo","query",r)},meProjectsMst(r,n){return e(i=>t.request(JSe,r,{...n,...i}),"meProjectsMst","query",r)},ProjectMst(r,n){return e(i=>t.request(exe,r,{...n,...i}),"ProjectMst","query",r)},ProjectsMst(r,n){return e(i=>t.request(txe,r,{...n,...i}),"ProjectsMst","query",r)},RevisionMst(r,n){return e(i=>t.request(rxe,r,{...n,...i}),"RevisionMst","query",r)},RevisionsMst(r,n){return e(i=>t.request(nxe,r,{...n,...i}),"RevisionsMst","query",r)},RowForeignKeysBy(r,n){return e(i=>t.request(ixe,r,{...n,...i}),"RowForeignKeysBy","query",r)},RowMst(r,n){return e(i=>t.request(oxe,r,{...n,...i}),"RowMst","query",r)},RowsMst(r,n){return e(i=>t.request(axe,r,{...n,...i}),"RowsMst","query",r)},TableForeignKeysBy(r,n){return e(i=>t.request(sxe,r,{...n,...i}),"TableForeignKeysBy","query",r)},TableMst(r,n){return e(i=>t.request(lxe,r,{...n,...i}),"TableMst","query",r)},TablesMst(r,n){return e(i=>t.request(cxe,r,{...n,...i}),"TablesMst","query",r)}}}const fxe={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"
|
|
697
|
+
`,uxe=(t,e,r,n)=>t();function dxe(t,e=uxe){return{confirmEmailCode(r,n){return e(i=>t.request(TSe,r,{...n,...i}),"confirmEmailCode","mutation",r)},loginGithub(r,n){return e(i=>t.request(ESe,r,{...n,...i}),"loginGithub","mutation",r)},loginGoogle(r,n){return e(i=>t.request(_Se,r,{...n,...i}),"loginGoogle","mutation",r)},login(r,n){return e(i=>t.request(RSe,r,{...n,...i}),"login","mutation",r)},signUp(r,n){return e(i=>t.request(ISe,r,{...n,...i}),"signUp","mutation",r)},setUsername(r,n){return e(i=>t.request($Se,r,{...n,...i}),"setUsername","mutation",r)},configuration(r,n){return e(i=>t.request(ASe,r,{...n,...i}),"configuration","query",r)},getMe(r,n){return e(i=>t.request(MSe,r,{...n,...i}),"getMe","query",r)},CreateBranchByRevisionIdMst(r,n){return e(i=>t.request(NSe,r,{...n,...i}),"CreateBranchByRevisionIdMst","mutation",r)},CreateEndpointMst(r,n){return e(i=>t.request(jSe,r,{...n,...i}),"CreateEndpointMst","mutation",r)},CreateProjectMst(r,n){return e(i=>t.request(DSe,r,{...n,...i}),"CreateProjectMst","mutation",r)},CreateRevisionMst(r,n){return e(i=>t.request(LSe,r,{...n,...i}),"CreateRevisionMst","mutation",r)},CreateRowMst(r,n){return e(i=>t.request(QSe,r,{...n,...i}),"CreateRowMst","mutation",r)},CreateTableMst(r,n){return e(i=>t.request(VSe,r,{...n,...i}),"CreateTableMst","mutation",r)},DeleteEndpointMst(r,n){return e(i=>t.request(FSe,r,{...n,...i}),"DeleteEndpointMst","mutation",r)},DeleteProjectMst(r,n){return e(i=>t.request(BSe,r,{...n,...i}),"DeleteProjectMst","mutation",r)},DeleteRowMst(r,n){return e(i=>t.request(zSe,r,{...n,...i}),"DeleteRowMst","mutation",r)},DeleteTableMst(r,n){return e(i=>t.request(qSe,r,{...n,...i}),"DeleteTableMst","mutation",r)},RenameRowMst(r,n){return e(i=>t.request(WSe,r,{...n,...i}),"RenameRowMst","mutation",r)},RenameTableMst(r,n){return e(i=>t.request(USe,r,{...n,...i}),"RenameTableMst","mutation",r)},RevertChangesMst(r,n){return e(i=>t.request(HSe,r,{...n,...i}),"RevertChangesMst","mutation",r)},UpdateRowMst(r,n){return e(i=>t.request(XSe,r,{...n,...i}),"UpdateRowMst","mutation",r)},UpdateTableMst(r,n){return e(i=>t.request(ZSe,r,{...n,...i}),"UpdateTableMst","mutation",r)},BranchMst(r,n){return e(i=>t.request(GSe,r,{...n,...i}),"BranchMst","query",r)},BranchesMst(r,n){return e(i=>t.request(YSe,r,{...n,...i}),"BranchesMst","query",r)},GetRowCountForeignKeysTo(r,n){return e(i=>t.request(KSe,r,{...n,...i}),"GetRowCountForeignKeysTo","query",r)},meProjectsMst(r,n){return e(i=>t.request(JSe,r,{...n,...i}),"meProjectsMst","query",r)},ProjectMst(r,n){return e(i=>t.request(exe,r,{...n,...i}),"ProjectMst","query",r)},ProjectsMst(r,n){return e(i=>t.request(txe,r,{...n,...i}),"ProjectsMst","query",r)},RevisionMst(r,n){return e(i=>t.request(rxe,r,{...n,...i}),"RevisionMst","query",r)},RevisionsMst(r,n){return e(i=>t.request(nxe,r,{...n,...i}),"RevisionsMst","query",r)},RowForeignKeysBy(r,n){return e(i=>t.request(ixe,r,{...n,...i}),"RowForeignKeysBy","query",r)},RowMst(r,n){return e(i=>t.request(oxe,r,{...n,...i}),"RowMst","query",r)},RowsMst(r,n){return e(i=>t.request(axe,r,{...n,...i}),"RowsMst","query",r)},TableForeignKeysBy(r,n){return e(i=>t.request(sxe,r,{...n,...i}),"TableForeignKeysBy","query",r)},TableMst(r,n){return e(i=>t.request(lxe,r,{...n,...i}),"TableMst","query",r)},TablesMst(r,n){return e(i=>t.request(cxe,r,{...n,...i}),"TablesMst","query",r)}}}const fxe={BASE_URL:"/",DEV:!1,GIT_BRANCH_NAME:"HEAD",GIT_COMMIT_HASH:"f1f9aa5",MODE:"production",PACKAGE_VERSION:"2.0.0",PROD:!0,REACT_APP_ENDPOINT_HOST:"",REACT_APP_ENDPOINT_PORT:"",REACT_APP_ENDPOINT_SERVER_URL:"/endpoint",REACT_APP_GRAPHQL_SERVER_URL:"/graphql",REACT_APP_SWAGGER_SERVER_URL:"/api",SSR:!1};class bS{constructor(){}get(e){var i;const r=(i=window.__env__)==null?void 0:i[e],n=fxe[e];return r||n}}ft.register(bS,()=>new bS,{scope:"singleton"});class hl{constructor(e){fe(this,"graphQLClient");fe(this,"client");this.environmentService=e;const r=this.environmentService.get("REACT_APP_GRAPHQL_SERVER_URL");if(!r)throw new Error("Invalid REACT_APP_GRAPHQL_SERVER_URL");this.graphQLClient=new OSe(r,{responseMiddleware:n=>{var o;const i=(o=n.response)==null?void 0:o.errors[0].message;return i&&ef.info({duration:3e3,description:i}),n}}),this.client=dxe(this.graphQLClient)}setToken(e){this.graphQLClient.setHeaders(e?{Authorization:`Bearer ${e}`}:{})}}ft.register(hl,()=>{const t=ft.get(bS);return new hl(t)},{scope:"singleton"});const FT="token";class ho{constructor(e,r){fe(this,"isLoaded",!1);fe(this,"user",null);fe(this,"token",null);this.storage=e,this.apiService=r,lt(this),this.init()}async setToken(e){this.token=e,this.apiService.setToken(this.token),this.token&&await this.fetchMe()}async init(){await this.setToken(this.loadToken()),this.signToToken(),this.setIsChecked(!0)}loadToken(){return this.storage.getItem(FT)}async fetchMe(){try{const e=await this.apiService.client.getMe();this.user=e.me}catch(e){console.error(e),ry(()=>{this.token=null})}}setIsChecked(e){this.isLoaded=e}signToToken(){ol(()=>this.token,e=>{e?this.storage.setItem(FT,e):this.storage.removeItem(FT)})}logout(){this.token=null,this.user=null,this.apiService.setToken(null)}}ft.register(ho,()=>{const t=ft.get(hl);return new ho(localStorage,t)},{scope:"singleton"});class yf{constructor(e){fe(this,"isLoaded",!1);fe(this,"error",null);fe(this,"data",null);this.apiService=e,lt(this),this.init()}get availableSignUp(){return this.availableEmailSignUp||this.availableGoogleOauth||this.availableGithubOauth}get availableEmailSignUp(){var e;return(e=this.data)==null?void 0:e.availableEmailSignUp}get availableGoogleOauth(){var e;return!!((e=this.data)!=null&&e.google.available)}get googleOauthClientId(){var e,r;if(!((e=this.data)!=null&&e.google.clientId))throw new Error("Invalid Google client id");return(r=this.data)==null?void 0:r.google.clientId}get availableGithubOauth(){var e;return!!((e=this.data)!=null&&e.github.available)}get githubOauthClientId(){var e,r;if(!((e=this.data)!=null&&e.github.clientId))throw new Error("Invalid Github client id");return(r=this.data)==null?void 0:r.github.clientId}async init(){await this.request()}async request(){try{const e=await this.apiService.client.configuration();this.setData(e.configuration)}catch(e){this.setError(e),console.error(e)}finally{this.setIsLoaded(!0)}}setData(e){this.data=e}setError(e){this.error=e}setIsLoaded(e){this.isLoaded=e}}ft.register(yf,()=>{const t=ft.get(hl);return new yf(t)},{scope:"singleton"});class OS{constructor(e,r){this.authService=e,this.configurationService=r,lt(this)}get isLoaded(){return this.authService.isLoaded&&this.configurationService.isLoaded}}ft.register(OS,()=>{const t=ft.get(ho),e=ft.get(yf);return new OS(t,e)},{scope:"singleton"});var d4={},hxe="warn";function pxe(){return hxe}var ui;(function(t){t.afterCreate="afterCreate",t.afterAttach="afterAttach",t.afterCreationFinalization="afterCreationFinalization",t.beforeDetach="beforeDetach",t.beforeDestroy="beforeDestroy"})(ui||(ui={}));/*! *****************************************************************************
|
|
698
698
|
Copyright (c) Microsoft Corporation.
|
|
699
699
|
|
|
700
700
|
Permission to use, copy, modify, and/or distribute this software for any
|
package/dist/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Revisium</title>
|
|
8
8
|
<script type="text/javascript" src="/env.js"></script>
|
|
9
|
-
<script type="module" crossorigin src="/assets/index-
|
|
9
|
+
<script type="module" crossorigin src="/assets/index-3BS3Fr6K.js"></script>
|
|
10
10
|
<link rel="stylesheet" crossorigin href="/assets/index-2NW-IE9J.css">
|
|
11
11
|
</head>
|
|
12
12
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revisium/admin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Revisium is a tool (UI/API) inspired by JSON (JSON Schema) and Git, designed to provide a flexible and low-level headless CMS solution.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://revisium.io",
|