diff --git a/packages/typo3-docs-theme/assets/js/search.js b/packages/typo3-docs-theme/assets/js/search.js index 939d6da12..009222f31 100644 --- a/packages/typo3-docs-theme/assets/js/search.js +++ b/packages/typo3-docs-theme/assets/js/search.js @@ -37,4 +37,4 @@ var nr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<" `+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=u);break}}}finally{xl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?gt(e):""}function Fc(e){switch(e.tag){case 5:return gt(e.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1),e;case 11:return e=Cl(e.type.render,!1),e;case 1:return e=Cl(e.type,!0),e;default:return""}}function bl(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 Dn:return"Fragment";case Mn:return"Portal";case Zl:return"Profiler";case Gi:return"StrictMode";case Jl:return"Suspense";case ql:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fs:return(e.displayName||"Context")+".Consumer";case cs:return(e._context.displayName||"Context")+".Provider";case Zi:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ji:return n=e.displayName||null,n!==null?n:bl(e.type)||"Memo";case Je:n=e._payload,e=e._init;try{return bl(e(n))}catch{}}return null}function $c(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return bl(n);case 8:return n===Gi?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ps(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Uc(e){var n=ps(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lr(e){e._valueTracker||(e._valueTracker=Uc(e))}function ms(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ps(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Rr(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 ei(e,n){var t=n.checked;return H({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Wo(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function hs(e,n){n=n.checked,n!=null&&Xi(e,"checked",n,!1)}function ni(e,n){hs(e,n);var t=dn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?ti(e,n.type,t):n.hasOwnProperty("defaultValue")&&ti(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Qo(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function ti(e,n,t){(n!=="number"||Rr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var wt=Array.isArray;function Yn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Rt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var Et={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},Ac=["Webkit","ms","Moz","O"];Object.keys(Et).forEach(function(e){Ac.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Et[n]=Et[e]})});function ws(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||Et.hasOwnProperty(e)&&Et[e]?(""+n).trim():n+"px"}function Ss(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=ws(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Vc=H({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 ii(e,n){if(n){if(Vc[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(S(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(S(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(S(61))}if(n.style!=null&&typeof n.style!="object")throw Error(S(62))}}function oi(e,n){if(e.indexOf("-")===-1)return typeof n.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 ui=null;function qi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var si=null,Xn=null,Gn=null;function Xo(e){if(e=Jt(e)){if(typeof si!="function")throw Error(S(280));var n=e.stateNode;n&&(n=sl(n),si(e.stateNode,e.type,n))}}function ks(e){Xn?Gn?Gn.push(e):Gn=[e]:Xn=e}function Es(){if(Xn){var e=Xn,n=Gn;if(Gn=Xn=null,Xo(e),n)for(e=0;e>>=0,e===0?32:31-(qc(e)/bc|0)|0}var or=64,ur=4194304;function St(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 Dr(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,o=t&268435455;if(o!==0){var u=o&~l;u!==0?r=St(u):(i&=o,i!==0&&(r=St(i)))}else o=t&~l,o!==0?r=St(o):i!==0&&(r=St(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Gt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Re(n),e[n]=t}function rf(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=xt),ru=String.fromCharCode(32),lu=!1;function Bs(e,n){switch(e){case"keyup":return Rf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Fn=!1;function If(e,n){switch(e){case"compositionend":return Hs(n);case"keypress":return n.which!==32?null:(lu=!0,ru);case"textInput":return e=n.data,e===ru&&lu?null:e;default:return null}}function Mf(e,n){if(Fn)return e==="compositionend"||!oo&&Bs(e,n)?(e=As(),Er=ro=nn=null,Fn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=su(t)}}function Ys(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ys(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Xs(){for(var e=window,n=Rr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Rr(e.document)}return n}function uo(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Wf(e){var n=Xs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&Ys(t.ownerDocument.documentElement,t)){if(r!==null&&uo(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=au(t,i);var o=au(t,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(o.node,o.offset)):(n.setEnd(o.node,o.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,$n=null,mi=null,Nt=null,hi=!1;function cu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;hi||$n==null||$n!==Rr(r)||(r=$n,"selectionStart"in r&&uo(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}),Nt&&$t(Nt,r)||(Nt=r,r=Ur(mi,"onSelect"),0Vn||(e.current=ki[Vn],ki[Vn]=null,Vn--)}function D(e,n){Vn++,ki[Vn]=e.current,e.current=n}var pn={},ie=hn(pn),pe=hn(!1),Pn=pn;function et(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function me(e){return e=e.childContextTypes,e!=null}function Vr(){$(pe),$(ie)}function yu(e,n,t){if(ie.current!==pn)throw Error(S(168));D(ie,n),D(pe,t)}function ra(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(S(108,$c(e)||"Unknown",l));return H({},t,r)}function Br(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Pn=ie.current,D(ie,e),D(pe,pe.current),!0}function gu(e,n,t){var r=e.stateNode;if(!r)throw Error(S(169));t?(e=ra(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,$(pe),$(ie),D(ie,e)):$(pe),D(pe,t)}var Ve=null,al=!1,Ul=!1;function la(e){Ve===null?Ve=[e]:Ve.push(e)}function td(e){al=!0,la(e)}function vn(){if(!Ul&&Ve!==null){Ul=!0;var e=0,n=M;try{var t=Ve;for(M=1;e>=o,l-=o,Be=1<<32-Re(n)+l|t<_?(L=w,w=null):L=w.sibling;var T=m(c,w,d[_],g);if(T===null){w===null&&(w=L);break}e&&w&&T.alternate===null&&n(c,w),a=i(T,a,_),y===null?v=T:y.sibling=T,y=T,w=L}if(_===d.length)return t(c,w),U&&Sn(c,_),v;if(w===null){for(;__?(L=w,w=null):L=w.sibling;var ce=m(c,w,T.value,g);if(ce===null){w===null&&(w=L);break}e&&w&&ce.alternate===null&&n(c,w),a=i(ce,a,_),y===null?v=ce:y.sibling=ce,y=ce,w=L}if(T.done)return t(c,w),U&&Sn(c,_),v;if(w===null){for(;!T.done;_++,T=d.next())T=p(c,T.value,g),T!==null&&(a=i(T,a,_),y===null?v=T:y.sibling=T,y=T);return U&&Sn(c,_),v}for(w=r(c,w);!T.done;_++,T=d.next())T=k(w,c,_,T.value,g),T!==null&&(e&&T.alternate!==null&&w.delete(T.key===null?_:T.key),a=i(T,a,_),y===null?v=T:y.sibling=T,y=T);return e&&w.forEach(function(yn){return n(c,yn)}),U&&Sn(c,_),v}function R(c,a,d,g){if(typeof d=="object"&&d!==null&&d.type===Dn&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case rr:e:{for(var v=d.key,y=a;y!==null;){if(y.key===v){if(v=d.type,v===Dn){if(y.tag===7){t(c,y.sibling),a=l(y,d.props.children),a.return=c,c=a;break e}}else if(y.elementType===v||typeof v=="object"&&v!==null&&v.$$typeof===Je&&ku(v)===y.type){t(c,y.sibling),a=l(y,d.props),a.ref=ht(c,y,d),a.return=c,c=a;break e}t(c,y);break}else n(c,y);y=y.sibling}d.type===Dn?(a=Nn(d.props.children,c.mode,g,d.key),a.return=c,c=a):(g=Lr(d.type,d.key,d.props,null,c.mode,g),g.ref=ht(c,a,d),g.return=c,c=g)}return o(c);case Mn:e:{for(y=d.key;a!==null;){if(a.key===y)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){t(c,a.sibling),a=l(a,d.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Yl(d,c.mode,g),a.return=c,c=a}return o(c);case Je:return y=d._init,R(c,a,y(d._payload),g)}if(wt(d))return E(c,a,d,g);if(ct(d))return x(c,a,d,g);mr(c,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,d),a.return=c,c=a):(t(c,a),a=Kl(d,c.mode,g),a.return=c,c=a),o(c)):t(c,a)}return R}var tt=sa(!0),aa=sa(!1),Qr=hn(null),Kr=null,Wn=null,fo=null;function po(){fo=Wn=Kr=null}function mo(e){var n=Qr.current;$(Qr),e._currentValue=n}function xi(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Jn(e,n){Kr=e,fo=Wn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(de=!0),e.firstContext=null)}function Ne(e){var n=e._currentValue;if(fo!==e)if(e={context:e,memoizedValue:n,next:null},Wn===null){if(Kr===null)throw Error(S(308));Wn=e,Kr.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return n}var _n=null;function ho(e){_n===null?_n=[e]:_n.push(e)}function ca(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,ho(n)):(t.next=l.next,l.next=t),n.interleaved=t,Ye(e,r)}function Ye(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var qe=!1;function vo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fa(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function We(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function sn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Ye(e,t)}return l=r.interleaved,l===null?(n.next=n,ho(r)):(n.next=l.next,l.next=n),r.interleaved=n,Ye(e,t)}function xr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eo(e,t)}}function Eu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var o={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=o:i=i.next=o,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Yr(e,n,t,r){var l=e.updateQueue;qe=!1;var i=l.firstBaseUpdate,o=l.lastBaseUpdate,u=l.shared.pending;if(u!==null){l.shared.pending=null;var s=u,f=s.next;s.next=null,o===null?i=f:o.next=f,o=s;var h=e.alternate;h!==null&&(h=h.updateQueue,u=h.lastBaseUpdate,u!==o&&(u===null?h.firstBaseUpdate=f:u.next=f,h.lastBaseUpdate=s))}if(i!==null){var p=l.baseState;o=0,h=f=s=null,u=i;do{var m=u.lane,k=u.eventTime;if((r&m)===m){h!==null&&(h=h.next={eventTime:k,lane:0,tag:u.tag,payload:u.payload,callback:u.callback,next:null});e:{var E=e,x=u;switch(m=n,k=t,x.tag){case 1:if(E=x.payload,typeof E=="function"){p=E.call(k,p,m);break e}p=E;break e;case 3:E.flags=E.flags&-65537|128;case 0:if(E=x.payload,m=typeof E=="function"?E.call(k,p,m):E,m==null)break e;p=H({},p,m);break e;case 2:qe=!0}}u.callback!==null&&u.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[u]:m.push(u))}else k={eventTime:k,lane:m,tag:u.tag,payload:u.payload,callback:u.callback,next:null},h===null?(f=h=k,s=p):h=h.next=k,o|=m;if(u=u.next,u===null){if(u=l.shared.pending,u===null)break;m=u,u=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(1);if(h===null&&(s=p),l.baseState=s,l.firstBaseUpdate=f,l.lastBaseUpdate=h,n=l.shared.interleaved,n!==null){l=n;do o|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);Ln|=o,e.lanes=o,e.memoizedState=p}}function _u(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),n()}finally{M=t,Vl.transition=r}}function za(){return Pe().memoizedState}function od(e,n,t){var r=cn(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ta(e))La(n,t);else if(t=ca(e,n,t,r),t!==null){var l=ue();Oe(t,e,r,l),ja(t,n,r)}}function ud(e,n,t){var r=cn(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ta(e))La(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var o=n.lastRenderedState,u=i(o,t);if(l.hasEagerState=!0,l.eagerState=u,Ie(u,o)){var s=n.interleaved;s===null?(l.next=l,ho(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=ca(e,n,l,r),t!==null&&(l=ue(),Oe(t,e,r,l),ja(t,n,r))}}function Ta(e){var n=e.alternate;return e===B||n!==null&&n===B}function La(e,n){Pt=Gr=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function ja(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eo(e,t)}}var Zr={readContext:Ne,useCallback:te,useContext:te,useEffect:te,useImperativeHandle:te,useInsertionEffect:te,useLayoutEffect:te,useMemo:te,useReducer:te,useRef:te,useState:te,useDebugValue:te,useDeferredValue:te,useTransition:te,useMutableSource:te,useSyncExternalStore:te,useId:te,unstable_isNewReconciler:!1},sd={readContext:Ne,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Ne,useEffect:Cu,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,Nr(4194308,4,_a.bind(null,n,e),t)},useLayoutEffect:function(e,n){return Nr(4194308,4,e,n)},useInsertionEffect:function(e,n){return Nr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=od.bind(null,B,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:xu,useDebugValue:xo,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=xu(!1),n=e[0];return e=id.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=B,l=De();if(U){if(t===void 0)throw Error(S(407));t=t()}else{if(t=n(),q===null)throw Error(S(349));Tn&30||ha(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,Cu(ya.bind(null,r,i,e),[e]),r.flags|=2048,Kt(9,va.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=q.identifierPrefix;if(U){var t=He,r=Be;t=(r&~(1<<32-Re(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Wt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Fe]=n,e[Vt]=r,Va(e,n,!1,!1),n.stateNode=e;e:{switch(o=oi(t,r),t){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lit&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Xr(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!U)return re(n),null}else 2*K()-i.renderingStartTime>it&&t!==1073741824&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304);i.isBackwards?(o.sibling=n.child,n.child=o):(t=i.last,t!==null?t.sibling=o:n.child=o,i.last=o)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=K(),n.sibling=null,t=V.current,D(V,r?t&1|2:t&1),n):(re(n),null);case 22:case 23:return Lo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ve&1073741824&&(re(n),n.subtreeFlags&6&&(n.flags|=8192)):re(n),null;case 24:return null;case 25:return null}throw Error(S(156,n.tag))}function vd(e,n){switch(ao(n),n.tag){case 1:return me(n.type)&&Vr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),$(pe),$(ie),wo(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return go(n),null;case 13:if($(V),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(S(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return $(V),null;case 4:return rt(),null;case 10:return mo(n.type._context),null;case 22:case 23:return Lo(),null;case 24:return null;default:return null}}var vr=!1,le=!1,yd=typeof WeakSet=="function"?WeakSet:Set,C=null;function Qn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){W(e,n,r)}else t.current=null}function Oi(e,n,t){try{t()}catch(r){W(e,n,r)}}var Du=!1;function gd(e,n){if(vi=Fr,e=Xs(),uo(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var o=0,u=-1,s=-1,f=0,h=0,p=e,m=null;n:for(;;){for(var k;p!==t||l!==0&&p.nodeType!==3||(u=o+l),p!==i||r!==0&&p.nodeType!==3||(s=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(k=p.firstChild)!==null;)m=p,p=k;for(;;){if(p===e)break n;if(m===t&&++f===l&&(u=o),m===i&&++h===r&&(s=o),(k=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=k}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(yi={focusedElem:e,selectionRange:t},Fr=!1,C=n;C!==null;)if(n=C,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,C=e;else for(;C!==null;){n=C;try{var E=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var x=E.memoizedProps,R=E.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?x:Te(n.type,x),R);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.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(S(163))}}catch(g){W(n,n.return,g)}if(e=n.sibling,e!==null){e.return=n.return,C=e;break}C=n.return}return E=Du,Du=!1,E}function zt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Oi(n,t,i)}l=l.next}while(l!==r)}}function dl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Ii(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Wa(e){var n=e.alternate;n!==null&&(e.alternate=null,Wa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Fe],delete n[Vt],delete n[Si],delete n[ed],delete n[nd])),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 Qa(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qa(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 Mi(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ar));else if(r!==4&&(e=e.child,e!==null))for(Mi(e,n,t),e=e.sibling;e!==null;)Mi(e,n,t),e=e.sibling}function Di(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Di(e,n,t),e=e.sibling;e!==null;)Di(e,n,t),e=e.sibling}var b=null,Le=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Ka(e,n,t),t=t.sibling}function Ka(e,n,t){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(ll,t)}catch{}switch(t.tag){case 5:le||Qn(t,n);case 6:var r=b,l=Le;b=null,Ze(e,n,t),b=r,Le=l,b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):b.removeChild(t.stateNode));break;case 18:b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?$l(e.parentNode,t):e.nodeType===1&&$l(e,t),Dt(e)):$l(b,t.stateNode));break;case 4:r=b,l=Le,b=t.stateNode.containerInfo,Le=!0,Ze(e,n,t),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Oi(t,n,o),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!le&&(Qn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){W(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(le=(r=le)||t.memoizedState!==null,Ze(e,n,t),le=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function $u(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new yd),n.forEach(function(r){var l=Pd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sd(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,br=0,I&6)throw Error(S(331));var l=I;for(I|=4,C=e.current;C!==null;){var i=C,o=i.child;if(C.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-zo?Cn(e,0):Po|=t),he(e,n)}function ec(e,n){n===0&&(e.mode&1?(n=ur,ur<<=1,!(ur&130023424)&&(ur=4194304)):n=1);var t=ue();e=Ye(e,n),e!==null&&(Gt(e,n,t),he(e,t))}function Nd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ec(e,t)}function Pd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(n),ec(e,t)}var nc;nc=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||pe.current)de=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return de=!1,md(e,n,t);de=!!(e.flags&131072)}else de=!1,U&&n.flags&1048576&&ia(n,Wr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Pr(e,n),e=n.pendingProps;var l=et(n,ie.current);Jn(n,t),l=ko(null,n,r,e,l,t);var i=Eo();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,me(r)?(i=!0,Br(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,vo(n),l.updater=fl,n.stateNode=l,l._reactInternals=n,Ni(n,r,e,t),n=Ti(null,n,r,!0,i,t)):(n.tag=0,U&&i&&so(n),oe(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Pr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Td(r),e=Te(r,e),l){case 0:n=zi(null,n,r,e,t);break e;case 1:n=Ou(null,n,r,e,t);break e;case 11:n=ju(null,n,r,e,t);break e;case 14:n=Ru(null,n,r,Te(r.type,e),t);break e}throw Error(S(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),zi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Ou(e,n,r,l,t);case 3:e:{if($a(n),e===null)throw Error(S(387));r=n.pendingProps,i=n.memoizedState,l=i.element,fa(e,n),Yr(n,r,null,t);var o=n.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=lt(Error(S(423)),n),n=Iu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(S(424)),n),n=Iu(e,n,r,t,l);break e}else for(ye=un(n.stateNode.containerInfo.firstChild),ge=n,U=!0,je=null,t=aa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}oe(e,n,r,t)}n=n.child}return n;case 5:return da(n),e===null&&_i(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,gi(r,l)?o=null:i!==null&&gi(r,i)&&(n.flags|=32),Fa(e,n),oe(e,n,o,t),n.child;case 6:return e===null&&_i(n),null;case 13:return Ua(e,n,t);case 4:return yo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(n,null,r,t):oe(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),ju(e,n,r,l,t);case 7:return oe(e,n,n.pendingProps,t),n.child;case 8:return oe(e,n,n.pendingProps.children,t),n.child;case 12:return oe(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,o=l.value,D(Qr,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!pe.current){n=Xe(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=We(-1,t&-t),s.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),xi(i.return,t,n),u.lanes|=t;break}s=s.next}}else if(i.tag===10)o=i.type===n.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=t,u=o.alternate,u!==null&&(u.lanes|=t),xi(o,t,n),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===n){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}oe(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Jn(n,t),l=Ne(l),r=r(l),n.flags|=1,oe(e,n,r,t),n.child;case 14:return r=n.type,l=Te(r,n.pendingProps),l=Te(r.type,l),Ru(e,n,r,l,t);case 15:return Ma(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Pr(e,n),n.tag=1,me(r)?(e=!0,Br(n)):e=!1,Jn(n,t),Ra(n,r,l),Ni(n,r,l,t),Ti(null,n,r,!0,e,t);case 19:return Aa(e,n,t);case 22:return Da(e,n,t)}throw Error(S(156,n.tag))};function tc(e,n){return Ts(e,n)}function zd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 xe(e,n,t,r){return new zd(e,n,t,r)}function Ro(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Td(e){if(typeof e=="function")return Ro(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zi)return 11;if(e===Ji)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=xe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Lr(e,n,t,r,l,i){var o=2;if(r=e,typeof e=="function")Ro(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Dn:return Nn(t.children,l,i,n);case Gi:o=8,l|=8;break;case Zl:return e=xe(12,t,n,l|2),e.elementType=Zl,e.lanes=i,e;case Jl:return e=xe(13,t,n,l),e.elementType=Jl,e.lanes=i,e;case ql:return e=xe(19,t,n,l),e.elementType=ql,e.lanes=i,e;case ds:return ml(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case cs:o=10;break e;case fs:o=9;break e;case Zi:o=11;break e;case Ji:o=14;break e;case Je:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return n=xe(o,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Nn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function ml(e,n,t,r){return e=xe(22,e,r,n),e.elementType=ds,e.lanes=t,e.stateNode={isHidden:!1},e}function Kl(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Yl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ld(e,n,t,r,l){this.tag=n,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=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Oo(e,n,t,r,l,i,o,u,s){return e=new Ld(e,n,t,u,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=xe(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},vo(i),e}function jd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(oc)}catch(e){console.error(e)}}oc(),os.exports=Se;var Dd=os.exports,uc,Ku=Dd;uc=Ku.createRoot,Ku.hydrateRoot;const Fd=()=>{const[e,n]=A.useState([]);return A.useEffect(()=>{var o,u,s,f;const t=[],r=document.getElementById("searchscope"),l=(u=(o=r==null?void 0:r.children)==null?void 0:o[1])==null?void 0:u.value;if(l){const h=decodeURIComponent(l).split("/").slice(2,4).join("/"),p=(s=decodeURIComponent(l).split("/").slice(4,5)[0])==null?void 0:s.split(".")[0];t.push({type:"manual",title:h}),t.push({type:"version",title:p})}(f=new URL(window.location.href).searchParams)==null||f.forEach((h,p)=>{if(p==="scope"){const m=decodeURIComponent(h).split("/").slice(2,4).join("/");t.push({type:"manual",title:m})}else if(p.startsWith("filters[")){const m=new RegExp(/filters\[(.*?)\]\[(.*?)\]/),[,k,E]=p.match(m);t.push({type:k==="optionsaggs"?"option":k,title:E})}}),n(t)},[]),[e,n]};var $d="Expected a function",Yu=0/0,Ud="[object Symbol]",Ad=/^\s+|\s+$/g,Vd=/^[-+]0x[0-9a-f]+$/i,Bd=/^0b[01]+$/i,Hd=/^0o[0-7]+$/i,Wd=parseInt,Qd=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Kd=typeof self=="object"&&self&&self.Object===Object&&self,Yd=Qd||Kd||Function("return this")(),Xd=Object.prototype,Gd=Xd.toString,Zd=Math.max,Jd=Math.min,Xl=function(){return Yd.Date.now()};function qd(e,n,t){var r,l,i,o,u,s,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError($d);n=Xu(n)||0,Vi(t)&&(h=!!t.leading,p="maxWait"in t,i=p?Zd(Xu(t.maxWait)||0,n):i,m="trailing"in t?!!t.trailing:m);function k(y){var w=r,_=l;return r=l=void 0,f=y,o=e.apply(_,w),o}function E(y){return f=y,u=setTimeout(c,n),h?k(y):o}function x(y){var w=y-s,_=y-f,L=n-w;return p?Jd(L,i-_):L}function R(y){var w=y-s,_=y-f;return s===void 0||w>=n||w<0||p&&_>=i}function c(){var y=Xl();if(R(y))return a(y);u=setTimeout(c,x(y))}function a(y){return u=void 0,m&&r?k(y):(r=l=void 0,o)}function d(){u!==void 0&&clearTimeout(u),f=0,r=s=l=u=void 0}function g(){return u===void 0?o:a(Xl())}function v(){var y=Xl(),w=R(y);if(r=arguments,l=this,s=y,w){if(u===void 0)return E(s);if(p)return u=setTimeout(c,n),k(s)}return u===void 0&&(u=setTimeout(c,n)),o}return v.cancel=d,v.flush=g,v}function Vi(e){var n=typeof e;return!!e&&(n=="object"||n=="function")}function bd(e){return!!e&&typeof e=="object"}function ep(e){return typeof e=="symbol"||bd(e)&&Gd.call(e)==Ud}function Xu(e){if(typeof e=="number")return e;if(ep(e))return Yu;if(Vi(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Vi(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=e.replace(Ad,"");var t=Bd.test(e);return t||Hd.test(e)?Wd(e.slice(2),t?2:8):Vd.test(e)?Yu:+e}var np=qd;const tp=ac(np),rp=()=>{const[e,n]=A.useState([]),[t,r]=A.useState([]),[l,i]=A.useState(!1),o=(f,h)=>{const p=new URL("/search/suggest",tl);return f.forEach(m=>{m.type==="manual"?p.searchParams.append("filters[package]",m.title):m.type==="vendor"?p.searchParams.append(`filters[${m.type}]`,m.title):m.type==="option"?p.searchParams.append(`filters[optionsaggs][${m.title}]`,!0):p.searchParams.append(`filters[${m.type}][${m.title}]`,!0)}),p.searchParams.append("q",h),p.href},u=A.useCallback(async(f,h)=>{var p,m;if((f==null?void 0:f.length)===0&&!h){n([]),r([]);return}i(!0);try{const k=await fetch(o(f,h),{headers:{"Content-Type":"application/json"}});if(!k.ok)throw new Error("Network response error");const E=await k.json(),x=((p=E==null?void 0:E.results)==null?void 0:p.map(c=>({title:c.snippet_title,packageName:c.manual_package,href:`${tl}/${c.manual_slug}/${c.relative_url}#${c.fragment}`})))||[],R=Object.entries(((m=E==null?void 0:E.suggest)==null?void 0:m.suggestions)??{}).flatMap(([c,a])=>{const d=c.replace("manual_","")==="package"?"manual":c.replace("manual_","");return a.map(g=>({type:d,title:d==="version"?g.title.split(".")[0]:g.title,slug:g.slug??null}))});n(x),r(R)}catch(k){console.error(k),n([]),r([])}finally{i(!1)}},[]),s=A.useCallback(tp(u,300),[]);return{fileSuggestions:e,scopeSuggestions:t,setScopeSuggestions:r,setFileSuggestions:n,isLoading:l,fetchSuggestions:s}},lp=({type:e})=>{switch(e){case"search":return P.jsx("i",{className:"fa fa-search"});case"file":return P.jsx("i",{className:"fa-regular fa-file-code"});default:return null}},ip=({scopes:e,title:n,type:t,packageName:r})=>(e==null?void 0:e.length)>0?P.jsx(P.Fragment,{children:P.jsxs("div",{className:"suggest-row__scope",children:[e.map(({title:l,type:i})=>P.jsxs(P.Fragment,{children:[P.jsx("p",{className:"suggest-row__scope-type",children:i&&`${i}:`}),l&&P.jsx("p",{className:"suggest-row__scope-name",children:l})]})),P.jsx("p",{className:"suggest-row__title",children:n})]})}):P.jsxs("div",{className:"suggest-row__scope",title:`${n}${r?` (${r})`:""}`,children:[P.jsx("p",{className:"suggest-row__scope-type",children:t&&`${t}:`}),P.jsx("p",{className:"suggest-row__title",dangerouslySetInnerHTML:{__html:n}}),r&&P.jsxs("p",{className:"suggest-row__description",children:["(",r,")"]})]}),jr=A.forwardRef(({title:e,packageName:n,scopes:t,tooltip:r,onClick:l,type:i,href:o,isActive:u,icon:s="search"},f)=>{const h=p=>{o||(p.preventDefault(),l==null||l())};return P.jsxs("a",{onClick:h,ref:f,href:o,className:`suggest-row ${u?"suggest-row--active":""}`,children:[P.jsx("div",{className:"suggest-row__icon",children:P.jsx(lp,{type:s})}),P.jsx("div",{className:"suggest-row__content",children:P.jsx(ip,{scopes:t,title:e,type:i,packageName:n})}),r&&P.jsx("p",{className:"suggest-row__tooltip",children:r})]})});jr.displayName="SuggestRow";const op=({isOpen:e,onClose:n})=>{const[t,r]=A.useState(""),[l,i]=Fd(),[o,u]=A.useState(-1),s=A.useRef([]),f=A.useRef(),{fileSuggestions:h,scopeSuggestions:p,setScopeSuggestions:m,setFileSuggestions:k,isLoading:E,fetchSuggestions:x}=rp(),R=A.useCallback((v,y)=>{const w=new URL("/search/search",tl);return!y&&v.length===1&&v[0].type==="manual"?new URL(`/${v[0].slug}/`,tl).href:(v.forEach(_=>{_.type==="manual"?w.searchParams.append("scope",`/${_.slug}/`):_.type==="vendor"?w.searchParams.append("vendor",_.title):_.type==="option"?w.searchParams.append(`filters[optionaggs][${_.title}]`,!0):w.searchParams.append(`filters[${_.type}][${_.title}]`,!0)}),w.searchParams.append("q",y),w.href)},[]),c=A.useMemo(()=>{const v=[];for(let y=l.length;y>0;y--){const w=l.slice(-y);if(w.length===1&&w[0].type==="manual"){v.push({scopes:w,title:t,tooltip:"Search in this manual",href:R(w,t)});const _=[{type:"vendor",title:w[0].title.split("/")[0]}];v.push({scopes:_,title:t,tooltip:"Search in this vendor",href:R(_,t)})}else v.push({scopes:w,title:t,tooltip:"Search in this scope",href:R(w,t)})}return t&&v.push({scopes:[],title:t,tooltip:"Search all",href:R([],t)}),v},[l,t,R]),a=A.useCallback((v,y,w)=>{var _;i(L=>{const T=[...L],ce=T.findIndex(yn=>yn.type===y);return ce!==-1?T[ce]={type:y,title:v,slug:w}:T.push({type:y,title:v,slug:w}),T}),r(""),u(-1),m([]),k([]),(_=f.current)==null||_.focus()},[i]),d=A.useCallback(v=>{const y=v.target.value;r(y),y!==""&&x(l,y)},[l,x]),g=A.useCallback(v=>{var w,_;const y=[...c,...p,...h].length;switch(v.key){case"Backspace":((w=f.current)==null?void 0:w.selectionEnd)===0&&i(L=>L.slice(0,-1));break;case"ArrowDown":v.preventDefault(),u(L=>LL>-1?L-1:y-1);break;case"Enter":v.preventDefault(),o>=0?(_=s.current[o])==null||_.click():window.location.href=R(l,t);break}},[c,p,h,l,t,R]);return A.useEffect(()=>{var v;o>=0&&((v=s.current[o])==null||v.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}))},[o]),A.useEffect(()=>{const v=y=>{y.key==="Escape"&&n()};return e&&(document.addEventListener("keydown",v),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",v),document.body.style.overflow="unset"}},[e,n]),e?P.jsxs("div",{className:"search-modal",children:[P.jsx("div",{className:"search-modal__overlay",onClick:n}),P.jsxs("div",{className:"search-modal__content",children:[P.jsx("div",{className:"search-modal__header",children:P.jsxs("div",{className:"search-modal__input-wrapper",onClick:()=>u(-1),children:[P.jsx("i",{className:"fa fa-search search-modal__icon"}),l.map((v,y)=>P.jsxs("div",{className:"search-modal__scope",children:[P.jsx("p",{className:"suggest-row__scope-type",children:v.type&&`${v.type}:`}),P.jsx("p",{className:"search-modal__scope-title",children:v.title})]},`scope-${y}`)),P.jsx("input",{ref:f,autoComplete:"off",name:"q",autoFocus:!0,type:"text",className:"search-modal__input",placeholder:(l==null?void 0:l.length)>0?"search in this scope...":"Search documentation...",value:t,onChange:d,onKeyDown:g}),(t||l.length>0)&&P.jsx("button",{className:"search-modal__clear",onClick:()=>{var v;r(""),i([]),u(-1),(v=f.current)==null||v.focus()},children:P.jsx("i",{className:"fa fa-circle-xmark"})})]})}),P.jsxs("ul",{className:"search-modal__body",children:[(c==null?void 0:c.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Decomposed scopes",children:c.map((v,y)=>P.jsx(jr,{scopes:v.scopes,title:v.title,tooltip:v.tooltip,isActive:o===y,ref:w=>s.current[y]=w,href:v.href},`decomposed-${y}`))})}),E?P.jsxs("div",{className:"search-modal__loading",children:[P.jsx("div",{className:"search-modal__spinner",children:P.jsx("i",{className:"fa fa-spinner fa-spin"})}),P.jsx("p",{children:"Searching..."})]}):P.jsxs(P.Fragment,{children:[(c==null?void 0:c.length)>0&&(p==null?void 0:p.length)>0&&P.jsx("li",{className:"search-modal__divider"}),(p==null?void 0:p.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Scope suggestions",children:p.map(({title:v,type:y,slug:w},_)=>P.jsx(jr,{title:v,type:y,isActive:o===_+c.length,ref:L=>s.current[_+c.length]=L,tooltip:"Filter for this",onClick:()=>a(v,y,w)},`scope-${_}`))})}),(c==null?void 0:c.length)>0&&(h==null?void 0:h.length)>0&&P.jsx("li",{className:"search-modal__divider"}),(h==null?void 0:h.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"File suggestions",children:h.map(({title:v,packageName:y,href:w},_)=>P.jsx(jr,{title:v,packageName:y,isActive:o===_+c.length+p.length,href:w,ref:L=>s.current[_+c.length+p.length]=L,tooltip:"Open this page",icon:"file"},`file-${_}`))})})]})]})]})]}):null},up=()=>{const[e,n]=A.useState(!1),t=()=>{n(!0)};return A.useEffect(()=>{const r=document.getElementById("globalsearchinput");if(r)return r.addEventListener("click",t),()=>{r.removeEventListener("click",t)}},[]),P.jsx(op,{isOpen:e,onClose:()=>n(!1)})},tl="https://docs.typo3.org";document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("global-search-root");e&&uc(e).render(P.jsx(up,{}))}); +`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Wl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function Pi(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var fd=typeof WeakMap=="function"?WeakMap:Map;function Oa(e,n,t){t=We(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){qr||(qr=!0,Fi=r),Pi(e,n)},t}function Ia(e,n,t){t=We(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){Pi(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){Pi(e,n),typeof r!="function"&&(an===null?an=new Set([this]):an.add(this));var o=n.stack;this.componentDidCatch(n.value,{componentStack:o!==null?o:""})}),t}function zu(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new fd;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Cd.bind(null,e,n,t),n.then(e,e))}function Tu(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Lu(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=We(-1,1),n.tag=2,sn(t,n,1))),t.lanes|=1),e)}var dd=Ge.ReactCurrentOwner,de=!1;function oe(e,n,t,r){n.child=e===null?aa(n,null,t,r):tt(n,e.child,t,r)}function ju(e,n,t,r,l){t=t.render;var i=n.ref;return Jn(n,l),r=ko(e,n,t,r,i,l),t=Eo(),e!==null&&!de?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(U&&t&&so(n),n.flags|=1,oe(e,n,r,l),n.child)}function Ru(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!Ro(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,Ma(e,n,i,r,l)):(e=Lr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var o=i.memoizedProps;if(t=t.compare,t=t!==null?t:$t,t(o,r)&&e.ref===n.ref)return Xe(e,n,l)}return n.flags|=1,e=fn(i,r),e.ref=n.ref,e.return=n,n.child=e}function Ma(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if($t(i,r)&&e.ref===n.ref)if(de=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(de=!0);else return n.lanes=e.lanes,Xe(e,n,l)}return zi(e,n,t,r,l)}function Da(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Kn,ve),ve|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Kn,ve),ve|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Kn,ve),ve|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Kn,ve),ve|=r;return oe(e,n,l,t),n.child}function Fa(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function zi(e,n,t,r,l){var i=me(t)?Pn:ie.current;return i=et(n,i),Jn(n,l),t=ko(e,n,t,r,i,l),r=Eo(),e!==null&&!de?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Xe(e,n,l)):(U&&r&&so(n),n.flags|=1,oe(e,n,t,l),n.child)}function Ou(e,n,t,r,l){if(me(t)){var i=!0;Br(n)}else i=!1;if(Jn(n,l),n.stateNode===null)Pr(e,n),Ra(n,t,r),Ni(n,t,r,l),r=!0;else if(e===null){var o=n.stateNode,u=n.memoizedProps;o.props=u;var s=o.context,f=t.contextType;typeof f=="object"&&f!==null?f=Ne(f):(f=me(t)?Pn:ie.current,f=et(n,f));var h=t.getDerivedStateFromProps,p=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function";p||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||s!==f)&&Pu(n,o,r,f),qe=!1;var m=n.memoizedState;o.state=m,Yr(n,r,o,l),s=n.memoizedState,u!==r||m!==s||pe.current||qe?(typeof h=="function"&&(Ci(n,t,h,r),s=n.memoizedState),(u=qe||Nu(n,t,u,r,m,s,f))?(p||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(n.flags|=4194308)):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),o.props=r,o.state=s,o.context=f,r=u):(typeof o.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{o=n.stateNode,fa(e,n),u=n.memoizedProps,f=n.type===n.elementType?u:Te(n.type,u),o.props=f,p=n.pendingProps,m=o.context,s=t.contextType,typeof s=="object"&&s!==null?s=Ne(s):(s=me(t)?Pn:ie.current,s=et(n,s));var k=t.getDerivedStateFromProps;(h=typeof k=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==p||m!==s)&&Pu(n,o,r,s),qe=!1,m=n.memoizedState,o.state=m,Yr(n,r,o,l);var E=n.memoizedState;u!==p||m!==E||pe.current||qe?(typeof k=="function"&&(Ci(n,t,k,r),E=n.memoizedState),(f=qe||Nu(n,t,f,r,m,E,s)||!1)?(h||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,E,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,E,s)),typeof o.componentDidUpdate=="function"&&(n.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=E),o.props=r,o.state=E,o.context=s,r=f):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(n.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&m===e.memoizedState||(n.flags|=1024),r=!1)}return Ti(e,n,t,r,i,l)}function Ti(e,n,t,r,l,i){Fa(e,n);var o=(n.flags&128)!==0;if(!r&&!o)return l&&gu(n,t,!1),Xe(e,n,i);r=n.stateNode,dd.current=n;var u=o&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&o?(n.child=tt(n,e.child,null,i),n.child=tt(n,null,u,i)):oe(e,n,u,i),n.memoizedState=r.state,l&&gu(n,t,!0),n.child}function $a(e){var n=e.stateNode;n.pendingContext?yu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&yu(e,n.context,!1),yo(e,n.containerInfo)}function Iu(e,n,t,r,l){return nt(),co(l),n.flags|=256,oe(e,n,t,r),n.child}var Li={dehydrated:null,treeContext:null,retryLane:0};function ji(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ua(e,n,t){var r=n.pendingProps,l=V.current,i=!1,o=(n.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(l&2)!==0),u?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(V,l&1),e===null)return _i(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(o=r.children,e=r.fallback,i?(r=n.mode,i=n.child,o={mode:"hidden",children:o},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=o):i=ml(o,r,0,null),e=Nn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=ji(t),n.memoizedState=Li,e):Co(n,o));if(l=e.memoizedState,l!==null&&(u=l.dehydrated,u!==null))return pd(e,n,o,r,u,l,t);if(i){i=r.fallback,o=n.mode,l=e.child,u=l.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=fn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),u!==null?i=fn(u,i):(i=Nn(i,o,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,o=e.child.memoizedState,o=o===null?ji(t):{baseLanes:o.baseLanes|t,cachePool:null,transitions:o.transitions},i.memoizedState=o,i.childLanes=e.childLanes&~t,n.memoizedState=Li,r}return i=e.child,e=i.sibling,r=fn(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function Co(e,n){return n=ml({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function hr(e,n,t,r){return r!==null&&co(r),tt(n,e.child,null,t),e=Co(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function pd(e,n,t,r,l,i,o){if(t)return n.flags&256?(n.flags&=-257,r=Wl(Error(S(422))),hr(e,n,o,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=ml({mode:"visible",children:r.children},l,0,null),i=Nn(i,l,o,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&tt(n,e.child,null,o),n.child.memoizedState=ji(o),n.memoizedState=Li,i);if(!(n.mode&1))return hr(e,n,o,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var u=r.dgst;return r=u,i=Error(S(419)),r=Wl(i,r,void 0),hr(e,n,o,r)}if(u=(o&e.childLanes)!==0,de||u){if(r=q,r!==null){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|o)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Ye(e,l),Oe(r,e,l,-1))}return jo(),r=Wl(Error(S(421))),hr(e,n,o,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Nd.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,ye=un(l.nextSibling),ge=n,U=!0,je=null,e!==null&&(Ee[_e++]=Be,Ee[_e++]=He,Ee[_e++]=zn,Be=e.id,He=e.overflow,zn=n),n=Co(n,r.children),n.flags|=4096,n)}function Mu(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),xi(e.return,n,t)}function Ql(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function Aa(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(oe(e,n,r.children,t),r=V.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Mu(e,t,n);else if(e.tag===19)Mu(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(V,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Xr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ql(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Xr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ql(n,!0,t,null,i);break;case"together":Ql(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Pr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function Xe(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),Ln|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(S(153));if(n.child!==null){for(e=n.child,t=fn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=fn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function md(e,n,t){switch(n.tag){case 3:$a(n),nt();break;case 5:da(n);break;case 1:me(n.type)&&Br(n);break;case 4:yo(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Qr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(V,V.current&1),n.flags|=128,null):t&n.child.childLanes?Ua(e,n,t):(D(V,V.current&1),e=Xe(e,n,t),e!==null?e.sibling:null);D(V,V.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return Aa(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(V,V.current),r)break;return null;case 22:case 23:return n.lanes=0,Da(e,n,t)}return Xe(e,n,t)}var Va,Ri,Ba,Ha;Va=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};Ri=function(){};Ba=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,xn(Ue.current);var i=null;switch(t){case"input":l=ei(e,l),r=ei(e,r),i=[];break;case"select":l=H({},l,{value:void 0}),r=H({},r,{value:void 0}),i=[];break;case"textarea":l=ri(e,l),r=ri(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ar)}ii(t,r);var o;t=null;for(f in l)if(!r.hasOwnProperty(f)&&l.hasOwnProperty(f)&&l[f]!=null)if(f==="style"){var u=l[f];for(o in u)u.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else f!=="dangerouslySetInnerHTML"&&f!=="children"&&f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(jt.hasOwnProperty(f)?i||(i=[]):(i=i||[]).push(f,null));for(f in r){var s=r[f];if(u=l!=null?l[f]:void 0,r.hasOwnProperty(f)&&s!==u&&(s!=null||u!=null))if(f==="style")if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(t||(t={}),t[o]=s[o])}else t||(i||(i=[]),i.push(f,t)),t=s;else f==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(i=i||[]).push(f,s)):f==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(f,""+s):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&(jt.hasOwnProperty(f)?(s!=null&&f==="onScroll"&&F("scroll",e),i||u===s||(i=[])):(i=i||[]).push(f,s))}t&&(i=i||[]).push("style",t);var f=i;(n.updateQueue=f)&&(n.flags|=4)}};Ha=function(e,n,t,r){t!==r&&(n.flags|=4)};function vt(e,n){if(!U)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function re(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function hd(e,n,t){var r=n.pendingProps;switch(ao(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return re(n),null;case 1:return me(n.type)&&Vr(),re(n),null;case 3:return r=n.stateNode,rt(),$(pe),$(ie),wo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(pr(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,je!==null&&(Ai(je),je=null))),Ri(e,n),re(n),null;case 5:go(n);var l=xn(Ht.current);if(t=n.type,e!==null&&n.stateNode!=null)Ba(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(S(166));return re(n),null}if(e=xn(Ue.current),pr(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Fe]=n,r[Vt]=i,e=(n.mode&1)!==0,t){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(t,{is:r.is}):(e=o.createElement(t),t==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,t),e[Fe]=n,e[Vt]=r,Va(e,n,!1,!1),n.stateNode=e;e:{switch(o=oi(t,r),t){case"dialog":F("cancel",e),F("close",e),l=r;break;case"iframe":case"object":case"embed":F("load",e),l=r;break;case"video":case"audio":for(l=0;lit&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Xr(o),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),vt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!U)return re(n),null}else 2*K()-i.renderingStartTime>it&&t!==1073741824&&(n.flags|=128,r=!0,vt(i,!1),n.lanes=4194304);i.isBackwards?(o.sibling=n.child,n.child=o):(t=i.last,t!==null?t.sibling=o:n.child=o,i.last=o)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=K(),n.sibling=null,t=V.current,D(V,r?t&1|2:t&1),n):(re(n),null);case 22:case 23:return Lo(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ve&1073741824&&(re(n),n.subtreeFlags&6&&(n.flags|=8192)):re(n),null;case 24:return null;case 25:return null}throw Error(S(156,n.tag))}function vd(e,n){switch(ao(n),n.tag){case 1:return me(n.type)&&Vr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return rt(),$(pe),$(ie),wo(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return go(n),null;case 13:if($(V),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(S(340));nt()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return $(V),null;case 4:return rt(),null;case 10:return mo(n.type._context),null;case 22:case 23:return Lo(),null;case 24:return null;default:return null}}var vr=!1,le=!1,yd=typeof WeakSet=="function"?WeakSet:Set,C=null;function Qn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){W(e,n,r)}else t.current=null}function Oi(e,n,t){try{t()}catch(r){W(e,n,r)}}var Du=!1;function gd(e,n){if(vi=Fr,e=Xs(),uo(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var o=0,u=-1,s=-1,f=0,h=0,p=e,m=null;n:for(;;){for(var k;p!==t||l!==0&&p.nodeType!==3||(u=o+l),p!==i||r!==0&&p.nodeType!==3||(s=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(k=p.firstChild)!==null;)m=p,p=k;for(;;){if(p===e)break n;if(m===t&&++f===l&&(u=o),m===i&&++h===r&&(s=o),(k=p.nextSibling)!==null)break;p=m,m=p.parentNode}p=k}t=u===-1||s===-1?null:{start:u,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(yi={focusedElem:e,selectionRange:t},Fr=!1,C=n;C!==null;)if(n=C,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,C=e;else for(;C!==null;){n=C;try{var E=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(E!==null){var x=E.memoizedProps,R=E.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?x:Te(n.type,x),R);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=n.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(S(163))}}catch(g){W(n,n.return,g)}if(e=n.sibling,e!==null){e.return=n.return,C=e;break}C=n.return}return E=Du,Du=!1,E}function zt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Oi(n,t,i)}l=l.next}while(l!==r)}}function dl(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function Ii(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function Wa(e){var n=e.alternate;n!==null&&(e.alternate=null,Wa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Fe],delete n[Vt],delete n[Si],delete n[ed],delete n[nd])),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 Qa(e){return e.tag===5||e.tag===3||e.tag===4}function Fu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qa(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 Mi(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Ar));else if(r!==4&&(e=e.child,e!==null))for(Mi(e,n,t),e=e.sibling;e!==null;)Mi(e,n,t),e=e.sibling}function Di(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Di(e,n,t),e=e.sibling;e!==null;)Di(e,n,t),e=e.sibling}var b=null,Le=!1;function Ze(e,n,t){for(t=t.child;t!==null;)Ka(e,n,t),t=t.sibling}function Ka(e,n,t){if($e&&typeof $e.onCommitFiberUnmount=="function")try{$e.onCommitFiberUnmount(ll,t)}catch{}switch(t.tag){case 5:le||Qn(t,n);case 6:var r=b,l=Le;b=null,Ze(e,n,t),b=r,Le=l,b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):b.removeChild(t.stateNode));break;case 18:b!==null&&(Le?(e=b,t=t.stateNode,e.nodeType===8?$l(e.parentNode,t):e.nodeType===1&&$l(e,t),Dt(e)):$l(b,t.stateNode));break;case 4:r=b,l=Le,b=t.stateNode.containerInfo,Le=!0,Ze(e,n,t),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Oi(t,n,o),l=l.next}while(l!==r)}Ze(e,n,t);break;case 1:if(!le&&(Qn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(u){W(t,n,u)}Ze(e,n,t);break;case 21:Ze(e,n,t);break;case 22:t.mode&1?(le=(r=le)||t.memoizedState!==null,Ze(e,n,t),le=r):Ze(e,n,t);break;default:Ze(e,n,t)}}function $u(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new yd),n.forEach(function(r){var l=Pd.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function ze(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=o),r&=~i}if(r=l,r=K()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sd(r/1960))-r,10e?16:e,tn===null)var r=!1;else{if(e=tn,tn=null,br=0,I&6)throw Error(S(331));var l=I;for(I|=4,C=e.current;C!==null;){var i=C,o=i.child;if(C.flags&16){var u=i.deletions;if(u!==null){for(var s=0;sK()-zo?Cn(e,0):Po|=t),he(e,n)}function ec(e,n){n===0&&(e.mode&1?(n=ur,ur<<=1,!(ur&130023424)&&(ur=4194304)):n=1);var t=ue();e=Ye(e,n),e!==null&&(Gt(e,n,t),he(e,t))}function Nd(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ec(e,t)}function Pd(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(S(314))}r!==null&&r.delete(n),ec(e,t)}var nc;nc=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||pe.current)de=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return de=!1,md(e,n,t);de=!!(e.flags&131072)}else de=!1,U&&n.flags&1048576&&ia(n,Wr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;Pr(e,n),e=n.pendingProps;var l=et(n,ie.current);Jn(n,t),l=ko(null,n,r,e,l,t);var i=Eo();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,me(r)?(i=!0,Br(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,vo(n),l.updater=fl,n.stateNode=l,l._reactInternals=n,Ni(n,r,e,t),n=Ti(null,n,r,!0,i,t)):(n.tag=0,U&&i&&so(n),oe(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(Pr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Td(r),e=Te(r,e),l){case 0:n=zi(null,n,r,e,t);break e;case 1:n=Ou(null,n,r,e,t);break e;case 11:n=ju(null,n,r,e,t);break e;case 14:n=Ru(null,n,r,Te(r.type,e),t);break e}throw Error(S(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),zi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Ou(e,n,r,l,t);case 3:e:{if($a(n),e===null)throw Error(S(387));r=n.pendingProps,i=n.memoizedState,l=i.element,fa(e,n),Yr(n,r,null,t);var o=n.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=lt(Error(S(423)),n),n=Iu(e,n,r,t,l);break e}else if(r!==l){l=lt(Error(S(424)),n),n=Iu(e,n,r,t,l);break e}else for(ye=un(n.stateNode.containerInfo.firstChild),ge=n,U=!0,je=null,t=aa(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(nt(),r===l){n=Xe(e,n,t);break e}oe(e,n,r,t)}n=n.child}return n;case 5:return da(n),e===null&&_i(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,o=l.children,gi(r,l)?o=null:i!==null&&gi(r,i)&&(n.flags|=32),Fa(e,n),oe(e,n,o,t),n.child;case 6:return e===null&&_i(n),null;case 13:return Ua(e,n,t);case 4:return yo(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=tt(n,null,r,t):oe(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),ju(e,n,r,l,t);case 7:return oe(e,n,n.pendingProps,t),n.child;case 8:return oe(e,n,n.pendingProps.children,t),n.child;case 12:return oe(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,o=l.value,D(Qr,r._currentValue),r._currentValue=o,i!==null)if(Ie(i.value,o)){if(i.children===l.children&&!pe.current){n=Xe(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var u=i.dependencies;if(u!==null){o=i.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=We(-1,t&-t),s.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?s.next=s:(s.next=h.next,h.next=s),f.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),xi(i.return,t,n),u.lanes|=t;break}s=s.next}}else if(i.tag===10)o=i.type===n.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(S(341));o.lanes|=t,u=o.alternate,u!==null&&(u.lanes|=t),xi(o,t,n),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===n){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}oe(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Jn(n,t),l=Ne(l),r=r(l),n.flags|=1,oe(e,n,r,t),n.child;case 14:return r=n.type,l=Te(r,n.pendingProps),l=Te(r.type,l),Ru(e,n,r,l,t);case 15:return Ma(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Te(r,l),Pr(e,n),n.tag=1,me(r)?(e=!0,Br(n)):e=!1,Jn(n,t),Ra(n,r,l),Ni(n,r,l,t),Ti(null,n,r,!0,e,t);case 19:return Aa(e,n,t);case 22:return Da(e,n,t)}throw Error(S(156,n.tag))};function tc(e,n){return Ts(e,n)}function zd(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,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 xe(e,n,t,r){return new zd(e,n,t,r)}function Ro(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Td(e){if(typeof e=="function")return Ro(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Zi)return 11;if(e===Ji)return 14}return 2}function fn(e,n){var t=e.alternate;return t===null?(t=xe(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Lr(e,n,t,r,l,i){var o=2;if(r=e,typeof e=="function")Ro(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Dn:return Nn(t.children,l,i,n);case Gi:o=8,l|=8;break;case Zl:return e=xe(12,t,n,l|2),e.elementType=Zl,e.lanes=i,e;case Jl:return e=xe(13,t,n,l),e.elementType=Jl,e.lanes=i,e;case ql:return e=xe(19,t,n,l),e.elementType=ql,e.lanes=i,e;case ds:return ml(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case cs:o=10;break e;case fs:o=9;break e;case Zi:o=11;break e;case Ji:o=14;break e;case Je:o=16,r=null;break e}throw Error(S(130,e==null?e:typeof e,""))}return n=xe(o,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Nn(e,n,t,r){return e=xe(7,e,r,n),e.lanes=t,e}function ml(e,n,t,r){return e=xe(22,e,r,n),e.elementType=ds,e.lanes=t,e.stateNode={isHidden:!1},e}function Kl(e,n,t){return e=xe(6,e,null,n),e.lanes=t,e}function Yl(e,n,t){return n=xe(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Ld(e,n,t,r,l){this.tag=n,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=Pl(0),this.expirationTimes=Pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Oo(e,n,t,r,l,i,o,u,s){return e=new Ld(e,n,t,u,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=xe(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},vo(i),e}function jd(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(oc)}catch(e){console.error(e)}}oc(),os.exports=Se;var Dd=os.exports,uc,Ku=Dd;uc=Ku.createRoot,Ku.hydrateRoot;const Fd=()=>{const[e,n]=A.useState([]);return A.useEffect(()=>{var o,u,s,f;const t=[],r=document.getElementById("searchscope"),l=(u=(o=r==null?void 0:r.children)==null?void 0:o[1])==null?void 0:u.value;if(l){const h=decodeURIComponent(l).split("/").slice(2,4).join("/"),p=(s=decodeURIComponent(l).split("/").slice(4,5)[0])==null?void 0:s.split(".")[0];t.push({type:"manual",title:h}),t.push({type:"version",title:p})}(f=new URL(window.location.href).searchParams)==null||f.forEach((h,p)=>{if(p==="scope"){const m=decodeURIComponent(h).split("/").slice(2,4).join("/");t.push({type:"manual",title:m})}else if(p.startsWith("filters[")){const m=new RegExp(/filters\[(.*?)\]\[(.*?)\]/),[,k,E]=p.match(m);t.push({type:k==="optionsaggs"?"option":k,title:E})}}),n(t)},[]),[e,n]};var $d="Expected a function",Yu=0/0,Ud="[object Symbol]",Ad=/^\s+|\s+$/g,Vd=/^[-+]0x[0-9a-f]+$/i,Bd=/^0b[01]+$/i,Hd=/^0o[0-7]+$/i,Wd=parseInt,Qd=typeof nr=="object"&&nr&&nr.Object===Object&&nr,Kd=typeof self=="object"&&self&&self.Object===Object&&self,Yd=Qd||Kd||Function("return this")(),Xd=Object.prototype,Gd=Xd.toString,Zd=Math.max,Jd=Math.min,Xl=function(){return Yd.Date.now()};function qd(e,n,t){var r,l,i,o,u,s,f=0,h=!1,p=!1,m=!0;if(typeof e!="function")throw new TypeError($d);n=Xu(n)||0,Vi(t)&&(h=!!t.leading,p="maxWait"in t,i=p?Zd(Xu(t.maxWait)||0,n):i,m="trailing"in t?!!t.trailing:m);function k(y){var w=r,_=l;return r=l=void 0,f=y,o=e.apply(_,w),o}function E(y){return f=y,u=setTimeout(c,n),h?k(y):o}function x(y){var w=y-s,_=y-f,L=n-w;return p?Jd(L,i-_):L}function R(y){var w=y-s,_=y-f;return s===void 0||w>=n||w<0||p&&_>=i}function c(){var y=Xl();if(R(y))return a(y);u=setTimeout(c,x(y))}function a(y){return u=void 0,m&&r?k(y):(r=l=void 0,o)}function d(){u!==void 0&&clearTimeout(u),f=0,r=s=l=u=void 0}function g(){return u===void 0?o:a(Xl())}function v(){var y=Xl(),w=R(y);if(r=arguments,l=this,s=y,w){if(u===void 0)return E(s);if(p)return u=setTimeout(c,n),k(s)}return u===void 0&&(u=setTimeout(c,n)),o}return v.cancel=d,v.flush=g,v}function Vi(e){var n=typeof e;return!!e&&(n=="object"||n=="function")}function bd(e){return!!e&&typeof e=="object"}function ep(e){return typeof e=="symbol"||bd(e)&&Gd.call(e)==Ud}function Xu(e){if(typeof e=="number")return e;if(ep(e))return Yu;if(Vi(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=Vi(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=e.replace(Ad,"");var t=Bd.test(e);return t||Hd.test(e)?Wd(e.slice(2),t?2:8):Vd.test(e)?Yu:+e}var np=qd;const tp=ac(np),rp=()=>{const[e,n]=A.useState([]),[t,r]=A.useState([]),[l,i]=A.useState(!1),o=(f,h)=>{const p=new URL("/search/suggest",tl);return f.forEach(m=>{m.type==="manual"?p.searchParams.append("filters[package]",m.title):m.type==="vendor"?p.searchParams.append(`filters[${m.type}]`,m.title):m.type==="option"?p.searchParams.append(`filters[optionsaggs][${m.title}]`,!0):p.searchParams.append(`filters[${m.type}][${m.title}]`,!0)}),p.searchParams.append("q",h),p.href},u=A.useCallback(async(f,h)=>{var p,m;if((f==null?void 0:f.length)===0&&!h){n([]),r([]);return}i(!0);try{const k=await fetch(o(f,h),{headers:{"Content-Type":"application/json"}});if(!k.ok)throw new Error("Network response error");const E=await k.json(),x=((p=E==null?void 0:E.results)==null?void 0:p.map(c=>({title:c.snippet_title,packageName:c.manual_package,href:`${tl}/${c.manual_slug}/${c.relative_url}#${c.fragment}`})))||[],R=Object.entries(((m=E==null?void 0:E.suggest)==null?void 0:m.suggestions)??{}).flatMap(([c,a])=>{const d=c.replace("manual_","")==="package"?"manual":c.replace("manual_","");return a.map(g=>({type:d,title:d==="version"?g.title.split(".")[0]:g.title,slug:g.slug??null}))});n(x),r(R)}catch(k){console.error(k),n([]),r([])}finally{i(!1)}},[]),s=A.useCallback(tp(u,300),[]);return{fileSuggestions:e,scopeSuggestions:t,setScopeSuggestions:r,setFileSuggestions:n,isLoading:l,fetchSuggestions:s}},lp=({type:e})=>{switch(e){case"search":return P.jsx("i",{className:"fa fa-search"});case"file":return P.jsx("i",{className:"fa-regular fa-file-code"});default:return null}},ip=({scopes:e,title:n,type:t,packageName:r})=>(e==null?void 0:e.length)>0?P.jsx(P.Fragment,{children:P.jsxs("div",{className:"suggest-row__scope",children:[e.map(({title:l,type:i})=>P.jsxs(P.Fragment,{children:[P.jsx("p",{className:"suggest-row__scope-type",children:i&&`${i}:`}),l&&P.jsx("p",{className:"suggest-row__scope-name",children:l})]})),P.jsx("p",{className:"suggest-row__title",children:n})]})}):P.jsxs("div",{className:"suggest-row__scope",title:`${n}${r?` (${r})`:""}`,children:[P.jsx("p",{className:"suggest-row__scope-type",children:t&&`${t}:`}),P.jsx("p",{className:"suggest-row__title",dangerouslySetInnerHTML:{__html:n}}),r&&P.jsxs("p",{className:"suggest-row__description",children:["(",r,")"]})]}),jr=A.forwardRef(({title:e,packageName:n,scopes:t,tooltip:r,onClick:l,type:i,href:o,isActive:u,icon:s="search"},f)=>{const h=p=>{o||(p.preventDefault(),l==null||l())};return P.jsxs("a",{onClick:h,ref:f,href:o,className:`suggest-row ${u?"suggest-row--active":""}`,children:[P.jsx("div",{className:"suggest-row__icon",children:P.jsx(lp,{type:s})}),P.jsx("div",{className:"suggest-row__content",children:P.jsx(ip,{scopes:t,title:e,type:i,packageName:n})}),r&&P.jsx("p",{className:"suggest-row__tooltip",children:r})]})});jr.displayName="SuggestRow";const op=({isOpen:e,onClose:n})=>{const[t,r]=A.useState(""),[l,i]=Fd(),[o,u]=A.useState(-1),s=A.useRef([]),f=A.useRef(),{fileSuggestions:h,scopeSuggestions:p,setScopeSuggestions:m,setFileSuggestions:k,isLoading:E,fetchSuggestions:x}=rp(),R=A.useCallback((v,y)=>{const w=new URL("/search/search",tl);return!y&&v.length===1&&v[0].type==="manual"?new URL(`/${v[0].slug}/`,tl).href:(v.forEach(_=>{_.type==="manual"?w.searchParams.append("scope",`/${_.slug}/`):_.type==="vendor"?w.searchParams.append("vendor",_.title):_.type==="option"?w.searchParams.append(`filters[optionaggs][${_.title}]`,!0):w.searchParams.append(`filters[${_.type}][${_.title}]`,!0)}),w.searchParams.append("q",y),w.href)},[]),c=A.useMemo(()=>{const v=[];for(let y=l.length;y>0;y--){const w=l.slice(-y);if(w.length===1&&w[0].type==="manual"){v.push({scopes:w,title:t,tooltip:"Search in this manual",href:R(w,t)});const _=[{type:"vendor",title:w[0].title.split("/")[0]}];v.push({scopes:_,title:t,tooltip:"Search in this vendor",href:R(_,t)})}else v.push({scopes:w,title:t,tooltip:"Search in this scope",href:R(w,t)})}return t&&v.push({scopes:[],title:t,tooltip:"Search all",href:R([],t)}),v},[l,t,R]),a=A.useCallback((v,y,w)=>{var _;i(L=>{const T=[...L],ce=T.findIndex(yn=>yn.type===y);return ce!==-1?T[ce]={type:y,title:v,slug:w}:T.push({type:y,title:v,slug:w}),T}),r(""),u(-1),m([]),k([]),(_=f.current)==null||_.focus()},[i]),d=A.useCallback(v=>{const y=v.target.value;r(y),y!==""&&x(l,y)},[l,x]),g=A.useCallback(v=>{var w,_;const y=[...c,...p,...h].length;switch(v.key){case"Backspace":((w=f.current)==null?void 0:w.selectionEnd)===0&&i(L=>L.slice(0,-1));break;case"ArrowDown":v.preventDefault(),u(L=>LL>-1?L-1:y-1);break;case"Enter":v.preventDefault(),o>=0?(_=s.current[o])==null||_.click():window.location.href=R(l,t);break}},[c,p,h,l,t,R]);return A.useEffect(()=>{var v;o>=0&&((v=s.current[o])==null||v.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}))},[o]),A.useEffect(()=>{const v=y=>{y.key==="Escape"&&n()};return e&&(document.addEventListener("keydown",v),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",v),document.body.style.overflow="unset"}},[e,n]),e?P.jsxs("div",{className:"search-modal",children:[P.jsx("div",{className:"search-modal__overlay",onClick:n}),P.jsxs("div",{className:"search-modal__content",children:[P.jsx("div",{className:"search-modal__header",children:P.jsxs("div",{className:"search-modal__input-wrapper",onClick:()=>u(-1),children:[P.jsx("i",{className:"fa fa-search search-modal__icon"}),l.map((v,y)=>P.jsxs("div",{className:"search-modal__scope",children:[P.jsx("p",{className:"suggest-row__scope-type",children:v.type&&`${v.type}:`}),P.jsx("p",{className:"search-modal__scope-title",children:v.title})]},`scope-${y}`)),P.jsx("input",{ref:f,autoComplete:"off",name:"q",autoFocus:!0,type:"text",className:"search-modal__input",placeholder:(l==null?void 0:l.length)>0?"search in this scope...":"Search documentation...",value:t,onChange:d,onKeyDown:g}),(t||l.length>0)&&P.jsx("button",{className:"search-modal__clear",onClick:()=>{var v;r(""),i([]),u(-1),(v=f.current)==null||v.focus()},children:P.jsx("i",{className:"fa fa-circle-xmark"})})]})}),P.jsxs("ul",{className:"search-modal__body",children:[(c==null?void 0:c.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Decomposed scopes",children:c.map((v,y)=>P.jsx(jr,{scopes:v.scopes,title:v.title,tooltip:v.tooltip,isActive:o===y,ref:w=>s.current[y]=w,href:v.href},`decomposed-${y}`))})}),E?P.jsxs("div",{className:"search-modal__loading",children:[P.jsx("div",{className:"search-modal__spinner",children:P.jsx("i",{className:"fa fa-spinner fa-spin"})}),P.jsx("p",{children:"Searching..."})]}):P.jsxs(P.Fragment,{children:[(c==null?void 0:c.length)>0&&(p==null?void 0:p.length)>0&&P.jsx("li",{className:"search-modal__divider"}),(p==null?void 0:p.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Scope suggestions",children:p.map(({title:v,type:y,slug:w},_)=>P.jsx(jr,{title:v,type:y,isActive:o===_+c.length,ref:L=>s.current[_+c.length]=L,tooltip:"Filter for this",onClick:()=>a(v,y,w)},`scope-${_}`))})}),(c==null?void 0:c.length)>0&&(h==null?void 0:h.length)>0&&P.jsx("li",{className:"search-modal__divider"}),(h==null?void 0:h.length)>0&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"File suggestions",children:h.map(({title:v,packageName:y,href:w},_)=>P.jsx(jr,{title:v,packageName:y,isActive:o===_+c.length+p.length,href:w,ref:L=>s.current[_+c.length+p.length]=L,tooltip:"Open this page",icon:"file"},`file-${_}`))})})]})]})]})]}):null},up=()=>{const[e,n]=A.useState(!1),t=()=>{n(!0)};return A.useEffect(()=>{let r=document.getElementById("globalsearchinput");if(r||(r=document.getElementById("searchinput")),r)return r.addEventListener("click",t),()=>{r.removeEventListener("click",t)}},[]),P.jsx(op,{isOpen:e,onClose:()=>n(!1)})},tl="https://docs.typo3.org";document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("global-search-root");e&&uc(e).render(P.jsx(up,{}))}); diff --git a/packages/typo3-docs-theme/assets/sass/components/_search.scss b/packages/typo3-docs-theme/assets/sass/components/_search.scss index 8c0eae4b4..f633f2aab 100644 --- a/packages/typo3-docs-theme/assets/sass/components/_search.scss +++ b/packages/typo3-docs-theme/assets/sass/components/_search.scss @@ -79,7 +79,8 @@ border: none; background: transparent; padding: 0; - + flex-grow: 1; + &:focus { outline: none; box-shadow: none; @@ -94,7 +95,7 @@ color: #6c757d; cursor: pointer; padding: 0.25rem; - + &:hover { color: #343a40; } @@ -114,7 +115,7 @@ &__section { margin-bottom: .5rem; - + &:last-child { margin-bottom: 0; } @@ -140,19 +141,19 @@ justify-content: center; padding: 3rem 1rem; color: #6c757d; - + .search-modal__spinner { font-size: 2rem; margin-bottom: 1rem; color: $primary; } - + p { margin: 0; font-size: 1rem; } } -} +} .suggest-row { display: flex; @@ -245,4 +246,4 @@ ul { margin: 0; } -} \ No newline at end of file +} diff --git a/packages/typo3-docs-theme/resources/js/components/GlobalSearch.jsx b/packages/typo3-docs-theme/resources/js/components/GlobalSearch.jsx index 1b78bfb68..a0649c059 100644 --- a/packages/typo3-docs-theme/resources/js/components/GlobalSearch.jsx +++ b/packages/typo3-docs-theme/resources/js/components/GlobalSearch.jsx @@ -9,7 +9,10 @@ const GlobalSearch = () => { }; useEffect(() => { - const globalSearchInput = document.getElementById('globalsearchinput'); + let globalSearchInput = document.getElementById('globalsearchinput'); + if (!globalSearchInput) { + globalSearchInput = document.getElementById('searchinput'); + } if (globalSearchInput) { globalSearchInput.addEventListener('click', handleInputClick); @@ -29,4 +32,4 @@ const GlobalSearch = () => { ); }; -export default GlobalSearch; \ No newline at end of file +export default GlobalSearch; diff --git a/packages/typo3-docs-theme/resources/public/css/theme.css b/packages/typo3-docs-theme/resources/public/css/theme.css index e63dac20a..1c2a9a09f 100644 --- a/packages/typo3-docs-theme/resources/public/css/theme.css +++ b/packages/typo3-docs-theme/resources/public/css/theme.css @@ -27183,6 +27183,7 @@ figure.uml-diagram { border: none; background: transparent; padding: 0; + flex-grow: 1; } .search-modal__input:focus { outline: none; diff --git a/packages/typo3-docs-theme/resources/public/js/theme.min.js b/packages/typo3-docs-theme/resources/public/js/theme.min.js index 972238be9..cdfeffb31 100644 --- a/packages/typo3-docs-theme/resources/public/js/theme.min.js +++ b/packages/typo3-docs-theme/resources/public/js/theme.min.js @@ -22,4 +22,4 @@ class AllDocumentationsMenuBase extends HTMLElement{MAINMENU_JSON_URL="https://d `+a[i].replace(" at new "," at "),l=t.displayName&&l.includes("")?l.replace("",t.displayName):l}while(1<=i&&0<=u);break}}}finally{xl=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?gt(t):""}function Fc(e){switch(e.tag){case 5:return gt(e.type);case 16:return gt("Lazy");case 13:return gt("Suspense");case 19:return gt("SuspenseList");case 0:case 2:case 15:return e=Cl(e.type,!1);case 11:return e=Cl(e.type.render,!1);case 1:return e=Cl(e.type,!0);default:return""}}function bl(e){if(null!=e){if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Dn:return"Fragment";case Mn:return"Portal";case Zl:return"Profiler";case Gi:return"StrictMode";case Jl:return"Suspense";case ql:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case fs:return(e.displayName||"Context")+".Consumer";case cs:return(e._context.displayName||"Context")+".Provider";case Zi:var t=e.render;return e=(e=e.displayName)?e:""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef";case Ji:return null!==(t=e.displayName||null)?t:bl(e.type)||"Memo";case Je:t=e._payload,e=e._init;try{return bl(e(t))}catch{}}}return null}function $c(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=(e=t.render).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 bl(t);case 8:return t===Gi?"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("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ps(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Uc(e){var t,n,r=ps(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+e[r];if(!e.hasOwnProperty(r)&&typeof l<"u"&&"function"==typeof l.get&&"function"==typeof l.set)return t=l.get,n=l.set,Object.defineProperty(e,r,{configurable:!0,get:function(){return t.call(this)},set:function(e){a=""+e,n.call(this,e)}}),Object.defineProperty(e,r,{enumerable:l.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}function lr(e){e._valueTracker||(e._valueTracker=Uc(e))}function ms(e){var t,n,r;return!(!e||(t=e._valueTracker)&&(n=t.getValue(),r="",(e=r=e?ps(e)?e.checked?"true":"false":e.value:r)===n||(t.setValue(e),0)))}function Rr(e){if("u""+t.valueOf().toString()+"",t=ir.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Rt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et={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},Ac=["Webkit","ms","Moz","O"];function ws(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Et.hasOwnProperty(e)&&Et[e]?(""+t).trim():t+"px"}function Ss(e,t){for(var n in e=e.style,t){var r,l;t.hasOwnProperty(n)&&(r=0===n.indexOf("--"),l=ws(n,t[n],r),"float"===n&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l)}}Object.keys(Et).forEach(function(t){Ac.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Et[e]=Et[t]})});var Vc=H({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 ii(e,t){if(t){if(Vc[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(S(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(S(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(S(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(S(62))}}function oi(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;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 ui=null;function qi(e){return 3===(e=(e=e.target||e.srcElement||window).correspondingUseElement?e.correspondingUseElement:e).nodeType?e.parentNode:e}var si=null,Xn=null,Gn=null;function Xo(e){if(e=Jt(e)){if("function"!=typeof si)throw Error(S(280));var t=e.stateNode;t&&(t=sl(t),si(e.stateNode,e.type,t))}}function ks(e){Xn?Gn?Gn.push(e):Gn=[e]:Xn=e}function Es(){if(Xn){var e=Xn,t=Gn;if(Gn=Xn=null,Xo(e),t)for(e=0;e>>=0)?32:31-(qc(e)/bc|0)|0}var or=64,ur=4194304;function St(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 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Dr(e,t){var n=e.pendingLanes;if(0===n)return 0;var r,l=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!=i?0!=(r=i&~a)?l=St(r):0!==(o&=i)&&(l=St(o)):0!=(i=n&~a)?l=St(i):0!==o&&(l=St(o)),0===l)return 0;if(0!==t&&t!==l&&!(t&a)&&((o=t&-t)<=(a=l&-l)||16===a&&0!=(4194240&o)))return t;if(4&l&&(l|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=l;0>=r,a-=r,Be=1<<32-Re(t)+a|n<m?(h=p,p=null):h=p.sibling;var g=A(i,p,s[m],c);if(null===g){null===p&&(p=h);break}P&&p&&null===g.alternate&&T(i,p),u=M(g,u,m),null===f?d=g:f.sibling=g,f=g,p=h}if(m===s.length)O(i,p);else if(null===p)for(;m_?(x=C,C=null):x=C.sibling;var N=A(v,C,L.value,k);if(null===N){null===C&&(C=x);break}P&&C&&null===N.alternate&&T(v,C),y=M(N,y,_),null===E?w=N:E.sibling=N,E=N,C=x}if(L.done)O(v,C);else if(null===C)for(;!L.done;_++,L=b.next())null!==(L=R(v,L.value,k))&&(y=M(L,y,_),null===E?w=L:E.sibling=L,E=L);else{for(C=z(v,C);!L.done;_++,L=b.next())null!==(L=F(C,v,_,L.value,k))&&(P&&null!==L.alternate&&C.delete(null===L.key?_:L.key),y=M(L,y,_),null===E?w=L:E.sibling=L,E=L);P&&C.forEach(function(e){return T(v,e)})}return U&&Sn(v,_),w}mr(t,r)}return"string"==typeof r&&""!==r||"number"==typeof r?(r=""+r,(n=null!==n&&6===n.tag?(O(t,n.sibling),I(n,r)):(O(t,n),Kl(r,t.mode,l))).return=t,D(t=n)):O(t,n)}}var tt=sa(!0),aa=sa(!1),Qr=hn(null),Kr=null,Wn=null,fo=null;function po(){fo=Wn=Kr=null}function mo(e){var t=Qr.current;$(Qr),e._currentValue=t}function xi(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Jn(e,t){(fo=Wn=null)!==(e=(Kr=e).dependencies)&&null!==e.firstContext&&(e.lanes&t&&(de=!0),e.firstContext=null)}function Ne(e){var t=e._currentValue;if(fo!==e)if(e={context:e,memoizedValue:t,next:null},null===Wn){if(null===Kr)throw Error(S(308));Wn=e,Kr.dependencies={lanes:0,firstContext:e}}else Wn=Wn.next=e;return t}var _n=null;function ho(e){null===_n?_n=[e]:_n.push(e)}function ca(e,t,n,r){var l=t.interleaved;return null===l?(n.next=n,ho(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ye(e,r)}function Ye(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),e=(n=e).return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),e=(n=e).return;return 3===n.tag?n.stateNode:null}var qe=!1;function vo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function fa(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 We(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sn(e,t,n){var r,l;return null===(l=e.updateQueue)?null:(l=l.shared,2&I?(null===(r=l.pending)?t.next=t:(t.next=r.next,r.next=t),l.pending=t):(null===(r=l.interleaved)?(t.next=t,ho(l)):(t.next=r.next,r.next=t),l.interleaved=t),Ye(e,n))}function xr(e,t,n){var r;null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))&&(r=t.lanes,r&=e.pendingLanes,eo(e,t.lanes=n|=r))}function Eu(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var l=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null}}while(null===a?l=a=o:a=a.next=o,null!==(n=n.next));null===a?l=a=t:a=a.next=t}else l=a=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:a,shared:r.shared,effects:r.effects},e.updateQueue=n}else null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Yr(e,t,n,r){var l,a,o=e.updateQueue,i=(qe=!1,o.firstBaseUpdate),u=o.lastBaseUpdate;if(null!==(d=o.shared.pending)&&(o.shared.pending=null,a=(l=d).next,(l.next=null)===u?i=a:u.next=a,u=l,null!==(c=e.alternate))&&(d=(c=c.updateQueue).lastBaseUpdate)!==u&&(null===d?c.firstBaseUpdate=a:d.next=a,c.lastBaseUpdate=l),null!==i){for(var s=o.baseState,u=0,c=a=l=null,d=i;;){var f=d.lane,p=d.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:d.tag,payload:d.payload,callback:d.callback,next:null});e:{var m=e,h=d,f=t,p=n;switch(h.tag){case 1:if("function"==typeof(m=h.payload)){s=m.call(p,s,f);break e}s=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=h.payload)?m.call(p,s,f):m))break e;s=H({},s,f);break e;case 2:qe=!0}}null!==d.callback&&0!==d.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[d]:f.push(d))}else p={eventTime:p,lane:f,tag:d.tag,payload:d.payload,callback:d.callback,next:null},null===c?(a=c=p,l=s):c=c.next=p,u|=f;if(null===(d=d.next)){if(null===(d=o.shared.pending))break;d=(f=d).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=s),o.baseState=l,o.firstBaseUpdate=a,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved))for(o=t;u|=o.lane,(o=o.next)!==t;);else null===i&&(o.shared.lanes=0);Ln|=u,e.lanes=u,e.memoizedState=s}}function _u(e,t,n){if(e=t.effects,(t.effects=null)!==e)for(t=0;t<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),"select"===n&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Fe]=t,e[Vt]=r,Va(e,t,!1,!1),t.stateNode=e;e:{switch(o=oi(n,r),n){case"dialog":F("cancel",e),F("close",e),a=r;break;case"iframe":case"object":case"embed":F("load",e),a=r;break;case"video":case"audio":for(a=0;ait&&(t.flags|=128,vt(u,!(r=!0)),t.lanes=4194304)}else{if(!r)if(null!==(e=Xr(o))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),vt(u,!0),null===u.tail&&"hidden"===u.tailMode&&!o.alternate&&!U)return re(t),null}else 2*K()-u.renderingStartTime>it&&1073741824!==n&&(t.flags|=128,vt(u,!(r=!0)),t.lanes=4194304);u.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=u.last)?n.sibling=o:t.child=o,u.last=o)}return null!==u.tail?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=K(),t.sibling=null,n=V.current,D(V,r?1&n|2:1&n),t):(re(t),null);case 22:case 23:return Lo(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&ve&&(re(t),6&t.subtreeFlags)&&(t.flags|=8192):re(t),null;case 24:case 25:return null}throw Error(S(156,t.tag))}function vd(e,t){switch(ao(t),t.tag){case 1:return me(t.type)&&Vr(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rt(),$(pe),$(ie),wo(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return go(t),null;case 13:if($(V),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(S(340));nt()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $(V),null;case 4:return rt(),null;case 10:return mo(t.type._context),null;case 22:case 23:return Lo(),null;default:return null}}var Va=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n=(n.child.return=n).child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ri=function(){},Ba=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,xn(Ue.current);var a,o=null;switch(n){case"input":l=ei(e,l),r=ei(e,r),o=[];break;case"select":l=H({},l,{value:void 0}),r=H({},r,{value:void 0}),o=[];break;case"textarea":l=ri(e,l),r=ri(e,r),o=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=Ar)}for(s in ii(n,r),n=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s])if("style"===s){var i=l[s];for(a in i)i.hasOwnProperty(a)&&(n=n||{},n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(jt.hasOwnProperty(s)?o=o||[]:(o=o||[]).push(s,null));for(s in r){var u=r[s],i=null!=l?l[s]:void 0;if(r.hasOwnProperty(s)&&u!==i&&(null!=u||null!=i))if("style"===s)if(i){for(a in i)!i.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n=n||{},n[a]="");for(a in u)u.hasOwnProperty(a)&&i[a]!==u[a]&&(n=n||{},n[a]=u[a])}else n||(o=o||[]).push(s,n),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(o=o||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(o=o||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(jt.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&F("scroll",e),o||i===u||(o=[])):(o=o||[]).push(s,u))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},Ha=function(e,t,n,r){n!==r&&(t.flags|=4)},vr=!1,le=!1,yd="function"==typeof WeakSet?WeakSet:Set,C=null;function Qn(t,n){var e=t.ref;if(null!==e)if("function"==typeof e)try{e(null)}catch(e){W(t,n,e)}else e.current=null}function Oi(t,n,e){try{e()}catch(e){W(t,n,e)}}var Du=!1;function gd(e,t){if(vi=Fr,uo(e=Xs())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:if((a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection())&&0!==a.rangeCount){var n=a.anchorNode,r=a.anchorOffset,l=a.focusNode,a=a.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o,i=0,u=-1,s=-1,c=0,d=0,f=e,p=null;t:for(;;){for(;f!==n||0!==r&&3!==f.nodeType||(u=i+r),f!==l||0!==a&&3!==f.nodeType||(s=i+a),3===f.nodeType&&(i+=f.nodeValue.length),null!==(o=f.firstChild);)p=f,f=o;for(;;){if(f===e)break t;if(p===n&&++c===r&&(u=i),p===l&&++d===a&&(s=i),null!==(o=f.nextSibling))break;p=(f=p).parentNode}f=o}n=-1===u||-1===s?null:{start:u,end:s}}else n=null;n=n||{start:0,end:0}}else n=null;for(Fr=!(yi={focusedElem:e,selectionRange:n}),C=t;null!==C;)if(e=(t=C).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,C=e;else for(;null!==C;){t=C;try{var m,h,g,v,y=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:null!==y&&(m=y.memoizedProps,h=y.memoizedState,v=(g=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?m:Te(t.type,m),h),g.__reactInternalSnapshotBeforeUpdate=v);break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(e){W(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,C=e;break}C=t.return}return y=Du,Du=!1,y}function zt(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l,a=r=r.next;do{}while((a.tag&e)===e&&(l=a.destroy,(a.destroy=void 0)!==l)&&Oi(t,n,l),(a=a.next)!==r)}}function dl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n,r=t=t.next;do{}while((r.tag&e)===e&&(n=r.create,r.destroy=n()),(r=r.next)!==t)}}function Ii(e){var t,n=e.ref;null!==n&&(t=e.stateNode,e.tag,e=t,"function"==typeof n?n(e):n.current=e)}function Wa(e){var t=e.alternate;null!==t&&(e.alternate=null,Wa(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Fe],delete t[Vt],delete t[Si],delete t[ed],delete t[nd]),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 Qa(e){return 5===e.tag||3===e.tag||4===e.tag}function Fu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Qa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e=(e.child.return=e).child}if(!(2&e.flags))return e.stateNode}}function Mi(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(8===n.nodeType?n.parentNode:n).insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null==(n=n._reactRootContainer)&&null===t.onclick&&(t.onclick=Ar));else if(4!==r&&null!==(e=e.child))for(Mi(e,t,n),e=e.sibling;null!==e;)Mi(e,t,n),e=e.sibling}function Di(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Di(e,t,n),e=e.sibling;null!==e;)Di(e,t,n),e=e.sibling}var b=null,Le=!1;function Ze(e,t,n){for(n=n.child;null!==n;)Ka(e,t,n),n=n.sibling}function Ka(e,t,n){if($e&&"function"==typeof $e.onCommitFiberUnmount)try{$e.onCommitFiberUnmount(ll,n)}catch{}switch(n.tag){case 5:le||Qn(n,t);case 6:var r=b,l=Le;b=null,Ze(e,t,n),Le=l,null!==(b=r)&&(Le?(e=b,n=n.stateNode,(8===e.nodeType?e.parentNode:e).removeChild(n)):b.removeChild(n.stateNode));break;case 18:null!==b&&(Le?(e=b,n=n.stateNode,8===e.nodeType?$l(e.parentNode,n):1===e.nodeType&&$l(e,n),Dt(e)):$l(b,n.stateNode));break;case 4:r=b,l=Le,b=n.stateNode.containerInfo,Le=!0,Ze(e,t,n),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){l=r=r.next;do{var a=l.destroy,o=l.tag}while(void 0!==a&&(2&o||4&o)&&Oi(n,t,a),(l=l.next)!==r)}Ze(e,t,n);break;case 1:if(!le&&(Qn(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){W(n,t,e)}Ze(e,t,n);break;case 21:Ze(e,t,n);break;case 22:1&n.mode?(le=(r=le)||null!==n.memoizedState,Ze(e,t,n),le=r):Ze(e,t,n);break;default:Ze(e,t,n)}}function $u(n){var r,e=n.updateQueue;null!==e&&((n.updateQueue=null)===(r=n.stateNode)&&(r=n.stateNode=new yd),e.forEach(function(e){var t=Pd.bind(null,n,e);r.has(e)||(r.add(e),e.then(t,t))}))}function ze(e,t){var n=t.deletions;if(null!==n)for(var r=0;r{const[e,a]=A.useState([]);return A.useEffect(()=>{var e,t;const n=[],r=document.getElementById("searchscope"),l=null==(e=null==(e=null==r?void 0:r.children)?void 0:e[1])?void 0:e.value;l&&(e=decodeURIComponent(l).split("/").slice(2,4).join("/"),t=null==(t=decodeURIComponent(l).split("/").slice(4,5)[0])?void 0:t.split(".")[0],n.push({type:"manual",title:e}),n.push({type:"version",title:t})),null!=(e=new URL(window.location.href).searchParams)&&e.forEach((e,t)=>{"scope"===t?(e=decodeURIComponent(e).split("/").slice(2,4).join("/"),n.push({type:"manual",title:e})):t.startsWith("filters[")&&(e=new RegExp(/filters\[(.*?)\]\[(.*?)\]/),[,t,e]=t.match(e),n.push({type:"optionsaggs"===t?"option":t,title:e}))}),a(n)},[]),[e,a]};var $d="Expected a function",Yu=NaN,Ud="[object Symbol]",Ad=/^\s+|\s+$/g,Vd=/^[-+]0x[0-9a-f]+$/i,Bd=/^0b[01]+$/i,Hd=/^0o[0-7]+$/i,Wd=parseInt,Qd="object"==typeof nr&&nr&&nr.Object===Object&&nr,Kd="object"==typeof self&&self&&self.Object===Object&&self,Yd=Qd||Kd||Function("return this")(),Xd=Object.prototype,Gd=Xd.toString,Zd=Math.max,Jd=Math.min,Xl=function(){return Yd.Date.now()};function qd(r,n,e){var l,a,o,i,u,s,c=0,d=!1,f=!1,t=!0;if("function"!=typeof r)throw new TypeError($d);function p(e){var t=l,n=a;return l=a=void 0,c=e,i=r.apply(n,t)}function m(e){var t=e-s;return void 0===s||n<=t||t<0||f&&o<=e-c}function h(){var e,t=Xl();if(m(t))return g(t);u=setTimeout(h,(e=n-((t=t)-s),f?Jd(e,o-(t-c)):e))}function g(e){return u=void 0,t&&l?p(e):(l=a=void 0,i)}function v(){var e=Xl(),t=m(e);if(l=arguments,a=this,s=e,t){if(void 0===u)return c=e=s,u=setTimeout(h,n),d?p(e):i;if(f)return u=setTimeout(h,n),p(s)}return void 0===u&&(u=setTimeout(h,n)),i}return n=Xu(n)||0,Vi(e)&&(d=!!e.leading,f="maxWait"in e,o=f?Zd(Xu(e.maxWait)||0,n):o,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==u&&clearTimeout(u),l=s=a=u=void(c=0)},v.flush=function(){return void 0===u?i:g(Xl())},v}function Vi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function bd(e){return!!e&&"object"==typeof e}function ep(e){return"symbol"==typeof e||bd(e)&&Gd.call(e)==Ud}function Xu(e){if("number"==typeof e)return e;if(ep(e))return Yu;if("string"!=typeof(e=Vi(e)?Vi(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(Ad,"");var t=Bd.test(e);return t||Hd.test(e)?Wd(e.slice(2),t?2:8):Vd.test(e)?Yu:+e}var np=qd;const tp=ac(qd),rp=()=>{const[e,u]=A.useState([]),[t,s]=A.useState([]),[n,c]=A.useState(!1),r=A.useCallback(async(e,t)=>{var n,r;if(0!==(null==e?void 0:e.length)||t){c(!0);try{var l=await fetch(((e,t)=>{const n=new URL("/search/suggest",tl);return e.forEach(e=>{"manual"===e.type?n.searchParams.append("filters[package]",e.title):"vendor"===e.type?n.searchParams.append(`filters[${e.type}]`,e.title):"option"===e.type?n.searchParams.append(`filters[optionsaggs][${e.title}]`,!0):n.searchParams.append(`filters[${e.type}][${e.title}]`,!0)}),n.searchParams.append("q",t),n.href})(e,t),{headers:{"Content-Type":"application/json"}});if(!l.ok)throw new Error("Network response error");var a=await l.json(),o=(null==(n=null==a?void 0:a.results)?void 0:n.map(e=>({title:e.snippet_title,packageName:e.manual_package,href:`${tl}/${e.manual_slug}/${e.relative_url}#`+e.fragment})))||[],i=Object.entries((null==(r=null==a?void 0:a.suggest)?void 0:r.suggestions)??{}).flatMap(([e,t])=>{const n="package"===e.replace("manual_","")?"manual":e.replace("manual_","");return t.map(e=>({type:n,title:"version"===n?e.title.split(".")[0]:e.title,slug:e.slug??null}))});u(o),s(i)}catch(e){console.error(e),u([]),s([])}finally{c(!1)}}else u([]),s([])},[]),l=A.useCallback(tp(r,300),[]);return{fileSuggestions:e,scopeSuggestions:t,setScopeSuggestions:s,setFileSuggestions:u,isLoading:n,fetchSuggestions:l}},lp=({type:e})=>{switch(e){case"search":return P.jsx("i",{className:"fa fa-search"});case"file":return P.jsx("i",{className:"fa-regular fa-file-code"});default:return null}},ip=({scopes:e,title:t,type:n,packageName:r})=>0<(null==e?void 0:e.length)?P.jsx(P.Fragment,{children:P.jsxs("div",{className:"suggest-row__scope",children:[e.map(({title:e,type:t})=>P.jsxs(P.Fragment,{children:[P.jsx("p",{className:"suggest-row__scope-type",children:t&&t+":"}),e&&P.jsx("p",{className:"suggest-row__scope-name",children:e})]})),P.jsx("p",{className:"suggest-row__title",children:t})]})}):P.jsxs("div",{className:"suggest-row__scope",title:t+(r?` (${r})`:""),children:[P.jsx("p",{className:"suggest-row__scope-type",children:n&&n+":"}),P.jsx("p",{className:"suggest-row__title",dangerouslySetInnerHTML:{__html:t}}),r&&P.jsxs("p",{className:"suggest-row__description",children:["(",r,")"]})]}),jr=A.forwardRef(({title:e,packageName:t,scopes:n,tooltip:r,onClick:l,type:a,href:o,isActive:i,icon:u="search"},s)=>{return P.jsxs("a",{onClick:e=>{o||(e.preventDefault(),null==l)||l()},ref:s,href:o,className:"suggest-row "+(i?"suggest-row--active":""),children:[P.jsx("div",{className:"suggest-row__icon",children:P.jsx(lp,{type:u})}),P.jsx("div",{className:"suggest-row__content",children:P.jsx(ip,{scopes:n,title:e,type:a,packageName:t})}),r&&P.jsx("p",{className:"suggest-row__tooltip",children:r})]})}),op=(jr.displayName="SuggestRow",({isOpen:t,onClose:n})=>{const[l,a]=A.useState(""),[o,i]=Fd(),[u,s]=A.useState(-1),c=A.useRef([]),d=A.useRef(),{fileSuggestions:r,scopeSuggestions:f,setScopeSuggestions:p,setFileSuggestions:m,isLoading:e,fetchSuggestions:h}=rp(),g=A.useCallback((e,t)=>{const n=new URL("/search/search",tl);return(t||1!==e.length||"manual"!==e[0].type?(e.forEach(e=>{"manual"===e.type?n.searchParams.append("scope",`/${e.slug}/`):"vendor"===e.type?n.searchParams.append("vendor",e.title):"option"===e.type?n.searchParams.append(`filters[optionaggs][${e.title}]`,!0):n.searchParams.append(`filters[${e.type}][${e.title}]`,!0)}),n.searchParams.append("q",t),n):new URL(`/${e[0].slug}/`,tl)).href},[]),v=A.useMemo(()=>{var t=[];for(let e=o.length;0{var e;i(e=>{var e=[...e],t=e.findIndex(e=>e.type===r);return-1!==t?e[t]={type:r,title:n,slug:l}:e.push({type:r,title:n,slug:l}),e}),a(""),s(-1),p([]),m([]),null!=(e=d.current)&&e.focus()},[i]),b=A.useCallback(e=>{e=e.target.value;a(e),""!==e&&h(o,e)},[o,h]),S=A.useCallback(e=>{var t;const n=[...v,...f,...r].length;switch(e.key){case"Backspace":0===(null==(t=d.current)?void 0:t.selectionEnd)&&i(e=>e.slice(0,-1));break;case"ArrowDown":e.preventDefault(),s(e=>e-1{var e;0<=u&&null!=(e=c.current[u])&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},[u]),A.useEffect(()=>{const e=e=>{"Escape"===e.key&&n()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[t,n]),t?P.jsxs("div",{className:"search-modal",children:[P.jsx("div",{className:"search-modal__overlay",onClick:n}),P.jsxs("div",{className:"search-modal__content",children:[P.jsx("div",{className:"search-modal__header",children:P.jsxs("div",{className:"search-modal__input-wrapper",onClick:()=>s(-1),children:[P.jsx("i",{className:"fa fa-search search-modal__icon"}),o.map((e,t)=>P.jsxs("div",{className:"search-modal__scope",children:[P.jsx("p",{className:"suggest-row__scope-type",children:e.type&&e.type+":"}),P.jsx("p",{className:"search-modal__scope-title",children:e.title})]},"scope-"+t)),P.jsx("input",{ref:d,autoComplete:"off",name:"q",autoFocus:!0,type:"text",className:"search-modal__input",placeholder:0<(null==o?void 0:o.length)?"search in this scope...":"Search documentation...",value:l,onChange:b,onKeyDown:S}),(l||0{var e;a(""),i([]),s(-1),null!=(e=d.current)&&e.focus()},children:P.jsx("i",{className:"fa fa-circle-xmark"})})]})}),P.jsxs("ul",{className:"search-modal__body",children:[0<(null==v?void 0:v.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Decomposed scopes",children:v.map((e,t)=>P.jsx(jr,{scopes:e.scopes,title:e.title,tooltip:e.tooltip,isActive:u===t,ref:e=>c.current[t]=e,href:e.href},"decomposed-"+t))})}),e?P.jsxs("div",{className:"search-modal__loading",children:[P.jsx("div",{className:"search-modal__spinner",children:P.jsx("i",{className:"fa fa-spinner fa-spin"})}),P.jsx("p",{children:"Searching..."})]}):P.jsxs(P.Fragment,{children:[0<(null==v?void 0:v.length)&&0<(null==f?void 0:f.length)&&P.jsx("li",{className:"search-modal__divider"}),0<(null==f?void 0:f.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Scope suggestions",children:f.map(({title:e,type:t,slug:n},r)=>P.jsx(jr,{title:e,type:t,isActive:u===r+v.length,ref:e=>c.current[r+v.length]=e,tooltip:"Filter for this",onClick:()=>y(e,t,n)},"scope-"+r))})}),0<(null==v?void 0:v.length)&&0<(null==r?void 0:r.length)&&P.jsx("li",{className:"search-modal__divider"}),0<(null==r?void 0:r.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"File suggestions",children:r.map(({title:e,packageName:t,href:n},r)=>P.jsx(jr,{title:e,packageName:t,isActive:u===r+v.length+f.length,href:n,ref:e=>c.current[r+v.length+f.length]=e,tooltip:"Open this page",icon:"file"},"file-"+r))})})]})]})]})]}):null}),up=()=>{const[e,t]=A.useState(!1),n=()=>{t(!0)};return A.useEffect(()=>{const e=document.getElementById("globalsearchinput");if(e)return e.addEventListener("click",n),()=>{e.removeEventListener("click",n)}},[]),P.jsx(op,{isOpen:e,onClose:()=>t(!1)})},tl="https://docs.typo3.org";document.addEventListener("DOMContentLoaded",()=>{var e=document.getElementById("global-search-root");e&&uc(e).render(P.jsx(up,{}))}),(()=>{"use strict";const e=Array.from(document.querySelectorAll('.nav-item > [role="tab"]'));function a(e){return e.innerHTML.trim()}document.addEventListener("shown.bs.tab",function(r){const l=a(r.target);e.filter(e=>{var t=a(e)===l,n=e===r.target,e="true"===e.getAttribute("aria-selected");return t&&!n&&!e}).forEach(e=>{new bootstrap.Tab(e).show()})})})();class ToggleSection{TOGGLE_CLASS="toggle-section";TOGGLE_ICON_SHOW=["fa-solid","fa-eye"];TOGGLE_ICON_HIDE=["fa-solid","fa-eye-slash"];TOGGLE_TITLE_SHOW="Show Section";TOGGLE_TITLE_HIDE="Hide section";TOGGLE_ALL_SECTIONS_SELECTOR=".toggle-all-sections";TOGGLE_ALL_SECTIONS_TITLE_SHOW="Expand all sections";TOGGLE_ALL_SECTIONS_TITLE_HIDE="Collapse all sections";sections=[];constructor(){this.sectionHeadings=document.querySelectorAll("section > :is(h2,h3,h4,h5,h6)"),this.sectionHeadings.forEach(e=>{var t=this.createToggleSectionButton(),n=e.querySelector("a.headerlink");const r=e.parentElement;this.sections.push(r),e.insertBefore(t,n),t.addEventListener("click",e=>{e.preventDefault(),this.toggleSection(r)})}),this.sectionHeadings&&document.querySelectorAll("a").forEach(n=>{n.hash&&n.addEventListener("click",e=>{var t=document.querySelector(n.hash);t&&this.changeSection(t,!1)})});const e=document.querySelector(this.TOGGLE_ALL_SECTIONS_SELECTOR);e&&e.addEventListener("click",()=>{e.classList.toggle("hide-all");const t=e.classList.contains("hide-all");e.setAttribute("title",t?this.TOGGLE_ALL_SECTIONS_TITLE_SHOW:this.TOGGLE_ALL_SECTIONS_TITLE_HIDE),e.textContent=t?this.TOGGLE_ALL_SECTIONS_TITLE_SHOW:this.TOGGLE_ALL_SECTIONS_TITLE_HIDE,this.sections.forEach(e=>{this.changeSection(e,t)})})}createToggleSectionButton(){var e=document.createElement("a"),t=(e.classList.add(this.TOGGLE_CLASS),e.setAttribute("href","#"),e.setAttribute("title",this.TOGGLE_TITLE_HIDE),document.createElement("i"));return t.classList.add(...this.TOGGLE_ICON_HIDE),e.appendChild(t),e}toggleSection(e){var t=e.classList.contains("section-collapsed");this.changeSection(e,!t)}changeSection(e,r){r?e.classList.add("section-collapsed"):e.classList.remove("section-collapsed");const l=["H2","H3","H4","H5","H6"];e.querySelectorAll(":scope > *").forEach(e=>{var t,n;l.includes(e.nodeName)?(t=(n=e.querySelector("."+this.TOGGLE_CLASS)).querySelector(":scope > i"),n.setAttribute("title",r?this.TOGGLE_TITLE_SHOW:this.TOGGLE_TITLE_HIDE),t.classList.remove(...t.classList),n=r?this.TOGGLE_ICON_SHOW:this.TOGGLE_ICON_HIDE,t.classList.add(...n)):r?e.classList.add("collapsed-section-content"):e.classList.remove("collapsed-section-content")})}}new ToggleSection,(()=>{"use strict";const d="A_Default",f=1e5,l=document.getElementById("toc-version");function n(e,r){var t=document.createElement("dl"),l={"de-de":"German","de-at":"German (Austria)","de-ch":"German (Switzerland)","en-gb":"English","fr-fr":"French","ru-ru":"Russian"};if(l["en-us"]=d,"object"!=typeof r)console.log("AJAX version selector API: Request failed, no JSON returned."),e.innerHTML="

