@confidencesystemsinc/sdk 1.3.9 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +46 -46
- package/dist/index.d.ts +0 -2
- package/dist/index.js +2369 -2413
- package/package.json +1 -1
- package/dist/components/playbook/playbook-shadow-dom.d.ts +0 -7
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var ch=e=>{throw TypeError(e)};var ld=(e,t,r)=>t.has(e)||ch("Cannot "+r);var _=(e,t,r)=>(ld(e,t,"read from private field"),r?r.call(e):t.get(e)),Ie=(e,t,r)=>t.has(e)?ch("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ge=(e,t,r,i)=>(ld(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r),Ue=(e,t,r)=>(ld(e,t,"access private method"),r);var du=(e,t,r,i)=>({set _(a){ge(e,t,a,r)},get _(){return _(e,t,i)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react/jsx-runtime"),A=require("react"),Uu=require("react-dom");function tg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const pe=tg(A),jy=tg(Uu);function Ny(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ei={},ia={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-dom-server-legacy.browser.production.min.js
|
|
4
4
|
*
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var uh;function zy(){if(uh)return ia;uh=1;var e=A;function t(f){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+f,E=1;E<arguments.length;E++)b+="&args[]="+encodeURIComponent(arguments[E]);return"Minified React error #"+f+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Object.prototype.hasOwnProperty,i=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},u={};function p(f){return r.call(u,f)?!0:r.call(a,f)?!1:i.test(f)?u[f]=!0:(a[f]=!0,!1)}function m(f,b,E,P,H,N,G){this.acceptsBooleans=b===2||b===3||b===4,this.attributeName=P,this.attributeNamespace=H,this.mustUseProperty=E,this.propertyName=f,this.type=b,this.sanitizeURL=N,this.removeEmptyString=G}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){h[f]=new m(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var b=f[0];h[b]=new m(b,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){h[f]=new m(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){h[f]=new m(f,2,!1,f,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){h[f]=new m(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){h[f]=new m(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){h[f]=new m(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){h[f]=new m(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){h[f]=new m(f,5,!1,f.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function C(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!1,!1)}),h.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!0,!0)});var x={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},F=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(f){F.forEach(function(b){b=b+f.charAt(0).toUpperCase()+f.substring(1),x[b]=x[f]})});var I=/["'&<>]/;function L(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var b=I.exec(f);if(b){var E="",P,H=0;for(P=b.index;P<f.length;P++){switch(f.charCodeAt(P)){case 34:b=""";break;case 38:b="&";break;case 39:b="'";break;case 60:b="<";break;case 62:b=">";break;default:continue}H!==P&&(E+=f.substring(H,P)),H=P+1,E+=b}f=H!==P?E+f.substring(H,P):E}return f}var D=/([A-Z])/g,T=/^ms-/,O=Array.isArray;function U(f,b){return{insertionMode:f,selectedValue:b}}function j(f,b,E){switch(b){case"select":return U(1,E.value!=null?E.value:E.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=f.insertionMode||f.insertionMode===0?U(1,null):f}var V=new Map;function $(f,b,E){if(typeof E!="object")throw Error(t(62));b=!0;for(var P in E)if(r.call(E,P)){var H=E[P];if(H!=null&&typeof H!="boolean"&&H!==""){if(P.indexOf("--")===0){var N=L(P);H=L((""+H).trim())}else{N=P;var G=V.get(N);G!==void 0||(G=L(N.replace(D,"-$1").toLowerCase().replace(T,"-ms-")),V.set(N,G)),N=G,H=typeof H=="number"?H===0||r.call(x,P)?""+H:H+"px":L((""+H).trim())}b?(b=!1,f.push(' style="',N,":",H)):f.push(";",N,":",H)}}b||f.push('"')}function J(f,b,E,P){switch(E){case"style":$(f,b,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){if(b=h.hasOwnProperty(E)?h[E]:null,b!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!b.acceptsBooleans)return}switch(E=b.attributeName,b.type){case 3:P&&f.push(" ",E,'=""');break;case 4:P===!0?f.push(" ",E,'=""'):P!==!1&&f.push(" ",E,'="',L(P),'"');break;case 5:isNaN(P)||f.push(" ",E,'="',L(P),'"');break;case 6:!isNaN(P)&&1<=P&&f.push(" ",E,'="',L(P),'"');break;default:b.sanitizeURL&&(P=""+P),f.push(" ",E,'="',L(P),'"')}}else if(p(E)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(b=E.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-")return}f.push(" ",E,'="',L(P),'"')}}}function ae(f,b,E){if(b!=null){if(E!=null)throw Error(t(60));if(typeof b!="object"||!("__html"in b))throw Error(t(61));b=b.__html,b!=null&&f.push(""+b)}}function ne(f){var b="";return e.Children.forEach(f,function(E){E!=null&&(b+=E)}),b}function le(f,b,E,P){f.push(Fe(E));var H=E=null,N;for(N in b)if(r.call(b,N)){var G=b[N];if(G!=null)switch(N){case"children":E=G;break;case"dangerouslySetInnerHTML":H=G;break;default:J(f,P,N,G)}}return f.push(">"),ae(f,H,E),typeof E=="string"?(f.push(L(E)),null):E}var ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Fe(f){var b=De.get(f);if(b===void 0){if(!ye.test(f))throw Error(t(65,f));b="<"+f,De.set(f,b)}return b}function $e(f,b,E,P,H){switch(b){case"select":f.push(Fe("select"));var N=null,G=null;for(Ce in E)if(r.call(E,Ce)){var re=E[Ce];if(re!=null)switch(Ce){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"defaultValue":case"value":break;default:J(f,P,Ce,re)}}return f.push(">"),ae(f,G,N),N;case"option":G=H.selectedValue,f.push(Fe("option"));var ke=re=null,Ae=null,Ce=null;for(N in E)if(r.call(E,N)){var Ve=E[N];if(Ve!=null)switch(N){case"children":re=Ve;break;case"selected":Ae=Ve;break;case"dangerouslySetInnerHTML":Ce=Ve;break;case"value":ke=Ve;default:J(f,P,N,Ve)}}if(G!=null)if(E=ke!==null?""+ke:ne(re),O(G)){for(P=0;P<G.length;P++)if(""+G[P]===E){f.push(' selected=""');break}}else""+G===E&&f.push(' selected=""');else Ae&&f.push(' selected=""');return f.push(">"),ae(f,Ce,re),re;case"textarea":f.push(Fe("textarea")),Ce=G=N=null;for(re in E)if(r.call(E,re)&&(ke=E[re],ke!=null))switch(re){case"children":Ce=ke;break;case"value":N=ke;break;case"defaultValue":G=ke;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:J(f,P,re,ke)}if(N===null&&G!==null&&(N=G),f.push(">"),Ce!=null){if(N!=null)throw Error(t(92));if(O(Ce)&&1<Ce.length)throw Error(t(93));N=""+Ce}return typeof N=="string"&&N[0]===`
|
|
10
10
|
`&&f.push(`
|
|
11
|
-
`),N!==null&&f.push(L(""+N)),null;case"input":f.push(Fe("input")),ke=Ce=re=N=null;for(G in E)if(r.call(E,G)&&(
|
|
11
|
+
`),N!==null&&f.push(L(""+N)),null;case"input":f.push(Fe("input")),ke=Ce=re=N=null;for(G in E)if(r.call(E,G)&&(Ae=E[G],Ae!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ke=Ae;break;case"defaultValue":re=Ae;break;case"checked":Ce=Ae;break;case"value":N=Ae;break;default:J(f,P,G,Ae)}return Ce!==null?J(f,P,"checked",Ce):ke!==null&&J(f,P,"checked",ke),N!==null?J(f,P,"value",N):re!==null&&J(f,P,"value",re),f.push("/>"),null;case"menuitem":f.push(Fe("menuitem"));for(var Et in E)if(r.call(E,Et)&&(N=E[Et],N!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:J(f,P,Et,N)}return f.push(">"),null;case"title":f.push(Fe("title")),N=null;for(Ve in E)if(r.call(E,Ve)&&(G=E[Ve],G!=null))switch(Ve){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:J(f,P,Ve,G)}return f.push(">"),N;case"listing":case"pre":f.push(Fe(b)),G=N=null;for(ke in E)if(r.call(E,ke)&&(re=E[ke],re!=null))switch(ke){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;default:J(f,P,ke,re)}if(f.push(">"),G!=null){if(N!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));E=G.__html,E!=null&&(typeof E=="string"&&0<E.length&&E[0]===`
|
|
12
12
|
`?f.push(`
|
|
13
13
|
`,E):f.push(""+E))}return typeof N=="string"&&N[0]===`
|
|
14
14
|
`&&f.push(`
|
|
15
|
-
`),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(r.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:J(f,P,Ct,N)}return f.push("/>"),null;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 le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Oe in E)if(r.call(E,Oe)&&(re=E[Oe],re!=null))switch(Oe){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"style":$(f,P,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Oe)&&typeof re!="function"&&typeof re!="symbol"&&f.push(" ",Oe,'="',L(re),'"')}return f.push(">"),ae(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function Z(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var K=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Un=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Hn(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ce:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ue:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Hn(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Hn(f(b))}catch{}}return null}var Wn={};function So(f,b){if(f=f.contextTypes,!f)return Wn;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function Ir(f){var b=f.parent;b!==null&&Ir(b),f.context._currentValue2=f.value}function Fr(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fr(f,b)}function Mr(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mr(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?Ir(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fr(b,f):Mr(b,f),Bt=f)}var Dr={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dr,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:K({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dr.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var re=b[G];re=typeof re=="function"?re.call(f,N,E,P):re,re!=null&&(H?(H=!1,N=K({},N,re)):K(N,re))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _r(f,b,E){var P=f.id;f=f.overflow;var H=32-lr(P)-1;P&=~(1<<H),E+=1;var N=32-lr(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-lr(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var lr=Math.clz32?Math.clz32:kn,Ei=Math.log,Lr=Math.LN2;function kn(f){return f>>>=0,f===0?32:31-(Ei(f)/Lr|0)|0}function $r(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$r,xt=null,tn=null,En=null,Qe=null,Cn=!1,cr=!1,Vn=0,nn=null,ur=0;function mn(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<ur)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jr(){return Qe===null?En===null?(Cn=!1,En=Qe=dt()):(Cn=!0,Qe=En):Qe.next===null?(Cn=!1,Qe=Qe.next=dt()):(Cn=!0,Qe=Qe.next),Qe}function Nr(){tn=xt=null,cr=!1,En=null,ur=0,Qe=nn=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=mn(),Qe=jr(),Cn){var P=Qe.queue;if(b=P.dispatch,nn!==null&&(E=nn.get(P),E!==void 0)){nn.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ci.bind(null,xt,f),[Qe.memoizedState,f]}function zr(f,b){if(xt=mn(),Qe=jr(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ci(f,b,E){if(25<=ur)throw Error(t(301));if(f===xt)if(cr=!0,f={action:E,next:null},nn===null&&(nn=new Map),E=nn.get(b),E===void 0)nn.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ti(){throw Error(t(394))}function rn(){}var Br={readContext:function(f){return f._currentValue2},useContext:function(f){return mn(),f._currentValue2},useMemo:zr,useReducer:lt,useRef:function(f){xt=mn(),Qe=jr();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:rn,useLayoutEffect:function(){},useCallback:function(f,b){return zr(function(){return f},b)},useImperativeHandle:rn,useEffect:rn,useDebugValue:rn,useDeferredValue:function(f){return mn(),f},useTransition:function(){return mn(),[!1,Ti]},useId:function(){var f=tn.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-lr(f)-1)).toString(32)+b;var E=fr;if(E===null)throw Error(t(404));return b=Vn++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return mn(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fr=null,Tn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function on(){}function dr(f,b,E,P,H,N,G,re,ke){var Oe=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Oe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:on,onShellReady:G===void 0?on:G,onShellError:on,onFatalError:on},E=Pn(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Rn(b,f,null,E,Ce,Wn,null,Eo),Oe.push(f),b}function Rn(f,b,E,P,H,N,G,re){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Oe=f.pingedTasks;Oe.push(ke),Oe.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:re};return H.add(ke),ke}function Pn(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function an(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function On(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tn=b,Vn=0,f=E(P,H);cr;)cr=!1,Vn=0,ur+=1,Qe=null,f=E(P,H);return Nr(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var re in E)if(!(re in N))throw Error(t(108,Hn(P)||"Unknown",re));P=K({},G,E)}b.legacyContext=P,ct(f,b,H),b.legacyContext=G}else ct(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=K({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function gn(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Vn!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_r(P,1,0);try{ct(f,b,H)}finally{b.treeContext=P}}else ct(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),ln(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Un:case Nt:case me:case ce:case he:ct(f,b,P.children);return;case Be:ct(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var re={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Pn(f,H.chunks.length,re,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Oe=Pn(f,0,null,H.formatContext,!1,!1);Oe.parentFlushed=!0,b.blockedBoundary=re,b.blockedSegment=Oe;try{if(ln(f,b,P),f.responseState.generateStaticMarkup||Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push("<!-- -->"),Oe.status=1,Ut(re,Oe),re.pendingTasks===0)break e}catch(Ce){Oe.status=4,re.forceClientRender=!0,re.errorDigest=an(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Rn(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Vn!==0){E=b.treeContext,b.treeContext=_r(E,1,0);try{ct(f,b,P)}finally{b.treeContext=E}}else ct(f,b,P);return;case se:E=E.type,P=Po(E,P),gn(f,b,E,P,H);return;case ue:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ct(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ct(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),gn(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ct(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:gn(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ct(f,b,E);return}if(A(E)){sn(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);sn(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function sn(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_r(N,P,H);try{ln(f,b,E[H])}finally{b.treeContext=N}}}function ln(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ct(f,b,E)}catch(ke){if(Nr(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,re=Pn(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(re),G.lastPushedText=!1,f=Rn(f,b.node,b.blockedBoundary,re,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function An(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,cn(this,b,f)}function pr(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pr(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function cn(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=on,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(An,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Tn.current;Tn.current=Br;var P=fr;fr=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],re=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ct(re,G,G.node),re.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,cn(re,G.blockedBoundary,ke)}catch(Tt){if(Nr(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Oe=G.ping;Tt.then(Oe,Oe)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=an(re,Ve);if(Ce===null?On(re,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&re.clientRenderedBoundaries.push(Ce))),re.allPendingTasks--,re.allPendingTasks===0){var Ct=re.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){an(f,Tt),On(f,Tt)}finally{fr=P,Tn.current=E,E===Br&&st(b)}}}function In(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Gn(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Gn(f,b,E){var P=E.boundary;if(P===null)return In(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),In(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),In(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),In(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Gn(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hr(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Gn(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)un(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function un(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hr(f,b,P)}return hr(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Gn(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var re=f.responseState,ke=G.id,Oe=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(re.startInlineScript),re.sentClientRenderFunction?P.push('$RX("'):(re.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Oe||Ce||Ve){P.push(",");var Et=Z(Oe||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=Z(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=Z(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Fn=f.completedBoundaries;for(N=0;N<Fn.length;N++)if(!_t(f,b,Fn[N])){f.destination=null,N++,Fn.splice(0,N);return}Fn.splice(0,N);var fn=f.partialBoundaries;for(N=0;N<fn.length;N++){var gr=fn[N];e:{H=f,G=b;var Mn=gr.completedSegments;for(re=0;re<Mn.length;re++)if(!un(H,G,gr,Mn[re])){re++,Mn.splice(0,re);var Yn=!1;break e}Mn.splice(0,re),Yn=!0}if(!Yn){f.destination=null,N++,fn.splice(0,N);return}}fn.splice(0,N);var vn=f.completedBoundaries;for(N=0;N<vn.length;N++)if(!_t(f,b,vn[N])){f.destination=null,N++,vn.splice(0,N);return}vn.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mr(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pr(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){an(f,P),On(f,P)}}function mt(){}function Ot(f,b,E,P){var H=!1,N=null,G="",re={push:function(Oe){return Oe!==null&&(G+=Oe),!0},destroy:function(Oe){H=!0,N=Oe}},ke=!1;if(f=dr(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mr(f,P),f.status===1)f.status=2,re.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=re;try{kt(f,re)}catch(Oe){an(f,Oe),On(f,Oe)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ia.renderToNodeStream=function(){throw Error(t(207))},ia.renderToStaticMarkup=function(f,b){return Ot(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.renderToStaticNodeStream=function(){throw Error(t(208))},ia.renderToString=function(f,b){return Ot(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.version="18.3.1",ia}var mu={};/**
|
|
15
|
+
`),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(r.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:J(f,P,Ct,N)}return f.push("/>"),null;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 le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Ae in E)if(r.call(E,Ae)&&(re=E[Ae],re!=null))switch(Ae){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"style":$(f,P,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Ae)&&typeof re!="function"&&typeof re!="symbol"&&f.push(" ",Ae,'="',L(re),'"')}return f.push(">"),ae(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function Z(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var K=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Un=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Hn(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ce:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ue:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Hn(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Hn(f(b))}catch{}}return null}var Wn={};function So(f,b){if(f=f.contextTypes,!f)return Wn;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function Ir(f){var b=f.parent;b!==null&&Ir(b),f.context._currentValue2=f.value}function Fr(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fr(f,b)}function Mr(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mr(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?Ir(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fr(b,f):Mr(b,f),Bt=f)}var Dr={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dr,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:K({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dr.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var re=b[G];re=typeof re=="function"?re.call(f,N,E,P):re,re!=null&&(H?(H=!1,N=K({},N,re)):K(N,re))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _r(f,b,E){var P=f.id;f=f.overflow;var H=32-lr(P)-1;P&=~(1<<H),E+=1;var N=32-lr(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-lr(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var lr=Math.clz32?Math.clz32:kn,Ei=Math.log,Lr=Math.LN2;function kn(f){return f>>>=0,f===0?32:31-(Ei(f)/Lr|0)|0}function $r(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$r,xt=null,tn=null,En=null,Qe=null,Cn=!1,cr=!1,Vn=0,nn=null,ur=0;function mn(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<ur)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jr(){return Qe===null?En===null?(Cn=!1,En=Qe=dt()):(Cn=!0,Qe=En):Qe.next===null?(Cn=!1,Qe=Qe.next=dt()):(Cn=!0,Qe=Qe.next),Qe}function Nr(){tn=xt=null,cr=!1,En=null,ur=0,Qe=nn=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=mn(),Qe=jr(),Cn){var P=Qe.queue;if(b=P.dispatch,nn!==null&&(E=nn.get(P),E!==void 0)){nn.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ci.bind(null,xt,f),[Qe.memoizedState,f]}function zr(f,b){if(xt=mn(),Qe=jr(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ci(f,b,E){if(25<=ur)throw Error(t(301));if(f===xt)if(cr=!0,f={action:E,next:null},nn===null&&(nn=new Map),E=nn.get(b),E===void 0)nn.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ti(){throw Error(t(394))}function rn(){}var Br={readContext:function(f){return f._currentValue2},useContext:function(f){return mn(),f._currentValue2},useMemo:zr,useReducer:lt,useRef:function(f){xt=mn(),Qe=jr();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:rn,useLayoutEffect:function(){},useCallback:function(f,b){return zr(function(){return f},b)},useImperativeHandle:rn,useEffect:rn,useDebugValue:rn,useDeferredValue:function(f){return mn(),f},useTransition:function(){return mn(),[!1,Ti]},useId:function(){var f=tn.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-lr(f)-1)).toString(32)+b;var E=fr;if(E===null)throw Error(t(404));return b=Vn++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return mn(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fr=null,Tn=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function on(){}function dr(f,b,E,P,H,N,G,re,ke){var Ae=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:on,onShellReady:G===void 0?on:G,onShellError:on,onFatalError:on},E=Pn(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Rn(b,f,null,E,Ce,Wn,null,Eo),Ae.push(f),b}function Rn(f,b,E,P,H,N,G,re){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Ae=f.pingedTasks;Ae.push(ke),Ae.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:re};return H.add(ke),ke}function Pn(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function an(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function An(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tn=b,Vn=0,f=E(P,H);cr;)cr=!1,Vn=0,ur+=1,Qe=null,f=E(P,H);return Nr(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var re in E)if(!(re in N))throw Error(t(108,Hn(P)||"Unknown",re));P=K({},G,E)}b.legacyContext=P,ct(f,b,H),b.legacyContext=G}else ct(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=K({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function gn(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Vn!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_r(P,1,0);try{ct(f,b,H)}finally{b.treeContext=P}}else ct(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),ln(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Un:case Nt:case me:case ce:case he:ct(f,b,P.children);return;case Be:ct(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var re={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Pn(f,H.chunks.length,re,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Ae=Pn(f,0,null,H.formatContext,!1,!1);Ae.parentFlushed=!0,b.blockedBoundary=re,b.blockedSegment=Ae;try{if(ln(f,b,P),f.responseState.generateStaticMarkup||Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push("<!-- -->"),Ae.status=1,Ut(re,Ae),re.pendingTasks===0)break e}catch(Ce){Ae.status=4,re.forceClientRender=!0,re.errorDigest=an(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Rn(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Vn!==0){E=b.treeContext,b.treeContext=_r(E,1,0);try{ct(f,b,P)}finally{b.treeContext=E}}else ct(f,b,P);return;case se:E=E.type,P=Po(E,P),gn(f,b,E,P,H);return;case ue:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ct(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ct(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),gn(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ct(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:gn(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ct(f,b,E);return}if(O(E)){sn(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);sn(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function sn(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_r(N,P,H);try{ln(f,b,E[H])}finally{b.treeContext=N}}}function ln(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ct(f,b,E)}catch(ke){if(Nr(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,re=Pn(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(re),G.lastPushedText=!1,f=Rn(f,b.node,b.blockedBoundary,re,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function On(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,cn(this,b,f)}function pr(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pr(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function cn(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=on,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(On,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Tn.current;Tn.current=Br;var P=fr;fr=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],re=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ct(re,G,G.node),re.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,cn(re,G.blockedBoundary,ke)}catch(Tt){if(Nr(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Ae=G.ping;Tt.then(Ae,Ae)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=an(re,Ve);if(Ce===null?An(re,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&re.clientRenderedBoundaries.push(Ce))),re.allPendingTasks--,re.allPendingTasks===0){var Ct=re.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){an(f,Tt),An(f,Tt)}finally{fr=P,Tn.current=E,E===Br&&st(b)}}}function In(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Gn(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Gn(f,b,E){var P=E.boundary;if(P===null)return In(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),In(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),In(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),In(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Gn(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hr(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Gn(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)un(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function un(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hr(f,b,P)}return hr(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Gn(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var re=f.responseState,ke=G.id,Ae=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(re.startInlineScript),re.sentClientRenderFunction?P.push('$RX("'):(re.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Ae||Ce||Ve){P.push(",");var Et=Z(Ae||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=Z(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=Z(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Fn=f.completedBoundaries;for(N=0;N<Fn.length;N++)if(!_t(f,b,Fn[N])){f.destination=null,N++,Fn.splice(0,N);return}Fn.splice(0,N);var fn=f.partialBoundaries;for(N=0;N<fn.length;N++){var gr=fn[N];e:{H=f,G=b;var Mn=gr.completedSegments;for(re=0;re<Mn.length;re++)if(!un(H,G,gr,Mn[re])){re++,Mn.splice(0,re);var Yn=!1;break e}Mn.splice(0,re),Yn=!0}if(!Yn){f.destination=null,N++,fn.splice(0,N);return}}fn.splice(0,N);var vn=f.completedBoundaries;for(N=0;N<vn.length;N++)if(!_t(f,b,vn[N])){f.destination=null,N++,vn.splice(0,N);return}vn.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mr(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pr(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){an(f,P),An(f,P)}}function mt(){}function At(f,b,E,P){var H=!1,N=null,G="",re={push:function(Ae){return Ae!==null&&(G+=Ae),!0},destroy:function(Ae){H=!0,N=Ae}},ke=!1;if(f=dr(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mr(f,P),f.status===1)f.status=2,re.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=re;try{kt(f,re)}catch(Ae){an(f,Ae),An(f,Ae)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ia.renderToNodeStream=function(){throw Error(t(207))},ia.renderToStaticMarkup=function(f,b){return At(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.renderToStaticNodeStream=function(){throw Error(t(208))},ia.renderToString=function(f,b){return At(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.version="18.3.1",ia}var pu={};/**
|
|
16
16
|
* @license React
|
|
17
17
|
* react-dom-server.browser.production.min.js
|
|
18
18
|
*
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
*
|
|
21
21
|
* This source code is licensed under the MIT license found in the
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/var
|
|
24
|
-
`),So=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function gt(d){var y=Bt.get(d);if(y===void 0){if(!So.test(d))throw Error(t(65,d));y=v("<"+d),Bt.set(d,y)}return y}var ft=v("<!DOCTYPE html>");function Ir(d,y,S,R,W){switch(y){case"select":d.push(gt("select"));var B=null,X=null;for(je in S)if(x.call(S,je)){var oe=S[je];if(oe!=null)switch(je){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"defaultValue":case"value":break;default:We(d,R,je,oe)}}return d.push(ot),Un(d,X,B),B;case"option":X=W.selectedValue,d.push(gt("option"));var
|
|
25
|
-
`&&d.push(Wn),B!==null&&d.push(h(ae(""+B))),null;case"input":d.push(gt("input")),
|
|
23
|
+
*/var fh;function By(){if(fh)return pu;fh=1;var e=A;function t(d){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+d,S=1;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S]);return"Minified React error #"+d+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,i=0;function a(d,y){if(y.length!==0)if(512<y.length)0<i&&(d.enqueue(new Uint8Array(r.buffer,0,i)),r=new Uint8Array(512),i=0),d.enqueue(y);else{var S=r.length-i;S<y.length&&(S===0?d.enqueue(r):(r.set(y.subarray(0,S),i),d.enqueue(r),y=y.subarray(S)),r=new Uint8Array(512),i=0),r.set(y,i),i+=y.length}}function u(d,y){return a(d,y),!0}function p(d){r&&0<i&&(d.enqueue(new Uint8Array(r.buffer,0,i)),r=null,i=0)}var m=new TextEncoder;function h(d){return m.encode(d)}function v(d){return m.encode(d)}function C(d,y){typeof d.error=="function"?d.error(y):d.close()}var x=Object.prototype.hasOwnProperty,F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,I={},L={};function D(d){return x.call(L,d)?!0:x.call(I,d)?!1:F.test(d)?L[d]=!0:(I[d]=!0,!1)}function T(d,y,S,R,W,B,X){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=R,this.attributeNamespace=W,this.mustUseProperty=S,this.propertyName=d,this.type=y,this.sanitizeURL=B,this.removeEmptyString=X}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){O[d]=new T(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var y=d[0];O[y]=new T(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){O[d]=new T(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){O[d]=new T(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){O[d]=new T(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){O[d]=new T(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){O[d]=new T(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){O[d]=new T(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){O[d]=new T(d,5,!1,d.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function j(d){return d[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!1,!1)}),O.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!0,!0)});var V={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},$=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(d){$.forEach(function(y){y=y+d.charAt(0).toUpperCase()+d.substring(1),V[y]=V[d]})});var J=/["'&<>]/;function ae(d){if(typeof d=="boolean"||typeof d=="number")return""+d;d=""+d;var y=J.exec(d);if(y){var S="",R,W=0;for(R=y.index;R<d.length;R++){switch(d.charCodeAt(R)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}W!==R&&(S+=d.substring(W,R)),W=R+1,S+=y}d=W!==R?S+d.substring(W,R):S}return d}var ne=/([A-Z])/g,le=/^ms-/,ye=Array.isArray,De=v("<script>"),Fe=v("<\/script>"),$e=v('<script src="'),ze=v('<script type="module" src="'),xe=v('" async=""><\/script>'),Re=/(<\/|<)(s)(cript)/gi;function Le(d,y,S,R){return""+y+(S==="s"?"\\u0073":"\\u0053")+R}function Z(d,y,S,R,W){d=d===void 0?"":d,y=y===void 0?De:v('<script nonce="'+ae(y)+'">');var B=[];if(S!==void 0&&B.push(y,h((""+S).replace(Re,Le)),Fe),R!==void 0)for(S=0;S<R.length;S++)B.push($e,h(ae(R[S])),xe);if(W!==void 0)for(R=0;R<W.length;R++)B.push(ze,h(ae(W[R])),xe);return{bootstrapChunks:B,startInlineScript:y,placeholderPrefix:v(d+"P:"),segmentPrefix:v(d+"S:"),boundaryPrefix:d+"B:",idPrefix:d,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(d,y){return{insertionMode:d,selectedValue:y}}function Y(d){return ve(d==="http://www.w3.org/2000/svg"?2:d==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function K(d,y,S){switch(y){case"select":return ve(1,S.value!=null?S.value:S.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=d.insertionMode||d.insertionMode===0?ve(1,null):d}var fe=v("<!-- -->");function te(d,y,S,R){return y===""?R:(R&&d.push(fe),d.push(h(ae(y))),!0)}var he=new Map,me=v(' style="'),ce=v(":"),ue=v(";");function Ee(d,y,S){if(typeof S!="object")throw Error(t(62));y=!0;for(var R in S)if(x.call(S,R)){var W=S[R];if(W!=null&&typeof W!="boolean"&&W!==""){if(R.indexOf("--")===0){var B=h(ae(R));W=h(ae((""+W).trim()))}else{B=R;var X=he.get(B);X!==void 0||(X=v(ae(B.replace(ne,"-$1").toLowerCase().replace(le,"-ms-"))),he.set(B,X)),B=X,W=typeof W=="number"?W===0||x.call(V,R)?h(""+W):h(W+"px"):h(ae((""+W).trim()))}y?(y=!1,d.push(me,B,ce,W)):d.push(ue,B,ce,W)}}y||d.push(Be)}var Se=v(" "),Pe=v('="'),Be=v('"'),se=v('=""');function We(d,y,S,R){switch(S){case"style":Ee(d,y,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){if(y=O.hasOwnProperty(S)?O[S]:null,y!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(S=h(y.attributeName),y.type){case 3:R&&d.push(Se,S,se);break;case 4:R===!0?d.push(Se,S,se):R!==!1&&d.push(Se,S,Pe,h(ae(R)),Be);break;case 5:isNaN(R)||d.push(Se,S,Pe,h(ae(R)),Be);break;case 6:!isNaN(R)&&1<=R&&d.push(Se,S,Pe,h(ae(R)),Be);break;default:y.sanitizeURL&&(R=""+R),d.push(Se,S,Pe,h(ae(R)),Be)}}else if(D(S)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}d.push(Se,h(S),Pe,h(ae(R)),Be)}}}var ot=v(">"),Nt=v("/>");function Un(d,y,S){if(y!=null){if(S!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&d.push(h(""+y))}}function xo(d){var y="";return e.Children.forEach(d,function(S){S!=null&&(y+=S)}),y}var zt=v(' selected=""');function Hn(d,y,S,R){d.push(gt(S));var W=S=null,B;for(B in y)if(x.call(y,B)){var X=y[B];if(X!=null)switch(B){case"children":S=X;break;case"dangerouslySetInnerHTML":W=X;break;default:We(d,R,B,X)}}return d.push(ot),Un(d,W,S),typeof S=="string"?(d.push(h(ae(S))),null):S}var Wn=v(`
|
|
24
|
+
`),So=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function gt(d){var y=Bt.get(d);if(y===void 0){if(!So.test(d))throw Error(t(65,d));y=v("<"+d),Bt.set(d,y)}return y}var ft=v("<!DOCTYPE html>");function Ir(d,y,S,R,W){switch(y){case"select":d.push(gt("select"));var B=null,X=null;for(je in S)if(x.call(S,je)){var oe=S[je];if(oe!=null)switch(je){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"defaultValue":case"value":break;default:We(d,R,je,oe)}}return d.push(ot),Un(d,X,B),B;case"option":X=W.selectedValue,d.push(gt("option"));var Oe=oe=null,Ne=null,je=null;for(B in S)if(x.call(S,B)){var et=S[B];if(et!=null)switch(B){case"children":oe=et;break;case"selected":Ne=et;break;case"dangerouslySetInnerHTML":je=et;break;case"value":Oe=et;default:We(d,R,B,et)}}if(X!=null)if(S=Oe!==null?""+Oe:xo(oe),ye(X)){for(R=0;R<X.length;R++)if(""+X[R]===S){d.push(zt);break}}else""+X===S&&d.push(zt);else Ne&&d.push(zt);return d.push(ot),Un(d,je,oe),oe;case"textarea":d.push(gt("textarea")),je=X=B=null;for(oe in S)if(x.call(S,oe)&&(Oe=S[oe],Oe!=null))switch(oe){case"children":je=Oe;break;case"value":B=Oe;break;case"defaultValue":X=Oe;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:We(d,R,oe,Oe)}if(B===null&&X!==null&&(B=X),d.push(ot),je!=null){if(B!=null)throw Error(t(92));if(ye(je)&&1<je.length)throw Error(t(93));B=""+je}return typeof B=="string"&&B[0]===`
|
|
25
|
+
`&&d.push(Wn),B!==null&&d.push(h(ae(""+B))),null;case"input":d.push(gt("input")),Oe=je=oe=B=null;for(X in S)if(x.call(S,X)&&(Ne=S[X],Ne!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Oe=Ne;break;case"defaultValue":oe=Ne;break;case"checked":je=Ne;break;case"value":B=Ne;break;default:We(d,R,X,Ne)}return je!==null?We(d,R,"checked",je):Oe!==null&&We(d,R,"checked",Oe),B!==null?We(d,R,"value",B):oe!==null&&We(d,R,"value",oe),d.push(Nt),null;case"menuitem":d.push(gt("menuitem"));for(var It in S)if(x.call(S,It)&&(B=S[It],B!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:We(d,R,It,B)}return d.push(ot),null;case"title":d.push(gt("title")),B=null;for(et in S)if(x.call(S,et)&&(X=S[et],X!=null))switch(et){case"children":B=X;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:We(d,R,et,X)}return d.push(ot),B;case"listing":case"pre":d.push(gt(y)),X=B=null;for(Oe in S)if(x.call(S,Oe)&&(oe=S[Oe],oe!=null))switch(Oe){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;default:We(d,R,Oe,oe)}if(d.push(ot),X!=null){if(B!=null)throw Error(t(60));if(typeof X!="object"||!("__html"in X))throw Error(t(61));S=X.__html,S!=null&&(typeof S=="string"&&0<S.length&&S[0]===`
|
|
26
26
|
`?d.push(Wn,h(S)):d.push(h(""+S)))}return typeof B=="string"&&B[0]===`
|
|
27
|
-
`&&d.push(Wn),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;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 Hn(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Hn(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Hn(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ae(oe)),Be)}return d.push(ot),Un(d,X,B),B}}var Fr=v("</"),Mr=v(">"),st=v('<template id="'),Dr=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_r=v('"></template>'),lr=v("<!--$!-->"),Ei=v("<!--/$-->"),Lr=v("<template"),kn=v('"'),$r=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(a(d,Eo),S===null)throw Error(t(395));return a(d,S),u(d,_r)}var tn=v('<div hidden id="'),En=v('">'),Qe=v("</div>"),Cn=v('<svg aria-hidden="true" style="display:none" id="'),cr=v('">'),Vn=v("</svg>"),nn=v('<math aria-hidden="true" style="display:none" id="'),ur=v('">'),mn=v("</math>"),dt=v('<table hidden id="'),jr=v('">'),Nr=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zr=v("</tbody></table>"),Ci=v('<table hidden><tr id="'),Ti=v('">'),rn=v("</tr></table>"),Br=v('<table hidden><colgroup id="'),fr=v('">'),Tn=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return a(d,tn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,En);case 2:return a(d,Cn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,cr);case 3:return a(d,nn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,ur);case 4:return a(d,dt),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,jr);case 5:return a(d,To),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,lt);case 6:return a(d,Ci),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,Ti);case 7:return a(d,Br),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,fr);default:throw Error(t(397))}}function on(d,y){switch(y.insertionMode){case 0:case 1:return u(d,Qe);case 2:return u(d,Vn);case 3:return u(d,mn);case 4:return u(d,Nr);case 5:return u(d,zr);case 6:return u(d,rn);case 7:return u(d,Tn);default:throw Error(t(397))}}var dr=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Rn=v('$RS("'),Pn=v('","'),an=v('")<\/script>'),On=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),gn=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ct=v('$RX("'),sn=v('"'),ln=v(")<\/script>"),An=v(","),pr=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pr,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var cn=Object.assign,St=Symbol.for("react.element"),In=Symbol.for("react.portal"),Gn=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),un=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mr=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),Ot=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function re(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Gn:return"Fragment";case In:return"Portal";case _t:return"Profiler";case hr:return"StrictMode";case mt:return"Suspense";case Ot:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case un:return(d._context.displayName||"Context")+".Provider";case mr:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:re(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return re(d(y))}catch{}}return null}var ke={};function Oe(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Fn(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Fn(d,S),y.context._currentValue=y.value}function fn(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Fn(y,d),Ce=d)}var gr={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Mn(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gr,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:cn({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gr.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=cn({},B,oe)):cn(B,oe))}d.state=B}else B.queue=null}var Yn={id:1,overflow:""};function vn(d,y,S){var R=d.id;d=d.overflow;var W=32-Xn(R)-1;R&=~(1<<W),S+=1;var B=32-Xn(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Xn(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Xn=Math.clz32?Math.clz32:Oo,rl=Math.log,ol=Math.LN2;function Oo(d){return d>>>=0,d===0?32:31-(rl(d)/ol|0)|0}function dn(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var il=typeof Object.is=="function"?Object.is:dn,yn=null,Ri=null,Ao=null,qe=null,Qn=!1,Io=!1,qn=0,Dn=null,Fo=0;function _n(){if(yn===null)throw Error(t(321));return yn}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pi(){return qe===null?Ao===null?(Qn=!1,Ao=qe=Ht()):(Qn=!0,qe=Ao):qe.next===null?(Qn=!1,qe=qe.next=Ht()):(Qn=!0,qe=qe.next),qe}function Ur(){Ri=yn=null,Io=!1,Ao=null,Fo=0,qe=Dn=null}function Oa(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(yn=_n(),qe=Pi(),Qn){var R=qe.queue;if(y=R.dispatch,Dn!==null&&(S=Dn.get(R),S!==void 0)){Dn.delete(R),R=qe.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return qe.memoizedState=R,[R,y]}return[qe.memoizedState,y]}return d=d===Oa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=al.bind(null,yn,d),[qe.memoizedState,d]}function Aa(d,y){if(yn=_n(),qe=Pi(),y=y===void 0?null:y,qe!==null){var S=qe.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!il(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function al(d,y,S){if(25<=Fo)throw Error(t(301));if(d===yn)if(Io=!0,d={action:S,next:null},Dn===null&&(Dn=new Map),S=Dn.get(y),S===void 0)Dn.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function sl(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return _n(),d._currentValue},useMemo:Aa,useReducer:Mo,useRef:function(d){yn=_n(),qe=Pi();var y=qe.memoizedState;return y===null?(d={current:d},qe.memoizedState=d):y},useState:function(d){return Mo(Oa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Aa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return _n(),d},useTransition:function(){return _n(),[!1,sl]},useId:function(){var d=Ri.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Xn(d)-1)).toString(32)+y;var S=Hr;if(S===null)throw Error(t(404));return y=qn++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return _n(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hr=null,Oi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function ll(d){return console.error(d),null}function vr(){}function Ai(d,y,S,R,W,B,X,oe,Ae){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?ll:W,onAllReady:B===void 0?vr:B,onShellReady:X===void 0?vr:X,onShellError:oe===void 0?vr:oe,onFatalError:Ae===void 0?vr:Ae},S=yr(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ii(y,d,null,S,je,ke,null,Yn),Ne.push(d),y}function Ii(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Ae={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Ae),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Ae),Ae}function yr(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wr(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fa(d,y,S,R,W){for(yn={},Ri=y,qn=0,d=S(R,W);Io;)Io=!1,qn=0,Fo+=1,qe=null,d=S(R,W);return Ur(),d}function Ma(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,re(R)||"Unknown",oe));R=cn({},X,S)}y.legacyContext=R,At(d,y,W),y.legacyContext=X}else At(d,y,W)}function Da(d,y){if(d&&d.defaultProps){y=cn({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Oe(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Mn(B,S,R,W),Ma(d,y,B,S)}else{B=Oe(S,y.legacyContext),W=Fa(d,y,S,R,B);var X=qn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Mn(W,S,R,B),Ma(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=vn(R,1,0);try{At(d,y,W)}finally{y.treeContext=R}}else At(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=Ir(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=K(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fr,h(S),Mr)}W.lastPushedText=!1}else{switch(S){case H:case P:case hr:case _t:case Gn:At(d,y,R.children);return;case Ot:At(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Ae=yr(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Ae),W.lastPushedText=!1;var Ne=yr(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wr(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ii(d,B,S,Ae,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mr:if(R=Fa(d,y,S.render,R,W),qn!==0){S=y.treeContext,y.treeContext=vn(S,1,0);try{At(d,y,R)}finally{y.treeContext=S}}else At(d,y,R);return;case f:S=S.type,R=Da(S,R),Lo(d,y,S,R,W);return;case un:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,At(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),At(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Da(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function At(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case In:throw Error(t(257));case b:var R=S._init;S=R(S._payload),At(d,y,S);return}if(ye(S)){_a(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_a(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _a(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=vn(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return At(d,y,S)}catch(Ae){if(Ur(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){S=Ae;var X=y.blockedSegment,oe=yr(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ii(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B),Ae}}function cl(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$a(this,y,d)}function La(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return La(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $a(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vr,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(cl,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ja(d){if(d.status!==2){var y=Ce,S=Oi.current;Oi.current=Ia;var R=Hr;Hr=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Ae=X.blockedSegment;if(Ae.status===0){fn(X.context);try{At(oe,X,X.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(fe),X.abortSet.delete(X),Ae.status=1,$a(oe,X.blockedBoundary,Ae)}catch(Vt){if(Ur(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Ae.status=4;var je=X.blockedBoundary,et=Vt,It=Wr(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fi(d,d.destination)}catch(Vt){Wr(d,Vt),_o(d,Vt)}finally{Hr=R,Oi.current=S,S===Ia&&fn(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,a(y,st),a(y,d.placeholderPrefix),d=h(R.toString(16)),a(y,d),u(y,Dr);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)a(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)a(y,R[B]);return B<R.length&&(W=u(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,u(y,lr),a(y,Lr),R&&(a(y,$r),a(y,h(ae(R))),a(y,kn)),u(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(u(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return u(y,Ei)}function Na(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),on(y,S.formatContext)}function za(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Ba(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,a(y,d.startInlineScript),d.sentCompleteBoundaryFunction?a(y,Pt):(d.sentCompleteBoundaryFunction=!0,a(y,On)),R===null)throw Error(t(395));return S=h(S.toString(16)),a(y,R),a(y,Ro),a(y,d.segmentPrefix),a(y,S),u(y,Po)}function Ba(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Na(d,y,R)}return Na(d,y,R),d=d.responseState,a(y,d.startInlineScript),d.sentCompleteSegmentFunction?a(y,Rn):(d.sentCompleteSegmentFunction=!0,a(y,dr)),a(y,d.segmentPrefix),W=h(W.toString(16)),a(y,W),a(y,Pn),a(y,d.placeholderPrefix),a(y,W),u(y,an)}function Fi(d,y){r=new Uint8Array(512),i=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)a(y,R[S]);S<R.length&&u(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Ae=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(a(R,oe.startInlineScript),oe.sentClientRenderFunction?a(R,ct):(oe.sentClientRenderFunction=!0,a(R,gn)),Ae===null)throw Error(t(395));a(R,Ae),a(R,sn),(Ne||je||et)&&(a(R,An),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,An),a(R,h(Ut(je||"")))),et&&(a(R,An),a(R,h(Ut(et)))),u(R,ln)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)za(d,y,It[B]);It.splice(0,B),p(y),r=new Uint8Array(512),i=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Ba(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Ha=!1;break e}Bo.splice(0,oe),Ha=!0}if(!Ha){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vr=d.completedBoundaries;for(B=0;B<Vr.length;B++)za(d,y,Vr[B]);Vr.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ua(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return La(R,d,y)}),S.clear(),d.destination!==null&&Fi(d,d.destination)}catch(R){Wr(d,R),_o(d,R)}}return mu.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Ai(d,Z(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fi(oe,et)}catch(It){Wr(oe,It),_o(oe,It)}}},cancel:function(){Ua(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Ae=y.signal,Ne=function(){Ua(oe,Ae.reason),Ae.removeEventListener("abort",Ne)};Ae.addEventListener("abort",Ne)}ja(oe)})},mu.version="18.3.1",mu}var aa={};/**
|
|
27
|
+
`&&d.push(Wn),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;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 Hn(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Hn(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Hn(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ae(oe)),Be)}return d.push(ot),Un(d,X,B),B}}var Fr=v("</"),Mr=v(">"),st=v('<template id="'),Dr=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_r=v('"></template>'),lr=v("<!--$!-->"),Ei=v("<!--/$-->"),Lr=v("<template"),kn=v('"'),$r=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(a(d,Eo),S===null)throw Error(t(395));return a(d,S),u(d,_r)}var tn=v('<div hidden id="'),En=v('">'),Qe=v("</div>"),Cn=v('<svg aria-hidden="true" style="display:none" id="'),cr=v('">'),Vn=v("</svg>"),nn=v('<math aria-hidden="true" style="display:none" id="'),ur=v('">'),mn=v("</math>"),dt=v('<table hidden id="'),jr=v('">'),Nr=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zr=v("</tbody></table>"),Ci=v('<table hidden><tr id="'),Ti=v('">'),rn=v("</tr></table>"),Br=v('<table hidden><colgroup id="'),fr=v('">'),Tn=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return a(d,tn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,En);case 2:return a(d,Cn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,cr);case 3:return a(d,nn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,ur);case 4:return a(d,dt),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,jr);case 5:return a(d,To),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,lt);case 6:return a(d,Ci),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,Ti);case 7:return a(d,Br),a(d,y.segmentPrefix),a(d,h(R.toString(16))),u(d,fr);default:throw Error(t(397))}}function on(d,y){switch(y.insertionMode){case 0:case 1:return u(d,Qe);case 2:return u(d,Vn);case 3:return u(d,mn);case 4:return u(d,Nr);case 5:return u(d,zr);case 6:return u(d,rn);case 7:return u(d,Tn);default:throw Error(t(397))}}var dr=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Rn=v('$RS("'),Pn=v('","'),an=v('")<\/script>'),An=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),gn=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ct=v('$RX("'),sn=v('"'),ln=v(")<\/script>"),On=v(","),pr=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pr,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var cn=Object.assign,St=Symbol.for("react.element"),In=Symbol.for("react.portal"),Gn=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),un=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mr=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function re(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Gn:return"Fragment";case In:return"Portal";case _t:return"Profiler";case hr:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case un:return(d._context.displayName||"Context")+".Provider";case mr:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:re(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return re(d(y))}catch{}}return null}var ke={};function Ae(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Fn(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Fn(d,S),y.context._currentValue=y.value}function fn(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Fn(y,d),Ce=d)}var gr={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Mn(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gr,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:cn({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gr.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=cn({},B,oe)):cn(B,oe))}d.state=B}else B.queue=null}var Yn={id:1,overflow:""};function vn(d,y,S){var R=d.id;d=d.overflow;var W=32-Xn(R)-1;R&=~(1<<W),S+=1;var B=32-Xn(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Xn(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Xn=Math.clz32?Math.clz32:Ao,nl=Math.log,rl=Math.LN2;function Ao(d){return d>>>=0,d===0?32:31-(nl(d)/rl|0)|0}function dn(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var ol=typeof Object.is=="function"?Object.is:dn,yn=null,Ri=null,Oo=null,qe=null,Qn=!1,Io=!1,qn=0,Dn=null,Fo=0;function _n(){if(yn===null)throw Error(t(321));return yn}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pi(){return qe===null?Oo===null?(Qn=!1,Oo=qe=Ht()):(Qn=!0,qe=Oo):qe.next===null?(Qn=!1,qe=qe.next=Ht()):(Qn=!0,qe=qe.next),qe}function Ur(){Ri=yn=null,Io=!1,Oo=null,Fo=0,qe=Dn=null}function Aa(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(yn=_n(),qe=Pi(),Qn){var R=qe.queue;if(y=R.dispatch,Dn!==null&&(S=Dn.get(R),S!==void 0)){Dn.delete(R),R=qe.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return qe.memoizedState=R,[R,y]}return[qe.memoizedState,y]}return d=d===Aa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=il.bind(null,yn,d),[qe.memoizedState,d]}function Oa(d,y){if(yn=_n(),qe=Pi(),y=y===void 0?null:y,qe!==null){var S=qe.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!ol(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function il(d,y,S){if(25<=Fo)throw Error(t(301));if(d===yn)if(Io=!0,d={action:S,next:null},Dn===null&&(Dn=new Map),S=Dn.get(y),S===void 0)Dn.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function al(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return _n(),d._currentValue},useMemo:Oa,useReducer:Mo,useRef:function(d){yn=_n(),qe=Pi();var y=qe.memoizedState;return y===null?(d={current:d},qe.memoizedState=d):y},useState:function(d){return Mo(Aa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Oa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return _n(),d},useTransition:function(){return _n(),[!1,al]},useId:function(){var d=Ri.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Xn(d)-1)).toString(32)+y;var S=Hr;if(S===null)throw Error(t(404));return y=qn++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return _n(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hr=null,Ai=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sl(d){return console.error(d),null}function vr(){}function Oi(d,y,S,R,W,B,X,oe,Oe){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?sl:W,onAllReady:B===void 0?vr:B,onShellReady:X===void 0?vr:X,onShellError:oe===void 0?vr:oe,onFatalError:Oe===void 0?vr:Oe},S=yr(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ii(y,d,null,S,je,ke,null,Yn),Ne.push(d),y}function Ii(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Oe={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Oe),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Oe),Oe}function yr(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wr(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fa(d,y,S,R,W){for(yn={},Ri=y,qn=0,d=S(R,W);Io;)Io=!1,qn=0,Fo+=1,qe=null,d=S(R,W);return Ur(),d}function Ma(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,re(R)||"Unknown",oe));R=cn({},X,S)}y.legacyContext=R,Ot(d,y,W),y.legacyContext=X}else Ot(d,y,W)}function Da(d,y){if(d&&d.defaultProps){y=cn({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Ae(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Mn(B,S,R,W),Ma(d,y,B,S)}else{B=Ae(S,y.legacyContext),W=Fa(d,y,S,R,B);var X=qn!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Mn(W,S,R,B),Ma(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=vn(R,1,0);try{Ot(d,y,W)}finally{y.treeContext=R}}else Ot(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=Ir(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=K(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fr,h(S),Mr)}W.lastPushedText=!1}else{switch(S){case H:case P:case hr:case _t:case Gn:Ot(d,y,R.children);return;case At:Ot(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Oe=yr(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Oe),W.lastPushedText=!1;var Ne=yr(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wr(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ii(d,B,S,Oe,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mr:if(R=Fa(d,y,S.render,R,W),qn!==0){S=y.treeContext,y.treeContext=vn(S,1,0);try{Ot(d,y,R)}finally{y.treeContext=S}}else Ot(d,y,R);return;case f:S=S.type,R=Da(S,R),Lo(d,y,S,R,W);return;case un:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,Ot(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),Ot(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Da(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function Ot(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case In:throw Error(t(257));case b:var R=S._init;S=R(S._payload),Ot(d,y,S);return}if(ye(S)){_a(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_a(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _a(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=vn(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return Ot(d,y,S)}catch(Oe){if(Ur(),typeof Oe=="object"&&Oe!==null&&typeof Oe.then=="function"){S=Oe;var X=y.blockedSegment,oe=yr(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ii(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,fn(B),Oe}}function ll(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$a(this,y,d)}function La(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return La(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $a(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vr,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(ll,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ja(d){if(d.status!==2){var y=Ce,S=Ai.current;Ai.current=Ia;var R=Hr;Hr=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Oe=X.blockedSegment;if(Oe.status===0){fn(X.context);try{Ot(oe,X,X.node),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(fe),X.abortSet.delete(X),Oe.status=1,$a(oe,X.blockedBoundary,Oe)}catch(Vt){if(Ur(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Oe.status=4;var je=X.blockedBoundary,et=Vt,It=Wr(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fi(d,d.destination)}catch(Vt){Wr(d,Vt),_o(d,Vt)}finally{Hr=R,Ai.current=S,S===Ia&&fn(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,a(y,st),a(y,d.placeholderPrefix),d=h(R.toString(16)),a(y,d),u(y,Dr);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)a(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)a(y,R[B]);return B<R.length&&(W=u(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,u(y,lr),a(y,Lr),R&&(a(y,$r),a(y,h(ae(R))),a(y,kn)),u(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(u(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return u(y,Ei)}function Na(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),on(y,S.formatContext)}function za(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Ba(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,a(y,d.startInlineScript),d.sentCompleteBoundaryFunction?a(y,Pt):(d.sentCompleteBoundaryFunction=!0,a(y,An)),R===null)throw Error(t(395));return S=h(S.toString(16)),a(y,R),a(y,Ro),a(y,d.segmentPrefix),a(y,S),u(y,Po)}function Ba(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Na(d,y,R)}return Na(d,y,R),d=d.responseState,a(y,d.startInlineScript),d.sentCompleteSegmentFunction?a(y,Rn):(d.sentCompleteSegmentFunction=!0,a(y,dr)),a(y,d.segmentPrefix),W=h(W.toString(16)),a(y,W),a(y,Pn),a(y,d.placeholderPrefix),a(y,W),u(y,an)}function Fi(d,y){r=new Uint8Array(512),i=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)a(y,R[S]);S<R.length&&u(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Oe=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(a(R,oe.startInlineScript),oe.sentClientRenderFunction?a(R,ct):(oe.sentClientRenderFunction=!0,a(R,gn)),Oe===null)throw Error(t(395));a(R,Oe),a(R,sn),(Ne||je||et)&&(a(R,On),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,On),a(R,h(Ut(je||"")))),et&&(a(R,On),a(R,h(Ut(et)))),u(R,ln)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)za(d,y,It[B]);It.splice(0,B),p(y),r=new Uint8Array(512),i=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Ba(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Ha=!1;break e}Bo.splice(0,oe),Ha=!0}if(!Ha){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vr=d.completedBoundaries;for(B=0;B<Vr.length;B++)za(d,y,Vr[B]);Vr.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ua(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return La(R,d,y)}),S.clear(),d.destination!==null&&Fi(d,d.destination)}catch(R){Wr(d,R),_o(d,R)}}return pu.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Oi(d,Z(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fi(oe,et)}catch(It){Wr(oe,It),_o(oe,It)}}},cancel:function(){Ua(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Oe=y.signal,Ne=function(){Ua(oe,Oe.reason),Oe.removeEventListener("abort",Ne)};Oe.addEventListener("abort",Ne)}ja(oe)})},pu.version="18.3.1",pu}var aa={};/**
|
|
28
28
|
* @license React
|
|
29
29
|
* react-dom-server-legacy.browser.development.js
|
|
30
30
|
*
|
|
@@ -32,17 +32,17 @@
|
|
|
32
32
|
*
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
|
-
*/var hh;function Yy(){return hh||(hh=1,process.env.NODE_ENV!=="production"&&function(){var e=O,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("warn",n,s)}}function a(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("error",n,s)}}function u(n,o,s){{var c=r.ReactDebugCurrentFrame,g=c.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[n],console,w)}}function p(n){n()}function m(n){}function h(n,o){v(n,o)}function v(n,o){return n.push(o)}function C(n){}function x(n){n.push(null)}function F(n){return n}function I(n){return n}function L(n,o){n.destroy(o)}function D(n){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&n[Symbol.toStringTag]||n.constructor.name||"Object";return s}}function T(n){try{return A(n),!1}catch{return!0}}function A(n){return""+n}function U(n,o){if(T(n))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),A(n)}function j(n,o){if(T(n))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),A(n)}function V(n){if(T(n))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(n)),A(n)}var $=Object.prototype.hasOwnProperty,J=0,ae=1,ne=2,le=3,ye=4,De=5,Fe=6,$e=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function Z(n){return $.call(Le,n)?!0:$.call(Re,n)?!1:xe.test(n)?(Le[n]=!0,!0):(Re[n]=!0,a("Invalid attribute name: `%s`",n),!1)}function ve(n,o,s,c){if(s!==null&&s.type===J)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=n.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(n){return fe.hasOwnProperty(n)?fe[n]:null}function K(n,o,s,c,g,w,k){this.acceptsBooleans=o===ne||o===le||o===ye,this.attributeName=c,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(n){fe[n]=new K(n,J,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var o=n[0],s=n[1];fe[o]=new K(o,ae,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){fe[n]=new K(n,ne,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){fe[n]=new K(n,ne,!1,n,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(n){fe[n]=new K(n,le,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){fe[n]=new K(n,le,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){fe[n]=new K(n,ye,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){fe[n]=new K(n,Fe,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){fe[n]=new K(n,De,!1,n.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(n){return n[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!1,!1)});var ce="xlinkHref";fe[ce]=new K("xlinkHref",ae,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!0,!0)});var ue={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(n,o){return n+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(n){Se.forEach(function(o){ue[Ee(o,n)]=ue[n]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(n,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(n,o){if(n.indexOf("-")===-1)return typeof o.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Un=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(n,o){{if($.call(ot,o)&&ot[o])return!0;if(Un.test(o)){var s="aria-"+o.slice(4).toLowerCase(),c=We.hasOwnProperty(s)?s:null;if(c==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==c)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,c),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(n,o){{var s=[];for(var c in o){var g=xo(n,c);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n)}}function Hn(n,o){se(n,o)||zt(n,o)}var Wn=!1;function So(n,o){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;o!=null&&o.value===null&&!Wn&&(Wn=!0,n==="select"&&o.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},Ir=/^on./,Fr=/^on[^A-Z]/,Mr=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(n,o,s,c){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(c!=null){var w=c.registrationNameDependencies,k=c.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(Ir.test(o))return a("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(Ir.test(o))return Fr.test(o)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mr.test(o)||st.test(o))return!0;if(g==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===J;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return a("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dr=function(n,o,s){{var c=[];for(var g in o){var w=gt(n,g,o[g],s);w||c.push(g)}var k=c.map(function(M){return"`"+M+"`"}).join(", ");c.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n):c.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n)}};function ko(n,o,s){se(n,o)||Dr(n,o,s)}var Eo=function(){};{var _r=/^(?:webkit|moz|o)[A-Z]/,lr=/^-ms-/,Ei=/-(.)/g,Lr=/;\s*$/,kn={},$r={},Co=!1,xt=!1,tn=function(n){return n.replace(Ei,function(o,s){return s.toUpperCase()})},En=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported style property %s. Did you mean %s?",n,tn(n.replace(lr,"ms-"))))},Qe=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},Cn=function(n,o){$r.hasOwnProperty(o)&&$r[o]||($r[o]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,o.replace(Lr,"")))},cr=function(n,o){Co||(Co=!0,a("`NaN` is an invalid value for the `%s` css style property.",n))},Vn=function(n,o){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",n))};Eo=function(n,o){n.indexOf("-")>-1?En(n):_r.test(n)?Qe(n):Lr.test(o)&&Cn(n,o),typeof o=="number"&&(isNaN(o)?cr(n,o):isFinite(o)||Vn(n,o))}}var nn=Eo,ur=/["'&<>]/;function mn(n){V(n);var o=""+n,s=ur.exec(o);if(!s)return o;var c,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:c=""";break;case 38:c="&";break;case 39:c="'";break;case 60:c="<";break;case 62:c=">";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=c}return k!==w?g+o.substring(k,w):g}function dt(n){return typeof n=="boolean"||typeof n=="number"?""+n:mn(n)}var jr=/([A-Z])/g,Nr=/^ms-/;function To(n){return n.replace(jr,"-$1").toLowerCase().replace(Nr,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zr=!1;function Ci(n){!zr&<.test(n)&&(zr=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var Ti=Array.isArray;function rn(n){return Ti(n)}var Br="<script>";function fr(n,o,s,c,g){var w=n===void 0?"":n,k=Br,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Tn=0,Rt=1,on=2,dr=3,Rn=4,Pn=5,an=6,On=7;function Pt(n,o){return{insertionMode:n,selectedValue:o}}function Ro(n,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(on,null);case"math":return Pt(dr,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Rn,null);case"thead":case"tbody":case"tfoot":return Pt(Pn,null);case"colgroup":return Pt(On,null);case"tr":return Pt(an,null)}return n.insertionMode>=Rn||n.insertionMode===Tn?Pt(Rt,null):n}var Po=null;function gn(n){var o=n.nextSuspenseID++;return n.boundaryPrefix+o.toString(16)}function ct(n,o,s){var c=n.idPrefix,g=":"+c+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function sn(n){return dt(n)}var ln="<!-- -->";function An(n,o,s,c){return o===""?c:(c&&n.push(ln),n.push(sn(o)),!0)}function pr(n,o,s,c){s&&c&&n.push(ln)}var Ut=new Map;function cn(n){var o=Ut.get(n);if(o!==void 0)return o;var s=dt(To(n));return Ut.set(n,s),s}var St=' style="',In=":",Gn=";";function hr(n,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(nn(g,w),k=cn(g),typeof w=="number"?w!==0&&!$.call(ue,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),c?(c=!1,n.push(St,k,In,M)):n.push(Gn,k,In,M)}}c||n.push(kt)}var _t=" ",un='="',kt='"',mr='=""';function mt(n,o,s,c){switch(s){case"style":{hr(n,o,c);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(s.length>2&&(s[0]==="o"||s[0]==="O")&&(s[1]==="n"||s[1]==="N"))){var g=Y(s);if(g!==null){switch(typeof c){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:c&&n.push(_t,k,mr);return;case ye:c===!0?n.push(_t,k,mr):c===!1||n.push(_t,k,un,dt(c),kt);return;case De:isNaN(c)||n.push(_t,k,un,dt(c),kt);break;case Fe:!isNaN(c)&&c>=1&&n.push(_t,k,un,dt(c),kt);break;default:g.sanitizeURL&&(U(c,w),c=""+c,Ci(c)),n.push(_t,k,un,dt(c),kt)}}else if(Z(s)){switch(typeof c){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}n.push(_t,s,un,dt(c),kt)}}}var Ot=">",f="/>";function b(n,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var c=o.__html;c!=null&&(V(c),n.push(""+c))}}var E=!1,P=!1,H=!1,N=!1,G=!1,re=!1,ke=!1;function Oe(n,o){{var s=n[o];if(s!=null){var c=rn(s);n.multiple&&!c?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!n.multiple&&c&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(n,o,s){Be("select",o),Oe(o,"value"),Oe(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),n.push(dn("select"));var c=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(n,s,w,k);break}}return n.push(Ot),b(n,g,c),c}function Ve(n){var o="";return e.Children.forEach(n,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(n,o,s,c){var g=c.selectedValue;n.push(dn("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(n,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(re||(re=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),rn(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){n.push(Et);break}}else U(g,"select.value"),""+g===de&&n.push(Et)}else M&&n.push(Et);return n.push(Ot),b(n,z,w),w}function Tt(n,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),n.push(dn("input"));var c=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":c=z;break;default:mt(n,s,M,z);break}}return w!==null?mt(n,s,"checked",w):k!==null&&mt(n,s,"checked",k),c!==null?mt(n,s,"value",c):g!==null&&mt(n,s,"value",g),n.push(f),null}function Fn(n,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),n.push(dn("textarea"));var c=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":c=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(n,s,k,M);break}}if(c===null&&g!==null&&(c=g),n.push(Ot),w!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),c!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(rn(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),c=""+w[0]}V(w),c=""+w}return typeof c=="string"&&c[0]===`
|
|
36
|
-
`&&n.push(Xn),c!==null&&(U(c,"value"),n.push(sn(""+c))),null}function fn(n,o,s,c){n.push(dn(s));for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(n,c,g,w);break}}return n.push(f),null}function gr(n,o,s){n.push(dn("menuitem"));for(var c in o)if($.call(o,c)){var g=o[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:mt(n,s,c,g);break}}return n.push(
|
|
37
|
-
`;function
|
|
35
|
+
*/var dh;function Uy(){return dh||(dh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("warn",n,s)}}function a(n){{for(var o=arguments.length,s=new Array(o>1?o-1:0),c=1;c<o;c++)s[c-1]=arguments[c];u("error",n,s)}}function u(n,o,s){{var c=r.ReactDebugCurrentFrame,g=c.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[n],console,w)}}function p(n){n()}function m(n){}function h(n,o){v(n,o)}function v(n,o){return n.push(o)}function C(n){}function x(n){n.push(null)}function F(n){return n}function I(n){return n}function L(n,o){n.destroy(o)}function D(n){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&n[Symbol.toStringTag]||n.constructor.name||"Object";return s}}function T(n){try{return O(n),!1}catch{return!0}}function O(n){return""+n}function U(n,o){if(T(n))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),O(n)}function j(n,o){if(T(n))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(n)),O(n)}function V(n){if(T(n))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",D(n)),O(n)}var $=Object.prototype.hasOwnProperty,J=0,ae=1,ne=2,le=3,ye=4,De=5,Fe=6,$e=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function Z(n){return $.call(Le,n)?!0:$.call(Re,n)?!1:xe.test(n)?(Le[n]=!0,!0):(Re[n]=!0,a("Invalid attribute name: `%s`",n),!1)}function ve(n,o,s,c){if(s!==null&&s.type===J)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=n.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(n){return fe.hasOwnProperty(n)?fe[n]:null}function K(n,o,s,c,g,w,k){this.acceptsBooleans=o===ne||o===le||o===ye,this.attributeName=c,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=n,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(n){fe[n]=new K(n,J,!1,n,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(n){var o=n[0],s=n[1];fe[o]=new K(o,ae,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(n){fe[n]=new K(n,ne,!1,n.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(n){fe[n]=new K(n,ne,!1,n,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(n){fe[n]=new K(n,le,!1,n.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(n){fe[n]=new K(n,le,!0,n,null,!1,!1)}),["capture","download"].forEach(function(n){fe[n]=new K(n,ye,!1,n,null,!1,!1)}),["cols","rows","size","span"].forEach(function(n){fe[n]=new K(n,Fe,!1,n,null,!1,!1)}),["rowSpan","start"].forEach(function(n){fe[n]=new K(n,De,!1,n.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(n){return n[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(n){var o=n.replace(he,me);fe[o]=new K(o,ae,!1,n,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!1,!1)});var ce="xlinkHref";fe[ce]=new K("xlinkHref",ae,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(n){fe[n]=new K(n,ae,!1,n.toLowerCase(),null,!0,!0)});var ue={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(n,o){return n+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(n){Se.forEach(function(o){ue[Ee(o,n)]=ue[n]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(n,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(n,o){if(n.indexOf("-")===-1)return typeof o.is=="string";switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Un=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(n,o){{if($.call(ot,o)&&ot[o])return!0;if(Un.test(o)){var s="aria-"+o.slice(4).toLowerCase(),c=We.hasOwnProperty(s)?s:null;if(c==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==c)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,c),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(n,o){{var s=[];for(var c in o){var g=xo(n,c);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,n)}}function Hn(n,o){se(n,o)||zt(n,o)}var Wn=!1;function So(n,o){{if(n!=="input"&&n!=="textarea"&&n!=="select")return;o!=null&&o.value===null&&!Wn&&(Wn=!0,n==="select"&&o.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",n):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",n))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},Ir=/^on./,Fr=/^on[^A-Z]/,Mr=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(n,o,s,c){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(c!=null){var w=c.registrationNameDependencies,k=c.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(Ir.test(o))return a("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(Ir.test(o))return Fr.test(o)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mr.test(o)||st.test(o))return!0;if(g==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===J;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return a("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dr=function(n,o,s){{var c=[];for(var g in o){var w=gt(n,g,o[g],s);w||c.push(g)}var k=c.map(function(M){return"`"+M+"`"}).join(", ");c.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n):c.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,n)}};function ko(n,o,s){se(n,o)||Dr(n,o,s)}var Eo=function(){};{var _r=/^(?:webkit|moz|o)[A-Z]/,lr=/^-ms-/,Ei=/-(.)/g,Lr=/;\s*$/,kn={},$r={},Co=!1,xt=!1,tn=function(n){return n.replace(Ei,function(o,s){return s.toUpperCase()})},En=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported style property %s. Did you mean %s?",n,tn(n.replace(lr,"ms-"))))},Qe=function(n){kn.hasOwnProperty(n)&&kn[n]||(kn[n]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",n,n.charAt(0).toUpperCase()+n.slice(1)))},Cn=function(n,o){$r.hasOwnProperty(o)&&$r[o]||($r[o]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,n,o.replace(Lr,"")))},cr=function(n,o){Co||(Co=!0,a("`NaN` is an invalid value for the `%s` css style property.",n))},Vn=function(n,o){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",n))};Eo=function(n,o){n.indexOf("-")>-1?En(n):_r.test(n)?Qe(n):Lr.test(o)&&Cn(n,o),typeof o=="number"&&(isNaN(o)?cr(n,o):isFinite(o)||Vn(n,o))}}var nn=Eo,ur=/["'&<>]/;function mn(n){V(n);var o=""+n,s=ur.exec(o);if(!s)return o;var c,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:c=""";break;case 38:c="&";break;case 39:c="'";break;case 60:c="<";break;case 62:c=">";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=c}return k!==w?g+o.substring(k,w):g}function dt(n){return typeof n=="boolean"||typeof n=="number"?""+n:mn(n)}var jr=/([A-Z])/g,Nr=/^ms-/;function To(n){return n.replace(jr,"-$1").toLowerCase().replace(Nr,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zr=!1;function Ci(n){!zr&<.test(n)&&(zr=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(n)))}var Ti=Array.isArray;function rn(n){return Ti(n)}var Br="<script>";function fr(n,o,s,c,g){var w=n===void 0?"":n,k=Br,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Tn=0,Rt=1,on=2,dr=3,Rn=4,Pn=5,an=6,An=7;function Pt(n,o){return{insertionMode:n,selectedValue:o}}function Ro(n,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(on,null);case"math":return Pt(dr,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Rn,null);case"thead":case"tbody":case"tfoot":return Pt(Pn,null);case"colgroup":return Pt(An,null);case"tr":return Pt(an,null)}return n.insertionMode>=Rn||n.insertionMode===Tn?Pt(Rt,null):n}var Po=null;function gn(n){var o=n.nextSuspenseID++;return n.boundaryPrefix+o.toString(16)}function ct(n,o,s){var c=n.idPrefix,g=":"+c+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function sn(n){return dt(n)}var ln="<!-- -->";function On(n,o,s,c){return o===""?c:(c&&n.push(ln),n.push(sn(o)),!0)}function pr(n,o,s,c){s&&c&&n.push(ln)}var Ut=new Map;function cn(n){var o=Ut.get(n);if(o!==void 0)return o;var s=dt(To(n));return Ut.set(n,s),s}var St=' style="',In=":",Gn=";";function hr(n,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var c=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(nn(g,w),k=cn(g),typeof w=="number"?w!==0&&!$.call(ue,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),c?(c=!1,n.push(St,k,In,M)):n.push(Gn,k,In,M)}}c||n.push(kt)}var _t=" ",un='="',kt='"',mr='=""';function mt(n,o,s,c){switch(s){case"style":{hr(n,o,c);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(s.length>2&&(s[0]==="o"||s[0]==="O")&&(s[1]==="n"||s[1]==="N"))){var g=Y(s);if(g!==null){switch(typeof c){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:c&&n.push(_t,k,mr);return;case ye:c===!0?n.push(_t,k,mr):c===!1||n.push(_t,k,un,dt(c),kt);return;case De:isNaN(c)||n.push(_t,k,un,dt(c),kt);break;case Fe:!isNaN(c)&&c>=1&&n.push(_t,k,un,dt(c),kt);break;default:g.sanitizeURL&&(U(c,w),c=""+c,Ci(c)),n.push(_t,k,un,dt(c),kt)}}else if(Z(s)){switch(typeof c){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}n.push(_t,s,un,dt(c),kt)}}}var At=">",f="/>";function b(n,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var c=o.__html;c!=null&&(V(c),n.push(""+c))}}var E=!1,P=!1,H=!1,N=!1,G=!1,re=!1,ke=!1;function Ae(n,o){{var s=n[o];if(s!=null){var c=rn(s);n.multiple&&!c?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!n.multiple&&c&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(n,o,s){Be("select",o),Ae(o,"value"),Ae(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),n.push(dn("select"));var c=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(n,s,w,k);break}}return n.push(At),b(n,g,c),c}function Ve(n){var o="";return e.Children.forEach(n,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(n,o,s,c){var g=c.selectedValue;n.push(dn("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(n,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(re||(re=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),rn(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){n.push(Et);break}}else U(g,"select.value"),""+g===de&&n.push(Et)}else M&&n.push(Et);return n.push(At),b(n,z,w),w}function Tt(n,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),n.push(dn("input"));var c=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":c=z;break;default:mt(n,s,M,z);break}}return w!==null?mt(n,s,"checked",w):k!==null&&mt(n,s,"checked",k),c!==null?mt(n,s,"value",c):g!==null&&mt(n,s,"value",g),n.push(f),null}function Fn(n,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),n.push(dn("textarea"));var c=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":c=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(n,s,k,M);break}}if(c===null&&g!==null&&(c=g),n.push(At),w!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),c!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(rn(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),c=""+w[0]}V(w),c=""+w}return typeof c=="string"&&c[0]===`
|
|
36
|
+
`&&n.push(Xn),c!==null&&(U(c,"value"),n.push(sn(""+c))),null}function fn(n,o,s,c){n.push(dn(s));for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(n,c,g,w);break}}return n.push(f),null}function gr(n,o,s){n.push(dn("menuitem"));for(var c in o)if($.call(o,c)){var g=o[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:mt(n,s,c,g);break}}return n.push(At),null}function Mn(n,o,s){n.push(dn("title"));var c=null;for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":c=w;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:mt(n,s,g,w);break}}n.push(At);{var k=Array.isArray(c)&&c.length<2?c[0]||null:c;Array.isArray(c)&&c.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&k.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&typeof k!="string"&&typeof k!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return c}function Yn(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(n,c,k,M);break}}return n.push(At),b(n,w,g),typeof g=="string"?(n.push(sn(g)),null):g}function vn(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;case"style":hr(n,c,M);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Z(k)&&typeof M!="function"&&typeof M!="symbol"&&n.push(_t,k,un,dt(M),kt);break}}return n.push(At),b(n,w,g),g}var Xn=`
|
|
37
|
+
`;function nl(n,o,s,c){n.push(dn(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(n,c,k,M);break}}if(n.push(At),w!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof w!="object"||!("__html"in w))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var z=w.__html;z!=null&&(typeof z=="string"&&z.length>0&&z[0]===`
|
|
38
38
|
`?n.push(Xn,z):(V(z),n.push(""+z)))}return typeof g=="string"&&g[0]===`
|
|
39
|
-
`&&n.push(Xn),g}var
|
|
40
|
-
`+Ka+n}}var
|
|
39
|
+
`&&n.push(Xn),g}var rl=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ao=new Map;function dn(n){var o=Ao.get(n);if(o===void 0){if(!rl.test(n))throw new Error("Invalid tag: "+n);o="<"+n,Ao.set(n,o)}return o}var ol="<!DOCTYPE html>";function yn(n,o,s,c,g){switch(Hn(o,s),So(o,s),ko(o,s,null),!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),g.insertionMode!==on&&g.insertionMode!==dr&&o.indexOf("-")===-1&&typeof s.is!="string"&&o.toLowerCase()!==o&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),o){case"select":return Ce(n,s,c);case"option":return Ct(n,s,c,g);case"textarea":return Fn(n,s,c);case"input":return Tt(n,s,c);case"menuitem":return gr(n,s,c);case"title":return Mn(n,s,c);case"listing":case"pre":return nl(n,s,o,c);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return fn(n,s,o,c);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 Yn(n,s,o,c);case"html":return g.insertionMode===Tn&&n.push(ol),Yn(n,s,o,c);default:return o.indexOf("-")===-1&&typeof s.is!="string"?Yn(n,s,o,c):vn(n,s,o,c)}}var Ri="</",Oo=">";function qe(n,o,s){switch(o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:n.push(Ri,o,Oo)}}function Qn(n,o){for(var s=o.bootstrapChunks,c=0;c<s.length-1;c++)h(n,s[c]);return c<s.length?v(n,s[c]):!0}var Io='<template id="',qn='"></template>';function Dn(n,o,s){h(n,Io),h(n,o.placeholderPrefix);var c=s.toString(16);return h(n,c),v(n,qn)}var Fo="<!--$-->",_n='<!--$?--><template id="',Ht='"></template>',Pi="<!--$!-->",Ur="<!--/$-->",Aa="<template",Mo='"',Oa=' data-dgst="',il=' data-msg="',al=' data-stck="',Do="></template>";function Ia(n,o){return v(n,Fo)}function Hr(n,o,s){if(h(n,_n),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(n,s),v(n,Ht)}function Ai(n,o,s,c,g){var w;return w=v(n,Pi),h(n,Aa),s&&(h(n,Oa),h(n,dt(s)),h(n,Mo)),c&&(h(n,il),h(n,dt(c)),h(n,Mo)),g&&(h(n,al),h(n,dt(g)),h(n,Mo)),w=v(n,Do),w}function sl(n,o){return v(n,Ur)}function vr(n,o){return v(n,Ur)}function Oi(n,o){return v(n,Ur)}var Ii='<div hidden id="',yr='">',Wr="</div>",_o='<svg aria-hidden="true" style="display:none" id="',Fa='">',Ma="</svg>",Da='<math aria-hidden="true" style="display:none" id="',Lo='">',Ot="</math>",_a='<table hidden id="',$o='">',ll="</table>",La='<table hidden><tbody id="',jo='">',$a="</tbody></table>",ja='<table hidden><tr id="',No='">',zo="</tr></table>",Na='<table hidden><colgroup id="',za='">',Ba="</colgroup></table>";function Fi(n,o,s,c){switch(s.insertionMode){case Tn:case Rt:return h(n,Ii),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,yr);case on:return h(n,_o),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,Fa);case dr:return h(n,Da),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,Lo);case Rn:return h(n,_a),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,$o);case Pn:return h(n,La),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,jo);case an:return h(n,ja),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,No);case An:return h(n,Na),h(n,o.segmentPrefix),h(n,c.toString(16)),v(n,za);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ua(n,o){switch(o.insertionMode){case Tn:case Rt:return v(n,Wr);case on:return v(n,Ma);case dr:return v(n,Ot);case Rn:return v(n,ll);case Pn:return v(n,$a);case an:return v(n,zo);case An:return v(n,Ba);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var d="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",y='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',S='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',R=d+';$RS("',W='$RS("',B='","',X='")<\/script>';function oe(n,o,s){h(n,o.startInlineScript),o.sentCompleteSegmentFunction?h(n,W):(o.sentCompleteSegmentFunction=!0,h(n,R)),h(n,o.segmentPrefix);var c=s.toString(16);return h(n,c),h(n,B),h(n,o.placeholderPrefix),h(n,c),v(n,X)}var Oe=y+';$RC("',Ne='$RC("',je='","',et='")<\/script>';function It(n,o,s,c){if(h(n,o.startInlineScript),o.sentCompleteBoundaryFunction?h(n,Ne):(o.sentCompleteBoundaryFunction=!0,h(n,Oe)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var g=c.toString(16);return h(n,s),h(n,je),h(n,o.segmentPrefix),h(n,g),v(n,et)}var Wt=S+';$RX("',Vt='$RX("',Bo='"',Ha=")<\/script>",Vr=",";function df(n,o,s,c,g,w){if(h(n,o.startInlineScript),o.sentClientRenderFunction?h(n,Vt):(o.sentClientRenderFunction=!0,h(n,Wt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(n,s),h(n,Bo),(c||g||w)&&(h(n,Vr),h(n,cl(c||""))),(g||w)&&(h(n,Vr),h(n,cl(g||""))),w&&(h(n,Vr),h(n,cl(w))),v(n,Ha)}var pf=/[<\u2028\u2029]/g;function cl(n){var o=JSON.stringify(n);return o.replace(pf,function(s){switch(s){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function hf(n,o){var s=fr(o);return{bootstrapChunks:s.bootstrapChunks,startInlineScript:s.startInlineScript,placeholderPrefix:s.placeholderPrefix,segmentPrefix:s.segmentPrefix,boundaryPrefix:s.boundaryPrefix,idPrefix:s.idPrefix,nextSuspenseID:s.nextSuspenseID,sentCompleteSegmentFunction:s.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:s.sentCompleteBoundaryFunction,sentClientRenderFunction:s.sentClientRenderFunction,generateStaticMarkup:n}}function mf(){return{insertionMode:Rt,selectedValue:null}}function Tc(n,o,s,c){return s.generateStaticMarkup?(n.push(dt(o)),!1):On(n,o,s,c)}function Rc(n,o,s,c){if(!o.generateStaticMarkup)return pr(n,o,s,c)}function gf(n,o){return o.generateStaticMarkup?!0:Ia(n)}function vf(n,o,s,c,g){return o.generateStaticMarkup?!0:Ai(n,o,s,c,g)}function yf(n,o){return o.generateStaticMarkup?!0:sl(n)}function bf(n,o){return o.generateStaticMarkup?!0:Oi(n)}var Lt=Object.assign,wf=Symbol.for("react.element"),Pc=Symbol.for("react.portal"),Wa=Symbol.for("react.fragment"),Gt=Symbol.for("react.strict_mode"),Ac=Symbol.for("react.profiler"),Va=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Ya=Symbol.for("react.forward_ref"),Xa=Symbol.for("react.suspense"),Mi=Symbol.for("react.suspense_list"),Di=Symbol.for("react.memo"),Uo=Symbol.for("react.lazy"),ul=Symbol.for("react.scope"),fl=Symbol.for("react.debug_trace_mode"),dl=Symbol.for("react.legacy_hidden"),Qa=Symbol.for("react.default_value"),Oc=Symbol.iterator,xf="@@iterator";function Sf(n){if(n===null||typeof n!="object")return null;var o=Oc&&n[Oc]||n[xf];return typeof o=="function"?o:null}function kf(n,o,s){var c=n.displayName;if(c)return c;var g=o.displayName||o.name||"";return g!==""?s+"("+g+")":s}function pl(n){return n.displayName||"Context"}function it(n){if(n==null)return null;if(typeof n.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Wa:return"Fragment";case Pc:return"Portal";case Ac:return"Profiler";case Gt:return"StrictMode";case Xa:return"Suspense";case Mi:return"SuspenseList"}if(typeof n=="object")switch(n.$$typeof){case Ga:var o=n;return pl(o)+".Consumer";case Va:var s=n;return pl(s._context)+".Provider";case Ya:return kf(n,n.render,"ForwardRef");case Di:var c=n.displayName||null;return c!==null?c:it(n.type)||"Memo";case Uo:{var g=n,w=g._payload,k=g._init;try{return it(k(w))}catch{return null}}}return null}var _i=0,Ic,hl,rt,Ho,ml,gl,vl;function yl(){}yl.__reactDisabledLog=!0;function Fc(){{if(_i===0){Ic=console.log,hl=console.info,rt=console.warn,Ho=console.error,ml=console.group,gl=console.groupCollapsed,vl=console.groupEnd;var n={configurable:!0,enumerable:!0,value:yl,writable:!0};Object.defineProperties(console,{info:n,log:n,warn:n,error:n,group:n,groupCollapsed:n,groupEnd:n})}_i++}}function Mc(){{if(_i--,_i===0){var n={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},n,{value:Ic}),info:Lt({},n,{value:hl}),warn:Lt({},n,{value:rt}),error:Lt({},n,{value:Ho}),group:Lt({},n,{value:ml}),groupCollapsed:Lt({},n,{value:gl}),groupEnd:Lt({},n,{value:vl})})}_i<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qa=r.ReactCurrentDispatcher,Ka;function Li(n,o,s){{if(Ka===void 0)try{throw Error()}catch(g){var c=g.stack.trim().match(/\n( *(at )?)/);Ka=c&&c[1]||""}return`
|
|
40
|
+
`+Ka+n}}var bl=!1,Wo;{var wl=typeof WeakMap=="function"?WeakMap:Map;Wo=new wl}function Gr(n,o){if(!n||bl)return"";{var s=Wo.get(n);if(s!==void 0)return s}var c;bl=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=qa.current,qa.current=null,Fc();try{if(o){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(vt){c=vt}Reflect.construct(n,[],k)}else{try{k.call()}catch(vt){c=vt}n.call(k.prototype)}}else{try{throw Error()}catch(vt){c=vt}n()}}catch(vt){if(vt&&c&&typeof vt.stack=="string"){for(var M=vt.stack.split(`
|
|
41
41
|
`),z=c.stack.split(`
|
|
42
42
|
`),Q=M.length-1,ee=z.length-1;Q>=1&&ee>=0&&M[Q]!==z[ee];)ee--;for(;Q>=1&&ee>=0;Q--,ee--)if(M[Q]!==z[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,ee<0||M[Q]!==z[ee]){var de=`
|
|
43
|
-
`+M[Q].replace(" at new "," at ");return n.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",n.displayName)),typeof n=="function"&&Wo.set(n,de),de}while(Q>=1&&ee>=0);break}}}finally{
|
|
43
|
+
`+M[Q].replace(" at new "," at ");return n.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",n.displayName)),typeof n=="function"&&Wo.set(n,de),de}while(Q>=1&&ee>=0);break}}}finally{bl=!1,qa.current=w,Mc(),Error.prepareStackTrace=g}var Me=n?n.displayName||n.name:"",Xe=Me?Li(Me):"";return typeof n=="function"&&Wo.set(n,Xe),Xe}function xl(n,o,s){return Gr(n,!0)}function $i(n,o,s){return Gr(n,!1)}function Ef(n){var o=n.prototype;return!!(o&&o.isReactComponent)}function ji(n,o,s){if(n==null)return"";if(typeof n=="function")return Gr(n,Ef(n));if(typeof n=="string")return Li(n);switch(n){case Xa:return Li("Suspense");case Mi:return Li("SuspenseList")}if(typeof n=="object")switch(n.$$typeof){case Ya:return $i(n.render);case Di:return ji(n.type,o,s);case Uo:{var c=n,g=c._payload,w=c._init;try{return ji(w(g),o,s)}catch{}}}return""}var Dc={},Sl=r.ReactDebugCurrentFrame;function Ja(n){if(n){var o=n._owner,s=ji(n.type,n._source,o?o.type:null);Sl.setExtraStackFrame(s)}else Sl.setExtraStackFrame(null)}function Za(n,o,s,c,g){{var w=Function.call.bind($);for(var k in n)if(w(n,k)){var M=void 0;try{if(typeof n[k]!="function"){var z=Error((c||"React class")+": "+s+" type `"+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof n[k]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}M=n[k](o,k,c,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){M=Q}M&&!(M instanceof Error)&&(Ja(g),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",c||"React class",s,k,typeof M),Ja(null)),M instanceof Error&&!(M.message in Dc)&&(Dc[M.message]=!0,Ja(g),a("Failed %s type: %s",s,M.message),Ja(null))}}}var es;es={};var Ni={};Object.freeze(Ni);function zi(n,o){{var s=n.contextTypes;if(!s)return Ni;var c={};for(var g in s)c[g]=o[g];{var w=it(n)||"Unknown";Za(s,c,"context",w)}return c}}function _c(n,o,s,c){{if(typeof n.getChildContext!="function"){{var g=it(o)||"Unknown";es[g]||(es[g]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return s}var w=n.getChildContext();for(var k in w)if(!(k in c))throw new Error((it(o)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var M=it(o)||"Unknown";Za(c,w,"child context",M)}return Lt({},s,w)}}var Yr;Yr={};var ts=null,br=null;function kl(n){n.context._currentValue2=n.parentValue}function Xr(n){n.context._currentValue2=n.value}function ns(n,o){if(n!==o){kl(n);var s=n.parent,c=o.parent;if(s===null){if(c!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(c===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");ns(s,c)}Xr(o)}}function wr(n){kl(n);var o=n.parent;o!==null&&wr(o)}function rs(n){var o=n.parent;o!==null&&rs(o),Xr(n)}function os(n,o){kl(n);var s=n.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===o.depth?ns(s,o):os(s,o)}function Bi(n,o){var s=o.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===s.depth?ns(n,s):Bi(n,s),Xr(o)}function Ui(n){var o=br,s=n;o!==s&&(o===null?rs(s):s===null?wr(o):o.depth===s.depth?ns(o,s):o.depth>s.depth?os(o,s):Bi(o,s),br=s)}function Lc(n,o){var s;s=n._currentValue2,n._currentValue2=o,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==Yr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=Yr;var c=br,g={parent:c,depth:c===null?0:c.depth+1,context:n,parentValue:s,value:o};return br=g,g}function $c(n){var o=br;if(o===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");o.context!==n&&a("The parent context is not the expected context. This is probably a bug in React.");{var s=o.parentValue;s===Qa?o.context._currentValue2=o.context._defaultValue:o.context._currentValue2=s,n._currentRenderer2!==void 0&&n._currentRenderer2!==null&&n._currentRenderer2!==Yr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),n._currentRenderer2=Yr}return br=o.parent}function jc(){return br}function xr(n){var o=n._currentValue2;return o}function El(n){return n._reactInternals}function Cf(n,o){n._reactInternals=o}var Nc={},Vo={},Hi,Cl,is,as,ss,Go,Wi,Vi,ls;{Hi=new Set,Cl=new Set,is=new Set,Wi=new Set,as=new Set,Vi=new Set,ls=new Set;var Gi=new Set;Go=function(n,o){if(!(n===null||typeof n=="function")){var s=o+"_"+n;Gi.has(s)||(Gi.add(s),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,n))}},ss=function(n,o){if(o===void 0){var s=it(n)||"Component";as.has(s)||(as.add(s),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function cs(n,o){{var s=n.constructor,c=s&&it(s)||"ReactClass",g=c+"."+o;if(Nc[g])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
44
44
|
|
|
45
|
-
Please check the code for the %s component.`,o,o,c),
|
|
45
|
+
Please check the code for the %s component.`,o,o,c),Nc[g]=!0}}var us={isMounted:function(n){return!1},enqueueSetState:function(n,o,s){var c=El(n);c.queue===null?cs(n,"setState"):(c.queue.push(o),s!=null&&Go(s,"setState"))},enqueueReplaceState:function(n,o,s){var c=El(n);c.replace=!0,c.queue=[o],s!=null&&Go(s,"setState")},enqueueForceUpdate:function(n,o){var s=El(n);s.queue===null?cs(n,"forceUpdate"):o!=null&&Go(o,"setState")}};function Tl(n,o,s,c,g){var w=s(g,c);ss(o,w);var k=w==null?c:Lt({},c,w);return k}function zc(n,o,s){var c=Ni,g=n.contextType;if("contextType"in n){var w=g===null||g!==void 0&&g.$$typeof===Ga&&g._context===void 0;if(!w&&!ls.has(n)){ls.add(n);var k="";g===void 0?k=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?k=" However, it is set to a "+typeof g+".":g.$$typeof===Va?k=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?k=" Did you accidentally pass the Context.Consumer instead?":k=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",it(n)||"Component",k)}}typeof g=="object"&&g!==null?c=xr(g):c=s;var M=new n(o,c);{if(typeof n.getDerivedStateFromProps=="function"&&(M.state===null||M.state===void 0)){var z=it(n)||"Component";Hi.has(z)||(Hi.add(z),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",z,M.state===null?"null":"undefined",z))}if(typeof n.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var Q=null,ee=null,de=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?Q="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(Q="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ee="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(ee="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),Q!==null||ee!==null||de!==null){var Me=it(n)||"Component",Xe=typeof n.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";is.has(Me)||(is.add(Me),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
46
46
|
|
|
47
47
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
48
48
|
|
|
@@ -50,20 +50,20 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
50
50
|
https://reactjs.org/link/unsafe-component-lifecycles`,Me,Xe,Q!==null?`
|
|
51
51
|
`+Q:"",ee!==null?`
|
|
52
52
|
`+ee:"",de!==null?`
|
|
53
|
-
`+de:""))}}}return M}function
|
|
53
|
+
`+de:""))}}}return M}function Bc(n,o,s){{var c=it(o)||"Component",g=n.render;g||(o.prototype&&typeof o.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",c):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",c)),n.getInitialState&&!n.getInitialState.isReactClassApproved&&!n.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",c),n.getDefaultProps&&!n.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",c),n.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",c),n.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",c),n.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",c),o.contextType&&o.contextTypes&&!Vi.has(o)&&(Vi.add(o),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",c)),typeof n.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",c),o.prototype&&o.prototype.isPureReactComponent&&typeof n.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",it(o)||"A pure component"),typeof n.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",c),typeof n.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",c),typeof n.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",c),typeof n.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",c);var w=n.props!==s;n.props!==void 0&&w&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",c,c),n.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",c,c),typeof n.getSnapshotBeforeUpdate=="function"&&typeof n.componentDidUpdate!="function"&&!Cl.has(o)&&(Cl.add(o),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(o))),typeof n.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof n.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",c),typeof o.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",c);var k=n.state;k&&(typeof k!="object"||rn(k))&&a("%s.state: must be set to an object or null",c),typeof n.getChildContext=="function"&&typeof o.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",c)}}function Uc(n,o){var s=o.state;if(typeof o.componentWillMount=="function"){if(o.componentWillMount.__suppressDeprecationWarning!==!0){var c=it(n)||"Unknown";Vo[c]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
54
54
|
|
|
55
55
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
56
56
|
|
|
57
|
-
Please update the following components: %s`,c),Vo[c]=!0)}o.componentWillMount()}typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",it(n)||"Component"),us.enqueueReplaceState(o,o.state,null))}function
|
|
57
|
+
Please update the following components: %s`,c),Vo[c]=!0)}o.componentWillMount()}typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",it(n)||"Component"),us.enqueueReplaceState(o,o.state,null))}function Tf(n,o,s,c){if(n.queue!==null&&n.queue.length>0){var g=n.queue,w=n.replace;if(n.queue=null,n.replace=!1,w&&g.length===1)o.state=g[0];else{for(var k=w?g[0]:o.state,M=!0,z=w?1:0;z<g.length;z++){var Q=g[z],ee=typeof Q=="function"?Q.call(o,k,s,c):Q;ee!=null&&(M?(M=!1,k=Lt({},k,ee)):Lt(k,ee))}o.state=k}}else n.queue=null}function Hc(n,o,s,c){Bc(n,o,s);var g=n.state!==void 0?n.state:null;n.updater=us,n.props=s,n.state=g;var w={queue:[],replace:!1};Cf(n,w);var k=o.contextType;if(typeof k=="object"&&k!==null?n.context=xr(k):n.context=c,n.state===s){var M=it(o)||"Component";Wi.has(M)||(Wi.add(M),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",M))}var z=o.getDerivedStateFromProps;typeof z=="function"&&(n.state=Tl(n,o,z,g,s)),typeof o.getDerivedStateFromProps!="function"&&typeof n.getSnapshotBeforeUpdate!="function"&&(typeof n.UNSAFE_componentWillMount=="function"||typeof n.componentWillMount=="function")&&(Uc(o,n),Tf(w,n,s,c))}var Rf={id:1,overflow:""};function Pf(n){var o=n.overflow,s=n.id,c=s&~Af(s);return c.toString(32)+o}function Rl(n,o,s){var c=n.id,g=n.overflow,w=Yi(c)-1,k=c&~(1<<w),M=s+1,z=Yi(o)+w;if(z>30){var Q=w-w%5,ee=(1<<Q)-1,de=(k&ee).toString(32),Me=k>>Q,Xe=w-Q,vt=Yi(o)+Xe,to=M<<Xe,no=to|Me,tr=de+g;return{id:1<<vt|no,overflow:tr}}else{var Zo=M<<w,sd=Zo|k,$y=g;return{id:1<<z|sd,overflow:$y}}}function Yi(n){return 32-Of(n)}function Af(n){return 1<<Yi(n)-1}var Of=Math.clz32?Math.clz32:If,Pl=Math.log,fs=Math.LN2;function If(n){var o=n>>>0;return o===0?32:31-(Pl(o)/fs|0)|0}function Ff(n,o){return n===o&&(n!==0||1/n===1/o)||n!==n&&o!==o}var Mf=typeof Object.is=="function"?Object.is:Ff,Kn=null,Al=null,ds=null,nt=null,Yt=!1,Yo=!1,Qr=0,Ge=null,Sr=0,ps=25,Xt=!1,Qt;function Ln(){if(Kn===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
58
58
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
59
59
|
2. You might be breaking the Rules of Hooks
|
|
60
60
|
3. You might have more than one copy of React in the same app
|
|
61
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xt&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Kn}function
|
|
61
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xt&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Kn}function Df(n,o){if(o===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Qt),!1;n.length!==o.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
62
62
|
|
|
63
63
|
Previous: %s
|
|
64
|
-
Incoming: %s`,Qt,"["+n.join(", ")+"]","["+o.join(", ")+"]");for(var s=0;s<o.length&&s<n.length;s++)if(!
|
|
64
|
+
Incoming: %s`,Qt,"["+n.join(", ")+"]","["+o.join(", ")+"]");for(var s=0;s<o.length&&s<n.length;s++)if(!Mf(n[s],o[s]))return!1;return!0}function bn(){if(Sr>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function kr(){return nt===null?ds===null?(Yt=!1,ds=nt=bn()):(Yt=!0,nt=ds):nt.next===null?(Yt=!1,nt=nt.next=bn()):(Yt=!0,nt=nt.next),nt}function qr(n,o){Kn=o,Al=n,Xt=!1,Qr=0}function _f(n,o,s,c){for(;Yo;)Yo=!1,Qr=0,Sr+=1,nt=null,s=n(o,c);return Xi(),s}function Ol(){var n=Qr!==0;return n}function Xi(){Xt=!1,Kn=null,Al=null,Yo=!1,ds=null,Sr=0,Ge=null,nt=null}function Lf(n){return Xt&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),xr(n)}function $f(n){return Qt="useContext",Ln(),xr(n)}function hs(n,o){return typeof o=="function"?o(n):o}function Il(n){return Qt="useState",Wc(hs,n)}function Wc(n,o,s){if(n!==hs&&(Qt="useReducer"),Kn=Ln(),nt=kr(),Yt){var c=nt.queue,g=c.dispatch;if(Ge!==null){var w=Ge.get(c);if(w!==void 0){Ge.delete(c);var k=nt.memoizedState,M=w;do{var z=M.action;Xt=!0,k=n(k,z),Xt=!1,M=M.next}while(M!==null);return nt.memoizedState=k,[k,g]}}return[nt.memoizedState,g]}else{Xt=!0;var Q;n===hs?Q=typeof o=="function"?o():o:Q=s!==void 0?s(o):o,Xt=!1,nt.memoizedState=Q;var ee=nt.queue={last:null,dispatch:null},de=ee.dispatch=Gc.bind(null,Kn,ee);return[nt.memoizedState,de]}}function Vc(n,o){Kn=Ln(),nt=kr();var s=o===void 0?null:o;if(nt!==null){var c=nt.memoizedState;if(c!==null&&s!==null){var g=c[1];if(Df(s,g))return c[0]}}Xt=!0;var w=n();return Xt=!1,nt.memoizedState=[w,s],w}function Fl(n){Kn=Ln(),nt=kr();var o=nt.memoizedState;if(o===null){var s={current:n};return Object.seal(s),nt.memoizedState=s,s}else return o}function jf(n,o){Qt="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Gc(n,o,s){if(Sr>=ps)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(n===Kn){Yo=!0;var c={action:s,next:null};Ge===null&&(Ge=new Map);var g=Ge.get(o);if(g===void 0)Ge.set(o,c);else{for(var w=g;w.next!==null;)w=w.next;w.next=c}}}function Yc(n,o){return Vc(function(){return n},o)}function Nf(n,o,s){return Ln(),o(n._source)}function zf(n,o,s){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return s()}function Bf(n){return Ln(),n}function Uf(){throw new Error("startTransition cannot be called during server rendering.")}function Hf(){return Ln(),[!1,Uf]}function Wf(){var n=Al,o=Pf(n.treeContext),s=Ml;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var c=Qr++;return ct(s,o,c)}function ms(){}var Xc={readContext:Lf,useContext:$f,useMemo:Vc,useReducer:Wc,useRef:Fl,useState:Il,useInsertionEffect:ms,useLayoutEffect:jf,useCallback:Yc,useImperativeHandle:ms,useEffect:ms,useDebugValue:ms,useDeferredValue:Bf,useTransition:Hf,useId:Wf,useMutableSource:Nf,useSyncExternalStore:zf},Ml=null;function Qc(n){Ml=n}function gs(n){try{var o="",s=n;do{switch(s.tag){case 0:o+=Li(s.type,null,null);break;case 1:o+=$i(s.type,null,null);break;case 2:o+=xl(s.type,null,null);break}s=s.parent}while(s);return o}catch(c){return`
|
|
65
65
|
Error generating stack: `+c.message+`
|
|
66
|
-
`+c.stack}}var vs=r.ReactCurrentDispatcher,Qi=r.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,_l=1,Kr=2,Jc=12800;function Gf(n){return console.error(n),null}function qo(){}function Ko(n,o,s,c,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:c===void 0?Jc:c,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Gf:g,onAllReady:qo,onShellReady:k===void 0?qo:k,onShellError:qo,onFatalError:qo},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Jr(de,n,null,Me,ee,Ni,ts,Pf);return Q.push(Xe),de}function Yf(n,o){var s=n.pingedTasks;s.push(o),s.length===1&&p(function(){return Vl(n)})}function Xf(n,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Jr(n,o,s,c,g,w,k,M){n.allPendingTasks++,s===null?n.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Yf(n,z)},blockedBoundary:s,blockedSegment:c,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(n,o,s,c,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:c,boundary:s,lastPushedText:g,textEmbedded:w}}var Jn=null;function Ll(){return Jn===null||Jn.componentStack===null?"":gs(Jn.componentStack)}function Zr(n,o){n.componentStack={tag:0,parent:n.componentStack,type:o}}function qi(n,o){n.componentStack={tag:1,parent:n.componentStack,type:o}}function Zn(n,o){n.componentStack={tag:2,parent:n.componentStack,type:o}}function $n(n){n.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var er=null;function ks(n,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var c=er||Ll();er=null,n.errorMessage=s,n.errorComponentStack=c}}function Ki(n,o){var s=n.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function wn(n,o){var s=n.onShellError;s(o);var c=n.onFatalError;c(o),n.destination!==null?(n.status=Kr,L(n.destination,o)):(n.status=_l,n.fatalError=o)}function Ji(n,o,s){Zr(o,"Suspense");var c=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Xf(n,M),Q=g.chunks.length,ee=Ss(n,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(n,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(n,o,k),Oc(de.chunks,n.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Jo(z,de),z.pendingTasks===0){$n(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ki(n,Xe),ks(z,Xe)}finally{o.blockedBoundary=c,o.blockedSegment=g}var Me=Jr(n,w,c,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,n.pingedTasks.push(Me),$n(o)}function $l(n,o,s,c){Zr(o,s);var g=o.blockedSegment,w=yn(g.chunks,s,c,n.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,c),Ft(n,o,w),g.formatContext=k,qe(g.chunks,s),g.lastPushedText=!1,$n(o)}function Zi(n){return n.prototype&&n.prototype.isReactComponent}function ea(n,o,s,c,g){var w={};qr(o,w);var k=s(c,g);return Lf(s,c,k,g)}function Zc(n,o,s,c,g){var w=s.render();s.props!==g&&(Nl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(c)||"a component"),Nl=!0);{var k=c.childContextTypes;if(k!=null){var M=o.legacyContext,z=$c(s,c,M,k);o.legacyContext=z,qt(n,o,w),o.legacyContext=M;return}}qt(n,o,w)}function Qf(n,o,s,c){Zn(o,s);var g=zi(s,o.legacyContext),w=Uc(s,c,g);Vc(w,s,c,g),Zc(n,o,w,s,c),$n(o)}var eu={},ta={},jl={},tu={},Nl=!1,na={},zl=!1,Bl=!1,Ul=!1;function nu(n,o,s,c){var g;if(g=zi(s,o.legacyContext),qi(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=it(s)||"Unknown";eu[w]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),eu[w]=!0)}var k=ea(n,o,s,c,g),M=Il();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=it(s)||"Unknown";ta[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ta[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=it(s)||"Unknown";ta[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ta[Q]=!0)}Vc(k,s,c,g),Zc(n,o,k,s,c)}else if(ru(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Pl(ee,de,Me);try{qt(n,o,k)}finally{o.treeContext=ee}}else qt(n,o,k);$n(o)}function ru(n){{if(n&&n.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),n.defaultProps!==void 0){var o=it(n)||"Unknown";na[o]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),na[o]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var s=it(n)||"Unknown";tu[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),tu[s]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var c=it(n)||"Unknown";jl[c]||(a("%s: Function components do not support contextType.",c),jl[c]=!0)}}}function Hl(n,o){if(n&&n.defaultProps){var s=Lt({},o),c=n.defaultProps;for(var g in c)s[g]===void 0&&(s[g]=c[g]);return s}return o}function ou(n,o,s,c,g){qi(o,s.render);var w=ea(n,o,s.render,c,g),k=Il();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Pl(M,z,Q);try{qt(n,o,w)}finally{o.treeContext=M}}else qt(n,o,w);$n(o)}function qf(n,o,s,c,g){var w=s.type,k=Hl(w,c);Wl(n,o,w,k,g)}function Kf(n,o,s,c){s._context===void 0?s!==s.Consumer&&(Ul||(Ul=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=c.children;typeof g!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xr(s),k=g(w);qt(n,o,k)}function iu(n,o,s,c){var g=s._context,w=c.value,k=c.children,M;M=o.context,o.context=jc(g,w),qt(n,o,k),o.context=Nc(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jf(n,o,s,c,g){Zr(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Hl(M,c);Wl(n,o,M,z,g),$n(o)}function Wl(n,o,s,c,g){if(typeof s=="function")if(Zi(s)){Qf(n,o,s,c);return}else{nu(n,o,s,c);return}if(typeof s=="string"){$l(n,o,s,c);return}switch(s){case pl:case dl:case Gt:case Ic:case Wa:{qt(n,o,c.children);return}case Mi:{Zr(o,"SuspenseList"),qt(n,o,c.children),$n(o);return}case fl:throw new Error("ReactDOMServer does not yet support scope components.");case Xa:{Ji(n,o,c);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ya:{ou(n,o,s,c,g);return}case Di:{qf(n,o,s,c,g);return}case Va:{iu(n,o,s,c);return}case Ga:{Kf(n,o,s,c);return}case Uo:{Jf(n,o,s,c);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Zf(n,o){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(zl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),zl=!0),n.entries===o&&(Bl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Bl=!0)}function qt(n,o,s){try{return ed(n,o,s)}catch(c){throw typeof c=="object"&&c!==null&&typeof c.then=="function"||(er=er!==null?er:Ll()),c}}function ed(n,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case xf:{var c=s,g=c.type,w=c.props,k=c.ref;Wl(n,o,g,w,k);return}case Ac:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(Zo){throw typeof Zo=="object"&&Zo!==null&&typeof Zo.then=="function"&&Zr(o,"Lazy"),Zo}qt(n,o,ee);return}}if(rn(s)){Es(n,o,s);return}var de=kf(s);if(de){Zf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(n,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var no=o.blockedSegment;no.lastPushedText=Pc(o.blockedSegment.chunks,s,n.responseState,no.lastPushedText);return}if(typeof s=="number"){var tr=o.blockedSegment;tr.lastPushedText=Pc(o.blockedSegment.chunks,""+s,n.responseState,tr.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(n,o,s){for(var c=s.length,g=0;g<c;g++){var w=o.treeContext;o.treeContext=Pl(w,c,g);try{Ft(n,o,s[g])}finally{o.treeContext=w}}}function td(n,o,s){var c=o.blockedSegment,g=c.chunks.length,w=Ss(n,g,null,c.formatContext,c.lastPushedText,!0);c.children.push(w),c.lastPushedText=!1;var k=Jr(n,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(n,o,s){var c=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return qt(n,o,s)}catch(M){if(Xi(),typeof M=="object"&&M!==null&&typeof M.then=="function"){td(n,o,M),o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k,M}}function nd(n,o,s,c){var g=Ki(n,c);if(o===null?wn(n,c):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,c),o.parentFlushed&&n.clientRenderedBoundaries.push(o))),n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function au(n){var o=this,s=n.blockedBoundary,c=n.blockedSegment;c.status=ws,lu(o,s,c)}function su(n,o,s){var c=n.blockedBoundary,g=n.blockedSegment;if(g.status=ws,c===null)o.allPendingTasks--,o.status!==Kr&&(o.status=Kr,o.destination!==null&&x(o.destination));else{if(c.pendingTasks--,!c.forceClientRender){c.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;c.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Jn;Jn=n;try{ks(c,w)}finally{Jn=M}}c.parentFlushed&&o.clientRenderedBoundaries.push(c)}if(c.fallbackAbortableTasks.forEach(function(Q){return su(Q,o,s)}),c.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Jo(n,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Jo(n,s)}else{var c=n.completedSegments;c.push(o)}}function lu(n,o,s){if(o===null){if(s.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=s}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=qo;var c=n.onShellReady;c()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Jo(o,s),o.parentFlushed&&n.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(au,n),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Jo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&n.partialBoundaries.push(o)}}if(n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function rd(n,o){var s=o.blockedSegment;if(s.status===ys){Ui(o.context);var c=null;c=Jn,Jn=o;try{qt(n,o,o.node),Oc(s.chunks,n.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,lu(n,o.blockedBoundary,s)}catch(w){if(Xi(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,nd(n,o.blockedBoundary,s,w)}finally{Jn=c}}}function Vl(n){if(n.status!==Kr){var o=zc(),s=vs.current;vs.current=qc;var c;c=Qi.getCurrentStack,Qi.getCurrentStack=Ll;var g=Dl;Kc(n.responseState);try{var w=n.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];rd(n,M)}w.splice(0,k),n.destination!==null&&Ts(n,n.destination)}catch(z){Ki(n,z),wn(n,z)}finally{Kc(g),vs.current=s,Qi.getCurrentStack=c,s===qc&&Ui(o)}}}function eo(n,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var c=s.id=n.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Dn(o,n.responseState,c)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=ra(n,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ra(n,o,s){var c=s.boundary;if(c===null)return eo(n,o,s);if(c.parentFlushed=!0,c.forceClientRender)return yf(o,n.responseState,c.errorDigest,c.errorMessage,c.errorComponentStack),eo(n,o,s),wf(o,n.responseState);if(c.pendingTasks>0){c.rootSegmentID=n.nextSegmentId++,c.completedSegments.length>0&&n.partialBoundaries.push(c);var g=c.id=gn(n.responseState);return Hr(o,n.responseState,g),eo(n,o,s),vr(o,n.responseState)}else{if(c.byteSize>n.progressiveChunkSize)return c.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(c),Hr(o,n.responseState,c.id),eo(n,o,s),vr(o,n.responseState);vf(o,n.responseState);var w=c.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return ra(n,o,k),bf(o,n.responseState)}}function od(n,o,s){return pf(o,n.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Gl(n,o,s){return Fi(o,n.responseState,s.formatContext,s.id),ra(n,o,s),Ua(o,s.formatContext)}function oa(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];cu(n,o,s,w)}return c.length=0,It(o,n.responseState,s.id,s.rootSegmentID)}function Cs(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];if(!cu(n,o,s,w))return g++,c.splice(0,g),!1}return c.splice(0,g),!0}function cu(n,o,s,c){if(c.status===bs)return!0;var g=c.id;if(g===-1){var w=c.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Gl(n,o,c)}else return Gl(n,o,c),oe(o,n.responseState,g)}function Ts(n,o){try{var s=n.completedRootSegment;s!==null&&n.pendingRootTasks===0&&(ra(n,o,s),n.completedRootSegment=null,Qn(o,n.responseState));var c=n.clientRenderedBoundaries,g;for(g=0;g<c.length;g++){var w=c[g];if(!od(n,o,w)){n.destination=null,g++,c.splice(0,g);return}}c.splice(0,g);var k=n.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oa(n,o,M)){n.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=n.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(n,o,Q)){n.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=n.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oa(n,o,de)){n.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function uu(n){p(function(){return Vl(n)})}function id(n,o){if(n.status===_l){n.status=Kr,L(o,n.fatalError);return}if(n.status!==Kr&&n.destination===null){n.destination=o;try{Ts(n,o)}catch(s){Ki(n,s),wn(n,s)}}}function fu(n,o){try{var s=n.abortableTasks;s.forEach(function(c){return su(c,n,o)}),s.clear(),n.destination!==null&&Ts(n,n.destination)}catch(c){Ki(n,c),wn(n,c)}}function Yl(){}function du(n,o,s,c){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Ko(n,mf(s,o?o.identifierPrefix:void 0),gf(),1/0,Yl,void 0,Q);if(uu(ee),fu(ee,c),id(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function ad(n,o){return du(n,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function pu(n,o){return du(n,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function sd(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}aa.renderToNodeStream=sd,aa.renderToStaticMarkup=pu,aa.renderToStaticNodeStream=l,aa.renderToString=ad,aa.version=t}()),aa}var gu={};/**
|
|
66
|
+
`+c.stack}}var vs=r.ReactCurrentDispatcher,Qi=r.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,Dl=1,Kr=2,qc=12800;function Vf(n){return console.error(n),null}function qo(){}function Ko(n,o,s,c,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:c===void 0?qc:c,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Vf:g,onAllReady:qo,onShellReady:k===void 0?qo:k,onShellError:qo,onFatalError:qo},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Jr(de,n,null,Me,ee,Ni,ts,Rf);return Q.push(Xe),de}function Gf(n,o){var s=n.pingedTasks;s.push(o),s.length===1&&p(function(){return Wl(n)})}function Yf(n,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Jr(n,o,s,c,g,w,k,M){n.allPendingTasks++,s===null?n.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Gf(n,z)},blockedBoundary:s,blockedSegment:c,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(n,o,s,c,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:c,boundary:s,lastPushedText:g,textEmbedded:w}}var Jn=null;function _l(){return Jn===null||Jn.componentStack===null?"":gs(Jn.componentStack)}function Zr(n,o){n.componentStack={tag:0,parent:n.componentStack,type:o}}function qi(n,o){n.componentStack={tag:1,parent:n.componentStack,type:o}}function Zn(n,o){n.componentStack={tag:2,parent:n.componentStack,type:o}}function $n(n){n.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):n.componentStack=n.componentStack.parent}var er=null;function ks(n,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var c=er||_l();er=null,n.errorMessage=s,n.errorComponentStack=c}}function Ki(n,o){var s=n.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function wn(n,o){var s=n.onShellError;s(o);var c=n.onFatalError;c(o),n.destination!==null?(n.status=Kr,L(n.destination,o)):(n.status=Dl,n.fatalError=o)}function Ji(n,o,s){Zr(o,"Suspense");var c=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Yf(n,M),Q=g.chunks.length,ee=Ss(n,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(n,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(n,o,k),Rc(de.chunks,n.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Jo(z,de),z.pendingTasks===0){$n(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ki(n,Xe),ks(z,Xe)}finally{o.blockedBoundary=c,o.blockedSegment=g}var Me=Jr(n,w,c,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,n.pingedTasks.push(Me),$n(o)}function Ll(n,o,s,c){Zr(o,s);var g=o.blockedSegment,w=yn(g.chunks,s,c,n.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,c),Ft(n,o,w),g.formatContext=k,qe(g.chunks,s),g.lastPushedText=!1,$n(o)}function Zi(n){return n.prototype&&n.prototype.isReactComponent}function ea(n,o,s,c,g){var w={};qr(o,w);var k=s(c,g);return _f(s,c,k,g)}function Kc(n,o,s,c,g){var w=s.render();s.props!==g&&(jl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(c)||"a component"),jl=!0);{var k=c.childContextTypes;if(k!=null){var M=o.legacyContext,z=_c(s,c,M,k);o.legacyContext=z,qt(n,o,w),o.legacyContext=M;return}}qt(n,o,w)}function Xf(n,o,s,c){Zn(o,s);var g=zi(s,o.legacyContext),w=zc(s,c,g);Hc(w,s,c,g),Kc(n,o,w,s,c),$n(o)}var Jc={},ta={},$l={},Zc={},jl=!1,na={},Nl=!1,zl=!1,Bl=!1;function eu(n,o,s,c){var g;if(g=zi(s,o.legacyContext),qi(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=it(s)||"Unknown";Jc[w]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Jc[w]=!0)}var k=ea(n,o,s,c,g),M=Ol();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=it(s)||"Unknown";ta[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ta[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=it(s)||"Unknown";ta[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ta[Q]=!0)}Hc(k,s,c,g),Kc(n,o,k,s,c)}else if(tu(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Rl(ee,de,Me);try{qt(n,o,k)}finally{o.treeContext=ee}}else qt(n,o,k);$n(o)}function tu(n){{if(n&&n.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",n.displayName||n.name||"Component"),n.defaultProps!==void 0){var o=it(n)||"Unknown";na[o]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),na[o]=!0)}if(typeof n.getDerivedStateFromProps=="function"){var s=it(n)||"Unknown";Zc[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Zc[s]=!0)}if(typeof n.contextType=="object"&&n.contextType!==null){var c=it(n)||"Unknown";$l[c]||(a("%s: Function components do not support contextType.",c),$l[c]=!0)}}}function Ul(n,o){if(n&&n.defaultProps){var s=Lt({},o),c=n.defaultProps;for(var g in c)s[g]===void 0&&(s[g]=c[g]);return s}return o}function nu(n,o,s,c,g){qi(o,s.render);var w=ea(n,o,s.render,c,g),k=Ol();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Rl(M,z,Q);try{qt(n,o,w)}finally{o.treeContext=M}}else qt(n,o,w);$n(o)}function Qf(n,o,s,c,g){var w=s.type,k=Ul(w,c);Hl(n,o,w,k,g)}function qf(n,o,s,c){s._context===void 0?s!==s.Consumer&&(Bl||(Bl=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=c.children;typeof g!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xr(s),k=g(w);qt(n,o,k)}function ru(n,o,s,c){var g=s._context,w=c.value,k=c.children,M;M=o.context,o.context=Lc(g,w),qt(n,o,k),o.context=$c(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Kf(n,o,s,c,g){Zr(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Ul(M,c);Hl(n,o,M,z,g),$n(o)}function Hl(n,o,s,c,g){if(typeof s=="function")if(Zi(s)){Xf(n,o,s,c);return}else{eu(n,o,s,c);return}if(typeof s=="string"){Ll(n,o,s,c);return}switch(s){case dl:case fl:case Gt:case Ac:case Wa:{qt(n,o,c.children);return}case Mi:{Zr(o,"SuspenseList"),qt(n,o,c.children),$n(o);return}case ul:throw new Error("ReactDOMServer does not yet support scope components.");case Xa:{Ji(n,o,c);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ya:{nu(n,o,s,c,g);return}case Di:{Qf(n,o,s,c,g);return}case Va:{ru(n,o,s,c);return}case Ga:{qf(n,o,s,c);return}case Uo:{Kf(n,o,s,c);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Jf(n,o){typeof Symbol=="function"&&n[Symbol.toStringTag]==="Generator"&&(Nl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Nl=!0),n.entries===o&&(zl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zl=!0)}function qt(n,o,s){try{return Zf(n,o,s)}catch(c){throw typeof c=="object"&&c!==null&&typeof c.then=="function"||(er=er!==null?er:_l()),c}}function Zf(n,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case wf:{var c=s,g=c.type,w=c.props,k=c.ref;Hl(n,o,g,w,k);return}case Pc:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(Zo){throw typeof Zo=="object"&&Zo!==null&&typeof Zo.then=="function"&&Zr(o,"Lazy"),Zo}qt(n,o,ee);return}}if(rn(s)){Es(n,o,s);return}var de=Sf(s);if(de){Jf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(n,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var no=o.blockedSegment;no.lastPushedText=Tc(o.blockedSegment.chunks,s,n.responseState,no.lastPushedText);return}if(typeof s=="number"){var tr=o.blockedSegment;tr.lastPushedText=Tc(o.blockedSegment.chunks,""+s,n.responseState,tr.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(n,o,s){for(var c=s.length,g=0;g<c;g++){var w=o.treeContext;o.treeContext=Rl(w,c,g);try{Ft(n,o,s[g])}finally{o.treeContext=w}}}function ed(n,o,s){var c=o.blockedSegment,g=c.chunks.length,w=Ss(n,g,null,c.formatContext,c.lastPushedText,!0);c.children.push(w),c.lastPushedText=!1;var k=Jr(n,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(n,o,s){var c=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return qt(n,o,s)}catch(M){if(Xi(),typeof M=="object"&&M!==null&&typeof M.then=="function"){ed(n,o,M),o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=c,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k,M}}function td(n,o,s,c){var g=Ki(n,c);if(o===null?wn(n,c):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,c),o.parentFlushed&&n.clientRenderedBoundaries.push(o))),n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function ou(n){var o=this,s=n.blockedBoundary,c=n.blockedSegment;c.status=ws,au(o,s,c)}function iu(n,o,s){var c=n.blockedBoundary,g=n.blockedSegment;if(g.status=ws,c===null)o.allPendingTasks--,o.status!==Kr&&(o.status=Kr,o.destination!==null&&x(o.destination));else{if(c.pendingTasks--,!c.forceClientRender){c.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;c.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Jn;Jn=n;try{ks(c,w)}finally{Jn=M}}c.parentFlushed&&o.clientRenderedBoundaries.push(c)}if(c.fallbackAbortableTasks.forEach(function(Q){return iu(Q,o,s)}),c.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Jo(n,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Jo(n,s)}else{var c=n.completedSegments;c.push(o)}}function au(n,o,s){if(o===null){if(s.parentFlushed){if(n.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");n.completedRootSegment=s}if(n.pendingRootTasks--,n.pendingRootTasks===0){n.onShellError=qo;var c=n.onShellReady;c()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Jo(o,s),o.parentFlushed&&n.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(ou,n),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Jo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&n.partialBoundaries.push(o)}}if(n.allPendingTasks--,n.allPendingTasks===0){var w=n.onAllReady;w()}}function nd(n,o){var s=o.blockedSegment;if(s.status===ys){Ui(o.context);var c=null;c=Jn,Jn=o;try{qt(n,o,o.node),Rc(s.chunks,n.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,au(n,o.blockedBoundary,s)}catch(w){if(Xi(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,td(n,o.blockedBoundary,s,w)}finally{Jn=c}}}function Wl(n){if(n.status!==Kr){var o=jc(),s=vs.current;vs.current=Xc;var c;c=Qi.getCurrentStack,Qi.getCurrentStack=_l;var g=Ml;Qc(n.responseState);try{var w=n.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];nd(n,M)}w.splice(0,k),n.destination!==null&&Ts(n,n.destination)}catch(z){Ki(n,z),wn(n,z)}finally{Qc(g),vs.current=s,Qi.getCurrentStack=c,s===Xc&&Ui(o)}}}function eo(n,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var c=s.id=n.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Dn(o,n.responseState,c)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=ra(n,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ra(n,o,s){var c=s.boundary;if(c===null)return eo(n,o,s);if(c.parentFlushed=!0,c.forceClientRender)return vf(o,n.responseState,c.errorDigest,c.errorMessage,c.errorComponentStack),eo(n,o,s),bf(o,n.responseState);if(c.pendingTasks>0){c.rootSegmentID=n.nextSegmentId++,c.completedSegments.length>0&&n.partialBoundaries.push(c);var g=c.id=gn(n.responseState);return Hr(o,n.responseState,g),eo(n,o,s),vr(o,n.responseState)}else{if(c.byteSize>n.progressiveChunkSize)return c.rootSegmentID=n.nextSegmentId++,n.completedBoundaries.push(c),Hr(o,n.responseState,c.id),eo(n,o,s),vr(o,n.responseState);gf(o,n.responseState);var w=c.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return ra(n,o,k),yf(o,n.responseState)}}function rd(n,o,s){return df(o,n.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Vl(n,o,s){return Fi(o,n.responseState,s.formatContext,s.id),ra(n,o,s),Ua(o,s.formatContext)}function oa(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];su(n,o,s,w)}return c.length=0,It(o,n.responseState,s.id,s.rootSegmentID)}function Cs(n,o,s){for(var c=s.completedSegments,g=0;g<c.length;g++){var w=c[g];if(!su(n,o,s,w))return g++,c.splice(0,g),!1}return c.splice(0,g),!0}function su(n,o,s,c){if(c.status===bs)return!0;var g=c.id;if(g===-1){var w=c.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Vl(n,o,c)}else return Vl(n,o,c),oe(o,n.responseState,g)}function Ts(n,o){try{var s=n.completedRootSegment;s!==null&&n.pendingRootTasks===0&&(ra(n,o,s),n.completedRootSegment=null,Qn(o,n.responseState));var c=n.clientRenderedBoundaries,g;for(g=0;g<c.length;g++){var w=c[g];if(!rd(n,o,w)){n.destination=null,g++,c.splice(0,g);return}}c.splice(0,g);var k=n.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oa(n,o,M)){n.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=n.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(n,o,Q)){n.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=n.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oa(n,o,de)){n.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{n.allPendingTasks===0&&n.pingedTasks.length===0&&n.clientRenderedBoundaries.length===0&&n.completedBoundaries.length===0&&(n.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function lu(n){p(function(){return Wl(n)})}function od(n,o){if(n.status===Dl){n.status=Kr,L(o,n.fatalError);return}if(n.status!==Kr&&n.destination===null){n.destination=o;try{Ts(n,o)}catch(s){Ki(n,s),wn(n,s)}}}function cu(n,o){try{var s=n.abortableTasks;s.forEach(function(c){return iu(c,n,o)}),s.clear(),n.destination!==null&&Ts(n,n.destination)}catch(c){Ki(n,c),wn(n,c)}}function Gl(){}function uu(n,o,s,c){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Ko(n,hf(s,o?o.identifierPrefix:void 0),mf(),1/0,Gl,void 0,Q);if(lu(ee),cu(ee,c),od(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function id(n,o){return uu(n,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function fu(n,o){return uu(n,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function ad(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}aa.renderToNodeStream=ad,aa.renderToStaticMarkup=fu,aa.renderToStaticNodeStream=l,aa.renderToString=id,aa.version=t}()),aa}var hu={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-dom-server.browser.development.js
|
|
69
69
|
*
|
|
@@ -71,17 +71,17 @@ Error generating stack: `+c.message+`
|
|
|
71
71
|
*
|
|
72
72
|
* This source code is licensed under the MIT license found in the
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var mh;function Xy(){return mh||(mh=1,process.env.NODE_ENV!=="production"&&function(){var e=O,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("warn",l,o)}}function a(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("error",l,o)}}function u(l,n,o){{var s=r.ReactDebugCurrentFrame,c=s.getStackAddendum();c!==""&&(n+="%s",o=o.concat([c]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,n){if(n.length!==0){if(n.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(n);return}var o=n,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,n){return x(l,n),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function A(l){return D.encode(l)}function U(l,n){typeof l.error=="function"?l.error(n):l.close()}function j(l){{var n=typeof Symbol=="function"&&Symbol.toStringTag,o=n&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function J(l,n){if(V(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ae(l,n){if(V(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ne(l){if(V(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Z=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+Z+"]*$"),Y={},K={};function fe(l){return le.call(K,l)?!0:le.call(Y,l)?!1:ve.test(l)?(K[l]=!0,!0):(Y[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function te(l,n,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var c=l.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function he(l){return ce.hasOwnProperty(l)?ce[l]:null}function me(l,n,o,s,c,g,w){this.acceptsBooleans=n===Fe||n===$e||n===ze,this.attributeName=s,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=l,this.type=n,this.sanitizeURL=g,this.removeEmptyString=w}var ce={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){ce[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var n=l[0],o=l[1];ce[n]=new me(n,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ce[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ce[l]=new me(l,Fe,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){ce[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ce[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ce[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ce[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ce[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ce[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,n){return l+n.charAt(0).toUpperCase()+n.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(n){Be[se(n,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,n){ot[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Un(l,n){if(l.indexOf("-")===-1)return typeof n.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Hn=new RegExp("^(aria)-["+Z+"]*$"),Wn=new RegExp("^(aria)[A-Z]["+Z+"]*$");function So(l,n){{if(le.call(zt,n)&&zt[n])return!0;if(Wn.test(n)){var o="aria-"+n.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),zt[n]=!0,!0;if(n!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,s),zt[n]=!0,!0}if(Hn.test(n)){var c=n.toLowerCase(),g=xo.hasOwnProperty(c)?c:null;if(g==null)return zt[n]=!0,!1;if(n!==g)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),zt[n]=!0,!0}}return!0}function Bt(l,n){{var o=[];for(var s in n){var c=So(l,s);c||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,n){Un(l,n)||Bt(l,n)}var ft=!1;function Ir(l,n){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;n!=null&&n.value===null&&!ft&&(ft=!0,l==="select"&&n.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Fr={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Mr=function(){};{var st={},Dr=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+Z+"]*$"),_r=new RegExp("^(aria)[A-Z]["+Z+"]*$");Mr=function(l,n,o,s){if(le.call(st,n)&&st[n])return!0;var c=n.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),st[n]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var k=w.hasOwnProperty(c)?w[c]:null;if(k!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,k),st[n]=!0,!0;if(Dr.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),st[n]=!0,!0}else if(Dr.test(n))return ko.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),st[n]=!0,!0;if(Eo.test(n)||_r.test(n))return!0;if(c==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[n]=!0,!0;if(c==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[n]=!0,!0;if(c==="is"&&o!==null&&o!==void 0&&typeof o!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[n]=!0,!0;if(typeof o=="number"&&isNaN(o))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),st[n]=!0,!0;var M=he(n),z=M!==null&&M.type===ye;if(Fr.hasOwnProperty(c)){var Q=Fr[c];if(Q!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),st[n]=!0,!0}else if(!z&&n!==c)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,c),st[n]=!0,!0;return typeof o=="boolean"&&te(n,o,M)?(o?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,n,n,o,n):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,n,n,o,n,n,n),st[n]=!0,!0):z?!0:te(n,o,M)?(st[n]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,n,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,o),st[n]=!0),!0)}}var lr=function(l,n,o){{var s=[];for(var c in n){var g=Mr(l,c,n[c],o);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ei(l,n,o){Un(l,n)||lr(l,n,o)}var Lr=function(){};{var kn=/^(?:webkit|moz|o)[A-Z]/,$r=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tn={},En={},Qe=!1,Cn=!1,cr=function(l){return l.replace(Co,function(n,o){return o.toUpperCase()})},Vn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,cr(l.replace($r,"ms-"))))},nn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ur=function(l,n){En.hasOwnProperty(n)&&En[n]||(En[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,n.replace(xt,"")))},mn=function(l,n){Qe||(Qe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,n){Cn||(Cn=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Lr=function(l,n){l.indexOf("-")>-1?Vn(l):kn.test(l)?nn(l):xt.test(n)&&ur(l,n),typeof n=="number"&&(isNaN(n)?mn(l,n):isFinite(n)||dt(l,n))}}var jr=Lr,Nr=/["'&<>]/;function To(l){ne(l);var n=""+l,o=Nr.exec(n);if(!o)return n;var s,c="",g,w=0;for(g=o.index;g<n.length;g++){switch(n.charCodeAt(g)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}w!==g&&(c+=n.substring(w,g)),w=g+1,c+=s}return w!==g?c+n.substring(w,g):c}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zr=/([A-Z])/g,Ci=/^ms-/;function Ti(l){return l.replace(zr,"-$1").toLowerCase().replace(Ci,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Br=!1;function fr(l){!Br&&rn.test(l)&&(Br=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Tn=Array.isArray;function Rt(l){return Tn(l)}var on=A("<script>"),dr=A("<\/script>"),Rn=A('<script src="'),Pn=A('<script type="module" src="'),an=A('" async=""><\/script>');function On(l){return ne(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,n,o,s){return""+n+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,n,o,s,c){var g=l===void 0?"":l,w=n===void 0?on:A('<script nonce="'+lt(n)+'">'),k=[];if(o!==void 0&&k.push(w,T(On(o)),dr),s!==void 0)for(var M=0;M<s.length;M++)k.push(Rn,T(lt(s[M])),an);if(c!==void 0)for(var z=0;z<c.length;z++)k.push(Pn,T(lt(c[z])),an);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:A(g+"P:"),segmentPrefix:A(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var gn=0,ct=1,sn=2,ln=3,An=4,pr=5,Ut=6,cn=7;function St(l,n){return{insertionMode:l,selectedValue:n}}function In(l){var n=l==="http://www.w3.org/2000/svg"?sn:l==="http://www.w3.org/1998/Math/MathML"?ln:gn;return St(n,null)}function Gn(l,n,o){switch(n){case"select":return St(ct,o.value!=null?o.value:o.defaultValue);case"svg":return St(sn,null);case"math":return St(ln,null);case"foreignObject":return St(ct,null);case"table":return St(An,null);case"thead":case"tbody":case"tfoot":return St(pr,null);case"colgroup":return St(cn,null);case"tr":return St(Ut,null)}return l.insertionMode>=An||l.insertionMode===gn?St(ct,null):l}var hr=null;function _t(l){var n=l.nextSuspenseID++;return A(l.boundaryPrefix+n.toString(16))}function un(l,n,o){var s=l.idPrefix,c=":"+s+"R"+n;return o>0&&(c+="H"+o.toString(32)),c+":"}function kt(l){return lt(l)}var mr=A("<!-- -->");function mt(l,n,o,s){return n===""?s:(s&&l.push(mr),l.push(T(kt(n))),!0)}function Ot(l,n,o,s){o&&s&&l.push(mr)}var f=new Map;function b(l){var n=f.get(l);if(n!==void 0)return n;var o=A(lt(Ti(l)));return f.set(l,o),o}var E=A(' style="'),P=A(":"),H=A(";");function N(l,n,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var c in o)if(le.call(o,c)){var g=o[c];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=c.indexOf("--")===0;M?(w=T(lt(c)),ae(g,c),k=T(lt((""+g).trim()))):(jr(c,g),w=b(c),typeof g=="number"?g!==0&&!le.call(Be,c)?k=T(g+"px"):k=T(""+g):(ae(g,c),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=A(" "),re=A('="'),ke=A('"'),Oe=A('=""');function Ce(l,n,o,s){switch(o){case"style":{N(l,n,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var c=he(o);if(c!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!c.acceptsBooleans)return}var g=c.attributeName,w=T(g);switch(c.type){case $e:s&&l.push(G,w,Oe);return;case ze:s===!0?l.push(G,w,Oe):s===!1||l.push(G,w,re,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,re,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,re,T(lt(s)),ke);break;default:c.sanitizeURL&&(J(s,g),s=""+s,fr(s)),l.push(G,w,re,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),re,T(lt(s)),ke)}}}var Ve=A(">"),Et=A("/>");function Ct(l,n,o){if(n!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n!="object"||!("__html"in n))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=n.__html;s!=null&&(ne(s),l.push(T(""+s)))}}var Tt=!1,Fn=!1,fn=!1,gr=!1,Mn=!1,Yn=!1,vn=!1;function Xn(l,n){{var o=l[n];if(o!=null){var s=Rt(o);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function rl(l,n,o){Nt("select",n),Xn(n,"value"),Xn(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!fn&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),fn=!0),l.push(Ht("select"));var s=null,c=null;for(var g in n)if(le.call(n,g)){var w=n[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":c=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,c,s),s}function ol(l){var n="";return e.Children.forEach(l,function(o){o!=null&&(n+=o,!Mn&&typeof o!="string"&&typeof o!="number"&&(Mn=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),n}var Oo=A(' selected=""');function dn(l,n,o,s){var c=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in n)if(le.call(n,z)){var Q=n[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,vn||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),vn=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(c!=null){var ee;if(w!==null?(J(w,"value"),ee=""+w):(M!==null&&(Yn||(Yn=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=ol(g)),Rt(c))for(var de=0;de<c.length;de++){J(c[de],"value");var Me=""+c[de];if(Me===ee){l.push(Oo);break}}else J(c,"select.value"),""+c===ee&&l.push(Oo)}else k&&l.push(Oo);return l.push(Ve),Ct(l,M,g),g}function il(l,n,o){Nt("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!Fn&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Fn=!0),n.value!==void 0&&n.defaultValue!==void 0&&!Tt&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Tt=!0),l.push(Ht("input"));var s=null,c=null,g=null,w=null;for(var k in n)if(le.call(n,k)){var M=n[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":c=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):c!==null&&Ce(l,o,"value",c),l.push(Et),null}function yn(l,n,o){Nt("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!gr&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),gr=!0),l.push(Ht("textarea"));var s=null,c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":c=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&c!==null&&(s=c),l.push(Ve),g!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");ne(g[0]),s=""+g[0]}ne(g),s=""+g}return typeof s=="string"&&s[0]===`
|
|
75
|
-
`&&l.push(qn),s!==null&&(J(s,"value"),l.push(T(kt(""+s)))),null}function Ri(l,n,o,s){l.push(Ht(o));for(var c in n)if(le.call(n,c)){var g=n[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error(o+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(l,s,c,g);break}}return l.push(Et),null}function
|
|
74
|
+
*/var ph;function Hy(){return ph||(ph=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("warn",l,o)}}function a(l){{for(var n=arguments.length,o=new Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];u("error",l,o)}}function u(l,n,o){{var s=r.ReactDebugCurrentFrame,c=s.getStackAddendum();c!==""&&(n+="%s",o=o.concat([c]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+n),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,n){if(n.length!==0){if(n.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(n);return}var o=n,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,n){return x(l,n),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function O(l){return D.encode(l)}function U(l,n){typeof l.error=="function"?l.error(n):l.close()}function j(l){{var n=typeof Symbol=="function"&&Symbol.toStringTag,o=n&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function J(l,n){if(V(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ae(l,n){if(V(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",n,j(l)),$(l)}function ne(l){if(V(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Z=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+Z+"]*$"),Y={},K={};function fe(l){return le.call(K,l)?!0:le.call(Y,l)?!1:ve.test(l)?(K[l]=!0,!0):(Y[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function te(l,n,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var c=l.toLowerCase().slice(0,5);return c!=="data-"&&c!=="aria-"}default:return!1}}function he(l){return ce.hasOwnProperty(l)?ce[l]:null}function me(l,n,o,s,c,g,w){this.acceptsBooleans=n===Fe||n===$e||n===ze,this.attributeName=s,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=l,this.type=n,this.sanitizeURL=g,this.removeEmptyString=w}var ce={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){ce[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var n=l[0],o=l[1];ce[n]=new me(n,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ce[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ce[l]=new me(l,Fe,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){ce[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ce[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ce[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ce[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ce[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var n=l.replace(Ee,Se);ce[n]=new me(n,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ce[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ce[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,n){return l+n.charAt(0).toUpperCase()+n.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(n){Be[se(n,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,n){ot[n.type]||n.onChange||n.onInput||n.readOnly||n.disabled||n.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),n.onChange||n.readOnly||n.disabled||n.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Un(l,n){if(l.indexOf("-")===-1)return typeof n.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Hn=new RegExp("^(aria)-["+Z+"]*$"),Wn=new RegExp("^(aria)[A-Z]["+Z+"]*$");function So(l,n){{if(le.call(zt,n)&&zt[n])return!0;if(Wn.test(n)){var o="aria-"+n.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),zt[n]=!0,!0;if(n!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,s),zt[n]=!0,!0}if(Hn.test(n)){var c=n.toLowerCase(),g=xo.hasOwnProperty(c)?c:null;if(g==null)return zt[n]=!0,!1;if(n!==g)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,g),zt[n]=!0,!0}}return!0}function Bt(l,n){{var o=[];for(var s in n){var c=So(l,s);c||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,n){Un(l,n)||Bt(l,n)}var ft=!1;function Ir(l,n){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;n!=null&&n.value===null&&!ft&&(ft=!0,l==="select"&&n.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",l):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Fr={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Mr=function(){};{var st={},Dr=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+Z+"]*$"),_r=new RegExp("^(aria)[A-Z]["+Z+"]*$");Mr=function(l,n,o,s){if(le.call(st,n)&&st[n])return!0;var c=n.toLowerCase();if(c==="onfocusin"||c==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),st[n]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(n))return!0;var k=w.hasOwnProperty(c)?w[c]:null;if(k!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,k),st[n]=!0,!0;if(Dr.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),st[n]=!0,!0}else if(Dr.test(n))return ko.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),st[n]=!0,!0;if(Eo.test(n)||_r.test(n))return!0;if(c==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[n]=!0,!0;if(c==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[n]=!0,!0;if(c==="is"&&o!==null&&o!==void 0&&typeof o!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[n]=!0,!0;if(typeof o=="number"&&isNaN(o))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",n),st[n]=!0,!0;var M=he(n),z=M!==null&&M.type===ye;if(Fr.hasOwnProperty(c)){var Q=Fr[c];if(Q!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,Q),st[n]=!0,!0}else if(!z&&n!==c)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",n,c),st[n]=!0,!0;return typeof o=="boolean"&&te(n,o,M)?(o?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,n,n,o,n):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,n,n,o,n,n,n),st[n]=!0,!0):z?!0:te(n,o,M)?(st[n]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,n,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',n,o),st[n]=!0),!0)}}var lr=function(l,n,o){{var s=[];for(var c in n){var g=Mr(l,c,n[c],o);g||s.push(c)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ei(l,n,o){Un(l,n)||lr(l,n,o)}var Lr=function(){};{var kn=/^(?:webkit|moz|o)[A-Z]/,$r=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tn={},En={},Qe=!1,Cn=!1,cr=function(l){return l.replace(Co,function(n,o){return o.toUpperCase()})},Vn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,cr(l.replace($r,"ms-"))))},nn=function(l){tn.hasOwnProperty(l)&&tn[l]||(tn[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},ur=function(l,n){En.hasOwnProperty(n)&&En[n]||(En[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,n.replace(xt,"")))},mn=function(l,n){Qe||(Qe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,n){Cn||(Cn=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Lr=function(l,n){l.indexOf("-")>-1?Vn(l):kn.test(l)?nn(l):xt.test(n)&&ur(l,n),typeof n=="number"&&(isNaN(n)?mn(l,n):isFinite(n)||dt(l,n))}}var jr=Lr,Nr=/["'&<>]/;function To(l){ne(l);var n=""+l,o=Nr.exec(n);if(!o)return n;var s,c="",g,w=0;for(g=o.index;g<n.length;g++){switch(n.charCodeAt(g)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}w!==g&&(c+=n.substring(w,g)),w=g+1,c+=s}return w!==g?c+n.substring(w,g):c}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zr=/([A-Z])/g,Ci=/^ms-/;function Ti(l){return l.replace(zr,"-$1").toLowerCase().replace(Ci,"-ms-")}var rn=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Br=!1;function fr(l){!Br&&rn.test(l)&&(Br=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(l)))}var Tn=Array.isArray;function Rt(l){return Tn(l)}var on=O("<script>"),dr=O("<\/script>"),Rn=O('<script src="'),Pn=O('<script type="module" src="'),an=O('" async=""><\/script>');function An(l){return ne(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,n,o,s){return""+n+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,n,o,s,c){var g=l===void 0?"":l,w=n===void 0?on:O('<script nonce="'+lt(n)+'">'),k=[];if(o!==void 0&&k.push(w,T(An(o)),dr),s!==void 0)for(var M=0;M<s.length;M++)k.push(Rn,T(lt(s[M])),an);if(c!==void 0)for(var z=0;z<c.length;z++)k.push(Pn,T(lt(c[z])),an);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:O(g+"P:"),segmentPrefix:O(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var gn=0,ct=1,sn=2,ln=3,On=4,pr=5,Ut=6,cn=7;function St(l,n){return{insertionMode:l,selectedValue:n}}function In(l){var n=l==="http://www.w3.org/2000/svg"?sn:l==="http://www.w3.org/1998/Math/MathML"?ln:gn;return St(n,null)}function Gn(l,n,o){switch(n){case"select":return St(ct,o.value!=null?o.value:o.defaultValue);case"svg":return St(sn,null);case"math":return St(ln,null);case"foreignObject":return St(ct,null);case"table":return St(On,null);case"thead":case"tbody":case"tfoot":return St(pr,null);case"colgroup":return St(cn,null);case"tr":return St(Ut,null)}return l.insertionMode>=On||l.insertionMode===gn?St(ct,null):l}var hr=null;function _t(l){var n=l.nextSuspenseID++;return O(l.boundaryPrefix+n.toString(16))}function un(l,n,o){var s=l.idPrefix,c=":"+s+"R"+n;return o>0&&(c+="H"+o.toString(32)),c+":"}function kt(l){return lt(l)}var mr=O("<!-- -->");function mt(l,n,o,s){return n===""?s:(s&&l.push(mr),l.push(T(kt(n))),!0)}function At(l,n,o,s){o&&s&&l.push(mr)}var f=new Map;function b(l){var n=f.get(l);if(n!==void 0)return n;var o=O(lt(Ti(l)));return f.set(l,o),o}var E=O(' style="'),P=O(":"),H=O(";");function N(l,n,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var c in o)if(le.call(o,c)){var g=o[c];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=c.indexOf("--")===0;M?(w=T(lt(c)),ae(g,c),k=T(lt((""+g).trim()))):(jr(c,g),w=b(c),typeof g=="number"?g!==0&&!le.call(Be,c)?k=T(g+"px"):k=T(""+g):(ae(g,c),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=O(" "),re=O('="'),ke=O('"'),Ae=O('=""');function Ce(l,n,o,s){switch(o){case"style":{N(l,n,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var c=he(o);if(c!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!c.acceptsBooleans)return}var g=c.attributeName,w=T(g);switch(c.type){case $e:s&&l.push(G,w,Ae);return;case ze:s===!0?l.push(G,w,Ae):s===!1||l.push(G,w,re,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,re,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,re,T(lt(s)),ke);break;default:c.sanitizeURL&&(J(s,g),s=""+s,fr(s)),l.push(G,w,re,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),re,T(lt(s)),ke)}}}var Ve=O(">"),Et=O("/>");function Ct(l,n,o){if(n!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof n!="object"||!("__html"in n))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var s=n.__html;s!=null&&(ne(s),l.push(T(""+s)))}}var Tt=!1,Fn=!1,fn=!1,gr=!1,Mn=!1,Yn=!1,vn=!1;function Xn(l,n){{var o=l[n];if(o!=null){var s=Rt(o);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function nl(l,n,o){Nt("select",n),Xn(n,"value"),Xn(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!fn&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),fn=!0),l.push(Ht("select"));var s=null,c=null;for(var g in n)if(le.call(n,g)){var w=n[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":c=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,c,s),s}function rl(l){var n="";return e.Children.forEach(l,function(o){o!=null&&(n+=o,!Mn&&typeof o!="string"&&typeof o!="number"&&(Mn=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),n}var Ao=O(' selected=""');function dn(l,n,o,s){var c=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in n)if(le.call(n,z)){var Q=n[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,vn||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),vn=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(c!=null){var ee;if(w!==null?(J(w,"value"),ee=""+w):(M!==null&&(Yn||(Yn=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=rl(g)),Rt(c))for(var de=0;de<c.length;de++){J(c[de],"value");var Me=""+c[de];if(Me===ee){l.push(Ao);break}}else J(c,"select.value"),""+c===ee&&l.push(Ao)}else k&&l.push(Ao);return l.push(Ve),Ct(l,M,g),g}function ol(l,n,o){Nt("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!Fn&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Fn=!0),n.value!==void 0&&n.defaultValue!==void 0&&!Tt&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",n.type),Tt=!0),l.push(Ht("input"));var s=null,c=null,g=null,w=null;for(var k in n)if(le.call(n,k)){var M=n[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":c=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):c!==null&&Ce(l,o,"value",c),l.push(Et),null}function yn(l,n,o){Nt("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!gr&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),gr=!0),l.push(Ht("textarea"));var s=null,c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":c=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&c!==null&&(s=c),l.push(Ve),g!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");ne(g[0]),s=""+g[0]}ne(g),s=""+g}return typeof s=="string"&&s[0]===`
|
|
75
|
+
`&&l.push(qn),s!==null&&(J(s,"value"),l.push(T(kt(""+s)))),null}function Ri(l,n,o,s){l.push(Ht(o));for(var c in n)if(le.call(n,c)){var g=n[c];if(g==null)continue;switch(c){case"children":case"dangerouslySetInnerHTML":throw new Error(o+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(l,s,c,g);break}}return l.push(Et),null}function Oo(l,n,o){l.push(Ht("menuitem"));for(var s in n)if(le.call(n,s)){var c=n[s];if(c==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Ce(l,o,s,c);break}}return l.push(Ve),null}function qe(l,n,o){l.push(Ht("title"));var s=null;for(var c in n)if(le.call(n,c)){var g=n[c];if(g==null)continue;switch(c){case"children":s=g;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Ce(l,o,c,g);break}}l.push(Ve);{var w=Array.isArray(s)&&s.length<2?s[0]||null:s;Array.isArray(s)&&s.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&w.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&typeof w!="string"&&typeof w!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return s}function Qn(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}return l.push(Ve),Ct(l,g,c),typeof c=="string"?(l.push(T(kt(c))),null):c}function Io(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;case"style":N(l,s,k);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(w)&&typeof k!="function"&&typeof k!="symbol"&&l.push(G,T(w),re,T(lt(k)),ke);break}}return l.push(Ve),Ct(l,g,c),c}var qn=O(`
|
|
76
76
|
`);function Dn(l,n,o,s){l.push(Ht(o));var c=null,g=null;for(var w in n)if(le.call(n,w)){var k=n[w];if(k==null)continue;switch(w){case"children":c=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}if(l.push(Ve),g!=null){if(c!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof g!="object"||!("__html"in g))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var M=g.__html;M!=null&&(typeof M=="string"&&M.length>0&&M[0]===`
|
|
77
77
|
`?l.push(qn,T(M)):(ne(M),l.push(T(""+M))))}return typeof c=="string"&&c[0]===`
|
|
78
|
-
`&&l.push(qn),c}var Fo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_n=new Map;function Ht(l){var n=_n.get(l);if(n===void 0){if(!Fo.test(l))throw new Error("Invalid tag: "+l);n=
|
|
79
|
-
`+
|
|
78
|
+
`&&l.push(qn),c}var Fo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,_n=new Map;function Ht(l){var n=_n.get(l);if(n===void 0){if(!Fo.test(l))throw new Error("Invalid tag: "+l);n=O("<"+l),_n.set(l,n)}return n}var Pi=O("<!DOCTYPE html>");function Ur(l,n,o,s,c){switch(gt(n,o),Ir(n,o),Ei(n,o,null),!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),c.insertionMode!==sn&&c.insertionMode!==ln&&n.indexOf("-")===-1&&typeof o.is!="string"&&n.toLowerCase()!==n&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",n),n){case"select":return nl(l,o,s);case"option":return dn(l,o,s,c);case"textarea":return yn(l,o,s);case"input":return ol(l,o,s);case"menuitem":return Oo(l,o,s);case"title":return qe(l,o,s);case"listing":case"pre":return Dn(l,o,n,s);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Ri(l,o,n,s);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 Qn(l,o,n,s);case"html":return c.insertionMode===gn&&l.push(Pi),Qn(l,o,n,s);default:return n.indexOf("-")===-1&&typeof o.is!="string"?Qn(l,o,n,s):Io(l,o,n,s)}}var Aa=O("</"),Mo=O(">");function Oa(l,n,o){switch(n){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(Aa,T(n),Mo)}}function il(l,n){for(var o=n.bootstrapChunks,s=0;s<o.length-1;s++)x(l,o[s]);return s<o.length?F(l,o[s]):!0}var al=O('<template id="'),Do=O('"></template>');function Ia(l,n,o){x(l,al),x(l,n.placeholderPrefix);var s=T(o.toString(16));return x(l,s),F(l,Do)}var Hr=O("<!--$-->"),Ai=O('<!--$?--><template id="'),sl=O('"></template>'),vr=O("<!--$!-->"),Oi=O("<!--/$-->"),Ii=O("<template"),yr=O('"'),Wr=O(' data-dgst="'),_o=O(' data-msg="'),Fa=O(' data-stck="'),Ma=O("></template>");function Da(l,n){return F(l,Hr)}function Lo(l,n,o){if(x(l,Ai),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),F(l,sl)}function Ot(l,n,o,s,c){var g;return g=F(l,vr),x(l,Ii),o&&(x(l,Wr),x(l,T(lt(o))),x(l,yr)),s&&(x(l,_o),x(l,T(lt(s))),x(l,yr)),c&&(x(l,Fa),x(l,T(lt(c))),x(l,yr)),g=F(l,Ma),g}function _a(l,n){return F(l,Oi)}function $o(l,n){return F(l,Oi)}function ll(l,n){return F(l,Oi)}var La=O('<div hidden id="'),jo=O('">'),$a=O("</div>"),ja=O('<svg aria-hidden="true" style="display:none" id="'),No=O('">'),zo=O("</svg>"),Na=O('<math aria-hidden="true" style="display:none" id="'),za=O('">'),Ba=O("</math>"),Fi=O('<table hidden id="'),Ua=O('">'),d=O("</table>"),y=O('<table hidden><tbody id="'),S=O('">'),R=O("</tbody></table>"),W=O('<table hidden><tr id="'),B=O('">'),X=O("</tr></table>"),oe=O('<table hidden><colgroup id="'),Oe=O('">'),Ne=O("</colgroup></table>");function je(l,n,o,s){switch(o.insertionMode){case gn:case ct:return x(l,La),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,jo);case sn:return x(l,ja),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,No);case ln:return x(l,Na),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,za);case On:return x(l,Fi),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,Ua);case pr:return x(l,y),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,S);case Ut:return x(l,W),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,B);case cn:return x(l,oe),x(l,n.segmentPrefix),x(l,T(s.toString(16))),F(l,Oe);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,n){switch(n.insertionMode){case gn:case ct:return F(l,$a);case sn:return F(l,zo);case ln:return F(l,Ba);case On:return F(l,d);case pr:return F(l,R);case Ut:return F(l,X);case cn:return F(l,Ne);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var It="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Vt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Bo=O(It+';$RS("'),Ha=O('$RS("'),Vr=O('","'),df=O('")<\/script>');function pf(l,n,o){x(l,n.startInlineScript),n.sentCompleteSegmentFunction?x(l,Ha):(n.sentCompleteSegmentFunction=!0,x(l,Bo)),x(l,n.segmentPrefix);var s=T(o.toString(16));return x(l,s),x(l,Vr),x(l,n.placeholderPrefix),x(l,s),F(l,df)}var cl=O(Wt+';$RC("'),hf=O('$RC("'),mf=O('","'),Tc=O('")<\/script>');function Rc(l,n,o,s){if(x(l,n.startInlineScript),n.sentCompleteBoundaryFunction?x(l,hf):(n.sentCompleteBoundaryFunction=!0,x(l,cl)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var c=T(s.toString(16));return x(l,o),x(l,mf),x(l,n.segmentPrefix),x(l,c),F(l,Tc)}var gf=O(Vt+';$RX("'),vf=O('$RX("'),yf=O('"'),bf=O(")<\/script>"),Lt=O(",");function wf(l,n,o,s,c,g){if(x(l,n.startInlineScript),n.sentClientRenderFunction?x(l,vf):(n.sentClientRenderFunction=!0,x(l,gf)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),x(l,yf),(s||c||g)&&(x(l,Lt),x(l,T(Wa(s||"")))),(c||g)&&(x(l,Lt),x(l,T(Wa(c||"")))),g&&(x(l,Lt),x(l,T(Wa(g)))),F(l,bf)}var Pc=/[<\u2028\u2029]/g;function Wa(l){var n=JSON.stringify(l);return n.replace(Pc,function(o){switch(o){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Gt=Object.assign,Ac=Symbol.for("react.element"),Va=Symbol.for("react.portal"),Ga=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),Xa=Symbol.for("react.profiler"),Mi=Symbol.for("react.provider"),Di=Symbol.for("react.context"),Uo=Symbol.for("react.forward_ref"),ul=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),dl=Symbol.for("react.memo"),Qa=Symbol.for("react.lazy"),Oc=Symbol.for("react.scope"),xf=Symbol.for("react.debug_trace_mode"),Sf=Symbol.for("react.legacy_hidden"),kf=Symbol.for("react.default_value"),pl=Symbol.iterator,it="@@iterator";function _i(l){if(l===null||typeof l!="object")return null;var n=pl&&l[pl]||l[it];return typeof n=="function"?n:null}function Ic(l,n,o){var s=l.displayName;if(s)return s;var c=n.displayName||n.name||"";return c!==""?o+"("+c+")":o}function hl(l){return l.displayName||"Context"}function rt(l){if(l==null)return null;if(typeof l.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ga:return"Fragment";case Va:return"Portal";case Xa:return"Profiler";case Ya:return"StrictMode";case ul:return"Suspense";case fl:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Di:var n=l;return hl(n)+".Consumer";case Mi:var o=l;return hl(o._context)+".Provider";case Uo:return Ic(l,l.render,"ForwardRef");case dl:var s=l.displayName||null;return s!==null?s:rt(l.type)||"Memo";case Qa:{var c=l,g=c._payload,w=c._init;try{return rt(w(g))}catch{return null}}}return null}var Ho=0,ml,gl,vl,yl,Fc,Mc,qa;function Ka(){}Ka.__reactDisabledLog=!0;function Li(){{if(Ho===0){ml=console.log,gl=console.info,vl=console.warn,yl=console.error,Fc=console.group,Mc=console.groupCollapsed,qa=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ka,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Ho++}}function bl(){{if(Ho--,Ho===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},l,{value:ml}),info:Gt({},l,{value:gl}),warn:Gt({},l,{value:vl}),error:Gt({},l,{value:yl}),group:Gt({},l,{value:Fc}),groupCollapsed:Gt({},l,{value:Mc}),groupEnd:Gt({},l,{value:qa})})}Ho<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Wo=r.ReactCurrentDispatcher,wl;function Gr(l,n,o){{if(wl===void 0)try{throw Error()}catch(c){var s=c.stack.trim().match(/\n( *(at )?)/);wl=s&&s[1]||""}return`
|
|
79
|
+
`+wl+l}}var xl=!1,$i;{var Ef=typeof WeakMap=="function"?WeakMap:Map;$i=new Ef}function ji(l,n){if(!l||xl)return"";{var o=$i.get(l);if(o!==void 0)return o}var s;xl=!0;var c=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Wo.current,Wo.current=null,Li();try{if(n){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(Xe){s=Xe}Reflect.construct(l,[],w)}else{try{w.call()}catch(Xe){s=Xe}l.call(w.prototype)}}else{try{throw Error()}catch(Xe){s=Xe}l()}}catch(Xe){if(Xe&&s&&typeof Xe.stack=="string"){for(var k=Xe.stack.split(`
|
|
80
80
|
`),M=s.stack.split(`
|
|
81
81
|
`),z=k.length-1,Q=M.length-1;z>=1&&Q>=0&&k[z]!==M[Q];)Q--;for(;z>=1&&Q>=0;z--,Q--)if(k[z]!==M[Q]){if(z!==1||Q!==1)do if(z--,Q--,Q<0||k[z]!==M[Q]){var ee=`
|
|
82
|
-
`+k[z].replace(" at new "," at ");return l.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",l.displayName)),typeof l=="function"&&$i.set(l,ee),ee}while(z>=1&&Q>=0);break}}}finally{
|
|
82
|
+
`+k[z].replace(" at new "," at ");return l.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",l.displayName)),typeof l=="function"&&$i.set(l,ee),ee}while(z>=1&&Q>=0);break}}}finally{xl=!1,Wo.current=g,bl(),Error.prepareStackTrace=c}var de=l?l.displayName||l.name:"",Me=de?Gr(de):"";return typeof l=="function"&&$i.set(l,Me),Me}function Dc(l,n,o){return ji(l,!0)}function Sl(l,n,o){return ji(l,!1)}function Ja(l){var n=l.prototype;return!!(n&&n.isReactComponent)}function Za(l,n,o){if(l==null)return"";if(typeof l=="function")return ji(l,Ja(l));if(typeof l=="string")return Gr(l);switch(l){case ul:return Gr("Suspense");case fl:return Gr("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Uo:return Sl(l.render);case dl:return Za(l.type,n,o);case Qa:{var s=l,c=s._payload,g=s._init;try{return Za(g(c),n,o)}catch{}}}return""}var es={},Ni=r.ReactDebugCurrentFrame;function zi(l){if(l){var n=l._owner,o=Za(l.type,l._source,n?n.type:null);Ni.setExtraStackFrame(o)}else Ni.setExtraStackFrame(null)}function _c(l,n,o,s,c){{var g=Function.call.bind(le);for(var w in l)if(g(l,w)){var k=void 0;try{if(typeof l[w]!="function"){var M=Error((s||"React class")+": "+o+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}k=l[w](n,w,s,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){k=z}k&&!(k instanceof Error)&&(zi(c),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",o,w,typeof k),zi(null)),k instanceof Error&&!(k.message in es)&&(es[k.message]=!0,zi(c),a("Failed %s type: %s",o,k.message),zi(null))}}}var Yr;Yr={};var ts={};Object.freeze(ts);function br(l,n){{var o=l.contextTypes;if(!o)return ts;var s={};for(var c in o)s[c]=n[c];{var g=rt(l)||"Unknown";_c(o,s,"context",g)}return s}}function kl(l,n,o,s){{if(typeof l.getChildContext!="function"){{var c=rt(n)||"Unknown";Yr[c]||(Yr[c]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",c,c))}return o}var g=l.getChildContext();for(var w in g)if(!(w in s))throw new Error((rt(n)||"Unknown")+'.getChildContext(): key "'+w+'" is not defined in childContextTypes.');{var k=rt(n)||"Unknown";_c(s,g,"child context",k)}return Gt({},o,g)}}var Xr;Xr={};var ns=null,wr=null;function rs(l){l.context._currentValue=l.parentValue}function os(l){l.context._currentValue=l.value}function Bi(l,n){if(l!==n){rs(l);var o=l.parent,s=n.parent;if(o===null){if(s!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(s===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Bi(o,s)}os(n)}}function Ui(l){rs(l);var n=l.parent;n!==null&&Ui(n)}function Lc(l){var n=l.parent;n!==null&&Lc(n),os(l)}function $c(l,n){rs(l);var o=l.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===n.depth?Bi(o,n):$c(o,n)}function jc(l,n){var o=n.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===o.depth?Bi(l,o):jc(l,o),os(n)}function xr(l){var n=wr,o=l;n!==o&&(n===null?Lc(o):o===null?Ui(n):n.depth===o.depth?Bi(n,o):n.depth>o.depth?$c(n,o):jc(n,o),wr=o)}function El(l,n){var o;o=l._currentValue,l._currentValue=n,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xr;var s=wr,c={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:o,value:n};return wr=c,c}function Cf(l){var n=wr;if(n===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");n.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var o=n.parentValue;o===kf?n.context._currentValue=n.context._defaultValue:n.context._currentValue=o,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xr&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xr}return wr=n.parent}function Nc(){return wr}function Vo(l){var n=l._currentValue;return n}function Hi(l){return l._reactInternals}function Cl(l,n){l._reactInternals=n}var is={},as={},ss,Go,Wi,Vi,ls,Gi,cs,us,Tl;{ss=new Set,Go=new Set,Wi=new Set,cs=new Set,Vi=new Set,us=new Set,Tl=new Set;var zc=new Set;Gi=function(l,n){if(!(l===null||typeof l=="function")){var o=n+"_"+l;zc.has(o)||(zc.add(o),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,l))}},ls=function(l,n){if(n===void 0){var o=rt(l)||"Component";Vi.has(o)||(Vi.add(o),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}}}function Bc(l,n){{var o=l.constructor,s=o&&rt(o)||"ReactClass",c=s+"."+n;if(is[c])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
|
|
83
83
|
|
|
84
|
-
Please check the code for the %s component.`,n,n,s),is[c]=!0}}var
|
|
84
|
+
Please check the code for the %s component.`,n,n,s),is[c]=!0}}var Uc={isMounted:function(l){return!1},enqueueSetState:function(l,n,o){var s=Hi(l);s.queue===null?Bc(l,"setState"):(s.queue.push(n),o!=null&&Gi(o,"setState"))},enqueueReplaceState:function(l,n,o){var s=Hi(l);s.replace=!0,s.queue=[n],o!=null&&Gi(o,"setState")},enqueueForceUpdate:function(l,n){var o=Hi(l);o.queue===null?Bc(l,"forceUpdate"):n!=null&&Gi(n,"setState")}};function Tf(l,n,o,s,c){var g=o(c,s);ls(n,g);var w=g==null?s:Gt({},s,g);return w}function Hc(l,n,o){var s=ts,c=l.contextType;if("contextType"in l){var g=c===null||c!==void 0&&c.$$typeof===Di&&c._context===void 0;if(!g&&!Tl.has(l)){Tl.add(l);var w="";c===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof c!="object"?w=" However, it is set to a "+typeof c+".":c.$$typeof===Mi?w=" Did you accidentally pass the Context.Provider instead?":c._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(c).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",rt(l)||"Component",w)}}typeof c=="object"&&c!==null?s=Vo(c):s=o;var k=new l(n,s);{if(typeof l.getDerivedStateFromProps=="function"&&(k.state===null||k.state===void 0)){var M=rt(l)||"Component";ss.has(M)||(ss.add(M),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,k.state===null?"null":"undefined",M))}if(typeof l.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"){var z=null,Q=null,ee=null;if(typeof k.componentWillMount=="function"&&k.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&(z="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"&&k.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"&&k.componentWillUpdate.__suppressDeprecationWarning!==!0?ee="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(ee="UNSAFE_componentWillUpdate"),z!==null||Q!==null||ee!==null){var de=rt(l)||"Component",Me=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wi.has(de)||(Wi.add(de),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
85
85
|
|
|
86
86
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
87
87
|
|
|
@@ -89,43 +89,43 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
89
89
|
https://reactjs.org/link/unsafe-component-lifecycles`,de,Me,z!==null?`
|
|
90
90
|
`+z:"",Q!==null?`
|
|
91
91
|
`+Q:"",ee!==null?`
|
|
92
|
-
`+ee:""))}}}return k}function
|
|
92
|
+
`+ee:""))}}}return k}function Rf(l,n,o){{var s=rt(n)||"Component",c=l.render;c||(n.prototype&&typeof n.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",s)),l.getInitialState&&!l.getInitialState.isReactClassApproved&&!l.state&&a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",s),l.getDefaultProps&&!l.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",s),l.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),l.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),l.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),n.contextType&&n.contextTypes&&!us.has(n)&&(us.add(n),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof l.componentShouldUpdate=="function"&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",s),n.prototype&&n.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",rt(n)||"A pure component"),typeof l.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof l.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var g=l.props!==o;l.props!==void 0&&g&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),l.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Go.has(n)&&(Go.add(n),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",rt(n))),typeof l.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof l.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof n.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var w=l.state;w&&(typeof w!="object"||Rt(w))&&a("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof n.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function Pf(l,n){var o=n.state;if(typeof n.componentWillMount=="function"){if(n.componentWillMount.__suppressDeprecationWarning!==!0){var s=rt(l)||"Unknown";as[s]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
|
|
93
93
|
|
|
94
94
|
* Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
|
|
95
95
|
|
|
96
|
-
Please update the following components: %s`,s),as[s]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),o!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(l)||"Component"),
|
|
96
|
+
Please update the following components: %s`,s),as[s]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),o!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(l)||"Component"),Uc.enqueueReplaceState(n,n.state,null))}function Rl(l,n,o,s){if(l.queue!==null&&l.queue.length>0){var c=l.queue,g=l.replace;if(l.queue=null,l.replace=!1,g&&c.length===1)n.state=c[0];else{for(var w=g?c[0]:n.state,k=!0,M=g?1:0;M<c.length;M++){var z=c[M],Q=typeof z=="function"?z.call(n,w,o,s):z;Q!=null&&(k?(k=!1,w=Gt({},w,Q)):Gt(w,Q))}n.state=w}}else l.queue=null}function Yi(l,n,o,s){Rf(l,n,o);var c=l.state!==void 0?l.state:null;l.updater=Uc,l.props=o,l.state=c;var g={queue:[],replace:!1};Cl(l,g);var w=n.contextType;if(typeof w=="object"&&w!==null?l.context=Vo(w):l.context=s,l.state===o){var k=rt(n)||"Component";cs.has(k)||(cs.add(k),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))}var M=n.getDerivedStateFromProps;typeof M=="function"&&(l.state=Tf(l,n,M,c,o)),typeof n.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Pf(n,l),Rl(g,l,o,s))}var Af={id:1,overflow:""};function Of(l){var n=l.overflow,o=l.id,s=o&~If(o);return s.toString(32)+n}function Pl(l,n,o){var s=l.id,c=l.overflow,g=fs(s)-1,w=s&~(1<<g),k=o+1,M=fs(n)+g;if(M>30){var z=g-g%5,Q=(1<<z)-1,ee=(w&Q).toString(32),de=w>>z,Me=g-z,Xe=fs(n)+Me,vt=k<<Me,to=vt|de,no=ee+c;return{id:1<<Xe|to,overflow:no}}else{var tr=k<<g,Zo=tr|w,sd=c;return{id:1<<M|Zo,overflow:sd}}}function fs(l){return 32-Ff(l)}function If(l){return 1<<fs(l)-1}var Ff=Math.clz32?Math.clz32:Al,Mf=Math.log,Kn=Math.LN2;function Al(l){var n=l>>>0;return n===0?32:31-(Mf(n)/Kn|0)|0}function ds(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var nt=typeof Object.is=="function"?Object.is:ds,Yt=null,Yo=null,Qr=null,Ge=null,Sr=!1,ps=!1,Xt=0,Qt=null,Ln=0,Df=25,bn=!1,kr;function qr(){if(Yt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
97
97
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
98
98
|
2. You might be breaking the Rules of Hooks
|
|
99
99
|
3. You might have more than one copy of React in the same app
|
|
100
|
-
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return bn&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Yt}function
|
|
100
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return bn&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Yt}function _f(l,n){if(n===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",kr),!1;l.length!==n.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
101
101
|
|
|
102
102
|
Previous: %s
|
|
103
|
-
Incoming: %s`,kr,"["+l.join(", ")+"]","["+n.join(", ")+"]");for(var o=0;o<n.length&&o<l.length;o++)if(!nt(l[o],n[o]))return!1;return!0}function
|
|
103
|
+
Incoming: %s`,kr,"["+l.join(", ")+"]","["+n.join(", ")+"]");for(var o=0;o<n.length&&o<l.length;o++)if(!nt(l[o],n[o]))return!1;return!0}function Ol(){if(Ln>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xi(){return Ge===null?Qr===null?(Sr=!1,Qr=Ge=Ol()):(Sr=!0,Ge=Qr):Ge.next===null?(Sr=!1,Ge=Ge.next=Ol()):(Sr=!0,Ge=Ge.next),Ge}function Lf(l,n){Yt=n,Yo=l,bn=!1,Xt=0}function $f(l,n,o,s){for(;ps;)ps=!1,Xt=0,Ln+=1,Ge=null,o=l(n,s);return Il(),o}function hs(){var l=Xt!==0;return l}function Il(){bn=!1,Yt=null,Yo=null,ps=!1,Qr=null,Ln=0,Qt=null,Ge=null}function Wc(l){return bn&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(l)}function Vc(l){return kr="useContext",qr(),Vo(l)}function Fl(l,n){return typeof n=="function"?n(l):n}function jf(l){return kr="useState",Gc(Fl,l)}function Gc(l,n,o){if(l!==Fl&&(kr="useReducer"),Yt=qr(),Ge=Xi(),Sr){var s=Ge.queue,c=s.dispatch;if(Qt!==null){var g=Qt.get(s);if(g!==void 0){Qt.delete(s);var w=Ge.memoizedState,k=g;do{var M=k.action;bn=!0,w=l(w,M),bn=!1,k=k.next}while(k!==null);return Ge.memoizedState=w,[w,c]}}return[Ge.memoizedState,c]}else{bn=!0;var z;l===Fl?z=typeof n=="function"?n():n:z=o!==void 0?o(n):n,bn=!1,Ge.memoizedState=z;var Q=Ge.queue={last:null,dispatch:null},ee=Q.dispatch=Bf.bind(null,Yt,Q);return[Ge.memoizedState,ee]}}function Yc(l,n){Yt=qr(),Ge=Xi();var o=n===void 0?null:n;if(Ge!==null){var s=Ge.memoizedState;if(s!==null&&o!==null){var c=s[1];if(_f(o,c))return s[0]}}bn=!0;var g=l();return bn=!1,Ge.memoizedState=[g,o],g}function Nf(l){Yt=qr(),Ge=Xi();var n=Ge.memoizedState;if(n===null){var o={current:l};return Object.seal(o),Ge.memoizedState=o,o}else return n}function zf(l,n){kr="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Bf(l,n,o){if(Ln>=Df)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Yt){ps=!0;var s={action:o,next:null};Qt===null&&(Qt=new Map);var c=Qt.get(n);if(c===void 0)Qt.set(n,s);else{for(var g=c;g.next!==null;)g=g.next;g.next=s}}}function Uf(l,n){return Yc(function(){return l},n)}function Hf(l,n,o){return qr(),n(l._source)}function Wf(l,n,o){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return o()}function ms(l){return qr(),l}function Xc(){throw new Error("startTransition cannot be called during server rendering.")}function Ml(){return qr(),[!1,Xc]}function Qc(){var l=Yo,n=Of(l.treeContext),o=Qi;if(o===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Xt++;return un(o,n,s)}function gs(){}var vs={readContext:Wc,useContext:Vc,useMemo:Yc,useReducer:Gc,useRef:Nf,useState:jf,useInsertionEffect:gs,useLayoutEffect:zf,useCallback:Uf,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ms,useTransition:Ml,useId:Qc,useMutableSource:Hf,useSyncExternalStore:Wf},Qi=null;function ys(l){Qi=l}function Xo(l){try{var n="",o=l;do{switch(o.tag){case 0:n+=Gr(o.type,null,null);break;case 1:n+=Sl(o.type,null,null);break;case 2:n+=Dc(o.type,null,null);break}o=o.parent}while(o);return n}catch(s){return`
|
|
104
104
|
Error generating stack: `+s.message+`
|
|
105
|
-
`+s.stack}}var bs=r.ReactCurrentDispatcher,ws=r.ReactDebugCurrentFrame,xs=0,Qo=1,_l=2,Kr=3,Jc=4,Gf=0,qo=1,Ko=2,Yf=12800;function Xf(l){return console.error(l),null}function Jr(){}function Ss(l,n,o,s,c,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:n,progressiveChunkSize:s===void 0?Yf:s,status:Gf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?Xf:c,onAllReady:g===void 0?Jr:g,onShellReady:w===void 0?Jr:w,onShellError:k===void 0?Jr:k,onFatalError:M===void 0?Jr:M},de=qi(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=Zr(ee,l,null,de,Q,ts,ns,Af);return z.push(Me),ee}function Jn(l,n){var o=l.pingedTasks;o.push(n),o.length===1&&p(function(){return Gl(l)})}function Ll(l,n){return{id:hr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Zr(l,n,o,s,c,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:n,ping:function(){return Jn(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:c,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,c.add(M),M}function qi(l,n,o,s,c,g){return{status:xs,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:c,textEmbedded:g}}var Zn=null;function $n(){return Zn===null||Zn.componentStack===null?"":Xo(Zn.componentStack)}function er(l,n){l.componentStack={tag:0,parent:l.componentStack,type:n}}function ks(l,n){l.componentStack={tag:1,parent:l.componentStack,type:n}}function Ki(l,n){l.componentStack={tag:2,parent:l.componentStack,type:n}}function wn(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ji=null;function $l(l,n){{var o;typeof n=="string"?o=n:n&&typeof n.message=="string"?o=n.message:o=String(n);var s=Ji||$n();Ji=null,l.errorMessage=o,l.errorComponentStack=s}}function Zi(l,n){var o=l.onError(n);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ea(l,n){var o=l.onShellError;o(n);var s=l.onFatalError;s(n),l.destination!==null?(l.status=Ko,U(l.destination,n)):(l.status=qo,l.fatalError=n)}function Zc(l,n,o){er(n,"Suspense");var s=n.blockedBoundary,c=n.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=Ll(l,k),z=c.chunks.length,Q=qi(l,z,M,c.formatContext,!1,!1);c.children.push(Q),c.lastPushedText=!1;var ee=qi(l,0,null,c.formatContext,!1,!1);ee.parentFlushed=!0,n.blockedBoundary=M,n.blockedSegment=ee;try{if(Jo(l,n,w),Ot(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){wn(n);return}}catch(Me){ee.status=Jc,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),$l(M,Me)}finally{n.blockedBoundary=s,n.blockedSegment=c}var de=Zr(l,g,s,Q,k,n.legacyContext,n.context,n.treeContext);de.componentStack=n.componentStack,l.pingedTasks.push(de),wn(n)}function Qf(l,n,o,s){er(n,o);var c=n.blockedSegment,g=Ur(c.chunks,o,s,l.responseState,c.formatContext);c.lastPushedText=!1;var w=c.formatContext;c.formatContext=Gn(w,o,s),Jo(l,n,g),c.formatContext=w,Aa(c.chunks,o),c.lastPushedText=!1,wn(n)}function eu(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,n,o,s,c){var g={};$f(n,g);var w=o(s,c);return jf(o,s,w,c)}function jl(l,n,o,s,c){var g=o.render();o.props!==c&&(Ul||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rt(s)||"a component"),Ul=!0);{var w=s.childContextTypes;if(w!=null){var k=n.legacyContext,M=El(o,s,k,w);n.legacyContext=M,Ft(l,n,g),n.legacyContext=k;return}}Ft(l,n,g)}function tu(l,n,o,s){Ki(n,o);var c=br(o,n.legacyContext),g=Vc(o,s,c);Yi(g,o,s,c),jl(l,n,g,o,s),wn(n)}var Nl={},na={},zl={},Bl={},Ul=!1,nu={},ru=!1,Hl=!1,ou=!1;function qf(l,n,o,s){var c;if(c=br(o,n.legacyContext),ks(n,o),o.prototype&&typeof o.prototype.render=="function"){var g=rt(o)||"Unknown";Nl[g]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),Nl[g]=!0)}var w=ta(l,n,o,s,c),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=rt(o)||"Unknown";na[M]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),na[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=rt(o)||"Unknown";na[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),na[z]=!0)}Yi(w,o,s,c),jl(l,n,w,o,s)}else if(Kf(o),k){var Q=n.treeContext,ee=1,de=0;n.treeContext=Ol(Q,ee,de);try{Ft(l,n,w)}finally{n.treeContext=Q}}else Ft(l,n,w);wn(n)}function Kf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var n=rt(l)||"Unknown";nu[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),nu[n]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=rt(l)||"Unknown";Bl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),Bl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";zl[s]||(a("%s: Function components do not support contextType.",s),zl[s]=!0)}}}function iu(l,n){if(l&&l.defaultProps){var o=Gt({},n),s=l.defaultProps;for(var c in s)o[c]===void 0&&(o[c]=s[c]);return o}return n}function Jf(l,n,o,s,c){ks(n,o.render);var g=ta(l,n,o.render,s,c),w=hs();if(w){var k=n.treeContext,M=1,z=0;n.treeContext=Ol(k,M,z);try{Ft(l,n,g)}finally{n.treeContext=k}}else Ft(l,n,g);wn(n)}function Wl(l,n,o,s,c){var g=o.type,w=iu(g,s);Es(l,n,g,w,c)}function Zf(l,n,o,s){o._context===void 0?o!==o.Consumer&&(ou||(ou=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var c=s.children;typeof c!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var g=Vo(o),w=c(g);Ft(l,n,w)}function qt(l,n,o,s){var c=o._context,g=s.value,w=s.children,k;k=n.context,n.context=Cl(c,g),Ft(l,n,w),n.context=Tf(c),k!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function ed(l,n,o,s,c){er(n,"Lazy");var g=o._payload,w=o._init,k=w(g),M=iu(k,s);Es(l,n,k,M,c),wn(n)}function Es(l,n,o,s,c){if(typeof o=="function")if(eu(o)){tu(l,n,o,s);return}else{qf(l,n,o,s);return}if(typeof o=="string"){Qf(l,n,o,s);return}switch(o){case kf:case Sf:case Ya:case Xa:case Ga:{Ft(l,n,s.children);return}case dl:{er(n,"SuspenseList"),Ft(l,n,s.children),wn(n);return}case Fc:throw new Error("ReactDOMServer does not yet support scope components.");case fl:{Zc(l,n,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{Jf(l,n,o,s,c);return}case pl:{Wl(l,n,o,s,c);return}case Mi:{qt(l,n,o,s);return}case Di:{Zf(l,n,o,s);return}case Qa:{ed(l,n,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function td(l,n){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(ru||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),ru=!0),l.entries===n&&(Hl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Hl=!0)}function Ft(l,n,o){try{return nd(l,n,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:$n()),s}}function nd(l,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ic:{var s=o,c=s.type,g=s.props,w=s.ref;Es(l,n,c,g,w);return}case Va:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qa:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(tr){throw typeof tr=="object"&&tr!==null&&typeof tr.then=="function"&&er(n,"Lazy"),tr}Ft(l,n,Q);return}}if(Rt(o)){au(l,n,o);return}var ee=_i(o);if(ee){td(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);au(l,n,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=n.blockedSegment;to.lastPushedText=mt(n.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var no=n.blockedSegment;no.lastPushedText=mt(n.blockedSegment.chunks,""+o,l.responseState,no.lastPushedText);return}typeof o=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function au(l,n,o){for(var s=o.length,c=0;c<s;c++){var g=n.treeContext;n.treeContext=Ol(g,s,c);try{Jo(l,n,o[c])}finally{n.treeContext=g}}}function su(l,n,o){var s=n.blockedSegment,c=s.chunks.length,g=qi(l,c,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=Zr(l,n.node,n.blockedBoundary,g,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(w.componentStack=n.componentStack.parent);var k=w.ping;o.then(k,k)}function Jo(l,n,o){var s=n.blockedSegment.formatContext,c=n.legacyContext,g=n.context,w=null;w=n.componentStack;try{return Ft(l,n,o)}catch(k){if(Fl(),typeof k=="object"&&k!==null&&typeof k.then=="function"){su(l,n,k),n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w;return}else throw n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w,k}}function lu(l,n,o,s){var c=Zi(l,s);if(n===null?ea(l,s):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=c,$l(n,s),n.parentFlushed&&l.clientRenderedBoundaries.push(n))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l){var n=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kr,ra(n,o,s)}function Vl(l,n,o){var s=l.blockedBoundary,c=l.blockedSegment;if(c.status=Kr,s===null)n.allPendingTasks--,n.status!==Ko&&(n.status=Ko,n.destination!==null&&L(n.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=n.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Zn;Zn=l;try{$l(s,g)}finally{Zn=k}}s.parentFlushed&&n.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Vl(z,n,o)}),s.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var M=n.onAllReady;M()}}}function eo(l,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var o=n.children[0];o.id=n.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(n)}}function ra(l,n,o){if(n===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Jr;var s=l.onShellReady;s()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(n,o),n.parentFlushed&&l.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(rd,l),n.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(n,o);var c=n.completedSegments;c.length===1&&n.parentFlushed&&l.partialBoundaries.push(n)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function od(l,n){var o=n.blockedSegment;if(o.status===xs){xr(n.context);var s=null;s=Zn,Zn=n;try{Ft(l,n,n.node),Ot(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),n.abortSet.delete(n),o.status=Qo,ra(l,n.blockedBoundary,o)}catch(g){if(Fl(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var c=n.ping;g.then(c,c)}else n.abortSet.delete(n),o.status=Jc,lu(l,n.blockedBoundary,o,g)}finally{Zn=s}}}function Gl(l){if(l.status!==Ko){var n=Bc(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=$n;var c=Qi;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];od(l,k)}g.splice(0,w),l.destination!==null&&Yl(l,l.destination)}catch(M){Zi(l,M),ea(l,M)}finally{ys(c),bs.current=o,ws.getCurrentStack=s,o===vs&&xr(n)}}}function oa(l,n,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ia(n,l.responseState,s)}case Qo:{o.status=_l;for(var c=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(n,g[w]);c=Cs(l,n,z)}for(;w<g.length-1;w++)x(n,g[w]);return w<g.length&&(c=F(n,g[w])),c}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,n,o){var s=o.boundary;if(s===null)return oa(l,n,o);if(s.parentFlushed=!0,s.forceClientRender)return At(n,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,n,o),cl(n,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var c=s.id=_t(l.responseState);return Lo(n,l.responseState,c),oa(l,n,o),$o(n,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(n,l.responseState,s.id),oa(l,n,o),$o(n,l.responseState);Da(n,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,n,w),_a(n,l.responseState)}}function cu(l,n,o){return xf(n,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,n,o){return je(n,l.responseState,o.formatContext,o.id),Cs(l,n,o),et(n,o.formatContext)}function uu(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];fu(l,n,o,g)}return s.length=0,Oc(n,l.responseState,o.id,o.rootSegmentID)}function id(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];if(!fu(l,n,o,g))return c++,s.splice(0,c),!1}return s.splice(0,c),!0}function fu(l,n,o,s){if(s.status===_l)return!0;var c=s.id;if(c===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,n,s)}else return Ts(l,n,s),hf(n,l.responseState,c)}function Yl(l,n){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,n,o),l.completedRootSegment=null,al(n,l.responseState));var s=l.clientRenderedBoundaries,c;for(c=0;c<s.length;c++){var g=s[c];cu(l,n,g)}s.splice(0,c);var w=l.completedBoundaries;for(c=0;c<w.length;c++){var k=w[c];uu(l,n,k)}w.splice(0,c),I(n),C(n);var M=l.partialBoundaries;for(c=0;c<M.length;c++){var z=M[c];if(!id(l,n,z)){l.destination=null,c++,M.splice(0,c);return}}M.splice(0,c);var Q=l.completedBoundaries;for(c=0;c<Q.length;c++){var ee=Q[c];uu(l,n,ee)}Q.splice(0,c)}finally{I(n),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),L(n))}}function du(l){p(function(){return Gl(l)})}function ad(l,n){if(l.status===qo){l.status=Ko,U(n,l.fatalError);return}if(l.status!==Ko&&l.destination===null){l.destination=n;try{Yl(l,n)}catch(o){Zi(l,o),ea(l,o)}}}function pu(l,n){try{var o=l.abortableTasks;o.forEach(function(s){return Vl(s,l,n)}),o.clear(),l.destination!==null&&Yl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function sd(l,n){return new Promise(function(o,s){var c,g,w=new Promise(function(de,Me){g=de,c=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){ad(z,Me)},cancel:function(Me){pu(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(n?n.identifierPrefix:void 0,n?n.nonce:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),In(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,g,k,M,c);if(n&&n.signal){var Q=n.signal,ee=function(){pu(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}du(z)})}gu.renderToReadableStream=sd,gu.version=t}()),gu}var gh;function Qy(){if(gh)return ei;gh=1;var e,t;return process.env.NODE_ENV==="production"?(e=Vy(),t=Gy()):(e=Yy(),t=Xy()),ei.version=e.version,ei.renderToString=e.renderToString,ei.renderToStaticMarkup=e.renderToStaticMarkup,ei.renderToNodeStream=e.renderToNodeStream,ei.renderToStaticNodeStream=e.renderToStaticNodeStream,ei.renderToReadableStream=t.renderToReadableStream,ei}var qy=Qy(),vu={exports:{}},yu={exports:{}},Ke={};/** @license React v16.13.1
|
|
105
|
+
`+s.stack}}var bs=r.ReactCurrentDispatcher,ws=r.ReactDebugCurrentFrame,xs=0,Qo=1,Dl=2,Kr=3,qc=4,Vf=0,qo=1,Ko=2,Gf=12800;function Yf(l){return console.error(l),null}function Jr(){}function Ss(l,n,o,s,c,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:n,progressiveChunkSize:s===void 0?Gf:s,status:Vf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?Yf:c,onAllReady:g===void 0?Jr:g,onShellReady:w===void 0?Jr:w,onShellError:k===void 0?Jr:k,onFatalError:M===void 0?Jr:M},de=qi(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=Zr(ee,l,null,de,Q,ts,ns,Af);return z.push(Me),ee}function Jn(l,n){var o=l.pingedTasks;o.push(n),o.length===1&&p(function(){return Vl(l)})}function _l(l,n){return{id:hr,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Zr(l,n,o,s,c,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:n,ping:function(){return Jn(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:c,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,c.add(M),M}function qi(l,n,o,s,c,g){return{status:xs,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:c,textEmbedded:g}}var Zn=null;function $n(){return Zn===null||Zn.componentStack===null?"":Xo(Zn.componentStack)}function er(l,n){l.componentStack={tag:0,parent:l.componentStack,type:n}}function ks(l,n){l.componentStack={tag:1,parent:l.componentStack,type:n}}function Ki(l,n){l.componentStack={tag:2,parent:l.componentStack,type:n}}function wn(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ji=null;function Ll(l,n){{var o;typeof n=="string"?o=n:n&&typeof n.message=="string"?o=n.message:o=String(n);var s=Ji||$n();Ji=null,l.errorMessage=o,l.errorComponentStack=s}}function Zi(l,n){var o=l.onError(n);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ea(l,n){var o=l.onShellError;o(n);var s=l.onFatalError;s(n),l.destination!==null?(l.status=Ko,U(l.destination,n)):(l.status=qo,l.fatalError=n)}function Kc(l,n,o){er(n,"Suspense");var s=n.blockedBoundary,c=n.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=_l(l,k),z=c.chunks.length,Q=qi(l,z,M,c.formatContext,!1,!1);c.children.push(Q),c.lastPushedText=!1;var ee=qi(l,0,null,c.formatContext,!1,!1);ee.parentFlushed=!0,n.blockedBoundary=M,n.blockedSegment=ee;try{if(Jo(l,n,w),At(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){wn(n);return}}catch(Me){ee.status=qc,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),Ll(M,Me)}finally{n.blockedBoundary=s,n.blockedSegment=c}var de=Zr(l,g,s,Q,k,n.legacyContext,n.context,n.treeContext);de.componentStack=n.componentStack,l.pingedTasks.push(de),wn(n)}function Xf(l,n,o,s){er(n,o);var c=n.blockedSegment,g=Ur(c.chunks,o,s,l.responseState,c.formatContext);c.lastPushedText=!1;var w=c.formatContext;c.formatContext=Gn(w,o,s),Jo(l,n,g),c.formatContext=w,Oa(c.chunks,o),c.lastPushedText=!1,wn(n)}function Jc(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,n,o,s,c){var g={};Lf(n,g);var w=o(s,c);return $f(o,s,w,c)}function $l(l,n,o,s,c){var g=o.render();o.props!==c&&(Bl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",rt(s)||"a component"),Bl=!0);{var w=s.childContextTypes;if(w!=null){var k=n.legacyContext,M=kl(o,s,k,w);n.legacyContext=M,Ft(l,n,g),n.legacyContext=k;return}}Ft(l,n,g)}function Zc(l,n,o,s){Ki(n,o);var c=br(o,n.legacyContext),g=Hc(o,s,c);Yi(g,o,s,c),$l(l,n,g,o,s),wn(n)}var jl={},na={},Nl={},zl={},Bl=!1,eu={},tu=!1,Ul=!1,nu=!1;function Qf(l,n,o,s){var c;if(c=br(o,n.legacyContext),ks(n,o),o.prototype&&typeof o.prototype.render=="function"){var g=rt(o)||"Unknown";jl[g]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jl[g]=!0)}var w=ta(l,n,o,s,c),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=rt(o)||"Unknown";na[M]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),na[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=rt(o)||"Unknown";na[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),na[z]=!0)}Yi(w,o,s,c),$l(l,n,w,o,s)}else if(qf(o),k){var Q=n.treeContext,ee=1,de=0;n.treeContext=Pl(Q,ee,de);try{Ft(l,n,w)}finally{n.treeContext=Q}}else Ft(l,n,w);wn(n)}function qf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var n=rt(l)||"Unknown";eu[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),eu[n]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=rt(l)||"Unknown";zl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),zl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";Nl[s]||(a("%s: Function components do not support contextType.",s),Nl[s]=!0)}}}function ru(l,n){if(l&&l.defaultProps){var o=Gt({},n),s=l.defaultProps;for(var c in s)o[c]===void 0&&(o[c]=s[c]);return o}return n}function Kf(l,n,o,s,c){ks(n,o.render);var g=ta(l,n,o.render,s,c),w=hs();if(w){var k=n.treeContext,M=1,z=0;n.treeContext=Pl(k,M,z);try{Ft(l,n,g)}finally{n.treeContext=k}}else Ft(l,n,g);wn(n)}function Hl(l,n,o,s,c){var g=o.type,w=ru(g,s);Es(l,n,g,w,c)}function Jf(l,n,o,s){o._context===void 0?o!==o.Consumer&&(nu||(nu=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var c=s.children;typeof c!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var g=Vo(o),w=c(g);Ft(l,n,w)}function qt(l,n,o,s){var c=o._context,g=s.value,w=s.children,k;k=n.context,n.context=El(c,g),Ft(l,n,w),n.context=Cf(c),k!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Zf(l,n,o,s,c){er(n,"Lazy");var g=o._payload,w=o._init,k=w(g),M=ru(k,s);Es(l,n,k,M,c),wn(n)}function Es(l,n,o,s,c){if(typeof o=="function")if(Jc(o)){Zc(l,n,o,s);return}else{Qf(l,n,o,s);return}if(typeof o=="string"){Xf(l,n,o,s);return}switch(o){case Sf:case xf:case Ya:case Xa:case Ga:{Ft(l,n,s.children);return}case fl:{er(n,"SuspenseList"),Ft(l,n,s.children),wn(n);return}case Oc:throw new Error("ReactDOMServer does not yet support scope components.");case ul:{Kc(l,n,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{Kf(l,n,o,s,c);return}case dl:{Hl(l,n,o,s,c);return}case Mi:{qt(l,n,o,s);return}case Di:{Jf(l,n,o,s);return}case Qa:{Zf(l,n,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function ed(l,n){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(tu||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),tu=!0),l.entries===n&&(Ul||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ul=!0)}function Ft(l,n,o){try{return td(l,n,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:$n()),s}}function td(l,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ac:{var s=o,c=s.type,g=s.props,w=s.ref;Es(l,n,c,g,w);return}case Va:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qa:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(tr){throw typeof tr=="object"&&tr!==null&&typeof tr.then=="function"&&er(n,"Lazy"),tr}Ft(l,n,Q);return}}if(Rt(o)){ou(l,n,o);return}var ee=_i(o);if(ee){ed(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);ou(l,n,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=n.blockedSegment;to.lastPushedText=mt(n.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var no=n.blockedSegment;no.lastPushedText=mt(n.blockedSegment.chunks,""+o,l.responseState,no.lastPushedText);return}typeof o=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function ou(l,n,o){for(var s=o.length,c=0;c<s;c++){var g=n.treeContext;n.treeContext=Pl(g,s,c);try{Jo(l,n,o[c])}finally{n.treeContext=g}}}function iu(l,n,o){var s=n.blockedSegment,c=s.chunks.length,g=qi(l,c,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=Zr(l,n.node,n.blockedBoundary,g,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(w.componentStack=n.componentStack.parent);var k=w.ping;o.then(k,k)}function Jo(l,n,o){var s=n.blockedSegment.formatContext,c=n.legacyContext,g=n.context,w=null;w=n.componentStack;try{return Ft(l,n,o)}catch(k){if(Il(),typeof k=="object"&&k!==null&&typeof k.then=="function"){iu(l,n,k),n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w;return}else throw n.blockedSegment.formatContext=s,n.legacyContext=c,n.context=g,xr(g),n.componentStack=w,k}}function au(l,n,o,s){var c=Zi(l,s);if(n===null?ea(l,s):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=c,Ll(n,s),n.parentFlushed&&l.clientRenderedBoundaries.push(n))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function nd(l){var n=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kr,ra(n,o,s)}function Wl(l,n,o){var s=l.blockedBoundary,c=l.blockedSegment;if(c.status=Kr,s===null)n.allPendingTasks--,n.status!==Ko&&(n.status=Ko,n.destination!==null&&L(n.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=n.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Zn;Zn=l;try{Ll(s,g)}finally{Zn=k}}s.parentFlushed&&n.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Wl(z,n,o)}),s.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var M=n.onAllReady;M()}}}function eo(l,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var o=n.children[0];o.id=n.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(n)}}function ra(l,n,o){if(n===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Jr;var s=l.onShellReady;s()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(n,o),n.parentFlushed&&l.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(nd,l),n.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(n,o);var c=n.completedSegments;c.length===1&&n.parentFlushed&&l.partialBoundaries.push(n)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l,n){var o=n.blockedSegment;if(o.status===xs){xr(n.context);var s=null;s=Zn,Zn=n;try{Ft(l,n,n.node),At(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),n.abortSet.delete(n),o.status=Qo,ra(l,n.blockedBoundary,o)}catch(g){if(Il(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var c=n.ping;g.then(c,c)}else n.abortSet.delete(n),o.status=qc,au(l,n.blockedBoundary,o,g)}finally{Zn=s}}}function Vl(l){if(l.status!==Ko){var n=Nc(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=$n;var c=Qi;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];rd(l,k)}g.splice(0,w),l.destination!==null&&Gl(l,l.destination)}catch(M){Zi(l,M),ea(l,M)}finally{ys(c),bs.current=o,ws.getCurrentStack=s,o===vs&&xr(n)}}}function oa(l,n,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ia(n,l.responseState,s)}case Qo:{o.status=Dl;for(var c=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(n,g[w]);c=Cs(l,n,z)}for(;w<g.length-1;w++)x(n,g[w]);return w<g.length&&(c=F(n,g[w])),c}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,n,o){var s=o.boundary;if(s===null)return oa(l,n,o);if(s.parentFlushed=!0,s.forceClientRender)return Ot(n,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,n,o),ll(n,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var c=s.id=_t(l.responseState);return Lo(n,l.responseState,c),oa(l,n,o),$o(n,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(n,l.responseState,s.id),oa(l,n,o),$o(n,l.responseState);Da(n,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,n,w),_a(n,l.responseState)}}function su(l,n,o){return wf(n,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,n,o){return je(n,l.responseState,o.formatContext,o.id),Cs(l,n,o),et(n,o.formatContext)}function lu(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];cu(l,n,o,g)}return s.length=0,Rc(n,l.responseState,o.id,o.rootSegmentID)}function od(l,n,o){for(var s=o.completedSegments,c=0;c<s.length;c++){var g=s[c];if(!cu(l,n,o,g))return c++,s.splice(0,c),!1}return s.splice(0,c),!0}function cu(l,n,o,s){if(s.status===Dl)return!0;var c=s.id;if(c===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,n,s)}else return Ts(l,n,s),pf(n,l.responseState,c)}function Gl(l,n){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,n,o),l.completedRootSegment=null,il(n,l.responseState));var s=l.clientRenderedBoundaries,c;for(c=0;c<s.length;c++){var g=s[c];su(l,n,g)}s.splice(0,c);var w=l.completedBoundaries;for(c=0;c<w.length;c++){var k=w[c];lu(l,n,k)}w.splice(0,c),I(n),C(n);var M=l.partialBoundaries;for(c=0;c<M.length;c++){var z=M[c];if(!od(l,n,z)){l.destination=null,c++,M.splice(0,c);return}}M.splice(0,c);var Q=l.completedBoundaries;for(c=0;c<Q.length;c++){var ee=Q[c];lu(l,n,ee)}Q.splice(0,c)}finally{I(n),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),L(n))}}function uu(l){p(function(){return Vl(l)})}function id(l,n){if(l.status===qo){l.status=Ko,U(n,l.fatalError);return}if(l.status!==Ko&&l.destination===null){l.destination=n;try{Gl(l,n)}catch(o){Zi(l,o),ea(l,o)}}}function fu(l,n){try{var o=l.abortableTasks;o.forEach(function(s){return Wl(s,l,n)}),o.clear(),l.destination!==null&&Gl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function ad(l,n){return new Promise(function(o,s){var c,g,w=new Promise(function(de,Me){g=de,c=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){id(z,Me)},cancel:function(Me){fu(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(n?n.identifierPrefix:void 0,n?n.nonce:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),In(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,g,k,M,c);if(n&&n.signal){var Q=n.signal,ee=function(){fu(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}uu(z)})}hu.renderToReadableStream=ad,hu.version=t}()),hu}var hh;function Wy(){if(hh)return ei;hh=1;var e,t;return process.env.NODE_ENV==="production"?(e=zy(),t=By()):(e=Uy(),t=Hy()),ei.version=e.version,ei.renderToString=e.renderToString,ei.renderToStaticMarkup=e.renderToStaticMarkup,ei.renderToNodeStream=e.renderToNodeStream,ei.renderToStaticNodeStream=e.renderToStaticNodeStream,ei.renderToReadableStream=t.renderToReadableStream,ei}var Vy=Wy(),mu={exports:{}},gu={exports:{}},Ke={};/** @license React v16.13.1
|
|
106
106
|
* react-is.production.min.js
|
|
107
107
|
*
|
|
108
108
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
109
109
|
*
|
|
110
110
|
* This source code is licensed under the MIT license found in the
|
|
111
111
|
* LICENSE file in the root directory of this source tree.
|
|
112
|
-
*/var
|
|
112
|
+
*/var mh;function Gy(){if(mh)return Ke;mh=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j($){if(typeof $=="object"&&$!==null){var J=$.$$typeof;switch(J){case t:switch($=$.type,$){case h:case v:case i:case u:case a:case x:return $;default:switch($=$&&$.$$typeof,$){case m:case C:case L:case I:case p:return $;default:return J}}case r:return J}}}function V($){return j($)===v}return Ke.AsyncMode=h,Ke.ConcurrentMode=v,Ke.ContextConsumer=m,Ke.ContextProvider=p,Ke.Element=t,Ke.ForwardRef=C,Ke.Fragment=i,Ke.Lazy=L,Ke.Memo=I,Ke.Portal=r,Ke.Profiler=u,Ke.StrictMode=a,Ke.Suspense=x,Ke.isAsyncMode=function($){return V($)||j($)===h},Ke.isConcurrentMode=V,Ke.isContextConsumer=function($){return j($)===m},Ke.isContextProvider=function($){return j($)===p},Ke.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},Ke.isForwardRef=function($){return j($)===C},Ke.isFragment=function($){return j($)===i},Ke.isLazy=function($){return j($)===L},Ke.isMemo=function($){return j($)===I},Ke.isPortal=function($){return j($)===r},Ke.isProfiler=function($){return j($)===u},Ke.isStrictMode=function($){return j($)===a},Ke.isSuspense=function($){return j($)===x},Ke.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===i||$===v||$===u||$===a||$===x||$===F||typeof $=="object"&&$!==null&&($.$$typeof===L||$.$$typeof===I||$.$$typeof===p||$.$$typeof===m||$.$$typeof===C||$.$$typeof===T||$.$$typeof===O||$.$$typeof===U||$.$$typeof===D)},Ke.typeOf=j,Ke}var Je={};/** @license React v16.13.1
|
|
113
113
|
* react-is.development.js
|
|
114
114
|
*
|
|
115
115
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
116
116
|
*
|
|
117
117
|
* This source code is licensed under the MIT license found in the
|
|
118
118
|
* LICENSE file in the root directory of this source tree.
|
|
119
|
-
*/var
|
|
119
|
+
*/var gh;function Yy(){return gh||(gh=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j(se){return typeof se=="string"||typeof se=="function"||se===i||se===v||se===u||se===a||se===x||se===F||typeof se=="object"&&se!==null&&(se.$$typeof===L||se.$$typeof===I||se.$$typeof===p||se.$$typeof===m||se.$$typeof===C||se.$$typeof===T||se.$$typeof===O||se.$$typeof===U||se.$$typeof===D)}function V(se){if(typeof se=="object"&&se!==null){var We=se.$$typeof;switch(We){case t:var ot=se.type;switch(ot){case h:case v:case i:case u:case a:case x:return ot;default:var Nt=ot&&ot.$$typeof;switch(Nt){case m:case C:case L:case I:case p:return Nt;default:return We}}case r:return We}}}var $=h,J=v,ae=m,ne=p,le=t,ye=C,De=i,Fe=L,$e=I,ze=r,xe=u,Re=a,Le=x,Z=!1;function ve(se){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(se)||V(se)===h}function Y(se){return V(se)===v}function K(se){return V(se)===m}function fe(se){return V(se)===p}function te(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function he(se){return V(se)===C}function me(se){return V(se)===i}function ce(se){return V(se)===L}function ue(se){return V(se)===I}function Ee(se){return V(se)===r}function Se(se){return V(se)===u}function Pe(se){return V(se)===a}function Be(se){return V(se)===x}Je.AsyncMode=$,Je.ConcurrentMode=J,Je.ContextConsumer=ae,Je.ContextProvider=ne,Je.Element=le,Je.ForwardRef=ye,Je.Fragment=De,Je.Lazy=Fe,Je.Memo=$e,Je.Portal=ze,Je.Profiler=xe,Je.StrictMode=Re,Je.Suspense=Le,Je.isAsyncMode=ve,Je.isConcurrentMode=Y,Je.isContextConsumer=K,Je.isContextProvider=fe,Je.isElement=te,Je.isForwardRef=he,Je.isFragment=me,Je.isLazy=ce,Je.isMemo=ue,Je.isPortal=Ee,Je.isProfiler=Se,Je.isStrictMode=Pe,Je.isSuspense=Be,Je.isValidElementType=j,Je.typeOf=V}()),Je}var vh;function ng(){return vh||(vh=1,process.env.NODE_ENV==="production"?gu.exports=Gy():gu.exports=Yy()),gu.exports}/*
|
|
120
120
|
object-assign
|
|
121
121
|
(c) Sindre Sorhus
|
|
122
122
|
@license MIT
|
|
123
|
-
*/var
|
|
124
|
-
Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var se=Be(ue,Pe,he,me,ce+"."+Pe,r);if(se)return se}return null}return T(K)}function ze(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ze);if(Y===null||m(Y))return!0;var K=x(Y);if(K){var fe=K.call(Y),te;if(K!==Y.entries){for(;!(te=fe.next()).done;)if(!ze(te.value))return!1}else for(;!(te=fe.next()).done;){var he=te.value;if(he&&!ze(he[1]))return!1}}else return!1;return!0;default:return!1}}function xe(Y,K){return Y==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function Re(Y){var K=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":xe(K,Y)?"symbol":K}function Le(Y){if(typeof Y>"u"||Y===null)return""+Y;var K=Re(Y);if(K==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return K}function Z(Y){var K=Le(Y);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ve(Y){return!Y.constructor||!Y.constructor.name?F:Y.constructor.name}return I.checkPropTypes=a,I.resetWarningCache=a.resetWarningCache,I.PropTypes=I,I},
|
|
125
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},fb=function(e,t){return sb(e)||lb(e,t)||cb(e,t)||ub()},lg=sg(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(r[u]=a[u])}return r},t.apply(this,arguments)}e.exports=t}),db=function(e,t){if(e==null)return{};var r,i,a={},u=Object.keys(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||(a[r]=e[r]);return a},cg=function(e,t){if(e==null)return{};var r,i,a=db(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a},pb=O.createContext(null);function ug(e){var t=e.children,r=t===void 0?"":t,i=cg(e,["children"]);return typeof r!="string"&&(r=qy.renderToString(r)),O.createElement("template",lg({},i,{dangerouslySetInnerHTML:{__html:r}}))}function fg(e){var t=e.root,r=e.children;return bc.createPortal(r===void 0?null:r,t)}function hb(e){var t=O.forwardRef(function(r,i){var a,u,p=r.mode,m=p===void 0?"open":p,h=r.delegatesFocus,v=h!==void 0&&h,C=r.styleSheets,x=C===void 0?[]:C,F=r.ssr,I=F!==void 0&&F,L=r.children,D=cg(r,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(u=O.useRef((a=i)&&a.current),O.useEffect(function(){a&&(a.current=u.current)},[a]),u),A=O.useState(null),U=fb(A,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return O.useLayoutEffect(function(){if(T.current)try{if(typeof i=="function"&&i(T.current),I){var J=T.current.shadowRoot;return void V(J)}var ae=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ae.adoptedStyleSheets=x),V(ae)}catch(ne){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:ne,styleSheets:x,root:j})}},[i,T,x]),O.createElement(O.Fragment,null,O.createElement(e.tag,lg({key:$,ref:T},D),(j||I)&&O.createElement(pb.Provider,{value:j},I?O.createElement(ug,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):O.createElement(fg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}ug.propTypes={children:_e.oneOfType([_e.string,_e.node])},fg.propTypes={root:_e.object.isRequired,children:_e.node};var gd=new Map;function mb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var u=ab(a,{separator:"-"}),p="".concat(t,"-").concat(u);return gd.has(p)||gd.set(p,hb({tag:u,render:r})),gd.get(p)}})}var gb=mb(),Ks=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sa=typeof window>"u"||"Deno"in globalThis;function Zt(){}function vb(e,t){return typeof e=="function"?e(t):e}function Nd(e){return typeof e=="number"&&e>=0&&e!==1/0}function dg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Fs(e,t){return typeof e=="function"?e(t):e}function or(e,t){return typeof e=="function"?e(t):e}function Ph(e,t){const{type:r="all",exact:i,fetchStatus:a,predicate:u,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==Lp(p,t.options))return!1}else if(!lc(t.queryKey,p))return!1}if(r!=="all"){const h=t.isActive();if(r==="active"&&!h||r==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||a&&a!==t.state.fetchStatus||u&&!u(t))}function Oh(e,t){const{exact:r,status:i,predicate:a,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(r){if(ka(t.options.mutationKey)!==ka(u))return!1}else if(!lc(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function Lp(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,r)=>Bd(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function lc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>lc(e[r],t[r])):!1}function zd(e,t){if(e===t)return e;const r=Ah(e)&&Ah(t);if(r||Bd(e)&&Bd(t)){const i=r?e:Object.keys(e),a=i.length,u=r?t:Object.keys(t),p=u.length,m=r?[]:{};let h=0;for(let v=0;v<p;v++){const C=r?v:u[v];(!r&&i.includes(C)||r)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=zd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Iu(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function Ah(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Bd(e){if(!Ih(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Ih(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ih(e){return Object.prototype.toString.call(e)==="[object Object]"}function yb(e){return new Promise(t=>{setTimeout(t,e)})}function Ud(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return zd(e,t)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${i}`),i}return zd(e,t)}return t}function bb(e,t,r=0){const i=[...e,t];return r&&i.length>r?i.slice(1):i}function wb(e,t,r=0){const i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}var Fu=Symbol();function pg(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Fu&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Fu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function hg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,$s,Xm,xb=(Xm=class extends Ks{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,$s);ge(this,$s,t=>{if(!Sa&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,$s))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var r;ge(this,$s,t),(r=_(this,ii))==null||r.call(this),ge(this,ii,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,pa)!==t&&(ge(this,pa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof _(this,pa)=="boolean"?_(this,pa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pa=new WeakMap,ii=new WeakMap,$s=new WeakMap,Xm),$p=new xb,js,ai,Ns,Qm,Sb=(Qm=class extends Ks{constructor(){super();Ie(this,js,!0);Ie(this,ai);Ie(this,Ns);ge(this,Ns,t=>{if(!Sa&&window.addEventListener){const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,Ns))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var r;ge(this,Ns,t),(r=_(this,ai))==null||r.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,js)!==t&&(ge(this,js,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,js)}},js=new WeakMap,ai=new WeakMap,Ns=new WeakMap,Qm),Mu=new Sb;function Hd(){let e,t;const r=new Promise((a,u)=>{e=a,t=u});r.status="pending",r.catch(()=>{});function i(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},r.reject=a=>{i({status:"rejected",reason:a}),t(a)},r}function kb(e){return Math.min(1e3*2**e,3e4)}function mg(e){return(e??"online")==="online"?Mu.isOnline():!0}var gg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function vd(e){return e instanceof gg}function vg(e){let t=!1,r=0,i=!1,a;const u=Hd(),p=D=>{var T;i||(F(new gg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>$p.isFocused()&&(e.networkMode==="always"||Mu.isOnline())&&e.canRun(),C=()=>mg(e.networkMode)&&e.canRun(),x=D=>{var T;i||(i=!0,(T=e.onSuccess)==null||T.call(e,D),a==null||a(),u.resolve(D))},F=D=>{var T;i||(i=!0,(T=e.onError)==null||T.call(e,D),a==null||a(),u.reject(D))},I=()=>new Promise(D=>{var T;a=A=>{(i||v())&&D(A)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(i)return;let D;const T=r===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(A){D=Promise.reject(A)}Promise.resolve(D).then(x).catch(A=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??kb,V=typeof j=="function"?j(r,A):j,$=U===!0||typeof U=="number"&&r<U||typeof U=="function"&&U(r,A);if(t||!$){F(A);return}r++,(J=e.onFail)==null||J.call(e,r,A),yb(V).then(()=>v()?void 0:I()).then(()=>{t?F(A):L()})})};return{promise:u,cancel:p,continue:()=>(a==null||a(),u),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),u)}}var Eb=e=>setTimeout(e,0);function Cb(){let e=[],t=0,r=m=>{m()},i=m=>{m()},a=Eb;const u=m=>{t?e.push(m):a(()=>{r(m)})},p=()=>{const m=e;e=[],m.length&&a(()=>{i(()=>{m.forEach(h=>{r(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{u(()=>{m(...h)})},schedule:u,setNotifyFunction:m=>{r=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{a=m}}}var bt=Cb(),ha,qm,yg=(qm=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Nd(this.gcTime)&&ge(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ha)&&(clearTimeout(_(this,ha)),ge(this,ha,void 0))}},ha=new WeakMap,qm),zs,Bs,Nn,ma,$t,mc,ga,nr,oo,Km,Tb=(Km=class extends yg{constructor(t){super();Ie(this,nr);Ie(this,zs);Ie(this,Bs);Ie(this,Nn);Ie(this,ma);Ie(this,$t);Ie(this,mc);Ie(this,ga);ge(this,ga,!1),ge(this,mc,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,ma,t.client),ge(this,Nn,_(this,ma).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,zs,Rb(this.options)),this.state=t.state??_(this,zs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,mc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Nn).remove(this)}setData(t,r){const i=Ud(this.state.data,t,this.options);return Ue(this,nr,oo).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(t,r){Ue(this,nr,oo).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var i,a;const r=(i=_(this,$t))==null?void 0:i.promise;return(a=_(this,$t))==null||a.cancel(t),r?r.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,zs))}isActive(){return this.observers.some(t=>or(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!dg(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}onOnline(){var r;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Nn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(_(this,$t)&&(_(this,ga)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,Nn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,nr,oo).call(this,{type:"invalidate"})}fetch(t,r){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,ga,!0),i.signal)})},u=()=>{const x=pg(this.options,r),F={client:_(this,ma),queryKey:this.queryKey,meta:this.meta};return a(F),ge(this,ga,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:_(this,ma),state:this.state,fetchFn:u};a(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,Bs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,nr,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;vd(x)&&x.silent||Ue(this,nr,oo).call(this,{type:"error",error:x}),vd(x)||((I=(F=_(this,Nn).config).onError)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,vg({initialPromise:r==null?void 0:r.initialPromise,fn:p.fetchFn,abort:i.abort.bind(i),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,Nn).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,nr,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,nr,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,nr,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},zs=new WeakMap,Bs=new WeakMap,Nn=new WeakMap,ma=new WeakMap,$t=new WeakMap,mc=new WeakMap,ga=new WeakMap,nr=new WeakSet,oo=function(t){const r=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...bg(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return vd(a)&&a.revert&&_(this,Bs)?{..._(this,Bs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=r(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,Nn).notify({query:this,type:"updated",action:t})})},Km);function bg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:mg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Rb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,i=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Cr,Jm,Pb=(Jm=class extends Ks{constructor(t={}){super();Ie(this,Cr);this.config=t,ge(this,Cr,new Map)}build(t,r,i){const a=r.queryKey,u=r.queryHash??Lp(a,r);let p=this.get(u);return p||(p=new Tb({client:t,queryKey:a,queryHash:u,options:t.defaultQueryOptions(r),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(p)),p}add(t){_(this,Cr).has(t.queryHash)||(_(this,Cr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=_(this,Cr).get(t.queryHash);r&&(t.destroy(),r===t&&_(this,Cr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cr).get(t)}getAll(){return[..._(this,Cr).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Ph(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>Ph(t,i)):r}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cr=new WeakMap,Jm),Tr,Kt,va,Rr,ri,Zm,Ob=(Zm=class extends yg{constructor(t){super();Ie(this,Rr);Ie(this,Tr);Ie(this,Kt);Ie(this,va);this.mutationId=t.mutationId,ge(this,Kt,t.mutationCache),ge(this,Tr,[]),this.state=t.state||wg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tr).includes(t)||(_(this,Tr).push(t),this.clearGcTimeout(),_(this,Kt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tr,_(this,Tr).filter(r=>r!==t)),this.scheduleGc(),_(this,Kt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tr).length||(this.state.status==="pending"?this.scheduleGc():_(this,Kt).remove(this))}continue(){var t;return((t=_(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var u,p,m,h,v,C,x,F,I,L,D,T,A,U,j,V,$,J,ae,ne;const r=()=>{Ue(this,Rr,ri).call(this,{type:"continue"})};ge(this,va,vg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rr,ri).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rr,ri).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Kt).canRun(this)}));const i=this.state.status==="pending",a=!_(this,va).canStart();try{if(i)r();else{Ue(this,Rr,ri).call(this,{type:"pending",variables:t,isPaused:a}),await((p=(u=_(this,Kt).config).onMutate)==null?void 0:p.call(u,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rr,ri).call(this,{type:"pending",context:ye,variables:t,isPaused:a})}const le=await _(this,va).start();return await((C=(v=_(this,Kt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Kt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rr,ri).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(A=_(this,Kt).config).onError)==null?void 0:U.call(A,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((J=($=_(this,Kt).config).onSettled)==null?void 0:J.call($,void 0,le,this.state.variables,this.state.context,this)),await((ne=(ae=this.options).onSettled)==null?void 0:ne.call(ae,void 0,le,t,this.state.context)),le}finally{Ue(this,Rr,ri).call(this,{type:"error",error:le})}}finally{_(this,Kt).runNext(this)}}},Tr=new WeakMap,Kt=new WeakMap,va=new WeakMap,Rr=new WeakSet,ri=function(t){const r=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),bt.batch(()=>{_(this,Tr).forEach(i=>{i.onMutationUpdate(t)}),_(this,Kt).notify({mutation:this,type:"updated",action:t})})},Zm);function wg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var io,rr,gc,eg,Ab=(eg=class extends Ks{constructor(t={}){super();Ie(this,io);Ie(this,rr);Ie(this,gc);this.config=t,ge(this,io,new Set),ge(this,rr,new Map),ge(this,gc,0)}build(t,r,i){const a=new Ob({mutationCache:this,mutationId:++hu(this,gc)._,options:t.defaultMutationOptions(r),state:i});return this.add(a),a}add(t){_(this,io).add(t);const r=bu(t);if(typeof r=="string"){const i=_(this,rr).get(r);i?i.push(t):_(this,rr).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,io).delete(t)){const r=bu(t);if(typeof r=="string"){const i=_(this,rr).get(r);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&_(this,rr).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=bu(t);if(typeof r=="string"){const i=_(this,rr).get(r),a=i==null?void 0:i.find(u=>u.state.status==="pending");return!a||a===t}else return!0}runNext(t){var i;const r=bu(t);if(typeof r=="string"){const a=(i=_(this,rr).get(r))==null?void 0:i.find(u=>u!==t&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,io).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,io).clear(),_(this,rr).clear()})}getAll(){return Array.from(_(this,io))}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Oh(r,i))}findAll(t={}){return this.getAll().filter(r=>Oh(t,r))}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return bt.batch(()=>Promise.all(t.map(r=>r.continue().catch(Zt))))}},io=new WeakMap,rr=new WeakMap,gc=new WeakMap,eg);function bu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Fh(e){return{onFetch:(t,r)=>{var C,x,F,I,L;const i=t.options,a=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,u=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},A=pg(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const J={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(J);const ae=await A(J),{maxPages:ne}=t.options,le=$?wb:bb;return{pages:le(j.pages,ae,ne),pageParams:le(j.pageParams,V,ne)}};if(a&&u.length){const j=a==="backward",V=j?Ib:Mh,$={pages:u,pageParams:p},J=V(i,$);m=await U($,J,j)}else{const j=e??u.length;do{const V=h===0?p[0]??i.initialPageParam:Mh(i,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=v}}}function Mh(e,{pages:t,pageParams:r}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}function Ib(e,{pages:t,pageParams:r}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,r[0],r):void 0}var pt,si,li,Us,Hs,ci,Ws,Vs,tg,Fb=(tg=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Us);Ie(this,Hs);Ie(this,ci);Ie(this,Ws);Ie(this,Vs);ge(this,pt,e.queryCache||new Pb),ge(this,si,e.mutationCache||new Ab),ge(this,li,e.defaultOptions||{}),ge(this,Us,new Map),ge(this,Hs,new Map),ge(this,ci,0)}mount(){hu(this,ci)._++,_(this,ci)===1&&(ge(this,Ws,$p.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Vs,Mu.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;hu(this,ci)._--,_(this,ci)===0&&((e=_(this,Ws))==null||e.call(this),ge(this,Ws,void 0),(t=_(this,Vs))==null||t.call(this),ge(this,Vs,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,si).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=_(this,pt).build(this,t),i=r.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Fs(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:r})=>{const i=r.data;return[t,i]})}setQueryData(e,t,r){const i=this.defaultQueryOptions({queryKey:e}),a=_(this,pt).get(i.queryHash),u=a==null?void 0:a.state.data,p=vb(t,u);if(p!==void 0)return _(this,pt).build(this,i).setData(p,{...r,manual:!0})}setQueriesData(e,t,r){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=_(this,pt);return bt.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},i=bt.batch(()=>_(this,pt).findAll(e).map(a=>a.cancel(r)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},i=bt.batch(()=>_(this,pt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,r);return r.throwOnError||(u=u.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(Zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=_(this,pt).build(this,t);return r.isStaleByTime(Fs(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}fetchInfiniteQuery(e){return e.behavior=Fh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Fh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Mu.isOnline()?_(this,si).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,si)}getDefaultOptions(){return _(this,li)}setDefaultOptions(e){ge(this,li,e)}setQueryDefaults(e,t){_(this,Us).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Us).values()],r={};return t.forEach(i=>{lc(e,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(e,t){_(this,Hs).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Hs).values()],r={};return t.forEach(i=>{lc(e,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,li).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Fu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,li).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,si).clear()}},pt=new WeakMap,si=new WeakMap,li=new WeakMap,Us=new WeakMap,Hs=new WeakMap,ci=new WeakMap,Ws=new WeakMap,Vs=new WeakMap,tg),pn,Ye,vc,Jt,ya,Gs,ui,fi,yc,Ys,Xs,ba,wa,di,Qs,Ze,ql,Wd,Vd,Gd,Yd,Xd,Qd,qd,xg,ng,Mb=(ng=class extends Ks{constructor(t,r){super();Ie(this,Ze);Ie(this,pn);Ie(this,Ye);Ie(this,vc);Ie(this,Jt);Ie(this,ya);Ie(this,Gs);Ie(this,ui);Ie(this,fi);Ie(this,yc);Ie(this,Ys);Ie(this,Xs);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Qs,new Set);this.options=r,ge(this,pn,t),ge(this,fi,null),ge(this,ui,Hd()),this.options.experimental_prefetchInRender||_(this,ui).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Dh(_(this,Ye),this.options)?Ue(this,Ze,ql).call(this):this.updateResult(),Ue(this,Ze,Yd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Xd).call(this),Ue(this,Ze,Qd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const r=this.options,i=_(this,Ye);if(this.options=_(this,pn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof or(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,Ze,qd).call(this),_(this,Ye).setOptions(this.options),r._defaulted&&!Iu(this.options,r)&&_(this,pn).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&_h(_(this,Ye),i,this.options,r)&&Ue(this,Ze,ql).call(this),this.updateResult(),a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||Fs(this.options.staleTime,_(this,Ye))!==Fs(r.staleTime,_(this,Ye)))&&Ue(this,Ze,Wd).call(this);const u=Ue(this,Ze,Vd).call(this);a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||u!==_(this,di))&&Ue(this,Ze,Gd).call(this,u)}getOptimisticResult(t){const r=_(this,pn).getQueryCache().build(_(this,pn),t),i=this.createResult(r,t);return _b(this,i)&&(ge(this,Jt,i),ge(this,Gs,this.options),ge(this,ya,_(this,Ye).state)),i}getCurrentResult(){return _(this,Jt)}trackResult(t,r){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),r==null||r(a),Reflect.get(i,a))})}trackProp(t){_(this,Qs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=_(this,pn).defaultQueryOptions(t),i=_(this,pn).getQueryCache().build(_(this,pn),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(t){return Ue(this,Ze,ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Jt)))}createResult(t,r){var le;const i=_(this,Ye),a=this.options,u=_(this,Jt),p=_(this,ya),m=_(this,Gs),v=t!==i?t.state:_(this,vc),{state:C}=t;let x={...C},F=!1,I;if(r._optimisticResults){const ye=this.hasListeners(),De=!ye&&Dh(t,r),Fe=ye&&_h(t,i,r,a);(De||Fe)&&(x={...x,...bg(C.data,t.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let A=!1;if(r.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;u!=null&&u.isPlaceholderData&&r.placeholderData===(m==null?void 0:m.placeholderData)?(ye=u.data,A=!0):ye=typeof r.placeholderData=="function"?r.placeholderData((le=_(this,Xs))==null?void 0:le.state.data,_(this,Xs)):r.placeholderData,ye!==void 0&&(T="success",I=Ud(u==null?void 0:u.data,ye,r),F=!0)}if(r.select&&I!==void 0&&!A)if(u&&I===(p==null?void 0:p.data)&&r.select===_(this,yc))I=_(this,Ys);else try{ge(this,yc,r.select),I=r.select(I),I=Ud(u==null?void 0:u.data,I,r),ge(this,Ys,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Ys),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,J=I!==void 0,ne={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&J,isStale:jp(t,r),refetch:this.refetch,promise:_(this,ui)};if(this.options.experimental_prefetchInRender){const ye=$e=>{ne.status==="error"?$e.reject(ne.error):ne.data!==void 0&&$e.resolve(ne.data)},De=()=>{const $e=ge(this,ui,ne.promise=Hd());ye($e)},Fe=_(this,ui);switch(Fe.status){case"pending":t.queryHash===i.queryHash&&ye(Fe);break;case"fulfilled":(ne.status==="error"||ne.data!==Fe.value)&&De();break;case"rejected":(ne.status!=="error"||ne.error!==Fe.reason)&&De();break}}return ne}updateResult(){const t=_(this,Jt),r=this.createResult(_(this,Ye),this.options);if(ge(this,ya,_(this,Ye).state),ge(this,Gs,this.options),_(this,ya).data!==void 0&&ge(this,Xs,_(this,Ye)),Iu(r,t))return;ge(this,Jt,r);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,u=typeof a=="function"?a():a;if(u==="all"||!u&&!_(this,Qs).size)return!0;const p=new Set(u??_(this,Qs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Jt)).some(m=>{const h=m;return _(this,Jt)[h]!==t[h]&&p.has(h)})};Ue(this,Ze,xg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Yd).call(this)}},pn=new WeakMap,Ye=new WeakMap,vc=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Gs=new WeakMap,ui=new WeakMap,fi=new WeakMap,yc=new WeakMap,Ys=new WeakMap,Xs=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Qs=new WeakMap,Ze=new WeakSet,ql=function(t){Ue(this,Ze,qd).call(this);let r=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Zt)),r},Wd=function(){Ue(this,Ze,Xd).call(this);const t=Fs(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!Nd(t))return;const i=dg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Vd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Gd=function(t){Ue(this,Ze,Qd).call(this),ge(this,di,t),!(Sa||or(this.options.enabled,_(this,Ye))===!1||!Nd(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||$p.isFocused())&&Ue(this,Ze,ql).call(this)},_(this,di)))},Yd=function(){Ue(this,Ze,Wd).call(this),Ue(this,Ze,Gd).call(this,Ue(this,Ze,Vd).call(this))},Xd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Qd=function(){_(this,wa)&&(clearInterval(_(this,wa)),ge(this,wa,void 0))},qd=function(){const t=_(this,pn).getQueryCache().build(_(this,pn),this.options);if(t===_(this,Ye))return;const r=_(this,Ye);ge(this,Ye,t),ge(this,vc,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},xg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_(this,Jt))}),_(this,pn).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},ng);function Db(e,t){return or(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Dh(e,t){return Db(e,t)||e.state.data!==void 0&&Kd(e,t,t.refetchOnMount)}function Kd(e,t,r){if(or(t.enabled,e)!==!1){const i=typeof r=="function"?r(e):r;return i==="always"||i!==!1&&jp(e,t)}return!1}function _h(e,t,r,i){return(e!==t||or(i.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&jp(e,r)}function jp(e,t){return or(t.enabled,e)!==!1&&e.isStaleByTime(Fs(t.staleTime,e))}function _b(e,t){return!Iu(e.getCurrentResult(),t)}var pi,hi,hn,ao,fo,Ru,Jd,rg,Lb=(rg=class extends Ks{constructor(r,i){super();Ie(this,fo);Ie(this,pi);Ie(this,hi);Ie(this,hn);Ie(this,ao);ge(this,pi,r),this.setOptions(i),this.bindMethods(),Ue(this,fo,Ru).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const i=this.options;this.options=_(this,pi).defaultMutationOptions(r),Iu(this.options,i)||_(this,pi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,hn),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ka(i.mutationKey)!==ka(this.options.mutationKey)?this.reset():((a=_(this,hn))==null?void 0:a.state.status)==="pending"&&_(this,hn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=_(this,hn))==null||r.removeObserver(this)}onMutationUpdate(r){Ue(this,fo,Ru).call(this),Ue(this,fo,Jd).call(this,r)}getCurrentResult(){return _(this,hi)}reset(){var r;(r=_(this,hn))==null||r.removeObserver(this),ge(this,hn,void 0),Ue(this,fo,Ru).call(this),Ue(this,fo,Jd).call(this)}mutate(r,i){var a;return ge(this,ao,i),(a=_(this,hn))==null||a.removeObserver(this),ge(this,hn,_(this,pi).getMutationCache().build(_(this,pi),this.options)),_(this,hn).addObserver(this),_(this,hn).execute(r)}},pi=new WeakMap,hi=new WeakMap,hn=new WeakMap,ao=new WeakMap,fo=new WeakSet,Ru=function(){var i;const r=((i=_(this,hn))==null?void 0:i.state)??wg();ge(this,hi,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},Jd=function(r){bt.batch(()=>{var i,a,u,p,m,h,v,C;if(_(this,ao)&&this.hasListeners()){const x=_(this,hi).variables,F=_(this,hi).context;(r==null?void 0:r.type)==="success"?((a=(i=_(this,ao)).onSuccess)==null||a.call(i,r.data,x,F),(p=(u=_(this,ao)).onSettled)==null||p.call(u,r.data,null,x,F)):(r==null?void 0:r.type)==="error"&&((h=(m=_(this,ao)).onError)==null||h.call(m,r.error,x,F),(C=(v=_(this,ao)).onSettled)==null||C.call(v,void 0,r.error,x,F))}this.listeners.forEach(x=>{x(_(this,hi))})})},rg),Sg=pe.createContext(void 0),kg=e=>{const t=pe.useContext(Sg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},$b=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(Sg.Provider,{value:e,children:t})),Eg=pe.createContext(!1),jb=()=>pe.useContext(Eg);Eg.Provider;function Nb(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var zb=pe.createContext(Nb()),Bb=()=>pe.useContext(zb),Ub=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},Hb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Wb=({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||hg(r,[e.error,i])),Vb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...r)=>Math.max(t(...r),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Gb=(e,t)=>e.isLoading&&e.isFetching&&!t,Yb=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Lh=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Xb(e,t,r){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=kg(r),a=jb(),u=Bb(),p=i.defaultQueryOptions(e);(F=(x=i.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=a?"isRestoring":"optimistic",Vb(p),Ub(p,u),Hb(u);const m=!i.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(i,p)),v=h.getOptimisticResult(p),C=!a&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const A=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),A},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Yb(p,v))throw Lh(p,h,u);if(Wb({result:v,errorResetBoundary:u,throwOnError:p.throwOnError,query:i.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=i.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Sa&&Gb(v,a)){const T=m?Lh(p,h,u):(D=i.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(Zt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function Np(e,t){return Xb(e,Mb,t)}function Cg(e,t){const r=kg(t),[i]=pe.useState(()=>new Lb(r,e));pe.useEffect(()=>{i.setOptions(e)},[i,e]);const a=pe.useSyncExternalStore(pe.useCallback(p=>i.subscribe(bt.batchCalls(p)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),u=pe.useCallback((p,m)=>{i.mutate(p,m).catch(Zt)},[i]);if(a.error&&hg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:u,mutateAsync:a.mutate}}const zp=O.createContext(null);zp.Provider;const Js=()=>O.useContext(zp),Tg=({children:e})=>{const[t]=O.useState(new Fb);return console.log("Confidence Playbook Context Initialized"),q.jsx(zp.Provider,{value:{queryClient:t},children:q.jsx($b,{client:t,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Rg="https://marketplace.confidence.com/api",wc=Rg+"/confidence",$h=Rg+"/dropbox/prod",Qb=async e=>{const t={taskInstanceId:e},r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${wc}/playbook-task-complete`,{method:"POST",headers:r,body:JSON.stringify(t)})).json()},qb=()=>{const{queryClient:e}=Js(),t=Cg({mutationFn:async i=>Qb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Kb=async e=>{const t={taskInstanceId:e},r=new Headers;r.append("Content-Type","application/json");const a=await(await fetch(`${wc}/playbook-task-start`,{method:"POST",headers:r,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Jb=()=>{const{queryClient:e}=Js(),t=Cg({mutationFn:async i=>{const a=await Kb(i);return console.log(a),a}},e);return{startTask:i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...t}},Pg=(e,t)=>{const{queryClient:r}=Js(),i=Np({initialData:{},queryFn:()=>r.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=p=>{var m;return((m=i.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(p,m)=>{var h;r.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!a(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,a(p))}}},Zb=(e,t)=>{const{queryClient:r}=Js(),{completeTask:i}=qb(),{startTask:a}=Jb(),{toggleTaskExpanded:u}=Pg(e);return{completeTask:async(h,v)=>{const{status:C}=await i(h.toString());C&&(u(h,!1),r.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ut.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await a(h.toString());v&&(u(h,!0),r.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},e0=e=>{var a;const{queryClient:t}=Js(),r=Np({queryFn:async()=>{const u=new Headers,p=await fetch(`${wc}/playbook-details`,{method:"POST",cache:"no-store",headers:u,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),i=Zb(e,{quickComplete:(a=r.data)==null?void 0:a.quickComplete});return{playbook:r.data,isLoading:r.isLoading,error:r.error,actions:i}},tc={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},t0={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},n0=e=>{const{taskStatus:t,canStart:r}=e;return{buttons:O.useMemo(()=>t===ut.OPEN&&r?[tc.START]:t===ut.IN_PROGRESS?[tc.PAUSE,tc.COMPLETE]:t===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Og=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${wc}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},Bp="-",r0=e=>{const t=i0(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(Bp);return m[0]===""&&m.length!==1&&m.shift(),Ag(m,t)||o0(p)},getConflictingClassGroupIds:(p,m)=>{const h=r[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Ag=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),a=i?Ag(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const u=e.join(Bp);return(p=t.validators.find(({validator:m})=>m(u)))==null?void 0:p.classGroupId},jh=/^\[(.+)\]$/,o0=e=>{if(jh.test(e)){const t=jh.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},i0=e=>{const{theme:t,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const a in r)Zd(r[a],i,a,t);return i},Zd=(e,t,r,i)=>{e.forEach(a=>{if(typeof a=="string"){const u=a===""?t:Nh(t,a);u.classGroupId=r;return}if(typeof a=="function"){if(a0(a)){Zd(a(i),t,r,i);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([u,p])=>{Zd(p,Nh(t,u),r,i)})})},Nh=(e,t)=>{let r=e;return t.split(Bp).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},a0=e=>e.isThemeGetter,s0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,i=new Map;const a=(u,p)=>{r.set(u,p),t++,t>e&&(t=0,i=r,r=new Map)};return{get(u){let p=r.get(u);if(p!==void 0)return p;if((p=i.get(u))!==void 0)return a(u,p),p},set(u,p){r.has(u)?r.set(u,p):a(u,p)}}},ep="!",tp=":",l0=tp.length,c0=e=>{const{prefix:t,experimentalParseClassName:r}=e;let i=a=>{const u=[];let p=0,m=0,h=0,v;for(let L=0;L<a.length;L++){let D=a[L];if(p===0&&m===0){if(D===tp){u.push(a.slice(h,L)),h=L+l0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=u.length===0?a:a.substring(h),x=u0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:u,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const a=t+tp,u=i;i=p=>p.startsWith(a)?u(p.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const a=i;i=u=>r({className:u,parseClassName:a})}return i},u0=e=>e.endsWith(ep)?e.substring(0,e.length-1):e.startsWith(ep)?e.substring(1):e,f0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let u=[];return i.forEach(p=>{p[0]==="["||t[p]?(a.push(...u.sort(),p),u=[]):u.push(p)}),a.push(...u.sort()),a}},d0=e=>({cache:s0(e.cacheSize),parseClassName:c0(e),sortModifiers:f0(e),...r0(e)}),p0=/\s+/,h0=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:u}=t,p=[],m=e.trim().split(p0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=r(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,A=i(T?L.substring(0,D):L);if(!A){if(!T){h=C+(h.length>0?" "+h:h);continue}if(A=i(L),!A){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=u(F).join(":"),j=I?U+ep:U,V=j+A;if(p.includes(V))continue;p.push(V);const $=a(A,T);for(let J=0;J<$.length;++J){const ae=$[J];p.push(j+ae)}h=C+(h.length>0?" "+h:h)}return h};function m0(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Ig(t))&&(i&&(i+=" "),i+=r);return i}const Ig=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=Ig(e[i]))&&(r&&(r+=" "),r+=t);return r};function g0(e,...t){let r,i,a,u=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return r=d0(v),i=r.cache.get,a=r.cache.set,u=m,m(h)}function m(h){const v=i(h);if(v)return v;const C=h0(h,r);return a(h,C),C}return function(){return u(m0.apply(null,arguments))}}const yt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Fg=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Mg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,v0=/^\d+\/\d+$/,y0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,w0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,x0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,S0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>v0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),yd=e=>e.endsWith("%")&&He(e.slice(0,-1)),ro=e=>y0.test(e),k0=()=>!0,E0=e=>b0.test(e)&&!w0.test(e),Dg=()=>!1,C0=e=>x0.test(e),T0=e=>S0.test(e),R0=e=>!be(e)&&!we(e),P0=e=>Zs(e,$g,Dg),be=e=>Fg.test(e),sa=e=>Zs(e,jg,E0),bd=e=>Zs(e,M0,He),zh=e=>Zs(e,_g,Dg),O0=e=>Zs(e,Lg,T0),wu=e=>Zs(e,Ng,C0),we=e=>Mg.test(e),Xl=e=>el(e,jg),A0=e=>el(e,D0),Bh=e=>el(e,_g),I0=e=>el(e,$g),F0=e=>el(e,Lg),xu=e=>el(e,Ng,!0),Zs=(e,t,r)=>{const i=Fg.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},el=(e,t,r=!1)=>{const i=Mg.exec(e);return i?i[1]?t(i[1]):r:!1},_g=e=>e==="position"||e==="percentage",Lg=e=>e==="image"||e==="url",$g=e=>e==="length"||e==="size"||e==="bg-size",jg=e=>e==="length",M0=e=>e==="number",D0=e=>e==="family-name",Ng=e=>e==="shadow",_0=()=>{const e=yt("color"),t=yt("font"),r=yt("text"),i=yt("font-weight"),a=yt("tracking"),u=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),A=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],J=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],ne=()=>[we,be,h],le=()=>[Rs,"full","auto",...ne()],ye=()=>[ti,"none","subgrid",we,be],De=()=>["auto",{span:["full",ti,we,be]},ti,we,be],Fe=()=>[ti,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...ne()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ne()],Z=()=>[e,we,be],ve=()=>[...V(),Bh,zh,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",I0,P0,{size:[we,be]}],fe=()=>[yd,Xl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Xl,sa],me=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[He,yd,Bh,zh],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...ne()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ro],breakpoint:[ro],color:[k0],container:[ro],"drop-shadow":[ro],ease:["in","out","in-out"],font:[R0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ro],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ro],shadow:[ro],spacing:["px",He],text:[ro],"text-shadow":[ro],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ti,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...ne()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ti,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:ne()}],"gap-x":[{"gap-x":ne()}],"gap-y":[{"gap-y":ne()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:ne()}],px:[{px:ne()}],py:[{py:ne()}],ps:[{ps:ne()}],pe:[{pe:ne()}],pt:[{pt:ne()}],pr:[{pr:ne()}],pb:[{pb:ne()}],pl:[{pl:ne()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":ne()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ne()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",r,Xl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,bd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",yd,be]}],"font-family":[{font:[A0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,bd]}],leading:[{leading:[u,...ne()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,sa]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ti,we,be],radial:["",we,be],conic:[ti,we,be]},F0,O0]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Xl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,xu,wu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,xu,wu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[He,sa]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,xu,wu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,xu,wu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ne()}],"border-spacing-x":[{"border-spacing-x":ne()}],"border-spacing-y":[{"border-spacing-y":ne()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",A,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[He,Xl,sa,bd]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Ms=g0(_0);function zg(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=zg(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function cc(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=zg(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Ms(cc(e))}const Bg=typeof document<"u"?O.useLayoutEffect:()=>{};function L0(e){const t=O.useRef(null);return Bg(()=>{t.current=e},[e]),O.useCallback((...r)=>{const i=t.current;return i==null?void 0:i(...r)},[])}const ki=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ua=e=>e&&"window"in e&&e.window===e?e:ki(e).defaultView||window;function $0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function j0(e){return $0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let N0=!1;function Up(){return N0}function Ug(e,t){if(!Up())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:j0(r)?r=r.host:r=r.parentNode}return!1}const np=(e=document)=>{var t;if(!Up())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function Hg(e){return Up()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Wu(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Hp(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Wp=vo(function(){return Hp(/^Mac/i)}),z0=vo(function(){return Hp(/^iPhone/i)}),B0=vo(function(){return Hp(/^iPad/i)||Wp()&&navigator.maxTouchPoints>1}),U0=vo(function(){return z0()||B0()});vo(function(){return Wp()||U0()});vo(function(){return Wu(/AppleWebKit/i)&&!H0()});const H0=vo(function(){return Wu(/Chrome/i)}),W0=vo(function(){return Wu(/Android/i)});vo(function(){return Wu(/Firefox/i)});function Wg(){let e=O.useRef(new Map),t=O.useCallback((a,u,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:u,eventTarget:a,fn:h,options:m}),a.addEventListener(u,h,m)},[]),r=O.useCallback((a,u,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;a.removeEventListener(u,v,m),e.current.delete(p)},[]),i=O.useCallback(()=>{e.current.forEach((a,u)=>{r(a.eventTarget,a.type,u,a.options)})},[r]);return O.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function V0(e){return e.mozInputSource===0&&e.isTrusted?!0:W0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Vg(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function G0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Gg(e){let t=O.useRef({isFocused:!1,observer:null});Bg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let r=L0(i=>{e==null||e(i)});return O.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=i.target,u=p=>{if(t.current.isFocused=!1,a.disabled){let m=Vg(p);r(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",u,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let Y0=!1,xc=null,rp=new Set,nc=new Map,Ea=!1,op=!1;const X0={Tab:!0,Escape:!0};function Vp(e,t){for(let r of rp)r(e,t)}function Q0(e){return!(e.metaKey||!Wp()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Du(e){Ea=!0,Q0(e)&&(xc="keyboard",Vp("keyboard",e))}function zn(e){xc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Vp("pointer",e))}function Yg(e){V0(e)&&(Ea=!0,xc="virtual")}function Xg(e){e.target===window||e.target===document||Y0||!e.isTrusted||(!Ea&&!op&&(xc="virtual",Vp("virtual",e)),Ea=!1,op=!1)}function Qg(){Ea=!1,op=!0}function ip(e){if(typeof window>"u"||typeof document>"u"||nc.get(ua(e)))return;const t=ua(e),r=ki(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ea=!0,i.apply(this,arguments)},r.addEventListener("keydown",Du,!0),r.addEventListener("keyup",Du,!0),r.addEventListener("click",Yg,!0),t.addEventListener("focus",Xg,!0),t.addEventListener("blur",Qg,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",zn,!0),r.addEventListener("pointermove",zn,!0),r.addEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",zn,!0),r.addEventListener("mousemove",zn,!0),r.addEventListener("mouseup",zn,!0)),t.addEventListener("beforeunload",()=>{qg(e)},{once:!0}),nc.set(t,{focus:i})}const qg=(e,t)=>{const r=ua(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),nc.has(r)&&(r.HTMLElement.prototype.focus=nc.get(r).focus,i.removeEventListener("keydown",Du,!0),i.removeEventListener("keyup",Du,!0),i.removeEventListener("click",Yg,!0),r.removeEventListener("focus",Xg,!0),r.removeEventListener("blur",Qg,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",zn,!0),i.removeEventListener("pointermove",zn,!0),i.removeEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",zn,!0),i.removeEventListener("mousemove",zn,!0),i.removeEventListener("mouseup",zn,!0)),nc.delete(r))};function q0(e){const t=ki(e);let r;return t.readyState!=="loading"?ip(e):(r=()=>{ip(e)},t.addEventListener("DOMContentLoaded",r)),()=>qg(e,r)}typeof document<"u"&&q0();function Kg(){return xc!=="pointer"}const K0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function J0(e,t,r){let i=ki(r==null?void 0:r.target);const a=typeof window<"u"?ua(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,u=typeof window<"u"?ua(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ua(r==null?void 0:r.target).HTMLElement:HTMLElement,m=typeof window<"u"?ua(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!K0.has(i.activeElement.type)||i.activeElement instanceof u||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!X0[r.key])}function Z0(e,t,r){ip(),O.useEffect(()=>{let i=(a,u)=>{J0(!!(r!=null&&r.isTextInput),a,u)&&e(Kg())};return rp.add(i),()=>{rp.delete(i)}},t)}function ew(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:a}=e;const u=O.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Gg(u),m=O.useCallback(h=>{const v=ki(h.target),C=v?np(v):np();h.target===h.currentTarget&&C===Hg(h.nativeEvent)&&(r&&r(h),a&&a(!0),p(h))},[a,r,p]);return{focusProps:{onFocus:!t&&(r||a||i)?m:void 0,onBlur:!t&&(i||a)?u:void 0}}}function tw(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:a}=e,u=O.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Wg(),h=O.useCallback(x=>{x.currentTarget.contains(x.target)&&u.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(u.current.isFocusWithin=!1,m(),r&&r(x),a&&a(!1))},[r,a,u,m]),v=Gg(h),C=O.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=np(F);if(!u.current.isFocusWithin&&I===Hg(x.nativeEvent)){i&&i(x),a&&a(!0),u.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(u.current.isFocusWithin&&!Ug(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});G0(T,L);let A=Vg(T);h(A)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let _u=!1,wd=0;function ap(){_u=!0,setTimeout(()=>{_u=!1},50)}function Uh(e){e.pointerType==="touch"&&ap()}function nw(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Uh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",ap),wd++,()=>{wd--,!(wd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Uh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",ap))}}function rw(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:i,isDisabled:a}=e,[u,p]=O.useState(!1),m=O.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;O.useEffect(nw,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Wg(),{hoverProps:C,triggerHoverEnd:x}=O.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let A=D.currentTarget;m.target=A,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Ug(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:A,pointerType:T}),r&&r(!0),p(!0)},I=(D,T)=>{let A=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!A)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:A,pointerType:T}),r&&r(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{_u&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!_u&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,r,i,a,m,h,v]);return O.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:u}}function ow(e={}){let{autoFocus:t=!1,isTextInput:r,within:i}=e,a=O.useRef({isFocused:!1,isFocusVisible:t||Kg()}),[u,p]=O.useState(!1),[m,h]=O.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=O.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=O.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);Z0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:r});let{focusProps:x}=ew({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=tw({isDisabled:!i,onFocusWithinChange:C});return{isFocused:u,isFocusVisible:m,focusProps:i?F:x}}var iw=Object.defineProperty,aw=(e,t,r)=>t in e?iw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,xd=(e,t,r)=>(aw(e,typeof t!="symbol"?t+"":t,r),r);let sw=class{constructor(){xd(this,"current",this.detect()),xd(this,"handoffState","pending"),xd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xa=new sw;function Vu(e){var t,r;return xa.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(r=(t=e.current)==null?void 0:t.ownerDocument)!=null?r:document:null:document}function Gu(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(r,i,a,u){return r.addEventListener(i,a,u),t.add(()=>r.removeEventListener(i,a,u))},requestAnimationFrame(...r){let i=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let i=setTimeout(...r);return t.add(()=>clearTimeout(i))},microTask(...r){let i={current:!0};return Gu(()=>{i.current&&r[0]()}),t.add(()=>{i.current=!1})},style(r,i,a){let u=r.style.getPropertyValue(i);return Object.assign(r.style,{[i]:a}),this.add(()=>{Object.assign(r.style,{[i]:u})})},group(r){let i=yo();return r(i),this.add(()=>i.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let i=e.indexOf(r);if(i>=0)for(let a of e.splice(i,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function Gp(){let[e]=O.useState(yo);return O.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?O.useEffect(e,t):O.useLayoutEffect(e,t)};function Ra(e){let t=O.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return O.useCallback((...r)=>t.current(...r),[t])},Jg=O.createContext(void 0);function Yu(){return O.useContext(Jg)}function lw({value:e,children:t}){return O.createElement(Jg.Provider,{value:e},t)}function sp(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,po),i}var Lu=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Lu||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function en(){let e=uw();return O.useCallback(t=>cw({mergeRefs:e,...t}),[e])}function cw({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:u=!0,name:p,mergeRefs:m}){m=m??fw;let h=Zg(t,e);if(u)return Su(h,r,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return Su(x,r,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return Su({...x,hidden:!0,style:{display:"none"}},r,i,p,m)}})}return Su(h,r,i,p,m)}function Su(e,t={},r,i,a){let{as:u=r,children:p,refName:m="ref",...h}=Sd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(u===O.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!O.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(la(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(la(h)).concat(Object.keys(la(x))).map(F=>` - ${F}`).join(`
|
|
123
|
+
*/var cd,yh;function Xy(){if(yh)return cd;yh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(u){if(u==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(u)}function a(){try{if(!Object.assign)return!1;var u=new String("abc");if(u[5]="de",Object.getOwnPropertyNames(u)[0]==="5")return!1;for(var p={},m=0;m<10;m++)p["_"+String.fromCharCode(m)]=m;var h=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(h.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(C){v[C]=C}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return cd=a()?Object.assign:function(u,p){for(var m,h=i(u),v,C=1;C<arguments.length;C++){m=Object(arguments[C]);for(var x in m)t.call(m,x)&&(h[x]=m[x]);if(e){v=e(m);for(var F=0;F<v.length;F++)r.call(m,v[F])&&(h[v[F]]=m[v[F]])}}return h},cd}var ud,bh;function Dp(){if(bh)return ud;bh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ud=e,ud}var fd,wh;function rg(){return wh||(wh=1,fd=Function.call.bind(Object.prototype.hasOwnProperty)),fd}var dd,xh;function Qy(){if(xh)return dd;xh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dp(),r={},i=rg();e=function(u){var p="Warning: "+u;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function a(u,p,m,h,v){if(process.env.NODE_ENV!=="production"){for(var C in u)if(i(u,C)){var x;try{if(typeof u[C]!="function"){var F=Error((h||"React class")+": "+m+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof u[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}x=u[C](p,C,h,m,null,t)}catch(L){x=L}if(x&&!(x instanceof Error)&&e((h||"React class")+": type specification of "+m+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof x+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),x instanceof Error&&!(x.message in r)){r[x.message]=!0;var I=v?v():"";e("Failed "+m+" type: "+x.message+(I??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},dd=a,dd}var pd,Sh;function qy(){if(Sh)return pd;Sh=1;var e=ng(),t=Xy(),r=Dp(),i=rg(),a=Qy(),u=function(){};process.env.NODE_ENV!=="production"&&(u=function(m){var h="Warning: "+m;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function p(){return null}return pd=function(m,h){var v=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function x(Y){var K=Y&&(v&&Y[v]||Y[C]);if(typeof K=="function")return K}var F="<<anonymous>>",I={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:U(),arrayOf:j,element:V(),elementType:$(),instanceOf:J,node:ye(),objectOf:ne,oneOf:ae,oneOfType:le,shape:Fe,exact:$e};function L(Y,K){return Y===K?Y!==0||1/Y===1/K:Y!==Y&&K!==K}function D(Y,K){this.message=Y,this.data=K&&typeof K=="object"?K:{},this.stack=""}D.prototype=Error.prototype;function T(Y){if(process.env.NODE_ENV!=="production")var K={},fe=0;function te(me,ce,ue,Ee,Se,Pe,Be){if(Ee=Ee||F,Pe=Pe||ue,Be!==r){if(h){var se=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw se.name="Invariant Violation",se}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var We=Ee+":"+ue;!K[We]&&fe<3&&(u("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+Ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),K[We]=!0,fe++)}}return ce[ue]==null?me?ce[ue]===null?new D("The "+Se+" `"+Pe+"` is marked as required "+("in `"+Ee+"`, but its value is `null`.")):new D("The "+Se+" `"+Pe+"` is marked as required in "+("`"+Ee+"`, but its value is `undefined`.")):null:Y(ce,ue,Ee,Se,Pe)}var he=te.bind(null,!1);return he.isRequired=te.bind(null,!0),he}function O(Y){function K(fe,te,he,me,ce,ue){var Ee=fe[te],Se=Re(Ee);if(Se!==Y){var Pe=Le(Ee);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Pe+"` supplied to `"+he+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return T(K)}function U(){return T(p)}function j(Y){function K(fe,te,he,me,ce){if(typeof Y!="function")return new D("Property `"+ce+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var ue=fe[te];if(!Array.isArray(ue)){var Ee=Re(ue);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an array."))}for(var Se=0;Se<ue.length;Se++){var Pe=Y(ue,Se,he,me,ce+"["+Se+"]",r);if(Pe instanceof Error)return Pe}return null}return T(K)}function V(){function Y(K,fe,te,he,me){var ce=K[fe];if(!m(ce)){var ue=Re(ce);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return T(Y)}function $(){function Y(K,fe,te,he,me){var ce=K[fe];if(!e.isValidElementType(ce)){var ue=Re(ce);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return T(Y)}function J(Y){function K(fe,te,he,me,ce){if(!(fe[te]instanceof Y)){var ue=Y.name||F,Ee=ve(fe[te]);return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected ")+("instance of `"+ue+"`."))}return null}return T(K)}function ae(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?u("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):u("Invalid argument supplied to oneOf, expected an array.")),p;function K(fe,te,he,me,ce){for(var ue=fe[te],Ee=0;Ee<Y.length;Ee++)if(L(ue,Y[Ee]))return null;var Se=JSON.stringify(Y,function(Be,se){var We=Le(se);return We==="symbol"?String(se):se});return new D("Invalid "+me+" `"+ce+"` of value `"+String(ue)+"` "+("supplied to `"+he+"`, expected one of "+Se+"."))}return T(K)}function ne(Y){function K(fe,te,he,me,ce){if(typeof Y!="function")return new D("Property `"+ce+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an object."));for(var Se in ue)if(i(ue,Se)){var Pe=Y(ue,Se,he,me,ce+"."+Se,r);if(Pe instanceof Error)return Pe}return null}return T(K)}function le(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&u("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var K=0;K<Y.length;K++){var fe=Y[K];if(typeof fe!="function")return u("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(fe)+" at index "+K+"."),p}function te(he,me,ce,ue,Ee){for(var Se=[],Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe],se=Be(he,me,ce,ue,Ee,r);if(se==null)return null;se.data&&i(se.data,"expectedType")&&Se.push(se.data.expectedType)}var We=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new D("Invalid "+ue+" `"+Ee+"` supplied to "+("`"+ce+"`"+We+"."))}return T(te)}function ye(){function Y(K,fe,te,he,me){return ze(K[fe])?null:new D("Invalid "+he+" `"+me+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return T(Y)}function De(Y,K,fe,te,he){return new D((Y||"React class")+": "+K+" type `"+fe+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function Fe(Y){function K(fe,te,he,me,ce){var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));for(var Se in Y){var Pe=Y[Se];if(typeof Pe!="function")return De(he,me,ce,Se,Le(Pe));var Be=Pe(ue,Se,he,me,ce+"."+Se,r);if(Be)return Be}return null}return T(K)}function $e(Y){function K(fe,te,he,me,ce){var ue=fe[te],Ee=Re(ue);if(Ee!=="object")return new D("Invalid "+me+" `"+ce+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));var Se=t({},fe[te],Y);for(var Pe in Se){var Be=Y[Pe];if(i(Y,Pe)&&typeof Be!="function")return De(he,me,ce,Pe,Le(Be));if(!Be)return new D("Invalid "+me+" `"+ce+"` key `"+Pe+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(fe[te],null," ")+`
|
|
124
|
+
Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var se=Be(ue,Pe,he,me,ce+"."+Pe,r);if(se)return se}return null}return T(K)}function ze(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ze);if(Y===null||m(Y))return!0;var K=x(Y);if(K){var fe=K.call(Y),te;if(K!==Y.entries){for(;!(te=fe.next()).done;)if(!ze(te.value))return!1}else for(;!(te=fe.next()).done;){var he=te.value;if(he&&!ze(he[1]))return!1}}else return!1;return!0;default:return!1}}function xe(Y,K){return Y==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function Re(Y){var K=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":xe(K,Y)?"symbol":K}function Le(Y){if(typeof Y>"u"||Y===null)return""+Y;var K=Re(Y);if(K==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return K}function Z(Y){var K=Le(Y);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ve(Y){return!Y.constructor||!Y.constructor.name?F:Y.constructor.name}return I.checkPropTypes=a,I.resetWarningCache=a.resetWarningCache,I.PropTypes=I,I},pd}var hd,kh;function Ky(){if(kh)return hd;kh=1;var e=Dp();function t(){}function r(){}return r.resetWarningCache=t,hd=function(){function i(p,m,h,v,C,x){if(x!==e){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}}i.isRequired=i;function a(){return i}var u={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:a,element:i,elementType:i,instanceOf:a,node:i,objectOf:a,oneOf:a,oneOfType:a,shape:a,exact:a,checkPropTypes:r,resetWarningCache:t};return u.PropTypes=u,u},hd}var Eh;function Jy(){if(Eh)return mu.exports;if(Eh=1,process.env.NODE_ENV!=="production"){var e=ng(),t=!0;mu.exports=qy()(e.isElement,t)}else mu.exports=Ky()();return mu.exports}var Zy=Jy();const _e=Ny(Zy);var eb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function og(e,t){return e(t={exports:{}},t.exports),t.exports}var tb=og(function(e){(function(t){var r=function(T,O,U){if(!h(O)||C(O)||x(O)||F(O)||m(O))return O;var j,V=0,$=0;if(v(O))for(j=[],$=O.length;V<$;V++)j.push(r(T,O[V],U));else for(var J in j={},O)Object.prototype.hasOwnProperty.call(O,J)&&(j[T(J,U)]=r(T,O[J],U));return j},i=function(T){return I(T)?T:(T=T.replace(/[\-_\s]+(.)?/g,function(O,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+T.substr(1)},a=function(T){var O=i(T);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(T,O){return function(U,j){var V=(j=j||{}).separator||"_",$=j.split||/(?=[A-Z])/;return U.split($).join(V)}(T,O).toLowerCase()},p=Object.prototype.toString,m=function(T){return typeof T=="function"},h=function(T){return T===Object(T)},v=function(T){return p.call(T)=="[object Array]"},C=function(T){return p.call(T)=="[object Date]"},x=function(T){return p.call(T)=="[object RegExp]"},F=function(T){return p.call(T)=="[object Boolean]"},I=function(T){return(T-=0)==T},L=function(T,O){var U=O&&"process"in O?O.process:O;return typeof U!="function"?T:function(j,V){return U(j,T,V)}},D={camelize:i,decamelize:u,pascalize:a,depascalize:u,camelizeKeys:function(T,O){return r(L(i,O),T)},decamelizeKeys:function(T,O){return r(L(u,O),T,O)},pascalizeKeys:function(T,O){return r(L(a,O),T)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(eb)}).decamelize,nb=function(e){if(Array.isArray(e))return e},rb=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var r=[],i=!0,a=!1,u=void 0;try{for(var p,m=e[Symbol.iterator]();!(i=(p=m.next()).done)&&(r.push(p.value),!t||r.length!==t);i=!0);}catch(h){a=!0,u=h}finally{try{i||m.return==null||m.return()}finally{if(a)throw u}}return r}},Ch=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i},ob=function(e,t){if(e){if(typeof e=="string")return Ch(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ch(e,t):void 0}},ib=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
125
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},ab=function(e,t){return nb(e)||rb(e,t)||ob(e,t)||ib()},ig=og(function(e){function t(){return e.exports=t=Object.assign||function(r){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(r[u]=a[u])}return r},t.apply(this,arguments)}e.exports=t}),sb=function(e,t){if(e==null)return{};var r,i,a={},u=Object.keys(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||(a[r]=e[r]);return a},ag=function(e,t){if(e==null)return{};var r,i,a=sb(e,t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(i=0;i<u.length;i++)r=u[i],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a},lb=A.createContext(null);function sg(e){var t=e.children,r=t===void 0?"":t,i=ag(e,["children"]);return typeof r!="string"&&(r=Vy.renderToString(r)),A.createElement("template",ig({},i,{dangerouslySetInnerHTML:{__html:r}}))}function lg(e){var t=e.root,r=e.children;return Uu.createPortal(r===void 0?null:r,t)}function cb(e){var t=A.forwardRef(function(r,i){var a,u,p=r.mode,m=p===void 0?"open":p,h=r.delegatesFocus,v=h!==void 0&&h,C=r.styleSheets,x=C===void 0?[]:C,F=r.ssr,I=F!==void 0&&F,L=r.children,D=ag(r,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(u=A.useRef((a=i)&&a.current),A.useEffect(function(){a&&(a.current=u.current)},[a]),u),O=A.useState(null),U=ab(O,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return A.useLayoutEffect(function(){if(T.current)try{if(typeof i=="function"&&i(T.current),I){var J=T.current.shadowRoot;return void V(J)}var ae=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ae.adoptedStyleSheets=x),V(ae)}catch(ne){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:ne,styleSheets:x,root:j})}},[i,T,x]),A.createElement(A.Fragment,null,A.createElement(e.tag,ig({key:$,ref:T},D),(j||I)&&A.createElement(lb.Provider,{value:j},I?A.createElement(sg,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):A.createElement(lg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}sg.propTypes={children:_e.oneOfType([_e.string,_e.node])},lg.propTypes={root:_e.object.isRequired,children:_e.node};var md=new Map;function ub(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var u=tb(a,{separator:"-"}),p="".concat(t,"-").concat(u);return md.has(p)||md.set(p,cb({tag:u,render:r})),md.get(p)}})}var fb=ub(),qs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sa=typeof window>"u"||"Deno"in globalThis;function Zt(){}function db(e,t){return typeof e=="function"?e(t):e}function jd(e){return typeof e=="number"&&e>=0&&e!==1/0}function cg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function or(e,t){return typeof e=="function"?e(t):e}function Th(e,t){const{type:r="all",exact:i,fetchStatus:a,predicate:u,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==_p(p,t.options))return!1}else if(!sc(t.queryKey,p))return!1}if(r!=="all"){const h=t.isActive();if(r==="active"&&!h||r==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||a&&a!==t.state.fetchStatus||u&&!u(t))}function Rh(e,t){const{exact:r,status:i,predicate:a,mutationKey:u}=e;if(u){if(!t.options.mutationKey)return!1;if(r){if(ka(t.options.mutationKey)!==ka(u))return!1}else if(!sc(t.options.mutationKey,u))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function _p(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,r)=>zd(r)?Object.keys(r).sort().reduce((i,a)=>(i[a]=r[a],i),{}):r)}function sc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>sc(e[r],t[r])):!1}function Nd(e,t){if(e===t)return e;const r=Ph(e)&&Ph(t);if(r||zd(e)&&zd(t)){const i=r?e:Object.keys(e),a=i.length,u=r?t:Object.keys(t),p=u.length,m=r?[]:{};let h=0;for(let v=0;v<p;v++){const C=r?v:u[v];(!r&&i.includes(C)||r)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=Nd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Au(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function Ph(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zd(e){if(!Ah(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!Ah(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ah(e){return Object.prototype.toString.call(e)==="[object Object]"}function pb(e){return new Promise(t=>{setTimeout(t,e)})}function Bd(e,t,r){if(typeof r.structuralSharing=="function")return r.structuralSharing(e,t);if(r.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Nd(e,t)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${r.queryHash}]: ${i}`),i}return Nd(e,t)}return t}function hb(e,t,r=0){const i=[...e,t];return r&&i.length>r?i.slice(1):i}function mb(e,t,r=0){const i=[t,...e];return r&&i.length>r?i.slice(0,-1):i}var Ou=Symbol();function ug(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Ou&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ou?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function fg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,Ls,Vm,gb=(Vm=class extends qs{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,Ls);ge(this,Ls,t=>{if(!Sa&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var r;ge(this,Ls,t),(r=_(this,ii))==null||r.call(this),ge(this,ii,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,pa)!==t&&(ge(this,pa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof _(this,pa)=="boolean"?_(this,pa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pa=new WeakMap,ii=new WeakMap,Ls=new WeakMap,Vm),Lp=new gb,$s,ai,js,Gm,vb=(Gm=class extends qs{constructor(){super();Ie(this,$s,!0);Ie(this,ai);Ie(this,js);ge(this,js,t=>{if(!Sa&&window.addEventListener){const r=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,js))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var r;ge(this,js,t),(r=_(this,ai))==null||r.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,$s)!==t&&(ge(this,$s,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,$s)}},$s=new WeakMap,ai=new WeakMap,js=new WeakMap,Gm),Iu=new vb;function Ud(){let e,t;const r=new Promise((a,u)=>{e=a,t=u});r.status="pending",r.catch(()=>{});function i(a){Object.assign(r,a),delete r.resolve,delete r.reject}return r.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},r.reject=a=>{i({status:"rejected",reason:a}),t(a)},r}function yb(e){return Math.min(1e3*2**e,3e4)}function dg(e){return(e??"online")==="online"?Iu.isOnline():!0}var pg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function gd(e){return e instanceof pg}function hg(e){let t=!1,r=0,i=!1,a;const u=Ud(),p=D=>{var T;i||(F(new pg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>Lp.isFocused()&&(e.networkMode==="always"||Iu.isOnline())&&e.canRun(),C=()=>dg(e.networkMode)&&e.canRun(),x=D=>{var T;i||(i=!0,(T=e.onSuccess)==null||T.call(e,D),a==null||a(),u.resolve(D))},F=D=>{var T;i||(i=!0,(T=e.onError)==null||T.call(e,D),a==null||a(),u.reject(D))},I=()=>new Promise(D=>{var T;a=O=>{(i||v())&&D(O)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(i)return;let D;const T=r===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(O){D=Promise.reject(O)}Promise.resolve(D).then(x).catch(O=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??yb,V=typeof j=="function"?j(r,O):j,$=U===!0||typeof U=="number"&&r<U||typeof U=="function"&&U(r,O);if(t||!$){F(O);return}r++,(J=e.onFail)==null||J.call(e,r,O),pb(V).then(()=>v()?void 0:I()).then(()=>{t?F(O):L()})})};return{promise:u,cancel:p,continue:()=>(a==null||a(),u),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),u)}}var bb=e=>setTimeout(e,0);function wb(){let e=[],t=0,r=m=>{m()},i=m=>{m()},a=bb;const u=m=>{t?e.push(m):a(()=>{r(m)})},p=()=>{const m=e;e=[],m.length&&a(()=>{i(()=>{m.forEach(h=>{r(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{u(()=>{m(...h)})},schedule:u,setNotifyFunction:m=>{r=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{a=m}}}var bt=wb(),ha,Ym,mg=(Ym=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jd(this.gcTime)&&ge(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ha)&&(clearTimeout(_(this,ha)),ge(this,ha,void 0))}},ha=new WeakMap,Ym),Ns,zs,Nn,ma,$t,hc,ga,nr,oo,Xm,xb=(Xm=class extends mg{constructor(t){super();Ie(this,nr);Ie(this,Ns);Ie(this,zs);Ie(this,Nn);Ie(this,ma);Ie(this,$t);Ie(this,hc);Ie(this,ga);ge(this,ga,!1),ge(this,hc,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,ma,t.client),ge(this,Nn,_(this,ma).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,Ns,Sb(this.options)),this.state=t.state??_(this,Ns),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,hc),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Nn).remove(this)}setData(t,r){const i=Bd(this.state.data,t,this.options);return Ue(this,nr,oo).call(this,{data:i,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),i}setState(t,r){Ue(this,nr,oo).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var i,a;const r=(i=_(this,$t))==null?void 0:i.promise;return(a=_(this,$t))==null||a.cancel(t),r?r.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ns))}isActive(){return this.observers.some(t=>or(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ou||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!cg(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}onOnline(){var r;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=_(this,$t))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Nn).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||(_(this,$t)&&(_(this,ga)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,Nn).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,nr,oo).call(this,{type:"invalidate"})}fetch(t,r){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,ga,!0),i.signal)})},u=()=>{const x=ug(this.options,r),F={client:_(this,ma),queryKey:this.queryKey,meta:this.meta};return a(F),ge(this,ga,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:_(this,ma),state:this.state,fetchFn:u};a(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,zs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,nr,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;gd(x)&&x.silent||Ue(this,nr,oo).call(this,{type:"error",error:x}),gd(x)||((I=(F=_(this,Nn).config).onError)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,hg({initialPromise:r==null?void 0:r.initialPromise,fn:p.fetchFn,abort:i.abort.bind(i),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,Nn).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,Nn).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,nr,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,nr,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,nr,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},Ns=new WeakMap,zs=new WeakMap,Nn=new WeakMap,ma=new WeakMap,$t=new WeakMap,hc=new WeakMap,ga=new WeakMap,nr=new WeakSet,oo=function(t){const r=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...gg(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return gd(a)&&a.revert&&_(this,zs)?{..._(this,zs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=r(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,Nn).notify({query:this,type:"updated",action:t})})},Xm);function gg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,i=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Cr,Qm,kb=(Qm=class extends qs{constructor(t={}){super();Ie(this,Cr);this.config=t,ge(this,Cr,new Map)}build(t,r,i){const a=r.queryKey,u=r.queryHash??_p(a,r);let p=this.get(u);return p||(p=new xb({client:t,queryKey:a,queryHash:u,options:t.defaultQueryOptions(r),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(p)),p}add(t){_(this,Cr).has(t.queryHash)||(_(this,Cr).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=_(this,Cr).get(t.queryHash);r&&(t.destroy(),r===t&&_(this,Cr).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cr).get(t)}getAll(){return[..._(this,Cr).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Th(r,i))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(i=>Th(t,i)):r}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cr=new WeakMap,Qm),Tr,Kt,va,Rr,ri,qm,Eb=(qm=class extends mg{constructor(t){super();Ie(this,Rr);Ie(this,Tr);Ie(this,Kt);Ie(this,va);this.mutationId=t.mutationId,ge(this,Kt,t.mutationCache),ge(this,Tr,[]),this.state=t.state||vg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tr).includes(t)||(_(this,Tr).push(t),this.clearGcTimeout(),_(this,Kt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tr,_(this,Tr).filter(r=>r!==t)),this.scheduleGc(),_(this,Kt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tr).length||(this.state.status==="pending"?this.scheduleGc():_(this,Kt).remove(this))}continue(){var t;return((t=_(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var u,p,m,h,v,C,x,F,I,L,D,T,O,U,j,V,$,J,ae,ne;const r=()=>{Ue(this,Rr,ri).call(this,{type:"continue"})};ge(this,va,hg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rr,ri).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rr,ri).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Kt).canRun(this)}));const i=this.state.status==="pending",a=!_(this,va).canStart();try{if(i)r();else{Ue(this,Rr,ri).call(this,{type:"pending",variables:t,isPaused:a}),await((p=(u=_(this,Kt).config).onMutate)==null?void 0:p.call(u,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rr,ri).call(this,{type:"pending",context:ye,variables:t,isPaused:a})}const le=await _(this,va).start();return await((C=(v=_(this,Kt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Kt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rr,ri).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(O=_(this,Kt).config).onError)==null?void 0:U.call(O,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((J=($=_(this,Kt).config).onSettled)==null?void 0:J.call($,void 0,le,this.state.variables,this.state.context,this)),await((ne=(ae=this.options).onSettled)==null?void 0:ne.call(ae,void 0,le,t,this.state.context)),le}finally{Ue(this,Rr,ri).call(this,{type:"error",error:le})}}finally{_(this,Kt).runNext(this)}}},Tr=new WeakMap,Kt=new WeakMap,va=new WeakMap,Rr=new WeakSet,ri=function(t){const r=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),bt.batch(()=>{_(this,Tr).forEach(i=>{i.onMutationUpdate(t)}),_(this,Kt).notify({mutation:this,type:"updated",action:t})})},qm);function vg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var io,rr,mc,Km,Cb=(Km=class extends qs{constructor(t={}){super();Ie(this,io);Ie(this,rr);Ie(this,mc);this.config=t,ge(this,io,new Set),ge(this,rr,new Map),ge(this,mc,0)}build(t,r,i){const a=new Eb({mutationCache:this,mutationId:++du(this,mc)._,options:t.defaultMutationOptions(r),state:i});return this.add(a),a}add(t){_(this,io).add(t);const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r);i?i.push(t):_(this,rr).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,io).delete(t)){const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&_(this,rr).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=vu(t);if(typeof r=="string"){const i=_(this,rr).get(r),a=i==null?void 0:i.find(u=>u.state.status==="pending");return!a||a===t}else return!0}runNext(t){var i;const r=vu(t);if(typeof r=="string"){const a=(i=_(this,rr).get(r))==null?void 0:i.find(u=>u!==t&&u.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,io).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,io).clear(),_(this,rr).clear()})}getAll(){return Array.from(_(this,io))}find(t){const r={exact:!0,...t};return this.getAll().find(i=>Rh(r,i))}findAll(t={}){return this.getAll().filter(r=>Rh(t,r))}notify(t){bt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return bt.batch(()=>Promise.all(t.map(r=>r.continue().catch(Zt))))}},io=new WeakMap,rr=new WeakMap,mc=new WeakMap,Km);function vu(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Oh(e){return{onFetch:(t,r)=>{var C,x,F,I,L;const i=t.options,a=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,u=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},O=ug(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const J={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(J);const ae=await O(J),{maxPages:ne}=t.options,le=$?mb:hb;return{pages:le(j.pages,ae,ne),pageParams:le(j.pageParams,V,ne)}};if(a&&u.length){const j=a==="backward",V=j?Tb:Ih,$={pages:u,pageParams:p},J=V(i,$);m=await U($,J,j)}else{const j=e??u.length;do{const V=h===0?p[0]??i.initialPageParam:Ih(i,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=v}}}function Ih(e,{pages:t,pageParams:r}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,r[i],r):void 0}function Tb(e,{pages:t,pageParams:r}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,r[0],r):void 0}var pt,si,li,Bs,Us,ci,Hs,Ws,Jm,Rb=(Jm=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Bs);Ie(this,Us);Ie(this,ci);Ie(this,Hs);Ie(this,Ws);ge(this,pt,e.queryCache||new kb),ge(this,si,e.mutationCache||new Cb),ge(this,li,e.defaultOptions||{}),ge(this,Bs,new Map),ge(this,Us,new Map),ge(this,ci,0)}mount(){du(this,ci)._++,_(this,ci)===1&&(ge(this,Hs,Lp.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Ws,Iu.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;du(this,ci)._--,_(this,ci)===0&&((e=_(this,Hs))==null||e.call(this),ge(this,Hs,void 0),(t=_(this,Ws))==null||t.call(this),ge(this,Ws,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,si).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=_(this,pt).build(this,t),i=r.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(Is(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:r})=>{const i=r.data;return[t,i]})}setQueryData(e,t,r){const i=this.defaultQueryOptions({queryKey:e}),a=_(this,pt).get(i.queryHash),u=a==null?void 0:a.state.data,p=db(t,u);if(p!==void 0)return _(this,pt).build(this,i).setData(p,{...r,manual:!0})}setQueriesData(e,t,r){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_(this,pt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=_(this,pt);return bt.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},i=bt.batch(()=>_(this,pt).findAll(e).map(a=>a.cancel(r)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},i=bt.batch(()=>_(this,pt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let u=a.fetch(void 0,r);return r.throwOnError||(u=u.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(i).then(Zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=_(this,pt).build(this,t);return r.isStaleByTime(Is(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}fetchInfiniteQuery(e){return e.behavior=Oh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Oh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Iu.isOnline()?_(this,si).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,si)}getDefaultOptions(){return _(this,li)}setDefaultOptions(e){ge(this,li,e)}setQueryDefaults(e,t){_(this,Bs).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Bs).values()],r={};return t.forEach(i=>{sc(e,i.queryKey)&&Object.assign(r,i.defaultOptions)}),r}setMutationDefaults(e,t){_(this,Us).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Us).values()],r={};return t.forEach(i=>{sc(e,i.mutationKey)&&Object.assign(r,i.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,li).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=_p(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ou&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,li).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,si).clear()}},pt=new WeakMap,si=new WeakMap,li=new WeakMap,Bs=new WeakMap,Us=new WeakMap,ci=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,Jm),pn,Ye,gc,Jt,ya,Vs,ui,fi,vc,Gs,Ys,ba,wa,di,Xs,Ze,Ql,Hd,Wd,Vd,Gd,Yd,Xd,Qd,yg,Zm,Pb=(Zm=class extends qs{constructor(t,r){super();Ie(this,Ze);Ie(this,pn);Ie(this,Ye);Ie(this,gc);Ie(this,Jt);Ie(this,ya);Ie(this,Vs);Ie(this,ui);Ie(this,fi);Ie(this,vc);Ie(this,Gs);Ie(this,Ys);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Xs,new Set);this.options=r,ge(this,pn,t),ge(this,fi,null),ge(this,ui,Ud()),this.options.experimental_prefetchInRender||_(this,ui).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Fh(_(this,Ye),this.options)?Ue(this,Ze,Ql).call(this):this.updateResult(),Ue(this,Ze,Gd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return qd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return qd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Yd).call(this),Ue(this,Ze,Xd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const r=this.options,i=_(this,Ye);if(this.options=_(this,pn).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof or(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,Ze,Qd).call(this),_(this,Ye).setOptions(this.options),r._defaulted&&!Au(this.options,r)&&_(this,pn).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&Mh(_(this,Ye),i,this.options,r)&&Ue(this,Ze,Ql).call(this),this.updateResult(),a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||Is(this.options.staleTime,_(this,Ye))!==Is(r.staleTime,_(this,Ye)))&&Ue(this,Ze,Hd).call(this);const u=Ue(this,Ze,Wd).call(this);a&&(_(this,Ye)!==i||or(this.options.enabled,_(this,Ye))!==or(r.enabled,_(this,Ye))||u!==_(this,di))&&Ue(this,Ze,Vd).call(this,u)}getOptimisticResult(t){const r=_(this,pn).getQueryCache().build(_(this,pn),t),i=this.createResult(r,t);return Ob(this,i)&&(ge(this,Jt,i),ge(this,Vs,this.options),ge(this,ya,_(this,Ye).state)),i}getCurrentResult(){return _(this,Jt)}trackResult(t,r){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),r==null||r(a),Reflect.get(i,a))})}trackProp(t){_(this,Xs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=_(this,pn).defaultQueryOptions(t),i=_(this,pn).getQueryCache().build(_(this,pn),r);return i.fetch().then(()=>this.createResult(i,r))}fetch(t){return Ue(this,Ze,Ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Jt)))}createResult(t,r){var le;const i=_(this,Ye),a=this.options,u=_(this,Jt),p=_(this,ya),m=_(this,Vs),v=t!==i?t.state:_(this,gc),{state:C}=t;let x={...C},F=!1,I;if(r._optimisticResults){const ye=this.hasListeners(),De=!ye&&Fh(t,r),Fe=ye&&Mh(t,i,r,a);(De||Fe)&&(x={...x,...gg(C.data,t.options)}),r._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let O=!1;if(r.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;u!=null&&u.isPlaceholderData&&r.placeholderData===(m==null?void 0:m.placeholderData)?(ye=u.data,O=!0):ye=typeof r.placeholderData=="function"?r.placeholderData((le=_(this,Ys))==null?void 0:le.state.data,_(this,Ys)):r.placeholderData,ye!==void 0&&(T="success",I=Bd(u==null?void 0:u.data,ye,r),F=!0)}if(r.select&&I!==void 0&&!O)if(u&&I===(p==null?void 0:p.data)&&r.select===_(this,vc))I=_(this,Gs);else try{ge(this,vc,r.select),I=r.select(I),I=Bd(u==null?void 0:u.data,I,r),ge(this,Gs,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Gs),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,J=I!==void 0,ne={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&J,isStale:$p(t,r),refetch:this.refetch,promise:_(this,ui)};if(this.options.experimental_prefetchInRender){const ye=$e=>{ne.status==="error"?$e.reject(ne.error):ne.data!==void 0&&$e.resolve(ne.data)},De=()=>{const $e=ge(this,ui,ne.promise=Ud());ye($e)},Fe=_(this,ui);switch(Fe.status){case"pending":t.queryHash===i.queryHash&&ye(Fe);break;case"fulfilled":(ne.status==="error"||ne.data!==Fe.value)&&De();break;case"rejected":(ne.status!=="error"||ne.error!==Fe.reason)&&De();break}}return ne}updateResult(){const t=_(this,Jt),r=this.createResult(_(this,Ye),this.options);if(ge(this,ya,_(this,Ye).state),ge(this,Vs,this.options),_(this,ya).data!==void 0&&ge(this,Ys,_(this,Ye)),Au(r,t))return;ge(this,Jt,r);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,u=typeof a=="function"?a():a;if(u==="all"||!u&&!_(this,Xs).size)return!0;const p=new Set(u??_(this,Xs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Jt)).some(m=>{const h=m;return _(this,Jt)[h]!==t[h]&&p.has(h)})};Ue(this,Ze,yg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Gd).call(this)}},pn=new WeakMap,Ye=new WeakMap,gc=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Vs=new WeakMap,ui=new WeakMap,fi=new WeakMap,vc=new WeakMap,Gs=new WeakMap,Ys=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Xs=new WeakMap,Ze=new WeakSet,Ql=function(t){Ue(this,Ze,Qd).call(this);let r=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Zt)),r},Hd=function(){Ue(this,Ze,Yd).call(this);const t=Is(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!jd(t))return;const i=cg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Wd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Vd=function(t){Ue(this,Ze,Xd).call(this),ge(this,di,t),!(Sa||or(this.options.enabled,_(this,Ye))===!1||!jd(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||Lp.isFocused())&&Ue(this,Ze,Ql).call(this)},_(this,di)))},Gd=function(){Ue(this,Ze,Hd).call(this),Ue(this,Ze,Vd).call(this,Ue(this,Ze,Wd).call(this))},Yd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Xd=function(){_(this,wa)&&(clearInterval(_(this,wa)),ge(this,wa,void 0))},Qd=function(){const t=_(this,pn).getQueryCache().build(_(this,pn),this.options);if(t===_(this,Ye))return;const r=_(this,Ye);ge(this,Ye,t),ge(this,gc,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},yg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_(this,Jt))}),_(this,pn).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},Zm);function Ab(e,t){return or(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fh(e,t){return Ab(e,t)||e.state.data!==void 0&&qd(e,t,t.refetchOnMount)}function qd(e,t,r){if(or(t.enabled,e)!==!1){const i=typeof r=="function"?r(e):r;return i==="always"||i!==!1&&$p(e,t)}return!1}function Mh(e,t,r,i){return(e!==t||or(i.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&$p(e,r)}function $p(e,t){return or(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function Ob(e,t){return!Au(e.getCurrentResult(),t)}var pi,hi,hn,ao,fo,Cu,Kd,eg,Ib=(eg=class extends qs{constructor(r,i){super();Ie(this,fo);Ie(this,pi);Ie(this,hi);Ie(this,hn);Ie(this,ao);ge(this,pi,r),this.setOptions(i),this.bindMethods(),Ue(this,fo,Cu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const i=this.options;this.options=_(this,pi).defaultMutationOptions(r),Au(this.options,i)||_(this,pi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,hn),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ka(i.mutationKey)!==ka(this.options.mutationKey)?this.reset():((a=_(this,hn))==null?void 0:a.state.status)==="pending"&&_(this,hn).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=_(this,hn))==null||r.removeObserver(this)}onMutationUpdate(r){Ue(this,fo,Cu).call(this),Ue(this,fo,Kd).call(this,r)}getCurrentResult(){return _(this,hi)}reset(){var r;(r=_(this,hn))==null||r.removeObserver(this),ge(this,hn,void 0),Ue(this,fo,Cu).call(this),Ue(this,fo,Kd).call(this)}mutate(r,i){var a;return ge(this,ao,i),(a=_(this,hn))==null||a.removeObserver(this),ge(this,hn,_(this,pi).getMutationCache().build(_(this,pi),this.options)),_(this,hn).addObserver(this),_(this,hn).execute(r)}},pi=new WeakMap,hi=new WeakMap,hn=new WeakMap,ao=new WeakMap,fo=new WeakSet,Cu=function(){var i;const r=((i=_(this,hn))==null?void 0:i.state)??vg();ge(this,hi,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},Kd=function(r){bt.batch(()=>{var i,a,u,p,m,h,v,C;if(_(this,ao)&&this.hasListeners()){const x=_(this,hi).variables,F=_(this,hi).context;(r==null?void 0:r.type)==="success"?((a=(i=_(this,ao)).onSuccess)==null||a.call(i,r.data,x,F),(p=(u=_(this,ao)).onSettled)==null||p.call(u,r.data,null,x,F)):(r==null?void 0:r.type)==="error"&&((h=(m=_(this,ao)).onError)==null||h.call(m,r.error,x,F),(C=(v=_(this,ao)).onSettled)==null||C.call(v,void 0,r.error,x,F))}this.listeners.forEach(x=>{x(_(this,hi))})})},eg),bg=pe.createContext(void 0),wg=e=>{const t=pe.useContext(bg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fb=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(bg.Provider,{value:e,children:t})),xg=pe.createContext(!1),Mb=()=>pe.useContext(xg);xg.Provider;function Db(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _b=pe.createContext(Db()),Lb=()=>pe.useContext(_b),$b=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},jb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Nb=({result:e,errorResetBoundary:t,throwOnError:r,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||fg(r,[e.error,i])),zb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...r)=>Math.max(t(...r),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Bb=(e,t)=>e.isLoading&&e.isFetching&&!t,Ub=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Dh=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Hb(e,t,r){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=wg(r),a=Mb(),u=Lb(),p=i.defaultQueryOptions(e);(F=(x=i.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=a?"isRestoring":"optimistic",zb(p),$b(p,u),jb(u);const m=!i.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(i,p)),v=h.getOptimisticResult(p),C=!a&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const O=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),O},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Ub(p,v))throw Dh(p,h,u);if(Nb({result:v,errorResetBoundary:u,throwOnError:p.throwOnError,query:i.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=i.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Sa&&Bb(v,a)){const T=m?Dh(p,h,u):(D=i.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(Zt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function jp(e,t){return Hb(e,Pb,t)}function Sg(e,t){const r=wg(t),[i]=pe.useState(()=>new Ib(r,e));pe.useEffect(()=>{i.setOptions(e)},[i,e]);const a=pe.useSyncExternalStore(pe.useCallback(p=>i.subscribe(bt.batchCalls(p)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),u=pe.useCallback((p,m)=>{i.mutate(p,m).catch(Zt)},[i]);if(a.error&&fg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:u,mutateAsync:a.mutate}}const Np=A.createContext(null);Np.Provider;const Ks=()=>A.useContext(Np),kg=({children:e})=>{const[t]=A.useState(new Rb);return console.log("Confidence Playbook Context Initialized"),q.jsx(Np.Provider,{value:{queryClient:t},children:q.jsx(Fb,{client:t,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Eg="https://marketplace.confidence.com/api",yc=Eg+"/confidence",_h=Eg+"/dropbox/prod",Wb=async e=>{const t={taskInstanceId:e},r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${yc}/playbook-task-complete`,{method:"POST",headers:r,body:JSON.stringify(t)})).json()},Vb=()=>{const{queryClient:e}=Ks(),t=Sg({mutationFn:async i=>Wb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Gb=async e=>{const t={taskInstanceId:e},r=new Headers;r.append("Content-Type","application/json");const a=await(await fetch(`${yc}/playbook-task-start`,{method:"POST",headers:r,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Yb=()=>{const{queryClient:e}=Ks(),t=Sg({mutationFn:async i=>{const a=await Gb(i);return console.log(a),a}},e);return{startTask:i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...t}},Cg=(e,t)=>{const{queryClient:r}=Ks(),i=jp({initialData:{},queryFn:()=>r.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=p=>{var m;return((m=i.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(p,m)=>{var h;r.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!a(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,a(p))}}},Xb=(e,t)=>{const{queryClient:r}=Ks(),{completeTask:i}=Vb(),{startTask:a}=Yb(),{toggleTaskExpanded:u}=Cg(e);return{completeTask:async(h,v)=>{const{status:C}=await i(h.toString());C&&(u(h,!1),r.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ut.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await a(h.toString());v&&(u(h,!0),r.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},Qb=e=>{var a;const{queryClient:t}=Ks(),r=jp({queryFn:async()=>{const u=new Headers,p=await fetch(`${yc}/playbook-details`,{method:"POST",cache:"no-store",headers:u,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),i=Xb(e,{quickComplete:(a=r.data)==null?void 0:a.quickComplete});return{playbook:r.data,isLoading:r.isLoading,error:r.error,actions:i}},ec={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},qb={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},Kb=e=>{const{taskStatus:t,canStart:r}=e;return{buttons:A.useMemo(()=>t===ut.OPEN&&r?[ec.START]:t===ut.IN_PROGRESS?[ec.PAUSE,ec.COMPLETE]:t===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Tg=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${yc}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},zp="-",Jb=e=>{const t=e0(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(zp);return m[0]===""&&m.length!==1&&m.shift(),Rg(m,t)||Zb(p)},getConflictingClassGroupIds:(p,m)=>{const h=r[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Rg=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const r=e[0],i=t.nextPart.get(r),a=i?Rg(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const u=e.join(zp);return(p=t.validators.find(({validator:m})=>m(u)))==null?void 0:p.classGroupId},Lh=/^\[(.+)\]$/,Zb=e=>{if(Lh.test(e)){const t=Lh.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},e0=e=>{const{theme:t,classGroups:r}=e,i={nextPart:new Map,validators:[]};for(const a in r)Jd(r[a],i,a,t);return i},Jd=(e,t,r,i)=>{e.forEach(a=>{if(typeof a=="string"){const u=a===""?t:$h(t,a);u.classGroupId=r;return}if(typeof a=="function"){if(t0(a)){Jd(a(i),t,r,i);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([u,p])=>{Jd(p,$h(t,u),r,i)})})},$h=(e,t)=>{let r=e;return t.split(zp).forEach(i=>{r.nextPart.has(i)||r.nextPart.set(i,{nextPart:new Map,validators:[]}),r=r.nextPart.get(i)}),r},t0=e=>e.isThemeGetter,n0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,i=new Map;const a=(u,p)=>{r.set(u,p),t++,t>e&&(t=0,i=r,r=new Map)};return{get(u){let p=r.get(u);if(p!==void 0)return p;if((p=i.get(u))!==void 0)return a(u,p),p},set(u,p){r.has(u)?r.set(u,p):a(u,p)}}},Zd="!",ep=":",r0=ep.length,o0=e=>{const{prefix:t,experimentalParseClassName:r}=e;let i=a=>{const u=[];let p=0,m=0,h=0,v;for(let L=0;L<a.length;L++){let D=a[L];if(p===0&&m===0){if(D===ep){u.push(a.slice(h,L)),h=L+r0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=u.length===0?a:a.substring(h),x=i0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:u,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const a=t+ep,u=i;i=p=>p.startsWith(a)?u(p.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(r){const a=i;i=u=>r({className:u,parseClassName:a})}return i},i0=e=>e.endsWith(Zd)?e.substring(0,e.length-1):e.startsWith(Zd)?e.substring(1):e,a0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let u=[];return i.forEach(p=>{p[0]==="["||t[p]?(a.push(...u.sort(),p),u=[]):u.push(p)}),a.push(...u.sort()),a}},s0=e=>({cache:n0(e.cacheSize),parseClassName:o0(e),sortModifiers:a0(e),...Jb(e)}),l0=/\s+/,c0=(e,t)=>{const{parseClassName:r,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:u}=t,p=[],m=e.trim().split(l0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=r(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,O=i(T?L.substring(0,D):L);if(!O){if(!T){h=C+(h.length>0?" "+h:h);continue}if(O=i(L),!O){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=u(F).join(":"),j=I?U+Zd:U,V=j+O;if(p.includes(V))continue;p.push(V);const $=a(O,T);for(let J=0;J<$.length;++J){const ae=$[J];p.push(j+ae)}h=C+(h.length>0?" "+h:h)}return h};function u0(){let e=0,t,r,i="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Pg(t))&&(i&&(i+=" "),i+=r);return i}const Pg=e=>{if(typeof e=="string")return e;let t,r="";for(let i=0;i<e.length;i++)e[i]&&(t=Pg(e[i]))&&(r&&(r+=" "),r+=t);return r};function f0(e,...t){let r,i,a,u=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return r=s0(v),i=r.cache.get,a=r.cache.set,u=m,m(h)}function m(h){const v=i(h);if(v)return v;const C=c0(h,r);return a(h,C),C}return function(){return u(u0.apply(null,arguments))}}const yt=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},Ag=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Og=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d0=/^\d+\/\d+$/,p0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>d0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),vd=e=>e.endsWith("%")&&He(e.slice(0,-1)),ro=e=>p0.test(e),y0=()=>!0,b0=e=>h0.test(e)&&!m0.test(e),Ig=()=>!1,w0=e=>g0.test(e),x0=e=>v0.test(e),S0=e=>!be(e)&&!we(e),k0=e=>Js(e,Dg,Ig),be=e=>Ag.test(e),sa=e=>Js(e,_g,b0),yd=e=>Js(e,P0,He),jh=e=>Js(e,Fg,Ig),E0=e=>Js(e,Mg,x0),yu=e=>Js(e,Lg,w0),we=e=>Og.test(e),Yl=e=>Zs(e,_g),C0=e=>Zs(e,A0),Nh=e=>Zs(e,Fg),T0=e=>Zs(e,Dg),R0=e=>Zs(e,Mg),bu=e=>Zs(e,Lg,!0),Js=(e,t,r)=>{const i=Ag.exec(e);return i?i[1]?t(i[1]):r(i[2]):!1},Zs=(e,t,r=!1)=>{const i=Og.exec(e);return i?i[1]?t(i[1]):r:!1},Fg=e=>e==="position"||e==="percentage",Mg=e=>e==="image"||e==="url",Dg=e=>e==="length"||e==="size"||e==="bg-size",_g=e=>e==="length",P0=e=>e==="number",A0=e=>e==="family-name",Lg=e=>e==="shadow",O0=()=>{const e=yt("color"),t=yt("font"),r=yt("text"),i=yt("font-weight"),a=yt("tracking"),u=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),O=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],J=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],ne=()=>[we,be,h],le=()=>[Rs,"full","auto",...ne()],ye=()=>[ti,"none","subgrid",we,be],De=()=>["auto",{span:["full",ti,we,be]},ti,we,be],Fe=()=>[ti,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...ne()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ne()],Z=()=>[e,we,be],ve=()=>[...V(),Nh,jh,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",T0,k0,{size:[we,be]}],fe=()=>[vd,Yl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Yl,sa],me=()=>["solid","dashed","dotted","double"],ce=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[He,vd,Nh,jh],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...ne()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ro],breakpoint:[ro],color:[y0],container:[ro],"drop-shadow":[ro],ease:["in","out","in-out"],font:[S0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ro],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ro],shadow:[ro],spacing:["px",He],text:[ro],"text-shadow":[ro],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ti,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...ne()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ti,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:ne()}],"gap-x":[{"gap-x":ne()}],"gap-y":[{"gap-y":ne()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:ne()}],px:[{px:ne()}],py:[{py:ne()}],ps:[{ps:ne()}],pe:[{pe:ne()}],pt:[{pt:ne()}],pr:[{pr:ne()}],pb:[{pb:ne()}],pl:[{pl:ne()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":ne()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ne()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",r,Yl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,yd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vd,be]}],"font-family":[{font:[C0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,yd]}],leading:[{leading:[u,...ne()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,sa]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ne()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ti,we,be],radial:["",we,be],conic:[ti,we,be]},R0,E0]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Yl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,bu,yu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,bu,yu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[He,sa]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,bu,yu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ce(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ce()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":Z()}],"mask-image-linear-to-color":[{"mask-linear-to":Z()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":Z()}],"mask-image-t-to-color":[{"mask-t-to":Z()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":Z()}],"mask-image-r-to-color":[{"mask-r-to":Z()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":Z()}],"mask-image-b-to-color":[{"mask-b-to":Z()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":Z()}],"mask-image-l-to-color":[{"mask-l-to":Z()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":Z()}],"mask-image-x-to-color":[{"mask-x-to":Z()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,bu,yu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ne()}],"border-spacing-x":[{"border-spacing-x":ne()}],"border-spacing-y":[{"border-spacing-y":ne()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",O,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ne()}],"scroll-mx":[{"scroll-mx":ne()}],"scroll-my":[{"scroll-my":ne()}],"scroll-ms":[{"scroll-ms":ne()}],"scroll-me":[{"scroll-me":ne()}],"scroll-mt":[{"scroll-mt":ne()}],"scroll-mr":[{"scroll-mr":ne()}],"scroll-mb":[{"scroll-mb":ne()}],"scroll-ml":[{"scroll-ml":ne()}],"scroll-p":[{"scroll-p":ne()}],"scroll-px":[{"scroll-px":ne()}],"scroll-py":[{"scroll-py":ne()}],"scroll-ps":[{"scroll-ps":ne()}],"scroll-pe":[{"scroll-pe":ne()}],"scroll-pt":[{"scroll-pt":ne()}],"scroll-pr":[{"scroll-pr":ne()}],"scroll-pb":[{"scroll-pb":ne()}],"scroll-pl":[{"scroll-pl":ne()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[He,Yl,sa,yd]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fs=f0(O0);function $g(e){var t,r,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=$g(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}function lc(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=$g(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Fs(lc(e))}const jg=typeof document<"u"?A.useLayoutEffect:()=>{};function I0(e){const t=A.useRef(null);return jg(()=>{t.current=e},[e]),A.useCallback((...r)=>{const i=t.current;return i==null?void 0:i(...r)},[])}const ki=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ua=e=>e&&"window"in e&&e.window===e?e:ki(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let D0=!1;function Bp(){return D0}function Ng(e,t){if(!Bp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let r=t;for(;r!==null;){if(r===e)return!0;r.tagName==="SLOT"&&r.assignedSlot?r=r.assignedSlot.parentNode:M0(r)?r=r.host:r=r.parentNode}return!1}const tp=(e=document)=>{var t;if(!Bp())return e.activeElement;let r=e.activeElement;for(;r&&"shadowRoot"in r&&(!((t=r.shadowRoot)===null||t===void 0)&&t.activeElement);)r=r.shadowRoot.activeElement;return r};function zg(e){return Bp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Hu(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(r=>e.test(r.brand)))||e.test(window.navigator.userAgent)}function Up(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Hp=vo(function(){return Up(/^Mac/i)}),_0=vo(function(){return Up(/^iPhone/i)}),L0=vo(function(){return Up(/^iPad/i)||Hp()&&navigator.maxTouchPoints>1}),$0=vo(function(){return _0()||L0()});vo(function(){return Hp()||$0()});vo(function(){return Hu(/AppleWebKit/i)&&!j0()});const j0=vo(function(){return Hu(/Chrome/i)}),N0=vo(function(){return Hu(/Android/i)});vo(function(){return Hu(/Firefox/i)});function Bg(){let e=A.useRef(new Map),t=A.useCallback((a,u,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:u,eventTarget:a,fn:h,options:m}),a.addEventListener(u,h,m)},[]),r=A.useCallback((a,u,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;a.removeEventListener(u,v,m),e.current.delete(p)},[]),i=A.useCallback(()=>{e.current.forEach((a,u)=>{r(a.eventTarget,a.type,u,a.options)})},[r]);return A.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}function z0(e){return e.mozInputSource===0&&e.isTrusted?!0:N0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ug(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Hg(e){let t=A.useRef({isFocused:!1,observer:null});jg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let r=I0(i=>{e==null||e(i)});return A.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=i.target,u=p=>{if(t.current.isFocused=!1,a.disabled){let m=Ug(p);r(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",u,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[r])}let U0=!1,bc=null,np=new Set,tc=new Map,Ea=!1,rp=!1;const H0={Tab:!0,Escape:!0};function Wp(e,t){for(let r of np)r(e,t)}function W0(e){return!(e.metaKey||!Hp()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Fu(e){Ea=!0,W0(e)&&(bc="keyboard",Wp("keyboard",e))}function zn(e){bc="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Wp("pointer",e))}function Wg(e){z0(e)&&(Ea=!0,bc="virtual")}function Vg(e){e.target===window||e.target===document||U0||!e.isTrusted||(!Ea&&!rp&&(bc="virtual",Wp("virtual",e)),Ea=!1,rp=!1)}function Gg(){Ea=!1,rp=!0}function op(e){if(typeof window>"u"||typeof document>"u"||tc.get(ua(e)))return;const t=ua(e),r=ki(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ea=!0,i.apply(this,arguments)},r.addEventListener("keydown",Fu,!0),r.addEventListener("keyup",Fu,!0),r.addEventListener("click",Wg,!0),t.addEventListener("focus",Vg,!0),t.addEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(r.addEventListener("pointerdown",zn,!0),r.addEventListener("pointermove",zn,!0),r.addEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(r.addEventListener("mousedown",zn,!0),r.addEventListener("mousemove",zn,!0),r.addEventListener("mouseup",zn,!0)),t.addEventListener("beforeunload",()=>{Yg(e)},{once:!0}),tc.set(t,{focus:i})}const Yg=(e,t)=>{const r=ua(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),tc.has(r)&&(r.HTMLElement.prototype.focus=tc.get(r).focus,i.removeEventListener("keydown",Fu,!0),i.removeEventListener("keyup",Fu,!0),i.removeEventListener("click",Wg,!0),r.removeEventListener("focus",Vg,!0),r.removeEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",zn,!0),i.removeEventListener("pointermove",zn,!0),i.removeEventListener("pointerup",zn,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",zn,!0),i.removeEventListener("mousemove",zn,!0),i.removeEventListener("mouseup",zn,!0)),tc.delete(r))};function V0(e){const t=ki(e);let r;return t.readyState!=="loading"?op(e):(r=()=>{op(e)},t.addEventListener("DOMContentLoaded",r)),()=>Yg(e,r)}typeof document<"u"&&V0();function Xg(){return bc!=="pointer"}const G0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y0(e,t,r){let i=ki(r==null?void 0:r.target);const a=typeof window<"u"?ua(r==null?void 0:r.target).HTMLInputElement:HTMLInputElement,u=typeof window<"u"?ua(r==null?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ua(r==null?void 0:r.target).HTMLElement:HTMLElement,m=typeof window<"u"?ua(r==null?void 0:r.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!G0.has(i.activeElement.type)||i.activeElement instanceof u||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&r instanceof m&&!H0[r.key])}function X0(e,t,r){op(),A.useEffect(()=>{let i=(a,u)=>{Y0(!!(r!=null&&r.isTextInput),a,u)&&e(Xg())};return np.add(i),()=>{np.delete(i)}},t)}function Q0(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:a}=e;const u=A.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Hg(u),m=A.useCallback(h=>{const v=ki(h.target),C=v?tp(v):tp();h.target===h.currentTarget&&C===zg(h.nativeEvent)&&(r&&r(h),a&&a(!0),p(h))},[a,r,p]);return{focusProps:{onFocus:!t&&(r||a||i)?m:void 0,onBlur:!t&&(i||a)?u:void 0}}}function q0(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:a}=e,u=A.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Bg(),h=A.useCallback(x=>{x.currentTarget.contains(x.target)&&u.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(u.current.isFocusWithin=!1,m(),r&&r(x),a&&a(!1))},[r,a,u,m]),v=Hg(h),C=A.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=tp(F);if(!u.current.isFocusWithin&&I===zg(x.nativeEvent)){i&&i(x),a&&a(!0),u.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(u.current.isFocusWithin&&!Ng(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});B0(T,L);let O=Ug(T);h(O)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let Mu=!1,bd=0;function ip(){Mu=!0,setTimeout(()=>{Mu=!1},50)}function zh(e){e.pointerType==="touch"&&ip()}function K0(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",ip),bd++,()=>{bd--,!(bd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",ip))}}function J0(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:i,isDisabled:a}=e,[u,p]=A.useState(!1),m=A.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;A.useEffect(K0,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Bg(),{hoverProps:C,triggerHoverEnd:x}=A.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let O=D.currentTarget;m.target=O,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Ng(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:O,pointerType:T}),r&&r(!0),p(!0)},I=(D,T)=>{let O=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!O)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:O,pointerType:T}),r&&r(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{Mu&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!Mu&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,r,i,a,m,h,v]);return A.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:u}}function Z0(e={}){let{autoFocus:t=!1,isTextInput:r,within:i}=e,a=A.useRef({isFocused:!1,isFocusVisible:t||Xg()}),[u,p]=A.useState(!1),[m,h]=A.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=A.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=A.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);X0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:r});let{focusProps:x}=Q0({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=q0({isDisabled:!i,onFocusWithinChange:C});return{isFocused:u,isFocusVisible:m,focusProps:i?F:x}}var ew=Object.defineProperty,tw=(e,t,r)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,wd=(e,t,r)=>(tw(e,typeof t!="symbol"?t+"":t,r),r);let nw=class{constructor(){wd(this,"current",this.detect()),wd(this,"handoffState","pending"),wd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xa=new nw;function Wu(e){var t,r;return xa.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(r=(t=e.current)==null?void 0:t.ownerDocument)!=null?r:document:null:document}function Vu(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(r,i,a,u){return r.addEventListener(i,a,u),t.add(()=>r.removeEventListener(i,a,u))},requestAnimationFrame(...r){let i=requestAnimationFrame(...r);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...r){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...r))},setTimeout(...r){let i=setTimeout(...r);return t.add(()=>clearTimeout(i))},microTask(...r){let i={current:!0};return Vu(()=>{i.current&&r[0]()}),t.add(()=>{i.current=!1})},style(r,i,a){let u=r.style.getPropertyValue(i);return Object.assign(r.style,{[i]:a}),this.add(()=>{Object.assign(r.style,{[i]:u})})},group(r){let i=yo();return r(i),this.add(()=>i.dispose())},add(r){return e.includes(r)||e.push(r),()=>{let i=e.indexOf(r);if(i>=0)for(let a of e.splice(i,1))a()}},dispose(){for(let r of e.splice(0))r()}};return t}function Vp(){let[e]=A.useState(yo);return A.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?A.useEffect(e,t):A.useLayoutEffect(e,t)};function Ra(e){let t=A.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return A.useCallback((...r)=>t.current(...r),[t])},Qg=A.createContext(void 0);function Gu(){return A.useContext(Qg)}function rw({value:e,children:t}){return A.createElement(Qg.Provider,{value:e},t)}function ap(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...r){if(e in t){let a=t[e];return typeof a=="function"?a(...r):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,po),i}var Du=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Du||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function en(){let e=iw();return A.useCallback(t=>ow({mergeRefs:e,...t}),[e])}function ow({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:a,visible:u=!0,name:p,mergeRefs:m}){m=m??aw;let h=qg(t,e);if(u)return wu(h,r,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return wu(x,r,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return wu({...x,hidden:!0,style:{display:"none"}},r,i,p,m)}})}return wu(h,r,i,p,m)}function wu(e,t={},r,i,a){let{as:u=r,children:p,refName:m="ref",...h}=xd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(u===A.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!A.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(la(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(la(h)).concat(Object.keys(la(x))).map(F=>` - ${F}`).join(`
|
|
126
126
|
`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(F=>` - ${F}`).join(`
|
|
127
127
|
`)].join(`
|
|
128
|
-
`))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...A)=>sp(I(...A),h.className):sp(I,h.className),D=L?{className:L}:{},T=Zg(C.props,la(Sd(h,["ref"])));for(let A in x)A in T&&delete x[A];return O.cloneElement(C,Object.assign({},T,x,v,{ref:a(pw(C),v.ref)},D))}return O.createElement(u,Object.assign({},Sd(h,["ref"]),u!==O.Fragment&&v,u!==O.Fragment&&x),C)}function uw(){let e=O.useRef([]),t=O.useCallback(r=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(r):i.current=r)},[]);return(...r)=>{if(!r.every(i=>i==null))return e.current=r,t}}function fw(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function Zg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];if(t.disabled||t["aria-disabled"])for(let i in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(r[i]=[a=>{var u;return(u=a==null?void 0:a.preventDefault)==null?void 0:u.call(a)}]);for(let i in r)Object.assign(t,{[i](a,...u){let p=r[i];for(let m of p){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;m(a,...u)}}});return t}function dw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];for(let i in r)Object.assign(t,{[i](...a){let u=r[i];for(let p of u)p==null||p(...a)}});return t}function Dt(e){var t;return Object.assign(O.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function la(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function Sd(e,t=[]){let r=Object.assign({},e);for(let i of t)i in r&&delete r[i];return r}function pw(e){return O.version.split(".")[0]>="19"?e.props.ref:e.ref}let hw="span";var uc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(uc||{});function mw(e,t){var r;let{features:i=1,...a}=e,u={ref:t,"aria-hidden":(i&2)===2?!0:(r=a["aria-hidden"])!=null?r:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return en()({ourProps:u,theirProps:a,slot:{},defaultTag:hw,name:"Hidden"})}let $u=Dt(mw),gw=O.createContext(null);function vw(e){let[t,r]=O.useState(null);return O.createElement(gw.Provider,{value:{target:t}},e.children,O.createElement($u,{features:uc.Hidden,ref:r}))}let ev=O.createContext(void 0);function tv(){return O.useContext(ev)}function yw({id:e,children:t}){return O.createElement(ev.Provider,{value:e},t)}function nv(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return nv(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function bw(e){return lo(e)&&"style"in e}function ww(e){return yi(e)&&e.nodeName==="IFRAME"}function rv(e){return yi(e)&&e.nodeName==="INPUT"}function Hh(e){return yi(e)&&e.nodeName==="LABEL"}function xw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let ov=Symbol();function Sw(e,t=!0){return Object.assign(e,{[ov]:t})}function sr(...e){let t=O.useRef(e);O.useEffect(()=>{t.current=e},[e]);let r=tt(i=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[ov]))?void 0:r}let Xu=O.createContext(null);Xu.displayName="DescriptionContext";function iv(){let e=O.useContext(Xu);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,iv),t}return e}function kw(){var e,t;return(t=(e=O.useContext(Xu))==null?void 0:e.value)!=null?t:void 0}function av(){let[e,t]=O.useState([]);return[e.length>0?e.join(" "):void 0,O.useMemo(()=>function(r){let i=tt(u=>(t(p=>[...p,u]),()=>t(p=>{let m=p.slice(),h=m.indexOf(u);return h!==-1&&m.splice(h,1),m}))),a=O.useMemo(()=>({register:i,slot:r.slot,name:r.name,props:r.props,value:r.value}),[i,r.slot,r.name,r.props,r.value]);return O.createElement(Xu.Provider,{value:a},r.children)},[t])]}let Ew="p";function Cw(e,t){let r=O.useId(),i=Yu(),{id:a=`headlessui-description-${r}`,...u}=e,p=iv(),m=sr(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=O.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return en()({ourProps:C,theirProps:u,slot:v,defaultTag:Ew,name:p.name||"Description"})}let Tw=Dt(Cw),sv=Object.assign(Tw,{});var lv=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(lv||{});let Qu=O.createContext(null);Qu.displayName="LabelContext";function cv(){let e=O.useContext(Qu);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,cv),t}return e}function uv(e){var t,r,i;let a=(r=(t=O.useContext(Qu))==null?void 0:t.value)!=null?r:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Rw({inherit:e=!1}={}){let t=uv(),[r,i]=O.useState([]),a=e?[t,...r].filter(Boolean):r;return[a.length>0?a.join(" "):void 0,O.useMemo(()=>function(u){let p=tt(h=>(i(v=>[...v,h]),()=>i(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=O.useMemo(()=>({register:p,slot:u.slot,name:u.name,props:u.props,value:u.value}),[p,u.slot,u.name,u.props,u.value]);return O.createElement(Qu.Provider,{value:m},u.children)},[i])]}let Pw="label";function Ow(e,t){var r;let i=O.useId(),a=cv(),u=tv(),p=Yu(),{id:m=`headlessui-label-${i}`,htmlFor:h=u??((r=a.props)==null?void 0:r.htmlFor),passive:v=!1,...C}=e,x=sr(t);Mt(()=>a.register(m),[m,a.register]);let F=tt(T=>{let A=T.currentTarget;if(!(T.target!==T.currentTarget&&xw(T.target))&&(Hh(A)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),Hh(A))){let U=document.getElementById(A.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(rv(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=O.useMemo(()=>({...a.slot,disabled:I}),[a.slot,I]),D={ref:x,...a.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),en()({ourProps:D,theirProps:C,slot:L,defaultTag:h?Pw:"div",name:a.name||"Label"})}let Aw=Dt(Ow),Iw=Object.assign(Aw,{}),Fw=O.createContext(()=>{});function Mw({value:e,children:t}){return O.createElement(Fw.Provider,{value:e},t)}let fv=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};var Dw=Object.defineProperty,_w=(e,t,r)=>t in e?Dw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Lw=(e,t,r)=>(_w(e,t+"",r),r),dv=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},jn=(e,t,r)=>(dv(e,t,"read from private field"),r?r.call(e):t.get(e)),kd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Wh=(e,t,r,i)=>(dv(e,t,"write to private field"),t.set(e,r),r),Er,Kl,Jl;let $w=class{constructor(t){kd(this,Er,{}),kd(this,Kl,new fv(()=>new Set)),kd(this,Jl,new Set),Lw(this,"disposables",yo()),Wh(this,Er,t)}dispose(){this.disposables.dispose()}get state(){return jn(this,Er)}subscribe(t,r){let i={selector:t,callback:r,current:t(jn(this,Er))};return jn(this,Jl).add(i),this.disposables.add(()=>{jn(this,Jl).delete(i)})}on(t,r){return jn(this,Kl).get(t).add(r),this.disposables.add(()=>{jn(this,Kl).get(t).delete(r)})}send(t){let r=this.reduce(jn(this,Er),t);if(r!==jn(this,Er)){Wh(this,Er,r);for(let i of jn(this,Jl)){let a=i.selector(jn(this,Er));pv(i.current,a)||(i.current=a,i.callback(a))}for(let i of jn(this,Kl).get(t.type))i(jn(this,Er),t)}}};Er=new WeakMap,Kl=new WeakMap,Jl=new WeakMap;function pv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Ed(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Ed(e.entries(),t.entries()):Vh(e)&&Vh(t)?Ed(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Ed(e,t){do{let r=e.next(),i=t.next();if(r.done&&i.done)return!0;if(r.done||i.done||!Object.is(r.value,i.value))return!1}while(!0)}function Vh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var jw=Object.defineProperty,Nw=(e,t,r)=>t in e?jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Gh=(e,t,r)=>(Nw(e,typeof t!="symbol"?t+"":t,r),r),zw=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(zw||{});let Bw={0(e,t){let r=t.id,i=e.stack,a=e.stack.indexOf(r);if(a!==-1){let u=e.stack.slice();return u.splice(a,1),u.push(r),i=u,{...e,stack:i}}return{...e,stack:[...e.stack,r]}},1(e,t){let r=t.id,i=e.stack.indexOf(r);if(i===-1)return e;let a=e.stack.slice();return a.splice(i,1),{...e,stack:a}}},Uw=class hv extends $w{constructor(){super(...arguments),Gh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Gh(this,"selectors",{isTop:(t,r)=>t.stack[t.stack.length-1]===r,inStack:(t,r)=>t.stack.includes(r)})}static new(){return new hv({stack:[]})}reduce(t,r){return po(r.type,Bw,t,r)}};const mv=new fv(()=>Uw.new());var ku={exports:{}},Cd={};/**
|
|
128
|
+
`))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...O)=>ap(I(...O),h.className):ap(I,h.className),D=L?{className:L}:{},T=qg(C.props,la(xd(h,["ref"])));for(let O in x)O in T&&delete x[O];return A.cloneElement(C,Object.assign({},T,x,v,{ref:a(lw(C),v.ref)},D))}return A.createElement(u,Object.assign({},xd(h,["ref"]),u!==A.Fragment&&v,u!==A.Fragment&&x),C)}function iw(){let e=A.useRef([]),t=A.useCallback(r=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(r):i.current=r)},[]);return(...r)=>{if(!r.every(i=>i==null))return e.current=r,t}}function aw(...e){return e.every(t=>t==null)?void 0:t=>{for(let r of e)r!=null&&(typeof r=="function"?r(t):r.current=t)}}function qg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];if(t.disabled||t["aria-disabled"])for(let i in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(r[i]=[a=>{var u;return(u=a==null?void 0:a.preventDefault)==null?void 0:u.call(a)}]);for(let i in r)Object.assign(t,{[i](a,...u){let p=r[i];for(let m of p){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;m(a,...u)}}});return t}function sw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},r={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(r[a]!=null||(r[a]=[]),r[a].push(i[a])):t[a]=i[a];for(let i in r)Object.assign(t,{[i](...a){let u=r[i];for(let p of u)p==null||p(...a)}});return t}function Dt(e){var t;return Object.assign(A.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function la(e){let t=Object.assign({},e);for(let r in t)t[r]===void 0&&delete t[r];return t}function xd(e,t=[]){let r=Object.assign({},e);for(let i of t)i in r&&delete r[i];return r}function lw(e){return A.version.split(".")[0]>="19"?e.props.ref:e.ref}let cw="span";var cc=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(cc||{});function uw(e,t){var r;let{features:i=1,...a}=e,u={ref:t,"aria-hidden":(i&2)===2?!0:(r=a["aria-hidden"])!=null?r:void 0,hidden:(i&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return en()({ourProps:u,theirProps:a,slot:{},defaultTag:cw,name:"Hidden"})}let _u=Dt(uw),fw=A.createContext(null);function dw(e){let[t,r]=A.useState(null);return A.createElement(fw.Provider,{value:{target:t}},e.children,A.createElement(_u,{features:cc.Hidden,ref:r}))}let Kg=A.createContext(void 0);function Jg(){return A.useContext(Kg)}function pw({id:e,children:t}){return A.createElement(Kg.Provider,{value:e},t)}function Zg(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return Zg(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function hw(e){return lo(e)&&"style"in e}function mw(e){return yi(e)&&e.nodeName==="IFRAME"}function ev(e){return yi(e)&&e.nodeName==="INPUT"}function Bh(e){return yi(e)&&e.nodeName==="LABEL"}function gw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let tv=Symbol();function vw(e,t=!0){return Object.assign(e,{[tv]:t})}function sr(...e){let t=A.useRef(e);A.useEffect(()=>{t.current=e},[e]);let r=tt(i=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[tv]))?void 0:r}let Yu=A.createContext(null);Yu.displayName="DescriptionContext";function nv(){let e=A.useContext(Yu);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,nv),t}return e}function yw(){var e,t;return(t=(e=A.useContext(Yu))==null?void 0:e.value)!=null?t:void 0}function rv(){let[e,t]=A.useState([]);return[e.length>0?e.join(" "):void 0,A.useMemo(()=>function(r){let i=tt(u=>(t(p=>[...p,u]),()=>t(p=>{let m=p.slice(),h=m.indexOf(u);return h!==-1&&m.splice(h,1),m}))),a=A.useMemo(()=>({register:i,slot:r.slot,name:r.name,props:r.props,value:r.value}),[i,r.slot,r.name,r.props,r.value]);return A.createElement(Yu.Provider,{value:a},r.children)},[t])]}let bw="p";function ww(e,t){let r=A.useId(),i=Gu(),{id:a=`headlessui-description-${r}`,...u}=e,p=nv(),m=sr(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=A.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return en()({ourProps:C,theirProps:u,slot:v,defaultTag:bw,name:p.name||"Description"})}let xw=Dt(ww),ov=Object.assign(xw,{});var iv=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(iv||{});let Xu=A.createContext(null);Xu.displayName="LabelContext";function av(){let e=A.useContext(Xu);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,av),t}return e}function sv(e){var t,r,i;let a=(r=(t=A.useContext(Xu))==null?void 0:t.value)!=null?r:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Sw({inherit:e=!1}={}){let t=sv(),[r,i]=A.useState([]),a=e?[t,...r].filter(Boolean):r;return[a.length>0?a.join(" "):void 0,A.useMemo(()=>function(u){let p=tt(h=>(i(v=>[...v,h]),()=>i(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=A.useMemo(()=>({register:p,slot:u.slot,name:u.name,props:u.props,value:u.value}),[p,u.slot,u.name,u.props,u.value]);return A.createElement(Xu.Provider,{value:m},u.children)},[i])]}let kw="label";function Ew(e,t){var r;let i=A.useId(),a=av(),u=Jg(),p=Gu(),{id:m=`headlessui-label-${i}`,htmlFor:h=u??((r=a.props)==null?void 0:r.htmlFor),passive:v=!1,...C}=e,x=sr(t);Mt(()=>a.register(m),[m,a.register]);let F=tt(T=>{let O=T.currentTarget;if(!(T.target!==T.currentTarget&&gw(T.target))&&(Bh(O)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),Bh(O))){let U=document.getElementById(O.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(ev(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=A.useMemo(()=>({...a.slot,disabled:I}),[a.slot,I]),D={ref:x,...a.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),en()({ourProps:D,theirProps:C,slot:L,defaultTag:h?kw:"div",name:a.name||"Label"})}let Cw=Dt(Ew),Tw=Object.assign(Cw,{}),Rw=A.createContext(()=>{});function Pw({value:e,children:t}){return A.createElement(Rw.Provider,{value:e},t)}let lv=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t),this.set(t,r)),r}};var Aw=Object.defineProperty,Ow=(e,t,r)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Iw=(e,t,r)=>(Ow(e,t+"",r),r),cv=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},jn=(e,t,r)=>(cv(e,t,"read from private field"),r?r.call(e):t.get(e)),Sd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Uh=(e,t,r,i)=>(cv(e,t,"write to private field"),t.set(e,r),r),Er,ql,Kl;let Fw=class{constructor(t){Sd(this,Er,{}),Sd(this,ql,new lv(()=>new Set)),Sd(this,Kl,new Set),Iw(this,"disposables",yo()),Uh(this,Er,t)}dispose(){this.disposables.dispose()}get state(){return jn(this,Er)}subscribe(t,r){let i={selector:t,callback:r,current:t(jn(this,Er))};return jn(this,Kl).add(i),this.disposables.add(()=>{jn(this,Kl).delete(i)})}on(t,r){return jn(this,ql).get(t).add(r),this.disposables.add(()=>{jn(this,ql).get(t).delete(r)})}send(t){let r=this.reduce(jn(this,Er),t);if(r!==jn(this,Er)){Uh(this,Er,r);for(let i of jn(this,Kl)){let a=i.selector(jn(this,Er));uv(i.current,a)||(i.current=a,i.callback(a))}for(let i of jn(this,ql).get(t.type))i(jn(this,Er),t)}}};Er=new WeakMap,ql=new WeakMap,Kl=new WeakMap;function uv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:kd(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:kd(e.entries(),t.entries()):Hh(e)&&Hh(t)?kd(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function kd(e,t){do{let r=e.next(),i=t.next();if(r.done&&i.done)return!0;if(r.done||i.done||!Object.is(r.value,i.value))return!1}while(!0)}function Hh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Mw=Object.defineProperty,Dw=(e,t,r)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Wh=(e,t,r)=>(Dw(e,typeof t!="symbol"?t+"":t,r),r),_w=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(_w||{});let Lw={0(e,t){let r=t.id,i=e.stack,a=e.stack.indexOf(r);if(a!==-1){let u=e.stack.slice();return u.splice(a,1),u.push(r),i=u,{...e,stack:i}}return{...e,stack:[...e.stack,r]}},1(e,t){let r=t.id,i=e.stack.indexOf(r);if(i===-1)return e;let a=e.stack.slice();return a.splice(i,1),{...e,stack:a}}},$w=class fv extends Fw{constructor(){super(...arguments),Wh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Wh(this,"selectors",{isTop:(t,r)=>t.stack[t.stack.length-1]===r,inStack:(t,r)=>t.stack.includes(r)})}static new(){return new fv({stack:[]})}reduce(t,r){return po(r.type,Lw,t,r)}};const dv=new lv(()=>$w.new());var xu={exports:{}},Ed={};/**
|
|
129
129
|
* @license React
|
|
130
130
|
* use-sync-external-store-with-selector.production.js
|
|
131
131
|
*
|
|
@@ -133,7 +133,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
133
133
|
*
|
|
134
134
|
* This source code is licensed under the MIT license found in the
|
|
135
135
|
* LICENSE file in the root directory of this source tree.
|
|
136
|
-
*/var
|
|
136
|
+
*/var Vh;function jw(){if(Vh)return Ed;Vh=1;var e=A;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,a=e.useRef,u=e.useEffect,p=e.useMemo,m=e.useDebugValue;return Ed.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,r(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return u(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},Ed}var Cd={};/**
|
|
137
137
|
* @license React
|
|
138
138
|
* use-sync-external-store-with-selector.development.js
|
|
139
139
|
*
|
|
@@ -141,16 +141,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
141
141
|
*
|
|
142
142
|
* This source code is licensed under the MIT license found in the
|
|
143
143
|
* LICENSE file in the root directory of this source tree.
|
|
144
|
-
*/var Xh;function Ww(){return Xh||(Xh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=O,r=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,u=t.useEffect,p=t.useMemo,m=t.useDebugValue;Td.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!A){if(A=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,r(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var A=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return u(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Td}var Qh;function Vw(){return Qh||(Qh=1,process.env.NODE_ENV==="production"?ku.exports=Hw():ku.exports=Ww()),ku.exports}var Gw=Vw();function gv(e,t,r=pv){return Gw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Yw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),r)}function Yw(e){return e}function Sc(e,t){let r=O.useId(),i=mv.get(t),[a,u]=gv(i,O.useCallback(p=>[i.selectors.isTop(p,r),i.selectors.inStack(p,r)],[i,r]));return Mt(()=>{if(e)return i.actions.push(r),()=>i.actions.pop(r)},[i,e,r]),e?u?a:!0:!1}let lp=new Map,rc=new Map;function qh(e){var t;let r=(t=rc.get(e))!=null?t:0;return rc.set(e,r+1),r!==0?()=>Kh(e):(lp.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Kh(e))}function Kh(e){var t;let r=(t=rc.get(e))!=null?t:1;if(r===1?rc.delete(e):rc.set(e,r-1),r!==1)return;let i=lp.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,lp.delete(e))}function Xw(e,{allowed:t,disallowed:r}={}){let i=Sc(e,"inert-others");Mt(()=>{var a,u;if(!i)return;let p=yo();for(let h of(a=r==null?void 0:r())!=null?a:[])h&&p.add(qh(h));let m=(u=t==null?void 0:t())!=null?u:[];for(let h of m){if(!h)continue;let v=Vu(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(qh(x));C=C.parentElement}}return p.dispose},[i,t,r])}function Qw(e,t,r){let i=Ra(a=>{let u=a.getBoundingClientRect();u.x===0&&u.y===0&&u.width===0&&u.height===0&&r()});O.useEffect(()=>{if(!e)return;let a=t===null?null:yi(t)?t:t.current;if(!a)return;let u=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}return()=>u.dispose()},[t,i,e])}let ju=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),qw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),cp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(cp||{}),Kw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Kw||{});function Jw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(ju)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Zw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(qw)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var vv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(vv||{});function ex(e,t=0){var r;return e===((r=Vu(e))==null?void 0:r.body)?!1:po(t,{0(){return e.matches(ju)},1(){let i=e;for(;i!==null;){if(i.matches(ju))return!0;i=i.parentElement}return!1}})}var tx=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(tx||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function co(e){e==null||e.focus({preventScroll:!0})}let nx=["textarea","input"].join(",");function rx(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,nx))!=null?r:!1}function ox(e,t=r=>r){return e.slice().sort((r,i)=>{let a=t(r),u=t(i);if(a===null||u===null)return 0;let p=a.compareDocumentPosition(u);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function oc(e,t,{sorted:r=!0,relativeTo:i=null,skipElements:a=[]}={}){let u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?r?ox(e):e:t&64?Zw(e):Jw(e);a.length>0&&p.length>1&&(p=p.filter(I=>!a.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),i=i??u.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(i))-1;if(t&4)return Math.max(0,p.indexOf(i))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==u.activeElement);return t&6&&rx(F)&&F.select(),2}function yv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ix(){return/Android/gi.test(window.navigator.userAgent)}function Jh(){return yv()||ix()}function Eu(e,t,r,i){let a=Ra(r);O.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return document.addEventListener(t,u,i),()=>document.removeEventListener(t,u,i)},[e,t,i])}function bv(e,t,r,i){let a=Ra(r);O.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return window.addEventListener(t,u,i),()=>window.removeEventListener(t,u,i)},[e,t,i])}const Zh=30;function ax(e,t,r){let i=Ra(r),a=O.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!ex(v,vv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),u=O.useRef(null);Eu(e,"pointerdown",m=>{var h,v;Jh()||(u.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),Eu(e,"pointerup",m=>{if(Jh()||!u.current)return;let h=u.current;return u.current=null,a(m,()=>h)},!0);let p=O.useRef({x:0,y:0});Eu(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),Eu(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=Zh||Math.abs(h.y-p.current.y)>=Zh))return a(m,()=>gi(m.target)?m.target:null)},!0),bv(e,"blur",m=>a(m,()=>ww(window.document.activeElement)?window.document.activeElement:null),!0)}function qu(...e){return O.useMemo(()=>Vu(...e),[...e])}function wv(e,t,r,i){let a=Ra(r);O.useEffect(()=>{e=e??window;function u(p){a.current(p)}return e.addEventListener(t,u,i),()=>e.removeEventListener(t,u,i)},[e,t,i])}function sx(e){return O.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function lx(e,t){let r=e(),i=new Set;return{getSnapshot(){return r},subscribe(a){return i.add(a),()=>i.delete(a)},dispatch(a,...u){let p=t[a].call(r,...u);p&&(r=p,i.forEach(m=>m()))}}}function cx(){let e;return{before({doc:t}){var r;let i=t.documentElement,a=(r=t.defaultView)!=null?r:window;e=Math.max(0,a.innerWidth-i.clientWidth)},after({doc:t,d:r}){let i=t.documentElement,a=Math.max(0,i.clientWidth-i.offsetWidth),u=Math.max(0,e-a);r.style(i,"paddingRight",`${u}px`)}}}function ux(){return yv()?{before({doc:e,d:t,meta:r}){function i(a){return r.containers.flatMap(u=>u()).some(u=>u.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let u=(a=window.scrollY)!=null?a:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(gi(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);gi(C)&&!i(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(gi(m.target)&&bw(m.target))if(i(m.target)){let h=m.target;for(;h.parentElement&&i(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(gi(m.target)){if(rv(m.target))return;if(i(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;u!==h&&window.scrollTo(0,u),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function fx(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function dx(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let fa=lx(()=>new Map,{PUSH(e,t){var r;let i=(r=this.get(e))!=null?r:{doc:e,count:0,d:yo(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let i={doc:e,d:t,meta:dx(r)},a=[ux(),cx(),fx()];a.forEach(({before:u})=>u==null?void 0:u(i)),a.forEach(({after:u})=>u==null?void 0:u(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fa.subscribe(()=>{let e=fa.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let i=t.get(r.doc)==="hidden",a=r.count!==0;(a&&!i||!a&&i)&&fa.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&fa.dispatch("TEARDOWN",r)}});function px(e,t,r=()=>({containers:[]})){let i=sx(fa),a=t?i.get(t):void 0,u=a?a.count>0:!1;return Mt(()=>{if(!(!t||!e))return fa.dispatch("PUSH",t,r),()=>fa.dispatch("POP",t,r)},[e,t]),u}function hx(e,t,r=()=>[document.body]){let i=Sc(e,"scroll-lock");px(i,t,a=>{var u;return{containers:[...(u=a.containers)!=null?u:[],r]}})}function mx(e=0){let[t,r]=O.useState(e),i=O.useCallback(h=>r(h),[t]),a=O.useCallback(h=>r(v=>v|h),[t]),u=O.useCallback(h=>(t&h)===h,[t]),p=O.useCallback(h=>r(v=>v&~h),[r]),m=O.useCallback(h=>r(v=>v^h),[r]);return{flags:t,setFlag:i,addFlag:a,hasFlag:u,removeFlag:p,toggleFlag:m}}var em,tm;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((em=process==null?void 0:process.env)==null?void 0:em.NODE_ENV)==="test"&&typeof((tm=Element==null?void 0:Element.prototype)==null?void 0:tm.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
145
|
-
`)),[]});var gx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(gx||{});function vx(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function yx(e,t,r,i){let[a,u]=O.useState(r),{hasFlag:p,addFlag:m,removeFlag:h}=mx(e&&a?3:0),v=O.useRef(!1),C=O.useRef(!1),x=Gp();return Mt(()=>{var F;if(e){if(r&&u(!0),!t){r&&m(3);return}return(F=i==null?void 0:i.start)==null||F.call(i,r),bx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(r?(m(3),h(4)):(m(4),h(2)))},run(){C.current?r?(h(3),m(4)):(h(4),m(3)):r?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),r||u(!1),(I=i==null?void 0:i.end)==null||I.call(i,r))}})}},[e,r,t,x]),e?[a,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function bx(e,{prepare:t,run:r,done:i,inFlight:a}){let u=yo();return xx(e,{prepare:t,inFlight:a}),u.nextFrame(()=>{r(),u.requestAnimationFrame(()=>{u.add(wx(e,i))})}),u.dispose}function wx(e,t){var r,i;let a=yo();if(!e)return a.dispose;let u=!1;a.add(()=>{u=!0});let p=(i=(r=e.getAnimations)==null?void 0:r.call(e).filter(m=>m instanceof CSSTransition))!=null?i:[];return p.length===0?(t(),a.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{u||t()}),a.dispose)}function xx(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}function Yp(e,t){let r=O.useRef([]),i=tt(e);O.useEffect(()=>{let a=[...r.current];for(let[u,p]of t.entries())if(r.current[u]!==p){let m=i(t,a);return r.current=t,m}},[i,...t])}function Ku(){return typeof window<"u"}function tl(e){return xv(e)?(e.nodeName||"").toLowerCase():"#document"}function xn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(xv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function xv(e){return Ku()?e instanceof Node||e instanceof xn(e).Node:!1}function ht(e){return Ku()?e instanceof Element||e instanceof xn(e).Element:!1}function ar(e){return Ku()?e instanceof HTMLElement||e instanceof xn(e).HTMLElement:!1}function up(e){return!Ku()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xn(e).ShadowRoot}function kc(e){const{overflow:t,overflowX:r,overflowY:i,display:a}=Bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(a)}function Sx(e){return["table","td","th"].includes(tl(e))}function Ju(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Xp(e){const t=Zu(),r=ht(e)?Bn(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function kx(e){let t=ho(e);for(;ar(t)&&!uo(t);){if(Xp(t))return t;if(Ju(t))return null;t=ho(t)}return null}function Zu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(tl(e))}function Bn(e){return xn(e).getComputedStyle(e)}function ef(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(tl(e)==="html")return e;const t=e.assignedSlot||e.parentNode||up(e)&&e.host||bo(e);return up(t)?t.host:t}function Sv(e){const t=ho(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ar(t)&&kc(t)?t:Sv(t)}function Ds(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=Sv(e),u=a===((i=e.ownerDocument)==null?void 0:i.body),p=xn(a);if(u){const m=fp(p);return t.concat(p,p.visualViewport||[],kc(a)?a:[],m&&r?Ds(m):[])}return t.concat(a,Ds(a,[],r))}function fp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const nm=Math.min,ic=Math.max,Nu=Math.round,Ar=e=>({x:e,y:e});function kv(e){return e.split("-")[0]}function Ex(e){return e.split("-")[1]}function Cx(e){return e==="x"?"y":"x"}function Tx(e){return e==="y"?"height":"width"}function Ev(e){return["top","bottom"].includes(kv(e))?"y":"x"}function Rx(e){return Cx(Ev(e))}function Cv(e){const{x:t,y:r,width:i,height:a}=e;return{width:i,height:a,top:r,left:t,right:t+i,bottom:r+a,x:t,y:r}}function rm(e,t,r){let{reference:i,floating:a}=e;const u=Ev(t),p=Rx(t),m=Tx(p),h=kv(t),v=u==="y",C=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,F=i[m]/2-a[m]/2;let I;switch(h){case"top":I={x:C,y:i.y-a.height};break;case"bottom":I={x:C,y:i.y+i.height};break;case"right":I={x:i.x+i.width,y:x};break;case"left":I={x:i.x-a.width,y:x};break;default:I={x:i.x,y:i.y}}switch(Ex(t)){case"start":I[p]-=F*(r&&v?-1:1);break;case"end":I[p]+=F*(r&&v?-1:1);break}return I}const Px=async(e,t,r)=>{const{placement:i="bottom",strategy:a="absolute",middleware:u=[],platform:p}=r,m=u.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:a}),{x:C,y:x}=rm(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:A}=m[D],{x:U,y:j,data:V,reset:$}=await A({x:C,y:x,initialPlacement:i,placement:F,strategy:a,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:C,y:x}=rm(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function Tv(e){const t=Bn(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=ar(e),u=a?e.offsetWidth:r,p=a?e.offsetHeight:i,m=Nu(r)!==u||Nu(i)!==p;return m&&(r=u,i=p),{width:r,height:i,$:m}}function Rv(e){return ht(e)?e:e.contextElement}function _s(e){const t=Rv(e);if(!ar(t))return Ar(1);const r=t.getBoundingClientRect(),{width:i,height:a,$:u}=Tv(t);let p=(u?Nu(r.width):r.width)/i,m=(u?Nu(r.height):r.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ox=Ar(0);function Pv(e){const t=xn(e);return!Zu()||!t.visualViewport?Ox:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Ax(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xn(e)?!1:t}function fc(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),u=Rv(e);let p=Ar(1);t&&(i?ht(i)&&(p=_s(i)):p=_s(e));const m=Ax(u,r,i)?Pv(u):Ar(0);let h=(a.left+m.x)/p.x,v=(a.top+m.y)/p.y,C=a.width/p.x,x=a.height/p.y;if(u){const F=xn(u),I=i&&ht(i)?xn(i):i;let L=F,D=fp(L);for(;D&&i&&I!==L;){const T=_s(D),A=D.getBoundingClientRect(),U=Bn(D),j=A.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=A.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=xn(D),D=fp(L)}}return Cv({width:C,height:x,x:h,y:v})}function Qp(e,t){const r=ef(e).scrollLeft;return t?t.left+r:fc(bo(e)).left+r}function Ov(e,t,r){r===void 0&&(r=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(r?0:Qp(e,i)),u=i.top+t.scrollTop;return{x:a,y:u}}function Ix(e){let{elements:t,rect:r,offsetParent:i,strategy:a}=e;const u=a==="fixed",p=bo(i),m=t?Ju(t.floating):!1;if(i===p||m&&u)return r;let h={scrollLeft:0,scrollTop:0},v=Ar(1);const C=Ar(0),x=ar(i);if((x||!x&&!u)&&((tl(i)!=="body"||kc(p))&&(h=ef(i)),ar(i))){const I=fc(i);v=_s(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!u?Ov(p,h,!0):Ar(0);return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:r.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Fx(e){return Array.from(e.getClientRects())}function Mx(e){const t=bo(e),r=ef(e),i=e.ownerDocument.body,a=ic(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=ic(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+Qp(e);const m=-r.scrollTop;return Bn(i).direction==="rtl"&&(p+=ic(t.clientWidth,i.clientWidth)-a),{width:a,height:u,x:p,y:m}}function Dx(e,t){const r=xn(e),i=bo(e),a=r.visualViewport;let u=i.clientWidth,p=i.clientHeight,m=0,h=0;if(a){u=a.width,p=a.height;const v=Zu();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:u,height:p,x:m,y:h}}function _x(e,t){const r=fc(e,!0,t==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,u=ar(e)?_s(e):Ar(1),p=e.clientWidth*u.x,m=e.clientHeight*u.y,h=a*u.x,v=i*u.y;return{width:p,height:m,x:h,y:v}}function om(e,t,r){let i;if(t==="viewport")i=Dx(e,r);else if(t==="document")i=Mx(bo(e));else if(ht(t))i=_x(t,r);else{const a=Pv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Cv(i)}function Av(e,t){const r=ho(e);return r===t||!ht(r)||uo(r)?!1:Bn(r).position==="fixed"||Av(r,t)}function Lx(e,t){const r=t.get(e);if(r)return r;let i=Ds(e,[],!1).filter(m=>ht(m)&&tl(m)!=="body"),a=null;const u=Bn(e).position==="fixed";let p=u?ho(e):e;for(;ht(p)&&!uo(p);){const m=Bn(p),h=Xp(p);!h&&m.position==="fixed"&&(a=null),(u?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||kc(p)&&!h&&Av(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function $x(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e;const p=[...r==="clippingAncestors"?Ju(t)?[]:Lx(t,this._c):[].concat(r),i],m=p[0],h=p.reduce((v,C)=>{const x=om(t,C,a);return v.top=ic(x.top,v.top),v.right=nm(x.right,v.right),v.bottom=nm(x.bottom,v.bottom),v.left=ic(x.left,v.left),v},om(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function jx(e){const{width:t,height:r}=Tv(e);return{width:t,height:r}}function Nx(e,t,r){const i=ar(t),a=bo(t),u=r==="fixed",p=fc(e,!0,u,t);let m={scrollLeft:0,scrollTop:0};const h=Ar(0);function v(){h.x=Qp(a)}if(i||!i&&!u)if((tl(t)!=="body"||kc(a))&&(m=ef(t)),i){const I=fc(t,!0,u,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else a&&v();u&&!i&&a&&v();const C=a&&!i&&!u?Ov(a,m):Ar(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Rd(e){return Bn(e).position==="static"}function im(e,t){if(!ar(e)||Bn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return bo(e)===r&&(r=r.ownerDocument.body),r}function Iv(e,t){const r=xn(e);if(Ju(e))return r;if(!ar(e)){let a=ho(e);for(;a&&!uo(a);){if(ht(a)&&!Rd(a))return a;a=ho(a)}return r}let i=im(e,t);for(;i&&Sx(i)&&Rd(i);)i=im(i,t);return i&&uo(i)&&Rd(i)&&!Xp(i)?r:i||kx(e)||r}const zx=async function(e){const t=this.getOffsetParent||Iv,r=this.getDimensions,i=await r(e.floating);return{reference:Nx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Bx(e){return Bn(e).direction==="rtl"}const Ux={convertOffsetParentRelativeRectToViewportRelativeRect:Ix,getDocumentElement:bo,getClippingRect:$x,getOffsetParent:Iv,getElementRects:zx,getClientRects:Fx,getDimensions:jx,getScale:_s,isElement:ht,isRTL:Bx},Hx=(e,t,r)=>{const i=new Map,a={platform:Ux,...r},u={...a.platform,_c:i};return Px(e,t,{...a,platform:u})};var Wx=typeof document<"u",Vx=function(){},Pu=Wx?O.useLayoutEffect:Vx;function zu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(i=r;i--!==0;)if(!zu(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(t,a[i]))return!1;for(i=r;i--!==0;){const u=a[i];if(!(u==="_owner"&&e.$$typeof)&&!zu(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function Fv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function am(e,t){const r=Fv(e);return Math.round(t*r)/r}function Pd(e){const t=pe.useRef(e);return Pu(()=>{t.current=e}),t}function Gx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:a,elements:{reference:u,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(i);zu(F,i)||I(i);const[L,D]=pe.useState(null),[T,A]=pe.useState(null),U=pe.useCallback(Z=>{Z!==J.current&&(J.current=Z,D(Z))},[]),j=pe.useCallback(Z=>{Z!==ae.current&&(ae.current=Z,A(Z))},[]),V=u||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),ne=pe.useRef(C),le=h!=null,ye=Pd(h),De=Pd(a),Fe=Pd(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:r,middleware:F};De.current&&(Z.platform=De.current),Hx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!zu(ne.current,Y)&&(ne.current=Y,Hy.flushSync(()=>{x(Y)}))})},[F,t,r,De,Fe]);Pu(()=>{v===!1&&ne.current.isPositioned&&(ne.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Pu(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Pu(()=>{if(V&&(J.current=V),$&&(ae.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:J,floating:ae,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const Z={position:r,left:0,top:0};if(!Re.floating)return Z;const ve=am(Re.floating,C.x),Y=am(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Fv(Re.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ve,top:Y}},[r,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let tf=O.createContext(null);tf.displayName="OpenClosedContext";var ir=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ir||{});function nf(){return O.useContext(tf)}function Yx({value:e,children:t}){return O.createElement(tf.Provider,{value:e},t)}function Xx({children:e}){return O.createElement(tf.Provider,{value:null},e)}function Qx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Qx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let r=t.target;r=r.closest(ju),oi.unshift(r??t.target),oi=oi.filter(i=>i!=null&&i.isConnected),oi.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Mv(e){let t=tt(e),r=O.useRef(!1);O.useEffect(()=>(r.current=!1,()=>{r.current=!0,Gu(()=>{r.current&&t()})}),[t])}function qx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Ec(){let e=qx(),[t,r]=pe.useState(xa.isHandoffComplete);return t&&xa.isHandoffComplete===!1&&r(!1),pe.useEffect(()=>{t!==!0&&r(!0)},[t]),pe.useEffect(()=>xa.handoff(),[]),e?!1:t}let Dv=O.createContext(!1);function Kx(){return O.useContext(Dv)}function sm(e){return O.createElement(Dv.Provider,{value:e.force},e.children)}function Jx(e){let t=Kx(),r=O.useContext(Lv),[i,a]=O.useState(()=>{var u;if(!t&&r!==null)return(u=r.current)!=null?u:null;if(xa.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return O.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),O.useEffect(()=>{t||r!==null&&a(r.current)},[r,a,t]),i}let _v=O.Fragment,Zx=Dt(function(e,t){let{ownerDocument:r=null,...i}=e,a=O.useRef(null),u=sr(Sw(I=>{a.current=I}),t),p=qu(a),m=r??p,h=Jx(m),[v]=O.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=O.useContext(dp),x=Ec();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Mv(()=>{var I;!h||!v||(nv(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=en();return x?!h||!v?null:bc.createPortal(F({ourProps:{ref:u},theirProps:i,slot:{},defaultTag:_v,name:"Portal"}),v):null});function eS(e,t){let r=sr(t),{enabled:i=!0,ownerDocument:a,...u}=e,p=en();return i?O.createElement(Zx,{...u,ownerDocument:a,ref:r}):p({ourProps:{ref:r},theirProps:u,slot:{},defaultTag:_v,name:"Portal"})}let tS=O.Fragment,Lv=O.createContext(null);function nS(e,t){let{target:r,...i}=e,a={ref:sr(t)},u=en();return O.createElement(Lv.Provider,{value:r},u({ourProps:a,theirProps:i,defaultTag:tS,name:"Popover.Group"}))}let dp=O.createContext(null);function rS(){let e=O.useContext(dp),t=O.useRef([]),r=tt(u=>(t.current.push(u),e&&e.register(u),()=>i(u))),i=tt(u=>{let p=t.current.indexOf(u);p!==-1&&t.current.splice(p,1),e&&e.unregister(u)}),a=O.useMemo(()=>({register:r,unregister:i,portals:t}),[r,i,t]);return[t,O.useMemo(()=>function({children:u}){return O.createElement(dp.Provider,{value:a},u)},[a])]}let oS=Dt(eS),$v=Dt(nS),iS=Object.assign(oS,{Group:$v});function aS(e,t=typeof document<"u"?document.defaultView:null,r){let i=Sc(e,"escape");wv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===lv.Escape&&r(a))})}function sS(){var e;let[t]=O.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,i]=O.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function a(u){i(u.matches)}return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[t]),r}function lS({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let i=qu(r),a=tt(()=>{var u,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(u=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?u:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(r&&(h.contains(r)||h.contains((p=r==null?void 0:r.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:a,contains:tt(u=>a().some(p=>p.contains(u)))}}let jv=O.createContext(null);function lm({children:e,node:t}){let[r,i]=O.useState(null),a=Nv(t??r);return O.createElement(jv.Provider,{value:a},e,a===null&&O.createElement($u,{features:uc.Hidden,ref:u=>{var p,m;if(u){for(let h of(m=(p=Vu(u))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(u)){i(h);break}}}}))}function Nv(e=null){var t;return(t=O.useContext(jv))!=null?t:e}function qp(){let e=O.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Zl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Zl||{});function cS(){let e=O.useRef(0);return bv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function zv(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)lo(r.current)&&t.add(r.current);return t}let uS="div";var ca=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ca||{});function fS(e,t){let r=O.useRef(null),i=sr(r,t),{initialFocus:a,initialFocusFallback:u,containers:p,features:m=15,...h}=e;Ec()||(m=0);let v=qu(r);mS(m,{ownerDocument:v});let C=gS(m,{ownerDocument:v,container:r,initialFocus:a,initialFocusFallback:u});vS(m,{ownerDocument:v,container:r,containers:p,previousActiveElement:C});let x=cS(),F=tt(U=>{if(!yi(r.current))return;let j=r.current;(V=>V())(()=>{po(x.current,{[Zl.Forwards]:()=>{oc(j,so.First,{skipElements:[U.relatedTarget,u]})},[Zl.Backwards]:()=>{oc(j,so.Last,{skipElements:[U.relatedTarget,u]})}})})}),I=Sc(!!(m&2),"focus-trap#tab-lock"),L=Gp(),D=O.useRef(!1),T={ref:i,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=zv(p);yi(r.current)&&j.add(r.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(Bv(j,V)||(D.current?oc(r.current,po(x.current,{[Zl.Forwards]:()=>so.Next,[Zl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&co(U.target)))}},A=en();return O.createElement(O.Fragment,null,I&&O.createElement($u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uc.Focusable}),A({ourProps:T,theirProps:h,defaultTag:uS,name:"FocusTrap"}),I&&O.createElement($u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uc.Focusable}))}let dS=Dt(fS),pS=Object.assign(dS,{features:ca});function hS(e=!0){let t=O.useRef(oi.slice());return Yp(([r],[i])=>{i===!0&&r===!1&&Gu(()=>{t.current.splice(0)}),i===!1&&r===!0&&(t.current=oi.slice())},[e,oi,t]),tt(()=>{var r;return(r=t.current.find(i=>i!=null&&i.isConnected))!=null?r:null})}function mS(e,{ownerDocument:t}){let r=!!(e&8),i=hS(r);Yp(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&co(i())},[r]),Mv(()=>{r&&co(i())})}function gS(e,{ownerDocument:t,container:r,initialFocus:i,initialFocusFallback:a}){let u=O.useRef(null),p=Sc(!!(e&1),"focus-trap#initial-focus"),m=qp();return Yp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&co(a.current);return}let h=r.current;h&&Gu(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(i!=null&&i.current){if((i==null?void 0:i.current)===v){u.current=v;return}}else if(h.contains(v)){u.current=v;return}if(i!=null&&i.current)co(i.current);else{if(e&16){if(oc(h,so.First|so.AutoFocus)!==cp.Error)return}else if(oc(h,so.First)!==cp.Error)return;if(a!=null&&a.current&&(co(a.current),(t==null?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=t==null?void 0:t.activeElement})},[a,p,e]),u}function vS(e,{ownerDocument:t,container:r,containers:i,previousActiveElement:a}){let u=qp(),p=!!(e&4);wv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!u.current)return;let h=zv(i);yi(r.current)&&h.add(r.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?Bv(h,C)?(a.current=C,co(C)):(m.preventDefault(),m.stopPropagation(),co(v)):co(a.current)},!0)}function Bv(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function Uv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Wv)!==O.Fragment||O.Children.count(e.children)===1}let rf=O.createContext(null);rf.displayName="TransitionContext";var yS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(yS||{});function bS(){let e=O.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function wS(){let e=O.useContext(of);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let of=O.createContext(null);of.displayName="NestingContext";function af(e){return"children"in e?af(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Hv(e,t){let r=Ra(e),i=O.useRef([]),a=qp(),u=Gp(),p=tt((I,L=mi.Hidden)=>{let D=i.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[mi.Unmount](){i.current.splice(D,1)},[mi.Hidden](){i.current[D].state="hidden"}}),u.microTask(()=>{var T;!af(i)&&a.current&&((T=r.current)==null||T.call(r))}))}),m=tt(I=>{let L=i.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):i.current.push({el:I,state:"visible"}),()=>p(I,mi.Unmount)}),h=O.useRef([]),v=O.useRef(Promise.resolve()),C=O.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([A,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,A])=>A)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return O.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Wv=O.Fragment,Vv=Lu.RenderStrategy;function xS(e,t){var r,i;let{transition:a=!0,beforeEnter:u,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[A,U]=O.useState(null),j=O.useRef(null),V=Uv(e),$=sr(...V?[j,t,U]:t===null?[]:[t]),J=(r=T.unmount)==null||r?mi.Unmount:mi.Hidden,{show:ae,appear:ne,initial:le}=bS(),[ye,De]=O.useState(ae?"visible":"hidden"),Fe=wS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(J===mi.Hidden&&j.current){if(ae&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ae,J]);let xe=Ec();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!ne,Le=ne&&ae&&le,Z=O.useRef(!1),ve=Hv(()=>{Z.current||(De("hidden"),ze(j))},Fe),Y=tt(ue=>{Z.current=!0;let Ee=ue?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?u==null||u():Se==="leave"&&(m==null||m())})}),K=tt(ue=>{let Ee=ue?"enter":"leave";Z.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!af(ve)&&(De("hidden"),ze(j))});O.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=yx(fe,A,ae,{start:Y,end:K}),he=la({ref:$,className:((i=sp(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ae&&F))==null?void 0:i.trim())||void 0,...vx(te)}),me=0;ye==="visible"&&(me|=ir.Open),ye==="hidden"&&(me|=ir.Closed),ae&&ye==="hidden"&&(me|=ir.Opening),!ae&&ye==="visible"&&(me|=ir.Closing);let ce=en();return O.createElement(of.Provider,{value:ve},O.createElement(Yx,{value:me},ce({ourProps:he,theirProps:T,defaultTag:Wv,features:Vv,visible:ye==="visible",name:"Transition.Child"})))}function SS(e,t){let{show:r,appear:i=!1,unmount:a=!0,...u}=e,p=O.useRef(null),m=Uv(e),h=sr(...m?[p,t]:t===null?[]:[t]);Ec();let v=nf();if(r===void 0&&v!==null&&(r=(v&ir.Open)===ir.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=O.useState(r?"visible":"hidden"),F=Hv(()=>{r||x("hidden")}),[I,L]=O.useState(!0),D=O.useRef([r]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==r&&(D.current.push(r),L(!1))},[D,r]);let T=O.useMemo(()=>({show:r,appear:i,initial:I}),[r,i,I]);Mt(()=>{r?x("visible"):!af(F)&&p.current!==null&&x("hidden")},[r,F]);let A={unmount:a},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=en();return O.createElement(of.Provider,{value:F},O.createElement(rf.Provider,{value:T},V({ourProps:{...A,as:O.Fragment,children:O.createElement(Gv,{ref:h,...A,...u,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:O.Fragment,features:Vv,visible:C==="visible",name:"Transition"})))}function kS(e,t){let r=O.useContext(rf)!==null,i=nf()!==null;return O.createElement(O.Fragment,null,!r&&i?O.createElement(pp,{ref:t,...e}):O.createElement(Gv,{ref:t,...e}))}let pp=Dt(SS),Gv=Dt(xS),Kp=Dt(kS),ES=Object.assign(pp,{Child:Kp,Root:pp});var CS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(CS||{}),TS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(TS||{});let RS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Jp=O.createContext(null);Jp.displayName="DialogContext";function sf(e){let t=O.useContext(Jp);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,sf),r}return t}function PS(e,t){return po(t.type,RS,e,t)}let cm=Dt(function(e,t){let r=O.useId(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:u,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=O.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=nf();a===void 0&&I!==null&&(a=(I&ir.Open)===ir.Open);let L=O.useRef(null),D=sr(L,t),T=qu(L),A=a?0:1,[U,j]=O.useReducer(PS,{titleId:null,descriptionId:null,panelRef:O.createRef()}),V=tt(()=>u(!1)),$=tt(te=>j({type:0,id:te})),J=Ec()?A===0:!1,[ae,ne]=rS(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=Nv(),{resolveContainers:De}=lS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&ir.Closing)===ir.Closing:!1;Xw(v||Fe?!1:J,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=mv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=gv($e,O.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));ax(ze,De,te=>{te.preventDefault(),V()}),aS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),hx(v||Fe?!1:J,T,De),Qw(J,L,V);let[xe,Re]=av(),Le=O.useMemo(()=>[{dialogState:A,close:V,setTitleId:$,unmount:C},U],[A,U,V,$,C]),Z=O.useMemo(()=>({open:A===0}),[A]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:A===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!sS(),K=ca.None;J&&!v&&(K|=ca.RestoreFocus,K|=ca.TabLock,h&&(K|=ca.AutoFocus),Y&&(K|=ca.InitialFocus));let fe=en();return O.createElement(Xx,null,O.createElement(sm,{force:!0},O.createElement(iS,null,O.createElement(Jp.Provider,{value:Le},O.createElement($v,{target:L},O.createElement(sm,{force:!1},O.createElement(Re,{slot:Z},O.createElement(ne,null,O.createElement(pS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},O.createElement(Mw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:OS,features:AS,visible:A===0,name:"Dialog"})))))))))))}),OS="div",AS=Lu.RenderStrategy|Lu.Static;function IS(e,t){let{transition:r=!1,open:i,...a}=e,u=nf(),p=e.hasOwnProperty("open")||u!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!u&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(i!==void 0||r)&&!a.static?O.createElement(lm,null,O.createElement(ES,{show:i,transition:r,unmount:a.unmount},O.createElement(cm,{ref:t,...a}))):O.createElement(lm,null,O.createElement(cm,{ref:t,open:i,...a}))}let FS="div";function MS(e,t){let r=O.useId(),{id:i=`headlessui-dialog-panel-${r}`,transition:a=!1,...u}=e,[{dialogState:p,unmount:m},h]=sf("Dialog.Panel"),v=sr(t,h.panelRef),C=O.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?Kp:O.Fragment,L=a?{unmount:m}:{},D=en();return O.createElement(I,{...L},D({ourProps:F,theirProps:u,slot:C,defaultTag:FS,name:"Dialog.Panel"}))}let DS="div";function _S(e,t){let{transition:r=!1,...i}=e,[{dialogState:a,unmount:u}]=sf("Dialog.Backdrop"),p=O.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=r?Kp:O.Fragment,v=r?{unmount:u}:{},C=en();return O.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:DS,name:"Dialog.Backdrop"}))}let LS="h2";function $S(e,t){let r=O.useId(),{id:i=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:u,setTitleId:p}]=sf("Dialog.Title"),m=sr(t);O.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=O.useMemo(()=>({open:u===0}),[u]),v={ref:m,id:i};return en()({ourProps:v,theirProps:a,slot:h,defaultTag:LS,name:"Dialog.Title"})}let jS=Dt(IS),Yv=Dt(MS),NS=Dt(_S),Xv=Dt($S),zS=Object.assign(jS,{Panel:Yv,Title:Xv,Description:sv}),BS="div";function US(e,t){let r=`headlessui-control-${O.useId()}`,[i,a]=Rw(),[u,p]=av(),m=Yu(),{disabled:h=m||!1,...v}=e,C=O.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=en();return O.createElement(lw,{value:h},O.createElement(a,{value:i},O.createElement(p,{value:u},O.createElement(yw,{id:r},F({ourProps:x,theirProps:{...v,children:O.createElement(vw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:BS,name:"Field"})))))}let HS=Dt(US),WS="input";function VS(e,t){let r=O.useId(),i=tv(),a=Yu(),{id:u=i||`headlessui-input-${r}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=uv(),x=kw(),{isFocused:F,focusProps:I}=ow({autoFocus:m}),{isHovered:L,hoverProps:D}=rw({isDisabled:p}),T=dw({ref:t,id:u,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),A=O.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return en()({ourProps:T,theirProps:v,slot:A,defaultTag:WS,name:"Input"})}let GS=Dt(VS);const YS="whitespace-nowrap font-normal flex items-center justify-center",XS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",QS="disabled:opacity-15 disabled:pointer-events-none",Qv=e=>e==="grayLight"||e==="warning",qv=(e,t)=>!t||t==="none"?"":e(),qS=(e,t)=>qv(()=>{const r=e==="gray400"?"gray":e,i=Qv(r)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${r}-800 text-white`:`hover:bg-${r}-800 active:bg-${r}-800 hover:text-white ${i}`:r==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:r==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?t?`bg-${r}-500 text-white`:`hover:bg-${r}-500 active:bg-${r}-500 hover:text-white ${i}`:t?`bg-${r}-700 text-white`:`hover:bg-${r}-600 active:bg-${r}-700 hover:text-white ${i}`},e),KS=e=>qv(()=>{const t=Qv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),JS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",ZS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",ek=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,tk=(e,t)=>({solid:KS(e),link:JS(e),linkHoverSolid:ZS(e,t),outline:ek(e,t)}),nk={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},rk={none:"",default:"rounded",pill:"rounded-pill"},ok=({active:e=!1,children:t,color:r="primary",size:i="normal",category:a="solid",className:u,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=QS,I=/link/.test(a)?null:qS(r,e),L=XS,D=nk[i],T=(j=tk(r,e))==null?void 0:j[a],A=Ms(I,T),U=rk[m];return q.jsx("button",{...C,style:{...h,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Ms(YS,L,F,D,A,U,u,"cursor-pointer"),children:t})},dc=O.forwardRef(ok),ik=({isOpen:e,close:t,title:r,dismissOptions:i,confirmOptions:a,children:u,className:p})=>q.jsxs(zS,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[q.jsx(NS,{className:"fixed inset-0 bg-black/30"}),q.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:q.jsxs(Yv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[r&&q.jsx(Xv,{className:" text-gray-900 p-4",children:r}),q.jsx("div",{className:"p-4",children:u}),i||a?q.jsxs("div",{className:"flex gap-4 p-4",children:[i?q.jsx(dc,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(dc,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),t()},size:"small",color:"primary",children:a.label}):q.jsx(q.Fragment,{})]}):q.jsx(q.Fragment,{})]})})]}),ak=({type:e="text",className:t,label:r,description:i,error:a,...u})=>q.jsx("div",{className:"w-full max-w-md px-4",children:q.jsxs(HS,{children:[r&&q.jsx(Iw,{className:"font-medium text-gray-900",children:r}),i&&q.jsx(sv,{className:"text-sm text-secondary",children:i}),q.jsx(GS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,a&&"border-red-500 focus:border-red-500"),...u})]})}),sk=({onConfirm:e,onClose:t,isOpen:r,title:i})=>{const[a,u]=O.useState(""),[p,m]=O.useState(!1),[h,v]=O.useState(!1),C=async()=>{if(a)try{m(!0),await e(a),u("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return q.jsx(ik,{isOpen:r,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!a||h},children:q.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[q.jsxs("div",{children:[q.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":i||"Access Playbook"}),q.jsx("div",{className:"text-center",children:h?q.jsxs(q.Fragment,{children:[q.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):q.jsx(q.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),q.jsx(ak,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>u(x.target.value)})]})})},Kv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==",lk=({btnClassName:e,buttonNode:t,size:r,playbookId:i,onInitiated:a,disabled:u,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=O.useState(!1),[C,x]=O.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:A,details:U,message:j}=await Og({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(A)throw new Error(`Error initiating playbook: ${j} (Code: ${A}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(dc,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:r,disabled:u||C,children:[q.jsx("img",{src:Kv,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(sk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
|
|
144
|
+
*/var Gh;function Nw(){return Gh||(Gh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,r=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,u=t.useEffect,p=t.useMemo,m=t.useDebugValue;Cd.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,r(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return u(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Cd}var Yh;function zw(){return Yh||(Yh=1,process.env.NODE_ENV==="production"?xu.exports=jw():xu.exports=Nw()),xu.exports}var Bw=zw();function pv(e,t,r=uv){return Bw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Uw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),r)}function Uw(e){return e}function wc(e,t){let r=A.useId(),i=dv.get(t),[a,u]=pv(i,A.useCallback(p=>[i.selectors.isTop(p,r),i.selectors.inStack(p,r)],[i,r]));return Mt(()=>{if(e)return i.actions.push(r),()=>i.actions.pop(r)},[i,e,r]),e?u?a:!0:!1}let sp=new Map,nc=new Map;function Xh(e){var t;let r=(t=nc.get(e))!=null?t:0;return nc.set(e,r+1),r!==0?()=>Qh(e):(sp.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Qh(e))}function Qh(e){var t;let r=(t=nc.get(e))!=null?t:1;if(r===1?nc.delete(e):nc.set(e,r-1),r!==1)return;let i=sp.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,sp.delete(e))}function Hw(e,{allowed:t,disallowed:r}={}){let i=wc(e,"inert-others");Mt(()=>{var a,u;if(!i)return;let p=yo();for(let h of(a=r==null?void 0:r())!=null?a:[])h&&p.add(Xh(h));let m=(u=t==null?void 0:t())!=null?u:[];for(let h of m){if(!h)continue;let v=Wu(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(Xh(x));C=C.parentElement}}return p.dispose},[i,t,r])}function Ww(e,t,r){let i=Ra(a=>{let u=a.getBoundingClientRect();u.x===0&&u.y===0&&u.width===0&&u.height===0&&r()});A.useEffect(()=>{if(!e)return;let a=t===null?null:yi(t)?t:t.current;if(!a)return;let u=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>i.current(a));p.observe(a),u.add(()=>p.disconnect())}return()=>u.dispose()},[t,i,e])}let Lu=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Vw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),lp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(lp||{}),Gw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gw||{});function Yw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Lu)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}function Xw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vw)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var hv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(hv||{});function Qw(e,t=0){var r;return e===((r=Wu(e))==null?void 0:r.body)?!1:po(t,{0(){return e.matches(Lu)},1(){let i=e;for(;i!==null;){if(i.matches(Lu))return!0;i=i.parentElement}return!1}})}var qw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(qw||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function co(e){e==null||e.focus({preventScroll:!0})}let Kw=["textarea","input"].join(",");function Jw(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Kw))!=null?r:!1}function Zw(e,t=r=>r){return e.slice().sort((r,i)=>{let a=t(r),u=t(i);if(a===null||u===null)return 0;let p=a.compareDocumentPosition(u);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rc(e,t,{sorted:r=!0,relativeTo:i=null,skipElements:a=[]}={}){let u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?r?Zw(e):e:t&64?Xw(e):Yw(e);a.length>0&&p.length>1&&(p=p.filter(I=>!a.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),i=i??u.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(i))-1;if(t&4)return Math.max(0,p.indexOf(i))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==u.activeElement);return t&6&&Jw(F)&&F.select(),2}function mv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ex(){return/Android/gi.test(window.navigator.userAgent)}function qh(){return mv()||ex()}function Su(e,t,r,i){let a=Ra(r);A.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return document.addEventListener(t,u,i),()=>document.removeEventListener(t,u,i)},[e,t,i])}function gv(e,t,r,i){let a=Ra(r);A.useEffect(()=>{if(!e)return;function u(p){a.current(p)}return window.addEventListener(t,u,i),()=>window.removeEventListener(t,u,i)},[e,t,i])}const Kh=30;function tx(e,t,r){let i=Ra(r),a=A.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!Qw(v,hv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),u=A.useRef(null);Su(e,"pointerdown",m=>{var h,v;qh()||(u.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),Su(e,"pointerup",m=>{if(qh()||!u.current)return;let h=u.current;return u.current=null,a(m,()=>h)},!0);let p=A.useRef({x:0,y:0});Su(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),Su(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=Kh||Math.abs(h.y-p.current.y)>=Kh))return a(m,()=>gi(m.target)?m.target:null)},!0),gv(e,"blur",m=>a(m,()=>mw(window.document.activeElement)?window.document.activeElement:null),!0)}function Qu(...e){return A.useMemo(()=>Wu(...e),[...e])}function vv(e,t,r,i){let a=Ra(r);A.useEffect(()=>{e=e??window;function u(p){a.current(p)}return e.addEventListener(t,u,i),()=>e.removeEventListener(t,u,i)},[e,t,i])}function nx(e){return A.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function rx(e,t){let r=e(),i=new Set;return{getSnapshot(){return r},subscribe(a){return i.add(a),()=>i.delete(a)},dispatch(a,...u){let p=t[a].call(r,...u);p&&(r=p,i.forEach(m=>m()))}}}function ox(){let e;return{before({doc:t}){var r;let i=t.documentElement,a=(r=t.defaultView)!=null?r:window;e=Math.max(0,a.innerWidth-i.clientWidth)},after({doc:t,d:r}){let i=t.documentElement,a=Math.max(0,i.clientWidth-i.offsetWidth),u=Math.max(0,e-a);r.style(i,"paddingRight",`${u}px`)}}}function ix(){return mv()?{before({doc:e,d:t,meta:r}){function i(a){return r.containers.flatMap(u=>u()).some(u=>u.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let u=(a=window.scrollY)!=null?a:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(gi(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);gi(C)&&!i(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(gi(m.target)&&hw(m.target))if(i(m.target)){let h=m.target;for(;h.parentElement&&i(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(gi(m.target)){if(ev(m.target))return;if(i(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;u!==h&&window.scrollTo(0,u),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function ax(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function sx(e){let t={};for(let r of e)Object.assign(t,r(t));return t}let fa=rx(()=>new Map,{PUSH(e,t){var r;let i=(r=this.get(e))!=null?r:{doc:e,count:0,d:yo(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let r=this.get(e);return r&&(r.count--,r.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:r}){let i={doc:e,d:t,meta:sx(r)},a=[ix(),ox(),ax()];a.forEach(({before:u})=>u==null?void 0:u(i)),a.forEach(({after:u})=>u==null?void 0:u(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fa.subscribe(()=>{let e=fa.getSnapshot(),t=new Map;for(let[r]of e)t.set(r,r.documentElement.style.overflow);for(let r of e.values()){let i=t.get(r.doc)==="hidden",a=r.count!==0;(a&&!i||!a&&i)&&fa.dispatch(r.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",r),r.count===0&&fa.dispatch("TEARDOWN",r)}});function lx(e,t,r=()=>({containers:[]})){let i=nx(fa),a=t?i.get(t):void 0,u=a?a.count>0:!1;return Mt(()=>{if(!(!t||!e))return fa.dispatch("PUSH",t,r),()=>fa.dispatch("POP",t,r)},[e,t]),u}function cx(e,t,r=()=>[document.body]){let i=wc(e,"scroll-lock");lx(i,t,a=>{var u;return{containers:[...(u=a.containers)!=null?u:[],r]}})}function ux(e=0){let[t,r]=A.useState(e),i=A.useCallback(h=>r(h),[t]),a=A.useCallback(h=>r(v=>v|h),[t]),u=A.useCallback(h=>(t&h)===h,[t]),p=A.useCallback(h=>r(v=>v&~h),[r]),m=A.useCallback(h=>r(v=>v^h),[r]);return{flags:t,setFlag:i,addFlag:a,hasFlag:u,removeFlag:p,toggleFlag:m}}var Jh,Zh;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Jh=process==null?void 0:process.env)==null?void 0:Jh.NODE_ENV)==="test"&&typeof((Zh=Element==null?void 0:Element.prototype)==null?void 0:Zh.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
|
|
145
|
+
`)),[]});var fx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(fx||{});function dx(e){let t={};for(let r in e)e[r]===!0&&(t[`data-${r}`]="");return t}function px(e,t,r,i){let[a,u]=A.useState(r),{hasFlag:p,addFlag:m,removeFlag:h}=ux(e&&a?3:0),v=A.useRef(!1),C=A.useRef(!1),x=Vp();return Mt(()=>{var F;if(e){if(r&&u(!0),!t){r&&m(3);return}return(F=i==null?void 0:i.start)==null||F.call(i,r),hx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(r?(m(3),h(4)):(m(4),h(2)))},run(){C.current?r?(h(3),m(4)):(h(4),m(3)):r?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),r||u(!1),(I=i==null?void 0:i.end)==null||I.call(i,r))}})}},[e,r,t,x]),e?[a,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function hx(e,{prepare:t,run:r,done:i,inFlight:a}){let u=yo();return gx(e,{prepare:t,inFlight:a}),u.nextFrame(()=>{r(),u.requestAnimationFrame(()=>{u.add(mx(e,i))})}),u.dispose}function mx(e,t){var r,i;let a=yo();if(!e)return a.dispose;let u=!1;a.add(()=>{u=!0});let p=(i=(r=e.getAnimations)==null?void 0:r.call(e).filter(m=>m instanceof CSSTransition))!=null?i:[];return p.length===0?(t(),a.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{u||t()}),a.dispose)}function gx(e,{inFlight:t,prepare:r}){if(t!=null&&t.current){r();return}let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}function Gp(e,t){let r=A.useRef([]),i=tt(e);A.useEffect(()=>{let a=[...r.current];for(let[u,p]of t.entries())if(r.current[u]!==p){let m=i(t,a);return r.current=t,m}},[i,...t])}function qu(){return typeof window<"u"}function el(e){return yv(e)?(e.nodeName||"").toLowerCase():"#document"}function xn(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(yv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yv(e){return qu()?e instanceof Node||e instanceof xn(e).Node:!1}function ht(e){return qu()?e instanceof Element||e instanceof xn(e).Element:!1}function ar(e){return qu()?e instanceof HTMLElement||e instanceof xn(e).HTMLElement:!1}function cp(e){return!qu()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xn(e).ShadowRoot}function xc(e){const{overflow:t,overflowX:r,overflowY:i,display:a}=Bn(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!["inline","contents"].includes(a)}function vx(e){return["table","td","th"].includes(el(e))}function Ku(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Yp(e){const t=Ju(),r=ht(e)?Bn(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(r.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(r.contain||"").includes(i))}function yx(e){let t=ho(e);for(;ar(t)&&!uo(t);){if(Yp(t))return t;if(Ku(t))return null;t=ho(t)}return null}function Ju(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function uo(e){return["html","body","#document"].includes(el(e))}function Bn(e){return xn(e).getComputedStyle(e)}function Zu(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(el(e)==="html")return e;const t=e.assignedSlot||e.parentNode||cp(e)&&e.host||bo(e);return cp(t)?t.host:t}function bv(e){const t=ho(e);return uo(t)?e.ownerDocument?e.ownerDocument.body:e.body:ar(t)&&xc(t)?t:bv(t)}function Ms(e,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const a=bv(e),u=a===((i=e.ownerDocument)==null?void 0:i.body),p=xn(a);if(u){const m=up(p);return t.concat(p,p.visualViewport||[],xc(a)?a:[],m&&r?Ms(m):[])}return t.concat(a,Ms(a,[],r))}function up(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const em=Math.min,oc=Math.max,$u=Math.round,Or=e=>({x:e,y:e});function wv(e){return e.split("-")[0]}function bx(e){return e.split("-")[1]}function wx(e){return e==="x"?"y":"x"}function xx(e){return e==="y"?"height":"width"}function xv(e){return["top","bottom"].includes(wv(e))?"y":"x"}function Sx(e){return wx(xv(e))}function Sv(e){const{x:t,y:r,width:i,height:a}=e;return{width:i,height:a,top:r,left:t,right:t+i,bottom:r+a,x:t,y:r}}function tm(e,t,r){let{reference:i,floating:a}=e;const u=xv(t),p=Sx(t),m=xx(p),h=wv(t),v=u==="y",C=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,F=i[m]/2-a[m]/2;let I;switch(h){case"top":I={x:C,y:i.y-a.height};break;case"bottom":I={x:C,y:i.y+i.height};break;case"right":I={x:i.x+i.width,y:x};break;case"left":I={x:i.x-a.width,y:x};break;default:I={x:i.x,y:i.y}}switch(bx(t)){case"start":I[p]-=F*(r&&v?-1:1);break;case"end":I[p]+=F*(r&&v?-1:1);break}return I}const kx=async(e,t,r)=>{const{placement:i="bottom",strategy:a="absolute",middleware:u=[],platform:p}=r,m=u.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:a}),{x:C,y:x}=tm(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:O}=m[D],{x:U,y:j,data:V,reset:$}=await O({x:C,y:x,initialPlacement:i,placement:F,strategy:a,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:C,y:x}=tm(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function kv(e){const t=Bn(e);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=ar(e),u=a?e.offsetWidth:r,p=a?e.offsetHeight:i,m=$u(r)!==u||$u(i)!==p;return m&&(r=u,i=p),{width:r,height:i,$:m}}function Ev(e){return ht(e)?e:e.contextElement}function Ds(e){const t=Ev(e);if(!ar(t))return Or(1);const r=t.getBoundingClientRect(),{width:i,height:a,$:u}=kv(t);let p=(u?$u(r.width):r.width)/i,m=(u?$u(r.height):r.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ex=Or(0);function Cv(e){const t=xn(e);return!Ju()||!t.visualViewport?Ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cx(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==xn(e)?!1:t}function uc(e,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const a=e.getBoundingClientRect(),u=Ev(e);let p=Or(1);t&&(i?ht(i)&&(p=Ds(i)):p=Ds(e));const m=Cx(u,r,i)?Cv(u):Or(0);let h=(a.left+m.x)/p.x,v=(a.top+m.y)/p.y,C=a.width/p.x,x=a.height/p.y;if(u){const F=xn(u),I=i&&ht(i)?xn(i):i;let L=F,D=up(L);for(;D&&i&&I!==L;){const T=Ds(D),O=D.getBoundingClientRect(),U=Bn(D),j=O.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=O.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=xn(D),D=up(L)}}return Sv({width:C,height:x,x:h,y:v})}function Xp(e,t){const r=Zu(e).scrollLeft;return t?t.left+r:uc(bo(e)).left+r}function Tv(e,t,r){r===void 0&&(r=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(r?0:Xp(e,i)),u=i.top+t.scrollTop;return{x:a,y:u}}function Tx(e){let{elements:t,rect:r,offsetParent:i,strategy:a}=e;const u=a==="fixed",p=bo(i),m=t?Ku(t.floating):!1;if(i===p||m&&u)return r;let h={scrollLeft:0,scrollTop:0},v=Or(1);const C=Or(0),x=ar(i);if((x||!x&&!u)&&((el(i)!=="body"||xc(p))&&(h=Zu(i)),ar(i))){const I=uc(i);v=Ds(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!u?Tv(p,h,!0):Or(0);return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:r.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Rx(e){return Array.from(e.getClientRects())}function Px(e){const t=bo(e),r=Zu(e),i=e.ownerDocument.body,a=oc(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),u=oc(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-r.scrollLeft+Xp(e);const m=-r.scrollTop;return Bn(i).direction==="rtl"&&(p+=oc(t.clientWidth,i.clientWidth)-a),{width:a,height:u,x:p,y:m}}function Ax(e,t){const r=xn(e),i=bo(e),a=r.visualViewport;let u=i.clientWidth,p=i.clientHeight,m=0,h=0;if(a){u=a.width,p=a.height;const v=Ju();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:u,height:p,x:m,y:h}}function Ox(e,t){const r=uc(e,!0,t==="fixed"),i=r.top+e.clientTop,a=r.left+e.clientLeft,u=ar(e)?Ds(e):Or(1),p=e.clientWidth*u.x,m=e.clientHeight*u.y,h=a*u.x,v=i*u.y;return{width:p,height:m,x:h,y:v}}function nm(e,t,r){let i;if(t==="viewport")i=Ax(e,r);else if(t==="document")i=Px(bo(e));else if(ht(t))i=Ox(t,r);else{const a=Cv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Sv(i)}function Rv(e,t){const r=ho(e);return r===t||!ht(r)||uo(r)?!1:Bn(r).position==="fixed"||Rv(r,t)}function Ix(e,t){const r=t.get(e);if(r)return r;let i=Ms(e,[],!1).filter(m=>ht(m)&&el(m)!=="body"),a=null;const u=Bn(e).position==="fixed";let p=u?ho(e):e;for(;ht(p)&&!uo(p);){const m=Bn(p),h=Yp(p);!h&&m.position==="fixed"&&(a=null),(u?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||xc(p)&&!h&&Rv(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function Fx(e){let{element:t,boundary:r,rootBoundary:i,strategy:a}=e;const p=[...r==="clippingAncestors"?Ku(t)?[]:Ix(t,this._c):[].concat(r),i],m=p[0],h=p.reduce((v,C)=>{const x=nm(t,C,a);return v.top=oc(x.top,v.top),v.right=em(x.right,v.right),v.bottom=em(x.bottom,v.bottom),v.left=oc(x.left,v.left),v},nm(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Mx(e){const{width:t,height:r}=kv(e);return{width:t,height:r}}function Dx(e,t,r){const i=ar(t),a=bo(t),u=r==="fixed",p=uc(e,!0,u,t);let m={scrollLeft:0,scrollTop:0};const h=Or(0);function v(){h.x=Xp(a)}if(i||!i&&!u)if((el(t)!=="body"||xc(a))&&(m=Zu(t)),i){const I=uc(t,!0,u,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else a&&v();u&&!i&&a&&v();const C=a&&!i&&!u?Tv(a,m):Or(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Td(e){return Bn(e).position==="static"}function rm(e,t){if(!ar(e)||Bn(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return bo(e)===r&&(r=r.ownerDocument.body),r}function Pv(e,t){const r=xn(e);if(Ku(e))return r;if(!ar(e)){let a=ho(e);for(;a&&!uo(a);){if(ht(a)&&!Td(a))return a;a=ho(a)}return r}let i=rm(e,t);for(;i&&vx(i)&&Td(i);)i=rm(i,t);return i&&uo(i)&&Td(i)&&!Yp(i)?r:i||yx(e)||r}const _x=async function(e){const t=this.getOffsetParent||Pv,r=this.getDimensions,i=await r(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Lx(e){return Bn(e).direction==="rtl"}const $x={convertOffsetParentRelativeRectToViewportRelativeRect:Tx,getDocumentElement:bo,getClippingRect:Fx,getOffsetParent:Pv,getElementRects:_x,getClientRects:Rx,getDimensions:Mx,getScale:Ds,isElement:ht,isRTL:Lx},jx=(e,t,r)=>{const i=new Map,a={platform:$x,...r},u={...a.platform,_c:i};return kx(e,t,{...a,platform:u})};var Nx=typeof document<"u",zx=function(){},Tu=Nx?A.useLayoutEffect:zx;function ju(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(i=r;i--!==0;)if(!ju(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),r=a.length,r!==Object.keys(t).length)return!1;for(i=r;i--!==0;)if(!{}.hasOwnProperty.call(t,a[i]))return!1;for(i=r;i--!==0;){const u=a[i];if(!(u==="_owner"&&e.$$typeof)&&!ju(e[u],t[u]))return!1}return!0}return e!==e&&t!==t}function Av(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function om(e,t){const r=Av(e);return Math.round(t*r)/r}function Rd(e){const t=pe.useRef(e);return Tu(()=>{t.current=e}),t}function Bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:a,elements:{reference:u,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(i);ju(F,i)||I(i);const[L,D]=pe.useState(null),[T,O]=pe.useState(null),U=pe.useCallback(Z=>{Z!==J.current&&(J.current=Z,D(Z))},[]),j=pe.useCallback(Z=>{Z!==ae.current&&(ae.current=Z,O(Z))},[]),V=u||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),ne=pe.useRef(C),le=h!=null,ye=Rd(h),De=Rd(a),Fe=Rd(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:r,middleware:F};De.current&&(Z.platform=De.current),jx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!ju(ne.current,Y)&&(ne.current=Y,jy.flushSync(()=>{x(Y)}))})},[F,t,r,De,Fe]);Tu(()=>{v===!1&&ne.current.isPositioned&&(ne.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Tu(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Tu(()=>{if(V&&(J.current=V),$&&(ae.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:J,floating:ae,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const Z={position:r,left:0,top:0};if(!Re.floating)return Z;const ve=om(Re.floating,C.x),Y=om(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Av(Re.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:ve,top:Y}},[r,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let ef=A.createContext(null);ef.displayName="OpenClosedContext";var ir=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(ir||{});function tf(){return A.useContext(ef)}function Ux({value:e,children:t}){return A.createElement(ef.Provider,{value:e},t)}function Hx({children:e}){return A.createElement(ef.Provider,{value:null},e)}function Wx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Wx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let r=t.target;r=r.closest(Lu),oi.unshift(r??t.target),oi=oi.filter(i=>i!=null&&i.isConnected),oi.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ov(e){let t=tt(e),r=A.useRef(!1);A.useEffect(()=>(r.current=!1,()=>{r.current=!0,Vu(()=>{r.current&&t()})}),[t])}function Vx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Sc(){let e=Vx(),[t,r]=pe.useState(xa.isHandoffComplete);return t&&xa.isHandoffComplete===!1&&r(!1),pe.useEffect(()=>{t!==!0&&r(!0)},[t]),pe.useEffect(()=>xa.handoff(),[]),e?!1:t}let Iv=A.createContext(!1);function Gx(){return A.useContext(Iv)}function im(e){return A.createElement(Iv.Provider,{value:e.force},e.children)}function Yx(e){let t=Gx(),r=A.useContext(Mv),[i,a]=A.useState(()=>{var u;if(!t&&r!==null)return(u=r.current)!=null?u:null;if(xa.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return A.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),A.useEffect(()=>{t||r!==null&&a(r.current)},[r,a,t]),i}let Fv=A.Fragment,Xx=Dt(function(e,t){let{ownerDocument:r=null,...i}=e,a=A.useRef(null),u=sr(vw(I=>{a.current=I}),t),p=Qu(a),m=r??p,h=Yx(m),[v]=A.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=A.useContext(fp),x=Sc();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Ov(()=>{var I;!h||!v||(Zg(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=en();return x?!h||!v?null:Uu.createPortal(F({ourProps:{ref:u},theirProps:i,slot:{},defaultTag:Fv,name:"Portal"}),v):null});function Qx(e,t){let r=sr(t),{enabled:i=!0,ownerDocument:a,...u}=e,p=en();return i?A.createElement(Xx,{...u,ownerDocument:a,ref:r}):p({ourProps:{ref:r},theirProps:u,slot:{},defaultTag:Fv,name:"Portal"})}let qx=A.Fragment,Mv=A.createContext(null);function Kx(e,t){let{target:r,...i}=e,a={ref:sr(t)},u=en();return A.createElement(Mv.Provider,{value:r},u({ourProps:a,theirProps:i,defaultTag:qx,name:"Popover.Group"}))}let fp=A.createContext(null);function Jx(){let e=A.useContext(fp),t=A.useRef([]),r=tt(u=>(t.current.push(u),e&&e.register(u),()=>i(u))),i=tt(u=>{let p=t.current.indexOf(u);p!==-1&&t.current.splice(p,1),e&&e.unregister(u)}),a=A.useMemo(()=>({register:r,unregister:i,portals:t}),[r,i,t]);return[t,A.useMemo(()=>function({children:u}){return A.createElement(fp.Provider,{value:a},u)},[a])]}let Zx=Dt(Qx),Dv=Dt(Kx),eS=Object.assign(Zx,{Group:Dv});function tS(e,t=typeof document<"u"?document.defaultView:null,r){let i=wc(e,"escape");vv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===iv.Escape&&r(a))})}function nS(){var e;let[t]=A.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[r,i]=A.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function a(u){i(u.matches)}return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[t]),r}function rS({defaultContainers:e=[],portals:t,mainTreeNode:r}={}){let i=Qu(r),a=tt(()=>{var u,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(u=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?u:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(r&&(h.contains(r)||h.contains((p=r==null?void 0:r.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:a,contains:tt(u=>a().some(p=>p.contains(u)))}}let _v=A.createContext(null);function am({children:e,node:t}){let[r,i]=A.useState(null),a=Lv(t??r);return A.createElement(_v.Provider,{value:a},e,a===null&&A.createElement(_u,{features:cc.Hidden,ref:u=>{var p,m;if(u){for(let h of(m=(p=Wu(u))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(u)){i(h);break}}}}))}function Lv(e=null){var t;return(t=A.useContext(_v))!=null?t:e}function Qp(){let e=A.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Jl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Jl||{});function oS(){let e=A.useRef(0);return gv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function $v(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let r of e.current)lo(r.current)&&t.add(r.current);return t}let iS="div";var ca=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ca||{});function aS(e,t){let r=A.useRef(null),i=sr(r,t),{initialFocus:a,initialFocusFallback:u,containers:p,features:m=15,...h}=e;Sc()||(m=0);let v=Qu(r);uS(m,{ownerDocument:v});let C=fS(m,{ownerDocument:v,container:r,initialFocus:a,initialFocusFallback:u});dS(m,{ownerDocument:v,container:r,containers:p,previousActiveElement:C});let x=oS(),F=tt(U=>{if(!yi(r.current))return;let j=r.current;(V=>V())(()=>{po(x.current,{[Jl.Forwards]:()=>{rc(j,so.First,{skipElements:[U.relatedTarget,u]})},[Jl.Backwards]:()=>{rc(j,so.Last,{skipElements:[U.relatedTarget,u]})}})})}),I=wc(!!(m&2),"focus-trap#tab-lock"),L=Vp(),D=A.useRef(!1),T={ref:i,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=$v(p);yi(r.current)&&j.add(r.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(jv(j,V)||(D.current?rc(r.current,po(x.current,{[Jl.Forwards]:()=>so.Next,[Jl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&co(U.target)))}},O=en();return A.createElement(A.Fragment,null,I&&A.createElement(_u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:cc.Focusable}),O({ourProps:T,theirProps:h,defaultTag:iS,name:"FocusTrap"}),I&&A.createElement(_u,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:cc.Focusable}))}let sS=Dt(aS),lS=Object.assign(sS,{features:ca});function cS(e=!0){let t=A.useRef(oi.slice());return Gp(([r],[i])=>{i===!0&&r===!1&&Vu(()=>{t.current.splice(0)}),i===!1&&r===!0&&(t.current=oi.slice())},[e,oi,t]),tt(()=>{var r;return(r=t.current.find(i=>i!=null&&i.isConnected))!=null?r:null})}function uS(e,{ownerDocument:t}){let r=!!(e&8),i=cS(r);Gp(()=>{r||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&co(i())},[r]),Ov(()=>{r&&co(i())})}function fS(e,{ownerDocument:t,container:r,initialFocus:i,initialFocusFallback:a}){let u=A.useRef(null),p=wc(!!(e&1),"focus-trap#initial-focus"),m=Qp();return Gp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&co(a.current);return}let h=r.current;h&&Vu(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(i!=null&&i.current){if((i==null?void 0:i.current)===v){u.current=v;return}}else if(h.contains(v)){u.current=v;return}if(i!=null&&i.current)co(i.current);else{if(e&16){if(rc(h,so.First|so.AutoFocus)!==lp.Error)return}else if(rc(h,so.First)!==lp.Error)return;if(a!=null&&a.current&&(co(a.current),(t==null?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}u.current=t==null?void 0:t.activeElement})},[a,p,e]),u}function dS(e,{ownerDocument:t,container:r,containers:i,previousActiveElement:a}){let u=Qp(),p=!!(e&4);vv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!u.current)return;let h=$v(i);yi(r.current)&&h.add(r.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?jv(h,C)?(a.current=C,co(C)):(m.preventDefault(),m.stopPropagation(),co(v)):co(a.current)},!0)}function jv(e,t){for(let r of e)if(r.contains(t))return!0;return!1}function Nv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Bv)!==A.Fragment||A.Children.count(e.children)===1}let nf=A.createContext(null);nf.displayName="TransitionContext";var pS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(pS||{});function hS(){let e=A.useContext(nf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mS(){let e=A.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let rf=A.createContext(null);rf.displayName="NestingContext";function of(e){return"children"in e?of(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function zv(e,t){let r=Ra(e),i=A.useRef([]),a=Qp(),u=Vp(),p=tt((I,L=mi.Hidden)=>{let D=i.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[mi.Unmount](){i.current.splice(D,1)},[mi.Hidden](){i.current[D].state="hidden"}}),u.microTask(()=>{var T;!of(i)&&a.current&&((T=r.current)==null||T.call(r))}))}),m=tt(I=>{let L=i.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):i.current.push({el:I,state:"visible"}),()=>p(I,mi.Unmount)}),h=A.useRef([]),v=A.useRef(Promise.resolve()),C=A.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([O,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,O])=>O)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return A.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Bv=A.Fragment,Uv=Du.RenderStrategy;function gS(e,t){var r,i;let{transition:a=!0,beforeEnter:u,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[O,U]=A.useState(null),j=A.useRef(null),V=Nv(e),$=sr(...V?[j,t,U]:t===null?[]:[t]),J=(r=T.unmount)==null||r?mi.Unmount:mi.Hidden,{show:ae,appear:ne,initial:le}=hS(),[ye,De]=A.useState(ae?"visible":"hidden"),Fe=mS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(J===mi.Hidden&&j.current){if(ae&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ae,J]);let xe=Sc();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!ne,Le=ne&&ae&&le,Z=A.useRef(!1),ve=zv(()=>{Z.current||(De("hidden"),ze(j))},Fe),Y=tt(ue=>{Z.current=!0;let Ee=ue?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?u==null||u():Se==="leave"&&(m==null||m())})}),K=tt(ue=>{let Ee=ue?"enter":"leave";Z.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!of(ve)&&(De("hidden"),ze(j))});A.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=px(fe,O,ae,{start:Y,end:K}),he=la({ref:$,className:((i=ap(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ae&&F))==null?void 0:i.trim())||void 0,...dx(te)}),me=0;ye==="visible"&&(me|=ir.Open),ye==="hidden"&&(me|=ir.Closed),ae&&ye==="hidden"&&(me|=ir.Opening),!ae&&ye==="visible"&&(me|=ir.Closing);let ce=en();return A.createElement(rf.Provider,{value:ve},A.createElement(Ux,{value:me},ce({ourProps:he,theirProps:T,defaultTag:Bv,features:Uv,visible:ye==="visible",name:"Transition.Child"})))}function vS(e,t){let{show:r,appear:i=!1,unmount:a=!0,...u}=e,p=A.useRef(null),m=Nv(e),h=sr(...m?[p,t]:t===null?[]:[t]);Sc();let v=tf();if(r===void 0&&v!==null&&(r=(v&ir.Open)===ir.Open),r===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=A.useState(r?"visible":"hidden"),F=zv(()=>{r||x("hidden")}),[I,L]=A.useState(!0),D=A.useRef([r]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==r&&(D.current.push(r),L(!1))},[D,r]);let T=A.useMemo(()=>({show:r,appear:i,initial:I}),[r,i,I]);Mt(()=>{r?x("visible"):!of(F)&&p.current!==null&&x("hidden")},[r,F]);let O={unmount:a},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=en();return A.createElement(rf.Provider,{value:F},A.createElement(nf.Provider,{value:T},V({ourProps:{...O,as:A.Fragment,children:A.createElement(Hv,{ref:h,...O,...u,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:A.Fragment,features:Uv,visible:C==="visible",name:"Transition"})))}function yS(e,t){let r=A.useContext(nf)!==null,i=tf()!==null;return A.createElement(A.Fragment,null,!r&&i?A.createElement(dp,{ref:t,...e}):A.createElement(Hv,{ref:t,...e}))}let dp=Dt(vS),Hv=Dt(gS),qp=Dt(yS),bS=Object.assign(dp,{Child:qp,Root:dp});var wS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wS||{}),xS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(xS||{});let SS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Kp=A.createContext(null);Kp.displayName="DialogContext";function af(e){let t=A.useContext(Kp);if(t===null){let r=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,af),r}return t}function kS(e,t){return po(t.type,SS,e,t)}let sm=Dt(function(e,t){let r=A.useId(),{id:i=`headlessui-dialog-${r}`,open:a,onClose:u,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=A.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=tf();a===void 0&&I!==null&&(a=(I&ir.Open)===ir.Open);let L=A.useRef(null),D=sr(L,t),T=Qu(L),O=a?0:1,[U,j]=A.useReducer(kS,{titleId:null,descriptionId:null,panelRef:A.createRef()}),V=tt(()=>u(!1)),$=tt(te=>j({type:0,id:te})),J=Sc()?O===0:!1,[ae,ne]=Jx(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=Lv(),{resolveContainers:De}=rS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&ir.Closing)===ir.Closing:!1;Hw(v||Fe?!1:J,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=dv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=pv($e,A.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));tx(ze,De,te=>{te.preventDefault(),V()}),tS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),cx(v||Fe?!1:J,T,De),Ww(J,L,V);let[xe,Re]=rv(),Le=A.useMemo(()=>[{dialogState:O,close:V,setTitleId:$,unmount:C},U],[O,U,V,$,C]),Z=A.useMemo(()=>({open:O===0}),[O]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:O===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!nS(),K=ca.None;J&&!v&&(K|=ca.RestoreFocus,K|=ca.TabLock,h&&(K|=ca.AutoFocus),Y&&(K|=ca.InitialFocus));let fe=en();return A.createElement(Hx,null,A.createElement(im,{force:!0},A.createElement(eS,null,A.createElement(Kp.Provider,{value:Le},A.createElement(Dv,{target:L},A.createElement(im,{force:!1},A.createElement(Re,{slot:Z},A.createElement(ne,null,A.createElement(lS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},A.createElement(Pw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:ES,features:CS,visible:O===0,name:"Dialog"})))))))))))}),ES="div",CS=Du.RenderStrategy|Du.Static;function TS(e,t){let{transition:r=!1,open:i,...a}=e,u=tf(),p=e.hasOwnProperty("open")||u!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!u&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(i!==void 0||r)&&!a.static?A.createElement(am,null,A.createElement(bS,{show:i,transition:r,unmount:a.unmount},A.createElement(sm,{ref:t,...a}))):A.createElement(am,null,A.createElement(sm,{ref:t,open:i,...a}))}let RS="div";function PS(e,t){let r=A.useId(),{id:i=`headlessui-dialog-panel-${r}`,transition:a=!1,...u}=e,[{dialogState:p,unmount:m},h]=af("Dialog.Panel"),v=sr(t,h.panelRef),C=A.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?qp:A.Fragment,L=a?{unmount:m}:{},D=en();return A.createElement(I,{...L},D({ourProps:F,theirProps:u,slot:C,defaultTag:RS,name:"Dialog.Panel"}))}let AS="div";function OS(e,t){let{transition:r=!1,...i}=e,[{dialogState:a,unmount:u}]=af("Dialog.Backdrop"),p=A.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=r?qp:A.Fragment,v=r?{unmount:u}:{},C=en();return A.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:AS,name:"Dialog.Backdrop"}))}let IS="h2";function FS(e,t){let r=A.useId(),{id:i=`headlessui-dialog-title-${r}`,...a}=e,[{dialogState:u,setTitleId:p}]=af("Dialog.Title"),m=sr(t);A.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=A.useMemo(()=>({open:u===0}),[u]),v={ref:m,id:i};return en()({ourProps:v,theirProps:a,slot:h,defaultTag:IS,name:"Dialog.Title"})}let MS=Dt(TS),Wv=Dt(PS),DS=Dt(OS),Vv=Dt(FS),_S=Object.assign(MS,{Panel:Wv,Title:Vv,Description:ov}),LS="div";function $S(e,t){let r=`headlessui-control-${A.useId()}`,[i,a]=Sw(),[u,p]=rv(),m=Gu(),{disabled:h=m||!1,...v}=e,C=A.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=en();return A.createElement(rw,{value:h},A.createElement(a,{value:i},A.createElement(p,{value:u},A.createElement(pw,{id:r},F({ourProps:x,theirProps:{...v,children:A.createElement(dw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:LS,name:"Field"})))))}let jS=Dt($S),NS="input";function zS(e,t){let r=A.useId(),i=Jg(),a=Gu(),{id:u=i||`headlessui-input-${r}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=sv(),x=yw(),{isFocused:F,focusProps:I}=Z0({autoFocus:m}),{isHovered:L,hoverProps:D}=J0({isDisabled:p}),T=sw({ref:t,id:u,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),O=A.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return en()({ourProps:T,theirProps:v,slot:O,defaultTag:NS,name:"Input"})}let BS=Dt(zS);const US="whitespace-nowrap font-normal flex items-center justify-center",HS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",WS="disabled:opacity-15 disabled:pointer-events-none",Gv=e=>e==="grayLight"||e==="warning",Yv=(e,t)=>!t||t==="none"?"":e(),VS=(e,t)=>Yv(()=>{const r=e==="gray400"?"gray":e,i=Gv(r)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${r}-800 text-white`:`hover:bg-${r}-800 active:bg-${r}-800 hover:text-white ${i}`:r==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:r==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?t?`bg-${r}-500 text-white`:`hover:bg-${r}-500 active:bg-${r}-500 hover:text-white ${i}`:t?`bg-${r}-700 text-white`:`hover:bg-${r}-600 active:bg-${r}-700 hover:text-white ${i}`},e),GS=e=>Yv(()=>{const t=Gv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),YS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",XS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",QS=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,qS=(e,t)=>({solid:GS(e),link:YS(e),linkHoverSolid:XS(e,t),outline:QS(e,t)}),KS={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},JS={none:"",default:"rounded",pill:"rounded-pill"},ZS=({active:e=!1,children:t,color:r="primary",size:i="normal",category:a="solid",className:u,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=WS,I=/link/.test(a)?null:VS(r,e),L=HS,D=KS[i],T=(j=qS(r,e))==null?void 0:j[a],O=Fs(I,T),U=JS[m];return q.jsx("button",{...C,style:{...h,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Fs(US,L,F,D,O,U,u,"cursor-pointer"),children:t})},fc=A.forwardRef(ZS),ek=({isOpen:e,close:t,title:r,dismissOptions:i,confirmOptions:a,children:u,className:p})=>q.jsxs(_S,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[q.jsx(DS,{className:"fixed inset-0 bg-black/30"}),q.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:q.jsxs(Wv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[r&&q.jsx(Vv,{className:" text-gray-900 p-4",children:r}),q.jsx("div",{className:"p-4",children:u}),i||a?q.jsxs("div",{className:"flex gap-4 p-4",children:[i?q.jsx(fc,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(fc,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),t()},size:"small",color:"primary",children:a.label}):q.jsx(q.Fragment,{})]}):q.jsx(q.Fragment,{})]})})]}),tk=({type:e="text",className:t,label:r,description:i,error:a,...u})=>q.jsx("div",{className:"w-full max-w-md px-4",children:q.jsxs(jS,{children:[r&&q.jsx(Tw,{className:"font-medium text-gray-900",children:r}),i&&q.jsx(ov,{className:"text-sm text-secondary",children:i}),q.jsx(BS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,a&&"border-red-500 focus:border-red-500"),...u})]})}),nk=({onConfirm:e,onClose:t,isOpen:r,title:i})=>{const[a,u]=A.useState(""),[p,m]=A.useState(!1),[h,v]=A.useState(!1),C=async()=>{if(a)try{m(!0),await e(a),u("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return q.jsx(ek,{isOpen:r,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!a||h},children:q.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[q.jsxs("div",{children:[q.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":i||"Access Playbook"}),q.jsx("div",{className:"text-center",children:h?q.jsxs(q.Fragment,{children:[q.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):q.jsx(q.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),q.jsx(tk,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>u(x.target.value)})]})})},Xv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==",rk=({btnClassName:e,buttonNode:t,size:r,playbookId:i,onInitiated:a,disabled:u,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=A.useState(!1),[C,x]=A.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:O,details:U,message:j}=await Tg({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(O)throw new Error(`Error initiating playbook: ${j} (Code: ${O}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(fc,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:r,disabled:u||C,children:[q.jsx("img",{src:Xv,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(nk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
|
|
146
146
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
147
147
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
148
148
|
* Copyright 2024 Fonticons, Inc.
|
|
149
|
-
*/const
|
|
149
|
+
*/const ok={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ik=ok,ak={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},Qv={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};/*!
|
|
150
150
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
151
151
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
152
152
|
* Copyright 2024 Fonticons, Inc.
|
|
153
|
-
*/function dk(e,t,r){return(t=hk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function um(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?um(Object(r),!0).forEach(function(i){dk(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):um(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function pk(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function hk(e){var t=pk(e,"string");return typeof t=="symbol"?t:t+""}const fm=()=>{};let Zp={},Zv={},ey=null,ty={mark:fm,measure:fm};try{typeof window<"u"&&(Zp=window),typeof document<"u"&&(Zv=document),typeof MutationObserver<"u"&&(ey=MutationObserver),typeof performance<"u"&&(ty=performance)}catch{}const{userAgent:dm=""}=Zp.navigator||{},bi=Zp,at=Zv,pm=ey,Cu=ty;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",ny=~dm.indexOf("MSIE")||~dm.indexOf("Trident/");var mk=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,gk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ry={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},vk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},oy=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",lf="duotone",yk="sharp",bk="sharp-duotone",iy=[jt,lf,yk,bk],wk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},xk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},Sk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),kk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},Ek=["fak","fa-kit","fakd","fa-kit-duotone"],hm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},Ck=["kit"],Tk={kit:{"fa-kit":"fak"}},Rk=["fak","fakd"],Pk={kit:{fak:"fa-kit"}},mm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Tu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ok=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ak=["fak","fa-kit","fakd","fa-kit-duotone"],Ik={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Fk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Mk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},hp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Dk=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],mp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ok,...Dk],_k=["solid","regular","light","thin","duotone","brands"],ay=[1,2,3,4,5,6,7,8,9,10],Lk=ay.concat([11,12,13,14,15,16,17,18,19,20]),$k=[...Object.keys(Mk),..._k,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Tu.GROUP,Tu.SWAP_OPACITY,Tu.PRIMARY,Tu.SECONDARY].concat(ay.map(e=>"".concat(e,"x"))).concat(Lk.map(e=>"w-".concat(e))),jk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",gp=16,sy="fa",ly="svg-inline--fa",Ca="data-fa-i2svg",vp="data-fa-pseudo-element",Nk="data-fa-pseudo-element-pending",eh="data-prefix",th="data-icon",gm="fontawesome-i2svg",zk="async",Bk=["HTML","HEAD","STYLE","SCRIPT"],cy=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function Cc(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[jt]}})}const uy=ie({},ry);uy[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ry[jt]),hm.kit),hm["kit-duotone"]);const Uk=Cc(uy),yp=ie({},kk);yp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),yp[jt]),mm.kit),mm["kit-duotone"]);const vm=Cc(yp),bp=ie({},hp);bp[jt]=ie(ie({},bp[jt]),Pk.kit);const nh=Cc(bp),wp=ie({},Fk);wp[jt]=ie(ie({},wp[jt]),Tk.kit);Cc(wp);const Hk=mk,fy="fa-layers-text",Wk=gk,Vk=ie({},wk);Cc(Vk);const Gk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Od=vk,Yk=[...Ck,...$k],ac=bi.FontAwesomeConfig||{};function Xk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Qk(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}at&&typeof at.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,i]=t;const a=Qk(Xk(r));a!=null&&(ac[i]=a)});const dy={styleDefault:"solid",familyDefault:jt,cssPrefix:sy,replacementClass:ly,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ac.familyPrefix&&(ac.cssPrefix=ac.familyPrefix);const qs=ie(ie({},dy),ac);qs.autoReplaceSvg||(qs.observeMutations=!1);const Te={};Object.keys(dy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){qs[e]=t,sc.forEach(r=>r(Te))},get:function(){return qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){qs.cssPrefix=e,sc.forEach(t=>t(Te))},get:function(){return qs.cssPrefix}});bi.FontAwesomeConfig=Te;const sc=[];function qk(e){return sc.push(e),()=>{sc.splice(sc.indexOf(e),1)}}const ni=gp,Pr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Kk(e){if(!e||!wo)return;const t=at.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=at.head.childNodes;let i=null;for(let a=r.length-1;a>-1;a--){const u=r[a],p=(u.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=u)}return at.head.insertBefore(t,i),e}const Jk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function pc(){let e=12,t="";for(;e-- >0;)t+=Jk[Math.random()*62|0];return t}function nl(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function rh(e){return e.classList?nl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function py(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Zk(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(py(e[r]),'" '),"").trim()}function cf(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function oh(e){return e.size!==Pr.size||e.x!==Pr.x||e.y!==Pr.y||e.rotate!==Pr.rotate||e.flipX||e.flipY}function eE(e){let{transform:t,containerWidth:r,iconWidth:i}=e;const a={transform:"translate(".concat(r/2," 256)")},u="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(u," ").concat(p," ").concat(m)},v={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:h,path:v}}function tE(e){let{transform:t,width:r=gp,height:i=gp,startCentered:a=!1}=e,u="";return a&&ny?u+="translate(".concat(t.x/ni-r/2,"em, ").concat(t.y/ni-i/2,"em) "):a?u+="translate(calc(-50% + ".concat(t.x/ni,"em), calc(-50% + ").concat(t.y/ni,"em)) "):u+="translate(".concat(t.x/ni,"em, ").concat(t.y/ni,"em) "),u+="scale(".concat(t.size/ni*(t.flipX?-1:1),", ").concat(t.size/ni*(t.flipY?-1:1),") "),u+="rotate(".concat(t.rotate,"deg) "),u}var nE=`:root, :host {
|
|
153
|
+
*/function sk(e,t,r){return(t=ck(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lm(Object(r),!0).forEach(function(i){sk(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lm(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function lk(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ck(e){var t=lk(e,"string");return typeof t=="symbol"?t:t+""}const cm=()=>{};let Jp={},qv={},Kv=null,Jv={mark:cm,measure:cm};try{typeof window<"u"&&(Jp=window),typeof document<"u"&&(qv=document),typeof MutationObserver<"u"&&(Kv=MutationObserver),typeof performance<"u"&&(Jv=performance)}catch{}const{userAgent:um=""}=Jp.navigator||{},bi=Jp,at=qv,fm=Kv,ku=Jv;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",Zv=~um.indexOf("MSIE")||~um.indexOf("Trident/");var uk=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,fk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ey={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ty=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",sf="duotone",pk="sharp",hk="sharp-duotone",ny=[jt,sf,pk,hk],mk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},gk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),yk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},bk=["fak","fa-kit","fakd","fa-kit-duotone"],dm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wk=["kit"],xk={kit:{"fa-kit":"fak"}},Sk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},pm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Eu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ek=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ck=["fak","fa-kit","fakd","fa-kit-duotone"],Tk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Rk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Pk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},pp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ak=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],hp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ek,...Ak],Ok=["solid","regular","light","thin","duotone","brands"],ry=[1,2,3,4,5,6,7,8,9,10],Ik=ry.concat([11,12,13,14,15,16,17,18,19,20]),Fk=[...Object.keys(Pk),...Ok,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Eu.GROUP,Eu.SWAP_OPACITY,Eu.PRIMARY,Eu.SECONDARY].concat(ry.map(e=>"".concat(e,"x"))).concat(Ik.map(e=>"w-".concat(e))),Mk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",mp=16,oy="fa",iy="svg-inline--fa",Ca="data-fa-i2svg",gp="data-fa-pseudo-element",Dk="data-fa-pseudo-element-pending",Zp="data-prefix",eh="data-icon",hm="fontawesome-i2svg",_k="async",Lk=["HTML","HEAD","STYLE","SCRIPT"],ay=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function kc(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[jt]}})}const sy=ie({},ey);sy[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ey[jt]),dm.kit),dm["kit-duotone"]);const $k=kc(sy),vp=ie({},yk);vp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),vp[jt]),pm.kit),pm["kit-duotone"]);const mm=kc(vp),yp=ie({},pp);yp[jt]=ie(ie({},yp[jt]),kk.kit);const th=kc(yp),bp=ie({},Rk);bp[jt]=ie(ie({},bp[jt]),xk.kit);kc(bp);const jk=uk,ly="fa-layers-text",Nk=fk,zk=ie({},mk);kc(zk);const Bk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pd=dk,Uk=[...wk,...Fk],ic=bi.FontAwesomeConfig||{};function Hk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Wk(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}at&&typeof at.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,i]=t;const a=Wk(Hk(r));a!=null&&(ic[i]=a)});const cy={styleDefault:"solid",familyDefault:jt,cssPrefix:oy,replacementClass:iy,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ic.familyPrefix&&(ic.cssPrefix=ic.familyPrefix);const Qs=ie(ie({},cy),ic);Qs.autoReplaceSvg||(Qs.observeMutations=!1);const Te={};Object.keys(cy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){Qs[e]=t,ac.forEach(r=>r(Te))},get:function(){return Qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){Qs.cssPrefix=e,ac.forEach(t=>t(Te))},get:function(){return Qs.cssPrefix}});bi.FontAwesomeConfig=Te;const ac=[];function Vk(e){return ac.push(e),()=>{ac.splice(ac.indexOf(e),1)}}const ni=mp,Pr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gk(e){if(!e||!wo)return;const t=at.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=at.head.childNodes;let i=null;for(let a=r.length-1;a>-1;a--){const u=r[a],p=(u.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=u)}return at.head.insertBefore(t,i),e}const Yk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function dc(){let e=12,t="";for(;e-- >0;)t+=Yk[Math.random()*62|0];return t}function tl(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function nh(e){return e.classList?tl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function uy(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Xk(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(uy(e[r]),'" '),"").trim()}function lf(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function rh(e){return e.size!==Pr.size||e.x!==Pr.x||e.y!==Pr.y||e.rotate!==Pr.rotate||e.flipX||e.flipY}function Qk(e){let{transform:t,containerWidth:r,iconWidth:i}=e;const a={transform:"translate(".concat(r/2," 256)")},u="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(u," ").concat(p," ").concat(m)},v={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:h,path:v}}function qk(e){let{transform:t,width:r=mp,height:i=mp,startCentered:a=!1}=e,u="";return a&&Zv?u+="translate(".concat(t.x/ni-r/2,"em, ").concat(t.y/ni-i/2,"em) "):a?u+="translate(calc(-50% + ".concat(t.x/ni,"em), calc(-50% + ").concat(t.y/ni,"em)) "):u+="translate(".concat(t.x/ni,"em, ").concat(t.y/ni,"em) "),u+="scale(".concat(t.size/ni*(t.flipX?-1:1),", ").concat(t.size/ni*(t.flipY?-1:1),") "),u+="rotate(".concat(t.rotate,"deg) "),u}var Kk=`:root, :host {
|
|
154
154
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
155
155
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
156
156
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
@@ -703,7 +703,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
703
703
|
.svg-inline--fa mask .fa-primary,
|
|
704
704
|
.svg-inline--fa mask .fa-secondary {
|
|
705
705
|
fill: black;
|
|
706
|
-
}`;function hy(){const e=sy,t=ly,r=Te.cssPrefix,i=Te.replacementClass;let a=nE;if(r!==e||i!==t){const u=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");a=a.replace(u,".".concat(r,"-")).replace(p,"--".concat(r,"-")).replace(m,".".concat(i))}return a}let ym=!1;function Ad(){Te.autoAddCss&&!ym&&(Kk(hy()),ym=!0)}var rE={mixout(){return{dom:{css:hy,insertCss:Ad}}},hooks(){return{beforeDOMElementCreation(){Ad()},beforeI2svg(){Ad()}}}};const go=bi||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var Or=go[mo];const my=[],gy=function(){at.removeEventListener("DOMContentLoaded",gy),Bu=1,my.map(e=>e())};let Bu=!1;wo&&(Bu=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),Bu||at.addEventListener("DOMContentLoaded",gy));function oE(e){wo&&(Bu?setTimeout(e,0):my.push(e))}function Tc(e){const{tag:t,attributes:r={},children:i=[]}=e;return typeof e=="string"?py(e):"<".concat(t," ").concat(Zk(r),">").concat(i.map(Tc).join(""),"</").concat(t,">")}function bm(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Id=function(t,r,i,a){var u=Object.keys(t),p=u.length,m=r,h,v,C;for(i===void 0?(h=1,C=t[u[0]]):(h=0,C=i);h<p;h++)v=u[h],C=m(C,t[v],v,t);return C};function iE(e){const t=[];let r=0;const i=e.length;for(;r<i;){const a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<i){const u=e.charCodeAt(r++);(u&64512)==56320?t.push(((a&1023)<<10)+(u&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function xp(e){const t=iE(e);return t.length===1?t[0].toString(16):null}function aE(e,t){const r=e.length;let i=e.charCodeAt(t),a;return i>=55296&&i<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function wm(e){return Object.keys(e).reduce((t,r)=>{const i=e[r];return!!i.icon?t[i.iconName]=i.icon:t[r]=i,t},{})}function Sp(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=r,a=wm(t);typeof Or.hooks.addPack=="function"&&!i?Or.hooks.addPack(e,wm(t)):Or.styles[e]=ie(ie({},Or.styles[e]||{}),a),e==="fas"&&Sp("fa",t)}const{styles:hc,shims:sE}=Or,vy=Object.keys(nh),lE=vy.reduce((e,t)=>(e[t]=Object.keys(nh[t]),e),{});let ih=null,yy={},by={},wy={},xy={},Sy={};function cE(e){return~Yk.indexOf(e)}function uE(e,t){const r=t.split("-"),i=r[0],a=r.slice(1).join("-");return i===e&&a!==""&&!cE(a)?a:null}const ky=()=>{const e=i=>Id(hc,(a,u,p)=>(a[p]=Id(u,i,{}),a),{});yy=e((i,a,u)=>(a[3]&&(i[a[3]]=u),a[2]&&a[2].filter(m=>typeof m=="number").forEach(m=>{i[m.toString(16)]=u}),i)),by=e((i,a,u)=>(i[u]=u,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=u}),i)),Sy=e((i,a,u)=>{const p=a[2];return i[u]=u,p.forEach(m=>{i[m]=u}),i});const t="far"in hc||Te.autoFetchSvg,r=Id(sE,(i,a)=>{const u=a[0];let p=a[1];const m=a[2];return p==="far"&&!t&&(p="fas"),typeof u=="string"&&(i.names[u]={prefix:p,iconName:m}),typeof u=="number"&&(i.unicodes[u.toString(16)]={prefix:p,iconName:m}),i},{names:{},unicodes:{}});wy=r.names,xy=r.unicodes,ih=uf(Te.styleDefault,{family:Te.familyDefault})};qk(e=>{ih=uf(e.styleDefault,{family:Te.familyDefault})});ky();function ah(e,t){return(yy[e]||{})[t]}function fE(e,t){return(by[e]||{})[t]}function da(e,t){return(Sy[e]||{})[t]}function Ey(e){return wy[e]||{prefix:null,iconName:null}}function dE(e){const t=xy[e],r=ah("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function wi(){return ih}const Cy=()=>({prefix:null,iconName:null,rest:[]});function pE(e){let t=jt;const r=vy.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return iy.forEach(i=>{(e.includes(r[i])||e.some(a=>lE[i].includes(a)))&&(t=i)}),t}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=jt}=t,i=Uk[r][e];if(r===lf&&!e)return"fad";const a=vm[r][e]||vm[r][i],u=e in Or.styles?e:null;return a||u||null}function hE(e){let t=[],r=null;return e.forEach(i=>{const a=uE(Te.cssPrefix,i);a?r=a:i&&t.push(i)}),{iconName:r,rest:t}}function xm(e){return e.sort().filter((t,r,i)=>i.indexOf(t)===r)}function ff(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let i=null;const a=mp.concat(Ak),u=xm(e.filter(x=>a.includes(x))),p=xm(e.filter(x=>!mp.includes(x))),m=u.filter(x=>(i=x,!oy.includes(x))),[h=null]=m,v=pE(u),C=ie(ie({},hE(p)),{},{prefix:uf(h,{family:v})});return ie(ie(ie({},C),yE({values:e,family:v,styles:hc,config:Te,canonical:C,givenPrefix:i})),mE(r,i,C))}function mE(e,t,r){let{prefix:i,iconName:a}=r;if(e||!i||!a)return{prefix:i,iconName:a};const u=t==="fa"?Ey(a):{},p=da(i,a);return a=u.iconName||p||a,i=u.prefix||i,i==="far"&&!hc.far&&hc.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const gE=iy.filter(e=>e!==jt||e!==lf),vE=Object.keys(hp).filter(e=>e!==jt).map(e=>Object.keys(hp[e])).flat();function yE(e){const{values:t,family:r,canonical:i,givenPrefix:a="",styles:u={},config:p={}}=e,m=r===lf,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=i.prefix==="fad"||i.prefix==="fa-duotone";if(!m&&(h||v||C)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&gE.includes(r)&&(Object.keys(u).find(F=>vE.includes(F))||p.autoFetchSvg)){const F=Sk.get(r).defaultShortPrefixId;i.prefix=F,i.iconName=da(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=wi()||"fas"),i}class bE{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(u=>{this.definitions[u]=ie(ie({},this.definitions[u]||{}),a[u]),Sp(u,a[u]);const p=nh[jt][u];p&&Sp(p,a[u]),ky()})}reset(){this.definitions={}}_pullDefinitions(t,r){const i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(a=>{const{prefix:u,iconName:p,icon:m}=i[a],h=m[2];t[u]||(t[u]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[u][v]=m)}),t[u][p]=m}),t}}let Sm=[],As={};const Ls={},wE=Object.keys(Ls);function xE(e,t){let{mixoutsTo:r}=t;return Sm=e,As={},Object.keys(Ls).forEach(i=>{wE.indexOf(i)===-1&&delete Ls[i]}),Sm.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(u=>{typeof a[u]=="function"&&(r[u]=a[u]),typeof a[u]=="object"&&Object.keys(a[u]).forEach(p=>{r[u]||(r[u]={}),r[u][p]=a[u][p]})}),i.hooks){const u=i.hooks();Object.keys(u).forEach(p=>{As[p]||(As[p]=[]),As[p].push(u[p])})}i.provides&&i.provides(Ls)}),r}function kp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...i])}),t}function Ta(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];(As[e]||[]).forEach(u=>{u.apply(null,r)})}function xi(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Ls[e]?Ls[e].apply(null,t):void 0}function Ep(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||wi();if(t)return t=da(r,t)||t,bm(Ty.definitions,r,t)||bm(Or.styles,r,t)}const Ty=new bE,SE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},kE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ta("beforeI2svg",e),xi("pseudoElements2svg",e),xi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,oE(()=>{CE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},EE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:da(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=uf(e[0]);return{prefix:r,iconName:da(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(Hk))){const t=ff(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wi(),iconName:da(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wi();return{prefix:t,iconName:da(t,e)||e}}}},Sn={noAuto:SE,config:Te,dom:kE,parse:EE,library:Ty,findIconDefinition:Ep,toHtml:Tc},CE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(Or.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&Sn.dom.i2svg({node:t})};function df(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Tc(r))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const r=at.createElement("div");return r.innerHTML=e.html,r.children}}),e}function TE(e){let{children:t,main:r,mask:i,attributes:a,styles:u,transform:p}=e;if(oh(p)&&r.found&&!i.found){const{width:m,height:h}=r,v={x:m/h/2,y:.5};a.style=cf(ie(ie({},u),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function RE(e){let{prefix:t,iconName:r,children:i,attributes:a,symbol:u}=e;const p=u===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(r):u;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ie(ie({},a),{},{id:p}),children:i}]}]}function sh(e){const{icons:{main:t,mask:r},prefix:i,iconName:a,transform:u,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=r.found?r:t,L=Rk.includes(i),D=[Te.replacementClass,a?"".concat(Te.cssPrefix,"-").concat(a):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ie(ie({},C.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const A=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ca]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||pc())},children:[m]}),delete T.attributes.title);const U=ie(ie({},T),{},{prefix:i,iconName:a,main:t,mask:r,maskId:h,transform:u,symbol:p,styles:ie(ie({},A),C.styles)}),{children:j,attributes:V}=r.found&&t.found?xi("generateAbstractMask",U)||{children:[],attributes:{}}:xi("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?RE(U):TE(U)}function km(e){const{content:t,width:r,height:i,transform:a,title:u,extra:p,watchable:m=!1}=e,h=ie(ie(ie({},p.attributes),u?{title:u}:{}),{},{class:p.classes.join(" ")});m&&(h[Ca]="");const v=ie({},p.styles);oh(a)&&(v.transform=tE({transform:a,startCentered:!0,width:r,height:i}),v["-webkit-transform"]=v.transform);const C=cf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),u&&x.push({tag:"span",attributes:{class:"sr-only"},children:[u]}),x}function PE(e){const{content:t,title:r,extra:i}=e,a=ie(ie(ie({},i.attributes),r?{title:r}:{}),{},{class:i.classes.join(" ")}),u=cf(i.styles);u.length>0&&(a.style=u);const p=[];return p.push({tag:"span",attributes:a,children:[t]}),r&&p.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),p}const{styles:Fd}=Or;function Cp(e){const t=e[0],r=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Od.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Od.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Od.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}const OE={found:!1,width:512,height:512};function AE(e,t){!cy&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Tp(e,t){let r=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(r==="fa"){const u=Ey(e)||{};e=u.iconName||e,t=u.prefix||t}if(e&&t&&Fd[t]&&Fd[t][e]){const u=Fd[t][e];return i(Cp(u))}AE(e,t),i(ie(ie({},OE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const Em=()=>{},Rp=Te.measurePerformance&&Cu&&Cu.mark&&Cu.measure?Cu:{mark:Em,measure:Em},ec='FA "6.7.2"',IE=e=>(Rp.mark("".concat(ec," ").concat(e," begins")),()=>Ry(e)),Ry=e=>{Rp.mark("".concat(ec," ").concat(e," ends")),Rp.measure("".concat(ec," ").concat(e),"".concat(ec," ").concat(e," begins"),"".concat(ec," ").concat(e," ends"))};var lh={begin:IE,end:Ry};const Ou=()=>{};function Cm(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function FE(e){const t=e.getAttribute?e.getAttribute(eh):null,r=e.getAttribute?e.getAttribute(th):null;return t&&r}function ME(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function DE(){return Te.autoReplaceSvg===!0?Au.replace:Au[Te.autoReplaceSvg]||Au.replace}function _E(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function LE(e){return at.createElement(e)}function Py(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?_E:LE}=t;if(typeof e=="string")return at.createTextNode(e);const i=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(u){i.setAttribute(u,e.attributes[u])}),(e.children||[]).forEach(function(u){i.appendChild(Py(u,{ceFn:r}))}),i}function $E(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Au={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Py(r),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let r=at.createComment($E(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~rh(t).indexOf(Te.replacementClass))return Au.replace(e);const i=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const u=r[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(i)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});r[0].attributes.class=u.toSvg.join(" "),u.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",u.toNode.join(" "))}const a=r.map(u=>Tc(u)).join(`
|
|
707
|
-
`);t.setAttribute(Ca,""),t.innerHTML=a}};function
|
|
708
|
-
`),e.removeAttribute(r),i()}).catch(a)}else i()}else i()})}function
|
|
709
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yC(e){var t,r=e.beat,i=e.fade,a=e.beatFade,u=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,A=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":r,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":u,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Is(t,"fa-".concat(A),typeof A<"u"&&A!==null),Is(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Is(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Is(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function bC(e){return e=e-0,e===e}function My(e){return bC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var wC=["style"];function xC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function SC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var i=r.indexOf(":"),a=My(r.slice(0,i)),u=r.slice(i+1).trim();return a.startsWith("webkit")?t[xC(a)]=u:t[a]=u,t},{})}function Dy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var i=(t.children||[]).map(function(h){return Dy(e,h)}),a=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=SC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[My(v)]=C}return h},{attrs:{}}),u=r.style,p=u===void 0?{}:u,m=Fy(r,wC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Ip(i)))}var _y=!1;try{_y=process.env.NODE_ENV==="production"}catch{}function kC(){if(!_y&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function jm(e){if(e&&Hu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ap.icon)return Ap.icon(e);if(e===null)return null;if(e&&Hu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Dd(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Is({},e,t):{}}var EC=["forwardedRef"];function Si(e){var t=e.forwardedRef,r=Fy(e,EC),i=r.icon,a=r.mask,u=r.symbol,p=r.className,m=r.title,h=r.titleId,v=r.maskId,C=jm(i),x=Dd("classes",[].concat(Ip(yC(r)),Ip(p.split(" ")))),F=Dd("transform",typeof r.transform=="string"?Ap.transform(r.transform):r.transform),I=Dd("mask",jm(a)),L=dC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:u,title:m,titleId:h,maskId:v}));if(!L)return kC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(r).forEach(function(A){Si.defaultProps.hasOwnProperty(A)||(T[A]=r[A])}),CC(D[0],T)}Si.displayName="FontAwesomeIcon";Si.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Si.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var CC=Dy.bind(null,O.createElement);const TC=async e=>await(await fetch(`${wc}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),RC=({taskId:e,playbookId:t,enabled:r})=>{const{queryClient:i}=Js(),a=async()=>TC({taskId:+e,templateId:t.toString()}),u=["taskDetails",+e,t],p=Np({queryKey:u,queryFn:a,enabled:r},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:u})};return{taskDetails:p.data,prefetchQuery:m,...p}},PC=({buttons:e,onButtonClick:t,disabled:r})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(dc,{size:"smallCollapse",className:"ml-2",disabled:r,onClick:()=>{t(i)},children:t0[i]},i))});function Nm(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&up(r)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Ql(e){return"composedPath"in e?e.composedPath()[0]:e.target}function _d(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}function OC(e){return e.matches("html,body")}function zm(e){return(e==null?void 0:e.ownerDocument)||document}function Ld(e,t){let r=e.filter(a=>{var u;return a.parentId===t&&((u=a.context)==null?void 0:u.open)}),i=r;for(;i.length;)i=e.filter(a=>{var u;return(u=i)==null?void 0:u.some(p=>{var m;return a.parentId===p.id&&((m=a.context)==null?void 0:m.open)})}),r=r.concat(i);return r}function AC(e){return"nativeEvent"in e}var IC=typeof document<"u",FC=function(){},Mp=IC?O.useLayoutEffect:FC;const MC={...pe},DC=MC.useInsertionEffect,_C=DC||(e=>e());function Os(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return _C(()=>{t.current=e}),pe.useCallback(function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}const LC="data-floating-ui-focusable",Bm="active",Um="selected",$C={...pe};let Hm=!1,jC=0;const Wm=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+jC++;function NC(){const[e,t]=pe.useState(()=>Hm?Wm():void 0);return Mp(()=>{e==null&&t(Wm())},[]),pe.useEffect(()=>{Hm=!0},[]),e}const zC=$C.useId,BC=zC||NC;let Dp;process.env.NODE_ENV!=="production"&&(Dp=new Set);function UC(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a="Floating UI: "+r.join(" ");if(!((e=Dp)!=null&&e.has(a))){var u;(u=Dp)==null||u.add(a),console.error(a)}}function HC(){const e=new Map;return{emit(t,r){var i;(i=e.get(t))==null||i.forEach(a=>a(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var i;(i=e.get(t))==null||i.delete(r)}}}const WC=pe.createContext(null),VC=pe.createContext(null),GC=()=>{var e;return((e=pe.useContext(WC))==null?void 0:e.id)||null},Ly=()=>pe.useContext(VC);function YC(e){return"data-floating-ui-"+e}function XC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const QC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},qC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Vm=e=>{var t,r;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(r=e==null?void 0:e.outsidePress)!=null?r:!0}};function KC(e,t){t===void 0&&(t={});const{open:r,onOpenChange:i,elements:a,dataRef:u}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=Ly(),T=Os(typeof h=="function"?h:()=>!1),A=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Vm(I),{escapeKey:$,outsidePress:J}=Vm(L),ae=pe.useRef(!1),ne=pe.useRef(-1),le=Os(xe=>{var Re;if(!r||!p||!m||xe.key!=="Escape"||ae.current)return;const Le=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,Z=D?Ld(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),Z.length>0)){let ve=!0;if(Z.forEach(Y=>{var K;if((K=Y.context)!=null&&K.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}i(!1,AC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Os(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Ql(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Ql(xe))==null||Re.addEventListener("keydown",Le)}),De=Os(xe=>{var Re;const Le=u.current.insideReactTree;u.current.insideReactTree=!1;const Z=U.current;if(U.current=!1,v==="click"&&Z||Le||typeof A=="function"&&!A(xe))return;const ve=Ql(xe),Y="["+YC("inert")+"]",K=zm(a.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!uo(fe);){const ce=ho(fe);if(uo(ce)||!ht(ce))break;fe=ce}if(K.length&&ht(ve)&&!OC(ve)&&!Nm(ve,a.floating)&&Array.from(K).every(ce=>!Nm(fe,ce)))return;if(ar(ve)&&ze){const ce=uo(ve),ue=Bn(ve),Ee=/auto|scroll/,Se=ce||Ee.test(ue.overflowX),Pe=ce||Ee.test(ue.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ue.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,he=D&&Ld(D.nodesRef.current,te).some(ce=>{var ue;return _d(xe,(ue=ce.context)==null?void 0:ue.elements.floating)});if(_d(xe,a.floating)||_d(xe,a.domReference)||he)return;const me=D?Ld(D.nodesRef.current,te):[];if(me.length>0){let ce=!0;if(me.forEach(ue=>{var Ee;if((Ee=ue.context)!=null&&Ee.open&&!ue.context.dataRef.current.__outsidePressBubbles){ce=!1;return}}),!ce)return}i(!1,xe,"outside-press")}),Fe=Os(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Ql(xe))==null||Z.removeEventListener(v,Le)};(Re=Ql(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!r||!p)return;u.current.__escapeKeyBubbles=j,u.current.__outsidePressBubbles=V;let xe=-1;function Re(K){i(!1,K,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ae.current=!0}function Z(){xe=window.setTimeout(()=>{ae.current=!1},Zu()?5:0)}const ve=zm(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),A&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ds(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ds(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ds(a.reference.contextElement)))),Y=Y.filter(K=>{var fe;return K!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(K=>{K.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",Z)),A&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[u,a,m,A,v,r,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{u.current.insideReactTree=!1},[u,A,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[QC[x]]:xe=>{i(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){i(!1,xe.nativeEvent,"reference-press")}}}}),[le,i,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[qC[v]]:()=>{u.current.insideReactTree=!0},onBlurCapture(){D||(XC(ne),u.current.insideReactTree=!0,ne.current=window.setTimeout(()=>{u.current.insideReactTree=!1}))}}),[le,v,u,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function JC(e){const{open:t=!1,onOpenChange:r,elements:i}=e,a=BC(),u=pe.useRef({}),[p]=pe.useState(()=>HC()),m=GC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&UC("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(i.reference),C=Os((I,L,D)=>{u.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),r==null||r(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||i.reference||null,floating:i.floating||null,domReference:i.reference}),[h,i.reference,i.floating]);return pe.useMemo(()=>({dataRef:u,open:t,onOpenChange:C,elements:F,events:p,floatingId:a,refs:x}),[t,C,F,p,a,x])}function ZC(e){e===void 0&&(e={});const{nodeId:t}=e,r=JC({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||r,a=i.elements,[u,p]=pe.useState(null),[m,h]=pe.useState(null),C=(a==null?void 0:a.domReference)||u,x=pe.useRef(null),F=Ly();Mp(()=>{C&&(x.current=C)},[C]);const I=Gx({...e,elements:{...a,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),A=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:A,nodeId:t}),[I,T,A,t,i]);return Mp(()=>{i.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:A}),[I,T,A,U])}function $d(e,t,r){const i=new Map,a=r==="item";let u=e;if(a&&e){const{[Bm]:p,[Um]:m,...h}=e;u=h}return{...r==="floating"&&{tabIndex:-1,[LC]:""},...u,...t.map(p=>{const m=p?p[r]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(a&&[Bm,Um].includes(v)))if(v.indexOf("on")===0){if(i.has(v)||i.set(v,[]),typeof C=="function"){var x;(x=i.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=i.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function eT(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),r=e.map(m=>m==null?void 0:m.floating),i=e.map(m=>m==null?void 0:m.item),a=pe.useCallback(m=>$d(m,e,"reference"),t),u=pe.useCallback(m=>$d(m,e,"floating"),r),p=pe.useCallback(m=>$d(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:u,getItemProps:p}),[a,u,p])}const tT={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},nT={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},rT={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},oT={normal:"rounded",pill:"rounded-pill"},iT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},$y=({category:e="solid",color:t="primary",roundness:r="normal",size:i="medium",textClassName:a="uppercase",children:u,className:p,...m})=>{const h=O.useMemo(()=>rT[t]??"text-white",[t]),v=O.useMemo(()=>Ms(h,e==="outline"?nT[t]:tT[t],oT[r],iT[i]),[h,e,t,i,r]);return q.jsx("div",{className:Ms("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:q.jsx("p",{className:Ms("mx-1",a),children:u})})},aT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},sT=({transition:e,onClick:t})=>q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:r=>{r.stopPropagation(),t()},children:[q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),q.jsx(Si,{icon:fk,className:"text-gray-400 size-4"}),q.jsx($y,{category:"outline",color:e.color,children:e.to})]}),lT=({title:e,variant:t="default",transitions:r,onClick:i})=>{const[a,u]=O.useState(!1),{refs:p,floatingStyles:m,context:h}=ZC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:u}),v=KC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=eT([v]);return q.jsxs(q.Fragment,{children:[q.jsxs("div",{onClick:r!=null&&r.length?()=>u(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",r.length?"cursor-pointer":"pointer-events-none",aT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),r.length>0?q.jsx(Si,{icon:Jv,className:"size-4"}):q.jsx(q.Fragment,{})]}),a&&r.length&&q.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:r.map((F,I)=>q.jsx(sT,{transition:F,onClick:()=>{i==null||i(F.id),u(!1)}},I))})]})},Gm=({description:e})=>{const t=O.useMemo(()=>{const r=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(r,`${$h}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${$h}`),m=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),a},[e]);return O.useEffect(()=>{},[t]),q.jsx("div",{className:"flex flex-col gap-4",children:q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},cT={SEQUENTIAL:"Sequential"},uT={[ut.IN_REVIEW]:"In Review"},fT={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},dT=({playbookType:e,status:t,step:r,isSelected:i,onSelect:a})=>q.jsx("div",{className:cc("flex flex-col items-center justify-center",i?"bg-[#FFE600]":fT[t],a&&"cursor-pointer"),onClick:u=>{u.stopPropagation(),a==null||a(u.shiftKey)},children:q.jsx("span",{className:cc("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===cT.SEQUENTIAL?`STEP ${r}`:(uT[t]||t).toUpperCase()})}),pT={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},hT=({status:e})=>q.jsx($y,{category:"outline",color:pT[e],children:e}),mT={[ut.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ut.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ut.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ut.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},jd={PHOTO:"photo",SCREENSHOT:"screenshot"},gT=({task:e,step:t,playbookType:r,onButtonClick:i,viewMode:a="card",canStart:u=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=O.useState(!1),{taskDetails:I,prefetchQuery:L}=RC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=n0({taskStatus:e.workflowStatus,canStart:u}),T=O.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?jd.SCREENSHOT:e.imageRequired===2?jd.PHOTO:null,[e.imageRequired]),A=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=O.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=O.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),V},[D]);return q.jsxs("div",{className:wt("flex flex-col"),children:[q.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),q.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),q.jsx(lT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{i(V)}})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:q.jsx(Gm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:cc("flex items-stretch rounded-sm overflow-hidden border",mT[e.workflowStatus]),children:[q.jsx(dT,{playbookType:r,status:e.workflowStatus,step:t}),q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[r==="Sequential"&&q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:q.jsx(hT,{status:e.workflowStatus})}),q.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[q.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[q.jsx(Si,{icon:uk,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===jd.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Gm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&q.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[q.jsx("div",{className:"flex-1",children:q.jsx(PC,{buttons:D,onButtonClick:A,disabled:x})}),m&&q.jsx(dc,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:Jv,className:cc("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},jy=O.forwardRef(({title:e,className:t,playbookStyle:r,...i},a)=>{var u,p;return q.jsx("div",{ref:a,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((u=r==null?void 0:r.whiteLabel)==null?void 0:u.titleBackgroundColor)||"#f8f9fa"},...i,children:q.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=r==null?void 0:r.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});jy.displayName="PlaybookHeader";const Rc=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),vT='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer custom-base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer custom-components{:is(.confidence-ui,.confidence-ui *) .lexical-view-mode{word-break:break-word!important;width:100%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{list-style:revert!important}:is(.confidence-ui,.confidence-ui *) .editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__container{width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;align-items:center!important;margin-bottom:4px!important;padding:0!important;list-style:none!important;display:flex!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:before{content:""!important;-moz-osx-font-smoothing:grayscale!important;-webkit-font-smoothing:antialiased!important;display:var(--fa-display,inline-block)!important;font-variant:normal!important;text-rendering:auto!important;background:#fff!important;border-radius:30px!important;margin-right:4px!important;font-family:"Font Awesome 5 Pro"!important;font-style:normal!important;font-weight:900!important;line-height:1!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ltr{text-align:left}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .rtl{text-align:right}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor{position:relative;background:#fff!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-input{caret-color:#444;resize:none!important;-moz-tab-size:1!important;tab-size:1!important;outline:0!important;min-height:150px!important;padding:12px!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-placeholder{pointer-events:none;color:#999!important;text-overflow:ellipsis!important;-webkit-user-select:none!important;user-select:none!important;font-size:15px!important;display:inline-block!important;position:absolute!important;top:15px!important;left:10px!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-bold,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode strong{font-weight:700!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-italic{font-style:italic}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-code{color:#d70c69;background-color:#0000001a!important;border-radius:4px!important;padding:1px .25rem!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:85%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{word-break:break-word;-moz-tab-size:2!important;tab-size:2!important;background-color:#f0f2f5!important;border-radius:4px!important;margin:8px 0!important;padding:8px 8px 8px 52px!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.53!important;display:block!important;position:relative!important;overflow-x:auto!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:before{min-width:25px;content:attr(data-gutter)!important;color:#777!important;white-space:pre-wrap!important;text-align:right!important;background-color:#eee!important;border-right:1px solid #ccc!important;padding:8px!important;position:absolute!important;top:0!important;left:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:after,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:after{color:#00000080;content:attr(data-highlight-language)!important;text-transform:uppercase!important;padding:3px!important;font-size:10px!important;position:absolute!important;top:0!important;right:3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenComment{color:#708090}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenPunctuation{color:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenProperty{color:#905}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenSelector{color:#690}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenOperator{color:#9a6e3a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenAttr{color:#07a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenVariable{color:#e90}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenFunction{color:#dd4a68}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:24px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1:first-child{margin-top:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol{margin:0 0 .3rem 15px!important;padding:0 0 0 15px!important;list-style-type:decimal!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ol{margin:0 0 0 20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ul,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-nested-list-item{list-style-type:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode a>code{color:inherit}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img{cursor:zoom-in!important;border:1px solid #ccc!important;border-radius:4px!important;width:auto!important;max-width:250px!important;height:auto!important;max-height:250px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:focus{outline:3px solid #007bff4d}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-left{text-align:left!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-right{text-align:right!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-justify{text-align:justify!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-small{font-size:.75em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-large{font-size:1.25rem!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-1{margin-left:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-2{margin-left:40px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-3{margin-left:60px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-4{margin-left:80px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-5{margin-left:100px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-6{margin-left:120px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-7{margin-left:140px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-8{margin-left:160px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-1!important;margin-left:0!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-2!important;margin-left:20px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-3!important;margin-left:40px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-4!important;margin-left:60px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9!important;counter-increment:list-5!important;margin-left:80px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6{counter-reset:list-7 list-8 list-9!important;counter-increment:list-6!important;margin-left:100px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7{counter-reset:list-8 list-9!important;counter-increment:list-7!important;margin-left:120px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8{counter-reset:list-9!important;counter-increment:list-8!important;margin-left:140px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6{list-style-type:disc}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7{list-style-type:circle}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{list-style-type:square}}@layer custom-utilities{:is(.confidence-ui,.confidence-ui *) .pointer-events-none{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .absolute{position:absolute!important}:is(.confidence-ui,.confidence-ui *) .fixed{position:fixed!important}:is(.confidence-ui,.confidence-ui *) .relative{position:relative!important}:is(.confidence-ui,.confidence-ui *) .sticky{position:sticky!important}:is(.confidence-ui,.confidence-ui *) .inset-0{inset:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-0{top:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-3{top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .bottom-0{bottom:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .z-2{z-index:2!important}:is(.confidence-ui,.confidence-ui *) .z-50{z-index:50!important}:is(.confidence-ui,.confidence-ui *) .z-\\[99999999999999\\]{z-index:2147483647!important}:is(.confidence-ui,.confidence-ui *) .container{width:100%!important}@media (min-width:40rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:40rem!important}}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:48rem!important}}@media (min-width:64rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:64rem!important}}@media (min-width:80rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:80rem!important}}@media (min-width:96rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:96rem!important}}:is(.confidence-ui,.confidence-ui *) .mx-1{margin-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .mx-4{margin-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .-mt-\\[1px\\]{margin-top:-1px!important}:is(.confidence-ui,.confidence-ui *) .mt-3{margin-top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}:is(.confidence-ui,.confidence-ui *) .mb-4{margin-bottom:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .ml-2{margin-left:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .block{display:block!important}:is(.confidence-ui,.confidence-ui *) .flex{display:flex!important}:is(.confidence-ui,.confidence-ui *) .hidden{display:none!important}:is(.confidence-ui,.confidence-ui *) .size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}:is(.confidence-ui,.confidence-ui *) .h-\\[18px\\]{height:18px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[22px\\]{height:22px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[24px\\]{height:24px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[30px\\]{height:30px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[38px\\]{height:38px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[40px\\]{height:40px!important}:is(.confidence-ui,.confidence-ui *) .h-full{height:100%!important}:is(.confidence-ui,.confidence-ui *) .min-h-16{min-height:calc(var(--spacing)*16)!important}:is(.confidence-ui,.confidence-ui *) .min-h-screen{min-height:100vh!important}:is(.confidence-ui,.confidence-ui *) .w-\\[27px\\]{width:27px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[38px\\]{width:38px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[400px\\]{width:400px!important}:is(.confidence-ui,.confidence-ui *) .w-full{width:100%!important}:is(.confidence-ui,.confidence-ui *) .w-screen{width:100vw!important}:is(.confidence-ui,.confidence-ui *) .max-w-lg{max-width:var(--container-lg)!important}:is(.confidence-ui,.confidence-ui *) .max-w-md{max-width:var(--container-md)!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[106px\\]{min-width:106px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[140px\\]{min-width:140px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[160px\\]{min-width:160px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[172px\\]{min-width:172px!important}:is(.confidence-ui,.confidence-ui *) .min-w-fit{min-width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .flex-1{flex:1!important}:is(.confidence-ui,.confidence-ui *) .rotate-180{rotate:180deg!important}:is(.confidence-ui,.confidence-ui *) .cursor-pointer{cursor:pointer!important}:is(.confidence-ui,.confidence-ui *) .resize{resize:both!important}:is(.confidence-ui,.confidence-ui *) .flex-col{flex-direction:column!important}:is(.confidence-ui,.confidence-ui *) .items-center{align-items:center!important}:is(.confidence-ui,.confidence-ui *) .items-stretch{align-items:stretch!important}:is(.confidence-ui,.confidence-ui *) .justify-center{justify-content:center!important}:is(.confidence-ui,.confidence-ui *) .justify-end{justify-content:flex-end!important}:is(.confidence-ui,.confidence-ui *) .gap-1{gap:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .gap-2{gap:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .gap-3{gap:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .gap-4{gap:calc(var(--spacing)*4)!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-1>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-black\\/10>:not(:last-child)){border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-gray-100>:not(:last-child)){border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .self-end{align-self:flex-end!important}:is(.confidence-ui,.confidence-ui *) .truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-hidden{overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-x-hidden{overflow-x:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-y-auto{overflow-y:auto!important}:is(.confidence-ui,.confidence-ui *) .rounded{border-radius:.25rem!important}:is(.confidence-ui,.confidence-ui *) .rounded-lg{border-radius:var(--radius-lg)!important}:is(.confidence-ui,.confidence-ui *) .rounded-md{border-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .rounded-sm{border-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .border{border-style:var(--tw-border-style)!important;border-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-none{--tw-border-style:none!important;border-style:none!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}:is(.confidence-ui,.confidence-ui *) .border-black\\/10{border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:is(.confidence-ui,.confidence-ui *) .border-danger-500{border-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .border-gray-50{border-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .border-gray-100{border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .border-gray-200{border-color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .border-gray-300{border-color:#b0b5bd!important}:is(.confidence-ui,.confidence-ui *) .border-gray-400{border-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .border-gray-700{border-color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .border-gray-800{border-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .border-info-500{border-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .border-orange-500{border-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .border-primary-600{border-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .border-purple-500{border-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .border-red-500{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-500{border-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-600{border-color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .border-steel-500{border-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .border-success-600{border-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .border-warning-500{border-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .border-white{border-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#FFE600\\]{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .bg-black\\/30{background-color:oklab(0% none none/.3)!important}:is(.confidence-ui,.confidence-ui *) .bg-danger-500{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .bg-dark{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-fiserv-orange-500{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-50{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-100{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-400{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-500{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-800{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-900{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-info-500{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .bg-orange-500{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-600{background-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-800{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .bg-purple-500{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .bg-secondary-500{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .bg-steel-500{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .bg-success-500{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .bg-success-600{background-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .bg-warning-500{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .bg-white{background-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-yellow{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .object-contain{object-fit:contain!important}:is(.confidence-ui,.confidence-ui *) .p-1{padding:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .p-2{padding:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .p-4{padding:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-1{padding-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .px-2{padding-inline:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .px-3{padding-inline:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .px-4{padding-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-\\[2px\\]{padding-inline:2px!important}:is(.confidence-ui,.confidence-ui *) .py-1{padding-block:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}:is(.confidence-ui,.confidence-ui *) .pt-2{padding-top:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pr-2{padding-right:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pb-1{padding-bottom:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .pb-2{padding-bottom:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .text-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}:is(.confidence-ui,.confidence-ui *) .text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}:is(.confidence-ui,.confidence-ui *) .font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}:is(.confidence-ui,.confidence-ui *) .font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}:is(.confidence-ui,.confidence-ui *) .font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}:is(.confidence-ui,.confidence-ui *) .whitespace-nowrap{white-space:nowrap!important}:is(.confidence-ui,.confidence-ui *) .text-\\[\\#0069D9\\]{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-black{color:#000!important}:is(.confidence-ui,.confidence-ui *) .text-danger-500{color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .text-dark{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-dark-300{color:#343a40!important}:is(.confidence-ui,.confidence-ui *) .text-fiserv-orange-500{color:#f60!important}:is(.confidence-ui,.confidence-ui *) .text-gray-50{color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .text-gray-200{color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .text-gray-400{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .text-gray-500{color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .text-gray-700{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .text-gray-800{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .text-gray-900{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-info-500{color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .text-orange-500{color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .text-primary-600{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-purple-500{color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .text-secondary{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-400{color:#899197!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-500{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-600{color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .text-steel-500{color:#556987!important}:is(.confidence-ui,.confidence-ui *) .text-success-500{color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .text-success-600{color:#218838!important}:is(.confidence-ui,.confidence-ui *) .text-warning-500{color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .text-white{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .text-yellow{color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .uppercase{text-transform:uppercase!important}:is(.confidence-ui,.confidence-ui *) .line-through{text-decoration-line:line-through!important}:is(.confidence-ui,.confidence-ui *) .shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}:is(.confidence-ui,.confidence-ui *) .outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}:is(.confidence-ui,.confidence-ui *) .ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}:is(.confidence-ui,.confidence-ui *) .ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}:is(.confidence-ui,.confidence-ui *) .\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){:is(.confidence-ui,.confidence-ui *) .hover\\:bg-danger-500:hover{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-dark:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-100:hover{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-400:hover{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-500:hover{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-800:hover{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-900:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-info-500:hover{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-orange-500:hover{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-primary-800:hover{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-purple-500:hover{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-secondary-500:hover{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-steel-500:hover{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-success-500:hover{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-warning-500:hover{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-yellow:hover{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-black:hover{color:#000!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-danger-800:hover{color:#aa1927!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-dark:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-400:hover{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-700:hover{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-800:hover{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-900:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-info-800:hover{color:#026777!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-orange-800:hover{color:#c75d00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-primary-800:hover{color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-purple-800:hover{color:#6f33a7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-secondary-800:hover{color:#444a50!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-steel-800:hover{color:#333f51!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-success-800:hover{color:#106c25!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-warning-800:hover{color:#b87708!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-white:hover{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-yellow:hover{color:#ffe600!important}}:is(.confidence-ui,.confidence-ui *) .focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}:is(.confidence-ui,.confidence-ui *) .focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-50:active{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-800:active{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-black:active{color:#000!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-white:active{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:pointer-events-none:disabled{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:opacity-15:disabled{opacity:.15!important}:is(.confidence-ui,.confidence-ui *) .data-closed\\:opacity-0[data-closed]{opacity:0!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .md\\:min-w-fit{min-width:fit-content!important}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',yT=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>{const{playbook:i,actions:a}=e0(e);if(!i)return q.jsx("div",{});const u=async(p,m)=>{var h;if(p===tc.COMPLETE){const v=(h=i.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return a.completeTask(m,v)}if(p===tc.START)return a.startTask(m)};return q.jsx(Ny,{playbook:i,playbookMode:t,onTaskButtonClick:u,playbookStyle:r})},bT=({className:e,children:t,numberOfTasks:r,playbookMode:i})=>q.jsxs("div",{className:wt("w-full p-4",e),children:[r&&q.jsxs("div",{className:wt(i==="card"&&"mb-4"),children:[q.jsx("span",{className:"font-medium",children:"Tasks"})," (",r,")"]}),q.jsx("div",{className:wt(i==="card"&&"space-y-4"),children:t})]}),Ny=({playbook:e,playbookMode:t,onTaskButtonClick:r,playbookStyle:i})=>{var D,T,A,U,j;const{playbookInstanceName:a,tasks:u}=e,p=O.useRef(null),[m,h]=O.useState(0),[v,C]=O.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Pg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});O.useEffect(()=>(p.current&&new ResizeObserver($=>{var J;for(const ae of $)console.log("ResizeObserver entry:",ae),ae.contentRect&&h(((J=p.current)==null?void 0:J.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=O.useMemo(()=>{const V=u.filter($=>$.workflowStatus===ut.COMPLETED).sort(($,J)=>J.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[u]);return bc.createPortal(q.jsxs(gb.div,{children:[q.jsx(Rc,{children:q.jsxs("div",{className:wt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:v?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=i.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((A=i.overlay.offset)==null?void 0:A.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((U=i.overlay.offset)==null?void 0:U.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&q.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=i==null?void 0:i.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:q.jsx("img",{src:Kv,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),q.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[q.jsx(jy,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(bT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:u.map((V,$)=>{var J;return q.jsx(gT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ae=>r(ae,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(J=i==null?void 0:i.whiteLabel)==null?void 0:J.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]})}),q.jsx("style",{type:"text/css",children:vT})]}),document.body,"confidence-playbook-portal")},wT=({email:e,playbookId:t,playbookMode:r,playbookStyle:i})=>{const[a,u]=O.useState(null);return O.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Og({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);u(p)})()},[]),a?q.jsx(Rc,{children:q.jsx(Pa,{playbookInstanceId:a,playbookMode:r,playbookStyle:i})}):q.jsx("div",{children:"Loading..."})},xT=({playbookId:e,playbookMode:t="list",playbookStyle:r,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[u,p]=O.useState(null);return q.jsxs(Rc,{children:[q.jsx(lk,{playbookId:e,disabled:!!u,onInitiated:p,btnLabel:i,btnColor:a}),u&&q.jsx(Pa,{playbookInstanceId:u,playbookMode:t,playbookStyle:r})]})},Pa=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>q.jsx(Rc,{children:q.jsx(Tg,{children:q.jsx(yT,{playbookInstanceId:e,playbookMode:t,playbookStyle:r})})});Pa.Context=Tg;Pa.View=Ny;Pa.AutoInstantiated=wT;Pa.WithInstantiateButton=xT;var Ps={},Ym;function ST(){if(Ym)return Ps;Ym=1;var e=bc;if(process.env.NODE_ENV==="production")Ps.createRoot=e.createRoot,Ps.hydrateRoot=e.hydrateRoot;else{var t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Ps.createRoot=function(r,i){t.usingClientEntryPoint=!0;try{return e.createRoot(r,i)}finally{t.usingClientEntryPoint=!1}},Ps.hydrateRoot=function(r,i,a){t.usingClientEntryPoint=!0;try{return e.hydrateRoot(r,i,a)}finally{t.usingClientEntryPoint=!1}}}return Ps}var kT=ST();class ET extends HTMLElement{constructor(r){super();fh(this,"_root");this.component=r,this._root=this.attachShadow({mode:"open"})}async connectedCallback(){Promise.resolve().then(()=>require("./theme-B1YL3fxQ.cjs")).then(r=>{const i=document.createElement("style");i.textContent=r.default,this._root.appendChild(i),kT.createRoot(this._root).render(this.component)})}}exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=Rc;exports.PlaybookShadowDOM=ET;
|
|
706
|
+
}`;function fy(){const e=oy,t=iy,r=Te.cssPrefix,i=Te.replacementClass;let a=Kk;if(r!==e||i!==t){const u=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");a=a.replace(u,".".concat(r,"-")).replace(p,"--".concat(r,"-")).replace(m,".".concat(i))}return a}let gm=!1;function Ad(){Te.autoAddCss&&!gm&&(Gk(fy()),gm=!0)}var Jk={mixout(){return{dom:{css:fy,insertCss:Ad}}},hooks(){return{beforeDOMElementCreation(){Ad()},beforeI2svg(){Ad()}}}};const go=bi||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var Ar=go[mo];const dy=[],py=function(){at.removeEventListener("DOMContentLoaded",py),Nu=1,dy.map(e=>e())};let Nu=!1;wo&&(Nu=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),Nu||at.addEventListener("DOMContentLoaded",py));function Zk(e){wo&&(Nu?setTimeout(e,0):dy.push(e))}function Ec(e){const{tag:t,attributes:r={},children:i=[]}=e;return typeof e=="string"?uy(e):"<".concat(t," ").concat(Xk(r),">").concat(i.map(Ec).join(""),"</").concat(t,">")}function vm(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Od=function(t,r,i,a){var u=Object.keys(t),p=u.length,m=r,h,v,C;for(i===void 0?(h=1,C=t[u[0]]):(h=0,C=i);h<p;h++)v=u[h],C=m(C,t[v],v,t);return C};function eE(e){const t=[];let r=0;const i=e.length;for(;r<i;){const a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<i){const u=e.charCodeAt(r++);(u&64512)==56320?t.push(((a&1023)<<10)+(u&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function wp(e){const t=eE(e);return t.length===1?t[0].toString(16):null}function tE(e,t){const r=e.length;let i=e.charCodeAt(t),a;return i>=55296&&i<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function ym(e){return Object.keys(e).reduce((t,r)=>{const i=e[r];return!!i.icon?t[i.iconName]=i.icon:t[r]=i,t},{})}function xp(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=r,a=ym(t);typeof Ar.hooks.addPack=="function"&&!i?Ar.hooks.addPack(e,ym(t)):Ar.styles[e]=ie(ie({},Ar.styles[e]||{}),a),e==="fas"&&xp("fa",t)}const{styles:pc,shims:nE}=Ar,hy=Object.keys(th),rE=hy.reduce((e,t)=>(e[t]=Object.keys(th[t]),e),{});let oh=null,my={},gy={},vy={},yy={},by={};function oE(e){return~Uk.indexOf(e)}function iE(e,t){const r=t.split("-"),i=r[0],a=r.slice(1).join("-");return i===e&&a!==""&&!oE(a)?a:null}const wy=()=>{const e=i=>Od(pc,(a,u,p)=>(a[p]=Od(u,i,{}),a),{});my=e((i,a,u)=>(a[3]&&(i[a[3]]=u),a[2]&&a[2].filter(m=>typeof m=="number").forEach(m=>{i[m.toString(16)]=u}),i)),gy=e((i,a,u)=>(i[u]=u,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=u}),i)),by=e((i,a,u)=>{const p=a[2];return i[u]=u,p.forEach(m=>{i[m]=u}),i});const t="far"in pc||Te.autoFetchSvg,r=Od(nE,(i,a)=>{const u=a[0];let p=a[1];const m=a[2];return p==="far"&&!t&&(p="fas"),typeof u=="string"&&(i.names[u]={prefix:p,iconName:m}),typeof u=="number"&&(i.unicodes[u.toString(16)]={prefix:p,iconName:m}),i},{names:{},unicodes:{}});vy=r.names,yy=r.unicodes,oh=cf(Te.styleDefault,{family:Te.familyDefault})};Vk(e=>{oh=cf(e.styleDefault,{family:Te.familyDefault})});wy();function ih(e,t){return(my[e]||{})[t]}function aE(e,t){return(gy[e]||{})[t]}function da(e,t){return(by[e]||{})[t]}function xy(e){return vy[e]||{prefix:null,iconName:null}}function sE(e){const t=yy[e],r=ih("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function wi(){return oh}const Sy=()=>({prefix:null,iconName:null,rest:[]});function lE(e){let t=jt;const r=hy.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return ny.forEach(i=>{(e.includes(r[i])||e.some(a=>rE[i].includes(a)))&&(t=i)}),t}function cf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=jt}=t,i=$k[r][e];if(r===sf&&!e)return"fad";const a=mm[r][e]||mm[r][i],u=e in Ar.styles?e:null;return a||u||null}function cE(e){let t=[],r=null;return e.forEach(i=>{const a=iE(Te.cssPrefix,i);a?r=a:i&&t.push(i)}),{iconName:r,rest:t}}function bm(e){return e.sort().filter((t,r,i)=>i.indexOf(t)===r)}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let i=null;const a=hp.concat(Ck),u=bm(e.filter(x=>a.includes(x))),p=bm(e.filter(x=>!hp.includes(x))),m=u.filter(x=>(i=x,!ty.includes(x))),[h=null]=m,v=lE(u),C=ie(ie({},cE(p)),{},{prefix:cf(h,{family:v})});return ie(ie(ie({},C),pE({values:e,family:v,styles:pc,config:Te,canonical:C,givenPrefix:i})),uE(r,i,C))}function uE(e,t,r){let{prefix:i,iconName:a}=r;if(e||!i||!a)return{prefix:i,iconName:a};const u=t==="fa"?xy(a):{},p=da(i,a);return a=u.iconName||p||a,i=u.prefix||i,i==="far"&&!pc.far&&pc.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const fE=ny.filter(e=>e!==jt||e!==sf),dE=Object.keys(pp).filter(e=>e!==jt).map(e=>Object.keys(pp[e])).flat();function pE(e){const{values:t,family:r,canonical:i,givenPrefix:a="",styles:u={},config:p={}}=e,m=r===sf,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=i.prefix==="fad"||i.prefix==="fa-duotone";if(!m&&(h||v||C)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&fE.includes(r)&&(Object.keys(u).find(F=>dE.includes(F))||p.autoFetchSvg)){const F=vk.get(r).defaultShortPrefixId;i.prefix=F,i.iconName=da(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=wi()||"fas"),i}class hE{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(u=>{this.definitions[u]=ie(ie({},this.definitions[u]||{}),a[u]),xp(u,a[u]);const p=th[jt][u];p&&xp(p,a[u]),wy()})}reset(){this.definitions={}}_pullDefinitions(t,r){const i=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(i).map(a=>{const{prefix:u,iconName:p,icon:m}=i[a],h=m[2];t[u]||(t[u]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[u][v]=m)}),t[u][p]=m}),t}}let wm=[],As={};const _s={},mE=Object.keys(_s);function gE(e,t){let{mixoutsTo:r}=t;return wm=e,As={},Object.keys(_s).forEach(i=>{mE.indexOf(i)===-1&&delete _s[i]}),wm.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(u=>{typeof a[u]=="function"&&(r[u]=a[u]),typeof a[u]=="object"&&Object.keys(a[u]).forEach(p=>{r[u]||(r[u]={}),r[u][p]=a[u][p]})}),i.hooks){const u=i.hooks();Object.keys(u).forEach(p=>{As[p]||(As[p]=[]),As[p].push(u[p])})}i.provides&&i.provides(_s)}),r}function Sp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...i])}),t}function Ta(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];(As[e]||[]).forEach(u=>{u.apply(null,r)})}function xi(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _s[e]?_s[e].apply(null,t):void 0}function kp(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||wi();if(t)return t=da(r,t)||t,vm(ky.definitions,r,t)||vm(Ar.styles,r,t)}const ky=new hE,vE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},yE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ta("beforeI2svg",e),xi("pseudoElements2svg",e),xi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,Zk(()=>{wE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},bE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:da(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=cf(e[0]);return{prefix:r,iconName:da(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(jk))){const t=uf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wi(),iconName:da(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wi();return{prefix:t,iconName:da(t,e)||e}}}},Sn={noAuto:vE,config:Te,dom:yE,parse:bE,library:ky,findIconDefinition:kp,toHtml:Ec},wE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(Ar.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&Sn.dom.i2svg({node:t})};function ff(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Ec(r))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const r=at.createElement("div");return r.innerHTML=e.html,r.children}}),e}function xE(e){let{children:t,main:r,mask:i,attributes:a,styles:u,transform:p}=e;if(rh(p)&&r.found&&!i.found){const{width:m,height:h}=r,v={x:m/h/2,y:.5};a.style=lf(ie(ie({},u),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function SE(e){let{prefix:t,iconName:r,children:i,attributes:a,symbol:u}=e;const p=u===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(r):u;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ie(ie({},a),{},{id:p}),children:i}]}]}function ah(e){const{icons:{main:t,mask:r},prefix:i,iconName:a,transform:u,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=r.found?r:t,L=Sk.includes(i),D=[Te.replacementClass,a?"".concat(Te.cssPrefix,"-").concat(a):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ie(ie({},C.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const O=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ca]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||dc())},children:[m]}),delete T.attributes.title);const U=ie(ie({},T),{},{prefix:i,iconName:a,main:t,mask:r,maskId:h,transform:u,symbol:p,styles:ie(ie({},O),C.styles)}),{children:j,attributes:V}=r.found&&t.found?xi("generateAbstractMask",U)||{children:[],attributes:{}}:xi("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?SE(U):xE(U)}function xm(e){const{content:t,width:r,height:i,transform:a,title:u,extra:p,watchable:m=!1}=e,h=ie(ie(ie({},p.attributes),u?{title:u}:{}),{},{class:p.classes.join(" ")});m&&(h[Ca]="");const v=ie({},p.styles);rh(a)&&(v.transform=qk({transform:a,startCentered:!0,width:r,height:i}),v["-webkit-transform"]=v.transform);const C=lf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),u&&x.push({tag:"span",attributes:{class:"sr-only"},children:[u]}),x}function kE(e){const{content:t,title:r,extra:i}=e,a=ie(ie(ie({},i.attributes),r?{title:r}:{}),{},{class:i.classes.join(" ")}),u=lf(i.styles);u.length>0&&(a.style=u);const p=[];return p.push({tag:"span",attributes:a,children:[t]}),r&&p.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),p}const{styles:Id}=Ar;function Ep(e){const t=e[0],r=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:r,icon:a}}const EE={found:!1,width:512,height:512};function CE(e,t){!ay&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Cp(e,t){let r=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(r==="fa"){const u=xy(e)||{};e=u.iconName||e,t=u.prefix||t}if(e&&t&&Id[t]&&Id[t][e]){const u=Id[t][e];return i(Ep(u))}CE(e,t),i(ie(ie({},EE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const Sm=()=>{},Tp=Te.measurePerformance&&ku&&ku.mark&&ku.measure?ku:{mark:Sm,measure:Sm},Zl='FA "6.7.2"',TE=e=>(Tp.mark("".concat(Zl," ").concat(e," begins")),()=>Ey(e)),Ey=e=>{Tp.mark("".concat(Zl," ").concat(e," ends")),Tp.measure("".concat(Zl," ").concat(e),"".concat(Zl," ").concat(e," begins"),"".concat(Zl," ").concat(e," ends"))};var sh={begin:TE,end:Ey};const Ru=()=>{};function km(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function RE(e){const t=e.getAttribute?e.getAttribute(Zp):null,r=e.getAttribute?e.getAttribute(eh):null;return t&&r}function PE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function AE(){return Te.autoReplaceSvg===!0?Pu.replace:Pu[Te.autoReplaceSvg]||Pu.replace}function OE(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function IE(e){return at.createElement(e)}function Cy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?OE:IE}=t;if(typeof e=="string")return at.createTextNode(e);const i=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(u){i.setAttribute(u,e.attributes[u])}),(e.children||[]).forEach(function(u){i.appendChild(Cy(u,{ceFn:r}))}),i}function FE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Pu={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(Cy(r),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let r=at.createComment(FE(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~nh(t).indexOf(Te.replacementClass))return Pu.replace(e);const i=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const u=r[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(i)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});r[0].attributes.class=u.toSvg.join(" "),u.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",u.toNode.join(" "))}const a=r.map(u=>Ec(u)).join(`
|
|
707
|
+
`);t.setAttribute(Ca,""),t.innerHTML=a}};function Em(e){e()}function Ty(e,t){const r=typeof t=="function"?t:Ru;if(e.length===0)r();else{let i=Em;Te.mutateApproach===_k&&(i=bi.requestAnimationFrame||Em),i(()=>{const a=AE(),u=sh.begin("mutate");e.map(a),u(),r()})}}let lh=!1;function Ry(){lh=!0}function Rp(){lh=!1}let zu=null;function Cm(e){if(!fm||!Te.observeMutations)return;const{treeCallback:t=Ru,nodeCallback:r=Ru,pseudoElementsCallback:i=Ru,observeMutationsRoot:a=at}=e;zu=new fm(u=>{if(lh)return;const p=wi();tl(u).forEach(m=>{if(m.type==="childList"&&m.addedNodes.length>0&&!km(m.addedNodes[0])&&(Te.searchPseudoElements&&i(m.target),t(m.target)),m.type==="attributes"&&m.target.parentNode&&Te.searchPseudoElements&&i(m.target.parentNode),m.type==="attributes"&&km(m.target)&&~Bk.indexOf(m.attributeName))if(m.attributeName==="class"&&RE(m.target)){const{prefix:h,iconName:v}=uf(nh(m.target));m.target.setAttribute(Zp,h||p),v&&m.target.setAttribute(eh,v)}else PE(m.target)&&r(m.target)})}),wo&&zu.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function ME(){zu&&zu.disconnect()}function DE(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((i,a)=>{const u=a.split(":"),p=u[0],m=u.slice(1);return p&&m.length>0&&(i[p]=m.join(":").trim()),i},{})),r}function _E(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=uf(nh(e));return a.prefix||(a.prefix=wi()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=aE(a.prefix,e.innerText)||ih(a.prefix,wp(e.innerText))),!a.iconName&&Te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function LE(e){const t=tl(e.attributes).reduce((a,u)=>(a.name!=="class"&&a.name!=="style"&&(a[u.name]=u.value),a),{}),r=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Te.autoA11y&&(r?t["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(i||dc()):(t["aria-hidden"]="true",t.focusable="false")),t}function $E(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Tm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:i,rest:a}=_E(e),u=LE(e),p=Sp("parseNodeAttributes",{},e);let m=t.styleParser?DE(e):[];return ie({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Pr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:m,attributes:u}},p)}const{styles:jE}=Ar;function Py(e){const t=Te.autoReplaceSvg==="nest"?Tm(e,{styleParser:!1}):Tm(e);return~t.extra.classes.indexOf(ly)?xi("generateLayersText",e,t):xi("generateSvgReplacementMutation",e,t)}function NE(){return[...bk,...hp]}function Rm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!wo)return Promise.resolve();const r=at.documentElement.classList,i=C=>r.add("".concat(hm,"-").concat(C)),a=C=>r.remove("".concat(hm,"-").concat(C)),u=Te.autoFetchSvg?NE():ty.concat(Object.keys(jE));u.includes("fa")||u.push("fa");const p=[".".concat(ly,":not([").concat(Ca,"])")].concat(u.map(C=>".".concat(C,":not([").concat(Ca,"])"))).join(", ");if(p.length===0)return Promise.resolve();let m=[];try{m=tl(e.querySelectorAll(p))}catch{}if(m.length>0)i("pending"),a("complete");else return Promise.resolve();const h=sh.begin("onTree"),v=m.reduce((C,x)=>{try{const F=Py(x);F&&C.push(F)}catch(F){ay||F.name==="MissingIcon"&&console.error(F)}return C},[]);return new Promise((C,x)=>{Promise.all(v).then(F=>{Ty(F,()=>{i("active"),i("complete"),a("pending"),typeof t=="function"&&t(),h(),C()})}).catch(F=>{h(),x(F)})})}function zE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Py(e).then(r=>{r&&Ty([r],t)})}function BE(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(t||{}).icon?t:kp(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:kp(a||{})),e(i,ie(ie({},r),{},{mask:a}))}}const UE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Pr,symbol:i=!1,mask:a=null,maskId:u=null,title:p=null,titleId:m=null,classes:h=[],attributes:v={},styles:C={}}=t;if(!e)return;const{prefix:x,iconName:F,icon:I}=e;return ff(ie({type:"icon"},e),()=>(Ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),Te.autoA11y&&(p?v["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(m||dc()):(v["aria-hidden"]="true",v.focusable="false")),ah({icons:{main:Ep(I),mask:a?Ep(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:F,transform:ie(ie({},Pr),r),symbol:i,title:p,maskId:u,titleId:m,extra:{attributes:v,styles:C,classes:h}})))};var HE={mixout(){return{icon:BE(UE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Rm,e.nodeCallback=zE,e}}},provides(e){e.i2svg=function(t){const{node:r=at,callback:i=()=>{}}=t;return Rm(r,i)},e.generateSvgReplacementMutation=function(t,r){const{iconName:i,title:a,titleId:u,prefix:p,transform:m,symbol:h,mask:v,maskId:C,extra:x}=r;return new Promise((F,I)=>{Promise.all([Cp(i,p),v.iconName?Cp(v.iconName,v.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[D,T]=L;F([t,ah({icons:{main:D,mask:T},prefix:p,iconName:i,transform:m,symbol:h,maskId:C,title:a,titleId:u,extra:x,watchable:!0})])}).catch(I)})},e.generateAbstractIcon=function(t){let{children:r,attributes:i,main:a,transform:u,styles:p}=t;const m=lf(p);m.length>0&&(i.style=m);let h;return rh(u)&&(h=xi("generateAbstractTransformGrouping",{main:a,transform:u,containerWidth:a.width,iconWidth:a.width})),r.push(h||a.icon),{children:r,attributes:i}}}},WE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return ff({type:"layer"},()=>{Ta("beforeDOMElementCreation",{assembler:e,params:t});let i=[];return e(a=>{Array.isArray(a)?a.map(u=>{i=i.concat(u.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Te.cssPrefix,"-layers"),...r].join(" ")},children:i}]})}}}},VE={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:i=[],attributes:a={},styles:u={}}=t;return ff({type:"counter",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),kE({content:e.toString(),title:r,extra:{attributes:a,styles:u,classes:["".concat(Te.cssPrefix,"-layers-counter"),...i]}})))}}}},GE={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=Pr,title:i=null,classes:a=[],attributes:u={},styles:p={}}=t;return ff({type:"text",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),xm({content:e,transform:ie(ie({},Pr),r),title:i,extra:{attributes:u,styles:p,classes:["".concat(Te.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:i,transform:a,extra:u}=r;let p=null,m=null;if(Zv){const h=parseInt(getComputedStyle(t).fontSize,10),v=t.getBoundingClientRect();p=v.width/h,m=v.height/h}return Te.autoA11y&&!i&&(u.attributes["aria-hidden"]="true"),Promise.resolve([t,xm({content:t.innerHTML,width:p,height:m,transform:a,title:i,extra:u,watchable:!0})])}}};const YE=new RegExp('"',"ug"),Pm=[1105920,1112319],Am=ie(ie(ie(ie({},{FontAwesome:{normal:"fas",400:"fas"}}),gk),Mk),Tk),Pp=Object.keys(Am).reduce((e,t)=>(e[t.toLowerCase()]=Am[t],e),{}),XE=Object.keys(Pp).reduce((e,t)=>{const r=Pp[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function QE(e){const t=e.replace(YE,""),r=tE(t,0),i=r>=Pm[0]&&r<=Pm[1],a=t.length===2?t[0]===t[1]:!1;return{value:wp(a?t[0]:t),isSecondary:i||a}}function qE(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),a=isNaN(i)?"normal":i;return(Pp[r]||{})[a]||XE[r]}function Om(e,t){const r="".concat(Dk).concat(t.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(r)!==null)return i();const p=tl(e.children).filter(F=>F.getAttribute(gp)===t)[0],m=bi.getComputedStyle(e,t),h=m.getPropertyValue("font-family"),v=h.match(Nk),C=m.getPropertyValue("font-weight"),x=m.getPropertyValue("content");if(p&&!v)return e.removeChild(p),i();if(v&&x!=="none"&&x!==""){const F=m.getPropertyValue("content");let I=qE(h,C);const{value:L,isSecondary:D}=QE(F),T=v[0].startsWith("FontAwesome");let O=ih(I,L),U=O;if(T){const j=sE(L);j.iconName&&j.prefix&&(O=j.iconName,I=j.prefix)}if(O&&!D&&(!p||p.getAttribute(Zp)!==I||p.getAttribute(eh)!==U)){e.setAttribute(r,U),p&&e.removeChild(p);const j=$E(),{extra:V}=j;V.attributes[gp]=t,Cp(O,I).then($=>{const J=ah(ie(ie({},j),{},{icons:{main:$,mask:Sy()},prefix:I,iconName:U,extra:V,watchable:!0})),ae=at.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(ae,e.firstChild):e.appendChild(ae),ae.outerHTML=J.map(ne=>Ec(ne)).join(`
|
|
708
|
+
`),e.removeAttribute(r),i()}).catch(a)}else i()}else i()})}function KE(e){return Promise.all([Om(e,"::before"),Om(e,"::after")])}function JE(e){return e.parentNode!==document.head&&!~Lk.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(gp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Im(e){if(wo)return new Promise((t,r)=>{const i=tl(e.querySelectorAll("*")).filter(JE).map(KE),a=sh.begin("searchPseudoElements");Ry(),Promise.all(i).then(()=>{a(),Rp(),t()}).catch(()=>{a(),Rp(),r()})})}var ZE={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Im,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=at}=t;Te.searchPseudoElements&&Im(r)}}};let Fm=!1;var eC={mixout(){return{dom:{unwatch(){Ry(),Fm=!0}}}},hooks(){return{bootstrap(){Cm(Sp("mutationObserverCallbacks",{}))},noAuto(){ME()},watch(e){const{observeMutationsRoot:t}=e;Fm?Rp():Cm(Sp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Mm=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,i)=>{const a=i.toLowerCase().split("-"),u=a[0];let p=a.slice(1).join("-");if(u&&p==="h")return r.flipX=!0,r;if(u&&p==="v")return r.flipY=!0,r;if(p=parseFloat(p),isNaN(p))return r;switch(u){case"grow":r.size=r.size+p;break;case"shrink":r.size=r.size-p;break;case"left":r.x=r.x-p;break;case"right":r.x=r.x+p;break;case"up":r.y=r.y-p;break;case"down":r.y=r.y+p;break;case"rotate":r.rotate=r.rotate+p;break}return r},t)};var tC={mixout(){return{parse:{transform:e=>Mm(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=Mm(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:i,containerWidth:a,iconWidth:u}=t;const p={transform:"translate(".concat(a/2," 256)")},m="translate(".concat(i.x*32,", ").concat(i.y*32,") "),h="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),v="rotate(".concat(i.rotate," 0 0)"),C={transform:"".concat(m," ").concat(h," ").concat(v)},x={transform:"translate(".concat(u/2*-1," -256)")},F={outer:p,inner:C,path:x};return{tag:"g",attributes:ie({},F.outer),children:[{tag:"g",attributes:ie({},F.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:ie(ie({},r.icon.attributes),F.path)}]}]}}}};const Fd={x:0,y:0,width:"100%",height:"100%"};function Dm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function nC(e){return e.tag==="g"?e.children:[e]}var rC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),i=r?uf(r.split(" ").map(a=>a.trim())):Sy();return i.prefix||(i.prefix=wi()),e.mask=i,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:i,main:a,mask:u,maskId:p,transform:m}=t;const{width:h,icon:v}=a,{width:C,icon:x}=u,F=Qk({transform:m,containerWidth:C,iconWidth:h}),I={tag:"rect",attributes:ie(ie({},Fd),{},{fill:"white"})},L=v.children?{children:v.children.map(Dm)}:{},D={tag:"g",attributes:ie({},F.inner),children:[Dm(ie({tag:v.tag,attributes:ie(ie({},v.attributes),F.path)},L))]},T={tag:"g",attributes:ie({},F.outer),children:[D]},O="mask-".concat(p||dc()),U="clip-".concat(p||dc()),j={tag:"mask",attributes:ie(ie({},Fd),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[I,T]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:nC(x)},j]};return r.push(V,{tag:"rect",attributes:ie({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(O,")")},Fd)}),{children:r,attributes:i}}}},oC={provides(e){let t=!1;bi.matchMedia&&(t=bi.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:ie(ie({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const u=ie(ie({},a),{},{attributeName:"opacity"}),p={tag:"circle",attributes:ie(ie({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||p.children.push({tag:"animate",attributes:ie(ie({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ie(ie({},u),{},{values:"1;0;1;1;0;1;"})}),r.push(p),r.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ie(ie({},u),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ie(ie({},u),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},iC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),i=r===null?!1:r===""?!0:r;return e.symbol=i,e}}}},aC=[Jk,HE,WE,VE,GE,ZE,eC,tC,rC,oC,iC];gE(aC,{mixoutsTo:Sn});Sn.noAuto;Sn.config;Sn.library;Sn.dom;const Ap=Sn.parse;Sn.findIconDefinition;Sn.toHtml;const sC=Sn.icon;Sn.layer;Sn.text;Sn.counter;function _m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,i)}return r}function vi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_m(Object(r),!0).forEach(function(i){Os(e,i,r[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_m(Object(r)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(r,i))})}return e}function Bu(e){"@babel/helpers - typeof";return Bu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bu(e)}function Os(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lC(e,t){if(e==null)return{};var r={},i=Object.keys(e),a,u;for(u=0;u<i.length;u++)a=i[u],!(t.indexOf(a)>=0)&&(r[a]=e[a]);return r}function Ay(e,t){if(e==null)return{};var r=lC(e,t),i,a;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(a=0;a<u.length;a++)i=u[a],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}function Op(e){return cC(e)||uC(e)||fC(e)||dC()}function cC(e){if(Array.isArray(e))return Ip(e)}function uC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(e,t){if(e){if(typeof e=="string")return Ip(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ip(e,t)}}function Ip(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function dC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
709
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e){var t,r=e.beat,i=e.fade,a=e.beatFade,u=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,O=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":r,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":u,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Os(t,"fa-".concat(O),typeof O<"u"&&O!==null),Os(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Os(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function hC(e){return e=e-0,e===e}function Oy(e){return hC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var mC=["style"];function gC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var i=r.indexOf(":"),a=Oy(r.slice(0,i)),u=r.slice(i+1).trim();return a.startsWith("webkit")?t[gC(a)]=u:t[a]=u,t},{})}function Iy(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var i=(t.children||[]).map(function(h){return Iy(e,h)}),a=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=vC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[Oy(v)]=C}return h},{attrs:{}}),u=r.style,p=u===void 0?{}:u,m=Ay(r,mC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Op(i)))}var Fy=!1;try{Fy=process.env.NODE_ENV==="production"}catch{}function yC(){if(!Fy&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Lm(e){if(e&&Bu(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ap.icon)return Ap.icon(e);if(e===null)return null;if(e&&Bu(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Md(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var bC=["forwardedRef"];function Si(e){var t=e.forwardedRef,r=Ay(e,bC),i=r.icon,a=r.mask,u=r.symbol,p=r.className,m=r.title,h=r.titleId,v=r.maskId,C=Lm(i),x=Md("classes",[].concat(Op(pC(r)),Op(p.split(" ")))),F=Md("transform",typeof r.transform=="string"?Ap.transform(r.transform):r.transform),I=Md("mask",Lm(a)),L=sC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:u,title:m,titleId:h,maskId:v}));if(!L)return yC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(r).forEach(function(O){Si.defaultProps.hasOwnProperty(O)||(T[O]=r[O])}),wC(D[0],T)}Si.displayName="FontAwesomeIcon";Si.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Si.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var wC=Iy.bind(null,A.createElement);const xC=async e=>await(await fetch(`${yc}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),SC=({taskId:e,playbookId:t,enabled:r})=>{const{queryClient:i}=Ks(),a=async()=>xC({taskId:+e,templateId:t.toString()}),u=["taskDetails",+e,t],p=jp({queryKey:u,queryFn:a,enabled:r},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:u})};return{taskDetails:p.data,prefetchQuery:m,...p}},kC=({buttons:e,onButtonClick:t,disabled:r})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(fc,{size:"smallCollapse",className:"ml-2",disabled:r,onClick:()=>{t(i)},children:qb[i]},i))});function $m(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&cp(r)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Xl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Dd(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}function EC(e){return e.matches("html,body")}function jm(e){return(e==null?void 0:e.ownerDocument)||document}function _d(e,t){let r=e.filter(a=>{var u;return a.parentId===t&&((u=a.context)==null?void 0:u.open)}),i=r;for(;i.length;)i=e.filter(a=>{var u;return(u=i)==null?void 0:u.some(p=>{var m;return a.parentId===p.id&&((m=a.context)==null?void 0:m.open)})}),r=r.concat(i);return r}function CC(e){return"nativeEvent"in e}var TC=typeof document<"u",RC=function(){},Fp=TC?A.useLayoutEffect:RC;const PC={...pe},AC=PC.useInsertionEffect,OC=AC||(e=>e());function Ps(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return OC(()=>{t.current=e}),pe.useCallback(function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}const IC="data-floating-ui-focusable",Nm="active",zm="selected",FC={...pe};let Bm=!1,MC=0;const Um=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MC++;function DC(){const[e,t]=pe.useState(()=>Bm?Um():void 0);return Fp(()=>{e==null&&t(Um())},[]),pe.useEffect(()=>{Bm=!0},[]),e}const _C=FC.useId,LC=_C||DC;let Mp;process.env.NODE_ENV!=="production"&&(Mp=new Set);function $C(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];const a="Floating UI: "+r.join(" ");if(!((e=Mp)!=null&&e.has(a))){var u;(u=Mp)==null||u.add(a),console.error(a)}}function jC(){const e=new Map;return{emit(t,r){var i;(i=e.get(t))==null||i.forEach(a=>a(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){var i;(i=e.get(t))==null||i.delete(r)}}}const NC=pe.createContext(null),zC=pe.createContext(null),BC=()=>{var e;return((e=pe.useContext(NC))==null?void 0:e.id)||null},My=()=>pe.useContext(zC);function UC(e){return"data-floating-ui-"+e}function HC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const WC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Hm=e=>{var t,r;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(r=e==null?void 0:e.outsidePress)!=null?r:!0}};function GC(e,t){t===void 0&&(t={});const{open:r,onOpenChange:i,elements:a,dataRef:u}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=My(),T=Ps(typeof h=="function"?h:()=>!1),O=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Hm(I),{escapeKey:$,outsidePress:J}=Hm(L),ae=pe.useRef(!1),ne=pe.useRef(-1),le=Ps(xe=>{var Re;if(!r||!p||!m||xe.key!=="Escape"||ae.current)return;const Le=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,Z=D?_d(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),Z.length>0)){let ve=!0;if(Z.forEach(Y=>{var K;if((K=Y.context)!=null&&K.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}i(!1,CC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Ps(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Xl(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Xl(xe))==null||Re.addEventListener("keydown",Le)}),De=Ps(xe=>{var Re;const Le=u.current.insideReactTree;u.current.insideReactTree=!1;const Z=U.current;if(U.current=!1,v==="click"&&Z||Le||typeof O=="function"&&!O(xe))return;const ve=Xl(xe),Y="["+UC("inert")+"]",K=jm(a.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!uo(fe);){const ce=ho(fe);if(uo(ce)||!ht(ce))break;fe=ce}if(K.length&&ht(ve)&&!EC(ve)&&!$m(ve,a.floating)&&Array.from(K).every(ce=>!$m(fe,ce)))return;if(ar(ve)&&ze){const ce=uo(ve),ue=Bn(ve),Ee=/auto|scroll/,Se=ce||Ee.test(ue.overflowX),Pe=ce||Ee.test(ue.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ue.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=u.current.floatingContext)==null?void 0:Re.nodeId,he=D&&_d(D.nodesRef.current,te).some(ce=>{var ue;return Dd(xe,(ue=ce.context)==null?void 0:ue.elements.floating)});if(Dd(xe,a.floating)||Dd(xe,a.domReference)||he)return;const me=D?_d(D.nodesRef.current,te):[];if(me.length>0){let ce=!0;if(me.forEach(ue=>{var Ee;if((Ee=ue.context)!=null&&Ee.open&&!ue.context.dataRef.current.__outsidePressBubbles){ce=!1;return}}),!ce)return}i(!1,xe,"outside-press")}),Fe=Ps(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Xl(xe))==null||Z.removeEventListener(v,Le)};(Re=Xl(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!r||!p)return;u.current.__escapeKeyBubbles=j,u.current.__outsidePressBubbles=V;let xe=-1;function Re(K){i(!1,K,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ae.current=!0}function Z(){xe=window.setTimeout(()=>{ae.current=!1},Ju()?5:0)}const ve=jm(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),O&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ms(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ms(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ms(a.reference.contextElement)))),Y=Y.filter(K=>{var fe;return K!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(K=>{K.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",Z)),O&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[u,a,m,O,v,r,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{u.current.insideReactTree=!1},[u,O,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[WC[x]]:xe=>{i(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){i(!1,xe.nativeEvent,"reference-press")}}}}),[le,i,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[VC[v]]:()=>{u.current.insideReactTree=!0},onBlurCapture(){D||(HC(ne),u.current.insideReactTree=!0,ne.current=window.setTimeout(()=>{u.current.insideReactTree=!1}))}}),[le,v,u,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function YC(e){const{open:t=!1,onOpenChange:r,elements:i}=e,a=LC(),u=pe.useRef({}),[p]=pe.useState(()=>jC()),m=BC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&$C("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(i.reference),C=Ps((I,L,D)=>{u.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),r==null||r(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||i.reference||null,floating:i.floating||null,domReference:i.reference}),[h,i.reference,i.floating]);return pe.useMemo(()=>({dataRef:u,open:t,onOpenChange:C,elements:F,events:p,floatingId:a,refs:x}),[t,C,F,p,a,x])}function XC(e){e===void 0&&(e={});const{nodeId:t}=e,r=YC({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||r,a=i.elements,[u,p]=pe.useState(null),[m,h]=pe.useState(null),C=(a==null?void 0:a.domReference)||u,x=pe.useRef(null),F=My();Fp(()=>{C&&(x.current=C)},[C]);const I=Bx({...e,elements:{...a,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),O=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:O,nodeId:t}),[I,T,O,t,i]);return Fp(()=>{i.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:O}),[I,T,O,U])}function Ld(e,t,r){const i=new Map,a=r==="item";let u=e;if(a&&e){const{[Nm]:p,[zm]:m,...h}=e;u=h}return{...r==="floating"&&{tabIndex:-1,[IC]:""},...u,...t.map(p=>{const m=p?p[r]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(a&&[Nm,zm].includes(v)))if(v.indexOf("on")===0){if(i.has(v)||i.set(v,[]),typeof C=="function"){var x;(x=i.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=i.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function QC(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),r=e.map(m=>m==null?void 0:m.floating),i=e.map(m=>m==null?void 0:m.item),a=pe.useCallback(m=>Ld(m,e,"reference"),t),u=pe.useCallback(m=>Ld(m,e,"floating"),r),p=pe.useCallback(m=>Ld(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:u,getItemProps:p}),[a,u,p])}const qC={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},KC={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},JC={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},ZC={normal:"rounded",pill:"rounded-pill"},eT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},Dy=({category:e="solid",color:t="primary",roundness:r="normal",size:i="medium",textClassName:a="uppercase",children:u,className:p,...m})=>{const h=A.useMemo(()=>JC[t]??"text-white",[t]),v=A.useMemo(()=>Fs(h,e==="outline"?KC[t]:qC[t],ZC[r],eT[i]),[h,e,t,i,r]);return q.jsx("div",{className:Fs("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:q.jsx("p",{className:Fs("mx-1",a),children:u})})},tT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},nT=({transition:e,onClick:t})=>q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:r=>{r.stopPropagation(),t()},children:[q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),q.jsx(Si,{icon:ak,className:"text-gray-400 size-4"}),q.jsx(Dy,{category:"outline",color:e.color,children:e.to})]}),rT=({title:e,variant:t="default",transitions:r,onClick:i})=>{const[a,u]=A.useState(!1),{refs:p,floatingStyles:m,context:h}=XC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:u}),v=GC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=QC([v]);return q.jsxs(q.Fragment,{children:[q.jsxs("div",{onClick:r!=null&&r.length?()=>u(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",r.length?"cursor-pointer":"pointer-events-none",tT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),r.length>0?q.jsx(Si,{icon:Qv,className:"size-4"}):q.jsx(q.Fragment,{})]}),a&&r.length&&q.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:r.map((F,I)=>q.jsx(nT,{transition:F,onClick:()=>{i==null||i(F.id),u(!1)}},I))})]})},Wm=({description:e})=>{const t=A.useMemo(()=>{const r=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(r,`${_h}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${_h}`),m=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),a},[e]);return A.useEffect(()=>{},[t]),q.jsx("div",{className:"flex flex-col gap-4",children:q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},oT={SEQUENTIAL:"Sequential"},iT={[ut.IN_REVIEW]:"In Review"},aT={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},sT=({playbookType:e,status:t,step:r,isSelected:i,onSelect:a})=>q.jsx("div",{className:lc("flex flex-col items-center justify-center",i?"bg-[#FFE600]":aT[t],a&&"cursor-pointer"),onClick:u=>{u.stopPropagation(),a==null||a(u.shiftKey)},children:q.jsx("span",{className:lc("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===oT.SEQUENTIAL?`STEP ${r}`:(iT[t]||t).toUpperCase()})}),lT={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},cT=({status:e})=>q.jsx(Dy,{category:"outline",color:lT[e],children:e}),uT={[ut.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ut.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ut.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ut.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},$d={PHOTO:"photo",SCREENSHOT:"screenshot"},fT=({task:e,step:t,playbookType:r,onButtonClick:i,viewMode:a="card",canStart:u=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=A.useState(!1),{taskDetails:I,prefetchQuery:L}=SC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=Kb({taskStatus:e.workflowStatus,canStart:u}),T=A.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?$d.SCREENSHOT:e.imageRequired===2?$d.PHOTO:null,[e.imageRequired]),O=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=A.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=A.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),V},[D]);return q.jsxs("div",{className:wt("flex flex-col"),children:[q.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),q.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),q.jsx(rT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{i(V)}})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:q.jsx(Wm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:lc("flex items-stretch rounded-sm overflow-hidden border",uT[e.workflowStatus]),children:[q.jsx(sT,{playbookType:r,status:e.workflowStatus,step:t}),q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[r==="Sequential"&&q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:q.jsx(cT,{status:e.workflowStatus})}),q.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[q.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[q.jsx(Si,{icon:ik,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===$d.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Wm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&q.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[q.jsx("div",{className:"flex-1",children:q.jsx(kC,{buttons:D,onButtonClick:O,disabled:x})}),m&&q.jsx(fc,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:Qv,className:lc("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},_y=A.forwardRef(({title:e,className:t,playbookStyle:r,...i},a)=>{var u,p;return q.jsx("div",{ref:a,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((u=r==null?void 0:r.whiteLabel)==null?void 0:u.titleBackgroundColor)||"#f8f9fa"},...i,children:q.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=r==null?void 0:r.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});_y.displayName="PlaybookHeader";const Cc=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),dT='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--container-md:28rem;--container-lg:32rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--font-weight-normal:400;--font-weight-medium:500;--font-weight-bold:700;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer custom-base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer custom-components{:is(.confidence-ui,.confidence-ui *) .lexical-view-mode{word-break:break-word!important;width:100%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{list-style:revert!important}:is(.confidence-ui,.confidence-ui *) .editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__container{width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;align-items:center!important;margin-bottom:4px!important;padding:0!important;list-style:none!important;display:flex!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:before{content:""!important;-moz-osx-font-smoothing:grayscale!important;-webkit-font-smoothing:antialiased!important;display:var(--fa-display,inline-block)!important;font-variant:normal!important;text-rendering:auto!important;background:#fff!important;border-radius:30px!important;margin-right:4px!important;font-family:"Font Awesome 5 Pro"!important;font-style:normal!important;font-weight:900!important;line-height:1!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ltr{text-align:left}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .rtl{text-align:right}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor{position:relative;background:#fff!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-input{caret-color:#444;resize:none!important;-moz-tab-size:1!important;tab-size:1!important;outline:0!important;min-height:150px!important;padding:12px!important;position:relative!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-placeholder{pointer-events:none;color:#999!important;text-overflow:ellipsis!important;-webkit-user-select:none!important;user-select:none!important;font-size:15px!important;display:inline-block!important;position:absolute!important;top:15px!important;left:10px!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-bold,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode strong{font-weight:700!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-italic{font-style:italic}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-text-code{color:#d70c69;background-color:#0000001a!important;border-radius:4px!important;padding:1px .25rem!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:85%!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{word-break:break-word;-moz-tab-size:2!important;tab-size:2!important;background-color:#f0f2f5!important;border-radius:4px!important;margin:8px 0!important;padding:8px 8px 8px 52px!important;font-family:Menlo,Consolas,Monaco,monospace!important;font-size:13px!important;line-height:1.53!important;display:block!important;position:relative!important;overflow-x:auto!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:before{min-width:25px;content:attr(data-gutter)!important;color:#777!important;white-space:pre-wrap!important;text-align:right!important;background-color:#eee!important;border-right:1px solid #ccc!important;padding:8px!important;position:absolute!important;top:0!important;left:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-code:after,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre:after{color:#00000080;content:attr(data-highlight-language)!important;text-transform:uppercase!important;padding:3px!important;font-size:10px!important;position:absolute!important;top:0!important;right:3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenComment{color:#708090}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenPunctuation{color:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenProperty{color:#905}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenSelector{color:#690}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenOperator{color:#9a6e3a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenAttr{color:#07a}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenVariable{color:#e90}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-tokenFunction{color:#dd4a68}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:24px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h1:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2:first-child,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h1:first-child{margin-top:0}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-heading-h2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode h2{line-height:100%;border-bottom:thin solid #0000001a!important;margin-top:1.2em!important;margin-bottom:.6em!important;padding-bottom:6px!important;font-size:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol{margin:0 0 .3rem 15px!important;padding:0 0 0 15px!important;list-style-type:decimal!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ol{margin:0 0 0 20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol4{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ol7{list-style-type:decimal}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-ul,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .editor-nested-list-item{list-style-type:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode a>code{color:inherit}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img{cursor:zoom-in!important;border:1px solid #ccc!important;border-radius:4px!important;width:auto!important;max-width:250px!important;height:auto!important;max-height:250px!important;display:block!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode img:focus{outline:3px solid #007bff4d}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-left{text-align:left!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-right{text-align:right!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-align-justify{text-align:justify!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-small{font-size:.75em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode p>a:hover,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-size-large{font-size:1.25rem!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-1{margin-left:20px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-2{margin-left:40px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-3{margin-left:60px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-4{margin-left:80px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-5{margin-left:100px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-6{margin-left:120px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-7{margin-left:140px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode .ql-indent-8{margin-left:160px!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-1!important;margin-left:0!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-2!important;margin-left:20px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-3!important;margin-left:40px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9!important;counter-increment:list-4!important;margin-left:60px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9!important;counter-increment:list-5!important;margin-left:80px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6{counter-reset:list-7 list-8 list-9!important;counter-increment:list-6!important;margin-left:100px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7{counter-reset:list-8 list-9!important;counter-increment:list-7!important;margin-left:120px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8{counter-reset:list-9!important;counter-increment:list-8!important;margin-left:140px!important;list-style-type:none!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8::marker{display:none}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-3,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-6{list-style-type:disc}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-1,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-4,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-7{list-style-type:circle}:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-2,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-5,:is(.confidence-ui,.confidence-ui *) .lexical-view-mode ul li.ql-indent-8{list-style-type:square}}@layer custom-utilities{:is(.confidence-ui,.confidence-ui *) .pointer-events-none{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .absolute{position:absolute!important}:is(.confidence-ui,.confidence-ui *) .fixed{position:fixed!important}:is(.confidence-ui,.confidence-ui *) .relative{position:relative!important}:is(.confidence-ui,.confidence-ui *) .sticky{position:sticky!important}:is(.confidence-ui,.confidence-ui *) .inset-0{inset:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-0{top:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .top-3{top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .bottom-0{bottom:calc(var(--spacing)*0)!important}:is(.confidence-ui,.confidence-ui *) .z-2{z-index:2!important}:is(.confidence-ui,.confidence-ui *) .z-50{z-index:50!important}:is(.confidence-ui,.confidence-ui *) .z-\\[99999999999999\\]{z-index:2147483647!important}:is(.confidence-ui,.confidence-ui *) .container{width:100%!important}@media (min-width:40rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:40rem!important}}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:48rem!important}}@media (min-width:64rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:64rem!important}}@media (min-width:80rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:80rem!important}}@media (min-width:96rem){:is(.confidence-ui,.confidence-ui *) .container{max-width:96rem!important}}:is(.confidence-ui,.confidence-ui *) .mx-1{margin-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .mx-4{margin-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .-mt-\\[1px\\]{margin-top:-1px!important}:is(.confidence-ui,.confidence-ui *) .mt-3{margin-top:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}:is(.confidence-ui,.confidence-ui *) .mb-4{margin-bottom:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .ml-2{margin-left:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .block{display:block!important}:is(.confidence-ui,.confidence-ui *) .flex{display:flex!important}:is(.confidence-ui,.confidence-ui *) .hidden{display:none!important}:is(.confidence-ui,.confidence-ui *) .size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}:is(.confidence-ui,.confidence-ui *) .h-\\[18px\\]{height:18px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[22px\\]{height:22px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[24px\\]{height:24px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[30px\\]{height:30px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[38px\\]{height:38px!important}:is(.confidence-ui,.confidence-ui *) .h-\\[40px\\]{height:40px!important}:is(.confidence-ui,.confidence-ui *) .h-full{height:100%!important}:is(.confidence-ui,.confidence-ui *) .min-h-16{min-height:calc(var(--spacing)*16)!important}:is(.confidence-ui,.confidence-ui *) .min-h-screen{min-height:100vh!important}:is(.confidence-ui,.confidence-ui *) .w-\\[27px\\]{width:27px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[38px\\]{width:38px!important}:is(.confidence-ui,.confidence-ui *) .w-\\[400px\\]{width:400px!important}:is(.confidence-ui,.confidence-ui *) .w-full{width:100%!important}:is(.confidence-ui,.confidence-ui *) .w-screen{width:100vw!important}:is(.confidence-ui,.confidence-ui *) .max-w-lg{max-width:var(--container-lg)!important}:is(.confidence-ui,.confidence-ui *) .max-w-md{max-width:var(--container-md)!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[106px\\]{min-width:106px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[140px\\]{min-width:140px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[160px\\]{min-width:160px!important}:is(.confidence-ui,.confidence-ui *) .min-w-\\[172px\\]{min-width:172px!important}:is(.confidence-ui,.confidence-ui *) .min-w-fit{min-width:fit-content!important}:is(.confidence-ui,.confidence-ui *) .flex-1{flex:1!important}:is(.confidence-ui,.confidence-ui *) .rotate-180{rotate:180deg!important}:is(.confidence-ui,.confidence-ui *) .cursor-pointer{cursor:pointer!important}:is(.confidence-ui,.confidence-ui *) .resize{resize:both!important}:is(.confidence-ui,.confidence-ui *) .flex-col{flex-direction:column!important}:is(.confidence-ui,.confidence-ui *) .items-center{align-items:center!important}:is(.confidence-ui,.confidence-ui *) .items-stretch{align-items:stretch!important}:is(.confidence-ui,.confidence-ui *) .justify-center{justify-content:center!important}:is(.confidence-ui,.confidence-ui *) .justify-end{justify-content:flex-end!important}:is(.confidence-ui,.confidence-ui *) .gap-1{gap:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .gap-2{gap:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .gap-3{gap:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .gap-4{gap:calc(var(--spacing)*4)!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-2>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-y-4>:not(:last-child)){--tw-space-y-reverse:0!important;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse))!important;margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-1>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*1)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .space-x-2>:not(:last-child)){--tw-space-x-reverse:0!important;margin-inline-start:calc(calc(var(--spacing)*2)*var(--tw-space-x-reverse))!important;margin-inline-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-x-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-y>:not(:last-child)){--tw-divide-y-reverse:0!important;border-bottom-style:var(--tw-border-style)!important;border-top-style:var(--tw-border-style)!important;border-top-width:calc(1px*var(--tw-divide-y-reverse))!important;border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-black\\/10>:not(:last-child)){border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:where(:is(.confidence-ui,.confidence-ui *) .divide-gray-100>:not(:last-child)){border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .self-end{align-self:flex-end!important}:is(.confidence-ui,.confidence-ui *) .truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-hidden{overflow:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-x-hidden{overflow-x:hidden!important}:is(.confidence-ui,.confidence-ui *) .overflow-y-auto{overflow-y:auto!important}:is(.confidence-ui,.confidence-ui *) .rounded{border-radius:.25rem!important}:is(.confidence-ui,.confidence-ui *) .rounded-lg{border-radius:var(--radius-lg)!important}:is(.confidence-ui,.confidence-ui *) .rounded-md{border-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .rounded-sm{border-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}:is(.confidence-ui,.confidence-ui *) .rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}:is(.confidence-ui,.confidence-ui *) .border{border-style:var(--tw-border-style)!important;border-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}:is(.confidence-ui,.confidence-ui *) .border-none{--tw-border-style:none!important;border-style:none!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}:is(.confidence-ui,.confidence-ui *) .border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}:is(.confidence-ui,.confidence-ui *) .border-black\\/10{border-color:oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1) oklab(0% none none/.1)!important}:is(.confidence-ui,.confidence-ui *) .border-danger-500{border-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .border-gray-50{border-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .border-gray-100{border-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .border-gray-200{border-color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .border-gray-300{border-color:#b0b5bd!important}:is(.confidence-ui,.confidence-ui *) .border-gray-400{border-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .border-gray-700{border-color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .border-gray-800{border-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .border-info-500{border-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .border-orange-500{border-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .border-primary-600{border-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .border-purple-500{border-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .border-red-500{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-500{border-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .border-secondary-600{border-color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .border-steel-500{border-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .border-success-600{border-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .border-warning-500{border-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .border-white{border-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}:is(.confidence-ui,.confidence-ui *) .bg-\\[\\#FFE600\\]{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .bg-black\\/30{background-color:oklab(0% none none/.3)!important}:is(.confidence-ui,.confidence-ui *) .bg-danger-500{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .bg-dark{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-fiserv-orange-500{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-50{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-100{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-400{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-500{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-800{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .bg-gray-900{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .bg-info-500{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .bg-orange-500{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-600{background-color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .bg-primary-800{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .bg-purple-500{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .bg-secondary-500{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .bg-steel-500{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .bg-success-500{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .bg-success-600{background-color:#218838!important}:is(.confidence-ui,.confidence-ui *) .bg-warning-500{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .bg-white{background-color:#fff!important}:is(.confidence-ui,.confidence-ui *) .bg-yellow{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .object-contain{object-fit:contain!important}:is(.confidence-ui,.confidence-ui *) .p-1{padding:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .p-2{padding:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .p-4{padding:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-1{padding-inline:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .px-2{padding-inline:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .px-3{padding-inline:calc(var(--spacing)*3)!important}:is(.confidence-ui,.confidence-ui *) .px-4{padding-inline:calc(var(--spacing)*4)!important}:is(.confidence-ui,.confidence-ui *) .px-\\[2px\\]{padding-inline:2px!important}:is(.confidence-ui,.confidence-ui *) .py-1{padding-block:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}:is(.confidence-ui,.confidence-ui *) .pt-2{padding-top:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pr-2{padding-right:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .pb-1{padding-bottom:calc(var(--spacing)*1)!important}:is(.confidence-ui,.confidence-ui *) .pb-2{padding-bottom:calc(var(--spacing)*2)!important}:is(.confidence-ui,.confidence-ui *) .text-center{text-align:center!important}:is(.confidence-ui,.confidence-ui *) .text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}:is(.confidence-ui,.confidence-ui *) .text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}:is(.confidence-ui,.confidence-ui *) .text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}:is(.confidence-ui,.confidence-ui *) .leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}:is(.confidence-ui,.confidence-ui *) .font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}:is(.confidence-ui,.confidence-ui *) .font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}:is(.confidence-ui,.confidence-ui *) .font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}:is(.confidence-ui,.confidence-ui *) .whitespace-nowrap{white-space:nowrap!important}:is(.confidence-ui,.confidence-ui *) .text-\\[\\#0069D9\\]{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-black{color:#000!important}:is(.confidence-ui,.confidence-ui *) .text-danger-500{color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .text-dark{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-dark-300{color:#343a40!important}:is(.confidence-ui,.confidence-ui *) .text-fiserv-orange-500{color:#f60!important}:is(.confidence-ui,.confidence-ui *) .text-gray-50{color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .text-gray-200{color:#ced1d6!important}:is(.confidence-ui,.confidence-ui *) .text-gray-400{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .text-gray-500{color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .text-gray-700{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .text-gray-800{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .text-gray-900{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .text-info-500{color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .text-orange-500{color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .text-primary-600{color:#0069d9!important}:is(.confidence-ui,.confidence-ui *) .text-purple-500{color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .text-secondary{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-400{color:#899197!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-500{color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .text-secondary-600{color:#5a6268!important}:is(.confidence-ui,.confidence-ui *) .text-steel-500{color:#556987!important}:is(.confidence-ui,.confidence-ui *) .text-success-500{color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .text-success-600{color:#218838!important}:is(.confidence-ui,.confidence-ui *) .text-warning-500{color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .text-white{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .text-yellow{color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .uppercase{text-transform:uppercase!important}:is(.confidence-ui,.confidence-ui *) .line-through{text-decoration-line:line-through!important}:is(.confidence-ui,.confidence-ui *) .shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){:is(.confidence-ui,.confidence-ui *) .shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}:is(.confidence-ui,.confidence-ui *) .outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .transition-all{transition-property:all!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}:is(.confidence-ui,.confidence-ui *) .duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}:is(.confidence-ui,.confidence-ui *) .ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}:is(.confidence-ui,.confidence-ui *) .ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}:is(.confidence-ui,.confidence-ui *) .\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){:is(.confidence-ui,.confidence-ui *) .hover\\:bg-danger-500:hover{background-color:#dc3545!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-dark:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-100:hover{background-color:#ebedef!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-400:hover{background-color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-500:hover{background-color:#3a475b!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-800:hover{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-gray-900:hover{background-color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-info-500:hover{background-color:#17a2b8!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-orange-500:hover{background-color:#ff7800!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-primary-800:hover{background-color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-purple-500:hover{background-color:#a855f7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-secondary-500:hover{background-color:#6c757d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-steel-500:hover{background-color:#556987!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-success-500:hover{background-color:#28a745!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-warning-500:hover{background-color:#ffc107!important}:is(.confidence-ui,.confidence-ui *) .hover\\:bg-yellow:hover{background-color:#ffe600!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-black:hover{color:#000!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-danger-800:hover{color:#aa1927!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-dark:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-400:hover{color:#757e8c!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-700:hover{color:#2c3544!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-800:hover{color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-gray-900:hover{color:#1c232d!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-info-800:hover{color:#026777!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-orange-800:hover{color:#c75d00!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-primary-800:hover{color:#0054af!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-purple-800:hover{color:#6f33a7!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-secondary-800:hover{color:#444a50!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-steel-800:hover{color:#333f51!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-success-800:hover{color:#106c25!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-warning-800:hover{color:#b87708!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-white:hover{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .hover\\:text-yellow:hover{color:#ffe600!important}}:is(.confidence-ui,.confidence-ui *) .focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}:is(.confidence-ui,.confidence-ui *) .focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}:is(.confidence-ui,.confidence-ui *) .focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-50:active{background-color:#f5f6f7!important}:is(.confidence-ui,.confidence-ui *) .active\\:bg-gray-800:active{background-color:#232b37!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-black:active{color:#000!important}:is(.confidence-ui,.confidence-ui *) .active\\:text-white:active{color:#fff!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:pointer-events-none:disabled{pointer-events:none!important}:is(.confidence-ui,.confidence-ui *) .disabled\\:opacity-15:disabled{opacity:.15!important}:is(.confidence-ui,.confidence-ui *) .data-closed\\:opacity-0[data-closed]{opacity:0!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}:is(.confidence-ui,.confidence-ui *) .data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){:is(.confidence-ui,.confidence-ui *) .md\\:min-w-fit{min-width:fit-content!important}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',pT=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>{const{playbook:i,actions:a}=Qb(e);if(!i)return q.jsx("div",{});const u=async(p,m)=>{var h;if(p===ec.COMPLETE){const v=(h=i.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return a.completeTask(m,v)}if(p===ec.START)return a.startTask(m)};return q.jsx(Ly,{playbook:i,playbookMode:t,onTaskButtonClick:u,playbookStyle:r})},hT=({className:e,children:t,numberOfTasks:r,playbookMode:i})=>q.jsxs("div",{className:wt("w-full p-4",e),children:[r&&q.jsxs("div",{className:wt(i==="card"&&"mb-4"),children:[q.jsx("span",{className:"font-medium",children:"Tasks"})," (",r,")"]}),q.jsx("div",{className:wt(i==="card"&&"space-y-4"),children:t})]}),Ly=({playbook:e,playbookMode:t,onTaskButtonClick:r,playbookStyle:i})=>{var D,T,O,U,j;const{playbookInstanceName:a,tasks:u}=e,p=A.useRef(null),[m,h]=A.useState(0),[v,C]=A.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Cg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});A.useEffect(()=>(p.current&&new ResizeObserver($=>{var J;for(const ae of $)console.log("ResizeObserver entry:",ae),ae.contentRect&&h(((J=p.current)==null?void 0:J.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=A.useMemo(()=>{const V=u.filter($=>$.workflowStatus===ut.COMPLETED).sort(($,J)=>J.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[u]);return Uu.createPortal(q.jsxs(fb.div,{children:[q.jsx(Cc,{children:q.jsxs("div",{className:wt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:v?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=i.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((O=i.overlay.offset)==null?void 0:O.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((U=i.overlay.offset)==null?void 0:U.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&q.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=i==null?void 0:i.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:q.jsx("img",{src:Xv,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),q.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[q.jsx(_y,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(hT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:u.map((V,$)=>{var J;return q.jsx(fT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ae=>r(ae,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(J=i==null?void 0:i.whiteLabel)==null?void 0:J.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]})}),q.jsx("style",{type:"text/css",children:dT})]}),document.body,"confidence-playbook-portal")},mT=({email:e,playbookId:t,playbookMode:r,playbookStyle:i})=>{const[a,u]=A.useState(null);return A.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Tg({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);u(p)})()},[]),a?q.jsx(Cc,{children:q.jsx(Pa,{playbookInstanceId:a,playbookMode:r,playbookStyle:i})}):q.jsx("div",{children:"Loading..."})},gT=({playbookId:e,playbookMode:t="list",playbookStyle:r,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[u,p]=A.useState(null);return q.jsxs(Cc,{children:[q.jsx(rk,{playbookId:e,disabled:!!u,onInitiated:p,btnLabel:i,btnColor:a}),u&&q.jsx(Pa,{playbookInstanceId:u,playbookMode:t,playbookStyle:r})]})},Pa=({playbookInstanceId:e,playbookMode:t,playbookStyle:r})=>q.jsx(Cc,{children:q.jsx(kg,{children:q.jsx(pT,{playbookInstanceId:e,playbookMode:t,playbookStyle:r})})});Pa.Context=kg;Pa.View=Ly;Pa.AutoInstantiated=mT;Pa.WithInstantiateButton=gT;exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=Cc;
|