@confidencesystemsinc/sdk 1.5.2 → 1.5.4
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/SelfShadowComponent.d.ts +4 -1
- package/dist/components/playbook/confidence-playbook.d.ts +3 -1
- package/dist/index.cjs +40 -40
- package/dist/index.js +925 -916
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var fp=e=>{throw TypeError(e)};var
|
|
1
|
+
"use strict";var fp=e=>{throw TypeError(e)};var kf=(e,r,o)=>r.has(e)||fp("Cannot "+o);var O=(e,r,o)=>(kf(e,r,"read from private field"),o?o.call(e):r.get(e)),Ie=(e,r,o)=>r.has(e)?fp("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,o),he=(e,r,o,i)=>(kf(e,r,"write to private field"),i?i.call(e,o):r.set(e,o),o),ze=(e,r,o)=>(kf(e,r,"access private method"),o);var $u=(e,r,o,i)=>({set _(a){he(e,r,a,o)},get _(){return O(e,r,i)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=require("react/jsx-runtime"),V=require("react"),Vl=require("react-dom");function Hh(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:()=>e[o]})}}return r.default=e,Object.freeze(r)}const de=Hh(V),ev=Hh(Vl);function tv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bo={},Hi={};/**
|
|
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 dp;function
|
|
9
|
+
*/var dp;function rv(){if(dp)return Hi;dp=1;var e=V;function r(c){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+c,k=1;k<arguments.length;k++)y+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+c+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=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={},d={};function h(c){return o.call(d,c)?!0:o.call(a,c)?!1:i.test(c)?d[c]=!0:(a[c]=!0,!1)}function v(c,y,k,T,$,L,H){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=T,this.attributeNamespace=$,this.mustUseProperty=k,this.propertyName=c,this.type=y,this.sanitizeURL=L,this.removeEmptyString=H}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(c){m[c]=new v(c,0,!1,c,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(c){var y=c[0];m[y]=new v(y,1,!1,c[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(c){m[c]=new v(c,2,!1,c.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(c){m[c]=new v(c,2,!1,c,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(c){m[c]=new v(c,3,!1,c.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(c){m[c]=new v(c,3,!0,c,null,!1,!1)}),["capture","download"].forEach(function(c){m[c]=new v(c,4,!1,c,null,!1,!1)}),["cols","rows","size","span"].forEach(function(c){m[c]=new v(c,6,!1,c,null,!1,!1)}),["rowSpan","start"].forEach(function(c){m[c]=new v(c,5,!1,c.toLowerCase(),null,!1,!1)});var x=/[\-:]([a-z])/g;function R(c){return c[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(c){var y=c.replace(x,R);m[y]=new v(y,1,!1,c,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(c){var y=c.replace(x,R);m[y]=new v(y,1,!1,c,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(c){var y=c.replace(x,R);m[y]=new v(y,1,!1,c,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(c){m[c]=new v(c,1,!1,c.toLowerCase(),null,!1,!1)}),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(c){m[c]=new v(c,1,!1,c.toLowerCase(),null,!0,!0)});var E={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(E).forEach(function(c){F.forEach(function(y){y=y+c.charAt(0).toUpperCase()+c.substring(1),E[y]=E[c]})});var M=/["'&<>]/;function B(c){if(typeof c=="boolean"||typeof c=="number")return""+c;c=""+c;var y=M.exec(c);if(y){var k="",T,$=0;for(T=y.index;T<c.length;T++){switch(c.charCodeAt(T)){case 34:y=""";break;case 38:y="&";break;case 39:y="'";break;case 60:y="<";break;case 62:y=">";break;default:continue}$!==T&&(k+=c.substring($,T)),$=T+1,k+=y}c=$!==T?k+c.substring($,T):k}return c}var D=/([A-Z])/g,P=/^ms-/,I=Array.isArray;function W(c,y){return{insertionMode:c,selectedValue:y}}function U(c,y,k){switch(y){case"select":return W(1,k.value!=null?k.value:k.defaultValue);case"svg":return W(2,null);case"math":return W(3,null);case"foreignObject":return W(1,null);case"table":return W(4,null);case"thead":case"tbody":case"tfoot":return W(5,null);case"colgroup":return W(7,null);case"tr":return W(6,null)}return 4<=c.insertionMode||c.insertionMode===0?W(1,null):c}var q=new Map;function _(c,y,k){if(typeof k!="object")throw Error(r(62));y=!0;for(var T in k)if(o.call(k,T)){var $=k[T];if($!=null&&typeof $!="boolean"&&$!==""){if(T.indexOf("--")===0){var L=B(T);$=B((""+$).trim())}else{L=T;var H=q.get(L);H!==void 0||(H=B(L.replace(D,"-$1").toLowerCase().replace(P,"-ms-")),q.set(L,H)),L=H,$=typeof $=="number"?$===0||o.call(E,T)?""+$:$+"px":B((""+$).trim())}y?(y=!1,c.push(' style="',L,":",$)):c.push(";",L,":",$)}}y||c.push('"')}function ie(c,y,k,T){switch(k){case"style":_(c,y,T);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(y=m.hasOwnProperty(k)?m[k]:null,y!==null){switch(typeof T){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(k=y.attributeName,y.type){case 3:T&&c.push(" ",k,'=""');break;case 4:T===!0?c.push(" ",k,'=""'):T!==!1&&c.push(" ",k,'="',B(T),'"');break;case 5:isNaN(T)||c.push(" ",k,'="',B(T),'"');break;case 6:!isNaN(T)&&1<=T&&c.push(" ",k,'="',B(T),'"');break;default:y.sanitizeURL&&(T=""+T),c.push(" ",k,'="',B(T),'"')}}else if(h(k)){switch(typeof T){case"function":case"symbol":return;case"boolean":if(y=k.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}c.push(" ",k,'="',B(T),'"')}}}function ce(c,y,k){if(y!=null){if(k!=null)throw Error(r(60));if(typeof y!="object"||!("__html"in y))throw Error(r(61));y=y.__html,y!=null&&c.push(""+y)}}function ee(c){var y="";return e.Children.forEach(c,function(k){k!=null&&(y+=k)}),y}function ae(c,y,k,T){c.push(_e(k));var $=k=null,L;for(L in y)if(o.call(y,L)){var H=y[L];if(H!=null)switch(L){case"children":k=H;break;case"dangerouslySetInnerHTML":$=H;break;default:ie(c,T,L,H)}}return c.push(">"),ce(c,$,k),typeof k=="string"?(c.push(B(k)),null):k}var Fe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ne=new Map;function _e(c){var y=Ne.get(c);if(y===void 0){if(!Fe.test(c))throw Error(r(65,c));y="<"+c,Ne.set(c,y)}return y}function Ge(c,y,k,T,$){switch(y){case"select":c.push(_e("select"));var L=null,H=null;for(we in k)if(o.call(k,we)){var te=k[we];if(te!=null)switch(we){case"children":L=te;break;case"dangerouslySetInnerHTML":H=te;break;case"defaultValue":case"value":break;default:ie(c,T,we,te)}}return c.push(">"),ce(c,H,L),L;case"option":H=$.selectedValue,c.push(_e("option"));var xe=te=null,Pe=null,we=null;for(L in k)if(o.call(k,L)){var He=k[L];if(He!=null)switch(L){case"children":te=He;break;case"selected":Pe=He;break;case"dangerouslySetInnerHTML":we=He;break;case"value":xe=He;default:ie(c,T,L,He)}}if(H!=null)if(k=xe!==null?""+xe:ee(te),I(H)){for(T=0;T<H.length;T++)if(""+H[T]===k){c.push(' selected=""');break}}else""+H===k&&c.push(' selected=""');else Pe&&c.push(' selected=""');return c.push(">"),ce(c,we,te),te;case"textarea":c.push(_e("textarea")),we=H=L=null;for(te in k)if(o.call(k,te)&&(xe=k[te],xe!=null))switch(te){case"children":we=xe;break;case"value":L=xe;break;case"defaultValue":H=xe;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:ie(c,T,te,xe)}if(L===null&&H!==null&&(L=H),c.push(">"),we!=null){if(L!=null)throw Error(r(92));if(I(we)&&1<we.length)throw Error(r(93));L=""+we}return typeof L=="string"&&L[0]===`
|
|
10
10
|
`&&c.push(`
|
|
11
11
|
`),L!==null&&c.push(B(""+L)),null;case"input":c.push(_e("input")),xe=we=te=L=null;for(H in k)if(o.call(k,H)&&(Pe=k[H],Pe!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":xe=Pe;break;case"defaultValue":te=Pe;break;case"checked":we=Pe;break;case"value":L=Pe;break;default:ie(c,T,H,Pe)}return we!==null?ie(c,T,"checked",we):xe!==null&&ie(c,T,"checked",xe),L!==null?ie(c,T,"value",L):te!==null&&ie(c,T,"value",te),c.push("/>"),null;case"menuitem":c.push(_e("menuitem"));for(var kt in k)if(o.call(k,kt)&&(L=k[kt],L!=null))switch(kt){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:ie(c,T,kt,L)}return c.push(">"),null;case"title":c.push(_e("title")),L=null;for(He in k)if(o.call(k,He)&&(H=k[He],H!=null))switch(He){case"children":L=H;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:ie(c,T,He,H)}return c.push(">"),L;case"listing":case"pre":c.push(_e(y)),H=L=null;for(xe in k)if(o.call(k,xe)&&(te=k[xe],te!=null))switch(xe){case"children":L=te;break;case"dangerouslySetInnerHTML":H=te;break;default:ie(c,T,xe,te)}if(c.push(">"),H!=null){if(L!=null)throw Error(r(60));if(typeof H!="object"||!("__html"in H))throw Error(r(61));k=H.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
|
|
12
12
|
`?c.push(`
|
|
13
13
|
`,k):c.push(""+k))}return typeof L=="string"&&L[0]===`
|
|
14
14
|
`&&c.push(`
|
|
15
|
-
`),L;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":c.push(_e(y));for(var Et in k)if(o.call(k,Et)&&(L=k[Et],L!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,y));default:ie(c,T,Et,L)}return c.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 ae(c,k,y,T);case"html":return $.insertionMode===0&&c.push("<!DOCTYPE html>"),ae(c,k,y,T);default:if(y.indexOf("-")===-1&&typeof k.is!="string")return ae(c,k,y,T);c.push(_e(y)),H=L=null;for(Pe in k)if(o.call(k,Pe)&&(te=k[Pe],te!=null))switch(Pe){case"children":L=te;break;case"dangerouslySetInnerHTML":H=te;break;case"style":_(c,T,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:h(Pe)&&typeof te!="function"&&typeof te!="symbol"&&c.push(" ",Pe,'="',B(te),'"')}return c.push(">"),ce(c,H,L),L}}function Qe(c,y,k){if(c.push('<!--$?--><template id="'),k===null)throw Error(r(395));return c.push(k),c.push('"></template>')}function ke(c,y,k,T){switch(k.insertionMode){case 0:case 1:return c.push('<div hidden id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 2:return c.push('<svg aria-hidden="true" style="display:none" id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 3:return c.push('<math aria-hidden="true" style="display:none" id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 4:return c.push('<table hidden id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 5:return c.push('<table hidden><tbody id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 6:return c.push('<table hidden><tr id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 7:return c.push('<table hidden><colgroup id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');default:throw Error(r(397))}}function Ce(c,y){switch(y.insertionMode){case 0:case 1:return c.push("</div>");case 2:return c.push("</svg>");case 3:return c.push("</math>");case 4:return c.push("</table>");case 5:return c.push("</tbody></table>");case 6:return c.push("</tr></table>");case 7:return c.push("</colgroup></table>");default:throw Error(r(397))}}var je=/[<\u2028\u2029]/g;function Z(c){return JSON.stringify(c).replace(je,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")}})}function be(c,y){return y=y===void 0?"":y,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:y+"P:",segmentPrefix:y+"S:",boundaryPrefix:y+"B:",idPrefix:y,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:c}}function G(c,y,k,T){return k.generateStaticMarkup?(c.push(B(y)),!1):(y===""?c=T:(T&&c.push("<!-- -->"),c.push(B(y)),c=!0),c)}var J=Object.assign,fe=Symbol.for("react.element"),me=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Te=Symbol.for("react.context"),Ee=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),nt=Symbol.for("react.scope"),Lt=Symbol.for("react.debug_trace_mode"),Lr=Symbol.for("react.legacy_hidden"),so=Symbol.for("react.default_value"),jt=Symbol.iterator;function jr(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case pe:return"Fragment";case me:return"Portal";case se:return"Profiler";case ge:return"StrictMode";case Re:return"Suspense";case $e:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case Te:return(c.displayName||"Context")+".Consumer";case ue:return(c._context.displayName||"Context")+".Provider";case Ee:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case oe:return y=c.displayName||null,y!==null?y:jr(c.type)||"Memo";case Ue:y=c._payload,c=c._init;try{return jr(c(y))}catch{}}return null}var Nr={};function lo(c,y){if(c=c.contextTypes,!c)return Nr;var k={},T;for(T in c)k[T]=y[T];return k}var Nt=null;function mt(c,y){if(c!==y){c.context._currentValue2=c.parentValue,c=c.parent;var k=y.parent;if(c===null){if(k!==null)throw Error(r(401))}else{if(k===null)throw Error(r(401));mt(c,k)}y.context._currentValue2=y.value}}function ct(c){c.context._currentValue2=c.parentValue,c=c.parent,c!==null&&ct(c)}function kn(c){var y=c.parent;y!==null&&kn(y),c.context._currentValue2=c.value}function En(c,y){if(c.context._currentValue2=c.parentValue,c=c.parent,c===null)throw Error(r(402));c.depth===y.depth?mt(c,y):En(c,y)}function Cn(c,y){var k=y.parent;if(k===null)throw Error(r(402));c.depth===k.depth?mt(c,k):Cn(c,k),y.context._currentValue2=y.value}function at(c){var y=Nt;y!==c&&(y===null?kn(c):c===null?ct(y):y.depth===c.depth?mt(y,c):y.depth>c.depth?En(y,c):Cn(y,c),Nt=c)}var Tn={isMounted:function(){return!1},enqueueSetState:function(c,y){c=c._reactInternals,c.queue!==null&&c.queue.push(y)},enqueueReplaceState:function(c,y){c=c._reactInternals,c.replace=!0,c.queue=[y]},enqueueForceUpdate:function(){}};function uo(c,y,k,T){var $=c.state!==void 0?c.state:null;c.updater=Tn,c.props=k,c.state=$;var L={queue:[],replace:!1};c._reactInternals=L;var H=y.contextType;if(c.context=typeof H=="object"&&H!==null?H._currentValue2:T,H=y.getDerivedStateFromProps,typeof H=="function"&&(H=H(k,$),$=H==null?$:J({},$,H),c.state=$),typeof y.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&Tn.enqueueReplaceState(c,c.state,null),L.queue!==null&&0<L.queue.length)if(y=L.queue,H=L.replace,L.queue=null,L.replace=!1,H&&y.length===1)c.state=y[0];else{for(L=H?y[0]:c.state,$=!0,H=H?1:0;H<y.length;H++){var te=y[H];te=typeof te=="function"?te.call(c,L,k,T):te,te!=null&&($?($=!1,L=J({},L,te)):J(L,te))}c.state=L}else L.queue=null}var co={id:1,overflow:""};function Rn(c,y,k){var T=c.id;c=c.overflow;var $=32-en(T)-1;T&=~(1<<$),k+=1;var L=32-en(y)+$;if(30<L){var H=$-$%5;return L=(T&(1<<H)-1).toString(32),T>>=H,$-=H,{id:1<<32-en(y)+$|k<<$|T,overflow:L+c}}return{id:1<<L|k<<$|T,overflow:c}}var en=Math.clz32?Math.clz32:yr,si=Math.log,Pn=Math.LN2;function yr(c){return c>>>=0,c===0?32:31-(si(c)/Pn|0)|0}function An(c,y){return c===y&&(c!==0||1/c===1/y)||c!==c&&y!==y}var fo=typeof Object.is=="function"?Object.is:An,xt=null,Jt=null,br=null,Xe=null,xr=!1,tn=!1,$r=0,Kt=null,rn=0;function cr(){if(xt===null)throw Error(r(321));return xt}function ft(){if(0<rn)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function In(){return Xe===null?br===null?(xr=!1,br=Xe=ft()):(xr=!0,Xe=br):Xe.next===null?(xr=!1,Xe=Xe.next=ft()):(xr=!0,Xe=Xe.next),Xe}function On(){Jt=xt=null,tn=!1,br=null,rn=0,Xe=Kt=null}function po(c,y){return typeof y=="function"?y(c):y}function st(c,y,k){if(xt=cr(),Xe=In(),xr){var T=Xe.queue;if(y=T.dispatch,Kt!==null&&(k=Kt.get(T),k!==void 0)){Kt.delete(T),T=Xe.memoizedState;do T=c(T,k.action),k=k.next;while(k!==null);return Xe.memoizedState=T,[T,y]}return[Xe.memoizedState,y]}return c=c===po?typeof y=="function"?y():y:k!==void 0?k(y):y,Xe.memoizedState=c,c=Xe.queue={last:null,dispatch:null},c=c.dispatch=li.bind(null,xt,c),[Xe.memoizedState,c]}function Fn(c,y){if(xt=cr(),Xe=In(),y=y===void 0?null:y,Xe!==null){var k=Xe.memoizedState;if(k!==null&&y!==null){var T=k[1];e:if(T===null)T=!1;else{for(var $=0;$<T.length&&$<y.length;$++)if(!fo(y[$],T[$])){T=!1;break e}T=!0}if(T)return k[0]}}return c=c(),Xe.memoizedState=[c,y],c}function li(c,y,k){if(25<=rn)throw Error(r(301));if(c===xt)if(tn=!0,c={action:k,next:null},Kt===null&&(Kt=new Map),k=Kt.get(y),k===void 0)Kt.set(y,c);else{for(y=k;y.next!==null;)y=y.next;y.next=c}}function ui(){throw Error(r(394))}function Zt(){}var Mn={readContext:function(c){return c._currentValue2},useContext:function(c){return cr(),c._currentValue2},useMemo:Fn,useReducer:st,useRef:function(c){xt=cr(),Xe=In();var y=Xe.memoizedState;return y===null?(c={current:c},Xe.memoizedState=c):y},useState:function(c){return st(po,c)},useInsertionEffect:Zt,useLayoutEffect:function(){},useCallback:function(c,y){return Fn(function(){return c},y)},useImperativeHandle:Zt,useEffect:Zt,useDebugValue:Zt,useDeferredValue:function(c){return cr(),c},useTransition:function(){return cr(),[!1,ui]},useId:function(){var c=Jt.treeContext,y=c.overflow;c=c.id,c=(c&~(1<<32-en(c)-1)).toString(32)+y;var k=nn;if(k===null)throw Error(r(404));return y=$r++,c=":"+k.idPrefix+"R"+c,0<y&&(c+="H"+y.toString(32)),c+":"},useMutableSource:function(c,y){return cr(),y(c._source)},useSyncExternalStore:function(c,y,k){if(k===void 0)throw Error(r(407));return k()}},nn=null,wr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tt(c){return console.error(c),null}function er(){}function on(c,y,k,T,$,L,H,te,xe){var Pe=[],we=new Set;return y={destination:null,responseState:y,progressiveChunkSize:T===void 0?12800:T,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:we,pingedTasks:Pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?Tt:$,onAllReady:er,onShellReady:H===void 0?er:H,onShellError:er,onFatalError:er},k=kr(y,0,null,k,!1,!1),k.parentFlushed=!0,c=Sr(y,c,null,k,we,Nr,null,co),Pe.push(c),y}function Sr(c,y,k,T,$,L,H,te){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var xe={node:y,ping:function(){var Pe=c.pingedTasks;Pe.push(xe),Pe.length===1&&wt(c)},blockedBoundary:k,blockedSegment:T,abortSet:$,legacyContext:L,context:H,treeContext:te};return $.add(xe),xe}function kr(c,y,k,T,$,L){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:k,lastPushedText:$,textEmbedded:L}}function tr(c,y){if(c=c.onError(y),c!=null&&typeof c!="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 c+'" instead');return c}function Er(c,y){var k=c.onShellError;k(y),k=c.onFatalError,k(y),c.destination!==null?(c.status=2,c.destination.destroy(y)):(c.status=1,c.fatalError=y)}function Rt(c,y,k,T,$){for(xt={},Jt=y,$r=0,c=k(T,$);tn;)tn=!1,$r=0,rn+=1,Xe=null,c=k(T,$);return On(),c}function ho(c,y,k,T){var $=k.render(),L=T.childContextTypes;if(L!=null){var H=y.legacyContext;if(typeof k.getChildContext!="function")T=H;else{k=k.getChildContext();for(var te in k)if(!(te in L))throw Error(r(108,jr(T)||"Unknown",te));T=J({},H,k)}y.legacyContext=T,lt(c,y,$),y.legacyContext=H}else lt(c,y,$)}function mo(c,y){if(c&&c.defaultProps){y=J({},y),c=c.defaultProps;for(var k in c)y[k]===void 0&&(y[k]=c[k]);return y}return y}function fr(c,y,k,T,$){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){$=lo(k,y.legacyContext);var L=k.contextType;L=new k(T,typeof L=="object"&&L!==null?L._currentValue2:$),uo(L,k,T,$),ho(c,y,L,k)}else{L=lo(k,y.legacyContext),$=Rt(c,y,k,T,L);var H=$r!==0;if(typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0)uo($,k,T,L),ho(c,y,$,k);else if(H){T=y.treeContext,y.treeContext=Rn(T,1,0);try{lt(c,y,$)}finally{y.treeContext=T}}else lt(c,y,$)}else if(typeof k=="string"){switch($=y.blockedSegment,L=Ge($.chunks,k,T,c.responseState,$.formatContext),$.lastPushedText=!1,H=$.formatContext,$.formatContext=U(H,k,T),nr(c,y,L),$.formatContext=H,k){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:$.chunks.push("</",k,">")}$.lastPushedText=!1}else{switch(k){case Lr:case Lt:case ge:case se:case pe:lt(c,y,T.children);return;case $e:lt(c,y,T.children);return;case nt:throw Error(r(343));case Re:e:{k=y.blockedBoundary,$=y.blockedSegment,L=T.fallback,T=T.children,H=new Set;var te={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},xe=kr(c,$.chunks.length,te,$.formatContext,!1,!1);$.children.push(xe),$.lastPushedText=!1;var Pe=kr(c,0,null,$.formatContext,!1,!1);Pe.parentFlushed=!0,y.blockedBoundary=te,y.blockedSegment=Pe;try{if(nr(c,y,T),c.responseState.generateStaticMarkup||Pe.lastPushedText&&Pe.textEmbedded&&Pe.chunks.push("<!-- -->"),Pe.status=1,$t(te,Pe),te.pendingTasks===0)break e}catch(we){Pe.status=4,te.forceClientRender=!0,te.errorDigest=tr(c,we)}finally{y.blockedBoundary=k,y.blockedSegment=$}y=Sr(c,L,k,xe,H,y.legacyContext,y.context,y.treeContext),c.pingedTasks.push(y)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case Ee:if(T=Rt(c,y,k.render,T,$),$r!==0){k=y.treeContext,y.treeContext=Rn(k,1,0);try{lt(c,y,T)}finally{y.treeContext=k}}else lt(c,y,T);return;case oe:k=k.type,T=mo(k,T),fr(c,y,k,T,$);return;case ue:if($=T.children,k=k._context,T=T.value,L=k._currentValue2,k._currentValue2=T,H=Nt,Nt=T={parent:H,depth:H===null?0:H.depth+1,context:k,parentValue:L,value:T},y.context=T,lt(c,y,$),c=Nt,c===null)throw Error(r(403));T=c.parentValue,c.context._currentValue2=T===so?c.context._defaultValue:T,c=Nt=c.parent,y.context=c;return;case Te:T=T.children,T=T(k._currentValue2),lt(c,y,T);return;case Ue:$=k._init,k=$(k._payload),T=mo(k,T),fr(c,y,k,T,void 0);return}throw Error(r(130,k==null?k:typeof k,""))}}function lt(c,y,k){if(y.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case fe:fr(c,y,k.type,k.props,k.ref);return;case me:throw Error(r(257));case Ue:var T=k._init;k=T(k._payload),lt(c,y,k);return}if(I(k)){rr(c,y,k);return}if(k===null||typeof k!="object"?T=null:(T=jt&&k[jt]||k["@@iterator"],T=typeof T=="function"?T:null),T&&(T=T.call(k))){if(k=T.next(),!k.done){var $=[];do $.push(k.value),k=T.next();while(!k.done);rr(c,y,$)}return}throw c=Object.prototype.toString.call(k),Error(r(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(T=y.blockedSegment,T.lastPushedText=G(y.blockedSegment.chunks,k,c.responseState,T.lastPushedText)):typeof k=="number"&&(T=y.blockedSegment,T.lastPushedText=G(y.blockedSegment.chunks,""+k,c.responseState,T.lastPushedText))}function rr(c,y,k){for(var T=k.length,$=0;$<T;$++){var L=y.treeContext;y.treeContext=Rn(L,T,$);try{nr(c,y,k[$])}finally{y.treeContext=L}}}function nr(c,y,k){var T=y.blockedSegment.formatContext,$=y.legacyContext,L=y.context;try{return lt(c,y,k)}catch(xe){if(On(),typeof xe=="object"&&xe!==null&&typeof xe.then=="function"){k=xe;var H=y.blockedSegment,te=kr(c,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(te),H.lastPushedText=!1,c=Sr(c,y.node,y.blockedBoundary,te,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,k.then(c,c),y.blockedSegment.formatContext=T,y.legacyContext=$,y.context=L,at(L)}else throw y.blockedSegment.formatContext=T,y.legacyContext=$,y.context=L,at(L),xe}}function Cr(c){var y=c.blockedBoundary;c=c.blockedSegment,c.status=3,or(this,y,c)}function an(c,y,k){var T=c.blockedBoundary;c.blockedSegment.status=3,T===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.push(null))):(T.pendingTasks--,T.forceClientRender||(T.forceClientRender=!0,c=k===void 0?Error(r(432)):k,T.errorDigest=y.onError(c),T.parentFlushed&&y.clientRenderedBoundaries.push(T)),T.fallbackAbortableTasks.forEach(function($){return an($,y,k)}),T.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(T=y.onAllReady,T()))}function $t(c,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var k=y.children[0];k.id=y.id,k.parentFlushed=!0,k.status===1&&$t(c,k)}else c.completedSegments.push(y)}function or(c,y,k){if(y===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(r(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=er,y=c.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(k.parentFlushed&&k.status===1&&$t(y,k),y.parentFlushed&&c.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(Cr,c),y.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($t(y,k),y.completedSegments.length===1&&y.parentFlushed&&c.partialBoundaries.push(y)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function wt(c){if(c.status!==2){var y=Nt,k=wr.current;wr.current=Mn;var T=nn;nn=c.responseState;try{var $=c.pingedTasks,L;for(L=0;L<$.length;L++){var H=$[L],te=c,xe=H.blockedSegment;if(xe.status===0){at(H.context);try{lt(te,H,H.node),te.responseState.generateStaticMarkup||xe.lastPushedText&&xe.textEmbedded&&xe.chunks.push("<!-- -->"),H.abortSet.delete(H),xe.status=1,or(te,H.blockedBoundary,xe)}catch(Ct){if(On(),typeof Ct=="object"&&Ct!==null&&typeof Ct.then=="function"){var Pe=H.ping;Ct.then(Pe,Pe)}else{H.abortSet.delete(H),xe.status=4;var we=H.blockedBoundary,He=Ct,kt=tr(te,He);if(we===null?Er(te,He):(we.pendingTasks--,we.forceClientRender||(we.forceClientRender=!0,we.errorDigest=kt,we.parentFlushed&&te.clientRenderedBoundaries.push(we))),te.allPendingTasks--,te.allPendingTasks===0){var Et=te.onAllReady;Et()}}}finally{}}}$.splice(0,L),c.destination!==null&&St(c,c.destination)}catch(Ct){tr(c,Ct),Er(c,Ct)}finally{nn=T,wr.current=k,k===Mn&&at(y)}}}function Tr(c,y,k){switch(k.parentFlushed=!0,k.status){case 0:var T=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,y.push('<template id="'),y.push(c.placeholderPrefix),c=T.toString(16),y.push(c),y.push('"></template>');case 1:k.status=2;var $=!0;T=k.chunks;var L=0;k=k.children;for(var H=0;H<k.length;H++){for($=k[H];L<$.index;L++)y.push(T[L]);$=zr(c,y,$)}for(;L<T.length-1;L++)y.push(T[L]);return L<T.length&&($=y.push(T[L])),$;default:throw Error(r(390))}}function zr(c,y,k){var T=k.boundary;if(T===null)return Tr(c,y,k);if(T.parentFlushed=!0,T.forceClientRender)return c.responseState.generateStaticMarkup||(T=T.errorDigest,y.push("<!--$!-->"),y.push("<template"),T&&(y.push(' data-dgst="'),T=B(T),y.push(T),y.push('"')),y.push("></template>")),Tr(c,y,k),c=c.responseState.generateStaticMarkup?!0:y.push("<!--/$-->"),c;if(0<T.pendingTasks){T.rootSegmentID=c.nextSegmentId++,0<T.completedSegments.length&&c.partialBoundaries.push(T);var $=c.responseState,L=$.nextSuspenseID++;return $=$.boundaryPrefix+L.toString(16),T=T.id=$,Qe(y,c.responseState,T),Tr(c,y,k),y.push("<!--/$-->")}if(T.byteSize>c.progressiveChunkSize)return T.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(T),Qe(y,c.responseState,T.id),Tr(c,y,k),y.push("<!--/$-->");if(c.responseState.generateStaticMarkup||y.push("<!--$-->"),k=T.completedSegments,k.length!==1)throw Error(r(391));return zr(c,y,k[0]),c=c.responseState.generateStaticMarkup?!0:y.push("<!--/$-->"),c}function sn(c,y,k){return ke(y,c.responseState,k.formatContext,k.id),zr(c,y,k),Ce(y,k.formatContext)}function Ft(c,y,k){for(var T=k.completedSegments,$=0;$<T.length;$++)ir(c,y,k,T[$]);if(T.length=0,c=c.responseState,T=k.id,k=k.rootSegmentID,y.push(c.startInlineScript),c.sentCompleteBoundaryFunction?y.push('$RC("'):(c.sentCompleteBoundaryFunction=!0,y.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("')),T===null)throw Error(r(395));return k=k.toString(16),y.push(T),y.push('","'),y.push(c.segmentPrefix),y.push(k),y.push('")<\/script>')}function ir(c,y,k,T){if(T.status===2)return!0;var $=T.id;if($===-1){if((T.id=k.rootSegmentID)===-1)throw Error(r(392));return sn(c,y,T)}return sn(c,y,T),c=c.responseState,y.push(c.startInlineScript),c.sentCompleteSegmentFunction?y.push('$RS("'):(c.sentCompleteSegmentFunction=!0,y.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("')),y.push(c.segmentPrefix),$=$.toString(16),y.push($),y.push('","'),y.push(c.placeholderPrefix),y.push($),y.push('")<\/script>')}function St(c,y){try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){zr(c,y,k),c.completedRootSegment=null;var T=c.responseState.bootstrapChunks;for(k=0;k<T.length-1;k++)y.push(T[k]);k<T.length&&y.push(T[k])}var $=c.clientRenderedBoundaries,L;for(L=0;L<$.length;L++){var H=$[L];T=y;var te=c.responseState,xe=H.id,Pe=H.errorDigest,we=H.errorMessage,He=H.errorComponentStack;if(T.push(te.startInlineScript),te.sentClientRenderFunction?T.push('$RX("'):(te.sentClientRenderFunction=!0,T.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("')),xe===null)throw Error(r(395));if(T.push(xe),T.push('"'),Pe||we||He){T.push(",");var kt=Z(Pe||"");T.push(kt)}if(we||He){T.push(",");var Et=Z(we||"");T.push(Et)}if(He){T.push(",");var Ct=Z(He);T.push(Ct)}if(!T.push(")<\/script>")){c.destination=null,L++,$.splice(0,L);return}}$.splice(0,L);var Rr=c.completedBoundaries;for(L=0;L<Rr.length;L++)if(!Ft(c,y,Rr[L])){c.destination=null,L++,Rr.splice(0,L);return}Rr.splice(0,L);var ar=c.partialBoundaries;for(L=0;L<ar.length;L++){var un=ar[L];e:{$=c,H=y;var Pr=un.completedSegments;for(te=0;te<Pr.length;te++)if(!ir($,H,un,Pr[te])){te++,Pr.splice(0,te);var Br=!1;break e}Pr.splice(0,te),Br=!0}if(!Br){c.destination=null,L++,ar.splice(0,L);return}}ar.splice(0,L);var dr=c.completedBoundaries;for(L=0;L<dr.length;L++)if(!Ft(c,y,dr[L])){c.destination=null,L++,dr.splice(0,L);return}dr.splice(0,L)}finally{c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&y.push(null)}}function ln(c,y){try{var k=c.abortableTasks;k.forEach(function(T){return an(T,c,y)}),k.clear(),c.destination!==null&&St(c,c.destination)}catch(T){tr(c,T),Er(c,T)}}function ht(){}function Pt(c,y,k,T){var $=!1,L=null,H="",te={push:function(Pe){return Pe!==null&&(H+=Pe),!0},destroy:function(Pe){$=!0,L=Pe}},xe=!1;if(c=on(c,be(k,y?y.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ht,void 0,function(){xe=!0}),wt(c),ln(c,T),c.status===1)c.status=2,te.destroy(c.fatalError);else if(c.status!==2&&c.destination===null){c.destination=te;try{St(c,te)}catch(Pe){tr(c,Pe),Er(c,Pe)}}if($)throw L;if(!xe)throw Error(r(426));return H}return Ui.renderToNodeStream=function(){throw Error(r(207))},Ui.renderToStaticMarkup=function(c,y){return Pt(c,y,!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')},Ui.renderToStaticNodeStream=function(){throw Error(r(208))},Ui.renderToString=function(c,y){return Pt(c,y,!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')},Ui.version="18.3.1",Ui}var $u={};/**
|
|
15
|
+
`),L;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":c.push(_e(y));for(var Et in k)if(o.call(k,Et)&&(L=k[Et],L!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,y));default:ie(c,T,Et,L)}return c.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 ae(c,k,y,T);case"html":return $.insertionMode===0&&c.push("<!DOCTYPE html>"),ae(c,k,y,T);default:if(y.indexOf("-")===-1&&typeof k.is!="string")return ae(c,k,y,T);c.push(_e(y)),H=L=null;for(Pe in k)if(o.call(k,Pe)&&(te=k[Pe],te!=null))switch(Pe){case"children":L=te;break;case"dangerouslySetInnerHTML":H=te;break;case"style":_(c,T,te);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:h(Pe)&&typeof te!="function"&&typeof te!="symbol"&&c.push(" ",Pe,'="',B(te),'"')}return c.push(">"),ce(c,H,L),L}}function Qe(c,y,k){if(c.push('<!--$?--><template id="'),k===null)throw Error(r(395));return c.push(k),c.push('"></template>')}function ke(c,y,k,T){switch(k.insertionMode){case 0:case 1:return c.push('<div hidden id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 2:return c.push('<svg aria-hidden="true" style="display:none" id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 3:return c.push('<math aria-hidden="true" style="display:none" id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 4:return c.push('<table hidden id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 5:return c.push('<table hidden><tbody id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 6:return c.push('<table hidden><tr id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');case 7:return c.push('<table hidden><colgroup id="'),c.push(y.segmentPrefix),y=T.toString(16),c.push(y),c.push('">');default:throw Error(r(397))}}function Ce(c,y){switch(y.insertionMode){case 0:case 1:return c.push("</div>");case 2:return c.push("</svg>");case 3:return c.push("</math>");case 4:return c.push("</table>");case 5:return c.push("</tbody></table>");case 6:return c.push("</tr></table>");case 7:return c.push("</colgroup></table>");default:throw Error(r(397))}}var je=/[<\u2028\u2029]/g;function Z(c){return JSON.stringify(c).replace(je,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")}})}function be(c,y){return y=y===void 0?"":y,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:y+"P:",segmentPrefix:y+"S:",boundaryPrefix:y+"B:",idPrefix:y,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:c}}function Q(c,y,k,T){return k.generateStaticMarkup?(c.push(B(y)),!1):(y===""?c=T:(T&&c.push("<!-- -->"),c.push(B(y)),c=!0),c)}var J=Object.assign,fe=Symbol.for("react.element"),me=Symbol.for("react.portal"),pe=Symbol.for("react.fragment"),ge=Symbol.for("react.strict_mode"),se=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),Te=Symbol.for("react.context"),Ee=Symbol.for("react.forward_ref"),Re=Symbol.for("react.suspense"),$e=Symbol.for("react.suspense_list"),oe=Symbol.for("react.memo"),Ue=Symbol.for("react.lazy"),nt=Symbol.for("react.scope"),Lt=Symbol.for("react.debug_trace_mode"),Lr=Symbol.for("react.legacy_hidden"),so=Symbol.for("react.default_value"),jt=Symbol.iterator;function jr(c){if(c==null)return null;if(typeof c=="function")return c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case pe:return"Fragment";case me:return"Portal";case se:return"Profiler";case ge:return"StrictMode";case Re:return"Suspense";case $e:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case Te:return(c.displayName||"Context")+".Consumer";case ue:return(c._context.displayName||"Context")+".Provider";case Ee:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case oe:return y=c.displayName||null,y!==null?y:jr(c.type)||"Memo";case Ue:y=c._payload,c=c._init;try{return jr(c(y))}catch{}}return null}var Nr={};function lo(c,y){if(c=c.contextTypes,!c)return Nr;var k={},T;for(T in c)k[T]=y[T];return k}var Nt=null;function mt(c,y){if(c!==y){c.context._currentValue2=c.parentValue,c=c.parent;var k=y.parent;if(c===null){if(k!==null)throw Error(r(401))}else{if(k===null)throw Error(r(401));mt(c,k)}y.context._currentValue2=y.value}}function ct(c){c.context._currentValue2=c.parentValue,c=c.parent,c!==null&&ct(c)}function kn(c){var y=c.parent;y!==null&&kn(y),c.context._currentValue2=c.value}function En(c,y){if(c.context._currentValue2=c.parentValue,c=c.parent,c===null)throw Error(r(402));c.depth===y.depth?mt(c,y):En(c,y)}function Cn(c,y){var k=y.parent;if(k===null)throw Error(r(402));c.depth===k.depth?mt(c,k):Cn(c,k),y.context._currentValue2=y.value}function at(c){var y=Nt;y!==c&&(y===null?kn(c):c===null?ct(y):y.depth===c.depth?mt(y,c):y.depth>c.depth?En(y,c):Cn(y,c),Nt=c)}var Tn={isMounted:function(){return!1},enqueueSetState:function(c,y){c=c._reactInternals,c.queue!==null&&c.queue.push(y)},enqueueReplaceState:function(c,y){c=c._reactInternals,c.replace=!0,c.queue=[y]},enqueueForceUpdate:function(){}};function uo(c,y,k,T){var $=c.state!==void 0?c.state:null;c.updater=Tn,c.props=k,c.state=$;var L={queue:[],replace:!1};c._reactInternals=L;var H=y.contextType;if(c.context=typeof H=="object"&&H!==null?H._currentValue2:T,H=y.getDerivedStateFromProps,typeof H=="function"&&(H=H(k,$),$=H==null?$:J({},$,H),c.state=$),typeof y.getDerivedStateFromProps!="function"&&typeof c.getSnapshotBeforeUpdate!="function"&&(typeof c.UNSAFE_componentWillMount=="function"||typeof c.componentWillMount=="function"))if(y=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),y!==c.state&&Tn.enqueueReplaceState(c,c.state,null),L.queue!==null&&0<L.queue.length)if(y=L.queue,H=L.replace,L.queue=null,L.replace=!1,H&&y.length===1)c.state=y[0];else{for(L=H?y[0]:c.state,$=!0,H=H?1:0;H<y.length;H++){var te=y[H];te=typeof te=="function"?te.call(c,L,k,T):te,te!=null&&($?($=!1,L=J({},L,te)):J(L,te))}c.state=L}else L.queue=null}var co={id:1,overflow:""};function Rn(c,y,k){var T=c.id;c=c.overflow;var $=32-en(T)-1;T&=~(1<<$),k+=1;var L=32-en(y)+$;if(30<L){var H=$-$%5;return L=(T&(1<<H)-1).toString(32),T>>=H,$-=H,{id:1<<32-en(y)+$|k<<$|T,overflow:L+c}}return{id:1<<L|k<<$|T,overflow:c}}var en=Math.clz32?Math.clz32:yr,li=Math.log,Pn=Math.LN2;function yr(c){return c>>>=0,c===0?32:31-(li(c)/Pn|0)|0}function An(c,y){return c===y&&(c!==0||1/c===1/y)||c!==c&&y!==y}var fo=typeof Object.is=="function"?Object.is:An,xt=null,Jt=null,br=null,Xe=null,xr=!1,tn=!1,$r=0,Kt=null,rn=0;function cr(){if(xt===null)throw Error(r(321));return xt}function ft(){if(0<rn)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function In(){return Xe===null?br===null?(xr=!1,br=Xe=ft()):(xr=!0,Xe=br):Xe.next===null?(xr=!1,Xe=Xe.next=ft()):(xr=!0,Xe=Xe.next),Xe}function On(){Jt=xt=null,tn=!1,br=null,rn=0,Xe=Kt=null}function po(c,y){return typeof y=="function"?y(c):y}function st(c,y,k){if(xt=cr(),Xe=In(),xr){var T=Xe.queue;if(y=T.dispatch,Kt!==null&&(k=Kt.get(T),k!==void 0)){Kt.delete(T),T=Xe.memoizedState;do T=c(T,k.action),k=k.next;while(k!==null);return Xe.memoizedState=T,[T,y]}return[Xe.memoizedState,y]}return c=c===po?typeof y=="function"?y():y:k!==void 0?k(y):y,Xe.memoizedState=c,c=Xe.queue={last:null,dispatch:null},c=c.dispatch=ui.bind(null,xt,c),[Xe.memoizedState,c]}function Fn(c,y){if(xt=cr(),Xe=In(),y=y===void 0?null:y,Xe!==null){var k=Xe.memoizedState;if(k!==null&&y!==null){var T=k[1];e:if(T===null)T=!1;else{for(var $=0;$<T.length&&$<y.length;$++)if(!fo(y[$],T[$])){T=!1;break e}T=!0}if(T)return k[0]}}return c=c(),Xe.memoizedState=[c,y],c}function ui(c,y,k){if(25<=rn)throw Error(r(301));if(c===xt)if(tn=!0,c={action:k,next:null},Kt===null&&(Kt=new Map),k=Kt.get(y),k===void 0)Kt.set(y,c);else{for(y=k;y.next!==null;)y=y.next;y.next=c}}function ci(){throw Error(r(394))}function Zt(){}var Mn={readContext:function(c){return c._currentValue2},useContext:function(c){return cr(),c._currentValue2},useMemo:Fn,useReducer:st,useRef:function(c){xt=cr(),Xe=In();var y=Xe.memoizedState;return y===null?(c={current:c},Xe.memoizedState=c):y},useState:function(c){return st(po,c)},useInsertionEffect:Zt,useLayoutEffect:function(){},useCallback:function(c,y){return Fn(function(){return c},y)},useImperativeHandle:Zt,useEffect:Zt,useDebugValue:Zt,useDeferredValue:function(c){return cr(),c},useTransition:function(){return cr(),[!1,ci]},useId:function(){var c=Jt.treeContext,y=c.overflow;c=c.id,c=(c&~(1<<32-en(c)-1)).toString(32)+y;var k=nn;if(k===null)throw Error(r(404));return y=$r++,c=":"+k.idPrefix+"R"+c,0<y&&(c+="H"+y.toString(32)),c+":"},useMutableSource:function(c,y){return cr(),y(c._source)},useSyncExternalStore:function(c,y,k){if(k===void 0)throw Error(r(407));return k()}},nn=null,wr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Tt(c){return console.error(c),null}function er(){}function on(c,y,k,T,$,L,H,te,xe){var Pe=[],we=new Set;return y={destination:null,responseState:y,progressiveChunkSize:T===void 0?12800:T,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:we,pingedTasks:Pe,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:$===void 0?Tt:$,onAllReady:er,onShellReady:H===void 0?er:H,onShellError:er,onFatalError:er},k=kr(y,0,null,k,!1,!1),k.parentFlushed=!0,c=Sr(y,c,null,k,we,Nr,null,co),Pe.push(c),y}function Sr(c,y,k,T,$,L,H,te){c.allPendingTasks++,k===null?c.pendingRootTasks++:k.pendingTasks++;var xe={node:y,ping:function(){var Pe=c.pingedTasks;Pe.push(xe),Pe.length===1&&wt(c)},blockedBoundary:k,blockedSegment:T,abortSet:$,legacyContext:L,context:H,treeContext:te};return $.add(xe),xe}function kr(c,y,k,T,$,L){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:T,boundary:k,lastPushedText:$,textEmbedded:L}}function tr(c,y){if(c=c.onError(y),c!=null&&typeof c!="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 c+'" instead');return c}function Er(c,y){var k=c.onShellError;k(y),k=c.onFatalError,k(y),c.destination!==null?(c.status=2,c.destination.destroy(y)):(c.status=1,c.fatalError=y)}function Rt(c,y,k,T,$){for(xt={},Jt=y,$r=0,c=k(T,$);tn;)tn=!1,$r=0,rn+=1,Xe=null,c=k(T,$);return On(),c}function ho(c,y,k,T){var $=k.render(),L=T.childContextTypes;if(L!=null){var H=y.legacyContext;if(typeof k.getChildContext!="function")T=H;else{k=k.getChildContext();for(var te in k)if(!(te in L))throw Error(r(108,jr(T)||"Unknown",te));T=J({},H,k)}y.legacyContext=T,lt(c,y,$),y.legacyContext=H}else lt(c,y,$)}function mo(c,y){if(c&&c.defaultProps){y=J({},y),c=c.defaultProps;for(var k in c)y[k]===void 0&&(y[k]=c[k]);return y}return y}function fr(c,y,k,T,$){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){$=lo(k,y.legacyContext);var L=k.contextType;L=new k(T,typeof L=="object"&&L!==null?L._currentValue2:$),uo(L,k,T,$),ho(c,y,L,k)}else{L=lo(k,y.legacyContext),$=Rt(c,y,k,T,L);var H=$r!==0;if(typeof $=="object"&&$!==null&&typeof $.render=="function"&&$.$$typeof===void 0)uo($,k,T,L),ho(c,y,$,k);else if(H){T=y.treeContext,y.treeContext=Rn(T,1,0);try{lt(c,y,$)}finally{y.treeContext=T}}else lt(c,y,$)}else if(typeof k=="string"){switch($=y.blockedSegment,L=Ge($.chunks,k,T,c.responseState,$.formatContext),$.lastPushedText=!1,H=$.formatContext,$.formatContext=U(H,k,T),nr(c,y,L),$.formatContext=H,k){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:$.chunks.push("</",k,">")}$.lastPushedText=!1}else{switch(k){case Lr:case Lt:case ge:case se:case pe:lt(c,y,T.children);return;case $e:lt(c,y,T.children);return;case nt:throw Error(r(343));case Re:e:{k=y.blockedBoundary,$=y.blockedSegment,L=T.fallback,T=T.children,H=new Set;var te={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:H,errorDigest:null},xe=kr(c,$.chunks.length,te,$.formatContext,!1,!1);$.children.push(xe),$.lastPushedText=!1;var Pe=kr(c,0,null,$.formatContext,!1,!1);Pe.parentFlushed=!0,y.blockedBoundary=te,y.blockedSegment=Pe;try{if(nr(c,y,T),c.responseState.generateStaticMarkup||Pe.lastPushedText&&Pe.textEmbedded&&Pe.chunks.push("<!-- -->"),Pe.status=1,$t(te,Pe),te.pendingTasks===0)break e}catch(we){Pe.status=4,te.forceClientRender=!0,te.errorDigest=tr(c,we)}finally{y.blockedBoundary=k,y.blockedSegment=$}y=Sr(c,L,k,xe,H,y.legacyContext,y.context,y.treeContext),c.pingedTasks.push(y)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case Ee:if(T=Rt(c,y,k.render,T,$),$r!==0){k=y.treeContext,y.treeContext=Rn(k,1,0);try{lt(c,y,T)}finally{y.treeContext=k}}else lt(c,y,T);return;case oe:k=k.type,T=mo(k,T),fr(c,y,k,T,$);return;case ue:if($=T.children,k=k._context,T=T.value,L=k._currentValue2,k._currentValue2=T,H=Nt,Nt=T={parent:H,depth:H===null?0:H.depth+1,context:k,parentValue:L,value:T},y.context=T,lt(c,y,$),c=Nt,c===null)throw Error(r(403));T=c.parentValue,c.context._currentValue2=T===so?c.context._defaultValue:T,c=Nt=c.parent,y.context=c;return;case Te:T=T.children,T=T(k._currentValue2),lt(c,y,T);return;case Ue:$=k._init,k=$(k._payload),T=mo(k,T),fr(c,y,k,T,void 0);return}throw Error(r(130,k==null?k:typeof k,""))}}function lt(c,y,k){if(y.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case fe:fr(c,y,k.type,k.props,k.ref);return;case me:throw Error(r(257));case Ue:var T=k._init;k=T(k._payload),lt(c,y,k);return}if(I(k)){rr(c,y,k);return}if(k===null||typeof k!="object"?T=null:(T=jt&&k[jt]||k["@@iterator"],T=typeof T=="function"?T:null),T&&(T=T.call(k))){if(k=T.next(),!k.done){var $=[];do $.push(k.value),k=T.next();while(!k.done);rr(c,y,$)}return}throw c=Object.prototype.toString.call(k),Error(r(31,c==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":c))}typeof k=="string"?(T=y.blockedSegment,T.lastPushedText=Q(y.blockedSegment.chunks,k,c.responseState,T.lastPushedText)):typeof k=="number"&&(T=y.blockedSegment,T.lastPushedText=Q(y.blockedSegment.chunks,""+k,c.responseState,T.lastPushedText))}function rr(c,y,k){for(var T=k.length,$=0;$<T;$++){var L=y.treeContext;y.treeContext=Rn(L,T,$);try{nr(c,y,k[$])}finally{y.treeContext=L}}}function nr(c,y,k){var T=y.blockedSegment.formatContext,$=y.legacyContext,L=y.context;try{return lt(c,y,k)}catch(xe){if(On(),typeof xe=="object"&&xe!==null&&typeof xe.then=="function"){k=xe;var H=y.blockedSegment,te=kr(c,H.chunks.length,null,H.formatContext,H.lastPushedText,!0);H.children.push(te),H.lastPushedText=!1,c=Sr(c,y.node,y.blockedBoundary,te,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,k.then(c,c),y.blockedSegment.formatContext=T,y.legacyContext=$,y.context=L,at(L)}else throw y.blockedSegment.formatContext=T,y.legacyContext=$,y.context=L,at(L),xe}}function Cr(c){var y=c.blockedBoundary;c=c.blockedSegment,c.status=3,or(this,y,c)}function an(c,y,k){var T=c.blockedBoundary;c.blockedSegment.status=3,T===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.push(null))):(T.pendingTasks--,T.forceClientRender||(T.forceClientRender=!0,c=k===void 0?Error(r(432)):k,T.errorDigest=y.onError(c),T.parentFlushed&&y.clientRenderedBoundaries.push(T)),T.fallbackAbortableTasks.forEach(function($){return an($,y,k)}),T.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(T=y.onAllReady,T()))}function $t(c,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var k=y.children[0];k.id=y.id,k.parentFlushed=!0,k.status===1&&$t(c,k)}else c.completedSegments.push(y)}function or(c,y,k){if(y===null){if(k.parentFlushed){if(c.completedRootSegment!==null)throw Error(r(389));c.completedRootSegment=k}c.pendingRootTasks--,c.pendingRootTasks===0&&(c.onShellError=er,y=c.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(k.parentFlushed&&k.status===1&&$t(y,k),y.parentFlushed&&c.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(Cr,c),y.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&($t(y,k),y.completedSegments.length===1&&y.parentFlushed&&c.partialBoundaries.push(y)));c.allPendingTasks--,c.allPendingTasks===0&&(c=c.onAllReady,c())}function wt(c){if(c.status!==2){var y=Nt,k=wr.current;wr.current=Mn;var T=nn;nn=c.responseState;try{var $=c.pingedTasks,L;for(L=0;L<$.length;L++){var H=$[L],te=c,xe=H.blockedSegment;if(xe.status===0){at(H.context);try{lt(te,H,H.node),te.responseState.generateStaticMarkup||xe.lastPushedText&&xe.textEmbedded&&xe.chunks.push("<!-- -->"),H.abortSet.delete(H),xe.status=1,or(te,H.blockedBoundary,xe)}catch(Ct){if(On(),typeof Ct=="object"&&Ct!==null&&typeof Ct.then=="function"){var Pe=H.ping;Ct.then(Pe,Pe)}else{H.abortSet.delete(H),xe.status=4;var we=H.blockedBoundary,He=Ct,kt=tr(te,He);if(we===null?Er(te,He):(we.pendingTasks--,we.forceClientRender||(we.forceClientRender=!0,we.errorDigest=kt,we.parentFlushed&&te.clientRenderedBoundaries.push(we))),te.allPendingTasks--,te.allPendingTasks===0){var Et=te.onAllReady;Et()}}}finally{}}}$.splice(0,L),c.destination!==null&&St(c,c.destination)}catch(Ct){tr(c,Ct),Er(c,Ct)}finally{nn=T,wr.current=k,k===Mn&&at(y)}}}function Tr(c,y,k){switch(k.parentFlushed=!0,k.status){case 0:var T=k.id=c.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,c=c.responseState,y.push('<template id="'),y.push(c.placeholderPrefix),c=T.toString(16),y.push(c),y.push('"></template>');case 1:k.status=2;var $=!0;T=k.chunks;var L=0;k=k.children;for(var H=0;H<k.length;H++){for($=k[H];L<$.index;L++)y.push(T[L]);$=zr(c,y,$)}for(;L<T.length-1;L++)y.push(T[L]);return L<T.length&&($=y.push(T[L])),$;default:throw Error(r(390))}}function zr(c,y,k){var T=k.boundary;if(T===null)return Tr(c,y,k);if(T.parentFlushed=!0,T.forceClientRender)return c.responseState.generateStaticMarkup||(T=T.errorDigest,y.push("<!--$!-->"),y.push("<template"),T&&(y.push(' data-dgst="'),T=B(T),y.push(T),y.push('"')),y.push("></template>")),Tr(c,y,k),c=c.responseState.generateStaticMarkup?!0:y.push("<!--/$-->"),c;if(0<T.pendingTasks){T.rootSegmentID=c.nextSegmentId++,0<T.completedSegments.length&&c.partialBoundaries.push(T);var $=c.responseState,L=$.nextSuspenseID++;return $=$.boundaryPrefix+L.toString(16),T=T.id=$,Qe(y,c.responseState,T),Tr(c,y,k),y.push("<!--/$-->")}if(T.byteSize>c.progressiveChunkSize)return T.rootSegmentID=c.nextSegmentId++,c.completedBoundaries.push(T),Qe(y,c.responseState,T.id),Tr(c,y,k),y.push("<!--/$-->");if(c.responseState.generateStaticMarkup||y.push("<!--$-->"),k=T.completedSegments,k.length!==1)throw Error(r(391));return zr(c,y,k[0]),c=c.responseState.generateStaticMarkup?!0:y.push("<!--/$-->"),c}function sn(c,y,k){return ke(y,c.responseState,k.formatContext,k.id),zr(c,y,k),Ce(y,k.formatContext)}function Ft(c,y,k){for(var T=k.completedSegments,$=0;$<T.length;$++)ir(c,y,k,T[$]);if(T.length=0,c=c.responseState,T=k.id,k=k.rootSegmentID,y.push(c.startInlineScript),c.sentCompleteBoundaryFunction?y.push('$RC("'):(c.sentCompleteBoundaryFunction=!0,y.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("')),T===null)throw Error(r(395));return k=k.toString(16),y.push(T),y.push('","'),y.push(c.segmentPrefix),y.push(k),y.push('")<\/script>')}function ir(c,y,k,T){if(T.status===2)return!0;var $=T.id;if($===-1){if((T.id=k.rootSegmentID)===-1)throw Error(r(392));return sn(c,y,T)}return sn(c,y,T),c=c.responseState,y.push(c.startInlineScript),c.sentCompleteSegmentFunction?y.push('$RS("'):(c.sentCompleteSegmentFunction=!0,y.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("')),y.push(c.segmentPrefix),$=$.toString(16),y.push($),y.push('","'),y.push(c.placeholderPrefix),y.push($),y.push('")<\/script>')}function St(c,y){try{var k=c.completedRootSegment;if(k!==null&&c.pendingRootTasks===0){zr(c,y,k),c.completedRootSegment=null;var T=c.responseState.bootstrapChunks;for(k=0;k<T.length-1;k++)y.push(T[k]);k<T.length&&y.push(T[k])}var $=c.clientRenderedBoundaries,L;for(L=0;L<$.length;L++){var H=$[L];T=y;var te=c.responseState,xe=H.id,Pe=H.errorDigest,we=H.errorMessage,He=H.errorComponentStack;if(T.push(te.startInlineScript),te.sentClientRenderFunction?T.push('$RX("'):(te.sentClientRenderFunction=!0,T.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("')),xe===null)throw Error(r(395));if(T.push(xe),T.push('"'),Pe||we||He){T.push(",");var kt=Z(Pe||"");T.push(kt)}if(we||He){T.push(",");var Et=Z(we||"");T.push(Et)}if(He){T.push(",");var Ct=Z(He);T.push(Ct)}if(!T.push(")<\/script>")){c.destination=null,L++,$.splice(0,L);return}}$.splice(0,L);var Rr=c.completedBoundaries;for(L=0;L<Rr.length;L++)if(!Ft(c,y,Rr[L])){c.destination=null,L++,Rr.splice(0,L);return}Rr.splice(0,L);var ar=c.partialBoundaries;for(L=0;L<ar.length;L++){var un=ar[L];e:{$=c,H=y;var Pr=un.completedSegments;for(te=0;te<Pr.length;te++)if(!ir($,H,un,Pr[te])){te++,Pr.splice(0,te);var Br=!1;break e}Pr.splice(0,te),Br=!0}if(!Br){c.destination=null,L++,ar.splice(0,L);return}}ar.splice(0,L);var dr=c.completedBoundaries;for(L=0;L<dr.length;L++)if(!Ft(c,y,dr[L])){c.destination=null,L++,dr.splice(0,L);return}dr.splice(0,L)}finally{c.allPendingTasks===0&&c.pingedTasks.length===0&&c.clientRenderedBoundaries.length===0&&c.completedBoundaries.length===0&&y.push(null)}}function ln(c,y){try{var k=c.abortableTasks;k.forEach(function(T){return an(T,c,y)}),k.clear(),c.destination!==null&&St(c,c.destination)}catch(T){tr(c,T),Er(c,T)}}function ht(){}function Pt(c,y,k,T){var $=!1,L=null,H="",te={push:function(Pe){return Pe!==null&&(H+=Pe),!0},destroy:function(Pe){$=!0,L=Pe}},xe=!1;if(c=on(c,be(k,y?y.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ht,void 0,function(){xe=!0}),wt(c),ln(c,T),c.status===1)c.status=2,te.destroy(c.fatalError);else if(c.status!==2&&c.destination===null){c.destination=te;try{St(c,te)}catch(Pe){tr(c,Pe),Er(c,Pe)}}if($)throw L;if(!xe)throw Error(r(426));return H}return Hi.renderToNodeStream=function(){throw Error(r(207))},Hi.renderToStaticMarkup=function(c,y){return Pt(c,y,!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')},Hi.renderToStaticNodeStream=function(){throw Error(r(208))},Hi.renderToString=function(c,y){return Pt(c,y,!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')},Hi.version="18.3.1",Hi}var zu={};/**
|
|
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 pp;function
|
|
24
|
-
`),lo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nt=new Map;function mt(f){var g=Nt.get(f);if(g===void 0){if(!lo.test(f))throw Error(r(65,f));g=x("<"+f),Nt.set(f,g)}return g}var ct=x("<!DOCTYPE html>");function kn(f,g,w,C,z){switch(g){case"select":f.push(mt("select"));var N=null,
|
|
25
|
-
`&&f.push(Nr),N!==null&&f.push(m(ce(""+N))),null;case"input":f.push(mt("input")),Ae=De=re=N=null;for(
|
|
23
|
+
*/var pp;function nv(){if(pp)return zu;pp=1;var e=V;function r(f){for(var g="https://reactjs.org/docs/error-decoder.html?invariant="+f,w=1;w<arguments.length;w++)g+="&args[]="+encodeURIComponent(arguments[w]);return"Minified React error #"+f+"; visit "+g+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=null,i=0;function a(f,g){if(g.length!==0)if(512<g.length)0<i&&(f.enqueue(new Uint8Array(o.buffer,0,i)),o=new Uint8Array(512),i=0),f.enqueue(g);else{var w=o.length-i;w<g.length&&(w===0?f.enqueue(o):(o.set(g.subarray(0,w),i),f.enqueue(o),g=g.subarray(w)),o=new Uint8Array(512),i=0),o.set(g,i),i+=g.length}}function d(f,g){return a(f,g),!0}function h(f){o&&0<i&&(f.enqueue(new Uint8Array(o.buffer,0,i)),o=null,i=0)}var v=new TextEncoder;function m(f){return v.encode(f)}function x(f){return v.encode(f)}function R(f,g){typeof f.error=="function"?f.error(g):f.close()}var E=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]*$/,M={},B={};function D(f){return E.call(B,f)?!0:E.call(M,f)?!1:F.test(f)?B[f]=!0:(M[f]=!0,!1)}function P(f,g,w,C,z,N,G){this.acceptsBooleans=g===2||g===3||g===4,this.attributeName=C,this.attributeNamespace=z,this.mustUseProperty=w,this.propertyName=f,this.type=g,this.sanitizeURL=N,this.removeEmptyString=G}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){I[f]=new P(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var g=f[0];I[g]=new P(g,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){I[f]=new P(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){I[f]=new P(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){I[f]=new P(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){I[f]=new P(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){I[f]=new P(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){I[f]=new P(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){I[f]=new P(f,5,!1,f.toLowerCase(),null,!1,!1)});var W=/[\-:]([a-z])/g;function U(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 g=f.replace(W,U);I[g]=new P(g,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var g=f.replace(W,U);I[g]=new P(g,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var g=f.replace(W,U);I[g]=new P(g,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){I[f]=new P(f,1,!1,f.toLowerCase(),null,!1,!1)}),I.xlinkHref=new P("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){I[f]=new P(f,1,!1,f.toLowerCase(),null,!0,!0)});var q={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(q).forEach(function(f){_.forEach(function(g){g=g+f.charAt(0).toUpperCase()+f.substring(1),q[g]=q[f]})});var ie=/["'&<>]/;function ce(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var g=ie.exec(f);if(g){var w="",C,z=0;for(C=g.index;C<f.length;C++){switch(f.charCodeAt(C)){case 34:g=""";break;case 38:g="&";break;case 39:g="'";break;case 60:g="<";break;case 62:g=">";break;default:continue}z!==C&&(w+=f.substring(z,C)),z=C+1,w+=g}f=z!==C?w+f.substring(z,C):w}return f}var ee=/([A-Z])/g,ae=/^ms-/,Fe=Array.isArray,Ne=x("<script>"),_e=x("<\/script>"),Ge=x('<script src="'),Qe=x('<script type="module" src="'),ke=x('" async=""><\/script>'),Ce=/(<\/|<)(s)(cript)/gi;function je(f,g,w,C){return""+g+(w==="s"?"\\u0073":"\\u0053")+C}function Z(f,g,w,C,z){f=f===void 0?"":f,g=g===void 0?Ne:x('<script nonce="'+ce(g)+'">');var N=[];if(w!==void 0&&N.push(g,m((""+w).replace(Ce,je)),_e),C!==void 0)for(w=0;w<C.length;w++)N.push(Ge,m(ce(C[w])),ke);if(z!==void 0)for(C=0;C<z.length;C++)N.push(Qe,m(ce(z[C])),ke);return{bootstrapChunks:N,startInlineScript:g,placeholderPrefix:x(f+"P:"),segmentPrefix:x(f+"S:"),boundaryPrefix:f+"B:",idPrefix:f,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function be(f,g){return{insertionMode:f,selectedValue:g}}function Q(f){return be(f==="http://www.w3.org/2000/svg"?2:f==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function J(f,g,w){switch(g){case"select":return be(1,w.value!=null?w.value:w.defaultValue);case"svg":return be(2,null);case"math":return be(3,null);case"foreignObject":return be(1,null);case"table":return be(4,null);case"thead":case"tbody":case"tfoot":return be(5,null);case"colgroup":return be(7,null);case"tr":return be(6,null)}return 4<=f.insertionMode||f.insertionMode===0?be(1,null):f}var fe=x("<!-- -->");function me(f,g,w,C){return g===""?C:(C&&f.push(fe),f.push(m(ce(g))),!0)}var pe=new Map,ge=x(' style="'),se=x(":"),ue=x(";");function Te(f,g,w){if(typeof w!="object")throw Error(r(62));g=!0;for(var C in w)if(E.call(w,C)){var z=w[C];if(z!=null&&typeof z!="boolean"&&z!==""){if(C.indexOf("--")===0){var N=m(ce(C));z=m(ce((""+z).trim()))}else{N=C;var G=pe.get(N);G!==void 0||(G=x(ce(N.replace(ee,"-$1").toLowerCase().replace(ae,"-ms-"))),pe.set(N,G)),N=G,z=typeof z=="number"?z===0||E.call(q,C)?m(""+z):m(z+"px"):m(ce((""+z).trim()))}g?(g=!1,f.push(ge,N,se,z)):f.push(ue,N,se,z)}}g||f.push($e)}var Ee=x(" "),Re=x('="'),$e=x('"'),oe=x('=""');function Ue(f,g,w,C){switch(w){case"style":Te(f,g,C);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<w.length)||w[0]!=="o"&&w[0]!=="O"||w[1]!=="n"&&w[1]!=="N"){if(g=I.hasOwnProperty(w)?I[w]:null,g!==null){switch(typeof C){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}switch(w=m(g.attributeName),g.type){case 3:C&&f.push(Ee,w,oe);break;case 4:C===!0?f.push(Ee,w,oe):C!==!1&&f.push(Ee,w,Re,m(ce(C)),$e);break;case 5:isNaN(C)||f.push(Ee,w,Re,m(ce(C)),$e);break;case 6:!isNaN(C)&&1<=C&&f.push(Ee,w,Re,m(ce(C)),$e);break;default:g.sanitizeURL&&(C=""+C),f.push(Ee,w,Re,m(ce(C)),$e)}}else if(D(w)){switch(typeof C){case"function":case"symbol":return;case"boolean":if(g=w.toLowerCase().slice(0,5),g!=="data-"&&g!=="aria-")return}f.push(Ee,m(w),Re,m(ce(C)),$e)}}}var nt=x(">"),Lt=x("/>");function Lr(f,g,w){if(g!=null){if(w!=null)throw Error(r(60));if(typeof g!="object"||!("__html"in g))throw Error(r(61));g=g.__html,g!=null&&f.push(m(""+g))}}function so(f){var g="";return e.Children.forEach(f,function(w){w!=null&&(g+=w)}),g}var jt=x(' selected=""');function jr(f,g,w,C){f.push(mt(w));var z=w=null,N;for(N in g)if(E.call(g,N)){var G=g[N];if(G!=null)switch(N){case"children":w=G;break;case"dangerouslySetInnerHTML":z=G;break;default:Ue(f,C,N,G)}}return f.push(nt),Lr(f,z,w),typeof w=="string"?(f.push(m(ce(w))),null):w}var Nr=x(`
|
|
24
|
+
`),lo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nt=new Map;function mt(f){var g=Nt.get(f);if(g===void 0){if(!lo.test(f))throw Error(r(65,f));g=x("<"+f),Nt.set(f,g)}return g}var ct=x("<!DOCTYPE html>");function kn(f,g,w,C,z){switch(g){case"select":f.push(mt("select"));var N=null,G=null;for(De in w)if(E.call(w,De)){var re=w[De];if(re!=null)switch(De){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"defaultValue":case"value":break;default:Ue(f,C,De,re)}}return f.push(nt),Lr(f,G,N),N;case"option":G=z.selectedValue,f.push(mt("option"));var Ae=re=null,Le=null,De=null;for(N in w)if(E.call(w,N)){var et=w[N];if(et!=null)switch(N){case"children":re=et;break;case"selected":Le=et;break;case"dangerouslySetInnerHTML":De=et;break;case"value":Ae=et;default:Ue(f,C,N,et)}}if(G!=null)if(w=Ae!==null?""+Ae:so(re),Fe(G)){for(C=0;C<G.length;C++)if(""+G[C]===w){f.push(jt);break}}else""+G===w&&f.push(jt);else Le&&f.push(jt);return f.push(nt),Lr(f,De,re),re;case"textarea":f.push(mt("textarea")),De=G=N=null;for(re in w)if(E.call(w,re)&&(Ae=w[re],Ae!=null))switch(re){case"children":De=Ae;break;case"value":N=Ae;break;case"defaultValue":G=Ae;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Ue(f,C,re,Ae)}if(N===null&&G!==null&&(N=G),f.push(nt),De!=null){if(N!=null)throw Error(r(92));if(Fe(De)&&1<De.length)throw Error(r(93));N=""+De}return typeof N=="string"&&N[0]===`
|
|
25
|
+
`&&f.push(Nr),N!==null&&f.push(m(ce(""+N))),null;case"input":f.push(mt("input")),Ae=De=re=N=null;for(G in w)if(E.call(w,G)&&(Le=w[G],Le!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"defaultChecked":Ae=Le;break;case"defaultValue":re=Le;break;case"checked":De=Le;break;case"value":N=Le;break;default:Ue(f,C,G,Le)}return De!==null?Ue(f,C,"checked",De):Ae!==null&&Ue(f,C,"checked",Ae),N!==null?Ue(f,C,"value",N):re!==null&&Ue(f,C,"value",re),f.push(Lt),null;case"menuitem":f.push(mt("menuitem"));for(var It in w)if(E.call(w,It)&&(N=w[It],N!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Ue(f,C,It,N)}return f.push(nt),null;case"title":f.push(mt("title")),N=null;for(et in w)if(E.call(w,et)&&(G=w[et],G!=null))switch(et){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(r(434));default:Ue(f,C,et,G)}return f.push(nt),N;case"listing":case"pre":f.push(mt(g)),G=N=null;for(Ae in w)if(E.call(w,Ae)&&(re=w[Ae],re!=null))switch(Ae){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;default:Ue(f,C,Ae,re)}if(f.push(nt),G!=null){if(N!=null)throw Error(r(60));if(typeof G!="object"||!("__html"in G))throw Error(r(61));w=G.__html,w!=null&&(typeof w=="string"&&0<w.length&&w[0]===`
|
|
26
26
|
`?f.push(Nr,m(w)):f.push(m(""+w)))}return typeof N=="string"&&N[0]===`
|
|
27
|
-
`&&f.push(Nr),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(mt(g));for(var Bt in w)if(E.call(w,Bt)&&(N=w[Bt],N!=null))switch(Bt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,g));default:Ue(f,C,Bt,N)}return f.push(Lt),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 jr(f,w,g,C);case"html":return z.insertionMode===0&&f.push(ct),jr(f,w,g,C);default:if(g.indexOf("-")===-1&&typeof w.is!="string")return jr(f,w,g,C);f.push(mt(g)),Y=N=null;for(Le in w)if(E.call(w,Le)&&(re=w[Le],re!=null))switch(Le){case"children":N=re;break;case"dangerouslySetInnerHTML":Y=re;break;case"style":Te(f,C,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Le)&&typeof re!="function"&&typeof re!="symbol"&&f.push(Ee,m(Le),Re,m(ce(re)),$e)}return f.push(nt),Lr(f,Y,N),N}}var En=x("</"),Cn=x(">"),at=x('<template id="'),Tn=x('"></template>'),uo=x("<!--$-->"),co=x('<!--$?--><template id="'),Rn=x('"></template>'),en=x("<!--$!-->"),si=x("<!--/$-->"),Pn=x("<template"),yr=x('"'),An=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var fo=x("></template>");function xt(f,g,w){if(a(f,co),w===null)throw Error(r(395));return a(f,w),d(f,Rn)}var Jt=x('<div hidden id="'),br=x('">'),Xe=x("</div>"),xr=x('<svg aria-hidden="true" style="display:none" id="'),tn=x('">'),$r=x("</svg>"),Kt=x('<math aria-hidden="true" style="display:none" id="'),rn=x('">'),cr=x("</math>"),ft=x('<table hidden id="'),In=x('">'),On=x("</table>"),po=x('<table hidden><tbody id="'),st=x('">'),Fn=x("</tbody></table>"),li=x('<table hidden><tr id="'),ui=x('">'),Zt=x("</tr></table>"),Mn=x('<table hidden><colgroup id="'),nn=x('">'),wr=x("</colgroup></table>");function Tt(f,g,w,C){switch(w.insertionMode){case 0:case 1:return a(f,Jt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,br);case 2:return a(f,xr),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,tn);case 3:return a(f,Kt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,rn);case 4:return a(f,ft),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,In);case 5:return a(f,po),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,st);case 6:return a(f,li),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,ui);case 7:return a(f,Mn),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,nn);default:throw Error(r(397))}}function er(f,g){switch(g.insertionMode){case 0:case 1:return d(f,Xe);case 2:return d(f,$r);case 3:return d(f,cr);case 4:return d(f,On);case 5:return d(f,Fn);case 6:return d(f,Zt);case 7:return d(f,wr);default:throw Error(r(397))}}var on=x('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("'),Sr=x('$RS("'),kr=x('","'),tr=x('")<\/script>'),Er=x('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("'),Rt=x('$RC("'),ho=x('","'),mo=x('")<\/script>'),fr=x('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("'),lt=x('$RX("'),rr=x('"'),nr=x(")<\/script>"),Cr=x(","),an=/[<\u2028\u2029]/g;function $t(f){return JSON.stringify(f).replace(an,function(g){switch(g){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 or=Object.assign,wt=Symbol.for("react.element"),Tr=Symbol.for("react.portal"),zr=Symbol.for("react.fragment"),sn=Symbol.for("react.strict_mode"),Ft=Symbol.for("react.profiler"),ir=Symbol.for("react.provider"),St=Symbol.for("react.context"),ln=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),Pt=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),k=Symbol.for("react.scope"),T=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),L=Symbol.for("react.default_value"),H=Symbol.iterator;function te(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 zr:return"Fragment";case Tr:return"Portal";case Ft:return"Profiler";case sn:return"StrictMode";case ht:return"Suspense";case Pt:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case St:return(f.displayName||"Context")+".Consumer";case ir:return(f._context.displayName||"Context")+".Provider";case ln:var g=f.render;return f=f.displayName,f||(f=g.displayName||g.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case c:return g=f.displayName||null,g!==null?g:te(f.type)||"Memo";case y:g=f._payload,f=f._init;try{return te(f(g))}catch{}}return null}var xe={};function Pe(f,g){if(f=f.contextTypes,!f)return xe;var w={},C;for(C in f)w[C]=g[C];return w}var we=null;function He(f,g){if(f!==g){f.context._currentValue=f.parentValue,f=f.parent;var w=g.parent;if(f===null){if(w!==null)throw Error(r(401))}else{if(w===null)throw Error(r(401));He(f,w)}g.context._currentValue=g.value}}function kt(f){f.context._currentValue=f.parentValue,f=f.parent,f!==null&&kt(f)}function Et(f){var g=f.parent;g!==null&&Et(g),f.context._currentValue=f.value}function Ct(f,g){if(f.context._currentValue=f.parentValue,f=f.parent,f===null)throw Error(r(402));f.depth===g.depth?He(f,g):Ct(f,g)}function Rr(f,g){var w=g.parent;if(w===null)throw Error(r(402));f.depth===w.depth?He(f,w):Rr(f,w),g.context._currentValue=g.value}function ar(f){var g=we;g!==f&&(g===null?Et(f):f===null?kt(g):g.depth===f.depth?He(g,f):g.depth>f.depth?Ct(g,f):Rr(g,f),we=f)}var un={isMounted:function(){return!1},enqueueSetState:function(f,g){f=f._reactInternals,f.queue!==null&&f.queue.push(g)},enqueueReplaceState:function(f,g){f=f._reactInternals,f.replace=!0,f.queue=[g]},enqueueForceUpdate:function(){}};function Pr(f,g,w,C){var z=f.state!==void 0?f.state:null;f.updater=un,f.props=w,f.state=z;var N={queue:[],replace:!1};f._reactInternals=N;var Y=g.contextType;if(f.context=typeof Y=="object"&&Y!==null?Y._currentValue:C,Y=g.getDerivedStateFromProps,typeof Y=="function"&&(Y=Y(w,z),z=Y==null?z:or({},z,Y),f.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(g=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),g!==f.state&&un.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(g=N.queue,Y=N.replace,N.queue=null,N.replace=!1,Y&&g.length===1)f.state=g[0];else{for(N=Y?g[0]:f.state,z=!0,Y=Y?1:0;Y<g.length;Y++){var re=g[Y];re=typeof re=="function"?re.call(f,N,w,C):re,re!=null&&(z?(z=!1,N=or({},N,re)):or(N,re))}f.state=N}else N.queue=null}var Br={id:1,overflow:""};function dr(f,g,w){var C=f.id;f=f.overflow;var z=32-Ur(C)-1;C&=~(1<<z),w+=1;var N=32-Ur(g)+z;if(30<N){var Y=z-z%5;return N=(C&(1<<Y)-1).toString(32),C>>=Y,z-=Y,{id:1<<32-Ur(g)+z|w<<z|C,overflow:N+f}}return{id:1<<N|w<<z|C,overflow:f}}var Ur=Math.clz32?Math.clz32:go,_s=Math.log,Ls=Math.LN2;function go(f){return f>>>=0,f===0?32:31-(_s(f)/Ls|0)|0}function sr(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}var js=typeof Object.is=="function"?Object.is:sr,pr=null,ci=null,vo=null,qe=null,Hr=!1,yo=!1,Wr=0,Ar=null,bo=0;function Ir(){if(pr===null)throw Error(r(321));return pr}function zt(){if(0<bo)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function fi(){return qe===null?vo===null?(Hr=!1,vo=qe=zt()):(Hr=!0,qe=vo):qe.next===null?(Hr=!1,qe=qe.next=zt()):(Hr=!0,qe=qe.next),qe}function Dn(){ci=pr=null,yo=!1,vo=null,bo=0,qe=Ar=null}function sa(f,g){return typeof g=="function"?g(f):g}function xo(f,g,w){if(pr=Ir(),qe=fi(),Hr){var C=qe.queue;if(g=C.dispatch,Ar!==null&&(w=Ar.get(C),w!==void 0)){Ar.delete(C),C=qe.memoizedState;do C=f(C,w.action),w=w.next;while(w!==null);return qe.memoizedState=C,[C,g]}return[qe.memoizedState,g]}return f=f===sa?typeof g=="function"?g():g:w!==void 0?w(g):g,qe.memoizedState=f,f=qe.queue={last:null,dispatch:null},f=f.dispatch=Ns.bind(null,pr,f),[qe.memoizedState,f]}function la(f,g){if(pr=Ir(),qe=fi(),g=g===void 0?null:g,qe!==null){var w=qe.memoizedState;if(w!==null&&g!==null){var C=w[1];e:if(C===null)C=!1;else{for(var z=0;z<C.length&&z<g.length;z++)if(!js(g[z],C[z])){C=!1;break e}C=!0}if(C)return w[0]}}return f=f(),qe.memoizedState=[f,g],f}function Ns(f,g,w){if(25<=bo)throw Error(r(301));if(f===pr)if(yo=!0,f={action:w,next:null},Ar===null&&(Ar=new Map),w=Ar.get(g),w===void 0)Ar.set(g,f);else{for(g=w;g.next!==null;)g=g.next;g.next=f}}function $s(){throw Error(r(394))}function wo(){}var ua={readContext:function(f){return f._currentValue},useContext:function(f){return Ir(),f._currentValue},useMemo:la,useReducer:xo,useRef:function(f){pr=Ir(),qe=fi();var g=qe.memoizedState;return g===null?(f={current:f},qe.memoizedState=f):g},useState:function(f){return xo(sa,f)},useInsertionEffect:wo,useLayoutEffect:function(){},useCallback:function(f,g){return la(function(){return f},g)},useImperativeHandle:wo,useEffect:wo,useDebugValue:wo,useDeferredValue:function(f){return Ir(),f},useTransition:function(){return Ir(),[!1,$s]},useId:function(){var f=ci.treeContext,g=f.overflow;f=f.id,f=(f&~(1<<32-Ur(f)-1)).toString(32)+g;var w=_n;if(w===null)throw Error(r(404));return g=Wr++,f=":"+w.idPrefix+"R"+f,0<g&&(f+="H"+g.toString(32)),f+":"},useMutableSource:function(f,g){return Ir(),g(f._source)},useSyncExternalStore:function(f,g,w){if(w===void 0)throw Error(r(407));return w()}},_n=null,di=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function zs(f){return console.error(f),null}function cn(){}function pi(f,g,w,C,z,N,Y,re,Ae){var Le=[],De=new Set;return g={destination:null,responseState:g,progressiveChunkSize:C===void 0?12800:C,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:De,pingedTasks:Le,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?zs:z,onAllReady:N===void 0?cn:N,onShellReady:Y===void 0?cn:Y,onShellError:re===void 0?cn:re,onFatalError:Ae===void 0?cn:Ae},w=fn(g,0,null,w,!1,!1),w.parentFlushed=!0,f=hi(g,f,null,w,De,xe,null,Br),Le.push(f),g}function hi(f,g,w,C,z,N,Y,re){f.allPendingTasks++,w===null?f.pendingRootTasks++:w.pendingTasks++;var Ae={node:g,ping:function(){var Le=f.pingedTasks;Le.push(Ae),Le.length===1&&ga(f)},blockedBoundary:w,blockedSegment:C,abortSet:z,legacyContext:N,context:Y,treeContext:re};return z.add(Ae),Ae}function fn(f,g,w,C,z,N){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:C,boundary:w,lastPushedText:z,textEmbedded:N}}function Ln(f,g){if(f=f.onError(g),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 So(f,g){var w=f.onShellError;w(g),w=f.onFatalError,w(g),f.destination!==null?(f.status=2,R(f.destination,g)):(f.status=1,f.fatalError=g)}function ca(f,g,w,C,z){for(pr={},ci=g,Wr=0,f=w(C,z);yo;)yo=!1,Wr=0,bo+=1,qe=null,f=w(C,z);return Dn(),f}function fa(f,g,w,C){var z=w.render(),N=C.childContextTypes;if(N!=null){var Y=g.legacyContext;if(typeof w.getChildContext!="function")C=Y;else{w=w.getChildContext();for(var re in w)if(!(re in N))throw Error(r(108,te(C)||"Unknown",re));C=or({},Y,w)}g.legacyContext=C,At(f,g,z),g.legacyContext=Y}else At(f,g,z)}function da(f,g){if(f&&f.defaultProps){g=or({},g),f=f.defaultProps;for(var w in f)g[w]===void 0&&(g[w]=f[w]);return g}return g}function ko(f,g,w,C,z){if(typeof w=="function")if(w.prototype&&w.prototype.isReactComponent){z=Pe(w,g.legacyContext);var N=w.contextType;N=new w(C,typeof N=="object"&&N!==null?N._currentValue:z),Pr(N,w,C,z),fa(f,g,N,w)}else{N=Pe(w,g.legacyContext),z=ca(f,g,w,C,N);var Y=Wr!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Pr(z,w,C,N),fa(f,g,z,w);else if(Y){C=g.treeContext,g.treeContext=dr(C,1,0);try{At(f,g,z)}finally{g.treeContext=C}}else At(f,g,z)}else if(typeof w=="string"){switch(z=g.blockedSegment,N=kn(z.chunks,w,C,f.responseState,z.formatContext),z.lastPushedText=!1,Y=z.formatContext,z.formatContext=J(Y,w,C),Eo(f,g,N),z.formatContext=Y,w){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:z.chunks.push(En,m(w),Cn)}z.lastPushedText=!1}else{switch(w){case $:case T:case sn:case Ft:case zr:At(f,g,C.children);return;case Pt:At(f,g,C.children);return;case k:throw Error(r(343));case ht:e:{w=g.blockedBoundary,z=g.blockedSegment,N=C.fallback,C=C.children,Y=new Set;var re={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Y,errorDigest:null},Ae=fn(f,z.chunks.length,re,z.formatContext,!1,!1);z.children.push(Ae),z.lastPushedText=!1;var Le=fn(f,0,null,z.formatContext,!1,!1);Le.parentFlushed=!0,g.blockedBoundary=re,g.blockedSegment=Le;try{if(Eo(f,g,C),Le.lastPushedText&&Le.textEmbedded&&Le.chunks.push(fe),Le.status=1,Co(re,Le),re.pendingTasks===0)break e}catch(De){Le.status=4,re.forceClientRender=!0,re.errorDigest=Ln(f,De)}finally{g.blockedBoundary=w,g.blockedSegment=z}g=hi(f,N,w,Ae,Y,g.legacyContext,g.context,g.treeContext),f.pingedTasks.push(g)}return}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case ln:if(C=ca(f,g,w.render,C,z),Wr!==0){w=g.treeContext,g.treeContext=dr(w,1,0);try{At(f,g,C)}finally{g.treeContext=w}}else At(f,g,C);return;case c:w=w.type,C=da(w,C),ko(f,g,w,C,z);return;case ir:if(z=C.children,w=w._context,C=C.value,N=w._currentValue,w._currentValue=C,Y=we,we=C={parent:Y,depth:Y===null?0:Y.depth+1,context:w,parentValue:N,value:C},g.context=C,At(f,g,z),f=we,f===null)throw Error(r(403));C=f.parentValue,f.context._currentValue=C===L?f.context._defaultValue:C,f=we=f.parent,g.context=f;return;case St:C=C.children,C=C(w._currentValue),At(f,g,C);return;case y:z=w._init,w=z(w._payload),C=da(w,C),ko(f,g,w,C,void 0);return}throw Error(r(130,w==null?w:typeof w,""))}}function At(f,g,w){if(g.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case wt:ko(f,g,w.type,w.props,w.ref);return;case Tr:throw Error(r(257));case y:var C=w._init;w=C(w._payload),At(f,g,w);return}if(Fe(w)){pa(f,g,w);return}if(w===null||typeof w!="object"?C=null:(C=H&&w[H]||w["@@iterator"],C=typeof C=="function"?C:null),C&&(C=C.call(w))){if(w=C.next(),!w.done){var z=[];do z.push(w.value),w=C.next();while(!w.done);pa(f,g,z)}return}throw f=Object.prototype.toString.call(w),Error(r(31,f==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":f))}typeof w=="string"?(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,w,f.responseState,C.lastPushedText)):typeof w=="number"&&(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,""+w,f.responseState,C.lastPushedText))}function pa(f,g,w){for(var C=w.length,z=0;z<C;z++){var N=g.treeContext;g.treeContext=dr(N,C,z);try{Eo(f,g,w[z])}finally{g.treeContext=N}}}function Eo(f,g,w){var C=g.blockedSegment.formatContext,z=g.legacyContext,N=g.context;try{return At(f,g,w)}catch(Ae){if(Dn(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){w=Ae;var Y=g.blockedSegment,re=fn(f,Y.chunks.length,null,Y.formatContext,Y.lastPushedText,!0);Y.children.push(re),Y.lastPushedText=!1,f=hi(f,g.node,g.blockedBoundary,re,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,w.then(f,f),g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N)}else throw g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N),Ae}}function Bs(f){var g=f.blockedBoundary;f=f.blockedSegment,f.status=3,ma(this,g,f)}function ha(f,g,w){var C=f.blockedBoundary;f.blockedSegment.status=3,C===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.close())):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,f=w===void 0?Error(r(432)):w,C.errorDigest=g.onError(f),C.parentFlushed&&g.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(z){return ha(z,g,w)}),C.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(C=g.onAllReady,C()))}function Co(f,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var w=g.children[0];w.id=g.id,w.parentFlushed=!0,w.status===1&&Co(f,w)}else f.completedSegments.push(g)}function ma(f,g,w){if(g===null){if(w.parentFlushed){if(f.completedRootSegment!==null)throw Error(r(389));f.completedRootSegment=w}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=cn,g=f.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(w.parentFlushed&&w.status===1&&Co(g,w),g.parentFlushed&&f.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Bs,f),g.fallbackAbortableTasks.clear()):w.parentFlushed&&w.status===1&&(Co(g,w),g.completedSegments.length===1&&g.parentFlushed&&f.partialBoundaries.push(g)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function ga(f){if(f.status!==2){var g=we,w=di.current;di.current=ua;var C=_n;_n=f.responseState;try{var z=f.pingedTasks,N;for(N=0;N<z.length;N++){var Y=z[N],re=f,Ae=Y.blockedSegment;if(Ae.status===0){ar(Y.context);try{At(re,Y,Y.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(fe),Y.abortSet.delete(Y),Ae.status=1,ma(re,Y.blockedBoundary,Ae)}catch(Ut){if(Dn(),typeof Ut=="object"&&Ut!==null&&typeof Ut.then=="function"){var Le=Y.ping;Ut.then(Le,Le)}else{Y.abortSet.delete(Y),Ae.status=4;var De=Y.blockedBoundary,et=Ut,It=Ln(re,et);if(De===null?So(re,et):(De.pendingTasks--,De.forceClientRender||(De.forceClientRender=!0,De.errorDigest=It,De.parentFlushed&&re.clientRenderedBoundaries.push(De))),re.allPendingTasks--,re.allPendingTasks===0){var Bt=re.onAllReady;Bt()}}}finally{}}}z.splice(0,N),f.destination!==null&&mi(f,f.destination)}catch(Ut){Ln(f,Ut),So(f,Ut)}finally{_n=C,di.current=w,w===ua&&ar(g)}}}function To(f,g,w){switch(w.parentFlushed=!0,w.status){case 0:var C=w.id=f.nextSegmentId++;return w.lastPushedText=!1,w.textEmbedded=!1,f=f.responseState,a(g,at),a(g,f.placeholderPrefix),f=m(C.toString(16)),a(g,f),d(g,Tn);case 1:w.status=2;var z=!0;C=w.chunks;var N=0;w=w.children;for(var Y=0;Y<w.length;Y++){for(z=w[Y];N<z.index;N++)a(g,C[N]);z=Ro(f,g,z)}for(;N<C.length-1;N++)a(g,C[N]);return N<C.length&&(z=d(g,C[N])),z;default:throw Error(r(390))}}function Ro(f,g,w){var C=w.boundary;if(C===null)return To(f,g,w);if(C.parentFlushed=!0,C.forceClientRender)C=C.errorDigest,d(g,en),a(g,Pn),C&&(a(g,An),a(g,m(ce(C))),a(g,yr)),d(g,fo),To(f,g,w);else if(0<C.pendingTasks){C.rootSegmentID=f.nextSegmentId++,0<C.completedSegments.length&&f.partialBoundaries.push(C);var z=f.responseState,N=z.nextSuspenseID++;z=x(z.boundaryPrefix+N.toString(16)),C=C.id=z,xt(g,f.responseState,C),To(f,g,w)}else if(C.byteSize>f.progressiveChunkSize)C.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(C),xt(g,f.responseState,C.id),To(f,g,w);else{if(d(g,uo),w=C.completedSegments,w.length!==1)throw Error(r(391));Ro(f,g,w[0])}return d(g,si)}function va(f,g,w){return Tt(g,f.responseState,w.formatContext,w.id),Ro(f,g,w),er(g,w.formatContext)}function ya(f,g,w){for(var C=w.completedSegments,z=0;z<C.length;z++)ba(f,g,w,C[z]);if(C.length=0,f=f.responseState,C=w.id,w=w.rootSegmentID,a(g,f.startInlineScript),f.sentCompleteBoundaryFunction?a(g,Rt):(f.sentCompleteBoundaryFunction=!0,a(g,Er)),C===null)throw Error(r(395));return w=m(w.toString(16)),a(g,C),a(g,ho),a(g,f.segmentPrefix),a(g,w),d(g,mo)}function ba(f,g,w,C){if(C.status===2)return!0;var z=C.id;if(z===-1){if((C.id=w.rootSegmentID)===-1)throw Error(r(392));return va(f,g,C)}return va(f,g,C),f=f.responseState,a(g,f.startInlineScript),f.sentCompleteSegmentFunction?a(g,Sr):(f.sentCompleteSegmentFunction=!0,a(g,on)),a(g,f.segmentPrefix),z=m(z.toString(16)),a(g,z),a(g,kr),a(g,f.placeholderPrefix),a(g,z),d(g,tr)}function mi(f,g){o=new Uint8Array(512),i=0;try{var w=f.completedRootSegment;if(w!==null&&f.pendingRootTasks===0){Ro(f,g,w),f.completedRootSegment=null;var C=f.responseState.bootstrapChunks;for(w=0;w<C.length-1;w++)a(g,C[w]);w<C.length&&d(g,C[w])}var z=f.clientRenderedBoundaries,N;for(N=0;N<z.length;N++){var Y=z[N];C=g;var re=f.responseState,Ae=Y.id,Le=Y.errorDigest,De=Y.errorMessage,et=Y.errorComponentStack;if(a(C,re.startInlineScript),re.sentClientRenderFunction?a(C,lt):(re.sentClientRenderFunction=!0,a(C,fr)),Ae===null)throw Error(r(395));a(C,Ae),a(C,rr),(Le||De||et)&&(a(C,Cr),a(C,m($t(Le||"")))),(De||et)&&(a(C,Cr),a(C,m($t(De||"")))),et&&(a(C,Cr),a(C,m($t(et)))),d(C,nr)}z.splice(0,N);var It=f.completedBoundaries;for(N=0;N<It.length;N++)ya(f,g,It[N]);It.splice(0,N),h(g),o=new Uint8Array(512),i=0;var Bt=f.partialBoundaries;for(N=0;N<Bt.length;N++){var Ut=Bt[N];e:{z=f,Y=g;var Po=Ut.completedSegments;for(re=0;re<Po.length;re++)if(!ba(z,Y,Ut,Po[re])){re++,Po.splice(0,re);var wa=!1;break e}Po.splice(0,re),wa=!0}if(!wa){f.destination=null,N++,Bt.splice(0,N);return}}Bt.splice(0,N);var jn=f.completedBoundaries;for(N=0;N<jn.length;N++)ya(f,g,jn[N]);jn.splice(0,N)}finally{h(g),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&g.close()}}function xa(f,g){try{var w=f.abortableTasks;w.forEach(function(C){return ha(C,f,g)}),w.clear(),f.destination!==null&&mi(f,f.destination)}catch(C){Ln(f,C),So(f,C)}}return $u.renderToReadableStream=function(f,g){return new Promise(function(w,C){var z,N,Y=new Promise(function(De,et){N=De,z=et}),re=pi(f,Z(g?g.identifierPrefix:void 0,g?g.nonce:void 0,g?g.bootstrapScriptContent:void 0,g?g.bootstrapScripts:void 0,g?g.bootstrapModules:void 0),G(g?g.namespaceURI:void 0),g?g.progressiveChunkSize:void 0,g?g.onError:void 0,N,function(){var De=new ReadableStream({type:"bytes",pull:function(et){if(re.status===1)re.status=2,R(et,re.fatalError);else if(re.status!==2&&re.destination===null){re.destination=et;try{mi(re,et)}catch(It){Ln(re,It),So(re,It)}}},cancel:function(){xa(re)}},{highWaterMark:0});De.allReady=Y,w(De)},function(De){Y.catch(function(){}),C(De)},z);if(g&&g.signal){var Ae=g.signal,Le=function(){xa(re,Ae.reason),Ae.removeEventListener("abort",Le)};Ae.addEventListener("abort",Le)}ga(re)})},$u.version="18.3.1",$u}var Hi={};/**
|
|
27
|
+
`&&f.push(Nr),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(mt(g));for(var Bt in w)if(E.call(w,Bt)&&(N=w[Bt],N!=null))switch(Bt){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,g));default:Ue(f,C,Bt,N)}return f.push(Lt),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 jr(f,w,g,C);case"html":return z.insertionMode===0&&f.push(ct),jr(f,w,g,C);default:if(g.indexOf("-")===-1&&typeof w.is!="string")return jr(f,w,g,C);f.push(mt(g)),G=N=null;for(Le in w)if(E.call(w,Le)&&(re=w[Le],re!=null))switch(Le){case"children":N=re;break;case"dangerouslySetInnerHTML":G=re;break;case"style":Te(f,C,re);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Le)&&typeof re!="function"&&typeof re!="symbol"&&f.push(Ee,m(Le),Re,m(ce(re)),$e)}return f.push(nt),Lr(f,G,N),N}}var En=x("</"),Cn=x(">"),at=x('<template id="'),Tn=x('"></template>'),uo=x("<!--$-->"),co=x('<!--$?--><template id="'),Rn=x('"></template>'),en=x("<!--$!-->"),li=x("<!--/$-->"),Pn=x("<template"),yr=x('"'),An=x(' data-dgst="');x(' data-msg="'),x(' data-stck="');var fo=x("></template>");function xt(f,g,w){if(a(f,co),w===null)throw Error(r(395));return a(f,w),d(f,Rn)}var Jt=x('<div hidden id="'),br=x('">'),Xe=x("</div>"),xr=x('<svg aria-hidden="true" style="display:none" id="'),tn=x('">'),$r=x("</svg>"),Kt=x('<math aria-hidden="true" style="display:none" id="'),rn=x('">'),cr=x("</math>"),ft=x('<table hidden id="'),In=x('">'),On=x("</table>"),po=x('<table hidden><tbody id="'),st=x('">'),Fn=x("</tbody></table>"),ui=x('<table hidden><tr id="'),ci=x('">'),Zt=x("</tr></table>"),Mn=x('<table hidden><colgroup id="'),nn=x('">'),wr=x("</colgroup></table>");function Tt(f,g,w,C){switch(w.insertionMode){case 0:case 1:return a(f,Jt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,br);case 2:return a(f,xr),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,tn);case 3:return a(f,Kt),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,rn);case 4:return a(f,ft),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,In);case 5:return a(f,po),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,st);case 6:return a(f,ui),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,ci);case 7:return a(f,Mn),a(f,g.segmentPrefix),a(f,m(C.toString(16))),d(f,nn);default:throw Error(r(397))}}function er(f,g){switch(g.insertionMode){case 0:case 1:return d(f,Xe);case 2:return d(f,$r);case 3:return d(f,cr);case 4:return d(f,On);case 5:return d(f,Fn);case 6:return d(f,Zt);case 7:return d(f,wr);default:throw Error(r(397))}}var on=x('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("'),Sr=x('$RS("'),kr=x('","'),tr=x('")<\/script>'),Er=x('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("'),Rt=x('$RC("'),ho=x('","'),mo=x('")<\/script>'),fr=x('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("'),lt=x('$RX("'),rr=x('"'),nr=x(")<\/script>"),Cr=x(","),an=/[<\u2028\u2029]/g;function $t(f){return JSON.stringify(f).replace(an,function(g){switch(g){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 or=Object.assign,wt=Symbol.for("react.element"),Tr=Symbol.for("react.portal"),zr=Symbol.for("react.fragment"),sn=Symbol.for("react.strict_mode"),Ft=Symbol.for("react.profiler"),ir=Symbol.for("react.provider"),St=Symbol.for("react.context"),ln=Symbol.for("react.forward_ref"),ht=Symbol.for("react.suspense"),Pt=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),k=Symbol.for("react.scope"),T=Symbol.for("react.debug_trace_mode"),$=Symbol.for("react.legacy_hidden"),L=Symbol.for("react.default_value"),H=Symbol.iterator;function te(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 zr:return"Fragment";case Tr:return"Portal";case Ft:return"Profiler";case sn:return"StrictMode";case ht:return"Suspense";case Pt:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case St:return(f.displayName||"Context")+".Consumer";case ir:return(f._context.displayName||"Context")+".Provider";case ln:var g=f.render;return f=f.displayName,f||(f=g.displayName||g.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case c:return g=f.displayName||null,g!==null?g:te(f.type)||"Memo";case y:g=f._payload,f=f._init;try{return te(f(g))}catch{}}return null}var xe={};function Pe(f,g){if(f=f.contextTypes,!f)return xe;var w={},C;for(C in f)w[C]=g[C];return w}var we=null;function He(f,g){if(f!==g){f.context._currentValue=f.parentValue,f=f.parent;var w=g.parent;if(f===null){if(w!==null)throw Error(r(401))}else{if(w===null)throw Error(r(401));He(f,w)}g.context._currentValue=g.value}}function kt(f){f.context._currentValue=f.parentValue,f=f.parent,f!==null&&kt(f)}function Et(f){var g=f.parent;g!==null&&Et(g),f.context._currentValue=f.value}function Ct(f,g){if(f.context._currentValue=f.parentValue,f=f.parent,f===null)throw Error(r(402));f.depth===g.depth?He(f,g):Ct(f,g)}function Rr(f,g){var w=g.parent;if(w===null)throw Error(r(402));f.depth===w.depth?He(f,w):Rr(f,w),g.context._currentValue=g.value}function ar(f){var g=we;g!==f&&(g===null?Et(f):f===null?kt(g):g.depth===f.depth?He(g,f):g.depth>f.depth?Ct(g,f):Rr(g,f),we=f)}var un={isMounted:function(){return!1},enqueueSetState:function(f,g){f=f._reactInternals,f.queue!==null&&f.queue.push(g)},enqueueReplaceState:function(f,g){f=f._reactInternals,f.replace=!0,f.queue=[g]},enqueueForceUpdate:function(){}};function Pr(f,g,w,C){var z=f.state!==void 0?f.state:null;f.updater=un,f.props=w,f.state=z;var N={queue:[],replace:!1};f._reactInternals=N;var G=g.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue:C,G=g.getDerivedStateFromProps,typeof G=="function"&&(G=G(w,z),z=G==null?z:or({},z,G),f.state=z),typeof g.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(g=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),g!==f.state&&un.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(g=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&g.length===1)f.state=g[0];else{for(N=G?g[0]:f.state,z=!0,G=G?1:0;G<g.length;G++){var re=g[G];re=typeof re=="function"?re.call(f,N,w,C):re,re!=null&&(z?(z=!1,N=or({},N,re)):or(N,re))}f.state=N}else N.queue=null}var Br={id:1,overflow:""};function dr(f,g,w){var C=f.id;f=f.overflow;var z=32-Ur(C)-1;C&=~(1<<z),w+=1;var N=32-Ur(g)+z;if(30<N){var G=z-z%5;return N=(C&(1<<G)-1).toString(32),C>>=G,z-=G,{id:1<<32-Ur(g)+z|w<<z|C,overflow:N+f}}return{id:1<<N|w<<z|C,overflow:f}}var Ur=Math.clz32?Math.clz32:go,_s=Math.log,Ls=Math.LN2;function go(f){return f>>>=0,f===0?32:31-(_s(f)/Ls|0)|0}function sr(f,g){return f===g&&(f!==0||1/f===1/g)||f!==f&&g!==g}var js=typeof Object.is=="function"?Object.is:sr,pr=null,fi=null,vo=null,qe=null,Hr=!1,yo=!1,Wr=0,Ar=null,bo=0;function Ir(){if(pr===null)throw Error(r(321));return pr}function zt(){if(0<bo)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function di(){return qe===null?vo===null?(Hr=!1,vo=qe=zt()):(Hr=!0,qe=vo):qe.next===null?(Hr=!1,qe=qe.next=zt()):(Hr=!0,qe=qe.next),qe}function Dn(){fi=pr=null,yo=!1,vo=null,bo=0,qe=Ar=null}function sa(f,g){return typeof g=="function"?g(f):g}function xo(f,g,w){if(pr=Ir(),qe=di(),Hr){var C=qe.queue;if(g=C.dispatch,Ar!==null&&(w=Ar.get(C),w!==void 0)){Ar.delete(C),C=qe.memoizedState;do C=f(C,w.action),w=w.next;while(w!==null);return qe.memoizedState=C,[C,g]}return[qe.memoizedState,g]}return f=f===sa?typeof g=="function"?g():g:w!==void 0?w(g):g,qe.memoizedState=f,f=qe.queue={last:null,dispatch:null},f=f.dispatch=Ns.bind(null,pr,f),[qe.memoizedState,f]}function la(f,g){if(pr=Ir(),qe=di(),g=g===void 0?null:g,qe!==null){var w=qe.memoizedState;if(w!==null&&g!==null){var C=w[1];e:if(C===null)C=!1;else{for(var z=0;z<C.length&&z<g.length;z++)if(!js(g[z],C[z])){C=!1;break e}C=!0}if(C)return w[0]}}return f=f(),qe.memoizedState=[f,g],f}function Ns(f,g,w){if(25<=bo)throw Error(r(301));if(f===pr)if(yo=!0,f={action:w,next:null},Ar===null&&(Ar=new Map),w=Ar.get(g),w===void 0)Ar.set(g,f);else{for(g=w;g.next!==null;)g=g.next;g.next=f}}function $s(){throw Error(r(394))}function wo(){}var ua={readContext:function(f){return f._currentValue},useContext:function(f){return Ir(),f._currentValue},useMemo:la,useReducer:xo,useRef:function(f){pr=Ir(),qe=di();var g=qe.memoizedState;return g===null?(f={current:f},qe.memoizedState=f):g},useState:function(f){return xo(sa,f)},useInsertionEffect:wo,useLayoutEffect:function(){},useCallback:function(f,g){return la(function(){return f},g)},useImperativeHandle:wo,useEffect:wo,useDebugValue:wo,useDeferredValue:function(f){return Ir(),f},useTransition:function(){return Ir(),[!1,$s]},useId:function(){var f=fi.treeContext,g=f.overflow;f=f.id,f=(f&~(1<<32-Ur(f)-1)).toString(32)+g;var w=_n;if(w===null)throw Error(r(404));return g=Wr++,f=":"+w.idPrefix+"R"+f,0<g&&(f+="H"+g.toString(32)),f+":"},useMutableSource:function(f,g){return Ir(),g(f._source)},useSyncExternalStore:function(f,g,w){if(w===void 0)throw Error(r(407));return w()}},_n=null,pi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function zs(f){return console.error(f),null}function cn(){}function hi(f,g,w,C,z,N,G,re,Ae){var Le=[],De=new Set;return g={destination:null,responseState:g,progressiveChunkSize:C===void 0?12800:C,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:De,pingedTasks:Le,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:z===void 0?zs:z,onAllReady:N===void 0?cn:N,onShellReady:G===void 0?cn:G,onShellError:re===void 0?cn:re,onFatalError:Ae===void 0?cn:Ae},w=fn(g,0,null,w,!1,!1),w.parentFlushed=!0,f=mi(g,f,null,w,De,xe,null,Br),Le.push(f),g}function mi(f,g,w,C,z,N,G,re){f.allPendingTasks++,w===null?f.pendingRootTasks++:w.pendingTasks++;var Ae={node:g,ping:function(){var Le=f.pingedTasks;Le.push(Ae),Le.length===1&&ga(f)},blockedBoundary:w,blockedSegment:C,abortSet:z,legacyContext:N,context:G,treeContext:re};return z.add(Ae),Ae}function fn(f,g,w,C,z,N){return{status:0,id:-1,index:g,parentFlushed:!1,chunks:[],children:[],formatContext:C,boundary:w,lastPushedText:z,textEmbedded:N}}function Ln(f,g){if(f=f.onError(g),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 So(f,g){var w=f.onShellError;w(g),w=f.onFatalError,w(g),f.destination!==null?(f.status=2,R(f.destination,g)):(f.status=1,f.fatalError=g)}function ca(f,g,w,C,z){for(pr={},fi=g,Wr=0,f=w(C,z);yo;)yo=!1,Wr=0,bo+=1,qe=null,f=w(C,z);return Dn(),f}function fa(f,g,w,C){var z=w.render(),N=C.childContextTypes;if(N!=null){var G=g.legacyContext;if(typeof w.getChildContext!="function")C=G;else{w=w.getChildContext();for(var re in w)if(!(re in N))throw Error(r(108,te(C)||"Unknown",re));C=or({},G,w)}g.legacyContext=C,At(f,g,z),g.legacyContext=G}else At(f,g,z)}function da(f,g){if(f&&f.defaultProps){g=or({},g),f=f.defaultProps;for(var w in f)g[w]===void 0&&(g[w]=f[w]);return g}return g}function ko(f,g,w,C,z){if(typeof w=="function")if(w.prototype&&w.prototype.isReactComponent){z=Pe(w,g.legacyContext);var N=w.contextType;N=new w(C,typeof N=="object"&&N!==null?N._currentValue:z),Pr(N,w,C,z),fa(f,g,N,w)}else{N=Pe(w,g.legacyContext),z=ca(f,g,w,C,N);var G=Wr!==0;if(typeof z=="object"&&z!==null&&typeof z.render=="function"&&z.$$typeof===void 0)Pr(z,w,C,N),fa(f,g,z,w);else if(G){C=g.treeContext,g.treeContext=dr(C,1,0);try{At(f,g,z)}finally{g.treeContext=C}}else At(f,g,z)}else if(typeof w=="string"){switch(z=g.blockedSegment,N=kn(z.chunks,w,C,f.responseState,z.formatContext),z.lastPushedText=!1,G=z.formatContext,z.formatContext=J(G,w,C),Eo(f,g,N),z.formatContext=G,w){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:z.chunks.push(En,m(w),Cn)}z.lastPushedText=!1}else{switch(w){case $:case T:case sn:case Ft:case zr:At(f,g,C.children);return;case Pt:At(f,g,C.children);return;case k:throw Error(r(343));case ht:e:{w=g.blockedBoundary,z=g.blockedSegment,N=C.fallback,C=C.children,G=new Set;var re={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},Ae=fn(f,z.chunks.length,re,z.formatContext,!1,!1);z.children.push(Ae),z.lastPushedText=!1;var Le=fn(f,0,null,z.formatContext,!1,!1);Le.parentFlushed=!0,g.blockedBoundary=re,g.blockedSegment=Le;try{if(Eo(f,g,C),Le.lastPushedText&&Le.textEmbedded&&Le.chunks.push(fe),Le.status=1,Co(re,Le),re.pendingTasks===0)break e}catch(De){Le.status=4,re.forceClientRender=!0,re.errorDigest=Ln(f,De)}finally{g.blockedBoundary=w,g.blockedSegment=z}g=mi(f,N,w,Ae,G,g.legacyContext,g.context,g.treeContext),f.pingedTasks.push(g)}return}if(typeof w=="object"&&w!==null)switch(w.$$typeof){case ln:if(C=ca(f,g,w.render,C,z),Wr!==0){w=g.treeContext,g.treeContext=dr(w,1,0);try{At(f,g,C)}finally{g.treeContext=w}}else At(f,g,C);return;case c:w=w.type,C=da(w,C),ko(f,g,w,C,z);return;case ir:if(z=C.children,w=w._context,C=C.value,N=w._currentValue,w._currentValue=C,G=we,we=C={parent:G,depth:G===null?0:G.depth+1,context:w,parentValue:N,value:C},g.context=C,At(f,g,z),f=we,f===null)throw Error(r(403));C=f.parentValue,f.context._currentValue=C===L?f.context._defaultValue:C,f=we=f.parent,g.context=f;return;case St:C=C.children,C=C(w._currentValue),At(f,g,C);return;case y:z=w._init,w=z(w._payload),C=da(w,C),ko(f,g,w,C,void 0);return}throw Error(r(130,w==null?w:typeof w,""))}}function At(f,g,w){if(g.node=w,typeof w=="object"&&w!==null){switch(w.$$typeof){case wt:ko(f,g,w.type,w.props,w.ref);return;case Tr:throw Error(r(257));case y:var C=w._init;w=C(w._payload),At(f,g,w);return}if(Fe(w)){pa(f,g,w);return}if(w===null||typeof w!="object"?C=null:(C=H&&w[H]||w["@@iterator"],C=typeof C=="function"?C:null),C&&(C=C.call(w))){if(w=C.next(),!w.done){var z=[];do z.push(w.value),w=C.next();while(!w.done);pa(f,g,z)}return}throw f=Object.prototype.toString.call(w),Error(r(31,f==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":f))}typeof w=="string"?(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,w,f.responseState,C.lastPushedText)):typeof w=="number"&&(C=g.blockedSegment,C.lastPushedText=me(g.blockedSegment.chunks,""+w,f.responseState,C.lastPushedText))}function pa(f,g,w){for(var C=w.length,z=0;z<C;z++){var N=g.treeContext;g.treeContext=dr(N,C,z);try{Eo(f,g,w[z])}finally{g.treeContext=N}}}function Eo(f,g,w){var C=g.blockedSegment.formatContext,z=g.legacyContext,N=g.context;try{return At(f,g,w)}catch(Ae){if(Dn(),typeof Ae=="object"&&Ae!==null&&typeof Ae.then=="function"){w=Ae;var G=g.blockedSegment,re=fn(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(re),G.lastPushedText=!1,f=mi(f,g.node,g.blockedBoundary,re,g.abortSet,g.legacyContext,g.context,g.treeContext).ping,w.then(f,f),g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N)}else throw g.blockedSegment.formatContext=C,g.legacyContext=z,g.context=N,ar(N),Ae}}function Bs(f){var g=f.blockedBoundary;f=f.blockedSegment,f.status=3,ma(this,g,f)}function ha(f,g,w){var C=f.blockedBoundary;f.blockedSegment.status=3,C===null?(g.allPendingTasks--,g.status!==2&&(g.status=2,g.destination!==null&&g.destination.close())):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,f=w===void 0?Error(r(432)):w,C.errorDigest=g.onError(f),C.parentFlushed&&g.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(z){return ha(z,g,w)}),C.fallbackAbortableTasks.clear(),g.allPendingTasks--,g.allPendingTasks===0&&(C=g.onAllReady,C()))}function Co(f,g){if(g.chunks.length===0&&g.children.length===1&&g.children[0].boundary===null){var w=g.children[0];w.id=g.id,w.parentFlushed=!0,w.status===1&&Co(f,w)}else f.completedSegments.push(g)}function ma(f,g,w){if(g===null){if(w.parentFlushed){if(f.completedRootSegment!==null)throw Error(r(389));f.completedRootSegment=w}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=cn,g=f.onShellReady,g())}else g.pendingTasks--,g.forceClientRender||(g.pendingTasks===0?(w.parentFlushed&&w.status===1&&Co(g,w),g.parentFlushed&&f.completedBoundaries.push(g),g.fallbackAbortableTasks.forEach(Bs,f),g.fallbackAbortableTasks.clear()):w.parentFlushed&&w.status===1&&(Co(g,w),g.completedSegments.length===1&&g.parentFlushed&&f.partialBoundaries.push(g)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function ga(f){if(f.status!==2){var g=we,w=pi.current;pi.current=ua;var C=_n;_n=f.responseState;try{var z=f.pingedTasks,N;for(N=0;N<z.length;N++){var G=z[N],re=f,Ae=G.blockedSegment;if(Ae.status===0){ar(G.context);try{At(re,G,G.node),Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push(fe),G.abortSet.delete(G),Ae.status=1,ma(re,G.blockedBoundary,Ae)}catch(Ut){if(Dn(),typeof Ut=="object"&&Ut!==null&&typeof Ut.then=="function"){var Le=G.ping;Ut.then(Le,Le)}else{G.abortSet.delete(G),Ae.status=4;var De=G.blockedBoundary,et=Ut,It=Ln(re,et);if(De===null?So(re,et):(De.pendingTasks--,De.forceClientRender||(De.forceClientRender=!0,De.errorDigest=It,De.parentFlushed&&re.clientRenderedBoundaries.push(De))),re.allPendingTasks--,re.allPendingTasks===0){var Bt=re.onAllReady;Bt()}}}finally{}}}z.splice(0,N),f.destination!==null&&gi(f,f.destination)}catch(Ut){Ln(f,Ut),So(f,Ut)}finally{_n=C,pi.current=w,w===ua&&ar(g)}}}function To(f,g,w){switch(w.parentFlushed=!0,w.status){case 0:var C=w.id=f.nextSegmentId++;return w.lastPushedText=!1,w.textEmbedded=!1,f=f.responseState,a(g,at),a(g,f.placeholderPrefix),f=m(C.toString(16)),a(g,f),d(g,Tn);case 1:w.status=2;var z=!0;C=w.chunks;var N=0;w=w.children;for(var G=0;G<w.length;G++){for(z=w[G];N<z.index;N++)a(g,C[N]);z=Ro(f,g,z)}for(;N<C.length-1;N++)a(g,C[N]);return N<C.length&&(z=d(g,C[N])),z;default:throw Error(r(390))}}function Ro(f,g,w){var C=w.boundary;if(C===null)return To(f,g,w);if(C.parentFlushed=!0,C.forceClientRender)C=C.errorDigest,d(g,en),a(g,Pn),C&&(a(g,An),a(g,m(ce(C))),a(g,yr)),d(g,fo),To(f,g,w);else if(0<C.pendingTasks){C.rootSegmentID=f.nextSegmentId++,0<C.completedSegments.length&&f.partialBoundaries.push(C);var z=f.responseState,N=z.nextSuspenseID++;z=x(z.boundaryPrefix+N.toString(16)),C=C.id=z,xt(g,f.responseState,C),To(f,g,w)}else if(C.byteSize>f.progressiveChunkSize)C.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(C),xt(g,f.responseState,C.id),To(f,g,w);else{if(d(g,uo),w=C.completedSegments,w.length!==1)throw Error(r(391));Ro(f,g,w[0])}return d(g,li)}function va(f,g,w){return Tt(g,f.responseState,w.formatContext,w.id),Ro(f,g,w),er(g,w.formatContext)}function ya(f,g,w){for(var C=w.completedSegments,z=0;z<C.length;z++)ba(f,g,w,C[z]);if(C.length=0,f=f.responseState,C=w.id,w=w.rootSegmentID,a(g,f.startInlineScript),f.sentCompleteBoundaryFunction?a(g,Rt):(f.sentCompleteBoundaryFunction=!0,a(g,Er)),C===null)throw Error(r(395));return w=m(w.toString(16)),a(g,C),a(g,ho),a(g,f.segmentPrefix),a(g,w),d(g,mo)}function ba(f,g,w,C){if(C.status===2)return!0;var z=C.id;if(z===-1){if((C.id=w.rootSegmentID)===-1)throw Error(r(392));return va(f,g,C)}return va(f,g,C),f=f.responseState,a(g,f.startInlineScript),f.sentCompleteSegmentFunction?a(g,Sr):(f.sentCompleteSegmentFunction=!0,a(g,on)),a(g,f.segmentPrefix),z=m(z.toString(16)),a(g,z),a(g,kr),a(g,f.placeholderPrefix),a(g,z),d(g,tr)}function gi(f,g){o=new Uint8Array(512),i=0;try{var w=f.completedRootSegment;if(w!==null&&f.pendingRootTasks===0){Ro(f,g,w),f.completedRootSegment=null;var C=f.responseState.bootstrapChunks;for(w=0;w<C.length-1;w++)a(g,C[w]);w<C.length&&d(g,C[w])}var z=f.clientRenderedBoundaries,N;for(N=0;N<z.length;N++){var G=z[N];C=g;var re=f.responseState,Ae=G.id,Le=G.errorDigest,De=G.errorMessage,et=G.errorComponentStack;if(a(C,re.startInlineScript),re.sentClientRenderFunction?a(C,lt):(re.sentClientRenderFunction=!0,a(C,fr)),Ae===null)throw Error(r(395));a(C,Ae),a(C,rr),(Le||De||et)&&(a(C,Cr),a(C,m($t(Le||"")))),(De||et)&&(a(C,Cr),a(C,m($t(De||"")))),et&&(a(C,Cr),a(C,m($t(et)))),d(C,nr)}z.splice(0,N);var It=f.completedBoundaries;for(N=0;N<It.length;N++)ya(f,g,It[N]);It.splice(0,N),h(g),o=new Uint8Array(512),i=0;var Bt=f.partialBoundaries;for(N=0;N<Bt.length;N++){var Ut=Bt[N];e:{z=f,G=g;var Po=Ut.completedSegments;for(re=0;re<Po.length;re++)if(!ba(z,G,Ut,Po[re])){re++,Po.splice(0,re);var wa=!1;break e}Po.splice(0,re),wa=!0}if(!wa){f.destination=null,N++,Bt.splice(0,N);return}}Bt.splice(0,N);var jn=f.completedBoundaries;for(N=0;N<jn.length;N++)ya(f,g,jn[N]);jn.splice(0,N)}finally{h(g),f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&g.close()}}function xa(f,g){try{var w=f.abortableTasks;w.forEach(function(C){return ha(C,f,g)}),w.clear(),f.destination!==null&&gi(f,f.destination)}catch(C){Ln(f,C),So(f,C)}}return zu.renderToReadableStream=function(f,g){return new Promise(function(w,C){var z,N,G=new Promise(function(De,et){N=De,z=et}),re=hi(f,Z(g?g.identifierPrefix:void 0,g?g.nonce:void 0,g?g.bootstrapScriptContent:void 0,g?g.bootstrapScripts:void 0,g?g.bootstrapModules:void 0),Q(g?g.namespaceURI:void 0),g?g.progressiveChunkSize:void 0,g?g.onError:void 0,N,function(){var De=new ReadableStream({type:"bytes",pull:function(et){if(re.status===1)re.status=2,R(et,re.fatalError);else if(re.status!==2&&re.destination===null){re.destination=et;try{gi(re,et)}catch(It){Ln(re,It),So(re,It)}}},cancel:function(){xa(re)}},{highWaterMark:0});De.allReady=G,w(De)},function(De){G.catch(function(){}),C(De)},z);if(g&&g.signal){var Ae=g.signal,Le=function(){xa(re,Ae.reason),Ae.removeEventListener("abort",Le)};Ae.addEventListener("abort",Le)}ga(re)})},zu.version="18.3.1",zu}var Wi={};/**
|
|
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 hp;function nv(){return hp||(hp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("warn",t,s)}}function a(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("error",t,s)}}function d(t,n,s){{var u=o.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(n+="%s",s=s.concat([p]));var b=s.map(function(S){return String(S)});b.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,b)}}function h(t){t()}function v(t){}function m(t,n){x(t,n)}function x(t,n){return t.push(n)}function R(t){}function E(t){t.push(null)}function F(t){return t}function M(t){return t}function B(t,n){t.destroy(n)}function D(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function P(t){try{return I(t),!1}catch{return!0}}function I(t){return""+t}function W(t,n){if(P(t))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,D(t)),I(t)}function U(t,n){if(P(t))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,D(t)),I(t)}function q(t){if(P(t))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(t)),I(t)}var _=Object.prototype.hasOwnProperty,ie=0,ce=1,ee=2,ae=3,Fe=4,Ne=5,_e=6,Ge=":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",Qe=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("^["+Ge+"]["+Qe+"]*$"),Ce={},je={};function Z(t){return _.call(je,t)?!0:_.call(Ce,t)?!1:ke.test(t)?(je[t]=!0,!0):(Ce[t]=!0,a("Invalid attribute name: `%s`",t),!1)}function be(t,n,s,u){if(s!==null&&s.type===ie)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var p=t.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function G(t){return fe.hasOwnProperty(t)?fe[t]:null}function J(t,n,s,u,p,b,S){this.acceptsBooleans=n===ee||n===ae||n===Fe,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=t,this.type=n,this.sanitizeURL=b,this.removeEmptyString=S}var fe={},me=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];me.forEach(function(t){fe[t]=new J(t,ie,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],s=t[1];fe[n]=new J(n,ce,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){fe[t]=new J(t,ee,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){fe[t]=new J(t,ee,!1,t,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(t){fe[t]=new J(t,ae,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){fe[t]=new J(t,ae,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){fe[t]=new J(t,Fe,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){fe[t]=new J(t,_e,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){fe[t]=new J(t,Ne,!1,t.toLowerCase(),null,!1,!1)});var pe=/[\-\:]([a-z])/g,ge=function(t){return t[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(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){fe[t]=new J(t,ce,!1,t.toLowerCase(),null,!1,!1)});var se="xlinkHref";fe[se]=new J("xlinkHref",ce,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){fe[t]=new J(t,ce,!1,t.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 Te(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ee=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(t){Ee.forEach(function(n){ue[Te(n,t)]=ue[t]})});var Re={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function $e(t,n){Re[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 oe(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){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 Ue={"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},nt={},Lt=new RegExp("^(aria)-["+Qe+"]*$"),Lr=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function so(t,n){{if(_.call(nt,n)&&nt[n])return!0;if(Lr.test(n)){var s="aria-"+n.slice(4).toLowerCase(),u=Ue.hasOwnProperty(s)?s:null;if(u==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),nt[n]=!0,!0;if(n!==u)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),nt[n]=!0,!0}if(Lt.test(n)){var p=n.toLowerCase(),b=Ue.hasOwnProperty(p)?p:null;if(b==null)return nt[n]=!0,!1;if(n!==b)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,b),nt[n]=!0,!0}}return!0}function jt(t,n){{var s=[];for(var u in n){var p=so(t,u);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t)}}function jr(t,n){oe(t,n)||jt(t,n)}var Nr=!1;function lo(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!Nr&&(Nr=!0,t==="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.",t):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Nt={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"},mt=function(){};{var ct={},kn=/^on./,En=/^on[^A-Z]/,Cn=new RegExp("^(aria)-["+Qe+"]*$"),at=new RegExp("^(aria)[A-Z]["+Qe+"]*$");mt=function(t,n,s,u){if(_.call(ct,n)&&ct[n])return!0;var p=n.toLowerCase();if(p==="onfocusin"||p==="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."),ct[n]=!0,!0;if(u!=null){var b=u.registrationNameDependencies,S=u.possibleRegistrationNames;if(b.hasOwnProperty(n))return!0;var A=S.hasOwnProperty(p)?S[p]:null;if(A!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,A),ct[n]=!0,!0;if(kn.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),ct[n]=!0,!0}else if(kn.test(n))return En.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),ct[n]=!0,!0;if(Cn.test(n)||at.test(n))return!0;if(p==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ct[n]=!0,!0;if(p==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ct[n]=!0,!0;if(p==="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),ct[n]=!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.",n),ct[n]=!0,!0;var j=G(n),X=j!==null&&j.type===ie;if(Nt.hasOwnProperty(p)){var K=Nt[p];if(K!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,K),ct[n]=!0,!0}else if(!X&&n!==p)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,p),ct[n]=!0,!0;return typeof s=="boolean"&&be(n,s,j)?(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,n,n,s,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.',s,n,n,s,n,n,n),ct[n]=!0,!0):X?!0:be(n,s,j)?(ct[n]=!0,!1):((s==="false"||s==="true")&&j!==null&&j.type===ae&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,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".',n,s),ct[n]=!0),!0)}}var Tn=function(t,n,s){{var u=[];for(var p in n){var b=mt(t,p,n[p],s);b||u.push(p)}var S=u.map(function(A){return"`"+A+"`"}).join(", ");u.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 ",S,t):u.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 ",S,t)}};function uo(t,n,s){oe(t,n)||Tn(t,n,s)}var co=function(){};{var Rn=/^(?:webkit|moz|o)[A-Z]/,en=/^-ms-/,si=/-(.)/g,Pn=/;\s*$/,yr={},An={},fo=!1,xt=!1,Jt=function(t){return t.replace(si,function(n,s){return s.toUpperCase()})},br=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported style property %s. Did you mean %s?",t,Jt(t.replace(en,"ms-"))))},Xe=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},xr=function(t,n){An.hasOwnProperty(n)&&An[n]||(An[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Pn,"")))},tn=function(t,n){fo||(fo=!0,a("`NaN` is an invalid value for the `%s` css style property.",t))},$r=function(t,n){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",t))};co=function(t,n){t.indexOf("-")>-1?br(t):Rn.test(t)?Xe(t):Pn.test(n)&&xr(t,n),typeof n=="number"&&(isNaN(n)?tn(t,n):isFinite(n)||$r(t,n))}}var Kt=co,rn=/["'&<>]/;function cr(t){q(t);var n=""+t,s=rn.exec(n);if(!s)return n;var u,p="",b,S=0;for(b=s.index;b<n.length;b++){switch(n.charCodeAt(b)){case 34:u=""";break;case 38:u="&";break;case 39:u="'";break;case 60:u="<";break;case 62:u=">";break;default:continue}S!==b&&(p+=n.substring(S,b)),S=b+1,p+=u}return S!==b?p+n.substring(S,b):p}function ft(t){return typeof t=="boolean"||typeof t=="number"?""+t:cr(t)}var In=/([A-Z])/g,On=/^ms-/;function po(t){return t.replace(In,"-$1").toLowerCase().replace(On,"-ms-")}var st=/^[\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,Fn=!1;function li(t){!Fn&&st.test(t)&&(Fn=!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(t)))}var ui=Array.isArray;function Zt(t){return ui(t)}var Mn="<script>";function nn(t,n,s,u,p){var b=t===void 0?"":t,S=Mn,A=[];return{bootstrapChunks:A,startInlineScript:S,placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var wr=0,Tt=1,er=2,on=3,Sr=4,kr=5,tr=6,Er=7;function Rt(t,n){return{insertionMode:t,selectedValue:n}}function ho(t,n,s){switch(n){case"select":return Rt(Tt,s.value!=null?s.value:s.defaultValue);case"svg":return Rt(er,null);case"math":return Rt(on,null);case"foreignObject":return Rt(Tt,null);case"table":return Rt(Sr,null);case"thead":case"tbody":case"tfoot":return Rt(kr,null);case"colgroup":return Rt(Er,null);case"tr":return Rt(tr,null)}return t.insertionMode>=Sr||t.insertionMode===wr?Rt(Tt,null):t}var mo=null;function fr(t){var n=t.nextSuspenseID++;return t.boundaryPrefix+n.toString(16)}function lt(t,n,s){var u=t.idPrefix,p=":"+u+"R"+n;return s>0&&(p+="H"+s.toString(32)),p+":"}function rr(t){return ft(t)}var nr="<!-- -->";function Cr(t,n,s,u){return n===""?u:(u&&t.push(nr),t.push(rr(n)),!0)}function an(t,n,s,u){s&&u&&t.push(nr)}var $t=new Map;function or(t){var n=$t.get(t);if(n!==void 0)return n;var s=ft(po(t));return $t.set(t,s),s}var wt=' style="',Tr=":",zr=";";function sn(t,n,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 u=!0;for(var p in s)if(_.call(s,p)){var b=s[p];if(!(b==null||typeof b=="boolean"||b==="")){var S=void 0,A=void 0,j=p.indexOf("--")===0;j?(S=ft(p),U(b,p),A=ft((""+b).trim())):(Kt(p,b),S=or(p),typeof b=="number"?b!==0&&!_.call(ue,p)?A=b+"px":A=""+b:(U(b,p),A=ft((""+b).trim()))),u?(u=!1,t.push(wt,S,Tr,A)):t.push(zr,S,Tr,A)}}u||t.push(St)}var Ft=" ",ir='="',St='"',ln='=""';function ht(t,n,s,u){switch(s){case"style":{sn(t,n,u);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 p=G(s);if(p!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!p.acceptsBooleans)return}var b=p.attributeName,S=b;switch(p.type){case ae:u&&t.push(Ft,S,ln);return;case Fe:u===!0?t.push(Ft,S,ln):u===!1||t.push(Ft,S,ir,ft(u),St);return;case Ne:isNaN(u)||t.push(Ft,S,ir,ft(u),St);break;case _e:!isNaN(u)&&u>=1&&t.push(Ft,S,ir,ft(u),St);break;default:p.sanitizeURL&&(W(u,b),u=""+u,li(u)),t.push(Ft,S,ir,ft(u),St)}}else if(Z(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var A=s.toLowerCase().slice(0,5);if(A!=="data-"&&A!=="aria-")return}}t.push(Ft,s,ir,ft(u),St)}}}var Pt=">",c="/>";function y(t,n,s){if(n!=null){if(s!=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 u=n.__html;u!=null&&(q(u),t.push(""+u))}}var k=!1,T=!1,$=!1,L=!1,H=!1,te=!1,xe=!1;function Pe(t,n){{var s=t[n];if(s!=null){var u=Zt(s);t.multiple&&!u?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!t.multiple&&u&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function we(t,n,s){$e("select",n),Pe(n,"value"),Pe(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!$&&(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"),$=!0),t.push(sr("select"));var u=null,p=null;for(var b in n)if(_.call(n,b)){var S=n[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;case"defaultValue":case"value":break;default:ht(t,s,b,S);break}}return t.push(Pt),y(t,p,u),u}function He(t){var n="";return e.Children.forEach(t,function(s){s!=null&&(n+=s,!H&&typeof s!="string"&&typeof s!="number"&&(H=!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 kt=' selected=""';function Et(t,n,s,u){var p=u.selectedValue;t.push(sr("option"));var b=null,S=null,A=null,j=null;for(var X in n)if(_.call(n,X)){var K=n[X];if(K==null)continue;switch(X){case"children":b=K;break;case"selected":A=K,xe||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),xe=!0);break;case"dangerouslySetInnerHTML":j=K;break;case"value":S=K;default:ht(t,s,X,K);break}}if(p!=null){var le;if(S!==null?(W(S,"value"),le=""+S):(j!==null&&(te||(te=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),le=He(b)),Zt(p))for(var Oe=0;Oe<p.length;Oe++){W(p[Oe],"value");var Ye=""+p[Oe];if(Ye===le){t.push(kt);break}}else W(p,"select.value"),""+p===le&&t.push(kt)}else A&&t.push(kt);return t.push(Pt),y(t,j,b),b}function Ct(t,n,s){$e("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!T&&(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),T=!0),n.value!==void 0&&n.defaultValue!==void 0&&!k&&(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),k=!0),t.push(sr("input"));var u=null,p=null,b=null,S=null;for(var A in n)if(_.call(n,A)){var j=n[A];if(j==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":S=j;break;case"defaultValue":p=j;break;case"checked":b=j;break;case"value":u=j;break;default:ht(t,s,A,j);break}}return b!==null?ht(t,s,"checked",b):S!==null&&ht(t,s,"checked",S),u!==null?ht(t,s,"value",u):p!==null&&ht(t,s,"value",p),t.push(c),null}function Rr(t,n,s){$e("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!L&&(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"),L=!0),t.push(sr("textarea"));var u=null,p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":b=A;break;case"value":u=A;break;case"defaultValue":p=A;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ht(t,s,S,A);break}}if(u===null&&p!==null&&(u=p),t.push(Pt),b!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),u!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(b)){if(b.length>1)throw new Error("<textarea> can only have at most one child.");q(b[0]),u=""+b[0]}q(b),u=""+b}return typeof u=="string"&&u[0]===`
|
|
35
|
+
*/var hp;function ov(){return hp||(hp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("warn",t,s)}}function a(t){{for(var n=arguments.length,s=new Array(n>1?n-1:0),u=1;u<n;u++)s[u-1]=arguments[u];d("error",t,s)}}function d(t,n,s){{var u=o.ReactDebugCurrentFrame,p=u.getStackAddendum();p!==""&&(n+="%s",s=s.concat([p]));var b=s.map(function(S){return String(S)});b.unshift("Warning: "+n),Function.prototype.apply.call(console[t],console,b)}}function h(t){t()}function v(t){}function m(t,n){x(t,n)}function x(t,n){return t.push(n)}function R(t){}function E(t){t.push(null)}function F(t){return t}function M(t){return t}function B(t,n){t.destroy(n)}function D(t){{var n=typeof Symbol=="function"&&Symbol.toStringTag,s=n&&t[Symbol.toStringTag]||t.constructor.name||"Object";return s}}function P(t){try{return I(t),!1}catch{return!0}}function I(t){return""+t}function W(t,n){if(P(t))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,D(t)),I(t)}function U(t,n){if(P(t))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,D(t)),I(t)}function q(t){if(P(t))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(t)),I(t)}var _=Object.prototype.hasOwnProperty,ie=0,ce=1,ee=2,ae=3,Fe=4,Ne=5,_e=6,Ge=":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",Qe=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ke=new RegExp("^["+Ge+"]["+Qe+"]*$"),Ce={},je={};function Z(t){return _.call(je,t)?!0:_.call(Ce,t)?!1:ke.test(t)?(je[t]=!0,!0):(Ce[t]=!0,a("Invalid attribute name: `%s`",t),!1)}function be(t,n,s,u){if(s!==null&&s.type===ie)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var p=t.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function Q(t){return fe.hasOwnProperty(t)?fe[t]:null}function J(t,n,s,u,p,b,S){this.acceptsBooleans=n===ee||n===ae||n===Fe,this.attributeName=u,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=t,this.type=n,this.sanitizeURL=b,this.removeEmptyString=S}var fe={},me=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];me.forEach(function(t){fe[t]=new J(t,ie,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0],s=t[1];fe[n]=new J(n,ce,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){fe[t]=new J(t,ee,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){fe[t]=new J(t,ee,!1,t,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(t){fe[t]=new J(t,ae,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){fe[t]=new J(t,ae,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){fe[t]=new J(t,Fe,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){fe[t]=new J(t,_e,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){fe[t]=new J(t,Ne,!1,t.toLowerCase(),null,!1,!1)});var pe=/[\-\:]([a-z])/g,ge=function(t){return t[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(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(pe,ge);fe[n]=new J(n,ce,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){fe[t]=new J(t,ce,!1,t.toLowerCase(),null,!1,!1)});var se="xlinkHref";fe[se]=new J("xlinkHref",ce,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){fe[t]=new J(t,ce,!1,t.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 Te(t,n){return t+n.charAt(0).toUpperCase()+n.substring(1)}var Ee=["Webkit","ms","Moz","O"];Object.keys(ue).forEach(function(t){Ee.forEach(function(n){ue[Te(n,t)]=ue[t]})});var Re={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function $e(t,n){Re[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 oe(t,n){if(t.indexOf("-")===-1)return typeof n.is=="string";switch(t){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 Ue={"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},nt={},Lt=new RegExp("^(aria)-["+Qe+"]*$"),Lr=new RegExp("^(aria)[A-Z]["+Qe+"]*$");function so(t,n){{if(_.call(nt,n)&&nt[n])return!0;if(Lr.test(n)){var s="aria-"+n.slice(4).toLowerCase(),u=Ue.hasOwnProperty(s)?s:null;if(u==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",n),nt[n]=!0,!0;if(n!==u)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",n,u),nt[n]=!0,!0}if(Lt.test(n)){var p=n.toLowerCase(),b=Ue.hasOwnProperty(p)?p:null;if(b==null)return nt[n]=!0,!1;if(n!==b)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",n,b),nt[n]=!0,!0}}return!0}function jt(t,n){{var s=[];for(var u in n){var p=so(t,u);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",b,t)}}function jr(t,n){oe(t,n)||jt(t,n)}var Nr=!1;function lo(t,n){{if(t!=="input"&&t!=="textarea"&&t!=="select")return;n!=null&&n.value===null&&!Nr&&(Nr=!0,t==="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.",t):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",t))}}var Nt={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"},mt=function(){};{var ct={},kn=/^on./,En=/^on[^A-Z]/,Cn=new RegExp("^(aria)-["+Qe+"]*$"),at=new RegExp("^(aria)[A-Z]["+Qe+"]*$");mt=function(t,n,s,u){if(_.call(ct,n)&&ct[n])return!0;var p=n.toLowerCase();if(p==="onfocusin"||p==="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."),ct[n]=!0,!0;if(u!=null){var b=u.registrationNameDependencies,S=u.possibleRegistrationNames;if(b.hasOwnProperty(n))return!0;var A=S.hasOwnProperty(p)?S[p]:null;if(A!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",n,A),ct[n]=!0,!0;if(kn.test(n))return a("Unknown event handler property `%s`. It will be ignored.",n),ct[n]=!0,!0}else if(kn.test(n))return En.test(n)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",n),ct[n]=!0,!0;if(Cn.test(n)||at.test(n))return!0;if(p==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ct[n]=!0,!0;if(p==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ct[n]=!0,!0;if(p==="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),ct[n]=!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.",n),ct[n]=!0,!0;var j=Q(n),X=j!==null&&j.type===ie;if(Nt.hasOwnProperty(p)){var K=Nt[p];if(K!==n)return a("Invalid DOM property `%s`. Did you mean `%s`?",n,K),ct[n]=!0,!0}else if(!X&&n!==p)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,p),ct[n]=!0,!0;return typeof s=="boolean"&&be(n,s,j)?(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,n,n,s,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.',s,n,n,s,n,n,n),ct[n]=!0,!0):X?!0:be(n,s,j)?(ct[n]=!0,!1):((s==="false"||s==="true")&&j!==null&&j.type===ae&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,n,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".',n,s),ct[n]=!0),!0)}}var Tn=function(t,n,s){{var u=[];for(var p in n){var b=mt(t,p,n[p],s);b||u.push(p)}var S=u.map(function(A){return"`"+A+"`"}).join(", ");u.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 ",S,t):u.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 ",S,t)}};function uo(t,n,s){oe(t,n)||Tn(t,n,s)}var co=function(){};{var Rn=/^(?:webkit|moz|o)[A-Z]/,en=/^-ms-/,li=/-(.)/g,Pn=/;\s*$/,yr={},An={},fo=!1,xt=!1,Jt=function(t){return t.replace(li,function(n,s){return s.toUpperCase()})},br=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported style property %s. Did you mean %s?",t,Jt(t.replace(en,"ms-"))))},Xe=function(t){yr.hasOwnProperty(t)&&yr[t]||(yr[t]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1)))},xr=function(t,n){An.hasOwnProperty(n)&&An[n]||(An[n]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,n.replace(Pn,"")))},tn=function(t,n){fo||(fo=!0,a("`NaN` is an invalid value for the `%s` css style property.",t))},$r=function(t,n){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",t))};co=function(t,n){t.indexOf("-")>-1?br(t):Rn.test(t)?Xe(t):Pn.test(n)&&xr(t,n),typeof n=="number"&&(isNaN(n)?tn(t,n):isFinite(n)||$r(t,n))}}var Kt=co,rn=/["'&<>]/;function cr(t){q(t);var n=""+t,s=rn.exec(n);if(!s)return n;var u,p="",b,S=0;for(b=s.index;b<n.length;b++){switch(n.charCodeAt(b)){case 34:u=""";break;case 38:u="&";break;case 39:u="'";break;case 60:u="<";break;case 62:u=">";break;default:continue}S!==b&&(p+=n.substring(S,b)),S=b+1,p+=u}return S!==b?p+n.substring(S,b):p}function ft(t){return typeof t=="boolean"||typeof t=="number"?""+t:cr(t)}var In=/([A-Z])/g,On=/^ms-/;function po(t){return t.replace(In,"-$1").toLowerCase().replace(On,"-ms-")}var st=/^[\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,Fn=!1;function ui(t){!Fn&&st.test(t)&&(Fn=!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(t)))}var ci=Array.isArray;function Zt(t){return ci(t)}var Mn="<script>";function nn(t,n,s,u,p){var b=t===void 0?"":t,S=Mn,A=[];return{bootstrapChunks:A,startInlineScript:S,placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var wr=0,Tt=1,er=2,on=3,Sr=4,kr=5,tr=6,Er=7;function Rt(t,n){return{insertionMode:t,selectedValue:n}}function ho(t,n,s){switch(n){case"select":return Rt(Tt,s.value!=null?s.value:s.defaultValue);case"svg":return Rt(er,null);case"math":return Rt(on,null);case"foreignObject":return Rt(Tt,null);case"table":return Rt(Sr,null);case"thead":case"tbody":case"tfoot":return Rt(kr,null);case"colgroup":return Rt(Er,null);case"tr":return Rt(tr,null)}return t.insertionMode>=Sr||t.insertionMode===wr?Rt(Tt,null):t}var mo=null;function fr(t){var n=t.nextSuspenseID++;return t.boundaryPrefix+n.toString(16)}function lt(t,n,s){var u=t.idPrefix,p=":"+u+"R"+n;return s>0&&(p+="H"+s.toString(32)),p+":"}function rr(t){return ft(t)}var nr="<!-- -->";function Cr(t,n,s,u){return n===""?u:(u&&t.push(nr),t.push(rr(n)),!0)}function an(t,n,s,u){s&&u&&t.push(nr)}var $t=new Map;function or(t){var n=$t.get(t);if(n!==void 0)return n;var s=ft(po(t));return $t.set(t,s),s}var wt=' style="',Tr=":",zr=";";function sn(t,n,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 u=!0;for(var p in s)if(_.call(s,p)){var b=s[p];if(!(b==null||typeof b=="boolean"||b==="")){var S=void 0,A=void 0,j=p.indexOf("--")===0;j?(S=ft(p),U(b,p),A=ft((""+b).trim())):(Kt(p,b),S=or(p),typeof b=="number"?b!==0&&!_.call(ue,p)?A=b+"px":A=""+b:(U(b,p),A=ft((""+b).trim()))),u?(u=!1,t.push(wt,S,Tr,A)):t.push(zr,S,Tr,A)}}u||t.push(St)}var Ft=" ",ir='="',St='"',ln='=""';function ht(t,n,s,u){switch(s){case"style":{sn(t,n,u);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 p=Q(s);if(p!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!p.acceptsBooleans)return}var b=p.attributeName,S=b;switch(p.type){case ae:u&&t.push(Ft,S,ln);return;case Fe:u===!0?t.push(Ft,S,ln):u===!1||t.push(Ft,S,ir,ft(u),St);return;case Ne:isNaN(u)||t.push(Ft,S,ir,ft(u),St);break;case _e:!isNaN(u)&&u>=1&&t.push(Ft,S,ir,ft(u),St);break;default:p.sanitizeURL&&(W(u,b),u=""+u,ui(u)),t.push(Ft,S,ir,ft(u),St)}}else if(Z(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var A=s.toLowerCase().slice(0,5);if(A!=="data-"&&A!=="aria-")return}}t.push(Ft,s,ir,ft(u),St)}}}var Pt=">",c="/>";function y(t,n,s){if(n!=null){if(s!=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 u=n.__html;u!=null&&(q(u),t.push(""+u))}}var k=!1,T=!1,$=!1,L=!1,H=!1,te=!1,xe=!1;function Pe(t,n){{var s=t[n];if(s!=null){var u=Zt(s);t.multiple&&!u?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",n):!t.multiple&&u&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",n)}}}function we(t,n,s){$e("select",n),Pe(n,"value"),Pe(n,"defaultValue"),n.value!==void 0&&n.defaultValue!==void 0&&!$&&(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"),$=!0),t.push(sr("select"));var u=null,p=null;for(var b in n)if(_.call(n,b)){var S=n[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;case"defaultValue":case"value":break;default:ht(t,s,b,S);break}}return t.push(Pt),y(t,p,u),u}function He(t){var n="";return e.Children.forEach(t,function(s){s!=null&&(n+=s,!H&&typeof s!="string"&&typeof s!="number"&&(H=!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 kt=' selected=""';function Et(t,n,s,u){var p=u.selectedValue;t.push(sr("option"));var b=null,S=null,A=null,j=null;for(var X in n)if(_.call(n,X)){var K=n[X];if(K==null)continue;switch(X){case"children":b=K;break;case"selected":A=K,xe||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),xe=!0);break;case"dangerouslySetInnerHTML":j=K;break;case"value":S=K;default:ht(t,s,X,K);break}}if(p!=null){var le;if(S!==null?(W(S,"value"),le=""+S):(j!==null&&(te||(te=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),le=He(b)),Zt(p))for(var Oe=0;Oe<p.length;Oe++){W(p[Oe],"value");var Ye=""+p[Oe];if(Ye===le){t.push(kt);break}}else W(p,"select.value"),""+p===le&&t.push(kt)}else A&&t.push(kt);return t.push(Pt),y(t,j,b),b}function Ct(t,n,s){$e("input",n),n.checked!==void 0&&n.defaultChecked!==void 0&&!T&&(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),T=!0),n.value!==void 0&&n.defaultValue!==void 0&&!k&&(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),k=!0),t.push(sr("input"));var u=null,p=null,b=null,S=null;for(var A in n)if(_.call(n,A)){var j=n[A];if(j==null)continue;switch(A){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":S=j;break;case"defaultValue":p=j;break;case"checked":b=j;break;case"value":u=j;break;default:ht(t,s,A,j);break}}return b!==null?ht(t,s,"checked",b):S!==null&&ht(t,s,"checked",S),u!==null?ht(t,s,"value",u):p!==null&&ht(t,s,"value",p),t.push(c),null}function Rr(t,n,s){$e("textarea",n),n.value!==void 0&&n.defaultValue!==void 0&&!L&&(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"),L=!0),t.push(sr("textarea"));var u=null,p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":b=A;break;case"value":u=A;break;case"defaultValue":p=A;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:ht(t,s,S,A);break}}if(u===null&&p!==null&&(u=p),t.push(Pt),b!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),u!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Zt(b)){if(b.length>1)throw new Error("<textarea> can only have at most one child.");q(b[0]),u=""+b[0]}q(b),u=""+b}return typeof u=="string"&&u[0]===`
|
|
36
36
|
`&&t.push(Ur),u!==null&&(W(u,"value"),t.push(rr(""+u))),null}function ar(t,n,s,u){t.push(sr(s));for(var p in n)if(_.call(n,p)){var b=n[p];if(b==null)continue;switch(p){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:ht(t,u,p,b);break}}return t.push(c),null}function un(t,n,s){t.push(sr("menuitem"));for(var u in n)if(_.call(n,u)){var p=n[u];if(p==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:ht(t,s,u,p);break}}return t.push(Pt),null}function Pr(t,n,s){t.push(sr("title"));var u=null;for(var p in n)if(_.call(n,p)){var b=n[p];if(b==null)continue;switch(p){case"children":u=b;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:ht(t,s,p,b);break}}t.push(Pt);{var S=Array.isArray(u)&&u.length<2?u[0]||null:u;Array.isArray(u)&&u.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"):S!=null&&S.$$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"):S!=null&&typeof S!="string"&&typeof S!="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 u}function Br(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;default:ht(t,u,S,A);break}}return t.push(Pt),y(t,b,p),typeof p=="string"?(t.push(rr(p)),null):p}function dr(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;case"style":sn(t,u,A);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Z(S)&&typeof A!="function"&&typeof A!="symbol"&&t.push(Ft,S,ir,ft(A),St);break}}return t.push(Pt),y(t,b,p),p}var Ur=`
|
|
37
37
|
`;function _s(t,n,s,u){t.push(sr(s));var p=null,b=null;for(var S in n)if(_.call(n,S)){var A=n[S];if(A==null)continue;switch(S){case"children":p=A;break;case"dangerouslySetInnerHTML":b=A;break;default:ht(t,u,S,A);break}}if(t.push(Pt),b!=null){if(p!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof b!="object"||!("__html"in b))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 j=b.__html;j!=null&&(typeof j=="string"&&j.length>0&&j[0]===`
|
|
38
38
|
`?t.push(Ur,j):(q(j),t.push(""+j)))}return typeof p=="string"&&p[0]===`
|
|
39
|
-
`&&t.push(Ur),p}var Ls=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,go=new Map;function sr(t){var n=go.get(t);if(n===void 0){if(!Ls.test(t))throw new Error("Invalid tag: "+t);n="<"+t,go.set(t,n)}return n}var js="<!DOCTYPE html>";function pr(t,n,s,u,p){switch(jr(n,s),lo(n,s),uo(n,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."),p.insertionMode!==er&&p.insertionMode!==on&&n.indexOf("-")===-1&&typeof s.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 we(t,s,u);case"option":return Et(t,s,u,p);case"textarea":return Rr(t,s,u);case"input":return Ct(t,s,u);case"menuitem":return un(t,s,u);case"title":return Pr(t,s,u);case"listing":case"pre":return _s(t,s,n,u);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 ar(t,s,n,u);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Br(t,s,n,u);case"html":return p.insertionMode===wr&&t.push(js),Br(t,s,n,u);default:return n.indexOf("-")===-1&&typeof s.is!="string"?Br(t,s,n,u):dr(t,s,n,u)}}var
|
|
40
|
-
`+Aa+t}}var Ks=!1,Oo;{var Zs=typeof WeakMap=="function"?WeakMap:Map;Oo=new Zs}function Nn(t,n){if(!t||Ks)return"";{var s=Oo.get(t);if(s!==void 0)return s}var u;Ks=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var b;b=Pa.current,Pa.current=null,
|
|
39
|
+
`&&t.push(Ur),p}var Ls=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,go=new Map;function sr(t){var n=go.get(t);if(n===void 0){if(!Ls.test(t))throw new Error("Invalid tag: "+t);n="<"+t,go.set(t,n)}return n}var js="<!DOCTYPE html>";function pr(t,n,s,u,p){switch(jr(n,s),lo(n,s),uo(n,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."),p.insertionMode!==er&&p.insertionMode!==on&&n.indexOf("-")===-1&&typeof s.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 we(t,s,u);case"option":return Et(t,s,u,p);case"textarea":return Rr(t,s,u);case"input":return Ct(t,s,u);case"menuitem":return un(t,s,u);case"title":return Pr(t,s,u);case"listing":case"pre":return _s(t,s,n,u);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 ar(t,s,n,u);case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Br(t,s,n,u);case"html":return p.insertionMode===wr&&t.push(js),Br(t,s,n,u);default:return n.indexOf("-")===-1&&typeof s.is!="string"?Br(t,s,n,u):dr(t,s,n,u)}}var fi="</",vo=">";function qe(t,n,s){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:t.push(fi,n,vo)}}function Hr(t,n){for(var s=n.bootstrapChunks,u=0;u<s.length-1;u++)m(t,s[u]);return u<s.length?x(t,s[u]):!0}var yo='<template id="',Wr='"></template>';function Ar(t,n,s){m(t,yo),m(t,n.placeholderPrefix);var u=s.toString(16);return m(t,u),x(t,Wr)}var bo="<!--$-->",Ir='<!--$?--><template id="',zt='"></template>',di="<!--$!-->",Dn="<!--/$-->",sa="<template",xo='"',la=' data-dgst="',Ns=' data-msg="',$s=' data-stck="',wo="></template>";function ua(t,n){return x(t,bo)}function _n(t,n,s){if(m(t,Ir),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(t,s),x(t,zt)}function pi(t,n,s,u,p){var b;return b=x(t,di),m(t,sa),s&&(m(t,la),m(t,ft(s)),m(t,xo)),u&&(m(t,Ns),m(t,ft(u)),m(t,xo)),p&&(m(t,$s),m(t,ft(p)),m(t,xo)),b=x(t,wo),b}function zs(t,n){return x(t,Dn)}function cn(t,n){return x(t,Dn)}function hi(t,n){return x(t,Dn)}var mi='<div hidden id="',fn='">',Ln="</div>",So='<svg aria-hidden="true" style="display:none" id="',ca='">',fa="</svg>",da='<math aria-hidden="true" style="display:none" id="',ko='">',At="</math>",pa='<table hidden id="',Eo='">',Bs="</table>",ha='<table hidden><tbody id="',Co='">',ma="</tbody></table>",ga='<table hidden><tr id="',To='">',Ro="</tr></table>",va='<table hidden><colgroup id="',ya='">',ba="</colgroup></table>";function gi(t,n,s,u){switch(s.insertionMode){case wr:case Tt:return m(t,mi),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,fn);case er:return m(t,So),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ca);case on:return m(t,da),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ko);case Sr:return m(t,pa),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,Eo);case kr:return m(t,ha),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,Co);case tr:return m(t,ga),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,To);case Er:return m(t,va),m(t,n.segmentPrefix),m(t,u.toString(16)),x(t,ya);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function xa(t,n){switch(n.insertionMode){case wr:case Tt:return x(t,Ln);case er:return x(t,fa);case on:return x(t,At);case Sr:return x(t,Bs);case kr:return x(t,ma);case tr:return x(t,Ro);case Er:return x(t,ba);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var f="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)}",g='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()}}',w='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())}',C=f+';$RS("',z='$RS("',N='","',G='")<\/script>';function re(t,n,s){m(t,n.startInlineScript),n.sentCompleteSegmentFunction?m(t,z):(n.sentCompleteSegmentFunction=!0,m(t,C)),m(t,n.segmentPrefix);var u=s.toString(16);return m(t,u),m(t,N),m(t,n.placeholderPrefix),m(t,u),x(t,G)}var Ae=g+';$RC("',Le='$RC("',De='","',et='")<\/script>';function It(t,n,s,u){if(m(t,n.startInlineScript),n.sentCompleteBoundaryFunction?m(t,Le):(n.sentCompleteBoundaryFunction=!0,m(t,Ae)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var p=u.toString(16);return m(t,s),m(t,De),m(t,n.segmentPrefix),m(t,p),x(t,et)}var Bt=w+';$RX("',Ut='$RX("',Po='"',wa=")<\/script>",jn=",";function Tc(t,n,s,u,p,b){if(m(t,n.startInlineScript),n.sentClientRenderFunction?m(t,Ut):(n.sentClientRenderFunction=!0,m(t,Bt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return m(t,s),m(t,Po),(u||p||b)&&(m(t,jn),m(t,Us(u||""))),(p||b)&&(m(t,jn),m(t,Us(p||""))),b&&(m(t,jn),m(t,Us(b))),x(t,wa)}var Rc=/[<\u2028\u2029]/g;function Us(t){var n=JSON.stringify(t);return n.replace(Rc,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 Pc(t,n){var s=nn(n);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:t}}function Ac(){return{insertionMode:Tt,selectedValue:null}}function Zl(t,n,s,u){return s.generateStaticMarkup?(t.push(ft(n)),!1):Cr(t,n,s,u)}function eu(t,n,s,u){if(!n.generateStaticMarkup)return an(t,n,s,u)}function Ic(t,n){return n.generateStaticMarkup?!0:ua(t)}function Oc(t,n,s,u,p){return n.generateStaticMarkup?!0:pi(t,n,s,u,p)}function Fc(t,n){return n.generateStaticMarkup?!0:zs(t)}function Mc(t,n){return n.generateStaticMarkup?!0:hi(t)}var Mt=Object.assign,Dc=Symbol.for("react.element"),tu=Symbol.for("react.portal"),Sa=Symbol.for("react.fragment"),Ht=Symbol.for("react.strict_mode"),ru=Symbol.for("react.profiler"),ka=Symbol.for("react.provider"),Ea=Symbol.for("react.context"),Ca=Symbol.for("react.forward_ref"),Ta=Symbol.for("react.suspense"),vi=Symbol.for("react.suspense_list"),yi=Symbol.for("react.memo"),Ao=Symbol.for("react.lazy"),Hs=Symbol.for("react.scope"),Ws=Symbol.for("react.debug_trace_mode"),Vs=Symbol.for("react.legacy_hidden"),Ra=Symbol.for("react.default_value"),nu=Symbol.iterator,_c="@@iterator";function Lc(t){if(t===null||typeof t!="object")return null;var n=nu&&t[nu]||t[_c];return typeof n=="function"?n:null}function jc(t,n,s){var u=t.displayName;if(u)return u;var p=n.displayName||n.name||"";return p!==""?s+"("+p+")":s}function Ys(t){return t.displayName||"Context"}function ot(t){if(t==null)return null;if(typeof t.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Sa:return"Fragment";case tu:return"Portal";case ru:return"Profiler";case Ht:return"StrictMode";case Ta:return"Suspense";case vi:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Ea:var n=t;return Ys(n)+".Consumer";case ka:var s=t;return Ys(s._context)+".Provider";case Ca:return jc(t,t.render,"ForwardRef");case yi:var u=t.displayName||null;return u!==null?u:ot(t.type)||"Memo";case Ao:{var p=t,b=p._payload,S=p._init;try{return ot(S(b))}catch{return null}}}return null}var bi=0,ou,Gs,rt,Io,Qs,Xs,qs;function Js(){}Js.__reactDisabledLog=!0;function iu(){{if(bi===0){ou=console.log,Gs=console.info,rt=console.warn,Io=console.error,Qs=console.group,Xs=console.groupCollapsed,qs=console.groupEnd;var t={configurable:!0,enumerable:!0,value:Js,writable:!0};Object.defineProperties(console,{info:t,log:t,warn:t,error:t,group:t,groupCollapsed:t,groupEnd:t})}bi++}}function au(){{if(bi--,bi===0){var t={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Mt({},t,{value:ou}),info:Mt({},t,{value:Gs}),warn:Mt({},t,{value:rt}),error:Mt({},t,{value:Io}),group:Mt({},t,{value:Qs}),groupCollapsed:Mt({},t,{value:Xs}),groupEnd:Mt({},t,{value:qs})})}bi<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Pa=o.ReactCurrentDispatcher,Aa;function xi(t,n,s){{if(Aa===void 0)try{throw Error()}catch(p){var u=p.stack.trim().match(/\n( *(at )?)/);Aa=u&&u[1]||""}return`
|
|
40
|
+
`+Aa+t}}var Ks=!1,Oo;{var Zs=typeof WeakMap=="function"?WeakMap:Map;Oo=new Zs}function Nn(t,n){if(!t||Ks)return"";{var s=Oo.get(t);if(s!==void 0)return s}var u;Ks=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var b;b=Pa.current,Pa.current=null,iu();try{if(n){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(vt){u=vt}Reflect.construct(t,[],S)}else{try{S.call()}catch(vt){u=vt}t.call(S.prototype)}}else{try{throw Error()}catch(vt){u=vt}t()}}catch(vt){if(vt&&u&&typeof vt.stack=="string"){for(var A=vt.stack.split(`
|
|
41
41
|
`),j=u.stack.split(`
|
|
42
42
|
`),X=A.length-1,K=j.length-1;X>=1&&K>=0&&A[X]!==j[K];)K--;for(;X>=1&&K>=0;X--,K--)if(A[X]!==j[K]){if(X!==1||K!==1)do if(X--,K--,K<0||A[X]!==j[K]){var le=`
|
|
43
|
-
`+A[X].replace(" at new "," at ");return t.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",t.displayName)),typeof t=="function"&&Oo.set(t,le),le}while(X>=1&&K>=0);break}}}finally{Ks=!1,Pa.current=b,
|
|
43
|
+
`+A[X].replace(" at new "," at ");return t.displayName&&le.includes("<anonymous>")&&(le=le.replace("<anonymous>",t.displayName)),typeof t=="function"&&Oo.set(t,le),le}while(X>=1&&K>=0);break}}}finally{Ks=!1,Pa.current=b,au(),Error.prepareStackTrace=p}var Oe=t?t.displayName||t.name:"",Ye=Oe?xi(Oe):"";return typeof t=="function"&&Oo.set(t,Ye),Ye}function el(t,n,s){return Nn(t,!0)}function wi(t,n,s){return Nn(t,!1)}function Nc(t){var n=t.prototype;return!!(n&&n.isReactComponent)}function Si(t,n,s){if(t==null)return"";if(typeof t=="function")return Nn(t,Nc(t));if(typeof t=="string")return xi(t);switch(t){case Ta:return xi("Suspense");case vi:return xi("SuspenseList")}if(typeof t=="object")switch(t.$$typeof){case Ca:return wi(t.render);case yi:return Si(t.type,n,s);case Ao:{var u=t,p=u._payload,b=u._init;try{return Si(b(p),n,s)}catch{}}}return""}var su={},tl=o.ReactDebugCurrentFrame;function Ia(t){if(t){var n=t._owner,s=Si(t.type,t._source,n?n.type:null);tl.setExtraStackFrame(s)}else tl.setExtraStackFrame(null)}function Oa(t,n,s,u,p){{var b=Function.call.bind(_);for(var S in t)if(b(t,S)){var A=void 0;try{if(typeof t[S]!="function"){var j=Error((u||"React class")+": "+s+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof t[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw j.name="Invariant Violation",j}A=t[S](n,S,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(X){A=X}A&&!(A instanceof Error)&&(Ia(p),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).",u||"React class",s,S,typeof A),Ia(null)),A instanceof Error&&!(A.message in su)&&(su[A.message]=!0,Ia(p),a("Failed %s type: %s",s,A.message),Ia(null))}}}var Fa;Fa={};var ki={};Object.freeze(ki);function Ei(t,n){{var s=t.contextTypes;if(!s)return ki;var u={};for(var p in s)u[p]=n[p];{var b=ot(t)||"Unknown";Oa(s,u,"context",b)}return u}}function lu(t,n,s,u){{if(typeof t.getChildContext!="function"){{var p=ot(n)||"Unknown";Fa[p]||(Fa[p]=!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.",p,p))}return s}var b=t.getChildContext();for(var S in b)if(!(S in u))throw new Error((ot(n)||"Unknown")+'.getChildContext(): key "'+S+'" is not defined in childContextTypes.');{var A=ot(n)||"Unknown";Oa(u,b,"child context",A)}return Mt({},s,b)}}var $n;$n={};var Ma=null,dn=null;function rl(t){t.context._currentValue2=t.parentValue}function zn(t){t.context._currentValue2=t.value}function Da(t,n){if(t!==n){rl(t);var s=t.parent,u=n.parent;if(s===null){if(u!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(u===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Da(s,u)}zn(n)}}function pn(t){rl(t);var n=t.parent;n!==null&&pn(n)}function _a(t){var n=t.parent;n!==null&&_a(n),zn(t)}function La(t,n){rl(t);var s=t.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===n.depth?Da(s,n):La(s,n)}function Ci(t,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.");t.depth===s.depth?Da(t,s):Ci(t,s),zn(n)}function Ti(t){var n=dn,s=t;n!==s&&(n===null?_a(s):s===null?pn(n):n.depth===s.depth?Da(n,s):n.depth>s.depth?La(n,s):Ci(n,s),dn=s)}function uu(t,n){var s;s=t._currentValue2,t._currentValue2=n,t._currentRenderer2!==void 0&&t._currentRenderer2!==null&&t._currentRenderer2!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=$n;var u=dn,p={parent:u,depth:u===null?0:u.depth+1,context:t,parentValue:s,value:n};return dn=p,p}function cu(t){var n=dn;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!==t&&a("The parent context is not the expected context. This is probably a bug in React.");{var s=n.parentValue;s===Ra?n.context._currentValue2=n.context._defaultValue:n.context._currentValue2=s,t._currentRenderer2!==void 0&&t._currentRenderer2!==null&&t._currentRenderer2!==$n&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=$n}return dn=n.parent}function fu(){return dn}function hn(t){var n=t._currentValue2;return n}function nl(t){return t._reactInternals}function $c(t,n){t._reactInternals=n}var du={},Fo={},Ri,ol,ja,Na,$a,Mo,Pi,Ai,za;{Ri=new Set,ol=new Set,ja=new Set,Pi=new Set,Na=new Set,Ai=new Set,za=new Set;var Ii=new Set;Mo=function(t,n){if(!(t===null||typeof t=="function")){var s=n+"_"+t;Ii.has(s)||(Ii.add(s),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,t))}},$a=function(t,n){if(n===void 0){var s=ot(t)||"Component";Na.has(s)||(Na.add(s),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function Ba(t,n){{var s=t.constructor,u=s&&ot(s)||"ReactClass",p=u+"."+n;if(du[p])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.`,n,n,u),
|
|
45
|
+
Please check the code for the %s component.`,n,n,u),du[p]=!0}}var Ua={isMounted:function(t){return!1},enqueueSetState:function(t,n,s){var u=nl(t);u.queue===null?Ba(t,"setState"):(u.queue.push(n),s!=null&&Mo(s,"setState"))},enqueueReplaceState:function(t,n,s){var u=nl(t);u.replace=!0,u.queue=[n],s!=null&&Mo(s,"setState")},enqueueForceUpdate:function(t,n){var s=nl(t);s.queue===null?Ba(t,"forceUpdate"):n!=null&&Mo(n,"setState")}};function il(t,n,s,u,p){var b=s(p,u);$a(n,b);var S=b==null?u:Mt({},u,b);return S}function pu(t,n,s){var u=ki,p=t.contextType;if("contextType"in t){var b=p===null||p!==void 0&&p.$$typeof===Ea&&p._context===void 0;if(!b&&!za.has(t)){za.add(t);var S="";p===void 0?S=" 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 p!="object"?S=" However, it is set to a "+typeof p+".":p.$$typeof===ka?S=" Did you accidentally pass the Context.Provider instead?":p._context!==void 0?S=" Did you accidentally pass the Context.Consumer instead?":S=" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",ot(t)||"Component",S)}}typeof p=="object"&&p!==null?u=hn(p):u=s;var A=new t(n,u);{if(typeof t.getDerivedStateFromProps=="function"&&(A.state===null||A.state===void 0)){var j=ot(t)||"Component";Ri.has(j)||(Ri.add(j),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.",j,A.state===null?"null":"undefined",j))}if(typeof t.getDerivedStateFromProps=="function"||typeof A.getSnapshotBeforeUpdate=="function"){var X=null,K=null,le=null;if(typeof A.componentWillMount=="function"&&A.componentWillMount.__suppressDeprecationWarning!==!0?X="componentWillMount":typeof A.UNSAFE_componentWillMount=="function"&&(X="UNSAFE_componentWillMount"),typeof A.componentWillReceiveProps=="function"&&A.componentWillReceiveProps.__suppressDeprecationWarning!==!0?K="componentWillReceiveProps":typeof A.UNSAFE_componentWillReceiveProps=="function"&&(K="UNSAFE_componentWillReceiveProps"),typeof A.componentWillUpdate=="function"&&A.componentWillUpdate.__suppressDeprecationWarning!==!0?le="componentWillUpdate":typeof A.UNSAFE_componentWillUpdate=="function"&&(le="UNSAFE_componentWillUpdate"),X!==null||K!==null||le!==null){var Oe=ot(t)||"Component",Ye=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ja.has(Oe)||(ja.add(Oe),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`,Oe,Ye,X!==null?`
|
|
51
51
|
`+X:"",K!==null?`
|
|
52
52
|
`+K:"",le!==null?`
|
|
53
|
-
`+le:""))}}}return A}function
|
|
53
|
+
`+le:""))}}}return A}function hu(t,n,s){{var u=ot(n)||"Component",p=t.render;p||(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?",u):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),t.getInitialState&&!t.getInitialState.isReactClassApproved&&!t.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?",u),t.getDefaultProps&&!t.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.",u),t.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),t.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),t.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),n.contextType&&n.contextTypes&&!Ai.has(n)&&(Ai.add(n),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof t.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.",u),n.prototype&&n.prototype.isPureReactComponent&&typeof t.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.",ot(n)||"A pure component"),typeof t.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof t.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().",u),typeof t.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof t.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var b=t.props!==s;t.props!==void 0&&b&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),t.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.",u,u),typeof t.getSnapshotBeforeUpdate=="function"&&typeof t.componentDidUpdate!="function"&&!ol.has(n)&&(ol.add(n),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",ot(n))),typeof t.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof t.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof n.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var S=t.state;S&&(typeof S!="object"||Zt(S))&&a("%s.state: must be set to an object or null",u),typeof t.getChildContext=="function"&&typeof n.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function mu(t,n){var s=n.state;if(typeof n.componentWillMount=="function"){if(n.componentWillMount.__suppressDeprecationWarning!==!0){var u=ot(t)||"Unknown";Fo[u]||(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`,u),Fo[u]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ot(t)||"Component"),Ua.enqueueReplaceState(n,n.state,null))}function
|
|
57
|
+
Please update the following components: %s`,u),Fo[u]=!0)}n.componentWillMount()}typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),s!==n.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ot(t)||"Component"),Ua.enqueueReplaceState(n,n.state,null))}function zc(t,n,s,u){if(t.queue!==null&&t.queue.length>0){var p=t.queue,b=t.replace;if(t.queue=null,t.replace=!1,b&&p.length===1)n.state=p[0];else{for(var S=b?p[0]:n.state,A=!0,j=b?1:0;j<p.length;j++){var X=p[j],K=typeof X=="function"?X.call(n,S,s,u):X;K!=null&&(A?(A=!1,S=Mt({},S,K)):Mt(S,K))}n.state=S}}else t.queue=null}function gu(t,n,s,u){hu(t,n,s);var p=t.state!==void 0?t.state:null;t.updater=Ua,t.props=s,t.state=p;var b={queue:[],replace:!1};$c(t,b);var S=n.contextType;if(typeof S=="object"&&S!==null?t.context=hn(S):t.context=u,t.state===s){var A=ot(n)||"Component";Pi.has(A)||(Pi.add(A),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.",A))}var j=n.getDerivedStateFromProps;typeof j=="function"&&(t.state=il(t,n,j,p,s)),typeof n.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function")&&(mu(n,t),zc(b,t,s,u))}var Bc={id:1,overflow:""};function Uc(t){var n=t.overflow,s=t.id,u=s&~Hc(s);return u.toString(32)+n}function al(t,n,s){var u=t.id,p=t.overflow,b=Oi(u)-1,S=u&~(1<<b),A=s+1,j=Oi(n)+b;if(j>30){var X=b-b%5,K=(1<<X)-1,le=(S&K).toString(32),Oe=S>>X,Ye=b-X,vt=Oi(n)+Ye,Gn=A<<Ye,Qn=Gn|Oe,Xr=le+p;return{id:1<<vt|Qn,overflow:Xr}}else{var zo=A<<b,Sf=zo|S,Zg=p;return{id:1<<j|Sf,overflow:Zg}}}function Oi(t){return 32-Wc(t)}function Hc(t){return 1<<Oi(t)-1}var Wc=Math.clz32?Math.clz32:Vc,sl=Math.log,Ha=Math.LN2;function Vc(t){var n=t>>>0;return n===0?32:31-(sl(n)/Ha|0)|0}function Yc(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var Gc=typeof Object.is=="function"?Object.is:Yc,Vr=null,ll=null,Wa=null,tt=null,Wt=!1,Do=!1,Bn=0,We=null,mn=0,Va=25,Vt=!1,Yt;function Or(){if(Vr===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 Vt&&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"),Vr}function
|
|
61
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Vt&&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"),Vr}function Qc(t,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.",Yt),!1;t.length!==n.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`,Yt,"["+t.join(", ")+"]","["+n.join(", ")+"]");for(var s=0;s<n.length&&s<t.length;s++)if(!
|
|
64
|
+
Incoming: %s`,Yt,"["+t.join(", ")+"]","["+n.join(", ")+"]");for(var s=0;s<n.length&&s<t.length;s++)if(!Gc(t[s],n[s]))return!1;return!0}function hr(){if(mn>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function gn(){return tt===null?Wa===null?(Wt=!1,Wa=tt=hr()):(Wt=!0,tt=Wa):tt.next===null?(Wt=!1,tt=tt.next=hr()):(Wt=!0,tt=tt.next),tt}function Un(t,n){Vr=n,ll=t,Vt=!1,Bn=0}function Xc(t,n,s,u){for(;Do;)Do=!1,Bn=0,mn+=1,tt=null,s=t(n,u);return Fi(),s}function ul(){var t=Bn!==0;return t}function Fi(){Vt=!1,Vr=null,ll=null,Do=!1,Wa=null,mn=0,We=null,tt=null}function qc(t){return Vt&&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()."),hn(t)}function Jc(t){return Yt="useContext",Or(),hn(t)}function Ya(t,n){return typeof n=="function"?n(t):n}function cl(t){return Yt="useState",vu(Ya,t)}function vu(t,n,s){if(t!==Ya&&(Yt="useReducer"),Vr=Or(),tt=gn(),Wt){var u=tt.queue,p=u.dispatch;if(We!==null){var b=We.get(u);if(b!==void 0){We.delete(u);var S=tt.memoizedState,A=b;do{var j=A.action;Vt=!0,S=t(S,j),Vt=!1,A=A.next}while(A!==null);return tt.memoizedState=S,[S,p]}}return[tt.memoizedState,p]}else{Vt=!0;var X;t===Ya?X=typeof n=="function"?n():n:X=s!==void 0?s(n):n,Vt=!1,tt.memoizedState=X;var K=tt.queue={last:null,dispatch:null},le=K.dispatch=bu.bind(null,Vr,K);return[tt.memoizedState,le]}}function yu(t,n){Vr=Or(),tt=gn();var s=n===void 0?null:n;if(tt!==null){var u=tt.memoizedState;if(u!==null&&s!==null){var p=u[1];if(Qc(s,p))return u[0]}}Vt=!0;var b=t();return Vt=!1,tt.memoizedState=[b,s],b}function fl(t){Vr=Or(),tt=gn();var n=tt.memoizedState;if(n===null){var s={current:t};return Object.seal(s),tt.memoizedState=s,s}else return n}function Kc(t,n){Yt="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 bu(t,n,s){if(mn>=Va)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(t===Vr){Do=!0;var u={action:s,next:null};We===null&&(We=new Map);var p=We.get(n);if(p===void 0)We.set(n,u);else{for(var b=p;b.next!==null;)b=b.next;b.next=u}}}function xu(t,n){return yu(function(){return t},n)}function Zc(t,n,s){return Or(),n(t._source)}function ef(t,n,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 tf(t){return Or(),t}function rf(){throw new Error("startTransition cannot be called during server rendering.")}function nf(){return Or(),[!1,rf]}function of(){var t=ll,n=Uc(t.treeContext),s=dl;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var u=Bn++;return lt(s,n,u)}function Ga(){}var wu={readContext:qc,useContext:Jc,useMemo:yu,useReducer:vu,useRef:fl,useState:cl,useInsertionEffect:Ga,useLayoutEffect:Kc,useCallback:xu,useImperativeHandle:Ga,useEffect:Ga,useDebugValue:Ga,useDeferredValue:tf,useTransition:nf,useId:of,useMutableSource:Zc,useSyncExternalStore:ef},dl=null;function Su(t){dl=t}function Qa(t){try{var n="",s=t;do{switch(s.tag){case 0:n+=xi(s.type,null,null);break;case 1:n+=wi(s.type,null,null);break;case 2:n+=el(s.type,null,null);break}s=s.parent}while(s);return n}catch(u){return`
|
|
65
65
|
Error generating stack: `+u.message+`
|
|
66
|
-
`+u.stack}}var Xa=o.ReactCurrentDispatcher,Fi=o.ReactDebugCurrentFrame,qa=0,_o=1,Ja=2,Ka=3,Za=4,Lo=0,pl=1,Hn=2,Su=12800;function nf(t){return console.error(t),null}function jo(){}function No(t,n,s,u,p,b,S,A,j){var X=[],K=new Set,le={destination:null,responseState:n,progressiveChunkSize:u===void 0?Su:u,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:K,pingedTasks:X,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:p===void 0?nf:p,onAllReady:jo,onShellReady:S===void 0?jo:S,onShellError:jo,onFatalError:jo},Oe=es(le,0,null,s,!1,!1);Oe.parentFlushed=!0;var Ye=Wn(le,t,null,Oe,K,Si,Ma,$c);return X.push(Ye),le}function of(t,n){var s=t.pingedTasks;s.push(n),s.length===1&&h(function(){return kl(t)})}function af(t,n){return{id:mo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Wn(t,n,s,u,p,b,S,A){t.allPendingTasks++,s===null?t.pendingRootTasks++:s.pendingTasks++;var j={node:n,ping:function(){return of(t,j)},blockedBoundary:s,blockedSegment:u,abortSet:p,legacyContext:b,context:S,treeContext:A};return j.componentStack=null,p.add(j),j}function es(t,n,s,u,p,b){return{status:qa,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:p,textEmbedded:b}}var Yr=null;function hl(){return Yr===null||Yr.componentStack===null?"":Qa(Yr.componentStack)}function Vn(t,n){t.componentStack={tag:0,parent:t.componentStack,type:n}}function Mi(t,n){t.componentStack={tag:1,parent:t.componentStack,type:n}}function Gr(t,n){t.componentStack={tag:2,parent:t.componentStack,type:n}}function Fr(t){t.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):t.componentStack=t.componentStack.parent}var Qr=null;function ts(t,n){{var s;typeof n=="string"?s=n:n&&typeof n.message=="string"?s=n.message:s=String(n);var u=Qr||hl();Qr=null,t.errorMessage=s,t.errorComponentStack=u}}function Di(t,n){var s=t.onError(n);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 mr(t,n){var s=t.onShellError;s(n);var u=t.onFatalError;u(n),t.destination!==null?(t.status=Hn,B(t.destination,n)):(t.status=pl,t.fatalError=n)}function _i(t,n,s){Vn(n,"Suspense");var u=n.blockedBoundary,p=n.blockedSegment,b=s.fallback,S=s.children,A=new Set,j=af(t,A),X=p.chunks.length,K=es(t,X,j,p.formatContext,!1,!1);p.children.push(K),p.lastPushedText=!1;var le=es(t,0,null,p.formatContext,!1,!1);le.parentFlushed=!0,n.blockedBoundary=j,n.blockedSegment=le;try{if(Ot(t,n,S),Zl(le.chunks,t.responseState,le.lastPushedText,le.textEmbedded),le.status=_o,$o(j,le),j.pendingTasks===0){Fr(n);return}}catch(Ye){le.status=Za,j.forceClientRender=!0,j.errorDigest=Di(t,Ye),ts(j,Ye)}finally{n.blockedBoundary=u,n.blockedSegment=p}var Oe=Wn(t,b,u,K,A,n.legacyContext,n.context,n.treeContext);Oe.componentStack=n.componentStack,t.pingedTasks.push(Oe),Fr(n)}function ml(t,n,s,u){Vn(n,s);var p=n.blockedSegment,b=pr(p.chunks,s,u,t.responseState,p.formatContext);p.lastPushedText=!1;var S=p.formatContext;p.formatContext=ho(S,s,u),Ot(t,n,b),p.formatContext=S,qe(p.chunks,s),p.lastPushedText=!1,Fr(n)}function Li(t){return t.prototype&&t.prototype.isReactComponent}function ji(t,n,s,u,p){var b={};Un(n,b);var S=s(u,p);return Gc(s,u,S,p)}function ku(t,n,s,u,p){var b=s.render();s.props!==p&&(vl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ot(u)||"a component"),vl=!0);{var S=u.childContextTypes;if(S!=null){var A=n.legacyContext,j=su(s,u,A,S);n.legacyContext=j,Gt(t,n,b),n.legacyContext=A;return}}Gt(t,n,b)}function sf(t,n,s,u){Gr(n,s);var p=ki(s,n.legacyContext),b=du(s,u,p);mu(b,s,u,p),ku(t,n,b,s,u),Fr(n)}var Eu={},Ni={},gl={},Cu={},vl=!1,$i={},yl=!1,bl=!1,xl=!1;function Tu(t,n,s,u){var p;if(p=ki(s,n.legacyContext),Mi(n,s),s.prototype&&typeof s.prototype.render=="function"){var b=ot(s)||"Unknown";Eu[b]||(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.",b,b),Eu[b]=!0)}var S=ji(t,n,s,u,p),A=ul();if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var j=ot(s)||"Unknown";Ni[j]||(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.",j,j,j),Ni[j]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var X=ot(s)||"Unknown";Ni[X]||(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.",X,X,X),Ni[X]=!0)}mu(S,s,u,p),ku(t,n,S,s,u)}else if(Ru(s),A){var K=n.treeContext,le=1,Oe=0;n.treeContext=al(K,le,Oe);try{Gt(t,n,S)}finally{n.treeContext=K}}else Gt(t,n,S);Fr(n)}function Ru(t){{if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),t.defaultProps!==void 0){var n=ot(t)||"Unknown";$i[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),$i[n]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var s=ot(t)||"Unknown";Cu[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Cu[s]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=ot(t)||"Unknown";gl[u]||(a("%s: Function components do not support contextType.",u),gl[u]=!0)}}}function wl(t,n){if(t&&t.defaultProps){var s=Mt({},n),u=t.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return n}function Pu(t,n,s,u,p){Mi(n,s.render);var b=ji(t,n,s.render,u,p),S=ul();if(S){var A=n.treeContext,j=1,X=0;n.treeContext=al(A,j,X);try{Gt(t,n,b)}finally{n.treeContext=A}}else Gt(t,n,b);Fr(n)}function lf(t,n,s,u,p){var b=s.type,S=wl(b,u);Sl(t,n,b,S,p)}function uf(t,n,s,u){s._context===void 0?s!==s.Consumer&&(xl||(xl=!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 p=u.children;typeof p!="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 b=hn(s),S=p(b);Gt(t,n,S)}function Au(t,n,s,u){var p=s._context,b=u.value,S=u.children,A;A=n.context,n.context=lu(p,b),Gt(t,n,S),n.context=uu(p),A!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function cf(t,n,s,u,p){Vn(n,"Lazy");var b=s._payload,S=s._init,A=S(b),j=wl(A,u);Sl(t,n,A,j,p),Fr(n)}function Sl(t,n,s,u,p){if(typeof s=="function")if(Li(s)){sf(t,n,s,u);return}else{Tu(t,n,s,u);return}if(typeof s=="string"){ml(t,n,s,u);return}switch(s){case Vs:case Ws:case Ht:case tu:case Sa:{Gt(t,n,u.children);return}case gi:{Vn(n,"SuspenseList"),Gt(t,n,u.children),Fr(n);return}case Hs:throw new Error("ReactDOMServer does not yet support scope components.");case Ta:{_i(t,n,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ca:{Pu(t,n,s,u,p);return}case vi:{lf(t,n,s,u,p);return}case ka:{Au(t,n,s,u);return}case Ea:{uf(t,n,s,u);return}case Ao:{cf(t,n,s,u);return}}var b="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(b+=" 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)+"."+b))}function ff(t,n){typeof Symbol=="function"&&t[Symbol.toStringTag]==="Generator"&&(yl||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."),yl=!0),t.entries===n&&(bl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bl=!0)}function Gt(t,n,s){try{return df(t,n,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(Qr=Qr!==null?Qr:hl()),u}}function df(t,n,s){if(n.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case Fc:{var u=s,p=u.type,b=u.props,S=u.ref;Sl(t,n,p,b,S);return}case eu: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 Ao:{var A=s,j=A._payload,X=A._init,K;try{K=X(j)}catch(zo){throw typeof zo=="object"&&zo!==null&&typeof zo.then=="function"&&Vn(n,"Lazy"),zo}Gt(t,n,K);return}}if(Zt(s)){rs(t,n,s);return}var le=Dc(s);if(le){ff(s,le);var Oe=le.call(s);if(Oe){var Ye=Oe.next();if(!Ye.done){var vt=[];do vt.push(Ye.value),Ye=Oe.next();while(!Ye.done);rs(t,n,vt);return}return}}var Gn=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(Gn==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Gn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var Qn=n.blockedSegment;Qn.lastPushedText=Kl(n.blockedSegment.chunks,s,t.responseState,Qn.lastPushedText);return}if(typeof s=="number"){var Xr=n.blockedSegment;Xr.lastPushedText=Kl(n.blockedSegment.chunks,""+s,t.responseState,Xr.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 rs(t,n,s){for(var u=s.length,p=0;p<u;p++){var b=n.treeContext;n.treeContext=al(b,u,p);try{Ot(t,n,s[p])}finally{n.treeContext=b}}}function pf(t,n,s){var u=n.blockedSegment,p=u.chunks.length,b=es(t,p,null,u.formatContext,u.lastPushedText,!0);u.children.push(b),u.lastPushedText=!1;var S=Wn(t,n.node,n.blockedBoundary,b,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(S.componentStack=n.componentStack.parent);var A=S.ping;s.then(A,A)}function Ot(t,n,s){var u=n.blockedSegment.formatContext,p=n.legacyContext,b=n.context,S=null;S=n.componentStack;try{return Gt(t,n,s)}catch(A){if(Oi(),typeof A=="object"&&A!==null&&typeof A.then=="function"){pf(t,n,A),n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ci(b),n.componentStack=S;return}else throw n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ci(b),n.componentStack=S,A}}function hf(t,n,s,u){var p=Di(t,u);if(n===null?mr(t,u):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=p,ts(n,u),n.parentFlushed&&t.clientRenderedBoundaries.push(n))),t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function Iu(t){var n=this,s=t.blockedBoundary,u=t.blockedSegment;u.status=Ka,Fu(n,s,u)}function Ou(t,n,s){var u=t.blockedBoundary,p=t.blockedSegment;if(p.status=Ka,u===null)n.allPendingTasks--,n.status!==Hn&&(n.status=Hn,n.destination!==null&&E(n.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var b=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=n.onError(b);{var S="The server did not finish this Suspense boundary: ";b&&typeof b.message=="string"?b=S+b.message:b=S+String(b);var A=Yr;Yr=t;try{ts(u,b)}finally{Yr=A}}u.parentFlushed&&n.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(X){return Ou(X,n,s)}),u.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var j=n.onAllReady;j()}}}function $o(t,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var s=n.children[0];s.id=n.id,s.parentFlushed=!0,s.status===_o&&$o(t,s)}else{var u=t.completedSegments;u.push(n)}}function Fu(t,n,s){if(n===null){if(s.parentFlushed){if(t.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");t.completedRootSegment=s}if(t.pendingRootTasks--,t.pendingRootTasks===0){t.onShellError=jo;var u=t.onShellReady;u()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)s.parentFlushed&&s.status===_o&&$o(n,s),n.parentFlushed&&t.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(Iu,t),n.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===_o){$o(n,s);var p=n.completedSegments;p.length===1&&n.parentFlushed&&t.partialBoundaries.push(n)}}if(t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function mf(t,n){var s=n.blockedSegment;if(s.status===qa){Ci(n.context);var u=null;u=Yr,Yr=n;try{Gt(t,n,n.node),Zl(s.chunks,t.responseState,s.lastPushedText,s.textEmbedded),n.abortSet.delete(n),s.status=_o,Fu(t,n.blockedBoundary,s)}catch(b){if(Oi(),typeof b=="object"&&b!==null&&typeof b.then=="function"){var p=n.ping;b.then(p,p)}else n.abortSet.delete(n),s.status=Za,hf(t,n.blockedBoundary,s,b)}finally{Yr=u}}}function kl(t){if(t.status!==Hn){var n=cu(),s=Xa.current;Xa.current=xu;var u;u=Fi.getCurrentStack,Fi.getCurrentStack=hl;var p=dl;wu(t.responseState);try{var b=t.pingedTasks,S;for(S=0;S<b.length;S++){var A=b[S];mf(t,A)}b.splice(0,S),t.destination!==null&&os(t,t.destination)}catch(j){Di(t,j),mr(t,j)}finally{wu(p),Xa.current=s,Fi.getCurrentStack=u,s===xu&&Ci(n)}}}function Yn(t,n,s){switch(s.parentFlushed=!0,s.status){case qa:{var u=s.id=t.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Ar(n,t.responseState,u)}case _o:{s.status=Ja;for(var p=!0,b=s.chunks,S=0,A=s.children,j=0;j<A.length;j++){for(var X=A[j];S<X.index;S++)m(n,b[S]);p=zi(t,n,X)}for(;S<b.length-1;S++)m(n,b[S]);return S<b.length&&(p=x(n,b[S])),p}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function zi(t,n,s){var u=s.boundary;if(u===null)return Yn(t,n,s);if(u.parentFlushed=!0,u.forceClientRender)return Ac(n,t.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),Yn(t,n,s),Oc(n,t.responseState);if(u.pendingTasks>0){u.rootSegmentID=t.nextSegmentId++,u.completedSegments.length>0&&t.partialBoundaries.push(u);var p=u.id=fr(t.responseState);return _n(n,t.responseState,p),Yn(t,n,s),cn(n,t.responseState)}else{if(u.byteSize>t.progressiveChunkSize)return u.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(u),_n(n,t.responseState,u.id),Yn(t,n,s),cn(n,t.responseState);Pc(n,t.responseState);var b=u.completedSegments;if(b.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var S=b[0];return zi(t,n,S),Ic(n,t.responseState)}}function gf(t,n,s){return Ec(n,t.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function El(t,n,s){return mi(n,t.responseState,s.formatContext,s.id),zi(t,n,s),xa(n,s.formatContext)}function Bi(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];Mu(t,n,s,b)}return u.length=0,It(n,t.responseState,s.id,s.rootSegmentID)}function ns(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];if(!Mu(t,n,s,b))return p++,u.splice(0,p),!1}return u.splice(0,p),!0}function Mu(t,n,s,u){if(u.status===Ja)return!0;var p=u.id;if(p===-1){var b=u.id=s.rootSegmentID;if(b===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return El(t,n,u)}else return El(t,n,u),re(n,t.responseState,p)}function os(t,n){try{var s=t.completedRootSegment;s!==null&&t.pendingRootTasks===0&&(zi(t,n,s),t.completedRootSegment=null,Hr(n,t.responseState));var u=t.clientRenderedBoundaries,p;for(p=0;p<u.length;p++){var b=u[p];if(!gf(t,n,b)){t.destination=null,p++,u.splice(0,p);return}}u.splice(0,p);var S=t.completedBoundaries;for(p=0;p<S.length;p++){var A=S[p];if(!Bi(t,n,A)){t.destination=null,p++,S.splice(0,p);return}}S.splice(0,p);var j=t.partialBoundaries;for(p=0;p<j.length;p++){var X=j[p];if(!ns(t,n,X)){t.destination=null,p++,j.splice(0,p);return}}j.splice(0,p);var K=t.completedBoundaries;for(p=0;p<K.length;p++){var le=K[p];if(!Bi(t,n,le)){t.destination=null,p++,K.splice(0,p);return}}K.splice(0,p)}finally{t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&(t.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),E(n))}}function Du(t){h(function(){return kl(t)})}function vf(t,n){if(t.status===pl){t.status=Hn,B(n,t.fatalError);return}if(t.status!==Hn&&t.destination===null){t.destination=n;try{os(t,n)}catch(s){Di(t,s),mr(t,s)}}}function _u(t,n){try{var s=t.abortableTasks;s.forEach(function(u){return Ou(u,t,n)}),s.clear(),t.destination!==null&&os(t,t.destination)}catch(u){Di(t,u),mr(t,u)}}function Cl(){}function Lu(t,n,s,u){var p=!1,b=null,S="",A={push:function(le){return le!==null&&(S+=le),!0},destroy:function(le){p=!0,b=le}},j=!1;function X(){j=!0}var K=No(t,Tc(s,n?n.identifierPrefix:void 0),Rc(),1/0,Cl,void 0,X);if(Du(K),_u(K,u),vf(K,A),p)throw b;if(!j)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 S}function yf(t,n){return Lu(t,n,!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 ju(t,n){return Lu(t,n,!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 bf(){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.")}Hi.renderToNodeStream=bf,Hi.renderToStaticMarkup=ju,Hi.renderToStaticNodeStream=l,Hi.renderToString=yf,Hi.version=r}()),Hi}var zu={};/**
|
|
66
|
+
`+u.stack}}var Xa=o.ReactCurrentDispatcher,Mi=o.ReactDebugCurrentFrame,qa=0,_o=1,Ja=2,Ka=3,Za=4,Lo=0,pl=1,Hn=2,ku=12800;function af(t){return console.error(t),null}function jo(){}function No(t,n,s,u,p,b,S,A,j){var X=[],K=new Set,le={destination:null,responseState:n,progressiveChunkSize:u===void 0?ku:u,status:Lo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:K,pingedTasks:X,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:p===void 0?af:p,onAllReady:jo,onShellReady:S===void 0?jo:S,onShellError:jo,onFatalError:jo},Oe=es(le,0,null,s,!1,!1);Oe.parentFlushed=!0;var Ye=Wn(le,t,null,Oe,K,ki,Ma,Bc);return X.push(Ye),le}function sf(t,n){var s=t.pingedTasks;s.push(n),s.length===1&&h(function(){return kl(t)})}function lf(t,n){return{id:mo,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:n,errorDigest:null}}function Wn(t,n,s,u,p,b,S,A){t.allPendingTasks++,s===null?t.pendingRootTasks++:s.pendingTasks++;var j={node:n,ping:function(){return sf(t,j)},blockedBoundary:s,blockedSegment:u,abortSet:p,legacyContext:b,context:S,treeContext:A};return j.componentStack=null,p.add(j),j}function es(t,n,s,u,p,b){return{status:qa,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:p,textEmbedded:b}}var Yr=null;function hl(){return Yr===null||Yr.componentStack===null?"":Qa(Yr.componentStack)}function Vn(t,n){t.componentStack={tag:0,parent:t.componentStack,type:n}}function Di(t,n){t.componentStack={tag:1,parent:t.componentStack,type:n}}function Gr(t,n){t.componentStack={tag:2,parent:t.componentStack,type:n}}function Fr(t){t.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):t.componentStack=t.componentStack.parent}var Qr=null;function ts(t,n){{var s;typeof n=="string"?s=n:n&&typeof n.message=="string"?s=n.message:s=String(n);var u=Qr||hl();Qr=null,t.errorMessage=s,t.errorComponentStack=u}}function _i(t,n){var s=t.onError(n);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 mr(t,n){var s=t.onShellError;s(n);var u=t.onFatalError;u(n),t.destination!==null?(t.status=Hn,B(t.destination,n)):(t.status=pl,t.fatalError=n)}function Li(t,n,s){Vn(n,"Suspense");var u=n.blockedBoundary,p=n.blockedSegment,b=s.fallback,S=s.children,A=new Set,j=lf(t,A),X=p.chunks.length,K=es(t,X,j,p.formatContext,!1,!1);p.children.push(K),p.lastPushedText=!1;var le=es(t,0,null,p.formatContext,!1,!1);le.parentFlushed=!0,n.blockedBoundary=j,n.blockedSegment=le;try{if(Ot(t,n,S),eu(le.chunks,t.responseState,le.lastPushedText,le.textEmbedded),le.status=_o,$o(j,le),j.pendingTasks===0){Fr(n);return}}catch(Ye){le.status=Za,j.forceClientRender=!0,j.errorDigest=_i(t,Ye),ts(j,Ye)}finally{n.blockedBoundary=u,n.blockedSegment=p}var Oe=Wn(t,b,u,K,A,n.legacyContext,n.context,n.treeContext);Oe.componentStack=n.componentStack,t.pingedTasks.push(Oe),Fr(n)}function ml(t,n,s,u){Vn(n,s);var p=n.blockedSegment,b=pr(p.chunks,s,u,t.responseState,p.formatContext);p.lastPushedText=!1;var S=p.formatContext;p.formatContext=ho(S,s,u),Ot(t,n,b),p.formatContext=S,qe(p.chunks,s),p.lastPushedText=!1,Fr(n)}function ji(t){return t.prototype&&t.prototype.isReactComponent}function Ni(t,n,s,u,p){var b={};Un(n,b);var S=s(u,p);return Xc(s,u,S,p)}function Eu(t,n,s,u,p){var b=s.render();s.props!==p&&(vl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ot(u)||"a component"),vl=!0);{var S=u.childContextTypes;if(S!=null){var A=n.legacyContext,j=lu(s,u,A,S);n.legacyContext=j,Gt(t,n,b),n.legacyContext=A;return}}Gt(t,n,b)}function uf(t,n,s,u){Gr(n,s);var p=Ei(s,n.legacyContext),b=pu(s,u,p);gu(b,s,u,p),Eu(t,n,b,s,u),Fr(n)}var Cu={},$i={},gl={},Tu={},vl=!1,zi={},yl=!1,bl=!1,xl=!1;function Ru(t,n,s,u){var p;if(p=Ei(s,n.legacyContext),Di(n,s),s.prototype&&typeof s.prototype.render=="function"){var b=ot(s)||"Unknown";Cu[b]||(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.",b,b),Cu[b]=!0)}var S=Ni(t,n,s,u,p),A=ul();if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){var j=ot(s)||"Unknown";$i[j]||(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.",j,j,j),$i[j]=!0)}if(typeof S=="object"&&S!==null&&typeof S.render=="function"&&S.$$typeof===void 0){{var X=ot(s)||"Unknown";$i[X]||(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.",X,X,X),$i[X]=!0)}gu(S,s,u,p),Eu(t,n,S,s,u)}else if(Pu(s),A){var K=n.treeContext,le=1,Oe=0;n.treeContext=al(K,le,Oe);try{Gt(t,n,S)}finally{n.treeContext=K}}else Gt(t,n,S);Fr(n)}function Pu(t){{if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),t.defaultProps!==void 0){var n=ot(t)||"Unknown";zi[n]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",n),zi[n]=!0)}if(typeof t.getDerivedStateFromProps=="function"){var s=ot(t)||"Unknown";Tu[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Tu[s]=!0)}if(typeof t.contextType=="object"&&t.contextType!==null){var u=ot(t)||"Unknown";gl[u]||(a("%s: Function components do not support contextType.",u),gl[u]=!0)}}}function wl(t,n){if(t&&t.defaultProps){var s=Mt({},n),u=t.defaultProps;for(var p in u)s[p]===void 0&&(s[p]=u[p]);return s}return n}function Au(t,n,s,u,p){Di(n,s.render);var b=Ni(t,n,s.render,u,p),S=ul();if(S){var A=n.treeContext,j=1,X=0;n.treeContext=al(A,j,X);try{Gt(t,n,b)}finally{n.treeContext=A}}else Gt(t,n,b);Fr(n)}function cf(t,n,s,u,p){var b=s.type,S=wl(b,u);Sl(t,n,b,S,p)}function ff(t,n,s,u){s._context===void 0?s!==s.Consumer&&(xl||(xl=!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 p=u.children;typeof p!="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 b=hn(s),S=p(b);Gt(t,n,S)}function Iu(t,n,s,u){var p=s._context,b=u.value,S=u.children,A;A=n.context,n.context=uu(p,b),Gt(t,n,S),n.context=cu(p),A!==n.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function df(t,n,s,u,p){Vn(n,"Lazy");var b=s._payload,S=s._init,A=S(b),j=wl(A,u);Sl(t,n,A,j,p),Fr(n)}function Sl(t,n,s,u,p){if(typeof s=="function")if(ji(s)){uf(t,n,s,u);return}else{Ru(t,n,s,u);return}if(typeof s=="string"){ml(t,n,s,u);return}switch(s){case Vs:case Ws:case Ht:case ru:case Sa:{Gt(t,n,u.children);return}case vi:{Vn(n,"SuspenseList"),Gt(t,n,u.children),Fr(n);return}case Hs:throw new Error("ReactDOMServer does not yet support scope components.");case Ta:{Li(t,n,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ca:{Au(t,n,s,u,p);return}case yi:{cf(t,n,s,u,p);return}case ka:{Iu(t,n,s,u);return}case Ea:{ff(t,n,s,u);return}case Ao:{df(t,n,s,u);return}}var b="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(b+=" 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)+"."+b))}function pf(t,n){typeof Symbol=="function"&&t[Symbol.toStringTag]==="Generator"&&(yl||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."),yl=!0),t.entries===n&&(bl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),bl=!0)}function Gt(t,n,s){try{return hf(t,n,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(Qr=Qr!==null?Qr:hl()),u}}function hf(t,n,s){if(n.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case Dc:{var u=s,p=u.type,b=u.props,S=u.ref;Sl(t,n,p,b,S);return}case tu: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 Ao:{var A=s,j=A._payload,X=A._init,K;try{K=X(j)}catch(zo){throw typeof zo=="object"&&zo!==null&&typeof zo.then=="function"&&Vn(n,"Lazy"),zo}Gt(t,n,K);return}}if(Zt(s)){rs(t,n,s);return}var le=Lc(s);if(le){pf(s,le);var Oe=le.call(s);if(Oe){var Ye=Oe.next();if(!Ye.done){var vt=[];do vt.push(Ye.value),Ye=Oe.next();while(!Ye.done);rs(t,n,vt);return}return}}var Gn=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(Gn==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":Gn)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var Qn=n.blockedSegment;Qn.lastPushedText=Zl(n.blockedSegment.chunks,s,t.responseState,Qn.lastPushedText);return}if(typeof s=="number"){var Xr=n.blockedSegment;Xr.lastPushedText=Zl(n.blockedSegment.chunks,""+s,t.responseState,Xr.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 rs(t,n,s){for(var u=s.length,p=0;p<u;p++){var b=n.treeContext;n.treeContext=al(b,u,p);try{Ot(t,n,s[p])}finally{n.treeContext=b}}}function mf(t,n,s){var u=n.blockedSegment,p=u.chunks.length,b=es(t,p,null,u.formatContext,u.lastPushedText,!0);u.children.push(b),u.lastPushedText=!1;var S=Wn(t,n.node,n.blockedBoundary,b,n.abortSet,n.legacyContext,n.context,n.treeContext);n.componentStack!==null&&(S.componentStack=n.componentStack.parent);var A=S.ping;s.then(A,A)}function Ot(t,n,s){var u=n.blockedSegment.formatContext,p=n.legacyContext,b=n.context,S=null;S=n.componentStack;try{return Gt(t,n,s)}catch(A){if(Fi(),typeof A=="object"&&A!==null&&typeof A.then=="function"){mf(t,n,A),n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ti(b),n.componentStack=S;return}else throw n.blockedSegment.formatContext=u,n.legacyContext=p,n.context=b,Ti(b),n.componentStack=S,A}}function gf(t,n,s,u){var p=_i(t,u);if(n===null?mr(t,u):(n.pendingTasks--,n.forceClientRender||(n.forceClientRender=!0,n.errorDigest=p,ts(n,u),n.parentFlushed&&t.clientRenderedBoundaries.push(n))),t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function Ou(t){var n=this,s=t.blockedBoundary,u=t.blockedSegment;u.status=Ka,Mu(n,s,u)}function Fu(t,n,s){var u=t.blockedBoundary,p=t.blockedSegment;if(p.status=Ka,u===null)n.allPendingTasks--,n.status!==Hn&&(n.status=Hn,n.destination!==null&&E(n.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var b=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=n.onError(b);{var S="The server did not finish this Suspense boundary: ";b&&typeof b.message=="string"?b=S+b.message:b=S+String(b);var A=Yr;Yr=t;try{ts(u,b)}finally{Yr=A}}u.parentFlushed&&n.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(X){return Fu(X,n,s)}),u.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0){var j=n.onAllReady;j()}}}function $o(t,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var s=n.children[0];s.id=n.id,s.parentFlushed=!0,s.status===_o&&$o(t,s)}else{var u=t.completedSegments;u.push(n)}}function Mu(t,n,s){if(n===null){if(s.parentFlushed){if(t.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");t.completedRootSegment=s}if(t.pendingRootTasks--,t.pendingRootTasks===0){t.onShellError=jo;var u=t.onShellReady;u()}}else if(n.pendingTasks--,!n.forceClientRender){if(n.pendingTasks===0)s.parentFlushed&&s.status===_o&&$o(n,s),n.parentFlushed&&t.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(Ou,t),n.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===_o){$o(n,s);var p=n.completedSegments;p.length===1&&n.parentFlushed&&t.partialBoundaries.push(n)}}if(t.allPendingTasks--,t.allPendingTasks===0){var b=t.onAllReady;b()}}function vf(t,n){var s=n.blockedSegment;if(s.status===qa){Ti(n.context);var u=null;u=Yr,Yr=n;try{Gt(t,n,n.node),eu(s.chunks,t.responseState,s.lastPushedText,s.textEmbedded),n.abortSet.delete(n),s.status=_o,Mu(t,n.blockedBoundary,s)}catch(b){if(Fi(),typeof b=="object"&&b!==null&&typeof b.then=="function"){var p=n.ping;b.then(p,p)}else n.abortSet.delete(n),s.status=Za,gf(t,n.blockedBoundary,s,b)}finally{Yr=u}}}function kl(t){if(t.status!==Hn){var n=fu(),s=Xa.current;Xa.current=wu;var u;u=Mi.getCurrentStack,Mi.getCurrentStack=hl;var p=dl;Su(t.responseState);try{var b=t.pingedTasks,S;for(S=0;S<b.length;S++){var A=b[S];vf(t,A)}b.splice(0,S),t.destination!==null&&os(t,t.destination)}catch(j){_i(t,j),mr(t,j)}finally{Su(p),Xa.current=s,Mi.getCurrentStack=u,s===wu&&Ti(n)}}}function Yn(t,n,s){switch(s.parentFlushed=!0,s.status){case qa:{var u=s.id=t.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Ar(n,t.responseState,u)}case _o:{s.status=Ja;for(var p=!0,b=s.chunks,S=0,A=s.children,j=0;j<A.length;j++){for(var X=A[j];S<X.index;S++)m(n,b[S]);p=Bi(t,n,X)}for(;S<b.length-1;S++)m(n,b[S]);return S<b.length&&(p=x(n,b[S])),p}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Bi(t,n,s){var u=s.boundary;if(u===null)return Yn(t,n,s);if(u.parentFlushed=!0,u.forceClientRender)return Oc(n,t.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),Yn(t,n,s),Mc(n,t.responseState);if(u.pendingTasks>0){u.rootSegmentID=t.nextSegmentId++,u.completedSegments.length>0&&t.partialBoundaries.push(u);var p=u.id=fr(t.responseState);return _n(n,t.responseState,p),Yn(t,n,s),cn(n,t.responseState)}else{if(u.byteSize>t.progressiveChunkSize)return u.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(u),_n(n,t.responseState,u.id),Yn(t,n,s),cn(n,t.responseState);Ic(n,t.responseState);var b=u.completedSegments;if(b.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var S=b[0];return Bi(t,n,S),Fc(n,t.responseState)}}function yf(t,n,s){return Tc(n,t.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function El(t,n,s){return gi(n,t.responseState,s.formatContext,s.id),Bi(t,n,s),xa(n,s.formatContext)}function Ui(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];Du(t,n,s,b)}return u.length=0,It(n,t.responseState,s.id,s.rootSegmentID)}function ns(t,n,s){for(var u=s.completedSegments,p=0;p<u.length;p++){var b=u[p];if(!Du(t,n,s,b))return p++,u.splice(0,p),!1}return u.splice(0,p),!0}function Du(t,n,s,u){if(u.status===Ja)return!0;var p=u.id;if(p===-1){var b=u.id=s.rootSegmentID;if(b===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return El(t,n,u)}else return El(t,n,u),re(n,t.responseState,p)}function os(t,n){try{var s=t.completedRootSegment;s!==null&&t.pendingRootTasks===0&&(Bi(t,n,s),t.completedRootSegment=null,Hr(n,t.responseState));var u=t.clientRenderedBoundaries,p;for(p=0;p<u.length;p++){var b=u[p];if(!yf(t,n,b)){t.destination=null,p++,u.splice(0,p);return}}u.splice(0,p);var S=t.completedBoundaries;for(p=0;p<S.length;p++){var A=S[p];if(!Ui(t,n,A)){t.destination=null,p++,S.splice(0,p);return}}S.splice(0,p);var j=t.partialBoundaries;for(p=0;p<j.length;p++){var X=j[p];if(!ns(t,n,X)){t.destination=null,p++,j.splice(0,p);return}}j.splice(0,p);var K=t.completedBoundaries;for(p=0;p<K.length;p++){var le=K[p];if(!Ui(t,n,le)){t.destination=null,p++,K.splice(0,p);return}}K.splice(0,p)}finally{t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&(t.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),E(n))}}function _u(t){h(function(){return kl(t)})}function bf(t,n){if(t.status===pl){t.status=Hn,B(n,t.fatalError);return}if(t.status!==Hn&&t.destination===null){t.destination=n;try{os(t,n)}catch(s){_i(t,s),mr(t,s)}}}function Lu(t,n){try{var s=t.abortableTasks;s.forEach(function(u){return Fu(u,t,n)}),s.clear(),t.destination!==null&&os(t,t.destination)}catch(u){_i(t,u),mr(t,u)}}function Cl(){}function ju(t,n,s,u){var p=!1,b=null,S="",A={push:function(le){return le!==null&&(S+=le),!0},destroy:function(le){p=!0,b=le}},j=!1;function X(){j=!0}var K=No(t,Pc(s,n?n.identifierPrefix:void 0),Ac(),1/0,Cl,void 0,X);if(_u(K),Lu(K,u),bf(K,A),p)throw b;if(!j)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 S}function xf(t,n){return ju(t,n,!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 Nu(t,n){return ju(t,n,!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 wf(){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.")}Wi.renderToNodeStream=wf,Wi.renderToStaticMarkup=Nu,Wi.renderToStaticNodeStream=l,Wi.renderToString=xf,Wi.version=r}()),Wi}var Bu={};/**
|
|
67
67
|
* @license React
|
|
68
68
|
* react-dom-server.browser.development.js
|
|
69
69
|
*
|
|
@@ -71,17 +71,17 @@ Error generating stack: `+u.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 mp;function ov(){return mp||(mp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("warn",l,n)}}function a(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("error",l,n)}}function d(l,t,n){{var s=o.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var p=n.map(function(b){return String(b)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[l],console,p)}}function h(l){l()}var v=512,m=null,x=0;function R(l){m=new Uint8Array(v),x=0}function E(l,t){if(t.length!==0){if(t.length>v){x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=new Uint8Array(v),x=0),l.enqueue(t);return}var n=t,s=m.length-x;s<n.length&&(s===0?l.enqueue(m):(m.set(n.subarray(0,s),x),l.enqueue(m),n=n.subarray(s)),m=new Uint8Array(v),x=0),m.set(n,x),x+=n.length}}function F(l,t){return E(l,t),!0}function M(l){m&&x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=null,x=0)}function B(l){l.close()}var D=new TextEncoder;function P(l){return D.encode(l)}function I(l){return D.encode(l)}function W(l,t){typeof l.error=="function"?l.error(t):l.close()}function U(l){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&l[Symbol.toStringTag]||l.constructor.name||"Object";return n}}function q(l){try{return _(l),!1}catch{return!0}}function _(l){return""+l}function ie(l,t){if(q(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.",t,U(l)),_(l)}function ce(l,t){if(q(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.",t,U(l)),_(l)}function ee(l){if(q(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.",U(l)),_(l)}var ae=Object.prototype.hasOwnProperty,Fe=0,Ne=1,_e=2,Ge=3,Qe=4,ke=5,Ce=6,je=":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=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("^["+je+"]["+Z+"]*$"),G={},J={};function fe(l){return ae.call(J,l)?!0:ae.call(G,l)?!1:be.test(l)?(J[l]=!0,!0):(G[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function me(l,t,n,s){if(n!==null&&n.type===Fe)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(n!==null)return!n.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function pe(l){return se.hasOwnProperty(l)?se[l]:null}function ge(l,t,n,s,u,p,b){this.acceptsBooleans=t===_e||t===Ge||t===Qe,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=l,this.type=t,this.sanitizeURL=p,this.removeEmptyString=b}var se={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){se[l]=new ge(l,Fe,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var t=l[0],n=l[1];se[t]=new ge(t,Ne,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){se[l]=new ge(l,_e,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){se[l]=new ge(l,_e,!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){se[l]=new ge(l,Ge,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){se[l]=new ge(l,Ge,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){se[l]=new ge(l,Qe,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){se[l]=new ge(l,Ce,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){se[l]=new ge(l,ke,!1,l.toLowerCase(),null,!1,!1)});var Te=/[\-\:]([a-z])/g,Ee=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 t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!1,!1)});var Re="xlinkHref";se[Re]=new ge("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!0,!0)});var $e={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 oe(l,t){return l+t.charAt(0).toUpperCase()+t.substring(1)}var Ue=["Webkit","ms","Moz","O"];Object.keys($e).forEach(function(l){Ue.forEach(function(t){$e[oe(t,l)]=$e[l]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(l,t){nt[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.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`."),t.onChange||t.readOnly||t.disabled||t.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 Lr(l,t){if(l.indexOf("-")===-1)return typeof t.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 so={"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},jt={},jr=new RegExp("^(aria)-["+Z+"]*$"),Nr=new RegExp("^(aria)[A-Z]["+Z+"]*$");function lo(l,t){{if(ae.call(jt,t)&&jt[t])return!0;if(Nr.test(t)){var n="aria-"+t.slice(4).toLowerCase(),s=so.hasOwnProperty(n)?n:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),jt[t]=!0,!0;if(t!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,s),jt[t]=!0,!0}if(jr.test(t)){var u=t.toLowerCase(),p=so.hasOwnProperty(u)?u:null;if(p==null)return jt[t]=!0,!1;if(t!==p)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),jt[t]=!0,!0}}return!0}function Nt(l,t){{var n=[];for(var s in t){var u=lo(l,s);u||n.push(s)}var p=n.map(function(b){return"`"+b+"`"}).join(", ");n.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l)}}function mt(l,t){Lr(l,t)||Nt(l,t)}var ct=!1;function kn(l,t){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;t!=null&&t.value===null&&!ct&&(ct=!0,l==="select"&&t.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 En={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"},Cn=function(){};{var at={},Tn=/^on./,uo=/^on[^A-Z]/,co=new RegExp("^(aria)-["+Z+"]*$"),Rn=new RegExp("^(aria)[A-Z]["+Z+"]*$");Cn=function(l,t,n,s){if(ae.call(at,t)&&at[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="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."),at[t]=!0,!0;if(s!=null){var p=s.registrationNameDependencies,b=s.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var S=b.hasOwnProperty(u)?b[u]:null;if(S!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,S),at[t]=!0,!0;if(Tn.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),at[t]=!0,!0}else if(Tn.test(t))return uo.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),at[t]=!0,!0;if(co.test(t)||Rn.test(t))return!0;if(u==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),at[t]=!0,!0;if(u==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),at[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),at[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),at[t]=!0,!0;var A=pe(t),j=A!==null&&A.type===Fe;if(En.hasOwnProperty(u)){var X=En[u];if(X!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,X),at[t]=!0,!0}else if(!j&&t!==u)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.",t,u),at[t]=!0,!0;return typeof n=="boolean"&&me(t,n,A)?(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,t,t,n,t):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.',n,t,t,n,t,t,t),at[t]=!0,!0):j?!0:me(t,n,A)?(at[t]=!0,!1):((n==="false"||n==="true")&&A!==null&&A.type===Ge&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),at[t]=!0),!0)}}var en=function(l,t,n){{var s=[];for(var u in t){var p=Cn(l,u,t[u],n);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).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 ",b,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 ",b,l)}};function si(l,t,n){Lr(l,t)||en(l,t,n)}var Pn=function(){};{var yr=/^(?:webkit|moz|o)[A-Z]/,An=/^-ms-/,fo=/-(.)/g,xt=/;\s*$/,Jt={},br={},Xe=!1,xr=!1,tn=function(l){return l.replace(fo,function(t,n){return n.toUpperCase()})},$r=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,tn(l.replace(An,"ms-"))))},Kt=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},rn=function(l,t){br.hasOwnProperty(t)&&br[t]||(br[t]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,t.replace(xt,"")))},cr=function(l,t){Xe||(Xe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},ft=function(l,t){xr||(xr=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Pn=function(l,t){l.indexOf("-")>-1?$r(l):yr.test(l)?Kt(l):xt.test(t)&&rn(l,t),typeof t=="number"&&(isNaN(t)?cr(l,t):isFinite(t)||ft(l,t))}}var In=Pn,On=/["'&<>]/;function po(l){ee(l);var t=""+l,n=On.exec(t);if(!n)return t;var s,u="",p,b=0;for(p=n.index;p<t.length;p++){switch(t.charCodeAt(p)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}b!==p&&(u+=t.substring(b,p)),b=p+1,u+=s}return b!==p?u+t.substring(b,p):u}function st(l){return typeof l=="boolean"||typeof l=="number"?""+l:po(l)}var Fn=/([A-Z])/g,li=/^ms-/;function ui(l){return l.replace(Fn,"-$1").toLowerCase().replace(li,"-ms-")}var Zt=/^[\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,Mn=!1;function nn(l){!Mn&&Zt.test(l)&&(Mn=!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 wr=Array.isArray;function Tt(l){return wr(l)}var er=I("<script>"),on=I("<\/script>"),Sr=I('<script src="'),kr=I('<script type="module" src="'),tr=I('" async=""><\/script>');function Er(l){return ee(l),(""+l).replace(Rt,ho)}var Rt=/(<\/|<)(s)(cript)/gi,ho=function(l,t,n,s){return""+t+(n==="s"?"\\u0073":"\\u0053")+s};function mo(l,t,n,s,u){var p=l===void 0?"":l,b=t===void 0?er:I('<script nonce="'+st(t)+'">'),S=[];if(n!==void 0&&S.push(b,P(Er(n)),on),s!==void 0)for(var A=0;A<s.length;A++)S.push(Sr,P(st(s[A])),tr);if(u!==void 0)for(var j=0;j<u.length;j++)S.push(kr,P(st(u[j])),tr);return{bootstrapChunks:S,startInlineScript:b,placeholderPrefix:I(p+"P:"),segmentPrefix:I(p+"S:"),boundaryPrefix:p+"B:",idPrefix:p,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var fr=0,lt=1,rr=2,nr=3,Cr=4,an=5,$t=6,or=7;function wt(l,t){return{insertionMode:l,selectedValue:t}}function Tr(l){var t=l==="http://www.w3.org/2000/svg"?rr:l==="http://www.w3.org/1998/Math/MathML"?nr:fr;return wt(t,null)}function zr(l,t,n){switch(t){case"select":return wt(lt,n.value!=null?n.value:n.defaultValue);case"svg":return wt(rr,null);case"math":return wt(nr,null);case"foreignObject":return wt(lt,null);case"table":return wt(Cr,null);case"thead":case"tbody":case"tfoot":return wt(an,null);case"colgroup":return wt(or,null);case"tr":return wt($t,null)}return l.insertionMode>=Cr||l.insertionMode===fr?wt(lt,null):l}var sn=null;function Ft(l){var t=l.nextSuspenseID++;return I(l.boundaryPrefix+t.toString(16))}function ir(l,t,n){var s=l.idPrefix,u=":"+s+"R"+t;return n>0&&(u+="H"+n.toString(32)),u+":"}function St(l){return st(l)}var ln=I("<!-- -->");function ht(l,t,n,s){return t===""?s:(s&&l.push(ln),l.push(P(St(t))),!0)}function Pt(l,t,n,s){n&&s&&l.push(ln)}var c=new Map;function y(l){var t=c.get(l);if(t!==void 0)return t;var n=I(st(ui(l)));return c.set(l,n),n}var k=I(' style="'),T=I(":"),$=I(";");function L(l,t,n){if(typeof n!="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 u in n)if(ae.call(n,u)){var p=n[u];if(!(p==null||typeof p=="boolean"||p==="")){var b=void 0,S=void 0,A=u.indexOf("--")===0;A?(b=P(st(u)),ce(p,u),S=P(st((""+p).trim()))):(In(u,p),b=y(u),typeof p=="number"?p!==0&&!ae.call($e,u)?S=P(p+"px"):S=P(""+p):(ce(p,u),S=P(st((""+p).trim())))),s?(s=!1,l.push(k,b,T,S)):l.push($,b,T,S)}}s||l.push(xe)}var H=I(" "),te=I('="'),xe=I('"'),Pe=I('=""');function we(l,t,n,s){switch(n){case"style":{L(l,t,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(n.length>2&&(n[0]==="o"||n[0]==="O")&&(n[1]==="n"||n[1]==="N"))){var u=pe(n);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var p=u.attributeName,b=P(p);switch(u.type){case Ge:s&&l.push(H,b,Pe);return;case Qe:s===!0?l.push(H,b,Pe):s===!1||l.push(H,b,te,P(st(s)),xe);return;case ke:isNaN(s)||l.push(H,b,te,P(st(s)),xe);break;case Ce:!isNaN(s)&&s>=1&&l.push(H,b,te,P(st(s)),xe);break;default:u.sanitizeURL&&(ie(s,p),s=""+s,nn(s)),l.push(H,b,te,P(st(s)),xe)}}else if(fe(n)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var S=n.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-")return}}l.push(H,P(n),te,P(st(s)),xe)}}}var He=I(">"),kt=I("/>");function Et(l,t,n){if(t!=null){if(n!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!="object"||!("__html"in t))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=t.__html;s!=null&&(ee(s),l.push(P(""+s)))}}var Ct=!1,Rr=!1,ar=!1,un=!1,Pr=!1,Br=!1,dr=!1;function Ur(l,t){{var n=l[t];if(n!=null){var s=Tt(n);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t)}}}function _s(l,t,n){Lt("select",t),Ur(t,"value"),Ur(t,"defaultValue"),t.value!==void 0&&t.defaultValue!==void 0&&!ar&&(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"),ar=!0),l.push(zt("select"));var s=null,u=null;for(var p in t)if(ae.call(t,p)){var b=t[p];if(b==null)continue;switch(p){case"children":s=b;break;case"dangerouslySetInnerHTML":u=b;break;case"defaultValue":case"value":break;default:we(l,n,p,b);break}}return l.push(He),Et(l,u,s),s}function Ls(l){var t="";return e.Children.forEach(l,function(n){n!=null&&(t+=n,!Pr&&typeof n!="string"&&typeof n!="number"&&(Pr=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}var go=I(' selected=""');function sr(l,t,n,s){var u=s.selectedValue;l.push(zt("option"));var p=null,b=null,S=null,A=null;for(var j in t)if(ae.call(t,j)){var X=t[j];if(X==null)continue;switch(j){case"children":p=X;break;case"selected":S=X,dr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dr=!0);break;case"dangerouslySetInnerHTML":A=X;break;case"value":b=X;default:we(l,n,j,X);break}}if(u!=null){var K;if(b!==null?(ie(b,"value"),K=""+b):(A!==null&&(Br||(Br=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),K=Ls(p)),Tt(u))for(var le=0;le<u.length;le++){ie(u[le],"value");var Oe=""+u[le];if(Oe===K){l.push(go);break}}else ie(u,"select.value"),""+u===K&&l.push(go)}else S&&l.push(go);return l.push(He),Et(l,A,p),p}function js(l,t,n){Lt("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Rr&&(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",t.type),Rr=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Ct&&(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",t.type),Ct=!0),l.push(zt("input"));var s=null,u=null,p=null,b=null;for(var S in t)if(ae.call(t,S)){var A=t[S];if(A==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":b=A;break;case"defaultValue":u=A;break;case"checked":p=A;break;case"value":s=A;break;default:we(l,n,S,A);break}}return p!==null?we(l,n,"checked",p):b!==null&&we(l,n,"checked",b),s!==null?we(l,n,"value",s):u!==null&&we(l,n,"value",u),l.push(kt),null}function pr(l,t,n){Lt("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!un&&(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"),un=!0),l.push(zt("textarea"));var s=null,u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":p=S;break;case"value":s=S;break;case"defaultValue":u=S;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:we(l,n,b,S);break}}if(s===null&&u!==null&&(s=u),l.push(He),p!=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(Tt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");ee(p[0]),s=""+p[0]}ee(p),s=""+p}return typeof s=="string"&&s[0]===`
|
|
75
|
-
`&&l.push(Wr),s!==null&&(ie(s,"value"),l.push(P(St(""+s)))),null}function
|
|
74
|
+
*/var mp;function iv(){return mp||(mp=1,process.env.NODE_ENV!=="production"&&function(){var e=V,r="18.3.1",o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("warn",l,n)}}function a(l){{for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];d("error",l,n)}}function d(l,t,n){{var s=o.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(t+="%s",n=n.concat([u]));var p=n.map(function(b){return String(b)});p.unshift("Warning: "+t),Function.prototype.apply.call(console[l],console,p)}}function h(l){l()}var v=512,m=null,x=0;function R(l){m=new Uint8Array(v),x=0}function E(l,t){if(t.length!==0){if(t.length>v){x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=new Uint8Array(v),x=0),l.enqueue(t);return}var n=t,s=m.length-x;s<n.length&&(s===0?l.enqueue(m):(m.set(n.subarray(0,s),x),l.enqueue(m),n=n.subarray(s)),m=new Uint8Array(v),x=0),m.set(n,x),x+=n.length}}function F(l,t){return E(l,t),!0}function M(l){m&&x>0&&(l.enqueue(new Uint8Array(m.buffer,0,x)),m=null,x=0)}function B(l){l.close()}var D=new TextEncoder;function P(l){return D.encode(l)}function I(l){return D.encode(l)}function W(l,t){typeof l.error=="function"?l.error(t):l.close()}function U(l){{var t=typeof Symbol=="function"&&Symbol.toStringTag,n=t&&l[Symbol.toStringTag]||l.constructor.name||"Object";return n}}function q(l){try{return _(l),!1}catch{return!0}}function _(l){return""+l}function ie(l,t){if(q(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.",t,U(l)),_(l)}function ce(l,t){if(q(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.",t,U(l)),_(l)}function ee(l){if(q(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.",U(l)),_(l)}var ae=Object.prototype.hasOwnProperty,Fe=0,Ne=1,_e=2,Ge=3,Qe=4,ke=5,Ce=6,je=":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=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",be=new RegExp("^["+je+"]["+Z+"]*$"),Q={},J={};function fe(l){return ae.call(J,l)?!0:ae.call(Q,l)?!1:be.test(l)?(J[l]=!0,!0):(Q[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function me(l,t,n,s){if(n!==null&&n.type===Fe)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":{if(n!==null)return!n.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function pe(l){return se.hasOwnProperty(l)?se[l]:null}function ge(l,t,n,s,u,p,b){this.acceptsBooleans=t===_e||t===Ge||t===Qe,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=n,this.propertyName=l,this.type=t,this.sanitizeURL=p,this.removeEmptyString=b}var se={},ue=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ue.forEach(function(l){se[l]=new ge(l,Fe,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var t=l[0],n=l[1];se[t]=new ge(t,Ne,!1,n,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){se[l]=new ge(l,_e,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){se[l]=new ge(l,_e,!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){se[l]=new ge(l,Ge,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){se[l]=new ge(l,Ge,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){se[l]=new ge(l,Qe,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){se[l]=new ge(l,Ce,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){se[l]=new ge(l,ke,!1,l.toLowerCase(),null,!1,!1)});var Te=/[\-\:]([a-z])/g,Ee=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 t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var t=l.replace(Te,Ee);se[t]=new ge(t,Ne,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!1,!1)});var Re="xlinkHref";se[Re]=new ge("xlinkHref",Ne,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){se[l]=new ge(l,Ne,!1,l.toLowerCase(),null,!0,!0)});var $e={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 oe(l,t){return l+t.charAt(0).toUpperCase()+t.substring(1)}var Ue=["Webkit","ms","Moz","O"];Object.keys($e).forEach(function(l){Ue.forEach(function(t){$e[oe(t,l)]=$e[l]})});var nt={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Lt(l,t){nt[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.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`."),t.onChange||t.readOnly||t.disabled||t.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 Lr(l,t){if(l.indexOf("-")===-1)return typeof t.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 so={"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},jt={},jr=new RegExp("^(aria)-["+Z+"]*$"),Nr=new RegExp("^(aria)[A-Z]["+Z+"]*$");function lo(l,t){{if(ae.call(jt,t)&&jt[t])return!0;if(Nr.test(t)){var n="aria-"+t.slice(4).toLowerCase(),s=so.hasOwnProperty(n)?n:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),jt[t]=!0,!0;if(t!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,s),jt[t]=!0,!0}if(jr.test(t)){var u=t.toLowerCase(),p=so.hasOwnProperty(u)?u:null;if(p==null)return jt[t]=!0,!1;if(t!==p)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,p),jt[t]=!0,!0}}return!0}function Nt(l,t){{var n=[];for(var s in t){var u=lo(l,s);u||n.push(s)}var p=n.map(function(b){return"`"+b+"`"}).join(", ");n.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",p,l)}}function mt(l,t){Lr(l,t)||Nt(l,t)}var ct=!1;function kn(l,t){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;t!=null&&t.value===null&&!ct&&(ct=!0,l==="select"&&t.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 En={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"},Cn=function(){};{var at={},Tn=/^on./,uo=/^on[^A-Z]/,co=new RegExp("^(aria)-["+Z+"]*$"),Rn=new RegExp("^(aria)[A-Z]["+Z+"]*$");Cn=function(l,t,n,s){if(ae.call(at,t)&&at[t])return!0;var u=t.toLowerCase();if(u==="onfocusin"||u==="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."),at[t]=!0,!0;if(s!=null){var p=s.registrationNameDependencies,b=s.possibleRegistrationNames;if(p.hasOwnProperty(t))return!0;var S=b.hasOwnProperty(u)?b[u]:null;if(S!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,S),at[t]=!0,!0;if(Tn.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),at[t]=!0,!0}else if(Tn.test(t))return uo.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),at[t]=!0,!0;if(co.test(t)||Rn.test(t))return!0;if(u==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),at[t]=!0,!0;if(u==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),at[t]=!0,!0;if(u==="is"&&n!==null&&n!==void 0&&typeof n!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),at[t]=!0,!0;if(typeof n=="number"&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),at[t]=!0,!0;var A=pe(t),j=A!==null&&A.type===Fe;if(En.hasOwnProperty(u)){var X=En[u];if(X!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,X),at[t]=!0,!0}else if(!j&&t!==u)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.",t,u),at[t]=!0,!0;return typeof n=="boolean"&&me(t,n,A)?(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,t,t,n,t):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.',n,t,t,n,t,t,t),at[t]=!0,!0):j?!0:me(t,n,A)?(at[t]=!0,!1):((n==="false"||n==="true")&&A!==null&&A.type===Ge&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,n==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),at[t]=!0),!0)}}var en=function(l,t,n){{var s=[];for(var u in t){var p=Cn(l,u,t[u],n);p||s.push(u)}var b=s.map(function(S){return"`"+S+"`"}).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 ",b,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 ",b,l)}};function li(l,t,n){Lr(l,t)||en(l,t,n)}var Pn=function(){};{var yr=/^(?:webkit|moz|o)[A-Z]/,An=/^-ms-/,fo=/-(.)/g,xt=/;\s*$/,Jt={},br={},Xe=!1,xr=!1,tn=function(l){return l.replace(fo,function(t,n){return n.toUpperCase()})},$r=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,tn(l.replace(An,"ms-"))))},Kt=function(l){Jt.hasOwnProperty(l)&&Jt[l]||(Jt[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},rn=function(l,t){br.hasOwnProperty(t)&&br[t]||(br[t]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,t.replace(xt,"")))},cr=function(l,t){Xe||(Xe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},ft=function(l,t){xr||(xr=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Pn=function(l,t){l.indexOf("-")>-1?$r(l):yr.test(l)?Kt(l):xt.test(t)&&rn(l,t),typeof t=="number"&&(isNaN(t)?cr(l,t):isFinite(t)||ft(l,t))}}var In=Pn,On=/["'&<>]/;function po(l){ee(l);var t=""+l,n=On.exec(t);if(!n)return t;var s,u="",p,b=0;for(p=n.index;p<t.length;p++){switch(t.charCodeAt(p)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}b!==p&&(u+=t.substring(b,p)),b=p+1,u+=s}return b!==p?u+t.substring(b,p):u}function st(l){return typeof l=="boolean"||typeof l=="number"?""+l:po(l)}var Fn=/([A-Z])/g,ui=/^ms-/;function ci(l){return l.replace(Fn,"-$1").toLowerCase().replace(ui,"-ms-")}var Zt=/^[\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,Mn=!1;function nn(l){!Mn&&Zt.test(l)&&(Mn=!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 wr=Array.isArray;function Tt(l){return wr(l)}var er=I("<script>"),on=I("<\/script>"),Sr=I('<script src="'),kr=I('<script type="module" src="'),tr=I('" async=""><\/script>');function Er(l){return ee(l),(""+l).replace(Rt,ho)}var Rt=/(<\/|<)(s)(cript)/gi,ho=function(l,t,n,s){return""+t+(n==="s"?"\\u0073":"\\u0053")+s};function mo(l,t,n,s,u){var p=l===void 0?"":l,b=t===void 0?er:I('<script nonce="'+st(t)+'">'),S=[];if(n!==void 0&&S.push(b,P(Er(n)),on),s!==void 0)for(var A=0;A<s.length;A++)S.push(Sr,P(st(s[A])),tr);if(u!==void 0)for(var j=0;j<u.length;j++)S.push(kr,P(st(u[j])),tr);return{bootstrapChunks:S,startInlineScript:b,placeholderPrefix:I(p+"P:"),segmentPrefix:I(p+"S:"),boundaryPrefix:p+"B:",idPrefix:p,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var fr=0,lt=1,rr=2,nr=3,Cr=4,an=5,$t=6,or=7;function wt(l,t){return{insertionMode:l,selectedValue:t}}function Tr(l){var t=l==="http://www.w3.org/2000/svg"?rr:l==="http://www.w3.org/1998/Math/MathML"?nr:fr;return wt(t,null)}function zr(l,t,n){switch(t){case"select":return wt(lt,n.value!=null?n.value:n.defaultValue);case"svg":return wt(rr,null);case"math":return wt(nr,null);case"foreignObject":return wt(lt,null);case"table":return wt(Cr,null);case"thead":case"tbody":case"tfoot":return wt(an,null);case"colgroup":return wt(or,null);case"tr":return wt($t,null)}return l.insertionMode>=Cr||l.insertionMode===fr?wt(lt,null):l}var sn=null;function Ft(l){var t=l.nextSuspenseID++;return I(l.boundaryPrefix+t.toString(16))}function ir(l,t,n){var s=l.idPrefix,u=":"+s+"R"+t;return n>0&&(u+="H"+n.toString(32)),u+":"}function St(l){return st(l)}var ln=I("<!-- -->");function ht(l,t,n,s){return t===""?s:(s&&l.push(ln),l.push(P(St(t))),!0)}function Pt(l,t,n,s){n&&s&&l.push(ln)}var c=new Map;function y(l){var t=c.get(l);if(t!==void 0)return t;var n=I(st(ci(l)));return c.set(l,n),n}var k=I(' style="'),T=I(":"),$=I(";");function L(l,t,n){if(typeof n!="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 u in n)if(ae.call(n,u)){var p=n[u];if(!(p==null||typeof p=="boolean"||p==="")){var b=void 0,S=void 0,A=u.indexOf("--")===0;A?(b=P(st(u)),ce(p,u),S=P(st((""+p).trim()))):(In(u,p),b=y(u),typeof p=="number"?p!==0&&!ae.call($e,u)?S=P(p+"px"):S=P(""+p):(ce(p,u),S=P(st((""+p).trim())))),s?(s=!1,l.push(k,b,T,S)):l.push($,b,T,S)}}s||l.push(xe)}var H=I(" "),te=I('="'),xe=I('"'),Pe=I('=""');function we(l,t,n,s){switch(n){case"style":{L(l,t,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(n.length>2&&(n[0]==="o"||n[0]==="O")&&(n[1]==="n"||n[1]==="N"))){var u=pe(n);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var p=u.attributeName,b=P(p);switch(u.type){case Ge:s&&l.push(H,b,Pe);return;case Qe:s===!0?l.push(H,b,Pe):s===!1||l.push(H,b,te,P(st(s)),xe);return;case ke:isNaN(s)||l.push(H,b,te,P(st(s)),xe);break;case Ce:!isNaN(s)&&s>=1&&l.push(H,b,te,P(st(s)),xe);break;default:u.sanitizeURL&&(ie(s,p),s=""+s,nn(s)),l.push(H,b,te,P(st(s)),xe)}}else if(fe(n)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var S=n.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-")return}}l.push(H,P(n),te,P(st(s)),xe)}}}var He=I(">"),kt=I("/>");function Et(l,t,n){if(t!=null){if(n!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof t!="object"||!("__html"in t))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=t.__html;s!=null&&(ee(s),l.push(P(""+s)))}}var Ct=!1,Rr=!1,ar=!1,un=!1,Pr=!1,Br=!1,dr=!1;function Ur(l,t){{var n=l[t];if(n!=null){var s=Tt(n);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",t):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",t)}}}function _s(l,t,n){Lt("select",t),Ur(t,"value"),Ur(t,"defaultValue"),t.value!==void 0&&t.defaultValue!==void 0&&!ar&&(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"),ar=!0),l.push(zt("select"));var s=null,u=null;for(var p in t)if(ae.call(t,p)){var b=t[p];if(b==null)continue;switch(p){case"children":s=b;break;case"dangerouslySetInnerHTML":u=b;break;case"defaultValue":case"value":break;default:we(l,n,p,b);break}}return l.push(He),Et(l,u,s),s}function Ls(l){var t="";return e.Children.forEach(l,function(n){n!=null&&(t+=n,!Pr&&typeof n!="string"&&typeof n!="number"&&(Pr=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),t}var go=I(' selected=""');function sr(l,t,n,s){var u=s.selectedValue;l.push(zt("option"));var p=null,b=null,S=null,A=null;for(var j in t)if(ae.call(t,j)){var X=t[j];if(X==null)continue;switch(j){case"children":p=X;break;case"selected":S=X,dr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),dr=!0);break;case"dangerouslySetInnerHTML":A=X;break;case"value":b=X;default:we(l,n,j,X);break}}if(u!=null){var K;if(b!==null?(ie(b,"value"),K=""+b):(A!==null&&(Br||(Br=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),K=Ls(p)),Tt(u))for(var le=0;le<u.length;le++){ie(u[le],"value");var Oe=""+u[le];if(Oe===K){l.push(go);break}}else ie(u,"select.value"),""+u===K&&l.push(go)}else S&&l.push(go);return l.push(He),Et(l,A,p),p}function js(l,t,n){Lt("input",t),t.checked!==void 0&&t.defaultChecked!==void 0&&!Rr&&(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",t.type),Rr=!0),t.value!==void 0&&t.defaultValue!==void 0&&!Ct&&(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",t.type),Ct=!0),l.push(zt("input"));var s=null,u=null,p=null,b=null;for(var S in t)if(ae.call(t,S)){var A=t[S];if(A==null)continue;switch(S){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":b=A;break;case"defaultValue":u=A;break;case"checked":p=A;break;case"value":s=A;break;default:we(l,n,S,A);break}}return p!==null?we(l,n,"checked",p):b!==null&&we(l,n,"checked",b),s!==null?we(l,n,"value",s):u!==null&&we(l,n,"value",u),l.push(kt),null}function pr(l,t,n){Lt("textarea",t),t.value!==void 0&&t.defaultValue!==void 0&&!un&&(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"),un=!0),l.push(zt("textarea"));var s=null,u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":p=S;break;case"value":s=S;break;case"defaultValue":u=S;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:we(l,n,b,S);break}}if(s===null&&u!==null&&(s=u),l.push(He),p!=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(Tt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");ee(p[0]),s=""+p[0]}ee(p),s=""+p}return typeof s=="string"&&s[0]===`
|
|
75
|
+
`&&l.push(Wr),s!==null&&(ie(s,"value"),l.push(P(St(""+s)))),null}function fi(l,t,n,s){l.push(zt(n));for(var u in t)if(ae.call(t,u)){var p=t[u];if(p==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error(n+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:we(l,s,u,p);break}}return l.push(kt),null}function vo(l,t,n){l.push(zt("menuitem"));for(var s in t)if(ae.call(t,s)){var u=t[s];if(u==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:we(l,n,s,u);break}}return l.push(He),null}function qe(l,t,n){l.push(zt("title"));var s=null;for(var u in t)if(ae.call(t,u)){var p=t[u];if(p==null)continue;switch(u){case"children":s=p;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:we(l,n,u,p);break}}l.push(He);{var b=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"):b!=null&&b.$$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"):b!=null&&typeof b!="string"&&typeof b!="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 Hr(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;default:we(l,s,b,S);break}}return l.push(He),Et(l,p,u),typeof u=="string"?(l.push(P(St(u))),null):u}function yo(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;case"style":L(l,s,S);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(b)&&typeof S!="function"&&typeof S!="symbol"&&l.push(H,P(b),te,P(st(S)),xe);break}}return l.push(He),Et(l,p,u),u}var Wr=I(`
|
|
76
76
|
`);function Ar(l,t,n,s){l.push(zt(n));var u=null,p=null;for(var b in t)if(ae.call(t,b)){var S=t[b];if(S==null)continue;switch(b){case"children":u=S;break;case"dangerouslySetInnerHTML":p=S;break;default:we(l,s,b,S);break}}if(l.push(He),p!=null){if(u!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof p!="object"||!("__html"in p))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 A=p.__html;A!=null&&(typeof A=="string"&&A.length>0&&A[0]===`
|
|
77
77
|
`?l.push(Wr,P(A)):(ee(A),l.push(P(""+A))))}return typeof u=="string"&&u[0]===`
|
|
78
|
-
`&&l.push(Wr),u}var bo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ir=new Map;function zt(l){var t=Ir.get(l);if(t===void 0){if(!bo.test(l))throw new Error("Invalid tag: "+l);t=I("<"+l),Ir.set(l,t)}return t}var
|
|
79
|
-
`+Zs+l}}var el=!1,
|
|
78
|
+
`&&l.push(Wr),u}var bo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ir=new Map;function zt(l){var t=Ir.get(l);if(t===void 0){if(!bo.test(l))throw new Error("Invalid tag: "+l);t=I("<"+l),Ir.set(l,t)}return t}var di=I("<!DOCTYPE html>");function Dn(l,t,n,s,u){switch(mt(t,n),kn(t,n),li(t,n,null),!n.suppressContentEditableWarning&&n.contentEditable&&n.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."),u.insertionMode!==rr&&u.insertionMode!==nr&&t.indexOf("-")===-1&&typeof n.is!="string"&&t.toLowerCase()!==t&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",t),t){case"select":return _s(l,n,s);case"option":return sr(l,n,s,u);case"textarea":return pr(l,n,s);case"input":return js(l,n,s);case"menuitem":return vo(l,n,s);case"title":return qe(l,n,s);case"listing":case"pre":return Ar(l,n,t,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 fi(l,n,t,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 Hr(l,n,t,s);case"html":return u.insertionMode===fr&&l.push(di),Hr(l,n,t,s);default:return t.indexOf("-")===-1&&typeof n.is!="string"?Hr(l,n,t,s):yo(l,n,t,s)}}var sa=I("</"),xo=I(">");function la(l,t,n){switch(t){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(sa,P(t),xo)}}function Ns(l,t){for(var n=t.bootstrapChunks,s=0;s<n.length-1;s++)E(l,n[s]);return s<n.length?F(l,n[s]):!0}var $s=I('<template id="'),wo=I('"></template>');function ua(l,t,n){E(l,$s),E(l,t.placeholderPrefix);var s=P(n.toString(16));return E(l,s),F(l,wo)}var _n=I("<!--$-->"),pi=I('<!--$?--><template id="'),zs=I('"></template>'),cn=I("<!--$!-->"),hi=I("<!--/$-->"),mi=I("<template"),fn=I('"'),Ln=I(' data-dgst="'),So=I(' data-msg="'),ca=I(' data-stck="'),fa=I("></template>");function da(l,t){return F(l,_n)}function ko(l,t,n){if(E(l,pi),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return E(l,n),F(l,zs)}function At(l,t,n,s,u){var p;return p=F(l,cn),E(l,mi),n&&(E(l,Ln),E(l,P(st(n))),E(l,fn)),s&&(E(l,So),E(l,P(st(s))),E(l,fn)),u&&(E(l,ca),E(l,P(st(u))),E(l,fn)),p=F(l,fa),p}function pa(l,t){return F(l,hi)}function Eo(l,t){return F(l,hi)}function Bs(l,t){return F(l,hi)}var ha=I('<div hidden id="'),Co=I('">'),ma=I("</div>"),ga=I('<svg aria-hidden="true" style="display:none" id="'),To=I('">'),Ro=I("</svg>"),va=I('<math aria-hidden="true" style="display:none" id="'),ya=I('">'),ba=I("</math>"),gi=I('<table hidden id="'),xa=I('">'),f=I("</table>"),g=I('<table hidden><tbody id="'),w=I('">'),C=I("</tbody></table>"),z=I('<table hidden><tr id="'),N=I('">'),G=I("</tr></table>"),re=I('<table hidden><colgroup id="'),Ae=I('">'),Le=I("</colgroup></table>");function De(l,t,n,s){switch(n.insertionMode){case fr:case lt:return E(l,ha),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,Co);case rr:return E(l,ga),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,To);case nr:return E(l,va),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,ya);case Cr:return E(l,gi),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,xa);case an:return E(l,g),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,w);case $t:return E(l,z),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,N);case or:return E(l,re),E(l,t.segmentPrefix),E(l,P(s.toString(16))),F(l,Ae);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,t){switch(t.insertionMode){case fr:case lt:return F(l,ma);case rr:return F(l,Ro);case nr:return F(l,ba);case Cr:return F(l,f);case an:return F(l,C);case $t:return F(l,G);case or:return F(l,Le);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)}",Bt='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()}}',Ut='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())}',Po=I(It+';$RS("'),wa=I('$RS("'),jn=I('","'),Tc=I('")<\/script>');function Rc(l,t,n){E(l,t.startInlineScript),t.sentCompleteSegmentFunction?E(l,wa):(t.sentCompleteSegmentFunction=!0,E(l,Po)),E(l,t.segmentPrefix);var s=P(n.toString(16));return E(l,s),E(l,jn),E(l,t.placeholderPrefix),E(l,s),F(l,Tc)}var Us=I(Bt+';$RC("'),Pc=I('$RC("'),Ac=I('","'),Zl=I('")<\/script>');function eu(l,t,n,s){if(E(l,t.startInlineScript),t.sentCompleteBoundaryFunction?E(l,Pc):(t.sentCompleteBoundaryFunction=!0,E(l,Us)),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var u=P(s.toString(16));return E(l,n),E(l,Ac),E(l,t.segmentPrefix),E(l,u),F(l,Zl)}var Ic=I(Ut+';$RX("'),Oc=I('$RX("'),Fc=I('"'),Mc=I(")<\/script>"),Mt=I(",");function Dc(l,t,n,s,u,p){if(E(l,t.startInlineScript),t.sentClientRenderFunction?E(l,Oc):(t.sentClientRenderFunction=!0,E(l,Ic)),n===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return E(l,n),E(l,Fc),(s||u||p)&&(E(l,Mt),E(l,P(Sa(s||"")))),(u||p)&&(E(l,Mt),E(l,P(Sa(u||"")))),p&&(E(l,Mt),E(l,P(Sa(p)))),F(l,Mc)}var tu=/[<\u2028\u2029]/g;function Sa(l){var t=JSON.stringify(l);return t.replace(tu,function(n){switch(n){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 Ht=Object.assign,ru=Symbol.for("react.element"),ka=Symbol.for("react.portal"),Ea=Symbol.for("react.fragment"),Ca=Symbol.for("react.strict_mode"),Ta=Symbol.for("react.profiler"),vi=Symbol.for("react.provider"),yi=Symbol.for("react.context"),Ao=Symbol.for("react.forward_ref"),Hs=Symbol.for("react.suspense"),Ws=Symbol.for("react.suspense_list"),Vs=Symbol.for("react.memo"),Ra=Symbol.for("react.lazy"),nu=Symbol.for("react.scope"),_c=Symbol.for("react.debug_trace_mode"),Lc=Symbol.for("react.legacy_hidden"),jc=Symbol.for("react.default_value"),Ys=Symbol.iterator,ot="@@iterator";function bi(l){if(l===null||typeof l!="object")return null;var t=Ys&&l[Ys]||l[ot];return typeof t=="function"?t:null}function ou(l,t,n){var s=l.displayName;if(s)return s;var u=t.displayName||t.name||"";return u!==""?n+"("+u+")":n}function Gs(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 Ea:return"Fragment";case ka:return"Portal";case Ta:return"Profiler";case Ca:return"StrictMode";case Hs:return"Suspense";case Ws:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case yi:var t=l;return Gs(t)+".Consumer";case vi:var n=l;return Gs(n._context)+".Provider";case Ao:return ou(l,l.render,"ForwardRef");case Vs:var s=l.displayName||null;return s!==null?s:rt(l.type)||"Memo";case Ra:{var u=l,p=u._payload,b=u._init;try{return rt(b(p))}catch{return null}}}return null}var Io=0,Qs,Xs,qs,Js,iu,au,Pa;function Aa(){}Aa.__reactDisabledLog=!0;function xi(){{if(Io===0){Qs=console.log,Xs=console.info,qs=console.warn,Js=console.error,iu=console.group,au=console.groupCollapsed,Pa=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Aa,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Io++}}function Ks(){{if(Io--,Io===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ht({},l,{value:Qs}),info:Ht({},l,{value:Xs}),warn:Ht({},l,{value:qs}),error:Ht({},l,{value:Js}),group:Ht({},l,{value:iu}),groupCollapsed:Ht({},l,{value:au}),groupEnd:Ht({},l,{value:Pa})})}Io<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oo=o.ReactCurrentDispatcher,Zs;function Nn(l,t,n){{if(Zs===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);Zs=s&&s[1]||""}return`
|
|
79
|
+
`+Zs+l}}var el=!1,wi;{var Nc=typeof WeakMap=="function"?WeakMap:Map;wi=new Nc}function Si(l,t){if(!l||el)return"";{var n=wi.get(l);if(n!==void 0)return n}var s;el=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var p;p=Oo.current,Oo.current=null,xi();try{if(t){var b=function(){throw Error()};if(Object.defineProperty(b.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(b,[])}catch(Ye){s=Ye}Reflect.construct(l,[],b)}else{try{b.call()}catch(Ye){s=Ye}l.call(b.prototype)}}else{try{throw Error()}catch(Ye){s=Ye}l()}}catch(Ye){if(Ye&&s&&typeof Ye.stack=="string"){for(var S=Ye.stack.split(`
|
|
80
80
|
`),A=s.stack.split(`
|
|
81
81
|
`),j=S.length-1,X=A.length-1;j>=1&&X>=0&&S[j]!==A[X];)X--;for(;j>=1&&X>=0;j--,X--)if(S[j]!==A[X]){if(j!==1||X!==1)do if(j--,X--,X<0||S[j]!==A[X]){var K=`
|
|
82
|
-
`+S[j].replace(" at new "," at ");return l.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",l.displayName)),typeof l=="function"&&
|
|
82
|
+
`+S[j].replace(" at new "," at ");return l.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",l.displayName)),typeof l=="function"&&wi.set(l,K),K}while(j>=1&&X>=0);break}}}finally{el=!1,Oo.current=p,Ks(),Error.prepareStackTrace=u}var le=l?l.displayName||l.name:"",Oe=le?Nn(le):"";return typeof l=="function"&&wi.set(l,Oe),Oe}function su(l,t,n){return Si(l,!0)}function tl(l,t,n){return Si(l,!1)}function Ia(l){var t=l.prototype;return!!(t&&t.isReactComponent)}function Oa(l,t,n){if(l==null)return"";if(typeof l=="function")return Si(l,Ia(l));if(typeof l=="string")return Nn(l);switch(l){case Hs:return Nn("Suspense");case Ws:return Nn("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Ao:return tl(l.render);case Vs:return Oa(l.type,t,n);case Ra:{var s=l,u=s._payload,p=s._init;try{return Oa(p(u),t,n)}catch{}}}return""}var Fa={},ki=o.ReactDebugCurrentFrame;function Ei(l){if(l){var t=l._owner,n=Oa(l.type,l._source,t?t.type:null);ki.setExtraStackFrame(n)}else ki.setExtraStackFrame(null)}function lu(l,t,n,s,u){{var p=Function.call.bind(ae);for(var b in l)if(p(l,b)){var S=void 0;try{if(typeof l[b]!="function"){var A=Error((s||"React class")+": "+n+" type `"+b+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[b]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw A.name="Invariant Violation",A}S=l[b](t,b,s,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(j){S=j}S&&!(S instanceof Error)&&(Ei(u),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",n,b,typeof S),Ei(null)),S instanceof Error&&!(S.message in Fa)&&(Fa[S.message]=!0,Ei(u),a("Failed %s type: %s",n,S.message),Ei(null))}}}var $n;$n={};var Ma={};Object.freeze(Ma);function dn(l,t){{var n=l.contextTypes;if(!n)return Ma;var s={};for(var u in n)s[u]=t[u];{var p=rt(l)||"Unknown";lu(n,s,"context",p)}return s}}function rl(l,t,n,s){{if(typeof l.getChildContext!="function"){{var u=rt(t)||"Unknown";$n[u]||($n[u]=!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.",u,u))}return n}var p=l.getChildContext();for(var b in p)if(!(b in s))throw new Error((rt(t)||"Unknown")+'.getChildContext(): key "'+b+'" is not defined in childContextTypes.');{var S=rt(t)||"Unknown";lu(s,p,"child context",S)}return Ht({},n,p)}}var zn;zn={};var Da=null,pn=null;function _a(l){l.context._currentValue=l.parentValue}function La(l){l.context._currentValue=l.value}function Ci(l,t){if(l!==t){_a(l);var n=l.parent,s=t.parent;if(n===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.");Ci(n,s)}La(t)}}function Ti(l){_a(l);var t=l.parent;t!==null&&Ti(t)}function uu(l){var t=l.parent;t!==null&&uu(t),La(l)}function cu(l,t){_a(l);var n=l.parent;if(n===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");n.depth===t.depth?Ci(n,t):cu(n,t)}function fu(l,t){var n=t.parent;if(n===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===n.depth?Ci(l,n):fu(l,n),La(t)}function hn(l){var t=pn,n=l;t!==n&&(t===null?uu(n):n===null?Ti(t):t.depth===n.depth?Ci(t,n):t.depth>n.depth?cu(t,n):fu(t,n),pn=n)}function nl(l,t){var n;n=l._currentValue,l._currentValue=t,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==zn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=zn;var s=pn,u={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:n,value:t};return pn=u,u}function $c(l){var t=pn;if(t===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");t.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var n=t.parentValue;n===jc?t.context._currentValue=t.context._defaultValue:t.context._currentValue=n,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==zn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=zn}return pn=t.parent}function du(){return pn}function Fo(l){var t=l._currentValue;return t}function Ri(l){return l._reactInternals}function ol(l,t){l._reactInternals=t}var ja={},Na={},$a,Mo,Pi,Ai,za,Ii,Ba,Ua,il;{$a=new Set,Mo=new Set,Pi=new Set,Ba=new Set,Ai=new Set,Ua=new Set,il=new Set;var pu=new Set;Ii=function(l,t){if(!(l===null||typeof l=="function")){var n=t+"_"+l;pu.has(n)||(pu.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,l))}},za=function(l,t){if(t===void 0){var n=rt(l)||"Component";Ai.has(n)||(Ai.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}}}function hu(l,t){{var n=l.constructor,s=n&&rt(n)||"ReactClass",u=s+"."+t;if(ja[u])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.`,t,t,s),ja[u]=!0}}var
|
|
84
|
+
Please check the code for the %s component.`,t,t,s),ja[u]=!0}}var mu={isMounted:function(l){return!1},enqueueSetState:function(l,t,n){var s=Ri(l);s.queue===null?hu(l,"setState"):(s.queue.push(t),n!=null&&Ii(n,"setState"))},enqueueReplaceState:function(l,t,n){var s=Ri(l);s.replace=!0,s.queue=[t],n!=null&&Ii(n,"setState")},enqueueForceUpdate:function(l,t){var n=Ri(l);n.queue===null?hu(l,"forceUpdate"):t!=null&&Ii(t,"setState")}};function zc(l,t,n,s,u){var p=n(u,s);za(t,p);var b=p==null?s:Ht({},s,p);return b}function gu(l,t,n){var s=Ma,u=l.contextType;if("contextType"in l){var p=u===null||u!==void 0&&u.$$typeof===yi&&u._context===void 0;if(!p&&!il.has(l)){il.add(l);var b="";u===void 0?b=" 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 u!="object"?b=" However, it is set to a "+typeof u+".":u.$$typeof===vi?b=" Did you accidentally pass the Context.Provider instead?":u._context!==void 0?b=" Did you accidentally pass the Context.Consumer instead?":b=" However, it is set to an object with keys {"+Object.keys(u).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",rt(l)||"Component",b)}}typeof u=="object"&&u!==null?s=Fo(u):s=n;var S=new l(t,s);{if(typeof l.getDerivedStateFromProps=="function"&&(S.state===null||S.state===void 0)){var A=rt(l)||"Component";$a.has(A)||($a.add(A),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.",A,S.state===null?"null":"undefined",A))}if(typeof l.getDerivedStateFromProps=="function"||typeof S.getSnapshotBeforeUpdate=="function"){var j=null,X=null,K=null;if(typeof S.componentWillMount=="function"&&S.componentWillMount.__suppressDeprecationWarning!==!0?j="componentWillMount":typeof S.UNSAFE_componentWillMount=="function"&&(j="UNSAFE_componentWillMount"),typeof S.componentWillReceiveProps=="function"&&S.componentWillReceiveProps.__suppressDeprecationWarning!==!0?X="componentWillReceiveProps":typeof S.UNSAFE_componentWillReceiveProps=="function"&&(X="UNSAFE_componentWillReceiveProps"),typeof S.componentWillUpdate=="function"&&S.componentWillUpdate.__suppressDeprecationWarning!==!0?K="componentWillUpdate":typeof S.UNSAFE_componentWillUpdate=="function"&&(K="UNSAFE_componentWillUpdate"),j!==null||X!==null||K!==null){var le=rt(l)||"Component",Oe=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Pi.has(le)||(Pi.add(le),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,51 +89,51 @@ The above lifecycles should be removed. Learn more about this warning here:
|
|
|
89
89
|
https://reactjs.org/link/unsafe-component-lifecycles`,le,Oe,j!==null?`
|
|
90
90
|
`+j:"",X!==null?`
|
|
91
91
|
`+X:"",K!==null?`
|
|
92
|
-
`+K:""))}}}return S}function
|
|
92
|
+
`+K:""))}}}return S}function Bc(l,t,n){{var s=rt(t)||"Component",u=l.render;u||(t.prototype&&typeof t.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),t.contextType&&t.contextTypes&&!Ua.has(t)&&(Ua.add(t),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),t.prototype&&t.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(t)||"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 p=l.props!==n;l.props!==void 0&&p&&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"&&!Mo.has(t)&&(Mo.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",rt(t))),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 t.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var b=l.state;b&&(typeof b!="object"||Tt(b))&&a("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof t.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function Uc(l,t){var n=t.state;if(typeof t.componentWillMount=="function"){if(t.componentWillMount.__suppressDeprecationWarning!==!0){var s=rt(l)||"Unknown";Na[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),Na[s]=!0)}t.componentWillMount()}typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.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),Na[s]=!0)}t.componentWillMount()}typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",rt(l)||"Component"),mu.enqueueReplaceState(t,t.state,null))}function al(l,t,n,s){if(l.queue!==null&&l.queue.length>0){var u=l.queue,p=l.replace;if(l.queue=null,l.replace=!1,p&&u.length===1)t.state=u[0];else{for(var b=p?u[0]:t.state,S=!0,A=p?1:0;A<u.length;A++){var j=u[A],X=typeof j=="function"?j.call(t,b,n,s):j;X!=null&&(S?(S=!1,b=Ht({},b,X)):Ht(b,X))}t.state=b}}else l.queue=null}function Oi(l,t,n,s){Bc(l,t,n);var u=l.state!==void 0?l.state:null;l.updater=mu,l.props=n,l.state=u;var p={queue:[],replace:!1};ol(l,p);var b=t.contextType;if(typeof b=="object"&&b!==null?l.context=Fo(b):l.context=s,l.state===n){var S=rt(t)||"Component";Ba.has(S)||(Ba.add(S),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.",S))}var A=t.getDerivedStateFromProps;typeof A=="function"&&(l.state=zc(l,t,A,u,n)),typeof t.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Uc(t,l),al(p,l,n,s))}var Hc={id:1,overflow:""};function Wc(l){var t=l.overflow,n=l.id,s=n&~Vc(n);return s.toString(32)+t}function sl(l,t,n){var s=l.id,u=l.overflow,p=Ha(s)-1,b=s&~(1<<p),S=n+1,A=Ha(t)+p;if(A>30){var j=p-p%5,X=(1<<j)-1,K=(b&X).toString(32),le=b>>j,Oe=p-j,Ye=Ha(t)+Oe,vt=S<<Oe,Gn=vt|le,Qn=K+u;return{id:1<<Ye|Gn,overflow:Qn}}else{var Xr=S<<p,zo=Xr|b,Sf=u;return{id:1<<A|zo,overflow:Sf}}}function Ha(l){return 32-Yc(l)}function Vc(l){return 1<<Ha(l)-1}var Yc=Math.clz32?Math.clz32:ll,Gc=Math.log,Vr=Math.LN2;function ll(l){var t=l>>>0;return t===0?32:31-(Gc(t)/Vr|0)|0}function Wa(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var tt=typeof Object.is=="function"?Object.is:Wa,Wt=null,Do=null,Bn=null,We=null,mn=!1,Va=!1,Vt=0,Yt=null,Or=0,Qc=25,hr=!1,gn;function Un(){if(Wt===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 hr&&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"),Wt}function
|
|
100
|
+
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return hr&&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"),Wt}function Xc(l,t){if(t===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.",gn),!1;l.length!==t.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`,gn,"["+l.join(", ")+"]","["+t.join(", ")+"]");for(var n=0;n<t.length&&n<l.length;n++)if(!tt(l[n],t[n]))return!1;return!0}function ul(){if(Or>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function
|
|
103
|
+
Incoming: %s`,gn,"["+l.join(", ")+"]","["+t.join(", ")+"]");for(var n=0;n<t.length&&n<l.length;n++)if(!tt(l[n],t[n]))return!1;return!0}function ul(){if(Or>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Fi(){return We===null?Bn===null?(mn=!1,Bn=We=ul()):(mn=!0,We=Bn):We.next===null?(mn=!1,We=We.next=ul()):(mn=!0,We=We.next),We}function qc(l,t){Wt=t,Do=l,hr=!1,Vt=0}function Jc(l,t,n,s){for(;Va;)Va=!1,Vt=0,Or+=1,We=null,n=l(t,s);return cl(),n}function Ya(){var l=Vt!==0;return l}function cl(){hr=!1,Wt=null,Do=null,Va=!1,Bn=null,Or=0,Yt=null,We=null}function vu(l){return hr&&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()."),Fo(l)}function yu(l){return gn="useContext",Un(),Fo(l)}function fl(l,t){return typeof t=="function"?t(l):t}function Kc(l){return gn="useState",bu(fl,l)}function bu(l,t,n){if(l!==fl&&(gn="useReducer"),Wt=Un(),We=Fi(),mn){var s=We.queue,u=s.dispatch;if(Yt!==null){var p=Yt.get(s);if(p!==void 0){Yt.delete(s);var b=We.memoizedState,S=p;do{var A=S.action;hr=!0,b=l(b,A),hr=!1,S=S.next}while(S!==null);return We.memoizedState=b,[b,u]}}return[We.memoizedState,u]}else{hr=!0;var j;l===fl?j=typeof t=="function"?t():t:j=n!==void 0?n(t):t,hr=!1,We.memoizedState=j;var X=We.queue={last:null,dispatch:null},K=X.dispatch=tf.bind(null,Wt,X);return[We.memoizedState,K]}}function xu(l,t){Wt=Un(),We=Fi();var n=t===void 0?null:t;if(We!==null){var s=We.memoizedState;if(s!==null&&n!==null){var u=s[1];if(Xc(n,u))return s[0]}}hr=!0;var p=l();return hr=!1,We.memoizedState=[p,n],p}function Zc(l){Wt=Un(),We=Fi();var t=We.memoizedState;if(t===null){var n={current:l};return Object.seal(n),We.memoizedState=n,n}else return t}function ef(l,t){gn="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 tf(l,t,n){if(Or>=Qc)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Wt){Va=!0;var s={action:n,next:null};Yt===null&&(Yt=new Map);var u=Yt.get(t);if(u===void 0)Yt.set(t,s);else{for(var p=u;p.next!==null;)p=p.next;p.next=s}}}function rf(l,t){return xu(function(){return l},t)}function nf(l,t,n){return Un(),t(l._source)}function of(l,t,n){if(n===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return n()}function Ga(l){return Un(),l}function wu(){throw new Error("startTransition cannot be called during server rendering.")}function dl(){return Un(),[!1,wu]}function Su(){var l=Do,t=Wc(l.treeContext),n=Mi;if(n===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Vt++;return ir(n,t,s)}function Qa(){}var Xa={readContext:vu,useContext:yu,useMemo:xu,useReducer:bu,useRef:Zc,useState:Kc,useInsertionEffect:Qa,useLayoutEffect:ef,useCallback:rf,useImperativeHandle:Qa,useEffect:Qa,useDebugValue:Qa,useDeferredValue:Ga,useTransition:dl,useId:Su,useMutableSource:nf,useSyncExternalStore:of},Mi=null;function qa(l){Mi=l}function _o(l){try{var t="",n=l;do{switch(n.tag){case 0:t+=Nn(n.type,null,null);break;case 1:t+=tl(n.type,null,null);break;case 2:t+=su(n.type,null,null);break}n=n.parent}while(n);return t}catch(s){return`
|
|
104
104
|
Error generating stack: `+s.message+`
|
|
105
|
-
`+s.stack}}var Ja=o.ReactCurrentDispatcher,Ka=o.ReactDebugCurrentFrame,Za=0,Lo=1,pl=2,Hn=3,Su=4,nf=0,jo=1,No=2,of=12800;function af(l){return console.error(l),null}function Wn(){}function es(l,t,n,s,u,p,b,S,A){var j=[],X=new Set,K={destination:null,responseState:t,progressiveChunkSize:s===void 0?of:s,status:nf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:X,pingedTasks:j,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?af:u,onAllReady:p===void 0?Wn:p,onShellReady:b===void 0?Wn:b,onShellError:S===void 0?Wn:S,onFatalError:A===void 0?Wn:A},le=Mi(K,0,null,n,!1,!1);le.parentFlushed=!0;var Oe=Vn(K,l,null,le,X,Ma,Da,Bc);return j.push(Oe),K}function Yr(l,t){var n=l.pingedTasks;n.push(t),n.length===1&&h(function(){return El(l)})}function hl(l,t){return{id:sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null}}function Vn(l,t,n,s,u,p,b,S){l.allPendingTasks++,n===null?l.pendingRootTasks++:n.pendingTasks++;var A={node:t,ping:function(){return Yr(l,A)},blockedBoundary:n,blockedSegment:s,abortSet:u,legacyContext:p,context:b,treeContext:S};return A.componentStack=null,u.add(A),A}function Mi(l,t,n,s,u,p){return{status:Za,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:n,lastPushedText:u,textEmbedded:p}}var Gr=null;function Fr(){return Gr===null||Gr.componentStack===null?"":_o(Gr.componentStack)}function Qr(l,t){l.componentStack={tag:0,parent:l.componentStack,type:t}}function ts(l,t){l.componentStack={tag:1,parent:l.componentStack,type:t}}function Di(l,t){l.componentStack={tag:2,parent:l.componentStack,type:t}}function mr(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var _i=null;function ml(l,t){{var n;typeof t=="string"?n=t:t&&typeof t.message=="string"?n=t.message:n=String(t);var s=_i||Fr();_i=null,l.errorMessage=n,l.errorComponentStack=s}}function Li(l,t){var n=l.onError(t);if(n!=null&&typeof n!="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 n+'" instead');return n}function ji(l,t){var n=l.onShellError;n(t);var s=l.onFatalError;s(t),l.destination!==null?(l.status=No,W(l.destination,t)):(l.status=jo,l.fatalError=t)}function ku(l,t,n){Qr(t,"Suspense");var s=t.blockedBoundary,u=t.blockedSegment,p=n.fallback,b=n.children,S=new Set,A=hl(l,S),j=u.chunks.length,X=Mi(l,j,A,u.formatContext,!1,!1);u.children.push(X),u.lastPushedText=!1;var K=Mi(l,0,null,u.formatContext,!1,!1);K.parentFlushed=!0,t.blockedBoundary=A,t.blockedSegment=K;try{if($o(l,t,b),Pt(K.chunks,l.responseState,K.lastPushedText,K.textEmbedded),K.status=Lo,Yn(A,K),A.pendingTasks===0){mr(t);return}}catch(Oe){K.status=Su,A.forceClientRender=!0,A.errorDigest=Li(l,Oe),ml(A,Oe)}finally{t.blockedBoundary=s,t.blockedSegment=u}var le=Vn(l,p,s,X,S,t.legacyContext,t.context,t.treeContext);le.componentStack=t.componentStack,l.pingedTasks.push(le),mr(t)}function sf(l,t,n,s){Qr(t,n);var u=t.blockedSegment,p=Dn(u.chunks,n,s,l.responseState,u.formatContext);u.lastPushedText=!1;var b=u.formatContext;u.formatContext=zr(b,n,s),$o(l,t,p),u.formatContext=b,la(u.chunks,n),u.lastPushedText=!1,mr(t)}function Eu(l){return l.prototype&&l.prototype.isReactComponent}function Ni(l,t,n,s,u){var p={};Qc(t,p);var b=n(s,u);return Xc(n,s,b,u)}function gl(l,t,n,s,u){var p=n.render();n.props!==u&&(xl||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"),xl=!0);{var b=s.childContextTypes;if(b!=null){var S=t.legacyContext,A=rl(n,s,S,b);t.legacyContext=A,Ot(l,t,p),t.legacyContext=S;return}}Ot(l,t,p)}function Cu(l,t,n,s){Di(t,n);var u=dn(n,t.legacyContext),p=mu(n,s,u);Ii(p,n,s,u),gl(l,t,p,n,s),mr(t)}var vl={},$i={},yl={},bl={},xl=!1,Tu={},Ru=!1,wl=!1,Pu=!1;function lf(l,t,n,s){var u;if(u=dn(n,t.legacyContext),ts(t,n),n.prototype&&typeof n.prototype.render=="function"){var p=rt(n)||"Unknown";vl[p]||(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.",p,p),vl[p]=!0)}var b=Ni(l,t,n,s,u),S=Ya();if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){var A=rt(n)||"Unknown";$i[A]||(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.",A,A,A),$i[A]=!0)}if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){{var j=rt(n)||"Unknown";$i[j]||(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.",j,j,j),$i[j]=!0)}Ii(b,n,s,u),gl(l,t,b,n,s)}else if(uf(n),S){var X=t.treeContext,K=1,le=0;t.treeContext=sl(X,K,le);try{Ot(l,t,b)}finally{t.treeContext=X}}else Ot(l,t,b);mr(t)}function uf(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 t=rt(l)||"Unknown";Tu[t]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",t),Tu[t]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var n=rt(l)||"Unknown";bl[n]||(a("%s: Function components do not support getDerivedStateFromProps.",n),bl[n]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";yl[s]||(a("%s: Function components do not support contextType.",s),yl[s]=!0)}}}function Au(l,t){if(l&&l.defaultProps){var n=Ht({},t),s=l.defaultProps;for(var u in s)n[u]===void 0&&(n[u]=s[u]);return n}return t}function cf(l,t,n,s,u){ts(t,n.render);var p=Ni(l,t,n.render,s,u),b=Ya();if(b){var S=t.treeContext,A=1,j=0;t.treeContext=sl(S,A,j);try{Ot(l,t,p)}finally{t.treeContext=S}}else Ot(l,t,p);mr(t)}function Sl(l,t,n,s,u){var p=n.type,b=Au(p,s);rs(l,t,p,b,u)}function ff(l,t,n,s){n._context===void 0?n!==n.Consumer&&(Pu||(Pu=!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?"))):n=n._context;var u=s.children;typeof u!="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 p=Fo(n),b=u(p);Ot(l,t,b)}function Gt(l,t,n,s){var u=n._context,p=s.value,b=s.children,S;S=t.context,t.context=nl(u,p),Ot(l,t,b),t.context=jc(u),S!==t.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function df(l,t,n,s,u){Qr(t,"Lazy");var p=n._payload,b=n._init,S=b(p),A=Au(S,s);rs(l,t,S,A,u),mr(t)}function rs(l,t,n,s,u){if(typeof n=="function")if(Eu(n)){Cu(l,t,n,s);return}else{lf(l,t,n,s);return}if(typeof n=="string"){sf(l,t,n,s);return}switch(n){case Dc:case Mc:case Ca:case Ta:case Ea:{Ot(l,t,s.children);return}case Ws:{Qr(t,"SuspenseList"),Ot(l,t,s.children),mr(t);return}case ru:throw new Error("ReactDOMServer does not yet support scope components.");case Hs:{ku(l,t,s);return}}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Ao:{cf(l,t,n,s,u);return}case Vs:{Sl(l,t,n,s,u);return}case gi:{Gt(l,t,n,s);return}case vi:{ff(l,t,n,s);return}case Ra:{df(l,t,n,s);return}}var p="";throw(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(p+=" 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: "+(n==null?n:typeof n)+"."+p))}function pf(l,t){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===t&&(wl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wl=!0)}function Ot(l,t,n){try{return hf(l,t,n)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(_i=_i!==null?_i:Fr()),s}}function hf(l,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case tu:{var s=n,u=s.type,p=s.props,b=s.ref;rs(l,t,u,p,b);return}case ka: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 Ra:{var S=n,A=S._payload,j=S._init,X;try{X=j(A)}catch(Xr){throw typeof Xr=="object"&&Xr!==null&&typeof Xr.then=="function"&&Qr(t,"Lazy"),Xr}Ot(l,t,X);return}}if(Tt(n)){Iu(l,t,n);return}var K=yi(n);if(K){pf(n,K);var le=K.call(n);if(le){var Oe=le.next();if(!Oe.done){var Ye=[];do Ye.push(Oe.value),Oe=le.next();while(!Oe.done);Iu(l,t,Ye);return}return}}var vt=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof n=="string"){var Gn=t.blockedSegment;Gn.lastPushedText=ht(t.blockedSegment.chunks,n,l.responseState,Gn.lastPushedText);return}if(typeof n=="number"){var Qn=t.blockedSegment;Qn.lastPushedText=ht(t.blockedSegment.chunks,""+n,l.responseState,Qn.lastPushedText);return}typeof n=="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 Iu(l,t,n){for(var s=n.length,u=0;u<s;u++){var p=t.treeContext;t.treeContext=sl(p,s,u);try{$o(l,t,n[u])}finally{t.treeContext=p}}}function Ou(l,t,n){var s=t.blockedSegment,u=s.chunks.length,p=Mi(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(p),s.lastPushedText=!1;var b=Vn(l,t.node,t.blockedBoundary,p,t.abortSet,t.legacyContext,t.context,t.treeContext);t.componentStack!==null&&(b.componentStack=t.componentStack.parent);var S=b.ping;n.then(S,S)}function $o(l,t,n){var s=t.blockedSegment.formatContext,u=t.legacyContext,p=t.context,b=null;b=t.componentStack;try{return Ot(l,t,n)}catch(S){if(cl(),typeof S=="object"&&S!==null&&typeof S.then=="function"){Ou(l,t,S),t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b;return}else throw t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b,S}}function Fu(l,t,n,s){var u=Li(l,s);if(t===null?ji(l,s):(t.pendingTasks--,t.forceClientRender||(t.forceClientRender=!0,t.errorDigest=u,ml(t,s),t.parentFlushed&&l.clientRenderedBoundaries.push(t))),l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function mf(l){var t=this,n=l.blockedBoundary,s=l.blockedSegment;s.status=Hn,zi(t,n,s)}function kl(l,t,n){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Hn,s===null)t.allPendingTasks--,t.status!==No&&(t.status=No,t.destination!==null&&B(t.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var p=n===void 0?new Error("The render was aborted by the server without a reason."):n;s.errorDigest=t.onError(p);{var b="The server did not finish this Suspense boundary: ";p&&typeof p.message=="string"?p=b+p.message:p=b+String(p);var S=Gr;Gr=l;try{ml(s,p)}finally{Gr=S}}s.parentFlushed&&t.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(j){return kl(j,t,n)}),s.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0){var A=t.onAllReady;A()}}}function Yn(l,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===Lo&&Yn(l,n)}else{var s=l.completedSegments;s.push(t)}}function zi(l,t,n){if(t===null){if(n.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=n}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Wn;var s=l.onShellReady;s()}}else if(t.pendingTasks--,!t.forceClientRender){if(t.pendingTasks===0)n.parentFlushed&&n.status===Lo&&Yn(t,n),t.parentFlushed&&l.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(mf,l),t.fallbackAbortableTasks.clear();else if(n.parentFlushed&&n.status===Lo){Yn(t,n);var u=t.completedSegments;u.length===1&&t.parentFlushed&&l.partialBoundaries.push(t)}}if(l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function gf(l,t){var n=t.blockedSegment;if(n.status===Za){hn(t.context);var s=null;s=Gr,Gr=t;try{Ot(l,t,t.node),Pt(n.chunks,l.responseState,n.lastPushedText,n.textEmbedded),t.abortSet.delete(t),n.status=Lo,zi(l,t.blockedBoundary,n)}catch(p){if(cl(),typeof p=="object"&&p!==null&&typeof p.then=="function"){var u=t.ping;p.then(u,u)}else t.abortSet.delete(t),n.status=Su,Fu(l,t.blockedBoundary,n,p)}finally{Gr=s}}}function El(l){if(l.status!==No){var t=fu(),n=Ja.current;Ja.current=Xa;var s;s=Ka.getCurrentStack,Ka.getCurrentStack=Fr;var u=Fi;qa(l.responseState);try{var p=l.pingedTasks,b;for(b=0;b<p.length;b++){var S=p[b];gf(l,S)}p.splice(0,b),l.destination!==null&&Cl(l,l.destination)}catch(A){Li(l,A),ji(l,A)}finally{qa(u),Ja.current=n,Ka.getCurrentStack=s,n===Xa&&hn(t)}}}function Bi(l,t,n){switch(n.parentFlushed=!0,n.status){case Za:{var s=n.id=l.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,ua(t,l.responseState,s)}case Lo:{n.status=pl;for(var u=!0,p=n.chunks,b=0,S=n.children,A=0;A<S.length;A++){for(var j=S[A];b<j.index;b++)E(t,p[b]);u=ns(l,t,j)}for(;b<p.length-1;b++)E(t,p[b]);return b<p.length&&(u=F(t,p[b])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ns(l,t,n){var s=n.boundary;if(s===null)return Bi(l,t,n);if(s.parentFlushed=!0,s.forceClientRender)return At(t,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),Bi(l,t,n),Bs(t,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=Ft(l.responseState);return ko(t,l.responseState,u),Bi(l,t,n),Eo(t,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),ko(t,l.responseState,s.id),Bi(l,t,n),Eo(t,l.responseState);da(t,l.responseState);var p=s.completedSegments;if(p.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var b=p[0];return ns(l,t,b),pa(t,l.responseState)}}function Mu(l,t,n){return Fc(t,l.responseState,n.id,n.errorDigest,n.errorMessage,n.errorComponentStack)}function os(l,t,n){return De(t,l.responseState,n.formatContext,n.id),ns(l,t,n),et(t,n.formatContext)}function Du(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];_u(l,t,n,p)}return s.length=0,Zl(t,l.responseState,n.id,n.rootSegmentID)}function vf(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];if(!_u(l,t,n,p))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function _u(l,t,n,s){if(s.status===pl)return!0;var u=s.id;if(u===-1){var p=s.id=n.rootSegmentID;if(p===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return os(l,t,s)}else return os(l,t,s),Cc(t,l.responseState,u)}function Cl(l,t){R();try{var n=l.completedRootSegment;n!==null&&l.pendingRootTasks===0&&(ns(l,t,n),l.completedRootSegment=null,Ns(t,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var p=s[u];Mu(l,t,p)}s.splice(0,u);var b=l.completedBoundaries;for(u=0;u<b.length;u++){var S=b[u];Du(l,t,S)}b.splice(0,u),M(t),R(t);var A=l.partialBoundaries;for(u=0;u<A.length;u++){var j=A[u];if(!vf(l,t,j)){l.destination=null,u++,A.splice(0,u);return}}A.splice(0,u);var X=l.completedBoundaries;for(u=0;u<X.length;u++){var K=X[u];Du(l,t,K)}X.splice(0,u)}finally{M(t),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."),B(t))}}function Lu(l){h(function(){return El(l)})}function yf(l,t){if(l.status===jo){l.status=No,W(t,l.fatalError);return}if(l.status!==No&&l.destination===null){l.destination=t;try{Cl(l,t)}catch(n){Li(l,n),ji(l,n)}}}function ju(l,t){try{var n=l.abortableTasks;n.forEach(function(s){return kl(s,l,t)}),n.clear(),l.destination!==null&&Cl(l,l.destination)}catch(s){Li(l,s),ji(l,s)}}function bf(l,t){return new Promise(function(n,s){var u,p,b=new Promise(function(le,Oe){p=le,u=Oe});function S(){var le=new ReadableStream({type:"bytes",pull:function(Oe){yf(j,Oe)},cancel:function(Oe){ju(j)}},{highWaterMark:0});le.allReady=b,n(le)}function A(le){b.catch(function(){}),s(le)}var j=es(l,mo(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),Tr(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,p,S,A,u);if(t&&t.signal){var X=t.signal,K=function(){ju(j,X.reason),X.removeEventListener("abort",K)};X.addEventListener("abort",K)}Lu(j)})}zu.renderToReadableStream=bf,zu.version=r}()),zu}var gp;function iv(){if(gp)return Bo;gp=1;var e,r;return process.env.NODE_ENV==="production"?(e=tv(),r=rv()):(e=nv(),r=ov()),Bo.version=e.version,Bo.renderToString=e.renderToString,Bo.renderToStaticMarkup=e.renderToStaticMarkup,Bo.renderToNodeStream=e.renderToNodeStream,Bo.renderToStaticNodeStream=e.renderToStaticNodeStream,Bo.renderToReadableStream=r.renderToReadableStream,Bo}var av=iv(),Bu={exports:{}},Uu={exports:{}},Je={};/** @license React v16.13.1
|
|
105
|
+
`+s.stack}}var Ja=o.ReactCurrentDispatcher,Ka=o.ReactDebugCurrentFrame,Za=0,Lo=1,pl=2,Hn=3,ku=4,af=0,jo=1,No=2,sf=12800;function lf(l){return console.error(l),null}function Wn(){}function es(l,t,n,s,u,p,b,S,A){var j=[],X=new Set,K={destination:null,responseState:t,progressiveChunkSize:s===void 0?sf:s,status:af,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:X,pingedTasks:j,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?lf:u,onAllReady:p===void 0?Wn:p,onShellReady:b===void 0?Wn:b,onShellError:S===void 0?Wn:S,onFatalError:A===void 0?Wn:A},le=Di(K,0,null,n,!1,!1);le.parentFlushed=!0;var Oe=Vn(K,l,null,le,X,Ma,Da,Hc);return j.push(Oe),K}function Yr(l,t){var n=l.pingedTasks;n.push(t),n.length===1&&h(function(){return El(l)})}function hl(l,t){return{id:sn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:t,errorDigest:null}}function Vn(l,t,n,s,u,p,b,S){l.allPendingTasks++,n===null?l.pendingRootTasks++:n.pendingTasks++;var A={node:t,ping:function(){return Yr(l,A)},blockedBoundary:n,blockedSegment:s,abortSet:u,legacyContext:p,context:b,treeContext:S};return A.componentStack=null,u.add(A),A}function Di(l,t,n,s,u,p){return{status:Za,id:-1,index:t,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:n,lastPushedText:u,textEmbedded:p}}var Gr=null;function Fr(){return Gr===null||Gr.componentStack===null?"":_o(Gr.componentStack)}function Qr(l,t){l.componentStack={tag:0,parent:l.componentStack,type:t}}function ts(l,t){l.componentStack={tag:1,parent:l.componentStack,type:t}}function _i(l,t){l.componentStack={tag:2,parent:l.componentStack,type:t}}function mr(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Li=null;function ml(l,t){{var n;typeof t=="string"?n=t:t&&typeof t.message=="string"?n=t.message:n=String(t);var s=Li||Fr();Li=null,l.errorMessage=n,l.errorComponentStack=s}}function ji(l,t){var n=l.onError(t);if(n!=null&&typeof n!="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 n+'" instead');return n}function Ni(l,t){var n=l.onShellError;n(t);var s=l.onFatalError;s(t),l.destination!==null?(l.status=No,W(l.destination,t)):(l.status=jo,l.fatalError=t)}function Eu(l,t,n){Qr(t,"Suspense");var s=t.blockedBoundary,u=t.blockedSegment,p=n.fallback,b=n.children,S=new Set,A=hl(l,S),j=u.chunks.length,X=Di(l,j,A,u.formatContext,!1,!1);u.children.push(X),u.lastPushedText=!1;var K=Di(l,0,null,u.formatContext,!1,!1);K.parentFlushed=!0,t.blockedBoundary=A,t.blockedSegment=K;try{if($o(l,t,b),Pt(K.chunks,l.responseState,K.lastPushedText,K.textEmbedded),K.status=Lo,Yn(A,K),A.pendingTasks===0){mr(t);return}}catch(Oe){K.status=ku,A.forceClientRender=!0,A.errorDigest=ji(l,Oe),ml(A,Oe)}finally{t.blockedBoundary=s,t.blockedSegment=u}var le=Vn(l,p,s,X,S,t.legacyContext,t.context,t.treeContext);le.componentStack=t.componentStack,l.pingedTasks.push(le),mr(t)}function uf(l,t,n,s){Qr(t,n);var u=t.blockedSegment,p=Dn(u.chunks,n,s,l.responseState,u.formatContext);u.lastPushedText=!1;var b=u.formatContext;u.formatContext=zr(b,n,s),$o(l,t,p),u.formatContext=b,la(u.chunks,n),u.lastPushedText=!1,mr(t)}function Cu(l){return l.prototype&&l.prototype.isReactComponent}function $i(l,t,n,s,u){var p={};qc(t,p);var b=n(s,u);return Jc(n,s,b,u)}function gl(l,t,n,s,u){var p=n.render();n.props!==u&&(xl||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"),xl=!0);{var b=s.childContextTypes;if(b!=null){var S=t.legacyContext,A=rl(n,s,S,b);t.legacyContext=A,Ot(l,t,p),t.legacyContext=S;return}}Ot(l,t,p)}function Tu(l,t,n,s){_i(t,n);var u=dn(n,t.legacyContext),p=gu(n,s,u);Oi(p,n,s,u),gl(l,t,p,n,s),mr(t)}var vl={},zi={},yl={},bl={},xl=!1,Ru={},Pu=!1,wl=!1,Au=!1;function cf(l,t,n,s){var u;if(u=dn(n,t.legacyContext),ts(t,n),n.prototype&&typeof n.prototype.render=="function"){var p=rt(n)||"Unknown";vl[p]||(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.",p,p),vl[p]=!0)}var b=$i(l,t,n,s,u),S=Ya();if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){var A=rt(n)||"Unknown";zi[A]||(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.",A,A,A),zi[A]=!0)}if(typeof b=="object"&&b!==null&&typeof b.render=="function"&&b.$$typeof===void 0){{var j=rt(n)||"Unknown";zi[j]||(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.",j,j,j),zi[j]=!0)}Oi(b,n,s,u),gl(l,t,b,n,s)}else if(ff(n),S){var X=t.treeContext,K=1,le=0;t.treeContext=sl(X,K,le);try{Ot(l,t,b)}finally{t.treeContext=X}}else Ot(l,t,b);mr(t)}function ff(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 t=rt(l)||"Unknown";Ru[t]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",t),Ru[t]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var n=rt(l)||"Unknown";bl[n]||(a("%s: Function components do not support getDerivedStateFromProps.",n),bl[n]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=rt(l)||"Unknown";yl[s]||(a("%s: Function components do not support contextType.",s),yl[s]=!0)}}}function Iu(l,t){if(l&&l.defaultProps){var n=Ht({},t),s=l.defaultProps;for(var u in s)n[u]===void 0&&(n[u]=s[u]);return n}return t}function df(l,t,n,s,u){ts(t,n.render);var p=$i(l,t,n.render,s,u),b=Ya();if(b){var S=t.treeContext,A=1,j=0;t.treeContext=sl(S,A,j);try{Ot(l,t,p)}finally{t.treeContext=S}}else Ot(l,t,p);mr(t)}function Sl(l,t,n,s,u){var p=n.type,b=Iu(p,s);rs(l,t,p,b,u)}function pf(l,t,n,s){n._context===void 0?n!==n.Consumer&&(Au||(Au=!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?"))):n=n._context;var u=s.children;typeof u!="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 p=Fo(n),b=u(p);Ot(l,t,b)}function Gt(l,t,n,s){var u=n._context,p=s.value,b=s.children,S;S=t.context,t.context=nl(u,p),Ot(l,t,b),t.context=$c(u),S!==t.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function hf(l,t,n,s,u){Qr(t,"Lazy");var p=n._payload,b=n._init,S=b(p),A=Iu(S,s);rs(l,t,S,A,u),mr(t)}function rs(l,t,n,s,u){if(typeof n=="function")if(Cu(n)){Tu(l,t,n,s);return}else{cf(l,t,n,s);return}if(typeof n=="string"){uf(l,t,n,s);return}switch(n){case Lc:case _c:case Ca:case Ta:case Ea:{Ot(l,t,s.children);return}case Ws:{Qr(t,"SuspenseList"),Ot(l,t,s.children),mr(t);return}case nu:throw new Error("ReactDOMServer does not yet support scope components.");case Hs:{Eu(l,t,s);return}}if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Ao:{df(l,t,n,s,u);return}case Vs:{Sl(l,t,n,s,u);return}case vi:{Gt(l,t,n,s);return}case yi:{pf(l,t,n,s);return}case Ra:{hf(l,t,n,s);return}}var p="";throw(n===void 0||typeof n=="object"&&n!==null&&Object.keys(n).length===0)&&(p+=" 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: "+(n==null?n:typeof n)+"."+p))}function mf(l,t){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(Pu||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."),Pu=!0),l.entries===t&&(wl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),wl=!0)}function Ot(l,t,n){try{return gf(l,t,n)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Li=Li!==null?Li:Fr()),s}}function gf(l,t,n){if(t.node=n,typeof n=="object"&&n!==null){switch(n.$$typeof){case ru:{var s=n,u=s.type,p=s.props,b=s.ref;rs(l,t,u,p,b);return}case ka: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 Ra:{var S=n,A=S._payload,j=S._init,X;try{X=j(A)}catch(Xr){throw typeof Xr=="object"&&Xr!==null&&typeof Xr.then=="function"&&Qr(t,"Lazy"),Xr}Ot(l,t,X);return}}if(Tt(n)){Ou(l,t,n);return}var K=bi(n);if(K){mf(n,K);var le=K.call(n);if(le){var Oe=le.next();if(!Oe.done){var Ye=[];do Ye.push(Oe.value),Oe=le.next();while(!Oe.done);Ou(l,t,Ye);return}return}}var vt=Object.prototype.toString.call(n);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof n=="string"){var Gn=t.blockedSegment;Gn.lastPushedText=ht(t.blockedSegment.chunks,n,l.responseState,Gn.lastPushedText);return}if(typeof n=="number"){var Qn=t.blockedSegment;Qn.lastPushedText=ht(t.blockedSegment.chunks,""+n,l.responseState,Qn.lastPushedText);return}typeof n=="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,t,n){for(var s=n.length,u=0;u<s;u++){var p=t.treeContext;t.treeContext=sl(p,s,u);try{$o(l,t,n[u])}finally{t.treeContext=p}}}function Fu(l,t,n){var s=t.blockedSegment,u=s.chunks.length,p=Di(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(p),s.lastPushedText=!1;var b=Vn(l,t.node,t.blockedBoundary,p,t.abortSet,t.legacyContext,t.context,t.treeContext);t.componentStack!==null&&(b.componentStack=t.componentStack.parent);var S=b.ping;n.then(S,S)}function $o(l,t,n){var s=t.blockedSegment.formatContext,u=t.legacyContext,p=t.context,b=null;b=t.componentStack;try{return Ot(l,t,n)}catch(S){if(cl(),typeof S=="object"&&S!==null&&typeof S.then=="function"){Fu(l,t,S),t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b;return}else throw t.blockedSegment.formatContext=s,t.legacyContext=u,t.context=p,hn(p),t.componentStack=b,S}}function Mu(l,t,n,s){var u=ji(l,s);if(t===null?Ni(l,s):(t.pendingTasks--,t.forceClientRender||(t.forceClientRender=!0,t.errorDigest=u,ml(t,s),t.parentFlushed&&l.clientRenderedBoundaries.push(t))),l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function vf(l){var t=this,n=l.blockedBoundary,s=l.blockedSegment;s.status=Hn,Bi(t,n,s)}function kl(l,t,n){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Hn,s===null)t.allPendingTasks--,t.status!==No&&(t.status=No,t.destination!==null&&B(t.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var p=n===void 0?new Error("The render was aborted by the server without a reason."):n;s.errorDigest=t.onError(p);{var b="The server did not finish this Suspense boundary: ";p&&typeof p.message=="string"?p=b+p.message:p=b+String(p);var S=Gr;Gr=l;try{ml(s,p)}finally{Gr=S}}s.parentFlushed&&t.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(j){return kl(j,t,n)}),s.fallbackAbortableTasks.clear(),t.allPendingTasks--,t.allPendingTasks===0){var A=t.onAllReady;A()}}}function Yn(l,t){if(t.chunks.length===0&&t.children.length===1&&t.children[0].boundary===null){var n=t.children[0];n.id=t.id,n.parentFlushed=!0,n.status===Lo&&Yn(l,n)}else{var s=l.completedSegments;s.push(t)}}function Bi(l,t,n){if(t===null){if(n.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=n}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Wn;var s=l.onShellReady;s()}}else if(t.pendingTasks--,!t.forceClientRender){if(t.pendingTasks===0)n.parentFlushed&&n.status===Lo&&Yn(t,n),t.parentFlushed&&l.completedBoundaries.push(t),t.fallbackAbortableTasks.forEach(vf,l),t.fallbackAbortableTasks.clear();else if(n.parentFlushed&&n.status===Lo){Yn(t,n);var u=t.completedSegments;u.length===1&&t.parentFlushed&&l.partialBoundaries.push(t)}}if(l.allPendingTasks--,l.allPendingTasks===0){var p=l.onAllReady;p()}}function yf(l,t){var n=t.blockedSegment;if(n.status===Za){hn(t.context);var s=null;s=Gr,Gr=t;try{Ot(l,t,t.node),Pt(n.chunks,l.responseState,n.lastPushedText,n.textEmbedded),t.abortSet.delete(t),n.status=Lo,Bi(l,t.blockedBoundary,n)}catch(p){if(cl(),typeof p=="object"&&p!==null&&typeof p.then=="function"){var u=t.ping;p.then(u,u)}else t.abortSet.delete(t),n.status=ku,Mu(l,t.blockedBoundary,n,p)}finally{Gr=s}}}function El(l){if(l.status!==No){var t=du(),n=Ja.current;Ja.current=Xa;var s;s=Ka.getCurrentStack,Ka.getCurrentStack=Fr;var u=Mi;qa(l.responseState);try{var p=l.pingedTasks,b;for(b=0;b<p.length;b++){var S=p[b];yf(l,S)}p.splice(0,b),l.destination!==null&&Cl(l,l.destination)}catch(A){ji(l,A),Ni(l,A)}finally{qa(u),Ja.current=n,Ka.getCurrentStack=s,n===Xa&&hn(t)}}}function Ui(l,t,n){switch(n.parentFlushed=!0,n.status){case Za:{var s=n.id=l.nextSegmentId++;return n.lastPushedText=!1,n.textEmbedded=!1,ua(t,l.responseState,s)}case Lo:{n.status=pl;for(var u=!0,p=n.chunks,b=0,S=n.children,A=0;A<S.length;A++){for(var j=S[A];b<j.index;b++)E(t,p[b]);u=ns(l,t,j)}for(;b<p.length-1;b++)E(t,p[b]);return b<p.length&&(u=F(t,p[b])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ns(l,t,n){var s=n.boundary;if(s===null)return Ui(l,t,n);if(s.parentFlushed=!0,s.forceClientRender)return At(t,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),Ui(l,t,n),Bs(t,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=Ft(l.responseState);return ko(t,l.responseState,u),Ui(l,t,n),Eo(t,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),ko(t,l.responseState,s.id),Ui(l,t,n),Eo(t,l.responseState);da(t,l.responseState);var p=s.completedSegments;if(p.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var b=p[0];return ns(l,t,b),pa(t,l.responseState)}}function Du(l,t,n){return Dc(t,l.responseState,n.id,n.errorDigest,n.errorMessage,n.errorComponentStack)}function os(l,t,n){return De(t,l.responseState,n.formatContext,n.id),ns(l,t,n),et(t,n.formatContext)}function _u(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];Lu(l,t,n,p)}return s.length=0,eu(t,l.responseState,n.id,n.rootSegmentID)}function bf(l,t,n){for(var s=n.completedSegments,u=0;u<s.length;u++){var p=s[u];if(!Lu(l,t,n,p))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function Lu(l,t,n,s){if(s.status===pl)return!0;var u=s.id;if(u===-1){var p=s.id=n.rootSegmentID;if(p===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return os(l,t,s)}else return os(l,t,s),Rc(t,l.responseState,u)}function Cl(l,t){R();try{var n=l.completedRootSegment;n!==null&&l.pendingRootTasks===0&&(ns(l,t,n),l.completedRootSegment=null,Ns(t,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var p=s[u];Du(l,t,p)}s.splice(0,u);var b=l.completedBoundaries;for(u=0;u<b.length;u++){var S=b[u];_u(l,t,S)}b.splice(0,u),M(t),R(t);var A=l.partialBoundaries;for(u=0;u<A.length;u++){var j=A[u];if(!bf(l,t,j)){l.destination=null,u++,A.splice(0,u);return}}A.splice(0,u);var X=l.completedBoundaries;for(u=0;u<X.length;u++){var K=X[u];_u(l,t,K)}X.splice(0,u)}finally{M(t),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."),B(t))}}function ju(l){h(function(){return El(l)})}function xf(l,t){if(l.status===jo){l.status=No,W(t,l.fatalError);return}if(l.status!==No&&l.destination===null){l.destination=t;try{Cl(l,t)}catch(n){ji(l,n),Ni(l,n)}}}function Nu(l,t){try{var n=l.abortableTasks;n.forEach(function(s){return kl(s,l,t)}),n.clear(),l.destination!==null&&Cl(l,l.destination)}catch(s){ji(l,s),Ni(l,s)}}function wf(l,t){return new Promise(function(n,s){var u,p,b=new Promise(function(le,Oe){p=le,u=Oe});function S(){var le=new ReadableStream({type:"bytes",pull:function(Oe){xf(j,Oe)},cancel:function(Oe){Nu(j)}},{highWaterMark:0});le.allReady=b,n(le)}function A(le){b.catch(function(){}),s(le)}var j=es(l,mo(t?t.identifierPrefix:void 0,t?t.nonce:void 0,t?t.bootstrapScriptContent:void 0,t?t.bootstrapScripts:void 0,t?t.bootstrapModules:void 0),Tr(t?t.namespaceURI:void 0),t?t.progressiveChunkSize:void 0,t?t.onError:void 0,p,S,A,u);if(t&&t.signal){var X=t.signal,K=function(){Nu(j,X.reason),X.removeEventListener("abort",K)};X.addEventListener("abort",K)}ju(j)})}Bu.renderToReadableStream=wf,Bu.version=r}()),Bu}var gp;function av(){if(gp)return Bo;gp=1;var e,r;return process.env.NODE_ENV==="production"?(e=rv(),r=nv()):(e=ov(),r=iv()),Bo.version=e.version,Bo.renderToString=e.renderToString,Bo.renderToStaticMarkup=e.renderToStaticMarkup,Bo.renderToNodeStream=e.renderToNodeStream,Bo.renderToStaticNodeStream=e.renderToStaticNodeStream,Bo.renderToReadableStream=r.renderToReadableStream,Bo}var sv=av(),Uu={exports:{}},Hu={exports:{}},Je={};/** @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 vp;function
|
|
112
|
+
*/var vp;function lv(){if(vp)return Je;vp=1;var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,R=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function U(_){if(typeof _=="object"&&_!==null){var ie=_.$$typeof;switch(ie){case r:switch(_=_.type,_){case m:case x:case i:case d:case a:case E:return _;default:switch(_=_&&_.$$typeof,_){case v:case R:case B:case M:case h:return _;default:return ie}}case o:return ie}}}function q(_){return U(_)===x}return Je.AsyncMode=m,Je.ConcurrentMode=x,Je.ContextConsumer=v,Je.ContextProvider=h,Je.Element=r,Je.ForwardRef=R,Je.Fragment=i,Je.Lazy=B,Je.Memo=M,Je.Portal=o,Je.Profiler=d,Je.StrictMode=a,Je.Suspense=E,Je.isAsyncMode=function(_){return q(_)||U(_)===m},Je.isConcurrentMode=q,Je.isContextConsumer=function(_){return U(_)===v},Je.isContextProvider=function(_){return U(_)===h},Je.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===r},Je.isForwardRef=function(_){return U(_)===R},Je.isFragment=function(_){return U(_)===i},Je.isLazy=function(_){return U(_)===B},Je.isMemo=function(_){return U(_)===M},Je.isPortal=function(_){return U(_)===o},Je.isProfiler=function(_){return U(_)===d},Je.isStrictMode=function(_){return U(_)===a},Je.isSuspense=function(_){return U(_)===E},Je.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===i||_===x||_===d||_===a||_===E||_===F||typeof _=="object"&&_!==null&&(_.$$typeof===B||_.$$typeof===M||_.$$typeof===h||_.$$typeof===v||_.$$typeof===R||_.$$typeof===P||_.$$typeof===I||_.$$typeof===W||_.$$typeof===D)},Je.typeOf=U,Je}var Ke={};/** @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 yp;function
|
|
119
|
+
*/var yp;function uv(){return yp||(yp=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,d=e?Symbol.for("react.profiler"):60114,h=e?Symbol.for("react.provider"):60109,v=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,x=e?Symbol.for("react.concurrent_mode"):60111,R=e?Symbol.for("react.forward_ref"):60112,E=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,M=e?Symbol.for("react.memo"):60115,B=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,P=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function U(oe){return typeof oe=="string"||typeof oe=="function"||oe===i||oe===x||oe===d||oe===a||oe===E||oe===F||typeof oe=="object"&&oe!==null&&(oe.$$typeof===B||oe.$$typeof===M||oe.$$typeof===h||oe.$$typeof===v||oe.$$typeof===R||oe.$$typeof===P||oe.$$typeof===I||oe.$$typeof===W||oe.$$typeof===D)}function q(oe){if(typeof oe=="object"&&oe!==null){var Ue=oe.$$typeof;switch(Ue){case r:var nt=oe.type;switch(nt){case m:case x:case i:case d:case a:case E:return nt;default:var Lt=nt&&nt.$$typeof;switch(Lt){case v:case R:case B:case M:case h:return Lt;default:return Ue}}case o:return Ue}}}var _=m,ie=x,ce=v,ee=h,ae=r,Fe=R,Ne=i,_e=B,Ge=M,Qe=o,ke=d,Ce=a,je=E,Z=!1;function be(oe){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.")),Q(oe)||q(oe)===m}function Q(oe){return q(oe)===x}function J(oe){return q(oe)===v}function fe(oe){return q(oe)===h}function me(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===r}function pe(oe){return q(oe)===R}function ge(oe){return q(oe)===i}function se(oe){return q(oe)===B}function ue(oe){return q(oe)===M}function Te(oe){return q(oe)===o}function Ee(oe){return q(oe)===d}function Re(oe){return q(oe)===a}function $e(oe){return q(oe)===E}Ke.AsyncMode=_,Ke.ConcurrentMode=ie,Ke.ContextConsumer=ce,Ke.ContextProvider=ee,Ke.Element=ae,Ke.ForwardRef=Fe,Ke.Fragment=Ne,Ke.Lazy=_e,Ke.Memo=Ge,Ke.Portal=Qe,Ke.Profiler=ke,Ke.StrictMode=Ce,Ke.Suspense=je,Ke.isAsyncMode=be,Ke.isConcurrentMode=Q,Ke.isContextConsumer=J,Ke.isContextProvider=fe,Ke.isElement=me,Ke.isForwardRef=pe,Ke.isFragment=ge,Ke.isLazy=se,Ke.isMemo=ue,Ke.isPortal=Te,Ke.isProfiler=Ee,Ke.isStrictMode=Re,Ke.isSuspense=$e,Ke.isValidElementType=U,Ke.typeOf=q}()),Ke}var bp;function Wh(){return bp||(bp=1,process.env.NODE_ENV==="production"?Hu.exports=lv():Hu.exports=uv()),Hu.exports}/*
|
|
120
120
|
object-assign
|
|
121
121
|
(c) Sindre Sorhus
|
|
122
122
|
@license MIT
|
|
123
|
-
*/var
|
|
124
|
-
Valid keys: `+JSON.stringify(Object.keys(
|
|
125
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},wv=function(e,r){return vv(e)||yv(e,r)||bv(e,r)||xv()},Gh=Yh(function(e){function r(){return e.exports=r=Object.assign||function(o){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])}return o},r.apply(this,arguments)}e.exports=r}),Sv=function(e,r){if(e==null)return{};var o,i,a={},d=Object.keys(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||(a[o]=e[o]);return a},Qh=function(e,r){if(e==null)return{};var o,i,a=Sv(e,r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(a[o]=e[o])}return a},kv=V.createContext(null);function Xh(e){var r=e.children,o=r===void 0?"":r,i=Qh(e,["children"]);return typeof o!="string"&&(o=av.renderToString(o)),V.createElement("template",Gh({},i,{dangerouslySetInnerHTML:{__html:o}}))}function qh(e){var r=e.root,o=e.children;return uc.createPortal(o===void 0?null:o,r)}function Ev(e){var r=V.forwardRef(function(o,i){var a,d,h=o.mode,v=h===void 0?"open":h,m=o.delegatesFocus,x=m!==void 0&&m,R=o.styleSheets,E=R===void 0?[]:R,F=o.ssr,M=F!==void 0&&F,B=o.children,D=Qh(o,["mode","delegatesFocus","styleSheets","ssr","children"]),P=(d=V.useRef((a=i)&&a.current),V.useEffect(function(){a&&(a.current=d.current)},[a]),d),I=V.useState(null),W=wv(I,2),U=W[0],q=W[1],_="node_".concat(v).concat(x);return V.useLayoutEffect(function(){if(P.current)try{if(typeof i=="function"&&i(P.current),M){var ie=P.current.shadowRoot;return void q(ie)}var ce=P.current.attachShadow({mode:v,delegatesFocus:x});E.length>0&&(ce.adoptedStyleSheets=E),q(ce)}catch(ee){(function(ae){var Fe=ae.error,Ne=ae.styleSheets,_e=ae.root;switch(Fe.name){case"NotSupportedError":Ne.length>0&&(_e.adoptedStyleSheets=Ne);break;default:throw Fe}})({error:ee,styleSheets:E,root:U})}},[i,P,E]),V.createElement(V.Fragment,null,V.createElement(e.tag,Gh({key:_,ref:P},D),(U||M)&&V.createElement(kv.Provider,{value:U},M?V.createElement(Xh,{shadowroot:v,shadowrootmode:v},e.render({root:U,ssr:M,children:B})):V.createElement(qh,{root:U},e.render({root:U,ssr:M,children:B})))))});return r.propTypes={mode:Me.oneOf(["open","closed"]),delegatesFocus:Me.bool,styleSheets:Me.arrayOf(Me.instanceOf(globalThis.CSSStyleSheet)),ssr:Me.bool,children:Me.node},r}Xh.propTypes={children:Me.oneOfType([Me.string,Me.node])},qh.propTypes={root:Me.object.isRequired,children:Me.node};var Pf=new Map;function Cv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var d=gv(a,{separator:"-"}),h="".concat(r,"-").concat(d);return Pf.has(h)||Pf.set(h,Ev({tag:d,render:o})),Pf.get(h)}})}var $d=Cv();const Jh="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==";var As=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(){}},ta=typeof window>"u"||"Deno"in globalThis;function qt(){}function Tv(e,r){return typeof e=="function"?e(r):e}function Gf(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,r){return Math.max(e+(r||0)-Date.now(),0)}function cs(e,r){return typeof e=="function"?e(r):e}function Kr(e,r){return typeof e=="function"?e(r):e}function Pp(e,r){const{type:o="all",exact:i,fetchStatus:a,predicate:d,queryKey:h,stale:v}=e;if(h){if(i){if(r.queryHash!==zd(h,r.options))return!1}else if(!_l(r.queryKey,h))return!1}if(o!=="all"){const m=r.isActive();if(o==="active"&&!m||o==="inactive"&&m)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||a&&a!==r.state.fetchStatus||d&&!d(r))}function Ap(e,r){const{exact:o,status:i,predicate:a,mutationKey:d}=e;if(d){if(!r.options.mutationKey)return!1;if(o){if(ra(r.options.mutationKey)!==ra(d))return!1}else if(!_l(r.options.mutationKey,d))return!1}return!(i&&r.state.status!==i||a&&!a(r))}function zd(e,r){return((r==null?void 0:r.queryKeyHashFn)||ra)(e)}function ra(e){return JSON.stringify(e,(r,o)=>Xf(o)?Object.keys(o).sort().reduce((i,a)=>(i[a]=o[a],i),{}):o)}function _l(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(o=>_l(e[o],r[o])):!1}function Qf(e,r){if(e===r)return e;const o=Ip(e)&&Ip(r);if(o||Xf(e)&&Xf(r)){const i=o?e:Object.keys(e),a=i.length,d=o?r:Object.keys(r),h=d.length,v=o?[]:{};let m=0;for(let x=0;x<h;x++){const R=o?x:d[x];(!o&&i.includes(R)||o)&&e[R]===void 0&&r[R]===void 0?(v[R]=void 0,m++):(v[R]=Qf(e[R],r[R]),v[R]===e[R]&&e[R]!==void 0&&m++)}return a===h&&m===a?e:v}return r}function Zu(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const o in e)if(e[o]!==r[o])return!1;return!0}function Ip(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xf(e){if(!Op(e))return!1;const r=e.constructor;if(r===void 0)return!0;const o=r.prototype;return!(!Op(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Op(e){return Object.prototype.toString.call(e)==="[object Object]"}function Rv(e){return new Promise(r=>{setTimeout(r,e)})}function qf(e,r,o){if(typeof o.structuralSharing=="function")return o.structuralSharing(e,r);if(o.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Qf(e,r)}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. [${o.queryHash}]: ${i}`),i}return Qf(e,r)}return r}function Pv(e,r,o=0){const i=[...e,r];return o&&i.length>o?i.slice(1):i}function Av(e,r,o=0){const i=[r,...e];return o&&i.length>o?i.slice(0,-1):i}var ec=Symbol();function Zh(e,r){return process.env.NODE_ENV!=="production"&&e.queryFn===ec&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===ec?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function em(e,r){return typeof e=="function"?e(...r):!!e}var Gi,Vo,ms,Mh,Iv=(Mh=class extends As{constructor(){super();Ie(this,Gi);Ie(this,Vo);Ie(this,ms);he(this,ms,r=>{if(!ta&&window.addEventListener){const o=()=>r();return window.addEventListener("visibilitychange",o,!1),()=>{window.removeEventListener("visibilitychange",o)}}})}onSubscribe(){O(this,Vo)||this.setEventListener(O(this,ms))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Vo))==null||r.call(this),he(this,Vo,void 0))}setEventListener(r){var o;he(this,ms,r),(o=O(this,Vo))==null||o.call(this),he(this,Vo,r(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(r){O(this,Gi)!==r&&(he(this,Gi,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(o=>{o(r)})}isFocused(){var r;return typeof O(this,Gi)=="boolean"?O(this,Gi):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},Gi=new WeakMap,Vo=new WeakMap,ms=new WeakMap,Mh),Bd=new Iv,gs,Yo,vs,Dh,Ov=(Dh=class extends As{constructor(){super();Ie(this,gs,!0);Ie(this,Yo);Ie(this,vs);he(this,vs,r=>{if(!ta&&window.addEventListener){const o=()=>r(!0),i=()=>r(!1);return window.addEventListener("online",o,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",o),window.removeEventListener("offline",i)}}})}onSubscribe(){O(this,Yo)||this.setEventListener(O(this,vs))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Yo))==null||r.call(this),he(this,Yo,void 0))}setEventListener(r){var o;he(this,vs,r),(o=O(this,Yo))==null||o.call(this),he(this,Yo,r(this.setOnline.bind(this)))}setOnline(r){O(this,gs)!==r&&(he(this,gs,r),this.listeners.forEach(i=>{i(r)}))}isOnline(){return O(this,gs)}},gs=new WeakMap,Yo=new WeakMap,vs=new WeakMap,Dh),tc=new Ov;function Jf(){let e,r;const o=new Promise((a,d)=>{e=a,r=d});o.status="pending",o.catch(()=>{});function i(a){Object.assign(o,a),delete o.resolve,delete o.reject}return o.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},o.reject=a=>{i({status:"rejected",reason:a}),r(a)},o}function Fv(e){return Math.min(1e3*2**e,3e4)}function tm(e){return(e??"online")==="online"?tc.isOnline():!0}var rm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Af(e){return e instanceof rm}function nm(e){let r=!1,o=0,i=!1,a;const d=Jf(),h=D=>{var P;i||(F(new rm(D)),(P=e.abort)==null||P.call(e))},v=()=>{r=!0},m=()=>{r=!1},x=()=>Bd.isFocused()&&(e.networkMode==="always"||tc.isOnline())&&e.canRun(),R=()=>tm(e.networkMode)&&e.canRun(),E=D=>{var P;i||(i=!0,(P=e.onSuccess)==null||P.call(e,D),a==null||a(),d.resolve(D))},F=D=>{var P;i||(i=!0,(P=e.onError)==null||P.call(e,D),a==null||a(),d.reject(D))},M=()=>new Promise(D=>{var P;a=I=>{(i||x())&&D(I)},(P=e.onPause)==null||P.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),B=()=>{if(i)return;let D;const P=o===0?e.initialPromise:void 0;try{D=P??e.fn()}catch(I){D=Promise.reject(I)}Promise.resolve(D).then(E).catch(I=>{var ie;if(i)return;const W=e.retry??(ta?0:3),U=e.retryDelay??Fv,q=typeof U=="function"?U(o,I):U,_=W===!0||typeof W=="number"&&o<W||typeof W=="function"&&W(o,I);if(r||!_){F(I);return}o++,(ie=e.onFail)==null||ie.call(e,o,I),Rv(q).then(()=>x()?void 0:M()).then(()=>{r?F(I):B()})})};return{promise:d,cancel:h,continue:()=>(a==null||a(),d),cancelRetry:v,continueRetry:m,canStart:R,start:()=>(R()?B():M().then(B),d)}}var Mv=e=>setTimeout(e,0);function Dv(){let e=[],r=0,o=v=>{v()},i=v=>{v()},a=Mv;const d=v=>{r?e.push(v):a(()=>{o(v)})},h=()=>{const v=e;e=[],v.length&&a(()=>{i(()=>{v.forEach(m=>{o(m)})})})};return{batch:v=>{let m;r++;try{m=v()}finally{r--,r||h()}return m},batchCalls:v=>(...m)=>{d(()=>{v(...m)})},schedule:d,setNotifyFunction:v=>{o=v},setBatchNotifyFunction:v=>{i=v},setScheduler:v=>{a=v}}}var bt=Dv(),Qi,_h,om=(_h=class{constructor(){Ie(this,Qi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Gf(this.gcTime)&&he(this,Qi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ta?1/0:5*60*1e3))}clearGcTimeout(){O(this,Qi)&&(clearTimeout(O(this,Qi)),he(this,Qi,void 0))}},Qi=new WeakMap,_h),ys,bs,Mr,Xi,Dt,Bl,qi,qr,qn,Lh,_v=(Lh=class extends om{constructor(r){super();Ie(this,qr);Ie(this,ys);Ie(this,bs);Ie(this,Mr);Ie(this,Xi);Ie(this,Dt);Ie(this,Bl);Ie(this,qi);he(this,qi,!1),he(this,Bl,r.defaultOptions),this.setOptions(r.options),this.observers=[],he(this,Xi,r.client),he(this,Mr,O(this,Xi).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,he(this,ys,Lv(this.options)),this.state=r.state??O(this,ys),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=O(this,Dt))==null?void 0:r.promise}setOptions(r){this.options={...O(this,Bl),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,Mr).remove(this)}setData(r,o){const i=qf(this.state.data,r,this.options);return ze(this,qr,qn).call(this,{data:i,type:"success",dataUpdatedAt:o==null?void 0:o.updatedAt,manual:o==null?void 0:o.manual}),i}setState(r,o){ze(this,qr,qn).call(this,{type:"setState",state:r,setStateOptions:o})}cancel(r){var i,a;const o=(i=O(this,Dt))==null?void 0:i.promise;return(a=O(this,Dt))==null||a.cancel(r),o?o.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,ys))}isActive(){return this.observers.some(r=>Kr(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===ec||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!Kh(this.state.dataUpdatedAt,r)}onFocus(){var o;const r=this.observers.find(i=>i.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}onOnline(){var o;const r=this.observers.find(i=>i.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),O(this,Mr).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(o=>o!==r),this.observers.length||(O(this,Dt)&&(O(this,qi)?O(this,Dt).cancel({revert:!0}):O(this,Dt).cancelRetry()),this.scheduleGc()),O(this,Mr).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ze(this,qr,qn).call(this,{type:"invalidate"})}fetch(r,o){var m,x,R;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(o!=null&&o.cancelRefetch))this.cancel({silent:!0});else if(O(this,Dt))return O(this,Dt).continueRetry(),O(this,Dt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const E=this.observers.find(F=>F.options.queryFn);E&&this.setOptions(E.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=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(he(this,qi,!0),i.signal)})},d=()=>{const E=Zh(this.options,o),F={client:O(this,Xi),queryKey:this.queryKey,meta:this.meta};return a(F),he(this,qi,!1),this.options.persister?this.options.persister(E,F,this):E(F)},h={fetchOptions:o,options:this.options,queryKey:this.queryKey,client:O(this,Xi),state:this.state,fetchFn:d};a(h),(m=this.options.behavior)==null||m.onFetch(h,this),he(this,bs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((x=h.fetchOptions)==null?void 0:x.meta))&&ze(this,qr,qn).call(this,{type:"fetch",meta:(R=h.fetchOptions)==null?void 0:R.meta});const v=E=>{var F,M,B,D;Af(E)&&E.silent||ze(this,qr,qn).call(this,{type:"error",error:E}),Af(E)||((M=(F=O(this,Mr).config).onError)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,this.state.data,E,this)),this.scheduleGc()};return he(this,Dt,nm({initialPromise:o==null?void 0:o.initialPromise,fn:h.fetchFn,abort:i.abort.bind(i),onSuccess:E=>{var F,M,B,D;if(E===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}`),v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(E)}catch(P){v(P);return}(M=(F=O(this,Mr).config).onSuccess)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,E,this.state.error,this),this.scheduleGc()},onError:v,onFail:(E,F)=>{ze(this,qr,qn).call(this,{type:"failed",failureCount:E,error:F})},onPause:()=>{ze(this,qr,qn).call(this,{type:"pause"})},onContinue:()=>{ze(this,qr,qn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0})),O(this,Dt).start()}},ys=new WeakMap,bs=new WeakMap,Mr=new WeakMap,Xi=new WeakMap,Dt=new WeakMap,Bl=new WeakMap,qi=new WeakMap,qr=new WeakSet,qn=function(r){const o=i=>{switch(r.type){case"failed":return{...i,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...im(i.data,this.options),fetchMeta:r.meta??null};case"success":return{...i,data:r.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=r.error;return Af(a)&&a.revert&&O(this,bs)?{...O(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,...r.state}}};this.state=o(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),O(this,Mr).notify({query:this,type:"updated",action:r})})},Lh);function im(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tm(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Lv(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,o=r!==void 0,i=o?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:o?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var vn,jh,jv=(jh=class extends As{constructor(r={}){super();Ie(this,vn);this.config=r,he(this,vn,new Map)}build(r,o,i){const a=o.queryKey,d=o.queryHash??zd(a,o);let h=this.get(d);return h||(h=new _v({client:r,queryKey:a,queryHash:d,options:r.defaultQueryOptions(o),state:i,defaultOptions:r.getQueryDefaults(a)}),this.add(h)),h}add(r){O(this,vn).has(r.queryHash)||(O(this,vn).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const o=O(this,vn).get(r.queryHash);o&&(r.destroy(),o===r&&O(this,vn).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){bt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return O(this,vn).get(r)}getAll(){return[...O(this,vn).values()]}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Pp(o,i))}findAll(r={}){const o=this.getAll();return Object.keys(r).length>0?o.filter(i=>Pp(r,i)):o}notify(r){bt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},vn=new WeakMap,jh),yn,Qt,Ji,bn,Wo,Nh,Nv=(Nh=class extends om{constructor(r){super();Ie(this,bn);Ie(this,yn);Ie(this,Qt);Ie(this,Ji);this.mutationId=r.mutationId,he(this,Qt,r.mutationCache),he(this,yn,[]),this.state=r.state||am(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){O(this,yn).includes(r)||(O(this,yn).push(r),this.clearGcTimeout(),O(this,Qt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){he(this,yn,O(this,yn).filter(o=>o!==r)),this.scheduleGc(),O(this,Qt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){O(this,yn).length||(this.state.status==="pending"?this.scheduleGc():O(this,Qt).remove(this))}continue(){var r;return((r=O(this,Ji))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var d,h,v,m,x,R,E,F,M,B,D,P,I,W,U,q,_,ie,ce,ee;const o=()=>{ze(this,bn,Wo).call(this,{type:"continue"})};he(this,Ji,nm({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(ae,Fe)=>{ze(this,bn,Wo).call(this,{type:"failed",failureCount:ae,error:Fe})},onPause:()=>{ze(this,bn,Wo).call(this,{type:"pause"})},onContinue:o,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,Qt).canRun(this)}));const i=this.state.status==="pending",a=!O(this,Ji).canStart();try{if(i)o();else{ze(this,bn,Wo).call(this,{type:"pending",variables:r,isPaused:a}),await((h=(d=O(this,Qt).config).onMutate)==null?void 0:h.call(d,r,this));const Fe=await((m=(v=this.options).onMutate)==null?void 0:m.call(v,r));Fe!==this.state.context&&ze(this,bn,Wo).call(this,{type:"pending",context:Fe,variables:r,isPaused:a})}const ae=await O(this,Ji).start();return await((R=(x=O(this,Qt).config).onSuccess)==null?void 0:R.call(x,ae,r,this.state.context,this)),await((F=(E=this.options).onSuccess)==null?void 0:F.call(E,ae,r,this.state.context)),await((B=(M=O(this,Qt).config).onSettled)==null?void 0:B.call(M,ae,null,this.state.variables,this.state.context,this)),await((P=(D=this.options).onSettled)==null?void 0:P.call(D,ae,null,r,this.state.context)),ze(this,bn,Wo).call(this,{type:"success",data:ae}),ae}catch(ae){try{throw await((W=(I=O(this,Qt).config).onError)==null?void 0:W.call(I,ae,r,this.state.context,this)),await((q=(U=this.options).onError)==null?void 0:q.call(U,ae,r,this.state.context)),await((ie=(_=O(this,Qt).config).onSettled)==null?void 0:ie.call(_,void 0,ae,this.state.variables,this.state.context,this)),await((ee=(ce=this.options).onSettled)==null?void 0:ee.call(ce,void 0,ae,r,this.state.context)),ae}finally{ze(this,bn,Wo).call(this,{type:"error",error:ae})}}finally{O(this,Qt).runNext(this)}}},yn=new WeakMap,Qt=new WeakMap,Ji=new WeakMap,bn=new WeakSet,Wo=function(r){const o=i=>{switch(r.type){case"failed":return{...i,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...i,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:r.error,failureCount:i.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=o(this.state),bt.batch(()=>{O(this,yn).forEach(i=>{i.onMutationUpdate(r)}),O(this,Qt).notify({mutation:this,type:"updated",action:r})})},Nh);function am(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jn,Jr,Ul,$h,$v=($h=class extends As{constructor(r={}){super();Ie(this,Jn);Ie(this,Jr);Ie(this,Ul);this.config=r,he(this,Jn,new Set),he(this,Jr,new Map),he(this,Ul,0)}build(r,o,i){const a=new Nv({mutationCache:this,mutationId:++Nu(this,Ul)._,options:r.defaultMutationOptions(o),state:i});return this.add(a),a}add(r){O(this,Jn).add(r);const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);i?i.push(r):O(this,Jr).set(o,[r])}this.notify({type:"added",mutation:r})}remove(r){if(O(this,Jn).delete(r)){const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);if(i)if(i.length>1){const a=i.indexOf(r);a!==-1&&i.splice(a,1)}else i[0]===r&&O(this,Jr).delete(o)}}this.notify({type:"removed",mutation:r})}canRun(r){const o=Hu(r);if(typeof o=="string"){const i=O(this,Jr).get(o),a=i==null?void 0:i.find(d=>d.state.status==="pending");return!a||a===r}else return!0}runNext(r){var i;const o=Hu(r);if(typeof o=="string"){const a=(i=O(this,Jr).get(o))==null?void 0:i.find(d=>d!==r&&d.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{O(this,Jn).forEach(r=>{this.notify({type:"removed",mutation:r})}),O(this,Jn).clear(),O(this,Jr).clear()})}getAll(){return Array.from(O(this,Jn))}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Ap(o,i))}findAll(r={}){return this.getAll().filter(o=>Ap(r,o))}notify(r){bt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}resumePausedMutations(){const r=this.getAll().filter(o=>o.state.isPaused);return bt.batch(()=>Promise.all(r.map(o=>o.continue().catch(qt))))}},Jn=new WeakMap,Jr=new WeakMap,Ul=new WeakMap,$h);function Hu(e){var r;return(r=e.options.scope)==null?void 0:r.id}function Fp(e){return{onFetch:(r,o)=>{var R,E,F,M,B;const i=r.options,a=(F=(E=(R=r.fetchOptions)==null?void 0:R.meta)==null?void 0:E.fetchMore)==null?void 0:F.direction,d=((M=r.state.data)==null?void 0:M.pages)||[],h=((B=r.state.data)==null?void 0:B.pageParams)||[];let v={pages:[],pageParams:[]},m=0;const x=async()=>{let D=!1;const P=U=>{Object.defineProperty(U,"signal",{enumerable:!0,get:()=>(r.signal.aborted?D=!0:r.signal.addEventListener("abort",()=>{D=!0}),r.signal)})},I=Zh(r.options,r.fetchOptions),W=async(U,q,_)=>{if(D)return Promise.reject();if(q==null&&U.pages.length)return Promise.resolve(U);const ie={client:r.client,queryKey:r.queryKey,pageParam:q,direction:_?"backward":"forward",meta:r.options.meta};P(ie);const ce=await I(ie),{maxPages:ee}=r.options,ae=_?Av:Pv;return{pages:ae(U.pages,ce,ee),pageParams:ae(U.pageParams,q,ee)}};if(a&&d.length){const U=a==="backward",q=U?zv:Mp,_={pages:d,pageParams:h},ie=q(i,_);v=await W(_,ie,U)}else{const U=e??d.length;do{const q=m===0?h[0]??i.initialPageParam:Mp(i,v);if(m>0&&q==null)break;v=await W(v,q),m++}while(m<U)}return v};r.options.persister?r.fetchFn=()=>{var D,P;return(P=(D=r.options).persister)==null?void 0:P.call(D,x,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},o)}:r.fetchFn=x}}}function Mp(e,{pages:r,pageParams:o}){const i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,o[i],o):void 0}function zv(e,{pages:r,pageParams:o}){var i;return r.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,r[0],r,o[0],o):void 0}var dt,Go,Qo,xs,ws,Xo,Ss,ks,zh,Bv=(zh=class{constructor(e={}){Ie(this,dt);Ie(this,Go);Ie(this,Qo);Ie(this,xs);Ie(this,ws);Ie(this,Xo);Ie(this,Ss);Ie(this,ks);he(this,dt,e.queryCache||new jv),he(this,Go,e.mutationCache||new $v),he(this,Qo,e.defaultOptions||{}),he(this,xs,new Map),he(this,ws,new Map),he(this,Xo,0)}mount(){Nu(this,Xo)._++,O(this,Xo)===1&&(he(this,Ss,Bd.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onFocus())})),he(this,ks,tc.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onOnline())})))}unmount(){var e,r;Nu(this,Xo)._--,O(this,Xo)===0&&((e=O(this,Ss))==null||e.call(this),he(this,Ss,void 0),(r=O(this,ks))==null||r.call(this),he(this,ks,void 0))}isFetching(e){return O(this,dt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,Go).findAll({...e,status:"pending"}).length}getQueryData(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),o=O(this,dt).build(this,r),i=o.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&o.isStaleByTime(cs(r.staleTime,o))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(e){return O(this,dt).findAll(e).map(({queryKey:r,state:o})=>{const i=o.data;return[r,i]})}setQueryData(e,r,o){const i=this.defaultQueryOptions({queryKey:e}),a=O(this,dt).get(i.queryHash),d=a==null?void 0:a.state.data,h=Tv(r,d);if(h!==void 0)return O(this,dt).build(this,i).setData(h,{...o,manual:!0})}setQueriesData(e,r,o){return bt.batch(()=>O(this,dt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,o)]))}getQueryState(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state}removeQueries(e){const r=O(this,dt);bt.batch(()=>{r.findAll(e).forEach(o=>{r.remove(o)})})}resetQueries(e,r){const o=O(this,dt);return bt.batch(()=>(o.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const o={revert:!0,...r},i=bt.batch(()=>O(this,dt).findAll(e).map(a=>a.cancel(o)));return Promise.all(i).then(qt).catch(qt)}invalidateQueries(e,r={}){return bt.batch(()=>(O(this,dt).findAll(e).forEach(o=>{o.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"},r)))}refetchQueries(e,r={}){const o={...r,cancelRefetch:r.cancelRefetch??!0},i=bt.batch(()=>O(this,dt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let d=a.fetch(void 0,o);return o.throwOnError||(d=d.catch(qt)),a.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(i).then(qt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const o=O(this,dt).build(this,r);return o.isStaleByTime(cs(r.staleTime,o))?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=Fp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=Fp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return tc.isOnline()?O(this,Go).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,dt)}getMutationCache(){return O(this,Go)}getDefaultOptions(){return O(this,Qo)}setDefaultOptions(e){he(this,Qo,e)}setQueryDefaults(e,r){O(this,xs).set(ra(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...O(this,xs).values()],o={};return r.forEach(i=>{_l(e,i.queryKey)&&Object.assign(o,i.defaultOptions)}),o}setMutationDefaults(e,r){O(this,ws).set(ra(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...O(this,ws).values()],o={};return r.forEach(i=>{_l(e,i.mutationKey)&&Object.assign(o,i.defaultOptions)}),o}defaultQueryOptions(e){if(e._defaulted)return e;const r={...O(this,Qo).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=zd(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===ec&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,Qo).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,dt).clear(),O(this,Go).clear()}},dt=new WeakMap,Go=new WeakMap,Qo=new WeakMap,xs=new WeakMap,ws=new WeakMap,Xo=new WeakMap,Ss=new WeakMap,ks=new WeakMap,zh),lr,Ve,Hl,Xt,Ki,Es,qo,Jo,Wl,Cs,Ts,Zi,ea,Ko,Rs,Ze,Pl,Kf,Zf,ed,td,rd,nd,od,sm,Bh,Uv=(Bh=class extends As{constructor(r,o){super();Ie(this,Ze);Ie(this,lr);Ie(this,Ve);Ie(this,Hl);Ie(this,Xt);Ie(this,Ki);Ie(this,Es);Ie(this,qo);Ie(this,Jo);Ie(this,Wl);Ie(this,Cs);Ie(this,Ts);Ie(this,Zi);Ie(this,ea);Ie(this,Ko);Ie(this,Rs,new Set);this.options=o,he(this,lr,r),he(this,Jo,null),he(this,qo,Jf()),this.options.experimental_prefetchInRender||O(this,qo).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(o)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(O(this,Ve).addObserver(this),Dp(O(this,Ve),this.options)?ze(this,Ze,Pl).call(this):this.updateResult(),ze(this,Ze,td).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return id(O(this,Ve),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return id(O(this,Ve),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ze(this,Ze,rd).call(this),ze(this,Ze,nd).call(this),O(this,Ve).removeObserver(this)}setOptions(r){const o=this.options,i=O(this,Ve);if(this.options=O(this,lr).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Kr(this.options.enabled,O(this,Ve))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ze(this,Ze,od).call(this),O(this,Ve).setOptions(this.options),o._defaulted&&!Zu(this.options,o)&&O(this,lr).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,Ve),observer:this});const a=this.hasListeners();a&&_p(O(this,Ve),i,this.options,o)&&ze(this,Ze,Pl).call(this),this.updateResult(),a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||cs(this.options.staleTime,O(this,Ve))!==cs(o.staleTime,O(this,Ve)))&&ze(this,Ze,Kf).call(this);const d=ze(this,Ze,Zf).call(this);a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||d!==O(this,Ko))&&ze(this,Ze,ed).call(this,d)}getOptimisticResult(r){const o=O(this,lr).getQueryCache().build(O(this,lr),r),i=this.createResult(o,r);return Wv(this,i)&&(he(this,Xt,i),he(this,Es,this.options),he(this,Ki,O(this,Ve).state)),i}getCurrentResult(){return O(this,Xt)}trackResult(r,o){return new Proxy(r,{get:(i,a)=>(this.trackProp(a),o==null||o(a),Reflect.get(i,a))})}trackProp(r){O(this,Rs).add(r)}getCurrentQuery(){return O(this,Ve)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const o=O(this,lr).defaultQueryOptions(r),i=O(this,lr).getQueryCache().build(O(this,lr),o);return i.fetch().then(()=>this.createResult(i,o))}fetch(r){return ze(this,Ze,Pl).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,Xt)))}createResult(r,o){var ae;const i=O(this,Ve),a=this.options,d=O(this,Xt),h=O(this,Ki),v=O(this,Es),x=r!==i?r.state:O(this,Hl),{state:R}=r;let E={...R},F=!1,M;if(o._optimisticResults){const Fe=this.hasListeners(),Ne=!Fe&&Dp(r,o),_e=Fe&&_p(r,i,o,a);(Ne||_e)&&(E={...E,...im(R.data,r.options)}),o._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:B,errorUpdatedAt:D,status:P}=E;M=E.data;let I=!1;if(o.placeholderData!==void 0&&M===void 0&&P==="pending"){let Fe;d!=null&&d.isPlaceholderData&&o.placeholderData===(v==null?void 0:v.placeholderData)?(Fe=d.data,I=!0):Fe=typeof o.placeholderData=="function"?o.placeholderData((ae=O(this,Ts))==null?void 0:ae.state.data,O(this,Ts)):o.placeholderData,Fe!==void 0&&(P="success",M=qf(d==null?void 0:d.data,Fe,o),F=!0)}if(o.select&&M!==void 0&&!I)if(d&&M===(h==null?void 0:h.data)&&o.select===O(this,Wl))M=O(this,Cs);else try{he(this,Wl,o.select),M=o.select(M),M=qf(d==null?void 0:d.data,M,o),he(this,Cs,M),he(this,Jo,null)}catch(Fe){he(this,Jo,Fe)}O(this,Jo)&&(B=O(this,Jo),M=O(this,Cs),D=Date.now(),P="error");const W=E.fetchStatus==="fetching",U=P==="pending",q=P==="error",_=U&&W,ie=M!==void 0,ee={status:P,fetchStatus:E.fetchStatus,isPending:U,isSuccess:P==="success",isError:q,isInitialLoading:_,isLoading:_,data:M,dataUpdatedAt:E.dataUpdatedAt,error:B,errorUpdatedAt:D,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:E.dataUpdateCount>0||E.errorUpdateCount>0,isFetchedAfterMount:E.dataUpdateCount>x.dataUpdateCount||E.errorUpdateCount>x.errorUpdateCount,isFetching:W,isRefetching:W&&!U,isLoadingError:q&&!ie,isPaused:E.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:q&&ie,isStale:Ud(r,o),refetch:this.refetch,promise:O(this,qo)};if(this.options.experimental_prefetchInRender){const Fe=Ge=>{ee.status==="error"?Ge.reject(ee.error):ee.data!==void 0&&Ge.resolve(ee.data)},Ne=()=>{const Ge=he(this,qo,ee.promise=Jf());Fe(Ge)},_e=O(this,qo);switch(_e.status){case"pending":r.queryHash===i.queryHash&&Fe(_e);break;case"fulfilled":(ee.status==="error"||ee.data!==_e.value)&&Ne();break;case"rejected":(ee.status!=="error"||ee.error!==_e.reason)&&Ne();break}}return ee}updateResult(){const r=O(this,Xt),o=this.createResult(O(this,Ve),this.options);if(he(this,Ki,O(this,Ve).state),he(this,Es,this.options),O(this,Ki).data!==void 0&&he(this,Ts,O(this,Ve)),Zu(o,r))return;he(this,Xt,o);const i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,d=typeof a=="function"?a():a;if(d==="all"||!d&&!O(this,Rs).size)return!0;const h=new Set(d??O(this,Rs));return this.options.throwOnError&&h.add("error"),Object.keys(O(this,Xt)).some(v=>{const m=v;return O(this,Xt)[m]!==r[m]&&h.has(m)})};ze(this,Ze,sm).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ze(this,Ze,td).call(this)}},lr=new WeakMap,Ve=new WeakMap,Hl=new WeakMap,Xt=new WeakMap,Ki=new WeakMap,Es=new WeakMap,qo=new WeakMap,Jo=new WeakMap,Wl=new WeakMap,Cs=new WeakMap,Ts=new WeakMap,Zi=new WeakMap,ea=new WeakMap,Ko=new WeakMap,Rs=new WeakMap,Ze=new WeakSet,Pl=function(r){ze(this,Ze,od).call(this);let o=O(this,Ve).fetch(this.options,r);return r!=null&&r.throwOnError||(o=o.catch(qt)),o},Kf=function(){ze(this,Ze,rd).call(this);const r=cs(this.options.staleTime,O(this,Ve));if(ta||O(this,Xt).isStale||!Gf(r))return;const i=Kh(O(this,Xt).dataUpdatedAt,r)+1;he(this,Zi,setTimeout(()=>{O(this,Xt).isStale||this.updateResult()},i))},Zf=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,Ve)):this.options.refetchInterval)??!1},ed=function(r){ze(this,Ze,nd).call(this),he(this,Ko,r),!(ta||Kr(this.options.enabled,O(this,Ve))===!1||!Gf(O(this,Ko))||O(this,Ko)===0)&&he(this,ea,setInterval(()=>{(this.options.refetchIntervalInBackground||Bd.isFocused())&&ze(this,Ze,Pl).call(this)},O(this,Ko)))},td=function(){ze(this,Ze,Kf).call(this),ze(this,Ze,ed).call(this,ze(this,Ze,Zf).call(this))},rd=function(){O(this,Zi)&&(clearTimeout(O(this,Zi)),he(this,Zi,void 0))},nd=function(){O(this,ea)&&(clearInterval(O(this,ea)),he(this,ea,void 0))},od=function(){const r=O(this,lr).getQueryCache().build(O(this,lr),this.options);if(r===O(this,Ve))return;const o=O(this,Ve);he(this,Ve,r),he(this,Hl,r.state),this.hasListeners()&&(o==null||o.removeObserver(this),r.addObserver(this))},sm=function(r){bt.batch(()=>{r.listeners&&this.listeners.forEach(o=>{o(O(this,Xt))}),O(this,lr).getQueryCache().notify({query:O(this,Ve),type:"observerResultsUpdated"})})},Bh);function Hv(e,r){return Kr(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&r.retryOnMount===!1)}function Dp(e,r){return Hv(e,r)||e.state.data!==void 0&&id(e,r,r.refetchOnMount)}function id(e,r,o){if(Kr(r.enabled,e)!==!1){const i=typeof o=="function"?o(e):o;return i==="always"||i!==!1&&Ud(e,r)}return!1}function _p(e,r,o,i){return(e!==r||Kr(i.enabled,e)===!1)&&(!o.suspense||e.state.status!=="error")&&Ud(e,o)}function Ud(e,r){return Kr(r.enabled,e)!==!1&&e.isStaleByTime(cs(r.staleTime,e))}function Wv(e,r){return!Zu(e.getCurrentResult(),r)}var Zo,ei,ur,Kn,eo,Xu,ad,Uh,Vv=(Uh=class extends As{constructor(o,i){super();Ie(this,eo);Ie(this,Zo);Ie(this,ei);Ie(this,ur);Ie(this,Kn);he(this,Zo,o),this.setOptions(i),this.bindMethods(),ze(this,eo,Xu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(o){var a;const i=this.options;this.options=O(this,Zo).defaultMutationOptions(o),Zu(this.options,i)||O(this,Zo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:O(this,ur),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ra(i.mutationKey)!==ra(this.options.mutationKey)?this.reset():((a=O(this,ur))==null?void 0:a.state.status)==="pending"&&O(this,ur).setOptions(this.options)}onUnsubscribe(){var o;this.hasListeners()||(o=O(this,ur))==null||o.removeObserver(this)}onMutationUpdate(o){ze(this,eo,Xu).call(this),ze(this,eo,ad).call(this,o)}getCurrentResult(){return O(this,ei)}reset(){var o;(o=O(this,ur))==null||o.removeObserver(this),he(this,ur,void 0),ze(this,eo,Xu).call(this),ze(this,eo,ad).call(this)}mutate(o,i){var a;return he(this,Kn,i),(a=O(this,ur))==null||a.removeObserver(this),he(this,ur,O(this,Zo).getMutationCache().build(O(this,Zo),this.options)),O(this,ur).addObserver(this),O(this,ur).execute(o)}},Zo=new WeakMap,ei=new WeakMap,ur=new WeakMap,Kn=new WeakMap,eo=new WeakSet,Xu=function(){var i;const o=((i=O(this,ur))==null?void 0:i.state)??am();he(this,ei,{...o,isPending:o.status==="pending",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset})},ad=function(o){bt.batch(()=>{var i,a,d,h,v,m,x,R;if(O(this,Kn)&&this.hasListeners()){const E=O(this,ei).variables,F=O(this,ei).context;(o==null?void 0:o.type)==="success"?((a=(i=O(this,Kn)).onSuccess)==null||a.call(i,o.data,E,F),(h=(d=O(this,Kn)).onSettled)==null||h.call(d,o.data,null,E,F)):(o==null?void 0:o.type)==="error"&&((m=(v=O(this,Kn)).onError)==null||m.call(v,o.error,E,F),(R=(x=O(this,Kn)).onSettled)==null||R.call(x,void 0,o.error,E,F))}this.listeners.forEach(E=>{E(O(this,ei))})})},Uh),lm=de.createContext(void 0),um=e=>{const r=de.useContext(lm);if(e)return e;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},Yv=({client:e,children:r})=>(de.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),Q.jsx(lm.Provider,{value:e,children:r})),cm=de.createContext(!1),Gv=()=>de.useContext(cm);cm.Provider;function Qv(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var Xv=de.createContext(Qv()),qv=()=>de.useContext(Xv),Jv=(e,r)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(r.isReset()||(e.retryOnMount=!1))},Kv=e=>{de.useEffect(()=>{e.clearReset()},[e])},Zv=({result:e,errorResetBoundary:r,throwOnError:o,query:i,suspense:a})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||em(o,[e.error,i])),ey=e=>{const r=e.staleTime;e.suspense&&(e.staleTime=typeof r=="function"?(...o)=>Math.max(r(...o),1e3):Math.max(r??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},ty=(e,r)=>e.isLoading&&e.isFetching&&!r,ry=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,Lp=(e,r,o)=>r.fetchOptimistic(e).catch(()=>{o.clearReset()});function ny(e,r,o){var E,F,M,B,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=um(o),a=Gv(),d=qv(),h=i.defaultQueryOptions(e);(F=(E=i.getDefaultOptions().queries)==null?void 0:E._experimental_beforeQuery)==null||F.call(E,h),process.env.NODE_ENV!=="production"&&(h.queryFn||console.error(`[${h.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`)),h._optimisticResults=a?"isRestoring":"optimistic",ey(h),Jv(h,d),Kv(d);const v=!i.getQueryCache().get(h.queryHash),[m]=de.useState(()=>new r(i,h)),x=m.getOptimisticResult(h),R=!a&&e.subscribed!==!1;if(de.useSyncExternalStore(de.useCallback(P=>{const I=R?m.subscribe(bt.batchCalls(P)):qt;return m.updateResult(),I},[m,R]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),de.useEffect(()=>{m.setOptions(h)},[h,m]),ry(h,x))throw Lp(h,m,d);if(Zv({result:x,errorResetBoundary:d,throwOnError:h.throwOnError,query:i.getQueryCache().get(h.queryHash),suspense:h.suspense}))throw x.error;if((B=(M=i.getDefaultOptions().queries)==null?void 0:M._experimental_afterQuery)==null||B.call(M,h,x),h.experimental_prefetchInRender&&!ta&&ty(x,a)){const P=v?Lp(h,m,d):(D=i.getQueryCache().get(h.queryHash))==null?void 0:D.promise;P==null||P.catch(qt).finally(()=>{m.updateResult()})}return h.notifyOnChangeProps?x:m.trackResult(x)}function Hd(e,r){return ny(e,Uv,r)}function fm(e,r){const o=um(r),[i]=de.useState(()=>new Vv(o,e));de.useEffect(()=>{i.setOptions(e)},[i,e]);const a=de.useSyncExternalStore(de.useCallback(h=>i.subscribe(bt.batchCalls(h)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),d=de.useCallback((h,v)=>{i.mutate(h,v).catch(qt)},[i]);if(a.error&&em(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:d,mutateAsync:a.mutate}}const Wd=V.createContext(null);Wd.Provider;const Is=()=>V.useContext(Wd),dm=({children:e})=>{const[r]=V.useState(new Bv);return Q.jsx(Wd.Provider,{value:{queryClient:r},children:Q.jsx(Yv,{client:r,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},pm="https://marketplace.confidence.com/api",Vl=pm+"/confidence",jp=pm+"/dropbox/prod",oy=async e=>{const r={taskInstanceId:e},o=new Headers;return o.append("Content-Type","application/json"),await(await fetch(`${Vl}/playbook-task-complete`,{method:"POST",headers:o,body:JSON.stringify(r)})).json()},iy=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>oy(i)},e);return{completeTask:async i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...r}},ay=async e=>{const r={taskInstanceId:e},o=new Headers;return o.append("Content-Type","application/json"),await(await fetch(`${Vl}/playbook-task-start`,{method:"POST",headers:o,body:JSON.stringify(r)})).json()},sy=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>await ay(i)},e);return{startTask:i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...r}},hm=(e,r)=>{const{queryClient:o}=Is(),i=Hd({initialData:{},queryFn:()=>o.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=v=>{var m;return((m=i.data)==null?void 0:m[v.toString()])??!1},d=(v,m)=>{var x;o.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[v]:m!==void 0?m:!a(v)})),(x=r==null?void 0:r.onTaskExpanded)==null||x.call(r,v,a(v))},h=V.useMemo(()=>Object.values(i.data??{}).some(v=>v),[i.data]);return{isTaskExpanded:a,toggleTaskExpanded:d,isAtLeastOneTaskExpanded:h}},ly=(e,r)=>{const{queryClient:o}=Is(),{completeTask:i}=iy(),{startTask:a}=sy(),{toggleTaskExpanded:d}=hm(e);return{completeTask:async(m,x)=>{const{status:R}=await i(m.toString());R&&(d(m,!1),o.setQueryData(["playbook",+e],E=>{if(!E)return E;const F=E.tasks.map(M=>M.sequenceOrder===x+1&&r.quickComplete?{...M,workflowStatus:ut.IN_PROGRESS}:M.taskInstanceId===m?{...M,workflowStatus:R}:M);return{...E,tasks:F}}))},startTask:async m=>{const{status:x}=await a(m.toString());x&&(d(m,!0),o.setQueryData(["playbook",+e],R=>{if(!R)return R;const E=R.tasks.map(F=>F.taskInstanceId===m?{...F,workflowStatus:x}:F);return{...R,tasks:E}}))}}},uy=e=>{var a;const{queryClient:r}=Is(),o=Hd({queryFn:async()=>{const d=new Headers,h=await fetch(`${Vl}/playbook-details`,{method:"POST",cache:"no-store",headers:d,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!h.ok)throw new Error("Network response was not ok");const v=await h.json();if(v.error)throw new Error(v.error);return v},queryKey:["playbook",+e]},r),i=ly(e,{quickComplete:(a=o.data)==null?void 0:a.quickComplete});return{playbook:o.data,isLoading:o.isLoading,error:o.error,actions:i}},Il={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},cy={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},fy=e=>{const{taskStatus:r,canStart:o}=e;return{buttons:V.useMemo(()=>r===ut.OPEN&&o?[Il.START]:r===ut.IN_PROGRESS?[Il.PAUSE,Il.COMPLETE]:r===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},mm=async e=>{const r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${Vl}/playbook-initiate`,{method:"POST",headers:r,body:JSON.stringify(e)})).json()},Vd='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{.confidence-playbook *{--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}.confidence-playbook{display:unset!important;color:#1c232d!important}@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 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 components;@layer utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.top-3{top:calc(var(--spacing)*3)!important}.bottom-0{bottom:calc(var(--spacing)*0)!important}.z-2{z-index:2!important}.z-50{z-index:50!important}.z-\\[99999999999999\\]{z-index:2147483647!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-4{margin-inline:calc(var(--spacing)*4)!important}.-mt-\\[1px\\]{margin-top:-1px!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.mb-4{margin-bottom:calc(var(--spacing)*4)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}.size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}.h-\\[18px\\]{height:18px!important}.h-\\[22px\\]{height:22px!important}.h-\\[24px\\]{height:24px!important}.h-\\[30px\\]{height:30px!important}.h-\\[38px\\]{height:38px!important}.h-\\[40px\\]{height:40px!important}.h-full{height:100%!important}.min-h-16{min-height:calc(var(--spacing)*16)!important}.min-h-screen{min-height:100vh!important}.w-\\[27px\\]{width:27px!important}.w-\\[38px\\]{width:38px!important}.w-\\[400px\\]{width:400px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\\[106px\\]{min-width:106px!important}.min-w-\\[140px\\]{min-width:140px!important}.min-w-\\[160px\\]{min-width:160px!important}.min-w-\\[172px\\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.rotate-180{rotate:180deg!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-1{gap:calc(var(--spacing)*1)!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.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(.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(.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(.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(.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(.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(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.self-end{align-self:flex-end!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}.rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}.rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}.border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}.border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}.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}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-red-500{border-color:var(--color-red-500)!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}.bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}.bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}.bg-\\[\\#FFE600\\]{background-color:#ffe600!important}.bg-black\\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.object-contain{object-fit:contain!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\\[2px\\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.text-center{text-align:center!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}.leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}.leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\\[\\#0069D9\\]{color:#0069d9!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow{--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}.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}.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}.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}.shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){.shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.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}.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}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\\:bg-danger-500:hover{background-color:#dc3545!important}.hover\\:bg-dark:hover{background-color:#1c232d!important}.hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\\:bg-gray-100:hover{background-color:#ebedef!important}.hover\\:bg-gray-400:hover{background-color:#757e8c!important}.hover\\:bg-gray-500:hover{background-color:#3a475b!important}.hover\\:bg-gray-800:hover{background-color:#232b37!important}.hover\\:bg-gray-900:hover{background-color:#1c232d!important}.hover\\:bg-info-500:hover{background-color:#17a2b8!important}.hover\\:bg-orange-500:hover{background-color:#ff7800!important}.hover\\:bg-primary-800:hover{background-color:#0054af!important}.hover\\:bg-purple-500:hover{background-color:#a855f7!important}.hover\\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\\:bg-steel-500:hover{background-color:#556987!important}.hover\\:bg-success-500:hover{background-color:#28a745!important}.hover\\:bg-warning-500:hover{background-color:#ffc107!important}.hover\\:bg-yellow:hover{background-color:#ffe600!important}.hover\\:text-black:hover{color:#000!important}.hover\\:text-danger-800:hover{color:#aa1927!important}.hover\\:text-dark:hover{color:#1c232d!important}.hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\\:text-gray-400:hover{color:#757e8c!important}.hover\\:text-gray-700:hover{color:#2c3544!important}.hover\\:text-gray-800:hover{color:#232b37!important}.hover\\:text-gray-900:hover{color:#1c232d!important}.hover\\:text-info-800:hover{color:#026777!important}.hover\\:text-orange-800:hover{color:#c75d00!important}.hover\\:text-primary-800:hover{color:#0054af!important}.hover\\:text-purple-800:hover{color:#6f33a7!important}.hover\\:text-secondary-800:hover{color:#444a50!important}.hover\\:text-steel-800:hover{color:#333f51!important}.hover\\:text-success-800:hover{color:#106c25!important}.hover\\:text-warning-800:hover{color:#b87708!important}.hover\\:text-white:hover{color:#fff!important}.hover\\:text-yellow:hover{color:#ffe600!important}}.focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}.focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}.active\\:bg-gray-50:active{background-color:#f5f6f7!important}.active\\:bg-gray-800:active{background-color:#232b37!important}.active\\:text-black:active{color:#000!important}.active\\:text-white:active{color:#fff!important}.disabled\\:pointer-events-none:disabled{pointer-events:none!important}.disabled\\:opacity-15:disabled{opacity:.15!important}.data-closed\\:opacity-0[data-closed]{opacity:0!important}.data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}.data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\\:min-w-fit{min-width:fit-content!important}}}.lexical-view-mode{word-break:break-word!important;color:#1c232d!important;width:100%!important}.lexical-view-mode ul{list-style:revert!important}.editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}.lexical-view-mode .Collapsible__container{width:fit-content!important}.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}.lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}.lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}.lexical-view-mode .Collapsible__title::marker{display:none!important}.lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}.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}.lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}.lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}.lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}.lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}.lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}.lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}.lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}.lexical-view-mode .ltr{text-align:left}.lexical-view-mode .rtl{text-align:right}.lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}.lexical-view-mode .editor{position:relative;background:#fff!important}.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}.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}.lexical-view-mode .editor-text-bold,.lexical-view-mode strong{font-weight:700!important}.lexical-view-mode .editor-text-italic{font-style:italic}.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}.lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .editor-code,.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}.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}.lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}.lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}.lexical-view-mode .editor-code:after,.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}.lexical-view-mode .editor-tokenComment{color:#708090}.lexical-view-mode .editor-tokenPunctuation{color:#999}.lexical-view-mode .editor-tokenProperty{color:#905}.lexical-view-mode .editor-tokenSelector{color:#690}.lexical-view-mode .editor-tokenOperator{color:#9a6e3a}.lexical-view-mode .editor-tokenAttr{color:#07a}.lexical-view-mode .editor-tokenVariable{color:#e90}.lexical-view-mode .editor-tokenFunction{color:#dd4a68}.lexical-view-mode .editor-paragraph,.lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}.lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}.lexical-view-mode .editor-heading-h1,.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}.lexical-view-mode .editor-heading-h2:first-child,.lexical-view-mode .editor-heading-h1:first-child,.lexical-view-mode h2:first-child,.lexical-view-mode h1:first-child{margin-top:0}.lexical-view-mode .editor-heading-h2,.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}.lexical-view-mode .editor-list-ol,.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}.lexical-view-mode li ol{margin:0 0 0 20px!important}.lexical-view-mode .editor-list-ol2,.lexical-view-mode .editor-list-ol3,.lexical-view-mode .editor-list-ol4,.lexical-view-mode .editor-list-ol5,.lexical-view-mode .editor-list-ol6,.lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}.lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol4{list-style-type:decimal}.lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol7{list-style-type:decimal}.lexical-view-mode .editor-list-ul,.lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}.lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}.lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}.lexical-view-mode .editor-nested-list-item{list-style-type:none}.lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}.lexical-view-mode a>code{color:inherit}.lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}.lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}.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}.lexical-view-mode img:hover,.lexical-view-mode img:focus{outline:3px solid #007bff4d}.lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}.lexical-view-mode .ql-align-left{text-align:left!important}.lexical-view-mode .ql-align-right{text-align:right!important}.lexical-view-mode .ql-align-center{text-align:center!important}.lexical-view-mode .ql-align-justify{text-align:justify!important}.lexical-view-mode .ql-size-small{font-size:.75em!important}.lexical-view-mode p>a,.lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode p>a:hover,.lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .ql-size-large{font-size:1.25rem!important}.lexical-view-mode .ql-indent-1{margin-left:20px!important}.lexical-view-mode .ql-indent-2{margin-left:40px!important}.lexical-view-mode .ql-indent-3{margin-left:60px!important}.lexical-view-mode .ql-indent-4{margin-left:80px!important}.lexical-view-mode .ql-indent-5{margin-left:100px!important}.lexical-view-mode .ql-indent-6{margin-left:120px!important}.lexical-view-mode .ql-indent-7{margin-left:140px!important}.lexical-view-mode .ql-indent-8{margin-left:160px!important}.lexical-view-mode ol li.ql-indent-1,.lexical-view-mode ol li.ql-indent-2,.lexical-view-mode ol li.ql-indent-3,.lexical-view-mode ol li.ql-indent-4,.lexical-view-mode ol li.ql-indent-5,.lexical-view-mode ol li.ql-indent-6,.lexical-view-mode ol li.ql-indent-7,.lexical-view-mode ol li.ql-indent-8,.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-6,.lexical-view-mode ul li.ql-indent-7,.lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}.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}.lexical-view-mode ol li.ql-indent-1::marker{display:none}.lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-2::marker{display:none}.lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}.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}.lexical-view-mode ol li.ql-indent-3::marker{display:none}.lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}.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}.lexical-view-mode ol li.ql-indent-4::marker{display:none}.lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-5::marker{display:none}.lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}.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}.lexical-view-mode ol li.ql-indent-6::marker{display:none}.lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}.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}.lexical-view-mode ol li.ql-indent-7::marker{display:none}.lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-8::marker{display:none}.lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-6{list-style-type:disc}.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-7{list-style-type:circle}.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-8{list-style-type:square}@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}',Yd="-",dy=e=>{const r=hy(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:h=>{const v=h.split(Yd);return v[0]===""&&v.length!==1&&v.shift(),gm(v,r)||py(h)},getConflictingClassGroupIds:(h,v)=>{const m=o[h]||[];return v&&i[h]?[...m,...i[h]]:m}}},gm=(e,r)=>{var h;if(e.length===0)return r.classGroupId;const o=e[0],i=r.nextPart.get(o),a=i?gm(e.slice(1),i):void 0;if(a)return a;if(r.validators.length===0)return;const d=e.join(Yd);return(h=r.validators.find(({validator:v})=>v(d)))==null?void 0:h.classGroupId},Np=/^\[(.+)\]$/,py=e=>{if(Np.test(e)){const r=Np.exec(e)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},hy=e=>{const{theme:r,classGroups:o}=e,i={nextPart:new Map,validators:[]};for(const a in o)sd(o[a],i,a,r);return i},sd=(e,r,o,i)=>{e.forEach(a=>{if(typeof a=="string"){const d=a===""?r:$p(r,a);d.classGroupId=o;return}if(typeof a=="function"){if(my(a)){sd(a(i),r,o,i);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([d,h])=>{sd(h,$p(r,d),o,i)})})},$p=(e,r)=>{let o=e;return r.split(Yd).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},my=e=>e.isThemeGetter,gy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,i=new Map;const a=(d,h)=>{o.set(d,h),r++,r>e&&(r=0,i=o,o=new Map)};return{get(d){let h=o.get(d);if(h!==void 0)return h;if((h=i.get(d))!==void 0)return a(d,h),h},set(d,h){o.has(d)?o.set(d,h):a(d,h)}}},ld="!",ud=":",vy=ud.length,yy=e=>{const{prefix:r,experimentalParseClassName:o}=e;let i=a=>{const d=[];let h=0,v=0,m=0,x;for(let B=0;B<a.length;B++){let D=a[B];if(h===0&&v===0){if(D===ud){d.push(a.slice(m,B)),m=B+vy;continue}if(D==="/"){x=B;continue}}D==="["?h++:D==="]"?h--:D==="("?v++:D===")"&&v--}const R=d.length===0?a:a.substring(m),E=by(R),F=E!==R,M=x&&x>m?x-m:void 0;return{modifiers:d,hasImportantModifier:F,baseClassName:E,maybePostfixModifierPosition:M}};if(r){const a=r+ud,d=i;i=h=>h.startsWith(a)?d(h.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:h,maybePostfixModifierPosition:void 0}}if(o){const a=i;i=d=>o({className:d,parseClassName:a})}return i},by=e=>e.endsWith(ld)?e.substring(0,e.length-1):e.startsWith(ld)?e.substring(1):e,xy=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let d=[];return i.forEach(h=>{h[0]==="["||r[h]?(a.push(...d.sort(),h),d=[]):d.push(h)}),a.push(...d.sort()),a}},wy=e=>({cache:gy(e.cacheSize),parseClassName:yy(e),sortModifiers:xy(e),...dy(e)}),Sy=/\s+/,ky=(e,r)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:d}=r,h=[],v=e.trim().split(Sy);let m="";for(let x=v.length-1;x>=0;x-=1){const R=v[x],{isExternal:E,modifiers:F,hasImportantModifier:M,baseClassName:B,maybePostfixModifierPosition:D}=o(R);if(E){m=R+(m.length>0?" "+m:m);continue}let P=!!D,I=i(P?B.substring(0,D):B);if(!I){if(!P){m=R+(m.length>0?" "+m:m);continue}if(I=i(B),!I){m=R+(m.length>0?" "+m:m);continue}P=!1}const W=d(F).join(":"),U=M?W+ld:W,q=U+I;if(h.includes(q))continue;h.push(q);const _=a(I,P);for(let ie=0;ie<_.length;++ie){const ce=_[ie];h.push(U+ce)}m=R+(m.length>0?" "+m:m)}return m};function Ey(){let e=0,r,o,i="";for(;e<arguments.length;)(r=arguments[e++])&&(o=vm(r))&&(i&&(i+=" "),i+=o);return i}const vm=e=>{if(typeof e=="string")return e;let r,o="";for(let i=0;i<e.length;i++)e[i]&&(r=vm(e[i]))&&(o&&(o+=" "),o+=r);return o};function Cy(e,...r){let o,i,a,d=h;function h(m){const x=r.reduce((R,E)=>E(R),e());return o=wy(x),i=o.cache.get,a=o.cache.set,d=v,v(m)}function v(m){const x=i(m);if(x)return x;const R=ky(m,o);return a(m,R),R}return function(){return d(Ey.apply(null,arguments))}}const yt=e=>{const r=o=>o[e]||[];return r.isThemeGetter=!0,r},ym=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ty=/^\d+\/\d+$/,Ry=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Py=/\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$/,Ay=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Iy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Oy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,is=e=>Ty.test(e),Be=e=>!!e&&!Number.isNaN(Number(e)),Uo=e=>!!e&&Number.isInteger(Number(e)),If=e=>e.endsWith("%")&&Be(e.slice(0,-1)),Xn=e=>Ry.test(e),Fy=()=>!0,My=e=>Py.test(e)&&!Ay.test(e),xm=()=>!1,Dy=e=>Iy.test(e),_y=e=>Oy.test(e),Ly=e=>!ve(e)&&!ye(e),jy=e=>Os(e,km,xm),ve=e=>ym.test(e),Wi=e=>Os(e,Em,My),Of=e=>Os(e,Uy,Be),zp=e=>Os(e,wm,xm),Ny=e=>Os(e,Sm,_y),Wu=e=>Os(e,Cm,Dy),ye=e=>bm.test(e),Tl=e=>Fs(e,Em),$y=e=>Fs(e,Hy),Bp=e=>Fs(e,wm),zy=e=>Fs(e,km),By=e=>Fs(e,Sm),Vu=e=>Fs(e,Cm,!0),Os=(e,r,o)=>{const i=ym.exec(e);return i?i[1]?r(i[1]):o(i[2]):!1},Fs=(e,r,o=!1)=>{const i=bm.exec(e);return i?i[1]?r(i[1]):o:!1},wm=e=>e==="position"||e==="percentage",Sm=e=>e==="image"||e==="url",km=e=>e==="length"||e==="size"||e==="bg-size",Em=e=>e==="length",Uy=e=>e==="number",Hy=e=>e==="family-name",Cm=e=>e==="shadow",Wy=()=>{const e=yt("color"),r=yt("font"),o=yt("text"),i=yt("font-weight"),a=yt("tracking"),d=yt("leading"),h=yt("breakpoint"),v=yt("container"),m=yt("spacing"),x=yt("radius"),R=yt("shadow"),E=yt("inset-shadow"),F=yt("text-shadow"),M=yt("drop-shadow"),B=yt("blur"),D=yt("perspective"),P=yt("aspect"),I=yt("ease"),W=yt("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...q(),ye,ve],ie=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto","contain","none"],ee=()=>[ye,ve,m],ae=()=>[is,"full","auto",...ee()],Fe=()=>[Uo,"none","subgrid",ye,ve],Ne=()=>["auto",{span:["full",Uo,ye,ve]},Uo,ye,ve],_e=()=>[Uo,"auto",ye,ve],Ge=()=>["auto","min","max","fr",ye,ve],Qe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ke=()=>["start","end","center","stretch","center-safe","end-safe"],Ce=()=>["auto",...ee()],je=()=>[is,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ee()],Z=()=>[e,ye,ve],be=()=>[...q(),Bp,zp,{position:[ye,ve]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",zy,jy,{size:[ye,ve]}],fe=()=>[If,Tl,Wi],me=()=>["","none","full",x,ye,ve],pe=()=>["",Be,Tl,Wi],ge=()=>["solid","dashed","dotted","double"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[Be,If,Bp,zp],Te=()=>["","none",B,ye,ve],Ee=()=>["none",Be,ye,ve],Re=()=>["none",Be,ye,ve],$e=()=>[Be,ye,ve],oe=()=>[is,"full",...ee()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[Fy],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[Ly],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",Be],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",is,ve,ye,P]}],container:["container"],columns:[{columns:[Be,ve,ye,v]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"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:ie()}],"overflow-x":[{"overflow-x":ie()}],"overflow-y":[{"overflow-y":ie()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{start:ae()}],end:[{end:ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[Uo,"auto",ye,ve]}],basis:[{basis:[is,"full","auto",v,...ee()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Be,is,"auto","initial","none",ve]}],grow:[{grow:["",Be,ye,ve]}],shrink:[{shrink:["",Be,ye,ve]}],order:[{order:[Uo,"first","last","none",ye,ve]}],"grid-cols":[{"grid-cols":Fe()}],"col-start-end":[{col:Ne()}],"col-start":[{"col-start":_e()}],"col-end":[{"col-end":_e()}],"grid-rows":[{"grid-rows":Fe()}],"row-start-end":[{row:Ne()}],"row-start":[{"row-start":_e()}],"row-end":[{"row-end":_e()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ge()}],"auto-rows":[{"auto-rows":Ge()}],gap:[{gap:ee()}],"gap-x":[{"gap-x":ee()}],"gap-y":[{"gap-y":ee()}],"justify-content":[{justify:[...Qe(),"normal"]}],"justify-items":[{"justify-items":[...ke(),"normal"]}],"justify-self":[{"justify-self":["auto",...ke()]}],"align-content":[{content:["normal",...Qe()]}],"align-items":[{items:[...ke(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ke(),{baseline:["","last"]}]}],"place-content":[{"place-content":Qe()}],"place-items":[{"place-items":[...ke(),"baseline"]}],"place-self":[{"place-self":["auto",...ke()]}],p:[{p:ee()}],px:[{px:ee()}],py:[{py:ee()}],ps:[{ps:ee()}],pe:[{pe:ee()}],pt:[{pt:ee()}],pr:[{pr:ee()}],pb:[{pb:ee()}],pl:[{pl:ee()}],m:[{m:Ce()}],mx:[{mx:Ce()}],my:[{my:Ce()}],ms:[{ms:Ce()}],me:[{me:Ce()}],mt:[{mt:Ce()}],mr:[{mr:Ce()}],mb:[{mb:Ce()}],ml:[{ml:Ce()}],"space-x":[{"space-x":ee()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ee()}],"space-y-reverse":["space-y-reverse"],size:[{size:je()}],w:[{w:[v,"screen",...je()]}],"min-w":[{"min-w":[v,"screen","none",...je()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[h]},...je()]}],h:[{h:["screen",...je()]}],"min-h":[{"min-h":["screen","none",...je()]}],"max-h":[{"max-h":["screen",...je()]}],"font-size":[{text:["base",o,Tl,Wi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ye,Of]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",If,ve]}],"font-family":[{font:[$y,ve,r]}],"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,ye,ve]}],"line-clamp":[{"line-clamp":[Be,"none",ye,Of]}],leading:[{leading:[d,...ee()]}],"list-image":[{"list-image":["none",ye,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,ve]}],"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:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[Be,"from-font","auto",ye,Wi]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[Be,"auto",ye,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,ve]}],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",ye,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Uo,ye,ve],radial:["",ye,ve],conic:[Uo,ye,ve]},By,Ny]}],"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:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"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:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Be,ye,ve]}],"outline-w":[{outline:["",Be,Tl,Wi]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",R,Vu,Wu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",E,Vu,Wu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[Be,Wi]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,Vu,Wu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[Be,ye,ve]}],"mix-blend":[{"mix-blend":[...se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":se()}],"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":[Be]}],"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":[ye,ve]}],"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":q()}],"mask-image-conic-pos":[{"mask-conic":[Be]}],"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:be()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,ve]}],filter:[{filter:["","none",ye,ve]}],blur:[{blur:Te()}],brightness:[{brightness:[Be,ye,ve]}],contrast:[{contrast:[Be,ye,ve]}],"drop-shadow":[{"drop-shadow":["","none",M,Vu,Wu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",Be,ye,ve]}],"hue-rotate":[{"hue-rotate":[Be,ye,ve]}],invert:[{invert:["",Be,ye,ve]}],saturate:[{saturate:[Be,ye,ve]}],sepia:[{sepia:["",Be,ye,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,ve]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Be,ye,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Be,ye,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Be,ye,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Be,ye,ve]}],"backdrop-invert":[{"backdrop-invert":["",Be,ye,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Be,ye,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Be,ye,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Be,ye,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ee()}],"border-spacing-x":[{"border-spacing-x":ee()}],"border-spacing-y":[{"border-spacing-y":ee()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Be,"initial",ye,ve]}],ease:[{ease:["linear","initial",I,ye,ve]}],delay:[{delay:[Be,ye,ve]}],animate:[{animate:["none",W,ye,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,ye,ve]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:Ee()}],"rotate-x":[{"rotate-x":Ee()}],"rotate-y":[{"rotate-y":Ee()}],"rotate-z":[{"rotate-z":Ee()}],scale:[{scale:Re()}],"scale-x":[{"scale-x":Re()}],"scale-y":[{"scale-y":Re()}],"scale-z":[{"scale-z":Re()}],"scale-3d":["scale-3d"],skew:[{skew:$e()}],"skew-x":[{"skew-x":$e()}],"skew-y":[{"skew-y":$e()}],transform:[{transform:[ye,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"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",ye,ve]}],"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":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"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",ye,ve]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[Be,Tl,Wi,Of]}],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=Cy(Wy);function Tm(e){var r,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=Tm(e[r]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Ll(){for(var e,r,o=0,i="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=Tm(e))&&(i&&(i+=" "),i+=r);return i}function gt(...e){return fs(Ll(e))}const Vy="whitespace-nowrap font-normal flex items-center justify-center",Yy="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",Gy="disabled:opacity-15 disabled:pointer-events-none",Rm=e=>e==="grayLight"||e==="warning",Pm=(e,r)=>!r||r==="none"?"":e(),Qy=(e,r)=>Pm(()=>{const o=e==="gray400"?"gray":e,i=Rm(o)?"active:text-black":"active:text-white";return e==="primary"?r?`bg-${o}-800 text-white`:`hover:bg-${o}-800 active:bg-${o}-800 hover:text-white ${i}`:o==="grayDark"?r?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:o==="grayLight"?r?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?r?`bg-${o}-500 text-white`:`hover:bg-${o}-500 active:bg-${o}-500 hover:text-white ${i}`:r?`bg-${o}-700 text-white`:`hover:bg-${o}-600 active:bg-${o}-700 hover:text-white ${i}`},e),Xy=e=>Pm(()=>{const r=Rm(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${r}`:e==="gray400"?`bg-gray-400 ${r}`:`bg-${e}-500 ${r}`},e),qy=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]||"",Jy=(e,r)=>e&&{dark:r?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:r?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:r?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:r?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:r?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:r?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:r?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:r?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:r?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:r?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:r?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:r?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":r?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:r?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:r?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:r?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",Ky=(e,r)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${r?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${r?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${r?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${r?"":"text-gray-400"}`:`border border-${e}-500 ${r?"":`text-${e}-500`}`,Zy=(e,r)=>({solid:Xy(e),link:qy(e),linkHoverSolid:Jy(e,r),outline:Ky(e,r)}),eb={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"},tb={none:"",default:"rounded",pill:"rounded-pill"},rb=({active:e=!1,children:r,color:o="primary",size:i="normal",category:a="solid",className:d,type:h="button",rounded:v="default",style:m={},primaryColor:x,...R},E)=>{var U;const F=Gy,M=/link/.test(a)?null:Qy(o,e),B=Yy,D=eb[i],P=(U=Zy(o,e))==null?void 0:U[a],I=fs(M,P),W=tb[v];return Q.jsx("button",{...R,style:{...m,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:x?x+"!important":void 0},type:h,ref:E,className:fs(Vy,B,F,D,I,W,d,"cursor-pointer"),children:r})},jl=V.forwardRef(rb),nb=({isOpen:e,close:r,title:o,dismissOptions:i,confirmOptions:a,children:d,className:h})=>Q.jsx(Q.Fragment,{children:e&&uc.createPortal(Q.jsxs($d.div,{className:gt("relative z-50 transition duration-300 ease-out data-closed:opacity-0",h),children:[Q.jsx("div",{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("div",{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[o&&Q.jsx("div",{className:" text-gray-900 p-4",children:o}),Q.jsx("div",{className:"p-4",children:d}),i||a?Q.jsxs("div",{className:"flex gap-4 p-4",children:[i?Q.jsx(jl,{className:"flex-1",onClick:()=>{i.onClick(),r()},size:"small",color:"secondary",children:i.label}):Q.jsx(Q.Fragment,{}),a?Q.jsx(jl,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),r()},size:"small",color:"primary",children:a.label}):Q.jsx(Q.Fragment,{})]}):Q.jsx(Q.Fragment,{})]})}),Q.jsx("style",{type:"text/css",children:Vd})]}),document.body,"confidence-modal")}),Am=typeof document<"u"?V.useLayoutEffect:()=>{};function ob(e){const r=V.useRef(null);return Am(()=>{r.current=e},[e]),V.useCallback((...o)=>{const i=r.current;return i==null?void 0:i(...o)},[])}const ai=e=>{var r;return(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document},Vi=e=>e&&"window"in e&&e.window===e?e:ai(e).defaultView||window;function ib(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function ab(e){return ib(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let sb=!1;function Gd(){return sb}function Im(e,r){if(!Gd())return r&&e?e.contains(r):!1;if(!e||!r)return!1;let o=r;for(;o!==null;){if(o===e)return!0;o.tagName==="SLOT"&&o.assignedSlot?o=o.assignedSlot.parentNode:ab(o)?o=o.host:o=o.parentNode}return!1}const cd=(e=document)=>{var r;if(!Gd())return e.activeElement;let o=e.activeElement;for(;o&&"shadowRoot"in o&&(!((r=o.shadowRoot)===null||r===void 0)&&r.activeElement);)o=o.shadowRoot.activeElement;return o};function Om(e){return Gd()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function cc(e){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(o=>e.test(o.brand)))||e.test(window.navigator.userAgent)}function Qd(e){var r;return typeof window<"u"&&window.navigator!=null?e.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function oo(e){if(process.env.NODE_ENV==="test")return e;let r=null;return()=>(r==null&&(r=e()),r)}const Xd=oo(function(){return Qd(/^Mac/i)}),lb=oo(function(){return Qd(/^iPhone/i)}),ub=oo(function(){return Qd(/^iPad/i)||Xd()&&navigator.maxTouchPoints>1}),cb=oo(function(){return lb()||ub()});oo(function(){return Xd()||cb()});oo(function(){return cc(/AppleWebKit/i)&&!fb()});const fb=oo(function(){return cc(/Chrome/i)}),db=oo(function(){return cc(/Android/i)});oo(function(){return cc(/Firefox/i)});function Fm(){let e=V.useRef(new Map),r=V.useCallback((a,d,h,v)=>{let m=v!=null&&v.once?(...x)=>{e.current.delete(h),h(...x)}:h;e.current.set(h,{type:d,eventTarget:a,fn:m,options:v}),a.addEventListener(d,m,v)},[]),o=V.useCallback((a,d,h,v)=>{var m;let x=((m=e.current.get(h))===null||m===void 0?void 0:m.fn)||h;a.removeEventListener(d,x,v),e.current.delete(h)},[]),i=V.useCallback(()=>{e.current.forEach((a,d)=>{o(a.eventTarget,a.type,d,a.options)})},[o]);return V.useEffect(()=>i,[i]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:i}}function pb(e){return e.mozInputSource===0&&e.isTrusted?!0:db()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Mm(e){let r=e;return r.nativeEvent=e,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function hb(e,r){Object.defineProperty(e,"target",{value:r}),Object.defineProperty(e,"currentTarget",{value:r})}function Dm(e){let r=V.useRef({isFocused:!1,observer:null});Am(()=>{const i=r.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let o=ob(i=>{e==null||e(i)});return V.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){r.current.isFocused=!0;let a=i.target,d=h=>{if(r.current.isFocused=!1,a.disabled){let v=Mm(h);o(v)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};a.addEventListener("focusout",d,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&a.disabled){var h;(h=r.current.observer)===null||h===void 0||h.disconnect();let v=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:v})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:v}))}}),r.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[o])}let mb=!1,Yl=null,fd=new Set,Ol=new Map,na=!1,dd=!1;const gb={Tab:!0,Escape:!0};function qd(e,r){for(let o of fd)o(e,r)}function vb(e){return!(e.metaKey||!Xd()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function rc(e){na=!0,vb(e)&&(Yl="keyboard",qd("keyboard",e))}function Dr(e){Yl="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(na=!0,qd("pointer",e))}function _m(e){pb(e)&&(na=!0,Yl="virtual")}function Lm(e){e.target===window||e.target===document||mb||!e.isTrusted||(!na&&!dd&&(Yl="virtual",qd("virtual",e)),na=!1,dd=!1)}function jm(){na=!1,dd=!0}function pd(e){if(typeof window>"u"||typeof document>"u"||Ol.get(Vi(e)))return;const r=Vi(e),o=ai(e);let i=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){na=!0,i.apply(this,arguments)},o.addEventListener("keydown",rc,!0),o.addEventListener("keyup",rc,!0),o.addEventListener("click",_m,!0),r.addEventListener("focus",Lm,!0),r.addEventListener("blur",jm,!1),typeof PointerEvent<"u"?(o.addEventListener("pointerdown",Dr,!0),o.addEventListener("pointermove",Dr,!0),o.addEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(o.addEventListener("mousedown",Dr,!0),o.addEventListener("mousemove",Dr,!0),o.addEventListener("mouseup",Dr,!0)),r.addEventListener("beforeunload",()=>{Nm(e)},{once:!0}),Ol.set(r,{focus:i})}const Nm=(e,r)=>{const o=Vi(e),i=ai(e);r&&i.removeEventListener("DOMContentLoaded",r),Ol.has(o)&&(o.HTMLElement.prototype.focus=Ol.get(o).focus,i.removeEventListener("keydown",rc,!0),i.removeEventListener("keyup",rc,!0),i.removeEventListener("click",_m,!0),o.removeEventListener("focus",Lm,!0),o.removeEventListener("blur",jm,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",Dr,!0),i.removeEventListener("pointermove",Dr,!0),i.removeEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",Dr,!0),i.removeEventListener("mousemove",Dr,!0),i.removeEventListener("mouseup",Dr,!0)),Ol.delete(o))};function yb(e){const r=ai(e);let o;return r.readyState!=="loading"?pd(e):(o=()=>{pd(e)},r.addEventListener("DOMContentLoaded",o)),()=>Nm(e,o)}typeof document<"u"&&yb();function $m(){return Yl!=="pointer"}const bb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function xb(e,r,o){let i=ai(o==null?void 0:o.target);const a=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLInputElement:HTMLInputElement,d=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLTextAreaElement:HTMLTextAreaElement,h=typeof window<"u"?Vi(o==null?void 0:o.target).HTMLElement:HTMLElement,v=typeof window<"u"?Vi(o==null?void 0:o.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!bb.has(i.activeElement.type)||i.activeElement instanceof d||i.activeElement instanceof h&&i.activeElement.isContentEditable,!(e&&r==="keyboard"&&o instanceof v&&!gb[o.key])}function wb(e,r,o){pd(),V.useEffect(()=>{let i=(a,d)=>{xb(!!(o!=null&&o.isTextInput),a,d)&&e($m())};return fd.add(i),()=>{fd.delete(i)}},r)}function Sb(e){let{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e;const d=V.useCallback(m=>{if(m.target===m.currentTarget)return i&&i(m),a&&a(!1),!0},[i,a]),h=Dm(d),v=V.useCallback(m=>{const x=ai(m.target),R=x?cd(x):cd();m.target===m.currentTarget&&R===Om(m.nativeEvent)&&(o&&o(m),a&&a(!0),h(m))},[a,o,h]);return{focusProps:{onFocus:!r&&(o||a||i)?v:void 0,onBlur:!r&&(i||a)?d:void 0}}}function kb(e){let{isDisabled:r,onBlurWithin:o,onFocusWithin:i,onFocusWithinChange:a}=e,d=V.useRef({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:v}=Fm(),m=V.useCallback(E=>{E.currentTarget.contains(E.target)&&d.current.isFocusWithin&&!E.currentTarget.contains(E.relatedTarget)&&(d.current.isFocusWithin=!1,v(),o&&o(E),a&&a(!1))},[o,a,d,v]),x=Dm(m),R=V.useCallback(E=>{if(!E.currentTarget.contains(E.target))return;const F=ai(E.target),M=cd(F);if(!d.current.isFocusWithin&&M===Om(E.nativeEvent)){i&&i(E),a&&a(!0),d.current.isFocusWithin=!0,x(E);let B=E.currentTarget;h(F,"focus",D=>{if(d.current.isFocusWithin&&!Im(B,D.target)){let P=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});hb(P,B);let I=Mm(P);m(I)}},{capture:!0})}},[i,a,x,h,m]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:R,onBlur:m}}}let nc=!1,Ff=0;function hd(){nc=!0,setTimeout(()=>{nc=!1},50)}function Up(e){e.pointerType==="touch"&&hd()}function Eb(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",hd),Ff++,()=>{Ff--,!(Ff>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",hd))}}function Cb(e){let{onHoverStart:r,onHoverChange:o,onHoverEnd:i,isDisabled:a}=e,[d,h]=V.useState(!1),v=V.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;V.useEffect(Eb,[]);let{addGlobalListener:m,removeAllGlobalListeners:x}=Fm(),{hoverProps:R,triggerHoverEnd:E}=V.useMemo(()=>{let F=(D,P)=>{if(v.pointerType=P,a||P==="touch"||v.isHovered||!D.currentTarget.contains(D.target))return;v.isHovered=!0;let I=D.currentTarget;v.target=I,m(ai(D.target),"pointerover",W=>{v.isHovered&&v.target&&!Im(v.target,W.target)&&M(W,W.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:I,pointerType:P}),o&&o(!0),h(!0)},M=(D,P)=>{let I=v.target;v.pointerType="",v.target=null,!(P==="touch"||!v.isHovered||!I)&&(v.isHovered=!1,x(),i&&i({type:"hoverend",target:I,pointerType:P}),o&&o(!1),h(!1))},B={};return typeof PointerEvent<"u"?(B.onPointerEnter=D=>{nc&&D.pointerType==="mouse"||F(D,D.pointerType)},B.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(B.onTouchStart=()=>{v.ignoreEmulatedMouseEvents=!0},B.onMouseEnter=D=>{!v.ignoreEmulatedMouseEvents&&!nc&&F(D,"mouse"),v.ignoreEmulatedMouseEvents=!1},B.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,"mouse")}),{hoverProps:B,triggerHoverEnd:M}},[r,o,i,a,v,m,x]);return V.useEffect(()=>{a&&E({currentTarget:v.target},v.pointerType)},[a]),{hoverProps:R,isHovered:d}}function Tb(e={}){let{autoFocus:r=!1,isTextInput:o,within:i}=e,a=V.useRef({isFocused:!1,isFocusVisible:r||$m()}),[d,h]=V.useState(!1),[v,m]=V.useState(()=>a.current.isFocused&&a.current.isFocusVisible),x=V.useCallback(()=>m(a.current.isFocused&&a.current.isFocusVisible),[]),R=V.useCallback(M=>{a.current.isFocused=M,h(M),x()},[x]);wb(M=>{a.current.isFocusVisible=M,x()},[],{isTextInput:o});let{focusProps:E}=Sb({isDisabled:i,onFocusChange:R}),{focusWithinProps:F}=kb({isDisabled:!i,onFocusWithinChange:R});return{isFocused:d,isFocusVisible:v,focusProps:i?F:E}}var Rb=Object.defineProperty,Pb=(e,r,o)=>r in e?Rb(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,Mf=(e,r,o)=>(Pb(e,typeof r!="symbol"?r+"":r,o),o);let Ab=class{constructor(){Mf(this,"current",this.detect()),Mf(this,"handoffState","pending"),Mf(this,"currentId",0)}set(r){this.current!==r&&(this.handoffState="pending",this.currentId=0,this.current=r)}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"}},Ib=new Ab,Jd=(e,r)=>{Ib.isServer?V.useEffect(e,r):V.useLayoutEffect(e,r)};function Ob(e){let r=V.useRef(e);return Jd(()=>{r.current=e},[e]),r}let fc=function(e){let r=Ob(e);return V.useCallback((...o)=>r.current(...o),[r])},zm=V.createContext(void 0);function dc(){return V.useContext(zm)}function Fb({value:e,children:r}){return V.createElement(zm.Provider,{value:e},r)}function Hp(...e){return Array.from(new Set(e.flatMap(r=>typeof r=="string"?r.split(" "):[]))).filter(Boolean).join(" ")}function Bm(e,r,...o){if(e in r){let a=r[e];return typeof a=="function"?a(...o):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Bm),i}var Mb=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mb||{}),Db=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(Db||{});function Gl(){let e=Lb();return V.useCallback(r=>_b({mergeRefs:e,...r}),[e])}function _b({ourProps:e,theirProps:r,slot:o,defaultTag:i,features:a,visible:d=!0,name:h,mergeRefs:v}){v=v??jb;let m=Um(r,e);if(d)return Yu(m,o,i,h,v);let x=a??0;if(x&2){let{static:R=!1,...E}=m;if(R)return Yu(E,o,i,h,v)}if(x&1){let{unmount:R=!0,...E}=m;return Bm(R?0:1,{0(){return null},1(){return Yu({...E,hidden:!0,style:{display:"none"}},o,i,h,v)}})}return Yu(m,o,i,h,v)}function Yu(e,r={},o,i,a){let{as:d=o,children:h,refName:v="ref",...m}=Df(e,["unmount","static"]),x=e.ref!==void 0?{[v]:e.ref}:{},R=typeof h=="function"?h(r):h;"className"in m&&m.className&&typeof m.className=="function"&&(m.className=m.className(r)),m["aria-labelledby"]&&m["aria-labelledby"]===m.id&&(m["aria-labelledby"]=void 0);let E={};if(r){let F=!1,M=[];for(let[B,D]of Object.entries(r))typeof D=="boolean"&&(F=!0),D===!0&&M.push(B.replace(/([A-Z])/g,P=>`-${P.toLowerCase()}`));if(F){E["data-headlessui-state"]=M.join(" ");for(let B of M)E[`data-${B}`]=""}}if(d===V.Fragment&&(Object.keys(as(m)).length>0||Object.keys(as(E)).length>0))if(!V.isValidElement(R)||Array.isArray(R)&&R.length>1){if(Object.keys(as(m)).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(as(m)).concat(Object.keys(as(E))).map(F=>` - ${F}`).join(`
|
|
123
|
+
*/var Ef,xp;function cv(){if(xp)return Ef;xp=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(d){if(d==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(d)}function a(){try{if(!Object.assign)return!1;var d=new String("abc");if(d[5]="de",Object.getOwnPropertyNames(d)[0]==="5")return!1;for(var h={},v=0;v<10;v++)h["_"+String.fromCharCode(v)]=v;var m=Object.getOwnPropertyNames(h).map(function(R){return h[R]});if(m.join("")!=="0123456789")return!1;var x={};return"abcdefghijklmnopqrst".split("").forEach(function(R){x[R]=R}),Object.keys(Object.assign({},x)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Ef=a()?Object.assign:function(d,h){for(var v,m=i(d),x,R=1;R<arguments.length;R++){v=Object(arguments[R]);for(var E in v)r.call(v,E)&&(m[E]=v[E]);if(e){x=e(v);for(var F=0;F<x.length;F++)o.call(v,x[F])&&(m[x[F]]=v[x[F]])}}return m},Ef}var Cf,wp;function zd(){if(wp)return Cf;wp=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Cf=e,Cf}var Tf,Sp;function Vh(){return Sp||(Sp=1,Tf=Function.call.bind(Object.prototype.hasOwnProperty)),Tf}var Rf,kp;function fv(){if(kp)return Rf;kp=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var r=zd(),o={},i=Vh();e=function(d){var h="Warning: "+d;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}}}function a(d,h,v,m,x){if(process.env.NODE_ENV!=="production"){for(var R in d)if(i(d,R)){var E;try{if(typeof d[R]!="function"){var F=Error((m||"React class")+": "+v+" type `"+R+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[R]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}E=d[R](h,R,m,v,null,r)}catch(B){E=B}if(E&&!(E instanceof Error)&&e((m||"React class")+": type specification of "+v+" `"+R+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof E+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),E instanceof Error&&!(E.message in o)){o[E.message]=!0;var M=x?x():"";e("Failed "+v+" type: "+E.message+(M??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Rf=a,Rf}var Pf,Ep;function dv(){if(Ep)return Pf;Ep=1;var e=Wh(),r=cv(),o=zd(),i=Vh(),a=fv(),d=function(){};process.env.NODE_ENV!=="production"&&(d=function(v){var m="Warning: "+v;typeof console<"u"&&console.error(m);try{throw new Error(m)}catch{}});function h(){return null}return Pf=function(v,m){var x=typeof Symbol=="function"&&Symbol.iterator,R="@@iterator";function E(Q){var J=Q&&(x&&Q[x]||Q[R]);if(typeof J=="function")return J}var F="<<anonymous>>",M={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:W(),arrayOf:U,element:q(),elementType:_(),instanceOf:ie,node:Fe(),objectOf:ee,oneOf:ce,oneOfType:ae,shape:_e,exact:Ge};function B(Q,J){return Q===J?Q!==0||1/Q===1/J:Q!==Q&&J!==J}function D(Q,J){this.message=Q,this.data=J&&typeof J=="object"?J:{},this.stack=""}D.prototype=Error.prototype;function P(Q){if(process.env.NODE_ENV!=="production")var J={},fe=0;function me(ge,se,ue,Te,Ee,Re,$e){if(Te=Te||F,Re=Re||ue,$e!==o){if(m){var oe=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 oe.name="Invariant Violation",oe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ue=Te+":"+ue;!J[Ue]&&fe<3&&(d("You are manually calling a React.PropTypes validation function for the `"+Re+"` prop on `"+Te+"`. 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."),J[Ue]=!0,fe++)}}return se[ue]==null?ge?se[ue]===null?new D("The "+Ee+" `"+Re+"` is marked as required "+("in `"+Te+"`, but its value is `null`.")):new D("The "+Ee+" `"+Re+"` is marked as required in "+("`"+Te+"`, but its value is `undefined`.")):null:Q(se,ue,Te,Ee,Re)}var pe=me.bind(null,!1);return pe.isRequired=me.bind(null,!0),pe}function I(Q){function J(fe,me,pe,ge,se,ue){var Te=fe[me],Ee=Ce(Te);if(Ee!==Q){var Re=je(Te);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Re+"` supplied to `"+pe+"`, expected ")+("`"+Q+"`."),{expectedType:Q})}return null}return P(J)}function W(){return P(h)}function U(Q){function J(fe,me,pe,ge,se){if(typeof Q!="function")return new D("Property `"+se+"` of component `"+pe+"` has invalid PropType notation inside arrayOf.");var ue=fe[me];if(!Array.isArray(ue)){var Te=Ce(ue);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected an array."))}for(var Ee=0;Ee<ue.length;Ee++){var Re=Q(ue,Ee,pe,ge,se+"["+Ee+"]",o);if(Re instanceof Error)return Re}return null}return P(J)}function q(){function Q(J,fe,me,pe,ge){var se=J[fe];if(!v(se)){var ue=Ce(se);return new D("Invalid "+pe+" `"+ge+"` of type "+("`"+ue+"` supplied to `"+me+"`, expected a single ReactElement."))}return null}return P(Q)}function _(){function Q(J,fe,me,pe,ge){var se=J[fe];if(!e.isValidElementType(se)){var ue=Ce(se);return new D("Invalid "+pe+" `"+ge+"` of type "+("`"+ue+"` supplied to `"+me+"`, expected a single ReactElement type."))}return null}return P(Q)}function ie(Q){function J(fe,me,pe,ge,se){if(!(fe[me]instanceof Q)){var ue=Q.name||F,Te=be(fe[me]);return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected ")+("instance of `"+ue+"`."))}return null}return P(J)}function ce(Q){if(!Array.isArray(Q))return process.env.NODE_ENV!=="production"&&(arguments.length>1?d("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])."):d("Invalid argument supplied to oneOf, expected an array.")),h;function J(fe,me,pe,ge,se){for(var ue=fe[me],Te=0;Te<Q.length;Te++)if(B(ue,Q[Te]))return null;var Ee=JSON.stringify(Q,function($e,oe){var Ue=je(oe);return Ue==="symbol"?String(oe):oe});return new D("Invalid "+ge+" `"+se+"` of value `"+String(ue)+"` "+("supplied to `"+pe+"`, expected one of "+Ee+"."))}return P(J)}function ee(Q){function J(fe,me,pe,ge,se){if(typeof Q!="function")return new D("Property `"+se+"` of component `"+pe+"` has invalid PropType notation inside objectOf.");var ue=fe[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type "+("`"+Te+"` supplied to `"+pe+"`, expected an object."));for(var Ee in ue)if(i(ue,Ee)){var Re=Q(ue,Ee,pe,ge,se+"."+Ee,o);if(Re instanceof Error)return Re}return null}return P(J)}function ae(Q){if(!Array.isArray(Q))return process.env.NODE_ENV!=="production"&&d("Invalid argument supplied to oneOfType, expected an instance of array."),h;for(var J=0;J<Q.length;J++){var fe=Q[J];if(typeof fe!="function")return d("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(fe)+" at index "+J+"."),h}function me(pe,ge,se,ue,Te){for(var Ee=[],Re=0;Re<Q.length;Re++){var $e=Q[Re],oe=$e(pe,ge,se,ue,Te,o);if(oe==null)return null;oe.data&&i(oe.data,"expectedType")&&Ee.push(oe.data.expectedType)}var Ue=Ee.length>0?", expected one of type ["+Ee.join(", ")+"]":"";return new D("Invalid "+ue+" `"+Te+"` supplied to "+("`"+se+"`"+Ue+"."))}return P(me)}function Fe(){function Q(J,fe,me,pe,ge){return Qe(J[fe])?null:new D("Invalid "+pe+" `"+ge+"` supplied to "+("`"+me+"`, expected a ReactNode."))}return P(Q)}function Ne(Q,J,fe,me,pe){return new D((Q||"React class")+": "+J+" type `"+fe+"."+me+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+pe+"`.")}function _e(Q){function J(fe,me,pe,ge,se){var ue=fe[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type `"+Te+"` "+("supplied to `"+pe+"`, expected `object`."));for(var Ee in Q){var Re=Q[Ee];if(typeof Re!="function")return Ne(pe,ge,se,Ee,je(Re));var $e=Re(ue,Ee,pe,ge,se+"."+Ee,o);if($e)return $e}return null}return P(J)}function Ge(Q){function J(fe,me,pe,ge,se){var ue=fe[me],Te=Ce(ue);if(Te!=="object")return new D("Invalid "+ge+" `"+se+"` of type `"+Te+"` "+("supplied to `"+pe+"`, expected `object`."));var Ee=r({},fe[me],Q);for(var Re in Ee){var $e=Q[Re];if(i(Q,Re)&&typeof $e!="function")return Ne(pe,ge,se,Re,je($e));if(!$e)return new D("Invalid "+ge+" `"+se+"` key `"+Re+"` supplied to `"+pe+"`.\nBad object: "+JSON.stringify(fe[me],null," ")+`
|
|
124
|
+
Valid keys: `+JSON.stringify(Object.keys(Q),null," "));var oe=$e(ue,Re,pe,ge,se+"."+Re,o);if(oe)return oe}return null}return P(J)}function Qe(Q){switch(typeof Q){case"number":case"string":case"undefined":return!0;case"boolean":return!Q;case"object":if(Array.isArray(Q))return Q.every(Qe);if(Q===null||v(Q))return!0;var J=E(Q);if(J){var fe=J.call(Q),me;if(J!==Q.entries){for(;!(me=fe.next()).done;)if(!Qe(me.value))return!1}else for(;!(me=fe.next()).done;){var pe=me.value;if(pe&&!Qe(pe[1]))return!1}}else return!1;return!0;default:return!1}}function ke(Q,J){return Q==="symbol"?!0:J?J["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&J instanceof Symbol:!1}function Ce(Q){var J=typeof Q;return Array.isArray(Q)?"array":Q instanceof RegExp?"object":ke(J,Q)?"symbol":J}function je(Q){if(typeof Q>"u"||Q===null)return""+Q;var J=Ce(Q);if(J==="object"){if(Q instanceof Date)return"date";if(Q instanceof RegExp)return"regexp"}return J}function Z(Q){var J=je(Q);switch(J){case"array":case"object":return"an "+J;case"boolean":case"date":case"regexp":return"a "+J;default:return J}}function be(Q){return!Q.constructor||!Q.constructor.name?F:Q.constructor.name}return M.checkPropTypes=a,M.resetWarningCache=a.resetWarningCache,M.PropTypes=M,M},Pf}var Af,Cp;function pv(){if(Cp)return Af;Cp=1;var e=zd();function r(){}function o(){}return o.resetWarningCache=r,Af=function(){function i(h,v,m,x,R,E){if(E!==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 d={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:o,resetWarningCache:r};return d.PropTypes=d,d},Af}var Tp;function hv(){if(Tp)return Uu.exports;if(Tp=1,process.env.NODE_ENV!=="production"){var e=Wh(),r=!0;Uu.exports=dv()(e.isElement,r)}else Uu.exports=pv()();return Uu.exports}var mv=hv();const Me=tv(mv);var gv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yh(e,r){return e(r={exports:{}},r.exports),r.exports}var vv=Yh(function(e){(function(r){var o=function(P,I,W){if(!m(I)||R(I)||E(I)||F(I)||v(I))return I;var U,q=0,_=0;if(x(I))for(U=[],_=I.length;q<_;q++)U.push(o(P,I[q],W));else for(var ie in U={},I)Object.prototype.hasOwnProperty.call(I,ie)&&(U[P(ie,W)]=o(P,I[ie],W));return U},i=function(P){return M(P)?P:(P=P.replace(/[\-_\s]+(.)?/g,function(I,W){return W?W.toUpperCase():""})).substr(0,1).toLowerCase()+P.substr(1)},a=function(P){var I=i(P);return I.substr(0,1).toUpperCase()+I.substr(1)},d=function(P,I){return function(W,U){var q=(U=U||{}).separator||"_",_=U.split||/(?=[A-Z])/;return W.split(_).join(q)}(P,I).toLowerCase()},h=Object.prototype.toString,v=function(P){return typeof P=="function"},m=function(P){return P===Object(P)},x=function(P){return h.call(P)=="[object Array]"},R=function(P){return h.call(P)=="[object Date]"},E=function(P){return h.call(P)=="[object RegExp]"},F=function(P){return h.call(P)=="[object Boolean]"},M=function(P){return(P-=0)==P},B=function(P,I){var W=I&&"process"in I?I.process:I;return typeof W!="function"?P:function(U,q){return W(U,P,q)}},D={camelize:i,decamelize:d,pascalize:a,depascalize:d,camelizeKeys:function(P,I){return o(B(i,I),P)},decamelizeKeys:function(P,I){return o(B(d,I),P,I)},pascalizeKeys:function(P,I){return o(B(a,I),P)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:r.humps=D})(gv)}).decamelize,yv=function(e){if(Array.isArray(e))return e},bv=function(e,r){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var o=[],i=!0,a=!1,d=void 0;try{for(var h,v=e[Symbol.iterator]();!(i=(h=v.next()).done)&&(o.push(h.value),!r||o.length!==r);i=!0);}catch(m){a=!0,d=m}finally{try{i||v.return==null||v.return()}finally{if(a)throw d}}return o}},Rp=function(e,r){(r==null||r>e.length)&&(r=e.length);for(var o=0,i=new Array(r);o<r;o++)i[o]=e[o];return i},xv=function(e,r){if(e){if(typeof e=="string")return Rp(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Rp(e,r):void 0}},wv=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.`)},Sv=function(e,r){return yv(e)||bv(e,r)||xv(e,r)||wv()},Gh=Yh(function(e){function r(){return e.exports=r=Object.assign||function(o){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&(o[d]=a[d])}return o},r.apply(this,arguments)}e.exports=r}),kv=function(e,r){if(e==null)return{};var o,i,a={},d=Object.keys(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||(a[o]=e[o]);return a},Qh=function(e,r){if(e==null)return{};var o,i,a=kv(e,r);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(i=0;i<d.length;i++)o=d[i],r.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(a[o]=e[o])}return a},Ev=V.createContext(null);function Xh(e){var r=e.children,o=r===void 0?"":r,i=Qh(e,["children"]);return typeof o!="string"&&(o=sv.renderToString(o)),V.createElement("template",Gh({},i,{dangerouslySetInnerHTML:{__html:o}}))}function qh(e){var r=e.root,o=e.children;return Vl.createPortal(o===void 0?null:o,r)}function Cv(e){var r=V.forwardRef(function(o,i){var a,d,h=o.mode,v=h===void 0?"open":h,m=o.delegatesFocus,x=m!==void 0&&m,R=o.styleSheets,E=R===void 0?[]:R,F=o.ssr,M=F!==void 0&&F,B=o.children,D=Qh(o,["mode","delegatesFocus","styleSheets","ssr","children"]),P=(d=V.useRef((a=i)&&a.current),V.useEffect(function(){a&&(a.current=d.current)},[a]),d),I=V.useState(null),W=Sv(I,2),U=W[0],q=W[1],_="node_".concat(v).concat(x);return V.useLayoutEffect(function(){if(P.current)try{if(typeof i=="function"&&i(P.current),M){var ie=P.current.shadowRoot;return void q(ie)}var ce=P.current.attachShadow({mode:v,delegatesFocus:x});E.length>0&&(ce.adoptedStyleSheets=E),q(ce)}catch(ee){(function(ae){var Fe=ae.error,Ne=ae.styleSheets,_e=ae.root;switch(Fe.name){case"NotSupportedError":Ne.length>0&&(_e.adoptedStyleSheets=Ne);break;default:throw Fe}})({error:ee,styleSheets:E,root:U})}},[i,P,E]),V.createElement(V.Fragment,null,V.createElement(e.tag,Gh({key:_,ref:P},D),(U||M)&&V.createElement(Ev.Provider,{value:U},M?V.createElement(Xh,{shadowroot:v,shadowrootmode:v},e.render({root:U,ssr:M,children:B})):V.createElement(qh,{root:U},e.render({root:U,ssr:M,children:B})))))});return r.propTypes={mode:Me.oneOf(["open","closed"]),delegatesFocus:Me.bool,styleSheets:Me.arrayOf(Me.instanceOf(globalThis.CSSStyleSheet)),ssr:Me.bool,children:Me.node},r}Xh.propTypes={children:Me.oneOfType([Me.string,Me.node])},qh.propTypes={root:Me.object.isRequired,children:Me.node};var If=new Map;function Tv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var d=vv(a,{separator:"-"}),h="".concat(r,"-").concat(d);return If.has(h)||If.set(h,Cv({tag:d,render:o})),If.get(h)}})}var cc=Tv();const Jh="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==";var As=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(){}},ra=typeof window>"u"||"Deno"in globalThis;function qt(){}function Rv(e,r){return typeof e=="function"?e(r):e}function Xf(e){return typeof e=="number"&&e>=0&&e!==1/0}function Kh(e,r){return Math.max(e+(r||0)-Date.now(),0)}function cs(e,r){return typeof e=="function"?e(r):e}function Kr(e,r){return typeof e=="function"?e(r):e}function Pp(e,r){const{type:o="all",exact:i,fetchStatus:a,predicate:d,queryKey:h,stale:v}=e;if(h){if(i){if(r.queryHash!==Bd(h,r.options))return!1}else if(!_l(r.queryKey,h))return!1}if(o!=="all"){const m=r.isActive();if(o==="active"&&!m||o==="inactive"&&m)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||a&&a!==r.state.fetchStatus||d&&!d(r))}function Ap(e,r){const{exact:o,status:i,predicate:a,mutationKey:d}=e;if(d){if(!r.options.mutationKey)return!1;if(o){if(na(r.options.mutationKey)!==na(d))return!1}else if(!_l(r.options.mutationKey,d))return!1}return!(i&&r.state.status!==i||a&&!a(r))}function Bd(e,r){return((r==null?void 0:r.queryKeyHashFn)||na)(e)}function na(e){return JSON.stringify(e,(r,o)=>Jf(o)?Object.keys(o).sort().reduce((i,a)=>(i[a]=o[a],i),{}):o)}function _l(e,r){return e===r?!0:typeof e!=typeof r?!1:e&&r&&typeof e=="object"&&typeof r=="object"?Object.keys(r).every(o=>_l(e[o],r[o])):!1}function qf(e,r){if(e===r)return e;const o=Ip(e)&&Ip(r);if(o||Jf(e)&&Jf(r)){const i=o?e:Object.keys(e),a=i.length,d=o?r:Object.keys(r),h=d.length,v=o?[]:{};let m=0;for(let x=0;x<h;x++){const R=o?x:d[x];(!o&&i.includes(R)||o)&&e[R]===void 0&&r[R]===void 0?(v[R]=void 0,m++):(v[R]=qf(e[R],r[R]),v[R]===e[R]&&e[R]!==void 0&&m++)}return a===h&&m===a?e:v}return r}function ec(e,r){if(!r||Object.keys(e).length!==Object.keys(r).length)return!1;for(const o in e)if(e[o]!==r[o])return!1;return!0}function Ip(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Jf(e){if(!Op(e))return!1;const r=e.constructor;if(r===void 0)return!0;const o=r.prototype;return!(!Op(o)||!o.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Op(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pv(e){return new Promise(r=>{setTimeout(r,e)})}function Kf(e,r,o){if(typeof o.structuralSharing=="function")return o.structuralSharing(e,r);if(o.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return qf(e,r)}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. [${o.queryHash}]: ${i}`),i}return qf(e,r)}return r}function Av(e,r,o=0){const i=[...e,r];return o&&i.length>o?i.slice(1):i}function Iv(e,r,o=0){const i=[r,...e];return o&&i.length>o?i.slice(0,-1):i}var tc=Symbol();function Zh(e,r){return process.env.NODE_ENV!=="production"&&e.queryFn===tc&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!e.queryFn||e.queryFn===tc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function em(e,r){return typeof e=="function"?e(...r):!!e}var Qi,Vo,ms,Mh,Ov=(Mh=class extends As{constructor(){super();Ie(this,Qi);Ie(this,Vo);Ie(this,ms);he(this,ms,r=>{if(!ra&&window.addEventListener){const o=()=>r();return window.addEventListener("visibilitychange",o,!1),()=>{window.removeEventListener("visibilitychange",o)}}})}onSubscribe(){O(this,Vo)||this.setEventListener(O(this,ms))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Vo))==null||r.call(this),he(this,Vo,void 0))}setEventListener(r){var o;he(this,ms,r),(o=O(this,Vo))==null||o.call(this),he(this,Vo,r(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(r){O(this,Qi)!==r&&(he(this,Qi,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(o=>{o(r)})}isFocused(){var r;return typeof O(this,Qi)=="boolean"?O(this,Qi):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},Qi=new WeakMap,Vo=new WeakMap,ms=new WeakMap,Mh),Ud=new Ov,gs,Yo,vs,Dh,Fv=(Dh=class extends As{constructor(){super();Ie(this,gs,!0);Ie(this,Yo);Ie(this,vs);he(this,vs,r=>{if(!ra&&window.addEventListener){const o=()=>r(!0),i=()=>r(!1);return window.addEventListener("online",o,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",o),window.removeEventListener("offline",i)}}})}onSubscribe(){O(this,Yo)||this.setEventListener(O(this,vs))}onUnsubscribe(){var r;this.hasListeners()||((r=O(this,Yo))==null||r.call(this),he(this,Yo,void 0))}setEventListener(r){var o;he(this,vs,r),(o=O(this,Yo))==null||o.call(this),he(this,Yo,r(this.setOnline.bind(this)))}setOnline(r){O(this,gs)!==r&&(he(this,gs,r),this.listeners.forEach(i=>{i(r)}))}isOnline(){return O(this,gs)}},gs=new WeakMap,Yo=new WeakMap,vs=new WeakMap,Dh),rc=new Fv;function Zf(){let e,r;const o=new Promise((a,d)=>{e=a,r=d});o.status="pending",o.catch(()=>{});function i(a){Object.assign(o,a),delete o.resolve,delete o.reject}return o.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},o.reject=a=>{i({status:"rejected",reason:a}),r(a)},o}function Mv(e){return Math.min(1e3*2**e,3e4)}function tm(e){return(e??"online")==="online"?rc.isOnline():!0}var rm=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Of(e){return e instanceof rm}function nm(e){let r=!1,o=0,i=!1,a;const d=Zf(),h=D=>{var P;i||(F(new rm(D)),(P=e.abort)==null||P.call(e))},v=()=>{r=!0},m=()=>{r=!1},x=()=>Ud.isFocused()&&(e.networkMode==="always"||rc.isOnline())&&e.canRun(),R=()=>tm(e.networkMode)&&e.canRun(),E=D=>{var P;i||(i=!0,(P=e.onSuccess)==null||P.call(e,D),a==null||a(),d.resolve(D))},F=D=>{var P;i||(i=!0,(P=e.onError)==null||P.call(e,D),a==null||a(),d.reject(D))},M=()=>new Promise(D=>{var P;a=I=>{(i||x())&&D(I)},(P=e.onPause)==null||P.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),B=()=>{if(i)return;let D;const P=o===0?e.initialPromise:void 0;try{D=P??e.fn()}catch(I){D=Promise.reject(I)}Promise.resolve(D).then(E).catch(I=>{var ie;if(i)return;const W=e.retry??(ra?0:3),U=e.retryDelay??Mv,q=typeof U=="function"?U(o,I):U,_=W===!0||typeof W=="number"&&o<W||typeof W=="function"&&W(o,I);if(r||!_){F(I);return}o++,(ie=e.onFail)==null||ie.call(e,o,I),Pv(q).then(()=>x()?void 0:M()).then(()=>{r?F(I):B()})})};return{promise:d,cancel:h,continue:()=>(a==null||a(),d),cancelRetry:v,continueRetry:m,canStart:R,start:()=>(R()?B():M().then(B),d)}}var Dv=e=>setTimeout(e,0);function _v(){let e=[],r=0,o=v=>{v()},i=v=>{v()},a=Dv;const d=v=>{r?e.push(v):a(()=>{o(v)})},h=()=>{const v=e;e=[],v.length&&a(()=>{i(()=>{v.forEach(m=>{o(m)})})})};return{batch:v=>{let m;r++;try{m=v()}finally{r--,r||h()}return m},batchCalls:v=>(...m)=>{d(()=>{v(...m)})},schedule:d,setNotifyFunction:v=>{o=v},setBatchNotifyFunction:v=>{i=v},setScheduler:v=>{a=v}}}var bt=_v(),Xi,_h,om=(_h=class{constructor(){Ie(this,Xi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Xf(this.gcTime)&&he(this,Xi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ra?1/0:5*60*1e3))}clearGcTimeout(){O(this,Xi)&&(clearTimeout(O(this,Xi)),he(this,Xi,void 0))}},Xi=new WeakMap,_h),ys,bs,Mr,qi,Dt,Bl,Ji,qr,qn,Lh,Lv=(Lh=class extends om{constructor(r){super();Ie(this,qr);Ie(this,ys);Ie(this,bs);Ie(this,Mr);Ie(this,qi);Ie(this,Dt);Ie(this,Bl);Ie(this,Ji);he(this,Ji,!1),he(this,Bl,r.defaultOptions),this.setOptions(r.options),this.observers=[],he(this,qi,r.client),he(this,Mr,O(this,qi).getQueryCache()),this.queryKey=r.queryKey,this.queryHash=r.queryHash,he(this,ys,jv(this.options)),this.state=r.state??O(this,ys),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=O(this,Dt))==null?void 0:r.promise}setOptions(r){this.options={...O(this,Bl),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&O(this,Mr).remove(this)}setData(r,o){const i=Kf(this.state.data,r,this.options);return ze(this,qr,qn).call(this,{data:i,type:"success",dataUpdatedAt:o==null?void 0:o.updatedAt,manual:o==null?void 0:o.manual}),i}setState(r,o){ze(this,qr,qn).call(this,{type:"setState",state:r,setStateOptions:o})}cancel(r){var i,a;const o=(i=O(this,Dt))==null?void 0:i.promise;return(a=O(this,Dt))==null||a.cancel(r),o?o.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(O(this,ys))}isActive(){return this.observers.some(r=>Kr(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===tc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!Kh(this.state.dataUpdatedAt,r)}onFocus(){var o;const r=this.observers.find(i=>i.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}onOnline(){var o;const r=this.observers.find(i=>i.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(o=O(this,Dt))==null||o.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),O(this,Mr).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(o=>o!==r),this.observers.length||(O(this,Dt)&&(O(this,Ji)?O(this,Dt).cancel({revert:!0}):O(this,Dt).cancelRetry()),this.scheduleGc()),O(this,Mr).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ze(this,qr,qn).call(this,{type:"invalidate"})}fetch(r,o){var m,x,R;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(o!=null&&o.cancelRefetch))this.cancel({silent:!0});else if(O(this,Dt))return O(this,Dt).continueRetry(),O(this,Dt).promise}if(r&&this.setOptions(r),!this.options.queryFn){const E=this.observers.find(F=>F.options.queryFn);E&&this.setOptions(E.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=E=>{Object.defineProperty(E,"signal",{enumerable:!0,get:()=>(he(this,Ji,!0),i.signal)})},d=()=>{const E=Zh(this.options,o),F={client:O(this,qi),queryKey:this.queryKey,meta:this.meta};return a(F),he(this,Ji,!1),this.options.persister?this.options.persister(E,F,this):E(F)},h={fetchOptions:o,options:this.options,queryKey:this.queryKey,client:O(this,qi),state:this.state,fetchFn:d};a(h),(m=this.options.behavior)==null||m.onFetch(h,this),he(this,bs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((x=h.fetchOptions)==null?void 0:x.meta))&&ze(this,qr,qn).call(this,{type:"fetch",meta:(R=h.fetchOptions)==null?void 0:R.meta});const v=E=>{var F,M,B,D;Of(E)&&E.silent||ze(this,qr,qn).call(this,{type:"error",error:E}),Of(E)||((M=(F=O(this,Mr).config).onError)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,this.state.data,E,this)),this.scheduleGc()};return he(this,Dt,nm({initialPromise:o==null?void 0:o.initialPromise,fn:h.fetchFn,abort:i.abort.bind(i),onSuccess:E=>{var F,M,B,D;if(E===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}`),v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(E)}catch(P){v(P);return}(M=(F=O(this,Mr).config).onSuccess)==null||M.call(F,E,this),(D=(B=O(this,Mr).config).onSettled)==null||D.call(B,E,this.state.error,this),this.scheduleGc()},onError:v,onFail:(E,F)=>{ze(this,qr,qn).call(this,{type:"failed",failureCount:E,error:F})},onPause:()=>{ze(this,qr,qn).call(this,{type:"pause"})},onContinue:()=>{ze(this,qr,qn).call(this,{type:"continue"})},retry:h.options.retry,retryDelay:h.options.retryDelay,networkMode:h.options.networkMode,canRun:()=>!0})),O(this,Dt).start()}},ys=new WeakMap,bs=new WeakMap,Mr=new WeakMap,qi=new WeakMap,Dt=new WeakMap,Bl=new WeakMap,Ji=new WeakMap,qr=new WeakSet,qn=function(r){const o=i=>{switch(r.type){case"failed":return{...i,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...im(i.data,this.options),fetchMeta:r.meta??null};case"success":return{...i,data:r.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=r.error;return Of(a)&&a.revert&&O(this,bs)?{...O(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,...r.state}}};this.state=o(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),O(this,Mr).notify({query:this,type:"updated",action:r})})},Lh);function im(e,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:tm(r.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function jv(e){const r=typeof e.initialData=="function"?e.initialData():e.initialData,o=r!==void 0,i=o?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:o?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:o?"success":"pending",fetchStatus:"idle"}}var vn,jh,Nv=(jh=class extends As{constructor(r={}){super();Ie(this,vn);this.config=r,he(this,vn,new Map)}build(r,o,i){const a=o.queryKey,d=o.queryHash??Bd(a,o);let h=this.get(d);return h||(h=new Lv({client:r,queryKey:a,queryHash:d,options:r.defaultQueryOptions(o),state:i,defaultOptions:r.getQueryDefaults(a)}),this.add(h)),h}add(r){O(this,vn).has(r.queryHash)||(O(this,vn).set(r.queryHash,r),this.notify({type:"added",query:r}))}remove(r){const o=O(this,vn).get(r.queryHash);o&&(r.destroy(),o===r&&O(this,vn).delete(r.queryHash),this.notify({type:"removed",query:r}))}clear(){bt.batch(()=>{this.getAll().forEach(r=>{this.remove(r)})})}get(r){return O(this,vn).get(r)}getAll(){return[...O(this,vn).values()]}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Pp(o,i))}findAll(r={}){const o=this.getAll();return Object.keys(r).length>0?o.filter(i=>Pp(r,i)):o}notify(r){bt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(r=>{r.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(r=>{r.onOnline()})})}},vn=new WeakMap,jh),yn,Qt,Ki,bn,Wo,Nh,$v=(Nh=class extends om{constructor(r){super();Ie(this,bn);Ie(this,yn);Ie(this,Qt);Ie(this,Ki);this.mutationId=r.mutationId,he(this,Qt,r.mutationCache),he(this,yn,[]),this.state=r.state||am(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){O(this,yn).includes(r)||(O(this,yn).push(r),this.clearGcTimeout(),O(this,Qt).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){he(this,yn,O(this,yn).filter(o=>o!==r)),this.scheduleGc(),O(this,Qt).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){O(this,yn).length||(this.state.status==="pending"?this.scheduleGc():O(this,Qt).remove(this))}continue(){var r;return((r=O(this,Ki))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var d,h,v,m,x,R,E,F,M,B,D,P,I,W,U,q,_,ie,ce,ee;const o=()=>{ze(this,bn,Wo).call(this,{type:"continue"})};he(this,Ki,nm({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(ae,Fe)=>{ze(this,bn,Wo).call(this,{type:"failed",failureCount:ae,error:Fe})},onPause:()=>{ze(this,bn,Wo).call(this,{type:"pause"})},onContinue:o,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>O(this,Qt).canRun(this)}));const i=this.state.status==="pending",a=!O(this,Ki).canStart();try{if(i)o();else{ze(this,bn,Wo).call(this,{type:"pending",variables:r,isPaused:a}),await((h=(d=O(this,Qt).config).onMutate)==null?void 0:h.call(d,r,this));const Fe=await((m=(v=this.options).onMutate)==null?void 0:m.call(v,r));Fe!==this.state.context&&ze(this,bn,Wo).call(this,{type:"pending",context:Fe,variables:r,isPaused:a})}const ae=await O(this,Ki).start();return await((R=(x=O(this,Qt).config).onSuccess)==null?void 0:R.call(x,ae,r,this.state.context,this)),await((F=(E=this.options).onSuccess)==null?void 0:F.call(E,ae,r,this.state.context)),await((B=(M=O(this,Qt).config).onSettled)==null?void 0:B.call(M,ae,null,this.state.variables,this.state.context,this)),await((P=(D=this.options).onSettled)==null?void 0:P.call(D,ae,null,r,this.state.context)),ze(this,bn,Wo).call(this,{type:"success",data:ae}),ae}catch(ae){try{throw await((W=(I=O(this,Qt).config).onError)==null?void 0:W.call(I,ae,r,this.state.context,this)),await((q=(U=this.options).onError)==null?void 0:q.call(U,ae,r,this.state.context)),await((ie=(_=O(this,Qt).config).onSettled)==null?void 0:ie.call(_,void 0,ae,this.state.variables,this.state.context,this)),await((ee=(ce=this.options).onSettled)==null?void 0:ee.call(ce,void 0,ae,r,this.state.context)),ae}finally{ze(this,bn,Wo).call(this,{type:"error",error:ae})}}finally{O(this,Qt).runNext(this)}}},yn=new WeakMap,Qt=new WeakMap,Ki=new WeakMap,bn=new WeakSet,Wo=function(r){const o=i=>{switch(r.type){case"failed":return{...i,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...i,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:r.error,failureCount:i.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=o(this.state),bt.batch(()=>{O(this,yn).forEach(i=>{i.onMutationUpdate(r)}),O(this,Qt).notify({mutation:this,type:"updated",action:r})})},Nh);function am(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Jn,Jr,Ul,$h,zv=($h=class extends As{constructor(r={}){super();Ie(this,Jn);Ie(this,Jr);Ie(this,Ul);this.config=r,he(this,Jn,new Set),he(this,Jr,new Map),he(this,Ul,0)}build(r,o,i){const a=new $v({mutationCache:this,mutationId:++$u(this,Ul)._,options:r.defaultMutationOptions(o),state:i});return this.add(a),a}add(r){O(this,Jn).add(r);const o=Wu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);i?i.push(r):O(this,Jr).set(o,[r])}this.notify({type:"added",mutation:r})}remove(r){if(O(this,Jn).delete(r)){const o=Wu(r);if(typeof o=="string"){const i=O(this,Jr).get(o);if(i)if(i.length>1){const a=i.indexOf(r);a!==-1&&i.splice(a,1)}else i[0]===r&&O(this,Jr).delete(o)}}this.notify({type:"removed",mutation:r})}canRun(r){const o=Wu(r);if(typeof o=="string"){const i=O(this,Jr).get(o),a=i==null?void 0:i.find(d=>d.state.status==="pending");return!a||a===r}else return!0}runNext(r){var i;const o=Wu(r);if(typeof o=="string"){const a=(i=O(this,Jr).get(o))==null?void 0:i.find(d=>d!==r&&d.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{O(this,Jn).forEach(r=>{this.notify({type:"removed",mutation:r})}),O(this,Jn).clear(),O(this,Jr).clear()})}getAll(){return Array.from(O(this,Jn))}find(r){const o={exact:!0,...r};return this.getAll().find(i=>Ap(o,i))}findAll(r={}){return this.getAll().filter(o=>Ap(r,o))}notify(r){bt.batch(()=>{this.listeners.forEach(o=>{o(r)})})}resumePausedMutations(){const r=this.getAll().filter(o=>o.state.isPaused);return bt.batch(()=>Promise.all(r.map(o=>o.continue().catch(qt))))}},Jn=new WeakMap,Jr=new WeakMap,Ul=new WeakMap,$h);function Wu(e){var r;return(r=e.options.scope)==null?void 0:r.id}function Fp(e){return{onFetch:(r,o)=>{var R,E,F,M,B;const i=r.options,a=(F=(E=(R=r.fetchOptions)==null?void 0:R.meta)==null?void 0:E.fetchMore)==null?void 0:F.direction,d=((M=r.state.data)==null?void 0:M.pages)||[],h=((B=r.state.data)==null?void 0:B.pageParams)||[];let v={pages:[],pageParams:[]},m=0;const x=async()=>{let D=!1;const P=U=>{Object.defineProperty(U,"signal",{enumerable:!0,get:()=>(r.signal.aborted?D=!0:r.signal.addEventListener("abort",()=>{D=!0}),r.signal)})},I=Zh(r.options,r.fetchOptions),W=async(U,q,_)=>{if(D)return Promise.reject();if(q==null&&U.pages.length)return Promise.resolve(U);const ie={client:r.client,queryKey:r.queryKey,pageParam:q,direction:_?"backward":"forward",meta:r.options.meta};P(ie);const ce=await I(ie),{maxPages:ee}=r.options,ae=_?Iv:Av;return{pages:ae(U.pages,ce,ee),pageParams:ae(U.pageParams,q,ee)}};if(a&&d.length){const U=a==="backward",q=U?Bv:Mp,_={pages:d,pageParams:h},ie=q(i,_);v=await W(_,ie,U)}else{const U=e??d.length;do{const q=m===0?h[0]??i.initialPageParam:Mp(i,v);if(m>0&&q==null)break;v=await W(v,q),m++}while(m<U)}return v};r.options.persister?r.fetchFn=()=>{var D,P;return(P=(D=r.options).persister)==null?void 0:P.call(D,x,{client:r.client,queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},o)}:r.fetchFn=x}}}function Mp(e,{pages:r,pageParams:o}){const i=r.length-1;return r.length>0?e.getNextPageParam(r[i],r,o[i],o):void 0}function Bv(e,{pages:r,pageParams:o}){var i;return r.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,r[0],r,o[0],o):void 0}var dt,Go,Qo,xs,ws,Xo,Ss,ks,zh,Uv=(zh=class{constructor(e={}){Ie(this,dt);Ie(this,Go);Ie(this,Qo);Ie(this,xs);Ie(this,ws);Ie(this,Xo);Ie(this,Ss);Ie(this,ks);he(this,dt,e.queryCache||new Nv),he(this,Go,e.mutationCache||new zv),he(this,Qo,e.defaultOptions||{}),he(this,xs,new Map),he(this,ws,new Map),he(this,Xo,0)}mount(){$u(this,Xo)._++,O(this,Xo)===1&&(he(this,Ss,Ud.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onFocus())})),he(this,ks,rc.subscribe(async e=>{e&&(await this.resumePausedMutations(),O(this,dt).onOnline())})))}unmount(){var e,r;$u(this,Xo)._--,O(this,Xo)===0&&((e=O(this,Ss))==null||e.call(this),he(this,Ss,void 0),(r=O(this,ks))==null||r.call(this),he(this,ks,void 0))}isFetching(e){return O(this,dt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return O(this,Go).findAll({...e,status:"pending"}).length}getQueryData(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state.data}ensureQueryData(e){const r=this.defaultQueryOptions(e),o=O(this,dt).build(this,r),i=o.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&o.isStaleByTime(cs(r.staleTime,o))&&this.prefetchQuery(r),Promise.resolve(i))}getQueriesData(e){return O(this,dt).findAll(e).map(({queryKey:r,state:o})=>{const i=o.data;return[r,i]})}setQueryData(e,r,o){const i=this.defaultQueryOptions({queryKey:e}),a=O(this,dt).get(i.queryHash),d=a==null?void 0:a.state.data,h=Rv(r,d);if(h!==void 0)return O(this,dt).build(this,i).setData(h,{...o,manual:!0})}setQueriesData(e,r,o){return bt.batch(()=>O(this,dt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,r,o)]))}getQueryState(e){var o;const r=this.defaultQueryOptions({queryKey:e});return(o=O(this,dt).get(r.queryHash))==null?void 0:o.state}removeQueries(e){const r=O(this,dt);bt.batch(()=>{r.findAll(e).forEach(o=>{r.remove(o)})})}resetQueries(e,r){const o=O(this,dt);return bt.batch(()=>(o.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},r)))}cancelQueries(e,r={}){const o={revert:!0,...r},i=bt.batch(()=>O(this,dt).findAll(e).map(a=>a.cancel(o)));return Promise.all(i).then(qt).catch(qt)}invalidateQueries(e,r={}){return bt.batch(()=>(O(this,dt).findAll(e).forEach(o=>{o.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"},r)))}refetchQueries(e,r={}){const o={...r,cancelRefetch:r.cancelRefetch??!0},i=bt.batch(()=>O(this,dt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let d=a.fetch(void 0,o);return o.throwOnError||(d=d.catch(qt)),a.state.fetchStatus==="paused"?Promise.resolve():d}));return Promise.all(i).then(qt)}fetchQuery(e){const r=this.defaultQueryOptions(e);r.retry===void 0&&(r.retry=!1);const o=O(this,dt).build(this,r);return o.isStaleByTime(cs(r.staleTime,o))?o.fetch(r):Promise.resolve(o.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=Fp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=Fp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return rc.isOnline()?O(this,Go).resumePausedMutations():Promise.resolve()}getQueryCache(){return O(this,dt)}getMutationCache(){return O(this,Go)}getDefaultOptions(){return O(this,Qo)}setDefaultOptions(e){he(this,Qo,e)}setQueryDefaults(e,r){O(this,xs).set(na(e),{queryKey:e,defaultOptions:r})}getQueryDefaults(e){const r=[...O(this,xs).values()],o={};return r.forEach(i=>{_l(e,i.queryKey)&&Object.assign(o,i.defaultOptions)}),o}setMutationDefaults(e,r){O(this,ws).set(na(e),{mutationKey:e,defaultOptions:r})}getMutationDefaults(e){const r=[...O(this,ws).values()],o={};return r.forEach(i=>{_l(e,i.mutationKey)&&Object.assign(o,i.defaultOptions)}),o}defaultQueryOptions(e){if(e._defaulted)return e;const r={...O(this,Qo).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return r.queryHash||(r.queryHash=Bd(r.queryKey,r)),r.refetchOnReconnect===void 0&&(r.refetchOnReconnect=r.networkMode!=="always"),r.throwOnError===void 0&&(r.throwOnError=!!r.suspense),!r.networkMode&&r.persister&&(r.networkMode="offlineFirst"),r.queryFn===tc&&(r.enabled=!1),r}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...O(this,Qo).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){O(this,dt).clear(),O(this,Go).clear()}},dt=new WeakMap,Go=new WeakMap,Qo=new WeakMap,xs=new WeakMap,ws=new WeakMap,Xo=new WeakMap,Ss=new WeakMap,ks=new WeakMap,zh),lr,Ve,Hl,Xt,Zi,Es,qo,Jo,Wl,Cs,Ts,ea,ta,Ko,Rs,Ze,Pl,ed,td,rd,nd,od,id,ad,sm,Bh,Hv=(Bh=class extends As{constructor(r,o){super();Ie(this,Ze);Ie(this,lr);Ie(this,Ve);Ie(this,Hl);Ie(this,Xt);Ie(this,Zi);Ie(this,Es);Ie(this,qo);Ie(this,Jo);Ie(this,Wl);Ie(this,Cs);Ie(this,Ts);Ie(this,ea);Ie(this,ta);Ie(this,Ko);Ie(this,Rs,new Set);this.options=o,he(this,lr,r),he(this,Jo,null),he(this,qo,Zf()),this.options.experimental_prefetchInRender||O(this,qo).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(o)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(O(this,Ve).addObserver(this),Dp(O(this,Ve),this.options)?ze(this,Ze,Pl).call(this):this.updateResult(),ze(this,Ze,nd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return sd(O(this,Ve),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return sd(O(this,Ve),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,ze(this,Ze,od).call(this),ze(this,Ze,id).call(this),O(this,Ve).removeObserver(this)}setOptions(r){const o=this.options,i=O(this,Ve);if(this.options=O(this,lr).defaultQueryOptions(r),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof Kr(this.options.enabled,O(this,Ve))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");ze(this,Ze,ad).call(this),O(this,Ve).setOptions(this.options),o._defaulted&&!ec(this.options,o)&&O(this,lr).getQueryCache().notify({type:"observerOptionsUpdated",query:O(this,Ve),observer:this});const a=this.hasListeners();a&&_p(O(this,Ve),i,this.options,o)&&ze(this,Ze,Pl).call(this),this.updateResult(),a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||cs(this.options.staleTime,O(this,Ve))!==cs(o.staleTime,O(this,Ve)))&&ze(this,Ze,ed).call(this);const d=ze(this,Ze,td).call(this);a&&(O(this,Ve)!==i||Kr(this.options.enabled,O(this,Ve))!==Kr(o.enabled,O(this,Ve))||d!==O(this,Ko))&&ze(this,Ze,rd).call(this,d)}getOptimisticResult(r){const o=O(this,lr).getQueryCache().build(O(this,lr),r),i=this.createResult(o,r);return Vv(this,i)&&(he(this,Xt,i),he(this,Es,this.options),he(this,Zi,O(this,Ve).state)),i}getCurrentResult(){return O(this,Xt)}trackResult(r,o){return new Proxy(r,{get:(i,a)=>(this.trackProp(a),o==null||o(a),Reflect.get(i,a))})}trackProp(r){O(this,Rs).add(r)}getCurrentQuery(){return O(this,Ve)}refetch({...r}={}){return this.fetch({...r})}fetchOptimistic(r){const o=O(this,lr).defaultQueryOptions(r),i=O(this,lr).getQueryCache().build(O(this,lr),o);return i.fetch().then(()=>this.createResult(i,o))}fetch(r){return ze(this,Ze,Pl).call(this,{...r,cancelRefetch:r.cancelRefetch??!0}).then(()=>(this.updateResult(),O(this,Xt)))}createResult(r,o){var ae;const i=O(this,Ve),a=this.options,d=O(this,Xt),h=O(this,Zi),v=O(this,Es),x=r!==i?r.state:O(this,Hl),{state:R}=r;let E={...R},F=!1,M;if(o._optimisticResults){const Fe=this.hasListeners(),Ne=!Fe&&Dp(r,o),_e=Fe&&_p(r,i,o,a);(Ne||_e)&&(E={...E,...im(R.data,r.options)}),o._optimisticResults==="isRestoring"&&(E.fetchStatus="idle")}let{error:B,errorUpdatedAt:D,status:P}=E;M=E.data;let I=!1;if(o.placeholderData!==void 0&&M===void 0&&P==="pending"){let Fe;d!=null&&d.isPlaceholderData&&o.placeholderData===(v==null?void 0:v.placeholderData)?(Fe=d.data,I=!0):Fe=typeof o.placeholderData=="function"?o.placeholderData((ae=O(this,Ts))==null?void 0:ae.state.data,O(this,Ts)):o.placeholderData,Fe!==void 0&&(P="success",M=Kf(d==null?void 0:d.data,Fe,o),F=!0)}if(o.select&&M!==void 0&&!I)if(d&&M===(h==null?void 0:h.data)&&o.select===O(this,Wl))M=O(this,Cs);else try{he(this,Wl,o.select),M=o.select(M),M=Kf(d==null?void 0:d.data,M,o),he(this,Cs,M),he(this,Jo,null)}catch(Fe){he(this,Jo,Fe)}O(this,Jo)&&(B=O(this,Jo),M=O(this,Cs),D=Date.now(),P="error");const W=E.fetchStatus==="fetching",U=P==="pending",q=P==="error",_=U&&W,ie=M!==void 0,ee={status:P,fetchStatus:E.fetchStatus,isPending:U,isSuccess:P==="success",isError:q,isInitialLoading:_,isLoading:_,data:M,dataUpdatedAt:E.dataUpdatedAt,error:B,errorUpdatedAt:D,failureCount:E.fetchFailureCount,failureReason:E.fetchFailureReason,errorUpdateCount:E.errorUpdateCount,isFetched:E.dataUpdateCount>0||E.errorUpdateCount>0,isFetchedAfterMount:E.dataUpdateCount>x.dataUpdateCount||E.errorUpdateCount>x.errorUpdateCount,isFetching:W,isRefetching:W&&!U,isLoadingError:q&&!ie,isPaused:E.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:q&&ie,isStale:Hd(r,o),refetch:this.refetch,promise:O(this,qo)};if(this.options.experimental_prefetchInRender){const Fe=Ge=>{ee.status==="error"?Ge.reject(ee.error):ee.data!==void 0&&Ge.resolve(ee.data)},Ne=()=>{const Ge=he(this,qo,ee.promise=Zf());Fe(Ge)},_e=O(this,qo);switch(_e.status){case"pending":r.queryHash===i.queryHash&&Fe(_e);break;case"fulfilled":(ee.status==="error"||ee.data!==_e.value)&&Ne();break;case"rejected":(ee.status!=="error"||ee.error!==_e.reason)&&Ne();break}}return ee}updateResult(){const r=O(this,Xt),o=this.createResult(O(this,Ve),this.options);if(he(this,Zi,O(this,Ve).state),he(this,Es,this.options),O(this,Zi).data!==void 0&&he(this,Ts,O(this,Ve)),ec(o,r))return;he(this,Xt,o);const i=()=>{if(!r)return!0;const{notifyOnChangeProps:a}=this.options,d=typeof a=="function"?a():a;if(d==="all"||!d&&!O(this,Rs).size)return!0;const h=new Set(d??O(this,Rs));return this.options.throwOnError&&h.add("error"),Object.keys(O(this,Xt)).some(v=>{const m=v;return O(this,Xt)[m]!==r[m]&&h.has(m)})};ze(this,Ze,sm).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&ze(this,Ze,nd).call(this)}},lr=new WeakMap,Ve=new WeakMap,Hl=new WeakMap,Xt=new WeakMap,Zi=new WeakMap,Es=new WeakMap,qo=new WeakMap,Jo=new WeakMap,Wl=new WeakMap,Cs=new WeakMap,Ts=new WeakMap,ea=new WeakMap,ta=new WeakMap,Ko=new WeakMap,Rs=new WeakMap,Ze=new WeakSet,Pl=function(r){ze(this,Ze,ad).call(this);let o=O(this,Ve).fetch(this.options,r);return r!=null&&r.throwOnError||(o=o.catch(qt)),o},ed=function(){ze(this,Ze,od).call(this);const r=cs(this.options.staleTime,O(this,Ve));if(ra||O(this,Xt).isStale||!Xf(r))return;const i=Kh(O(this,Xt).dataUpdatedAt,r)+1;he(this,ea,setTimeout(()=>{O(this,Xt).isStale||this.updateResult()},i))},td=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(O(this,Ve)):this.options.refetchInterval)??!1},rd=function(r){ze(this,Ze,id).call(this),he(this,Ko,r),!(ra||Kr(this.options.enabled,O(this,Ve))===!1||!Xf(O(this,Ko))||O(this,Ko)===0)&&he(this,ta,setInterval(()=>{(this.options.refetchIntervalInBackground||Ud.isFocused())&&ze(this,Ze,Pl).call(this)},O(this,Ko)))},nd=function(){ze(this,Ze,ed).call(this),ze(this,Ze,rd).call(this,ze(this,Ze,td).call(this))},od=function(){O(this,ea)&&(clearTimeout(O(this,ea)),he(this,ea,void 0))},id=function(){O(this,ta)&&(clearInterval(O(this,ta)),he(this,ta,void 0))},ad=function(){const r=O(this,lr).getQueryCache().build(O(this,lr),this.options);if(r===O(this,Ve))return;const o=O(this,Ve);he(this,Ve,r),he(this,Hl,r.state),this.hasListeners()&&(o==null||o.removeObserver(this),r.addObserver(this))},sm=function(r){bt.batch(()=>{r.listeners&&this.listeners.forEach(o=>{o(O(this,Xt))}),O(this,lr).getQueryCache().notify({query:O(this,Ve),type:"observerResultsUpdated"})})},Bh);function Wv(e,r){return Kr(r.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&r.retryOnMount===!1)}function Dp(e,r){return Wv(e,r)||e.state.data!==void 0&&sd(e,r,r.refetchOnMount)}function sd(e,r,o){if(Kr(r.enabled,e)!==!1){const i=typeof o=="function"?o(e):o;return i==="always"||i!==!1&&Hd(e,r)}return!1}function _p(e,r,o,i){return(e!==r||Kr(i.enabled,e)===!1)&&(!o.suspense||e.state.status!=="error")&&Hd(e,o)}function Hd(e,r){return Kr(r.enabled,e)!==!1&&e.isStaleByTime(cs(r.staleTime,e))}function Vv(e,r){return!ec(e.getCurrentResult(),r)}var Zo,ei,ur,Kn,eo,qu,ld,Uh,Yv=(Uh=class extends As{constructor(o,i){super();Ie(this,eo);Ie(this,Zo);Ie(this,ei);Ie(this,ur);Ie(this,Kn);he(this,Zo,o),this.setOptions(i),this.bindMethods(),ze(this,eo,qu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(o){var a;const i=this.options;this.options=O(this,Zo).defaultMutationOptions(o),ec(this.options,i)||O(this,Zo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:O(this,ur),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&na(i.mutationKey)!==na(this.options.mutationKey)?this.reset():((a=O(this,ur))==null?void 0:a.state.status)==="pending"&&O(this,ur).setOptions(this.options)}onUnsubscribe(){var o;this.hasListeners()||(o=O(this,ur))==null||o.removeObserver(this)}onMutationUpdate(o){ze(this,eo,qu).call(this),ze(this,eo,ld).call(this,o)}getCurrentResult(){return O(this,ei)}reset(){var o;(o=O(this,ur))==null||o.removeObserver(this),he(this,ur,void 0),ze(this,eo,qu).call(this),ze(this,eo,ld).call(this)}mutate(o,i){var a;return he(this,Kn,i),(a=O(this,ur))==null||a.removeObserver(this),he(this,ur,O(this,Zo).getMutationCache().build(O(this,Zo),this.options)),O(this,ur).addObserver(this),O(this,ur).execute(o)}},Zo=new WeakMap,ei=new WeakMap,ur=new WeakMap,Kn=new WeakMap,eo=new WeakSet,qu=function(){var i;const o=((i=O(this,ur))==null?void 0:i.state)??am();he(this,ei,{...o,isPending:o.status==="pending",isSuccess:o.status==="success",isError:o.status==="error",isIdle:o.status==="idle",mutate:this.mutate,reset:this.reset})},ld=function(o){bt.batch(()=>{var i,a,d,h,v,m,x,R;if(O(this,Kn)&&this.hasListeners()){const E=O(this,ei).variables,F=O(this,ei).context;(o==null?void 0:o.type)==="success"?((a=(i=O(this,Kn)).onSuccess)==null||a.call(i,o.data,E,F),(h=(d=O(this,Kn)).onSettled)==null||h.call(d,o.data,null,E,F)):(o==null?void 0:o.type)==="error"&&((m=(v=O(this,Kn)).onError)==null||m.call(v,o.error,E,F),(R=(x=O(this,Kn)).onSettled)==null||R.call(x,void 0,o.error,E,F))}this.listeners.forEach(E=>{E(O(this,ei))})})},Uh),lm=de.createContext(void 0),um=e=>{const r=de.useContext(lm);if(e)return e;if(!r)throw new Error("No QueryClient set, use QueryClientProvider to set one");return r},Gv=({client:e,children:r})=>(de.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),Y.jsx(lm.Provider,{value:e,children:r})),cm=de.createContext(!1),Qv=()=>de.useContext(cm);cm.Provider;function Xv(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var qv=de.createContext(Xv()),Jv=()=>de.useContext(qv),Kv=(e,r)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(r.isReset()||(e.retryOnMount=!1))},Zv=e=>{de.useEffect(()=>{e.clearReset()},[e])},ey=({result:e,errorResetBoundary:r,throwOnError:o,query:i,suspense:a})=>e.isError&&!r.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||em(o,[e.error,i])),ty=e=>{const r=e.staleTime;e.suspense&&(e.staleTime=typeof r=="function"?(...o)=>Math.max(r(...o),1e3):Math.max(r??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},ry=(e,r)=>e.isLoading&&e.isFetching&&!r,ny=(e,r)=>(e==null?void 0:e.suspense)&&r.isPending,Lp=(e,r,o)=>r.fetchOptimistic(e).catch(()=>{o.clearReset()});function oy(e,r,o){var E,F,M,B,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=um(o),a=Qv(),d=Jv(),h=i.defaultQueryOptions(e);(F=(E=i.getDefaultOptions().queries)==null?void 0:E._experimental_beforeQuery)==null||F.call(E,h),process.env.NODE_ENV!=="production"&&(h.queryFn||console.error(`[${h.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`)),h._optimisticResults=a?"isRestoring":"optimistic",ty(h),Kv(h,d),Zv(d);const v=!i.getQueryCache().get(h.queryHash),[m]=de.useState(()=>new r(i,h)),x=m.getOptimisticResult(h),R=!a&&e.subscribed!==!1;if(de.useSyncExternalStore(de.useCallback(P=>{const I=R?m.subscribe(bt.batchCalls(P)):qt;return m.updateResult(),I},[m,R]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),de.useEffect(()=>{m.setOptions(h)},[h,m]),ny(h,x))throw Lp(h,m,d);if(ey({result:x,errorResetBoundary:d,throwOnError:h.throwOnError,query:i.getQueryCache().get(h.queryHash),suspense:h.suspense}))throw x.error;if((B=(M=i.getDefaultOptions().queries)==null?void 0:M._experimental_afterQuery)==null||B.call(M,h,x),h.experimental_prefetchInRender&&!ra&&ry(x,a)){const P=v?Lp(h,m,d):(D=i.getQueryCache().get(h.queryHash))==null?void 0:D.promise;P==null||P.catch(qt).finally(()=>{m.updateResult()})}return h.notifyOnChangeProps?x:m.trackResult(x)}function Wd(e,r){return oy(e,Hv,r)}function fm(e,r){const o=um(r),[i]=de.useState(()=>new Yv(o,e));de.useEffect(()=>{i.setOptions(e)},[i,e]);const a=de.useSyncExternalStore(de.useCallback(h=>i.subscribe(bt.batchCalls(h)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),d=de.useCallback((h,v)=>{i.mutate(h,v).catch(qt)},[i]);if(a.error&&em(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:d,mutateAsync:a.mutate}}const Vd=V.createContext(null);Vd.Provider;const Is=()=>V.useContext(Vd),dm=({children:e})=>{const[r]=V.useState(new Uv);return Y.jsx(Vd.Provider,{value:{queryClient:r},children:Y.jsx(Gv,{client:r,children:e})})},ut={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},pm="https://marketplace.confidence.com/api",Yl=pm+"/confidence",jp=pm+"/dropbox/prod",iy=async e=>{const r={taskInstanceId:e},o=new Headers;return o.append("Content-Type","application/json"),await(await fetch(`${Yl}/playbook-task-complete`,{method:"POST",headers:o,body:JSON.stringify(r)})).json()},ay=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>iy(i)},e);return{completeTask:async i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...r}},sy=async e=>{const r={taskInstanceId:e},o=new Headers;return o.append("Content-Type","application/json"),await(await fetch(`${Yl}/playbook-task-start`,{method:"POST",headers:o,body:JSON.stringify(r)})).json()},ly=()=>{const{queryClient:e}=Is(),r=fm({mutationFn:async i=>await sy(i)},e);return{startTask:i=>r.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...r}},hm=(e,r)=>{const{queryClient:o}=Is(),i=Wd({initialData:{},queryFn:()=>o.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=v=>{var m;return((m=i.data)==null?void 0:m[v.toString()])??!1},d=(v,m)=>{var x;o.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[v]:m!==void 0?m:!a(v)})),(x=r==null?void 0:r.onTaskExpanded)==null||x.call(r,v,a(v))},h=V.useMemo(()=>Object.values(i.data??{}).some(v=>v),[i.data]);return{isTaskExpanded:a,toggleTaskExpanded:d,isAtLeastOneTaskExpanded:h}},uy=(e,r)=>{const{queryClient:o}=Is(),{completeTask:i}=ay(),{startTask:a}=ly(),{toggleTaskExpanded:d}=hm(e);return{completeTask:async(m,x)=>{const{status:R}=await i(m.toString());R&&(d(m,!1),o.setQueryData(["playbook",+e],E=>{if(!E)return E;const F=E.tasks.map(M=>M.sequenceOrder===x+1&&r.quickComplete?{...M,workflowStatus:ut.IN_PROGRESS}:M.taskInstanceId===m?{...M,workflowStatus:R}:M);return{...E,tasks:F}}))},startTask:async m=>{const{status:x}=await a(m.toString());x&&(d(m,!0),o.setQueryData(["playbook",+e],R=>{if(!R)return R;const E=R.tasks.map(F=>F.taskInstanceId===m?{...F,workflowStatus:x}:F);return{...R,tasks:E}}))}}},cy=e=>{var a;const{queryClient:r}=Is(),o=Wd({queryFn:async()=>{const d=new Headers,h=await fetch(`${Yl}/playbook-details`,{method:"POST",cache:"no-store",headers:d,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!h.ok)throw new Error("Network response was not ok");const v=await h.json();if(v.error)throw new Error(v.error);return v},queryKey:["playbook",+e]},r),i=uy(e,{quickComplete:(a=o.data)==null?void 0:a.quickComplete});return{playbook:o.data,isLoading:o.isLoading,error:o.error,actions:i}},Il={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},fy={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},dy=e=>{const{taskStatus:r,canStart:o}=e;return{buttons:V.useMemo(()=>r===ut.OPEN&&o?[Il.START]:r===ut.IN_PROGRESS?[Il.PAUSE,Il.COMPLETE]:r===ut.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},mm=async e=>{const r=new Headers;return r.append("Content-Type","application/json"),await(await fetch(`${Yl}/playbook-initiate`,{method:"POST",headers:r,body:JSON.stringify(e)})).json()},fc='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{.confidence-playbook *{--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}.confidence-playbook{display:unset!important;color:#1c232d!important}@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 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 components;@layer utilities{.pointer-events-none{pointer-events:none!important}.absolute{position:absolute!important}.fixed{position:fixed!important}.relative{position:relative!important}.sticky{position:sticky!important}.inset-0{inset:calc(var(--spacing)*0)!important}.top-0{top:calc(var(--spacing)*0)!important}.top-3{top:calc(var(--spacing)*3)!important}.bottom-0{bottom:calc(var(--spacing)*0)!important}.z-2{z-index:2!important}.z-50{z-index:50!important}.z-\\[99999999999999\\]{z-index:2147483647!important}.container{width:100%!important}@media (min-width:40rem){.container{max-width:40rem!important}}@media (min-width:48rem){.container{max-width:48rem!important}}@media (min-width:64rem){.container{max-width:64rem!important}}@media (min-width:80rem){.container{max-width:80rem!important}}@media (min-width:96rem){.container{max-width:96rem!important}}.mx-1{margin-inline:calc(var(--spacing)*1)!important}.mx-4{margin-inline:calc(var(--spacing)*4)!important}.-mt-\\[1px\\]{margin-top:-1px!important}.mt-3{margin-top:calc(var(--spacing)*3)!important}.-mb-3{margin-bottom:calc(var(--spacing)*-3)!important}.mb-4{margin-bottom:calc(var(--spacing)*4)!important}.ml-2{margin-left:calc(var(--spacing)*2)!important}.block{display:block!important}.flex{display:flex!important}.hidden{display:none!important}.size-4{width:calc(var(--spacing)*4)!important;height:calc(var(--spacing)*4)!important}.size-9{width:calc(var(--spacing)*9)!important;height:calc(var(--spacing)*9)!important}.h-\\[18px\\]{height:18px!important}.h-\\[22px\\]{height:22px!important}.h-\\[24px\\]{height:24px!important}.h-\\[30px\\]{height:30px!important}.h-\\[38px\\]{height:38px!important}.h-\\[40px\\]{height:40px!important}.h-full{height:100%!important}.min-h-16{min-height:calc(var(--spacing)*16)!important}.min-h-screen{min-height:100vh!important}.w-\\[27px\\]{width:27px!important}.w-\\[38px\\]{width:38px!important}.w-\\[400px\\]{width:400px!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.max-w-lg{max-width:var(--container-lg)!important}.max-w-md{max-width:var(--container-md)!important}.min-w-\\[106px\\]{min-width:106px!important}.min-w-\\[140px\\]{min-width:140px!important}.min-w-\\[160px\\]{min-width:160px!important}.min-w-\\[172px\\]{min-width:172px!important}.min-w-fit{min-width:fit-content!important}.flex-1{flex:1!important}.rotate-180{rotate:180deg!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.items-stretch{align-items:stretch!important}.justify-center{justify-content:center!important}.justify-end{justify-content:flex-end!important}.gap-1{gap:calc(var(--spacing)*1)!important}.gap-2{gap:calc(var(--spacing)*2)!important}.gap-3{gap:calc(var(--spacing)*3)!important}.gap-4{gap:calc(var(--spacing)*4)!important}:where(.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(.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(.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(.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(.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(.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(.divide-gray-100>:not(:last-child)){border-color:#ebedef!important}.self-end{align-self:flex-end!important}.truncate{text-overflow:ellipsis!important;white-space:nowrap!important;overflow:hidden!important}.overflow-hidden{overflow:hidden!important}.overflow-x-hidden{overflow-x:hidden!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:var(--radius-lg)!important}.rounded-md{border-radius:var(--radius-md)!important}.rounded-sm{border-radius:var(--radius-sm)!important}.rounded-t-sm{border-top-left-radius:var(--radius-sm)!important;border-top-right-radius:var(--radius-sm)!important}.rounded-l-sm{border-top-left-radius:var(--radius-sm)!important;border-bottom-left-radius:var(--radius-sm)!important}.rounded-b-md{border-bottom-right-radius:var(--radius-md)!important;border-bottom-left-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style)!important;border-width:1px!important}.border-t{border-top-style:var(--tw-border-style)!important;border-top-width:1px!important}.border-b{border-bottom-style:var(--tw-border-style)!important;border-bottom-width:1px!important}.border-none{--tw-border-style:none!important;border-style:none!important}.border-\\[\\#94C8FF\\]{border-color:#94c8ff!important}.border-\\[\\#A5DAB1\\]{border-color:#a5dab1!important}.border-\\[\\#C1C5C8\\]{border-color:#c1c5c8!important}.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}.border-danger-500{border-color:#dc3545!important}.border-gray-50{border-color:#f5f6f7!important}.border-gray-100{border-color:#ebedef!important}.border-gray-200{border-color:#ced1d6!important}.border-gray-300{border-color:#b0b5bd!important}.border-gray-400{border-color:#757e8c!important}.border-gray-700{border-color:#2c3544!important}.border-gray-800{border-color:#232b37!important}.border-info-500{border-color:#17a2b8!important}.border-orange-500{border-color:#ff7800!important}.border-primary-600{border-color:#0069d9!important}.border-purple-500{border-color:#a855f7!important}.border-red-500{border-color:var(--color-red-500)!important}.border-secondary-500{border-color:#6c757d!important}.border-secondary-600{border-color:#5a6268!important}.border-steel-500{border-color:#556987!important}.border-success-600{border-color:#218838!important}.border-warning-500{border-color:#ffc107!important}.border-white{border-color:#fff!important}.bg-\\[\\#E6F2FF\\]{background-color:#e6f2ff!important}.bg-\\[\\#EAF6EC\\]{background-color:#eaf6ec!important}.bg-\\[\\#F0F1F2\\]{background-color:#f0f1f2!important}.bg-\\[\\#FFE600\\]{background-color:#ffe600!important}.bg-black\\/30{background-color:oklab(0% none none/.3)!important}.bg-danger-500{background-color:#dc3545!important}.bg-dark{background-color:#1c232d!important}.bg-fiserv-orange-500{background-color:#f60!important}.bg-gray-50{background-color:#f5f6f7!important}.bg-gray-100{background-color:#ebedef!important}.bg-gray-400{background-color:#757e8c!important}.bg-gray-500{background-color:#3a475b!important}.bg-gray-800{background-color:#232b37!important}.bg-gray-900{background-color:#1c232d!important}.bg-info-500{background-color:#17a2b8!important}.bg-orange-500{background-color:#ff7800!important}.bg-primary-600{background-color:#0069d9!important}.bg-primary-800{background-color:#0054af!important}.bg-purple-500{background-color:#a855f7!important}.bg-secondary-500{background-color:#6c757d!important}.bg-steel-500{background-color:#556987!important}.bg-success-500{background-color:#28a745!important}.bg-success-600{background-color:#218838!important}.bg-warning-500{background-color:#ffc107!important}.bg-white{background-color:#fff!important}.bg-yellow{background-color:#ffe600!important}.object-contain{object-fit:contain!important}.p-1{padding:calc(var(--spacing)*1)!important}.p-2{padding:calc(var(--spacing)*2)!important}.p-4{padding:calc(var(--spacing)*4)!important}.px-1{padding-inline:calc(var(--spacing)*1)!important}.px-2{padding-inline:calc(var(--spacing)*2)!important}.px-3{padding-inline:calc(var(--spacing)*3)!important}.px-4{padding-inline:calc(var(--spacing)*4)!important}.px-\\[2px\\]{padding-inline:2px!important}.py-1{padding-block:calc(var(--spacing)*1)!important}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)!important}.pt-2{padding-top:calc(var(--spacing)*2)!important}.pr-2{padding-right:calc(var(--spacing)*2)!important}.pb-1{padding-bottom:calc(var(--spacing)*1)!important}.pb-2{padding-bottom:calc(var(--spacing)*2)!important}.text-center{text-align:center!important}.text-2xl{font-size:var(--text-2xl)!important;line-height:var(--tw-leading,var(--text-2xl--line-height))!important}.text-base{font-size:var(--text-base)!important;line-height:var(--tw-leading,var(--text-base--line-height))!important}.text-lg{font-size:var(--text-lg)!important;line-height:var(--tw-leading,var(--text-lg--line-height))!important}.text-sm{font-size:var(--text-sm)!important;line-height:var(--tw-leading,var(--text-sm--line-height))!important}.text-sm\\/6{font-size:var(--text-sm)!important;line-height:calc(var(--spacing)*6)!important}.text-xl{font-size:var(--text-xl)!important;line-height:var(--tw-leading,var(--text-xl--line-height))!important}.text-xs{font-size:var(--text-xs)!important;line-height:var(--tw-leading,var(--text-xs--line-height))!important}.leading-\\[18px\\]{--tw-leading:18px!important;line-height:18px!important}.leading-\\[22px\\]{--tw-leading:22px!important;line-height:22px!important}.leading-\\[24px\\]{--tw-leading:24px!important;line-height:24px!important}.font-bold{--tw-font-weight:var(--font-weight-bold)!important;font-weight:var(--font-weight-bold)!important}.font-medium{--tw-font-weight:var(--font-weight-medium)!important;font-weight:var(--font-weight-medium)!important}.font-normal{--tw-font-weight:var(--font-weight-normal)!important;font-weight:var(--font-weight-normal)!important}.whitespace-nowrap{white-space:nowrap!important}.text-\\[\\#0069D9\\]{color:#0069d9!important}.text-black{color:#000!important}.text-danger-500{color:#dc3545!important}.text-dark{color:#1c232d!important}.text-dark-300{color:#343a40!important}.text-fiserv-orange-500{color:#f60!important}.text-gray-50{color:#f5f6f7!important}.text-gray-200{color:#ced1d6!important}.text-gray-400{color:#757e8c!important}.text-gray-500{color:#3a475b!important}.text-gray-700{color:#2c3544!important}.text-gray-800{color:#232b37!important}.text-gray-900{color:#1c232d!important}.text-info-500{color:#17a2b8!important}.text-orange-500{color:#ff7800!important}.text-primary-600{color:#0069d9!important}.text-purple-500{color:#a855f7!important}.text-secondary{color:#6c757d!important}.text-secondary-400{color:#899197!important}.text-secondary-500{color:#6c757d!important}.text-secondary-600{color:#5a6268!important}.text-steel-500{color:#556987!important}.text-success-500{color:#28a745!important}.text-success-600{color:#218838!important}.text-warning-500{color:#ffc107!important}.text-white{color:#fff!important}.text-yellow{color:#ffe600!important}.uppercase{text-transform:uppercase!important}.line-through{text-decoration-line:line-through!important}.shadow{--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}.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}.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}.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}.shadow-dark\\/50{--tw-shadow-color:#1c232d80!important}@supports (color:color-mix(in lab,red,red)){.shadow-dark\\/50{--tw-shadow-color:color-mix(in oklab,oklab(25.3864% -.0047446 -.0210213/.5) var(--tw-shadow-alpha),transparent)!important}}.outline{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.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}.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}.duration-300{--tw-duration:.3s!important;transition-duration:.3s!important}.ease-in-out{--tw-ease:var(--ease-in-out)!important;transition-timing-function:var(--ease-in-out)!important}.ease-out{--tw-ease:var(--ease-out)!important;transition-timing-function:var(--ease-out)!important}.\\[writing-mode\\:vertical-lr\\]{writing-mode:vertical-lr!important}@media (hover:hover){.hover\\:bg-danger-500:hover{background-color:#dc3545!important}.hover\\:bg-dark:hover{background-color:#1c232d!important}.hover\\:bg-fiserv-orange-500:hover{background-color:#f60!important}.hover\\:bg-gray-50:hover{background-color:#f5f6f7!important}.hover\\:bg-gray-100:hover{background-color:#ebedef!important}.hover\\:bg-gray-400:hover{background-color:#757e8c!important}.hover\\:bg-gray-500:hover{background-color:#3a475b!important}.hover\\:bg-gray-800:hover{background-color:#232b37!important}.hover\\:bg-gray-900:hover{background-color:#1c232d!important}.hover\\:bg-info-500:hover{background-color:#17a2b8!important}.hover\\:bg-orange-500:hover{background-color:#ff7800!important}.hover\\:bg-primary-800:hover{background-color:#0054af!important}.hover\\:bg-purple-500:hover{background-color:#a855f7!important}.hover\\:bg-secondary-500:hover{background-color:#6c757d!important}.hover\\:bg-steel-500:hover{background-color:#556987!important}.hover\\:bg-success-500:hover{background-color:#28a745!important}.hover\\:bg-warning-500:hover{background-color:#ffc107!important}.hover\\:bg-yellow:hover{background-color:#ffe600!important}.hover\\:text-black:hover{color:#000!important}.hover\\:text-danger-800:hover{color:#aa1927!important}.hover\\:text-dark:hover{color:#1c232d!important}.hover\\:text-fiserv-orange-800:hover{color:#bf4c00!important}.hover\\:text-gray-400:hover{color:#757e8c!important}.hover\\:text-gray-700:hover{color:#2c3544!important}.hover\\:text-gray-800:hover{color:#232b37!important}.hover\\:text-gray-900:hover{color:#1c232d!important}.hover\\:text-info-800:hover{color:#026777!important}.hover\\:text-orange-800:hover{color:#c75d00!important}.hover\\:text-primary-800:hover{color:#0054af!important}.hover\\:text-purple-800:hover{color:#6f33a7!important}.hover\\:text-secondary-800:hover{color:#444a50!important}.hover\\:text-steel-800:hover{color:#333f51!important}.hover\\:text-success-800:hover{color:#106c25!important}.hover\\:text-warning-800:hover{color:#b87708!important}.hover\\:text-white:hover{color:#fff!important}.hover\\:text-yellow:hover{color:#ffe600!important}}.focus\\:border-red-500:focus{border-color:var(--color-red-500)!important}.focus\\:outline:focus{outline-style:var(--tw-outline-style)!important;outline-width:1px!important}.focus\\:outline-3:focus{outline-style:var(--tw-outline-style)!important;outline-width:3px!important}.focus\\:outline-primary-500\\/\\[\\.3\\]:focus{outline-color:#007bff4d!important}.active\\:bg-gray-50:active{background-color:#f5f6f7!important}.active\\:bg-gray-800:active{background-color:#232b37!important}.active\\:text-black:active{color:#000!important}.active\\:text-white:active{color:#fff!important}.disabled\\:pointer-events-none:disabled{pointer-events:none!important}.disabled\\:opacity-15:disabled{opacity:.15!important}.data-closed\\:opacity-0[data-closed]{opacity:0!important}.data-focus\\:-outline-offset-2[data-focus]{outline-offset:-2px!important}.data-focus\\:outline-primary-500[data-focus]{outline-color:#007bff!important}@media (min-width:48rem){.md\\:min-w-fit{min-width:fit-content!important}}}.lexical-view-mode{word-break:break-word!important;color:#1c232d!important;width:100%!important}.lexical-view-mode ul{list-style:revert!important}.editable .lexical-view-mode:hover{cursor:text!important;background-color:#00000012!important;border-radius:1px!important;outline:4px solid #00000012!important}.lexical-view-mode .Collapsible__container{width:fit-content!important}.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}.lexical-view-mode .Collapsible__title:hover{color:#0069d9!important}.lexical-view-mode .Collapsible__title:hover .editor-paragraph{text-decoration:underline!important}.lexical-view-mode .Collapsible__title::marker{display:none!important}.lexical-view-mode .Collapsible__title::-webkit-details-marker{display:none!important}.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}.lexical-view-mode .Collapsible__title:hover:before{color:#0069d9!important;border:3px solid #fff!important;margin-left:-3px!important;margin-right:1px!important}.lexical-view-mode hr{border:none!important;margin:5px 0!important;padding:3px 0!important}.lexical-view-mode hr:after{content:""!important;background-color:#0000001a!important;height:2px!important;line-height:2px!important;display:block!important}.lexical-view-mode .editor-line-spacer{background:0 0!important;border:1px dashed #0000!important;line-height:6px!important}.lexical-view-mode .other h2{margin-bottom:7px;color:#444!important;font-size:18px!important}.lexical-view-mode .other a{font-size:14px;color:#777!important;text-decoration:underline!important}.lexical-view-mode .other ul{list-style-type:none;margin:0!important;padding:0!important}.lexical-view-mode .ltr{text-align:left}.lexical-view-mode .rtl{text-align:right}.lexical-view-mode .editor-shell{color:#1c232d!important;border-radius:4px!important;width:100%!important;font-weight:400!important;position:relative!important}.lexical-view-mode .editor{position:relative;background:#fff!important}.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}.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}.lexical-view-mode .editor-text-bold,.lexical-view-mode strong{font-weight:700!important}.lexical-view-mode .editor-text-italic{font-style:italic}.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}.lexical-view-mode .editor-link{word-break:break-word;color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode .editor-link:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .editor-code,.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}.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}.lexical-view-mode pre{white-space:pre-wrap!important;padding-left:8px!important}.lexical-view-mode pre:before{border-right:0!important;width:100%!important;height:23px!important}.lexical-view-mode .editor-code:after,.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}.lexical-view-mode .editor-tokenComment{color:#708090}.lexical-view-mode .editor-tokenPunctuation{color:#999}.lexical-view-mode .editor-tokenProperty{color:#905}.lexical-view-mode .editor-tokenSelector{color:#690}.lexical-view-mode .editor-tokenOperator{color:#9a6e3a}.lexical-view-mode .editor-tokenAttr{color:#07a}.lexical-view-mode .editor-tokenVariable{color:#e90}.lexical-view-mode .editor-tokenFunction{color:#dd4a68}.lexical-view-mode .editor-paragraph,.lexical-view-mode p{word-break:break-word;margin:0 0 .3rem!important;padding:0!important}.lexical-view-mode .editor-paragraph:last-child{margin-bottom:0}.lexical-view-mode .editor-heading-h1,.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}.lexical-view-mode .editor-heading-h2:first-child,.lexical-view-mode .editor-heading-h1:first-child,.lexical-view-mode h2:first-child,.lexical-view-mode h1:first-child{margin-top:0}.lexical-view-mode .editor-heading-h2,.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}.lexical-view-mode .editor-list-ol,.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}.lexical-view-mode li ol{margin:0 0 0 20px!important}.lexical-view-mode .editor-list-ol2,.lexical-view-mode .editor-list-ol3,.lexical-view-mode .editor-list-ol4,.lexical-view-mode .editor-list-ol5,.lexical-view-mode .editor-list-ol6,.lexical-view-mode .editor-list-ol7{list-style-position:outside;padding:0!important}.lexical-view-mode .editor-list-ol2{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol3{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol4{list-style-type:decimal}.lexical-view-mode .editor-list-ol5{list-style-type:lower-alpha}.lexical-view-mode .editor-list-ol6{list-style-type:lower-roman}.lexical-view-mode .editor-list-ol7{list-style-type:decimal}.lexical-view-mode .editor-list-ul,.lexical-view-mode ul{margin-bottom:.3rem;margin:0 0 0 15px!important;padding:0 0 0 5px!important;list-style-position:outside!important}.lexical-view-mode li ul{margin:0 0 0 15px!important;padding:0 0 0 3px!important}.lexical-view-mode .editor-list-item{padding-left:0;vertical-align:top!important;margin-bottom:12px!important;line-height:1.3!important}.lexical-view-mode .editor-nested-list-item{list-style-type:none}.lexical-view-mode code{color:inherit!important;word-wrap:break-word!important;white-space:break-spaces!important}.lexical-view-mode a>code{color:inherit}.lexical-view-mode pre::-webkit-scrollbar{width:10px;background:0 0!important}.lexical-view-mode pre::-webkit-scrollbar-thumb{background:#999}.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}.lexical-view-mode img:hover,.lexical-view-mode img:focus{outline:3px solid #007bff4d}.lexical-view-mode iframe{background:#000!important;border:1px solid #ccc!important;width:fit-content!important;max-width:100%!important;height:fit-content!important}.lexical-view-mode .ql-align-left{text-align:left!important}.lexical-view-mode .ql-align-right{text-align:right!important}.lexical-view-mode .ql-align-center{text-align:center!important}.lexical-view-mode .ql-align-justify{text-align:justify!important}.lexical-view-mode .ql-size-small{font-size:.75em!important}.lexical-view-mode p>a,.lexical-view-mode li>a{color:#007bff!important;cursor:pointer!important;background-color:#0000!important;text-decoration:underline!important}.lexical-view-mode p>a:hover,.lexical-view-mode li>a:hover{color:#0062cc!important;text-decoration:underline!important}.lexical-view-mode .ql-size-large{font-size:1.25rem!important}.lexical-view-mode .ql-indent-1{margin-left:20px!important}.lexical-view-mode .ql-indent-2{margin-left:40px!important}.lexical-view-mode .ql-indent-3{margin-left:60px!important}.lexical-view-mode .ql-indent-4{margin-left:80px!important}.lexical-view-mode .ql-indent-5{margin-left:100px!important}.lexical-view-mode .ql-indent-6{margin-left:120px!important}.lexical-view-mode .ql-indent-7{margin-left:140px!important}.lexical-view-mode .ql-indent-8{margin-left:160px!important}.lexical-view-mode ol li.ql-indent-1,.lexical-view-mode ol li.ql-indent-2,.lexical-view-mode ol li.ql-indent-3,.lexical-view-mode ol li.ql-indent-4,.lexical-view-mode ol li.ql-indent-5,.lexical-view-mode ol li.ql-indent-6,.lexical-view-mode ol li.ql-indent-7,.lexical-view-mode ol li.ql-indent-8,.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-6,.lexical-view-mode ul li.ql-indent-7,.lexical-view-mode ul li.ql-indent-8{margin-bottom:.3em!important}.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}.lexical-view-mode ol li.ql-indent-1::marker{display:none}.lexical-view-mode ol li.ql-indent-1:before{content:counter(list-1,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-2::marker{display:none}.lexical-view-mode ol li.ql-indent-2:before{content:counter(list-2,lower-roman)". "!important}.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}.lexical-view-mode ol li.ql-indent-3::marker{display:none}.lexical-view-mode ol li.ql-indent-3:before{content:counter(list-3,decimal)". "!important}.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}.lexical-view-mode ol li.ql-indent-4::marker{display:none}.lexical-view-mode ol li.ql-indent-4:before{content:counter(list-4,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-5::marker{display:none}.lexical-view-mode ol li.ql-indent-5:before{content:counter(list-5,lower-roman)". "!important}.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}.lexical-view-mode ol li.ql-indent-6::marker{display:none}.lexical-view-mode ol li.ql-indent-6:before{content:counter(list-6,decimal)". "!important}.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}.lexical-view-mode ol li.ql-indent-7::marker{display:none}.lexical-view-mode ol li.ql-indent-7:before{content:counter(list-7,lower-alpha)". "!important}.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}.lexical-view-mode ol li.ql-indent-8::marker{display:none}.lexical-view-mode ol li.ql-indent-8:before{content:counter(list-8,lower-roman)". "!important}.lexical-view-mode ul li.ql-indent-3,.lexical-view-mode ul li.ql-indent-6{list-style-type:disc}.lexical-view-mode ul li.ql-indent-1,.lexical-view-mode ul li.ql-indent-4,.lexical-view-mode ul li.ql-indent-7{list-style-type:circle}.lexical-view-mode ul li.ql-indent-2,.lexical-view-mode ul li.ql-indent-5,.lexical-view-mode ul li.ql-indent-8{list-style-type:square}@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}',Yd="-",py=e=>{const r=my(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:h=>{const v=h.split(Yd);return v[0]===""&&v.length!==1&&v.shift(),gm(v,r)||hy(h)},getConflictingClassGroupIds:(h,v)=>{const m=o[h]||[];return v&&i[h]?[...m,...i[h]]:m}}},gm=(e,r)=>{var h;if(e.length===0)return r.classGroupId;const o=e[0],i=r.nextPart.get(o),a=i?gm(e.slice(1),i):void 0;if(a)return a;if(r.validators.length===0)return;const d=e.join(Yd);return(h=r.validators.find(({validator:v})=>v(d)))==null?void 0:h.classGroupId},Np=/^\[(.+)\]$/,hy=e=>{if(Np.test(e)){const r=Np.exec(e)[1],o=r==null?void 0:r.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},my=e=>{const{theme:r,classGroups:o}=e,i={nextPart:new Map,validators:[]};for(const a in o)ud(o[a],i,a,r);return i},ud=(e,r,o,i)=>{e.forEach(a=>{if(typeof a=="string"){const d=a===""?r:$p(r,a);d.classGroupId=o;return}if(typeof a=="function"){if(gy(a)){ud(a(i),r,o,i);return}r.validators.push({validator:a,classGroupId:o});return}Object.entries(a).forEach(([d,h])=>{ud(h,$p(r,d),o,i)})})},$p=(e,r)=>{let o=e;return r.split(Yd).forEach(i=>{o.nextPart.has(i)||o.nextPart.set(i,{nextPart:new Map,validators:[]}),o=o.nextPart.get(i)}),o},gy=e=>e.isThemeGetter,vy=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,i=new Map;const a=(d,h)=>{o.set(d,h),r++,r>e&&(r=0,i=o,o=new Map)};return{get(d){let h=o.get(d);if(h!==void 0)return h;if((h=i.get(d))!==void 0)return a(d,h),h},set(d,h){o.has(d)?o.set(d,h):a(d,h)}}},cd="!",fd=":",yy=fd.length,by=e=>{const{prefix:r,experimentalParseClassName:o}=e;let i=a=>{const d=[];let h=0,v=0,m=0,x;for(let B=0;B<a.length;B++){let D=a[B];if(h===0&&v===0){if(D===fd){d.push(a.slice(m,B)),m=B+yy;continue}if(D==="/"){x=B;continue}}D==="["?h++:D==="]"?h--:D==="("?v++:D===")"&&v--}const R=d.length===0?a:a.substring(m),E=xy(R),F=E!==R,M=x&&x>m?x-m:void 0;return{modifiers:d,hasImportantModifier:F,baseClassName:E,maybePostfixModifierPosition:M}};if(r){const a=r+fd,d=i;i=h=>h.startsWith(a)?d(h.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:h,maybePostfixModifierPosition:void 0}}if(o){const a=i;i=d=>o({className:d,parseClassName:a})}return i},xy=e=>e.endsWith(cd)?e.substring(0,e.length-1):e.startsWith(cd)?e.substring(1):e,wy=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let d=[];return i.forEach(h=>{h[0]==="["||r[h]?(a.push(...d.sort(),h),d=[]):d.push(h)}),a.push(...d.sort()),a}},Sy=e=>({cache:vy(e.cacheSize),parseClassName:by(e),sortModifiers:wy(e),...py(e)}),ky=/\s+/,Ey=(e,r)=>{const{parseClassName:o,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:d}=r,h=[],v=e.trim().split(ky);let m="";for(let x=v.length-1;x>=0;x-=1){const R=v[x],{isExternal:E,modifiers:F,hasImportantModifier:M,baseClassName:B,maybePostfixModifierPosition:D}=o(R);if(E){m=R+(m.length>0?" "+m:m);continue}let P=!!D,I=i(P?B.substring(0,D):B);if(!I){if(!P){m=R+(m.length>0?" "+m:m);continue}if(I=i(B),!I){m=R+(m.length>0?" "+m:m);continue}P=!1}const W=d(F).join(":"),U=M?W+cd:W,q=U+I;if(h.includes(q))continue;h.push(q);const _=a(I,P);for(let ie=0;ie<_.length;++ie){const ce=_[ie];h.push(U+ce)}m=R+(m.length>0?" "+m:m)}return m};function Cy(){let e=0,r,o,i="";for(;e<arguments.length;)(r=arguments[e++])&&(o=vm(r))&&(i&&(i+=" "),i+=o);return i}const vm=e=>{if(typeof e=="string")return e;let r,o="";for(let i=0;i<e.length;i++)e[i]&&(r=vm(e[i]))&&(o&&(o+=" "),o+=r);return o};function Ty(e,...r){let o,i,a,d=h;function h(m){const x=r.reduce((R,E)=>E(R),e());return o=Sy(x),i=o.cache.get,a=o.cache.set,d=v,v(m)}function v(m){const x=i(m);if(x)return x;const R=Ey(m,o);return a(m,R),R}return function(){return d(Cy.apply(null,arguments))}}const yt=e=>{const r=o=>o[e]||[];return r.isThemeGetter=!0,r},ym=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,bm=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ry=/^\d+\/\d+$/,Py=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ay=/\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$/,Iy=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Oy=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fy=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,is=e=>Ry.test(e),Be=e=>!!e&&!Number.isNaN(Number(e)),Uo=e=>!!e&&Number.isInteger(Number(e)),Ff=e=>e.endsWith("%")&&Be(e.slice(0,-1)),Xn=e=>Py.test(e),My=()=>!0,Dy=e=>Ay.test(e)&&!Iy.test(e),xm=()=>!1,_y=e=>Oy.test(e),Ly=e=>Fy.test(e),jy=e=>!ve(e)&&!ye(e),Ny=e=>Os(e,km,xm),ve=e=>ym.test(e),Vi=e=>Os(e,Em,Dy),Mf=e=>Os(e,Hy,Be),zp=e=>Os(e,wm,xm),$y=e=>Os(e,Sm,Ly),Vu=e=>Os(e,Cm,_y),ye=e=>bm.test(e),Tl=e=>Fs(e,Em),zy=e=>Fs(e,Wy),Bp=e=>Fs(e,wm),By=e=>Fs(e,km),Uy=e=>Fs(e,Sm),Yu=e=>Fs(e,Cm,!0),Os=(e,r,o)=>{const i=ym.exec(e);return i?i[1]?r(i[1]):o(i[2]):!1},Fs=(e,r,o=!1)=>{const i=bm.exec(e);return i?i[1]?r(i[1]):o:!1},wm=e=>e==="position"||e==="percentage",Sm=e=>e==="image"||e==="url",km=e=>e==="length"||e==="size"||e==="bg-size",Em=e=>e==="length",Hy=e=>e==="number",Wy=e=>e==="family-name",Cm=e=>e==="shadow",Vy=()=>{const e=yt("color"),r=yt("font"),o=yt("text"),i=yt("font-weight"),a=yt("tracking"),d=yt("leading"),h=yt("breakpoint"),v=yt("container"),m=yt("spacing"),x=yt("radius"),R=yt("shadow"),E=yt("inset-shadow"),F=yt("text-shadow"),M=yt("drop-shadow"),B=yt("blur"),D=yt("perspective"),P=yt("aspect"),I=yt("ease"),W=yt("animate"),U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],_=()=>[...q(),ye,ve],ie=()=>["auto","hidden","clip","visible","scroll"],ce=()=>["auto","contain","none"],ee=()=>[ye,ve,m],ae=()=>[is,"full","auto",...ee()],Fe=()=>[Uo,"none","subgrid",ye,ve],Ne=()=>["auto",{span:["full",Uo,ye,ve]},Uo,ye,ve],_e=()=>[Uo,"auto",ye,ve],Ge=()=>["auto","min","max","fr",ye,ve],Qe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ke=()=>["start","end","center","stretch","center-safe","end-safe"],Ce=()=>["auto",...ee()],je=()=>[is,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...ee()],Z=()=>[e,ye,ve],be=()=>[...q(),Bp,zp,{position:[ye,ve]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",By,Ny,{size:[ye,ve]}],fe=()=>[Ff,Tl,Vi],me=()=>["","none","full",x,ye,ve],pe=()=>["",Be,Tl,Vi],ge=()=>["solid","dashed","dotted","double"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[Be,Ff,Bp,zp],Te=()=>["","none",B,ye,ve],Ee=()=>["none",Be,ye,ve],Re=()=>["none",Be,ye,ve],$e=()=>[Be,ye,ve],oe=()=>[is,"full",...ee()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Xn],breakpoint:[Xn],color:[My],container:[Xn],"drop-shadow":[Xn],ease:["in","out","in-out"],font:[jy],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Xn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Xn],shadow:[Xn],spacing:["px",Be],text:[Xn],"text-shadow":[Xn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",is,ve,ye,P]}],container:["container"],columns:[{columns:[Be,ve,ye,v]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"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:ie()}],"overflow-x":[{"overflow-x":ie()}],"overflow-y":[{"overflow-y":ie()}],overscroll:[{overscroll:ce()}],"overscroll-x":[{"overscroll-x":ce()}],"overscroll-y":[{"overscroll-y":ce()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ae()}],"inset-x":[{"inset-x":ae()}],"inset-y":[{"inset-y":ae()}],start:[{start:ae()}],end:[{end:ae()}],top:[{top:ae()}],right:[{right:ae()}],bottom:[{bottom:ae()}],left:[{left:ae()}],visibility:["visible","invisible","collapse"],z:[{z:[Uo,"auto",ye,ve]}],basis:[{basis:[is,"full","auto",v,...ee()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Be,is,"auto","initial","none",ve]}],grow:[{grow:["",Be,ye,ve]}],shrink:[{shrink:["",Be,ye,ve]}],order:[{order:[Uo,"first","last","none",ye,ve]}],"grid-cols":[{"grid-cols":Fe()}],"col-start-end":[{col:Ne()}],"col-start":[{"col-start":_e()}],"col-end":[{"col-end":_e()}],"grid-rows":[{"grid-rows":Fe()}],"row-start-end":[{row:Ne()}],"row-start":[{"row-start":_e()}],"row-end":[{"row-end":_e()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ge()}],"auto-rows":[{"auto-rows":Ge()}],gap:[{gap:ee()}],"gap-x":[{"gap-x":ee()}],"gap-y":[{"gap-y":ee()}],"justify-content":[{justify:[...Qe(),"normal"]}],"justify-items":[{"justify-items":[...ke(),"normal"]}],"justify-self":[{"justify-self":["auto",...ke()]}],"align-content":[{content:["normal",...Qe()]}],"align-items":[{items:[...ke(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ke(),{baseline:["","last"]}]}],"place-content":[{"place-content":Qe()}],"place-items":[{"place-items":[...ke(),"baseline"]}],"place-self":[{"place-self":["auto",...ke()]}],p:[{p:ee()}],px:[{px:ee()}],py:[{py:ee()}],ps:[{ps:ee()}],pe:[{pe:ee()}],pt:[{pt:ee()}],pr:[{pr:ee()}],pb:[{pb:ee()}],pl:[{pl:ee()}],m:[{m:Ce()}],mx:[{mx:Ce()}],my:[{my:Ce()}],ms:[{ms:Ce()}],me:[{me:Ce()}],mt:[{mt:Ce()}],mr:[{mr:Ce()}],mb:[{mb:Ce()}],ml:[{ml:Ce()}],"space-x":[{"space-x":ee()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":ee()}],"space-y-reverse":["space-y-reverse"],size:[{size:je()}],w:[{w:[v,"screen",...je()]}],"min-w":[{"min-w":[v,"screen","none",...je()]}],"max-w":[{"max-w":[v,"screen","none","prose",{screen:[h]},...je()]}],h:[{h:["screen",...je()]}],"min-h":[{"min-h":["screen","none",...je()]}],"max-h":[{"max-h":["screen",...je()]}],"font-size":[{text:["base",o,Tl,Vi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,ye,Mf]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ff,ve]}],"font-family":[{font:[zy,ve,r]}],"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,ye,ve]}],"line-clamp":[{"line-clamp":[Be,"none",ye,Mf]}],leading:[{leading:[d,...ee()]}],"list-image":[{"list-image":["none",ye,ve]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ye,ve]}],"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:[...ge(),"wavy"]}],"text-decoration-thickness":[{decoration:[Be,"from-font","auto",ye,Vi]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[Be,"auto",ye,ve]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:ee()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ye,ve]}],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",ye,ve]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:be()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Uo,ye,ve],radial:["",ye,ve],conic:[Uo,ye,ve]},Uy,$y]}],"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:me()}],"rounded-s":[{"rounded-s":me()}],"rounded-e":[{"rounded-e":me()}],"rounded-t":[{"rounded-t":me()}],"rounded-r":[{"rounded-r":me()}],"rounded-b":[{"rounded-b":me()}],"rounded-l":[{"rounded-l":me()}],"rounded-ss":[{"rounded-ss":me()}],"rounded-se":[{"rounded-se":me()}],"rounded-ee":[{"rounded-ee":me()}],"rounded-es":[{"rounded-es":me()}],"rounded-tl":[{"rounded-tl":me()}],"rounded-tr":[{"rounded-tr":me()}],"rounded-br":[{"rounded-br":me()}],"rounded-bl":[{"rounded-bl":me()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ge(),"hidden","none"]}],"divide-style":[{divide:[...ge(),"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:[...ge(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Be,ye,ve]}],"outline-w":[{outline:["",Be,Tl,Vi]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",R,Yu,Vu]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",E,Yu,Vu]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[Be,Vi]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,Yu,Vu]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[Be,ye,ve]}],"mix-blend":[{"mix-blend":[...se(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":se()}],"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":[Be]}],"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":[ye,ve]}],"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":q()}],"mask-image-conic-pos":[{"mask-conic":[Be]}],"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:be()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ye,ve]}],filter:[{filter:["","none",ye,ve]}],blur:[{blur:Te()}],brightness:[{brightness:[Be,ye,ve]}],contrast:[{contrast:[Be,ye,ve]}],"drop-shadow":[{"drop-shadow":["","none",M,Yu,Vu]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",Be,ye,ve]}],"hue-rotate":[{"hue-rotate":[Be,ye,ve]}],invert:[{invert:["",Be,ye,ve]}],saturate:[{saturate:[Be,ye,ve]}],sepia:[{sepia:["",Be,ye,ve]}],"backdrop-filter":[{"backdrop-filter":["","none",ye,ve]}],"backdrop-blur":[{"backdrop-blur":Te()}],"backdrop-brightness":[{"backdrop-brightness":[Be,ye,ve]}],"backdrop-contrast":[{"backdrop-contrast":[Be,ye,ve]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Be,ye,ve]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Be,ye,ve]}],"backdrop-invert":[{"backdrop-invert":["",Be,ye,ve]}],"backdrop-opacity":[{"backdrop-opacity":[Be,ye,ve]}],"backdrop-saturate":[{"backdrop-saturate":[Be,ye,ve]}],"backdrop-sepia":[{"backdrop-sepia":["",Be,ye,ve]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":ee()}],"border-spacing-x":[{"border-spacing-x":ee()}],"border-spacing-y":[{"border-spacing-y":ee()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ye,ve]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Be,"initial",ye,ve]}],ease:[{ease:["linear","initial",I,ye,ve]}],delay:[{delay:[Be,ye,ve]}],animate:[{animate:["none",W,ye,ve]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,ye,ve]}],"perspective-origin":[{"perspective-origin":_()}],rotate:[{rotate:Ee()}],"rotate-x":[{"rotate-x":Ee()}],"rotate-y":[{"rotate-y":Ee()}],"rotate-z":[{"rotate-z":Ee()}],scale:[{scale:Re()}],"scale-x":[{"scale-x":Re()}],"scale-y":[{"scale-y":Re()}],"scale-z":[{"scale-z":Re()}],"scale-3d":["scale-3d"],skew:[{skew:$e()}],"skew-x":[{"skew-x":$e()}],"skew-y":[{"skew-y":$e()}],transform:[{transform:[ye,ve,"","none","gpu","cpu"]}],"transform-origin":[{origin:_()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:oe()}],"translate-x":[{"translate-x":oe()}],"translate-y":[{"translate-y":oe()}],"translate-z":[{"translate-z":oe()}],"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",ye,ve]}],"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":ee()}],"scroll-mx":[{"scroll-mx":ee()}],"scroll-my":[{"scroll-my":ee()}],"scroll-ms":[{"scroll-ms":ee()}],"scroll-me":[{"scroll-me":ee()}],"scroll-mt":[{"scroll-mt":ee()}],"scroll-mr":[{"scroll-mr":ee()}],"scroll-mb":[{"scroll-mb":ee()}],"scroll-ml":[{"scroll-ml":ee()}],"scroll-p":[{"scroll-p":ee()}],"scroll-px":[{"scroll-px":ee()}],"scroll-py":[{"scroll-py":ee()}],"scroll-ps":[{"scroll-ps":ee()}],"scroll-pe":[{"scroll-pe":ee()}],"scroll-pt":[{"scroll-pt":ee()}],"scroll-pr":[{"scroll-pr":ee()}],"scroll-pb":[{"scroll-pb":ee()}],"scroll-pl":[{"scroll-pl":ee()}],"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",ye,ve]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[Be,Tl,Vi,Mf]}],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=Ty(Vy);function Tm(e){var r,o,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=Tm(e[r]))&&(i&&(i+=" "),i+=o)}else for(o in e)e[o]&&(i&&(i+=" "),i+=o);return i}function Ll(){for(var e,r,o=0,i="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=Tm(e))&&(i&&(i+=" "),i+=r);return i}function gt(...e){return fs(Ll(e))}const Yy="whitespace-nowrap font-normal flex items-center justify-center",Gy="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",Qy="disabled:opacity-15 disabled:pointer-events-none",Rm=e=>e==="grayLight"||e==="warning",Pm=(e,r)=>!r||r==="none"?"":e(),Xy=(e,r)=>Pm(()=>{const o=e==="gray400"?"gray":e,i=Rm(o)?"active:text-black":"active:text-white";return e==="primary"?r?`bg-${o}-800 text-white`:`hover:bg-${o}-800 active:bg-${o}-800 hover:text-white ${i}`:o==="grayDark"?r?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:o==="grayLight"?r?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?r?`bg-${o}-500 text-white`:`hover:bg-${o}-500 active:bg-${o}-500 hover:text-white ${i}`:r?`bg-${o}-700 text-white`:`hover:bg-${o}-600 active:bg-${o}-700 hover:text-white ${i}`},e),qy=e=>Pm(()=>{const r=Rm(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${r}`:e==="gray400"?`bg-gray-400 ${r}`:`bg-${e}-500 ${r}`},e),Jy=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]||"",Ky=(e,r)=>e&&{dark:r?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:r?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:r?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:r?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:r?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:r?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:r?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:r?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:r?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:r?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:r?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:r?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":r?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:r?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:r?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:r?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",Zy=(e,r)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${r?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${r?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${r?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${r?"":"text-gray-400"}`:`border border-${e}-500 ${r?"":`text-${e}-500`}`,eb=(e,r)=>({solid:qy(e),link:Jy(e),linkHoverSolid:Ky(e,r),outline:Zy(e,r)}),tb={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"},rb={none:"",default:"rounded",pill:"rounded-pill"},nb=({active:e=!1,children:r,color:o="primary",size:i="normal",category:a="solid",className:d,type:h="button",rounded:v="default",style:m={},primaryColor:x,...R},E)=>{var U;const F=Qy,M=/link/.test(a)?null:Xy(o,e),B=Gy,D=tb[i],P=(U=eb(o,e))==null?void 0:U[a],I=fs(M,P),W=rb[v];return Y.jsx("button",{...R,style:{...m,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:x?x+"!important":void 0},type:h,ref:E,className:fs(Yy,B,F,D,I,W,d,"cursor-pointer"),children:r})},jl=V.forwardRef(nb),ob=({isOpen:e,close:r,title:o,dismissOptions:i,confirmOptions:a,children:d,className:h})=>Y.jsx(Y.Fragment,{children:e&&Vl.createPortal(Y.jsxs(cc.div,{className:gt("relative z-50 transition duration-300 ease-out data-closed:opacity-0",h),children:[Y.jsx("div",{className:"fixed inset-0 bg-black/30"}),Y.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:Y.jsxs("div",{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[o&&Y.jsx("div",{className:" text-gray-900 p-4",children:o}),Y.jsx("div",{className:"p-4",children:d}),i||a?Y.jsxs("div",{className:"flex gap-4 p-4",children:[i?Y.jsx(jl,{className:"flex-1",onClick:()=>{i.onClick(),r()},size:"small",color:"secondary",children:i.label}):Y.jsx(Y.Fragment,{}),a?Y.jsx(jl,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),r()},size:"small",color:"primary",children:a.label}):Y.jsx(Y.Fragment,{})]}):Y.jsx(Y.Fragment,{})]})}),Y.jsx("style",{type:"text/css",children:fc})]}),document.body,"confidence-modal")}),Am=typeof document<"u"?V.useLayoutEffect:()=>{};function ib(e){const r=V.useRef(null);return Am(()=>{r.current=e},[e]),V.useCallback((...o)=>{const i=r.current;return i==null?void 0:i(...o)},[])}const ai=e=>{var r;return(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document},Yi=e=>e&&"window"in e&&e.window===e?e:ai(e).defaultView||window;function ab(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function sb(e){return ab(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let lb=!1;function Gd(){return lb}function Im(e,r){if(!Gd())return r&&e?e.contains(r):!1;if(!e||!r)return!1;let o=r;for(;o!==null;){if(o===e)return!0;o.tagName==="SLOT"&&o.assignedSlot?o=o.assignedSlot.parentNode:sb(o)?o=o.host:o=o.parentNode}return!1}const dd=(e=document)=>{var r;if(!Gd())return e.activeElement;let o=e.activeElement;for(;o&&"shadowRoot"in o&&(!((r=o.shadowRoot)===null||r===void 0)&&r.activeElement);)o=o.shadowRoot.activeElement;return o};function Om(e){return Gd()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function dc(e){var r;return typeof window>"u"||window.navigator==null?!1:((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.brands.some(o=>e.test(o.brand)))||e.test(window.navigator.userAgent)}function Qd(e){var r;return typeof window<"u"&&window.navigator!=null?e.test(((r=window.navigator.userAgentData)===null||r===void 0?void 0:r.platform)||window.navigator.platform):!1}function oo(e){if(process.env.NODE_ENV==="test")return e;let r=null;return()=>(r==null&&(r=e()),r)}const Xd=oo(function(){return Qd(/^Mac/i)}),ub=oo(function(){return Qd(/^iPhone/i)}),cb=oo(function(){return Qd(/^iPad/i)||Xd()&&navigator.maxTouchPoints>1}),fb=oo(function(){return ub()||cb()});oo(function(){return Xd()||fb()});oo(function(){return dc(/AppleWebKit/i)&&!db()});const db=oo(function(){return dc(/Chrome/i)}),pb=oo(function(){return dc(/Android/i)});oo(function(){return dc(/Firefox/i)});function Fm(){let e=V.useRef(new Map),r=V.useCallback((a,d,h,v)=>{let m=v!=null&&v.once?(...x)=>{e.current.delete(h),h(...x)}:h;e.current.set(h,{type:d,eventTarget:a,fn:m,options:v}),a.addEventListener(d,m,v)},[]),o=V.useCallback((a,d,h,v)=>{var m;let x=((m=e.current.get(h))===null||m===void 0?void 0:m.fn)||h;a.removeEventListener(d,x,v),e.current.delete(h)},[]),i=V.useCallback(()=>{e.current.forEach((a,d)=>{o(a.eventTarget,a.type,d,a.options)})},[o]);return V.useEffect(()=>i,[i]),{addGlobalListener:r,removeGlobalListener:o,removeAllGlobalListeners:i}}function hb(e){return e.mozInputSource===0&&e.isTrusted?!0:pb()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Mm(e){let r=e;return r.nativeEvent=e,r.isDefaultPrevented=()=>r.defaultPrevented,r.isPropagationStopped=()=>r.cancelBubble,r.persist=()=>{},r}function mb(e,r){Object.defineProperty(e,"target",{value:r}),Object.defineProperty(e,"currentTarget",{value:r})}function Dm(e){let r=V.useRef({isFocused:!1,observer:null});Am(()=>{const i=r.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let o=ib(i=>{e==null||e(i)});return V.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){r.current.isFocused=!0;let a=i.target,d=h=>{if(r.current.isFocused=!1,a.disabled){let v=Mm(h);o(v)}r.current.observer&&(r.current.observer.disconnect(),r.current.observer=null)};a.addEventListener("focusout",d,{once:!0}),r.current.observer=new MutationObserver(()=>{if(r.current.isFocused&&a.disabled){var h;(h=r.current.observer)===null||h===void 0||h.disconnect();let v=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:v})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:v}))}}),r.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[o])}let gb=!1,Gl=null,pd=new Set,Ol=new Map,oa=!1,hd=!1;const vb={Tab:!0,Escape:!0};function qd(e,r){for(let o of pd)o(e,r)}function yb(e){return!(e.metaKey||!Xd()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function nc(e){oa=!0,yb(e)&&(Gl="keyboard",qd("keyboard",e))}function Dr(e){Gl="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(oa=!0,qd("pointer",e))}function _m(e){hb(e)&&(oa=!0,Gl="virtual")}function Lm(e){e.target===window||e.target===document||gb||!e.isTrusted||(!oa&&!hd&&(Gl="virtual",qd("virtual",e)),oa=!1,hd=!1)}function jm(){oa=!1,hd=!0}function md(e){if(typeof window>"u"||typeof document>"u"||Ol.get(Yi(e)))return;const r=Yi(e),o=ai(e);let i=r.HTMLElement.prototype.focus;r.HTMLElement.prototype.focus=function(){oa=!0,i.apply(this,arguments)},o.addEventListener("keydown",nc,!0),o.addEventListener("keyup",nc,!0),o.addEventListener("click",_m,!0),r.addEventListener("focus",Lm,!0),r.addEventListener("blur",jm,!1),typeof PointerEvent<"u"?(o.addEventListener("pointerdown",Dr,!0),o.addEventListener("pointermove",Dr,!0),o.addEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(o.addEventListener("mousedown",Dr,!0),o.addEventListener("mousemove",Dr,!0),o.addEventListener("mouseup",Dr,!0)),r.addEventListener("beforeunload",()=>{Nm(e)},{once:!0}),Ol.set(r,{focus:i})}const Nm=(e,r)=>{const o=Yi(e),i=ai(e);r&&i.removeEventListener("DOMContentLoaded",r),Ol.has(o)&&(o.HTMLElement.prototype.focus=Ol.get(o).focus,i.removeEventListener("keydown",nc,!0),i.removeEventListener("keyup",nc,!0),i.removeEventListener("click",_m,!0),o.removeEventListener("focus",Lm,!0),o.removeEventListener("blur",jm,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",Dr,!0),i.removeEventListener("pointermove",Dr,!0),i.removeEventListener("pointerup",Dr,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",Dr,!0),i.removeEventListener("mousemove",Dr,!0),i.removeEventListener("mouseup",Dr,!0)),Ol.delete(o))};function bb(e){const r=ai(e);let o;return r.readyState!=="loading"?md(e):(o=()=>{md(e)},r.addEventListener("DOMContentLoaded",o)),()=>Nm(e,o)}typeof document<"u"&&bb();function $m(){return Gl!=="pointer"}const xb=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function wb(e,r,o){let i=ai(o==null?void 0:o.target);const a=typeof window<"u"?Yi(o==null?void 0:o.target).HTMLInputElement:HTMLInputElement,d=typeof window<"u"?Yi(o==null?void 0:o.target).HTMLTextAreaElement:HTMLTextAreaElement,h=typeof window<"u"?Yi(o==null?void 0:o.target).HTMLElement:HTMLElement,v=typeof window<"u"?Yi(o==null?void 0:o.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!xb.has(i.activeElement.type)||i.activeElement instanceof d||i.activeElement instanceof h&&i.activeElement.isContentEditable,!(e&&r==="keyboard"&&o instanceof v&&!vb[o.key])}function Sb(e,r,o){md(),V.useEffect(()=>{let i=(a,d)=>{wb(!!(o!=null&&o.isTextInput),a,d)&&e($m())};return pd.add(i),()=>{pd.delete(i)}},r)}function kb(e){let{isDisabled:r,onFocus:o,onBlur:i,onFocusChange:a}=e;const d=V.useCallback(m=>{if(m.target===m.currentTarget)return i&&i(m),a&&a(!1),!0},[i,a]),h=Dm(d),v=V.useCallback(m=>{const x=ai(m.target),R=x?dd(x):dd();m.target===m.currentTarget&&R===Om(m.nativeEvent)&&(o&&o(m),a&&a(!0),h(m))},[a,o,h]);return{focusProps:{onFocus:!r&&(o||a||i)?v:void 0,onBlur:!r&&(i||a)?d:void 0}}}function Eb(e){let{isDisabled:r,onBlurWithin:o,onFocusWithin:i,onFocusWithinChange:a}=e,d=V.useRef({isFocusWithin:!1}),{addGlobalListener:h,removeAllGlobalListeners:v}=Fm(),m=V.useCallback(E=>{E.currentTarget.contains(E.target)&&d.current.isFocusWithin&&!E.currentTarget.contains(E.relatedTarget)&&(d.current.isFocusWithin=!1,v(),o&&o(E),a&&a(!1))},[o,a,d,v]),x=Dm(m),R=V.useCallback(E=>{if(!E.currentTarget.contains(E.target))return;const F=ai(E.target),M=dd(F);if(!d.current.isFocusWithin&&M===Om(E.nativeEvent)){i&&i(E),a&&a(!0),d.current.isFocusWithin=!0,x(E);let B=E.currentTarget;h(F,"focus",D=>{if(d.current.isFocusWithin&&!Im(B,D.target)){let P=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});mb(P,B);let I=Mm(P);m(I)}},{capture:!0})}},[i,a,x,h,m]);return r?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:R,onBlur:m}}}let oc=!1,Df=0;function gd(){oc=!0,setTimeout(()=>{oc=!1},50)}function Up(e){e.pointerType==="touch"&&gd()}function Cb(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",gd),Df++,()=>{Df--,!(Df>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Up):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",gd))}}function Tb(e){let{onHoverStart:r,onHoverChange:o,onHoverEnd:i,isDisabled:a}=e,[d,h]=V.useState(!1),v=V.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;V.useEffect(Cb,[]);let{addGlobalListener:m,removeAllGlobalListeners:x}=Fm(),{hoverProps:R,triggerHoverEnd:E}=V.useMemo(()=>{let F=(D,P)=>{if(v.pointerType=P,a||P==="touch"||v.isHovered||!D.currentTarget.contains(D.target))return;v.isHovered=!0;let I=D.currentTarget;v.target=I,m(ai(D.target),"pointerover",W=>{v.isHovered&&v.target&&!Im(v.target,W.target)&&M(W,W.pointerType)},{capture:!0}),r&&r({type:"hoverstart",target:I,pointerType:P}),o&&o(!0),h(!0)},M=(D,P)=>{let I=v.target;v.pointerType="",v.target=null,!(P==="touch"||!v.isHovered||!I)&&(v.isHovered=!1,x(),i&&i({type:"hoverend",target:I,pointerType:P}),o&&o(!1),h(!1))},B={};return typeof PointerEvent<"u"?(B.onPointerEnter=D=>{oc&&D.pointerType==="mouse"||F(D,D.pointerType)},B.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(B.onTouchStart=()=>{v.ignoreEmulatedMouseEvents=!0},B.onMouseEnter=D=>{!v.ignoreEmulatedMouseEvents&&!oc&&F(D,"mouse"),v.ignoreEmulatedMouseEvents=!1},B.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&M(D,"mouse")}),{hoverProps:B,triggerHoverEnd:M}},[r,o,i,a,v,m,x]);return V.useEffect(()=>{a&&E({currentTarget:v.target},v.pointerType)},[a]),{hoverProps:R,isHovered:d}}function Rb(e={}){let{autoFocus:r=!1,isTextInput:o,within:i}=e,a=V.useRef({isFocused:!1,isFocusVisible:r||$m()}),[d,h]=V.useState(!1),[v,m]=V.useState(()=>a.current.isFocused&&a.current.isFocusVisible),x=V.useCallback(()=>m(a.current.isFocused&&a.current.isFocusVisible),[]),R=V.useCallback(M=>{a.current.isFocused=M,h(M),x()},[x]);Sb(M=>{a.current.isFocusVisible=M,x()},[],{isTextInput:o});let{focusProps:E}=kb({isDisabled:i,onFocusChange:R}),{focusWithinProps:F}=Eb({isDisabled:!i,onFocusWithinChange:R});return{isFocused:d,isFocusVisible:v,focusProps:i?F:E}}var Pb=Object.defineProperty,Ab=(e,r,o)=>r in e?Pb(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,_f=(e,r,o)=>(Ab(e,typeof r!="symbol"?r+"":r,o),o);let Ib=class{constructor(){_f(this,"current",this.detect()),_f(this,"handoffState","pending"),_f(this,"currentId",0)}set(r){this.current!==r&&(this.handoffState="pending",this.currentId=0,this.current=r)}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"}},Ob=new Ib,Jd=(e,r)=>{Ob.isServer?V.useEffect(e,r):V.useLayoutEffect(e,r)};function Fb(e){let r=V.useRef(e);return Jd(()=>{r.current=e},[e]),r}let pc=function(e){let r=Fb(e);return V.useCallback((...o)=>r.current(...o),[r])},zm=V.createContext(void 0);function hc(){return V.useContext(zm)}function Mb({value:e,children:r}){return V.createElement(zm.Provider,{value:e},r)}function Hp(...e){return Array.from(new Set(e.flatMap(r=>typeof r=="string"?r.split(" "):[]))).filter(Boolean).join(" ")}function Bm(e,r,...o){if(e in r){let a=r[e];return typeof a=="function"?a(...o):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,Bm),i}var Db=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Db||{}),_b=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(_b||{});function Ql(){let e=jb();return V.useCallback(r=>Lb({mergeRefs:e,...r}),[e])}function Lb({ourProps:e,theirProps:r,slot:o,defaultTag:i,features:a,visible:d=!0,name:h,mergeRefs:v}){v=v??Nb;let m=Um(r,e);if(d)return Gu(m,o,i,h,v);let x=a??0;if(x&2){let{static:R=!1,...E}=m;if(R)return Gu(E,o,i,h,v)}if(x&1){let{unmount:R=!0,...E}=m;return Bm(R?0:1,{0(){return null},1(){return Gu({...E,hidden:!0,style:{display:"none"}},o,i,h,v)}})}return Gu(m,o,i,h,v)}function Gu(e,r={},o,i,a){let{as:d=o,children:h,refName:v="ref",...m}=Lf(e,["unmount","static"]),x=e.ref!==void 0?{[v]:e.ref}:{},R=typeof h=="function"?h(r):h;"className"in m&&m.className&&typeof m.className=="function"&&(m.className=m.className(r)),m["aria-labelledby"]&&m["aria-labelledby"]===m.id&&(m["aria-labelledby"]=void 0);let E={};if(r){let F=!1,M=[];for(let[B,D]of Object.entries(r))typeof D=="boolean"&&(F=!0),D===!0&&M.push(B.replace(/([A-Z])/g,P=>`-${P.toLowerCase()}`));if(F){E["data-headlessui-state"]=M.join(" ");for(let B of M)E[`data-${B}`]=""}}if(d===V.Fragment&&(Object.keys(as(m)).length>0||Object.keys(as(E)).length>0))if(!V.isValidElement(R)||Array.isArray(R)&&R.length>1){if(Object.keys(as(m)).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(as(m)).concat(Object.keys(as(E))).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=R.props,M=F==null?void 0:F.className,B=typeof M=="function"?(...I)=>Hp(M(...I),m.className):Hp(M,m.className),D=B?{className:B}:{},P=Um(R.props,as(Df(m,["ref"])));for(let I in E)I in P&&delete E[I];return V.cloneElement(R,Object.assign({},P,E,x,{ref:a($b(R),x.ref)},D))}return V.createElement(d,Object.assign({},Df(m,["ref"]),d!==V.Fragment&&x,d!==V.Fragment&&E),R)}function Lb(){let e=V.useRef([]),r=V.useCallback(o=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(o):i.current=o)},[]);return(...o)=>{if(!o.every(i=>i==null))return e.current=o,r}}function jb(...e){return e.every(r=>r==null)?void 0:r=>{for(let o of e)o!=null&&(typeof o=="function"?o(r):o.current=r)}}function Um(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];if(r.disabled||r["aria-disabled"])for(let i in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(o[i]=[a=>{var d;return(d=a==null?void 0:a.preventDefault)==null?void 0:d.call(a)}]);for(let i in o)Object.assign(r,{[i](a,...d){let h=o[i];for(let v of h){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;v(a,...d)}}});return r}function Nb(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];for(let i in o)Object.assign(r,{[i](...a){let d=o[i];for(let h of d)h==null||h(...a)}});return r}function Ql(e){var r;return Object.assign(V.forwardRef(e),{displayName:(r=e.displayName)!=null?r:e.name})}function as(e){let r=Object.assign({},e);for(let o in r)r[o]===void 0&&delete r[o];return r}function Df(e,r=[]){let o=Object.assign({},e);for(let i of r)i in o&&delete o[i];return o}function $b(e){return V.version.split(".")[0]>="19"?e.props.ref:e.ref}let zb="span";var Hm=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Hm||{});function Bb(e,r){var o;let{features:i=1,...a}=e,d={ref:r,"aria-hidden":(i&2)===2?!0:(o=a["aria-hidden"])!=null?o: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 Gl()({ourProps:d,theirProps:a,slot:{},defaultTag:zb,name:"Hidden"})}let Ub=Ql(Bb),Hb=V.createContext(null);function Wb(e){let[r,o]=V.useState(null);return V.createElement(Hb.Provider,{value:{target:r}},e.children,V.createElement(Ub,{features:Hm.Hidden,ref:o}))}let Wm=V.createContext(void 0);function Vm(){return V.useContext(Wm)}function Vb({id:e,children:r}){return V.createElement(Wm.Provider,{value:e},r)}function Yb(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Ym(e){return Yb(e)&&"tagName"in e}function Gm(e){return Ym(e)&&"accessKey"in e}function Gb(e){return Gm(e)&&e.nodeName==="INPUT"}function Wp(e){return Gm(e)&&e.nodeName==="LABEL"}function Qb(e){return Ym(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let Xb=Symbol();function Qm(...e){let r=V.useRef(e);V.useEffect(()=>{r.current=e},[e]);let o=fc(i=>{for(let a of r.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[Xb]))?void 0:o}let pc=V.createContext(null);pc.displayName="DescriptionContext";function Xm(){let e=V.useContext(pc);if(e===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Xm),r}return e}function qb(){var e,r;return(r=(e=V.useContext(pc))==null?void 0:e.value)!=null?r:void 0}function Jb(){let[e,r]=V.useState([]);return[e.length>0?e.join(" "):void 0,V.useMemo(()=>function(o){let i=fc(d=>(r(h=>[...h,d]),()=>r(h=>{let v=h.slice(),m=v.indexOf(d);return m!==-1&&v.splice(m,1),v}))),a=V.useMemo(()=>({register:i,slot:o.slot,name:o.name,props:o.props,value:o.value}),[i,o.slot,o.name,o.props,o.value]);return V.createElement(pc.Provider,{value:a},o.children)},[r])]}let Kb="p";function Zb(e,r){let o=V.useId(),i=dc(),{id:a=`headlessui-description-${o}`,...d}=e,h=Xm(),v=Qm(r);Jd(()=>h.register(a),[a,h.register]);let m=i||!1,x=V.useMemo(()=>({...h.slot,disabled:m}),[h.slot,m]),R={ref:v,...h.props,id:a};return Gl()({ourProps:R,theirProps:d,slot:x,defaultTag:Kb,name:h.name||"Description"})}let e0=Ql(Zb),t0=Object.assign(e0,{}),hc=V.createContext(null);hc.displayName="LabelContext";function qm(){let e=V.useContext(hc);if(e===null){let r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,qm),r}return e}function Jm(e){var r,o,i;let a=(o=(r=V.useContext(hc))==null?void 0:r.value)!=null?o:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function r0({inherit:e=!1}={}){let r=Jm(),[o,i]=V.useState([]),a=e?[r,...o].filter(Boolean):o;return[a.length>0?a.join(" "):void 0,V.useMemo(()=>function(d){let h=fc(m=>(i(x=>[...x,m]),()=>i(x=>{let R=x.slice(),E=R.indexOf(m);return E!==-1&&R.splice(E,1),R}))),v=V.useMemo(()=>({register:h,slot:d.slot,name:d.name,props:d.props,value:d.value}),[h,d.slot,d.name,d.props,d.value]);return V.createElement(hc.Provider,{value:v},d.children)},[i])]}let n0="label";function o0(e,r){var o;let i=V.useId(),a=qm(),d=Vm(),h=dc(),{id:v=`headlessui-label-${i}`,htmlFor:m=d??((o=a.props)==null?void 0:o.htmlFor),passive:x=!1,...R}=e,E=Qm(r);Jd(()=>a.register(v),[v,a.register]);let F=fc(P=>{let I=P.currentTarget;if(!(P.target!==P.currentTarget&&Qb(P.target))&&(Wp(I)&&P.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(P),Wp(I))){let W=document.getElementById(I.htmlFor);if(W){let U=W.getAttribute("disabled");if(U==="true"||U==="")return;let q=W.getAttribute("aria-disabled");if(q==="true"||q==="")return;(Gb(W)&&(W.type==="file"||W.type==="radio"||W.type==="checkbox")||W.role==="radio"||W.role==="checkbox"||W.role==="switch")&&W.click(),W.focus({preventScroll:!0})}}}),M=h||!1,B=V.useMemo(()=>({...a.slot,disabled:M}),[a.slot,M]),D={ref:E,...a.props,id:v,htmlFor:m,onClick:F};return x&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in R&&delete R.onClick),Gl()({ourProps:D,theirProps:R,slot:B,defaultTag:m?n0:"div",name:a.name||"Label"})}let i0=Ql(o0),a0=Object.assign(i0,{});function mc(){return typeof window<"u"}function Ms(e){return Km(e)?(e.nodeName||"").toLowerCase():"#document"}function gr(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function io(e){var r;return(r=(Km(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Km(e){return mc()?e instanceof Node||e instanceof gr(e).Node:!1}function pt(e){return mc()?e instanceof Element||e instanceof gr(e).Element:!1}function Zr(e){return mc()?e instanceof HTMLElement||e instanceof gr(e).HTMLElement:!1}function md(e){return!mc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof gr(e).ShadowRoot}function Xl(e){const{overflow:r,overflowX:o,overflowY:i,display:a}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+o)&&!["inline","contents"].includes(a)}function s0(e){return["table","td","th"].includes(Ms(e))}function gc(e){return[":popover-open",":modal"].some(r=>{try{return e.matches(r)}catch{return!1}})}function Kd(e){const r=vc(),o=pt(e)?_r(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>o[i]?o[i]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function l0(e){let r=to(e);for(;Zr(r)&&!Zn(r);){if(Kd(r))return r;if(gc(r))return null;r=to(r)}return null}function vc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zn(e){return["html","body","#document"].includes(Ms(e))}function _r(e){return gr(e).getComputedStyle(e)}function yc(e){return pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function to(e){if(Ms(e)==="html")return e;const r=e.assignedSlot||e.parentNode||md(e)&&e.host||io(e);return md(r)?r.host:r}function Zm(e){const r=to(e);return Zn(r)?e.ownerDocument?e.ownerDocument.body:e.body:Zr(r)&&Xl(r)?r:Zm(r)}function ds(e,r,o){var i;r===void 0&&(r=[]),o===void 0&&(o=!0);const a=Zm(e),d=a===((i=e.ownerDocument)==null?void 0:i.body),h=gr(a);if(d){const v=gd(h);return r.concat(h,h.visualViewport||[],Xl(a)?a:[],v&&o?ds(v):[])}return r.concat(a,ds(a,[],o))}function gd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Vp=Math.min,Fl=Math.max,oc=Math.round,Sn=e=>({x:e,y:e});function eg(e){return e.split("-")[0]}function u0(e){return e.split("-")[1]}function c0(e){return e==="x"?"y":"x"}function f0(e){return e==="y"?"height":"width"}function tg(e){return["top","bottom"].includes(eg(e))?"y":"x"}function d0(e){return c0(tg(e))}function rg(e){const{x:r,y:o,width:i,height:a}=e;return{width:i,height:a,top:o,left:r,right:r+i,bottom:o+a,x:r,y:o}}function Yp(e,r,o){let{reference:i,floating:a}=e;const d=tg(r),h=d0(r),v=f0(h),m=eg(r),x=d==="y",R=i.x+i.width/2-a.width/2,E=i.y+i.height/2-a.height/2,F=i[v]/2-a[v]/2;let M;switch(m){case"top":M={x:R,y:i.y-a.height};break;case"bottom":M={x:R,y:i.y+i.height};break;case"right":M={x:i.x+i.width,y:E};break;case"left":M={x:i.x-a.width,y:E};break;default:M={x:i.x,y:i.y}}switch(u0(r)){case"start":M[h]-=F*(o&&x?-1:1);break;case"end":M[h]+=F*(o&&x?-1:1);break}return M}const p0=async(e,r,o)=>{const{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:h}=o,v=d.filter(Boolean),m=await(h.isRTL==null?void 0:h.isRTL(r));let x=await h.getElementRects({reference:e,floating:r,strategy:a}),{x:R,y:E}=Yp(x,i,m),F=i,M={},B=0;for(let D=0;D<v.length;D++){const{name:P,fn:I}=v[D],{x:W,y:U,data:q,reset:_}=await I({x:R,y:E,initialPlacement:i,placement:F,strategy:a,middlewareData:M,rects:x,platform:h,elements:{reference:e,floating:r}});R=W??R,E=U??E,M={...M,[P]:{...M[P],...q}},_&&B<=50&&(B++,typeof _=="object"&&(_.placement&&(F=_.placement),_.rects&&(x=_.rects===!0?await h.getElementRects({reference:e,floating:r,strategy:a}):_.rects),{x:R,y:E}=Yp(x,F,m)),D=-1)}return{x:R,y:E,placement:F,strategy:a,middlewareData:M}};function ng(e){const r=_r(e);let o=parseFloat(r.width)||0,i=parseFloat(r.height)||0;const a=Zr(e),d=a?e.offsetWidth:o,h=a?e.offsetHeight:i,v=oc(o)!==d||oc(i)!==h;return v&&(o=d,i=h),{width:o,height:i,$:v}}function og(e){return pt(e)?e:e.contextElement}function ps(e){const r=og(e);if(!Zr(r))return Sn(1);const o=r.getBoundingClientRect(),{width:i,height:a,$:d}=ng(r);let h=(d?oc(o.width):o.width)/i,v=(d?oc(o.height):o.height)/a;return(!h||!Number.isFinite(h))&&(h=1),(!v||!Number.isFinite(v))&&(v=1),{x:h,y:v}}const h0=Sn(0);function ig(e){const r=gr(e);return!vc()||!r.visualViewport?h0:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function m0(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==gr(e)?!1:r}function Nl(e,r,o,i){r===void 0&&(r=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),d=og(e);let h=Sn(1);r&&(i?pt(i)&&(h=ps(i)):h=ps(e));const v=m0(d,o,i)?ig(d):Sn(0);let m=(a.left+v.x)/h.x,x=(a.top+v.y)/h.y,R=a.width/h.x,E=a.height/h.y;if(d){const F=gr(d),M=i&&pt(i)?gr(i):i;let B=F,D=gd(B);for(;D&&i&&M!==B;){const P=ps(D),I=D.getBoundingClientRect(),W=_r(D),U=I.left+(D.clientLeft+parseFloat(W.paddingLeft))*P.x,q=I.top+(D.clientTop+parseFloat(W.paddingTop))*P.y;m*=P.x,x*=P.y,R*=P.x,E*=P.y,m+=U,x+=q,B=gr(D),D=gd(B)}}return rg({width:R,height:E,x:m,y:x})}function Zd(e,r){const o=yc(e).scrollLeft;return r?r.left+o:Nl(io(e)).left+o}function ag(e,r,o){o===void 0&&(o=!1);const i=e.getBoundingClientRect(),a=i.left+r.scrollLeft-(o?0:Zd(e,i)),d=i.top+r.scrollTop;return{x:a,y:d}}function g0(e){let{elements:r,rect:o,offsetParent:i,strategy:a}=e;const d=a==="fixed",h=io(i),v=r?gc(r.floating):!1;if(i===h||v&&d)return o;let m={scrollLeft:0,scrollTop:0},x=Sn(1);const R=Sn(0),E=Zr(i);if((E||!E&&!d)&&((Ms(i)!=="body"||Xl(h))&&(m=yc(i)),Zr(i))){const M=Nl(i);x=ps(i),R.x=M.x+i.clientLeft,R.y=M.y+i.clientTop}const F=h&&!E&&!d?ag(h,m,!0):Sn(0);return{width:o.width*x.x,height:o.height*x.y,x:o.x*x.x-m.scrollLeft*x.x+R.x+F.x,y:o.y*x.y-m.scrollTop*x.y+R.y+F.y}}function v0(e){return Array.from(e.getClientRects())}function y0(e){const r=io(e),o=yc(e),i=e.ownerDocument.body,a=Fl(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),d=Fl(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let h=-o.scrollLeft+Zd(e);const v=-o.scrollTop;return _r(i).direction==="rtl"&&(h+=Fl(r.clientWidth,i.clientWidth)-a),{width:a,height:d,x:h,y:v}}function b0(e,r){const o=gr(e),i=io(e),a=o.visualViewport;let d=i.clientWidth,h=i.clientHeight,v=0,m=0;if(a){d=a.width,h=a.height;const x=vc();(!x||x&&r==="fixed")&&(v=a.offsetLeft,m=a.offsetTop)}return{width:d,height:h,x:v,y:m}}function x0(e,r){const o=Nl(e,!0,r==="fixed"),i=o.top+e.clientTop,a=o.left+e.clientLeft,d=Zr(e)?ps(e):Sn(1),h=e.clientWidth*d.x,v=e.clientHeight*d.y,m=a*d.x,x=i*d.y;return{width:h,height:v,x:m,y:x}}function Gp(e,r,o){let i;if(r==="viewport")i=b0(e,o);else if(r==="document")i=y0(io(e));else if(pt(r))i=x0(r,o);else{const a=ig(e);i={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return rg(i)}function sg(e,r){const o=to(e);return o===r||!pt(o)||Zn(o)?!1:_r(o).position==="fixed"||sg(o,r)}function w0(e,r){const o=r.get(e);if(o)return o;let i=ds(e,[],!1).filter(v=>pt(v)&&Ms(v)!=="body"),a=null;const d=_r(e).position==="fixed";let h=d?to(e):e;for(;pt(h)&&!Zn(h);){const v=_r(h),m=Kd(h);!m&&v.position==="fixed"&&(a=null),(d?!m&&!a:!m&&v.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Xl(h)&&!m&&sg(e,h))?i=i.filter(R=>R!==h):a=v,h=to(h)}return r.set(e,i),i}function S0(e){let{element:r,boundary:o,rootBoundary:i,strategy:a}=e;const h=[...o==="clippingAncestors"?gc(r)?[]:w0(r,this._c):[].concat(o),i],v=h[0],m=h.reduce((x,R)=>{const E=Gp(r,R,a);return x.top=Fl(E.top,x.top),x.right=Vp(E.right,x.right),x.bottom=Vp(E.bottom,x.bottom),x.left=Fl(E.left,x.left),x},Gp(r,v,a));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function k0(e){const{width:r,height:o}=ng(e);return{width:r,height:o}}function E0(e,r,o){const i=Zr(r),a=io(r),d=o==="fixed",h=Nl(e,!0,d,r);let v={scrollLeft:0,scrollTop:0};const m=Sn(0);function x(){m.x=Zd(a)}if(i||!i&&!d)if((Ms(r)!=="body"||Xl(a))&&(v=yc(r)),i){const M=Nl(r,!0,d,r);m.x=M.x+r.clientLeft,m.y=M.y+r.clientTop}else a&&x();d&&!i&&a&&x();const R=a&&!i&&!d?ag(a,v):Sn(0),E=h.left+v.scrollLeft-m.x-R.x,F=h.top+v.scrollTop-m.y-R.y;return{x:E,y:F,width:h.width,height:h.height}}function _f(e){return _r(e).position==="static"}function Qp(e,r){if(!Zr(e)||_r(e).position==="fixed")return null;if(r)return r(e);let o=e.offsetParent;return io(e)===o&&(o=o.ownerDocument.body),o}function lg(e,r){const o=gr(e);if(gc(e))return o;if(!Zr(e)){let a=to(e);for(;a&&!Zn(a);){if(pt(a)&&!_f(a))return a;a=to(a)}return o}let i=Qp(e,r);for(;i&&s0(i)&&_f(i);)i=Qp(i,r);return i&&Zn(i)&&_f(i)&&!Kd(i)?o:i||l0(e)||o}const C0=async function(e){const r=this.getOffsetParent||lg,o=this.getDimensions,i=await o(e.floating);return{reference:E0(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function T0(e){return _r(e).direction==="rtl"}const R0={convertOffsetParentRelativeRectToViewportRelativeRect:g0,getDocumentElement:io,getClippingRect:S0,getOffsetParent:lg,getElementRects:C0,getClientRects:v0,getDimensions:k0,getScale:ps,isElement:pt,isRTL:T0},P0=(e,r,o)=>{const i=new Map,a={platform:R0,...o},d={...a.platform,_c:i};return p0(e,r,{...a,platform:d})};var A0=typeof document<"u",I0=function(){},qu=A0?V.useLayoutEffect:I0;function ic(e,r){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(typeof e=="function"&&e.toString()===r.toString())return!0;let o,i,a;if(e&&r&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==r.length)return!1;for(i=o;i--!==0;)if(!ic(e[i],r[i]))return!1;return!0}if(a=Object.keys(e),o=a.length,o!==Object.keys(r).length)return!1;for(i=o;i--!==0;)if(!{}.hasOwnProperty.call(r,a[i]))return!1;for(i=o;i--!==0;){const d=a[i];if(!(d==="_owner"&&e.$$typeof)&&!ic(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}function ug(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Xp(e,r){const o=ug(e);return Math.round(r*o)/o}function Lf(e){const r=de.useRef(e);return qu(()=>{r.current=e}),r}function O0(e){e===void 0&&(e={});const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a,elements:{reference:d,floating:h}={},transform:v=!0,whileElementsMounted:m,open:x}=e,[R,E]=de.useState({x:0,y:0,strategy:o,placement:r,middlewareData:{},isPositioned:!1}),[F,M]=de.useState(i);ic(F,i)||M(i);const[B,D]=de.useState(null),[P,I]=de.useState(null),W=de.useCallback(Z=>{Z!==ie.current&&(ie.current=Z,D(Z))},[]),U=de.useCallback(Z=>{Z!==ce.current&&(ce.current=Z,I(Z))},[]),q=d||B,_=h||P,ie=de.useRef(null),ce=de.useRef(null),ee=de.useRef(R),ae=m!=null,Fe=Lf(m),Ne=Lf(a),_e=Lf(x),Ge=de.useCallback(()=>{if(!ie.current||!ce.current)return;const Z={placement:r,strategy:o,middleware:F};Ne.current&&(Z.platform=Ne.current),P0(ie.current,ce.current,Z).then(be=>{const G={...be,isPositioned:_e.current!==!1};Qe.current&&!ic(ee.current,G)&&(ee.current=G,Zg.flushSync(()=>{E(G)}))})},[F,r,o,Ne,_e]);qu(()=>{x===!1&&ee.current.isPositioned&&(ee.current.isPositioned=!1,E(Z=>({...Z,isPositioned:!1})))},[x]);const Qe=de.useRef(!1);qu(()=>(Qe.current=!0,()=>{Qe.current=!1}),[]),qu(()=>{if(q&&(ie.current=q),_&&(ce.current=_),q&&_){if(Fe.current)return Fe.current(q,_,Ge);Ge()}},[q,_,Ge,Fe,ae]);const ke=de.useMemo(()=>({reference:ie,floating:ce,setReference:W,setFloating:U}),[W,U]),Ce=de.useMemo(()=>({reference:q,floating:_}),[q,_]),je=de.useMemo(()=>{const Z={position:o,left:0,top:0};if(!Ce.floating)return Z;const be=Xp(Ce.floating,R.x),G=Xp(Ce.floating,R.y);return v?{...Z,transform:"translate("+be+"px, "+G+"px)",...ug(Ce.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:be,top:G}},[o,v,Ce.floating,R.x,R.y]);return de.useMemo(()=>({...R,update:Ge,refs:ke,elements:Ce,floatingStyles:je}),[R,Ge,ke,Ce,je])}let F0="div";function M0(e,r){let o=`headlessui-control-${V.useId()}`,[i,a]=r0(),[d,h]=Jb(),v=dc(),{disabled:m=v||!1,...x}=e,R=V.useMemo(()=>({disabled:m}),[m]),E={ref:r,disabled:m||void 0,"aria-disabled":m||void 0},F=Gl();return V.createElement(Fb,{value:m},V.createElement(a,{value:i},V.createElement(h,{value:d},V.createElement(Vb,{id:o},F({ourProps:E,theirProps:{...x,children:V.createElement(Wb,null,typeof x.children=="function"?x.children(R):x.children)},slot:R,defaultTag:F0,name:"Field"})))))}let D0=Ql(M0),_0="input";function L0(e,r){let o=V.useId(),i=Vm(),a=dc(),{id:d=i||`headlessui-input-${o}`,disabled:h=a||!1,autoFocus:v=!1,invalid:m=!1,...x}=e,R=Jm(),E=qb(),{isFocused:F,focusProps:M}=Tb({autoFocus:v}),{isHovered:B,hoverProps:D}=Cb({isDisabled:h}),P=Nb({ref:r,id:d,"aria-labelledby":R,"aria-describedby":E,"aria-invalid":m?"true":void 0,disabled:h||void 0,autoFocus:v},M,D),I=V.useMemo(()=>({disabled:h,invalid:m,hover:B,focus:F,autofocus:v}),[h,m,B,F,v]);return Gl()({ourProps:P,theirProps:x,slot:I,defaultTag:_0,name:"Input"})}let j0=Ql(L0);const N0=({type:e="text",className:r,label:o,description:i,error:a,...d})=>Q.jsx("div",{className:"w-full max-w-md px-4",children:Q.jsxs(D0,{children:[o&&Q.jsx(a0,{className:"font-medium text-gray-900",children:o}),i&&Q.jsx(t0,{className:"text-sm text-secondary",children:i}),Q.jsx(j0,{type:e,className:gt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","data-focus:-outline-offset-2 data-focus:outline-primary-500",r,a&&"border-red-500 focus:border-red-500"),...d})]})}),$0=({onConfirm:e,onClose:r,isOpen:o,title:i})=>{const[a,d]=V.useState(""),[h,v]=V.useState(!1),[m,x]=V.useState(!1),R=async()=>{if(a)try{v(!0),await e(a),d("")}catch{x(!0)}finally{v(!1)}else alert("Please enter a valid email address.")};return Q.jsx(nb,{isOpen:o,close:r,dismissOptions:{label:"Cancel",onClick:r},confirmOptions:{label:"Initiate",onClick:R,disabled:h||!a||m},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:m?"User already has access":i||"Access Playbook"}),Q.jsx("div",{className:"text-center",children:m?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(N0,{disabled:h||m,placeholder:"Enter company email address",onChange:E=>d(E.target.value)})]})})},z0=({btnClassName:e,buttonNode:r,size:o,playbookId:i,onInitiated:a,disabled:d,btnLabel:h="Run Playbook",btnColor:v="primary"})=>{const[m,x]=V.useState(!1),[R,E]=V.useState(!1);function F(){x(!0)}function M(){x(!1)}const B=async D=>{try{E(!0);const{playbookInstanceId:P,errorCode:I,details:W,message:U}=await mm({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(I)throw new Error(`Error initiating playbook: ${U} (Code: ${I}) - Details: ${W}`);a(P)}finally{E(!1)}};return Q.jsxs(Q.Fragment,{children:[r?{buttonNode:r}:Q.jsxs(jl,{onClick:F,className:gt(e,"flex items-center gap-1"),color:v,size:o,disabled:d||R,children:[Q.jsx("img",{src:Jh,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),h]}),Q.jsx($0,{isOpen:m,onClose:M,onConfirm:async D=>{await B(D),M()}})]})};/*!
|
|
128
|
+
`))}else{let F=R.props,M=F==null?void 0:F.className,B=typeof M=="function"?(...I)=>Hp(M(...I),m.className):Hp(M,m.className),D=B?{className:B}:{},P=Um(R.props,as(Lf(m,["ref"])));for(let I in E)I in P&&delete E[I];return V.cloneElement(R,Object.assign({},P,E,x,{ref:a(zb(R),x.ref)},D))}return V.createElement(d,Object.assign({},Lf(m,["ref"]),d!==V.Fragment&&x,d!==V.Fragment&&E),R)}function jb(){let e=V.useRef([]),r=V.useCallback(o=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(o):i.current=o)},[]);return(...o)=>{if(!o.every(i=>i==null))return e.current=o,r}}function Nb(...e){return e.every(r=>r==null)?void 0:r=>{for(let o of e)o!=null&&(typeof o=="function"?o(r):o.current=r)}}function Um(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];if(r.disabled||r["aria-disabled"])for(let i in o)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(o[i]=[a=>{var d;return(d=a==null?void 0:a.preventDefault)==null?void 0:d.call(a)}]);for(let i in o)Object.assign(r,{[i](a,...d){let h=o[i];for(let v of h){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;v(a,...d)}}});return r}function $b(...e){if(e.length===0)return{};if(e.length===1)return e[0];let r={},o={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(o[a]!=null||(o[a]=[]),o[a].push(i[a])):r[a]=i[a];for(let i in o)Object.assign(r,{[i](...a){let d=o[i];for(let h of d)h==null||h(...a)}});return r}function Xl(e){var r;return Object.assign(V.forwardRef(e),{displayName:(r=e.displayName)!=null?r:e.name})}function as(e){let r=Object.assign({},e);for(let o in r)r[o]===void 0&&delete r[o];return r}function Lf(e,r=[]){let o=Object.assign({},e);for(let i of r)i in o&&delete o[i];return o}function zb(e){return V.version.split(".")[0]>="19"?e.props.ref:e.ref}let Bb="span";var Hm=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Hm||{});function Ub(e,r){var o;let{features:i=1,...a}=e,d={ref:r,"aria-hidden":(i&2)===2?!0:(o=a["aria-hidden"])!=null?o: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 Ql()({ourProps:d,theirProps:a,slot:{},defaultTag:Bb,name:"Hidden"})}let Hb=Xl(Ub),Wb=V.createContext(null);function Vb(e){let[r,o]=V.useState(null);return V.createElement(Wb.Provider,{value:{target:r}},e.children,V.createElement(Hb,{features:Hm.Hidden,ref:o}))}let Wm=V.createContext(void 0);function Vm(){return V.useContext(Wm)}function Yb({id:e,children:r}){return V.createElement(Wm.Provider,{value:e},r)}function Gb(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function Ym(e){return Gb(e)&&"tagName"in e}function Gm(e){return Ym(e)&&"accessKey"in e}function Qb(e){return Gm(e)&&e.nodeName==="INPUT"}function Wp(e){return Gm(e)&&e.nodeName==="LABEL"}function Xb(e){return Ym(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let qb=Symbol();function Qm(...e){let r=V.useRef(e);V.useEffect(()=>{r.current=e},[e]);let o=pc(i=>{for(let a of r.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[qb]))?void 0:o}let mc=V.createContext(null);mc.displayName="DescriptionContext";function Xm(){let e=V.useContext(mc);if(e===null){let r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Xm),r}return e}function Jb(){var e,r;return(r=(e=V.useContext(mc))==null?void 0:e.value)!=null?r:void 0}function Kb(){let[e,r]=V.useState([]);return[e.length>0?e.join(" "):void 0,V.useMemo(()=>function(o){let i=pc(d=>(r(h=>[...h,d]),()=>r(h=>{let v=h.slice(),m=v.indexOf(d);return m!==-1&&v.splice(m,1),v}))),a=V.useMemo(()=>({register:i,slot:o.slot,name:o.name,props:o.props,value:o.value}),[i,o.slot,o.name,o.props,o.value]);return V.createElement(mc.Provider,{value:a},o.children)},[r])]}let Zb="p";function e0(e,r){let o=V.useId(),i=hc(),{id:a=`headlessui-description-${o}`,...d}=e,h=Xm(),v=Qm(r);Jd(()=>h.register(a),[a,h.register]);let m=i||!1,x=V.useMemo(()=>({...h.slot,disabled:m}),[h.slot,m]),R={ref:v,...h.props,id:a};return Ql()({ourProps:R,theirProps:d,slot:x,defaultTag:Zb,name:h.name||"Description"})}let t0=Xl(e0),r0=Object.assign(t0,{}),gc=V.createContext(null);gc.displayName="LabelContext";function qm(){let e=V.useContext(gc);if(e===null){let r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,qm),r}return e}function Jm(e){var r,o,i;let a=(o=(r=V.useContext(gc))==null?void 0:r.value)!=null?o:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function n0({inherit:e=!1}={}){let r=Jm(),[o,i]=V.useState([]),a=e?[r,...o].filter(Boolean):o;return[a.length>0?a.join(" "):void 0,V.useMemo(()=>function(d){let h=pc(m=>(i(x=>[...x,m]),()=>i(x=>{let R=x.slice(),E=R.indexOf(m);return E!==-1&&R.splice(E,1),R}))),v=V.useMemo(()=>({register:h,slot:d.slot,name:d.name,props:d.props,value:d.value}),[h,d.slot,d.name,d.props,d.value]);return V.createElement(gc.Provider,{value:v},d.children)},[i])]}let o0="label";function i0(e,r){var o;let i=V.useId(),a=qm(),d=Vm(),h=hc(),{id:v=`headlessui-label-${i}`,htmlFor:m=d??((o=a.props)==null?void 0:o.htmlFor),passive:x=!1,...R}=e,E=Qm(r);Jd(()=>a.register(v),[v,a.register]);let F=pc(P=>{let I=P.currentTarget;if(!(P.target!==P.currentTarget&&Xb(P.target))&&(Wp(I)&&P.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(P),Wp(I))){let W=document.getElementById(I.htmlFor);if(W){let U=W.getAttribute("disabled");if(U==="true"||U==="")return;let q=W.getAttribute("aria-disabled");if(q==="true"||q==="")return;(Qb(W)&&(W.type==="file"||W.type==="radio"||W.type==="checkbox")||W.role==="radio"||W.role==="checkbox"||W.role==="switch")&&W.click(),W.focus({preventScroll:!0})}}}),M=h||!1,B=V.useMemo(()=>({...a.slot,disabled:M}),[a.slot,M]),D={ref:E,...a.props,id:v,htmlFor:m,onClick:F};return x&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in R&&delete R.onClick),Ql()({ourProps:D,theirProps:R,slot:B,defaultTag:m?o0:"div",name:a.name||"Label"})}let a0=Xl(i0),s0=Object.assign(a0,{});function vc(){return typeof window<"u"}function Ms(e){return Km(e)?(e.nodeName||"").toLowerCase():"#document"}function gr(e){var r;return(e==null||(r=e.ownerDocument)==null?void 0:r.defaultView)||window}function io(e){var r;return(r=(Km(e)?e.ownerDocument:e.document)||window.document)==null?void 0:r.documentElement}function Km(e){return vc()?e instanceof Node||e instanceof gr(e).Node:!1}function pt(e){return vc()?e instanceof Element||e instanceof gr(e).Element:!1}function Zr(e){return vc()?e instanceof HTMLElement||e instanceof gr(e).HTMLElement:!1}function vd(e){return!vc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof gr(e).ShadowRoot}function ql(e){const{overflow:r,overflowX:o,overflowY:i,display:a}=_r(e);return/auto|scroll|overlay|hidden|clip/.test(r+i+o)&&!["inline","contents"].includes(a)}function l0(e){return["table","td","th"].includes(Ms(e))}function yc(e){return[":popover-open",":modal"].some(r=>{try{return e.matches(r)}catch{return!1}})}function Kd(e){const r=bc(),o=pt(e)?_r(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>o[i]?o[i]!=="none":!1)||(o.containerType?o.containerType!=="normal":!1)||!r&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!r&&(o.filter?o.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(o.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(o.contain||"").includes(i))}function u0(e){let r=to(e);for(;Zr(r)&&!Zn(r);){if(Kd(r))return r;if(yc(r))return null;r=to(r)}return null}function bc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Zn(e){return["html","body","#document"].includes(Ms(e))}function _r(e){return gr(e).getComputedStyle(e)}function xc(e){return pt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function to(e){if(Ms(e)==="html")return e;const r=e.assignedSlot||e.parentNode||vd(e)&&e.host||io(e);return vd(r)?r.host:r}function Zm(e){const r=to(e);return Zn(r)?e.ownerDocument?e.ownerDocument.body:e.body:Zr(r)&&ql(r)?r:Zm(r)}function ds(e,r,o){var i;r===void 0&&(r=[]),o===void 0&&(o=!0);const a=Zm(e),d=a===((i=e.ownerDocument)==null?void 0:i.body),h=gr(a);if(d){const v=yd(h);return r.concat(h,h.visualViewport||[],ql(a)?a:[],v&&o?ds(v):[])}return r.concat(a,ds(a,[],o))}function yd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Vp=Math.min,Fl=Math.max,ic=Math.round,Sn=e=>({x:e,y:e});function eg(e){return e.split("-")[0]}function c0(e){return e.split("-")[1]}function f0(e){return e==="x"?"y":"x"}function d0(e){return e==="y"?"height":"width"}function tg(e){return["top","bottom"].includes(eg(e))?"y":"x"}function p0(e){return f0(tg(e))}function rg(e){const{x:r,y:o,width:i,height:a}=e;return{width:i,height:a,top:o,left:r,right:r+i,bottom:o+a,x:r,y:o}}function Yp(e,r,o){let{reference:i,floating:a}=e;const d=tg(r),h=p0(r),v=d0(h),m=eg(r),x=d==="y",R=i.x+i.width/2-a.width/2,E=i.y+i.height/2-a.height/2,F=i[v]/2-a[v]/2;let M;switch(m){case"top":M={x:R,y:i.y-a.height};break;case"bottom":M={x:R,y:i.y+i.height};break;case"right":M={x:i.x+i.width,y:E};break;case"left":M={x:i.x-a.width,y:E};break;default:M={x:i.x,y:i.y}}switch(c0(r)){case"start":M[h]-=F*(o&&x?-1:1);break;case"end":M[h]+=F*(o&&x?-1:1);break}return M}const h0=async(e,r,o)=>{const{placement:i="bottom",strategy:a="absolute",middleware:d=[],platform:h}=o,v=d.filter(Boolean),m=await(h.isRTL==null?void 0:h.isRTL(r));let x=await h.getElementRects({reference:e,floating:r,strategy:a}),{x:R,y:E}=Yp(x,i,m),F=i,M={},B=0;for(let D=0;D<v.length;D++){const{name:P,fn:I}=v[D],{x:W,y:U,data:q,reset:_}=await I({x:R,y:E,initialPlacement:i,placement:F,strategy:a,middlewareData:M,rects:x,platform:h,elements:{reference:e,floating:r}});R=W??R,E=U??E,M={...M,[P]:{...M[P],...q}},_&&B<=50&&(B++,typeof _=="object"&&(_.placement&&(F=_.placement),_.rects&&(x=_.rects===!0?await h.getElementRects({reference:e,floating:r,strategy:a}):_.rects),{x:R,y:E}=Yp(x,F,m)),D=-1)}return{x:R,y:E,placement:F,strategy:a,middlewareData:M}};function ng(e){const r=_r(e);let o=parseFloat(r.width)||0,i=parseFloat(r.height)||0;const a=Zr(e),d=a?e.offsetWidth:o,h=a?e.offsetHeight:i,v=ic(o)!==d||ic(i)!==h;return v&&(o=d,i=h),{width:o,height:i,$:v}}function og(e){return pt(e)?e:e.contextElement}function ps(e){const r=og(e);if(!Zr(r))return Sn(1);const o=r.getBoundingClientRect(),{width:i,height:a,$:d}=ng(r);let h=(d?ic(o.width):o.width)/i,v=(d?ic(o.height):o.height)/a;return(!h||!Number.isFinite(h))&&(h=1),(!v||!Number.isFinite(v))&&(v=1),{x:h,y:v}}const m0=Sn(0);function ig(e){const r=gr(e);return!bc()||!r.visualViewport?m0:{x:r.visualViewport.offsetLeft,y:r.visualViewport.offsetTop}}function g0(e,r,o){return r===void 0&&(r=!1),!o||r&&o!==gr(e)?!1:r}function Nl(e,r,o,i){r===void 0&&(r=!1),o===void 0&&(o=!1);const a=e.getBoundingClientRect(),d=og(e);let h=Sn(1);r&&(i?pt(i)&&(h=ps(i)):h=ps(e));const v=g0(d,o,i)?ig(d):Sn(0);let m=(a.left+v.x)/h.x,x=(a.top+v.y)/h.y,R=a.width/h.x,E=a.height/h.y;if(d){const F=gr(d),M=i&&pt(i)?gr(i):i;let B=F,D=yd(B);for(;D&&i&&M!==B;){const P=ps(D),I=D.getBoundingClientRect(),W=_r(D),U=I.left+(D.clientLeft+parseFloat(W.paddingLeft))*P.x,q=I.top+(D.clientTop+parseFloat(W.paddingTop))*P.y;m*=P.x,x*=P.y,R*=P.x,E*=P.y,m+=U,x+=q,B=gr(D),D=yd(B)}}return rg({width:R,height:E,x:m,y:x})}function Zd(e,r){const o=xc(e).scrollLeft;return r?r.left+o:Nl(io(e)).left+o}function ag(e,r,o){o===void 0&&(o=!1);const i=e.getBoundingClientRect(),a=i.left+r.scrollLeft-(o?0:Zd(e,i)),d=i.top+r.scrollTop;return{x:a,y:d}}function v0(e){let{elements:r,rect:o,offsetParent:i,strategy:a}=e;const d=a==="fixed",h=io(i),v=r?yc(r.floating):!1;if(i===h||v&&d)return o;let m={scrollLeft:0,scrollTop:0},x=Sn(1);const R=Sn(0),E=Zr(i);if((E||!E&&!d)&&((Ms(i)!=="body"||ql(h))&&(m=xc(i)),Zr(i))){const M=Nl(i);x=ps(i),R.x=M.x+i.clientLeft,R.y=M.y+i.clientTop}const F=h&&!E&&!d?ag(h,m,!0):Sn(0);return{width:o.width*x.x,height:o.height*x.y,x:o.x*x.x-m.scrollLeft*x.x+R.x+F.x,y:o.y*x.y-m.scrollTop*x.y+R.y+F.y}}function y0(e){return Array.from(e.getClientRects())}function b0(e){const r=io(e),o=xc(e),i=e.ownerDocument.body,a=Fl(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),d=Fl(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let h=-o.scrollLeft+Zd(e);const v=-o.scrollTop;return _r(i).direction==="rtl"&&(h+=Fl(r.clientWidth,i.clientWidth)-a),{width:a,height:d,x:h,y:v}}function x0(e,r){const o=gr(e),i=io(e),a=o.visualViewport;let d=i.clientWidth,h=i.clientHeight,v=0,m=0;if(a){d=a.width,h=a.height;const x=bc();(!x||x&&r==="fixed")&&(v=a.offsetLeft,m=a.offsetTop)}return{width:d,height:h,x:v,y:m}}function w0(e,r){const o=Nl(e,!0,r==="fixed"),i=o.top+e.clientTop,a=o.left+e.clientLeft,d=Zr(e)?ps(e):Sn(1),h=e.clientWidth*d.x,v=e.clientHeight*d.y,m=a*d.x,x=i*d.y;return{width:h,height:v,x:m,y:x}}function Gp(e,r,o){let i;if(r==="viewport")i=x0(e,o);else if(r==="document")i=b0(io(e));else if(pt(r))i=w0(r,o);else{const a=ig(e);i={x:r.x-a.x,y:r.y-a.y,width:r.width,height:r.height}}return rg(i)}function sg(e,r){const o=to(e);return o===r||!pt(o)||Zn(o)?!1:_r(o).position==="fixed"||sg(o,r)}function S0(e,r){const o=r.get(e);if(o)return o;let i=ds(e,[],!1).filter(v=>pt(v)&&Ms(v)!=="body"),a=null;const d=_r(e).position==="fixed";let h=d?to(e):e;for(;pt(h)&&!Zn(h);){const v=_r(h),m=Kd(h);!m&&v.position==="fixed"&&(a=null),(d?!m&&!a:!m&&v.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||ql(h)&&!m&&sg(e,h))?i=i.filter(R=>R!==h):a=v,h=to(h)}return r.set(e,i),i}function k0(e){let{element:r,boundary:o,rootBoundary:i,strategy:a}=e;const h=[...o==="clippingAncestors"?yc(r)?[]:S0(r,this._c):[].concat(o),i],v=h[0],m=h.reduce((x,R)=>{const E=Gp(r,R,a);return x.top=Fl(E.top,x.top),x.right=Vp(E.right,x.right),x.bottom=Vp(E.bottom,x.bottom),x.left=Fl(E.left,x.left),x},Gp(r,v,a));return{width:m.right-m.left,height:m.bottom-m.top,x:m.left,y:m.top}}function E0(e){const{width:r,height:o}=ng(e);return{width:r,height:o}}function C0(e,r,o){const i=Zr(r),a=io(r),d=o==="fixed",h=Nl(e,!0,d,r);let v={scrollLeft:0,scrollTop:0};const m=Sn(0);function x(){m.x=Zd(a)}if(i||!i&&!d)if((Ms(r)!=="body"||ql(a))&&(v=xc(r)),i){const M=Nl(r,!0,d,r);m.x=M.x+r.clientLeft,m.y=M.y+r.clientTop}else a&&x();d&&!i&&a&&x();const R=a&&!i&&!d?ag(a,v):Sn(0),E=h.left+v.scrollLeft-m.x-R.x,F=h.top+v.scrollTop-m.y-R.y;return{x:E,y:F,width:h.width,height:h.height}}function jf(e){return _r(e).position==="static"}function Qp(e,r){if(!Zr(e)||_r(e).position==="fixed")return null;if(r)return r(e);let o=e.offsetParent;return io(e)===o&&(o=o.ownerDocument.body),o}function lg(e,r){const o=gr(e);if(yc(e))return o;if(!Zr(e)){let a=to(e);for(;a&&!Zn(a);){if(pt(a)&&!jf(a))return a;a=to(a)}return o}let i=Qp(e,r);for(;i&&l0(i)&&jf(i);)i=Qp(i,r);return i&&Zn(i)&&jf(i)&&!Kd(i)?o:i||u0(e)||o}const T0=async function(e){const r=this.getOffsetParent||lg,o=this.getDimensions,i=await o(e.floating);return{reference:C0(e.reference,await r(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function R0(e){return _r(e).direction==="rtl"}const P0={convertOffsetParentRelativeRectToViewportRelativeRect:v0,getDocumentElement:io,getClippingRect:k0,getOffsetParent:lg,getElementRects:T0,getClientRects:y0,getDimensions:E0,getScale:ps,isElement:pt,isRTL:R0},A0=(e,r,o)=>{const i=new Map,a={platform:P0,...o},d={...a.platform,_c:i};return h0(e,r,{...a,platform:d})};var I0=typeof document<"u",O0=function(){},Ju=I0?V.useLayoutEffect:O0;function ac(e,r){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(typeof e=="function"&&e.toString()===r.toString())return!0;let o,i,a;if(e&&r&&typeof e=="object"){if(Array.isArray(e)){if(o=e.length,o!==r.length)return!1;for(i=o;i--!==0;)if(!ac(e[i],r[i]))return!1;return!0}if(a=Object.keys(e),o=a.length,o!==Object.keys(r).length)return!1;for(i=o;i--!==0;)if(!{}.hasOwnProperty.call(r,a[i]))return!1;for(i=o;i--!==0;){const d=a[i];if(!(d==="_owner"&&e.$$typeof)&&!ac(e[d],r[d]))return!1}return!0}return e!==e&&r!==r}function ug(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Xp(e,r){const o=ug(e);return Math.round(r*o)/o}function Nf(e){const r=de.useRef(e);return Ju(()=>{r.current=e}),r}function F0(e){e===void 0&&(e={});const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a,elements:{reference:d,floating:h}={},transform:v=!0,whileElementsMounted:m,open:x}=e,[R,E]=de.useState({x:0,y:0,strategy:o,placement:r,middlewareData:{},isPositioned:!1}),[F,M]=de.useState(i);ac(F,i)||M(i);const[B,D]=de.useState(null),[P,I]=de.useState(null),W=de.useCallback(Z=>{Z!==ie.current&&(ie.current=Z,D(Z))},[]),U=de.useCallback(Z=>{Z!==ce.current&&(ce.current=Z,I(Z))},[]),q=d||B,_=h||P,ie=de.useRef(null),ce=de.useRef(null),ee=de.useRef(R),ae=m!=null,Fe=Nf(m),Ne=Nf(a),_e=Nf(x),Ge=de.useCallback(()=>{if(!ie.current||!ce.current)return;const Z={placement:r,strategy:o,middleware:F};Ne.current&&(Z.platform=Ne.current),A0(ie.current,ce.current,Z).then(be=>{const Q={...be,isPositioned:_e.current!==!1};Qe.current&&!ac(ee.current,Q)&&(ee.current=Q,ev.flushSync(()=>{E(Q)}))})},[F,r,o,Ne,_e]);Ju(()=>{x===!1&&ee.current.isPositioned&&(ee.current.isPositioned=!1,E(Z=>({...Z,isPositioned:!1})))},[x]);const Qe=de.useRef(!1);Ju(()=>(Qe.current=!0,()=>{Qe.current=!1}),[]),Ju(()=>{if(q&&(ie.current=q),_&&(ce.current=_),q&&_){if(Fe.current)return Fe.current(q,_,Ge);Ge()}},[q,_,Ge,Fe,ae]);const ke=de.useMemo(()=>({reference:ie,floating:ce,setReference:W,setFloating:U}),[W,U]),Ce=de.useMemo(()=>({reference:q,floating:_}),[q,_]),je=de.useMemo(()=>{const Z={position:o,left:0,top:0};if(!Ce.floating)return Z;const be=Xp(Ce.floating,R.x),Q=Xp(Ce.floating,R.y);return v?{...Z,transform:"translate("+be+"px, "+Q+"px)",...ug(Ce.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:be,top:Q}},[o,v,Ce.floating,R.x,R.y]);return de.useMemo(()=>({...R,update:Ge,refs:ke,elements:Ce,floatingStyles:je}),[R,Ge,ke,Ce,je])}let M0="div";function D0(e,r){let o=`headlessui-control-${V.useId()}`,[i,a]=n0(),[d,h]=Kb(),v=hc(),{disabled:m=v||!1,...x}=e,R=V.useMemo(()=>({disabled:m}),[m]),E={ref:r,disabled:m||void 0,"aria-disabled":m||void 0},F=Ql();return V.createElement(Mb,{value:m},V.createElement(a,{value:i},V.createElement(h,{value:d},V.createElement(Yb,{id:o},F({ourProps:E,theirProps:{...x,children:V.createElement(Vb,null,typeof x.children=="function"?x.children(R):x.children)},slot:R,defaultTag:M0,name:"Field"})))))}let _0=Xl(D0),L0="input";function j0(e,r){let o=V.useId(),i=Vm(),a=hc(),{id:d=i||`headlessui-input-${o}`,disabled:h=a||!1,autoFocus:v=!1,invalid:m=!1,...x}=e,R=Jm(),E=Jb(),{isFocused:F,focusProps:M}=Rb({autoFocus:v}),{isHovered:B,hoverProps:D}=Tb({isDisabled:h}),P=$b({ref:r,id:d,"aria-labelledby":R,"aria-describedby":E,"aria-invalid":m?"true":void 0,disabled:h||void 0,autoFocus:v},M,D),I=V.useMemo(()=>({disabled:h,invalid:m,hover:B,focus:F,autofocus:v}),[h,m,B,F,v]);return Ql()({ourProps:P,theirProps:x,slot:I,defaultTag:L0,name:"Input"})}let N0=Xl(j0);const $0=({type:e="text",className:r,label:o,description:i,error:a,...d})=>Y.jsx("div",{className:"w-full max-w-md px-4",children:Y.jsxs(_0,{children:[o&&Y.jsx(s0,{className:"font-medium text-gray-900",children:o}),i&&Y.jsx(r0,{className:"text-sm text-secondary",children:i}),Y.jsx(N0,{type:e,className:gt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","data-focus:-outline-offset-2 data-focus:outline-primary-500",r,a&&"border-red-500 focus:border-red-500"),...d})]})}),z0=({onConfirm:e,onClose:r,isOpen:o,title:i})=>{const[a,d]=V.useState(""),[h,v]=V.useState(!1),[m,x]=V.useState(!1),R=async()=>{if(a)try{v(!0),await e(a),d("")}catch{x(!0)}finally{v(!1)}else alert("Please enter a valid email address.")};return Y.jsx(ob,{isOpen:o,close:r,dismissOptions:{label:"Cancel",onClick:r},confirmOptions:{label:"Initiate",onClick:R,disabled:h||!a||m},children:Y.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[Y.jsxs("div",{children:[Y.jsx("div",{className:"text-center text-2xl font-medium",children:m?"User already has access":i||"Access Playbook"}),Y.jsx("div",{className:"text-center",children:m?Y.jsxs(Y.Fragment,{children:[Y.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):Y.jsx(Y.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),Y.jsx($0,{disabled:h||m,placeholder:"Enter company email address",onChange:E=>d(E.target.value)})]})})},B0=({btnClassName:e,buttonNode:r,size:o,playbookId:i,onInitiated:a,disabled:d,btnLabel:h="Run Playbook",btnColor:v="primary"})=>{const[m,x]=V.useState(!1),[R,E]=V.useState(!1);function F(){x(!0)}function M(){x(!1)}const B=async D=>{try{E(!0);const{playbookInstanceId:P,errorCode:I,details:W,message:U}=await mm({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(I)throw new Error(`Error initiating playbook: ${U} (Code: ${I}) - Details: ${W}`);a(P)}finally{E(!1)}};return Y.jsxs(Y.Fragment,{children:[r?{buttonNode:r}:Y.jsxs(jl,{onClick:F,className:gt(e,"flex items-center gap-1"),color:v,size:o,disabled:d||R,children:[Y.jsx("img",{src:Jh,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),h]}),Y.jsx(z0,{isOpen:m,onClose:M,onConfirm:async D=>{await B(D),M()}})]})};/*!
|
|
129
129
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
130
130
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
131
131
|
* Copyright 2024 Fonticons, Inc.
|
|
132
|
-
*/const
|
|
132
|
+
*/const U0={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"]},H0=U0,W0={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"]},cg={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"]};/*!
|
|
133
133
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
134
134
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
135
135
|
* Copyright 2024 Fonticons, Inc.
|
|
136
|
-
*/function W0(e,r,o){return(r=Y0(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function qp(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,i)}return o}function ne(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?qp(Object(o),!0).forEach(function(i){W0(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qp(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function V0(e,r){if(typeof e!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,r);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function Y0(e){var r=V0(e,"string");return typeof r=="symbol"?r:r+""}const Jp=()=>{};let ep={},fg={},dg=null,pg={mark:Jp,measure:Jp};try{typeof window<"u"&&(ep=window),typeof document<"u"&&(fg=document),typeof MutationObserver<"u"&&(dg=MutationObserver),typeof performance<"u"&&(pg=performance)}catch{}const{userAgent:Kp=""}=ep.navigator||{},ri=ep,it=fg,Zp=dg,Gu=pg;ri.document;const ao=!!it.documentElement&&!!it.head&&typeof it.addEventListener=="function"&&typeof it.createElement=="function",hg=~Kp.indexOf("MSIE")||~Kp.indexOf("Trident/");var G0=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,Q0=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,mg={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"}},X0={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},gg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_t="classic",bc="duotone",q0="sharp",J0="sharp-duotone",vg=[_t,bc,q0,J0],K0={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"}},Z0={"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"}},ex=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}]]),tx={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"}},rx=["fak","fa-kit","fakd","fa-kit-duotone"],eh={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},nx=["kit"],ox={kit:{"fa-kit":"fak"}},ix=["fak","fakd"],ax={kit:{fak:"fa-kit"}},th={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Qu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},sx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],lx=["fak","fa-kit","fakd","fa-kit-duotone"],ux={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},cx={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"}},fx={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},vd={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"}},dx=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],yd=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...sx,...dx],px=["solid","regular","light","thin","duotone","brands"],yg=[1,2,3,4,5,6,7,8,9,10],hx=yg.concat([11,12,13,14,15,16,17,18,19,20]),mx=[...Object.keys(fx),...px,"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",Qu.GROUP,Qu.SWAP_OPACITY,Qu.PRIMARY,Qu.SECONDARY].concat(yg.map(e=>"".concat(e,"x"))).concat(hx.map(e=>"w-".concat(e))),gx={"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 ro="___FONT_AWESOME___",bd=16,bg="fa",xg="svg-inline--fa",oa="data-fa-i2svg",xd="data-fa-pseudo-element",vx="data-fa-pseudo-element-pending",tp="data-prefix",rp="data-icon",rh="fontawesome-i2svg",yx="async",bx=["HTML","HEAD","STYLE","SCRIPT"],wg=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function ql(e){return new Proxy(e,{get(r,o){return o in r?r[o]:r[_t]}})}const Sg=ne({},mg);Sg[_t]=ne(ne(ne(ne({},{"fa-duotone":"duotone"}),mg[_t]),eh.kit),eh["kit-duotone"]);const xx=ql(Sg),wd=ne({},tx);wd[_t]=ne(ne(ne(ne({},{duotone:"fad"}),wd[_t]),th.kit),th["kit-duotone"]);const nh=ql(wd),Sd=ne({},vd);Sd[_t]=ne(ne({},Sd[_t]),ax.kit);const np=ql(Sd),kd=ne({},cx);kd[_t]=ne(ne({},kd[_t]),ox.kit);ql(kd);const wx=G0,kg="fa-layers-text",Sx=Q0,kx=ne({},K0);ql(kx);const Ex=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],jf=X0,Cx=[...nx,...mx],Ml=ri.FontAwesomeConfig||{};function Tx(e){var r=it.querySelector("script["+e+"]");if(r)return r.getAttribute(e)}function Rx(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}it&&typeof it.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(r=>{let[o,i]=r;const a=Rx(Tx(o));a!=null&&(Ml[i]=a)});const Eg={styleDefault:"solid",familyDefault:_t,cssPrefix:bg,replacementClass:xg,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ml.familyPrefix&&(Ml.cssPrefix=Ml.familyPrefix);const Ps=ne(ne({},Eg),Ml);Ps.autoReplaceSvg||(Ps.observeMutations=!1);const Se={};Object.keys(Eg).forEach(e=>{Object.defineProperty(Se,e,{enumerable:!0,set:function(r){Ps[e]=r,Dl.forEach(o=>o(Se))},get:function(){return Ps[e]}})});Object.defineProperty(Se,"familyPrefix",{enumerable:!0,set:function(e){Ps.cssPrefix=e,Dl.forEach(r=>r(Se))},get:function(){return Ps.cssPrefix}});ri.FontAwesomeConfig=Se;const Dl=[];function Px(e){return Dl.push(e),()=>{Dl.splice(Dl.indexOf(e),1)}}const Ho=bd,xn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ax(e){if(!e||!ao)return;const r=it.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=e;const o=it.head.childNodes;let i=null;for(let a=o.length-1;a>-1;a--){const d=o[a],h=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(h)>-1&&(i=d)}return it.head.insertBefore(r,i),e}const Ix="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $l(){let e=12,r="";for(;e-- >0;)r+=Ix[Math.random()*62|0];return r}function Ds(e){const r=[];for(let o=(e||[]).length>>>0;o--;)r[o]=e[o];return r}function op(e){return e.classList?Ds(e.classList):(e.getAttribute("class")||"").split(" ").filter(r=>r)}function Cg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Ox(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,'="').concat(Cg(e[o]),'" '),"").trim()}function xc(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,": ").concat(e[o].trim(),";"),"")}function ip(e){return e.size!==xn.size||e.x!==xn.x||e.y!==xn.y||e.rotate!==xn.rotate||e.flipX||e.flipY}function Fx(e){let{transform:r,containerWidth:o,iconWidth:i}=e;const a={transform:"translate(".concat(o/2," 256)")},d="translate(".concat(r.x*32,", ").concat(r.y*32,") "),h="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),v="rotate(".concat(r.rotate," 0 0)"),m={transform:"".concat(d," ").concat(h," ").concat(v)},x={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:m,path:x}}function Mx(e){let{transform:r,width:o=bd,height:i=bd,startCentered:a=!1}=e,d="";return a&&hg?d+="translate(".concat(r.x/Ho-o/2,"em, ").concat(r.y/Ho-i/2,"em) "):a?d+="translate(calc(-50% + ".concat(r.x/Ho,"em), calc(-50% + ").concat(r.y/Ho,"em)) "):d+="translate(".concat(r.x/Ho,"em, ").concat(r.y/Ho,"em) "),d+="scale(".concat(r.size/Ho*(r.flipX?-1:1),", ").concat(r.size/Ho*(r.flipY?-1:1),") "),d+="rotate(".concat(r.rotate,"deg) "),d}var Dx=`:root, :host {
|
|
136
|
+
*/function V0(e,r,o){return(r=G0(r))in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function qp(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,i)}return o}function ne(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?qp(Object(o),!0).forEach(function(i){V0(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):qp(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function Y0(e,r){if(typeof e!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var i=o.call(e,r);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function G0(e){var r=Y0(e,"string");return typeof r=="symbol"?r:r+""}const Jp=()=>{};let ep={},fg={},dg=null,pg={mark:Jp,measure:Jp};try{typeof window<"u"&&(ep=window),typeof document<"u"&&(fg=document),typeof MutationObserver<"u"&&(dg=MutationObserver),typeof performance<"u"&&(pg=performance)}catch{}const{userAgent:Kp=""}=ep.navigator||{},ri=ep,it=fg,Zp=dg,Qu=pg;ri.document;const ao=!!it.documentElement&&!!it.head&&typeof it.addEventListener=="function"&&typeof it.createElement=="function",hg=~Kp.indexOf("MSIE")||~Kp.indexOf("Trident/");var Q0=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,X0=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,mg={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"}},q0={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},gg=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],_t="classic",wc="duotone",J0="sharp",K0="sharp-duotone",vg=[_t,wc,J0,K0],Z0={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"}},ex={"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"}},tx=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}]]),rx={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"}},nx=["fak","fa-kit","fakd","fa-kit-duotone"],eh={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},ox=["kit"],ix={kit:{"fa-kit":"fak"}},ax=["fak","fakd"],sx={kit:{fak:"fa-kit"}},th={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Xu={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},lx=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],ux=["fak","fa-kit","fakd","fa-kit-duotone"],cx={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},fx={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"}},dx={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},bd={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"}},px=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],xd=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...lx,...px],hx=["solid","regular","light","thin","duotone","brands"],yg=[1,2,3,4,5,6,7,8,9,10],mx=yg.concat([11,12,13,14,15,16,17,18,19,20]),gx=[...Object.keys(dx),...hx,"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",Xu.GROUP,Xu.SWAP_OPACITY,Xu.PRIMARY,Xu.SECONDARY].concat(yg.map(e=>"".concat(e,"x"))).concat(mx.map(e=>"w-".concat(e))),vx={"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 ro="___FONT_AWESOME___",wd=16,bg="fa",xg="svg-inline--fa",ia="data-fa-i2svg",Sd="data-fa-pseudo-element",yx="data-fa-pseudo-element-pending",tp="data-prefix",rp="data-icon",rh="fontawesome-i2svg",bx="async",xx=["HTML","HEAD","STYLE","SCRIPT"],wg=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function Jl(e){return new Proxy(e,{get(r,o){return o in r?r[o]:r[_t]}})}const Sg=ne({},mg);Sg[_t]=ne(ne(ne(ne({},{"fa-duotone":"duotone"}),mg[_t]),eh.kit),eh["kit-duotone"]);const wx=Jl(Sg),kd=ne({},rx);kd[_t]=ne(ne(ne(ne({},{duotone:"fad"}),kd[_t]),th.kit),th["kit-duotone"]);const nh=Jl(kd),Ed=ne({},bd);Ed[_t]=ne(ne({},Ed[_t]),sx.kit);const np=Jl(Ed),Cd=ne({},fx);Cd[_t]=ne(ne({},Cd[_t]),ix.kit);Jl(Cd);const Sx=Q0,kg="fa-layers-text",kx=X0,Ex=ne({},Z0);Jl(Ex);const Cx=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],$f=q0,Tx=[...ox,...gx],Ml=ri.FontAwesomeConfig||{};function Rx(e){var r=it.querySelector("script["+e+"]");if(r)return r.getAttribute(e)}function Px(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}it&&typeof it.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(r=>{let[o,i]=r;const a=Px(Rx(o));a!=null&&(Ml[i]=a)});const Eg={styleDefault:"solid",familyDefault:_t,cssPrefix:bg,replacementClass:xg,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ml.familyPrefix&&(Ml.cssPrefix=Ml.familyPrefix);const Ps=ne(ne({},Eg),Ml);Ps.autoReplaceSvg||(Ps.observeMutations=!1);const Se={};Object.keys(Eg).forEach(e=>{Object.defineProperty(Se,e,{enumerable:!0,set:function(r){Ps[e]=r,Dl.forEach(o=>o(Se))},get:function(){return Ps[e]}})});Object.defineProperty(Se,"familyPrefix",{enumerable:!0,set:function(e){Ps.cssPrefix=e,Dl.forEach(r=>r(Se))},get:function(){return Ps.cssPrefix}});ri.FontAwesomeConfig=Se;const Dl=[];function Ax(e){return Dl.push(e),()=>{Dl.splice(Dl.indexOf(e),1)}}const Ho=wd,xn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Ix(e){if(!e||!ao)return;const r=it.createElement("style");r.setAttribute("type","text/css"),r.innerHTML=e;const o=it.head.childNodes;let i=null;for(let a=o.length-1;a>-1;a--){const d=o[a],h=(d.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(h)>-1&&(i=d)}return it.head.insertBefore(r,i),e}const Ox="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function $l(){let e=12,r="";for(;e-- >0;)r+=Ox[Math.random()*62|0];return r}function Ds(e){const r=[];for(let o=(e||[]).length>>>0;o--;)r[o]=e[o];return r}function op(e){return e.classList?Ds(e.classList):(e.getAttribute("class")||"").split(" ").filter(r=>r)}function Cg(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Fx(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,'="').concat(Cg(e[o]),'" '),"").trim()}function Sc(e){return Object.keys(e||{}).reduce((r,o)=>r+"".concat(o,": ").concat(e[o].trim(),";"),"")}function ip(e){return e.size!==xn.size||e.x!==xn.x||e.y!==xn.y||e.rotate!==xn.rotate||e.flipX||e.flipY}function Mx(e){let{transform:r,containerWidth:o,iconWidth:i}=e;const a={transform:"translate(".concat(o/2," 256)")},d="translate(".concat(r.x*32,", ").concat(r.y*32,") "),h="scale(".concat(r.size/16*(r.flipX?-1:1),", ").concat(r.size/16*(r.flipY?-1:1),") "),v="rotate(".concat(r.rotate," 0 0)"),m={transform:"".concat(d," ").concat(h," ").concat(v)},x={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:m,path:x}}function Dx(e){let{transform:r,width:o=wd,height:i=wd,startCentered:a=!1}=e,d="";return a&&hg?d+="translate(".concat(r.x/Ho-o/2,"em, ").concat(r.y/Ho-i/2,"em) "):a?d+="translate(calc(-50% + ".concat(r.x/Ho,"em), calc(-50% + ").concat(r.y/Ho,"em)) "):d+="translate(".concat(r.x/Ho,"em, ").concat(r.y/Ho,"em) "),d+="scale(".concat(r.size/Ho*(r.flipX?-1:1),", ").concat(r.size/Ho*(r.flipY?-1:1),") "),d+="rotate(".concat(r.rotate,"deg) "),d}var _x=`:root, :host {
|
|
137
137
|
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
138
138
|
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
139
139
|
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
@@ -686,7 +686,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
686
686
|
.svg-inline--fa mask .fa-primary,
|
|
687
687
|
.svg-inline--fa mask .fa-secondary {
|
|
688
688
|
fill: black;
|
|
689
|
-
}`;function Tg(){const e=bg,r=xg,o=Se.cssPrefix,i=Se.replacementClass;let a=Dx;if(o!==e||i!==r){const d=new RegExp("\\.".concat(e,"\\-"),"g"),h=new RegExp("\\--".concat(e,"\\-"),"g"),v=new RegExp("\\.".concat(r),"g");a=a.replace(d,".".concat(o,"-")).replace(h,"--".concat(o,"-")).replace(v,".".concat(i))}return a}let oh=!1;function Nf(){Se.autoAddCss&&!oh&&(Ax(Tg()),oh=!0)}var _x={mixout(){return{dom:{css:Tg,insertCss:Nf}}},hooks(){return{beforeDOMElementCreation(){Nf()},beforeI2svg(){Nf()}}}};const no=ri||{};no[ro]||(no[ro]={});no[ro].styles||(no[ro].styles={});no[ro].hooks||(no[ro].hooks={});no[ro].shims||(no[ro].shims=[]);var wn=no[ro];const Rg=[],Pg=function(){it.removeEventListener("DOMContentLoaded",Pg),ac=1,Rg.map(e=>e())};let ac=!1;ao&&(ac=(it.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(it.readyState),ac||it.addEventListener("DOMContentLoaded",Pg));function Lx(e){ao&&(ac?setTimeout(e,0):Rg.push(e))}function Jl(e){const{tag:r,attributes:o={},children:i=[]}=e;return typeof e=="string"?Cg(e):"<".concat(r," ").concat(Ox(o),">").concat(i.map(Jl).join(""),"</").concat(r,">")}function ih(e,r,o){if(e&&e[r]&&e[r][o])return{prefix:r,iconName:o,icon:e[r][o]}}var $f=function(r,o,i,a){var d=Object.keys(r),h=d.length,v=o,m,x,R;for(i===void 0?(m=1,R=r[d[0]]):(m=0,R=i);m<h;m++)x=d[m],R=v(R,r[x],x,r);return R};function jx(e){const r=[];let o=0;const i=e.length;for(;o<i;){const a=e.charCodeAt(o++);if(a>=55296&&a<=56319&&o<i){const d=e.charCodeAt(o++);(d&64512)==56320?r.push(((a&1023)<<10)+(d&1023)+65536):(r.push(a),o--)}else r.push(a)}return r}function Ed(e){const r=jx(e);return r.length===1?r[0].toString(16):null}function Nx(e,r){const o=e.length;let i=e.charCodeAt(r),a;return i>=55296&&i<=56319&&o>r+1&&(a=e.charCodeAt(r+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function ah(e){return Object.keys(e).reduce((r,o)=>{const i=e[o];return!!i.icon?r[i.iconName]=i.icon:r[o]=i,r},{})}function Cd(e,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=o,a=ah(r);typeof wn.hooks.addPack=="function"&&!i?wn.hooks.addPack(e,ah(r)):wn.styles[e]=ne(ne({},wn.styles[e]||{}),a),e==="fas"&&Cd("fa",r)}const{styles:zl,shims:$x}=wn,Ag=Object.keys(np),zx=Ag.reduce((e,r)=>(e[r]=Object.keys(np[r]),e),{});let ap=null,Ig={},Og={},Fg={},Mg={},Dg={};function Bx(e){return~Cx.indexOf(e)}function Ux(e,r){const o=r.split("-"),i=o[0],a=o.slice(1).join("-");return i===e&&a!==""&&!Bx(a)?a:null}const _g=()=>{const e=i=>$f(zl,(a,d,h)=>(a[h]=$f(d,i,{}),a),{});Ig=e((i,a,d)=>(a[3]&&(i[a[3]]=d),a[2]&&a[2].filter(v=>typeof v=="number").forEach(v=>{i[v.toString(16)]=d}),i)),Og=e((i,a,d)=>(i[d]=d,a[2]&&a[2].filter(v=>typeof v=="string").forEach(v=>{i[v]=d}),i)),Dg=e((i,a,d)=>{const h=a[2];return i[d]=d,h.forEach(v=>{i[v]=d}),i});const r="far"in zl||Se.autoFetchSvg,o=$f($x,(i,a)=>{const d=a[0];let h=a[1];const v=a[2];return h==="far"&&!r&&(h="fas"),typeof d=="string"&&(i.names[d]={prefix:h,iconName:v}),typeof d=="number"&&(i.unicodes[d.toString(16)]={prefix:h,iconName:v}),i},{names:{},unicodes:{}});Fg=o.names,Mg=o.unicodes,ap=wc(Se.styleDefault,{family:Se.familyDefault})};Px(e=>{ap=wc(e.styleDefault,{family:Se.familyDefault})});_g();function sp(e,r){return(Ig[e]||{})[r]}function Hx(e,r){return(Og[e]||{})[r]}function Yi(e,r){return(Dg[e]||{})[r]}function Lg(e){return Fg[e]||{prefix:null,iconName:null}}function Wx(e){const r=Mg[e],o=sp("fas",e);return r||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function ni(){return ap}const jg=()=>({prefix:null,iconName:null,rest:[]});function Vx(e){let r=_t;const o=Ag.reduce((i,a)=>(i[a]="".concat(Se.cssPrefix,"-").concat(a),i),{});return vg.forEach(i=>{(e.includes(o[i])||e.some(a=>zx[i].includes(a)))&&(r=i)}),r}function wc(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:o=_t}=r,i=xx[o][e];if(o===bc&&!e)return"fad";const a=nh[o][e]||nh[o][i],d=e in wn.styles?e:null;return a||d||null}function Yx(e){let r=[],o=null;return e.forEach(i=>{const a=Ux(Se.cssPrefix,i);a?o=a:i&&r.push(i)}),{iconName:o,rest:r}}function sh(e){return e.sort().filter((r,o,i)=>i.indexOf(r)===o)}function Sc(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:o=!1}=r;let i=null;const a=yd.concat(lx),d=sh(e.filter(E=>a.includes(E))),h=sh(e.filter(E=>!yd.includes(E))),v=d.filter(E=>(i=E,!gg.includes(E))),[m=null]=v,x=Vx(d),R=ne(ne({},Yx(h)),{},{prefix:wc(m,{family:x})});return ne(ne(ne({},R),qx({values:e,family:x,styles:zl,config:Se,canonical:R,givenPrefix:i})),Gx(o,i,R))}function Gx(e,r,o){let{prefix:i,iconName:a}=o;if(e||!i||!a)return{prefix:i,iconName:a};const d=r==="fa"?Lg(a):{},h=Yi(i,a);return a=d.iconName||h||a,i=d.prefix||i,i==="far"&&!zl.far&&zl.fas&&!Se.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const Qx=vg.filter(e=>e!==_t||e!==bc),Xx=Object.keys(vd).filter(e=>e!==_t).map(e=>Object.keys(vd[e])).flat();function qx(e){const{values:r,family:o,canonical:i,givenPrefix:a="",styles:d={},config:h={}}=e,v=o===bc,m=r.includes("fa-duotone")||r.includes("fad"),x=h.familyDefault==="duotone",R=i.prefix==="fad"||i.prefix==="fa-duotone";if(!v&&(m||x||R)&&(i.prefix="fad"),(r.includes("fa-brands")||r.includes("fab"))&&(i.prefix="fab"),!i.prefix&&Qx.includes(o)&&(Object.keys(d).find(F=>Xx.includes(F))||h.autoFetchSvg)){const F=ex.get(o).defaultShortPrefixId;i.prefix=F,i.iconName=Yi(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=ni()||"fas"),i}class Jx{constructor(){this.definitions={}}add(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(d=>{this.definitions[d]=ne(ne({},this.definitions[d]||{}),a[d]),Cd(d,a[d]);const h=np[_t][d];h&&Cd(h,a[d]),_g()})}reset(){this.definitions={}}_pullDefinitions(r,o){const i=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(i).map(a=>{const{prefix:d,iconName:h,icon:v}=i[a],m=v[2];r[d]||(r[d]={}),m.length>0&&m.forEach(x=>{typeof x=="string"&&(r[d][x]=v)}),r[d][h]=v}),r}}let lh=[],ls={};const hs={},Kx=Object.keys(hs);function Zx(e,r){let{mixoutsTo:o}=r;return lh=e,ls={},Object.keys(hs).forEach(i=>{Kx.indexOf(i)===-1&&delete hs[i]}),lh.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(d=>{typeof a[d]=="function"&&(o[d]=a[d]),typeof a[d]=="object"&&Object.keys(a[d]).forEach(h=>{o[d]||(o[d]={}),o[d][h]=a[d][h]})}),i.hooks){const d=i.hooks();Object.keys(d).forEach(h=>{ls[h]||(ls[h]=[]),ls[h].push(d[h])})}i.provides&&i.provides(hs)}),o}function Td(e,r){for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return(ls[e]||[]).forEach(h=>{r=h.apply(null,[r,...i])}),r}function ia(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];(ls[e]||[]).forEach(d=>{d.apply(null,o)})}function oi(){const e=arguments[0],r=Array.prototype.slice.call(arguments,1);return hs[e]?hs[e].apply(null,r):void 0}function Rd(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:r}=e;const o=e.prefix||ni();if(r)return r=Yi(o,r)||r,ih(Ng.definitions,o,r)||ih(wn.styles,o,r)}const Ng=new Jx,ew=()=>{Se.autoReplaceSvg=!1,Se.observeMutations=!1,ia("noAuto")},tw={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ao?(ia("beforeI2svg",e),oi("pseudoElements2svg",e),oi("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:r}=e;Se.autoReplaceSvg===!1&&(Se.autoReplaceSvg=!0),Se.observeMutations=!0,Lx(()=>{nw({autoReplaceSvgRoot:r}),ia("watch",e)})}},rw={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Yi(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const r=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],o=wc(e[0]);return{prefix:o,iconName:Yi(o,r)||r}}if(typeof e=="string"&&(e.indexOf("".concat(Se.cssPrefix,"-"))>-1||e.match(wx))){const r=Sc(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ni(),iconName:Yi(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){const r=ni();return{prefix:r,iconName:Yi(r,e)||e}}}},vr={noAuto:ew,config:Se,dom:tw,parse:rw,library:Ng,findIconDefinition:Rd,toHtml:Jl},nw=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r=it}=e;(Object.keys(wn.styles).length>0||Se.autoFetchSvg)&&ao&&Se.autoReplaceSvg&&vr.dom.i2svg({node:r})};function kc(e,r){return Object.defineProperty(e,"abstract",{get:r}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(o=>Jl(o))}}),Object.defineProperty(e,"node",{get:function(){if(!ao)return;const o=it.createElement("div");return o.innerHTML=e.html,o.children}}),e}function ow(e){let{children:r,main:o,mask:i,attributes:a,styles:d,transform:h}=e;if(ip(h)&&o.found&&!i.found){const{width:v,height:m}=o,x={x:v/m/2,y:.5};a.style=xc(ne(ne({},d),{},{"transform-origin":"".concat(x.x+h.x/16,"em ").concat(x.y+h.y/16,"em")}))}return[{tag:"svg",attributes:a,children:r}]}function iw(e){let{prefix:r,iconName:o,children:i,attributes:a,symbol:d}=e;const h=d===!0?"".concat(r,"-").concat(Se.cssPrefix,"-").concat(o):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ne(ne({},a),{},{id:h}),children:i}]}]}function lp(e){const{icons:{main:r,mask:o},prefix:i,iconName:a,transform:d,symbol:h,title:v,maskId:m,titleId:x,extra:R,watchable:E=!1}=e,{width:F,height:M}=o.found?o:r,B=ix.includes(i),D=[Se.replacementClass,a?"".concat(Se.cssPrefix,"-").concat(a):""].filter(_=>R.classes.indexOf(_)===-1).filter(_=>_!==""||!!_).concat(R.classes).join(" ");let P={children:[],attributes:ne(ne({},R.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:R.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(M)})};const I=B&&!~R.classes.indexOf("fa-fw")?{width:"".concat(F/M*16*.0625,"em")}:{};E&&(P.attributes[oa]=""),v&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(x||$l())},children:[v]}),delete P.attributes.title);const W=ne(ne({},P),{},{prefix:i,iconName:a,main:r,mask:o,maskId:m,transform:d,symbol:h,styles:ne(ne({},I),R.styles)}),{children:U,attributes:q}=o.found&&r.found?oi("generateAbstractMask",W)||{children:[],attributes:{}}:oi("generateAbstractIcon",W)||{children:[],attributes:{}};return W.children=U,W.attributes=q,h?iw(W):ow(W)}function uh(e){const{content:r,width:o,height:i,transform:a,title:d,extra:h,watchable:v=!1}=e,m=ne(ne(ne({},h.attributes),d?{title:d}:{}),{},{class:h.classes.join(" ")});v&&(m[oa]="");const x=ne({},h.styles);ip(a)&&(x.transform=Mx({transform:a,startCentered:!0,width:o,height:i}),x["-webkit-transform"]=x.transform);const R=xc(x);R.length>0&&(m.style=R);const E=[];return E.push({tag:"span",attributes:m,children:[r]}),d&&E.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),E}function aw(e){const{content:r,title:o,extra:i}=e,a=ne(ne(ne({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")}),d=xc(i.styles);d.length>0&&(a.style=d);const h=[];return h.push({tag:"span",attributes:a,children:[r]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}const{styles:zf}=wn;function Pd(e){const r=e[0],o=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat(jf.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:r,height:o,icon:a}}const sw={found:!1,width:512,height:512};function lw(e,r){!wg&&!Se.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(r,'" is missing.'))}function Ad(e,r){let o=r;return r==="fa"&&Se.styleDefault!==null&&(r=ni()),new Promise((i,a)=>{if(o==="fa"){const d=Lg(e)||{};e=d.iconName||e,r=d.prefix||r}if(e&&r&&zf[r]&&zf[r][e]){const d=zf[r][e];return i(Pd(d))}lw(e,r),i(ne(ne({},sw),{},{icon:Se.showMissingIcons&&e?oi("missingIconAbstract")||{}:{}}))})}const ch=()=>{},Id=Se.measurePerformance&&Gu&&Gu.mark&&Gu.measure?Gu:{mark:ch,measure:ch},Al='FA "6.7.2"',uw=e=>(Id.mark("".concat(Al," ").concat(e," begins")),()=>$g(e)),$g=e=>{Id.mark("".concat(Al," ").concat(e," ends")),Id.measure("".concat(Al," ").concat(e),"".concat(Al," ").concat(e," begins"),"".concat(Al," ").concat(e," ends"))};var up={begin:uw,end:$g};const Ju=()=>{};function fh(e){return typeof(e.getAttribute?e.getAttribute(oa):null)=="string"}function cw(e){const r=e.getAttribute?e.getAttribute(tp):null,o=e.getAttribute?e.getAttribute(rp):null;return r&&o}function fw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Se.replacementClass)}function dw(){return Se.autoReplaceSvg===!0?Ku.replace:Ku[Se.autoReplaceSvg]||Ku.replace}function pw(e){return it.createElementNS("http://www.w3.org/2000/svg",e)}function hw(e){return it.createElement(e)}function zg(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:o=e.tag==="svg"?pw:hw}=r;if(typeof e=="string")return it.createTextNode(e);const i=o(e.tag);return Object.keys(e.attributes||[]).forEach(function(d){i.setAttribute(d,e.attributes[d])}),(e.children||[]).forEach(function(d){i.appendChild(zg(d,{ceFn:o}))}),i}function mw(e){let r=" ".concat(e.outerHTML," ");return r="".concat(r,"Font Awesome fontawesome.com "),r}const Ku={replace:function(e){const r=e[0];if(r.parentNode)if(e[1].forEach(o=>{r.parentNode.insertBefore(zg(o),r)}),r.getAttribute(oa)===null&&Se.keepOriginalSource){let o=it.createComment(mw(r));r.parentNode.replaceChild(o,r)}else r.remove()},nest:function(e){const r=e[0],o=e[1];if(~op(r).indexOf(Se.replacementClass))return Ku.replace(e);const i=new RegExp("".concat(Se.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){const d=o[0].attributes.class.split(" ").reduce((h,v)=>(v===Se.replacementClass||v.match(i)?h.toSvg.push(v):h.toNode.push(v),h),{toNode:[],toSvg:[]});o[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",d.toNode.join(" "))}const a=o.map(d=>Jl(d)).join(`
|
|
690
|
-
`);r.setAttribute(
|
|
691
|
-
`),e.removeAttribute(o),i()}).catch(a)}else i()}else i()})}function
|
|
692
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qw(e){var r,o=e.beat,i=e.fade,a=e.beatFade,d=e.bounce,h=e.shake,v=e.flash,m=e.spin,x=e.spinPulse,R=e.spinReverse,E=e.pulse,F=e.fixedWidth,M=e.inverse,B=e.border,D=e.listItem,P=e.flip,I=e.size,W=e.rotation,U=e.pull,q=(r={"fa-beat":o,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":d,"fa-shake":h,"fa-flash":v,"fa-spin":m,"fa-spin-reverse":R,"fa-spin-pulse":x,"fa-pulse":E,"fa-fw":F,"fa-inverse":M,"fa-border":B,"fa-li":D,"fa-flip":P===!0,"fa-flip-horizontal":P==="horizontal"||P==="both","fa-flip-vertical":P==="vertical"||P==="both"},us(r,"fa-".concat(I),typeof I<"u"&&I!==null),us(r,"fa-rotate-".concat(W),typeof W<"u"&&W!==null&&W!==0),us(r,"fa-pull-".concat(U),typeof U<"u"&&U!==null),us(r,"fa-swap-opacity",e.swapOpacity),r);return Object.keys(q).map(function(_){return q[_]?_:null}).filter(function(_){return _})}function Jw(e){return e=e-0,e===e}function Vg(e){return Jw(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(r,o){return o?o.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Kw=["style"];function Zw(e){return e.charAt(0).toUpperCase()+e.slice(1)}function eS(e){return e.split(";").map(function(r){return r.trim()}).filter(function(r){return r}).reduce(function(r,o){var i=o.indexOf(":"),a=Vg(o.slice(0,i)),d=o.slice(i+1).trim();return a.startsWith("webkit")?r[Zw(a)]=d:r[a]=d,r},{})}function Yg(e,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof r=="string")return r;var i=(r.children||[]).map(function(m){return Yg(e,m)}),a=Object.keys(r.attributes||{}).reduce(function(m,x){var R=r.attributes[x];switch(x){case"class":m.attrs.className=R,delete r.attributes.class;break;case"style":m.attrs.style=eS(R);break;default:x.indexOf("aria-")===0||x.indexOf("data-")===0?m.attrs[x.toLowerCase()]=R:m.attrs[Vg(x)]=R}return m},{attrs:{}}),d=o.style,h=d===void 0?{}:d,v=Wg(o,Kw);return a.attrs.style=ti(ti({},a.attrs.style),h),e.apply(void 0,[r.tag,ti(ti({},a.attrs),v)].concat(Dd(i)))}var Gg=!1;try{Gg=process.env.NODE_ENV==="production"}catch{}function tS(){if(!Gg&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Eh(e){if(e&&lc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Md.icon)return Md.icon(e);if(e===null)return null;if(e&&lc(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 Uf(e,r){return Array.isArray(r)&&r.length>0||!Array.isArray(r)&&r?us({},e,r):{}}var rS=["forwardedRef"];function ii(e){var r=e.forwardedRef,o=Wg(e,rS),i=o.icon,a=o.mask,d=o.symbol,h=o.className,v=o.title,m=o.titleId,x=o.maskId,R=Eh(i),E=Uf("classes",[].concat(Dd(qw(o)),Dd(h.split(" ")))),F=Uf("transform",typeof o.transform=="string"?Md.transform(o.transform):o.transform),M=Uf("mask",Eh(a)),B=Ww(R,ti(ti(ti(ti({},E),F),M),{},{symbol:d,title:v,titleId:m,maskId:x}));if(!B)return tS("Could not find icon",R),null;var D=B.abstract,P={ref:r};return Object.keys(o).forEach(function(I){ii.defaultProps.hasOwnProperty(I)||(P[I]=o[I])}),nS(D[0],P)}ii.displayName="FontAwesomeIcon";ii.propTypes={beat:Me.bool,border:Me.bool,beatFade:Me.bool,bounce:Me.bool,className:Me.string,fade:Me.bool,flash:Me.bool,mask:Me.oneOfType([Me.object,Me.array,Me.string]),maskId:Me.string,fixedWidth:Me.bool,inverse:Me.bool,flip:Me.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Me.oneOfType([Me.object,Me.array,Me.string]),listItem:Me.bool,pull:Me.oneOf(["right","left"]),pulse:Me.bool,rotation:Me.oneOf([0,90,180,270]),shake:Me.bool,size:Me.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Me.bool,spinPulse:Me.bool,spinReverse:Me.bool,symbol:Me.oneOfType([Me.bool,Me.string]),title:Me.string,titleId:Me.string,transform:Me.oneOfType([Me.string,Me.object]),swapOpacity:Me.bool};ii.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 nS=Yg.bind(null,V.createElement);const oS=async e=>await(await fetch(`${Vl}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),iS=({taskId:e,playbookId:r,enabled:o})=>{const{queryClient:i}=Is(),a=async()=>oS({taskId:+e,templateId:r.toString()}),d=["taskDetails",+e,r],h=Hd({queryKey:d,queryFn:a,enabled:o,staleTime:1/0},i),v=()=>{i.prefetchQuery({queryFn:a,queryKey:d,staleTime:1/0})};return{taskDetails:h.data,prefetchQuery:v,...h}},aS=({buttons:e,onButtonClick:r,disabled:o})=>Q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>Q.jsx(jl,{size:"smallCollapse",className:"ml-2",disabled:o,onClick:()=>{r(i)},children:cy[i]},i))});function Ch(e,r){if(!e||!r)return!1;const o=r.getRootNode==null?void 0:r.getRootNode();if(e.contains(r))return!0;if(o&&md(o)){let i=r;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Rl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Hf(e,r){if(r==null)return!1;if("composedPath"in e)return e.composedPath().includes(r);const o=e;return o.target!=null&&r.contains(o.target)}function sS(e){return e.matches("html,body")}function Th(e){return(e==null?void 0:e.ownerDocument)||document}function Wf(e,r){let o=e.filter(a=>{var d;return a.parentId===r&&((d=a.context)==null?void 0:d.open)}),i=o;for(;i.length;)i=e.filter(a=>{var d;return(d=i)==null?void 0:d.some(h=>{var v;return a.parentId===h.id&&((v=a.context)==null?void 0:v.open)})}),o=o.concat(i);return o}function lS(e){return"nativeEvent"in e}var uS=typeof document<"u",cS=function(){},Ld=uS?V.useLayoutEffect:cS;const fS={...de},dS=fS.useInsertionEffect,pS=dS||(e=>e());function ss(e){const r=de.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return pS(()=>{r.current=e}),de.useCallback(function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r.current==null?void 0:r.current(...i)},[])}const hS="data-floating-ui-focusable",Rh="active",Ph="selected",mS={...de};let Ah=!1,gS=0;const Ih=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+gS++;function vS(){const[e,r]=de.useState(()=>Ah?Ih():void 0);return Ld(()=>{e==null&&r(Ih())},[]),de.useEffect(()=>{Ah=!0},[]),e}const yS=mS.useId,bS=yS||vS;let jd;process.env.NODE_ENV!=="production"&&(jd=new Set);function xS(){for(var e,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a="Floating UI: "+o.join(" ");if(!((e=jd)!=null&&e.has(a))){var d;(d=jd)==null||d.add(a),console.error(a)}}function wS(){const e=new Map;return{emit(r,o){var i;(i=e.get(r))==null||i.forEach(a=>a(o))},on(r,o){e.has(r)||e.set(r,new Set),e.get(r).add(o)},off(r,o){var i;(i=e.get(r))==null||i.delete(o)}}}const SS=de.createContext(null),kS=de.createContext(null),ES=()=>{var e;return((e=de.useContext(SS))==null?void 0:e.id)||null},Qg=()=>de.useContext(kS);function CS(e){return"data-floating-ui-"+e}function TS(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const RS={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},PS={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Oh=e=>{var r,o;return{escapeKey:typeof e=="boolean"?e:(r=e==null?void 0:e.escapeKey)!=null?r:!1,outsidePress:typeof e=="boolean"?e:(o=e==null?void 0:e.outsidePress)!=null?o:!0}};function AS(e,r){r===void 0&&(r={});const{open:o,onOpenChange:i,elements:a,dataRef:d}=e,{enabled:h=!0,escapeKey:v=!0,outsidePress:m=!0,outsidePressEvent:x="pointerdown",referencePress:R=!1,referencePressEvent:E="pointerdown",ancestorScroll:F=!1,bubbles:M,capture:B}=r,D=Qg(),P=ss(typeof m=="function"?m:()=>!1),I=typeof m=="function"?P:m,W=de.useRef(!1),{escapeKey:U,outsidePress:q}=Oh(M),{escapeKey:_,outsidePress:ie}=Oh(B),ce=de.useRef(!1),ee=de.useRef(-1),ae=ss(ke=>{var Ce;if(!o||!h||!v||ke.key!=="Escape"||ce.current)return;const je=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,Z=D?Wf(D.nodesRef.current,je):[];if(!U&&(ke.stopPropagation(),Z.length>0)){let be=!0;if(Z.forEach(G=>{var J;if((J=G.context)!=null&&J.open&&!G.context.dataRef.current.__escapeKeyBubbles){be=!1;return}}),!be)return}i(!1,lS(ke)?ke.nativeEvent:ke,"escape-key")}),Fe=ss(ke=>{var Ce;const je=()=>{var Z;ae(ke),(Z=Rl(ke))==null||Z.removeEventListener("keydown",je)};(Ce=Rl(ke))==null||Ce.addEventListener("keydown",je)}),Ne=ss(ke=>{var Ce;const je=d.current.insideReactTree;d.current.insideReactTree=!1;const Z=W.current;if(W.current=!1,x==="click"&&Z||je||typeof I=="function"&&!I(ke))return;const be=Rl(ke),G="["+CS("inert")+"]",J=Th(a.floating).querySelectorAll(G);let fe=pt(be)?be:null;for(;fe&&!Zn(fe);){const se=to(fe);if(Zn(se)||!pt(se))break;fe=se}if(J.length&&pt(be)&&!sS(be)&&!Ch(be,a.floating)&&Array.from(J).every(se=>!Ch(fe,se)))return;if(Zr(be)&&Qe){const se=Zn(be),ue=_r(be),Te=/auto|scroll/,Ee=se||Te.test(ue.overflowX),Re=se||Te.test(ue.overflowY),$e=Ee&&be.clientWidth>0&&be.scrollWidth>be.clientWidth,oe=Re&&be.clientHeight>0&&be.scrollHeight>be.clientHeight,Ue=ue.direction==="rtl",nt=oe&&(Ue?ke.offsetX<=be.offsetWidth-be.clientWidth:ke.offsetX>be.clientWidth),Lt=$e&&ke.offsetY>be.clientHeight;if(nt||Lt)return}const me=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,pe=D&&Wf(D.nodesRef.current,me).some(se=>{var ue;return Hf(ke,(ue=se.context)==null?void 0:ue.elements.floating)});if(Hf(ke,a.floating)||Hf(ke,a.domReference)||pe)return;const ge=D?Wf(D.nodesRef.current,me):[];if(ge.length>0){let se=!0;if(ge.forEach(ue=>{var Te;if((Te=ue.context)!=null&&Te.open&&!ue.context.dataRef.current.__outsidePressBubbles){se=!1;return}}),!se)return}i(!1,ke,"outside-press")}),_e=ss(ke=>{var Ce;const je=()=>{var Z;Ne(ke),(Z=Rl(ke))==null||Z.removeEventListener(x,je)};(Ce=Rl(ke))==null||Ce.addEventListener(x,je)});de.useEffect(()=>{if(!o||!h)return;d.current.__escapeKeyBubbles=U,d.current.__outsidePressBubbles=q;let ke=-1;function Ce(J){i(!1,J,"ancestor-scroll")}function je(){window.clearTimeout(ke),ce.current=!0}function Z(){ke=window.setTimeout(()=>{ce.current=!1},vc()?5:0)}const be=Th(a.floating);v&&(be.addEventListener("keydown",_?Fe:ae,_),be.addEventListener("compositionstart",je),be.addEventListener("compositionend",Z)),I&&be.addEventListener(x,ie?_e:Ne,ie);let G=[];return F&&(pt(a.domReference)&&(G=ds(a.domReference)),pt(a.floating)&&(G=G.concat(ds(a.floating))),!pt(a.reference)&&a.reference&&a.reference.contextElement&&(G=G.concat(ds(a.reference.contextElement)))),G=G.filter(J=>{var fe;return J!==((fe=be.defaultView)==null?void 0:fe.visualViewport)}),G.forEach(J=>{J.addEventListener("scroll",Ce,{passive:!0})}),()=>{v&&(be.removeEventListener("keydown",_?Fe:ae,_),be.removeEventListener("compositionstart",je),be.removeEventListener("compositionend",Z)),I&&be.removeEventListener(x,ie?_e:Ne,ie),G.forEach(J=>{J.removeEventListener("scroll",Ce)}),window.clearTimeout(ke)}},[d,a,v,I,x,o,i,F,h,U,q,ae,_,Fe,Ne,ie,_e]),de.useEffect(()=>{d.current.insideReactTree=!1},[d,I,x]);const Ge=de.useMemo(()=>({onKeyDown:ae,...R&&{[RS[E]]:ke=>{i(!1,ke.nativeEvent,"reference-press")},...E!=="click"&&{onClick(ke){i(!1,ke.nativeEvent,"reference-press")}}}}),[ae,i,R,E]),Qe=de.useMemo(()=>({onKeyDown:ae,onMouseDown(){W.current=!0},onMouseUp(){W.current=!0},[PS[x]]:()=>{d.current.insideReactTree=!0},onBlurCapture(){D||(TS(ee),d.current.insideReactTree=!0,ee.current=window.setTimeout(()=>{d.current.insideReactTree=!1}))}}),[ae,x,d,D]);return de.useMemo(()=>h?{reference:Ge,floating:Qe}:{},[h,Ge,Qe])}function IS(e){const{open:r=!1,onOpenChange:o,elements:i}=e,a=bS(),d=de.useRef({}),[h]=de.useState(()=>wS()),v=ES()!=null;if(process.env.NODE_ENV!=="production"){const M=i.reference;M&&!pt(M)&&xS("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[m,x]=de.useState(i.reference),R=ss((M,B,D)=>{d.current.openEvent=M?B:void 0,h.emit("openchange",{open:M,event:B,reason:D,nested:v}),o==null||o(M,B,D)}),E=de.useMemo(()=>({setPositionReference:x}),[]),F=de.useMemo(()=>({reference:m||i.reference||null,floating:i.floating||null,domReference:i.reference}),[m,i.reference,i.floating]);return de.useMemo(()=>({dataRef:d,open:r,onOpenChange:R,elements:F,events:h,floatingId:a,refs:E}),[r,R,F,h,a,E])}function OS(e){e===void 0&&(e={});const{nodeId:r}=e,o=IS({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||o,a=i.elements,[d,h]=de.useState(null),[v,m]=de.useState(null),R=(a==null?void 0:a.domReference)||d,E=de.useRef(null),F=Qg();Ld(()=>{R&&(E.current=R)},[R]);const M=O0({...e,elements:{...a,...v&&{reference:v}}}),B=de.useCallback(U=>{const q=pt(U)?{getBoundingClientRect:()=>U.getBoundingClientRect(),getClientRects:()=>U.getClientRects(),contextElement:U}:U;m(q),M.refs.setReference(q)},[M.refs]),D=de.useCallback(U=>{(pt(U)||U===null)&&(E.current=U,h(U)),(pt(M.refs.reference.current)||M.refs.reference.current===null||U!==null&&!pt(U))&&M.refs.setReference(U)},[M.refs]),P=de.useMemo(()=>({...M.refs,setReference:D,setPositionReference:B,domReference:E}),[M.refs,D,B]),I=de.useMemo(()=>({...M.elements,domReference:R}),[M.elements,R]),W=de.useMemo(()=>({...M,...i,refs:P,elements:I,nodeId:r}),[M,P,I,r,i]);return Ld(()=>{i.dataRef.current.floatingContext=W;const U=F==null?void 0:F.nodesRef.current.find(q=>q.id===r);U&&(U.context=W)}),de.useMemo(()=>({...M,context:W,refs:P,elements:I}),[M,P,I,W])}function Vf(e,r,o){const i=new Map,a=o==="item";let d=e;if(a&&e){const{[Rh]:h,[Ph]:v,...m}=e;d=m}return{...o==="floating"&&{tabIndex:-1,[hS]:""},...d,...r.map(h=>{const v=h?h[o]:null;return typeof v=="function"?e?v(e):null:v}).concat(e).reduce((h,v)=>(v&&Object.entries(v).forEach(m=>{let[x,R]=m;if(!(a&&[Rh,Ph].includes(x)))if(x.indexOf("on")===0){if(i.has(x)||i.set(x,[]),typeof R=="function"){var E;(E=i.get(x))==null||E.push(R),h[x]=function(){for(var F,M=arguments.length,B=new Array(M),D=0;D<M;D++)B[D]=arguments[D];return(F=i.get(x))==null?void 0:F.map(P=>P(...B)).find(P=>P!==void 0)}}}else h[x]=R}),h),{})}}function FS(e){e===void 0&&(e=[]);const r=e.map(v=>v==null?void 0:v.reference),o=e.map(v=>v==null?void 0:v.floating),i=e.map(v=>v==null?void 0:v.item),a=de.useCallback(v=>Vf(v,e,"reference"),r),d=de.useCallback(v=>Vf(v,e,"floating"),o),h=de.useCallback(v=>Vf(v,e,"item"),i);return de.useMemo(()=>({getReferenceProps:a,getFloatingProps:d,getItemProps:h}),[a,d,h])}const MS={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"},DS={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"},_S={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"},LS={normal:"rounded",pill:"rounded-pill"},jS={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]"},Xg=({category:e="solid",color:r="primary",roundness:o="normal",size:i="medium",textClassName:a="uppercase",children:d,className:h,...v})=>{const m=V.useMemo(()=>_S[r]??"text-white",[r]),x=V.useMemo(()=>fs(m,e==="outline"?DS[r]:MS[r],LS[o],jS[i]),[m,e,r,i,o]);return Q.jsx("div",{className:fs("ui-badge flex items-center font-bold",x,h),style:v==null?void 0:v.style,"data-testid":"badge","data-category":e,"data-color":r,...v,children:Q.jsx("p",{className:fs("mx-1",a),children:d})})},NS={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},$S=({transition:e,onClick:r})=>Q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:o=>{o.stopPropagation(),r()},children:[Q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),Q.jsx(ii,{icon:H0,className:"text-gray-400 size-4"}),Q.jsx(Xg,{category:"outline",color:e.color,children:e.to})]}),zS=({title:e,variant:r="default",transitions:o,onClick:i})=>{const[a,d]=V.useState(!1),{refs:h,floatingStyles:v,context:m}=OS({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:d}),x=AS(m,{outsidePress:!0}),{getReferenceProps:R,getFloatingProps:E}=FS([x]);return Q.jsxs(Q.Fragment,{children:[Q.jsxs("div",{onClick:o!=null&&o.length?()=>d(F=>!F):void 0,ref:h.setReference,className:gt("px-1 uppercase border rounded-sm flex items-center space-x-1",o.length?"cursor-pointer":"pointer-events-none",NS[r]),...R(),children:[Q.jsx("span",{className:"text-sm font-bold",children:e}),o.length>0?Q.jsx(ii,{icon:cg,className:"size-4"}):Q.jsx(Q.Fragment,{})]}),a&&o.length&&Q.jsx("div",{ref:h.setFloating,style:v,className:gt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...E(),children:o.map((F,M)=>Q.jsx($S,{transition:F,onClick:()=>{i==null||i(F.id),d(!1)}},M))})]})},Fh=({description:e})=>{const r=V.useMemo(()=>{const o=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(o,`${jp}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${jp}`),v=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return v==null||v.forEach(m=>{const x=m.getAttribute("src");x&&(new Image().src=x)}),a},[e]);return V.useEffect(()=>{},[r]),Q.jsx("div",{className:"flex flex-col gap-4",children:Q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:r}})})},BS={SEQUENTIAL:"Sequential"},US={[ut.IN_REVIEW]:"In Review"},HS={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},WS=({playbookType:e,status:r,step:o,isSelected:i,onSelect:a})=>Q.jsx("div",{className:Ll("flex flex-col items-center justify-center",i?"bg-[#FFE600]":HS[r],a&&"cursor-pointer"),onClick:d=>{d.stopPropagation(),a==null||a(d.shiftKey)},children:Q.jsx("span",{className:Ll("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===BS.SEQUENTIAL?`STEP ${o}`:(US[r]||r).toUpperCase()})}),VS={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},YS=({status:e})=>Q.jsx(Xg,{category:"outline",color:VS[e],children:e}),GS={[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]"},Yf={PHOTO:"photo",SCREENSHOT:"screenshot"},QS=({task:e,step:r,playbookType:o,onButtonClick:i,viewMode:a="card",canStart:d=!1,isExpanded:h=!1,toggleExpanded:v,playbookId:m,taskStyle:x,listStickyTopBase:R})=>{const[E,F]=V.useState(!1),{taskDetails:M,prefetchQuery:B}=iS({taskId:e.taskId,playbookId:m,enabled:h}),{buttons:D}=fy({taskStatus:e.workflowStatus,canStart:d}),P=V.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Yf.SCREENSHOT:e.imageRequired===2?Yf.PHOTO:null,[e.imageRequired]),I=async W=>{try{F(!0),await i(W)}finally{F(!1)}};if(a==="list"){const W=V.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),U=V.useMemo(()=>{const q=[];return D.forEach(_=>{_==="START"&&q.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),_==="COMPLETE"&&q.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),q},[D]);return Q.jsxs("div",{className:gt("flex flex-col"),children:[Q.jsxs("div",{className:gt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",h&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:h?R:0},children:[Q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),Q.jsx("div",{onClick:()=>{v==null||v(!h)},onMouseOver:B,className:gt("flex-1 truncate cursor-pointer",h&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),Q.jsx(zS,{title:e.workflowStatus,variant:W,transitions:U,onClick:q=>{i(q)}})]}),(M==null?void 0:M.description)&&Q.jsx("div",{className:gt(!h&&"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(Fh,{description:(M==null?void 0:M.description)||""})})]})}return Q.jsxs("div",{className:Ll("flex items-stretch rounded-sm overflow-hidden border",GS[e.workflowStatus]),children:[Q.jsx(WS,{playbookType:o,status:e.workflowStatus,step:r}),Q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[o==="Sequential"&&Q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:Q.jsx(YS,{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:gt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),P?Q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[Q.jsx(ii,{icon:U0,className:"size-4"}),Q.jsxs("div",{children:[Q.jsx("span",{className:"font-medium",children:P===Yf.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):Q.jsx(Q.Fragment,{})]}),(M==null?void 0:M.description)&&Q.jsx("div",{className:gt(!h&&"hidden"),children:Q.jsx(Fh,{description:(M==null?void 0:M.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(aS,{buttons:D,onButtonClick:I,disabled:E})}),v&&Q.jsx(jl,{size:"smallCollapse",onMouseOver:B,category:"link",onClick:()=>{v()},title:h?"Hide task description":"Show task description",children:Q.jsx(ii,{icon:cg,className:Ll("cursor-pointer text-[#0069D9]",h?"rotate-180":"")})})]})]})]})},qg=V.forwardRef(({title:e,className:r,playbookStyle:o,...i},a)=>{var d,h,v;return Q.jsx("div",{ref:a,className:gt("border-b border-gray-200 flex items-center",r),style:{backgroundColor:((d=o==null?void 0:o.whiteLabel)==null?void 0:d.titleBackgroundColor)||"#f8f9fa"},...i,children:Q.jsx("div",{className:gt("text-xl min-h-16 p-4 font-medium flex-1",{"text-dark":!((h=o==null?void 0:o.whiteLabel)!=null&&h.titleTextColor)}),style:{color:(v=o==null?void 0:o.whiteLabel)==null?void 0:v.titleTextColor},children:e})})});qg.displayName="PlaybookHeader";const XS=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>{const{playbook:i,actions:a}=uy(e);if(!i)return Q.jsx("div",{});console.log({playbookStyle:o});const d=async(h,v)=>{var m;if(h===Il.COMPLETE){const x=(m=i.tasks.find(R=>R.taskInstanceId===v))==null?void 0:m.sequenceOrder;if(x===void 0){console.error("Task not found in playbook");return}return a.completeTask(v,x)}if(h===Il.START)return a.startTask(v)};return Q.jsx("div",{className:"confidence-playbook",children:Q.jsx(Jg,{playbook:i,playbookMode:r,onTaskButtonClick:d,playbookStyle:o})})},qS=({className:e,children:r,numberOfTasks:o,playbookMode:i})=>Q.jsxs("div",{className:gt("w-full p-4",e),children:[o&&Q.jsxs("div",{className:gt(i==="card"&&"mb-4"),children:[Q.jsx("span",{className:"font-medium",children:"Tasks"})," (",o,")"]}),Q.jsx("div",{className:gt(i==="card"&&"space-y-4"),children:r})]}),Jg=({playbook:e,playbookMode:r,onTaskButtonClick:o,playbookStyle:i})=>{var P,I,W,U,q;const{playbookInstanceName:a,tasks:d}=e,h=V.useRef(null),[v,m]=V.useState(0),[x,R]=V.useState(!0),E=()=>{R(!x)},{isTaskExpanded:F,toggleTaskExpanded:M,isAtLeastOneTaskExpanded:B}=hm(e.playbookInstanceId,{onTaskExpanded:()=>{var _;m(((_=h.current)==null?void 0:_.offsetHeight)||0)}});V.useEffect(()=>{if(B){if(!h.current)throw new Error("Playbook header ref is not set");new ResizeObserver(ie=>{var ce;for(const ee of ie)ee.contentRect&&m(((ce=h.current)==null?void 0:ce.offsetHeight)||0)}).observe(h.current)}return()=>{h.current&&new ResizeObserver(()=>{}).unobserve(h.current)}},[B]);const D=V.useMemo(()=>{const _=d.filter(ie=>ie.workflowStatus===ut.COMPLETED).sort((ie,ce)=>ce.sequenceOrder-ie.sequenceOrder)[0];return _?_.sequenceOrder+1:0},[d]);return Q.jsxs("div",{className:gt(!(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:x?((P=i.overlay.size)==null?void 0:P.width)||450:"2.25rem",height:((I=i.overlay.size)==null?void 0:I.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((W=i.overlay.offset)==null?void 0:W.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:E,className:gt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((q=i==null?void 0:i.whiteLabel)==null?void 0:q.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:Q.jsx("img",{src:Jh,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),Q.jsxs("div",{className:gt("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(qg,{title:a,className:gt("top-0 sticky z-2"),playbookStyle:i,ref:h}),Q.jsx(qS,{playbookMode:r,numberOfTasks:e.numberofTasks,children:d.map((_,ie)=>{var ce;return Q.jsx(QS,{task:_,step:ie+1,viewMode:r,playbookId:e.playbookId,canStart:_.sequenceOrder===D,onButtonClick:ee=>o(ee,_.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(ce=i==null?void 0:i.whiteLabel)==null?void 0:ce.primaryColor},isExpanded:F(_.taskInstanceId),toggleExpanded:()=>M(_.taskInstanceId),listStickyTopBase:v||104},ie)})})]})]})},JS=({email:e,playbookId:r,playbookMode:o,playbookStyle:i})=>{const[a,d]=V.useState(null);return V.useEffect(()=>{(async()=>{const{playbookInstanceId:h,errorCode:v,details:m,message:x}=await mm({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:r})||{};if(v)throw new Error(`Error initiating playbook: ${x} (Code: ${v}) - Details: ${m}`);d(h)})()},[]),a?Q.jsx(aa,{playbookInstanceId:a,playbookMode:o,playbookStyle:i}):Q.jsx("div",{children:"Loading..."})},KS=({playbookId:e,playbookMode:r="list",playbookStyle:o,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[d,h]=V.useState(null);return Q.jsxs(Q.Fragment,{children:[Q.jsxs($d.div,{children:[Q.jsx(z0,{playbookId:e,disabled:!!d,onInitiated:h,btnLabel:i,btnColor:a}),Q.jsx("style",{type:"text/css",children:Vd})]}),d&&Q.jsx(aa,{playbookInstanceId:d,playbookMode:r,playbookStyle:o})]})},aa=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>Q.jsx(dm,{children:Q.jsx(XS,{playbookInstanceId:e,playbookMode:r,playbookStyle:o})});aa.Context=dm;aa.View=Jg;aa.AutoInstantiated=JS;aa.WithInstantiateButton=KS;const ZS=e=>uc.createPortal(Q.jsxs($d.div,{children:[Q.jsx("style",{children:Vd}),Q.jsx(aa,{...e})]}),document.body);exports.ConfidencePlaybook=ZS;
|
|
689
|
+
}`;function Tg(){const e=bg,r=xg,o=Se.cssPrefix,i=Se.replacementClass;let a=_x;if(o!==e||i!==r){const d=new RegExp("\\.".concat(e,"\\-"),"g"),h=new RegExp("\\--".concat(e,"\\-"),"g"),v=new RegExp("\\.".concat(r),"g");a=a.replace(d,".".concat(o,"-")).replace(h,"--".concat(o,"-")).replace(v,".".concat(i))}return a}let oh=!1;function zf(){Se.autoAddCss&&!oh&&(Ix(Tg()),oh=!0)}var Lx={mixout(){return{dom:{css:Tg,insertCss:zf}}},hooks(){return{beforeDOMElementCreation(){zf()},beforeI2svg(){zf()}}}};const no=ri||{};no[ro]||(no[ro]={});no[ro].styles||(no[ro].styles={});no[ro].hooks||(no[ro].hooks={});no[ro].shims||(no[ro].shims=[]);var wn=no[ro];const Rg=[],Pg=function(){it.removeEventListener("DOMContentLoaded",Pg),sc=1,Rg.map(e=>e())};let sc=!1;ao&&(sc=(it.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(it.readyState),sc||it.addEventListener("DOMContentLoaded",Pg));function jx(e){ao&&(sc?setTimeout(e,0):Rg.push(e))}function Kl(e){const{tag:r,attributes:o={},children:i=[]}=e;return typeof e=="string"?Cg(e):"<".concat(r," ").concat(Fx(o),">").concat(i.map(Kl).join(""),"</").concat(r,">")}function ih(e,r,o){if(e&&e[r]&&e[r][o])return{prefix:r,iconName:o,icon:e[r][o]}}var Bf=function(r,o,i,a){var d=Object.keys(r),h=d.length,v=o,m,x,R;for(i===void 0?(m=1,R=r[d[0]]):(m=0,R=i);m<h;m++)x=d[m],R=v(R,r[x],x,r);return R};function Nx(e){const r=[];let o=0;const i=e.length;for(;o<i;){const a=e.charCodeAt(o++);if(a>=55296&&a<=56319&&o<i){const d=e.charCodeAt(o++);(d&64512)==56320?r.push(((a&1023)<<10)+(d&1023)+65536):(r.push(a),o--)}else r.push(a)}return r}function Td(e){const r=Nx(e);return r.length===1?r[0].toString(16):null}function $x(e,r){const o=e.length;let i=e.charCodeAt(r),a;return i>=55296&&i<=56319&&o>r+1&&(a=e.charCodeAt(r+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function ah(e){return Object.keys(e).reduce((r,o)=>{const i=e[o];return!!i.icon?r[i.iconName]=i.icon:r[o]=i,r},{})}function Rd(e,r){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=o,a=ah(r);typeof wn.hooks.addPack=="function"&&!i?wn.hooks.addPack(e,ah(r)):wn.styles[e]=ne(ne({},wn.styles[e]||{}),a),e==="fas"&&Rd("fa",r)}const{styles:zl,shims:zx}=wn,Ag=Object.keys(np),Bx=Ag.reduce((e,r)=>(e[r]=Object.keys(np[r]),e),{});let ap=null,Ig={},Og={},Fg={},Mg={},Dg={};function Ux(e){return~Tx.indexOf(e)}function Hx(e,r){const o=r.split("-"),i=o[0],a=o.slice(1).join("-");return i===e&&a!==""&&!Ux(a)?a:null}const _g=()=>{const e=i=>Bf(zl,(a,d,h)=>(a[h]=Bf(d,i,{}),a),{});Ig=e((i,a,d)=>(a[3]&&(i[a[3]]=d),a[2]&&a[2].filter(v=>typeof v=="number").forEach(v=>{i[v.toString(16)]=d}),i)),Og=e((i,a,d)=>(i[d]=d,a[2]&&a[2].filter(v=>typeof v=="string").forEach(v=>{i[v]=d}),i)),Dg=e((i,a,d)=>{const h=a[2];return i[d]=d,h.forEach(v=>{i[v]=d}),i});const r="far"in zl||Se.autoFetchSvg,o=Bf(zx,(i,a)=>{const d=a[0];let h=a[1];const v=a[2];return h==="far"&&!r&&(h="fas"),typeof d=="string"&&(i.names[d]={prefix:h,iconName:v}),typeof d=="number"&&(i.unicodes[d.toString(16)]={prefix:h,iconName:v}),i},{names:{},unicodes:{}});Fg=o.names,Mg=o.unicodes,ap=kc(Se.styleDefault,{family:Se.familyDefault})};Ax(e=>{ap=kc(e.styleDefault,{family:Se.familyDefault})});_g();function sp(e,r){return(Ig[e]||{})[r]}function Wx(e,r){return(Og[e]||{})[r]}function Gi(e,r){return(Dg[e]||{})[r]}function Lg(e){return Fg[e]||{prefix:null,iconName:null}}function Vx(e){const r=Mg[e],o=sp("fas",e);return r||(o?{prefix:"fas",iconName:o}:null)||{prefix:null,iconName:null}}function ni(){return ap}const jg=()=>({prefix:null,iconName:null,rest:[]});function Yx(e){let r=_t;const o=Ag.reduce((i,a)=>(i[a]="".concat(Se.cssPrefix,"-").concat(a),i),{});return vg.forEach(i=>{(e.includes(o[i])||e.some(a=>Bx[i].includes(a)))&&(r=i)}),r}function kc(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:o=_t}=r,i=wx[o][e];if(o===wc&&!e)return"fad";const a=nh[o][e]||nh[o][i],d=e in wn.styles?e:null;return a||d||null}function Gx(e){let r=[],o=null;return e.forEach(i=>{const a=Hx(Se.cssPrefix,i);a?o=a:i&&r.push(i)}),{iconName:o,rest:r}}function sh(e){return e.sort().filter((r,o,i)=>i.indexOf(r)===o)}function Ec(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:o=!1}=r;let i=null;const a=xd.concat(ux),d=sh(e.filter(E=>a.includes(E))),h=sh(e.filter(E=>!xd.includes(E))),v=d.filter(E=>(i=E,!gg.includes(E))),[m=null]=v,x=Yx(d),R=ne(ne({},Gx(h)),{},{prefix:kc(m,{family:x})});return ne(ne(ne({},R),Jx({values:e,family:x,styles:zl,config:Se,canonical:R,givenPrefix:i})),Qx(o,i,R))}function Qx(e,r,o){let{prefix:i,iconName:a}=o;if(e||!i||!a)return{prefix:i,iconName:a};const d=r==="fa"?Lg(a):{},h=Gi(i,a);return a=d.iconName||h||a,i=d.prefix||i,i==="far"&&!zl.far&&zl.fas&&!Se.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const Xx=vg.filter(e=>e!==_t||e!==wc),qx=Object.keys(bd).filter(e=>e!==_t).map(e=>Object.keys(bd[e])).flat();function Jx(e){const{values:r,family:o,canonical:i,givenPrefix:a="",styles:d={},config:h={}}=e,v=o===wc,m=r.includes("fa-duotone")||r.includes("fad"),x=h.familyDefault==="duotone",R=i.prefix==="fad"||i.prefix==="fa-duotone";if(!v&&(m||x||R)&&(i.prefix="fad"),(r.includes("fa-brands")||r.includes("fab"))&&(i.prefix="fab"),!i.prefix&&Xx.includes(o)&&(Object.keys(d).find(F=>qx.includes(F))||h.autoFetchSvg)){const F=tx.get(o).defaultShortPrefixId;i.prefix=F,i.iconName=Gi(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=ni()||"fas"),i}class Kx{constructor(){this.definitions={}}add(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a=o.reduce(this._pullDefinitions,{});Object.keys(a).forEach(d=>{this.definitions[d]=ne(ne({},this.definitions[d]||{}),a[d]),Rd(d,a[d]);const h=np[_t][d];h&&Rd(h,a[d]),_g()})}reset(){this.definitions={}}_pullDefinitions(r,o){const i=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(i).map(a=>{const{prefix:d,iconName:h,icon:v}=i[a],m=v[2];r[d]||(r[d]={}),m.length>0&&m.forEach(x=>{typeof x=="string"&&(r[d][x]=v)}),r[d][h]=v}),r}}let lh=[],ls={};const hs={},Zx=Object.keys(hs);function ew(e,r){let{mixoutsTo:o}=r;return lh=e,ls={},Object.keys(hs).forEach(i=>{Zx.indexOf(i)===-1&&delete hs[i]}),lh.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(d=>{typeof a[d]=="function"&&(o[d]=a[d]),typeof a[d]=="object"&&Object.keys(a[d]).forEach(h=>{o[d]||(o[d]={}),o[d][h]=a[d][h]})}),i.hooks){const d=i.hooks();Object.keys(d).forEach(h=>{ls[h]||(ls[h]=[]),ls[h].push(d[h])})}i.provides&&i.provides(hs)}),o}function Pd(e,r){for(var o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return(ls[e]||[]).forEach(h=>{r=h.apply(null,[r,...i])}),r}function aa(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];(ls[e]||[]).forEach(d=>{d.apply(null,o)})}function oi(){const e=arguments[0],r=Array.prototype.slice.call(arguments,1);return hs[e]?hs[e].apply(null,r):void 0}function Ad(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:r}=e;const o=e.prefix||ni();if(r)return r=Gi(o,r)||r,ih(Ng.definitions,o,r)||ih(wn.styles,o,r)}const Ng=new Kx,tw=()=>{Se.autoReplaceSvg=!1,Se.observeMutations=!1,aa("noAuto")},rw={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return ao?(aa("beforeI2svg",e),oi("pseudoElements2svg",e),oi("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:r}=e;Se.autoReplaceSvg===!1&&(Se.autoReplaceSvg=!0),Se.observeMutations=!0,jx(()=>{ow({autoReplaceSvgRoot:r}),aa("watch",e)})}},nw={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Gi(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const r=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],o=kc(e[0]);return{prefix:o,iconName:Gi(o,r)||r}}if(typeof e=="string"&&(e.indexOf("".concat(Se.cssPrefix,"-"))>-1||e.match(Sx))){const r=Ec(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||ni(),iconName:Gi(r.prefix,r.iconName)||r.iconName}}if(typeof e=="string"){const r=ni();return{prefix:r,iconName:Gi(r,e)||e}}}},vr={noAuto:tw,config:Se,dom:rw,parse:nw,library:Ng,findIconDefinition:Ad,toHtml:Kl},ow=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:r=it}=e;(Object.keys(wn.styles).length>0||Se.autoFetchSvg)&&ao&&Se.autoReplaceSvg&&vr.dom.i2svg({node:r})};function Cc(e,r){return Object.defineProperty(e,"abstract",{get:r}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(o=>Kl(o))}}),Object.defineProperty(e,"node",{get:function(){if(!ao)return;const o=it.createElement("div");return o.innerHTML=e.html,o.children}}),e}function iw(e){let{children:r,main:o,mask:i,attributes:a,styles:d,transform:h}=e;if(ip(h)&&o.found&&!i.found){const{width:v,height:m}=o,x={x:v/m/2,y:.5};a.style=Sc(ne(ne({},d),{},{"transform-origin":"".concat(x.x+h.x/16,"em ").concat(x.y+h.y/16,"em")}))}return[{tag:"svg",attributes:a,children:r}]}function aw(e){let{prefix:r,iconName:o,children:i,attributes:a,symbol:d}=e;const h=d===!0?"".concat(r,"-").concat(Se.cssPrefix,"-").concat(o):d;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ne(ne({},a),{},{id:h}),children:i}]}]}function lp(e){const{icons:{main:r,mask:o},prefix:i,iconName:a,transform:d,symbol:h,title:v,maskId:m,titleId:x,extra:R,watchable:E=!1}=e,{width:F,height:M}=o.found?o:r,B=ax.includes(i),D=[Se.replacementClass,a?"".concat(Se.cssPrefix,"-").concat(a):""].filter(_=>R.classes.indexOf(_)===-1).filter(_=>_!==""||!!_).concat(R.classes).join(" ");let P={children:[],attributes:ne(ne({},R.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:R.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(M)})};const I=B&&!~R.classes.indexOf("fa-fw")?{width:"".concat(F/M*16*.0625,"em")}:{};E&&(P.attributes[ia]=""),v&&(P.children.push({tag:"title",attributes:{id:P.attributes["aria-labelledby"]||"title-".concat(x||$l())},children:[v]}),delete P.attributes.title);const W=ne(ne({},P),{},{prefix:i,iconName:a,main:r,mask:o,maskId:m,transform:d,symbol:h,styles:ne(ne({},I),R.styles)}),{children:U,attributes:q}=o.found&&r.found?oi("generateAbstractMask",W)||{children:[],attributes:{}}:oi("generateAbstractIcon",W)||{children:[],attributes:{}};return W.children=U,W.attributes=q,h?aw(W):iw(W)}function uh(e){const{content:r,width:o,height:i,transform:a,title:d,extra:h,watchable:v=!1}=e,m=ne(ne(ne({},h.attributes),d?{title:d}:{}),{},{class:h.classes.join(" ")});v&&(m[ia]="");const x=ne({},h.styles);ip(a)&&(x.transform=Dx({transform:a,startCentered:!0,width:o,height:i}),x["-webkit-transform"]=x.transform);const R=Sc(x);R.length>0&&(m.style=R);const E=[];return E.push({tag:"span",attributes:m,children:[r]}),d&&E.push({tag:"span",attributes:{class:"sr-only"},children:[d]}),E}function sw(e){const{content:r,title:o,extra:i}=e,a=ne(ne(ne({},i.attributes),o?{title:o}:{}),{},{class:i.classes.join(" ")}),d=Sc(i.styles);d.length>0&&(a.style=d);const h=[];return h.push({tag:"span",attributes:a,children:[r]}),o&&h.push({tag:"span",attributes:{class:"sr-only"},children:[o]}),h}const{styles:Uf}=wn;function Id(e){const r=e[0],o=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Se.cssPrefix,"-").concat($f.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat($f.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Se.cssPrefix,"-").concat($f.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:r,height:o,icon:a}}const lw={found:!1,width:512,height:512};function uw(e,r){!wg&&!Se.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(r,'" is missing.'))}function Od(e,r){let o=r;return r==="fa"&&Se.styleDefault!==null&&(r=ni()),new Promise((i,a)=>{if(o==="fa"){const d=Lg(e)||{};e=d.iconName||e,r=d.prefix||r}if(e&&r&&Uf[r]&&Uf[r][e]){const d=Uf[r][e];return i(Id(d))}uw(e,r),i(ne(ne({},lw),{},{icon:Se.showMissingIcons&&e?oi("missingIconAbstract")||{}:{}}))})}const ch=()=>{},Fd=Se.measurePerformance&&Qu&&Qu.mark&&Qu.measure?Qu:{mark:ch,measure:ch},Al='FA "6.7.2"',cw=e=>(Fd.mark("".concat(Al," ").concat(e," begins")),()=>$g(e)),$g=e=>{Fd.mark("".concat(Al," ").concat(e," ends")),Fd.measure("".concat(Al," ").concat(e),"".concat(Al," ").concat(e," begins"),"".concat(Al," ").concat(e," ends"))};var up={begin:cw,end:$g};const Ku=()=>{};function fh(e){return typeof(e.getAttribute?e.getAttribute(ia):null)=="string"}function fw(e){const r=e.getAttribute?e.getAttribute(tp):null,o=e.getAttribute?e.getAttribute(rp):null;return r&&o}function dw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Se.replacementClass)}function pw(){return Se.autoReplaceSvg===!0?Zu.replace:Zu[Se.autoReplaceSvg]||Zu.replace}function hw(e){return it.createElementNS("http://www.w3.org/2000/svg",e)}function mw(e){return it.createElement(e)}function zg(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:o=e.tag==="svg"?hw:mw}=r;if(typeof e=="string")return it.createTextNode(e);const i=o(e.tag);return Object.keys(e.attributes||[]).forEach(function(d){i.setAttribute(d,e.attributes[d])}),(e.children||[]).forEach(function(d){i.appendChild(zg(d,{ceFn:o}))}),i}function gw(e){let r=" ".concat(e.outerHTML," ");return r="".concat(r,"Font Awesome fontawesome.com "),r}const Zu={replace:function(e){const r=e[0];if(r.parentNode)if(e[1].forEach(o=>{r.parentNode.insertBefore(zg(o),r)}),r.getAttribute(ia)===null&&Se.keepOriginalSource){let o=it.createComment(gw(r));r.parentNode.replaceChild(o,r)}else r.remove()},nest:function(e){const r=e[0],o=e[1];if(~op(r).indexOf(Se.replacementClass))return Zu.replace(e);const i=new RegExp("".concat(Se.cssPrefix,"-.*"));if(delete o[0].attributes.id,o[0].attributes.class){const d=o[0].attributes.class.split(" ").reduce((h,v)=>(v===Se.replacementClass||v.match(i)?h.toSvg.push(v):h.toNode.push(v),h),{toNode:[],toSvg:[]});o[0].attributes.class=d.toSvg.join(" "),d.toNode.length===0?r.removeAttribute("class"):r.setAttribute("class",d.toNode.join(" "))}const a=o.map(d=>Kl(d)).join(`
|
|
690
|
+
`);r.setAttribute(ia,""),r.innerHTML=a}};function dh(e){e()}function Bg(e,r){const o=typeof r=="function"?r:Ku;if(e.length===0)o();else{let i=dh;Se.mutateApproach===bx&&(i=ri.requestAnimationFrame||dh),i(()=>{const a=pw(),d=up.begin("mutate");e.map(a),d(),o()})}}let cp=!1;function Ug(){cp=!0}function Md(){cp=!1}let lc=null;function ph(e){if(!Zp||!Se.observeMutations)return;const{treeCallback:r=Ku,nodeCallback:o=Ku,pseudoElementsCallback:i=Ku,observeMutationsRoot:a=it}=e;lc=new Zp(d=>{if(cp)return;const h=ni();Ds(d).forEach(v=>{if(v.type==="childList"&&v.addedNodes.length>0&&!fh(v.addedNodes[0])&&(Se.searchPseudoElements&&i(v.target),r(v.target)),v.type==="attributes"&&v.target.parentNode&&Se.searchPseudoElements&&i(v.target.parentNode),v.type==="attributes"&&fh(v.target)&&~Cx.indexOf(v.attributeName))if(v.attributeName==="class"&&fw(v.target)){const{prefix:m,iconName:x}=Ec(op(v.target));v.target.setAttribute(tp,m||h),x&&v.target.setAttribute(rp,x)}else dw(v.target)&&o(v.target)})}),ao&&lc.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vw(){lc&&lc.disconnect()}function yw(e){const r=e.getAttribute("style");let o=[];return r&&(o=r.split(";").reduce((i,a)=>{const d=a.split(":"),h=d[0],v=d.slice(1);return h&&v.length>0&&(i[h]=v.join(":").trim()),i},{})),o}function bw(e){const r=e.getAttribute("data-prefix"),o=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=Ec(op(e));return a.prefix||(a.prefix=ni()),r&&o&&(a.prefix=r,a.iconName=o),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=Wx(a.prefix,e.innerText)||sp(a.prefix,Td(e.innerText))),!a.iconName&&Se.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function xw(e){const r=Ds(e.attributes).reduce((a,d)=>(a.name!=="class"&&a.name!=="style"&&(a[d.name]=d.value),a),{}),o=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Se.autoA11y&&(o?r["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(i||$l()):(r["aria-hidden"]="true",r.focusable="false")),r}function ww(){return{iconName:null,title:null,titleId:null,prefix:null,transform:xn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function hh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:o,prefix:i,rest:a}=bw(e),d=xw(e),h=Pd("parseNodeAttributes",{},e);let v=r.styleParser?yw(e):[];return ne({iconName:o,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:xn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:v,attributes:d}},h)}const{styles:Sw}=wn;function Hg(e){const r=Se.autoReplaceSvg==="nest"?hh(e,{styleParser:!1}):hh(e);return~r.extra.classes.indexOf(kg)?oi("generateLayersText",e,r):oi("generateSvgReplacementMutation",e,r)}function kw(){return[...nx,...xd]}function mh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!ao)return Promise.resolve();const o=it.documentElement.classList,i=R=>o.add("".concat(rh,"-").concat(R)),a=R=>o.remove("".concat(rh,"-").concat(R)),d=Se.autoFetchSvg?kw():gg.concat(Object.keys(Sw));d.includes("fa")||d.push("fa");const h=[".".concat(kg,":not([").concat(ia,"])")].concat(d.map(R=>".".concat(R,":not([").concat(ia,"])"))).join(", ");if(h.length===0)return Promise.resolve();let v=[];try{v=Ds(e.querySelectorAll(h))}catch{}if(v.length>0)i("pending"),a("complete");else return Promise.resolve();const m=up.begin("onTree"),x=v.reduce((R,E)=>{try{const F=Hg(E);F&&R.push(F)}catch(F){wg||F.name==="MissingIcon"&&console.error(F)}return R},[]);return new Promise((R,E)=>{Promise.all(x).then(F=>{Bg(F,()=>{i("active"),i("complete"),a("pending"),typeof r=="function"&&r(),m(),R()})}).catch(F=>{m(),E(F)})})}function Ew(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Hg(e).then(o=>{o&&Bg([o],r)})}function Cw(e){return function(r){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(r||{}).icon?r:Ad(r||{});let{mask:a}=o;return a&&(a=(a||{}).icon?a:Ad(a||{})),e(i,ne(ne({},o),{},{mask:a}))}}const Tw=function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=xn,symbol:i=!1,mask:a=null,maskId:d=null,title:h=null,titleId:v=null,classes:m=[],attributes:x={},styles:R={}}=r;if(!e)return;const{prefix:E,iconName:F,icon:M}=e;return Cc(ne({type:"icon"},e),()=>(aa("beforeDOMElementCreation",{iconDefinition:e,params:r}),Se.autoA11y&&(h?x["aria-labelledby"]="".concat(Se.replacementClass,"-title-").concat(v||$l()):(x["aria-hidden"]="true",x.focusable="false")),lp({icons:{main:Id(M),mask:a?Id(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:E,iconName:F,transform:ne(ne({},xn),o),symbol:i,title:h,maskId:d,titleId:v,extra:{attributes:x,styles:R,classes:m}})))};var Rw={mixout(){return{icon:Cw(Tw)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=mh,e.nodeCallback=Ew,e}}},provides(e){e.i2svg=function(r){const{node:o=it,callback:i=()=>{}}=r;return mh(o,i)},e.generateSvgReplacementMutation=function(r,o){const{iconName:i,title:a,titleId:d,prefix:h,transform:v,symbol:m,mask:x,maskId:R,extra:E}=o;return new Promise((F,M)=>{Promise.all([Od(i,h),x.iconName?Od(x.iconName,x.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(B=>{let[D,P]=B;F([r,lp({icons:{main:D,mask:P},prefix:h,iconName:i,transform:v,symbol:m,maskId:R,title:a,titleId:d,extra:E,watchable:!0})])}).catch(M)})},e.generateAbstractIcon=function(r){let{children:o,attributes:i,main:a,transform:d,styles:h}=r;const v=Sc(h);v.length>0&&(i.style=v);let m;return ip(d)&&(m=oi("generateAbstractTransformGrouping",{main:a,transform:d,containerWidth:a.width,iconWidth:a.width})),o.push(m||a.icon),{children:o,attributes:i}}}},Pw={mixout(){return{layer(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:o=[]}=r;return Cc({type:"layer"},()=>{aa("beforeDOMElementCreation",{assembler:e,params:r});let i=[];return e(a=>{Array.isArray(a)?a.map(d=>{i=i.concat(d.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Se.cssPrefix,"-layers"),...o].join(" ")},children:i}]})}}}},Aw={mixout(){return{counter(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:o=null,classes:i=[],attributes:a={},styles:d={}}=r;return Cc({type:"counter",content:e},()=>(aa("beforeDOMElementCreation",{content:e,params:r}),sw({content:e.toString(),title:o,extra:{attributes:a,styles:d,classes:["".concat(Se.cssPrefix,"-layers-counter"),...i]}})))}}}},Iw={mixout(){return{text(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:o=xn,title:i=null,classes:a=[],attributes:d={},styles:h={}}=r;return Cc({type:"text",content:e},()=>(aa("beforeDOMElementCreation",{content:e,params:r}),uh({content:e,transform:ne(ne({},xn),o),title:i,extra:{attributes:d,styles:h,classes:["".concat(Se.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(r,o){const{title:i,transform:a,extra:d}=o;let h=null,v=null;if(hg){const m=parseInt(getComputedStyle(r).fontSize,10),x=r.getBoundingClientRect();h=x.width/m,v=x.height/m}return Se.autoA11y&&!i&&(d.attributes["aria-hidden"]="true"),Promise.resolve([r,uh({content:r.innerHTML,width:h,height:v,transform:a,title:i,extra:d,watchable:!0})])}}};const Ow=new RegExp('"',"ug"),gh=[1105920,1112319],vh=ne(ne(ne(ne({},{FontAwesome:{normal:"fas",400:"fas"}}),ex),vx),cx),Dd=Object.keys(vh).reduce((e,r)=>(e[r.toLowerCase()]=vh[r],e),{}),Fw=Object.keys(Dd).reduce((e,r)=>{const o=Dd[r];return e[r]=o[900]||[...Object.entries(o)][0][1],e},{});function Mw(e){const r=e.replace(Ow,""),o=$x(r,0),i=o>=gh[0]&&o<=gh[1],a=r.length===2?r[0]===r[1]:!1;return{value:Td(a?r[0]:r),isSecondary:i||a}}function Dw(e,r){const o=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(r),a=isNaN(i)?"normal":i;return(Dd[o]||{})[a]||Fw[o]}function yh(e,r){const o="".concat(yx).concat(r.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(o)!==null)return i();const h=Ds(e.children).filter(F=>F.getAttribute(Sd)===r)[0],v=ri.getComputedStyle(e,r),m=v.getPropertyValue("font-family"),x=m.match(kx),R=v.getPropertyValue("font-weight"),E=v.getPropertyValue("content");if(h&&!x)return e.removeChild(h),i();if(x&&E!=="none"&&E!==""){const F=v.getPropertyValue("content");let M=Dw(m,R);const{value:B,isSecondary:D}=Mw(F),P=x[0].startsWith("FontAwesome");let I=sp(M,B),W=I;if(P){const U=Vx(B);U.iconName&&U.prefix&&(I=U.iconName,M=U.prefix)}if(I&&!D&&(!h||h.getAttribute(tp)!==M||h.getAttribute(rp)!==W)){e.setAttribute(o,W),h&&e.removeChild(h);const U=ww(),{extra:q}=U;q.attributes[Sd]=r,Od(I,M).then(_=>{const ie=lp(ne(ne({},U),{},{icons:{main:_,mask:jg()},prefix:M,iconName:W,extra:q,watchable:!0})),ce=it.createElementNS("http://www.w3.org/2000/svg","svg");r==="::before"?e.insertBefore(ce,e.firstChild):e.appendChild(ce),ce.outerHTML=ie.map(ee=>Kl(ee)).join(`
|
|
691
|
+
`),e.removeAttribute(o),i()}).catch(a)}else i()}else i()})}function _w(e){return Promise.all([yh(e,"::before"),yh(e,"::after")])}function Lw(e){return e.parentNode!==document.head&&!~xx.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Sd)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function bh(e){if(ao)return new Promise((r,o)=>{const i=Ds(e.querySelectorAll("*")).filter(Lw).map(_w),a=up.begin("searchPseudoElements");Ug(),Promise.all(i).then(()=>{a(),Md(),r()}).catch(()=>{a(),Md(),o()})})}var jw={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=bh,e}}},provides(e){e.pseudoElements2svg=function(r){const{node:o=it}=r;Se.searchPseudoElements&&bh(o)}}};let xh=!1;var Nw={mixout(){return{dom:{unwatch(){Ug(),xh=!0}}}},hooks(){return{bootstrap(){ph(Pd("mutationObserverCallbacks",{}))},noAuto(){vw()},watch(e){const{observeMutationsRoot:r}=e;xh?Md():ph(Pd("mutationObserverCallbacks",{observeMutationsRoot:r}))}}}};const wh=e=>{let r={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((o,i)=>{const a=i.toLowerCase().split("-"),d=a[0];let h=a.slice(1).join("-");if(d&&h==="h")return o.flipX=!0,o;if(d&&h==="v")return o.flipY=!0,o;if(h=parseFloat(h),isNaN(h))return o;switch(d){case"grow":o.size=o.size+h;break;case"shrink":o.size=o.size-h;break;case"left":o.x=o.x-h;break;case"right":o.x=o.x+h;break;case"up":o.y=o.y-h;break;case"down":o.y=o.y+h;break;case"rotate":o.rotate=o.rotate+h;break}return o},r)};var $w={mixout(){return{parse:{transform:e=>wh(e)}}},hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-transform");return o&&(e.transform=wh(o)),e}}},provides(e){e.generateAbstractTransformGrouping=function(r){let{main:o,transform:i,containerWidth:a,iconWidth:d}=r;const h={transform:"translate(".concat(a/2," 256)")},v="translate(".concat(i.x*32,", ").concat(i.y*32,") "),m="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),x="rotate(".concat(i.rotate," 0 0)"),R={transform:"".concat(v," ").concat(m," ").concat(x)},E={transform:"translate(".concat(d/2*-1," -256)")},F={outer:h,inner:R,path:E};return{tag:"g",attributes:ne({},F.outer),children:[{tag:"g",attributes:ne({},F.inner),children:[{tag:o.icon.tag,children:o.icon.children,attributes:ne(ne({},o.icon.attributes),F.path)}]}]}}}};const Hf={x:0,y:0,width:"100%",height:"100%"};function Sh(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||r)&&(e.attributes.fill="black"),e}function zw(e){return e.tag==="g"?e.children:[e]}var Bw={hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-mask"),i=o?Ec(o.split(" ").map(a=>a.trim())):jg();return i.prefix||(i.prefix=ni()),e.mask=i,e.maskId=r.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(r){let{children:o,attributes:i,main:a,mask:d,maskId:h,transform:v}=r;const{width:m,icon:x}=a,{width:R,icon:E}=d,F=Mx({transform:v,containerWidth:R,iconWidth:m}),M={tag:"rect",attributes:ne(ne({},Hf),{},{fill:"white"})},B=x.children?{children:x.children.map(Sh)}:{},D={tag:"g",attributes:ne({},F.inner),children:[Sh(ne({tag:x.tag,attributes:ne(ne({},x.attributes),F.path)},B))]},P={tag:"g",attributes:ne({},F.outer),children:[D]},I="mask-".concat(h||$l()),W="clip-".concat(h||$l()),U={tag:"mask",attributes:ne(ne({},Hf),{},{id:I,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[M,P]},q={tag:"defs",children:[{tag:"clipPath",attributes:{id:W},children:zw(E)},U]};return o.push(q,{tag:"rect",attributes:ne({fill:"currentColor","clip-path":"url(#".concat(W,")"),mask:"url(#".concat(I,")")},Hf)}),{children:o,attributes:i}}}},Uw={provides(e){let r=!1;ri.matchMedia&&(r=ri.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const o=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};o.push({tag:"path",attributes:ne(ne({},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 d=ne(ne({},a),{},{attributeName:"opacity"}),h={tag:"circle",attributes:ne(ne({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return r||h.children.push({tag:"animate",attributes:ne(ne({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ne(ne({},d),{},{values:"1;0;1;1;0;1;"})}),o.push(h),o.push({tag:"path",attributes:ne(ne({},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:r?[]:[{tag:"animate",attributes:ne(ne({},d),{},{values:"1;0;0;0;0;1;"})}]}),r||o.push({tag:"path",attributes:ne(ne({},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:ne(ne({},d),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:o}}}},Hw={hooks(){return{parseNodeAttributes(e,r){const o=r.getAttribute("data-fa-symbol"),i=o===null?!1:o===""?!0:o;return e.symbol=i,e}}}},Ww=[Lx,Rw,Pw,Aw,Iw,jw,Nw,$w,Bw,Uw,Hw];ew(Ww,{mixoutsTo:vr});vr.noAuto;vr.config;vr.library;vr.dom;const _d=vr.parse;vr.findIconDefinition;vr.toHtml;const Vw=vr.icon;vr.layer;vr.text;vr.counter;function kh(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);r&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,i)}return o}function ti(e){for(var r=1;r<arguments.length;r++){var o=arguments[r]!=null?arguments[r]:{};r%2?kh(Object(o),!0).forEach(function(i){us(e,i,o[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):kh(Object(o)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i))})}return e}function uc(e){"@babel/helpers - typeof";return uc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},uc(e)}function us(e,r,o){return r in e?Object.defineProperty(e,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[r]=o,e}function Yw(e,r){if(e==null)return{};var o={},i=Object.keys(e),a,d;for(d=0;d<i.length;d++)a=i[d],!(r.indexOf(a)>=0)&&(o[a]=e[a]);return o}function Wg(e,r){if(e==null)return{};var o=Yw(e,r),i,a;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(e);for(a=0;a<d.length;a++)i=d[a],!(r.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(o[i]=e[i])}return o}function Ld(e){return Gw(e)||Qw(e)||Xw(e)||qw()}function Gw(e){if(Array.isArray(e))return jd(e)}function Qw(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xw(e,r){if(e){if(typeof e=="string")return jd(e,r);var o=Object.prototype.toString.call(e).slice(8,-1);if(o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set")return Array.from(e);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return jd(e,r)}}function jd(e,r){(r==null||r>e.length)&&(r=e.length);for(var o=0,i=new Array(r);o<r;o++)i[o]=e[o];return i}function qw(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
692
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jw(e){var r,o=e.beat,i=e.fade,a=e.beatFade,d=e.bounce,h=e.shake,v=e.flash,m=e.spin,x=e.spinPulse,R=e.spinReverse,E=e.pulse,F=e.fixedWidth,M=e.inverse,B=e.border,D=e.listItem,P=e.flip,I=e.size,W=e.rotation,U=e.pull,q=(r={"fa-beat":o,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":d,"fa-shake":h,"fa-flash":v,"fa-spin":m,"fa-spin-reverse":R,"fa-spin-pulse":x,"fa-pulse":E,"fa-fw":F,"fa-inverse":M,"fa-border":B,"fa-li":D,"fa-flip":P===!0,"fa-flip-horizontal":P==="horizontal"||P==="both","fa-flip-vertical":P==="vertical"||P==="both"},us(r,"fa-".concat(I),typeof I<"u"&&I!==null),us(r,"fa-rotate-".concat(W),typeof W<"u"&&W!==null&&W!==0),us(r,"fa-pull-".concat(U),typeof U<"u"&&U!==null),us(r,"fa-swap-opacity",e.swapOpacity),r);return Object.keys(q).map(function(_){return q[_]?_:null}).filter(function(_){return _})}function Kw(e){return e=e-0,e===e}function Vg(e){return Kw(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(r,o){return o?o.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Zw=["style"];function eS(e){return e.charAt(0).toUpperCase()+e.slice(1)}function tS(e){return e.split(";").map(function(r){return r.trim()}).filter(function(r){return r}).reduce(function(r,o){var i=o.indexOf(":"),a=Vg(o.slice(0,i)),d=o.slice(i+1).trim();return a.startsWith("webkit")?r[eS(a)]=d:r[a]=d,r},{})}function Yg(e,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof r=="string")return r;var i=(r.children||[]).map(function(m){return Yg(e,m)}),a=Object.keys(r.attributes||{}).reduce(function(m,x){var R=r.attributes[x];switch(x){case"class":m.attrs.className=R,delete r.attributes.class;break;case"style":m.attrs.style=tS(R);break;default:x.indexOf("aria-")===0||x.indexOf("data-")===0?m.attrs[x.toLowerCase()]=R:m.attrs[Vg(x)]=R}return m},{attrs:{}}),d=o.style,h=d===void 0?{}:d,v=Wg(o,Zw);return a.attrs.style=ti(ti({},a.attrs.style),h),e.apply(void 0,[r.tag,ti(ti({},a.attrs),v)].concat(Ld(i)))}var Gg=!1;try{Gg=process.env.NODE_ENV==="production"}catch{}function rS(){if(!Gg&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Eh(e){if(e&&uc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(_d.icon)return _d.icon(e);if(e===null)return null;if(e&&uc(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 Wf(e,r){return Array.isArray(r)&&r.length>0||!Array.isArray(r)&&r?us({},e,r):{}}var nS=["forwardedRef"];function ii(e){var r=e.forwardedRef,o=Wg(e,nS),i=o.icon,a=o.mask,d=o.symbol,h=o.className,v=o.title,m=o.titleId,x=o.maskId,R=Eh(i),E=Wf("classes",[].concat(Ld(Jw(o)),Ld(h.split(" ")))),F=Wf("transform",typeof o.transform=="string"?_d.transform(o.transform):o.transform),M=Wf("mask",Eh(a)),B=Vw(R,ti(ti(ti(ti({},E),F),M),{},{symbol:d,title:v,titleId:m,maskId:x}));if(!B)return rS("Could not find icon",R),null;var D=B.abstract,P={ref:r};return Object.keys(o).forEach(function(I){ii.defaultProps.hasOwnProperty(I)||(P[I]=o[I])}),oS(D[0],P)}ii.displayName="FontAwesomeIcon";ii.propTypes={beat:Me.bool,border:Me.bool,beatFade:Me.bool,bounce:Me.bool,className:Me.string,fade:Me.bool,flash:Me.bool,mask:Me.oneOfType([Me.object,Me.array,Me.string]),maskId:Me.string,fixedWidth:Me.bool,inverse:Me.bool,flip:Me.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Me.oneOfType([Me.object,Me.array,Me.string]),listItem:Me.bool,pull:Me.oneOf(["right","left"]),pulse:Me.bool,rotation:Me.oneOf([0,90,180,270]),shake:Me.bool,size:Me.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Me.bool,spinPulse:Me.bool,spinReverse:Me.bool,symbol:Me.oneOfType([Me.bool,Me.string]),title:Me.string,titleId:Me.string,transform:Me.oneOfType([Me.string,Me.object]),swapOpacity:Me.bool};ii.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 oS=Yg.bind(null,V.createElement);const iS=async e=>await(await fetch(`${Yl}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),aS=({taskId:e,playbookId:r,enabled:o})=>{const{queryClient:i}=Is(),a=async()=>iS({taskId:+e,templateId:r.toString()}),d=["taskDetails",+e,r],h=Wd({queryKey:d,queryFn:a,enabled:o,staleTime:1/0},i),v=()=>{i.prefetchQuery({queryFn:a,queryKey:d,staleTime:1/0})};return{taskDetails:h.data,prefetchQuery:v,...h}},sS=({buttons:e,onButtonClick:r,disabled:o})=>Y.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>Y.jsx(jl,{size:"smallCollapse",className:"ml-2",disabled:o,onClick:()=>{r(i)},children:fy[i]},i))});function Ch(e,r){if(!e||!r)return!1;const o=r.getRootNode==null?void 0:r.getRootNode();if(e.contains(r))return!0;if(o&&vd(o)){let i=r;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Rl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Vf(e,r){if(r==null)return!1;if("composedPath"in e)return e.composedPath().includes(r);const o=e;return o.target!=null&&r.contains(o.target)}function lS(e){return e.matches("html,body")}function Th(e){return(e==null?void 0:e.ownerDocument)||document}function Yf(e,r){let o=e.filter(a=>{var d;return a.parentId===r&&((d=a.context)==null?void 0:d.open)}),i=o;for(;i.length;)i=e.filter(a=>{var d;return(d=i)==null?void 0:d.some(h=>{var v;return a.parentId===h.id&&((v=a.context)==null?void 0:v.open)})}),o=o.concat(i);return o}function uS(e){return"nativeEvent"in e}var cS=typeof document<"u",fS=function(){},Nd=cS?V.useLayoutEffect:fS;const dS={...de},pS=dS.useInsertionEffect,hS=pS||(e=>e());function ss(e){const r=de.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return hS(()=>{r.current=e}),de.useCallback(function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r.current==null?void 0:r.current(...i)},[])}const mS="data-floating-ui-focusable",Rh="active",Ph="selected",gS={...de};let Ah=!1,vS=0;const Ih=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+vS++;function yS(){const[e,r]=de.useState(()=>Ah?Ih():void 0);return Nd(()=>{e==null&&r(Ih())},[]),de.useEffect(()=>{Ah=!0},[]),e}const bS=gS.useId,xS=bS||yS;let $d;process.env.NODE_ENV!=="production"&&($d=new Set);function wS(){for(var e,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];const a="Floating UI: "+o.join(" ");if(!((e=$d)!=null&&e.has(a))){var d;(d=$d)==null||d.add(a),console.error(a)}}function SS(){const e=new Map;return{emit(r,o){var i;(i=e.get(r))==null||i.forEach(a=>a(o))},on(r,o){e.has(r)||e.set(r,new Set),e.get(r).add(o)},off(r,o){var i;(i=e.get(r))==null||i.delete(o)}}}const kS=de.createContext(null),ES=de.createContext(null),CS=()=>{var e;return((e=de.useContext(kS))==null?void 0:e.id)||null},Qg=()=>de.useContext(ES);function TS(e){return"data-floating-ui-"+e}function RS(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const PS={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},AS={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Oh=e=>{var r,o;return{escapeKey:typeof e=="boolean"?e:(r=e==null?void 0:e.escapeKey)!=null?r:!1,outsidePress:typeof e=="boolean"?e:(o=e==null?void 0:e.outsidePress)!=null?o:!0}};function IS(e,r){r===void 0&&(r={});const{open:o,onOpenChange:i,elements:a,dataRef:d}=e,{enabled:h=!0,escapeKey:v=!0,outsidePress:m=!0,outsidePressEvent:x="pointerdown",referencePress:R=!1,referencePressEvent:E="pointerdown",ancestorScroll:F=!1,bubbles:M,capture:B}=r,D=Qg(),P=ss(typeof m=="function"?m:()=>!1),I=typeof m=="function"?P:m,W=de.useRef(!1),{escapeKey:U,outsidePress:q}=Oh(M),{escapeKey:_,outsidePress:ie}=Oh(B),ce=de.useRef(!1),ee=de.useRef(-1),ae=ss(ke=>{var Ce;if(!o||!h||!v||ke.key!=="Escape"||ce.current)return;const je=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,Z=D?Yf(D.nodesRef.current,je):[];if(!U&&(ke.stopPropagation(),Z.length>0)){let be=!0;if(Z.forEach(Q=>{var J;if((J=Q.context)!=null&&J.open&&!Q.context.dataRef.current.__escapeKeyBubbles){be=!1;return}}),!be)return}i(!1,uS(ke)?ke.nativeEvent:ke,"escape-key")}),Fe=ss(ke=>{var Ce;const je=()=>{var Z;ae(ke),(Z=Rl(ke))==null||Z.removeEventListener("keydown",je)};(Ce=Rl(ke))==null||Ce.addEventListener("keydown",je)}),Ne=ss(ke=>{var Ce;const je=d.current.insideReactTree;d.current.insideReactTree=!1;const Z=W.current;if(W.current=!1,x==="click"&&Z||je||typeof I=="function"&&!I(ke))return;const be=Rl(ke),Q="["+TS("inert")+"]",J=Th(a.floating).querySelectorAll(Q);let fe=pt(be)?be:null;for(;fe&&!Zn(fe);){const se=to(fe);if(Zn(se)||!pt(se))break;fe=se}if(J.length&&pt(be)&&!lS(be)&&!Ch(be,a.floating)&&Array.from(J).every(se=>!Ch(fe,se)))return;if(Zr(be)&&Qe){const se=Zn(be),ue=_r(be),Te=/auto|scroll/,Ee=se||Te.test(ue.overflowX),Re=se||Te.test(ue.overflowY),$e=Ee&&be.clientWidth>0&&be.scrollWidth>be.clientWidth,oe=Re&&be.clientHeight>0&&be.scrollHeight>be.clientHeight,Ue=ue.direction==="rtl",nt=oe&&(Ue?ke.offsetX<=be.offsetWidth-be.clientWidth:ke.offsetX>be.clientWidth),Lt=$e&&ke.offsetY>be.clientHeight;if(nt||Lt)return}const me=(Ce=d.current.floatingContext)==null?void 0:Ce.nodeId,pe=D&&Yf(D.nodesRef.current,me).some(se=>{var ue;return Vf(ke,(ue=se.context)==null?void 0:ue.elements.floating)});if(Vf(ke,a.floating)||Vf(ke,a.domReference)||pe)return;const ge=D?Yf(D.nodesRef.current,me):[];if(ge.length>0){let se=!0;if(ge.forEach(ue=>{var Te;if((Te=ue.context)!=null&&Te.open&&!ue.context.dataRef.current.__outsidePressBubbles){se=!1;return}}),!se)return}i(!1,ke,"outside-press")}),_e=ss(ke=>{var Ce;const je=()=>{var Z;Ne(ke),(Z=Rl(ke))==null||Z.removeEventListener(x,je)};(Ce=Rl(ke))==null||Ce.addEventListener(x,je)});de.useEffect(()=>{if(!o||!h)return;d.current.__escapeKeyBubbles=U,d.current.__outsidePressBubbles=q;let ke=-1;function Ce(J){i(!1,J,"ancestor-scroll")}function je(){window.clearTimeout(ke),ce.current=!0}function Z(){ke=window.setTimeout(()=>{ce.current=!1},bc()?5:0)}const be=Th(a.floating);v&&(be.addEventListener("keydown",_?Fe:ae,_),be.addEventListener("compositionstart",je),be.addEventListener("compositionend",Z)),I&&be.addEventListener(x,ie?_e:Ne,ie);let Q=[];return F&&(pt(a.domReference)&&(Q=ds(a.domReference)),pt(a.floating)&&(Q=Q.concat(ds(a.floating))),!pt(a.reference)&&a.reference&&a.reference.contextElement&&(Q=Q.concat(ds(a.reference.contextElement)))),Q=Q.filter(J=>{var fe;return J!==((fe=be.defaultView)==null?void 0:fe.visualViewport)}),Q.forEach(J=>{J.addEventListener("scroll",Ce,{passive:!0})}),()=>{v&&(be.removeEventListener("keydown",_?Fe:ae,_),be.removeEventListener("compositionstart",je),be.removeEventListener("compositionend",Z)),I&&be.removeEventListener(x,ie?_e:Ne,ie),Q.forEach(J=>{J.removeEventListener("scroll",Ce)}),window.clearTimeout(ke)}},[d,a,v,I,x,o,i,F,h,U,q,ae,_,Fe,Ne,ie,_e]),de.useEffect(()=>{d.current.insideReactTree=!1},[d,I,x]);const Ge=de.useMemo(()=>({onKeyDown:ae,...R&&{[PS[E]]:ke=>{i(!1,ke.nativeEvent,"reference-press")},...E!=="click"&&{onClick(ke){i(!1,ke.nativeEvent,"reference-press")}}}}),[ae,i,R,E]),Qe=de.useMemo(()=>({onKeyDown:ae,onMouseDown(){W.current=!0},onMouseUp(){W.current=!0},[AS[x]]:()=>{d.current.insideReactTree=!0},onBlurCapture(){D||(RS(ee),d.current.insideReactTree=!0,ee.current=window.setTimeout(()=>{d.current.insideReactTree=!1}))}}),[ae,x,d,D]);return de.useMemo(()=>h?{reference:Ge,floating:Qe}:{},[h,Ge,Qe])}function OS(e){const{open:r=!1,onOpenChange:o,elements:i}=e,a=xS(),d=de.useRef({}),[h]=de.useState(()=>SS()),v=CS()!=null;if(process.env.NODE_ENV!=="production"){const M=i.reference;M&&!pt(M)&&wS("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[m,x]=de.useState(i.reference),R=ss((M,B,D)=>{d.current.openEvent=M?B:void 0,h.emit("openchange",{open:M,event:B,reason:D,nested:v}),o==null||o(M,B,D)}),E=de.useMemo(()=>({setPositionReference:x}),[]),F=de.useMemo(()=>({reference:m||i.reference||null,floating:i.floating||null,domReference:i.reference}),[m,i.reference,i.floating]);return de.useMemo(()=>({dataRef:d,open:r,onOpenChange:R,elements:F,events:h,floatingId:a,refs:E}),[r,R,F,h,a,E])}function FS(e){e===void 0&&(e={});const{nodeId:r}=e,o=OS({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||o,a=i.elements,[d,h]=de.useState(null),[v,m]=de.useState(null),R=(a==null?void 0:a.domReference)||d,E=de.useRef(null),F=Qg();Nd(()=>{R&&(E.current=R)},[R]);const M=F0({...e,elements:{...a,...v&&{reference:v}}}),B=de.useCallback(U=>{const q=pt(U)?{getBoundingClientRect:()=>U.getBoundingClientRect(),getClientRects:()=>U.getClientRects(),contextElement:U}:U;m(q),M.refs.setReference(q)},[M.refs]),D=de.useCallback(U=>{(pt(U)||U===null)&&(E.current=U,h(U)),(pt(M.refs.reference.current)||M.refs.reference.current===null||U!==null&&!pt(U))&&M.refs.setReference(U)},[M.refs]),P=de.useMemo(()=>({...M.refs,setReference:D,setPositionReference:B,domReference:E}),[M.refs,D,B]),I=de.useMemo(()=>({...M.elements,domReference:R}),[M.elements,R]),W=de.useMemo(()=>({...M,...i,refs:P,elements:I,nodeId:r}),[M,P,I,r,i]);return Nd(()=>{i.dataRef.current.floatingContext=W;const U=F==null?void 0:F.nodesRef.current.find(q=>q.id===r);U&&(U.context=W)}),de.useMemo(()=>({...M,context:W,refs:P,elements:I}),[M,P,I,W])}function Gf(e,r,o){const i=new Map,a=o==="item";let d=e;if(a&&e){const{[Rh]:h,[Ph]:v,...m}=e;d=m}return{...o==="floating"&&{tabIndex:-1,[mS]:""},...d,...r.map(h=>{const v=h?h[o]:null;return typeof v=="function"?e?v(e):null:v}).concat(e).reduce((h,v)=>(v&&Object.entries(v).forEach(m=>{let[x,R]=m;if(!(a&&[Rh,Ph].includes(x)))if(x.indexOf("on")===0){if(i.has(x)||i.set(x,[]),typeof R=="function"){var E;(E=i.get(x))==null||E.push(R),h[x]=function(){for(var F,M=arguments.length,B=new Array(M),D=0;D<M;D++)B[D]=arguments[D];return(F=i.get(x))==null?void 0:F.map(P=>P(...B)).find(P=>P!==void 0)}}}else h[x]=R}),h),{})}}function MS(e){e===void 0&&(e=[]);const r=e.map(v=>v==null?void 0:v.reference),o=e.map(v=>v==null?void 0:v.floating),i=e.map(v=>v==null?void 0:v.item),a=de.useCallback(v=>Gf(v,e,"reference"),r),d=de.useCallback(v=>Gf(v,e,"floating"),o),h=de.useCallback(v=>Gf(v,e,"item"),i);return de.useMemo(()=>({getReferenceProps:a,getFloatingProps:d,getItemProps:h}),[a,d,h])}const DS={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"},_S={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"},LS={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"},jS={normal:"rounded",pill:"rounded-pill"},NS={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]"},Xg=({category:e="solid",color:r="primary",roundness:o="normal",size:i="medium",textClassName:a="uppercase",children:d,className:h,...v})=>{const m=V.useMemo(()=>LS[r]??"text-white",[r]),x=V.useMemo(()=>fs(m,e==="outline"?_S[r]:DS[r],jS[o],NS[i]),[m,e,r,i,o]);return Y.jsx("div",{className:fs("ui-badge flex items-center font-bold",x,h),style:v==null?void 0:v.style,"data-testid":"badge","data-category":e,"data-color":r,...v,children:Y.jsx("p",{className:fs("mx-1",a),children:d})})},$S={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},zS=({transition:e,onClick:r})=>Y.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:o=>{o.stopPropagation(),r()},children:[Y.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),Y.jsx(ii,{icon:W0,className:"text-gray-400 size-4"}),Y.jsx(Xg,{category:"outline",color:e.color,children:e.to})]}),BS=({title:e,variant:r="default",transitions:o,onClick:i})=>{const[a,d]=V.useState(!1),{refs:h,floatingStyles:v,context:m}=FS({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:d}),x=IS(m,{outsidePress:!0}),{getReferenceProps:R,getFloatingProps:E}=MS([x]);return Y.jsxs(Y.Fragment,{children:[Y.jsxs("div",{onClick:o!=null&&o.length?()=>d(F=>!F):void 0,ref:h.setReference,className:gt("px-1 uppercase border rounded-sm flex items-center space-x-1",o.length?"cursor-pointer":"pointer-events-none",$S[r]),...R(),children:[Y.jsx("span",{className:"text-sm font-bold",children:e}),o.length>0?Y.jsx(ii,{icon:cg,className:"size-4"}):Y.jsx(Y.Fragment,{})]}),a&&o.length&&Y.jsx("div",{ref:h.setFloating,style:v,className:gt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...E(),children:o.map((F,M)=>Y.jsx(zS,{transition:F,onClick:()=>{i==null||i(F.id),d(!1)}},M))})]})},Fh=({description:e})=>{const r=V.useMemo(()=>{const o=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(o,`${jp}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${jp}`),v=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return v==null||v.forEach(m=>{const x=m.getAttribute("src");x&&(new Image().src=x)}),a},[e]);return V.useEffect(()=>{},[r]),Y.jsx("div",{className:"flex flex-col gap-4",children:Y.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:r}})})},US={SEQUENTIAL:"Sequential"},HS={[ut.IN_REVIEW]:"In Review"},WS={[ut.OPEN]:"bg-secondary-500",[ut.IN_PROGRESS]:"bg-primary-600",[ut.IN_REVIEW]:"bg-success-600",[ut.COMPLETED]:"bg-success-600"},VS=({playbookType:e,status:r,step:o,isSelected:i,onSelect:a})=>Y.jsx("div",{className:Ll("flex flex-col items-center justify-center",i?"bg-[#FFE600]":WS[r],a&&"cursor-pointer"),onClick:d=>{d.stopPropagation(),a==null||a(d.shiftKey)},children:Y.jsx("span",{className:Ll("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===US.SEQUENTIAL?`STEP ${o}`:(HS[r]||r).toUpperCase()})}),YS={[ut.OPEN]:"secondary",[ut.IN_PROGRESS]:"primary",[ut.IN_REVIEW]:"success",[ut.COMPLETED]:"success"},GS=({status:e})=>Y.jsx(Xg,{category:"outline",color:YS[e],children:e}),QS={[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]"},Qf={PHOTO:"photo",SCREENSHOT:"screenshot"},XS=({task:e,step:r,playbookType:o,onButtonClick:i,viewMode:a="card",canStart:d=!1,isExpanded:h=!1,toggleExpanded:v,playbookId:m,taskStyle:x,listStickyTopBase:R})=>{const[E,F]=V.useState(!1),{taskDetails:M,prefetchQuery:B}=aS({taskId:e.taskId,playbookId:m,enabled:h}),{buttons:D}=dy({taskStatus:e.workflowStatus,canStart:d}),P=V.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Qf.SCREENSHOT:e.imageRequired===2?Qf.PHOTO:null,[e.imageRequired]),I=async W=>{try{F(!0),await i(W)}finally{F(!1)}};if(a==="list"){const W=V.useMemo(()=>e.workflowStatus===ut.COMPLETED?"success":e.workflowStatus===ut.IN_PROGRESS?"primary":"default",[e.workflowStatus]),U=V.useMemo(()=>{const q=[];return D.forEach(_=>{_==="START"&&q.push({id:"START",color:"primary",action:"Start",to:ut.IN_PROGRESS}),_==="COMPLETE"&&q.push({id:"COMPLETE",color:"success",action:"Complete",to:ut.COMPLETED})}),q},[D]);return Y.jsxs("div",{className:gt("flex flex-col"),children:[Y.jsxs("div",{className:gt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",h&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:h?R:0},children:[Y.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),Y.jsx("div",{onClick:()=>{v==null||v(!h)},onMouseOver:B,className:gt("flex-1 truncate cursor-pointer",h&&"font-medium",e.workflowStatus===ut.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ut.IN_PROGRESS&&(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),Y.jsx(BS,{title:e.workflowStatus,variant:W,transitions:U,onClick:q=>{i(q)}})]}),(M==null?void 0:M.description)&&Y.jsx("div",{className:gt(!h&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:Y.jsx(Fh,{description:(M==null?void 0:M.description)||""})})]})}return Y.jsxs("div",{className:Ll("flex items-stretch rounded-sm overflow-hidden border",QS[e.workflowStatus]),children:[Y.jsx(VS,{playbookType:o,status:e.workflowStatus,step:r}),Y.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[o==="Sequential"&&Y.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:Y.jsx(GS,{status:e.workflowStatus})}),Y.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[Y.jsx("div",{className:gt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(x==null?void 0:x.titleColor)||"#1C232D"},children:e.taskInstanceName}),P?Y.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[Y.jsx(ii,{icon:H0,className:"size-4"}),Y.jsxs("div",{children:[Y.jsx("span",{className:"font-medium",children:P===Qf.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):Y.jsx(Y.Fragment,{})]}),(M==null?void 0:M.description)&&Y.jsx("div",{className:gt(!h&&"hidden"),children:Y.jsx(Fh,{description:(M==null?void 0:M.description)||""})}),(D.length>0||e.hasDescription)&&Y.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[Y.jsx("div",{className:"flex-1",children:Y.jsx(sS,{buttons:D,onButtonClick:I,disabled:E})}),v&&Y.jsx(jl,{size:"smallCollapse",onMouseOver:B,category:"link",onClick:()=>{v()},title:h?"Hide task description":"Show task description",children:Y.jsx(ii,{icon:cg,className:Ll("cursor-pointer text-[#0069D9]",h?"rotate-180":"")})})]})]})]})},qg=V.forwardRef(({title:e,className:r,playbookStyle:o,...i},a)=>{var d,h,v;return Y.jsx("div",{ref:a,className:gt("border-b border-gray-200 flex items-center",r),style:{backgroundColor:((d=o==null?void 0:o.whiteLabel)==null?void 0:d.titleBackgroundColor)||"#f8f9fa"},...i,children:Y.jsx("div",{className:gt("text-xl min-h-16 p-4 font-medium flex-1",{"text-dark":!((h=o==null?void 0:o.whiteLabel)!=null&&h.titleTextColor)}),style:{color:(v=o==null?void 0:o.whiteLabel)==null?void 0:v.titleTextColor},children:e})})});qg.displayName="PlaybookHeader";const qS=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>{const{playbook:i,actions:a}=cy(e);if(!i)return Y.jsx("div",{});console.log({playbookStyle:o});const d=async(h,v)=>{var m;if(h===Il.COMPLETE){const x=(m=i.tasks.find(R=>R.taskInstanceId===v))==null?void 0:m.sequenceOrder;if(x===void 0){console.error("Task not found in playbook");return}return a.completeTask(v,x)}if(h===Il.START)return a.startTask(v)};return Y.jsx("div",{className:"confidence-playbook",children:Y.jsx(Jg,{playbook:i,playbookMode:r,onTaskButtonClick:d,playbookStyle:o})})},JS=({className:e,children:r,numberOfTasks:o,playbookMode:i})=>Y.jsxs("div",{className:gt("w-full p-4",e),children:[o&&Y.jsxs("div",{className:gt(i==="card"&&"mb-4"),children:[Y.jsx("span",{className:"font-medium",children:"Tasks"})," (",o,")"]}),Y.jsx("div",{className:gt(i==="card"&&"space-y-4"),children:r})]}),Jg=({playbook:e,playbookMode:r,onTaskButtonClick:o,playbookStyle:i})=>{var P,I,W,U,q;const{playbookInstanceName:a,tasks:d}=e,h=V.useRef(null),[v,m]=V.useState(0),[x,R]=V.useState(!0),E=()=>{R(!x)},{isTaskExpanded:F,toggleTaskExpanded:M,isAtLeastOneTaskExpanded:B}=hm(e.playbookInstanceId,{onTaskExpanded:()=>{var _;m(((_=h.current)==null?void 0:_.offsetHeight)||0)}});V.useEffect(()=>{if(B){if(!h.current)throw new Error("Playbook header ref is not set");new ResizeObserver(ie=>{var ce;for(const ee of ie)ee.contentRect&&m(((ce=h.current)==null?void 0:ce.offsetHeight)||0)}).observe(h.current)}return()=>{h.current&&new ResizeObserver(()=>{}).unobserve(h.current)}},[B]);const D=V.useMemo(()=>{const _=d.filter(ie=>ie.workflowStatus===ut.COMPLETED).sort((ie,ce)=>ce.sequenceOrder-ie.sequenceOrder)[0];return _?_.sequenceOrder+1:0},[d]);return Y.jsxs("div",{className:gt(!(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:x?((P=i.overlay.size)==null?void 0:P.width)||450:"2.25rem",height:((I=i.overlay.size)==null?void 0:I.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((W=i.overlay.offset)==null?void 0:W.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)&&Y.jsx("div",{onClick:E,className:gt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((q=i==null?void 0:i.whiteLabel)==null?void 0:q.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:Y.jsx("img",{src:Jh,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),Y.jsxs("div",{className:gt("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:[Y.jsx(qg,{title:a,className:gt("top-0 sticky z-2"),playbookStyle:i,ref:h}),Y.jsx(JS,{playbookMode:r,numberOfTasks:e.numberofTasks,children:d.map((_,ie)=>{var ce;return Y.jsx(XS,{task:_,step:ie+1,viewMode:r,playbookId:e.playbookId,canStart:_.sequenceOrder===D,onButtonClick:ee=>o(ee,_.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(ce=i==null?void 0:i.whiteLabel)==null?void 0:ce.primaryColor},isExpanded:F(_.taskInstanceId),toggleExpanded:()=>M(_.taskInstanceId),listStickyTopBase:v||104},ie)})})]})]})},KS=({email:e,playbookId:r,playbookMode:o,playbookStyle:i,bank:a="public-sdk",timezone:d="America/Los_Angeles"})=>{const[h,v]=V.useState(null);return V.useEffect(()=>{(async()=>{const{playbookInstanceId:m,errorCode:x,details:R,message:E}=await mm({bank:a,email:e,timezone:d,playbookUid:r})||{};if(x)throw new Error(`Error initiating playbook: ${E} (Code: ${x}) - Details: ${R}`);v(m)})()},[]),h?Y.jsx(si,{playbookInstanceId:h,playbookMode:o,playbookStyle:i}):Y.jsx("div",{children:"Loading..."})},ZS=({playbookId:e,playbookMode:r="list",playbookStyle:o,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[d,h]=V.useState(null);return Y.jsxs(Y.Fragment,{children:[Y.jsxs(cc.div,{children:[Y.jsx(B0,{playbookId:e,disabled:!!d,onInitiated:h,btnLabel:i,btnColor:a}),Y.jsx("style",{type:"text/css",children:fc})]}),d&&Y.jsx(si,{playbookInstanceId:d,playbookMode:r,playbookStyle:o})]})},si=({playbookInstanceId:e,playbookMode:r,playbookStyle:o})=>Y.jsx(dm,{children:Y.jsx(qS,{playbookInstanceId:e,playbookMode:r,playbookStyle:o})});si.Context=dm;si.View=Jg;si.AutoInstantiated=KS;si.WithInstantiateButton=ZS;const Kg=e=>Vl.createPortal(Y.jsxs(cc.div,{children:[Y.jsx("style",{children:fc}),Y.jsx(si,{...e})]}),document.body),ek=e=>Vl.createPortal(Y.jsxs(cc.div,{children:[Y.jsx("style",{children:fc}),Y.jsx(si.AutoInstantiated,{...e})]}),document.body);Kg.AutoInstantiated=ek;exports.ConfidencePlaybook=Kg;
|