Versions unavailable.

";else{var a,o={currentfile:{},singlefile:{}};for(a in r){var i=r[a];let e=i.language,t=i.version;var u,s=l[e.toLocaleLowerCase()];s&&(e=s);let n="3_named";"main"===t?n="1_main":(s=t.trim(),u=parseFloat(s),isNaN(u)||Number(s)!==u||(t=t.split(".").map(e=>+e+f).join("."),n="2_numeric")),o.currentfile[e]||(o.currentfile[e]={},o.singlefile[e]={}),o.singlefile[e][n]||(o.currentfile[e][n]={},o.singlefile[e][n]={}),o.singlefile[e][n][t]||(o.currentfile[e][n][t]={},o.singlefile[e][n][t]={}),o.currentfile[e][n][t]=i.url,o.singlefile[e][n][t]=i.singleUrl}var n=function t(n){{if(null===n||"object"!=typeof n||Array.isArray(n))return n;{const r={},e=Object.keys(n).filter(e=>!isNaN(e)).sort((e,t)=>t-e),l=Object.keys(n).filter(e=>isNaN(e)).sort(),a=[...e,...l];return a.forEach(e=>{r[e]=t(n[e])}),r}}}(o),c="",c=(c+=p("currentfile",n))+p("singlefile",n);t.innerHTML=c,e.innerHTML="",e.appendChild(t)}}function p(t,n){let r="";for(var l in"singlefile"===t&&(r+="

