From 9a5924508cc91d61fb4c96957b8fe7f37fb23028 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 17 Mar 2025 22:40:30 +0900 Subject: fix base path --- docs/assets/index-CPK-VINy.js | 50 +++++++++++++++++++++++++++++++++++++++++++ docs/assets/index-CifHWjMi.js | 50 ------------------------------------------- docs/index.html | 6 +++--- 3 files changed, 53 insertions(+), 53 deletions(-) create mode 100644 docs/assets/index-CPK-VINy.js delete mode 100644 docs/assets/index-CifHWjMi.js (limited to 'docs') diff --git a/docs/assets/index-CPK-VINy.js b/docs/assets/index-CPK-VINy.js new file mode 100644 index 0000000..c1fa31e --- /dev/null +++ b/docs/assets/index-CPK-VINy.js @@ -0,0 +1,50 @@ +(function(){const N=document.createElement("link").relList;if(N&&N.supports&&N.supports("modulepreload"))return;for(const L of document.querySelectorAll('link[rel="modulepreload"]'))Z(L);new MutationObserver(L=>{for(const M of L)if(M.type==="childList")for(const D of M.addedNodes)D.tagName==="LINK"&&D.rel==="modulepreload"&&Z(D)}).observe(document,{childList:!0,subtree:!0});function m(L){const M={};return L.integrity&&(M.integrity=L.integrity),L.referrerPolicy&&(M.referrerPolicy=L.referrerPolicy),L.crossOrigin==="use-credentials"?M.credentials="include":L.crossOrigin==="anonymous"?M.credentials="omit":M.credentials="same-origin",M}function Z(L){if(L.ep)return;L.ep=!0;const M=m(L);fetch(L.href,M)}})();var _i={exports:{}},gr={},Ci={exports:{}},A={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pa;function Mf(){if(Pa)return A;Pa=1;var S=Symbol.for("react.element"),N=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),D=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),V=Symbol.iterator;function X(c){return c===null||typeof c!="object"?null:(c=V&&c[V]||c["@@iterator"],typeof c=="function"?c:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Me=Object.assign,ee={};function $(c,v,U){this.props=c,this.context=v,this.refs=ee,this.updater=U||G}$.prototype.isReactComponent={},$.prototype.setState=function(c,v){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,v,"setState")},$.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};function et(){}et.prototype=$.prototype;function Ae(c,v,U){this.props=c,this.context=v,this.refs=ee,this.updater=U||G}var Ye=Ae.prototype=new et;Ye.constructor=Ae,Me(Ye,$.prototype),Ye.isPureReactComponent=!0;var ve=Array.isArray,ze=Object.prototype.hasOwnProperty,ke={current:null},Ce={key:!0,ref:!0,__self:!0,__source:!0};function Te(c,v,U){var B,W={},K=null,ne=null;if(v!=null)for(B in v.ref!==void 0&&(ne=v.ref),v.key!==void 0&&(K=""+v.key),v)ze.call(v,B)&&!Ce.hasOwnProperty(B)&&(W[B]=v[B]);var J=arguments.length-2;if(J===1)W.children=U;else if(1>>1,v=k[c];if(0>>1;cL(W,_))KL(ne,W)?(k[c]=ne,k[K]=_,c=K):(k[c]=W,k[B]=_,c=B);else if(KL(ne,_))k[c]=ne,k[K]=_,c=K;else break e}}return j}function L(k,j){var _=k.sortIndex-j.sortIndex;return _!==0?_:k.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var M=performance;S.unstable_now=function(){return M.now()}}else{var D=Date,H=D.now();S.unstable_now=function(){return D.now()-H}}var I=[],b=[],te=1,V=null,X=3,G=!1,Me=!1,ee=!1,$=typeof setTimeout=="function"?setTimeout:null,et=typeof clearTimeout=="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ye(k){for(var j=m(b);j!==null;){if(j.callback===null)Z(b);else if(j.startTime<=k)Z(b),j.sortIndex=j.expirationTime,N(I,j);else break;j=m(b)}}function ve(k){if(ee=!1,Ye(k),!Me)if(m(I)!==null)Me=!0,Be(ze);else{var j=m(b);j!==null&&fe(ve,j.startTime-k)}}function ze(k,j){Me=!1,ee&&(ee=!1,et(Te),Te=-1),G=!0;var _=X;try{for(Ye(j),V=m(I);V!==null&&(!(V.expirationTime>j)||k&&!pe());){var c=V.callback;if(typeof c=="function"){V.callback=null,X=V.priorityLevel;var v=c(V.expirationTime<=j);j=S.unstable_now(),typeof v=="function"?V.callback=v:V===m(I)&&Z(I),Ye(j)}else Z(I);V=m(I)}if(V!==null)var U=!0;else{var B=m(b);B!==null&&fe(ve,B.startTime-j),U=!1}return U}finally{V=null,X=_,G=!1}}var ke=!1,Ce=null,Te=-1,Xe=5,ie=-1;function pe(){return!(S.unstable_now()-iek||125c?(k.sortIndex=_,N(b,k),m(I)===null&&k===m(b)&&(ee?(et(Te),Te=-1):ee=!0,fe(ve,_-c))):(k.sortIndex=v,N(I,k),Me||G||(Me=!0,Be(ze))),k},S.unstable_shouldYield=pe,S.unstable_wrapCallback=function(k){var j=X;return function(){var _=X;X=j;try{return k.apply(this,arguments)}finally{X=_}}}}(zi)),zi}var La;function Uf(){return La||(La=1,Ni.exports=If()),Ni.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var ja;function Af(){if(ja)return Ke;ja=1;var S=Ri(),N=Uf();function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),I=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,te={},V={};function X(e){return I.call(V,e)?!0:I.call(te,e)?!1:b.test(e)?V[e]=!0:(te[e]=!0,!1)}function G(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Me(e,t,n,r){if(t===null||typeof t>"u"||G(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ee(e,t,n,r,l,u,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=i}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$[e]=new ee(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$[t]=new ee(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$[e]=new ee(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$[e]=new ee(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$[e]=new ee(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$[e]=new ee(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$[e]=new ee(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$[e]=new ee(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$[e]=new ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var et=/[\-:]([a-z])/g;function Ae(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$[e]=new ee(e,1,!1,e.toLowerCase(),null,!1,!1)}),$.xlinkHref=new ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$[e]=new ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ye(e,t,n,r){var l=$.hasOwnProperty(t)?$[t]:null;(l!==null?l.type!==0:r||!(2o||l[i]!==u[o]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v(e):""}function W(e){switch(e.tag){case 5:return v(e.type);case 16:return v("Lazy");case 13:return v("Suspense");case 19:return v("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1),e;case 11:return e=B(e.type.render,!1),e;case 1:return e=B(e.type,!0),e;default:return""}}function K(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ce:return"Fragment";case ke:return"Portal";case Xe:return"Profiler";case Te:return"StrictMode";case Fe:return"Suspense";case ot:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pe:return(e.displayName||"Context")+".Consumer";case ie:return(e._context.displayName||"Context")+".Provider";case De:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ht:return t=e.displayName||null,t!==null?t:K(e.type)||"Memo";case Be:t=e._payload,e=e._init;try{return K(e(t))}catch{}}return null}function ne(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return K(t);case 8:return t===Te?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function J(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ge(e){var t=oe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wr(e){e._valueTracker||(e._valueTracker=Ge(e))}function Li(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ll(e,t){var n=t.checked;return _({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ji(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=J(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Oi(e,t){t=t.checked,t!=null&&Ye(e,"checked",t,!1)}function jl(e,t){Oi(e,t);var n=J(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ol(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ol(e,t.type,J(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ol(e,t,n){(t!=="number"||Sr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Dn={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},Ia=["Webkit","ms","Moz","O"];Object.keys(Dn).forEach(function(e){Ia.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Dn[t]=Dn[e]})});function Bi(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Dn.hasOwnProperty(e)&&Dn[e]?(""+t).trim():t+"px"}function Hi(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Bi(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ua=_({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 Fl(e,t){if(t){if(Ua[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(m(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(m(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(m(61))}if(t.style!=null&&typeof t.style!="object")throw Error(m(62))}}function Il(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ul=null;function Al(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Bl=null,an=null,cn=null;function Vi(e){if(e=rr(e)){if(typeof Bl!="function")throw Error(m(280));var t=e.stateNode;t&&(t=Qr(t),Bl(e.stateNode,e.type,t))}}function $i(e){an?cn?cn.push(e):cn=[e]:an=e}function Qi(){if(an){var e=an,t=cn;if(cn=an=null,Vi(e),t)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|0)|0}var Pr=64,Nr=4194304;function An(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~l;o!==0?r=An(o):(u&=i,u!==0&&(r=An(u)))}else i=n&~l,i!==0?r=An(i):u!==0&&(r=An(u));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Bn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function ec(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Xn),wo=" ",So=!1;function ko(e,t){switch(e){case"keyup":return zc.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Eo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pn=!1;function Rc(e,t){switch(e){case"compositionend":return Eo(t);case"keypress":return t.which!==32?null:(So=!0,wo);case"textInput":return e=t.data,e===wo&&So?null:e;default:return null}}function Lc(e,t){if(pn)return e==="compositionend"||!lu&&ko(e,t)?(e=po(),Or=ql=Ot=null,pn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=To(n)}}function Lo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jo(){for(var e=window,t=Sr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sr(e.document)}return t}function ou(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Bc(e){var t=jo(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Lo(n.ownerDocument.documentElement,n)){if(r!==null&&ou(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=Ro(n,u);var i=Ro(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mn=null,su=null,qn=null,au=!1;function Oo(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;au||mn==null||mn!==Sr(r)||(r=mn,"selectionStart"in r&&ou(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qn&&Jn(qn,r)||(qn=r,r=Hr(su,"onSelect"),0wn||(e.current=ku[wn],ku[wn]=null,wn--)}function re(e,t){wn++,ku[wn]=e.current,e.current=t}var It={},Re=Ft(It),He=Ft(!1),Zt=It;function Sn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ve(e){return e=e.childContextTypes,e!=null}function Wr(){ue(He),ue(Re)}function Xo(e,t,n){if(Re.current!==It)throw Error(m(168));re(Re,t),re(He,n)}function Go(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(m(108,ne(e)||"Unknown",l));return _({},n,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Zt=Re.current,re(Re,e),re(He,He.current),!0}function Zo(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=Go(e,t,Zt),r.__reactInternalMemoizedMergedChildContext=e,ue(He),ue(Re),re(Re,e)):ue(He),re(He,n)}var Et=null,Yr=!1,Eu=!1;function Jo(e){Et===null?Et=[e]:Et.push(e)}function qc(e){Yr=!0,Jo(e)}function Ut(){if(!Eu&&Et!==null){Eu=!0;var e=0,t=q;try{var n=Et;for(q=1;e>=i,l-=i,xt=1<<32-st(t)+l|n<O?(_e=R,R=null):_e=R.sibling;var Y=h(f,R,d[O],w);if(Y===null){R===null&&(R=_e);break}e&&R&&Y.alternate===null&&t(f,R),a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y,R=_e}if(O===d.length)return n(f,R),se&&qt(f,O),z;if(R===null){for(;OO?(_e=R,R=null):_e=R.sibling;var Yt=h(f,R,Y.value,w);if(Yt===null){R===null&&(R=_e);break}e&&R&&Yt.alternate===null&&t(f,R),a=u(Yt,a,O),T===null?z=Yt:T.sibling=Yt,T=Yt,R=_e}if(Y.done)return n(f,R),se&&qt(f,O),z;if(R===null){for(;!Y.done;O++,Y=d.next())Y=g(f,Y.value,w),Y!==null&&(a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y);return se&&qt(f,O),z}for(R=r(f,R);!Y.done;O++,Y=d.next())Y=E(R,f,O,Y.value,w),Y!==null&&(e&&Y.alternate!==null&&R.delete(Y.key===null?O:Y.key),a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y);return e&&R.forEach(function(Of){return t(f,Of)}),se&&qt(f,O),z}function he(f,a,d,w){if(typeof d=="object"&&d!==null&&d.type===Ce&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ze:e:{for(var z=d.key,T=a;T!==null;){if(T.key===z){if(z=d.type,z===Ce){if(T.tag===7){n(f,T.sibling),a=l(T,d.props.children),a.return=f,f=a;break e}}else if(T.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Be&&rs(z)===T.type){n(f,T.sibling),a=l(T,d.props),a.ref=lr(f,T,d),a.return=f,f=a;break e}n(f,T);break}else t(f,T);T=T.sibling}d.type===Ce?(a=on(d.props.children,f.mode,w,d.key),a.return=f,f=a):(w=kl(d.type,d.key,d.props,null,f.mode,w),w.ref=lr(f,a,d),w.return=f,f=w)}return i(f);case ke:e:{for(T=d.key;a!==null;){if(a.key===T)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=wi(d,f.mode,w),a.return=f,f=a}return i(f);case Be:return T=d._init,he(f,a,T(d._payload),w)}if(On(d))return C(f,a,d,w);if(j(d))return P(f,a,d,w);Jr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=gi(d,f.mode,w),a.return=f,f=a),i(f)):n(f,a)}return he}var _n=ls(!0),us=ls(!1),qr=Ft(null),br=null,Cn=null,zu=null;function Tu(){zu=Cn=br=null}function Ru(e){var t=qr.current;ue(qr),e._currentValue=t}function Lu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pn(e,t){br=e,zu=Cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&($e=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(zu!==e)if(e={context:e,memoizedValue:t,next:null},Cn===null){if(br===null)throw Error(m(308));Cn=e,br.dependencies={lanes:0,firstContext:e}}else Cn=Cn.next=e;return t}var bt=null;function ju(e){bt===null?bt=[e]:bt.push(e)}function is(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ju(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ct(e,r)}function Ct(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var At=!1;function Ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function os(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Q&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ct(e,n)}return l=r.interleaved,l===null?(t.next=t,ju(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ct(e,n)}function el(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}function ss(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=i:u=u.next=i,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tl(e,t,n,r){var l=e.updateQueue;At=!1;var u=l.firstBaseUpdate,i=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,p=s.next;s.next=null,i===null?u=p:i.next=p,i=s;var y=e.alternate;y!==null&&(y=y.updateQueue,o=y.lastBaseUpdate,o!==i&&(o===null?y.firstBaseUpdate=p:o.next=p,y.lastBaseUpdate=s))}if(u!==null){var g=l.baseState;i=0,y=p=s=null,o=u;do{var h=o.lane,E=o.eventTime;if((r&h)===h){y!==null&&(y=y.next={eventTime:E,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var C=e,P=o;switch(h=t,E=n,P.tag){case 1:if(C=P.payload,typeof C=="function"){g=C.call(E,g,h);break e}g=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=P.payload,h=typeof C=="function"?C.call(E,g,h):C,h==null)break e;g=_({},g,h);break e;case 2:At=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[o]:h.push(o))}else E={eventTime:E,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},y===null?(p=y=E,s=g):y=y.next=E,i|=h;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;h=o,o=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(y===null&&(s=g),l.baseState=s,l.firstBaseUpdate=p,l.lastBaseUpdate=y,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);nn|=i,e.lanes=i,e.memoizedState=g}}function as(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Uu.transition;Uu.transition={};try{e(!1),t()}finally{q=n,Uu.transition=r}}function zs(){return lt().memoizedState}function nf(e,t,n){var r=Qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ts(e))Rs(t,n);else if(n=is(e,t,n,r),n!==null){var l=Ue();mt(n,e,r,l),Ls(n,t,r)}}function rf(e,t,n){var r=Qt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ts(e))Rs(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,o=u(i,n);if(l.hasEagerState=!0,l.eagerState=o,at(o,i)){var s=t.interleaved;s===null?(l.next=l,ju(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=is(e,t,l,r),n!==null&&(l=Ue(),mt(n,e,r,l),Ls(n,t,r))}}function Ts(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Rs(e,t){sr=ll=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ls(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var ol={readContext:rt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},lf={readContext:rt,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:Ss,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ul(4194308,4,xs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ul(4194308,4,e,t)},useInsertionEffect:function(e,t){return ul(4,2,e,t)},useMemo:function(e,t){var n=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=nf.bind(null,ce,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:gs,useDebugValue:Wu,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=gs(!1),t=e[0];return e=tf.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ce,l=wt();if(se){if(n===void 0)throw Error(m(407));n=n()}else{if(n=t(),xe===null)throw Error(m(349));(tn&30)!==0||ps(r,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,Ss(hs.bind(null,r,u,e),[e]),r.flags|=2048,fr(9,ms.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=wt(),t=xe.identifierPrefix;if(se){var n=_t,r=xt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ar++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[yt]=t,e[nr]=r,Js(e,t,!1,!1),t.stateNode=e;e:{switch(i=Il(n,r),n){case"dialog":le("cancel",e),le("close",e),l=r;break;case"iframe":case"object":case"embed":le("load",e),l=r;break;case"video":case"audio":for(l=0;lLn&&(t.flags|=128,r=!0,dr(u,!1),t.lanes=4194304)}else{if(!r)if(e=nl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!i.alternate&&!se)return je(t),null}else 2*me()-u.renderingStartTime>Ln&&n!==1073741824&&(t.flags|=128,r=!0,dr(u,!1),t.lanes=4194304);u.isBackwards?(i.sibling=t.child,t.child=i):(n=u.last,n!==null?n.sibling=i:t.child=i,u.last=i)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=me(),t.sibling=null,n=ae.current,re(ae,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return hi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(be&1073741824)!==0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(m(156,t.tag))}function pf(e,t){switch(_u(t),t.tag){case 1:return Ve(t.type)&&Wr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nn(),ue(He),ue(Re),Iu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Du(t),null;case 13:if(ue(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(m(340));xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(ae),null;case 4:return Nn(),null;case 10:return Ru(t.type._context),null;case 22:case 23:return hi(),null;case 24:return null;default:return null}}var fl=!1,Oe=!1,mf=typeof WeakSet=="function"?WeakSet:Set,x=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function ri(e,t,n){try{n()}catch(r){de(e,t,r)}}var ea=!1;function hf(e,t){if(hu=Lr,e=jo(),ou(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var i=0,o=-1,s=-1,p=0,y=0,g=e,h=null;t:for(;;){for(var E;g!==n||l!==0&&g.nodeType!==3||(o=i+l),g!==u||r!==0&&g.nodeType!==3||(s=i+r),g.nodeType===3&&(i+=g.nodeValue.length),(E=g.firstChild)!==null;)h=g,g=E;for(;;){if(g===e)break t;if(h===n&&++p===l&&(o=i),h===u&&++y===r&&(s=i),(E=g.nextSibling)!==null)break;g=h,h=g.parentNode}g=E}n=o===-1||s===-1?null:{start:o,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(vu={focusedElem:e,selectionRange:n},Lr=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var C=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var P=C.memoizedProps,he=C.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?P:ft(t.type,P),he);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(m(163))}}catch(w){de(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return C=ea,ea=!1,C}function pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&ri(t,n,u)}l=l.next}while(l!==r)}}function dl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function li(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ta(e){var t=e.alternate;t!==null&&(e.alternate=null,ta(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[nr],delete t[Su],delete t[Zc],delete t[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function na(e){return e.tag===5||e.tag===3||e.tag===4}function ra(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||na(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ui(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=$r));else if(r!==4&&(e=e.child,e!==null))for(ui(e,t,n),e=e.sibling;e!==null;)ui(e,t,n),e=e.sibling}function ii(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ii(e,t,n),e=e.sibling;e!==null;)ii(e,t,n),e=e.sibling}var Pe=null,dt=!1;function Ht(e,t,n){for(n=n.child;n!==null;)la(e,t,n),n=n.sibling}function la(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Cr,n)}catch{}switch(n.tag){case 5:Oe||Tn(n,t);case 6:var r=Pe,l=dt;Pe=null,Ht(e,t,n),Pe=r,dt=l,Pe!==null&&(dt?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(dt?(e=Pe,n=n.stateNode,e.nodeType===8?wu(e.parentNode,n):e.nodeType===1&&wu(e,n),Wn(e)):wu(Pe,n.stateNode));break;case 4:r=Pe,l=dt,Pe=n.stateNode.containerInfo,dt=!0,Ht(e,t,n),Pe=r,dt=l;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,i=u.destroy;u=u.tag,i!==void 0&&((u&2)!==0||(u&4)!==0)&&ri(n,t,i),l=l.next}while(l!==r)}Ht(e,t,n);break;case 1:if(!Oe&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){de(n,t,o)}Ht(e,t,n);break;case 21:Ht(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Ht(e,t,n),Oe=r):Ht(e,t,n);break;default:Ht(e,t,n)}}function ua(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mf),t.forEach(function(r){var l=_f.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~u}if(r=l,r=me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,yl=0,(Q&6)!==0)throw Error(m(331));var l=Q;for(Q|=4,x=e.current;x!==null;){var u=x,i=u.child;if((x.flags&16)!==0){var o=u.deletions;if(o!==null){for(var s=0;sme()-ai?ln(e,0):si|=n),We(e,t)}function ga(e,t){t===0&&((e.mode&1)===0?t=1:(t=Nr,Nr<<=1,(Nr&130023424)===0&&(Nr=4194304)));var n=Ue();e=Ct(e,t),e!==null&&(Bn(e,t,n),We(e,n))}function xf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ga(e,n)}function _f(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(m(314))}r!==null&&r.delete(t),ga(e,n)}var wa;wa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)$e=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return $e=!1,ff(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,se&&(t.flags&1048576)!==0&&qo(t,Gr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;cl(e,t),e=t.pendingProps;var l=Sn(t,Re.current);Pn(t,n),l=Bu(null,t,r,e,l,n);var u=Hu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ve(r)?(u=!0,Kr(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ou(t),l.updater=sl,t.stateNode=l,l._reactInternals=t,Yu(t,r,e,n),t=Ju(null,t,r,!0,u,n)):(t.tag=0,se&&u&&xu(t),Ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(cl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Pf(r),e=ft(r,e),l){case 0:t=Zu(null,t,r,e,n);break e;case 1:t=Ws(null,t,r,e,n);break e;case 11:t=Bs(null,t,r,e,n);break e;case 14:t=Hs(null,t,r,ft(r.type,e),n);break e}throw Error(m(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Zu(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Ws(e,t,r,l,n);case 3:e:{if(Ks(t),e===null)throw Error(m(387));r=t.pendingProps,u=t.memoizedState,l=u.element,os(e,t),tl(t,r,null,n);var i=t.memoizedState;if(r=i.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=zn(Error(m(423)),t),t=Ys(e,t,r,n,l);break e}else if(r!==l){l=zn(Error(m(424)),t),t=Ys(e,t,r,n,l);break e}else for(qe=Dt(t.stateNode.containerInfo.firstChild),Je=t,se=!0,ct=null,n=us(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xn(),r===l){t=Nt(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return cs(t),e===null&&Pu(t),r=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,i=l.children,yu(r,l)?i=null:u!==null&&yu(r,u)&&(t.flags|=32),Qs(e,t),Ie(e,t,i,n),t.child;case 6:return e===null&&Pu(t),null;case 13:return Xs(e,t,n);case 4:return Mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_n(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Bs(e,t,r,l,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,u=t.memoizedProps,i=l.value,re(qr,r._currentValue),r._currentValue=i,u!==null)if(at(u.value,i)){if(u.children===l.children&&!He.current){t=Nt(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){i=u.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Pt(-1,n&-n),s.tag=2;var p=u.updateQueue;if(p!==null){p=p.shared;var y=p.pending;y===null?s.next=s:(s.next=y.next,y.next=s),p.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),Lu(u.return,n,t),o.lanes|=n;break}s=s.next}}else if(u.tag===10)i=u.type===t.type?null:u.child;else if(u.tag===18){if(i=u.return,i===null)throw Error(m(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),Lu(i,n,t),i=u.sibling}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}Ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Pn(t,n),l=rt(l),r=r(l),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,l=ft(r,t.pendingProps),l=ft(r.type,l),Hs(e,t,r,l,n);case 15:return Vs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),cl(e,t),t.tag=1,Ve(r)?(e=!0,Kr(t)):e=!1,Pn(t,n),Os(t,r,l),Yu(t,r,l,n),Ju(null,t,r,!0,e,n);case 19:return Zs(e,t,n);case 22:return $s(e,t,n)}throw Error(m(156,t.tag))};function Sa(e,t){return qi(e,t)}function Cf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function it(e,t,n,r){return new Cf(e,t,n,r)}function yi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pf(e){if(typeof e=="function")return yi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===De)return 11;if(e===ht)return 14}return 2}function Kt(e,t){var n=e.alternate;return n===null?(n=it(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function kl(e,t,n,r,l,u){var i=2;if(r=e,typeof e=="function")yi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ce:return on(n.children,l,u,t);case Te:i=8,l|=8;break;case Xe:return e=it(12,n,t,l|2),e.elementType=Xe,e.lanes=u,e;case Fe:return e=it(13,n,t,l),e.elementType=Fe,e.lanes=u,e;case ot:return e=it(19,n,t,l),e.elementType=ot,e.lanes=u,e;case fe:return El(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ie:i=10;break e;case pe:i=9;break e;case De:i=11;break e;case ht:i=14;break e;case Be:i=16,r=null;break e}throw Error(m(130,e==null?e:typeof e,""))}return t=it(i,n,t,l),t.elementType=e,t.type=r,t.lanes=u,t}function on(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=it(22,e,r,t),e.elementType=fe,e.lanes=n,e.stateNode={isHidden:!1},e}function gi(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function wi(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kl(0),this.expirationTimes=Kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Si(e,t,n,r,l,u,i,o,s){return e=new Nf(e,t,n,o,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=it(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ou(u),e}function zf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(S)}catch(N){console.error(N)}}return S(),Pi.exports=Af(),Pi.exports}var Ma;function Hf(){if(Ma)return Tl;Ma=1;var S=Bf();return Tl.createRoot=S.createRoot,Tl.hydrateRoot=S.hydrateRoot,Tl}var Vf=Hf();const $f="/PHPerKaigi2025-tokens/assets/php-wasm-bridge-BCntMcWX.js",Rl=1024;let Ti=null;async function Qf(){return Ti||(Ti=new Promise((S,N)=>{fetch("/php-wasm.wasm").then(m=>(m.ok||N(`Failed to fetch wasm binary: ${m.status} (${m.url})`),m)).then(m=>m.arrayBuffer()).then(m=>S(m))})),Ti}async function Wf(S){let N=0;const m=new TextEncoder().encode(S);let Z=0;const L=new Uint8Array(Rl);let M=0;const D=new Uint8Array(Rl),{default:H}=await import($f),{ccall:I}=await H({wasmBinary:await Qf(),stdin:()=>m.length<=N?null:m[N++],stdout:G=>{G!==null&&(Rl<=Z||(G<0&&(G+=256),L[Z++]=G))},stderr:G=>{G!==null&&(Rl<=M||(G<0&&(G+=256),D[M++]=G))}});let b,te=null;try{b=I("php_wasm_run","number",["string"],[S])}catch(G){if(G instanceof WebAssembly.RuntimeError)te=G.message;else throw G}const V=new TextDecoder().decode(L.subarray(0,Z)),X=new TextDecoder().decode(D.subarray(0,M));return{success:b===0,stdout:V,stderr:te==null?X:`${X} +${te}`}}function Kf(S,N,m){var Z=this,L=ge.useRef(null),M=ge.useRef(0),D=ge.useRef(null),H=ge.useRef([]),I=ge.useRef(),b=ge.useRef(),te=ge.useRef(S),V=ge.useRef(!0);te.current=S;var X=typeof window<"u",G=!N&&N!==0&&X;if(typeof S!="function")throw new TypeError("Expected a function");N=+N||0;var Me=!!(m=m||{}).leading,ee=!("trailing"in m)||!!m.trailing,$="maxWait"in m,et="debounceOnServer"in m&&!!m.debounceOnServer,Ae=$?Math.max(+m.maxWait||0,N):null;ge.useEffect(function(){return V.current=!0,function(){V.current=!1}},[]);var Ye=ge.useMemo(function(){var ve=function(ie){var pe=H.current,De=I.current;return H.current=I.current=null,M.current=ie,b.current=te.current.apply(De,pe)},ze=function(ie,pe){G&&cancelAnimationFrame(D.current),D.current=G?requestAnimationFrame(ie):setTimeout(ie,pe)},ke=function(ie){if(!V.current)return!1;var pe=ie-L.current;return!L.current||pe>=N||pe<0||$&&ie-M.current>=Ae},Ce=function(ie){return D.current=null,ee&&H.current?ve(ie):(H.current=I.current=null,b.current)},Te=function ie(){var pe=Date.now();if(ke(pe))return Ce(pe);if(V.current){var De=N-(pe-L.current),Fe=$?Math.min(De,Ae-(pe-M.current)):De;ze(ie,Fe)}},Xe=function(){if(X||et){var ie=Date.now(),pe=ke(ie);if(H.current=[].slice.call(arguments),I.current=Z,L.current=ie,pe){if(!D.current&&V.current)return M.current=L.current,ze(Te,N),Me?ve(L.current):b.current;if($)return ze(Te,N),ve(L.current)}return D.current||ze(Te,N),b.current}};return Xe.cancel=function(){D.current&&(G?cancelAnimationFrame(D.current):clearTimeout(D.current)),M.current=0,H.current=L.current=I.current=D.current=null},Xe.isPending=function(){return!!D.current},Xe.flush=function(){return D.current?Ce(Date.now()):b.current},Xe},[Me,$,N,Ae,ee,G,X,et]);return Ye}function Yf(S,N){return S===N}function Fa(S,N,m){var Z=Yf,L=ge.useRef(S),M=ge.useState({})[1],D=Kf(ge.useCallback(function(I){L.current=I,M({})},[M]),N,m),H=ge.useRef(S);return Z(H.current,S)||(D(S),H.current=S),[L.current,D]}function Xf({quiz:S}){const[N,m]=ge.useState("123"),[Z]=Fa(N,1e3),[L,M]=ge.useState(""),[D,H]=ge.useState(!0),I=b=>{m(b.target.value)};return ge.useEffect(()=>{if(Z===""){M("");return}H(!0),M("");const b=` + function f($x) { + return ${S.func}($x); + } + try { + var_dump(f(${Z})); + } catch (\\Throwable $e) { + echo $e->getMessage(), PHP_EOL; + } + `;Wf(b).then(te=>{const V=te.stdout+te.stderr;M(V.replaceAll(S.func,"")),H(!1)})},[Z,S.func]),F.jsxs("div",{children:[F.jsxs("code",{children:["f(",F.jsx("input",{type:"text",value:N,onChange:I}),")"]}),"は ",F.jsx("code",{children:D?"running...":L})," を返す。"]})}const Da="your_answer";function Gf({quiz:S}){const[N,m]=ge.useState(Da),[Z]=Fa(N,500),L=Z!==Da,M=Z===S.func,D=H=>{m(H.target.value)};return F.jsxs("div",{children:["この関数は?",F.jsx("input",{type:"text",value:N,onChange:D}),F.jsx("p",{children:L&&(M?`正解!${S.message}`:"不正解")})]})}function Zf({quiz:S}){return F.jsxs("section",{children:[F.jsx("h3",{children:S.label}),F.jsx(Xf,{quiz:S}),F.jsx(Gf,{quiz:S})]})}function Jf({quizGroup:S}){return F.jsxs("section",{children:[F.jsx("h2",{children:S.label}),S.quizzes.map(N=>F.jsx(Zf,{quiz:N},N.label))]})}function qf({quizGroups:S}){return F.jsxs("table",{id:"layout",children:[F.jsx("tr",{children:F.jsx("td",{id:"header",colSpan:2,className:"marquee",children:F.jsx("span",{children:"PHPerKaigi 2025 デジタルサーカス株式会社トークン問題"})})}),F.jsxs("tr",{children:[F.jsxs("td",{id:"sidebar",children:[F.jsx("h2",{children:"メニュー"}),F.jsxs("ul",{children:[F.jsx("li",{children:F.jsx("a",{href:"",children:"ホーム"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2024-tokens",target:"_blank",children:"トークン問題2024"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2023-tokens",target:"_blank",children:"トークン問題2023"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2022-tokens",target:"_blank",children:"トークン問題2022"})}),F.jsx("li",{className:"hidden",children:"ここにトークンはないよ"})]})]}),F.jsx("td",{id:"content",children:F.jsxs("main",{children:[F.jsxs("p",{children:["PHPerKaigi 2025 の PHPer チャレンジ企画において、",F.jsx("a",{href:"https://www.dgcircus.com/",children:"デジタルサーカス株式会社"}),"から出題するトークン問題です (作問"," ",F.jsx("a",{href:"https://x.com/nsfisis",children:"@nsfisis"}),")。"]}),F.jsx("p",{children:"それぞれの問題に、PHP の標準関数がひとつ設定されています。 好きな引数を渡すと実行されます。その実行結果を見て、何の関数かを当ててください。"}),S.map(N=>F.jsx(Jf,{quizGroup:N},N.label))]})})]})]})}const bf=[{label:"チュートリアル",quizzes:[{label:"Q1",func:"abs",message:"トークン1文字目「#」"}]},{label:"かんたん",quizzes:[{label:"Q2",func:"strlen",message:"トークン2文字目「W」"},{label:"Q3",func:"gettype",message:"トークン3文字目「E」"},{label:"Q4",func:"count",message:"トークン4文字目「❤」"}]},{label:"ふつう",quizzes:[{label:"Q5",func:"md5",message:"トークン5文字目「P」"},{label:"Q6",func:"strtoupper",message:"トークン6文字目「H」"},{label:"Q7",func:"array_keys",message:"トークン7文字目「P」。トークンはこれでおわり"}]},{label:"むずかしい",quizzes:[{label:"Q8",func:"str_rot13",message:"すごい!"},{label:"Q9",func:"metaphone",message:"すごい!"},{label:"Q10",func:"array_change_key_case",message:"すごい!"}]}];Vf.createRoot(document.getElementById("root")).render(F.jsx(ge.StrictMode,{children:F.jsx(qf,{quizGroups:bf})})); diff --git a/docs/assets/index-CifHWjMi.js b/docs/assets/index-CifHWjMi.js deleted file mode 100644 index cb6e6a7..0000000 --- a/docs/assets/index-CifHWjMi.js +++ /dev/null @@ -1,50 +0,0 @@ -(function(){const N=document.createElement("link").relList;if(N&&N.supports&&N.supports("modulepreload"))return;for(const L of document.querySelectorAll('link[rel="modulepreload"]'))Z(L);new MutationObserver(L=>{for(const M of L)if(M.type==="childList")for(const D of M.addedNodes)D.tagName==="LINK"&&D.rel==="modulepreload"&&Z(D)}).observe(document,{childList:!0,subtree:!0});function m(L){const M={};return L.integrity&&(M.integrity=L.integrity),L.referrerPolicy&&(M.referrerPolicy=L.referrerPolicy),L.crossOrigin==="use-credentials"?M.credentials="include":L.crossOrigin==="anonymous"?M.credentials="omit":M.credentials="same-origin",M}function Z(L){if(L.ep)return;L.ep=!0;const M=m(L);fetch(L.href,M)}})();var _i={exports:{}},gr={},Ci={exports:{}},A={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Pa;function Mf(){if(Pa)return A;Pa=1;var S=Symbol.for("react.element"),N=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),Z=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),D=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),V=Symbol.iterator;function X(c){return c===null||typeof c!="object"?null:(c=V&&c[V]||c["@@iterator"],typeof c=="function"?c:null)}var G={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Me=Object.assign,ee={};function $(c,v,U){this.props=c,this.context=v,this.refs=ee,this.updater=U||G}$.prototype.isReactComponent={},$.prototype.setState=function(c,v){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,v,"setState")},$.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};function et(){}et.prototype=$.prototype;function Ae(c,v,U){this.props=c,this.context=v,this.refs=ee,this.updater=U||G}var Ye=Ae.prototype=new et;Ye.constructor=Ae,Me(Ye,$.prototype),Ye.isPureReactComponent=!0;var ve=Array.isArray,ze=Object.prototype.hasOwnProperty,ke={current:null},Ce={key:!0,ref:!0,__self:!0,__source:!0};function Te(c,v,U){var B,W={},K=null,ne=null;if(v!=null)for(B in v.ref!==void 0&&(ne=v.ref),v.key!==void 0&&(K=""+v.key),v)ze.call(v,B)&&!Ce.hasOwnProperty(B)&&(W[B]=v[B]);var J=arguments.length-2;if(J===1)W.children=U;else if(1>>1,v=k[c];if(0>>1;cL(W,_))KL(ne,W)?(k[c]=ne,k[K]=_,c=K):(k[c]=W,k[B]=_,c=B);else if(KL(ne,_))k[c]=ne,k[K]=_,c=K;else break e}}return j}function L(k,j){var _=k.sortIndex-j.sortIndex;return _!==0?_:k.id-j.id}if(typeof performance=="object"&&typeof performance.now=="function"){var M=performance;S.unstable_now=function(){return M.now()}}else{var D=Date,H=D.now();S.unstable_now=function(){return D.now()-H}}var I=[],b=[],te=1,V=null,X=3,G=!1,Me=!1,ee=!1,$=typeof setTimeout=="function"?setTimeout:null,et=typeof clearTimeout=="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ye(k){for(var j=m(b);j!==null;){if(j.callback===null)Z(b);else if(j.startTime<=k)Z(b),j.sortIndex=j.expirationTime,N(I,j);else break;j=m(b)}}function ve(k){if(ee=!1,Ye(k),!Me)if(m(I)!==null)Me=!0,Be(ze);else{var j=m(b);j!==null&&fe(ve,j.startTime-k)}}function ze(k,j){Me=!1,ee&&(ee=!1,et(Te),Te=-1),G=!0;var _=X;try{for(Ye(j),V=m(I);V!==null&&(!(V.expirationTime>j)||k&&!pe());){var c=V.callback;if(typeof c=="function"){V.callback=null,X=V.priorityLevel;var v=c(V.expirationTime<=j);j=S.unstable_now(),typeof v=="function"?V.callback=v:V===m(I)&&Z(I),Ye(j)}else Z(I);V=m(I)}if(V!==null)var U=!0;else{var B=m(b);B!==null&&fe(ve,B.startTime-j),U=!1}return U}finally{V=null,X=_,G=!1}}var ke=!1,Ce=null,Te=-1,Xe=5,ie=-1;function pe(){return!(S.unstable_now()-iek||125c?(k.sortIndex=_,N(b,k),m(I)===null&&k===m(b)&&(ee?(et(Te),Te=-1):ee=!0,fe(ve,_-c))):(k.sortIndex=v,N(I,k),Me||G||(Me=!0,Be(ze))),k},S.unstable_shouldYield=pe,S.unstable_wrapCallback=function(k){var j=X;return function(){var _=X;X=j;try{return k.apply(this,arguments)}finally{X=_}}}}(zi)),zi}var La;function Uf(){return La||(La=1,Ni.exports=If()),Ni.exports}/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ja;function Af(){if(ja)return Ke;ja=1;var S=Ri(),N=Uf();function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),I=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,te={},V={};function X(e){return I.call(V,e)?!0:I.call(te,e)?!1:b.test(e)?V[e]=!0:(te[e]=!0,!1)}function G(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Me(e,t,n,r){if(t===null||typeof t>"u"||G(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ee(e,t,n,r,l,u,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=i}var $={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){$[e]=new ee(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];$[t]=new ee(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){$[e]=new ee(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){$[e]=new ee(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){$[e]=new ee(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){$[e]=new ee(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){$[e]=new ee(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){$[e]=new ee(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){$[e]=new ee(e,5,!1,e.toLowerCase(),null,!1,!1)});var et=/[\-:]([a-z])/g;function Ae(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(et,Ae);$[t]=new ee(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){$[e]=new ee(e,1,!1,e.toLowerCase(),null,!1,!1)}),$.xlinkHref=new ee("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){$[e]=new ee(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ye(e,t,n,r){var l=$.hasOwnProperty(t)?$[t]:null;(l!==null?l.type!==0:r||!(2o||l[i]!==u[o]){var s=` -`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?v(e):""}function W(e){switch(e.tag){case 5:return v(e.type);case 16:return v("Lazy");case 13:return v("Suspense");case 19:return v("SuspenseList");case 0:case 2:case 15:return e=B(e.type,!1),e;case 11:return e=B(e.type.render,!1),e;case 1:return e=B(e.type,!0),e;default:return""}}function K(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ce:return"Fragment";case ke:return"Portal";case Xe:return"Profiler";case Te:return"StrictMode";case Fe:return"Suspense";case ot:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case pe:return(e.displayName||"Context")+".Consumer";case ie:return(e._context.displayName||"Context")+".Provider";case De:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ht:return t=e.displayName||null,t!==null?t:K(e.type)||"Memo";case Be:t=e._payload,e=e._init;try{return K(e(t))}catch{}}return null}function ne(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return K(t);case 8:return t===Te?"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 t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function J(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function oe(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ge(e){var t=oe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function wr(e){e._valueTracker||(e._valueTracker=Ge(e))}function Li(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=oe(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ll(e,t){var n=t.checked;return _({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ji(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=J(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Oi(e,t){t=t.checked,t!=null&&Ye(e,"checked",t,!1)}function jl(e,t){Oi(e,t);var n=J(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ol(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ol(e,t.type,J(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Mi(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ol(e,t,n){(t!=="number"||Sr(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var On=Array.isArray;function sn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=kr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Mn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Dn={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},Ia=["Webkit","ms","Moz","O"];Object.keys(Dn).forEach(function(e){Ia.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Dn[t]=Dn[e]})});function Bi(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Dn.hasOwnProperty(e)&&Dn[e]?(""+t).trim():t+"px"}function Hi(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Bi(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Ua=_({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 Fl(e,t){if(t){if(Ua[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(m(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(m(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(m(61))}if(t.style!=null&&typeof t.style!="object")throw Error(m(62))}}function Il(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ul=null;function Al(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Bl=null,an=null,cn=null;function Vi(e){if(e=rr(e)){if(typeof Bl!="function")throw Error(m(280));var t=e.stateNode;t&&(t=Qr(t),Bl(e.stateNode,e.type,t))}}function $i(e){an?cn?cn.push(e):cn=[e]:an=e}function Qi(){if(an){var e=an,t=cn;if(cn=an=null,Vi(e),t)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|0)|0}var Pr=64,Nr=4194304;function An(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function zr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,i=n&268435455;if(i!==0){var o=i&~l;o!==0?r=An(o):(u&=i,u!==0&&(r=An(u)))}else i=n&~l,i!==0?r=An(i):u!==0&&(r=An(u));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Bn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-st(t),e[t]=n}function ec(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Xn),wo=" ",So=!1;function ko(e,t){switch(e){case"keyup":return zc.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Eo(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pn=!1;function Rc(e,t){switch(e){case"compositionend":return Eo(t);case"keypress":return t.which!==32?null:(So=!0,wo);case"textInput":return e=t.data,e===wo&&So?null:e;default:return null}}function Lc(e,t){if(pn)return e==="compositionend"||!lu&&ko(e,t)?(e=po(),Or=ql=Ot=null,pn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=To(n)}}function Lo(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Lo(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jo(){for(var e=window,t=Sr();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Sr(e.document)}return t}function ou(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Bc(e){var t=jo(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Lo(n.ownerDocument.documentElement,n)){if(r!==null&&ou(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=Ro(n,u);var i=Ro(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,mn=null,su=null,qn=null,au=!1;function Oo(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;au||mn==null||mn!==Sr(r)||(r=mn,"selectionStart"in r&&ou(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qn&&Jn(qn,r)||(qn=r,r=Hr(su,"onSelect"),0wn||(e.current=ku[wn],ku[wn]=null,wn--)}function re(e,t){wn++,ku[wn]=e.current,e.current=t}var It={},Re=Ft(It),He=Ft(!1),Zt=It;function Sn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Ve(e){return e=e.childContextTypes,e!=null}function Wr(){ue(He),ue(Re)}function Xo(e,t,n){if(Re.current!==It)throw Error(m(168));re(Re,t),re(He,n)}function Go(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(m(108,ne(e)||"Unknown",l));return _({},n,r)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Zt=Re.current,re(Re,e),re(He,He.current),!0}function Zo(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=Go(e,t,Zt),r.__reactInternalMemoizedMergedChildContext=e,ue(He),ue(Re),re(Re,e)):ue(He),re(He,n)}var Et=null,Yr=!1,Eu=!1;function Jo(e){Et===null?Et=[e]:Et.push(e)}function qc(e){Yr=!0,Jo(e)}function Ut(){if(!Eu&&Et!==null){Eu=!0;var e=0,t=q;try{var n=Et;for(q=1;e>=i,l-=i,xt=1<<32-st(t)+l|n<O?(_e=R,R=null):_e=R.sibling;var Y=h(f,R,d[O],w);if(Y===null){R===null&&(R=_e);break}e&&R&&Y.alternate===null&&t(f,R),a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y,R=_e}if(O===d.length)return n(f,R),se&&qt(f,O),z;if(R===null){for(;OO?(_e=R,R=null):_e=R.sibling;var Yt=h(f,R,Y.value,w);if(Yt===null){R===null&&(R=_e);break}e&&R&&Yt.alternate===null&&t(f,R),a=u(Yt,a,O),T===null?z=Yt:T.sibling=Yt,T=Yt,R=_e}if(Y.done)return n(f,R),se&&qt(f,O),z;if(R===null){for(;!Y.done;O++,Y=d.next())Y=g(f,Y.value,w),Y!==null&&(a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y);return se&&qt(f,O),z}for(R=r(f,R);!Y.done;O++,Y=d.next())Y=E(R,f,O,Y.value,w),Y!==null&&(e&&Y.alternate!==null&&R.delete(Y.key===null?O:Y.key),a=u(Y,a,O),T===null?z=Y:T.sibling=Y,T=Y);return e&&R.forEach(function(Of){return t(f,Of)}),se&&qt(f,O),z}function he(f,a,d,w){if(typeof d=="object"&&d!==null&&d.type===Ce&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case ze:e:{for(var z=d.key,T=a;T!==null;){if(T.key===z){if(z=d.type,z===Ce){if(T.tag===7){n(f,T.sibling),a=l(T,d.props.children),a.return=f,f=a;break e}}else if(T.elementType===z||typeof z=="object"&&z!==null&&z.$$typeof===Be&&rs(z)===T.type){n(f,T.sibling),a=l(T,d.props),a.ref=lr(f,T,d),a.return=f,f=a;break e}n(f,T);break}else t(f,T);T=T.sibling}d.type===Ce?(a=on(d.props.children,f.mode,w,d.key),a.return=f,f=a):(w=kl(d.type,d.key,d.props,null,f.mode,w),w.ref=lr(f,a,d),w.return=f,f=w)}return i(f);case ke:e:{for(T=d.key;a!==null;){if(a.key===T)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=wi(d,f.mode,w),a.return=f,f=a}return i(f);case Be:return T=d._init,he(f,a,T(d._payload),w)}if(On(d))return C(f,a,d,w);if(j(d))return P(f,a,d,w);Jr(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=gi(d,f.mode,w),a.return=f,f=a),i(f)):n(f,a)}return he}var _n=ls(!0),us=ls(!1),qr=Ft(null),br=null,Cn=null,zu=null;function Tu(){zu=Cn=br=null}function Ru(e){var t=qr.current;ue(qr),e._currentValue=t}function Lu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pn(e,t){br=e,zu=Cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&($e=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(zu!==e)if(e={context:e,memoizedValue:t,next:null},Cn===null){if(br===null)throw Error(m(308));Cn=e,br.dependencies={lanes:0,firstContext:e}}else Cn=Cn.next=e;return t}var bt=null;function ju(e){bt===null?bt=[e]:bt.push(e)}function is(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,ju(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ct(e,r)}function Ct(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var At=!1;function Ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function os(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Bt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(Q&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ct(e,n)}return l=r.interleaved,l===null?(t.next=t,ju(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ct(e,n)}function el(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}function ss(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=i:u=u.next=i,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tl(e,t,n,r){var l=e.updateQueue;At=!1;var u=l.firstBaseUpdate,i=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,p=s.next;s.next=null,i===null?u=p:i.next=p,i=s;var y=e.alternate;y!==null&&(y=y.updateQueue,o=y.lastBaseUpdate,o!==i&&(o===null?y.firstBaseUpdate=p:o.next=p,y.lastBaseUpdate=s))}if(u!==null){var g=l.baseState;i=0,y=p=s=null,o=u;do{var h=o.lane,E=o.eventTime;if((r&h)===h){y!==null&&(y=y.next={eventTime:E,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var C=e,P=o;switch(h=t,E=n,P.tag){case 1:if(C=P.payload,typeof C=="function"){g=C.call(E,g,h);break e}g=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=P.payload,h=typeof C=="function"?C.call(E,g,h):C,h==null)break e;g=_({},g,h);break e;case 2:At=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,h=l.effects,h===null?l.effects=[o]:h.push(o))}else E={eventTime:E,lane:h,tag:o.tag,payload:o.payload,callback:o.callback,next:null},y===null?(p=y=E,s=g):y=y.next=E,i|=h;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;h=o,o=h.next,h.next=null,l.lastBaseUpdate=h,l.shared.pending=null}}while(!0);if(y===null&&(s=g),l.baseState=s,l.firstBaseUpdate=p,l.lastBaseUpdate=y,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);nn|=i,e.lanes=i,e.memoizedState=g}}function as(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Uu.transition;Uu.transition={};try{e(!1),t()}finally{q=n,Uu.transition=r}}function zs(){return lt().memoizedState}function nf(e,t,n){var r=Qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ts(e))Rs(t,n);else if(n=is(e,t,n,r),n!==null){var l=Ue();mt(n,e,r,l),Ls(n,t,r)}}function rf(e,t,n){var r=Qt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ts(e))Rs(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var i=t.lastRenderedState,o=u(i,n);if(l.hasEagerState=!0,l.eagerState=o,at(o,i)){var s=t.interleaved;s===null?(l.next=l,ju(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=is(e,t,l,r),n!==null&&(l=Ue(),mt(n,e,r,l),Ls(n,t,r))}}function Ts(e){var t=e.alternate;return e===ce||t!==null&&t===ce}function Rs(e,t){sr=ll=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ls(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Yl(e,n)}}var ol={readContext:rt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},lf={readContext:rt,useCallback:function(e,t){return wt().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:Ss,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ul(4194308,4,xs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ul(4194308,4,e,t)},useInsertionEffect:function(e,t){return ul(4,2,e,t)},useMemo:function(e,t){var n=wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=nf.bind(null,ce,e),[r.memoizedState,e]},useRef:function(e){var t=wt();return e={current:e},t.memoizedState=e},useState:gs,useDebugValue:Wu,useDeferredValue:function(e){return wt().memoizedState=e},useTransition:function(){var e=gs(!1),t=e[0];return e=tf.bind(null,e[1]),wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ce,l=wt();if(se){if(n===void 0)throw Error(m(407));n=n()}else{if(n=t(),xe===null)throw Error(m(349));(tn&30)!==0||ps(r,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,Ss(hs.bind(null,r,u,e),[e]),r.flags|=2048,fr(9,ms.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=wt(),t=xe.identifierPrefix;if(se){var n=_t,r=xt;n=(r&~(1<<32-st(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ar++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[yt]=t,e[nr]=r,Js(e,t,!1,!1),t.stateNode=e;e:{switch(i=Il(n,r),n){case"dialog":le("cancel",e),le("close",e),l=r;break;case"iframe":case"object":case"embed":le("load",e),l=r;break;case"video":case"audio":for(l=0;lLn&&(t.flags|=128,r=!0,dr(u,!1),t.lanes=4194304)}else{if(!r)if(e=nl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),dr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!i.alternate&&!se)return je(t),null}else 2*me()-u.renderingStartTime>Ln&&n!==1073741824&&(t.flags|=128,r=!0,dr(u,!1),t.lanes=4194304);u.isBackwards?(i.sibling=t.child,t.child=i):(n=u.last,n!==null?n.sibling=i:t.child=i,u.last=i)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=me(),t.sibling=null,n=ae.current,re(ae,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return hi(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(be&1073741824)!==0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(m(156,t.tag))}function pf(e,t){switch(_u(t),t.tag){case 1:return Ve(t.type)&&Wr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Nn(),ue(He),ue(Re),Iu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Du(t),null;case 13:if(ue(ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(m(340));xn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(ae),null;case 4:return Nn(),null;case 10:return Ru(t.type._context),null;case 22:case 23:return hi(),null;case 24:return null;default:return null}}var fl=!1,Oe=!1,mf=typeof WeakSet=="function"?WeakSet:Set,x=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function ri(e,t,n){try{n()}catch(r){de(e,t,r)}}var ea=!1;function hf(e,t){if(hu=Lr,e=jo(),ou(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var i=0,o=-1,s=-1,p=0,y=0,g=e,h=null;t:for(;;){for(var E;g!==n||l!==0&&g.nodeType!==3||(o=i+l),g!==u||r!==0&&g.nodeType!==3||(s=i+r),g.nodeType===3&&(i+=g.nodeValue.length),(E=g.firstChild)!==null;)h=g,g=E;for(;;){if(g===e)break t;if(h===n&&++p===l&&(o=i),h===u&&++y===r&&(s=i),(E=g.nextSibling)!==null)break;g=h,h=g.parentNode}g=E}n=o===-1||s===-1?null:{start:o,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(vu={focusedElem:e,selectionRange:n},Lr=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var C=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var P=C.memoizedProps,he=C.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?P:ft(t.type,P),he);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(m(163))}}catch(w){de(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return C=ea,ea=!1,C}function pr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&ri(t,n,u)}l=l.next}while(l!==r)}}function dl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function li(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ta(e){var t=e.alternate;t!==null&&(e.alternate=null,ta(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[yt],delete t[nr],delete t[Su],delete t[Zc],delete t[Jc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function na(e){return e.tag===5||e.tag===3||e.tag===4}function ra(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||na(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ui(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=$r));else if(r!==4&&(e=e.child,e!==null))for(ui(e,t,n),e=e.sibling;e!==null;)ui(e,t,n),e=e.sibling}function ii(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(ii(e,t,n),e=e.sibling;e!==null;)ii(e,t,n),e=e.sibling}var Pe=null,dt=!1;function Ht(e,t,n){for(n=n.child;n!==null;)la(e,t,n),n=n.sibling}function la(e,t,n){if(vt&&typeof vt.onCommitFiberUnmount=="function")try{vt.onCommitFiberUnmount(Cr,n)}catch{}switch(n.tag){case 5:Oe||Tn(n,t);case 6:var r=Pe,l=dt;Pe=null,Ht(e,t,n),Pe=r,dt=l,Pe!==null&&(dt?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(dt?(e=Pe,n=n.stateNode,e.nodeType===8?wu(e.parentNode,n):e.nodeType===1&&wu(e,n),Wn(e)):wu(Pe,n.stateNode));break;case 4:r=Pe,l=dt,Pe=n.stateNode.containerInfo,dt=!0,Ht(e,t,n),Pe=r,dt=l;break;case 0:case 11:case 14:case 15:if(!Oe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,i=u.destroy;u=u.tag,i!==void 0&&((u&2)!==0||(u&4)!==0)&&ri(n,t,i),l=l.next}while(l!==r)}Ht(e,t,n);break;case 1:if(!Oe&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){de(n,t,o)}Ht(e,t,n);break;case 21:Ht(e,t,n);break;case 22:n.mode&1?(Oe=(r=Oe)||n.memoizedState!==null,Ht(e,t,n),Oe=r):Ht(e,t,n);break;default:Ht(e,t,n)}}function ua(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new mf),t.forEach(function(r){var l=_f.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=i),r&=~u}if(r=l,r=me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*yf(r/1960))-r,10e?16:e,$t===null)var r=!1;else{if(e=$t,$t=null,yl=0,(Q&6)!==0)throw Error(m(331));var l=Q;for(Q|=4,x=e.current;x!==null;){var u=x,i=u.child;if((x.flags&16)!==0){var o=u.deletions;if(o!==null){for(var s=0;sme()-ai?ln(e,0):si|=n),We(e,t)}function ga(e,t){t===0&&((e.mode&1)===0?t=1:(t=Nr,Nr<<=1,(Nr&130023424)===0&&(Nr=4194304)));var n=Ue();e=Ct(e,t),e!==null&&(Bn(e,t,n),We(e,n))}function xf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ga(e,n)}function _f(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(m(314))}r!==null&&r.delete(t),ga(e,n)}var wa;wa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||He.current)$e=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return $e=!1,ff(e,t,n);$e=(e.flags&131072)!==0}else $e=!1,se&&(t.flags&1048576)!==0&&qo(t,Gr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;cl(e,t),e=t.pendingProps;var l=Sn(t,Re.current);Pn(t,n),l=Bu(null,t,r,e,l,n);var u=Hu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ve(r)?(u=!0,Kr(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ou(t),l.updater=sl,t.stateNode=l,l._reactInternals=t,Yu(t,r,e,n),t=Ju(null,t,r,!0,u,n)):(t.tag=0,se&&u&&xu(t),Ie(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(cl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Pf(r),e=ft(r,e),l){case 0:t=Zu(null,t,r,e,n);break e;case 1:t=Ws(null,t,r,e,n);break e;case 11:t=Bs(null,t,r,e,n);break e;case 14:t=Hs(null,t,r,ft(r.type,e),n);break e}throw Error(m(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Zu(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Ws(e,t,r,l,n);case 3:e:{if(Ks(t),e===null)throw Error(m(387));r=t.pendingProps,u=t.memoizedState,l=u.element,os(e,t),tl(t,r,null,n);var i=t.memoizedState;if(r=i.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=zn(Error(m(423)),t),t=Ys(e,t,r,n,l);break e}else if(r!==l){l=zn(Error(m(424)),t),t=Ys(e,t,r,n,l);break e}else for(qe=Dt(t.stateNode.containerInfo.firstChild),Je=t,se=!0,ct=null,n=us(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(xn(),r===l){t=Nt(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return cs(t),e===null&&Pu(t),r=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,i=l.children,yu(r,l)?i=null:u!==null&&yu(r,u)&&(t.flags|=32),Qs(e,t),Ie(e,t,i,n),t.child;case 6:return e===null&&Pu(t),null;case 13:return Xs(e,t,n);case 4:return Mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=_n(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),Bs(e,t,r,l,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,u=t.memoizedProps,i=l.value,re(qr,r._currentValue),r._currentValue=i,u!==null)if(at(u.value,i)){if(u.children===l.children&&!He.current){t=Nt(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var o=u.dependencies;if(o!==null){i=u.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Pt(-1,n&-n),s.tag=2;var p=u.updateQueue;if(p!==null){p=p.shared;var y=p.pending;y===null?s.next=s:(s.next=y.next,y.next=s),p.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),Lu(u.return,n,t),o.lanes|=n;break}s=s.next}}else if(u.tag===10)i=u.type===t.type?null:u.child;else if(u.tag===18){if(i=u.return,i===null)throw Error(m(341));i.lanes|=n,o=i.alternate,o!==null&&(o.lanes|=n),Lu(i,n,t),i=u.sibling}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===t){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}Ie(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Pn(t,n),l=rt(l),r=r(l),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,l=ft(r,t.pendingProps),l=ft(r.type,l),Hs(e,t,r,l,n);case 15:return Vs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ft(r,l),cl(e,t),t.tag=1,Ve(r)?(e=!0,Kr(t)):e=!1,Pn(t,n),Os(t,r,l),Yu(t,r,l,n),Ju(null,t,r,!0,e,n);case 19:return Zs(e,t,n);case 22:return $s(e,t,n)}throw Error(m(156,t.tag))};function Sa(e,t){return qi(e,t)}function Cf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function it(e,t,n,r){return new Cf(e,t,n,r)}function yi(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Pf(e){if(typeof e=="function")return yi(e)?1:0;if(e!=null){if(e=e.$$typeof,e===De)return 11;if(e===ht)return 14}return 2}function Kt(e,t){var n=e.alternate;return n===null?(n=it(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function kl(e,t,n,r,l,u){var i=2;if(r=e,typeof e=="function")yi(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Ce:return on(n.children,l,u,t);case Te:i=8,l|=8;break;case Xe:return e=it(12,n,t,l|2),e.elementType=Xe,e.lanes=u,e;case Fe:return e=it(13,n,t,l),e.elementType=Fe,e.lanes=u,e;case ot:return e=it(19,n,t,l),e.elementType=ot,e.lanes=u,e;case fe:return El(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ie:i=10;break e;case pe:i=9;break e;case De:i=11;break e;case ht:i=14;break e;case Be:i=16,r=null;break e}throw Error(m(130,e==null?e:typeof e,""))}return t=it(i,n,t,l),t.elementType=e,t.type=r,t.lanes=u,t}function on(e,t,n,r){return e=it(7,e,r,t),e.lanes=n,e}function El(e,t,n,r){return e=it(22,e,r,t),e.elementType=fe,e.lanes=n,e.stateNode={isHidden:!1},e}function gi(e,t,n){return e=it(6,e,null,t),e.lanes=n,e}function wi(e,t,n){return t=it(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Kl(0),this.expirationTimes=Kl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Si(e,t,n,r,l,u,i,o,s){return e=new Nf(e,t,n,o,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=it(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ou(u),e}function zf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(S)}catch(N){console.error(N)}}return S(),Pi.exports=Af(),Pi.exports}var Ma;function Hf(){if(Ma)return Tl;Ma=1;var S=Bf();return Tl.createRoot=S.createRoot,Tl.hydrateRoot=S.hydrateRoot,Tl}var Vf=Hf();const $f="/assets/php-wasm-bridge-BCntMcWX.js",Rl=1024;let Ti=null;async function Qf(){return Ti||(Ti=new Promise((S,N)=>{fetch("/php-wasm.wasm").then(m=>(m.ok||N(`Failed to fetch wasm binary: ${m.status} (${m.url})`),m)).then(m=>m.arrayBuffer()).then(m=>S(m))})),Ti}async function Wf(S){let N=0;const m=new TextEncoder().encode(S);let Z=0;const L=new Uint8Array(Rl);let M=0;const D=new Uint8Array(Rl),{default:H}=await import($f),{ccall:I}=await H({wasmBinary:await Qf(),stdin:()=>m.length<=N?null:m[N++],stdout:G=>{G!==null&&(Rl<=Z||(G<0&&(G+=256),L[Z++]=G))},stderr:G=>{G!==null&&(Rl<=M||(G<0&&(G+=256),D[M++]=G))}});let b,te=null;try{b=I("php_wasm_run","number",["string"],[S])}catch(G){if(G instanceof WebAssembly.RuntimeError)te=G.message;else throw G}const V=new TextDecoder().decode(L.subarray(0,Z)),X=new TextDecoder().decode(D.subarray(0,M));return{success:b===0,stdout:V,stderr:te==null?X:`${X} -${te}`}}function Kf(S,N,m){var Z=this,L=ge.useRef(null),M=ge.useRef(0),D=ge.useRef(null),H=ge.useRef([]),I=ge.useRef(),b=ge.useRef(),te=ge.useRef(S),V=ge.useRef(!0);te.current=S;var X=typeof window<"u",G=!N&&N!==0&&X;if(typeof S!="function")throw new TypeError("Expected a function");N=+N||0;var Me=!!(m=m||{}).leading,ee=!("trailing"in m)||!!m.trailing,$="maxWait"in m,et="debounceOnServer"in m&&!!m.debounceOnServer,Ae=$?Math.max(+m.maxWait||0,N):null;ge.useEffect(function(){return V.current=!0,function(){V.current=!1}},[]);var Ye=ge.useMemo(function(){var ve=function(ie){var pe=H.current,De=I.current;return H.current=I.current=null,M.current=ie,b.current=te.current.apply(De,pe)},ze=function(ie,pe){G&&cancelAnimationFrame(D.current),D.current=G?requestAnimationFrame(ie):setTimeout(ie,pe)},ke=function(ie){if(!V.current)return!1;var pe=ie-L.current;return!L.current||pe>=N||pe<0||$&&ie-M.current>=Ae},Ce=function(ie){return D.current=null,ee&&H.current?ve(ie):(H.current=I.current=null,b.current)},Te=function ie(){var pe=Date.now();if(ke(pe))return Ce(pe);if(V.current){var De=N-(pe-L.current),Fe=$?Math.min(De,Ae-(pe-M.current)):De;ze(ie,Fe)}},Xe=function(){if(X||et){var ie=Date.now(),pe=ke(ie);if(H.current=[].slice.call(arguments),I.current=Z,L.current=ie,pe){if(!D.current&&V.current)return M.current=L.current,ze(Te,N),Me?ve(L.current):b.current;if($)return ze(Te,N),ve(L.current)}return D.current||ze(Te,N),b.current}};return Xe.cancel=function(){D.current&&(G?cancelAnimationFrame(D.current):clearTimeout(D.current)),M.current=0,H.current=L.current=I.current=D.current=null},Xe.isPending=function(){return!!D.current},Xe.flush=function(){return D.current?Ce(Date.now()):b.current},Xe},[Me,$,N,Ae,ee,G,X,et]);return Ye}function Yf(S,N){return S===N}function Fa(S,N,m){var Z=Yf,L=ge.useRef(S),M=ge.useState({})[1],D=Kf(ge.useCallback(function(I){L.current=I,M({})},[M]),N,m),H=ge.useRef(S);return Z(H.current,S)||(D(S),H.current=S),[L.current,D]}function Xf({quiz:S}){const[N,m]=ge.useState("123"),[Z]=Fa(N,1e3),[L,M]=ge.useState(""),[D,H]=ge.useState(!0),I=b=>{m(b.target.value)};return ge.useEffect(()=>{if(Z===""){M("");return}H(!0),M("");const b=` - function f($x) { - return ${S.func}($x); - } - try { - var_dump(f(${Z})); - } catch (\\Throwable $e) { - echo $e->getMessage(), PHP_EOL; - } - `;Wf(b).then(te=>{const V=te.stdout+te.stderr;M(V.replaceAll(S.func,"")),H(!1)})},[Z,S.func]),F.jsxs("div",{children:[F.jsxs("code",{children:["f(",F.jsx("input",{type:"text",value:N,onChange:I}),")"]}),"は ",F.jsx("code",{children:D?"running...":L})," を返す。"]})}const Da="your_answer";function Gf({quiz:S}){const[N,m]=ge.useState(Da),[Z]=Fa(N,500),L=Z!==Da,M=Z===S.func,D=H=>{m(H.target.value)};return F.jsxs("div",{children:["この関数は?",F.jsx("input",{type:"text",value:N,onChange:D}),F.jsx("p",{children:L&&(M?`正解!${S.message}`:"不正解")})]})}function Zf({quiz:S}){return F.jsxs("section",{children:[F.jsx("h3",{children:S.label}),F.jsx(Xf,{quiz:S}),F.jsx(Gf,{quiz:S})]})}function Jf({quizGroup:S}){return F.jsxs("section",{children:[F.jsx("h2",{children:S.label}),S.quizzes.map(N=>F.jsx(Zf,{quiz:N},N.label))]})}function qf({quizGroups:S}){return F.jsxs("table",{id:"layout",children:[F.jsx("tr",{children:F.jsx("td",{id:"header",colSpan:2,className:"marquee",children:F.jsx("span",{children:"PHPerKaigi 2025 デジタルサーカス株式会社トークン問題"})})}),F.jsxs("tr",{children:[F.jsxs("td",{id:"sidebar",children:[F.jsx("h2",{children:"メニュー"}),F.jsxs("ul",{children:[F.jsx("li",{children:F.jsx("a",{href:"",children:"ホーム"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2024-tokens",target:"_blank",children:"トークン問題2024"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2023-tokens",target:"_blank",children:"トークン問題2023"})}),F.jsx("li",{children:F.jsx("a",{href:"https://github.com/nsfisis/PHPerKaigi2022-tokens",target:"_blank",children:"トークン問題2022"})}),F.jsx("li",{className:"hidden",children:"ここにトークンはないよ"})]})]}),F.jsx("td",{id:"content",children:F.jsxs("main",{children:[F.jsxs("p",{children:["PHPerKaigi 2025 の PHPer チャレンジ企画において、",F.jsx("a",{href:"https://www.dgcircus.com/",children:"デジタルサーカス株式会社"}),"から出題するトークン問題です (作問"," ",F.jsx("a",{href:"https://x.com/nsfisis",children:"@nsfisis"}),")。"]}),F.jsx("p",{children:"それぞれの問題に、PHP の標準関数がひとつ設定されています。 好きな引数を渡すと実行されます。その実行結果を見て、何の関数かを当ててください。"}),S.map(N=>F.jsx(Jf,{quizGroup:N},N.label))]})})]})]})}const bf=[{label:"チュートリアル",quizzes:[{label:"Q1",func:"abs",message:"トークン1文字目「#」"}]},{label:"かんたん",quizzes:[{label:"Q2",func:"strlen",message:"トークン2文字目「W」"},{label:"Q3",func:"gettype",message:"トークン3文字目「E」"},{label:"Q4",func:"count",message:"トークン4文字目「❤」"}]},{label:"ふつう",quizzes:[{label:"Q5",func:"md5",message:"トークン5文字目「P」"},{label:"Q6",func:"strtoupper",message:"トークン6文字目「H」"},{label:"Q7",func:"array_keys",message:"トークン7文字目「P」。トークンはこれでおわり"}]},{label:"むずかしい",quizzes:[{label:"Q8",func:"str_rot13",message:"すごい!"},{label:"Q9",func:"metaphone",message:"すごい!"},{label:"Q10",func:"array_change_key_case",message:"すごい!"}]}];Vf.createRoot(document.getElementById("root")).render(F.jsx(ge.StrictMode,{children:F.jsx(qf,{quizGroups:bf})})); diff --git a/docs/index.html b/docs/index.html index e48e877..e82f0ac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,11 +2,11 @@ - + PHPerKaigi 2025 デジタルサーカス株式会社トークン問題 - - + +
-- cgit v1.2.3-70-g09d2