In one file:"),n[t]){var e,a,o;for(o in l!=d&&(e=Object.keys(n[t][l])[0],a=Object.keys(n[t][l][e])[0],r+='
'+l+"
"),n[t][l])for(var i in n[t][l][o]){let e=i;"2_numeric"===o&&(e=i.split(".").map(e=>+e-f).join(".")),r+='
'+e+"
"}}return"singlefile"===t&&(r+="

"),r}function t(){var e=document.getElementById("toc-version-wrapper");const t=document.getElementById("toc-version-options");e.classList.toggle("toc-version-wrapper-active"),t.dataset.ready||async function(){let e=document.URL,t="https://docs.typo3.org/services/versionsJson.php?url=";l.getAttribute("data-override-url-self")&&(e=l.getAttribute("data-override-url-self"),t=l.getAttribute("data-override-url-proxy"),console.log("AJAX version selector API: Developer mode enabled. Adjust data-override-url-self to simulate different menus. More information: https://docs.typo3.org/other/t3docs/render-guides/main/en-us/Developer/AjaxVersions.html"),console.log("Currently: "+e),console.log("The API PROXY is currently served from: "+t));var n=t+encodeURI(e);try{var r=await fetch(n);return r.ok?r.json():(console.log("AJAX version selector API: Request failure or empty response."),"")}catch(e){return console.log("AJAX version selector API: Request failed, likely CORS issue. Read the documentation to configure a proxy."),""}}().then(e=>{""===e&&(e="

No data available.

"),n(t,e),t.dataset.ready="true"})}l&&(l.addEventListener("click",t),l.addEventListener("keypress",e=>{"Enter"===e.key&&t()}))})(); \ No newline at end of file +`+e.stack}return{value:e,source:t,stack:l,digest:null}}function Wl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Pi(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var fd="function"==typeof WeakMap?WeakMap:Map;function Oa(e,t,n){(n=We(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qr||(qr=!0,Fi=r),Pi(e,t)},n}function Ia(t,n,e){(e=We(-1,e)).tag=3;var r,l=t.type.getDerivedStateFromError,a=("function"==typeof l&&(r=n.value,e.payload=function(){return l(r)},e.callback=function(){Pi(t,n)}),t.stateNode);return null!==a&&"function"==typeof a.componentDidCatch&&(e.callback=function(){Pi(t,n),"function"!=typeof l&&(null===an?an=new Set([this]):an.add(this));var e=n.stack;this.componentDidCatch(n.value,{componentStack:null!==e?e:""})}),e}function zu(e,t,n){var r,l=e.pingCache;null===l?(l=e.pingCache=new fd,r=new Set,l.set(t,r)):void 0===(r=l.get(t))&&(r=new Set,l.set(t,r)),r.has(n)||(r.add(n),e=Cd.bind(null,e,t,n),t.then(e,e))}function Tu(e){do{var t;if(t=(t=13===e.tag)?null===(t=e.memoizedState)||null!==t.dehydrated:t)return e}while(null!==(e=e.return));return null}function Lu(e,t,n,r,l){return 1&e.mode?(e.flags|=65536,e.lanes=l):e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=We(-1,1)).tag=2,sn(n,t,1))),n.lanes|=1),e}var dd=Ge.ReactCurrentOwner,de=!1;function oe(e,t,n,r){t.child=null===e?aa(t,null,n,r):tt(t,e.child,n,r)}function ju(e,t,n,r,l){n=n.render;var a=t.ref;return Jn(t,l),r=ko(e,t,n,r,a,l),n=Eo(),null===e||de?(U&&n&&so(t),t.flags|=1,oe(e,t,r,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l))}function Ru(e,t,n,r,l){var a;if(null===e)return"function"!=typeof(a=n.type)||Ro(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lr(n.type,null,r,t,t.mode,l)).ref=t.ref,(e.return=t).child=e):(t.tag=15,t.type=a,Ma(e,t,a,r,l));if(a=e.child,!(e.lanes&l)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:$t)(o,r)&&e.ref===t.ref)return Xe(e,t,l)}return t.flags|=1,(e=fn(a,r)).ref=t.ref,(e.return=t).child=e}function Ma(e,t,n,r,l){if(null!==e){var a=e.memoizedProps;if($t(a,r)&&e.ref===t.ref){if(de=!1,t.pendingProps=r=a,0==(e.lanes&l))return t.lanes=e.lanes,Xe(e,t,l);131072&e.flags&&(de=!0)}}return zi(e,t,n,r,l)}function Da(e,t,n){var r=t.pendingProps,l=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,D(Kn,ve),ve|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,D(Kn,ve),ve|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Kn,ve),ve|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,D(Kn,ve),ve|=r;return oe(e,t,l,n),t.child}function Fa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function zi(e,t,n,r,l){var a=et(t,me(n)?Pn:ie.current);return Jn(t,l),n=ko(e,t,n,r,a,l),r=Eo(),null===e||de?(U&&r&&so(t),t.flags|=1,oe(e,t,n,l),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Xe(e,t,l))}function Ou(e,t,n,r,l){var a,o,i,u,s,c,d,f,p,m;return me(n)?(a=!0,Br(t)):a=!1,Jn(t,l),r=null===t.stateNode?(Pr(e,t),Ra(t,n,r),Ni(t,n,r,l),!0):null===e?(o=t.stateNode,i=t.memoizedProps,o.props=i,f=o.context,u="object"==typeof(u=n.contextType)&&null!==u?Ne(u):et(t,u=me(n)?Pn:ie.current),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===r&&f===u||Pu(t,o,r,u),qe=!1,d=t.memoizedState,o.state=d,Yr(t,r,o,l),f=t.memoizedState,i!==r||d!==f||pe.current||qe?("function"==typeof s&&(Ci(t,n,s,r),f=t.memoizedState),(i=qe||Nu(t,n,i,r,d,f,u))?(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=u,i):("function"==typeof o.componentDidMount&&(t.flags|=4194308),!1)):(o=t.stateNode,fa(e,t),i=t.memoizedProps,u=t.type===t.elementType?i:Te(t.type,i),o.props=u,c=t.pendingProps,d=o.context,f="object"==typeof(f=n.contextType)&&null!==f?Ne(f):et(t,f=me(n)?Pn:ie.current),(s="function"==typeof(p=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===c&&d===f||Pu(t,o,r,f),qe=!1,d=t.memoizedState,o.state=d,Yr(t,r,o,l),m=t.memoizedState,i!==c||d!==m||pe.current||qe?("function"==typeof p&&(Ci(t,n,p,r),m=t.memoizedState),(u=qe||Nu(t,n,u,r,d,m,f)||!1)?(s||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,m,f),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,m,f)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=f,u):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),!1)),Ti(e,t,n,r,a,l)}function Ti(e,t,n,r,l,a){Fa(e,t);var o=0!=(128&t.flags);if(!r&&!o)return l&&gu(t,n,!1),Xe(e,t,a);r=t.stateNode,dd.current=t;var i=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=tt(t,e.child,null,a),t.child=tt(t,null,i,a)):oe(e,t,i,a),t.memoizedState=r.state,l&&gu(t,n,!0),t.child}function $a(e){var t=e.stateNode;t.pendingContext?yu(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yu(e,t.context,!1),yo(e,t.containerInfo)}function Iu(e,t,n,r,l){return nt(),co(l),t.flags|=256,oe(e,t,n,r),t.child}var Li={dehydrated:null,treeContext:null,retryLane:0};function ji(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ua(e,t,n){var r,l,a=t.pendingProps,o=V.current,i=!1,u=0!=(128&t.flags);return(r=(r=u)||(null===e||null!==e.memoizedState)&&0!=(2&o))?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),D(V,1&o),null===e?(_i(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(u=a.children,e=a.fallback,i?(a=t.mode,i=t.child,u={mode:"hidden",children:u},1&a||null===i?i=ml(u,a,0,null):(i.childLanes=0,i.pendingProps=u),e=Nn(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=ji(n),t.memoizedState=Li,e):Co(t,u))):null!==(o=e.memoizedState)&&null!==(r=o.dehydrated)?pd(e,t,u,a,r,o,n):(i?(i=a.fallback,u=t.mode,r=(o=e.child).sibling,l={mode:"hidden",children:a.children},1&u||t.child===o?(a=fn(o,l)).subtreeFlags=14680064&o.subtreeFlags:((a=t.child).childLanes=0,a.pendingProps=l,t.deletions=null),null!==r?i=fn(r,i):(i=Nn(i,u,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,u=null===(u=e.child.memoizedState)?ji(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=Li):(e=(i=e.child).sibling,a=fn(i,{mode:"visible",children:a.children}),1&t.mode||(a.lanes=n),a.return=t,(a.sibling=null)!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null),a)}function Co(e,t){return((t=ml({mode:"visible",children:t},e.mode,0,null)).return=e).child=t}function hr(e,t,n,r){return null!==r&&co(r),tt(t,e.child,null,n),(e=Co(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function pd(e,t,n,r,l,a,o){if(n)return 256&t.flags?(t.flags&=-257,hr(e,t,o,r=Wl(Error(S(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,l=t.mode,r=ml({mode:"visible",children:r.children},l,0,null),(a=Nn(a,l,o,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,1&t.mode&&tt(t,e.child,null,o),t.child.memoizedState=ji(o),t.memoizedState=Li,a);if(!(1&t.mode))return hr(e,t,o,null);var i;if("$!"===l.data)return r=i=(r=l.nextSibling&&l.nextSibling.dataset)?r.dgst:i,hr(e,t,o,r=Wl(a=Error(S(419)),r,void 0));if(i=0!=(o&e.childLanes),de||i){if(null!==(r=q)){switch(o&-o){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}0!==(l=l&(r.suspendedLanes|o)?0:l)&&l!==a.retryLane&&(Ye(e,a.retryLane=l),Oe(r,e,l,-1))}return jo(),hr(e,t,o,r=Wl(Error(S(421))))}return"$?"===l.data?(t.flags|=128,t.child=e.child,t=Nd.bind(null,e),l._reactRetry=t,null):(e=a.treeContext,ye=un(l.nextSibling),ge=t,U=!0,(je=null)!==e&&(Ee[_e++]=Be,Ee[_e++]=He,Ee[_e++]=zn,Be=e.id,He=e.overflow,zn=t),(t=Co(t,r.children)).flags|=4096,t)}function Mu(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),xi(e.return,t,n)}function Ql(e,t,n,r,l){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=l)}function Aa(e,t,n){var r=t.pendingProps,l=r.revealOrder,a=r.tail;if(oe(e,t,r.children,n),2&(r=V.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Mu(e,n,t);else if(19===e.tag)Mu(e,n,t);else if(null!==e.child){e=(e.child.return=e).child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(V,r),1&t.mode)switch(l){case"forwards":for(n=t.child,l=null;null!==n;)null!==(e=n.alternate)&&null===Xr(e)&&(l=n),n=n.sibling;null===(n=l)?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),Ql(t,!1,l,n,a);break;case"backwards":for(l=t.child,t.child=n=null;null!==l;){if(null!==(e=l.alternate)&&null===Xr(e)){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}Ql(t,!0,n,null,a);break;case"together":Ql(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Pr(e,t){1&t.mode||null===e||(e.alternate=null,t.alternate=null,t.flags|=2)}function Xe(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Ln|=t.lanes,!(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(S(153));if(null!==t.child){for(n=fn(e=t.child,e.pendingProps),(t.child=n).return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=fn(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function md(e,t,n){switch(t.tag){case 3:$a(t),nt();break;case 5:da(t);break;case 1:me(t.type)&&Br(t);break;case 4:yo(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;D(Qr,r._currentValue),r._currentValue=l;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(D(V,1&V.current),t.flags|=128,null):n&t.child.childLanes?Ua(e,t,n):(D(V,1&V.current),null!==(e=Xe(e,t,n))?e.sibling:null);D(V,1&V.current);break;case 19:if(r=0!=(n&t.childLanes),128&e.flags){if(r)return Aa(e,t,n);t.flags|=128}if(null!==(l=t.memoizedState)&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,Da(e,t,n)}return Xe(e,t,n)}function vt(e,t){if(!U)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function re(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;null!==l;)n|=l.lanes|l.childLanes,r=(r|=14680064&l.subtreeFlags)|14680064&l.flags,l.return=e,l=l.sibling;else for(l=e.child;null!==l;)n|=l.lanes|l.childLanes,r=(r|=l.subtreeFlags)|l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function hd(e,t,n){var r=t.pendingProps;switch(ao(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return re(t),null;case 1:return me(t.type)&&Vr(),re(t),null;case 3:return r=t.stateNode,rt(),$(pe),$(ie),wo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pr(t)?t.flags|=4:null!==e&&(!e.memoizedState.isDehydrated||256&t.flags)&&(t.flags|=1024,null!==je)&&(Ai(je),je=null)),Ri(e,t),re(t),null;case 5:go(t);var l,a=xn(Ht.current);if(n=t.type,null!==e&&null!=t.stateNode)Ba(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(S(166));return re(t),null}if(e=xn(Ue.current),pr(t)){r=t.stateNode,n=t.type;var o,i,u=t.memoizedProps;switch(r[Fe]=t,r[Vt]=u,e=0!=(1&t.mode),n){case"dialog":F("cancel",r),F("close",r);break;case"iframe":case"object":case"embed":F("load",r);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),"select"===n&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Fe]=t,e[Vt]=r,Va(e,t,!1,!1),t.stateNode=e;e:{switch(o=oi(n,r),n){case"dialog":F("cancel",e),F("close",e),a=r;break;case"iframe":case"object":case"embed":F("load",e),a=r;break;case"video":case"audio":for(a=0;ait&&(t.flags|=128,vt(u,!(r=!0)),t.lanes=4194304)}else{if(!r)if(null!==(e=Xr(o))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),vt(u,!0),null===u.tail&&"hidden"===u.tailMode&&!o.alternate&&!U)return re(t),null}else 2*K()-u.renderingStartTime>it&&1073741824!==n&&(t.flags|=128,vt(u,!(r=!0)),t.lanes=4194304);u.isBackwards?(o.sibling=t.child,t.child=o):(null!==(n=u.last)?n.sibling=o:t.child=o,u.last=o)}return null!==u.tail?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=K(),t.sibling=null,n=V.current,D(V,r?1&n|2:1&n),t):(re(t),null);case 22:case 23:return Lo(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?1073741824&ve&&(re(t),6&t.subtreeFlags)&&(t.flags|=8192):re(t),null;case 24:case 25:return null}throw Error(S(156,t.tag))}function vd(e,t){switch(ao(t),t.tag){case 1:return me(t.type)&&Vr(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return rt(),$(pe),$(ie),wo(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return go(t),null;case 13:if($(V),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(S(340));nt()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return $(V),null;case 4:return rt(),null;case 10:return mo(t.type._context),null;case 22:case 23:return Lo(),null;default:return null}}var Va=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n=(n.child.return=n).child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ri=function(){},Ba=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,xn(Ue.current);var a,o=null;switch(n){case"input":l=ei(e,l),r=ei(e,r),o=[];break;case"select":l=H({},l,{value:void 0}),r=H({},r,{value:void 0}),o=[];break;case"textarea":l=ri(e,l),r=ri(e,r),o=[];break;default:"function"!=typeof l.onClick&&"function"==typeof r.onClick&&(e.onclick=Ar)}for(s in ii(n,r),n=null,l)if(!r.hasOwnProperty(s)&&l.hasOwnProperty(s)&&null!=l[s])if("style"===s){var i=l[s];for(a in i)i.hasOwnProperty(a)&&(n=n||{},n[a]="")}else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(jt.hasOwnProperty(s)?o=o||[]:(o=o||[]).push(s,null));for(s in r){var u=r[s],i=null!=l?l[s]:void 0;if(r.hasOwnProperty(s)&&u!==i&&(null!=u||null!=i))if("style"===s)if(i){for(a in i)!i.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n=n||{},n[a]="");for(a in u)u.hasOwnProperty(a)&&i[a]!==u[a]&&(n=n||{},n[a]=u[a])}else n||(o=o||[]).push(s,n),n=u;else"dangerouslySetInnerHTML"===s?(u=u?u.__html:void 0,i=i?i.__html:void 0,null!=u&&i!==u&&(o=o||[]).push(s,u)):"children"===s?"string"!=typeof u&&"number"!=typeof u||(o=o||[]).push(s,""+u):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(jt.hasOwnProperty(s)?(null!=u&&"onScroll"===s&&F("scroll",e),o||i===u||(o=[])):(o=o||[]).push(s,u))}n&&(o=o||[]).push("style",n);var s=o;(t.updateQueue=s)&&(t.flags|=4)}},Ha=function(e,t,n,r){n!==r&&(t.flags|=4)},vr=!1,le=!1,yd="function"==typeof WeakSet?WeakSet:Set,C=null;function Qn(t,n){var e=t.ref;if(null!==e)if("function"==typeof e)try{e(null)}catch(e){W(t,n,e)}else e.current=null}function Oi(t,n,e){try{e()}catch(e){W(t,n,e)}}var Du=!1;function gd(e,t){if(vi=Fr,uo(e=Xs())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:if((a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection())&&0!==a.rangeCount){var n=a.anchorNode,r=a.anchorOffset,l=a.focusNode,a=a.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o,i=0,u=-1,s=-1,c=0,d=0,f=e,p=null;t:for(;;){for(;f!==n||0!==r&&3!==f.nodeType||(u=i+r),f!==l||0!==a&&3!==f.nodeType||(s=i+a),3===f.nodeType&&(i+=f.nodeValue.length),null!==(o=f.firstChild);)p=f,f=o;for(;;){if(f===e)break t;if(p===n&&++c===r&&(u=i),p===l&&++d===a&&(s=i),null!==(o=f.nextSibling))break;p=(f=p).parentNode}f=o}n=-1===u||-1===s?null:{start:u,end:s}}else n=null;n=n||{start:0,end:0}}else n=null;for(Fr=!(yi={focusedElem:e,selectionRange:n}),C=t;null!==C;)if(e=(t=C).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,C=e;else for(;null!==C;){t=C;try{var m,h,g,v,y=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:break;case 1:null!==y&&(m=y.memoizedProps,h=y.memoizedState,v=(g=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?m:Te(t.type,m),h),g.__reactInternalSnapshotBeforeUpdate=v);break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(S(163))}}catch(e){W(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,C=e;break}C=t.return}return y=Du,Du=!1,y}function zt(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var l,a=r=r.next;do{}while((a.tag&e)===e&&(l=a.destroy,(a.destroy=void 0)!==l)&&Oi(t,n,l),(a=a.next)!==r)}}function dl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n,r=t=t.next;do{}while((r.tag&e)===e&&(n=r.create,r.destroy=n()),(r=r.next)!==t)}}function Ii(e){var t,n=e.ref;null!==n&&(t=e.stateNode,e.tag,e=t,"function"==typeof n?n(e):n.current=e)}function Wa(e){var t=e.alternate;null!==t&&(e.alternate=null,Wa(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[Fe],delete t[Vt],delete t[Si],delete t[ed],delete t[nd]),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 Qa(e){return 5===e.tag||3===e.tag||4===e.tag}function Fu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||Qa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags||null===e.child||4===e.tag)continue e;e=(e.child.return=e).child}if(!(2&e.flags))return e.stateNode}}function Mi(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?(8===n.nodeType?n.parentNode:n).insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null==(n=n._reactRootContainer)&&null===t.onclick&&(t.onclick=Ar));else if(4!==r&&null!==(e=e.child))for(Mi(e,t,n),e=e.sibling;null!==e;)Mi(e,t,n),e=e.sibling}function Di(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Di(e,t,n),e=e.sibling;null!==e;)Di(e,t,n),e=e.sibling}var b=null,Le=!1;function Ze(e,t,n){for(n=n.child;null!==n;)Ka(e,t,n),n=n.sibling}function Ka(e,t,n){if($e&&"function"==typeof $e.onCommitFiberUnmount)try{$e.onCommitFiberUnmount(ll,n)}catch{}switch(n.tag){case 5:le||Qn(n,t);case 6:var r=b,l=Le;b=null,Ze(e,t,n),Le=l,null!==(b=r)&&(Le?(e=b,n=n.stateNode,(8===e.nodeType?e.parentNode:e).removeChild(n)):b.removeChild(n.stateNode));break;case 18:null!==b&&(Le?(e=b,n=n.stateNode,8===e.nodeType?$l(e.parentNode,n):1===e.nodeType&&$l(e,n),Dt(e)):$l(b,n.stateNode));break;case 4:r=b,l=Le,b=n.stateNode.containerInfo,Le=!0,Ze(e,t,n),b=r,Le=l;break;case 0:case 11:case 14:case 15:if(!le&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){l=r=r.next;do{var a=l.destroy,o=l.tag}while(void 0!==a&&(2&o||4&o)&&Oi(n,t,a),(l=l.next)!==r)}Ze(e,t,n);break;case 1:if(!le&&(Qn(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){W(n,t,e)}Ze(e,t,n);break;case 21:Ze(e,t,n);break;case 22:1&n.mode?(le=(r=le)||null!==n.memoizedState,Ze(e,t,n),le=r):Ze(e,t,n);break;default:Ze(e,t,n)}}function $u(n){var r,e=n.updateQueue;null!==e&&((n.updateQueue=null)===(r=n.stateNode)&&(r=n.stateNode=new yd),e.forEach(function(e){var t=Pd.bind(null,n,e);r.has(e)||(r.add(e),e.then(t,t))}))}function ze(e,t){var n=t.deletions;if(null!==n)for(var r=0;r{const[e,a]=A.useState([]);return A.useEffect(()=>{var e,t;const n=[],r=document.getElementById("searchscope"),l=null==(e=null==(e=null==r?void 0:r.children)?void 0:e[1])?void 0:e.value;l&&(e=decodeURIComponent(l).split("/").slice(2,4).join("/"),t=null==(t=decodeURIComponent(l).split("/").slice(4,5)[0])?void 0:t.split(".")[0],n.push({type:"manual",title:e}),n.push({type:"version",title:t})),null!=(e=new URL(window.location.href).searchParams)&&e.forEach((e,t)=>{"scope"===t?(e=decodeURIComponent(e).split("/").slice(2,4).join("/"),n.push({type:"manual",title:e})):t.startsWith("filters[")&&(e=new RegExp(/filters\[(.*?)\]\[(.*?)\]/),[,t,e]=t.match(e),n.push({type:"optionsaggs"===t?"option":t,title:e}))}),a(n)},[]),[e,a]};var $d="Expected a function",Yu=NaN,Ud="[object Symbol]",Ad=/^\s+|\s+$/g,Vd=/^[-+]0x[0-9a-f]+$/i,Bd=/^0b[01]+$/i,Hd=/^0o[0-7]+$/i,Wd=parseInt,Qd="object"==typeof nr&&nr&&nr.Object===Object&&nr,Kd="object"==typeof self&&self&&self.Object===Object&&self,Yd=Qd||Kd||Function("return this")(),Xd=Object.prototype,Gd=Xd.toString,Zd=Math.max,Jd=Math.min,Xl=function(){return Yd.Date.now()};function qd(r,n,e){var l,a,o,i,u,s,c=0,d=!1,f=!1,t=!0;if("function"!=typeof r)throw new TypeError($d);function p(e){var t=l,n=a;return l=a=void 0,c=e,i=r.apply(n,t)}function m(e){var t=e-s;return void 0===s||n<=t||t<0||f&&o<=e-c}function h(){var e,t=Xl();if(m(t))return g(t);u=setTimeout(h,(e=n-((t=t)-s),f?Jd(e,o-(t-c)):e))}function g(e){return u=void 0,t&&l?p(e):(l=a=void 0,i)}function v(){var e=Xl(),t=m(e);if(l=arguments,a=this,s=e,t){if(void 0===u)return c=e=s,u=setTimeout(h,n),d?p(e):i;if(f)return u=setTimeout(h,n),p(s)}return void 0===u&&(u=setTimeout(h,n)),i}return n=Xu(n)||0,Vi(e)&&(d=!!e.leading,f="maxWait"in e,o=f?Zd(Xu(e.maxWait)||0,n):o,t="trailing"in e?!!e.trailing:t),v.cancel=function(){void 0!==u&&clearTimeout(u),l=s=a=u=void(c=0)},v.flush=function(){return void 0===u?i:g(Xl())},v}function Vi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function bd(e){return!!e&&"object"==typeof e}function ep(e){return"symbol"==typeof e||bd(e)&&Gd.call(e)==Ud}function Xu(e){if("number"==typeof e)return e;if(ep(e))return Yu;if("string"!=typeof(e=Vi(e)?Vi(t="function"==typeof e.valueOf?e.valueOf():e)?t+"":t:e))return 0===e?e:+e;e=e.replace(Ad,"");var t=Bd.test(e);return t||Hd.test(e)?Wd(e.slice(2),t?2:8):Vd.test(e)?Yu:+e}var np=qd;const tp=ac(qd),rp=()=>{const[e,u]=A.useState([]),[t,s]=A.useState([]),[n,c]=A.useState(!1),r=A.useCallback(async(e,t)=>{var n,r;if(0!==(null==e?void 0:e.length)||t){c(!0);try{var l=await fetch(((e,t)=>{const n=new URL("/search/suggest",tl);return e.forEach(e=>{"manual"===e.type?n.searchParams.append("filters[package]",e.title):"vendor"===e.type?n.searchParams.append(`filters[${e.type}]`,e.title):"option"===e.type?n.searchParams.append(`filters[optionsaggs][${e.title}]`,!0):n.searchParams.append(`filters[${e.type}][${e.title}]`,!0)}),n.searchParams.append("q",t),n.href})(e,t),{headers:{"Content-Type":"application/json"}});if(!l.ok)throw new Error("Network response error");var a=await l.json(),o=(null==(n=null==a?void 0:a.results)?void 0:n.map(e=>({title:e.snippet_title,packageName:e.manual_package,href:`${tl}/${e.manual_slug}/${e.relative_url}#`+e.fragment})))||[],i=Object.entries((null==(r=null==a?void 0:a.suggest)?void 0:r.suggestions)??{}).flatMap(([e,t])=>{const n="package"===e.replace("manual_","")?"manual":e.replace("manual_","");return t.map(e=>({type:n,title:"version"===n?e.title.split(".")[0]:e.title,slug:e.slug??null}))});u(o),s(i)}catch(e){console.error(e),u([]),s([])}finally{c(!1)}}else u([]),s([])},[]),l=A.useCallback(tp(r,300),[]);return{fileSuggestions:e,scopeSuggestions:t,setScopeSuggestions:s,setFileSuggestions:u,isLoading:n,fetchSuggestions:l}},lp=({type:e})=>{switch(e){case"search":return P.jsx("i",{className:"fa fa-search"});case"file":return P.jsx("i",{className:"fa-regular fa-file-code"});default:return null}},ip=({scopes:e,title:t,type:n,packageName:r})=>0<(null==e?void 0:e.length)?P.jsx(P.Fragment,{children:P.jsxs("div",{className:"suggest-row__scope",children:[e.map(({title:e,type:t})=>P.jsxs(P.Fragment,{children:[P.jsx("p",{className:"suggest-row__scope-type",children:t&&t+":"}),e&&P.jsx("p",{className:"suggest-row__scope-name",children:e})]})),P.jsx("p",{className:"suggest-row__title",children:t})]})}):P.jsxs("div",{className:"suggest-row__scope",title:t+(r?` (${r})`:""),children:[P.jsx("p",{className:"suggest-row__scope-type",children:n&&n+":"}),P.jsx("p",{className:"suggest-row__title",dangerouslySetInnerHTML:{__html:t}}),r&&P.jsxs("p",{className:"suggest-row__description",children:["(",r,")"]})]}),jr=A.forwardRef(({title:e,packageName:t,scopes:n,tooltip:r,onClick:l,type:a,href:o,isActive:i,icon:u="search"},s)=>{return P.jsxs("a",{onClick:e=>{o||(e.preventDefault(),null==l)||l()},ref:s,href:o,className:"suggest-row "+(i?"suggest-row--active":""),children:[P.jsx("div",{className:"suggest-row__icon",children:P.jsx(lp,{type:u})}),P.jsx("div",{className:"suggest-row__content",children:P.jsx(ip,{scopes:n,title:e,type:a,packageName:t})}),r&&P.jsx("p",{className:"suggest-row__tooltip",children:r})]})}),op=(jr.displayName="SuggestRow",({isOpen:t,onClose:n})=>{const[l,a]=A.useState(""),[o,i]=Fd(),[u,s]=A.useState(-1),c=A.useRef([]),d=A.useRef(),{fileSuggestions:r,scopeSuggestions:f,setScopeSuggestions:p,setFileSuggestions:m,isLoading:e,fetchSuggestions:h}=rp(),g=A.useCallback((e,t)=>{const n=new URL("/search/search",tl);return(t||1!==e.length||"manual"!==e[0].type?(e.forEach(e=>{"manual"===e.type?n.searchParams.append("scope",`/${e.slug}/`):"vendor"===e.type?n.searchParams.append("vendor",e.title):"option"===e.type?n.searchParams.append(`filters[optionaggs][${e.title}]`,!0):n.searchParams.append(`filters[${e.type}][${e.title}]`,!0)}),n.searchParams.append("q",t),n):new URL(`/${e[0].slug}/`,tl)).href},[]),v=A.useMemo(()=>{var t=[];for(let e=o.length;0{var e;i(e=>{var e=[...e],t=e.findIndex(e=>e.type===r);return-1!==t?e[t]={type:r,title:n,slug:l}:e.push({type:r,title:n,slug:l}),e}),a(""),s(-1),p([]),m([]),null!=(e=d.current)&&e.focus()},[i]),b=A.useCallback(e=>{e=e.target.value;a(e),""!==e&&h(o,e)},[o,h]),S=A.useCallback(e=>{var t;const n=[...v,...f,...r].length;switch(e.key){case"Backspace":0===(null==(t=d.current)?void 0:t.selectionEnd)&&i(e=>e.slice(0,-1));break;case"ArrowDown":e.preventDefault(),s(e=>e-1{var e;0<=u&&null!=(e=c.current[u])&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})},[u]),A.useEffect(()=>{const e=e=>{"Escape"===e.key&&n()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[t,n]),t?P.jsxs("div",{className:"search-modal",children:[P.jsx("div",{className:"search-modal__overlay",onClick:n}),P.jsxs("div",{className:"search-modal__content",children:[P.jsx("div",{className:"search-modal__header",children:P.jsxs("div",{className:"search-modal__input-wrapper",onClick:()=>s(-1),children:[P.jsx("i",{className:"fa fa-search search-modal__icon"}),o.map((e,t)=>P.jsxs("div",{className:"search-modal__scope",children:[P.jsx("p",{className:"suggest-row__scope-type",children:e.type&&e.type+":"}),P.jsx("p",{className:"search-modal__scope-title",children:e.title})]},"scope-"+t)),P.jsx("input",{ref:d,autoComplete:"off",name:"q",autoFocus:!0,type:"text",className:"search-modal__input",placeholder:0<(null==o?void 0:o.length)?"search in this scope...":"Search documentation...",value:l,onChange:b,onKeyDown:S}),(l||0{var e;a(""),i([]),s(-1),null!=(e=d.current)&&e.focus()},children:P.jsx("i",{className:"fa fa-circle-xmark"})})]})}),P.jsxs("ul",{className:"search-modal__body",children:[0<(null==v?void 0:v.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Decomposed scopes",children:v.map((e,t)=>P.jsx(jr,{scopes:e.scopes,title:e.title,tooltip:e.tooltip,isActive:u===t,ref:e=>c.current[t]=e,href:e.href},"decomposed-"+t))})}),e?P.jsxs("div",{className:"search-modal__loading",children:[P.jsx("div",{className:"search-modal__spinner",children:P.jsx("i",{className:"fa fa-spinner fa-spin"})}),P.jsx("p",{children:"Searching..."})]}):P.jsxs(P.Fragment,{children:[0<(null==v?void 0:v.length)&&0<(null==f?void 0:f.length)&&P.jsx("li",{className:"search-modal__divider"}),0<(null==f?void 0:f.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"Scope suggestions",children:f.map(({title:e,type:t,slug:n},r)=>P.jsx(jr,{title:e,type:t,isActive:u===r+v.length,ref:e=>c.current[r+v.length]=e,tooltip:"Filter for this",onClick:()=>y(e,t,n)},"scope-"+r))})}),0<(null==v?void 0:v.length)&&0<(null==r?void 0:r.length)&&P.jsx("li",{className:"search-modal__divider"}),0<(null==r?void 0:r.length)&&P.jsx("li",{className:"search-modal__section",children:P.jsx("div",{className:"search-modal__items",role:"group","aria-label":"File suggestions",children:r.map(({title:e,packageName:t,href:n},r)=>P.jsx(jr,{title:e,packageName:t,isActive:u===r+v.length+f.length,href:n,ref:e=>c.current[r+v.length+f.length]=e,tooltip:"Open this page",icon:"file"},"file-"+r))})})]})]})]})]}):null}),up=()=>{const[e,t]=A.useState(!1),n=()=>{t(!0)};return A.useEffect(()=>{let e=document.getElementById("globalsearchinput");if(e=e||document.getElementById("searchinput"))return e.addEventListener("click",n),()=>{e.removeEventListener("click",n)}},[]),P.jsx(op,{isOpen:e,onClose:()=>t(!1)})},tl="https://docs.typo3.org";document.addEventListener("DOMContentLoaded",()=>{var e=document.getElementById("global-search-root");e&&uc(e).render(P.jsx(up,{}))}),(()=>{"use strict";const e=Array.from(document.querySelectorAll('.nav-item > [role="tab"]'));function a(e){return e.innerHTML.trim()}document.addEventListener("shown.bs.tab",function(r){const l=a(r.target);e.filter(e=>{var t=a(e)===l,n=e===r.target,e="true"===e.getAttribute("aria-selected");return t&&!n&&!e}).forEach(e=>{new bootstrap.Tab(e).show()})})})();class ToggleSection{TOGGLE_CLASS="toggle-section";TOGGLE_ICON_SHOW=["fa-solid","fa-eye"];TOGGLE_ICON_HIDE=["fa-solid","fa-eye-slash"];TOGGLE_TITLE_SHOW="Show Section";TOGGLE_TITLE_HIDE="Hide section";TOGGLE_ALL_SECTIONS_SELECTOR=".toggle-all-sections";TOGGLE_ALL_SECTIONS_TITLE_SHOW="Expand all sections";TOGGLE_ALL_SECTIONS_TITLE_HIDE="Collapse all sections";sections=[];constructor(){this.sectionHeadings=document.querySelectorAll("section > :is(h2,h3,h4,h5,h6)"),this.sectionHeadings.forEach(e=>{var t=this.createToggleSectionButton(),n=e.querySelector("a.headerlink");const r=e.parentElement;this.sections.push(r),e.insertBefore(t,n),t.addEventListener("click",e=>{e.preventDefault(),this.toggleSection(r)})}),this.sectionHeadings&&document.querySelectorAll("a").forEach(n=>{n.hash&&n.addEventListener("click",e=>{var t=document.querySelector(n.hash);t&&this.changeSection(t,!1)})});const e=document.querySelector(this.TOGGLE_ALL_SECTIONS_SELECTOR);e&&e.addEventListener("click",()=>{e.classList.toggle("hide-all");const t=e.classList.contains("hide-all");e.setAttribute("title",t?this.TOGGLE_ALL_SECTIONS_TITLE_SHOW:this.TOGGLE_ALL_SECTIONS_TITLE_HIDE),e.textContent=t?this.TOGGLE_ALL_SECTIONS_TITLE_SHOW:this.TOGGLE_ALL_SECTIONS_TITLE_HIDE,this.sections.forEach(e=>{this.changeSection(e,t)})})}createToggleSectionButton(){var e=document.createElement("a"),t=(e.classList.add(this.TOGGLE_CLASS),e.setAttribute("href","#"),e.setAttribute("title",this.TOGGLE_TITLE_HIDE),document.createElement("i"));return t.classList.add(...this.TOGGLE_ICON_HIDE),e.appendChild(t),e}toggleSection(e){var t=e.classList.contains("section-collapsed");this.changeSection(e,!t)}changeSection(e,r){r?e.classList.add("section-collapsed"):e.classList.remove("section-collapsed");const l=["H2","H3","H4","H5","H6"];e.querySelectorAll(":scope > *").forEach(e=>{var t,n;l.includes(e.nodeName)?(t=(n=e.querySelector("."+this.TOGGLE_CLASS)).querySelector(":scope > i"),n.setAttribute("title",r?this.TOGGLE_TITLE_SHOW:this.TOGGLE_TITLE_HIDE),t.classList.remove(...t.classList),n=r?this.TOGGLE_ICON_SHOW:this.TOGGLE_ICON_HIDE,t.classList.add(...n)):r?e.classList.add("collapsed-section-content"):e.classList.remove("collapsed-section-content")})}}new ToggleSection,(()=>{"use strict";const d="A_Default",f=1e5,l=document.getElementById("toc-version");function n(e,r){var t=document.createElement("dl"),l={"de-de":"German","de-at":"German (Austria)","de-ch":"German (Switzerland)","en-gb":"English","fr-fr":"French","ru-ru":"Russian"};if(l["en-us"]=d,"object"!=typeof r)console.log("AJAX version selector API: Request failed, no JSON returned."),e.innerHTML="

Versions unavailable.

";else{var a,o={currentfile:{},singlefile:{}};for(a in r){var i=r[a];let e=i.language,t=i.version;var u,s=l[e.toLocaleLowerCase()];s&&(e=s);let n="3_named";"main"===t?n="1_main":(s=t.trim(),u=parseFloat(s),isNaN(u)||Number(s)!==u||(t=t.split(".").map(e=>+e+f).join("."),n="2_numeric")),o.currentfile[e]||(o.currentfile[e]={},o.singlefile[e]={}),o.singlefile[e][n]||(o.currentfile[e][n]={},o.singlefile[e][n]={}),o.singlefile[e][n][t]||(o.currentfile[e][n][t]={},o.singlefile[e][n][t]={}),o.currentfile[e][n][t]=i.url,o.singlefile[e][n][t]=i.singleUrl}var n=function t(n){{if(null===n||"object"!=typeof n||Array.isArray(n))return n;{const r={},e=Object.keys(n).filter(e=>!isNaN(e)).sort((e,t)=>t-e),l=Object.keys(n).filter(e=>isNaN(e)).sort(),a=[...e,...l];return a.forEach(e=>{r[e]=t(n[e])}),r}}}(o),c="",c=(c+=p("currentfile",n))+p("singlefile",n);t.innerHTML=c,e.innerHTML="",e.appendChild(t)}}function p(t,n){let r="";for(var l in"singlefile"===t&&(r+="

In one file:"),n[t]){var e,a,o;for(o in l!=d&&(e=Object.keys(n[t][l])[0],a=Object.keys(n[t][l][e])[0],r+='
'+l+"
"),n[t][l])for(var i in n[t][l][o]){let e=i;"2_numeric"===o&&(e=i.split(".").map(e=>+e-f).join(".")),r+='
'+e+"
"}}return"singlefile"===t&&(r+="

"),r}function t(){var e=document.getElementById("toc-version-wrapper");const t=document.getElementById("toc-version-options");e.classList.toggle("toc-version-wrapper-active"),t.dataset.ready||async function(){let e=document.URL,t="https://docs.typo3.org/services/versionsJson.php?url=";l.getAttribute("data-override-url-self")&&(e=l.getAttribute("data-override-url-self"),t=l.getAttribute("data-override-url-proxy"),console.log("AJAX version selector API: Developer mode enabled. Adjust data-override-url-self to simulate different menus. More information: https://docs.typo3.org/other/t3docs/render-guides/main/en-us/Developer/AjaxVersions.html"),console.log("Currently: "+e),console.log("The API PROXY is currently served from: "+t));var n=t+encodeURI(e);try{var r=await fetch(n);return r.ok?r.json():(console.log("AJAX version selector API: Request failure or empty response."),"")}catch(e){return console.log("AJAX version selector API: Request failed, likely CORS issue. Read the documentation to configure a proxy."),""}}().then(e=>{""===e&&(e="

No data available.

"),n(t,e),t.dataset.ready="true"})}l&&(l.addEventListener("click",t),l.addEventListener("keypress",e=>{"Enter"===e.key&&t()}))})(); \ No newline at end of file