@confidencesystemsinc/sdk 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var uh=e=>{throw TypeError(e)};var ld=(e,t,n)=>t.has(e)||uh("Cannot "+n);var _=(e,t,n)=>(ld(e,t,"read from private field"),n?n.call(e):t.get(e)),Ie=(e,t,n)=>t.has(e)?uh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ge=(e,t,n,a)=>(ld(e,t,"write to private field"),a?a.call(e,n):t.set(e,n),n),Ue=(e,t,n)=>(ld(e,t,"access private method"),n);var dc=(e,t,n,a)=>({set _(i){ge(e,t,i,n)},get _(){return _(e,t,a)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("react/jsx-runtime"),A=require("react"),Uc=require("react-dom");function tg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const pe=tg(A),jy=tg(Uc);function Ny(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ea={},ai={};/**
1
+ "use strict";var lh=e=>{throw TypeError(e)};var sd=(e,t,n)=>t.has(e)||lh("Cannot "+n);var _=(e,t,n)=>(sd(e,t,"read from private field"),n?n.call(e):t.get(e)),Ie=(e,t,n)=>t.has(e)?lh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ge=(e,t,n,i)=>(sd(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n),Ue=(e,t,n)=>(sd(e,t,"access private method"),n);var fc=(e,t,n,i)=>({set _(a){ge(e,t,a,n)},get _(){return _(e,t,i)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react/jsx-runtime"),A=require("react"),Bc=require("react-dom");function eg(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const pe=eg(A),Ny=eg(Bc);function zy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ei={},ia={};/**
2
2
  * @license React
3
3
  * react-dom-server-legacy.browser.production.min.js
4
4
  *
@@ -6,13 +6,13 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var ch;function zy(){if(ch)return ai;ch=1;var e=A;function t(f){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+f,E=1;E<arguments.length;E++)b+="&args[]="+encodeURIComponent(arguments[E]);return"Minified React error #"+f+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,i={},c={};function p(f){return n.call(c,f)?!0:n.call(i,f)?!1:a.test(f)?c[f]=!0:(i[f]=!0,!1)}function m(f,b,E,P,H,N,G){this.acceptsBooleans=b===2||b===3||b===4,this.attributeName=P,this.attributeNamespace=H,this.mustUseProperty=E,this.propertyName=f,this.type=b,this.sanitizeURL=N,this.removeEmptyString=G}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){h[f]=new m(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var b=f[0];h[b]=new m(b,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){h[f]=new m(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){h[f]=new m(f,2,!1,f,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){h[f]=new m(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){h[f]=new m(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){h[f]=new m(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){h[f]=new m(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){h[f]=new m(f,5,!1,f.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function C(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!1,!1)}),h.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!0,!0)});var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(f){F.forEach(function(b){b=b+f.charAt(0).toUpperCase()+f.substring(1),x[b]=x[f]})});var I=/["'&<>]/;function L(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var b=I.exec(f);if(b){var E="",P,H=0;for(P=b.index;P<f.length;P++){switch(f.charCodeAt(P)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}H!==P&&(E+=f.substring(H,P)),H=P+1,E+=b}f=H!==P?E+f.substring(H,P):E}return f}var D=/([A-Z])/g,T=/^ms-/,O=Array.isArray;function U(f,b){return{insertionMode:f,selectedValue:b}}function j(f,b,E){switch(b){case"select":return U(1,E.value!=null?E.value:E.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=f.insertionMode||f.insertionMode===0?U(1,null):f}var V=new Map;function $(f,b,E){if(typeof E!="object")throw Error(t(62));b=!0;for(var P in E)if(n.call(E,P)){var H=E[P];if(H!=null&&typeof H!="boolean"&&H!==""){if(P.indexOf("--")===0){var N=L(P);H=L((""+H).trim())}else{N=P;var G=V.get(N);G!==void 0||(G=L(N.replace(D,"-$1").toLowerCase().replace(T,"-ms-")),V.set(N,G)),N=G,H=typeof H=="number"?H===0||n.call(x,P)?""+H:H+"px":L((""+H).trim())}b?(b=!1,f.push(' style="',N,":",H)):f.push(";",N,":",H)}}b||f.push('"')}function Z(f,b,E,P){switch(E){case"style":$(f,b,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){if(b=h.hasOwnProperty(E)?h[E]:null,b!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!b.acceptsBooleans)return}switch(E=b.attributeName,b.type){case 3:P&&f.push(" ",E,'=""');break;case 4:P===!0?f.push(" ",E,'=""'):P!==!1&&f.push(" ",E,'="',L(P),'"');break;case 5:isNaN(P)||f.push(" ",E,'="',L(P),'"');break;case 6:!isNaN(P)&&1<=P&&f.push(" ",E,'="',L(P),'"');break;default:b.sanitizeURL&&(P=""+P),f.push(" ",E,'="',L(P),'"')}}else if(p(E)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(b=E.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-")return}f.push(" ",E,'="',L(P),'"')}}}function ie(f,b,E){if(b!=null){if(E!=null)throw Error(t(60));if(typeof b!="object"||!("__html"in b))throw Error(t(61));b=b.__html,b!=null&&f.push(""+b)}}function re(f){var b="";return e.Children.forEach(f,function(E){E!=null&&(b+=E)}),b}function le(f,b,E,P){f.push(Fe(E));var H=E=null,N;for(N in b)if(n.call(b,N)){var G=b[N];if(G!=null)switch(N){case"children":E=G;break;case"dangerouslySetInnerHTML":H=G;break;default:Z(f,P,N,G)}}return f.push(">"),ie(f,H,E),typeof E=="string"?(f.push(L(E)),null):E}var ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Fe(f){var b=De.get(f);if(b===void 0){if(!ye.test(f))throw Error(t(65,f));b="<"+f,De.set(f,b)}return b}function $e(f,b,E,P,H){switch(b){case"select":f.push(Fe("select"));var N=null,G=null;for(Ce in E)if(n.call(E,Ce)){var ne=E[Ce];if(ne!=null)switch(Ce){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;case"defaultValue":case"value":break;default:Z(f,P,Ce,ne)}}return f.push(">"),ie(f,G,N),N;case"option":G=H.selectedValue,f.push(Fe("option"));var ke=ne=null,Ae=null,Ce=null;for(N in E)if(n.call(E,N)){var Ve=E[N];if(Ve!=null)switch(N){case"children":ne=Ve;break;case"selected":Ae=Ve;break;case"dangerouslySetInnerHTML":Ce=Ve;break;case"value":ke=Ve;default:Z(f,P,N,Ve)}}if(G!=null)if(E=ke!==null?""+ke:re(ne),O(G)){for(P=0;P<G.length;P++)if(""+G[P]===E){f.push(' selected=""');break}}else""+G===E&&f.push(' selected=""');else Ae&&f.push(' selected=""');return f.push(">"),ie(f,Ce,ne),ne;case"textarea":f.push(Fe("textarea")),Ce=G=N=null;for(ne in E)if(n.call(E,ne)&&(ke=E[ne],ke!=null))switch(ne){case"children":Ce=ke;break;case"value":N=ke;break;case"defaultValue":G=ke;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:Z(f,P,ne,ke)}if(N===null&&G!==null&&(N=G),f.push(">"),Ce!=null){if(N!=null)throw Error(t(92));if(O(Ce)&&1<Ce.length)throw Error(t(93));N=""+Ce}return typeof N=="string"&&N[0]===`
9
+ */var uh;function By(){if(uh)return ia;uh=1;var e=A;function t(f){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+f,E=1;E<arguments.length;E++)b+="&args[]="+encodeURIComponent(arguments[E]);return"Minified React error #"+f+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=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={},c={};function p(f){return n.call(c,f)?!0:n.call(a,f)?!1:i.test(f)?c[f]=!0:(a[f]=!0,!1)}function m(f,b,E,P,H,N,G){this.acceptsBooleans=b===2||b===3||b===4,this.attributeName=P,this.attributeNamespace=H,this.mustUseProperty=E,this.propertyName=f,this.type=b,this.sanitizeURL=N,this.removeEmptyString=G}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){h[f]=new m(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var b=f[0];h[b]=new m(b,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){h[f]=new m(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){h[f]=new m(f,2,!1,f,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){h[f]=new m(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){h[f]=new m(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){h[f]=new m(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){h[f]=new m(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){h[f]=new m(f,5,!1,f.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function C(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var b=f.replace(v,C);h[b]=new m(b,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!1,!1)}),h.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){h[f]=new m(f,1,!1,f.toLowerCase(),null,!0,!0)});var x={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F=["Webkit","ms","Moz","O"];Object.keys(x).forEach(function(f){F.forEach(function(b){b=b+f.charAt(0).toUpperCase()+f.substring(1),x[b]=x[f]})});var I=/["'&<>]/;function L(f){if(typeof f=="boolean"||typeof f=="number")return""+f;f=""+f;var b=I.exec(f);if(b){var E="",P,H=0;for(P=b.index;P<f.length;P++){switch(f.charCodeAt(P)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}H!==P&&(E+=f.substring(H,P)),H=P+1,E+=b}f=H!==P?E+f.substring(H,P):E}return f}var D=/([A-Z])/g,T=/^ms-/,O=Array.isArray;function U(f,b){return{insertionMode:f,selectedValue:b}}function j(f,b,E){switch(b){case"select":return U(1,E.value!=null?E.value:E.defaultValue);case"svg":return U(2,null);case"math":return U(3,null);case"foreignObject":return U(1,null);case"table":return U(4,null);case"thead":case"tbody":case"tfoot":return U(5,null);case"colgroup":return U(7,null);case"tr":return U(6,null)}return 4<=f.insertionMode||f.insertionMode===0?U(1,null):f}var V=new Map;function $(f,b,E){if(typeof E!="object")throw Error(t(62));b=!0;for(var P in E)if(n.call(E,P)){var H=E[P];if(H!=null&&typeof H!="boolean"&&H!==""){if(P.indexOf("--")===0){var N=L(P);H=L((""+H).trim())}else{N=P;var G=V.get(N);G!==void 0||(G=L(N.replace(D,"-$1").toLowerCase().replace(T,"-ms-")),V.set(N,G)),N=G,H=typeof H=="number"?H===0||n.call(x,P)?""+H:H+"px":L((""+H).trim())}b?(b=!1,f.push(' style="',N,":",H)):f.push(";",N,":",H)}}b||f.push('"')}function J(f,b,E,P){switch(E){case"style":$(f,b,P);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<E.length)||E[0]!=="o"&&E[0]!=="O"||E[1]!=="n"&&E[1]!=="N"){if(b=h.hasOwnProperty(E)?h[E]:null,b!==null){switch(typeof P){case"function":case"symbol":return;case"boolean":if(!b.acceptsBooleans)return}switch(E=b.attributeName,b.type){case 3:P&&f.push(" ",E,'=""');break;case 4:P===!0?f.push(" ",E,'=""'):P!==!1&&f.push(" ",E,'="',L(P),'"');break;case 5:isNaN(P)||f.push(" ",E,'="',L(P),'"');break;case 6:!isNaN(P)&&1<=P&&f.push(" ",E,'="',L(P),'"');break;default:b.sanitizeURL&&(P=""+P),f.push(" ",E,'="',L(P),'"')}}else if(p(E)){switch(typeof P){case"function":case"symbol":return;case"boolean":if(b=E.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-")return}f.push(" ",E,'="',L(P),'"')}}}function ae(f,b,E){if(b!=null){if(E!=null)throw Error(t(60));if(typeof b!="object"||!("__html"in b))throw Error(t(61));b=b.__html,b!=null&&f.push(""+b)}}function re(f){var b="";return e.Children.forEach(f,function(E){E!=null&&(b+=E)}),b}function le(f,b,E,P){f.push(Fe(E));var H=E=null,N;for(N in b)if(n.call(b,N)){var G=b[N];if(G!=null)switch(N){case"children":E=G;break;case"dangerouslySetInnerHTML":H=G;break;default:J(f,P,N,G)}}return f.push(">"),ae(f,H,E),typeof E=="string"?(f.push(L(E)),null):E}var ye=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,De=new Map;function Fe(f){var b=De.get(f);if(b===void 0){if(!ye.test(f))throw Error(t(65,f));b="<"+f,De.set(f,b)}return b}function $e(f,b,E,P,H){switch(b){case"select":f.push(Fe("select"));var N=null,G=null;for(Ce in E)if(n.call(E,Ce)){var ne=E[Ce];if(ne!=null)switch(Ce){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;case"defaultValue":case"value":break;default:J(f,P,Ce,ne)}}return f.push(">"),ae(f,G,N),N;case"option":G=H.selectedValue,f.push(Fe("option"));var ke=ne=null,Ae=null,Ce=null;for(N in E)if(n.call(E,N)){var Ve=E[N];if(Ve!=null)switch(N){case"children":ne=Ve;break;case"selected":Ae=Ve;break;case"dangerouslySetInnerHTML":Ce=Ve;break;case"value":ke=Ve;default:J(f,P,N,Ve)}}if(G!=null)if(E=ke!==null?""+ke:re(ne),O(G)){for(P=0;P<G.length;P++)if(""+G[P]===E){f.push(' selected=""');break}}else""+G===E&&f.push(' selected=""');else Ae&&f.push(' selected=""');return f.push(">"),ae(f,Ce,ne),ne;case"textarea":f.push(Fe("textarea")),Ce=G=N=null;for(ne in E)if(n.call(E,ne)&&(ke=E[ne],ke!=null))switch(ne){case"children":Ce=ke;break;case"value":N=ke;break;case"defaultValue":G=ke;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:J(f,P,ne,ke)}if(N===null&&G!==null&&(N=G),f.push(">"),Ce!=null){if(N!=null)throw Error(t(92));if(O(Ce)&&1<Ce.length)throw Error(t(93));N=""+Ce}return typeof N=="string"&&N[0]===`
10
10
  `&&f.push(`
11
- `),N!==null&&f.push(L(""+N)),null;case"input":f.push(Fe("input")),ke=Ce=ne=N=null;for(G in E)if(n.call(E,G)&&(Ae=E[G],Ae!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ke=Ae;break;case"defaultValue":ne=Ae;break;case"checked":Ce=Ae;break;case"value":N=Ae;break;default:Z(f,P,G,Ae)}return Ce!==null?Z(f,P,"checked",Ce):ke!==null&&Z(f,P,"checked",ke),N!==null?Z(f,P,"value",N):ne!==null&&Z(f,P,"value",ne),f.push("/>"),null;case"menuitem":f.push(Fe("menuitem"));for(var Et in E)if(n.call(E,Et)&&(N=E[Et],N!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:Z(f,P,Et,N)}return f.push(">"),null;case"title":f.push(Fe("title")),N=null;for(Ve in E)if(n.call(E,Ve)&&(G=E[Ve],G!=null))switch(Ve){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:Z(f,P,Ve,G)}return f.push(">"),N;case"listing":case"pre":f.push(Fe(b)),G=N=null;for(ke in E)if(n.call(E,ke)&&(ne=E[ke],ne!=null))switch(ke){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;default:Z(f,P,ke,ne)}if(f.push(">"),G!=null){if(N!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));E=G.__html,E!=null&&(typeof E=="string"&&0<E.length&&E[0]===`
11
+ `),N!==null&&f.push(L(""+N)),null;case"input":f.push(Fe("input")),ke=Ce=ne=N=null;for(G in E)if(n.call(E,G)&&(Ae=E[G],Ae!=null))switch(G){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":ke=Ae;break;case"defaultValue":ne=Ae;break;case"checked":Ce=Ae;break;case"value":N=Ae;break;default:J(f,P,G,Ae)}return Ce!==null?J(f,P,"checked",Ce):ke!==null&&J(f,P,"checked",ke),N!==null?J(f,P,"value",N):ne!==null&&J(f,P,"value",ne),f.push("/>"),null;case"menuitem":f.push(Fe("menuitem"));for(var Et in E)if(n.call(E,Et)&&(N=E[Et],N!=null))switch(Et){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:J(f,P,Et,N)}return f.push(">"),null;case"title":f.push(Fe("title")),N=null;for(Ve in E)if(n.call(E,Ve)&&(G=E[Ve],G!=null))switch(Ve){case"children":N=G;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:J(f,P,Ve,G)}return f.push(">"),N;case"listing":case"pre":f.push(Fe(b)),G=N=null;for(ke in E)if(n.call(E,ke)&&(ne=E[ke],ne!=null))switch(ke){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;default:J(f,P,ke,ne)}if(f.push(">"),G!=null){if(N!=null)throw Error(t(60));if(typeof G!="object"||!("__html"in G))throw Error(t(61));E=G.__html,E!=null&&(typeof E=="string"&&0<E.length&&E[0]===`
12
12
  `?f.push(`
13
13
  `,E):f.push(""+E))}return typeof N=="string"&&N[0]===`
14
14
  `&&f.push(`
15
- `),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(n.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:Z(f,P,Ct,N)}return f.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Ae in E)if(n.call(E,Ae)&&(ne=E[Ae],ne!=null))switch(Ae){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;case"style":$(f,P,ne);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Ae)&&typeof ne!="function"&&typeof ne!="symbol"&&f.push(" ",Ae,'="',L(ne),'"')}return f.push(">"),ie(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function q(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var J=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Br=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Ur(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ue:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ce:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Ur(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Ur(f(b))}catch{}}return null}var Hr={};function So(f,b){if(f=f.contextTypes,!f)return Hr;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function In(f){var b=f.parent;b!==null&&In(b),f.context._currentValue2=f.value}function Fn(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fn(f,b)}function Mn(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mn(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?In(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fn(b,f):Mn(b,f),Bt=f)}var Dn={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dn,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:J({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dn.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var ne=b[G];ne=typeof ne=="function"?ne.call(f,N,E,P):ne,ne!=null&&(H?(H=!1,N=J({},N,ne)):J(N,ne))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _n(f,b,E){var P=f.id;f=f.overflow;var H=32-ln(P)-1;P&=~(1<<H),E+=1;var N=32-ln(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-ln(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var ln=Math.clz32?Math.clz32:Sr,Ea=Math.log,Ln=Math.LN2;function Sr(f){return f>>>=0,f===0?32:31-(Ea(f)/Ln|0)|0}function $n(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$n,xt=null,tr=null,kr=null,Qe=null,Er=!1,un=!1,Wr=0,rr=null,cn=0;function hr(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<cn)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jn(){return Qe===null?kr===null?(Er=!1,kr=Qe=dt()):(Er=!0,Qe=kr):Qe.next===null?(Er=!1,Qe=Qe.next=dt()):(Er=!0,Qe=Qe.next),Qe}function Nn(){tr=xt=null,un=!1,kr=null,cn=0,Qe=rr=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=hr(),Qe=jn(),Er){var P=Qe.queue;if(b=P.dispatch,rr!==null&&(E=rr.get(P),E!==void 0)){rr.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ca.bind(null,xt,f),[Qe.memoizedState,f]}function zn(f,b){if(xt=hr(),Qe=jn(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ca(f,b,E){if(25<=cn)throw Error(t(301));if(f===xt)if(un=!0,f={action:E,next:null},rr===null&&(rr=new Map),E=rr.get(b),E===void 0)rr.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ta(){throw Error(t(394))}function nr(){}var Bn={readContext:function(f){return f._currentValue2},useContext:function(f){return hr(),f._currentValue2},useMemo:zn,useReducer:lt,useRef:function(f){xt=hr(),Qe=jn();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:nr,useLayoutEffect:function(){},useCallback:function(f,b){return zn(function(){return f},b)},useImperativeHandle:nr,useEffect:nr,useDebugValue:nr,useDeferredValue:function(f){return hr(),f},useTransition:function(){return hr(),[!1,Ta]},useId:function(){var f=tr.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-ln(f)-1)).toString(32)+b;var E=fn;if(E===null)throw Error(t(404));return b=Wr++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return hr(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fn=null,Cr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function or(){}function dn(f,b,E,P,H,N,G,ne,ke){var Ae=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:or,onShellReady:G===void 0?or:G,onShellError:or,onFatalError:or},E=Rr(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Tr(b,f,null,E,Ce,Hr,null,Eo),Ae.push(f),b}function Tr(f,b,E,P,H,N,G,ne){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Ae=f.pingedTasks;Ae.push(ke),Ae.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:ne};return H.add(ke),ke}function Rr(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function ar(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Pr(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tr=b,Wr=0,f=E(P,H);un;)un=!1,Wr=0,cn+=1,Qe=null,f=E(P,H);return Nn(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var ne in E)if(!(ne in N))throw Error(t(108,Ur(P)||"Unknown",ne));P=J({},G,E)}b.legacyContext=P,ut(f,b,H),b.legacyContext=G}else ut(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=J({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function mr(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Wr!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_n(P,1,0);try{ut(f,b,H)}finally{b.treeContext=P}}else ut(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),sr(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Br:case Nt:case me:case ue:case he:ut(f,b,P.children);return;case Be:ut(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var ne={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Rr(f,H.chunks.length,ne,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Ae=Rr(f,0,null,H.formatContext,!1,!1);Ae.parentFlushed=!0,b.blockedBoundary=ne,b.blockedSegment=Ae;try{if(sr(f,b,P),f.responseState.generateStaticMarkup||Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push("<!-- -->"),Ae.status=1,Ut(ne,Ae),ne.pendingTasks===0)break e}catch(Ce){Ae.status=4,ne.forceClientRender=!0,ne.errorDigest=ar(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Tr(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Wr!==0){E=b.treeContext,b.treeContext=_n(E,1,0);try{ut(f,b,P)}finally{b.treeContext=E}}else ut(f,b,P);return;case se:E=E.type,P=Po(E,P),mr(f,b,E,P,H);return;case ce:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ut(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ut(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),mr(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ut(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:mr(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ut(f,b,E);return}if(O(E)){ir(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);ir(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function ir(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_n(N,P,H);try{sr(f,b,E[H])}finally{b.treeContext=N}}}function sr(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ut(f,b,E)}catch(ke){if(Nn(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,ne=Rr(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(ne),G.lastPushedText=!1,f=Tr(f,b.node,b.blockedBoundary,ne,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function Ar(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,lr(this,b,f)}function pn(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pn(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function lr(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=or,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Ar,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Cr.current;Cr.current=Bn;var P=fn;fn=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],ne=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ut(ne,G,G.node),ne.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,lr(ne,G.blockedBoundary,ke)}catch(Tt){if(Nn(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Ae=G.ping;Tt.then(Ae,Ae)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=ar(ne,Ve);if(Ce===null?Pr(ne,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&ne.clientRenderedBoundaries.push(Ce))),ne.allPendingTasks--,ne.allPendingTasks===0){var Ct=ne.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){ar(f,Tt),Pr(f,Tt)}finally{fn=P,Cr.current=E,E===Bn&&st(b)}}}function Or(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Vr(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Vr(f,b,E){var P=E.boundary;if(P===null)return Or(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),Or(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),Or(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),Or(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Vr(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hn(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Vr(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)ur(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function ur(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hn(f,b,P)}return hn(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Vr(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var ne=f.responseState,ke=G.id,Ae=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(ne.startInlineScript),ne.sentClientRenderFunction?P.push('$RX("'):(ne.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Ae||Ce||Ve){P.push(",");var Et=q(Ae||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=q(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=q(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Ir=f.completedBoundaries;for(N=0;N<Ir.length;N++)if(!_t(f,b,Ir[N])){f.destination=null,N++,Ir.splice(0,N);return}Ir.splice(0,N);var cr=f.partialBoundaries;for(N=0;N<cr.length;N++){var gn=cr[N];e:{H=f,G=b;var Fr=gn.completedSegments;for(ne=0;ne<Fr.length;ne++)if(!ur(H,G,gn,Fr[ne])){ne++,Fr.splice(0,ne);var Gr=!1;break e}Fr.splice(0,ne),Gr=!0}if(!Gr){f.destination=null,N++,cr.splice(0,N);return}}cr.splice(0,N);var gr=f.completedBoundaries;for(N=0;N<gr.length;N++)if(!_t(f,b,gr[N])){f.destination=null,N++,gr.splice(0,N);return}gr.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mn(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pn(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){ar(f,P),Pr(f,P)}}function mt(){}function At(f,b,E,P){var H=!1,N=null,G="",ne={push:function(Ae){return Ae!==null&&(G+=Ae),!0},destroy:function(Ae){H=!0,N=Ae}},ke=!1;if(f=dn(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mn(f,P),f.status===1)f.status=2,ne.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=ne;try{kt(f,ne)}catch(Ae){ar(f,Ae),Pr(f,Ae)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ai.renderToNodeStream=function(){throw Error(t(207))},ai.renderToStaticMarkup=function(f,b){return At(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ai.renderToStaticNodeStream=function(){throw Error(t(208))},ai.renderToString=function(f,b){return At(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ai.version="18.3.1",ai}var pc={};/**
15
+ `),N;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":f.push(Fe(b));for(var Ct in E)if(n.call(E,Ct)&&(N=E[Ct],N!=null))switch(Ct){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,b));default:J(f,P,Ct,N)}return f.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return le(f,E,b,P);case"html":return H.insertionMode===0&&f.push("<!DOCTYPE html>"),le(f,E,b,P);default:if(b.indexOf("-")===-1&&typeof E.is!="string")return le(f,E,b,P);f.push(Fe(b)),G=N=null;for(Ae in E)if(n.call(E,Ae)&&(ne=E[Ae],ne!=null))switch(Ae){case"children":N=ne;break;case"dangerouslySetInnerHTML":G=ne;break;case"style":$(f,P,ne);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:p(Ae)&&typeof ne!="function"&&typeof ne!="symbol"&&f.push(" ",Ae,'="',L(ne),'"')}return f.push(">"),ae(f,G,N),N}}function ze(f,b,E){if(f.push('<!--$?--><template id="'),E===null)throw Error(t(395));return f.push(E),f.push('"></template>')}function xe(f,b,E,P){switch(E.insertionMode){case 0:case 1:return f.push('<div hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 2:return f.push('<svg aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 3:return f.push('<math aria-hidden="true" style="display:none" id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 4:return f.push('<table hidden id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 5:return f.push('<table hidden><tbody id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 6:return f.push('<table hidden><tr id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');case 7:return f.push('<table hidden><colgroup id="'),f.push(b.segmentPrefix),b=P.toString(16),f.push(b),f.push('">');default:throw Error(t(397))}}function Re(f,b){switch(b.insertionMode){case 0:case 1:return f.push("</div>");case 2:return f.push("</svg>");case 3:return f.push("</math>");case 4:return f.push("</table>");case 5:return f.push("</tbody></table>");case 6:return f.push("</tr></table>");case 7:return f.push("</colgroup></table>");default:throw Error(t(397))}}var Le=/[<\u2028\u2029]/g;function Z(f){return JSON.stringify(f).replace(Le,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function ve(f,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:f}}function Y(f,b,E,P){return E.generateStaticMarkup?(f.push(L(b)),!1):(b===""?f=P:(P&&f.push("<!-- -->"),f.push(L(b)),f=!0),f)}var K=Object.assign,fe=Symbol.for("react.element"),te=Symbol.for("react.portal"),he=Symbol.for("react.fragment"),me=Symbol.for("react.strict_mode"),ue=Symbol.for("react.profiler"),ce=Symbol.for("react.provider"),Ee=Symbol.for("react.context"),Se=Symbol.for("react.forward_ref"),Pe=Symbol.for("react.suspense"),Be=Symbol.for("react.suspense_list"),se=Symbol.for("react.memo"),We=Symbol.for("react.lazy"),ot=Symbol.for("react.scope"),Nt=Symbol.for("react.debug_trace_mode"),Br=Symbol.for("react.legacy_hidden"),xo=Symbol.for("react.default_value"),zt=Symbol.iterator;function Ur(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case he:return"Fragment";case te:return"Portal";case ue:return"Profiler";case me:return"StrictMode";case Pe:return"Suspense";case Be:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case Ee:return(f.displayName||"Context")+".Consumer";case ce:return(f._context.displayName||"Context")+".Provider";case Se:var b=f.render;return f=f.displayName,f||(f=b.displayName||b.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case se:return b=f.displayName||null,b!==null?b:Ur(f.type)||"Memo";case We:b=f._payload,f=f._init;try{return Ur(f(b))}catch{}}return null}var Hr={};function So(f,b){if(f=f.contextTypes,!f)return Hr;var E={},P;for(P in f)E[P]=b[P];return E}var Bt=null;function gt(f,b){if(f!==b){f.context._currentValue2=f.parentValue,f=f.parent;var E=b.parent;if(f===null){if(E!==null)throw Error(t(401))}else{if(E===null)throw Error(t(401));gt(f,E)}b.context._currentValue2=b.value}}function ft(f){f.context._currentValue2=f.parentValue,f=f.parent,f!==null&&ft(f)}function In(f){var b=f.parent;b!==null&&In(b),f.context._currentValue2=f.value}function Fn(f,b){if(f.context._currentValue2=f.parentValue,f=f.parent,f===null)throw Error(t(402));f.depth===b.depth?gt(f,b):Fn(f,b)}function Mn(f,b){var E=b.parent;if(E===null)throw Error(t(402));f.depth===E.depth?gt(f,E):Mn(f,E),b.context._currentValue2=b.value}function st(f){var b=Bt;b!==f&&(b===null?In(f):f===null?ft(b):b.depth===f.depth?gt(b,f):b.depth>f.depth?Fn(b,f):Mn(b,f),Bt=f)}var Dn={isMounted:function(){return!1},enqueueSetState:function(f,b){f=f._reactInternals,f.queue!==null&&f.queue.push(b)},enqueueReplaceState:function(f,b){f=f._reactInternals,f.replace=!0,f.queue=[b]},enqueueForceUpdate:function(){}};function ko(f,b,E,P){var H=f.state!==void 0?f.state:null;f.updater=Dn,f.props=E,f.state=H;var N={queue:[],replace:!1};f._reactInternals=N;var G=b.contextType;if(f.context=typeof G=="object"&&G!==null?G._currentValue2:P,G=b.getDerivedStateFromProps,typeof G=="function"&&(G=G(E,H),H=G==null?H:K({},H,G),f.state=H),typeof b.getDerivedStateFromProps!="function"&&typeof f.getSnapshotBeforeUpdate!="function"&&(typeof f.UNSAFE_componentWillMount=="function"||typeof f.componentWillMount=="function"))if(b=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),b!==f.state&&Dn.enqueueReplaceState(f,f.state,null),N.queue!==null&&0<N.queue.length)if(b=N.queue,G=N.replace,N.queue=null,N.replace=!1,G&&b.length===1)f.state=b[0];else{for(N=G?b[0]:f.state,H=!0,G=G?1:0;G<b.length;G++){var ne=b[G];ne=typeof ne=="function"?ne.call(f,N,E,P):ne,ne!=null&&(H?(H=!1,N=K({},N,ne)):K(N,ne))}f.state=N}else N.queue=null}var Eo={id:1,overflow:""};function _n(f,b,E){var P=f.id;f=f.overflow;var H=32-ln(P)-1;P&=~(1<<H),E+=1;var N=32-ln(b)+H;if(30<N){var G=H-H%5;return N=(P&(1<<G)-1).toString(32),P>>=G,H-=G,{id:1<<32-ln(b)+H|E<<H|P,overflow:N+f}}return{id:1<<N|E<<H|P,overflow:f}}var ln=Math.clz32?Math.clz32:Sr,Ei=Math.log,Ln=Math.LN2;function Sr(f){return f>>>=0,f===0?32:31-(Ei(f)/Ln|0)|0}function $n(f,b){return f===b&&(f!==0||1/f===1/b)||f!==f&&b!==b}var Co=typeof Object.is=="function"?Object.is:$n,xt=null,tr=null,kr=null,Qe=null,Er=!1,un=!1,Wr=0,rr=null,cn=0;function hr(){if(xt===null)throw Error(t(321));return xt}function dt(){if(0<cn)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function jn(){return Qe===null?kr===null?(Er=!1,kr=Qe=dt()):(Er=!0,Qe=kr):Qe.next===null?(Er=!1,Qe=Qe.next=dt()):(Er=!0,Qe=Qe.next),Qe}function Nn(){tr=xt=null,un=!1,kr=null,cn=0,Qe=rr=null}function To(f,b){return typeof b=="function"?b(f):b}function lt(f,b,E){if(xt=hr(),Qe=jn(),Er){var P=Qe.queue;if(b=P.dispatch,rr!==null&&(E=rr.get(P),E!==void 0)){rr.delete(P),P=Qe.memoizedState;do P=f(P,E.action),E=E.next;while(E!==null);return Qe.memoizedState=P,[P,b]}return[Qe.memoizedState,b]}return f=f===To?typeof b=="function"?b():b:E!==void 0?E(b):b,Qe.memoizedState=f,f=Qe.queue={last:null,dispatch:null},f=f.dispatch=Ci.bind(null,xt,f),[Qe.memoizedState,f]}function zn(f,b){if(xt=hr(),Qe=jn(),b=b===void 0?null:b,Qe!==null){var E=Qe.memoizedState;if(E!==null&&b!==null){var P=E[1];e:if(P===null)P=!1;else{for(var H=0;H<P.length&&H<b.length;H++)if(!Co(b[H],P[H])){P=!1;break e}P=!0}if(P)return E[0]}}return f=f(),Qe.memoizedState=[f,b],f}function Ci(f,b,E){if(25<=cn)throw Error(t(301));if(f===xt)if(un=!0,f={action:E,next:null},rr===null&&(rr=new Map),E=rr.get(b),E===void 0)rr.set(b,f);else{for(b=E;b.next!==null;)b=b.next;b.next=f}}function Ti(){throw Error(t(394))}function nr(){}var Bn={readContext:function(f){return f._currentValue2},useContext:function(f){return hr(),f._currentValue2},useMemo:zn,useReducer:lt,useRef:function(f){xt=hr(),Qe=jn();var b=Qe.memoizedState;return b===null?(f={current:f},Qe.memoizedState=f):b},useState:function(f){return lt(To,f)},useInsertionEffect:nr,useLayoutEffect:function(){},useCallback:function(f,b){return zn(function(){return f},b)},useImperativeHandle:nr,useEffect:nr,useDebugValue:nr,useDeferredValue:function(f){return hr(),f},useTransition:function(){return hr(),[!1,Ti]},useId:function(){var f=tr.treeContext,b=f.overflow;f=f.id,f=(f&~(1<<32-ln(f)-1)).toString(32)+b;var E=fn;if(E===null)throw Error(t(404));return b=Wr++,f=":"+E.idPrefix+"R"+f,0<b&&(f+="H"+b.toString(32)),f+":"},useMutableSource:function(f,b){return hr(),b(f._source)},useSyncExternalStore:function(f,b,E){if(E===void 0)throw Error(t(407));return E()}},fn=null,Cr=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Rt(f){return console.error(f),null}function or(){}function dn(f,b,E,P,H,N,G,ne,ke){var Ae=[],Ce=new Set;return b={destination:null,responseState:b,progressiveChunkSize:P===void 0?12800:P,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ce,pingedTasks:Ae,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:H===void 0?Rt:H,onAllReady:or,onShellReady:G===void 0?or:G,onShellError:or,onFatalError:or},E=Rr(b,0,null,E,!1,!1),E.parentFlushed=!0,f=Tr(b,f,null,E,Ce,Hr,null,Eo),Ae.push(f),b}function Tr(f,b,E,P,H,N,G,ne){f.allPendingTasks++,E===null?f.pendingRootTasks++:E.pendingTasks++;var ke={node:b,ping:function(){var Ae=f.pingedTasks;Ae.push(ke),Ae.length===1&&St(f)},blockedBoundary:E,blockedSegment:P,abortSet:H,legacyContext:N,context:G,treeContext:ne};return H.add(ke),ke}function Rr(f,b,E,P,H,N){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:P,boundary:E,lastPushedText:H,textEmbedded:N}}function ir(f,b){if(f=f.onError(b),f!=null&&typeof f!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof f+'" instead');return f}function Pr(f,b){var E=f.onShellError;E(b),E=f.onFatalError,E(b),f.destination!==null?(f.status=2,f.destination.destroy(b)):(f.status=1,f.fatalError=b)}function Pt(f,b,E,P,H){for(xt={},tr=b,Wr=0,f=E(P,H);un;)un=!1,Wr=0,cn+=1,Qe=null,f=E(P,H);return Nn(),f}function Ro(f,b,E,P){var H=E.render(),N=P.childContextTypes;if(N!=null){var G=b.legacyContext;if(typeof E.getChildContext!="function")P=G;else{E=E.getChildContext();for(var ne in E)if(!(ne in N))throw Error(t(108,Ur(P)||"Unknown",ne));P=K({},G,E)}b.legacyContext=P,ut(f,b,H),b.legacyContext=G}else ut(f,b,H)}function Po(f,b){if(f&&f.defaultProps){b=K({},b),f=f.defaultProps;for(var E in f)b[E]===void 0&&(b[E]=f[E]);return b}return b}function mr(f,b,E,P,H){if(typeof E=="function")if(E.prototype&&E.prototype.isReactComponent){H=So(E,b.legacyContext);var N=E.contextType;N=new E(P,typeof N=="object"&&N!==null?N._currentValue2:H),ko(N,E,P,H),Ro(f,b,N,E)}else{N=So(E,b.legacyContext),H=Pt(f,b,E,P,N);var G=Wr!==0;if(typeof H=="object"&&H!==null&&typeof H.render=="function"&&H.$$typeof===void 0)ko(H,E,P,N),Ro(f,b,H,E);else if(G){P=b.treeContext,b.treeContext=_n(P,1,0);try{ut(f,b,H)}finally{b.treeContext=P}}else ut(f,b,H)}else if(typeof E=="string"){switch(H=b.blockedSegment,N=$e(H.chunks,E,P,f.responseState,H.formatContext),H.lastPushedText=!1,G=H.formatContext,H.formatContext=j(G,E,P),sr(f,b,N),H.formatContext=G,E){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:H.chunks.push("</",E,">")}H.lastPushedText=!1}else{switch(E){case Br:case Nt:case me:case ue:case he:ut(f,b,P.children);return;case Be:ut(f,b,P.children);return;case ot:throw Error(t(343));case Pe:e:{E=b.blockedBoundary,H=b.blockedSegment,N=P.fallback,P=P.children,G=new Set;var ne={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:G,errorDigest:null},ke=Rr(f,H.chunks.length,ne,H.formatContext,!1,!1);H.children.push(ke),H.lastPushedText=!1;var Ae=Rr(f,0,null,H.formatContext,!1,!1);Ae.parentFlushed=!0,b.blockedBoundary=ne,b.blockedSegment=Ae;try{if(sr(f,b,P),f.responseState.generateStaticMarkup||Ae.lastPushedText&&Ae.textEmbedded&&Ae.chunks.push("<!-- -->"),Ae.status=1,Ut(ne,Ae),ne.pendingTasks===0)break e}catch(Ce){Ae.status=4,ne.forceClientRender=!0,ne.errorDigest=ir(f,Ce)}finally{b.blockedBoundary=E,b.blockedSegment=H}b=Tr(f,N,E,ke,G,b.legacyContext,b.context,b.treeContext),f.pingedTasks.push(b)}return}if(typeof E=="object"&&E!==null)switch(E.$$typeof){case Se:if(P=Pt(f,b,E.render,P,H),Wr!==0){E=b.treeContext,b.treeContext=_n(E,1,0);try{ut(f,b,P)}finally{b.treeContext=E}}else ut(f,b,P);return;case se:E=E.type,P=Po(E,P),mr(f,b,E,P,H);return;case ce:if(H=P.children,E=E._context,P=P.value,N=E._currentValue2,E._currentValue2=P,G=Bt,Bt=P={parent:G,depth:G===null?0:G.depth+1,context:E,parentValue:N,value:P},b.context=P,ut(f,b,H),f=Bt,f===null)throw Error(t(403));P=f.parentValue,f.context._currentValue2=P===xo?f.context._defaultValue:P,f=Bt=f.parent,b.context=f;return;case Ee:P=P.children,P=P(E._currentValue2),ut(f,b,P);return;case We:H=E._init,E=H(E._payload),P=Po(E,P),mr(f,b,E,P,void 0);return}throw Error(t(130,E==null?E:typeof E,""))}}function ut(f,b,E){if(b.node=E,typeof E=="object"&&E!==null){switch(E.$$typeof){case fe:mr(f,b,E.type,E.props,E.ref);return;case te:throw Error(t(257));case We:var P=E._init;E=P(E._payload),ut(f,b,E);return}if(O(E)){ar(f,b,E);return}if(E===null||typeof E!="object"?P=null:(P=zt&&E[zt]||E["@@iterator"],P=typeof P=="function"?P:null),P&&(P=P.call(E))){if(E=P.next(),!E.done){var H=[];do H.push(E.value),E=P.next();while(!E.done);ar(f,b,H)}return}throw f=Object.prototype.toString.call(E),Error(t(31,f==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":f))}typeof E=="string"?(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,E,f.responseState,P.lastPushedText)):typeof E=="number"&&(P=b.blockedSegment,P.lastPushedText=Y(b.blockedSegment.chunks,""+E,f.responseState,P.lastPushedText))}function ar(f,b,E){for(var P=E.length,H=0;H<P;H++){var N=b.treeContext;b.treeContext=_n(N,P,H);try{sr(f,b,E[H])}finally{b.treeContext=N}}}function sr(f,b,E){var P=b.blockedSegment.formatContext,H=b.legacyContext,N=b.context;try{return ut(f,b,E)}catch(ke){if(Nn(),typeof ke=="object"&&ke!==null&&typeof ke.then=="function"){E=ke;var G=b.blockedSegment,ne=Rr(f,G.chunks.length,null,G.formatContext,G.lastPushedText,!0);G.children.push(ne),G.lastPushedText=!1,f=Tr(f,b.node,b.blockedBoundary,ne,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,E.then(f,f),b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N)}else throw b.blockedSegment.formatContext=P,b.legacyContext=H,b.context=N,st(N),ke}}function Ar(f){var b=f.blockedBoundary;f=f.blockedSegment,f.status=3,lr(this,b,f)}function pn(f,b,E){var P=f.blockedBoundary;f.blockedSegment.status=3,P===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(P.pendingTasks--,P.forceClientRender||(P.forceClientRender=!0,f=E===void 0?Error(t(432)):E,P.errorDigest=b.onError(f),P.parentFlushed&&b.clientRenderedBoundaries.push(P)),P.fallbackAbortableTasks.forEach(function(H){return pn(H,b,E)}),P.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(P=b.onAllReady,P()))}function Ut(f,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var E=b.children[0];E.id=b.id,E.parentFlushed=!0,E.status===1&&Ut(f,E)}else f.completedSegments.push(b)}function lr(f,b,E){if(b===null){if(E.parentFlushed){if(f.completedRootSegment!==null)throw Error(t(389));f.completedRootSegment=E}f.pendingRootTasks--,f.pendingRootTasks===0&&(f.onShellError=or,b=f.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(E.parentFlushed&&E.status===1&&Ut(b,E),b.parentFlushed&&f.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Ar,f),b.fallbackAbortableTasks.clear()):E.parentFlushed&&E.status===1&&(Ut(b,E),b.completedSegments.length===1&&b.parentFlushed&&f.partialBoundaries.push(b)));f.allPendingTasks--,f.allPendingTasks===0&&(f=f.onAllReady,f())}function St(f){if(f.status!==2){var b=Bt,E=Cr.current;Cr.current=Bn;var P=fn;fn=f.responseState;try{var H=f.pingedTasks,N;for(N=0;N<H.length;N++){var G=H[N],ne=f,ke=G.blockedSegment;if(ke.status===0){st(G.context);try{ut(ne,G,G.node),ne.responseState.generateStaticMarkup||ke.lastPushedText&&ke.textEmbedded&&ke.chunks.push("<!-- -->"),G.abortSet.delete(G),ke.status=1,lr(ne,G.blockedBoundary,ke)}catch(Tt){if(Nn(),typeof Tt=="object"&&Tt!==null&&typeof Tt.then=="function"){var Ae=G.ping;Tt.then(Ae,Ae)}else{G.abortSet.delete(G),ke.status=4;var Ce=G.blockedBoundary,Ve=Tt,Et=ir(ne,Ve);if(Ce===null?Pr(ne,Ve):(Ce.pendingTasks--,Ce.forceClientRender||(Ce.forceClientRender=!0,Ce.errorDigest=Et,Ce.parentFlushed&&ne.clientRenderedBoundaries.push(Ce))),ne.allPendingTasks--,ne.allPendingTasks===0){var Ct=ne.onAllReady;Ct()}}}finally{}}}H.splice(0,N),f.destination!==null&&kt(f,f.destination)}catch(Tt){ir(f,Tt),Pr(f,Tt)}finally{fn=P,Cr.current=E,E===Bn&&st(b)}}}function Or(f,b,E){switch(E.parentFlushed=!0,E.status){case 0:var P=E.id=f.nextSegmentId++;return E.lastPushedText=!1,E.textEmbedded=!1,f=f.responseState,b.push('<template id="'),b.push(f.placeholderPrefix),f=P.toString(16),b.push(f),b.push('"></template>');case 1:E.status=2;var H=!0;P=E.chunks;var N=0;E=E.children;for(var G=0;G<E.length;G++){for(H=E[G];N<H.index;N++)b.push(P[N]);H=Vr(f,b,H)}for(;N<P.length-1;N++)b.push(P[N]);return N<P.length&&(H=b.push(P[N])),H;default:throw Error(t(390))}}function Vr(f,b,E){var P=E.boundary;if(P===null)return Or(f,b,E);if(P.parentFlushed=!0,P.forceClientRender)return f.responseState.generateStaticMarkup||(P=P.errorDigest,b.push("<!--$!-->"),b.push("<template"),P&&(b.push(' data-dgst="'),P=L(P),b.push(P),b.push('"')),b.push("></template>")),Or(f,b,E),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f;if(0<P.pendingTasks){P.rootSegmentID=f.nextSegmentId++,0<P.completedSegments.length&&f.partialBoundaries.push(P);var H=f.responseState,N=H.nextSuspenseID++;return H=H.boundaryPrefix+N.toString(16),P=P.id=H,ze(b,f.responseState,P),Or(f,b,E),b.push("<!--/$-->")}if(P.byteSize>f.progressiveChunkSize)return P.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(P),ze(b,f.responseState,P.id),Or(f,b,E),b.push("<!--/$-->");if(f.responseState.generateStaticMarkup||b.push("<!--$-->"),E=P.completedSegments,E.length!==1)throw Error(t(391));return Vr(f,b,E[0]),f=f.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),f}function hn(f,b,E){return xe(b,f.responseState,E.formatContext,E.id),Vr(f,b,E),Re(b,E.formatContext)}function _t(f,b,E){for(var P=E.completedSegments,H=0;H<P.length;H++)ur(f,b,E,P[H]);if(P.length=0,f=f.responseState,P=E.id,E=E.rootSegmentID,b.push(f.startInlineScript),f.sentCompleteBoundaryFunction?b.push('$RC("'):(f.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),P===null)throw Error(t(395));return E=E.toString(16),b.push(P),b.push('","'),b.push(f.segmentPrefix),b.push(E),b.push('")<\/script>')}function ur(f,b,E,P){if(P.status===2)return!0;var H=P.id;if(H===-1){if((P.id=E.rootSegmentID)===-1)throw Error(t(392));return hn(f,b,P)}return hn(f,b,P),f=f.responseState,b.push(f.startInlineScript),f.sentCompleteSegmentFunction?b.push('$RS("'):(f.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(f.segmentPrefix),H=H.toString(16),b.push(H),b.push('","'),b.push(f.placeholderPrefix),b.push(H),b.push('")<\/script>')}function kt(f,b){try{var E=f.completedRootSegment;if(E!==null&&f.pendingRootTasks===0){Vr(f,b,E),f.completedRootSegment=null;var P=f.responseState.bootstrapChunks;for(E=0;E<P.length-1;E++)b.push(P[E]);E<P.length&&b.push(P[E])}var H=f.clientRenderedBoundaries,N;for(N=0;N<H.length;N++){var G=H[N];P=b;var ne=f.responseState,ke=G.id,Ae=G.errorDigest,Ce=G.errorMessage,Ve=G.errorComponentStack;if(P.push(ne.startInlineScript),ne.sentClientRenderFunction?P.push('$RX("'):(ne.sentClientRenderFunction=!0,P.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),ke===null)throw Error(t(395));if(P.push(ke),P.push('"'),Ae||Ce||Ve){P.push(",");var Et=Z(Ae||"");P.push(Et)}if(Ce||Ve){P.push(",");var Ct=Z(Ce||"");P.push(Ct)}if(Ve){P.push(",");var Tt=Z(Ve);P.push(Tt)}if(!P.push(")<\/script>")){f.destination=null,N++,H.splice(0,N);return}}H.splice(0,N);var Ir=f.completedBoundaries;for(N=0;N<Ir.length;N++)if(!_t(f,b,Ir[N])){f.destination=null,N++,Ir.splice(0,N);return}Ir.splice(0,N);var cr=f.partialBoundaries;for(N=0;N<cr.length;N++){var gn=cr[N];e:{H=f,G=b;var Fr=gn.completedSegments;for(ne=0;ne<Fr.length;ne++)if(!ur(H,G,gn,Fr[ne])){ne++,Fr.splice(0,ne);var Gr=!1;break e}Fr.splice(0,ne),Gr=!0}if(!Gr){f.destination=null,N++,cr.splice(0,N);return}}cr.splice(0,N);var gr=f.completedBoundaries;for(N=0;N<gr.length;N++)if(!_t(f,b,gr[N])){f.destination=null,N++,gr.splice(0,N);return}gr.splice(0,N)}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0&&b.push(null)}}function mn(f,b){try{var E=f.abortableTasks;E.forEach(function(P){return pn(P,f,b)}),E.clear(),f.destination!==null&&kt(f,f.destination)}catch(P){ir(f,P),Pr(f,P)}}function mt(){}function At(f,b,E,P){var H=!1,N=null,G="",ne={push:function(Ae){return Ae!==null&&(G+=Ae),!0},destroy:function(Ae){H=!0,N=Ae}},ke=!1;if(f=dn(f,ve(E,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,mt,void 0,function(){ke=!0}),St(f),mn(f,P),f.status===1)f.status=2,ne.destroy(f.fatalError);else if(f.status!==2&&f.destination===null){f.destination=ne;try{kt(f,ne)}catch(Ae){ir(f,Ae),Pr(f,Ae)}}if(H)throw N;if(!ke)throw Error(t(426));return G}return ia.renderToNodeStream=function(){throw Error(t(207))},ia.renderToStaticMarkup=function(f,b){return At(f,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.renderToStaticNodeStream=function(){throw Error(t(208))},ia.renderToString=function(f,b){return At(f,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},ia.version="18.3.1",ia}var dc={};/**
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 fh;function By(){if(fh)return pc;fh=1;var e=A;function t(d){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+d,S=1;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S]);return"Minified React error #"+d+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,a=0;function i(d,y){if(y.length!==0)if(512<y.length)0<a&&(d.enqueue(new Uint8Array(n.buffer,0,a)),n=new Uint8Array(512),a=0),d.enqueue(y);else{var S=n.length-a;S<y.length&&(S===0?d.enqueue(n):(n.set(y.subarray(0,S),a),d.enqueue(n),y=y.subarray(S)),n=new Uint8Array(512),a=0),n.set(y,a),a+=y.length}}function c(d,y){return i(d,y),!0}function p(d){n&&0<a&&(d.enqueue(new Uint8Array(n.buffer,0,a)),n=null,a=0)}var m=new TextEncoder;function h(d){return m.encode(d)}function v(d){return m.encode(d)}function C(d,y){typeof d.error=="function"?d.error(y):d.close()}var x=Object.prototype.hasOwnProperty,F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,I={},L={};function D(d){return x.call(L,d)?!0:x.call(I,d)?!1:F.test(d)?L[d]=!0:(I[d]=!0,!1)}function T(d,y,S,R,W,B,X){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=R,this.attributeNamespace=W,this.mustUseProperty=S,this.propertyName=d,this.type=y,this.sanitizeURL=B,this.removeEmptyString=X}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){O[d]=new T(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var y=d[0];O[y]=new T(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){O[d]=new T(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){O[d]=new T(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){O[d]=new T(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){O[d]=new T(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){O[d]=new T(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){O[d]=new T(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){O[d]=new T(d,5,!1,d.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function j(d){return d[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!1,!1)}),O.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!0,!0)});var V={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(d){$.forEach(function(y){y=y+d.charAt(0).toUpperCase()+d.substring(1),V[y]=V[d]})});var Z=/["'&<>]/;function ie(d){if(typeof d=="boolean"||typeof d=="number")return""+d;d=""+d;var y=Z.exec(d);if(y){var S="",R,W=0;for(R=y.index;R<d.length;R++){switch(d.charCodeAt(R)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==R&&(S+=d.substring(W,R)),W=R+1,S+=y}d=W!==R?S+d.substring(W,R):S}return d}var re=/([A-Z])/g,le=/^ms-/,ye=Array.isArray,De=v("<script>"),Fe=v("<\/script>"),$e=v('<script src="'),ze=v('<script type="module" src="'),xe=v('" async=""><\/script>'),Re=/(<\/|<)(s)(cript)/gi;function Le(d,y,S,R){return""+y+(S==="s"?"\\u0073":"\\u0053")+R}function q(d,y,S,R,W){d=d===void 0?"":d,y=y===void 0?De:v('<script nonce="'+ie(y)+'">');var B=[];if(S!==void 0&&B.push(y,h((""+S).replace(Re,Le)),Fe),R!==void 0)for(S=0;S<R.length;S++)B.push($e,h(ie(R[S])),xe);if(W!==void 0)for(R=0;R<W.length;R++)B.push(ze,h(ie(W[R])),xe);return{bootstrapChunks:B,startInlineScript:y,placeholderPrefix:v(d+"P:"),segmentPrefix:v(d+"S:"),boundaryPrefix:d+"B:",idPrefix:d,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(d,y){return{insertionMode:d,selectedValue:y}}function Y(d){return ve(d==="http://www.w3.org/2000/svg"?2:d==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function J(d,y,S){switch(y){case"select":return ve(1,S.value!=null?S.value:S.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=d.insertionMode||d.insertionMode===0?ve(1,null):d}var fe=v("<!-- -->");function te(d,y,S,R){return y===""?R:(R&&d.push(fe),d.push(h(ie(y))),!0)}var he=new Map,me=v(' style="'),ue=v(":"),ce=v(";");function Ee(d,y,S){if(typeof S!="object")throw Error(t(62));y=!0;for(var R in S)if(x.call(S,R)){var W=S[R];if(W!=null&&typeof W!="boolean"&&W!==""){if(R.indexOf("--")===0){var B=h(ie(R));W=h(ie((""+W).trim()))}else{B=R;var X=he.get(B);X!==void 0||(X=v(ie(B.replace(re,"-$1").toLowerCase().replace(le,"-ms-"))),he.set(B,X)),B=X,W=typeof W=="number"?W===0||x.call(V,R)?h(""+W):h(W+"px"):h(ie((""+W).trim()))}y?(y=!1,d.push(me,B,ue,W)):d.push(ce,B,ue,W)}}y||d.push(Be)}var Se=v(" "),Pe=v('="'),Be=v('"'),se=v('=""');function We(d,y,S,R){switch(S){case"style":Ee(d,y,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){if(y=O.hasOwnProperty(S)?O[S]:null,y!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(S=h(y.attributeName),y.type){case 3:R&&d.push(Se,S,se);break;case 4:R===!0?d.push(Se,S,se):R!==!1&&d.push(Se,S,Pe,h(ie(R)),Be);break;case 5:isNaN(R)||d.push(Se,S,Pe,h(ie(R)),Be);break;case 6:!isNaN(R)&&1<=R&&d.push(Se,S,Pe,h(ie(R)),Be);break;default:y.sanitizeURL&&(R=""+R),d.push(Se,S,Pe,h(ie(R)),Be)}}else if(D(S)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}d.push(Se,h(S),Pe,h(ie(R)),Be)}}}var ot=v(">"),Nt=v("/>");function Br(d,y,S){if(y!=null){if(S!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&d.push(h(""+y))}}function xo(d){var y="";return e.Children.forEach(d,function(S){S!=null&&(y+=S)}),y}var zt=v(' selected=""');function Ur(d,y,S,R){d.push(gt(S));var W=S=null,B;for(B in y)if(x.call(y,B)){var X=y[B];if(X!=null)switch(B){case"children":S=X;break;case"dangerouslySetInnerHTML":W=X;break;default:We(d,R,B,X)}}return d.push(ot),Br(d,W,S),typeof S=="string"?(d.push(h(ie(S))),null):S}var Hr=v(`
23
+ */var ch;function Uy(){if(ch)return dc;ch=1;var e=A;function t(d){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+d,S=1;S<arguments.length;S++)y+="&args[]="+encodeURIComponent(arguments[S]);return"Minified React error #"+d+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,i=0;function a(d,y){if(y.length!==0)if(512<y.length)0<i&&(d.enqueue(new Uint8Array(n.buffer,0,i)),n=new Uint8Array(512),i=0),d.enqueue(y);else{var S=n.length-i;S<y.length&&(S===0?d.enqueue(n):(n.set(y.subarray(0,S),i),d.enqueue(n),y=y.subarray(S)),n=new Uint8Array(512),i=0),n.set(y,i),i+=y.length}}function c(d,y){return a(d,y),!0}function p(d){n&&0<i&&(d.enqueue(new Uint8Array(n.buffer,0,i)),n=null,i=0)}var m=new TextEncoder;function h(d){return m.encode(d)}function v(d){return m.encode(d)}function C(d,y){typeof d.error=="function"?d.error(y):d.close()}var x=Object.prototype.hasOwnProperty,F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,I={},L={};function D(d){return x.call(L,d)?!0:x.call(I,d)?!1:F.test(d)?L[d]=!0:(I[d]=!0,!1)}function T(d,y,S,R,W,B,X){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=R,this.attributeNamespace=W,this.mustUseProperty=S,this.propertyName=d,this.type=y,this.sanitizeURL=B,this.removeEmptyString=X}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(d){O[d]=new T(d,0,!1,d,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(d){var y=d[0];O[y]=new T(y,1,!1,d[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(d){O[d]=new T(d,2,!1,d.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(d){O[d]=new T(d,2,!1,d,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(d){O[d]=new T(d,3,!1,d.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(d){O[d]=new T(d,3,!0,d,null,!1,!1)}),["capture","download"].forEach(function(d){O[d]=new T(d,4,!1,d,null,!1,!1)}),["cols","rows","size","span"].forEach(function(d){O[d]=new T(d,6,!1,d,null,!1,!1)}),["rowSpan","start"].forEach(function(d){O[d]=new T(d,5,!1,d.toLowerCase(),null,!1,!1)});var U=/[\-:]([a-z])/g;function j(d){return d[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(d){var y=d.replace(U,j);O[y]=new T(y,1,!1,d,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!1,!1)}),O.xlinkHref=new T("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(d){O[d]=new T(d,1,!1,d.toLowerCase(),null,!0,!0)});var V={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},$=["Webkit","ms","Moz","O"];Object.keys(V).forEach(function(d){$.forEach(function(y){y=y+d.charAt(0).toUpperCase()+d.substring(1),V[y]=V[d]})});var J=/["'&<>]/;function ae(d){if(typeof d=="boolean"||typeof d=="number")return""+d;d=""+d;var y=J.exec(d);if(y){var S="",R,W=0;for(R=y.index;R<d.length;R++){switch(d.charCodeAt(R)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}W!==R&&(S+=d.substring(W,R)),W=R+1,S+=y}d=W!==R?S+d.substring(W,R):S}return d}var re=/([A-Z])/g,le=/^ms-/,ye=Array.isArray,De=v("<script>"),Fe=v("<\/script>"),$e=v('<script src="'),ze=v('<script type="module" src="'),xe=v('" async=""><\/script>'),Re=/(<\/|<)(s)(cript)/gi;function Le(d,y,S,R){return""+y+(S==="s"?"\\u0073":"\\u0053")+R}function Z(d,y,S,R,W){d=d===void 0?"":d,y=y===void 0?De:v('<script nonce="'+ae(y)+'">');var B=[];if(S!==void 0&&B.push(y,h((""+S).replace(Re,Le)),Fe),R!==void 0)for(S=0;S<R.length;S++)B.push($e,h(ae(R[S])),xe);if(W!==void 0)for(R=0;R<W.length;R++)B.push(ze,h(ae(W[R])),xe);return{bootstrapChunks:B,startInlineScript:y,placeholderPrefix:v(d+"P:"),segmentPrefix:v(d+"S:"),boundaryPrefix:d+"B:",idPrefix:d,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function ve(d,y){return{insertionMode:d,selectedValue:y}}function Y(d){return ve(d==="http://www.w3.org/2000/svg"?2:d==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function K(d,y,S){switch(y){case"select":return ve(1,S.value!=null?S.value:S.defaultValue);case"svg":return ve(2,null);case"math":return ve(3,null);case"foreignObject":return ve(1,null);case"table":return ve(4,null);case"thead":case"tbody":case"tfoot":return ve(5,null);case"colgroup":return ve(7,null);case"tr":return ve(6,null)}return 4<=d.insertionMode||d.insertionMode===0?ve(1,null):d}var fe=v("<!-- -->");function te(d,y,S,R){return y===""?R:(R&&d.push(fe),d.push(h(ae(y))),!0)}var he=new Map,me=v(' style="'),ue=v(":"),ce=v(";");function Ee(d,y,S){if(typeof S!="object")throw Error(t(62));y=!0;for(var R in S)if(x.call(S,R)){var W=S[R];if(W!=null&&typeof W!="boolean"&&W!==""){if(R.indexOf("--")===0){var B=h(ae(R));W=h(ae((""+W).trim()))}else{B=R;var X=he.get(B);X!==void 0||(X=v(ae(B.replace(re,"-$1").toLowerCase().replace(le,"-ms-"))),he.set(B,X)),B=X,W=typeof W=="number"?W===0||x.call(V,R)?h(""+W):h(W+"px"):h(ae((""+W).trim()))}y?(y=!1,d.push(me,B,ue,W)):d.push(ce,B,ue,W)}}y||d.push(Be)}var Se=v(" "),Pe=v('="'),Be=v('"'),se=v('=""');function We(d,y,S,R){switch(S){case"style":Ee(d,y,R);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N"){if(y=O.hasOwnProperty(S)?O[S]:null,y!==null){switch(typeof R){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(S=h(y.attributeName),y.type){case 3:R&&d.push(Se,S,se);break;case 4:R===!0?d.push(Se,S,se):R!==!1&&d.push(Se,S,Pe,h(ae(R)),Be);break;case 5:isNaN(R)||d.push(Se,S,Pe,h(ae(R)),Be);break;case 6:!isNaN(R)&&1<=R&&d.push(Se,S,Pe,h(ae(R)),Be);break;default:y.sanitizeURL&&(R=""+R),d.push(Se,S,Pe,h(ae(R)),Be)}}else if(D(S)){switch(typeof R){case"function":case"symbol":return;case"boolean":if(y=S.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}d.push(Se,h(S),Pe,h(ae(R)),Be)}}}var ot=v(">"),Nt=v("/>");function Br(d,y,S){if(y!=null){if(S!=null)throw Error(t(60));if(typeof y!="object"||!("__html"in y))throw Error(t(61));y=y.__html,y!=null&&d.push(h(""+y))}}function xo(d){var y="";return e.Children.forEach(d,function(S){S!=null&&(y+=S)}),y}var zt=v(' selected=""');function Ur(d,y,S,R){d.push(gt(S));var W=S=null,B;for(B in y)if(x.call(y,B)){var X=y[B];if(X!=null)switch(B){case"children":S=X;break;case"dangerouslySetInnerHTML":W=X;break;default:We(d,R,B,X)}}return d.push(ot),Br(d,W,S),typeof S=="string"?(d.push(h(ae(S))),null):S}var Hr=v(`
24
24
  `),So=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Bt=new Map;function gt(d){var y=Bt.get(d);if(y===void 0){if(!So.test(d))throw Error(t(65,d));y=v("<"+d),Bt.set(d,y)}return y}var ft=v("<!DOCTYPE html>");function In(d,y,S,R,W){switch(y){case"select":d.push(gt("select"));var B=null,X=null;for(je in S)if(x.call(S,je)){var oe=S[je];if(oe!=null)switch(je){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"defaultValue":case"value":break;default:We(d,R,je,oe)}}return d.push(ot),Br(d,X,B),B;case"option":X=W.selectedValue,d.push(gt("option"));var Oe=oe=null,Ne=null,je=null;for(B in S)if(x.call(S,B)){var et=S[B];if(et!=null)switch(B){case"children":oe=et;break;case"selected":Ne=et;break;case"dangerouslySetInnerHTML":je=et;break;case"value":Oe=et;default:We(d,R,B,et)}}if(X!=null)if(S=Oe!==null?""+Oe:xo(oe),ye(X)){for(R=0;R<X.length;R++)if(""+X[R]===S){d.push(zt);break}}else""+X===S&&d.push(zt);else Ne&&d.push(zt);return d.push(ot),Br(d,je,oe),oe;case"textarea":d.push(gt("textarea")),je=X=B=null;for(oe in S)if(x.call(S,oe)&&(Oe=S[oe],Oe!=null))switch(oe){case"children":je=Oe;break;case"value":B=Oe;break;case"defaultValue":X=Oe;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:We(d,R,oe,Oe)}if(B===null&&X!==null&&(B=X),d.push(ot),je!=null){if(B!=null)throw Error(t(92));if(ye(je)&&1<je.length)throw Error(t(93));B=""+je}return typeof B=="string"&&B[0]===`
25
- `&&d.push(Hr),B!==null&&d.push(h(ie(""+B))),null;case"input":d.push(gt("input")),Oe=je=oe=B=null;for(X in S)if(x.call(S,X)&&(Ne=S[X],Ne!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Oe=Ne;break;case"defaultValue":oe=Ne;break;case"checked":je=Ne;break;case"value":B=Ne;break;default:We(d,R,X,Ne)}return je!==null?We(d,R,"checked",je):Oe!==null&&We(d,R,"checked",Oe),B!==null?We(d,R,"value",B):oe!==null&&We(d,R,"value",oe),d.push(Nt),null;case"menuitem":d.push(gt("menuitem"));for(var It in S)if(x.call(S,It)&&(B=S[It],B!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:We(d,R,It,B)}return d.push(ot),null;case"title":d.push(gt("title")),B=null;for(et in S)if(x.call(S,et)&&(X=S[et],X!=null))switch(et){case"children":B=X;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:We(d,R,et,X)}return d.push(ot),B;case"listing":case"pre":d.push(gt(y)),X=B=null;for(Oe in S)if(x.call(S,Oe)&&(oe=S[Oe],oe!=null))switch(Oe){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;default:We(d,R,Oe,oe)}if(d.push(ot),X!=null){if(B!=null)throw Error(t(60));if(typeof X!="object"||!("__html"in X))throw Error(t(61));S=X.__html,S!=null&&(typeof S=="string"&&0<S.length&&S[0]===`
25
+ `&&d.push(Hr),B!==null&&d.push(h(ae(""+B))),null;case"input":d.push(gt("input")),Oe=je=oe=B=null;for(X in S)if(x.call(S,X)&&(Ne=S[X],Ne!=null))switch(X){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Oe=Ne;break;case"defaultValue":oe=Ne;break;case"checked":je=Ne;break;case"value":B=Ne;break;default:We(d,R,X,Ne)}return je!==null?We(d,R,"checked",je):Oe!==null&&We(d,R,"checked",Oe),B!==null?We(d,R,"value",B):oe!==null&&We(d,R,"value",oe),d.push(Nt),null;case"menuitem":d.push(gt("menuitem"));for(var It in S)if(x.call(S,It)&&(B=S[It],B!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:We(d,R,It,B)}return d.push(ot),null;case"title":d.push(gt("title")),B=null;for(et in S)if(x.call(S,et)&&(X=S[et],X!=null))switch(et){case"children":B=X;break;case"dangerouslySetInnerHTML":throw Error(t(434));default:We(d,R,et,X)}return d.push(ot),B;case"listing":case"pre":d.push(gt(y)),X=B=null;for(Oe in S)if(x.call(S,Oe)&&(oe=S[Oe],oe!=null))switch(Oe){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;default:We(d,R,Oe,oe)}if(d.push(ot),X!=null){if(B!=null)throw Error(t(60));if(typeof X!="object"||!("__html"in X))throw Error(t(61));S=X.__html,S!=null&&(typeof S=="string"&&0<S.length&&S[0]===`
26
26
  `?d.push(Hr,h(S)):d.push(h(""+S)))}return typeof B=="string"&&B[0]===`
27
- `&&d.push(Hr),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ur(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Ur(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Ur(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ie(oe)),Be)}return d.push(ot),Br(d,X,B),B}}var Fn=v("</"),Mn=v(">"),st=v('<template id="'),Dn=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_n=v('"></template>'),ln=v("<!--$!-->"),Ea=v("<!--/$-->"),Ln=v("<template"),Sr=v('"'),$n=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(i(d,Eo),S===null)throw Error(t(395));return i(d,S),c(d,_n)}var tr=v('<div hidden id="'),kr=v('">'),Qe=v("</div>"),Er=v('<svg aria-hidden="true" style="display:none" id="'),un=v('">'),Wr=v("</svg>"),rr=v('<math aria-hidden="true" style="display:none" id="'),cn=v('">'),hr=v("</math>"),dt=v('<table hidden id="'),jn=v('">'),Nn=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zn=v("</tbody></table>"),Ca=v('<table hidden><tr id="'),Ta=v('">'),nr=v("</tr></table>"),Bn=v('<table hidden><colgroup id="'),fn=v('">'),Cr=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return i(d,tr),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,kr);case 2:return i(d,Er),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,un);case 3:return i(d,rr),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,cn);case 4:return i(d,dt),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,jn);case 5:return i(d,To),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,lt);case 6:return i(d,Ca),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,Ta);case 7:return i(d,Bn),i(d,y.segmentPrefix),i(d,h(R.toString(16))),c(d,fn);default:throw Error(t(397))}}function or(d,y){switch(y.insertionMode){case 0:case 1:return c(d,Qe);case 2:return c(d,Wr);case 3:return c(d,hr);case 4:return c(d,Nn);case 5:return c(d,zn);case 6:return c(d,nr);case 7:return c(d,Cr);default:throw Error(t(397))}}var dn=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Tr=v('$RS("'),Rr=v('","'),ar=v('")<\/script>'),Pr=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),mr=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ut=v('$RX("'),ir=v('"'),sr=v(")<\/script>"),Ar=v(","),pn=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var lr=Object.assign,St=Symbol.for("react.element"),Or=Symbol.for("react.portal"),Vr=Symbol.for("react.fragment"),hn=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),ur=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mn=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function ne(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Vr:return"Fragment";case Or:return"Portal";case _t:return"Profiler";case hn:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case ur:return(d._context.displayName||"Context")+".Provider";case mn:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:ne(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return ne(d(y))}catch{}}return null}var ke={};function Ae(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Ir(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Ir(d,S),y.context._currentValue=y.value}function cr(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Ir(y,d),Ce=d)}var gn={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Fr(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gn,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:lr({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gn.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=lr({},B,oe)):lr(B,oe))}d.state=B}else B.queue=null}var Gr={id:1,overflow:""};function gr(d,y,S){var R=d.id;d=d.overflow;var W=32-Yr(R)-1;R&=~(1<<W),S+=1;var B=32-Yr(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Yr(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Yr=Math.clz32?Math.clz32:Ao,rl=Math.log,nl=Math.LN2;function Ao(d){return d>>>=0,d===0?32:31-(rl(d)/nl|0)|0}function fr(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var ol=typeof Object.is=="function"?Object.is:fr,vr=null,Ra=null,Oo=null,Ke=null,Xr=!1,Io=!1,Qr=0,Mr=null,Fo=0;function Dr(){if(vr===null)throw Error(t(321));return vr}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pa(){return Ke===null?Oo===null?(Xr=!1,Oo=Ke=Ht()):(Xr=!0,Ke=Oo):Ke.next===null?(Xr=!1,Ke=Ke.next=Ht()):(Xr=!0,Ke=Ke.next),Ke}function Un(){Ra=vr=null,Io=!1,Oo=null,Fo=0,Ke=Mr=null}function Ai(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(vr=Dr(),Ke=Pa(),Xr){var R=Ke.queue;if(y=R.dispatch,Mr!==null&&(S=Mr.get(R),S!==void 0)){Mr.delete(R),R=Ke.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return Ke.memoizedState=R,[R,y]}return[Ke.memoizedState,y]}return d=d===Ai?typeof y=="function"?y():y:S!==void 0?S(y):y,Ke.memoizedState=d,d=Ke.queue={last:null,dispatch:null},d=d.dispatch=al.bind(null,vr,d),[Ke.memoizedState,d]}function Oi(d,y){if(vr=Dr(),Ke=Pa(),y=y===void 0?null:y,Ke!==null){var S=Ke.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!ol(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),Ke.memoizedState=[d,y],d}function al(d,y,S){if(25<=Fo)throw Error(t(301));if(d===vr)if(Io=!0,d={action:S,next:null},Mr===null&&(Mr=new Map),S=Mr.get(y),S===void 0)Mr.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function il(){throw Error(t(394))}function Do(){}var Ii={readContext:function(d){return d._currentValue},useContext:function(d){return Dr(),d._currentValue},useMemo:Oi,useReducer:Mo,useRef:function(d){vr=Dr(),Ke=Pa();var y=Ke.memoizedState;return y===null?(d={current:d},Ke.memoizedState=d):y},useState:function(d){return Mo(Ai,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Oi(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return Dr(),d},useTransition:function(){return Dr(),[!1,il]},useId:function(){var d=Ra.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Yr(d)-1)).toString(32)+y;var S=Hn;if(S===null)throw Error(t(404));return y=Qr++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return Dr(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hn=null,Aa=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sl(d){return console.error(d),null}function vn(){}function Oa(d,y,S,R,W,B,X,oe,Oe){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?sl:W,onAllReady:B===void 0?vn:B,onShellReady:X===void 0?vn:X,onShellError:oe===void 0?vn:oe,onFatalError:Oe===void 0?vn:Oe},S=yn(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ia(y,d,null,S,je,ke,null,Gr),Ne.push(d),y}function Ia(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Oe={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Oe),Ne.length===1&&ji(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Oe),Oe}function yn(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wn(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fi(d,y,S,R,W){for(vr={},Ra=y,Qr=0,d=S(R,W);Io;)Io=!1,Qr=0,Fo+=1,Ke=null,d=S(R,W);return Un(),d}function Mi(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,ne(R)||"Unknown",oe));R=lr({},X,S)}y.legacyContext=R,Ot(d,y,W),y.legacyContext=X}else Ot(d,y,W)}function Di(d,y){if(d&&d.defaultProps){y=lr({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Ae(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Fr(B,S,R,W),Mi(d,y,B,S)}else{B=Ae(S,y.legacyContext),W=Fi(d,y,S,R,B);var X=Qr!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Fr(W,S,R,B),Mi(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=gr(R,1,0);try{Ot(d,y,W)}finally{y.treeContext=R}}else Ot(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=In(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=J(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fn,h(S),Mn)}W.lastPushedText=!1}else{switch(S){case H:case P:case hn:case _t:case Vr:Ot(d,y,R.children);return;case At:Ot(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Oe=yn(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Oe),W.lastPushedText=!1;var Ne=yn(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wn(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ia(d,B,S,Oe,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mn:if(R=Fi(d,y,S.render,R,W),Qr!==0){S=y.treeContext,y.treeContext=gr(S,1,0);try{Ot(d,y,R)}finally{y.treeContext=S}}else Ot(d,y,R);return;case f:S=S.type,R=Di(S,R),Lo(d,y,S,R,W);return;case ur:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,Ot(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),Ot(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Di(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function Ot(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case Or:throw Error(t(257));case b:var R=S._init;S=R(S._payload),Ot(d,y,S);return}if(ye(S)){_i(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_i(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _i(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=gr(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return Ot(d,y,S)}catch(Oe){if(Un(),typeof Oe=="object"&&Oe!==null&&typeof Oe.then=="function"){S=Oe;var X=y.blockedSegment,oe=yn(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ia(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B),Oe}}function ll(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$i(this,y,d)}function Li(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return Li(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $i(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vn,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(ll,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ji(d){if(d.status!==2){var y=Ce,S=Aa.current;Aa.current=Ii;var R=Hn;Hn=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Oe=X.blockedSegment;if(Oe.status===0){cr(X.context);try{Ot(oe,X,X.node),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(fe),X.abortSet.delete(X),Oe.status=1,$i(oe,X.blockedBoundary,Oe)}catch(Vt){if(Un(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Oe.status=4;var je=X.blockedBoundary,et=Vt,It=Wn(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fa(d,d.destination)}catch(Vt){Wn(d,Vt),_o(d,Vt)}finally{Hn=R,Aa.current=S,S===Ii&&cr(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,i(y,st),i(y,d.placeholderPrefix),d=h(R.toString(16)),i(y,d),c(y,Dn);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)i(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)i(y,R[B]);return B<R.length&&(W=c(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,c(y,ln),i(y,Ln),R&&(i(y,$n),i(y,h(ie(R))),i(y,Sr)),c(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(c(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return c(y,Ea)}function Ni(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),or(y,S.formatContext)}function zi(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Bi(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,i(y,d.startInlineScript),d.sentCompleteBoundaryFunction?i(y,Pt):(d.sentCompleteBoundaryFunction=!0,i(y,Pr)),R===null)throw Error(t(395));return S=h(S.toString(16)),i(y,R),i(y,Ro),i(y,d.segmentPrefix),i(y,S),c(y,Po)}function Bi(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Ni(d,y,R)}return Ni(d,y,R),d=d.responseState,i(y,d.startInlineScript),d.sentCompleteSegmentFunction?i(y,Tr):(d.sentCompleteSegmentFunction=!0,i(y,dn)),i(y,d.segmentPrefix),W=h(W.toString(16)),i(y,W),i(y,Rr),i(y,d.placeholderPrefix),i(y,W),c(y,ar)}function Fa(d,y){n=new Uint8Array(512),a=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)i(y,R[S]);S<R.length&&c(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Oe=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(i(R,oe.startInlineScript),oe.sentClientRenderFunction?i(R,ut):(oe.sentClientRenderFunction=!0,i(R,mr)),Oe===null)throw Error(t(395));i(R,Oe),i(R,ir),(Ne||je||et)&&(i(R,Ar),i(R,h(Ut(Ne||"")))),(je||et)&&(i(R,Ar),i(R,h(Ut(je||"")))),et&&(i(R,Ar),i(R,h(Ut(et)))),c(R,sr)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)zi(d,y,It[B]);It.splice(0,B),p(y),n=new Uint8Array(512),a=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Bi(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Hi=!1;break e}Bo.splice(0,oe),Hi=!0}if(!Hi){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vn=d.completedBoundaries;for(B=0;B<Vn.length;B++)zi(d,y,Vn[B]);Vn.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ui(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return Li(R,d,y)}),S.clear(),d.destination!==null&&Fa(d,d.destination)}catch(R){Wn(d,R),_o(d,R)}}return pc.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Oa(d,q(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fa(oe,et)}catch(It){Wn(oe,It),_o(oe,It)}}},cancel:function(){Ui(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Oe=y.signal,Ne=function(){Ui(oe,Oe.reason),Oe.removeEventListener("abort",Ne)};Oe.addEventListener("abort",Ne)}ji(oe)})},pc.version="18.3.1",pc}var ii={};/**
27
+ `&&d.push(Hr),B;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":d.push(gt(y));for(var Wt in S)if(x.call(S,Wt)&&(B=S[Wt],B!=null))switch(Wt){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,y));default:We(d,R,Wt,B)}return d.push(Nt),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ur(d,S,y,R);case"html":return W.insertionMode===0&&d.push(ft),Ur(d,S,y,R);default:if(y.indexOf("-")===-1&&typeof S.is!="string")return Ur(d,S,y,R);d.push(gt(y)),X=B=null;for(Ne in S)if(x.call(S,Ne)&&(oe=S[Ne],oe!=null))switch(Ne){case"children":B=oe;break;case"dangerouslySetInnerHTML":X=oe;break;case"style":Ee(d,R,oe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(Ne)&&typeof oe!="function"&&typeof oe!="symbol"&&d.push(Se,h(Ne),Pe,h(ae(oe)),Be)}return d.push(ot),Br(d,X,B),B}}var Fn=v("</"),Mn=v(">"),st=v('<template id="'),Dn=v('"></template>'),ko=v("<!--$-->"),Eo=v('<!--$?--><template id="'),_n=v('"></template>'),ln=v("<!--$!-->"),Ei=v("<!--/$-->"),Ln=v("<template"),Sr=v('"'),$n=v(' data-dgst="');v(' data-msg="'),v(' data-stck="');var Co=v("></template>");function xt(d,y,S){if(a(d,Eo),S===null)throw Error(t(395));return a(d,S),c(d,_n)}var tr=v('<div hidden id="'),kr=v('">'),Qe=v("</div>"),Er=v('<svg aria-hidden="true" style="display:none" id="'),un=v('">'),Wr=v("</svg>"),rr=v('<math aria-hidden="true" style="display:none" id="'),cn=v('">'),hr=v("</math>"),dt=v('<table hidden id="'),jn=v('">'),Nn=v("</table>"),To=v('<table hidden><tbody id="'),lt=v('">'),zn=v("</tbody></table>"),Ci=v('<table hidden><tr id="'),Ti=v('">'),nr=v("</tr></table>"),Bn=v('<table hidden><colgroup id="'),fn=v('">'),Cr=v("</colgroup></table>");function Rt(d,y,S,R){switch(S.insertionMode){case 0:case 1:return a(d,tr),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,kr);case 2:return a(d,Er),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,un);case 3:return a(d,rr),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,cn);case 4:return a(d,dt),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,jn);case 5:return a(d,To),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,lt);case 6:return a(d,Ci),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,Ti);case 7:return a(d,Bn),a(d,y.segmentPrefix),a(d,h(R.toString(16))),c(d,fn);default:throw Error(t(397))}}function or(d,y){switch(y.insertionMode){case 0:case 1:return c(d,Qe);case 2:return c(d,Wr);case 3:return c(d,hr);case 4:return c(d,Nn);case 5:return c(d,zn);case 6:return c(d,nr);case 7:return c(d,Cr);default:throw Error(t(397))}}var dn=v('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Tr=v('$RS("'),Rr=v('","'),ir=v('")<\/script>'),Pr=v('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Pt=v('$RC("'),Ro=v('","'),Po=v('")<\/script>'),mr=v('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),ut=v('$RX("'),ar=v('"'),sr=v(")<\/script>"),Ar=v(","),pn=/[<\u2028\u2029]/g;function Ut(d){return JSON.stringify(d).replace(pn,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var lr=Object.assign,St=Symbol.for("react.element"),Or=Symbol.for("react.portal"),Vr=Symbol.for("react.fragment"),hn=Symbol.for("react.strict_mode"),_t=Symbol.for("react.profiler"),ur=Symbol.for("react.provider"),kt=Symbol.for("react.context"),mn=Symbol.for("react.forward_ref"),mt=Symbol.for("react.suspense"),At=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),E=Symbol.for("react.scope"),P=Symbol.for("react.debug_trace_mode"),H=Symbol.for("react.legacy_hidden"),N=Symbol.for("react.default_value"),G=Symbol.iterator;function ne(d){if(d==null)return null;if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case Vr:return"Fragment";case Or:return"Portal";case _t:return"Profiler";case hn:return"StrictMode";case mt:return"Suspense";case At:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case kt:return(d.displayName||"Context")+".Consumer";case ur:return(d._context.displayName||"Context")+".Provider";case mn:var y=d.render;return d=d.displayName,d||(d=y.displayName||y.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case f:return y=d.displayName||null,y!==null?y:ne(d.type)||"Memo";case b:y=d._payload,d=d._init;try{return ne(d(y))}catch{}}return null}var ke={};function Ae(d,y){if(d=d.contextTypes,!d)return ke;var S={},R;for(R in d)S[R]=y[R];return S}var Ce=null;function Ve(d,y){if(d!==y){d.context._currentValue=d.parentValue,d=d.parent;var S=y.parent;if(d===null){if(S!==null)throw Error(t(401))}else{if(S===null)throw Error(t(401));Ve(d,S)}y.context._currentValue=y.value}}function Et(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&Et(d)}function Ct(d){var y=d.parent;y!==null&&Ct(y),d.context._currentValue=d.value}function Tt(d,y){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(t(402));d.depth===y.depth?Ve(d,y):Tt(d,y)}function Ir(d,y){var S=y.parent;if(S===null)throw Error(t(402));d.depth===S.depth?Ve(d,S):Ir(d,S),y.context._currentValue=y.value}function cr(d){var y=Ce;y!==d&&(y===null?Ct(d):d===null?Et(y):y.depth===d.depth?Ve(y,d):y.depth>d.depth?Tt(y,d):Ir(y,d),Ce=d)}var gn={isMounted:function(){return!1},enqueueSetState:function(d,y){d=d._reactInternals,d.queue!==null&&d.queue.push(y)},enqueueReplaceState:function(d,y){d=d._reactInternals,d.replace=!0,d.queue=[y]},enqueueForceUpdate:function(){}};function Fr(d,y,S,R){var W=d.state!==void 0?d.state:null;d.updater=gn,d.props=S,d.state=W;var B={queue:[],replace:!1};d._reactInternals=B;var X=y.contextType;if(d.context=typeof X=="object"&&X!==null?X._currentValue:R,X=y.getDerivedStateFromProps,typeof X=="function"&&(X=X(S,W),W=X==null?W:lr({},W,X),d.state=W),typeof y.getDerivedStateFromProps!="function"&&typeof d.getSnapshotBeforeUpdate!="function"&&(typeof d.UNSAFE_componentWillMount=="function"||typeof d.componentWillMount=="function"))if(y=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),y!==d.state&&gn.enqueueReplaceState(d,d.state,null),B.queue!==null&&0<B.queue.length)if(y=B.queue,X=B.replace,B.queue=null,B.replace=!1,X&&y.length===1)d.state=y[0];else{for(B=X?y[0]:d.state,W=!0,X=X?1:0;X<y.length;X++){var oe=y[X];oe=typeof oe=="function"?oe.call(d,B,S,R):oe,oe!=null&&(W?(W=!1,B=lr({},B,oe)):lr(B,oe))}d.state=B}else B.queue=null}var Gr={id:1,overflow:""};function gr(d,y,S){var R=d.id;d=d.overflow;var W=32-Yr(R)-1;R&=~(1<<W),S+=1;var B=32-Yr(y)+W;if(30<B){var X=W-W%5;return B=(R&(1<<X)-1).toString(32),R>>=X,W-=X,{id:1<<32-Yr(y)+W|S<<W|R,overflow:B+d}}return{id:1<<B|S<<W|R,overflow:d}}var Yr=Math.clz32?Math.clz32:Ao,rl=Math.log,nl=Math.LN2;function Ao(d){return d>>>=0,d===0?32:31-(rl(d)/nl|0)|0}function fr(d,y){return d===y&&(d!==0||1/d===1/y)||d!==d&&y!==y}var ol=typeof Object.is=="function"?Object.is:fr,vr=null,Ri=null,Oo=null,qe=null,Xr=!1,Io=!1,Qr=0,Mr=null,Fo=0;function Dr(){if(vr===null)throw Error(t(321));return vr}function Ht(){if(0<Fo)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Pi(){return qe===null?Oo===null?(Xr=!1,Oo=qe=Ht()):(Xr=!0,qe=Oo):qe.next===null?(Xr=!1,qe=qe.next=Ht()):(Xr=!0,qe=qe.next),qe}function Un(){Ri=vr=null,Io=!1,Oo=null,Fo=0,qe=Mr=null}function Aa(d,y){return typeof y=="function"?y(d):y}function Mo(d,y,S){if(vr=Dr(),qe=Pi(),Xr){var R=qe.queue;if(y=R.dispatch,Mr!==null&&(S=Mr.get(R),S!==void 0)){Mr.delete(R),R=qe.memoizedState;do R=d(R,S.action),S=S.next;while(S!==null);return qe.memoizedState=R,[R,y]}return[qe.memoizedState,y]}return d=d===Aa?typeof y=="function"?y():y:S!==void 0?S(y):y,qe.memoizedState=d,d=qe.queue={last:null,dispatch:null},d=d.dispatch=il.bind(null,vr,d),[qe.memoizedState,d]}function Oa(d,y){if(vr=Dr(),qe=Pi(),y=y===void 0?null:y,qe!==null){var S=qe.memoizedState;if(S!==null&&y!==null){var R=S[1];e:if(R===null)R=!1;else{for(var W=0;W<R.length&&W<y.length;W++)if(!ol(y[W],R[W])){R=!1;break e}R=!0}if(R)return S[0]}}return d=d(),qe.memoizedState=[d,y],d}function il(d,y,S){if(25<=Fo)throw Error(t(301));if(d===vr)if(Io=!0,d={action:S,next:null},Mr===null&&(Mr=new Map),S=Mr.get(y),S===void 0)Mr.set(y,d);else{for(y=S;y.next!==null;)y=y.next;y.next=d}}function al(){throw Error(t(394))}function Do(){}var Ia={readContext:function(d){return d._currentValue},useContext:function(d){return Dr(),d._currentValue},useMemo:Oa,useReducer:Mo,useRef:function(d){vr=Dr(),qe=Pi();var y=qe.memoizedState;return y===null?(d={current:d},qe.memoizedState=d):y},useState:function(d){return Mo(Aa,d)},useInsertionEffect:Do,useLayoutEffect:function(){},useCallback:function(d,y){return Oa(function(){return d},y)},useImperativeHandle:Do,useEffect:Do,useDebugValue:Do,useDeferredValue:function(d){return Dr(),d},useTransition:function(){return Dr(),[!1,al]},useId:function(){var d=Ri.treeContext,y=d.overflow;d=d.id,d=(d&~(1<<32-Yr(d)-1)).toString(32)+y;var S=Hn;if(S===null)throw Error(t(404));return y=Qr++,d=":"+S.idPrefix+"R"+d,0<y&&(d+="H"+y.toString(32)),d+":"},useMutableSource:function(d,y){return Dr(),y(d._source)},useSyncExternalStore:function(d,y,S){if(S===void 0)throw Error(t(407));return S()}},Hn=null,Ai=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function sl(d){return console.error(d),null}function vn(){}function Oi(d,y,S,R,W,B,X,oe,Oe){var Ne=[],je=new Set;return y={destination:null,responseState:y,progressiveChunkSize:R===void 0?12800:R,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:je,pingedTasks:Ne,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:W===void 0?sl:W,onAllReady:B===void 0?vn:B,onShellReady:X===void 0?vn:X,onShellError:oe===void 0?vn:oe,onFatalError:Oe===void 0?vn:Oe},S=yn(y,0,null,S,!1,!1),S.parentFlushed=!0,d=Ii(y,d,null,S,je,ke,null,Gr),Ne.push(d),y}function Ii(d,y,S,R,W,B,X,oe){d.allPendingTasks++,S===null?d.pendingRootTasks++:S.pendingTasks++;var Oe={node:y,ping:function(){var Ne=d.pingedTasks;Ne.push(Oe),Ne.length===1&&ja(d)},blockedBoundary:S,blockedSegment:R,abortSet:W,legacyContext:B,context:X,treeContext:oe};return W.add(Oe),Oe}function yn(d,y,S,R,W,B){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:R,boundary:S,lastPushedText:W,textEmbedded:B}}function Wn(d,y){if(d=d.onError(y),d!=null&&typeof d!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof d+'" instead');return d}function _o(d,y){var S=d.onShellError;S(y),S=d.onFatalError,S(y),d.destination!==null?(d.status=2,C(d.destination,y)):(d.status=1,d.fatalError=y)}function Fa(d,y,S,R,W){for(vr={},Ri=y,Qr=0,d=S(R,W);Io;)Io=!1,Qr=0,Fo+=1,qe=null,d=S(R,W);return Un(),d}function Ma(d,y,S,R){var W=S.render(),B=R.childContextTypes;if(B!=null){var X=y.legacyContext;if(typeof S.getChildContext!="function")R=X;else{S=S.getChildContext();for(var oe in S)if(!(oe in B))throw Error(t(108,ne(R)||"Unknown",oe));R=lr({},X,S)}y.legacyContext=R,Ot(d,y,W),y.legacyContext=X}else Ot(d,y,W)}function Da(d,y){if(d&&d.defaultProps){y=lr({},y),d=d.defaultProps;for(var S in d)y[S]===void 0&&(y[S]=d[S]);return y}return y}function Lo(d,y,S,R,W){if(typeof S=="function")if(S.prototype&&S.prototype.isReactComponent){W=Ae(S,y.legacyContext);var B=S.contextType;B=new S(R,typeof B=="object"&&B!==null?B._currentValue:W),Fr(B,S,R,W),Ma(d,y,B,S)}else{B=Ae(S,y.legacyContext),W=Fa(d,y,S,R,B);var X=Qr!==0;if(typeof W=="object"&&W!==null&&typeof W.render=="function"&&W.$$typeof===void 0)Fr(W,S,R,B),Ma(d,y,W,S);else if(X){R=y.treeContext,y.treeContext=gr(R,1,0);try{Ot(d,y,W)}finally{y.treeContext=R}}else Ot(d,y,W)}else if(typeof S=="string"){switch(W=y.blockedSegment,B=In(W.chunks,S,R,d.responseState,W.formatContext),W.lastPushedText=!1,X=W.formatContext,W.formatContext=K(X,S,R),$o(d,y,B),W.formatContext=X,S){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:W.chunks.push(Fn,h(S),Mn)}W.lastPushedText=!1}else{switch(S){case H:case P:case hn:case _t:case Vr:Ot(d,y,R.children);return;case At:Ot(d,y,R.children);return;case E:throw Error(t(343));case mt:e:{S=y.blockedBoundary,W=y.blockedSegment,B=R.fallback,R=R.children,X=new Set;var oe={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:X,errorDigest:null},Oe=yn(d,W.chunks.length,oe,W.formatContext,!1,!1);W.children.push(Oe),W.lastPushedText=!1;var Ne=yn(d,0,null,W.formatContext,!1,!1);Ne.parentFlushed=!0,y.blockedBoundary=oe,y.blockedSegment=Ne;try{if($o(d,y,R),Ne.lastPushedText&&Ne.textEmbedded&&Ne.chunks.push(fe),Ne.status=1,jo(oe,Ne),oe.pendingTasks===0)break e}catch(je){Ne.status=4,oe.forceClientRender=!0,oe.errorDigest=Wn(d,je)}finally{y.blockedBoundary=S,y.blockedSegment=W}y=Ii(d,B,S,Oe,X,y.legacyContext,y.context,y.treeContext),d.pingedTasks.push(y)}return}if(typeof S=="object"&&S!==null)switch(S.$$typeof){case mn:if(R=Fa(d,y,S.render,R,W),Qr!==0){S=y.treeContext,y.treeContext=gr(S,1,0);try{Ot(d,y,R)}finally{y.treeContext=S}}else Ot(d,y,R);return;case f:S=S.type,R=Da(S,R),Lo(d,y,S,R,W);return;case ur:if(W=R.children,S=S._context,R=R.value,B=S._currentValue,S._currentValue=R,X=Ce,Ce=R={parent:X,depth:X===null?0:X.depth+1,context:S,parentValue:B,value:R},y.context=R,Ot(d,y,W),d=Ce,d===null)throw Error(t(403));R=d.parentValue,d.context._currentValue=R===N?d.context._defaultValue:R,d=Ce=d.parent,y.context=d;return;case kt:R=R.children,R=R(S._currentValue),Ot(d,y,R);return;case b:W=S._init,S=W(S._payload),R=Da(S,R),Lo(d,y,S,R,void 0);return}throw Error(t(130,S==null?S:typeof S,""))}}function Ot(d,y,S){if(y.node=S,typeof S=="object"&&S!==null){switch(S.$$typeof){case St:Lo(d,y,S.type,S.props,S.ref);return;case Or:throw Error(t(257));case b:var R=S._init;S=R(S._payload),Ot(d,y,S);return}if(ye(S)){_a(d,y,S);return}if(S===null||typeof S!="object"?R=null:(R=G&&S[G]||S["@@iterator"],R=typeof R=="function"?R:null),R&&(R=R.call(S))){if(S=R.next(),!S.done){var W=[];do W.push(S.value),S=R.next();while(!S.done);_a(d,y,W)}return}throw d=Object.prototype.toString.call(S),Error(t(31,d==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":d))}typeof S=="string"?(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,S,d.responseState,R.lastPushedText)):typeof S=="number"&&(R=y.blockedSegment,R.lastPushedText=te(y.blockedSegment.chunks,""+S,d.responseState,R.lastPushedText))}function _a(d,y,S){for(var R=S.length,W=0;W<R;W++){var B=y.treeContext;y.treeContext=gr(B,R,W);try{$o(d,y,S[W])}finally{y.treeContext=B}}}function $o(d,y,S){var R=y.blockedSegment.formatContext,W=y.legacyContext,B=y.context;try{return Ot(d,y,S)}catch(Oe){if(Un(),typeof Oe=="object"&&Oe!==null&&typeof Oe.then=="function"){S=Oe;var X=y.blockedSegment,oe=yn(d,X.chunks.length,null,X.formatContext,X.lastPushedText,!0);X.children.push(oe),X.lastPushedText=!1,d=Ii(d,y.node,y.blockedBoundary,oe,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,S.then(d,d),y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B)}else throw y.blockedSegment.formatContext=R,y.legacyContext=W,y.context=B,cr(B),Oe}}function ll(d){var y=d.blockedBoundary;d=d.blockedSegment,d.status=3,$a(this,y,d)}function La(d,y,S){var R=d.blockedBoundary;d.blockedSegment.status=3,R===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(R.pendingTasks--,R.forceClientRender||(R.forceClientRender=!0,d=S===void 0?Error(t(432)):S,R.errorDigest=y.onError(d),R.parentFlushed&&y.clientRenderedBoundaries.push(R)),R.fallbackAbortableTasks.forEach(function(W){return La(W,y,S)}),R.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(R=y.onAllReady,R()))}function jo(d,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var S=y.children[0];S.id=y.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(y)}function $a(d,y,S){if(y===null){if(S.parentFlushed){if(d.completedRootSegment!==null)throw Error(t(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&(d.onShellError=vn,y=d.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(S.parentFlushed&&S.status===1&&jo(y,S),y.parentFlushed&&d.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(ll,d),y.fallbackAbortableTasks.clear()):S.parentFlushed&&S.status===1&&(jo(y,S),y.completedSegments.length===1&&y.parentFlushed&&d.partialBoundaries.push(y)));d.allPendingTasks--,d.allPendingTasks===0&&(d=d.onAllReady,d())}function ja(d){if(d.status!==2){var y=Ce,S=Ai.current;Ai.current=Ia;var R=Hn;Hn=d.responseState;try{var W=d.pingedTasks,B;for(B=0;B<W.length;B++){var X=W[B],oe=d,Oe=X.blockedSegment;if(Oe.status===0){cr(X.context);try{Ot(oe,X,X.node),Oe.lastPushedText&&Oe.textEmbedded&&Oe.chunks.push(fe),X.abortSet.delete(X),Oe.status=1,$a(oe,X.blockedBoundary,Oe)}catch(Vt){if(Un(),typeof Vt=="object"&&Vt!==null&&typeof Vt.then=="function"){var Ne=X.ping;Vt.then(Ne,Ne)}else{X.abortSet.delete(X),Oe.status=4;var je=X.blockedBoundary,et=Vt,It=Wn(oe,et);if(je===null?_o(oe,et):(je.pendingTasks--,je.forceClientRender||(je.forceClientRender=!0,je.errorDigest=It,je.parentFlushed&&oe.clientRenderedBoundaries.push(je))),oe.allPendingTasks--,oe.allPendingTasks===0){var Wt=oe.onAllReady;Wt()}}}finally{}}}W.splice(0,B),d.destination!==null&&Fi(d,d.destination)}catch(Vt){Wn(d,Vt),_o(d,Vt)}finally{Hn=R,Ai.current=S,S===Ia&&cr(y)}}}function No(d,y,S){switch(S.parentFlushed=!0,S.status){case 0:var R=S.id=d.nextSegmentId++;return S.lastPushedText=!1,S.textEmbedded=!1,d=d.responseState,a(y,st),a(y,d.placeholderPrefix),d=h(R.toString(16)),a(y,d),c(y,Dn);case 1:S.status=2;var W=!0;R=S.chunks;var B=0;S=S.children;for(var X=0;X<S.length;X++){for(W=S[X];B<W.index;B++)a(y,R[B]);W=zo(d,y,W)}for(;B<R.length-1;B++)a(y,R[B]);return B<R.length&&(W=c(y,R[B])),W;default:throw Error(t(390))}}function zo(d,y,S){var R=S.boundary;if(R===null)return No(d,y,S);if(R.parentFlushed=!0,R.forceClientRender)R=R.errorDigest,c(y,ln),a(y,Ln),R&&(a(y,$n),a(y,h(ae(R))),a(y,Sr)),c(y,Co),No(d,y,S);else if(0<R.pendingTasks){R.rootSegmentID=d.nextSegmentId++,0<R.completedSegments.length&&d.partialBoundaries.push(R);var W=d.responseState,B=W.nextSuspenseID++;W=v(W.boundaryPrefix+B.toString(16)),R=R.id=W,xt(y,d.responseState,R),No(d,y,S)}else if(R.byteSize>d.progressiveChunkSize)R.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(R),xt(y,d.responseState,R.id),No(d,y,S);else{if(c(y,ko),S=R.completedSegments,S.length!==1)throw Error(t(391));zo(d,y,S[0])}return c(y,Ei)}function Na(d,y,S){return Rt(y,d.responseState,S.formatContext,S.id),zo(d,y,S),or(y,S.formatContext)}function za(d,y,S){for(var R=S.completedSegments,W=0;W<R.length;W++)Ba(d,y,S,R[W]);if(R.length=0,d=d.responseState,R=S.id,S=S.rootSegmentID,a(y,d.startInlineScript),d.sentCompleteBoundaryFunction?a(y,Pt):(d.sentCompleteBoundaryFunction=!0,a(y,Pr)),R===null)throw Error(t(395));return S=h(S.toString(16)),a(y,R),a(y,Ro),a(y,d.segmentPrefix),a(y,S),c(y,Po)}function Ba(d,y,S,R){if(R.status===2)return!0;var W=R.id;if(W===-1){if((R.id=S.rootSegmentID)===-1)throw Error(t(392));return Na(d,y,R)}return Na(d,y,R),d=d.responseState,a(y,d.startInlineScript),d.sentCompleteSegmentFunction?a(y,Tr):(d.sentCompleteSegmentFunction=!0,a(y,dn)),a(y,d.segmentPrefix),W=h(W.toString(16)),a(y,W),a(y,Rr),a(y,d.placeholderPrefix),a(y,W),c(y,ir)}function Fi(d,y){n=new Uint8Array(512),i=0;try{var S=d.completedRootSegment;if(S!==null&&d.pendingRootTasks===0){zo(d,y,S),d.completedRootSegment=null;var R=d.responseState.bootstrapChunks;for(S=0;S<R.length-1;S++)a(y,R[S]);S<R.length&&c(y,R[S])}var W=d.clientRenderedBoundaries,B;for(B=0;B<W.length;B++){var X=W[B];R=y;var oe=d.responseState,Oe=X.id,Ne=X.errorDigest,je=X.errorMessage,et=X.errorComponentStack;if(a(R,oe.startInlineScript),oe.sentClientRenderFunction?a(R,ut):(oe.sentClientRenderFunction=!0,a(R,mr)),Oe===null)throw Error(t(395));a(R,Oe),a(R,ar),(Ne||je||et)&&(a(R,Ar),a(R,h(Ut(Ne||"")))),(je||et)&&(a(R,Ar),a(R,h(Ut(je||"")))),et&&(a(R,Ar),a(R,h(Ut(et)))),c(R,sr)}W.splice(0,B);var It=d.completedBoundaries;for(B=0;B<It.length;B++)za(d,y,It[B]);It.splice(0,B),p(y),n=new Uint8Array(512),i=0;var Wt=d.partialBoundaries;for(B=0;B<Wt.length;B++){var Vt=Wt[B];e:{W=d,X=y;var Bo=Vt.completedSegments;for(oe=0;oe<Bo.length;oe++)if(!Ba(W,X,Vt,Bo[oe])){oe++,Bo.splice(0,oe);var Ha=!1;break e}Bo.splice(0,oe),Ha=!0}if(!Ha){d.destination=null,B++,Wt.splice(0,B);return}}Wt.splice(0,B);var Vn=d.completedBoundaries;for(B=0;B<Vn.length;B++)za(d,y,Vn[B]);Vn.splice(0,B)}finally{p(y),d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&y.close()}}function Ua(d,y){try{var S=d.abortableTasks;S.forEach(function(R){return La(R,d,y)}),S.clear(),d.destination!==null&&Fi(d,d.destination)}catch(R){Wn(d,R),_o(d,R)}}return dc.renderToReadableStream=function(d,y){return new Promise(function(S,R){var W,B,X=new Promise(function(je,et){B=je,W=et}),oe=Oi(d,Z(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),Y(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,B,function(){var je=new ReadableStream({type:"bytes",pull:function(et){if(oe.status===1)oe.status=2,C(et,oe.fatalError);else if(oe.status!==2&&oe.destination===null){oe.destination=et;try{Fi(oe,et)}catch(It){Wn(oe,It),_o(oe,It)}}},cancel:function(){Ua(oe)}},{highWaterMark:0});je.allReady=X,S(je)},function(je){X.catch(function(){}),R(je)},W);if(y&&y.signal){var Oe=y.signal,Ne=function(){Ua(oe,Oe.reason),Oe.removeEventListener("abort",Ne)};Oe.addEventListener("abort",Ne)}ja(oe)})},dc.version="18.3.1",dc}var aa={};/**
28
28
  * @license React
29
29
  * react-dom-server-legacy.browser.development.js
30
30
  *
@@ -32,17 +32,17 @@
32
32
  *
33
33
  * This source code is licensed under the MIT license found in the
34
34
  * LICENSE file in the root directory of this source tree.
35
- */var dh;function Uy(){return dh||(dh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("warn",r,s)}}function i(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("error",r,s)}}function c(r,o,s){{var u=n.ReactDebugCurrentFrame,g=u.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[r],console,w)}}function p(r){r()}function m(r){}function h(r,o){v(r,o)}function v(r,o){return r.push(o)}function C(r){}function x(r){r.push(null)}function F(r){return r}function I(r){return r}function L(r,o){r.destroy(o)}function D(r){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function T(r){try{return O(r),!1}catch{return!0}}function O(r){return""+r}function U(r,o){if(T(r))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function j(r,o){if(T(r))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function V(r){if(T(r))return i("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(r)),O(r)}var $=Object.prototype.hasOwnProperty,Z=0,ie=1,re=2,le=3,ye=4,De=5,Fe=6,$e=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function q(r){return $.call(Le,r)?!0:$.call(Re,r)?!1:xe.test(r)?(Le[r]=!0,!0):(Re[r]=!0,i("Invalid attribute name: `%s`",r),!1)}function ve(r,o,s,u){if(s!==null&&s.type===Z)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=r.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(r){return fe.hasOwnProperty(r)?fe[r]:null}function J(r,o,s,u,g,w,k){this.acceptsBooleans=o===re||o===le||o===ye,this.attributeName=u,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=r,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(r){fe[r]=new J(r,Z,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0],s=r[1];fe[o]=new J(o,ie,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){fe[r]=new J(r,re,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){fe[r]=new J(r,re,!1,r,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(r){fe[r]=new J(r,le,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){fe[r]=new J(r,le,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){fe[r]=new J(r,ye,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){fe[r]=new J(r,Fe,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){fe[r]=new J(r,De,!1,r.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(r){return r[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(r){var o=r.replace(he,me);fe[o]=new J(o,ie,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(r){var o=r.replace(he,me);fe[o]=new J(o,ie,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(he,me);fe[o]=new J(o,ie,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){fe[r]=new J(r,ie,!1,r.toLowerCase(),null,!1,!1)});var ue="xlinkHref";fe[ue]=new J("xlinkHref",ie,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){fe[r]=new J(r,ie,!1,r.toLowerCase(),null,!0,!0)});var ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(r,o){return r+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ce).forEach(function(r){Se.forEach(function(o){ce[Ee(o,r)]=ce[r]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(r,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||i("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||i("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Br=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(r,o){{if($.call(ot,o)&&ot[o])return!0;if(Br.test(o)){var s="aria-"+o.slice(4).toLowerCase(),u=We.hasOwnProperty(s)?s:null;if(u==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==u)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,u),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(r,o){{var s=[];for(var u in o){var g=xo(r,u);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r):s.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r)}}function Ur(r,o){se(r,o)||zt(r,o)}var Hr=!1;function So(r,o){{if(r!=="input"&&r!=="textarea"&&r!=="select")return;o!=null&&o.value===null&&!Hr&&(Hr=!0,r==="select"&&o.multiple?i("`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.",r):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",r))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},In=/^on./,Fn=/^on[^A-Z]/,Mn=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(r,o,s,u){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(u!=null){var w=u.registrationNameDependencies,k=u.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(In.test(o))return i("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(In.test(o))return Fn.test(o)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mn.test(o)||st.test(o))return!0;if(g==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===Z;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return i("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return i("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dn=function(r,o,s){{var u=[];for(var g in o){var w=gt(r,g,o[g],s);w||u.push(g)}var k=u.map(function(M){return"`"+M+"`"}).join(", ");u.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,r):u.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",k,r)}};function ko(r,o,s){se(r,o)||Dn(r,o,s)}var Eo=function(){};{var _n=/^(?:webkit|moz|o)[A-Z]/,ln=/^-ms-/,Ea=/-(.)/g,Ln=/;\s*$/,Sr={},$n={},Co=!1,xt=!1,tr=function(r){return r.replace(Ea,function(o,s){return s.toUpperCase()})},kr=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,i("Unsupported style property %s. Did you mean %s?",r,tr(r.replace(ln,"ms-"))))},Qe=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",r,r.charAt(0).toUpperCase()+r.slice(1)))},Er=function(r,o){$n.hasOwnProperty(o)&&$n[o]||($n[o]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,r,o.replace(Ln,"")))},un=function(r,o){Co||(Co=!0,i("`NaN` is an invalid value for the `%s` css style property.",r))},Wr=function(r,o){xt||(xt=!0,i("`Infinity` is an invalid value for the `%s` css style property.",r))};Eo=function(r,o){r.indexOf("-")>-1?kr(r):_n.test(r)?Qe(r):Ln.test(o)&&Er(r,o),typeof o=="number"&&(isNaN(o)?un(r,o):isFinite(o)||Wr(r,o))}}var rr=Eo,cn=/["'&<>]/;function hr(r){V(r);var o=""+r,s=cn.exec(o);if(!s)return o;var u,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#x27;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=u}return k!==w?g+o.substring(k,w):g}function dt(r){return typeof r=="boolean"||typeof r=="number"?""+r:hr(r)}var jn=/([A-Z])/g,Nn=/^ms-/;function To(r){return r.replace(jn,"-$1").toLowerCase().replace(Nn,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zn=!1;function Ca(r){!zn&&lt.test(r)&&(zn=!0,i("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(r)))}var Ta=Array.isArray;function nr(r){return Ta(r)}var Bn="<script>";function fn(r,o,s,u,g){var w=r===void 0?"":r,k=Bn,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Cr=0,Rt=1,or=2,dn=3,Tr=4,Rr=5,ar=6,Pr=7;function Pt(r,o){return{insertionMode:r,selectedValue:o}}function Ro(r,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(or,null);case"math":return Pt(dn,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Tr,null);case"thead":case"tbody":case"tfoot":return Pt(Rr,null);case"colgroup":return Pt(Pr,null);case"tr":return Pt(ar,null)}return r.insertionMode>=Tr||r.insertionMode===Cr?Pt(Rt,null):r}var Po=null;function mr(r){var o=r.nextSuspenseID++;return r.boundaryPrefix+o.toString(16)}function ut(r,o,s){var u=r.idPrefix,g=":"+u+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function ir(r){return dt(r)}var sr="<!-- -->";function Ar(r,o,s,u){return o===""?u:(u&&r.push(sr),r.push(ir(o)),!0)}function pn(r,o,s,u){s&&u&&r.push(sr)}var Ut=new Map;function lr(r){var o=Ut.get(r);if(o!==void 0)return o;var s=dt(To(r));return Ut.set(r,s),s}var St=' style="',Or=":",Vr=";";function hn(r,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var u=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(rr(g,w),k=lr(g),typeof w=="number"?w!==0&&!$.call(ce,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),u?(u=!1,r.push(St,k,Or,M)):r.push(Vr,k,Or,M)}}u||r.push(kt)}var _t=" ",ur='="',kt='"',mn='=""';function mt(r,o,s,u){switch(s){case"style":{hn(r,o,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 g=Y(s);if(g!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:u&&r.push(_t,k,mn);return;case ye:u===!0?r.push(_t,k,mn):u===!1||r.push(_t,k,ur,dt(u),kt);return;case De:isNaN(u)||r.push(_t,k,ur,dt(u),kt);break;case Fe:!isNaN(u)&&u>=1&&r.push(_t,k,ur,dt(u),kt);break;default:g.sanitizeURL&&(U(u,w),u=""+u,Ca(u)),r.push(_t,k,ur,dt(u),kt)}}else if(q(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}r.push(_t,s,ur,dt(u),kt)}}}var At=">",f="/>";function b(r,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var u=o.__html;u!=null&&(V(u),r.push(""+u))}}var E=!1,P=!1,H=!1,N=!1,G=!1,ne=!1,ke=!1;function Ae(r,o){{var s=r[o];if(s!=null){var u=nr(s);r.multiple&&!u?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!r.multiple&&u&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(r,o,s){Be("select",o),Ae(o,"value"),Ae(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(i("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),r.push(fr("select"));var u=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(r,s,w,k);break}}return r.push(At),b(r,g,u),u}function Ve(r){var o="";return e.Children.forEach(r,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(r,o,s,u){var g=u.selectedValue;r.push(fr("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(r,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(ne||(ne=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),nr(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){r.push(Et);break}}else U(g,"select.value"),""+g===de&&r.push(Et)}else M&&r.push(Et);return r.push(At),b(r,z,w),w}function Tt(r,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(i("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(i("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),r.push(fr("input"));var u=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":u=z;break;default:mt(r,s,M,z);break}}return w!==null?mt(r,s,"checked",w):k!==null&&mt(r,s,"checked",k),u!==null?mt(r,s,"value",u):g!==null&&mt(r,s,"value",g),r.push(f),null}function Ir(r,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(i("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),r.push(fr("textarea"));var u=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":u=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(r,s,k,M);break}}if(u===null&&g!==null&&(u=g),r.push(At),w!=null){if(i("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(nr(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),u=""+w[0]}V(w),u=""+w}return typeof u=="string"&&u[0]===`
36
- `&&r.push(Yr),u!==null&&(U(u,"value"),r.push(ir(""+u))),null}function cr(r,o,s,u){r.push(fr(s));for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(r,u,g,w);break}}return r.push(f),null}function gn(r,o,s){r.push(fr("menuitem"));for(var u in o)if($.call(o,u)){var g=o[u];if(g==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:mt(r,s,u,g);break}}return r.push(At),null}function Fr(r,o,s){r.push(fr("title"));var u=null;for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":u=w;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:mt(r,s,g,w);break}}r.push(At);{var k=Array.isArray(u)&&u.length<2?u[0]||null:u;Array.isArray(u)&&u.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&k.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&typeof k!="string"&&typeof k!="number"&&i("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 Gr(r,o,s,u){r.push(fr(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(r,u,k,M);break}}return r.push(At),b(r,w,g),typeof g=="string"?(r.push(ir(g)),null):g}function gr(r,o,s,u){r.push(fr(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;case"style":hn(r,u,M);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:q(k)&&typeof M!="function"&&typeof M!="symbol"&&r.push(_t,k,ur,dt(M),kt);break}}return r.push(At),b(r,w,g),g}var Yr=`
35
+ */var fh;function Hy(){return fh||(fh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("warn",r,s)}}function a(r){{for(var o=arguments.length,s=new Array(o>1?o-1:0),u=1;u<o;u++)s[u-1]=arguments[u];c("error",r,s)}}function c(r,o,s){{var u=n.ReactDebugCurrentFrame,g=u.getStackAddendum();g!==""&&(o+="%s",s=s.concat([g]));var w=s.map(function(k){return String(k)});w.unshift("Warning: "+o),Function.prototype.apply.call(console[r],console,w)}}function p(r){r()}function m(r){}function h(r,o){v(r,o)}function v(r,o){return r.push(o)}function C(r){}function x(r){r.push(null)}function F(r){return r}function I(r){return r}function L(r,o){r.destroy(o)}function D(r){{var o=typeof Symbol=="function"&&Symbol.toStringTag,s=o&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function T(r){try{return O(r),!1}catch{return!0}}function O(r){return""+r}function U(r,o){if(T(r))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function j(r,o){if(T(r))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",o,D(r)),O(r)}function V(r){if(T(r))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(r)),O(r)}var $=Object.prototype.hasOwnProperty,J=0,ae=1,re=2,le=3,ye=4,De=5,Fe=6,$e=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ze=$e+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",xe=new RegExp("^["+$e+"]["+ze+"]*$"),Re={},Le={};function Z(r){return $.call(Le,r)?!0:$.call(Re,r)?!1:xe.test(r)?(Le[r]=!0,!0):(Re[r]=!0,a("Invalid attribute name: `%s`",r),!1)}function ve(r,o,s,u){if(s!==null&&s.type===J)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":{if(s!==null)return!s.acceptsBooleans;var g=r.toLowerCase().slice(0,5);return g!=="data-"&&g!=="aria-"}default:return!1}}function Y(r){return fe.hasOwnProperty(r)?fe[r]:null}function K(r,o,s,u,g,w,k){this.acceptsBooleans=o===re||o===le||o===ye,this.attributeName=u,this.attributeNamespace=g,this.mustUseProperty=s,this.propertyName=r,this.type=o,this.sanitizeURL=w,this.removeEmptyString=k}var fe={},te=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];te.forEach(function(r){fe[r]=new K(r,J,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var o=r[0],s=r[1];fe[o]=new K(o,ae,!1,s,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){fe[r]=new K(r,re,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){fe[r]=new K(r,re,!1,r,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(r){fe[r]=new K(r,le,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){fe[r]=new K(r,le,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){fe[r]=new K(r,ye,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){fe[r]=new K(r,Fe,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){fe[r]=new K(r,De,!1,r.toLowerCase(),null,!1,!1)});var he=/[\-\:]([a-z])/g,me=function(r){return r[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(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var o=r.replace(he,me);fe[o]=new K(o,ae,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){fe[r]=new K(r,ae,!1,r.toLowerCase(),null,!1,!1)});var ue="xlinkHref";fe[ue]=new K("xlinkHref",ae,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){fe[r]=new K(r,ae,!1,r.toLowerCase(),null,!0,!0)});var ce={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function Ee(r,o){return r+o.charAt(0).toUpperCase()+o.substring(1)}var Se=["Webkit","ms","Moz","O"];Object.keys(ce).forEach(function(r){Se.forEach(function(o){ce[Ee(o,r)]=ce[r]})});var Pe={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Be(r,o){Pe[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function se(r,o){if(r.indexOf("-")===-1)return typeof o.is=="string";switch(r){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var We={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},ot={},Nt=new RegExp("^(aria)-["+ze+"]*$"),Br=new RegExp("^(aria)[A-Z]["+ze+"]*$");function xo(r,o){{if($.call(ot,o)&&ot[o])return!0;if(Br.test(o)){var s="aria-"+o.slice(4).toLowerCase(),u=We.hasOwnProperty(s)?s:null;if(u==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ot[o]=!0,!0;if(o!==u)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,u),ot[o]=!0,!0}if(Nt.test(o)){var g=o.toLowerCase(),w=We.hasOwnProperty(g)?g:null;if(w==null)return ot[o]=!0,!1;if(o!==w)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,w),ot[o]=!0,!0}}return!0}function zt(r,o){{var s=[];for(var u in o){var g=xo(r,u);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r):s.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",w,r)}}function Ur(r,o){se(r,o)||zt(r,o)}var Hr=!1;function So(r,o){{if(r!=="input"&&r!=="textarea"&&r!=="select")return;o!=null&&o.value===null&&!Hr&&(Hr=!0,r==="select"&&o.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",r):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",r))}}var Bt={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},gt=function(){};{var ft={},In=/^on./,Fn=/^on[^A-Z]/,Mn=new RegExp("^(aria)-["+ze+"]*$"),st=new RegExp("^(aria)[A-Z]["+ze+"]*$");gt=function(r,o,s,u){if($.call(ft,o)&&ft[o])return!0;var g=o.toLowerCase();if(g==="onfocusin"||g==="onfocusout")return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),ft[o]=!0,!0;if(u!=null){var w=u.registrationNameDependencies,k=u.possibleRegistrationNames;if(w.hasOwnProperty(o))return!0;var M=k.hasOwnProperty(g)?k[g]:null;if(M!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",o,M),ft[o]=!0,!0;if(In.test(o))return a("Unknown event handler property `%s`. It will be ignored.",o),ft[o]=!0,!0}else if(In.test(o))return Fn.test(o)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ft[o]=!0,!0;if(Mn.test(o)||st.test(o))return!0;if(g==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ft[o]=!0,!0;if(g==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ft[o]=!0,!0;if(g==="is"&&s!==null&&s!==void 0&&typeof s!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof s),ft[o]=!0,!0;if(typeof s=="number"&&isNaN(s))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),ft[o]=!0,!0;var z=Y(o),Q=z!==null&&z.type===J;if(Bt.hasOwnProperty(g)){var ee=Bt[g];if(ee!==o)return a("Invalid DOM property `%s`. Did you mean `%s`?",o,ee),ft[o]=!0,!0}else if(!Q&&o!==g)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,g),ft[o]=!0,!0;return typeof s=="boolean"&&ve(o,s,z)?(s?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',s,o,o,s,o):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',s,o,o,s,o,o,o),ft[o]=!0,!0):Q?!0:ve(o,s,z)?(ft[o]=!0,!1):((s==="false"||s==="true")&&z!==null&&z.type===le&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",s,o,s==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,s),ft[o]=!0),!0)}}var Dn=function(r,o,s){{var u=[];for(var g in o){var w=gt(r,g,o[g],s);w||u.push(g)}var k=u.map(function(M){return"`"+M+"`"}).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 ",k,r):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 ",k,r)}};function ko(r,o,s){se(r,o)||Dn(r,o,s)}var Eo=function(){};{var _n=/^(?:webkit|moz|o)[A-Z]/,ln=/^-ms-/,Ei=/-(.)/g,Ln=/;\s*$/,Sr={},$n={},Co=!1,xt=!1,tr=function(r){return r.replace(Ei,function(o,s){return s.toUpperCase()})},kr=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,a("Unsupported style property %s. Did you mean %s?",r,tr(r.replace(ln,"ms-"))))},Qe=function(r){Sr.hasOwnProperty(r)&&Sr[r]||(Sr[r]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",r,r.charAt(0).toUpperCase()+r.slice(1)))},Er=function(r,o){$n.hasOwnProperty(o)&&$n[o]||($n[o]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,r,o.replace(Ln,"")))},un=function(r,o){Co||(Co=!0,a("`NaN` is an invalid value for the `%s` css style property.",r))},Wr=function(r,o){xt||(xt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",r))};Eo=function(r,o){r.indexOf("-")>-1?kr(r):_n.test(r)?Qe(r):Ln.test(o)&&Er(r,o),typeof o=="number"&&(isNaN(o)?un(r,o):isFinite(o)||Wr(r,o))}}var rr=Eo,cn=/["'&<>]/;function hr(r){V(r);var o=""+r,s=cn.exec(o);if(!s)return o;var u,g="",w,k=0;for(w=s.index;w<o.length;w++){switch(o.charCodeAt(w)){case 34:u="&quot;";break;case 38:u="&amp;";break;case 39:u="&#x27;";break;case 60:u="&lt;";break;case 62:u="&gt;";break;default:continue}k!==w&&(g+=o.substring(k,w)),k=w+1,g+=u}return k!==w?g+o.substring(k,w):g}function dt(r){return typeof r=="boolean"||typeof r=="number"?""+r:hr(r)}var jn=/([A-Z])/g,Nn=/^ms-/;function To(r){return r.replace(jn,"-$1").toLowerCase().replace(Nn,"-ms-")}var lt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,zn=!1;function Ci(r){!zn&&lt.test(r)&&(zn=!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(r)))}var Ti=Array.isArray;function nr(r){return Ti(r)}var Bn="<script>";function fn(r,o,s,u,g){var w=r===void 0?"":r,k=Bn,M=[];return{bootstrapChunks:M,startInlineScript:k,placeholderPrefix:w+"P:",segmentPrefix:w+"S:",boundaryPrefix:w+"B:",idPrefix:w,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var Cr=0,Rt=1,or=2,dn=3,Tr=4,Rr=5,ir=6,Pr=7;function Pt(r,o){return{insertionMode:r,selectedValue:o}}function Ro(r,o,s){switch(o){case"select":return Pt(Rt,s.value!=null?s.value:s.defaultValue);case"svg":return Pt(or,null);case"math":return Pt(dn,null);case"foreignObject":return Pt(Rt,null);case"table":return Pt(Tr,null);case"thead":case"tbody":case"tfoot":return Pt(Rr,null);case"colgroup":return Pt(Pr,null);case"tr":return Pt(ir,null)}return r.insertionMode>=Tr||r.insertionMode===Cr?Pt(Rt,null):r}var Po=null;function mr(r){var o=r.nextSuspenseID++;return r.boundaryPrefix+o.toString(16)}function ut(r,o,s){var u=r.idPrefix,g=":"+u+"R"+o;return s>0&&(g+="H"+s.toString(32)),g+":"}function ar(r){return dt(r)}var sr="<!-- -->";function Ar(r,o,s,u){return o===""?u:(u&&r.push(sr),r.push(ar(o)),!0)}function pn(r,o,s,u){s&&u&&r.push(sr)}var Ut=new Map;function lr(r){var o=Ut.get(r);if(o!==void 0)return o;var s=dt(To(r));return Ut.set(r,s),s}var St=' style="',Or=":",Vr=";";function hn(r,o,s){if(typeof s!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var u=!0;for(var g in s)if($.call(s,g)){var w=s[g];if(!(w==null||typeof w=="boolean"||w==="")){var k=void 0,M=void 0,z=g.indexOf("--")===0;z?(k=dt(g),j(w,g),M=dt((""+w).trim())):(rr(g,w),k=lr(g),typeof w=="number"?w!==0&&!$.call(ce,g)?M=w+"px":M=""+w:(j(w,g),M=dt((""+w).trim()))),u?(u=!1,r.push(St,k,Or,M)):r.push(Vr,k,Or,M)}}u||r.push(kt)}var _t=" ",ur='="',kt='"',mn='=""';function mt(r,o,s,u){switch(s){case"style":{hn(r,o,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 g=Y(s);if(g!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!g.acceptsBooleans)return}var w=g.attributeName,k=w;switch(g.type){case le:u&&r.push(_t,k,mn);return;case ye:u===!0?r.push(_t,k,mn):u===!1||r.push(_t,k,ur,dt(u),kt);return;case De:isNaN(u)||r.push(_t,k,ur,dt(u),kt);break;case Fe:!isNaN(u)&&u>=1&&r.push(_t,k,ur,dt(u),kt);break;default:g.sanitizeURL&&(U(u,w),u=""+u,Ci(u)),r.push(_t,k,ur,dt(u),kt)}}else if(Z(s)){switch(typeof u){case"function":case"symbol":return;case"boolean":{var M=s.toLowerCase().slice(0,5);if(M!=="data-"&&M!=="aria-")return}}r.push(_t,s,ur,dt(u),kt)}}}var At=">",f="/>";function b(r,o,s){if(o!=null){if(s!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof o!="object"||!("__html"in o))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var u=o.__html;u!=null&&(V(u),r.push(""+u))}}var E=!1,P=!1,H=!1,N=!1,G=!1,ne=!1,ke=!1;function Ae(r,o){{var s=r[o];if(s!=null){var u=nr(s);r.multiple&&!u?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",o):!r.multiple&&u&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",o)}}}function Ce(r,o,s){Be("select",o),Ae(o,"value"),Ae(o,"defaultValue"),o.value!==void 0&&o.defaultValue!==void 0&&!H&&(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),H=!0),r.push(fr("select"));var u=null,g=null;for(var w in o)if($.call(o,w)){var k=o[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;case"defaultValue":case"value":break;default:mt(r,s,w,k);break}}return r.push(At),b(r,g,u),u}function Ve(r){var o="";return e.Children.forEach(r,function(s){s!=null&&(o+=s,!G&&typeof s!="string"&&typeof s!="number"&&(G=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),o}var Et=' selected=""';function Ct(r,o,s,u){var g=u.selectedValue;r.push(fr("option"));var w=null,k=null,M=null,z=null;for(var Q in o)if($.call(o,Q)){var ee=o[Q];if(ee==null)continue;switch(Q){case"children":w=ee;break;case"selected":M=ee,ke||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ke=!0);break;case"dangerouslySetInnerHTML":z=ee;break;case"value":k=ee;default:mt(r,s,Q,ee);break}}if(g!=null){var de;if(k!==null?(U(k,"value"),de=""+k):(z!==null&&(ne||(ne=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),de=Ve(w)),nr(g))for(var Me=0;Me<g.length;Me++){U(g[Me],"value");var Xe=""+g[Me];if(Xe===de){r.push(Et);break}}else U(g,"select.value"),""+g===de&&r.push(Et)}else M&&r.push(Et);return r.push(At),b(r,z,w),w}function Tt(r,o,s){Be("input",o),o.checked!==void 0&&o.defaultChecked!==void 0&&!P&&(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),P=!0),o.value!==void 0&&o.defaultValue!==void 0&&!E&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",o.type),E=!0),r.push(fr("input"));var u=null,g=null,w=null,k=null;for(var M in o)if($.call(o,M)){var z=o[M];if(z==null)continue;switch(M){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":k=z;break;case"defaultValue":g=z;break;case"checked":w=z;break;case"value":u=z;break;default:mt(r,s,M,z);break}}return w!==null?mt(r,s,"checked",w):k!==null&&mt(r,s,"checked",k),u!==null?mt(r,s,"value",u):g!==null&&mt(r,s,"value",g),r.push(f),null}function Ir(r,o,s){Be("textarea",o),o.value!==void 0&&o.defaultValue!==void 0&&!N&&(a("Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components"),N=!0),r.push(fr("textarea"));var u=null,g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":w=M;break;case"value":u=M;break;case"defaultValue":g=M;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:mt(r,s,k,M);break}}if(u===null&&g!==null&&(u=g),r.push(At),w!=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(nr(w)){if(w.length>1)throw new Error("<textarea> can only have at most one child.");V(w[0]),u=""+w[0]}V(w),u=""+w}return typeof u=="string"&&u[0]===`
36
+ `&&r.push(Yr),u!==null&&(U(u,"value"),r.push(ar(""+u))),null}function cr(r,o,s,u){r.push(fr(s));for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":case"dangerouslySetInnerHTML":throw new Error(s+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:mt(r,u,g,w);break}}return r.push(f),null}function gn(r,o,s){r.push(fr("menuitem"));for(var u in o)if($.call(o,u)){var g=o[u];if(g==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:mt(r,s,u,g);break}}return r.push(At),null}function Fr(r,o,s){r.push(fr("title"));var u=null;for(var g in o)if($.call(o,g)){var w=o[g];if(w==null)continue;switch(g){case"children":u=w;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:mt(r,s,g,w);break}}r.push(At);{var k=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"):k!=null&&k.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):k!=null&&typeof k!="string"&&typeof k!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return u}function Gr(r,o,s,u){r.push(fr(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(r,u,k,M);break}}return r.push(At),b(r,w,g),typeof g=="string"?(r.push(ar(g)),null):g}function gr(r,o,s,u){r.push(fr(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;case"style":hn(r,u,M);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Z(k)&&typeof M!="function"&&typeof M!="symbol"&&r.push(_t,k,ur,dt(M),kt);break}}return r.push(At),b(r,w,g),g}var Yr=`
37
37
  `;function rl(r,o,s,u){r.push(fr(s));var g=null,w=null;for(var k in o)if($.call(o,k)){var M=o[k];if(M==null)continue;switch(k){case"children":g=M;break;case"dangerouslySetInnerHTML":w=M;break;default:mt(r,u,k,M);break}}if(r.push(At),w!=null){if(g!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof w!="object"||!("__html"in w))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var z=w.__html;z!=null&&(typeof z=="string"&&z.length>0&&z[0]===`
38
38
  `?r.push(Yr,z):(V(z),r.push(""+z)))}return typeof g=="string"&&g[0]===`
39
- `&&r.push(Yr),g}var nl=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ao=new Map;function fr(r){var o=Ao.get(r);if(o===void 0){if(!nl.test(r))throw new Error("Invalid tag: "+r);o="<"+r,Ao.set(r,o)}return o}var ol="<!DOCTYPE html>";function vr(r,o,s,u,g){switch(Ur(o,s),So(o,s),ko(o,s,null),!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&i("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),g.insertionMode!==or&&g.insertionMode!==dn&&o.indexOf("-")===-1&&typeof s.is!="string"&&o.toLowerCase()!==o&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),o){case"select":return Ce(r,s,u);case"option":return Ct(r,s,u,g);case"textarea":return Ir(r,s,u);case"input":return Tt(r,s,u);case"menuitem":return gn(r,s,u);case"title":return Fr(r,s,u);case"listing":case"pre":return rl(r,s,o,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 cr(r,s,o,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 Gr(r,s,o,u);case"html":return g.insertionMode===Cr&&r.push(ol),Gr(r,s,o,u);default:return o.indexOf("-")===-1&&typeof s.is!="string"?Gr(r,s,o,u):gr(r,s,o,u)}}var Ra="</",Oo=">";function Ke(r,o,s){switch(o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.push(Ra,o,Oo)}}function Xr(r,o){for(var s=o.bootstrapChunks,u=0;u<s.length-1;u++)h(r,s[u]);return u<s.length?v(r,s[u]):!0}var Io='<template id="',Qr='"></template>';function Mr(r,o,s){h(r,Io),h(r,o.placeholderPrefix);var u=s.toString(16);return h(r,u),v(r,Qr)}var Fo="<!--$-->",Dr='<!--$?--><template id="',Ht='"></template>',Pa="<!--$!-->",Un="<!--/$-->",Ai="<template",Mo='"',Oi=' data-dgst="',al=' data-msg="',il=' data-stck="',Do="></template>";function Ii(r,o){return v(r,Fo)}function Hn(r,o,s){if(h(r,Dr),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(r,s),v(r,Ht)}function Aa(r,o,s,u,g){var w;return w=v(r,Pa),h(r,Ai),s&&(h(r,Oi),h(r,dt(s)),h(r,Mo)),u&&(h(r,al),h(r,dt(u)),h(r,Mo)),g&&(h(r,il),h(r,dt(g)),h(r,Mo)),w=v(r,Do),w}function sl(r,o){return v(r,Un)}function vn(r,o){return v(r,Un)}function Oa(r,o){return v(r,Un)}var Ia='<div hidden id="',yn='">',Wn="</div>",_o='<svg aria-hidden="true" style="display:none" id="',Fi='">',Mi="</svg>",Di='<math aria-hidden="true" style="display:none" id="',Lo='">',Ot="</math>",_i='<table hidden id="',$o='">',ll="</table>",Li='<table hidden><tbody id="',jo='">',$i="</tbody></table>",ji='<table hidden><tr id="',No='">',zo="</tr></table>",Ni='<table hidden><colgroup id="',zi='">',Bi="</colgroup></table>";function Fa(r,o,s,u){switch(s.insertionMode){case Cr:case Rt:return h(r,Ia),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,yn);case or:return h(r,_o),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,Fi);case dn:return h(r,Di),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,Lo);case Tr:return h(r,_i),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,$o);case Rr:return h(r,Li),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,jo);case ar:return h(r,ji),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,No);case Pr:return h(r,Ni),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,zi);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ui(r,o){switch(o.insertionMode){case Cr:case Rt:return v(r,Wn);case or:return v(r,Mi);case dn:return v(r,Ot);case Tr:return v(r,ll);case Rr:return v(r,$i);case ar:return v(r,zo);case Pr:return v(r,Bi);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var d="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",y='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',S='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',R=d+';$RS("',W='$RS("',B='","',X='")<\/script>';function oe(r,o,s){h(r,o.startInlineScript),o.sentCompleteSegmentFunction?h(r,W):(o.sentCompleteSegmentFunction=!0,h(r,R)),h(r,o.segmentPrefix);var u=s.toString(16);return h(r,u),h(r,B),h(r,o.placeholderPrefix),h(r,u),v(r,X)}var Oe=y+';$RC("',Ne='$RC("',je='","',et='")<\/script>';function It(r,o,s,u){if(h(r,o.startInlineScript),o.sentCompleteBoundaryFunction?h(r,Ne):(o.sentCompleteBoundaryFunction=!0,h(r,Oe)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var g=u.toString(16);return h(r,s),h(r,je),h(r,o.segmentPrefix),h(r,g),v(r,et)}var Wt=S+';$RX("',Vt='$RX("',Bo='"',Hi=")<\/script>",Vn=",";function df(r,o,s,u,g,w){if(h(r,o.startInlineScript),o.sentClientRenderFunction?h(r,Vt):(o.sentClientRenderFunction=!0,h(r,Wt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(r,s),h(r,Bo),(u||g||w)&&(h(r,Vn),h(r,ul(u||""))),(g||w)&&(h(r,Vn),h(r,ul(g||""))),w&&(h(r,Vn),h(r,ul(w))),v(r,Hi)}var pf=/[<\u2028\u2029]/g;function ul(r){var o=JSON.stringify(r);return o.replace(pf,function(s){switch(s){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function hf(r,o){var s=fn(o);return{bootstrapChunks:s.bootstrapChunks,startInlineScript:s.startInlineScript,placeholderPrefix:s.placeholderPrefix,segmentPrefix:s.segmentPrefix,boundaryPrefix:s.boundaryPrefix,idPrefix:s.idPrefix,nextSuspenseID:s.nextSuspenseID,sentCompleteSegmentFunction:s.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:s.sentCompleteBoundaryFunction,sentClientRenderFunction:s.sentClientRenderFunction,generateStaticMarkup:r}}function mf(){return{insertionMode:Rt,selectedValue:null}}function Tu(r,o,s,u){return s.generateStaticMarkup?(r.push(dt(o)),!1):Ar(r,o,s,u)}function Ru(r,o,s,u){if(!o.generateStaticMarkup)return pn(r,o,s,u)}function gf(r,o){return o.generateStaticMarkup?!0:Ii(r)}function vf(r,o,s,u,g){return o.generateStaticMarkup?!0:Aa(r,o,s,u,g)}function yf(r,o){return o.generateStaticMarkup?!0:sl(r)}function bf(r,o){return o.generateStaticMarkup?!0:Oa(r)}var Lt=Object.assign,wf=Symbol.for("react.element"),Pu=Symbol.for("react.portal"),Wi=Symbol.for("react.fragment"),Gt=Symbol.for("react.strict_mode"),Au=Symbol.for("react.profiler"),Vi=Symbol.for("react.provider"),Gi=Symbol.for("react.context"),Yi=Symbol.for("react.forward_ref"),Xi=Symbol.for("react.suspense"),Ma=Symbol.for("react.suspense_list"),Da=Symbol.for("react.memo"),Uo=Symbol.for("react.lazy"),cl=Symbol.for("react.scope"),fl=Symbol.for("react.debug_trace_mode"),dl=Symbol.for("react.legacy_hidden"),Qi=Symbol.for("react.default_value"),Ou=Symbol.iterator,xf="@@iterator";function Sf(r){if(r===null||typeof r!="object")return null;var o=Ou&&r[Ou]||r[xf];return typeof o=="function"?o:null}function kf(r,o,s){var u=r.displayName;if(u)return u;var g=o.displayName||o.name||"";return g!==""?s+"("+g+")":s}function pl(r){return r.displayName||"Context"}function at(r){if(r==null)return null;if(typeof r.tag=="number"&&i("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Wi:return"Fragment";case Pu:return"Portal";case Au:return"Profiler";case Gt:return"StrictMode";case Xi:return"Suspense";case Ma:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Gi:var o=r;return pl(o)+".Consumer";case Vi:var s=r;return pl(s._context)+".Provider";case Yi:return kf(r,r.render,"ForwardRef");case Da:var u=r.displayName||null;return u!==null?u:at(r.type)||"Memo";case Uo:{var g=r,w=g._payload,k=g._init;try{return at(k(w))}catch{return null}}}return null}var _a=0,Iu,hl,nt,Ho,ml,gl,vl;function yl(){}yl.__reactDisabledLog=!0;function Fu(){{if(_a===0){Iu=console.log,hl=console.info,nt=console.warn,Ho=console.error,ml=console.group,gl=console.groupCollapsed,vl=console.groupEnd;var r={configurable:!0,enumerable:!0,value:yl,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}_a++}}function Mu(){{if(_a--,_a===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},r,{value:Iu}),info:Lt({},r,{value:hl}),warn:Lt({},r,{value:nt}),error:Lt({},r,{value:Ho}),group:Lt({},r,{value:ml}),groupCollapsed:Lt({},r,{value:gl}),groupEnd:Lt({},r,{value:vl})})}_a<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ki=n.ReactCurrentDispatcher,Ji;function La(r,o,s){{if(Ji===void 0)try{throw Error()}catch(g){var u=g.stack.trim().match(/\n( *(at )?)/);Ji=u&&u[1]||""}return`
40
- `+Ji+r}}var bl=!1,Wo;{var wl=typeof WeakMap=="function"?WeakMap:Map;Wo=new wl}function Gn(r,o){if(!r||bl)return"";{var s=Wo.get(r);if(s!==void 0)return s}var u;bl=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=Ki.current,Ki.current=null,Fu();try{if(o){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(vt){u=vt}Reflect.construct(r,[],k)}else{try{k.call()}catch(vt){u=vt}r.call(k.prototype)}}else{try{throw Error()}catch(vt){u=vt}r()}}catch(vt){if(vt&&u&&typeof vt.stack=="string"){for(var M=vt.stack.split(`
39
+ `&&r.push(Yr),g}var nl=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ao=new Map;function fr(r){var o=Ao.get(r);if(o===void 0){if(!nl.test(r))throw new Error("Invalid tag: "+r);o="<"+r,Ao.set(r,o)}return o}var ol="<!DOCTYPE html>";function vr(r,o,s,u,g){switch(Ur(o,s),So(o,s),ko(o,s,null),!s.suppressContentEditableWarning&&s.contentEditable&&s.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),g.insertionMode!==or&&g.insertionMode!==dn&&o.indexOf("-")===-1&&typeof s.is!="string"&&o.toLowerCase()!==o&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",o),o){case"select":return Ce(r,s,u);case"option":return Ct(r,s,u,g);case"textarea":return Ir(r,s,u);case"input":return Tt(r,s,u);case"menuitem":return gn(r,s,u);case"title":return Fr(r,s,u);case"listing":case"pre":return rl(r,s,o,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 cr(r,s,o,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 Gr(r,s,o,u);case"html":return g.insertionMode===Cr&&r.push(ol),Gr(r,s,o,u);default:return o.indexOf("-")===-1&&typeof s.is!="string"?Gr(r,s,o,u):gr(r,s,o,u)}}var Ri="</",Oo=">";function qe(r,o,s){switch(o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:r.push(Ri,o,Oo)}}function Xr(r,o){for(var s=o.bootstrapChunks,u=0;u<s.length-1;u++)h(r,s[u]);return u<s.length?v(r,s[u]):!0}var Io='<template id="',Qr='"></template>';function Mr(r,o,s){h(r,Io),h(r,o.placeholderPrefix);var u=s.toString(16);return h(r,u),v(r,Qr)}var Fo="<!--$-->",Dr='<!--$?--><template id="',Ht='"></template>',Pi="<!--$!-->",Un="<!--/$-->",Aa="<template",Mo='"',Oa=' data-dgst="',il=' data-msg="',al=' data-stck="',Do="></template>";function Ia(r,o){return v(r,Fo)}function Hn(r,o,s){if(h(r,Dr),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(r,s),v(r,Ht)}function Ai(r,o,s,u,g){var w;return w=v(r,Pi),h(r,Aa),s&&(h(r,Oa),h(r,dt(s)),h(r,Mo)),u&&(h(r,il),h(r,dt(u)),h(r,Mo)),g&&(h(r,al),h(r,dt(g)),h(r,Mo)),w=v(r,Do),w}function sl(r,o){return v(r,Un)}function vn(r,o){return v(r,Un)}function Oi(r,o){return v(r,Un)}var Ii='<div hidden id="',yn='">',Wn="</div>",_o='<svg aria-hidden="true" style="display:none" id="',Fa='">',Ma="</svg>",Da='<math aria-hidden="true" style="display:none" id="',Lo='">',Ot="</math>",_a='<table hidden id="',$o='">',ll="</table>",La='<table hidden><tbody id="',jo='">',$a="</tbody></table>",ja='<table hidden><tr id="',No='">',zo="</tr></table>",Na='<table hidden><colgroup id="',za='">',Ba="</colgroup></table>";function Fi(r,o,s,u){switch(s.insertionMode){case Cr:case Rt:return h(r,Ii),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,yn);case or:return h(r,_o),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,Fa);case dn:return h(r,Da),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,Lo);case Tr:return h(r,_a),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,$o);case Rr:return h(r,La),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,jo);case ir:return h(r,ja),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,No);case Pr:return h(r,Na),h(r,o.segmentPrefix),h(r,u.toString(16)),v(r,za);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function Ua(r,o){switch(o.insertionMode){case Cr:case Rt:return v(r,Wn);case or:return v(r,Ma);case dn:return v(r,Ot);case Tr:return v(r,ll);case Rr:return v(r,$a);case ir:return v(r,zo);case Pr:return v(r,Ba);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var d="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",y='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',S='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',R=d+';$RS("',W='$RS("',B='","',X='")<\/script>';function oe(r,o,s){h(r,o.startInlineScript),o.sentCompleteSegmentFunction?h(r,W):(o.sentCompleteSegmentFunction=!0,h(r,R)),h(r,o.segmentPrefix);var u=s.toString(16);return h(r,u),h(r,B),h(r,o.placeholderPrefix),h(r,u),v(r,X)}var Oe=y+';$RC("',Ne='$RC("',je='","',et='")<\/script>';function It(r,o,s,u){if(h(r,o.startInlineScript),o.sentCompleteBoundaryFunction?h(r,Ne):(o.sentCompleteBoundaryFunction=!0,h(r,Oe)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var g=u.toString(16);return h(r,s),h(r,je),h(r,o.segmentPrefix),h(r,g),v(r,et)}var Wt=S+';$RX("',Vt='$RX("',Bo='"',Ha=")<\/script>",Vn=",";function ff(r,o,s,u,g,w){if(h(r,o.startInlineScript),o.sentClientRenderFunction?h(r,Vt):(o.sentClientRenderFunction=!0,h(r,Wt)),s===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return h(r,s),h(r,Bo),(u||g||w)&&(h(r,Vn),h(r,ul(u||""))),(g||w)&&(h(r,Vn),h(r,ul(g||""))),w&&(h(r,Vn),h(r,ul(w))),v(r,Ha)}var df=/[<\u2028\u2029]/g;function ul(r){var o=JSON.stringify(r);return o.replace(df,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 pf(r,o){var s=fn(o);return{bootstrapChunks:s.bootstrapChunks,startInlineScript:s.startInlineScript,placeholderPrefix:s.placeholderPrefix,segmentPrefix:s.segmentPrefix,boundaryPrefix:s.boundaryPrefix,idPrefix:s.idPrefix,nextSuspenseID:s.nextSuspenseID,sentCompleteSegmentFunction:s.sentCompleteSegmentFunction,sentCompleteBoundaryFunction:s.sentCompleteBoundaryFunction,sentClientRenderFunction:s.sentClientRenderFunction,generateStaticMarkup:r}}function hf(){return{insertionMode:Rt,selectedValue:null}}function Cu(r,o,s,u){return s.generateStaticMarkup?(r.push(dt(o)),!1):Ar(r,o,s,u)}function Tu(r,o,s,u){if(!o.generateStaticMarkup)return pn(r,o,s,u)}function mf(r,o){return o.generateStaticMarkup?!0:Ia(r)}function gf(r,o,s,u,g){return o.generateStaticMarkup?!0:Ai(r,o,s,u,g)}function vf(r,o){return o.generateStaticMarkup?!0:sl(r)}function yf(r,o){return o.generateStaticMarkup?!0:Oi(r)}var Lt=Object.assign,bf=Symbol.for("react.element"),Ru=Symbol.for("react.portal"),Wa=Symbol.for("react.fragment"),Gt=Symbol.for("react.strict_mode"),Pu=Symbol.for("react.profiler"),Va=Symbol.for("react.provider"),Ga=Symbol.for("react.context"),Ya=Symbol.for("react.forward_ref"),Xa=Symbol.for("react.suspense"),Mi=Symbol.for("react.suspense_list"),Di=Symbol.for("react.memo"),Uo=Symbol.for("react.lazy"),cl=Symbol.for("react.scope"),fl=Symbol.for("react.debug_trace_mode"),dl=Symbol.for("react.legacy_hidden"),Qa=Symbol.for("react.default_value"),Au=Symbol.iterator,wf="@@iterator";function xf(r){if(r===null||typeof r!="object")return null;var o=Au&&r[Au]||r[wf];return typeof o=="function"?o:null}function Sf(r,o,s){var u=r.displayName;if(u)return u;var g=o.displayName||o.name||"";return g!==""?s+"("+g+")":s}function pl(r){return r.displayName||"Context"}function it(r){if(r==null)return null;if(typeof r.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Wa:return"Fragment";case Ru:return"Portal";case Pu:return"Profiler";case Gt:return"StrictMode";case Xa:return"Suspense";case Mi:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Ga:var o=r;return pl(o)+".Consumer";case Va:var s=r;return pl(s._context)+".Provider";case Ya:return Sf(r,r.render,"ForwardRef");case Di:var u=r.displayName||null;return u!==null?u:it(r.type)||"Memo";case Uo:{var g=r,w=g._payload,k=g._init;try{return it(k(w))}catch{return null}}}return null}var _i=0,Ou,hl,nt,Ho,ml,gl,vl;function yl(){}yl.__reactDisabledLog=!0;function Iu(){{if(_i===0){Ou=console.log,hl=console.info,nt=console.warn,Ho=console.error,ml=console.group,gl=console.groupCollapsed,vl=console.groupEnd;var r={configurable:!0,enumerable:!0,value:yl,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}_i++}}function Fu(){{if(_i--,_i===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Lt({},r,{value:Ou}),info:Lt({},r,{value:hl}),warn:Lt({},r,{value:nt}),error:Lt({},r,{value:Ho}),group:Lt({},r,{value:ml}),groupCollapsed:Lt({},r,{value:gl}),groupEnd:Lt({},r,{value:vl})})}_i<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var qa=n.ReactCurrentDispatcher,Ka;function Li(r,o,s){{if(Ka===void 0)try{throw Error()}catch(g){var u=g.stack.trim().match(/\n( *(at )?)/);Ka=u&&u[1]||""}return`
40
+ `+Ka+r}}var bl=!1,Wo;{var wl=typeof WeakMap=="function"?WeakMap:Map;Wo=new wl}function Gn(r,o){if(!r||bl)return"";{var s=Wo.get(r);if(s!==void 0)return s}var u;bl=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var w;w=qa.current,qa.current=null,Iu();try{if(o){var k=function(){throw Error()};if(Object.defineProperty(k.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(k,[])}catch(vt){u=vt}Reflect.construct(r,[],k)}else{try{k.call()}catch(vt){u=vt}r.call(k.prototype)}}else{try{throw Error()}catch(vt){u=vt}r()}}catch(vt){if(vt&&u&&typeof vt.stack=="string"){for(var M=vt.stack.split(`
41
41
  `),z=u.stack.split(`
42
42
  `),Q=M.length-1,ee=z.length-1;Q>=1&&ee>=0&&M[Q]!==z[ee];)ee--;for(;Q>=1&&ee>=0;Q--,ee--)if(M[Q]!==z[ee]){if(Q!==1||ee!==1)do if(Q--,ee--,ee<0||M[Q]!==z[ee]){var de=`
43
- `+M[Q].replace(" at new "," at ");return r.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",r.displayName)),typeof r=="function"&&Wo.set(r,de),de}while(Q>=1&&ee>=0);break}}}finally{bl=!1,Ki.current=w,Mu(),Error.prepareStackTrace=g}var Me=r?r.displayName||r.name:"",Xe=Me?La(Me):"";return typeof r=="function"&&Wo.set(r,Xe),Xe}function xl(r,o,s){return Gn(r,!0)}function $a(r,o,s){return Gn(r,!1)}function Ef(r){var o=r.prototype;return!!(o&&o.isReactComponent)}function ja(r,o,s){if(r==null)return"";if(typeof r=="function")return Gn(r,Ef(r));if(typeof r=="string")return La(r);switch(r){case Xi:return La("Suspense");case Ma:return La("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case Yi:return $a(r.render);case Da:return ja(r.type,o,s);case Uo:{var u=r,g=u._payload,w=u._init;try{return ja(w(g),o,s)}catch{}}}return""}var Du={},Sl=n.ReactDebugCurrentFrame;function Zi(r){if(r){var o=r._owner,s=ja(r.type,r._source,o?o.type:null);Sl.setExtraStackFrame(s)}else Sl.setExtraStackFrame(null)}function qi(r,o,s,u,g){{var w=Function.call.bind($);for(var k in r)if(w(r,k)){var M=void 0;try{if(typeof r[k]!="function"){var z=Error((u||"React class")+": "+s+" type `"+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[k]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}M=r[k](o,k,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){M=Q}M&&!(M instanceof Error)&&(Zi(g),i("%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,k,typeof M),Zi(null)),M instanceof Error&&!(M.message in Du)&&(Du[M.message]=!0,Zi(g),i("Failed %s type: %s",s,M.message),Zi(null))}}}var es;es={};var Na={};Object.freeze(Na);function za(r,o){{var s=r.contextTypes;if(!s)return Na;var u={};for(var g in s)u[g]=o[g];{var w=at(r)||"Unknown";qi(s,u,"context",w)}return u}}function _u(r,o,s,u){{if(typeof r.getChildContext!="function"){{var g=at(o)||"Unknown";es[g]||(es[g]=!0,i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return s}var w=r.getChildContext();for(var k in w)if(!(k in u))throw new Error((at(o)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var M=at(o)||"Unknown";qi(u,w,"child context",M)}return Lt({},s,w)}}var Yn;Yn={};var ts=null,bn=null;function kl(r){r.context._currentValue2=r.parentValue}function Xn(r){r.context._currentValue2=r.value}function rs(r,o){if(r!==o){kl(r);var s=r.parent,u=o.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.");rs(s,u)}Xn(o)}}function wn(r){kl(r);var o=r.parent;o!==null&&wn(o)}function ns(r){var o=r.parent;o!==null&&ns(o),Xn(r)}function os(r,o){kl(r);var s=r.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===o.depth?rs(s,o):os(s,o)}function Ba(r,o){var s=o.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");r.depth===s.depth?rs(r,s):Ba(r,s),Xn(o)}function Ua(r){var o=bn,s=r;o!==s&&(o===null?ns(s):s===null?wn(o):o.depth===s.depth?rs(o,s):o.depth>s.depth?os(o,s):Ba(o,s),bn=s)}function Lu(r,o){var s;s=r._currentValue2,r._currentValue2=o,r._currentRenderer2!==void 0&&r._currentRenderer2!==null&&r._currentRenderer2!==Yn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer2=Yn;var u=bn,g={parent:u,depth:u===null?0:u.depth+1,context:r,parentValue:s,value:o};return bn=g,g}function $u(r){var o=bn;if(o===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");o.context!==r&&i("The parent context is not the expected context. This is probably a bug in React.");{var s=o.parentValue;s===Qi?o.context._currentValue2=o.context._defaultValue:o.context._currentValue2=s,r._currentRenderer2!==void 0&&r._currentRenderer2!==null&&r._currentRenderer2!==Yn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer2=Yn}return bn=o.parent}function ju(){return bn}function xn(r){var o=r._currentValue2;return o}function El(r){return r._reactInternals}function Cf(r,o){r._reactInternals=o}var Nu={},Vo={},Ha,Cl,as,is,ss,Go,Wa,Va,ls;{Ha=new Set,Cl=new Set,as=new Set,Wa=new Set,is=new Set,Va=new Set,ls=new Set;var Ga=new Set;Go=function(r,o){if(!(r===null||typeof r=="function")){var s=o+"_"+r;Ga.has(s)||(Ga.add(s),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,r))}},ss=function(r,o){if(o===void 0){var s=at(r)||"Component";is.has(s)||(is.add(s),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function us(r,o){{var s=r.constructor,u=s&&at(s)||"ReactClass",g=u+"."+o;if(Nu[g])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
43
+ `+M[Q].replace(" at new "," at ");return r.displayName&&de.includes("<anonymous>")&&(de=de.replace("<anonymous>",r.displayName)),typeof r=="function"&&Wo.set(r,de),de}while(Q>=1&&ee>=0);break}}}finally{bl=!1,qa.current=w,Fu(),Error.prepareStackTrace=g}var Me=r?r.displayName||r.name:"",Xe=Me?Li(Me):"";return typeof r=="function"&&Wo.set(r,Xe),Xe}function xl(r,o,s){return Gn(r,!0)}function $i(r,o,s){return Gn(r,!1)}function kf(r){var o=r.prototype;return!!(o&&o.isReactComponent)}function ji(r,o,s){if(r==null)return"";if(typeof r=="function")return Gn(r,kf(r));if(typeof r=="string")return Li(r);switch(r){case Xa:return Li("Suspense");case Mi:return Li("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case Ya:return $i(r.render);case Di:return ji(r.type,o,s);case Uo:{var u=r,g=u._payload,w=u._init;try{return ji(w(g),o,s)}catch{}}}return""}var Mu={},Sl=n.ReactDebugCurrentFrame;function Ja(r){if(r){var o=r._owner,s=ji(r.type,r._source,o?o.type:null);Sl.setExtraStackFrame(s)}else Sl.setExtraStackFrame(null)}function Za(r,o,s,u,g){{var w=Function.call.bind($);for(var k in r)if(w(r,k)){var M=void 0;try{if(typeof r[k]!="function"){var z=Error((u||"React class")+": "+s+" type `"+k+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof r[k]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw z.name="Invariant Violation",z}M=r[k](o,k,u,s,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Q){M=Q}M&&!(M instanceof Error)&&(Ja(g),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",u||"React class",s,k,typeof M),Ja(null)),M instanceof Error&&!(M.message in Mu)&&(Mu[M.message]=!0,Ja(g),a("Failed %s type: %s",s,M.message),Ja(null))}}}var es;es={};var Ni={};Object.freeze(Ni);function zi(r,o){{var s=r.contextTypes;if(!s)return Ni;var u={};for(var g in s)u[g]=o[g];{var w=it(r)||"Unknown";Za(s,u,"context",w)}return u}}function Du(r,o,s,u){{if(typeof r.getChildContext!="function"){{var g=it(o)||"Unknown";es[g]||(es[g]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",g,g))}return s}var w=r.getChildContext();for(var k in w)if(!(k in u))throw new Error((it(o)||"Unknown")+'.getChildContext(): key "'+k+'" is not defined in childContextTypes.');{var M=it(o)||"Unknown";Za(u,w,"child context",M)}return Lt({},s,w)}}var Yn;Yn={};var ts=null,bn=null;function kl(r){r.context._currentValue2=r.parentValue}function Xn(r){r.context._currentValue2=r.value}function rs(r,o){if(r!==o){kl(r);var s=r.parent,u=o.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.");rs(s,u)}Xn(o)}}function wn(r){kl(r);var o=r.parent;o!==null&&wn(o)}function ns(r){var o=r.parent;o!==null&&ns(o),Xn(r)}function os(r,o){kl(r);var s=r.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");s.depth===o.depth?rs(s,o):os(s,o)}function Bi(r,o){var s=o.parent;if(s===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");r.depth===s.depth?rs(r,s):Bi(r,s),Xn(o)}function Ui(r){var o=bn,s=r;o!==s&&(o===null?ns(s):s===null?wn(o):o.depth===s.depth?rs(o,s):o.depth>s.depth?os(o,s):Bi(o,s),bn=s)}function _u(r,o){var s;s=r._currentValue2,r._currentValue2=o,r._currentRenderer2!==void 0&&r._currentRenderer2!==null&&r._currentRenderer2!==Yn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer2=Yn;var u=bn,g={parent:u,depth:u===null?0:u.depth+1,context:r,parentValue:s,value:o};return bn=g,g}function Lu(r){var o=bn;if(o===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");o.context!==r&&a("The parent context is not the expected context. This is probably a bug in React.");{var s=o.parentValue;s===Qa?o.context._currentValue2=o.context._defaultValue:o.context._currentValue2=s,r._currentRenderer2!==void 0&&r._currentRenderer2!==null&&r._currentRenderer2!==Yn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),r._currentRenderer2=Yn}return bn=o.parent}function $u(){return bn}function xn(r){var o=r._currentValue2;return o}function El(r){return r._reactInternals}function Ef(r,o){r._reactInternals=o}var ju={},Vo={},Hi,Cl,is,as,ss,Go,Wi,Vi,ls;{Hi=new Set,Cl=new Set,is=new Set,Wi=new Set,as=new Set,Vi=new Set,ls=new Set;var Gi=new Set;Go=function(r,o){if(!(r===null||typeof r=="function")){var s=o+"_"+r;Gi.has(s)||(Gi.add(s),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",o,r))}},ss=function(r,o){if(o===void 0){var s=it(r)||"Component";as.has(s)||(as.add(s),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",s))}}}function us(r,o){{var s=r.constructor,u=s&&it(s)||"ReactClass",g=u+"."+o;if(ju[g])return;a(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
44
44
 
45
- Please check the code for the %s component.`,o,o,u),Nu[g]=!0}}var cs={isMounted:function(r){return!1},enqueueSetState:function(r,o,s){var u=El(r);u.queue===null?us(r,"setState"):(u.queue.push(o),s!=null&&Go(s,"setState"))},enqueueReplaceState:function(r,o,s){var u=El(r);u.replace=!0,u.queue=[o],s!=null&&Go(s,"setState")},enqueueForceUpdate:function(r,o){var s=El(r);s.queue===null?us(r,"forceUpdate"):o!=null&&Go(o,"setState")}};function Tl(r,o,s,u,g){var w=s(g,u);ss(o,w);var k=w==null?u:Lt({},u,w);return k}function zu(r,o,s){var u=Na,g=r.contextType;if("contextType"in r){var w=g===null||g!==void 0&&g.$$typeof===Gi&&g._context===void 0;if(!w&&!ls.has(r)){ls.add(r);var k="";g===void 0?k=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?k=" However, it is set to a "+typeof g+".":g.$$typeof===Vi?k=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?k=" Did you accidentally pass the Context.Consumer instead?":k=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",at(r)||"Component",k)}}typeof g=="object"&&g!==null?u=xn(g):u=s;var M=new r(o,u);{if(typeof r.getDerivedStateFromProps=="function"&&(M.state===null||M.state===void 0)){var z=at(r)||"Component";Ha.has(z)||(Ha.add(z),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",z,M.state===null?"null":"undefined",z))}if(typeof r.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var Q=null,ee=null,de=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?Q="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(Q="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ee="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(ee="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),Q!==null||ee!==null||de!==null){var Me=at(r)||"Component",Xe=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";as.has(Me)||(as.add(Me),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
45
+ Please check the code for the %s component.`,o,o,u),ju[g]=!0}}var cs={isMounted:function(r){return!1},enqueueSetState:function(r,o,s){var u=El(r);u.queue===null?us(r,"setState"):(u.queue.push(o),s!=null&&Go(s,"setState"))},enqueueReplaceState:function(r,o,s){var u=El(r);u.replace=!0,u.queue=[o],s!=null&&Go(s,"setState")},enqueueForceUpdate:function(r,o){var s=El(r);s.queue===null?us(r,"forceUpdate"):o!=null&&Go(o,"setState")}};function Tl(r,o,s,u,g){var w=s(g,u);ss(o,w);var k=w==null?u:Lt({},u,w);return k}function Nu(r,o,s){var u=Ni,g=r.contextType;if("contextType"in r){var w=g===null||g!==void 0&&g.$$typeof===Ga&&g._context===void 0;if(!w&&!ls.has(r)){ls.add(r);var k="";g===void 0?k=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof g!="object"?k=" However, it is set to a "+typeof g+".":g.$$typeof===Va?k=" Did you accidentally pass the Context.Provider instead?":g._context!==void 0?k=" Did you accidentally pass the Context.Consumer instead?":k=" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",it(r)||"Component",k)}}typeof g=="object"&&g!==null?u=xn(g):u=s;var M=new r(o,u);{if(typeof r.getDerivedStateFromProps=="function"&&(M.state===null||M.state===void 0)){var z=it(r)||"Component";Hi.has(z)||(Hi.add(z),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",z,M.state===null?"null":"undefined",z))}if(typeof r.getDerivedStateFromProps=="function"||typeof M.getSnapshotBeforeUpdate=="function"){var Q=null,ee=null,de=null;if(typeof M.componentWillMount=="function"&&M.componentWillMount.__suppressDeprecationWarning!==!0?Q="componentWillMount":typeof M.UNSAFE_componentWillMount=="function"&&(Q="UNSAFE_componentWillMount"),typeof M.componentWillReceiveProps=="function"&&M.componentWillReceiveProps.__suppressDeprecationWarning!==!0?ee="componentWillReceiveProps":typeof M.UNSAFE_componentWillReceiveProps=="function"&&(ee="UNSAFE_componentWillReceiveProps"),typeof M.componentWillUpdate=="function"&&M.componentWillUpdate.__suppressDeprecationWarning!==!0?de="componentWillUpdate":typeof M.UNSAFE_componentWillUpdate=="function"&&(de="UNSAFE_componentWillUpdate"),Q!==null||ee!==null||de!==null){var Me=it(r)||"Component",Xe=typeof r.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";is.has(Me)||(is.add(Me),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
46
46
 
47
47
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
48
48
 
@@ -50,20 +50,20 @@ The above lifecycles should be removed. Learn more about this warning here:
50
50
  https://reactjs.org/link/unsafe-component-lifecycles`,Me,Xe,Q!==null?`
51
51
  `+Q:"",ee!==null?`
52
52
  `+ee:"",de!==null?`
53
- `+de:""))}}}return M}function Bu(r,o,s){{var u=at(o)||"Component",g=r.render;g||(o.prototype&&typeof o.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):i("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),r.getInitialState&&!r.getInitialState.isReactClassApproved&&!r.state&&i("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),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&i("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),r.propTypes&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),r.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),r.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),o.contextType&&o.contextTypes&&!Va.has(o)&&(Va.add(o),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof r.componentShouldUpdate=="function"&&i("%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),o.prototype&&o.prototype.isPureReactComponent&&typeof r.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",at(o)||"A pure component"),typeof r.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof r.componentDidReceiveProps=="function"&&i("%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 r.componentWillRecieveProps=="function"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof r.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var w=r.props!==s;r.props!==void 0&&w&&i("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),r.defaultProps&&i("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 r.getSnapshotBeforeUpdate=="function"&&typeof r.componentDidUpdate!="function"&&!Cl.has(o)&&(Cl.add(o),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",at(o))),typeof r.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof r.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var k=r.state;k&&(typeof k!="object"||nr(k))&&i("%s.state: must be set to an object or null",u),typeof r.getChildContext=="function"&&typeof o.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Uu(r,o){var s=o.state;if(typeof o.componentWillMount=="function"){if(o.componentWillMount.__suppressDeprecationWarning!==!0){var u=at(r)||"Unknown";Vo[u]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
53
+ `+de:""))}}}return M}function zu(r,o,s){{var u=it(o)||"Component",g=r.render;g||(o.prototype&&typeof o.prototype.render=="function"?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",u):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",u)),r.getInitialState&&!r.getInitialState.isReactClassApproved&&!r.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),r.getDefaultProps&&!r.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),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",u),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",u),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",u),o.contextType&&o.contextTypes&&!Vi.has(o)&&(Vi.add(o),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",u)),typeof r.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),o.prototype&&o.prototype.isPureReactComponent&&typeof r.shouldComponentUpdate<"u"&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",it(o)||"A pure component"),typeof r.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",u),typeof r.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 r.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",u),typeof r.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",u);var w=r.props!==s;r.props!==void 0&&w&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",u,u),r.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 r.getSnapshotBeforeUpdate=="function"&&typeof r.componentDidUpdate!="function"&&!Cl.has(o)&&(Cl.add(o),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",it(o))),typeof r.getDerivedStateFromProps=="function"&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof r.getDerivedStateFromError=="function"&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",u),typeof o.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",u);var k=r.state;k&&(typeof k!="object"||nr(k))&&a("%s.state: must be set to an object or null",u),typeof r.getChildContext=="function"&&typeof o.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",u)}}function Bu(r,o){var s=o.state;if(typeof o.componentWillMount=="function"){if(o.componentWillMount.__suppressDeprecationWarning!==!0){var u=it(r)||"Unknown";Vo[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),Vo[u]=!0)}o.componentWillMount()}typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",at(r)||"Component"),cs.enqueueReplaceState(o,o.state,null))}function Tf(r,o,s,u){if(r.queue!==null&&r.queue.length>0){var g=r.queue,w=r.replace;if(r.queue=null,r.replace=!1,w&&g.length===1)o.state=g[0];else{for(var k=w?g[0]:o.state,M=!0,z=w?1:0;z<g.length;z++){var Q=g[z],ee=typeof Q=="function"?Q.call(o,k,s,u):Q;ee!=null&&(M?(M=!1,k=Lt({},k,ee)):Lt(k,ee))}o.state=k}}else r.queue=null}function Hu(r,o,s,u){Bu(r,o,s);var g=r.state!==void 0?r.state:null;r.updater=cs,r.props=s,r.state=g;var w={queue:[],replace:!1};Cf(r,w);var k=o.contextType;if(typeof k=="object"&&k!==null?r.context=xn(k):r.context=u,r.state===s){var M=at(o)||"Component";Wa.has(M)||(Wa.add(M),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",M))}var z=o.getDerivedStateFromProps;typeof z=="function"&&(r.state=Tl(r,o,z,g,s)),typeof o.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(Uu(o,r),Tf(w,r,s,u))}var Rf={id:1,overflow:""};function Pf(r){var o=r.overflow,s=r.id,u=s&~Af(s);return u.toString(32)+o}function Rl(r,o,s){var u=r.id,g=r.overflow,w=Ya(u)-1,k=u&~(1<<w),M=s+1,z=Ya(o)+w;if(z>30){var Q=w-w%5,ee=(1<<Q)-1,de=(k&ee).toString(32),Me=k>>Q,Xe=w-Q,vt=Ya(o)+Xe,to=M<<Xe,ro=to|Me,en=de+g;return{id:1<<vt|ro,overflow:en}}else{var qo=M<<w,sd=qo|k,$y=g;return{id:1<<z|sd,overflow:$y}}}function Ya(r){return 32-Of(r)}function Af(r){return 1<<Ya(r)-1}var Of=Math.clz32?Math.clz32:If,Pl=Math.log,fs=Math.LN2;function If(r){var o=r>>>0;return o===0?32:31-(Pl(o)/fs|0)|0}function Ff(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}var Mf=typeof Object.is=="function"?Object.is:Ff,Kr=null,Al=null,ds=null,rt=null,Yt=!1,Yo=!1,Qn=0,Ge=null,Sn=0,ps=25,Xt=!1,Qt;function _r(){if(Kr===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:
57
+ Please update the following components: %s`,u),Vo[u]=!0)}o.componentWillMount()}typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),s!==o.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",it(r)||"Component"),cs.enqueueReplaceState(o,o.state,null))}function Cf(r,o,s,u){if(r.queue!==null&&r.queue.length>0){var g=r.queue,w=r.replace;if(r.queue=null,r.replace=!1,w&&g.length===1)o.state=g[0];else{for(var k=w?g[0]:o.state,M=!0,z=w?1:0;z<g.length;z++){var Q=g[z],ee=typeof Q=="function"?Q.call(o,k,s,u):Q;ee!=null&&(M?(M=!1,k=Lt({},k,ee)):Lt(k,ee))}o.state=k}}else r.queue=null}function Uu(r,o,s,u){zu(r,o,s);var g=r.state!==void 0?r.state:null;r.updater=cs,r.props=s,r.state=g;var w={queue:[],replace:!1};Ef(r,w);var k=o.contextType;if(typeof k=="object"&&k!==null?r.context=xn(k):r.context=u,r.state===s){var M=it(o)||"Component";Wi.has(M)||(Wi.add(M),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",M))}var z=o.getDerivedStateFromProps;typeof z=="function"&&(r.state=Tl(r,o,z,g,s)),typeof o.getDerivedStateFromProps!="function"&&typeof r.getSnapshotBeforeUpdate!="function"&&(typeof r.UNSAFE_componentWillMount=="function"||typeof r.componentWillMount=="function")&&(Bu(o,r),Cf(w,r,s,u))}var Tf={id:1,overflow:""};function Rf(r){var o=r.overflow,s=r.id,u=s&~Pf(s);return u.toString(32)+o}function Rl(r,o,s){var u=r.id,g=r.overflow,w=Yi(u)-1,k=u&~(1<<w),M=s+1,z=Yi(o)+w;if(z>30){var Q=w-w%5,ee=(1<<Q)-1,de=(k&ee).toString(32),Me=k>>Q,Xe=w-Q,vt=Yi(o)+Xe,to=M<<Xe,ro=to|Me,en=de+g;return{id:1<<vt|ro,overflow:en}}else{var Zo=M<<w,ad=Zo|k,jy=g;return{id:1<<z|ad,overflow:jy}}}function Yi(r){return 32-Af(r)}function Pf(r){return 1<<Yi(r)-1}var Af=Math.clz32?Math.clz32:Of,Pl=Math.log,fs=Math.LN2;function Of(r){var o=r>>>0;return o===0?32:31-(Pl(o)/fs|0)|0}function If(r,o){return r===o&&(r!==0||1/r===1/o)||r!==r&&o!==o}var Ff=typeof Object.is=="function"?Object.is:If,qr=null,Al=null,ds=null,rt=null,Yt=!1,Yo=!1,Qn=0,Ge=null,Sn=0,ps=25,Xt=!1,Qt;function _r(){if(qr===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
58
58
  1. You might have mismatching versions of React and the renderer (such as React DOM)
59
59
  2. You might be breaking the Rules of Hooks
60
60
  3. You might have more than one copy of React in the same app
61
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xt&&i("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"),Kr}function Df(r,o){if(o===null)return i("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Qt),!1;r.length!==o.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
61
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return Xt&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),qr}function Mf(r,o){if(o===null)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Qt),!1;r.length!==o.length&&a(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
62
62
 
63
63
  Previous: %s
64
- Incoming: %s`,Qt,"["+r.join(", ")+"]","["+o.join(", ")+"]");for(var s=0;s<o.length&&s<r.length;s++)if(!Mf(r[s],o[s]))return!1;return!0}function yr(){if(Sn>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function kn(){return rt===null?ds===null?(Yt=!1,ds=rt=yr()):(Yt=!0,rt=ds):rt.next===null?(Yt=!1,rt=rt.next=yr()):(Yt=!0,rt=rt.next),rt}function Kn(r,o){Kr=o,Al=r,Xt=!1,Qn=0}function _f(r,o,s,u){for(;Yo;)Yo=!1,Qn=0,Sn+=1,rt=null,s=r(o,u);return Xa(),s}function Ol(){var r=Qn!==0;return r}function Xa(){Xt=!1,Kr=null,Al=null,Yo=!1,ds=null,Sn=0,Ge=null,rt=null}function Lf(r){return Xt&&i("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()."),xn(r)}function $f(r){return Qt="useContext",_r(),xn(r)}function hs(r,o){return typeof o=="function"?o(r):o}function Il(r){return Qt="useState",Wu(hs,r)}function Wu(r,o,s){if(r!==hs&&(Qt="useReducer"),Kr=_r(),rt=kn(),Yt){var u=rt.queue,g=u.dispatch;if(Ge!==null){var w=Ge.get(u);if(w!==void 0){Ge.delete(u);var k=rt.memoizedState,M=w;do{var z=M.action;Xt=!0,k=r(k,z),Xt=!1,M=M.next}while(M!==null);return rt.memoizedState=k,[k,g]}}return[rt.memoizedState,g]}else{Xt=!0;var Q;r===hs?Q=typeof o=="function"?o():o:Q=s!==void 0?s(o):o,Xt=!1,rt.memoizedState=Q;var ee=rt.queue={last:null,dispatch:null},de=ee.dispatch=Gu.bind(null,Kr,ee);return[rt.memoizedState,de]}}function Vu(r,o){Kr=_r(),rt=kn();var s=o===void 0?null:o;if(rt!==null){var u=rt.memoizedState;if(u!==null&&s!==null){var g=u[1];if(Df(s,g))return u[0]}}Xt=!0;var w=r();return Xt=!1,rt.memoizedState=[w,s],w}function Fl(r){Kr=_r(),rt=kn();var o=rt.memoizedState;if(o===null){var s={current:r};return Object.seal(s),rt.memoizedState=s,s}else return o}function jf(r,o){Qt="useLayoutEffect",i("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 Gu(r,o,s){if(Sn>=ps)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r===Kr){Yo=!0;var u={action:s,next:null};Ge===null&&(Ge=new Map);var g=Ge.get(o);if(g===void 0)Ge.set(o,u);else{for(var w=g;w.next!==null;)w=w.next;w.next=u}}}function Yu(r,o){return Vu(function(){return r},o)}function Nf(r,o,s){return _r(),o(r._source)}function zf(r,o,s){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return s()}function Bf(r){return _r(),r}function Uf(){throw new Error("startTransition cannot be called during server rendering.")}function Hf(){return _r(),[!1,Uf]}function Wf(){var r=Al,o=Pf(r.treeContext),s=Ml;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var u=Qn++;return ut(s,o,u)}function ms(){}var Xu={readContext:Lf,useContext:$f,useMemo:Vu,useReducer:Wu,useRef:Fl,useState:Il,useInsertionEffect:ms,useLayoutEffect:jf,useCallback:Yu,useImperativeHandle:ms,useEffect:ms,useDebugValue:ms,useDeferredValue:Bf,useTransition:Hf,useId:Wf,useMutableSource:Nf,useSyncExternalStore:zf},Ml=null;function Qu(r){Ml=r}function gs(r){try{var o="",s=r;do{switch(s.tag){case 0:o+=La(s.type,null,null);break;case 1:o+=$a(s.type,null,null);break;case 2:o+=xl(s.type,null,null);break}s=s.parent}while(s);return o}catch(u){return`
64
+ Incoming: %s`,Qt,"["+r.join(", ")+"]","["+o.join(", ")+"]");for(var s=0;s<o.length&&s<r.length;s++)if(!Ff(r[s],o[s]))return!1;return!0}function yr(){if(Sn>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function kn(){return rt===null?ds===null?(Yt=!1,ds=rt=yr()):(Yt=!0,rt=ds):rt.next===null?(Yt=!1,rt=rt.next=yr()):(Yt=!0,rt=rt.next),rt}function qn(r,o){qr=o,Al=r,Xt=!1,Qn=0}function Df(r,o,s,u){for(;Yo;)Yo=!1,Qn=0,Sn+=1,rt=null,s=r(o,u);return Xi(),s}function Ol(){var r=Qn!==0;return r}function Xi(){Xt=!1,qr=null,Al=null,Yo=!1,ds=null,Sn=0,Ge=null,rt=null}function _f(r){return Xt&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),xn(r)}function Lf(r){return Qt="useContext",_r(),xn(r)}function hs(r,o){return typeof o=="function"?o(r):o}function Il(r){return Qt="useState",Hu(hs,r)}function Hu(r,o,s){if(r!==hs&&(Qt="useReducer"),qr=_r(),rt=kn(),Yt){var u=rt.queue,g=u.dispatch;if(Ge!==null){var w=Ge.get(u);if(w!==void 0){Ge.delete(u);var k=rt.memoizedState,M=w;do{var z=M.action;Xt=!0,k=r(k,z),Xt=!1,M=M.next}while(M!==null);return rt.memoizedState=k,[k,g]}}return[rt.memoizedState,g]}else{Xt=!0;var Q;r===hs?Q=typeof o=="function"?o():o:Q=s!==void 0?s(o):o,Xt=!1,rt.memoizedState=Q;var ee=rt.queue={last:null,dispatch:null},de=ee.dispatch=Vu.bind(null,qr,ee);return[rt.memoizedState,de]}}function Wu(r,o){qr=_r(),rt=kn();var s=o===void 0?null:o;if(rt!==null){var u=rt.memoizedState;if(u!==null&&s!==null){var g=u[1];if(Mf(s,g))return u[0]}}Xt=!0;var w=r();return Xt=!1,rt.memoizedState=[w,s],w}function Fl(r){qr=_r(),rt=kn();var o=rt.memoizedState;if(o===null){var s={current:r};return Object.seal(s),rt.memoizedState=s,s}else return o}function $f(r,o){Qt="useLayoutEffect",a("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Vu(r,o,s){if(Sn>=ps)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(r===qr){Yo=!0;var u={action:s,next:null};Ge===null&&(Ge=new Map);var g=Ge.get(o);if(g===void 0)Ge.set(o,u);else{for(var w=g;w.next!==null;)w=w.next;w.next=u}}}function Gu(r,o){return Wu(function(){return r},o)}function jf(r,o,s){return _r(),o(r._source)}function Nf(r,o,s){if(s===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return s()}function zf(r){return _r(),r}function Bf(){throw new Error("startTransition cannot be called during server rendering.")}function Uf(){return _r(),[!1,Bf]}function Hf(){var r=Al,o=Rf(r.treeContext),s=Ml;if(s===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var u=Qn++;return ut(s,o,u)}function ms(){}var Yu={readContext:_f,useContext:Lf,useMemo:Wu,useReducer:Hu,useRef:Fl,useState:Il,useInsertionEffect:ms,useLayoutEffect:$f,useCallback:Gu,useImperativeHandle:ms,useEffect:ms,useDebugValue:ms,useDeferredValue:zf,useTransition:Uf,useId:Hf,useMutableSource:jf,useSyncExternalStore:Nf},Ml=null;function Xu(r){Ml=r}function gs(r){try{var o="",s=r;do{switch(s.tag){case 0:o+=Li(s.type,null,null);break;case 1:o+=$i(s.type,null,null);break;case 2:o+=xl(s.type,null,null);break}s=s.parent}while(s);return o}catch(u){return`
65
65
  Error generating stack: `+u.message+`
66
- `+u.stack}}var vs=n.ReactCurrentDispatcher,Qa=n.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,Dl=1,Jn=2,Ku=12800;function Vf(r){return console.error(r),null}function Ko(){}function Jo(r,o,s,u,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:u===void 0?Ku:u,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Vf:g,onAllReady:Ko,onShellReady:k===void 0?Ko:k,onShellError:Ko,onFatalError:Ko},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Zn(de,r,null,Me,ee,Na,ts,Rf);return Q.push(Xe),de}function Gf(r,o){var s=r.pingedTasks;s.push(o),s.length===1&&p(function(){return Wl(r)})}function Yf(r,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Zn(r,o,s,u,g,w,k,M){r.allPendingTasks++,s===null?r.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Gf(r,z)},blockedBoundary:s,blockedSegment:u,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(r,o,s,u,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:g,textEmbedded:w}}var Jr=null;function _l(){return Jr===null||Jr.componentStack===null?"":gs(Jr.componentStack)}function qn(r,o){r.componentStack={tag:0,parent:r.componentStack,type:o}}function Ka(r,o){r.componentStack={tag:1,parent:r.componentStack,type:o}}function Zr(r,o){r.componentStack={tag:2,parent:r.componentStack,type:o}}function Lr(r){r.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):r.componentStack=r.componentStack.parent}var qr=null;function ks(r,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var u=qr||_l();qr=null,r.errorMessage=s,r.errorComponentStack=u}}function Ja(r,o){var s=r.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function br(r,o){var s=r.onShellError;s(o);var u=r.onFatalError;u(o),r.destination!==null?(r.status=Jn,L(r.destination,o)):(r.status=Dl,r.fatalError=o)}function Za(r,o,s){qn(o,"Suspense");var u=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Yf(r,M),Q=g.chunks.length,ee=Ss(r,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(r,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(r,o,k),Ru(de.chunks,r.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Zo(z,de),z.pendingTasks===0){Lr(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ja(r,Xe),ks(z,Xe)}finally{o.blockedBoundary=u,o.blockedSegment=g}var Me=Zn(r,w,u,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,r.pingedTasks.push(Me),Lr(o)}function Ll(r,o,s,u){qn(o,s);var g=o.blockedSegment,w=vr(g.chunks,s,u,r.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,u),Ft(r,o,w),g.formatContext=k,Ke(g.chunks,s),g.lastPushedText=!1,Lr(o)}function qa(r){return r.prototype&&r.prototype.isReactComponent}function ei(r,o,s,u,g){var w={};Kn(o,w);var k=s(u,g);return _f(s,u,k,g)}function Ju(r,o,s,u,g){var w=s.render();s.props!==g&&(jl||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",at(u)||"a component"),jl=!0);{var k=u.childContextTypes;if(k!=null){var M=o.legacyContext,z=_u(s,u,M,k);o.legacyContext=z,Kt(r,o,w),o.legacyContext=M;return}}Kt(r,o,w)}function Xf(r,o,s,u){Zr(o,s);var g=za(s,o.legacyContext),w=zu(s,u,g);Hu(w,s,u,g),Ju(r,o,w,s,u),Lr(o)}var Zu={},ti={},$l={},qu={},jl=!1,ri={},Nl=!1,zl=!1,Bl=!1;function ec(r,o,s,u){var g;if(g=za(s,o.legacyContext),Ka(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=at(s)||"Unknown";Zu[w]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Zu[w]=!0)}var k=ei(r,o,s,u,g),M=Ol();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=at(s)||"Unknown";ti[z]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ti[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=at(s)||"Unknown";ti[Q]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ti[Q]=!0)}Hu(k,s,u,g),Ju(r,o,k,s,u)}else if(tc(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Rl(ee,de,Me);try{Kt(r,o,k)}finally{o.treeContext=ee}}else Kt(r,o,k);Lr(o)}function tc(r){{if(r&&r.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",r.displayName||r.name||"Component"),r.defaultProps!==void 0){var o=at(r)||"Unknown";ri[o]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),ri[o]=!0)}if(typeof r.getDerivedStateFromProps=="function"){var s=at(r)||"Unknown";qu[s]||(i("%s: Function components do not support getDerivedStateFromProps.",s),qu[s]=!0)}if(typeof r.contextType=="object"&&r.contextType!==null){var u=at(r)||"Unknown";$l[u]||(i("%s: Function components do not support contextType.",u),$l[u]=!0)}}}function Ul(r,o){if(r&&r.defaultProps){var s=Lt({},o),u=r.defaultProps;for(var g in u)s[g]===void 0&&(s[g]=u[g]);return s}return o}function rc(r,o,s,u,g){Ka(o,s.render);var w=ei(r,o,s.render,u,g),k=Ol();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Rl(M,z,Q);try{Kt(r,o,w)}finally{o.treeContext=M}}else Kt(r,o,w);Lr(o)}function Qf(r,o,s,u,g){var w=s.type,k=Ul(w,u);Hl(r,o,w,k,g)}function Kf(r,o,s,u){s._context===void 0?s!==s.Consumer&&(Bl||(Bl=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=u.children;typeof g!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xn(s),k=g(w);Kt(r,o,k)}function nc(r,o,s,u){var g=s._context,w=u.value,k=u.children,M;M=o.context,o.context=Lu(g,w),Kt(r,o,k),o.context=$u(g),M!==o.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jf(r,o,s,u,g){qn(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Ul(M,u);Hl(r,o,M,z,g),Lr(o)}function Hl(r,o,s,u,g){if(typeof s=="function")if(qa(s)){Xf(r,o,s,u);return}else{ec(r,o,s,u);return}if(typeof s=="string"){Ll(r,o,s,u);return}switch(s){case dl:case fl:case Gt:case Au:case Wi:{Kt(r,o,u.children);return}case Ma:{qn(o,"SuspenseList"),Kt(r,o,u.children),Lr(o);return}case cl:throw new Error("ReactDOMServer does not yet support scope components.");case Xi:{Za(r,o,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Yi:{rc(r,o,s,u,g);return}case Da:{Qf(r,o,s,u,g);return}case Vi:{nc(r,o,s,u);return}case Gi:{Kf(r,o,s,u);return}case Uo:{Jf(r,o,s,u);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Zf(r,o){typeof Symbol=="function"&&r[Symbol.toStringTag]==="Generator"&&(Nl||i("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Nl=!0),r.entries===o&&(zl||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zl=!0)}function Kt(r,o,s){try{return qf(r,o,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(qr=qr!==null?qr:_l()),u}}function qf(r,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case wf:{var u=s,g=u.type,w=u.props,k=u.ref;Hl(r,o,g,w,k);return}case Pu:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(qo){throw typeof qo=="object"&&qo!==null&&typeof qo.then=="function"&&qn(o,"Lazy"),qo}Kt(r,o,ee);return}}if(nr(s)){Es(r,o,s);return}var de=Sf(s);if(de){Zf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(r,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var ro=o.blockedSegment;ro.lastPushedText=Tu(o.blockedSegment.chunks,s,r.responseState,ro.lastPushedText);return}if(typeof s=="number"){var en=o.blockedSegment;en.lastPushedText=Tu(o.blockedSegment.chunks,""+s,r.responseState,en.lastPushedText);return}typeof s=="function"&&i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(r,o,s){for(var u=s.length,g=0;g<u;g++){var w=o.treeContext;o.treeContext=Rl(w,u,g);try{Ft(r,o,s[g])}finally{o.treeContext=w}}}function ed(r,o,s){var u=o.blockedSegment,g=u.chunks.length,w=Ss(r,g,null,u.formatContext,u.lastPushedText,!0);u.children.push(w),u.lastPushedText=!1;var k=Zn(r,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(r,o,s){var u=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return Kt(r,o,s)}catch(M){if(Xa(),typeof M=="object"&&M!==null&&typeof M.then=="function"){ed(r,o,M),o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ua(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ua(w),o.componentStack=k,M}}function td(r,o,s,u){var g=Ja(r,u);if(o===null?br(r,u):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,u),o.parentFlushed&&r.clientRenderedBoundaries.push(o))),r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function oc(r){var o=this,s=r.blockedBoundary,u=r.blockedSegment;u.status=ws,ic(o,s,u)}function ac(r,o,s){var u=r.blockedBoundary,g=r.blockedSegment;if(g.status=ws,u===null)o.allPendingTasks--,o.status!==Jn&&(o.status=Jn,o.destination!==null&&x(o.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Jr;Jr=r;try{ks(u,w)}finally{Jr=M}}u.parentFlushed&&o.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(Q){return ac(Q,o,s)}),u.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Zo(r,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Zo(r,s)}else{var u=r.completedSegments;u.push(o)}}function ic(r,o,s){if(o===null){if(s.parentFlushed){if(r.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");r.completedRootSegment=s}if(r.pendingRootTasks--,r.pendingRootTasks===0){r.onShellError=Ko;var u=r.onShellReady;u()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Zo(o,s),o.parentFlushed&&r.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(oc,r),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Zo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&r.partialBoundaries.push(o)}}if(r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function rd(r,o){var s=o.blockedSegment;if(s.status===ys){Ua(o.context);var u=null;u=Jr,Jr=o;try{Kt(r,o,o.node),Ru(s.chunks,r.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,ic(r,o.blockedBoundary,s)}catch(w){if(Xa(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,td(r,o.blockedBoundary,s,w)}finally{Jr=u}}}function Wl(r){if(r.status!==Jn){var o=ju(),s=vs.current;vs.current=Xu;var u;u=Qa.getCurrentStack,Qa.getCurrentStack=_l;var g=Ml;Qu(r.responseState);try{var w=r.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];rd(r,M)}w.splice(0,k),r.destination!==null&&Ts(r,r.destination)}catch(z){Ja(r,z),br(r,z)}finally{Qu(g),vs.current=s,Qa.getCurrentStack=u,s===Xu&&Ua(o)}}}function eo(r,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var u=s.id=r.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Mr(o,r.responseState,u)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=ni(r,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function ni(r,o,s){var u=s.boundary;if(u===null)return eo(r,o,s);if(u.parentFlushed=!0,u.forceClientRender)return vf(o,r.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),eo(r,o,s),bf(o,r.responseState);if(u.pendingTasks>0){u.rootSegmentID=r.nextSegmentId++,u.completedSegments.length>0&&r.partialBoundaries.push(u);var g=u.id=mr(r.responseState);return Hn(o,r.responseState,g),eo(r,o,s),vn(o,r.responseState)}else{if(u.byteSize>r.progressiveChunkSize)return u.rootSegmentID=r.nextSegmentId++,r.completedBoundaries.push(u),Hn(o,r.responseState,u.id),eo(r,o,s),vn(o,r.responseState);gf(o,r.responseState);var w=u.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return ni(r,o,k),yf(o,r.responseState)}}function nd(r,o,s){return df(o,r.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Vl(r,o,s){return Fa(o,r.responseState,s.formatContext,s.id),ni(r,o,s),Ui(o,s.formatContext)}function oi(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];sc(r,o,s,w)}return u.length=0,It(o,r.responseState,s.id,s.rootSegmentID)}function Cs(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];if(!sc(r,o,s,w))return g++,u.splice(0,g),!1}return u.splice(0,g),!0}function sc(r,o,s,u){if(u.status===bs)return!0;var g=u.id;if(g===-1){var w=u.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Vl(r,o,u)}else return Vl(r,o,u),oe(o,r.responseState,g)}function Ts(r,o){try{var s=r.completedRootSegment;s!==null&&r.pendingRootTasks===0&&(ni(r,o,s),r.completedRootSegment=null,Xr(o,r.responseState));var u=r.clientRenderedBoundaries,g;for(g=0;g<u.length;g++){var w=u[g];if(!nd(r,o,w)){r.destination=null,g++,u.splice(0,g);return}}u.splice(0,g);var k=r.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oi(r,o,M)){r.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=r.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(r,o,Q)){r.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=r.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oi(r,o,de)){r.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{r.allPendingTasks===0&&r.pingedTasks.length===0&&r.clientRenderedBoundaries.length===0&&r.completedBoundaries.length===0&&(r.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function lc(r){p(function(){return Wl(r)})}function od(r,o){if(r.status===Dl){r.status=Jn,L(o,r.fatalError);return}if(r.status!==Jn&&r.destination===null){r.destination=o;try{Ts(r,o)}catch(s){Ja(r,s),br(r,s)}}}function uc(r,o){try{var s=r.abortableTasks;s.forEach(function(u){return ac(u,r,o)}),s.clear(),r.destination!==null&&Ts(r,r.destination)}catch(u){Ja(r,u),br(r,u)}}function Gl(){}function cc(r,o,s,u){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Jo(r,hf(s,o?o.identifierPrefix:void 0),mf(),1/0,Gl,void 0,Q);if(lc(ee),uc(ee,u),od(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function ad(r,o){return cc(r,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function fc(r,o){return cc(r,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function id(){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.")}ii.renderToNodeStream=id,ii.renderToStaticMarkup=fc,ii.renderToStaticNodeStream=l,ii.renderToString=ad,ii.version=t}()),ii}var hc={};/**
66
+ `+u.stack}}var vs=n.ReactCurrentDispatcher,Qi=n.ReactDebugCurrentFrame,ys=0,Xo=1,bs=2,ws=3,xs=4,Qo=0,Dl=1,Kn=2,Qu=12800;function Wf(r){return console.error(r),null}function qo(){}function Ko(r,o,s,u,g,w,k,M,z){var Q=[],ee=new Set,de={destination:null,responseState:o,progressiveChunkSize:u===void 0?Qu:u,status:Qo,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ee,pingedTasks:Q,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:g===void 0?Wf:g,onAllReady:qo,onShellReady:k===void 0?qo:k,onShellError:qo,onFatalError:qo},Me=Ss(de,0,null,s,!1,!1);Me.parentFlushed=!0;var Xe=Jn(de,r,null,Me,ee,Ni,ts,Tf);return Q.push(Xe),de}function Vf(r,o){var s=r.pingedTasks;s.push(o),s.length===1&&p(function(){return Wl(r)})}function Gf(r,o){return{id:Po,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:o,errorDigest:null}}function Jn(r,o,s,u,g,w,k,M){r.allPendingTasks++,s===null?r.pendingRootTasks++:s.pendingTasks++;var z={node:o,ping:function(){return Vf(r,z)},blockedBoundary:s,blockedSegment:u,abortSet:g,legacyContext:w,context:k,treeContext:M};return z.componentStack=null,g.add(z),z}function Ss(r,o,s,u,g,w){return{status:ys,id:-1,index:o,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:s,lastPushedText:g,textEmbedded:w}}var Kr=null;function _l(){return Kr===null||Kr.componentStack===null?"":gs(Kr.componentStack)}function Zn(r,o){r.componentStack={tag:0,parent:r.componentStack,type:o}}function qi(r,o){r.componentStack={tag:1,parent:r.componentStack,type:o}}function Jr(r,o){r.componentStack={tag:2,parent:r.componentStack,type:o}}function Lr(r){r.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):r.componentStack=r.componentStack.parent}var Zr=null;function ks(r,o){{var s;typeof o=="string"?s=o:o&&typeof o.message=="string"?s=o.message:s=String(o);var u=Zr||_l();Zr=null,r.errorMessage=s,r.errorComponentStack=u}}function Ki(r,o){var s=r.onError(o);if(s!=null&&typeof s!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof s+'" instead');return s}function br(r,o){var s=r.onShellError;s(o);var u=r.onFatalError;u(o),r.destination!==null?(r.status=Kn,L(r.destination,o)):(r.status=Dl,r.fatalError=o)}function Ji(r,o,s){Zn(o,"Suspense");var u=o.blockedBoundary,g=o.blockedSegment,w=s.fallback,k=s.children,M=new Set,z=Gf(r,M),Q=g.chunks.length,ee=Ss(r,Q,z,g.formatContext,!1,!1);g.children.push(ee),g.lastPushedText=!1;var de=Ss(r,0,null,g.formatContext,!1,!1);de.parentFlushed=!0,o.blockedBoundary=z,o.blockedSegment=de;try{if(Ft(r,o,k),Tu(de.chunks,r.responseState,de.lastPushedText,de.textEmbedded),de.status=Xo,Jo(z,de),z.pendingTasks===0){Lr(o);return}}catch(Xe){de.status=xs,z.forceClientRender=!0,z.errorDigest=Ki(r,Xe),ks(z,Xe)}finally{o.blockedBoundary=u,o.blockedSegment=g}var Me=Jn(r,w,u,ee,M,o.legacyContext,o.context,o.treeContext);Me.componentStack=o.componentStack,r.pingedTasks.push(Me),Lr(o)}function Ll(r,o,s,u){Zn(o,s);var g=o.blockedSegment,w=vr(g.chunks,s,u,r.responseState,g.formatContext);g.lastPushedText=!1;var k=g.formatContext;g.formatContext=Ro(k,s,u),Ft(r,o,w),g.formatContext=k,qe(g.chunks,s),g.lastPushedText=!1,Lr(o)}function Zi(r){return r.prototype&&r.prototype.isReactComponent}function ea(r,o,s,u,g){var w={};qn(o,w);var k=s(u,g);return Df(s,u,k,g)}function qu(r,o,s,u,g){var w=s.render();s.props!==g&&(jl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",it(u)||"a component"),jl=!0);{var k=u.childContextTypes;if(k!=null){var M=o.legacyContext,z=Du(s,u,M,k);o.legacyContext=z,qt(r,o,w),o.legacyContext=M;return}}qt(r,o,w)}function Yf(r,o,s,u){Jr(o,s);var g=zi(s,o.legacyContext),w=Nu(s,u,g);Uu(w,s,u,g),qu(r,o,w,s,u),Lr(o)}var Ku={},ta={},$l={},Ju={},jl=!1,ra={},Nl=!1,zl=!1,Bl=!1;function Zu(r,o,s,u){var g;if(g=zi(s,o.legacyContext),qi(o,s),s.prototype&&typeof s.prototype.render=="function"){var w=it(s)||"Unknown";Ku[w]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",w,w),Ku[w]=!0)}var k=ea(r,o,s,u,g),M=Ol();if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){var z=it(s)||"Unknown";ta[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ta[z]=!0)}if(typeof k=="object"&&k!==null&&typeof k.render=="function"&&k.$$typeof===void 0){{var Q=it(s)||"Unknown";ta[Q]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",Q,Q,Q),ta[Q]=!0)}Uu(k,s,u,g),qu(r,o,k,s,u)}else if(ec(s),M){var ee=o.treeContext,de=1,Me=0;o.treeContext=Rl(ee,de,Me);try{qt(r,o,k)}finally{o.treeContext=ee}}else qt(r,o,k);Lr(o)}function ec(r){{if(r&&r.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",r.displayName||r.name||"Component"),r.defaultProps!==void 0){var o=it(r)||"Unknown";ra[o]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",o),ra[o]=!0)}if(typeof r.getDerivedStateFromProps=="function"){var s=it(r)||"Unknown";Ju[s]||(a("%s: Function components do not support getDerivedStateFromProps.",s),Ju[s]=!0)}if(typeof r.contextType=="object"&&r.contextType!==null){var u=it(r)||"Unknown";$l[u]||(a("%s: Function components do not support contextType.",u),$l[u]=!0)}}}function Ul(r,o){if(r&&r.defaultProps){var s=Lt({},o),u=r.defaultProps;for(var g in u)s[g]===void 0&&(s[g]=u[g]);return s}return o}function tc(r,o,s,u,g){qi(o,s.render);var w=ea(r,o,s.render,u,g),k=Ol();if(k){var M=o.treeContext,z=1,Q=0;o.treeContext=Rl(M,z,Q);try{qt(r,o,w)}finally{o.treeContext=M}}else qt(r,o,w);Lr(o)}function Xf(r,o,s,u,g){var w=s.type,k=Ul(w,u);Hl(r,o,w,k,g)}function Qf(r,o,s,u){s._context===void 0?s!==s.Consumer&&(Bl||(Bl=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):s=s._context;var g=u.children;typeof g!="function"&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var w=xn(s),k=g(w);qt(r,o,k)}function rc(r,o,s,u){var g=s._context,w=u.value,k=u.children,M;M=o.context,o.context=_u(g,w),qt(r,o,k),o.context=Lu(g),M!==o.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function qf(r,o,s,u,g){Zn(o,"Lazy");var w=s._payload,k=s._init,M=k(w),z=Ul(M,u);Hl(r,o,M,z,g),Lr(o)}function Hl(r,o,s,u,g){if(typeof s=="function")if(Zi(s)){Yf(r,o,s,u);return}else{Zu(r,o,s,u);return}if(typeof s=="string"){Ll(r,o,s,u);return}switch(s){case dl:case fl:case Gt:case Pu:case Wa:{qt(r,o,u.children);return}case Mi:{Zn(o,"SuspenseList"),qt(r,o,u.children),Lr(o);return}case cl:throw new Error("ReactDOMServer does not yet support scope components.");case Xa:{Ji(r,o,u);return}}if(typeof s=="object"&&s!==null)switch(s.$$typeof){case Ya:{tc(r,o,s,u,g);return}case Di:{Xf(r,o,s,u,g);return}case Va:{rc(r,o,s,u);return}case Ga:{Qf(r,o,s,u);return}case Uo:{qf(r,o,s,u);return}}var w="";throw(s===void 0||typeof s=="object"&&s!==null&&Object.keys(s).length===0)&&(w+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(s==null?s:typeof s)+"."+w))}function Kf(r,o){typeof Symbol=="function"&&r[Symbol.toStringTag]==="Generator"&&(Nl||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),Nl=!0),r.entries===o&&(zl||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),zl=!0)}function qt(r,o,s){try{return Jf(r,o,s)}catch(u){throw typeof u=="object"&&u!==null&&typeof u.then=="function"||(Zr=Zr!==null?Zr:_l()),u}}function Jf(r,o,s){if(o.node=s,typeof s=="object"&&s!==null){switch(s.$$typeof){case bf:{var u=s,g=u.type,w=u.props,k=u.ref;Hl(r,o,g,w,k);return}case Ru:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Uo:{var M=s,z=M._payload,Q=M._init,ee;try{ee=Q(z)}catch(Zo){throw typeof Zo=="object"&&Zo!==null&&typeof Zo.then=="function"&&Zn(o,"Lazy"),Zo}qt(r,o,ee);return}}if(nr(s)){Es(r,o,s);return}var de=xf(s);if(de){Kf(s,de);var Me=de.call(s);if(Me){var Xe=Me.next();if(!Xe.done){var vt=[];do vt.push(Xe.value),Xe=Me.next();while(!Xe.done);Es(r,o,vt);return}return}}var to=Object.prototype.toString.call(s);throw new Error("Objects are not valid as a React child (found: "+(to==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":to)+"). If you meant to render a collection of children, use an array instead.")}if(typeof s=="string"){var ro=o.blockedSegment;ro.lastPushedText=Cu(o.blockedSegment.chunks,s,r.responseState,ro.lastPushedText);return}if(typeof s=="number"){var en=o.blockedSegment;en.lastPushedText=Cu(o.blockedSegment.chunks,""+s,r.responseState,en.lastPushedText);return}typeof s=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function Es(r,o,s){for(var u=s.length,g=0;g<u;g++){var w=o.treeContext;o.treeContext=Rl(w,u,g);try{Ft(r,o,s[g])}finally{o.treeContext=w}}}function Zf(r,o,s){var u=o.blockedSegment,g=u.chunks.length,w=Ss(r,g,null,u.formatContext,u.lastPushedText,!0);u.children.push(w),u.lastPushedText=!1;var k=Jn(r,o.node,o.blockedBoundary,w,o.abortSet,o.legacyContext,o.context,o.treeContext);o.componentStack!==null&&(k.componentStack=o.componentStack.parent);var M=k.ping;s.then(M,M)}function Ft(r,o,s){var u=o.blockedSegment.formatContext,g=o.legacyContext,w=o.context,k=null;k=o.componentStack;try{return qt(r,o,s)}catch(M){if(Xi(),typeof M=="object"&&M!==null&&typeof M.then=="function"){Zf(r,o,M),o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k;return}else throw o.blockedSegment.formatContext=u,o.legacyContext=g,o.context=w,Ui(w),o.componentStack=k,M}}function ed(r,o,s,u){var g=Ki(r,u);if(o===null?br(r,u):(o.pendingTasks--,o.forceClientRender||(o.forceClientRender=!0,o.errorDigest=g,ks(o,u),o.parentFlushed&&r.clientRenderedBoundaries.push(o))),r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function nc(r){var o=this,s=r.blockedBoundary,u=r.blockedSegment;u.status=ws,ic(o,s,u)}function oc(r,o,s){var u=r.blockedBoundary,g=r.blockedSegment;if(g.status=ws,u===null)o.allPendingTasks--,o.status!==Kn&&(o.status=Kn,o.destination!==null&&x(o.destination));else{if(u.pendingTasks--,!u.forceClientRender){u.forceClientRender=!0;var w=s===void 0?new Error("The render was aborted by the server without a reason."):s;u.errorDigest=o.onError(w);{var k="The server did not finish this Suspense boundary: ";w&&typeof w.message=="string"?w=k+w.message:w=k+String(w);var M=Kr;Kr=r;try{ks(u,w)}finally{Kr=M}}u.parentFlushed&&o.clientRenderedBoundaries.push(u)}if(u.fallbackAbortableTasks.forEach(function(Q){return oc(Q,o,s)}),u.fallbackAbortableTasks.clear(),o.allPendingTasks--,o.allPendingTasks===0){var z=o.onAllReady;z()}}}function Jo(r,o){if(o.chunks.length===0&&o.children.length===1&&o.children[0].boundary===null){var s=o.children[0];s.id=o.id,s.parentFlushed=!0,s.status===Xo&&Jo(r,s)}else{var u=r.completedSegments;u.push(o)}}function ic(r,o,s){if(o===null){if(s.parentFlushed){if(r.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");r.completedRootSegment=s}if(r.pendingRootTasks--,r.pendingRootTasks===0){r.onShellError=qo;var u=r.onShellReady;u()}}else if(o.pendingTasks--,!o.forceClientRender){if(o.pendingTasks===0)s.parentFlushed&&s.status===Xo&&Jo(o,s),o.parentFlushed&&r.completedBoundaries.push(o),o.fallbackAbortableTasks.forEach(nc,r),o.fallbackAbortableTasks.clear();else if(s.parentFlushed&&s.status===Xo){Jo(o,s);var g=o.completedSegments;g.length===1&&o.parentFlushed&&r.partialBoundaries.push(o)}}if(r.allPendingTasks--,r.allPendingTasks===0){var w=r.onAllReady;w()}}function td(r,o){var s=o.blockedSegment;if(s.status===ys){Ui(o.context);var u=null;u=Kr,Kr=o;try{qt(r,o,o.node),Tu(s.chunks,r.responseState,s.lastPushedText,s.textEmbedded),o.abortSet.delete(o),s.status=Xo,ic(r,o.blockedBoundary,s)}catch(w){if(Xi(),typeof w=="object"&&w!==null&&typeof w.then=="function"){var g=o.ping;w.then(g,g)}else o.abortSet.delete(o),s.status=xs,ed(r,o.blockedBoundary,s,w)}finally{Kr=u}}}function Wl(r){if(r.status!==Kn){var o=$u(),s=vs.current;vs.current=Yu;var u;u=Qi.getCurrentStack,Qi.getCurrentStack=_l;var g=Ml;Xu(r.responseState);try{var w=r.pingedTasks,k;for(k=0;k<w.length;k++){var M=w[k];td(r,M)}w.splice(0,k),r.destination!==null&&Ts(r,r.destination)}catch(z){Ki(r,z),br(r,z)}finally{Xu(g),vs.current=s,Qi.getCurrentStack=u,s===Yu&&Ui(o)}}}function eo(r,o,s){switch(s.parentFlushed=!0,s.status){case ys:{var u=s.id=r.nextSegmentId++;return s.lastPushedText=!1,s.textEmbedded=!1,Mr(o,r.responseState,u)}case Xo:{s.status=bs;for(var g=!0,w=s.chunks,k=0,M=s.children,z=0;z<M.length;z++){for(var Q=M[z];k<Q.index;k++)h(o,w[k]);g=na(r,o,Q)}for(;k<w.length-1;k++)h(o,w[k]);return k<w.length&&(g=v(o,w[k])),g}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function na(r,o,s){var u=s.boundary;if(u===null)return eo(r,o,s);if(u.parentFlushed=!0,u.forceClientRender)return gf(o,r.responseState,u.errorDigest,u.errorMessage,u.errorComponentStack),eo(r,o,s),yf(o,r.responseState);if(u.pendingTasks>0){u.rootSegmentID=r.nextSegmentId++,u.completedSegments.length>0&&r.partialBoundaries.push(u);var g=u.id=mr(r.responseState);return Hn(o,r.responseState,g),eo(r,o,s),vn(o,r.responseState)}else{if(u.byteSize>r.progressiveChunkSize)return u.rootSegmentID=r.nextSegmentId++,r.completedBoundaries.push(u),Hn(o,r.responseState,u.id),eo(r,o,s),vn(o,r.responseState);mf(o,r.responseState);var w=u.completedSegments;if(w.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var k=w[0];return na(r,o,k),vf(o,r.responseState)}}function rd(r,o,s){return ff(o,r.responseState,s.id,s.errorDigest,s.errorMessage,s.errorComponentStack)}function Vl(r,o,s){return Fi(o,r.responseState,s.formatContext,s.id),na(r,o,s),Ua(o,s.formatContext)}function oa(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];ac(r,o,s,w)}return u.length=0,It(o,r.responseState,s.id,s.rootSegmentID)}function Cs(r,o,s){for(var u=s.completedSegments,g=0;g<u.length;g++){var w=u[g];if(!ac(r,o,s,w))return g++,u.splice(0,g),!1}return u.splice(0,g),!0}function ac(r,o,s,u){if(u.status===bs)return!0;var g=u.id;if(g===-1){var w=u.id=s.rootSegmentID;if(w===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Vl(r,o,u)}else return Vl(r,o,u),oe(o,r.responseState,g)}function Ts(r,o){try{var s=r.completedRootSegment;s!==null&&r.pendingRootTasks===0&&(na(r,o,s),r.completedRootSegment=null,Xr(o,r.responseState));var u=r.clientRenderedBoundaries,g;for(g=0;g<u.length;g++){var w=u[g];if(!rd(r,o,w)){r.destination=null,g++,u.splice(0,g);return}}u.splice(0,g);var k=r.completedBoundaries;for(g=0;g<k.length;g++){var M=k[g];if(!oa(r,o,M)){r.destination=null,g++,k.splice(0,g);return}}k.splice(0,g);var z=r.partialBoundaries;for(g=0;g<z.length;g++){var Q=z[g];if(!Cs(r,o,Q)){r.destination=null,g++,z.splice(0,g);return}}z.splice(0,g);var ee=r.completedBoundaries;for(g=0;g<ee.length;g++){var de=ee[g];if(!oa(r,o,de)){r.destination=null,g++,ee.splice(0,g);return}}ee.splice(0,g)}finally{r.allPendingTasks===0&&r.pingedTasks.length===0&&r.clientRenderedBoundaries.length===0&&r.completedBoundaries.length===0&&(r.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),x(o))}}function sc(r){p(function(){return Wl(r)})}function nd(r,o){if(r.status===Dl){r.status=Kn,L(o,r.fatalError);return}if(r.status!==Kn&&r.destination===null){r.destination=o;try{Ts(r,o)}catch(s){Ki(r,s),br(r,s)}}}function lc(r,o){try{var s=r.abortableTasks;s.forEach(function(u){return oc(u,r,o)}),s.clear(),r.destination!==null&&Ts(r,r.destination)}catch(u){Ki(r,u),br(r,u)}}function Gl(){}function uc(r,o,s,u){var g=!1,w=null,k="",M={push:function(de){return de!==null&&(k+=de),!0},destroy:function(de){g=!0,w=de}},z=!1;function Q(){z=!0}var ee=Ko(r,pf(s,o?o.identifierPrefix:void 0),hf(),1/0,Gl,void 0,Q);if(sc(ee),lc(ee,u),nd(ee,M),g)throw w;if(!z)throw new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return k}function od(r,o){return uc(r,o,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function cc(r,o){return uc(r,o,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')}function id(){throw new Error("ReactDOMServer.renderToNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToString() instead.")}function l(){throw new Error("ReactDOMServer.renderToStaticNodeStream(): The streaming API is not available in the browser. Use ReactDOMServer.renderToStaticMarkup() instead.")}aa.renderToNodeStream=id,aa.renderToStaticMarkup=cc,aa.renderToStaticNodeStream=l,aa.renderToString=od,aa.version=t}()),aa}var pc={};/**
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 ph;function Hy(){return ph||(ph=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function a(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("warn",l,o)}}function i(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("error",l,o)}}function c(l,r,o){{var s=n.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(r+="%s",o=o.concat([u]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+r),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,r){if(r.length!==0){if(r.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(r);return}var o=r,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,r){return x(l,r),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function O(l){return D.encode(l)}function U(l,r){typeof l.error=="function"?l.error(r):l.close()}function j(l){{var r=typeof Symbol=="function"&&Symbol.toStringTag,o=r&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function Z(l,r){if(V(l))return i("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function ie(l,r){if(V(l))return i("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function re(l){if(V(l))return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",q=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+q+"]*$"),Y={},J={};function fe(l){return le.call(J,l)?!0:le.call(Y,l)?!1:ve.test(l)?(J[l]=!0,!0):(Y[l]=!0,i("Invalid attribute name: `%s`",l),!1)}function te(l,r,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function he(l){return ue.hasOwnProperty(l)?ue[l]:null}function me(l,r,o,s,u,g,w){this.acceptsBooleans=r===Fe||r===$e||r===ze,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=l,this.type=r,this.sanitizeURL=g,this.removeEmptyString=w}var ue={},ce=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ce.forEach(function(l){ue[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var r=l[0],o=l[1];ue[r]=new me(r,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ue[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ue[l]=new me(l,Fe,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){ue[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ue[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ue[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ue[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ue[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ue[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,r){return l+r.charAt(0).toUpperCase()+r.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(r){Be[se(r,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,r){ot[r.type]||r.onChange||r.onInput||r.readOnly||r.disabled||r.value==null||i("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`."),r.onChange||r.readOnly||r.disabled||r.checked==null||i("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 Br(l,r){if(l.indexOf("-")===-1)return typeof r.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Ur=new RegExp("^(aria)-["+q+"]*$"),Hr=new RegExp("^(aria)[A-Z]["+q+"]*$");function So(l,r){{if(le.call(zt,r)&&zt[r])return!0;if(Hr.test(r)){var o="aria-"+r.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",r),zt[r]=!0,!0;if(r!==s)return i("Invalid ARIA attribute `%s`. Did you mean `%s`?",r,s),zt[r]=!0,!0}if(Ur.test(r)){var u=r.toLowerCase(),g=xo.hasOwnProperty(u)?u:null;if(g==null)return zt[r]=!0,!1;if(r!==g)return i("Unknown ARIA attribute `%s`. Did you mean `%s`?",r,g),zt[r]=!0,!0}}return!0}function Bt(l,r){{var o=[];for(var s in r){var u=So(l,s);u||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?i("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&i("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,r){Br(l,r)||Bt(l,r)}var ft=!1;function In(l,r){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;r!=null&&r.value===null&&!ft&&(ft=!0,l==="select"&&r.multiple?i("`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):i("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",l))}}var Fn={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"},Mn=function(){};{var st={},Dn=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+q+"]*$"),_n=new RegExp("^(aria)[A-Z]["+q+"]*$");Mn=function(l,r,o,s){if(le.call(st,r)&&st[r])return!0;var u=r.toLowerCase();if(u==="onfocusin"||u==="onfocusout")return i("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),st[r]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(r))return!0;var k=w.hasOwnProperty(u)?w[u]:null;if(k!=null)return i("Invalid event handler property `%s`. Did you mean `%s`?",r,k),st[r]=!0,!0;if(Dn.test(r))return i("Unknown event handler property `%s`. It will be ignored.",r),st[r]=!0,!0}else if(Dn.test(r))return ko.test(r)&&i("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",r),st[r]=!0,!0;if(Eo.test(r)||_n.test(r))return!0;if(u==="innerhtml")return i("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[r]=!0,!0;if(u==="aria")return i("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[r]=!0,!0;if(u==="is"&&o!==null&&o!==void 0&&typeof o!="string")return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[r]=!0,!0;if(typeof o=="number"&&isNaN(o))return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",r),st[r]=!0,!0;var M=he(r),z=M!==null&&M.type===ye;if(Fn.hasOwnProperty(u)){var Q=Fn[u];if(Q!==r)return i("Invalid DOM property `%s`. Did you mean `%s`?",r,Q),st[r]=!0,!0}else if(!z&&r!==u)return i("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.",r,u),st[r]=!0,!0;return typeof o=="boolean"&&te(r,o,M)?(o?i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,r,r,o,r):i('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,r,r,o,r,r,r),st[r]=!0,!0):z?!0:te(r,o,M)?(st[r]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(i("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,r,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',r,o),st[r]=!0),!0)}}var ln=function(l,r,o){{var s=[];for(var u in r){var g=Mn(l,u,r[u],o);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?i("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&i("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ea(l,r,o){Br(l,r)||ln(l,r,o)}var Ln=function(){};{var Sr=/^(?:webkit|moz|o)[A-Z]/,$n=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tr={},kr={},Qe=!1,Er=!1,un=function(l){return l.replace(Co,function(r,o){return o.toUpperCase()})},Wr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,i("Unsupported style property %s. Did you mean %s?",l,un(l.replace($n,"ms-"))))},rr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,i("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},cn=function(l,r){kr.hasOwnProperty(r)&&kr[r]||(kr[r]=!0,i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,r.replace(xt,"")))},hr=function(l,r){Qe||(Qe=!0,i("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,r){Er||(Er=!0,i("`Infinity` is an invalid value for the `%s` css style property.",l))};Ln=function(l,r){l.indexOf("-")>-1?Wr(l):Sr.test(l)?rr(l):xt.test(r)&&cn(l,r),typeof r=="number"&&(isNaN(r)?hr(l,r):isFinite(r)||dt(l,r))}}var jn=Ln,Nn=/["'&<>]/;function To(l){re(l);var r=""+l,o=Nn.exec(r);if(!o)return r;var s,u="",g,w=0;for(g=o.index;g<r.length;g++){switch(r.charCodeAt(g)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 39:s="&#x27;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}w!==g&&(u+=r.substring(w,g)),w=g+1,u+=s}return w!==g?u+r.substring(w,g):u}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zn=/([A-Z])/g,Ca=/^ms-/;function Ta(l){return l.replace(zn,"-$1").toLowerCase().replace(Ca,"-ms-")}var nr=/^[\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,Bn=!1;function fn(l){!Bn&&nr.test(l)&&(Bn=!0,i("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 Cr=Array.isArray;function Rt(l){return Cr(l)}var or=O("<script>"),dn=O("<\/script>"),Tr=O('<script src="'),Rr=O('<script type="module" src="'),ar=O('" async=""><\/script>');function Pr(l){return re(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,r,o,s){return""+r+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,r,o,s,u){var g=l===void 0?"":l,w=r===void 0?or:O('<script nonce="'+lt(r)+'">'),k=[];if(o!==void 0&&k.push(w,T(Pr(o)),dn),s!==void 0)for(var M=0;M<s.length;M++)k.push(Tr,T(lt(s[M])),ar);if(u!==void 0)for(var z=0;z<u.length;z++)k.push(Rr,T(lt(u[z])),ar);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:O(g+"P:"),segmentPrefix:O(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var mr=0,ut=1,ir=2,sr=3,Ar=4,pn=5,Ut=6,lr=7;function St(l,r){return{insertionMode:l,selectedValue:r}}function Or(l){var r=l==="http://www.w3.org/2000/svg"?ir:l==="http://www.w3.org/1998/Math/MathML"?sr:mr;return St(r,null)}function Vr(l,r,o){switch(r){case"select":return St(ut,o.value!=null?o.value:o.defaultValue);case"svg":return St(ir,null);case"math":return St(sr,null);case"foreignObject":return St(ut,null);case"table":return St(Ar,null);case"thead":case"tbody":case"tfoot":return St(pn,null);case"colgroup":return St(lr,null);case"tr":return St(Ut,null)}return l.insertionMode>=Ar||l.insertionMode===mr?St(ut,null):l}var hn=null;function _t(l){var r=l.nextSuspenseID++;return O(l.boundaryPrefix+r.toString(16))}function ur(l,r,o){var s=l.idPrefix,u=":"+s+"R"+r;return o>0&&(u+="H"+o.toString(32)),u+":"}function kt(l){return lt(l)}var mn=O("<!-- -->");function mt(l,r,o,s){return r===""?s:(s&&l.push(mn),l.push(T(kt(r))),!0)}function At(l,r,o,s){o&&s&&l.push(mn)}var f=new Map;function b(l){var r=f.get(l);if(r!==void 0)return r;var o=O(lt(Ta(l)));return f.set(l,o),o}var E=O(' style="'),P=O(":"),H=O(";");function N(l,r,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var u in o)if(le.call(o,u)){var g=o[u];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=u.indexOf("--")===0;M?(w=T(lt(u)),ie(g,u),k=T(lt((""+g).trim()))):(jn(u,g),w=b(u),typeof g=="number"?g!==0&&!le.call(Be,u)?k=T(g+"px"):k=T(""+g):(ie(g,u),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=O(" "),ne=O('="'),ke=O('"'),Ae=O('=""');function Ce(l,r,o,s){switch(o){case"style":{N(l,r,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var u=he(o);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var g=u.attributeName,w=T(g);switch(u.type){case $e:s&&l.push(G,w,Ae);return;case ze:s===!0?l.push(G,w,Ae):s===!1||l.push(G,w,ne,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,ne,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,ne,T(lt(s)),ke);break;default:u.sanitizeURL&&(Z(s,g),s=""+s,fn(s)),l.push(G,w,ne,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),ne,T(lt(s)),ke)}}}var Ve=O(">"),Et=O("/>");function Ct(l,r,o){if(r!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof r!="object"||!("__html"in r))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=r.__html;s!=null&&(re(s),l.push(T(""+s)))}}var Tt=!1,Ir=!1,cr=!1,gn=!1,Fr=!1,Gr=!1,gr=!1;function Yr(l,r){{var o=l[r];if(o!=null){var s=Rt(o);l.multiple&&!s?i("The `%s` prop supplied to <select> must be an array if `multiple` is true.",r):!l.multiple&&s&&i("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",r)}}}function rl(l,r,o){Nt("select",r),Yr(r,"value"),Yr(r,"defaultValue"),r.value!==void 0&&r.defaultValue!==void 0&&!cr&&(i("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"),cr=!0),l.push(Ht("select"));var s=null,u=null;for(var g in r)if(le.call(r,g)){var w=r[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":u=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,u,s),s}function nl(l){var r="";return e.Children.forEach(l,function(o){o!=null&&(r+=o,!Fr&&typeof o!="string"&&typeof o!="number"&&(Fr=!0,i("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),r}var Ao=O(' selected=""');function fr(l,r,o,s){var u=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in r)if(le.call(r,z)){var Q=r[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,gr||(i("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gr=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(u!=null){var ee;if(w!==null?(Z(w,"value"),ee=""+w):(M!==null&&(Gr||(Gr=!0,i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=nl(g)),Rt(u))for(var de=0;de<u.length;de++){Z(u[de],"value");var Me=""+u[de];if(Me===ee){l.push(Ao);break}}else Z(u,"select.value"),""+u===ee&&l.push(Ao)}else k&&l.push(Ao);return l.push(Ve),Ct(l,M,g),g}function ol(l,r,o){Nt("input",r),r.checked!==void 0&&r.defaultChecked!==void 0&&!Ir&&(i("%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",r.type),Ir=!0),r.value!==void 0&&r.defaultValue!==void 0&&!Tt&&(i("%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",r.type),Tt=!0),l.push(Ht("input"));var s=null,u=null,g=null,w=null;for(var k in r)if(le.call(r,k)){var M=r[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":u=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):u!==null&&Ce(l,o,"value",u),l.push(Et),null}function vr(l,r,o){Nt("textarea",r),r.value!==void 0&&r.defaultValue!==void 0&&!gn&&(i("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"),gn=!0),l.push(Ht("textarea"));var s=null,u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":u=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&u!==null&&(s=u),l.push(Ve),g!=null){if(i("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");re(g[0]),s=""+g[0]}re(g),s=""+g}return typeof s=="string"&&s[0]===`
75
- `&&l.push(Qr),s!==null&&(Z(s,"value"),l.push(T(kt(""+s)))),null}function Ra(l,r,o,s){l.push(Ht(o));for(var u in r)if(le.call(r,u)){var g=r[u];if(g==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error(o+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(l,s,u,g);break}}return l.push(Et),null}function Oo(l,r,o){l.push(Ht("menuitem"));for(var s in r)if(le.call(r,s)){var u=r[s];if(u==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Ce(l,o,s,u);break}}return l.push(Ve),null}function Ke(l,r,o){l.push(Ht("title"));var s=null;for(var u in r)if(le.call(r,u)){var g=r[u];if(g==null)continue;switch(u){case"children":s=g;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Ce(l,o,u,g);break}}l.push(Ve);{var w=Array.isArray(s)&&s.length<2?s[0]||null:s;Array.isArray(s)&&s.length>1?i("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&w.$$typeof!=null?i("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&typeof w!="string"&&typeof w!="number"&&i("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 Xr(l,r,o,s){l.push(Ht(o));var u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}return l.push(Ve),Ct(l,g,u),typeof u=="string"?(l.push(T(kt(u))),null):u}function Io(l,r,o,s){l.push(Ht(o));var u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;case"style":N(l,s,k);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(w)&&typeof k!="function"&&typeof k!="symbol"&&l.push(G,T(w),ne,T(lt(k)),ke);break}}return l.push(Ve),Ct(l,g,u),u}var Qr=O(`
74
+ */var dh;function Wy(){return dh||(dh=1,process.env.NODE_ENV!=="production"&&function(){var e=A,t="18.3.1",n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("warn",l,o)}}function a(l){{for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];c("error",l,o)}}function c(l,r,o){{var s=n.ReactDebugCurrentFrame,u=s.getStackAddendum();u!==""&&(r+="%s",o=o.concat([u]));var g=o.map(function(w){return String(w)});g.unshift("Warning: "+r),Function.prototype.apply.call(console[l],console,g)}}function p(l){l()}var m=512,h=null,v=0;function C(l){h=new Uint8Array(m),v=0}function x(l,r){if(r.length!==0){if(r.length>m){v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=new Uint8Array(m),v=0),l.enqueue(r);return}var o=r,s=h.length-v;s<o.length&&(s===0?l.enqueue(h):(h.set(o.subarray(0,s),v),l.enqueue(h),o=o.subarray(s)),h=new Uint8Array(m),v=0),h.set(o,v),v+=o.length}}function F(l,r){return x(l,r),!0}function I(l){h&&v>0&&(l.enqueue(new Uint8Array(h.buffer,0,v)),h=null,v=0)}function L(l){l.close()}var D=new TextEncoder;function T(l){return D.encode(l)}function O(l){return D.encode(l)}function U(l,r){typeof l.error=="function"?l.error(r):l.close()}function j(l){{var r=typeof Symbol=="function"&&Symbol.toStringTag,o=r&&l[Symbol.toStringTag]||l.constructor.name||"Object";return o}}function V(l){try{return $(l),!1}catch{return!0}}function $(l){return""+l}function J(l,r){if(V(l))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function ae(l,r){if(V(l))return a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",r,j(l)),$(l)}function re(l){if(V(l))return a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",j(l)),$(l)}var le=Object.prototype.hasOwnProperty,ye=0,De=1,Fe=2,$e=3,ze=4,xe=5,Re=6,Le=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Z=Le+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ve=new RegExp("^["+Le+"]["+Z+"]*$"),Y={},K={};function fe(l){return le.call(K,l)?!0:le.call(Y,l)?!1:ve.test(l)?(K[l]=!0,!0):(Y[l]=!0,a("Invalid attribute name: `%s`",l),!1)}function te(l,r,o,s){if(o!==null&&o.type===ye)return!1;switch(typeof r){case"function":case"symbol":return!0;case"boolean":{if(o!==null)return!o.acceptsBooleans;var u=l.toLowerCase().slice(0,5);return u!=="data-"&&u!=="aria-"}default:return!1}}function he(l){return ue.hasOwnProperty(l)?ue[l]:null}function me(l,r,o,s,u,g,w){this.acceptsBooleans=r===Fe||r===$e||r===ze,this.attributeName=s,this.attributeNamespace=u,this.mustUseProperty=o,this.propertyName=l,this.type=r,this.sanitizeURL=g,this.removeEmptyString=w}var ue={},ce=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"];ce.forEach(function(l){ue[l]=new me(l,ye,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var r=l[0],o=l[1];ue[r]=new me(r,De,!1,o,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){ue[l]=new me(l,Fe,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){ue[l]=new me(l,Fe,!1,l,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(l){ue[l]=new me(l,$e,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){ue[l]=new me(l,$e,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){ue[l]=new me(l,ze,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){ue[l]=new me(l,Re,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){ue[l]=new me(l,xe,!1,l.toLowerCase(),null,!1,!1)});var Ee=/[\-\:]([a-z])/g,Se=function(l){return l[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var r=l.replace(Ee,Se);ue[r]=new me(r,De,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!1,!1)});var Pe="xlinkHref";ue[Pe]=new me("xlinkHref",De,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){ue[l]=new me(l,De,!1,l.toLowerCase(),null,!0,!0)});var Be={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};function se(l,r){return l+r.charAt(0).toUpperCase()+r.substring(1)}var We=["Webkit","ms","Moz","O"];Object.keys(Be).forEach(function(l){We.forEach(function(r){Be[se(r,l)]=Be[l]})});var ot={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Nt(l,r){ot[r.type]||r.onChange||r.onInput||r.readOnly||r.disabled||r.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`."),r.onChange||r.readOnly||r.disabled||r.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 Br(l,r){if(l.indexOf("-")===-1)return typeof r.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xo={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},zt={},Ur=new RegExp("^(aria)-["+Z+"]*$"),Hr=new RegExp("^(aria)[A-Z]["+Z+"]*$");function So(l,r){{if(le.call(zt,r)&&zt[r])return!0;if(Hr.test(r)){var o="aria-"+r.slice(4).toLowerCase(),s=xo.hasOwnProperty(o)?o:null;if(s==null)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",r),zt[r]=!0,!0;if(r!==s)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",r,s),zt[r]=!0,!0}if(Ur.test(r)){var u=r.toLowerCase(),g=xo.hasOwnProperty(u)?u:null;if(g==null)return zt[r]=!0,!1;if(r!==g)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",r,g),zt[r]=!0,!0}}return!0}function Bt(l,r){{var o=[];for(var s in r){var u=So(l,s);u||o.push(s)}var g=o.map(function(w){return"`"+w+"`"}).join(", ");o.length===1?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l):o.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",g,l)}}function gt(l,r){Br(l,r)||Bt(l,r)}var ft=!1;function In(l,r){{if(l!=="input"&&l!=="textarea"&&l!=="select")return;r!=null&&r.value===null&&!ft&&(ft=!0,l==="select"&&r.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 Fn={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"},Mn=function(){};{var st={},Dn=/^on./,ko=/^on[^A-Z]/,Eo=new RegExp("^(aria)-["+Z+"]*$"),_n=new RegExp("^(aria)[A-Z]["+Z+"]*$");Mn=function(l,r,o,s){if(le.call(st,r)&&st[r])return!0;var u=r.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."),st[r]=!0,!0;if(s!=null){var g=s.registrationNameDependencies,w=s.possibleRegistrationNames;if(g.hasOwnProperty(r))return!0;var k=w.hasOwnProperty(u)?w[u]:null;if(k!=null)return a("Invalid event handler property `%s`. Did you mean `%s`?",r,k),st[r]=!0,!0;if(Dn.test(r))return a("Unknown event handler property `%s`. It will be ignored.",r),st[r]=!0,!0}else if(Dn.test(r))return ko.test(r)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",r),st[r]=!0,!0;if(Eo.test(r)||_n.test(r))return!0;if(u==="innerhtml")return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),st[r]=!0,!0;if(u==="aria")return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),st[r]=!0,!0;if(u==="is"&&o!==null&&o!==void 0&&typeof o!="string")return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof o),st[r]=!0,!0;if(typeof o=="number"&&isNaN(o))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",r),st[r]=!0,!0;var M=he(r),z=M!==null&&M.type===ye;if(Fn.hasOwnProperty(u)){var Q=Fn[u];if(Q!==r)return a("Invalid DOM property `%s`. Did you mean `%s`?",r,Q),st[r]=!0,!0}else if(!z&&r!==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.",r,u),st[r]=!0,!0;return typeof o=="boolean"&&te(r,o,M)?(o?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',o,r,r,o,r):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',o,r,r,o,r,r,r),st[r]=!0,!0):z?!0:te(r,o,M)?(st[r]=!0,!1):((o==="false"||o==="true")&&M!==null&&M.type===$e&&(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",o,r,o==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',r,o),st[r]=!0),!0)}}var ln=function(l,r,o){{var s=[];for(var u in r){var g=Mn(l,u,r[u],o);g||s.push(u)}var w=s.map(function(k){return"`"+k+"`"}).join(", ");s.length===1?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l):s.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",w,l)}};function Ei(l,r,o){Br(l,r)||ln(l,r,o)}var Ln=function(){};{var Sr=/^(?:webkit|moz|o)[A-Z]/,$n=/^-ms-/,Co=/-(.)/g,xt=/;\s*$/,tr={},kr={},Qe=!1,Er=!1,un=function(l){return l.replace(Co,function(r,o){return o.toUpperCase()})},Wr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,a("Unsupported style property %s. Did you mean %s?",l,un(l.replace($n,"ms-"))))},rr=function(l){tr.hasOwnProperty(l)&&tr[l]||(tr[l]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",l,l.charAt(0).toUpperCase()+l.slice(1)))},cn=function(l,r){kr.hasOwnProperty(r)&&kr[r]||(kr[r]=!0,a(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,l,r.replace(xt,"")))},hr=function(l,r){Qe||(Qe=!0,a("`NaN` is an invalid value for the `%s` css style property.",l))},dt=function(l,r){Er||(Er=!0,a("`Infinity` is an invalid value for the `%s` css style property.",l))};Ln=function(l,r){l.indexOf("-")>-1?Wr(l):Sr.test(l)?rr(l):xt.test(r)&&cn(l,r),typeof r=="number"&&(isNaN(r)?hr(l,r):isFinite(r)||dt(l,r))}}var jn=Ln,Nn=/["'&<>]/;function To(l){re(l);var r=""+l,o=Nn.exec(r);if(!o)return r;var s,u="",g,w=0;for(g=o.index;g<r.length;g++){switch(r.charCodeAt(g)){case 34:s="&quot;";break;case 38:s="&amp;";break;case 39:s="&#x27;";break;case 60:s="&lt;";break;case 62:s="&gt;";break;default:continue}w!==g&&(u+=r.substring(w,g)),w=g+1,u+=s}return w!==g?u+r.substring(w,g):u}function lt(l){return typeof l=="boolean"||typeof l=="number"?""+l:To(l)}var zn=/([A-Z])/g,Ci=/^ms-/;function Ti(l){return l.replace(zn,"-$1").toLowerCase().replace(Ci,"-ms-")}var nr=/^[\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,Bn=!1;function fn(l){!Bn&&nr.test(l)&&(Bn=!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 Cr=Array.isArray;function Rt(l){return Cr(l)}var or=O("<script>"),dn=O("<\/script>"),Tr=O('<script src="'),Rr=O('<script type="module" src="'),ir=O('" async=""><\/script>');function Pr(l){return re(l),(""+l).replace(Pt,Ro)}var Pt=/(<\/|<)(s)(cript)/gi,Ro=function(l,r,o,s){return""+r+(o==="s"?"\\u0073":"\\u0053")+s};function Po(l,r,o,s,u){var g=l===void 0?"":l,w=r===void 0?or:O('<script nonce="'+lt(r)+'">'),k=[];if(o!==void 0&&k.push(w,T(Pr(o)),dn),s!==void 0)for(var M=0;M<s.length;M++)k.push(Tr,T(lt(s[M])),ir);if(u!==void 0)for(var z=0;z<u.length;z++)k.push(Rr,T(lt(u[z])),ir);return{bootstrapChunks:k,startInlineScript:w,placeholderPrefix:O(g+"P:"),segmentPrefix:O(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}var mr=0,ut=1,ar=2,sr=3,Ar=4,pn=5,Ut=6,lr=7;function St(l,r){return{insertionMode:l,selectedValue:r}}function Or(l){var r=l==="http://www.w3.org/2000/svg"?ar:l==="http://www.w3.org/1998/Math/MathML"?sr:mr;return St(r,null)}function Vr(l,r,o){switch(r){case"select":return St(ut,o.value!=null?o.value:o.defaultValue);case"svg":return St(ar,null);case"math":return St(sr,null);case"foreignObject":return St(ut,null);case"table":return St(Ar,null);case"thead":case"tbody":case"tfoot":return St(pn,null);case"colgroup":return St(lr,null);case"tr":return St(Ut,null)}return l.insertionMode>=Ar||l.insertionMode===mr?St(ut,null):l}var hn=null;function _t(l){var r=l.nextSuspenseID++;return O(l.boundaryPrefix+r.toString(16))}function ur(l,r,o){var s=l.idPrefix,u=":"+s+"R"+r;return o>0&&(u+="H"+o.toString(32)),u+":"}function kt(l){return lt(l)}var mn=O("<!-- -->");function mt(l,r,o,s){return r===""?s:(s&&l.push(mn),l.push(T(kt(r))),!0)}function At(l,r,o,s){o&&s&&l.push(mn)}var f=new Map;function b(l){var r=f.get(l);if(r!==void 0)return r;var o=O(lt(Ti(l)));return f.set(l,o),o}var E=O(' style="'),P=O(":"),H=O(";");function N(l,r,o){if(typeof o!="object")throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");var s=!0;for(var u in o)if(le.call(o,u)){var g=o[u];if(!(g==null||typeof g=="boolean"||g==="")){var w=void 0,k=void 0,M=u.indexOf("--")===0;M?(w=T(lt(u)),ae(g,u),k=T(lt((""+g).trim()))):(jn(u,g),w=b(u),typeof g=="number"?g!==0&&!le.call(Be,u)?k=T(g+"px"):k=T(""+g):(ae(g,u),k=T(lt((""+g).trim())))),s?(s=!1,l.push(E,w,P,k)):l.push(H,w,P,k)}}s||l.push(ke)}var G=O(" "),ne=O('="'),ke=O('"'),Ae=O('=""');function Ce(l,r,o,s){switch(o){case"style":{N(l,r,s);return}case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(o.length>2&&(o[0]==="o"||o[0]==="O")&&(o[1]==="n"||o[1]==="N"))){var u=he(o);if(u!==null){switch(typeof s){case"function":case"symbol":return;case"boolean":if(!u.acceptsBooleans)return}var g=u.attributeName,w=T(g);switch(u.type){case $e:s&&l.push(G,w,Ae);return;case ze:s===!0?l.push(G,w,Ae):s===!1||l.push(G,w,ne,T(lt(s)),ke);return;case xe:isNaN(s)||l.push(G,w,ne,T(lt(s)),ke);break;case Re:!isNaN(s)&&s>=1&&l.push(G,w,ne,T(lt(s)),ke);break;default:u.sanitizeURL&&(J(s,g),s=""+s,fn(s)),l.push(G,w,ne,T(lt(s)),ke)}}else if(fe(o)){switch(typeof s){case"function":case"symbol":return;case"boolean":{var k=o.toLowerCase().slice(0,5);if(k!=="data-"&&k!=="aria-")return}}l.push(G,T(o),ne,T(lt(s)),ke)}}}var Ve=O(">"),Et=O("/>");function Ct(l,r,o){if(r!=null){if(o!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof r!="object"||!("__html"in r))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=r.__html;s!=null&&(re(s),l.push(T(""+s)))}}var Tt=!1,Ir=!1,cr=!1,gn=!1,Fr=!1,Gr=!1,gr=!1;function Yr(l,r){{var o=l[r];if(o!=null){var s=Rt(o);l.multiple&&!s?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.",r):!l.multiple&&s&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.",r)}}}function rl(l,r,o){Nt("select",r),Yr(r,"value"),Yr(r,"defaultValue"),r.value!==void 0&&r.defaultValue!==void 0&&!cr&&(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"),cr=!0),l.push(Ht("select"));var s=null,u=null;for(var g in r)if(le.call(r,g)){var w=r[g];if(w==null)continue;switch(g){case"children":s=w;break;case"dangerouslySetInnerHTML":u=w;break;case"defaultValue":case"value":break;default:Ce(l,o,g,w);break}}return l.push(Ve),Ct(l,u,s),s}function nl(l){var r="";return e.Children.forEach(l,function(o){o!=null&&(r+=o,!Fr&&typeof o!="string"&&typeof o!="number"&&(Fr=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))}),r}var Ao=O(' selected=""');function fr(l,r,o,s){var u=s.selectedValue;l.push(Ht("option"));var g=null,w=null,k=null,M=null;for(var z in r)if(le.call(r,z)){var Q=r[z];if(Q==null)continue;switch(z){case"children":g=Q;break;case"selected":k=Q,gr||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),gr=!0);break;case"dangerouslySetInnerHTML":M=Q;break;case"value":w=Q;default:Ce(l,o,z,Q);break}}if(u!=null){var ee;if(w!==null?(J(w,"value"),ee=""+w):(M!==null&&(Gr||(Gr=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),ee=nl(g)),Rt(u))for(var de=0;de<u.length;de++){J(u[de],"value");var Me=""+u[de];if(Me===ee){l.push(Ao);break}}else J(u,"select.value"),""+u===ee&&l.push(Ao)}else k&&l.push(Ao);return l.push(Ve),Ct(l,M,g),g}function ol(l,r,o){Nt("input",r),r.checked!==void 0&&r.defaultChecked!==void 0&&!Ir&&(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",r.type),Ir=!0),r.value!==void 0&&r.defaultValue!==void 0&&!Tt&&(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components","A component",r.type),Tt=!0),l.push(Ht("input"));var s=null,u=null,g=null,w=null;for(var k in r)if(le.call(r,k)){var M=r[k];if(M==null)continue;switch(k){case"children":case"dangerouslySetInnerHTML":throw new Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");case"defaultChecked":w=M;break;case"defaultValue":u=M;break;case"checked":g=M;break;case"value":s=M;break;default:Ce(l,o,k,M);break}}return g!==null?Ce(l,o,"checked",g):w!==null&&Ce(l,o,"checked",w),s!==null?Ce(l,o,"value",s):u!==null&&Ce(l,o,"value",u),l.push(Et),null}function vr(l,r,o){Nt("textarea",r),r.value!==void 0&&r.defaultValue!==void 0&&!gn&&(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"),gn=!0),l.push(Ht("textarea"));var s=null,u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":g=k;break;case"value":s=k;break;case"defaultValue":u=k;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");default:Ce(l,o,w,k);break}}if(s===null&&u!==null&&(s=u),l.push(Ve),g!=null){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),s!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Rt(g)){if(g.length>1)throw new Error("<textarea> can only have at most one child.");re(g[0]),s=""+g[0]}re(g),s=""+g}return typeof s=="string"&&s[0]===`
75
+ `&&l.push(Qr),s!==null&&(J(s,"value"),l.push(T(kt(""+s)))),null}function Ri(l,r,o,s){l.push(Ht(o));for(var u in r)if(le.call(r,u)){var g=r[u];if(g==null)continue;switch(u){case"children":case"dangerouslySetInnerHTML":throw new Error(o+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ce(l,s,u,g);break}}return l.push(Et),null}function Oo(l,r,o){l.push(Ht("menuitem"));for(var s in r)if(le.call(r,s)){var u=r[s];if(u==null)continue;switch(s){case"children":case"dangerouslySetInnerHTML":throw new Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:Ce(l,o,s,u);break}}return l.push(Ve),null}function qe(l,r,o){l.push(Ht("title"));var s=null;for(var u in r)if(le.call(r,u)){var g=r[u];if(g==null)continue;switch(u){case"children":s=g;break;case"dangerouslySetInnerHTML":throw new Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:Ce(l,o,u,g);break}}l.push(Ve);{var w=Array.isArray(s)&&s.length<2?s[0]||null:s;Array.isArray(s)&&s.length>1?a("A title element received an array with more than 1 element as children. In browsers title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&w.$$typeof!=null?a("A title element received a React element for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering"):w!=null&&typeof w!="string"&&typeof w!="number"&&a("A title element received a value that was not a string or number for children. In the browser title Elements can only have Text Nodes as children. If the children being rendered output more than a single text node in aggregate the browser will display markup and comments as text in the title and hydration will likely fail and fall back to client rendering")}return s}function Xr(l,r,o,s){l.push(Ht(o));var u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}return l.push(Ve),Ct(l,g,u),typeof u=="string"?(l.push(T(kt(u))),null):u}function Io(l,r,o,s){l.push(Ht(o));var u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;case"style":N(l,s,k);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:fe(w)&&typeof k!="function"&&typeof k!="symbol"&&l.push(G,T(w),ne,T(lt(k)),ke);break}}return l.push(Ve),Ct(l,g,u),u}var Qr=O(`
76
76
  `);function Mr(l,r,o,s){l.push(Ht(o));var u=null,g=null;for(var w in r)if(le.call(r,w)){var k=r[w];if(k==null)continue;switch(w){case"children":u=k;break;case"dangerouslySetInnerHTML":g=k;break;default:Ce(l,s,w,k);break}}if(l.push(Ve),g!=null){if(u!=null)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if(typeof g!="object"||!("__html"in g))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");var M=g.__html;M!=null&&(typeof M=="string"&&M.length>0&&M[0]===`
77
77
  `?l.push(Qr,T(M)):(re(M),l.push(T(""+M))))}return typeof u=="string"&&u[0]===`
78
- `&&l.push(Qr),u}var Fo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Dr=new Map;function Ht(l){var r=Dr.get(l);if(r===void 0){if(!Fo.test(l))throw new Error("Invalid tag: "+l);r=O("<"+l),Dr.set(l,r)}return r}var Pa=O("<!DOCTYPE html>");function Un(l,r,o,s,u){switch(gt(r,o),In(r,o),Ea(r,o,null),!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&i("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!==ir&&u.insertionMode!==sr&&r.indexOf("-")===-1&&typeof o.is!="string"&&r.toLowerCase()!==r&&i("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),r){case"select":return rl(l,o,s);case"option":return fr(l,o,s,u);case"textarea":return vr(l,o,s);case"input":return ol(l,o,s);case"menuitem":return Oo(l,o,s);case"title":return Ke(l,o,s);case"listing":case"pre":return Mr(l,o,r,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 Ra(l,o,r,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 Xr(l,o,r,s);case"html":return u.insertionMode===mr&&l.push(Pa),Xr(l,o,r,s);default:return r.indexOf("-")===-1&&typeof o.is!="string"?Xr(l,o,r,s):Io(l,o,r,s)}}var Ai=O("</"),Mo=O(">");function Oi(l,r,o){switch(r){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(Ai,T(r),Mo)}}function al(l,r){for(var o=r.bootstrapChunks,s=0;s<o.length-1;s++)x(l,o[s]);return s<o.length?F(l,o[s]):!0}var il=O('<template id="'),Do=O('"></template>');function Ii(l,r,o){x(l,il),x(l,r.placeholderPrefix);var s=T(o.toString(16));return x(l,s),F(l,Do)}var Hn=O("<!--$-->"),Aa=O('<!--$?--><template id="'),sl=O('"></template>'),vn=O("<!--$!-->"),Oa=O("<!--/$-->"),Ia=O("<template"),yn=O('"'),Wn=O(' data-dgst="'),_o=O(' data-msg="'),Fi=O(' data-stck="'),Mi=O("></template>");function Di(l,r){return F(l,Hn)}function Lo(l,r,o){if(x(l,Aa),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),F(l,sl)}function Ot(l,r,o,s,u){var g;return g=F(l,vn),x(l,Ia),o&&(x(l,Wn),x(l,T(lt(o))),x(l,yn)),s&&(x(l,_o),x(l,T(lt(s))),x(l,yn)),u&&(x(l,Fi),x(l,T(lt(u))),x(l,yn)),g=F(l,Mi),g}function _i(l,r){return F(l,Oa)}function $o(l,r){return F(l,Oa)}function ll(l,r){return F(l,Oa)}var Li=O('<div hidden id="'),jo=O('">'),$i=O("</div>"),ji=O('<svg aria-hidden="true" style="display:none" id="'),No=O('">'),zo=O("</svg>"),Ni=O('<math aria-hidden="true" style="display:none" id="'),zi=O('">'),Bi=O("</math>"),Fa=O('<table hidden id="'),Ui=O('">'),d=O("</table>"),y=O('<table hidden><tbody id="'),S=O('">'),R=O("</tbody></table>"),W=O('<table hidden><tr id="'),B=O('">'),X=O("</tr></table>"),oe=O('<table hidden><colgroup id="'),Oe=O('">'),Ne=O("</colgroup></table>");function je(l,r,o,s){switch(o.insertionMode){case mr:case ut:return x(l,Li),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,jo);case ir:return x(l,ji),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,No);case sr:return x(l,Ni),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,zi);case Ar:return x(l,Fa),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,Ui);case pn:return x(l,y),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,S);case Ut:return x(l,W),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,B);case lr:return x(l,oe),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,Oe);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,r){switch(r.insertionMode){case mr:case ut:return F(l,$i);case ir:return F(l,zo);case sr:return F(l,Bi);case Ar:return F(l,d);case pn:return F(l,R);case Ut:return F(l,X);case lr:return F(l,Ne);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var It="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Vt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Bo=O(It+';$RS("'),Hi=O('$RS("'),Vn=O('","'),df=O('")<\/script>');function pf(l,r,o){x(l,r.startInlineScript),r.sentCompleteSegmentFunction?x(l,Hi):(r.sentCompleteSegmentFunction=!0,x(l,Bo)),x(l,r.segmentPrefix);var s=T(o.toString(16));return x(l,s),x(l,Vn),x(l,r.placeholderPrefix),x(l,s),F(l,df)}var ul=O(Wt+';$RC("'),hf=O('$RC("'),mf=O('","'),Tu=O('")<\/script>');function Ru(l,r,o,s){if(x(l,r.startInlineScript),r.sentCompleteBoundaryFunction?x(l,hf):(r.sentCompleteBoundaryFunction=!0,x(l,ul)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var u=T(s.toString(16));return x(l,o),x(l,mf),x(l,r.segmentPrefix),x(l,u),F(l,Tu)}var gf=O(Vt+';$RX("'),vf=O('$RX("'),yf=O('"'),bf=O(")<\/script>"),Lt=O(",");function wf(l,r,o,s,u,g){if(x(l,r.startInlineScript),r.sentClientRenderFunction?x(l,vf):(r.sentClientRenderFunction=!0,x(l,gf)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),x(l,yf),(s||u||g)&&(x(l,Lt),x(l,T(Wi(s||"")))),(u||g)&&(x(l,Lt),x(l,T(Wi(u||"")))),g&&(x(l,Lt),x(l,T(Wi(g)))),F(l,bf)}var Pu=/[<\u2028\u2029]/g;function Wi(l){var r=JSON.stringify(l);return r.replace(Pu,function(o){switch(o){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Gt=Object.assign,Au=Symbol.for("react.element"),Vi=Symbol.for("react.portal"),Gi=Symbol.for("react.fragment"),Yi=Symbol.for("react.strict_mode"),Xi=Symbol.for("react.profiler"),Ma=Symbol.for("react.provider"),Da=Symbol.for("react.context"),Uo=Symbol.for("react.forward_ref"),cl=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),dl=Symbol.for("react.memo"),Qi=Symbol.for("react.lazy"),Ou=Symbol.for("react.scope"),xf=Symbol.for("react.debug_trace_mode"),Sf=Symbol.for("react.legacy_hidden"),kf=Symbol.for("react.default_value"),pl=Symbol.iterator,at="@@iterator";function _a(l){if(l===null||typeof l!="object")return null;var r=pl&&l[pl]||l[at];return typeof r=="function"?r:null}function Iu(l,r,o){var s=l.displayName;if(s)return s;var u=r.displayName||r.name||"";return u!==""?o+"("+u+")":o}function hl(l){return l.displayName||"Context"}function nt(l){if(l==null)return null;if(typeof l.tag=="number"&&i("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 Gi:return"Fragment";case Vi:return"Portal";case Xi:return"Profiler";case Yi:return"StrictMode";case cl:return"Suspense";case fl:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Da:var r=l;return hl(r)+".Consumer";case Ma:var o=l;return hl(o._context)+".Provider";case Uo:return Iu(l,l.render,"ForwardRef");case dl:var s=l.displayName||null;return s!==null?s:nt(l.type)||"Memo";case Qi:{var u=l,g=u._payload,w=u._init;try{return nt(w(g))}catch{return null}}}return null}var Ho=0,ml,gl,vl,yl,Fu,Mu,Ki;function Ji(){}Ji.__reactDisabledLog=!0;function La(){{if(Ho===0){ml=console.log,gl=console.info,vl=console.warn,yl=console.error,Fu=console.group,Mu=console.groupCollapsed,Ki=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ji,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Ho++}}function bl(){{if(Ho--,Ho===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},l,{value:ml}),info:Gt({},l,{value:gl}),warn:Gt({},l,{value:vl}),error:Gt({},l,{value:yl}),group:Gt({},l,{value:Fu}),groupCollapsed:Gt({},l,{value:Mu}),groupEnd:Gt({},l,{value:Ki})})}Ho<0&&i("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Wo=n.ReactCurrentDispatcher,wl;function Gn(l,r,o){{if(wl===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);wl=s&&s[1]||""}return`
79
- `+wl+l}}var xl=!1,$a;{var Ef=typeof WeakMap=="function"?WeakMap:Map;$a=new Ef}function ja(l,r){if(!l||xl)return"";{var o=$a.get(l);if(o!==void 0)return o}var s;xl=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Wo.current,Wo.current=null,La();try{if(r){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(Xe){s=Xe}Reflect.construct(l,[],w)}else{try{w.call()}catch(Xe){s=Xe}l.call(w.prototype)}}else{try{throw Error()}catch(Xe){s=Xe}l()}}catch(Xe){if(Xe&&s&&typeof Xe.stack=="string"){for(var k=Xe.stack.split(`
78
+ `&&l.push(Qr),u}var Fo=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Dr=new Map;function Ht(l){var r=Dr.get(l);if(r===void 0){if(!Fo.test(l))throw new Error("Invalid tag: "+l);r=O("<"+l),Dr.set(l,r)}return r}var Pi=O("<!DOCTYPE html>");function Un(l,r,o,s,u){switch(gt(r,o),In(r,o),Ei(r,o,null),!o.suppressContentEditableWarning&&o.contentEditable&&o.children!=null&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),u.insertionMode!==ar&&u.insertionMode!==sr&&r.indexOf("-")===-1&&typeof o.is!="string"&&r.toLowerCase()!==r&&a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),r){case"select":return rl(l,o,s);case"option":return fr(l,o,s,u);case"textarea":return vr(l,o,s);case"input":return ol(l,o,s);case"menuitem":return Oo(l,o,s);case"title":return qe(l,o,s);case"listing":case"pre":return Mr(l,o,r,s);case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":return Ri(l,o,r,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 Xr(l,o,r,s);case"html":return u.insertionMode===mr&&l.push(Pi),Xr(l,o,r,s);default:return r.indexOf("-")===-1&&typeof o.is!="string"?Xr(l,o,r,s):Io(l,o,r,s)}}var Aa=O("</"),Mo=O(">");function Oa(l,r,o){switch(r){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:l.push(Aa,T(r),Mo)}}function il(l,r){for(var o=r.bootstrapChunks,s=0;s<o.length-1;s++)x(l,o[s]);return s<o.length?F(l,o[s]):!0}var al=O('<template id="'),Do=O('"></template>');function Ia(l,r,o){x(l,al),x(l,r.placeholderPrefix);var s=T(o.toString(16));return x(l,s),F(l,Do)}var Hn=O("<!--$-->"),Ai=O('<!--$?--><template id="'),sl=O('"></template>'),vn=O("<!--$!-->"),Oi=O("<!--/$-->"),Ii=O("<template"),yn=O('"'),Wn=O(' data-dgst="'),_o=O(' data-msg="'),Fa=O(' data-stck="'),Ma=O("></template>");function Da(l,r){return F(l,Hn)}function Lo(l,r,o){if(x(l,Ai),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),F(l,sl)}function Ot(l,r,o,s,u){var g;return g=F(l,vn),x(l,Ii),o&&(x(l,Wn),x(l,T(lt(o))),x(l,yn)),s&&(x(l,_o),x(l,T(lt(s))),x(l,yn)),u&&(x(l,Fa),x(l,T(lt(u))),x(l,yn)),g=F(l,Ma),g}function _a(l,r){return F(l,Oi)}function $o(l,r){return F(l,Oi)}function ll(l,r){return F(l,Oi)}var La=O('<div hidden id="'),jo=O('">'),$a=O("</div>"),ja=O('<svg aria-hidden="true" style="display:none" id="'),No=O('">'),zo=O("</svg>"),Na=O('<math aria-hidden="true" style="display:none" id="'),za=O('">'),Ba=O("</math>"),Fi=O('<table hidden id="'),Ua=O('">'),d=O("</table>"),y=O('<table hidden><tbody id="'),S=O('">'),R=O("</tbody></table>"),W=O('<table hidden><tr id="'),B=O('">'),X=O("</tr></table>"),oe=O('<table hidden><colgroup id="'),Oe=O('">'),Ne=O("</colgroup></table>");function je(l,r,o,s){switch(o.insertionMode){case mr:case ut:return x(l,La),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,jo);case ar:return x(l,ja),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,No);case sr:return x(l,Na),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,za);case Ar:return x(l,Fi),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,Ua);case pn:return x(l,y),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,S);case Ut:return x(l,W),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,B);case lr:return x(l,oe),x(l,r.segmentPrefix),x(l,T(s.toString(16))),F(l,Oe);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}function et(l,r){switch(r.insertionMode){case mr:case ut:return F(l,$a);case ar:return F(l,zo);case sr:return F(l,Ba);case Ar:return F(l,d);case pn:return F(l,R);case Ut:return F(l,X);case lr:return F(l,Ne);default:throw new Error("Unknown insertion mode. This is a bug in React.")}}var It="function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}",Wt='function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}',Vt='function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',Bo=O(It+';$RS("'),Ha=O('$RS("'),Vn=O('","'),ff=O('")<\/script>');function df(l,r,o){x(l,r.startInlineScript),r.sentCompleteSegmentFunction?x(l,Ha):(r.sentCompleteSegmentFunction=!0,x(l,Bo)),x(l,r.segmentPrefix);var s=T(o.toString(16));return x(l,s),x(l,Vn),x(l,r.placeholderPrefix),x(l,s),F(l,ff)}var ul=O(Wt+';$RC("'),pf=O('$RC("'),hf=O('","'),Cu=O('")<\/script>');function Tu(l,r,o,s){if(x(l,r.startInlineScript),r.sentCompleteBoundaryFunction?x(l,pf):(r.sentCompleteBoundaryFunction=!0,x(l,ul)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");var u=T(s.toString(16));return x(l,o),x(l,hf),x(l,r.segmentPrefix),x(l,u),F(l,Cu)}var mf=O(Vt+';$RX("'),gf=O('$RX("'),vf=O('"'),yf=O(")<\/script>"),Lt=O(",");function bf(l,r,o,s,u,g){if(x(l,r.startInlineScript),r.sentClientRenderFunction?x(l,gf):(r.sentClientRenderFunction=!0,x(l,mf)),o===null)throw new Error("An ID must have been assigned before we can complete the boundary.");return x(l,o),x(l,vf),(s||u||g)&&(x(l,Lt),x(l,T(Wa(s||"")))),(u||g)&&(x(l,Lt),x(l,T(Wa(u||"")))),g&&(x(l,Lt),x(l,T(Wa(g)))),F(l,yf)}var Ru=/[<\u2028\u2029]/g;function Wa(l){var r=JSON.stringify(l);return r.replace(Ru,function(o){switch(o){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw new Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Gt=Object.assign,Pu=Symbol.for("react.element"),Va=Symbol.for("react.portal"),Ga=Symbol.for("react.fragment"),Ya=Symbol.for("react.strict_mode"),Xa=Symbol.for("react.profiler"),Mi=Symbol.for("react.provider"),Di=Symbol.for("react.context"),Uo=Symbol.for("react.forward_ref"),cl=Symbol.for("react.suspense"),fl=Symbol.for("react.suspense_list"),dl=Symbol.for("react.memo"),Qa=Symbol.for("react.lazy"),Au=Symbol.for("react.scope"),wf=Symbol.for("react.debug_trace_mode"),xf=Symbol.for("react.legacy_hidden"),Sf=Symbol.for("react.default_value"),pl=Symbol.iterator,it="@@iterator";function _i(l){if(l===null||typeof l!="object")return null;var r=pl&&l[pl]||l[it];return typeof r=="function"?r:null}function Ou(l,r,o){var s=l.displayName;if(s)return s;var u=r.displayName||r.name||"";return u!==""?o+"("+u+")":o}function hl(l){return l.displayName||"Context"}function nt(l){if(l==null)return null;if(typeof l.tag=="number"&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Ga:return"Fragment";case Va:return"Portal";case Xa:return"Profiler";case Ya:return"StrictMode";case cl:return"Suspense";case fl:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Di:var r=l;return hl(r)+".Consumer";case Mi:var o=l;return hl(o._context)+".Provider";case Uo:return Ou(l,l.render,"ForwardRef");case dl:var s=l.displayName||null;return s!==null?s:nt(l.type)||"Memo";case Qa:{var u=l,g=u._payload,w=u._init;try{return nt(w(g))}catch{return null}}}return null}var Ho=0,ml,gl,vl,yl,Iu,Fu,qa;function Ka(){}Ka.__reactDisabledLog=!0;function Li(){{if(Ho===0){ml=console.log,gl=console.info,vl=console.warn,yl=console.error,Iu=console.group,Fu=console.groupCollapsed,qa=console.groupEnd;var l={configurable:!0,enumerable:!0,value:Ka,writable:!0};Object.defineProperties(console,{info:l,log:l,warn:l,error:l,group:l,groupCollapsed:l,groupEnd:l})}Ho++}}function bl(){{if(Ho--,Ho===0){var l={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Gt({},l,{value:ml}),info:Gt({},l,{value:gl}),warn:Gt({},l,{value:vl}),error:Gt({},l,{value:yl}),group:Gt({},l,{value:Iu}),groupCollapsed:Gt({},l,{value:Fu}),groupEnd:Gt({},l,{value:qa})})}Ho<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Wo=n.ReactCurrentDispatcher,wl;function Gn(l,r,o){{if(wl===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);wl=s&&s[1]||""}return`
79
+ `+wl+l}}var xl=!1,$i;{var kf=typeof WeakMap=="function"?WeakMap:Map;$i=new kf}function ji(l,r){if(!l||xl)return"";{var o=$i.get(l);if(o!==void 0)return o}var s;xl=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var g;g=Wo.current,Wo.current=null,Li();try{if(r){var w=function(){throw Error()};if(Object.defineProperty(w.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(w,[])}catch(Xe){s=Xe}Reflect.construct(l,[],w)}else{try{w.call()}catch(Xe){s=Xe}l.call(w.prototype)}}else{try{throw Error()}catch(Xe){s=Xe}l()}}catch(Xe){if(Xe&&s&&typeof Xe.stack=="string"){for(var k=Xe.stack.split(`
80
80
  `),M=s.stack.split(`
81
81
  `),z=k.length-1,Q=M.length-1;z>=1&&Q>=0&&k[z]!==M[Q];)Q--;for(;z>=1&&Q>=0;z--,Q--)if(k[z]!==M[Q]){if(z!==1||Q!==1)do if(z--,Q--,Q<0||k[z]!==M[Q]){var ee=`
82
- `+k[z].replace(" at new "," at ");return l.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",l.displayName)),typeof l=="function"&&$a.set(l,ee),ee}while(z>=1&&Q>=0);break}}}finally{xl=!1,Wo.current=g,bl(),Error.prepareStackTrace=u}var de=l?l.displayName||l.name:"",Me=de?Gn(de):"";return typeof l=="function"&&$a.set(l,Me),Me}function Du(l,r,o){return ja(l,!0)}function Sl(l,r,o){return ja(l,!1)}function Zi(l){var r=l.prototype;return!!(r&&r.isReactComponent)}function qi(l,r,o){if(l==null)return"";if(typeof l=="function")return ja(l,Zi(l));if(typeof l=="string")return Gn(l);switch(l){case cl:return Gn("Suspense");case fl:return Gn("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Uo:return Sl(l.render);case dl:return qi(l.type,r,o);case Qi:{var s=l,u=s._payload,g=s._init;try{return qi(g(u),r,o)}catch{}}}return""}var es={},Na=n.ReactDebugCurrentFrame;function za(l){if(l){var r=l._owner,o=qi(l.type,l._source,r?r.type:null);Na.setExtraStackFrame(o)}else Na.setExtraStackFrame(null)}function _u(l,r,o,s,u){{var g=Function.call.bind(le);for(var w in l)if(g(l,w)){var k=void 0;try{if(typeof l[w]!="function"){var M=Error((s||"React class")+": "+o+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}k=l[w](r,w,s,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){k=z}k&&!(k instanceof Error)&&(za(u),i("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",o,w,typeof k),za(null)),k instanceof Error&&!(k.message in es)&&(es[k.message]=!0,za(u),i("Failed %s type: %s",o,k.message),za(null))}}}var Yn;Yn={};var ts={};Object.freeze(ts);function bn(l,r){{var o=l.contextTypes;if(!o)return ts;var s={};for(var u in o)s[u]=r[u];{var g=nt(l)||"Unknown";_u(o,s,"context",g)}return s}}function kl(l,r,o,s){{if(typeof l.getChildContext!="function"){{var u=nt(r)||"Unknown";Yn[u]||(Yn[u]=!0,i("%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 o}var g=l.getChildContext();for(var w in g)if(!(w in s))throw new Error((nt(r)||"Unknown")+'.getChildContext(): key "'+w+'" is not defined in childContextTypes.');{var k=nt(r)||"Unknown";_u(s,g,"child context",k)}return Gt({},o,g)}}var Xn;Xn={};var rs=null,wn=null;function ns(l){l.context._currentValue=l.parentValue}function os(l){l.context._currentValue=l.value}function Ba(l,r){if(l!==r){ns(l);var o=l.parent,s=r.parent;if(o===null){if(s!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(s===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Ba(o,s)}os(r)}}function Ua(l){ns(l);var r=l.parent;r!==null&&Ua(r)}function Lu(l){var r=l.parent;r!==null&&Lu(r),os(l)}function $u(l,r){ns(l);var o=l.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===r.depth?Ba(o,r):$u(o,r)}function ju(l,r){var o=r.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===o.depth?Ba(l,o):ju(l,o),os(r)}function xn(l){var r=wn,o=l;r!==o&&(r===null?Lu(o):o===null?Ua(r):r.depth===o.depth?Ba(r,o):r.depth>o.depth?$u(r,o):ju(r,o),wn=o)}function El(l,r){var o;o=l._currentValue,l._currentValue=r,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xn;var s=wn,u={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:o,value:r};return wn=u,u}function Cf(l){var r=wn;if(r===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");r.context!==l&&i("The parent context is not the expected context. This is probably a bug in React.");{var o=r.parentValue;o===kf?r.context._currentValue=r.context._defaultValue:r.context._currentValue=o,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xn&&i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xn}return wn=r.parent}function Nu(){return wn}function Vo(l){var r=l._currentValue;return r}function Ha(l){return l._reactInternals}function Cl(l,r){l._reactInternals=r}var as={},is={},ss,Go,Wa,Va,ls,Ga,us,cs,Tl;{ss=new Set,Go=new Set,Wa=new Set,us=new Set,Va=new Set,cs=new Set,Tl=new Set;var zu=new Set;Ga=function(l,r){if(!(l===null||typeof l=="function")){var o=r+"_"+l;zu.has(o)||(zu.add(o),i("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,l))}},ls=function(l,r){if(r===void 0){var o=nt(l)||"Component";Va.has(o)||(Va.add(o),i("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}}}function Bu(l,r){{var o=l.constructor,s=o&&nt(o)||"ReactClass",u=s+"."+r;if(as[u])return;i(`%s(...): Can only update a mounting component. This usually means you called %s() outside componentWillMount() on the server. This is a no-op.
82
+ `+k[z].replace(" at new "," at ");return l.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",l.displayName)),typeof l=="function"&&$i.set(l,ee),ee}while(z>=1&&Q>=0);break}}}finally{xl=!1,Wo.current=g,bl(),Error.prepareStackTrace=u}var de=l?l.displayName||l.name:"",Me=de?Gn(de):"";return typeof l=="function"&&$i.set(l,Me),Me}function Mu(l,r,o){return ji(l,!0)}function Sl(l,r,o){return ji(l,!1)}function Ja(l){var r=l.prototype;return!!(r&&r.isReactComponent)}function Za(l,r,o){if(l==null)return"";if(typeof l=="function")return ji(l,Ja(l));if(typeof l=="string")return Gn(l);switch(l){case cl:return Gn("Suspense");case fl:return Gn("SuspenseList")}if(typeof l=="object")switch(l.$$typeof){case Uo:return Sl(l.render);case dl:return Za(l.type,r,o);case Qa:{var s=l,u=s._payload,g=s._init;try{return Za(g(u),r,o)}catch{}}}return""}var es={},Ni=n.ReactDebugCurrentFrame;function zi(l){if(l){var r=l._owner,o=Za(l.type,l._source,r?r.type:null);Ni.setExtraStackFrame(o)}else Ni.setExtraStackFrame(null)}function Du(l,r,o,s,u){{var g=Function.call.bind(le);for(var w in l)if(g(l,w)){var k=void 0;try{if(typeof l[w]!="function"){var M=Error((s||"React class")+": "+o+" type `"+w+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof l[w]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw M.name="Invariant Violation",M}k=l[w](r,w,s,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(z){k=z}k&&!(k instanceof Error)&&(zi(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",o,w,typeof k),zi(null)),k instanceof Error&&!(k.message in es)&&(es[k.message]=!0,zi(u),a("Failed %s type: %s",o,k.message),zi(null))}}}var Yn;Yn={};var ts={};Object.freeze(ts);function bn(l,r){{var o=l.contextTypes;if(!o)return ts;var s={};for(var u in o)s[u]=r[u];{var g=nt(l)||"Unknown";Du(o,s,"context",g)}return s}}function kl(l,r,o,s){{if(typeof l.getChildContext!="function"){{var u=nt(r)||"Unknown";Yn[u]||(Yn[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 o}var g=l.getChildContext();for(var w in g)if(!(w in s))throw new Error((nt(r)||"Unknown")+'.getChildContext(): key "'+w+'" is not defined in childContextTypes.');{var k=nt(r)||"Unknown";Du(s,g,"child context",k)}return Gt({},o,g)}}var Xn;Xn={};var rs=null,wn=null;function ns(l){l.context._currentValue=l.parentValue}function os(l){l.context._currentValue=l.value}function Bi(l,r){if(l!==r){ns(l);var o=l.parent,s=r.parent;if(o===null){if(s!==null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.")}else{if(s===null)throw new Error("The stacks must reach the root at the same time. This is a bug in React.");Bi(o,s)}os(r)}}function Ui(l){ns(l);var r=l.parent;r!==null&&Ui(r)}function _u(l){var r=l.parent;r!==null&&_u(r),os(l)}function Lu(l,r){ns(l);var o=l.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");o.depth===r.depth?Bi(o,r):Lu(o,r)}function $u(l,r){var o=r.parent;if(o===null)throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");l.depth===o.depth?Bi(l,o):$u(l,o),os(r)}function xn(l){var r=wn,o=l;r!==o&&(r===null?_u(o):o===null?Ui(r):r.depth===o.depth?Bi(r,o):r.depth>o.depth?Lu(r,o):$u(r,o),wn=o)}function El(l,r){var o;o=l._currentValue,l._currentValue=r,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xn;var s=wn,u={parent:s,depth:s===null?0:s.depth+1,context:l,parentValue:o,value:r};return wn=u,u}function Ef(l){var r=wn;if(r===null)throw new Error("Tried to pop a Context at the root of the app. This is a bug in React.");r.context!==l&&a("The parent context is not the expected context. This is probably a bug in React.");{var o=r.parentValue;o===Sf?r.context._currentValue=r.context._defaultValue:r.context._currentValue=o,l._currentRenderer!==void 0&&l._currentRenderer!==null&&l._currentRenderer!==Xn&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),l._currentRenderer=Xn}return wn=r.parent}function ju(){return wn}function Vo(l){var r=l._currentValue;return r}function Hi(l){return l._reactInternals}function Cl(l,r){l._reactInternals=r}var is={},as={},ss,Go,Wi,Vi,ls,Gi,us,cs,Tl;{ss=new Set,Go=new Set,Wi=new Set,us=new Set,Vi=new Set,cs=new Set,Tl=new Set;var Nu=new Set;Gi=function(l,r){if(!(l===null||typeof l=="function")){var o=r+"_"+l;Nu.has(o)||(Nu.add(o),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r,l))}},ls=function(l,r){if(r===void 0){var o=nt(l)||"Component";Vi.has(o)||(Vi.add(o),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))}}}function zu(l,r){{var o=l.constructor,s=o&&nt(o)||"ReactClass",u=s+"."+r;if(is[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.`,r,r,s),as[u]=!0}}var Uu={isMounted:function(l){return!1},enqueueSetState:function(l,r,o){var s=Ha(l);s.queue===null?Bu(l,"setState"):(s.queue.push(r),o!=null&&Ga(o,"setState"))},enqueueReplaceState:function(l,r,o){var s=Ha(l);s.replace=!0,s.queue=[r],o!=null&&Ga(o,"setState")},enqueueForceUpdate:function(l,r){var o=Ha(l);o.queue===null?Bu(l,"forceUpdate"):r!=null&&Ga(r,"setState")}};function Tf(l,r,o,s,u){var g=o(u,s);ls(r,g);var w=g==null?s:Gt({},s,g);return w}function Hu(l,r,o){var s=ts,u=l.contextType;if("contextType"in l){var g=u===null||u!==void 0&&u.$$typeof===Da&&u._context===void 0;if(!g&&!Tl.has(l)){Tl.add(l);var w="";u===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof u!="object"?w=" However, it is set to a "+typeof u+".":u.$$typeof===Ma?w=" Did you accidentally pass the Context.Provider instead?":u._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" However, it is set to an object with keys {"+Object.keys(u).join(", ")+"}.",i("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",nt(l)||"Component",w)}}typeof u=="object"&&u!==null?s=Vo(u):s=o;var k=new l(r,s);{if(typeof l.getDerivedStateFromProps=="function"&&(k.state===null||k.state===void 0)){var M=nt(l)||"Component";ss.has(M)||(ss.add(M),i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,k.state===null?"null":"undefined",M))}if(typeof l.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"){var z=null,Q=null,ee=null;if(typeof k.componentWillMount=="function"&&k.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&(z="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"&&k.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"&&k.componentWillUpdate.__suppressDeprecationWarning!==!0?ee="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(ee="UNSAFE_componentWillUpdate"),z!==null||Q!==null||ee!==null){var de=nt(l)||"Component",Me=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wa.has(de)||(Wa.add(de),i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
84
+ Please check the code for the %s component.`,r,r,s),is[u]=!0}}var Bu={isMounted:function(l){return!1},enqueueSetState:function(l,r,o){var s=Hi(l);s.queue===null?zu(l,"setState"):(s.queue.push(r),o!=null&&Gi(o,"setState"))},enqueueReplaceState:function(l,r,o){var s=Hi(l);s.replace=!0,s.queue=[r],o!=null&&Gi(o,"setState")},enqueueForceUpdate:function(l,r){var o=Hi(l);o.queue===null?zu(l,"forceUpdate"):r!=null&&Gi(r,"setState")}};function Cf(l,r,o,s,u){var g=o(u,s);ls(r,g);var w=g==null?s:Gt({},s,g);return w}function Uu(l,r,o){var s=ts,u=l.contextType;if("contextType"in l){var g=u===null||u!==void 0&&u.$$typeof===Di&&u._context===void 0;if(!g&&!Tl.has(l)){Tl.add(l);var w="";u===void 0?w=" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof u!="object"?w=" However, it is set to a "+typeof u+".":u.$$typeof===Mi?w=" Did you accidentally pass the Context.Provider instead?":u._context!==void 0?w=" Did you accidentally pass the Context.Consumer instead?":w=" 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",nt(l)||"Component",w)}}typeof u=="object"&&u!==null?s=Vo(u):s=o;var k=new l(r,s);{if(typeof l.getDerivedStateFromProps=="function"&&(k.state===null||k.state===void 0)){var M=nt(l)||"Component";ss.has(M)||(ss.add(M),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",M,k.state===null?"null":"undefined",M))}if(typeof l.getDerivedStateFromProps=="function"||typeof k.getSnapshotBeforeUpdate=="function"){var z=null,Q=null,ee=null;if(typeof k.componentWillMount=="function"&&k.componentWillMount.__suppressDeprecationWarning!==!0?z="componentWillMount":typeof k.UNSAFE_componentWillMount=="function"&&(z="UNSAFE_componentWillMount"),typeof k.componentWillReceiveProps=="function"&&k.componentWillReceiveProps.__suppressDeprecationWarning!==!0?Q="componentWillReceiveProps":typeof k.UNSAFE_componentWillReceiveProps=="function"&&(Q="UNSAFE_componentWillReceiveProps"),typeof k.componentWillUpdate=="function"&&k.componentWillUpdate.__suppressDeprecationWarning!==!0?ee="componentWillUpdate":typeof k.UNSAFE_componentWillUpdate=="function"&&(ee="UNSAFE_componentWillUpdate"),z!==null||Q!==null||ee!==null){var de=nt(l)||"Component",Me=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";Wi.has(de)||(Wi.add(de),a(`Unsafe legacy lifecycles will not be called for components using new component APIs.
85
85
 
86
86
  %s uses %s but also contains the following legacy lifecycles:%s%s%s
87
87
 
@@ -89,43 +89,43 @@ The above lifecycles should be removed. Learn more about this warning here:
89
89
  https://reactjs.org/link/unsafe-component-lifecycles`,de,Me,z!==null?`
90
90
  `+z:"",Q!==null?`
91
91
  `+Q:"",ee!==null?`
92
- `+ee:""))}}}return k}function Rf(l,r,o){{var s=nt(r)||"Component",u=l.render;u||(r.prototype&&typeof r.prototype.render=="function"?i("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",s):i("%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&&i("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&&i("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&&i("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",s),l.contextType&&i("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",s),l.contextTypes&&i("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",s),r.contextType&&r.contextTypes&&!cs.has(r)&&(cs.add(r),i("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",s)),typeof l.componentShouldUpdate=="function"&&i("%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),r.prototype&&r.prototype.isPureReactComponent&&typeof l.shouldComponentUpdate<"u"&&i("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",nt(r)||"A pure component"),typeof l.componentDidUnmount=="function"&&i("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&i("%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"&&i("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&i("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var g=l.props!==o;l.props!==void 0&&g&&i("%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&&i("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Go.has(r)&&(Go.add(r),i("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",nt(r))),typeof l.getDerivedStateFromProps=="function"&&i("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof l.getDerivedStateFromError=="function"&&i("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",s),typeof r.getSnapshotBeforeUpdate=="function"&&i("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var w=l.state;w&&(typeof w!="object"||Rt(w))&&i("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof r.childContextTypes!="object"&&i("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function Pf(l,r){var o=r.state;if(typeof r.componentWillMount=="function"){if(r.componentWillMount.__suppressDeprecationWarning!==!0){var s=nt(l)||"Unknown";is[s]||(a(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
92
+ `+ee:""))}}}return k}function Tf(l,r,o){{var s=nt(r)||"Component",u=l.render;u||(r.prototype&&typeof r.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),r.contextType&&r.contextTypes&&!cs.has(r)&&(cs.add(r),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),r.prototype&&r.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.",nt(r)||"A pure component"),typeof l.componentDidUnmount=="function"&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",s),typeof l.componentDidReceiveProps=="function"&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",s),typeof l.componentWillRecieveProps=="function"&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",s),typeof l.UNSAFE_componentWillRecieveProps=="function"&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",s);var g=l.props!==o;l.props!==void 0&&g&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",s,s),l.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",s,s),typeof l.getSnapshotBeforeUpdate=="function"&&typeof l.componentDidUpdate!="function"&&!Go.has(r)&&(Go.add(r),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",nt(r))),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 r.getSnapshotBeforeUpdate=="function"&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",s);var w=l.state;w&&(typeof w!="object"||Rt(w))&&a("%s.state: must be set to an object or null",s),typeof l.getChildContext=="function"&&typeof r.childContextTypes!="object"&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",s)}}function Rf(l,r){var o=r.state;if(typeof r.componentWillMount=="function"){if(r.componentWillMount.__suppressDeprecationWarning!==!0){var s=nt(l)||"Unknown";as[s]||(i(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
93
93
 
94
94
  * Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.
95
95
 
96
- Please update the following components: %s`,s),is[s]=!0)}r.componentWillMount()}typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),o!==r.state&&(i("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",nt(l)||"Component"),Uu.enqueueReplaceState(r,r.state,null))}function Rl(l,r,o,s){if(l.queue!==null&&l.queue.length>0){var u=l.queue,g=l.replace;if(l.queue=null,l.replace=!1,g&&u.length===1)r.state=u[0];else{for(var w=g?u[0]:r.state,k=!0,M=g?1:0;M<u.length;M++){var z=u[M],Q=typeof z=="function"?z.call(r,w,o,s):z;Q!=null&&(k?(k=!1,w=Gt({},w,Q)):Gt(w,Q))}r.state=w}}else l.queue=null}function Ya(l,r,o,s){Rf(l,r,o);var u=l.state!==void 0?l.state:null;l.updater=Uu,l.props=o,l.state=u;var g={queue:[],replace:!1};Cl(l,g);var w=r.contextType;if(typeof w=="object"&&w!==null?l.context=Vo(w):l.context=s,l.state===o){var k=nt(r)||"Component";us.has(k)||(us.add(k),i("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))}var M=r.getDerivedStateFromProps;typeof M=="function"&&(l.state=Tf(l,r,M,u,o)),typeof r.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Pf(r,l),Rl(g,l,o,s))}var Af={id:1,overflow:""};function Of(l){var r=l.overflow,o=l.id,s=o&~If(o);return s.toString(32)+r}function Pl(l,r,o){var s=l.id,u=l.overflow,g=fs(s)-1,w=s&~(1<<g),k=o+1,M=fs(r)+g;if(M>30){var z=g-g%5,Q=(1<<z)-1,ee=(w&Q).toString(32),de=w>>z,Me=g-z,Xe=fs(r)+Me,vt=k<<Me,to=vt|de,ro=ee+u;return{id:1<<Xe|to,overflow:ro}}else{var en=k<<g,qo=en|w,sd=u;return{id:1<<M|qo,overflow:sd}}}function fs(l){return 32-Ff(l)}function If(l){return 1<<fs(l)-1}var Ff=Math.clz32?Math.clz32:Al,Mf=Math.log,Kr=Math.LN2;function Al(l){var r=l>>>0;return r===0?32:31-(Mf(r)/Kr|0)|0}function ds(l,r){return l===r&&(l!==0||1/l===1/r)||l!==l&&r!==r}var rt=typeof Object.is=="function"?Object.is:ds,Yt=null,Yo=null,Qn=null,Ge=null,Sn=!1,ps=!1,Xt=0,Qt=null,_r=0,Df=25,yr=!1,kn;function Kn(){if(Yt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
96
+ Please update the following components: %s`,s),as[s]=!0)}r.componentWillMount()}typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),o!==r.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",nt(l)||"Component"),Bu.enqueueReplaceState(r,r.state,null))}function Rl(l,r,o,s){if(l.queue!==null&&l.queue.length>0){var u=l.queue,g=l.replace;if(l.queue=null,l.replace=!1,g&&u.length===1)r.state=u[0];else{for(var w=g?u[0]:r.state,k=!0,M=g?1:0;M<u.length;M++){var z=u[M],Q=typeof z=="function"?z.call(r,w,o,s):z;Q!=null&&(k?(k=!1,w=Gt({},w,Q)):Gt(w,Q))}r.state=w}}else l.queue=null}function Yi(l,r,o,s){Tf(l,r,o);var u=l.state!==void 0?l.state:null;l.updater=Bu,l.props=o,l.state=u;var g={queue:[],replace:!1};Cl(l,g);var w=r.contextType;if(typeof w=="object"&&w!==null?l.context=Vo(w):l.context=s,l.state===o){var k=nt(r)||"Component";us.has(k)||(us.add(k),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",k))}var M=r.getDerivedStateFromProps;typeof M=="function"&&(l.state=Cf(l,r,M,u,o)),typeof r.getDerivedStateFromProps!="function"&&typeof l.getSnapshotBeforeUpdate!="function"&&(typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")&&(Rf(r,l),Rl(g,l,o,s))}var Pf={id:1,overflow:""};function Af(l){var r=l.overflow,o=l.id,s=o&~Of(o);return s.toString(32)+r}function Pl(l,r,o){var s=l.id,u=l.overflow,g=fs(s)-1,w=s&~(1<<g),k=o+1,M=fs(r)+g;if(M>30){var z=g-g%5,Q=(1<<z)-1,ee=(w&Q).toString(32),de=w>>z,Me=g-z,Xe=fs(r)+Me,vt=k<<Me,to=vt|de,ro=ee+u;return{id:1<<Xe|to,overflow:ro}}else{var en=k<<g,Zo=en|w,ad=u;return{id:1<<M|Zo,overflow:ad}}}function fs(l){return 32-If(l)}function Of(l){return 1<<fs(l)-1}var If=Math.clz32?Math.clz32:Al,Ff=Math.log,qr=Math.LN2;function Al(l){var r=l>>>0;return r===0?32:31-(Ff(r)/qr|0)|0}function ds(l,r){return l===r&&(l!==0||1/l===1/r)||l!==l&&r!==r}var rt=typeof Object.is=="function"?Object.is:ds,Yt=null,Yo=null,Qn=null,Ge=null,Sn=!1,ps=!1,Xt=0,Qt=null,_r=0,Mf=25,yr=!1,kn;function qn(){if(Yt===null)throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
97
97
  1. You might have mismatching versions of React and the renderer (such as React DOM)
98
98
  2. You might be breaking the Rules of Hooks
99
99
  3. You might have more than one copy of React in the same app
100
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return yr&&i("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Yt}function _f(l,r){if(r===null)return i("%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.",kn),!1;l.length!==r.length&&i(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
100
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return yr&&a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks"),Yt}function Df(l,r){if(r===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.",kn),!1;l.length!==r.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`,kn,"["+l.join(", ")+"]","["+r.join(", ")+"]");for(var o=0;o<r.length&&o<l.length;o++)if(!rt(l[o],r[o]))return!1;return!0}function Ol(){if(_r>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xa(){return Ge===null?Qn===null?(Sn=!1,Qn=Ge=Ol()):(Sn=!0,Ge=Qn):Ge.next===null?(Sn=!1,Ge=Ge.next=Ol()):(Sn=!0,Ge=Ge.next),Ge}function Lf(l,r){Yt=r,Yo=l,yr=!1,Xt=0}function $f(l,r,o,s){for(;ps;)ps=!1,Xt=0,_r+=1,Ge=null,o=l(r,s);return Il(),o}function hs(){var l=Xt!==0;return l}function Il(){yr=!1,Yt=null,Yo=null,ps=!1,Qn=null,_r=0,Qt=null,Ge=null}function Wu(l){return yr&&i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(l)}function Vu(l){return kn="useContext",Kn(),Vo(l)}function Fl(l,r){return typeof r=="function"?r(l):r}function jf(l){return kn="useState",Gu(Fl,l)}function Gu(l,r,o){if(l!==Fl&&(kn="useReducer"),Yt=Kn(),Ge=Xa(),Sn){var s=Ge.queue,u=s.dispatch;if(Qt!==null){var g=Qt.get(s);if(g!==void 0){Qt.delete(s);var w=Ge.memoizedState,k=g;do{var M=k.action;yr=!0,w=l(w,M),yr=!1,k=k.next}while(k!==null);return Ge.memoizedState=w,[w,u]}}return[Ge.memoizedState,u]}else{yr=!0;var z;l===Fl?z=typeof r=="function"?r():r:z=o!==void 0?o(r):r,yr=!1,Ge.memoizedState=z;var Q=Ge.queue={last:null,dispatch:null},ee=Q.dispatch=Bf.bind(null,Yt,Q);return[Ge.memoizedState,ee]}}function Yu(l,r){Yt=Kn(),Ge=Xa();var o=r===void 0?null:r;if(Ge!==null){var s=Ge.memoizedState;if(s!==null&&o!==null){var u=s[1];if(_f(o,u))return s[0]}}yr=!0;var g=l();return yr=!1,Ge.memoizedState=[g,o],g}function Nf(l){Yt=Kn(),Ge=Xa();var r=Ge.memoizedState;if(r===null){var o={current:l};return Object.seal(o),Ge.memoizedState=o,o}else return r}function zf(l,r){kn="useLayoutEffect",i("useLayoutEffect does nothing on the server, because its effect cannot be encoded into the server renderer's output format. This will lead to a mismatch between the initial, non-hydrated UI and the intended UI. To avoid this, useLayoutEffect should only be used in components that render exclusively on the client. See https://reactjs.org/link/uselayouteffect-ssr for common fixes.")}function Bf(l,r,o){if(_r>=Df)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Yt){ps=!0;var s={action:o,next:null};Qt===null&&(Qt=new Map);var u=Qt.get(r);if(u===void 0)Qt.set(r,s);else{for(var g=u;g.next!==null;)g=g.next;g.next=s}}}function Uf(l,r){return Yu(function(){return l},r)}function Hf(l,r,o){return Kn(),r(l._source)}function Wf(l,r,o){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return o()}function ms(l){return Kn(),l}function Xu(){throw new Error("startTransition cannot be called during server rendering.")}function Ml(){return Kn(),[!1,Xu]}function Qu(){var l=Yo,r=Of(l.treeContext),o=Qa;if(o===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Xt++;return ur(o,r,s)}function gs(){}var vs={readContext:Wu,useContext:Vu,useMemo:Yu,useReducer:Gu,useRef:Nf,useState:jf,useInsertionEffect:gs,useLayoutEffect:zf,useCallback:Uf,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ms,useTransition:Ml,useId:Qu,useMutableSource:Hf,useSyncExternalStore:Wf},Qa=null;function ys(l){Qa=l}function Xo(l){try{var r="",o=l;do{switch(o.tag){case 0:r+=Gn(o.type,null,null);break;case 1:r+=Sl(o.type,null,null);break;case 2:r+=Du(o.type,null,null);break}o=o.parent}while(o);return r}catch(s){return`
103
+ Incoming: %s`,kn,"["+l.join(", ")+"]","["+r.join(", ")+"]");for(var o=0;o<r.length&&o<l.length;o++)if(!rt(l[o],r[o]))return!1;return!0}function Ol(){if(_r>0)throw new Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function Xi(){return Ge===null?Qn===null?(Sn=!1,Qn=Ge=Ol()):(Sn=!0,Ge=Qn):Ge.next===null?(Sn=!1,Ge=Ge.next=Ol()):(Sn=!0,Ge=Ge.next),Ge}function _f(l,r){Yt=r,Yo=l,yr=!1,Xt=0}function Lf(l,r,o,s){for(;ps;)ps=!1,Xt=0,_r+=1,Ge=null,o=l(r,s);return Il(),o}function hs(){var l=Xt!==0;return l}function Il(){yr=!1,Yt=null,Yo=null,ps=!1,Qn=null,_r=0,Qt=null,Ge=null}function Hu(l){return yr&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vo(l)}function Wu(l){return kn="useContext",qn(),Vo(l)}function Fl(l,r){return typeof r=="function"?r(l):r}function $f(l){return kn="useState",Vu(Fl,l)}function Vu(l,r,o){if(l!==Fl&&(kn="useReducer"),Yt=qn(),Ge=Xi(),Sn){var s=Ge.queue,u=s.dispatch;if(Qt!==null){var g=Qt.get(s);if(g!==void 0){Qt.delete(s);var w=Ge.memoizedState,k=g;do{var M=k.action;yr=!0,w=l(w,M),yr=!1,k=k.next}while(k!==null);return Ge.memoizedState=w,[w,u]}}return[Ge.memoizedState,u]}else{yr=!0;var z;l===Fl?z=typeof r=="function"?r():r:z=o!==void 0?o(r):r,yr=!1,Ge.memoizedState=z;var Q=Ge.queue={last:null,dispatch:null},ee=Q.dispatch=zf.bind(null,Yt,Q);return[Ge.memoizedState,ee]}}function Gu(l,r){Yt=qn(),Ge=Xi();var o=r===void 0?null:r;if(Ge!==null){var s=Ge.memoizedState;if(s!==null&&o!==null){var u=s[1];if(Df(o,u))return s[0]}}yr=!0;var g=l();return yr=!1,Ge.memoizedState=[g,o],g}function jf(l){Yt=qn(),Ge=Xi();var r=Ge.memoizedState;if(r===null){var o={current:l};return Object.seal(o),Ge.memoizedState=o,o}else return r}function Nf(l,r){kn="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 zf(l,r,o){if(_r>=Mf)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(l===Yt){ps=!0;var s={action:o,next:null};Qt===null&&(Qt=new Map);var u=Qt.get(r);if(u===void 0)Qt.set(r,s);else{for(var g=u;g.next!==null;)g=g.next;g.next=s}}}function Bf(l,r){return Gu(function(){return l},r)}function Uf(l,r,o){return qn(),r(l._source)}function Hf(l,r,o){if(o===void 0)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");return o()}function ms(l){return qn(),l}function Yu(){throw new Error("startTransition cannot be called during server rendering.")}function Ml(){return qn(),[!1,Yu]}function Xu(){var l=Yo,r=Af(l.treeContext),o=Qi;if(o===null)throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");var s=Xt++;return ur(o,r,s)}function gs(){}var vs={readContext:Hu,useContext:Wu,useMemo:Gu,useReducer:Vu,useRef:jf,useState:$f,useInsertionEffect:gs,useLayoutEffect:Nf,useCallback:Bf,useImperativeHandle:gs,useEffect:gs,useDebugValue:gs,useDeferredValue:ms,useTransition:Ml,useId:Xu,useMutableSource:Uf,useSyncExternalStore:Hf},Qi=null;function ys(l){Qi=l}function Xo(l){try{var r="",o=l;do{switch(o.tag){case 0:r+=Gn(o.type,null,null);break;case 1:r+=Sl(o.type,null,null);break;case 2:r+=Mu(o.type,null,null);break}o=o.parent}while(o);return r}catch(s){return`
104
104
  Error generating stack: `+s.message+`
105
- `+s.stack}}var bs=n.ReactCurrentDispatcher,ws=n.ReactDebugCurrentFrame,xs=0,Qo=1,Dl=2,Jn=3,Ku=4,Vf=0,Ko=1,Jo=2,Gf=12800;function Yf(l){return console.error(l),null}function Zn(){}function Ss(l,r,o,s,u,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:r,progressiveChunkSize:s===void 0?Gf:s,status:Vf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?Yf:u,onAllReady:g===void 0?Zn:g,onShellReady:w===void 0?Zn:w,onShellError:k===void 0?Zn:k,onFatalError:M===void 0?Zn:M},de=Ka(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=qn(ee,l,null,de,Q,ts,rs,Af);return z.push(Me),ee}function Jr(l,r){var o=l.pingedTasks;o.push(r),o.length===1&&p(function(){return Vl(l)})}function _l(l,r){return{id:hn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null}}function qn(l,r,o,s,u,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:r,ping:function(){return Jr(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:u,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,u.add(M),M}function Ka(l,r,o,s,u,g){return{status:xs,id:-1,index:r,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:u,textEmbedded:g}}var Zr=null;function Lr(){return Zr===null||Zr.componentStack===null?"":Xo(Zr.componentStack)}function qr(l,r){l.componentStack={tag:0,parent:l.componentStack,type:r}}function ks(l,r){l.componentStack={tag:1,parent:l.componentStack,type:r}}function Ja(l,r){l.componentStack={tag:2,parent:l.componentStack,type:r}}function br(l){l.componentStack===null?i("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Za=null;function Ll(l,r){{var o;typeof r=="string"?o=r:r&&typeof r.message=="string"?o=r.message:o=String(r);var s=Za||Lr();Za=null,l.errorMessage=o,l.errorComponentStack=s}}function qa(l,r){var o=l.onError(r);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ei(l,r){var o=l.onShellError;o(r);var s=l.onFatalError;s(r),l.destination!==null?(l.status=Jo,U(l.destination,r)):(l.status=Ko,l.fatalError=r)}function Ju(l,r,o){qr(r,"Suspense");var s=r.blockedBoundary,u=r.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=_l(l,k),z=u.chunks.length,Q=Ka(l,z,M,u.formatContext,!1,!1);u.children.push(Q),u.lastPushedText=!1;var ee=Ka(l,0,null,u.formatContext,!1,!1);ee.parentFlushed=!0,r.blockedBoundary=M,r.blockedSegment=ee;try{if(Zo(l,r,w),At(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){br(r);return}}catch(Me){ee.status=Ku,M.forceClientRender=!0,M.errorDigest=qa(l,Me),Ll(M,Me)}finally{r.blockedBoundary=s,r.blockedSegment=u}var de=qn(l,g,s,Q,k,r.legacyContext,r.context,r.treeContext);de.componentStack=r.componentStack,l.pingedTasks.push(de),br(r)}function Xf(l,r,o,s){qr(r,o);var u=r.blockedSegment,g=Un(u.chunks,o,s,l.responseState,u.formatContext);u.lastPushedText=!1;var w=u.formatContext;u.formatContext=Vr(w,o,s),Zo(l,r,g),u.formatContext=w,Oi(u.chunks,o),u.lastPushedText=!1,br(r)}function Zu(l){return l.prototype&&l.prototype.isReactComponent}function ti(l,r,o,s,u){var g={};Lf(r,g);var w=o(s,u);return $f(o,s,w,u)}function $l(l,r,o,s,u){var g=o.render();o.props!==u&&(Bl||i("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nt(s)||"a component"),Bl=!0);{var w=s.childContextTypes;if(w!=null){var k=r.legacyContext,M=kl(o,s,k,w);r.legacyContext=M,Ft(l,r,g),r.legacyContext=k;return}}Ft(l,r,g)}function qu(l,r,o,s){Ja(r,o);var u=bn(o,r.legacyContext),g=Hu(o,s,u);Ya(g,o,s,u),$l(l,r,g,o,s),br(r)}var jl={},ri={},Nl={},zl={},Bl=!1,ec={},tc=!1,Ul=!1,rc=!1;function Qf(l,r,o,s){var u;if(u=bn(o,r.legacyContext),ks(r,o),o.prototype&&typeof o.prototype.render=="function"){var g=nt(o)||"Unknown";jl[g]||(i("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jl[g]=!0)}var w=ti(l,r,o,s,u),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=nt(o)||"Unknown";ri[M]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),ri[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=nt(o)||"Unknown";ri[z]||(i("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ri[z]=!0)}Ya(w,o,s,u),$l(l,r,w,o,s)}else if(Kf(o),k){var Q=r.treeContext,ee=1,de=0;r.treeContext=Pl(Q,ee,de);try{Ft(l,r,w)}finally{r.treeContext=Q}}else Ft(l,r,w);br(r)}function Kf(l){{if(l&&l.childContextTypes&&i("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var r=nt(l)||"Unknown";ec[r]||(i("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",r),ec[r]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=nt(l)||"Unknown";zl[o]||(i("%s: Function components do not support getDerivedStateFromProps.",o),zl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=nt(l)||"Unknown";Nl[s]||(i("%s: Function components do not support contextType.",s),Nl[s]=!0)}}}function nc(l,r){if(l&&l.defaultProps){var o=Gt({},r),s=l.defaultProps;for(var u in s)o[u]===void 0&&(o[u]=s[u]);return o}return r}function Jf(l,r,o,s,u){ks(r,o.render);var g=ti(l,r,o.render,s,u),w=hs();if(w){var k=r.treeContext,M=1,z=0;r.treeContext=Pl(k,M,z);try{Ft(l,r,g)}finally{r.treeContext=k}}else Ft(l,r,g);br(r)}function Hl(l,r,o,s,u){var g=o.type,w=nc(g,s);Es(l,r,g,w,u)}function Zf(l,r,o,s){o._context===void 0?o!==o.Consumer&&(rc||(rc=!0,i("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var u=s.children;typeof u!="function"&&i("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var g=Vo(o),w=u(g);Ft(l,r,w)}function Kt(l,r,o,s){var u=o._context,g=s.value,w=s.children,k;k=r.context,r.context=El(u,g),Ft(l,r,w),r.context=Cf(u),k!==r.context&&i("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function qf(l,r,o,s,u){qr(r,"Lazy");var g=o._payload,w=o._init,k=w(g),M=nc(k,s);Es(l,r,k,M,u),br(r)}function Es(l,r,o,s,u){if(typeof o=="function")if(Zu(o)){qu(l,r,o,s);return}else{Qf(l,r,o,s);return}if(typeof o=="string"){Xf(l,r,o,s);return}switch(o){case Sf:case xf:case Yi:case Xi:case Gi:{Ft(l,r,s.children);return}case fl:{qr(r,"SuspenseList"),Ft(l,r,s.children),br(r);return}case Ou:throw new Error("ReactDOMServer does not yet support scope components.");case cl:{Ju(l,r,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{Jf(l,r,o,s,u);return}case dl:{Hl(l,r,o,s,u);return}case Ma:{Kt(l,r,o,s);return}case Da:{Zf(l,r,o,s);return}case Qi:{qf(l,r,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function ed(l,r){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(tc||i("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."),tc=!0),l.entries===r&&(Ul||i("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ul=!0)}function Ft(l,r,o){try{return td(l,r,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Za=Za!==null?Za:Lr()),s}}function td(l,r,o){if(r.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Au:{var s=o,u=s.type,g=s.props,w=s.ref;Es(l,r,u,g,w);return}case Vi: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 Qi:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(en){throw typeof en=="object"&&en!==null&&typeof en.then=="function"&&qr(r,"Lazy"),en}Ft(l,r,Q);return}}if(Rt(o)){oc(l,r,o);return}var ee=_a(o);if(ee){ed(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);oc(l,r,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=r.blockedSegment;to.lastPushedText=mt(r.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var ro=r.blockedSegment;ro.lastPushedText=mt(r.blockedSegment.chunks,""+o,l.responseState,ro.lastPushedText);return}typeof o=="function"&&i("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 oc(l,r,o){for(var s=o.length,u=0;u<s;u++){var g=r.treeContext;r.treeContext=Pl(g,s,u);try{Zo(l,r,o[u])}finally{r.treeContext=g}}}function ac(l,r,o){var s=r.blockedSegment,u=s.chunks.length,g=Ka(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=qn(l,r.node,r.blockedBoundary,g,r.abortSet,r.legacyContext,r.context,r.treeContext);r.componentStack!==null&&(w.componentStack=r.componentStack.parent);var k=w.ping;o.then(k,k)}function Zo(l,r,o){var s=r.blockedSegment.formatContext,u=r.legacyContext,g=r.context,w=null;w=r.componentStack;try{return Ft(l,r,o)}catch(k){if(Il(),typeof k=="object"&&k!==null&&typeof k.then=="function"){ac(l,r,k),r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w;return}else throw r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w,k}}function ic(l,r,o,s){var u=qa(l,s);if(r===null?ei(l,s):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,r.errorDigest=u,Ll(r,s),r.parentFlushed&&l.clientRenderedBoundaries.push(r))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l){var r=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Jn,ni(r,o,s)}function Wl(l,r,o){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Jn,s===null)r.allPendingTasks--,r.status!==Jo&&(r.status=Jo,r.destination!==null&&L(r.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=r.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Zr;Zr=l;try{Ll(s,g)}finally{Zr=k}}s.parentFlushed&&r.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Wl(z,r,o)}),s.fallbackAbortableTasks.clear(),r.allPendingTasks--,r.allPendingTasks===0){var M=r.onAllReady;M()}}}function eo(l,r){if(r.chunks.length===0&&r.children.length===1&&r.children[0].boundary===null){var o=r.children[0];o.id=r.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(r)}}function ni(l,r,o){if(r===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Zn;var s=l.onShellReady;s()}}else if(r.pendingTasks--,!r.forceClientRender){if(r.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(r,o),r.parentFlushed&&l.completedBoundaries.push(r),r.fallbackAbortableTasks.forEach(rd,l),r.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(r,o);var u=r.completedSegments;u.length===1&&r.parentFlushed&&l.partialBoundaries.push(r)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function nd(l,r){var o=r.blockedSegment;if(o.status===xs){xn(r.context);var s=null;s=Zr,Zr=r;try{Ft(l,r,r.node),At(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),r.abortSet.delete(r),o.status=Qo,ni(l,r.blockedBoundary,o)}catch(g){if(Il(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var u=r.ping;g.then(u,u)}else r.abortSet.delete(r),o.status=Ku,ic(l,r.blockedBoundary,o,g)}finally{Zr=s}}}function Vl(l){if(l.status!==Jo){var r=Nu(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=Lr;var u=Qa;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];nd(l,k)}g.splice(0,w),l.destination!==null&&Gl(l,l.destination)}catch(M){qa(l,M),ei(l,M)}finally{ys(u),bs.current=o,ws.getCurrentStack=s,o===vs&&xn(r)}}}function oi(l,r,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ii(r,l.responseState,s)}case Qo:{o.status=Dl;for(var u=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(r,g[w]);u=Cs(l,r,z)}for(;w<g.length-1;w++)x(r,g[w]);return w<g.length&&(u=F(r,g[w])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,r,o){var s=o.boundary;if(s===null)return oi(l,r,o);if(s.parentFlushed=!0,s.forceClientRender)return Ot(r,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oi(l,r,o),ll(r,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=_t(l.responseState);return Lo(r,l.responseState,u),oi(l,r,o),$o(r,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(r,l.responseState,s.id),oi(l,r,o),$o(r,l.responseState);Di(r,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,r,w),_i(r,l.responseState)}}function sc(l,r,o){return wf(r,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,r,o){return je(r,l.responseState,o.formatContext,o.id),Cs(l,r,o),et(r,o.formatContext)}function lc(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];uc(l,r,o,g)}return s.length=0,Ru(r,l.responseState,o.id,o.rootSegmentID)}function od(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];if(!uc(l,r,o,g))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function uc(l,r,o,s){if(s.status===Dl)return!0;var u=s.id;if(u===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,r,s)}else return Ts(l,r,s),pf(r,l.responseState,u)}function Gl(l,r){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,r,o),l.completedRootSegment=null,al(r,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var g=s[u];sc(l,r,g)}s.splice(0,u);var w=l.completedBoundaries;for(u=0;u<w.length;u++){var k=w[u];lc(l,r,k)}w.splice(0,u),I(r),C(r);var M=l.partialBoundaries;for(u=0;u<M.length;u++){var z=M[u];if(!od(l,r,z)){l.destination=null,u++,M.splice(0,u);return}}M.splice(0,u);var Q=l.completedBoundaries;for(u=0;u<Q.length;u++){var ee=Q[u];lc(l,r,ee)}Q.splice(0,u)}finally{I(r),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&i("There was still abortable task at the root when we closed. This is a bug in React."),L(r))}}function cc(l){p(function(){return Vl(l)})}function ad(l,r){if(l.status===Ko){l.status=Jo,U(r,l.fatalError);return}if(l.status!==Jo&&l.destination===null){l.destination=r;try{Gl(l,r)}catch(o){qa(l,o),ei(l,o)}}}function fc(l,r){try{var o=l.abortableTasks;o.forEach(function(s){return Wl(s,l,r)}),o.clear(),l.destination!==null&&Gl(l,l.destination)}catch(s){qa(l,s),ei(l,s)}}function id(l,r){return new Promise(function(o,s){var u,g,w=new Promise(function(de,Me){g=de,u=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){ad(z,Me)},cancel:function(Me){fc(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(r?r.identifierPrefix:void 0,r?r.nonce:void 0,r?r.bootstrapScriptContent:void 0,r?r.bootstrapScripts:void 0,r?r.bootstrapModules:void 0),Or(r?r.namespaceURI:void 0),r?r.progressiveChunkSize:void 0,r?r.onError:void 0,g,k,M,u);if(r&&r.signal){var Q=r.signal,ee=function(){fc(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}cc(z)})}hc.renderToReadableStream=id,hc.version=t}()),hc}var hh;function Wy(){if(hh)return ea;hh=1;var e,t;return process.env.NODE_ENV==="production"?(e=zy(),t=By()):(e=Uy(),t=Hy()),ea.version=e.version,ea.renderToString=e.renderToString,ea.renderToStaticMarkup=e.renderToStaticMarkup,ea.renderToNodeStream=e.renderToNodeStream,ea.renderToStaticNodeStream=e.renderToStaticNodeStream,ea.renderToReadableStream=t.renderToReadableStream,ea}var Vy=Wy(),mc={exports:{}},gc={exports:{}},Je={};/** @license React v16.13.1
105
+ `+s.stack}}var bs=n.ReactCurrentDispatcher,ws=n.ReactDebugCurrentFrame,xs=0,Qo=1,Dl=2,Kn=3,Qu=4,Wf=0,qo=1,Ko=2,Vf=12800;function Gf(l){return console.error(l),null}function Jn(){}function Ss(l,r,o,s,u,g,w,k,M){var z=[],Q=new Set,ee={destination:null,responseState:r,progressiveChunkSize:s===void 0?Vf:s,status:Wf,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Q,pingedTasks:z,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:u===void 0?Gf:u,onAllReady:g===void 0?Jn:g,onShellReady:w===void 0?Jn:w,onShellError:k===void 0?Jn:k,onFatalError:M===void 0?Jn:M},de=qi(ee,0,null,o,!1,!1);de.parentFlushed=!0;var Me=Zn(ee,l,null,de,Q,ts,rs,Pf);return z.push(Me),ee}function Kr(l,r){var o=l.pingedTasks;o.push(r),o.length===1&&p(function(){return Vl(l)})}function _l(l,r){return{id:hn,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:r,errorDigest:null}}function Zn(l,r,o,s,u,g,w,k){l.allPendingTasks++,o===null?l.pendingRootTasks++:o.pendingTasks++;var M={node:r,ping:function(){return Kr(l,M)},blockedBoundary:o,blockedSegment:s,abortSet:u,legacyContext:g,context:w,treeContext:k};return M.componentStack=null,u.add(M),M}function qi(l,r,o,s,u,g){return{status:xs,id:-1,index:r,parentFlushed:!1,chunks:[],children:[],formatContext:s,boundary:o,lastPushedText:u,textEmbedded:g}}var Jr=null;function Lr(){return Jr===null||Jr.componentStack===null?"":Xo(Jr.componentStack)}function Zr(l,r){l.componentStack={tag:0,parent:l.componentStack,type:r}}function ks(l,r){l.componentStack={tag:1,parent:l.componentStack,type:r}}function Ki(l,r){l.componentStack={tag:2,parent:l.componentStack,type:r}}function br(l){l.componentStack===null?a("Unexpectedly popped too many stack frames. This is a bug in React."):l.componentStack=l.componentStack.parent}var Ji=null;function Ll(l,r){{var o;typeof r=="string"?o=r:r&&typeof r.message=="string"?o=r.message:o=String(r);var s=Ji||Lr();Ji=null,l.errorMessage=o,l.errorComponentStack=s}}function Zi(l,r){var o=l.onError(r);if(o!=null&&typeof o!="string")throw new Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof o+'" instead');return o}function ea(l,r){var o=l.onShellError;o(r);var s=l.onFatalError;s(r),l.destination!==null?(l.status=Ko,U(l.destination,r)):(l.status=qo,l.fatalError=r)}function qu(l,r,o){Zr(r,"Suspense");var s=r.blockedBoundary,u=r.blockedSegment,g=o.fallback,w=o.children,k=new Set,M=_l(l,k),z=u.chunks.length,Q=qi(l,z,M,u.formatContext,!1,!1);u.children.push(Q),u.lastPushedText=!1;var ee=qi(l,0,null,u.formatContext,!1,!1);ee.parentFlushed=!0,r.blockedBoundary=M,r.blockedSegment=ee;try{if(Jo(l,r,w),At(ee.chunks,l.responseState,ee.lastPushedText,ee.textEmbedded),ee.status=Qo,eo(M,ee),M.pendingTasks===0){br(r);return}}catch(Me){ee.status=Qu,M.forceClientRender=!0,M.errorDigest=Zi(l,Me),Ll(M,Me)}finally{r.blockedBoundary=s,r.blockedSegment=u}var de=Zn(l,g,s,Q,k,r.legacyContext,r.context,r.treeContext);de.componentStack=r.componentStack,l.pingedTasks.push(de),br(r)}function Yf(l,r,o,s){Zr(r,o);var u=r.blockedSegment,g=Un(u.chunks,o,s,l.responseState,u.formatContext);u.lastPushedText=!1;var w=u.formatContext;u.formatContext=Vr(w,o,s),Jo(l,r,g),u.formatContext=w,Oa(u.chunks,o),u.lastPushedText=!1,br(r)}function Ku(l){return l.prototype&&l.prototype.isReactComponent}function ta(l,r,o,s,u){var g={};_f(r,g);var w=o(s,u);return Lf(o,s,w,u)}function $l(l,r,o,s,u){var g=o.render();o.props!==u&&(Bl||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",nt(s)||"a component"),Bl=!0);{var w=s.childContextTypes;if(w!=null){var k=r.legacyContext,M=kl(o,s,k,w);r.legacyContext=M,Ft(l,r,g),r.legacyContext=k;return}}Ft(l,r,g)}function Ju(l,r,o,s){Ki(r,o);var u=bn(o,r.legacyContext),g=Uu(o,s,u);Yi(g,o,s,u),$l(l,r,g,o,s),br(r)}var jl={},ra={},Nl={},zl={},Bl=!1,Zu={},ec=!1,Ul=!1,tc=!1;function Xf(l,r,o,s){var u;if(u=bn(o,r.legacyContext),ks(r,o),o.prototype&&typeof o.prototype.render=="function"){var g=nt(o)||"Unknown";jl[g]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",g,g),jl[g]=!0)}var w=ta(l,r,o,s,u),k=hs();if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){var M=nt(o)||"Unknown";ra[M]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",M,M,M),ra[M]=!0)}if(typeof w=="object"&&w!==null&&typeof w.render=="function"&&w.$$typeof===void 0){{var z=nt(o)||"Unknown";ra[z]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",z,z,z),ra[z]=!0)}Yi(w,o,s,u),$l(l,r,w,o,s)}else if(Qf(o),k){var Q=r.treeContext,ee=1,de=0;r.treeContext=Pl(Q,ee,de);try{Ft(l,r,w)}finally{r.treeContext=Q}}else Ft(l,r,w);br(r)}function Qf(l){{if(l&&l.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",l.displayName||l.name||"Component"),l.defaultProps!==void 0){var r=nt(l)||"Unknown";Zu[r]||(a("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.",r),Zu[r]=!0)}if(typeof l.getDerivedStateFromProps=="function"){var o=nt(l)||"Unknown";zl[o]||(a("%s: Function components do not support getDerivedStateFromProps.",o),zl[o]=!0)}if(typeof l.contextType=="object"&&l.contextType!==null){var s=nt(l)||"Unknown";Nl[s]||(a("%s: Function components do not support contextType.",s),Nl[s]=!0)}}}function rc(l,r){if(l&&l.defaultProps){var o=Gt({},r),s=l.defaultProps;for(var u in s)o[u]===void 0&&(o[u]=s[u]);return o}return r}function qf(l,r,o,s,u){ks(r,o.render);var g=ta(l,r,o.render,s,u),w=hs();if(w){var k=r.treeContext,M=1,z=0;r.treeContext=Pl(k,M,z);try{Ft(l,r,g)}finally{r.treeContext=k}}else Ft(l,r,g);br(r)}function Hl(l,r,o,s,u){var g=o.type,w=rc(g,s);Es(l,r,g,w,u)}function Kf(l,r,o,s){o._context===void 0?o!==o.Consumer&&(tc||(tc=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):o=o._context;var 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 g=Vo(o),w=u(g);Ft(l,r,w)}function qt(l,r,o,s){var u=o._context,g=s.value,w=s.children,k;k=r.context,r.context=El(u,g),Ft(l,r,w),r.context=Ef(u),k!==r.context&&a("Popping the context provider did not return back to the original snapshot. This is a bug in React.")}function Jf(l,r,o,s,u){Zr(r,"Lazy");var g=o._payload,w=o._init,k=w(g),M=rc(k,s);Es(l,r,k,M,u),br(r)}function Es(l,r,o,s,u){if(typeof o=="function")if(Ku(o)){Ju(l,r,o,s);return}else{Xf(l,r,o,s);return}if(typeof o=="string"){Yf(l,r,o,s);return}switch(o){case xf:case wf:case Ya:case Xa:case Ga:{Ft(l,r,s.children);return}case fl:{Zr(r,"SuspenseList"),Ft(l,r,s.children),br(r);return}case Au:throw new Error("ReactDOMServer does not yet support scope components.");case cl:{qu(l,r,s);return}}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Uo:{qf(l,r,o,s,u);return}case dl:{Hl(l,r,o,s,u);return}case Mi:{qt(l,r,o,s);return}case Di:{Kf(l,r,o,s);return}case Qa:{Jf(l,r,o,s);return}}var g="";throw(o===void 0||typeof o=="object"&&o!==null&&Object.keys(o).length===0)&&(g+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(o==null?o:typeof o)+"."+g))}function Zf(l,r){typeof Symbol=="function"&&l[Symbol.toStringTag]==="Generator"&&(ec||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."),ec=!0),l.entries===r&&(Ul||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ul=!0)}function Ft(l,r,o){try{return ed(l,r,o)}catch(s){throw typeof s=="object"&&s!==null&&typeof s.then=="function"||(Ji=Ji!==null?Ji:Lr()),s}}function ed(l,r,o){if(r.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Pu:{var s=o,u=s.type,g=s.props,w=s.ref;Es(l,r,u,g,w);return}case Va:throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Qa:{var k=o,M=k._payload,z=k._init,Q;try{Q=z(M)}catch(en){throw typeof en=="object"&&en!==null&&typeof en.then=="function"&&Zr(r,"Lazy"),en}Ft(l,r,Q);return}}if(Rt(o)){nc(l,r,o);return}var ee=_i(o);if(ee){Zf(o,ee);var de=ee.call(o);if(de){var Me=de.next();if(!Me.done){var Xe=[];do Xe.push(Me.value),Me=de.next();while(!Me.done);nc(l,r,Xe);return}return}}var vt=Object.prototype.toString.call(o);throw new Error("Objects are not valid as a React child (found: "+(vt==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":vt)+"). If you meant to render a collection of children, use an array instead.")}if(typeof o=="string"){var to=r.blockedSegment;to.lastPushedText=mt(r.blockedSegment.chunks,o,l.responseState,to.lastPushedText);return}if(typeof o=="number"){var ro=r.blockedSegment;ro.lastPushedText=mt(r.blockedSegment.chunks,""+o,l.responseState,ro.lastPushedText);return}typeof o=="function"&&a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}function nc(l,r,o){for(var s=o.length,u=0;u<s;u++){var g=r.treeContext;r.treeContext=Pl(g,s,u);try{Jo(l,r,o[u])}finally{r.treeContext=g}}}function oc(l,r,o){var s=r.blockedSegment,u=s.chunks.length,g=qi(l,u,null,s.formatContext,s.lastPushedText,!0);s.children.push(g),s.lastPushedText=!1;var w=Zn(l,r.node,r.blockedBoundary,g,r.abortSet,r.legacyContext,r.context,r.treeContext);r.componentStack!==null&&(w.componentStack=r.componentStack.parent);var k=w.ping;o.then(k,k)}function Jo(l,r,o){var s=r.blockedSegment.formatContext,u=r.legacyContext,g=r.context,w=null;w=r.componentStack;try{return Ft(l,r,o)}catch(k){if(Il(),typeof k=="object"&&k!==null&&typeof k.then=="function"){oc(l,r,k),r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w;return}else throw r.blockedSegment.formatContext=s,r.legacyContext=u,r.context=g,xn(g),r.componentStack=w,k}}function ic(l,r,o,s){var u=Zi(l,s);if(r===null?ea(l,s):(r.pendingTasks--,r.forceClientRender||(r.forceClientRender=!0,r.errorDigest=u,Ll(r,s),r.parentFlushed&&l.clientRenderedBoundaries.push(r))),l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function td(l){var r=this,o=l.blockedBoundary,s=l.blockedSegment;s.status=Kn,na(r,o,s)}function Wl(l,r,o){var s=l.blockedBoundary,u=l.blockedSegment;if(u.status=Kn,s===null)r.allPendingTasks--,r.status!==Ko&&(r.status=Ko,r.destination!==null&&L(r.destination));else{if(s.pendingTasks--,!s.forceClientRender){s.forceClientRender=!0;var g=o===void 0?new Error("The render was aborted by the server without a reason."):o;s.errorDigest=r.onError(g);{var w="The server did not finish this Suspense boundary: ";g&&typeof g.message=="string"?g=w+g.message:g=w+String(g);var k=Jr;Jr=l;try{Ll(s,g)}finally{Jr=k}}s.parentFlushed&&r.clientRenderedBoundaries.push(s)}if(s.fallbackAbortableTasks.forEach(function(z){return Wl(z,r,o)}),s.fallbackAbortableTasks.clear(),r.allPendingTasks--,r.allPendingTasks===0){var M=r.onAllReady;M()}}}function eo(l,r){if(r.chunks.length===0&&r.children.length===1&&r.children[0].boundary===null){var o=r.children[0];o.id=r.id,o.parentFlushed=!0,o.status===Qo&&eo(l,o)}else{var s=l.completedSegments;s.push(r)}}function na(l,r,o){if(r===null){if(o.parentFlushed){if(l.completedRootSegment!==null)throw new Error("There can only be one root segment. This is a bug in React.");l.completedRootSegment=o}if(l.pendingRootTasks--,l.pendingRootTasks===0){l.onShellError=Jn;var s=l.onShellReady;s()}}else if(r.pendingTasks--,!r.forceClientRender){if(r.pendingTasks===0)o.parentFlushed&&o.status===Qo&&eo(r,o),r.parentFlushed&&l.completedBoundaries.push(r),r.fallbackAbortableTasks.forEach(td,l),r.fallbackAbortableTasks.clear();else if(o.parentFlushed&&o.status===Qo){eo(r,o);var u=r.completedSegments;u.length===1&&r.parentFlushed&&l.partialBoundaries.push(r)}}if(l.allPendingTasks--,l.allPendingTasks===0){var g=l.onAllReady;g()}}function rd(l,r){var o=r.blockedSegment;if(o.status===xs){xn(r.context);var s=null;s=Jr,Jr=r;try{Ft(l,r,r.node),At(o.chunks,l.responseState,o.lastPushedText,o.textEmbedded),r.abortSet.delete(r),o.status=Qo,na(l,r.blockedBoundary,o)}catch(g){if(Il(),typeof g=="object"&&g!==null&&typeof g.then=="function"){var u=r.ping;g.then(u,u)}else r.abortSet.delete(r),o.status=Qu,ic(l,r.blockedBoundary,o,g)}finally{Jr=s}}}function Vl(l){if(l.status!==Ko){var r=ju(),o=bs.current;bs.current=vs;var s;s=ws.getCurrentStack,ws.getCurrentStack=Lr;var u=Qi;ys(l.responseState);try{var g=l.pingedTasks,w;for(w=0;w<g.length;w++){var k=g[w];rd(l,k)}g.splice(0,w),l.destination!==null&&Gl(l,l.destination)}catch(M){Zi(l,M),ea(l,M)}finally{ys(u),bs.current=o,ws.getCurrentStack=s,o===vs&&xn(r)}}}function oa(l,r,o){switch(o.parentFlushed=!0,o.status){case xs:{var s=o.id=l.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,Ia(r,l.responseState,s)}case Qo:{o.status=Dl;for(var u=!0,g=o.chunks,w=0,k=o.children,M=0;M<k.length;M++){for(var z=k[M];w<z.index;w++)x(r,g[w]);u=Cs(l,r,z)}for(;w<g.length-1;w++)x(r,g[w]);return w<g.length&&(u=F(r,g[w])),u}default:throw new Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.")}}function Cs(l,r,o){var s=o.boundary;if(s===null)return oa(l,r,o);if(s.parentFlushed=!0,s.forceClientRender)return Ot(r,l.responseState,s.errorDigest,s.errorMessage,s.errorComponentStack),oa(l,r,o),ll(r,l.responseState);if(s.pendingTasks>0){s.rootSegmentID=l.nextSegmentId++,s.completedSegments.length>0&&l.partialBoundaries.push(s);var u=s.id=_t(l.responseState);return Lo(r,l.responseState,u),oa(l,r,o),$o(r,l.responseState)}else{if(s.byteSize>l.progressiveChunkSize)return s.rootSegmentID=l.nextSegmentId++,l.completedBoundaries.push(s),Lo(r,l.responseState,s.id),oa(l,r,o),$o(r,l.responseState);Da(r,l.responseState);var g=s.completedSegments;if(g.length!==1)throw new Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");var w=g[0];return Cs(l,r,w),_a(r,l.responseState)}}function ac(l,r,o){return bf(r,l.responseState,o.id,o.errorDigest,o.errorMessage,o.errorComponentStack)}function Ts(l,r,o){return je(r,l.responseState,o.formatContext,o.id),Cs(l,r,o),et(r,o.formatContext)}function sc(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];lc(l,r,o,g)}return s.length=0,Tu(r,l.responseState,o.id,o.rootSegmentID)}function nd(l,r,o){for(var s=o.completedSegments,u=0;u<s.length;u++){var g=s[u];if(!lc(l,r,o,g))return u++,s.splice(0,u),!1}return s.splice(0,u),!0}function lc(l,r,o,s){if(s.status===Dl)return!0;var u=s.id;if(u===-1){var g=s.id=o.rootSegmentID;if(g===-1)throw new Error("A root segment ID must have been assigned by now. This is a bug in React.");return Ts(l,r,s)}else return Ts(l,r,s),df(r,l.responseState,u)}function Gl(l,r){C();try{var o=l.completedRootSegment;o!==null&&l.pendingRootTasks===0&&(Cs(l,r,o),l.completedRootSegment=null,il(r,l.responseState));var s=l.clientRenderedBoundaries,u;for(u=0;u<s.length;u++){var g=s[u];ac(l,r,g)}s.splice(0,u);var w=l.completedBoundaries;for(u=0;u<w.length;u++){var k=w[u];sc(l,r,k)}w.splice(0,u),I(r),C(r);var M=l.partialBoundaries;for(u=0;u<M.length;u++){var z=M[u];if(!nd(l,r,z)){l.destination=null,u++,M.splice(0,u);return}}M.splice(0,u);var Q=l.completedBoundaries;for(u=0;u<Q.length;u++){var ee=Q[u];sc(l,r,ee)}Q.splice(0,u)}finally{I(r),l.allPendingTasks===0&&l.pingedTasks.length===0&&l.clientRenderedBoundaries.length===0&&l.completedBoundaries.length===0&&(l.abortableTasks.size!==0&&a("There was still abortable task at the root when we closed. This is a bug in React."),L(r))}}function uc(l){p(function(){return Vl(l)})}function od(l,r){if(l.status===qo){l.status=Ko,U(r,l.fatalError);return}if(l.status!==Ko&&l.destination===null){l.destination=r;try{Gl(l,r)}catch(o){Zi(l,o),ea(l,o)}}}function cc(l,r){try{var o=l.abortableTasks;o.forEach(function(s){return Wl(s,l,r)}),o.clear(),l.destination!==null&&Gl(l,l.destination)}catch(s){Zi(l,s),ea(l,s)}}function id(l,r){return new Promise(function(o,s){var u,g,w=new Promise(function(de,Me){g=de,u=Me});function k(){var de=new ReadableStream({type:"bytes",pull:function(Me){od(z,Me)},cancel:function(Me){cc(z)}},{highWaterMark:0});de.allReady=w,o(de)}function M(de){w.catch(function(){}),s(de)}var z=Ss(l,Po(r?r.identifierPrefix:void 0,r?r.nonce:void 0,r?r.bootstrapScriptContent:void 0,r?r.bootstrapScripts:void 0,r?r.bootstrapModules:void 0),Or(r?r.namespaceURI:void 0),r?r.progressiveChunkSize:void 0,r?r.onError:void 0,g,k,M,u);if(r&&r.signal){var Q=r.signal,ee=function(){cc(z,Q.reason),Q.removeEventListener("abort",ee)};Q.addEventListener("abort",ee)}uc(z)})}pc.renderToReadableStream=id,pc.version=t}()),pc}var ph;function Vy(){if(ph)return ei;ph=1;var e,t;return process.env.NODE_ENV==="production"?(e=By(),t=Uy()):(e=Hy(),t=Wy()),ei.version=e.version,ei.renderToString=e.renderToString,ei.renderToStaticMarkup=e.renderToStaticMarkup,ei.renderToNodeStream=e.renderToNodeStream,ei.renderToStaticNodeStream=e.renderToStaticNodeStream,ei.renderToReadableStream=t.renderToReadableStream,ei}var Gy=Vy(),hc={exports:{}},mc={exports:{}},Ke={};/** @license React v16.13.1
106
106
  * react-is.production.min.js
107
107
  *
108
108
  * Copyright (c) Facebook, Inc. and its affiliates.
109
109
  *
110
110
  * This source code is licensed under the MIT license found in the
111
111
  * LICENSE file in the root directory of this source tree.
112
- */var mh;function Gy(){if(mh)return Je;mh=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j($){if(typeof $=="object"&&$!==null){var Z=$.$$typeof;switch(Z){case t:switch($=$.type,$){case h:case v:case a:case c:case i:case x:return $;default:switch($=$&&$.$$typeof,$){case m:case C:case L:case I:case p:return $;default:return Z}}case n:return Z}}}function V($){return j($)===v}return Je.AsyncMode=h,Je.ConcurrentMode=v,Je.ContextConsumer=m,Je.ContextProvider=p,Je.Element=t,Je.ForwardRef=C,Je.Fragment=a,Je.Lazy=L,Je.Memo=I,Je.Portal=n,Je.Profiler=c,Je.StrictMode=i,Je.Suspense=x,Je.isAsyncMode=function($){return V($)||j($)===h},Je.isConcurrentMode=V,Je.isContextConsumer=function($){return j($)===m},Je.isContextProvider=function($){return j($)===p},Je.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},Je.isForwardRef=function($){return j($)===C},Je.isFragment=function($){return j($)===a},Je.isLazy=function($){return j($)===L},Je.isMemo=function($){return j($)===I},Je.isPortal=function($){return j($)===n},Je.isProfiler=function($){return j($)===c},Je.isStrictMode=function($){return j($)===i},Je.isSuspense=function($){return j($)===x},Je.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===a||$===v||$===c||$===i||$===x||$===F||typeof $=="object"&&$!==null&&($.$$typeof===L||$.$$typeof===I||$.$$typeof===p||$.$$typeof===m||$.$$typeof===C||$.$$typeof===T||$.$$typeof===O||$.$$typeof===U||$.$$typeof===D)},Je.typeOf=j,Je}var Ze={};/** @license React v16.13.1
112
+ */var hh;function Yy(){if(hh)return Ke;hh=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j($){if(typeof $=="object"&&$!==null){var J=$.$$typeof;switch(J){case t:switch($=$.type,$){case h:case v:case i:case c:case a:case x:return $;default:switch($=$&&$.$$typeof,$){case m:case C:case L:case I:case p:return $;default:return J}}case n:return J}}}function V($){return j($)===v}return Ke.AsyncMode=h,Ke.ConcurrentMode=v,Ke.ContextConsumer=m,Ke.ContextProvider=p,Ke.Element=t,Ke.ForwardRef=C,Ke.Fragment=i,Ke.Lazy=L,Ke.Memo=I,Ke.Portal=n,Ke.Profiler=c,Ke.StrictMode=a,Ke.Suspense=x,Ke.isAsyncMode=function($){return V($)||j($)===h},Ke.isConcurrentMode=V,Ke.isContextConsumer=function($){return j($)===m},Ke.isContextProvider=function($){return j($)===p},Ke.isElement=function($){return typeof $=="object"&&$!==null&&$.$$typeof===t},Ke.isForwardRef=function($){return j($)===C},Ke.isFragment=function($){return j($)===i},Ke.isLazy=function($){return j($)===L},Ke.isMemo=function($){return j($)===I},Ke.isPortal=function($){return j($)===n},Ke.isProfiler=function($){return j($)===c},Ke.isStrictMode=function($){return j($)===a},Ke.isSuspense=function($){return j($)===x},Ke.isValidElementType=function($){return typeof $=="string"||typeof $=="function"||$===i||$===v||$===c||$===a||$===x||$===F||typeof $=="object"&&$!==null&&($.$$typeof===L||$.$$typeof===I||$.$$typeof===p||$.$$typeof===m||$.$$typeof===C||$.$$typeof===T||$.$$typeof===O||$.$$typeof===U||$.$$typeof===D)},Ke.typeOf=j,Ke}var Je={};/** @license React v16.13.1
113
113
  * react-is.development.js
114
114
  *
115
115
  * Copyright (c) Facebook, Inc. and its affiliates.
116
116
  *
117
117
  * This source code is licensed under the MIT license found in the
118
118
  * LICENSE file in the root directory of this source tree.
119
- */var gh;function Yy(){return gh||(gh=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j(se){return typeof se=="string"||typeof se=="function"||se===a||se===v||se===c||se===i||se===x||se===F||typeof se=="object"&&se!==null&&(se.$$typeof===L||se.$$typeof===I||se.$$typeof===p||se.$$typeof===m||se.$$typeof===C||se.$$typeof===T||se.$$typeof===O||se.$$typeof===U||se.$$typeof===D)}function V(se){if(typeof se=="object"&&se!==null){var We=se.$$typeof;switch(We){case t:var ot=se.type;switch(ot){case h:case v:case a:case c:case i:case x:return ot;default:var Nt=ot&&ot.$$typeof;switch(Nt){case m:case C:case L:case I:case p:return Nt;default:return We}}case n:return We}}}var $=h,Z=v,ie=m,re=p,le=t,ye=C,De=a,Fe=L,$e=I,ze=n,xe=c,Re=i,Le=x,q=!1;function ve(se){return q||(q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(se)||V(se)===h}function Y(se){return V(se)===v}function J(se){return V(se)===m}function fe(se){return V(se)===p}function te(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function he(se){return V(se)===C}function me(se){return V(se)===a}function ue(se){return V(se)===L}function ce(se){return V(se)===I}function Ee(se){return V(se)===n}function Se(se){return V(se)===c}function Pe(se){return V(se)===i}function Be(se){return V(se)===x}Ze.AsyncMode=$,Ze.ConcurrentMode=Z,Ze.ContextConsumer=ie,Ze.ContextProvider=re,Ze.Element=le,Ze.ForwardRef=ye,Ze.Fragment=De,Ze.Lazy=Fe,Ze.Memo=$e,Ze.Portal=ze,Ze.Profiler=xe,Ze.StrictMode=Re,Ze.Suspense=Le,Ze.isAsyncMode=ve,Ze.isConcurrentMode=Y,Ze.isContextConsumer=J,Ze.isContextProvider=fe,Ze.isElement=te,Ze.isForwardRef=he,Ze.isFragment=me,Ze.isLazy=ue,Ze.isMemo=ce,Ze.isPortal=Ee,Ze.isProfiler=Se,Ze.isStrictMode=Pe,Ze.isSuspense=Be,Ze.isValidElementType=j,Ze.typeOf=V}()),Ze}var vh;function rg(){return vh||(vh=1,process.env.NODE_ENV==="production"?gc.exports=Gy():gc.exports=Yy()),gc.exports}/*
119
+ */var mh;function Xy(){return mh||(mh=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,c=e?Symbol.for("react.profiler"):60114,p=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,C=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,F=e?Symbol.for("react.suspense_list"):60120,I=e?Symbol.for("react.memo"):60115,L=e?Symbol.for("react.lazy"):60116,D=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,U=e?Symbol.for("react.scope"):60119;function j(se){return typeof se=="string"||typeof se=="function"||se===i||se===v||se===c||se===a||se===x||se===F||typeof se=="object"&&se!==null&&(se.$$typeof===L||se.$$typeof===I||se.$$typeof===p||se.$$typeof===m||se.$$typeof===C||se.$$typeof===T||se.$$typeof===O||se.$$typeof===U||se.$$typeof===D)}function V(se){if(typeof se=="object"&&se!==null){var We=se.$$typeof;switch(We){case t:var ot=se.type;switch(ot){case h:case v:case i:case c:case a:case x:return ot;default:var Nt=ot&&ot.$$typeof;switch(Nt){case m:case C:case L:case I:case p:return Nt;default:return We}}case n:return We}}}var $=h,J=v,ae=m,re=p,le=t,ye=C,De=i,Fe=L,$e=I,ze=n,xe=c,Re=a,Le=x,Z=!1;function ve(se){return Z||(Z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Y(se)||V(se)===h}function Y(se){return V(se)===v}function K(se){return V(se)===m}function fe(se){return V(se)===p}function te(se){return typeof se=="object"&&se!==null&&se.$$typeof===t}function he(se){return V(se)===C}function me(se){return V(se)===i}function ue(se){return V(se)===L}function ce(se){return V(se)===I}function Ee(se){return V(se)===n}function Se(se){return V(se)===c}function Pe(se){return V(se)===a}function Be(se){return V(se)===x}Je.AsyncMode=$,Je.ConcurrentMode=J,Je.ContextConsumer=ae,Je.ContextProvider=re,Je.Element=le,Je.ForwardRef=ye,Je.Fragment=De,Je.Lazy=Fe,Je.Memo=$e,Je.Portal=ze,Je.Profiler=xe,Je.StrictMode=Re,Je.Suspense=Le,Je.isAsyncMode=ve,Je.isConcurrentMode=Y,Je.isContextConsumer=K,Je.isContextProvider=fe,Je.isElement=te,Je.isForwardRef=he,Je.isFragment=me,Je.isLazy=ue,Je.isMemo=ce,Je.isPortal=Ee,Je.isProfiler=Se,Je.isStrictMode=Pe,Je.isSuspense=Be,Je.isValidElementType=j,Je.typeOf=V}()),Je}var gh;function tg(){return gh||(gh=1,process.env.NODE_ENV==="production"?mc.exports=Yy():mc.exports=Xy()),mc.exports}/*
120
120
  object-assign
121
121
  (c) Sindre Sorhus
122
122
  @license MIT
123
- */var ud,yh;function Xy(){if(yh)return ud;yh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function a(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function i(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var p={},m=0;m<10;m++)p["_"+String.fromCharCode(m)]=m;var h=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(h.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(C){v[C]=C}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ud=i()?Object.assign:function(c,p){for(var m,h=a(c),v,C=1;C<arguments.length;C++){m=Object(arguments[C]);for(var x in m)t.call(m,x)&&(h[x]=m[x]);if(e){v=e(m);for(var F=0;F<v.length;F++)n.call(m,v[F])&&(h[v[F]]=m[v[F]])}}return h},ud}var cd,bh;function Dp(){if(bh)return cd;bh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return cd=e,cd}var fd,wh;function ng(){return wh||(wh=1,fd=Function.call.bind(Object.prototype.hasOwnProperty)),fd}var dd,xh;function Qy(){if(xh)return dd;xh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Dp(),n={},a=ng();e=function(c){var p="Warning: "+c;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function i(c,p,m,h,v){if(process.env.NODE_ENV!=="production"){for(var C in c)if(a(c,C)){var x;try{if(typeof c[C]!="function"){var F=Error((h||"React class")+": "+m+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}x=c[C](p,C,h,m,null,t)}catch(L){x=L}if(x&&!(x instanceof Error)&&e((h||"React class")+": type specification of "+m+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof x+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),x instanceof Error&&!(x.message in n)){n[x.message]=!0;var I=v?v():"";e("Failed "+m+" type: "+x.message+(I??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},dd=i,dd}var pd,Sh;function Ky(){if(Sh)return pd;Sh=1;var e=rg(),t=Xy(),n=Dp(),a=ng(),i=Qy(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(m){var h="Warning: "+m;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function p(){return null}return pd=function(m,h){var v=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function x(Y){var J=Y&&(v&&Y[v]||Y[C]);if(typeof J=="function")return J}var F="<<anonymous>>",I={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:U(),arrayOf:j,element:V(),elementType:$(),instanceOf:Z,node:ye(),objectOf:re,oneOf:ie,oneOfType:le,shape:Fe,exact:$e};function L(Y,J){return Y===J?Y!==0||1/Y===1/J:Y!==Y&&J!==J}function D(Y,J){this.message=Y,this.data=J&&typeof J=="object"?J:{},this.stack=""}D.prototype=Error.prototype;function T(Y){if(process.env.NODE_ENV!=="production")var J={},fe=0;function te(me,ue,ce,Ee,Se,Pe,Be){if(Ee=Ee||F,Pe=Pe||ce,Be!==n){if(h){var se=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw se.name="Invariant Violation",se}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var We=Ee+":"+ce;!J[We]&&fe<3&&(c("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+Ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),J[We]=!0,fe++)}}return ue[ce]==null?me?ue[ce]===null?new D("The "+Se+" `"+Pe+"` is marked as required "+("in `"+Ee+"`, but its value is `null`.")):new D("The "+Se+" `"+Pe+"` is marked as required in "+("`"+Ee+"`, but its value is `undefined`.")):null:Y(ue,ce,Ee,Se,Pe)}var he=te.bind(null,!1);return he.isRequired=te.bind(null,!0),he}function O(Y){function J(fe,te,he,me,ue,ce){var Ee=fe[te],Se=Re(Ee);if(Se!==Y){var Pe=Le(Ee);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Pe+"` supplied to `"+he+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return T(J)}function U(){return T(p)}function j(Y){function J(fe,te,he,me,ue){if(typeof Y!="function")return new D("Property `"+ue+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var ce=fe[te];if(!Array.isArray(ce)){var Ee=Re(ce);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an array."))}for(var Se=0;Se<ce.length;Se++){var Pe=Y(ce,Se,he,me,ue+"["+Se+"]",n);if(Pe instanceof Error)return Pe}return null}return T(J)}function V(){function Y(J,fe,te,he,me){var ue=J[fe];if(!m(ue)){var ce=Re(ue);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ce+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return T(Y)}function $(){function Y(J,fe,te,he,me){var ue=J[fe];if(!e.isValidElementType(ue)){var ce=Re(ue);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ce+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return T(Y)}function Z(Y){function J(fe,te,he,me,ue){if(!(fe[te]instanceof Y)){var ce=Y.name||F,Ee=ve(fe[te]);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected ")+("instance of `"+ce+"`."))}return null}return T(J)}function ie(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("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])."):c("Invalid argument supplied to oneOf, expected an array.")),p;function J(fe,te,he,me,ue){for(var ce=fe[te],Ee=0;Ee<Y.length;Ee++)if(L(ce,Y[Ee]))return null;var Se=JSON.stringify(Y,function(Be,se){var We=Le(se);return We==="symbol"?String(se):se});return new D("Invalid "+me+" `"+ue+"` of value `"+String(ce)+"` "+("supplied to `"+he+"`, expected one of "+Se+"."))}return T(J)}function re(Y){function J(fe,te,he,me,ue){if(typeof Y!="function")return new D("Property `"+ue+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an object."));for(var Se in ce)if(a(ce,Se)){var Pe=Y(ce,Se,he,me,ue+"."+Se,n);if(Pe instanceof Error)return Pe}return null}return T(J)}function le(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var J=0;J<Y.length;J++){var fe=Y[J];if(typeof fe!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+q(fe)+" at index "+J+"."),p}function te(he,me,ue,ce,Ee){for(var Se=[],Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe],se=Be(he,me,ue,ce,Ee,n);if(se==null)return null;se.data&&a(se.data,"expectedType")&&Se.push(se.data.expectedType)}var We=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new D("Invalid "+ce+" `"+Ee+"` supplied to "+("`"+ue+"`"+We+"."))}return T(te)}function ye(){function Y(J,fe,te,he,me){return ze(J[fe])?null:new D("Invalid "+he+" `"+me+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return T(Y)}function De(Y,J,fe,te,he){return new D((Y||"React class")+": "+J+" type `"+fe+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function Fe(Y){function J(fe,te,he,me,ue){var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));for(var Se in Y){var Pe=Y[Se];if(typeof Pe!="function")return De(he,me,ue,Se,Le(Pe));var Be=Pe(ce,Se,he,me,ue+"."+Se,n);if(Be)return Be}return null}return T(J)}function $e(Y){function J(fe,te,he,me,ue){var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));var Se=t({},fe[te],Y);for(var Pe in Se){var Be=Y[Pe];if(a(Y,Pe)&&typeof Be!="function")return De(he,me,ue,Pe,Le(Be));if(!Be)return new D("Invalid "+me+" `"+ue+"` key `"+Pe+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(fe[te],null," ")+`
124
- Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var se=Be(ce,Pe,he,me,ue+"."+Pe,n);if(se)return se}return null}return T(J)}function ze(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ze);if(Y===null||m(Y))return!0;var J=x(Y);if(J){var fe=J.call(Y),te;if(J!==Y.entries){for(;!(te=fe.next()).done;)if(!ze(te.value))return!1}else for(;!(te=fe.next()).done;){var he=te.value;if(he&&!ze(he[1]))return!1}}else return!1;return!0;default:return!1}}function xe(Y,J){return Y==="symbol"?!0:J?J["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&J instanceof Symbol:!1}function Re(Y){var J=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":xe(J,Y)?"symbol":J}function Le(Y){if(typeof Y>"u"||Y===null)return""+Y;var J=Re(Y);if(J==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return J}function q(Y){var J=Le(Y);switch(J){case"array":case"object":return"an "+J;case"boolean":case"date":case"regexp":return"a "+J;default:return J}}function ve(Y){return!Y.constructor||!Y.constructor.name?F:Y.constructor.name}return I.checkPropTypes=i,I.resetWarningCache=i.resetWarningCache,I.PropTypes=I,I},pd}var hd,kh;function Jy(){if(kh)return hd;kh=1;var e=Dp();function t(){}function n(){}return n.resetWarningCache=t,hd=function(){function a(p,m,h,v,C,x){if(x!==e){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}}a.isRequired=a;function i(){return a}var c={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:i,element:a,elementType:a,instanceOf:i,node:a,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return c.PropTypes=c,c},hd}var Eh;function Zy(){if(Eh)return mc.exports;if(Eh=1,process.env.NODE_ENV!=="production"){var e=rg(),t=!0;mc.exports=Ky()(e.isElement,t)}else mc.exports=Jy()();return mc.exports}var qy=Zy();const _e=Ny(qy);var eb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function og(e,t){return e(t={exports:{}},t.exports),t.exports}var tb=og(function(e){(function(t){var n=function(T,O,U){if(!h(O)||C(O)||x(O)||F(O)||m(O))return O;var j,V=0,$=0;if(v(O))for(j=[],$=O.length;V<$;V++)j.push(n(T,O[V],U));else for(var Z in j={},O)Object.prototype.hasOwnProperty.call(O,Z)&&(j[T(Z,U)]=n(T,O[Z],U));return j},a=function(T){return I(T)?T:(T=T.replace(/[\-_\s]+(.)?/g,function(O,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+T.substr(1)},i=function(T){var O=a(T);return O.substr(0,1).toUpperCase()+O.substr(1)},c=function(T,O){return function(U,j){var V=(j=j||{}).separator||"_",$=j.split||/(?=[A-Z])/;return U.split($).join(V)}(T,O).toLowerCase()},p=Object.prototype.toString,m=function(T){return typeof T=="function"},h=function(T){return T===Object(T)},v=function(T){return p.call(T)=="[object Array]"},C=function(T){return p.call(T)=="[object Date]"},x=function(T){return p.call(T)=="[object RegExp]"},F=function(T){return p.call(T)=="[object Boolean]"},I=function(T){return(T-=0)==T},L=function(T,O){var U=O&&"process"in O?O.process:O;return typeof U!="function"?T:function(j,V){return U(j,T,V)}},D={camelize:a,decamelize:c,pascalize:i,depascalize:c,camelizeKeys:function(T,O){return n(L(a,O),T)},decamelizeKeys:function(T,O){return n(L(c,O),T,O)},pascalizeKeys:function(T,O){return n(L(i,O),T)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(eb)}).decamelize,rb=function(e){if(Array.isArray(e))return e},nb=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var n=[],a=!0,i=!1,c=void 0;try{for(var p,m=e[Symbol.iterator]();!(a=(p=m.next()).done)&&(n.push(p.value),!t||n.length!==t);a=!0);}catch(h){i=!0,c=h}finally{try{a||m.return==null||m.return()}finally{if(i)throw c}}return n}},Ch=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a},ob=function(e,t){if(e){if(typeof e=="string")return Ch(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ch(e,t):void 0}},ab=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.`)},ib=function(e,t){return rb(e)||nb(e,t)||ob(e,t)||ab()},ag=og(function(e){function t(){return e.exports=t=Object.assign||function(n){for(var a=1;a<arguments.length;a++){var i=arguments[a];for(var c in i)Object.prototype.hasOwnProperty.call(i,c)&&(n[c]=i[c])}return n},t.apply(this,arguments)}e.exports=t}),sb=function(e,t){if(e==null)return{};var n,a,i={},c=Object.keys(e);for(a=0;a<c.length;a++)n=c[a],t.indexOf(n)>=0||(i[n]=e[n]);return i},ig=function(e,t){if(e==null)return{};var n,a,i=sb(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(a=0;a<c.length;a++)n=c[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},lb=A.createContext(null);function sg(e){var t=e.children,n=t===void 0?"":t,a=ig(e,["children"]);return typeof n!="string"&&(n=Vy.renderToString(n)),A.createElement("template",ag({},a,{dangerouslySetInnerHTML:{__html:n}}))}function lg(e){var t=e.root,n=e.children;return Uc.createPortal(n===void 0?null:n,t)}function ub(e){var t=A.forwardRef(function(n,a){var i,c,p=n.mode,m=p===void 0?"open":p,h=n.delegatesFocus,v=h!==void 0&&h,C=n.styleSheets,x=C===void 0?[]:C,F=n.ssr,I=F!==void 0&&F,L=n.children,D=ig(n,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(c=A.useRef((i=a)&&i.current),A.useEffect(function(){i&&(i.current=c.current)},[i]),c),O=A.useState(null),U=ib(O,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return A.useLayoutEffect(function(){if(T.current)try{if(typeof a=="function"&&a(T.current),I){var Z=T.current.shadowRoot;return void V(Z)}var ie=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ie.adoptedStyleSheets=x),V(ie)}catch(re){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:re,styleSheets:x,root:j})}},[a,T,x]),A.createElement(A.Fragment,null,A.createElement(e.tag,ag({key:$,ref:T},D),(j||I)&&A.createElement(lb.Provider,{value:j},I?A.createElement(sg,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):A.createElement(lg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}sg.propTypes={children:_e.oneOfType([_e.string,_e.node])},lg.propTypes={root:_e.object.isRequired,children:_e.node};var md=new Map;function cb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(a){return a.children};return new Proxy(e,{get:function(a,i){var c=tb(i,{separator:"-"}),p="".concat(t,"-").concat(c);return md.has(p)||md.set(p,ub({tag:c,render:n})),md.get(p)}})}var fb=cb(),Ks=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Si=typeof window>"u"||"Deno"in globalThis;function qt(){}function db(e,t){return typeof e=="function"?e(t):e}function jd(e){return typeof e=="number"&&e>=0&&e!==1/0}function ug(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function nn(e,t){return typeof e=="function"?e(t):e}function Th(e,t){const{type:n="all",exact:a,fetchStatus:i,predicate:c,queryKey:p,stale:m}=e;if(p){if(a){if(t.queryHash!==_p(p,t.options))return!1}else if(!su(t.queryKey,p))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||i&&i!==t.state.fetchStatus||c&&!c(t))}function Rh(e,t){const{exact:n,status:a,predicate:i,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(n){if(ki(t.options.mutationKey)!==ki(c))return!1}else if(!su(t.options.mutationKey,c))return!1}return!(a&&t.state.status!==a||i&&!i(t))}function _p(e,t){return((t==null?void 0:t.queryKeyHashFn)||ki)(e)}function ki(e){return JSON.stringify(e,(t,n)=>zd(n)?Object.keys(n).sort().reduce((a,i)=>(a[i]=n[i],a),{}):n)}function su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>su(e[n],t[n])):!1}function Nd(e,t){if(e===t)return e;const n=Ph(e)&&Ph(t);if(n||zd(e)&&zd(t)){const a=n?e:Object.keys(e),i=a.length,c=n?t:Object.keys(t),p=c.length,m=n?[]:{};let h=0;for(let v=0;v<p;v++){const C=n?v:c[v];(!n&&a.includes(C)||n)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=Nd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return i===p&&h===i?e:m}return t}function Ac(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ph(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function zd(e){if(!Ah(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ah(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ah(e){return Object.prototype.toString.call(e)==="[object Object]"}function pb(e){return new Promise(t=>{setTimeout(t,e)})}function Bd(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Nd(e,t)}catch(a){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. [${n.queryHash}]: ${a}`),a}return Nd(e,t)}return t}function hb(e,t,n=0){const a=[...e,t];return n&&a.length>n?a.slice(1):a}function mb(e,t,n=0){const a=[t,...e];return n&&a.length>n?a.slice(0,-1):a}var Oc=Symbol();function cg(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Oc&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Oc?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function fg(e,t){return typeof e=="function"?e(...t):!!e}var pi,aa,Ls,Vm,gb=(Vm=class extends Ks{constructor(){super();Ie(this,pi);Ie(this,aa);Ie(this,Ls);ge(this,Ls,t=>{if(!Si&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,aa)||this.setEventListener(_(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,aa))==null||t.call(this),ge(this,aa,void 0))}setEventListener(t){var n;ge(this,Ls,t),(n=_(this,aa))==null||n.call(this),ge(this,aa,t(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(t){_(this,pi)!==t&&(ge(this,pi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,pi)=="boolean"?_(this,pi):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pi=new WeakMap,aa=new WeakMap,Ls=new WeakMap,Vm),Lp=new gb,$s,ia,js,Gm,vb=(Gm=class extends Ks{constructor(){super();Ie(this,$s,!0);Ie(this,ia);Ie(this,js);ge(this,js,t=>{if(!Si&&window.addEventListener){const n=()=>t(!0),a=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",a)}}})}onSubscribe(){_(this,ia)||this.setEventListener(_(this,js))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ia))==null||t.call(this),ge(this,ia,void 0))}setEventListener(t){var n;ge(this,js,t),(n=_(this,ia))==null||n.call(this),ge(this,ia,t(this.setOnline.bind(this)))}setOnline(t){_(this,$s)!==t&&(ge(this,$s,t),this.listeners.forEach(a=>{a(t)}))}isOnline(){return _(this,$s)}},$s=new WeakMap,ia=new WeakMap,js=new WeakMap,Gm),Ic=new vb;function Ud(){let e,t;const n=new Promise((i,c)=>{e=i,t=c});n.status="pending",n.catch(()=>{});function a(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{a({status:"fulfilled",value:i}),e(i)},n.reject=i=>{a({status:"rejected",reason:i}),t(i)},n}function yb(e){return Math.min(1e3*2**e,3e4)}function dg(e){return(e??"online")==="online"?Ic.isOnline():!0}var pg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function gd(e){return e instanceof pg}function hg(e){let t=!1,n=0,a=!1,i;const c=Ud(),p=D=>{var T;a||(F(new pg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>Lp.isFocused()&&(e.networkMode==="always"||Ic.isOnline())&&e.canRun(),C=()=>dg(e.networkMode)&&e.canRun(),x=D=>{var T;a||(a=!0,(T=e.onSuccess)==null||T.call(e,D),i==null||i(),c.resolve(D))},F=D=>{var T;a||(a=!0,(T=e.onError)==null||T.call(e,D),i==null||i(),c.reject(D))},I=()=>new Promise(D=>{var T;i=O=>{(a||v())&&D(O)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;i=void 0,a||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(a)return;let D;const T=n===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(O){D=Promise.reject(O)}Promise.resolve(D).then(x).catch(O=>{var Z;if(a)return;const U=e.retry??(Si?0:3),j=e.retryDelay??yb,V=typeof j=="function"?j(n,O):j,$=U===!0||typeof U=="number"&&n<U||typeof U=="function"&&U(n,O);if(t||!$){F(O);return}n++,(Z=e.onFail)==null||Z.call(e,n,O),pb(V).then(()=>v()?void 0:I()).then(()=>{t?F(O):L()})})};return{promise:c,cancel:p,continue:()=>(i==null||i(),c),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),c)}}var bb=e=>setTimeout(e,0);function wb(){let e=[],t=0,n=m=>{m()},a=m=>{m()},i=bb;const c=m=>{t?e.push(m):i(()=>{n(m)})},p=()=>{const m=e;e=[],m.length&&i(()=>{a(()=>{m.forEach(h=>{n(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{c(()=>{m(...h)})},schedule:c,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{a=m},setScheduler:m=>{i=m}}}var bt=wb(),hi,Ym,mg=(Ym=class{constructor(){Ie(this,hi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jd(this.gcTime)&&ge(this,hi,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Si?1/0:5*60*1e3))}clearGcTimeout(){_(this,hi)&&(clearTimeout(_(this,hi)),ge(this,hi,void 0))}},hi=new WeakMap,Ym),Ns,zs,jr,mi,$t,hu,gi,tn,oo,Xm,xb=(Xm=class extends mg{constructor(t){super();Ie(this,tn);Ie(this,Ns);Ie(this,zs);Ie(this,jr);Ie(this,mi);Ie(this,$t);Ie(this,hu);Ie(this,gi);ge(this,gi,!1),ge(this,hu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,mi,t.client),ge(this,jr,_(this,mi).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,Ns,Sb(this.options)),this.state=t.state??_(this,Ns),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,hu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,jr).remove(this)}setData(t,n){const a=Bd(this.state.data,t,this.options);return Ue(this,tn,oo).call(this,{data:a,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),a}setState(t,n){Ue(this,tn,oo).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var a,i;const n=(a=_(this,$t))==null?void 0:a.promise;return(i=_(this,$t))==null||i.cancel(t),n?n.then(qt).catch(qt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ns))}isActive(){return this.observers.some(t=>nn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Oc||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!ug(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(a=>a.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}onOnline(){var n;const t=this.observers.find(a=>a.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,jr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,$t)&&(_(this,gi)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,jr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,tn,oo).call(this,{type:"invalidate"})}fetch(t,n){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const a=new AbortController,i=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,gi,!0),a.signal)})},c=()=>{const x=cg(this.options,n),F={client:_(this,mi),queryKey:this.queryKey,meta:this.meta};return i(F),ge(this,gi,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,mi),state:this.state,fetchFn:c};i(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,zs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,tn,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;gd(x)&&x.silent||Ue(this,tn,oo).call(this,{type:"error",error:x}),gd(x)||((I=(F=_(this,jr).config).onError)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,hg({initialPromise:n==null?void 0:n.initialPromise,fn:p.fetchFn,abort:a.abort.bind(a),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,jr).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,tn,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,tn,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,tn,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},Ns=new WeakMap,zs=new WeakMap,jr=new WeakMap,mi=new WeakMap,$t=new WeakMap,hu=new WeakMap,gi=new WeakMap,tn=new WeakSet,oo=function(t){const n=a=>{switch(t.type){case"failed":return{...a,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...gg(a.data,this.options),fetchMeta:t.meta??null};case"success":return{...a,data:t.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return gd(i)&&i.revert&&_(this,zs)?{..._(this,zs),fetchStatus:"idle"}:{...a,error:i,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...t.state}}};this.state=n(this.state),bt.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),_(this,jr).notify({query:this,type:"updated",action:t})})},Xm);function gg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:dg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,a=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Cn,Qm,kb=(Qm=class extends Ks{constructor(t={}){super();Ie(this,Cn);this.config=t,ge(this,Cn,new Map)}build(t,n,a){const i=n.queryKey,c=n.queryHash??_p(i,n);let p=this.get(c);return p||(p=new xb({client:t,queryKey:i,queryHash:c,options:t.defaultQueryOptions(n),state:a,defaultOptions:t.getQueryDefaults(i)}),this.add(p)),p}add(t){_(this,Cn).has(t.queryHash)||(_(this,Cn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Cn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Cn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cn).get(t)}getAll(){return[..._(this,Cn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(a=>Th(n,a))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(a=>Th(t,a)):n}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cn=new WeakMap,Qm),Tn,Jt,vi,Rn,na,Km,Eb=(Km=class extends mg{constructor(t){super();Ie(this,Rn);Ie(this,Tn);Ie(this,Jt);Ie(this,vi);this.mutationId=t.mutationId,ge(this,Jt,t.mutationCache),ge(this,Tn,[]),this.state=t.state||vg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tn).includes(t)||(_(this,Tn).push(t),this.clearGcTimeout(),_(this,Jt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tn,_(this,Tn).filter(n=>n!==t)),this.scheduleGc(),_(this,Jt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Jt).remove(this))}continue(){var t;return((t=_(this,vi))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,p,m,h,v,C,x,F,I,L,D,T,O,U,j,V,$,Z,ie,re;const n=()=>{Ue(this,Rn,na).call(this,{type:"continue"})};ge(this,vi,hg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rn,na).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rn,na).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Jt).canRun(this)}));const a=this.state.status==="pending",i=!_(this,vi).canStart();try{if(a)n();else{Ue(this,Rn,na).call(this,{type:"pending",variables:t,isPaused:i}),await((p=(c=_(this,Jt).config).onMutate)==null?void 0:p.call(c,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rn,na).call(this,{type:"pending",context:ye,variables:t,isPaused:i})}const le=await _(this,vi).start();return await((C=(v=_(this,Jt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Jt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rn,na).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(O=_(this,Jt).config).onError)==null?void 0:U.call(O,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((Z=($=_(this,Jt).config).onSettled)==null?void 0:Z.call($,void 0,le,this.state.variables,this.state.context,this)),await((re=(ie=this.options).onSettled)==null?void 0:re.call(ie,void 0,le,t,this.state.context)),le}finally{Ue(this,Rn,na).call(this,{type:"error",error:le})}}finally{_(this,Jt).runNext(this)}}},Tn=new WeakMap,Jt=new WeakMap,vi=new WeakMap,Rn=new WeakSet,na=function(t){const n=a=>{switch(t.type){case"failed":return{...a,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...a,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:t.error,failureCount:a.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),bt.batch(()=>{_(this,Tn).forEach(a=>{a.onMutationUpdate(t)}),_(this,Jt).notify({mutation:this,type:"updated",action:t})})},Km);function vg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ao,rn,mu,Jm,Cb=(Jm=class extends Ks{constructor(t={}){super();Ie(this,ao);Ie(this,rn);Ie(this,mu);this.config=t,ge(this,ao,new Set),ge(this,rn,new Map),ge(this,mu,0)}build(t,n,a){const i=new Eb({mutationCache:this,mutationId:++dc(this,mu)._,options:t.defaultMutationOptions(n),state:a});return this.add(i),i}add(t){_(this,ao).add(t);const n=vc(t);if(typeof n=="string"){const a=_(this,rn).get(n);a?a.push(t):_(this,rn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,ao).delete(t)){const n=vc(t);if(typeof n=="string"){const a=_(this,rn).get(n);if(a)if(a.length>1){const i=a.indexOf(t);i!==-1&&a.splice(i,1)}else a[0]===t&&_(this,rn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=vc(t);if(typeof n=="string"){const a=_(this,rn).get(n),i=a==null?void 0:a.find(c=>c.state.status==="pending");return!i||i===t}else return!0}runNext(t){var a;const n=vc(t);if(typeof n=="string"){const i=(a=_(this,rn).get(n))==null?void 0:a.find(c=>c!==t&&c.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,ao).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,ao).clear(),_(this,rn).clear()})}getAll(){return Array.from(_(this,ao))}find(t){const n={exact:!0,...t};return this.getAll().find(a=>Rh(n,a))}findAll(t={}){return this.getAll().filter(n=>Rh(t,n))}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return bt.batch(()=>Promise.all(t.map(n=>n.continue().catch(qt))))}},ao=new WeakMap,rn=new WeakMap,mu=new WeakMap,Jm);function vc(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Oh(e){return{onFetch:(t,n)=>{var C,x,F,I,L;const a=t.options,i=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,c=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},O=cg(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const Z={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(Z);const ie=await O(Z),{maxPages:re}=t.options,le=$?mb:hb;return{pages:le(j.pages,ie,re),pageParams:le(j.pageParams,V,re)}};if(i&&c.length){const j=i==="backward",V=j?Tb:Ih,$={pages:c,pageParams:p},Z=V(a,$);m=await U($,Z,j)}else{const j=e??c.length;do{const V=h===0?p[0]??a.initialPageParam:Ih(a,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=v}}}function Ih(e,{pages:t,pageParams:n}){const a=t.length-1;return t.length>0?e.getNextPageParam(t[a],t,n[a],n):void 0}function Tb(e,{pages:t,pageParams:n}){var a;return t.length>0?(a=e.getPreviousPageParam)==null?void 0:a.call(e,t[0],t,n[0],n):void 0}var pt,sa,la,Bs,Us,ua,Hs,Ws,Zm,Rb=(Zm=class{constructor(e={}){Ie(this,pt);Ie(this,sa);Ie(this,la);Ie(this,Bs);Ie(this,Us);Ie(this,ua);Ie(this,Hs);Ie(this,Ws);ge(this,pt,e.queryCache||new kb),ge(this,sa,e.mutationCache||new Cb),ge(this,la,e.defaultOptions||{}),ge(this,Bs,new Map),ge(this,Us,new Map),ge(this,ua,0)}mount(){dc(this,ua)._++,_(this,ua)===1&&(ge(this,Hs,Lp.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Ws,Ic.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;dc(this,ua)._--,_(this,ua)===0&&((e=_(this,Hs))==null||e.call(this),ge(this,Hs,void 0),(t=_(this,Ws))==null||t.call(this),ge(this,Ws,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,sa).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=_(this,pt).build(this,t),a=n.state.data;return a===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Is(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(a))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:n})=>{const a=n.data;return[t,a]})}setQueryData(e,t,n){const a=this.defaultQueryOptions({queryKey:e}),i=_(this,pt).get(a.queryHash),c=i==null?void 0:i.state.data,p=db(t,c);if(p!==void 0)return _(this,pt).build(this,a).setData(p,{...n,manual:!0})}setQueriesData(e,t,n){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,pt);return bt.batch(()=>(n.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},a=bt.batch(()=>_(this,pt).findAll(e).map(i=>i.cancel(n)));return Promise.all(a).then(qt).catch(qt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},a=bt.batch(()=>_(this,pt).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let c=i.fetch(void 0,n);return n.throwOnError||(c=c.catch(qt)),i.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(a).then(qt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,pt).build(this,t);return n.isStaleByTime(Is(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qt).catch(qt)}fetchInfiniteQuery(e){return e.behavior=Oh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qt).catch(qt)}ensureInfiniteQueryData(e){return e.behavior=Oh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ic.isOnline()?_(this,sa).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,sa)}getDefaultOptions(){return _(this,la)}setDefaultOptions(e){ge(this,la,e)}setQueryDefaults(e,t){_(this,Bs).set(ki(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Bs).values()],n={};return t.forEach(a=>{su(e,a.queryKey)&&Object.assign(n,a.defaultOptions)}),n}setMutationDefaults(e,t){_(this,Us).set(ki(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Us).values()],n={};return t.forEach(a=>{su(e,a.mutationKey)&&Object.assign(n,a.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,la).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=_p(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Oc&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,la).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,sa).clear()}},pt=new WeakMap,sa=new WeakMap,la=new WeakMap,Bs=new WeakMap,Us=new WeakMap,ua=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,Zm),dr,Ye,gu,Zt,yi,Vs,ca,fa,vu,Gs,Ys,bi,wi,da,Xs,qe,Ql,Hd,Wd,Vd,Gd,Yd,Xd,Qd,yg,qm,Pb=(qm=class extends Ks{constructor(t,n){super();Ie(this,qe);Ie(this,dr);Ie(this,Ye);Ie(this,gu);Ie(this,Zt);Ie(this,yi);Ie(this,Vs);Ie(this,ca);Ie(this,fa);Ie(this,vu);Ie(this,Gs);Ie(this,Ys);Ie(this,bi);Ie(this,wi);Ie(this,da);Ie(this,Xs,new Set);this.options=n,ge(this,dr,t),ge(this,fa,null),ge(this,ca,Ud()),this.options.experimental_prefetchInRender||_(this,ca).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Fh(_(this,Ye),this.options)?Ue(this,qe,Ql).call(this):this.updateResult(),Ue(this,qe,Gd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Kd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Kd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,qe,Yd).call(this),Ue(this,qe,Xd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const n=this.options,a=_(this,Ye);if(this.options=_(this,dr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof nn(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,qe,Qd).call(this),_(this,Ye).setOptions(this.options),n._defaulted&&!Ac(this.options,n)&&_(this,dr).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const i=this.hasListeners();i&&Mh(_(this,Ye),a,this.options,n)&&Ue(this,qe,Ql).call(this),this.updateResult(),i&&(_(this,Ye)!==a||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||Is(this.options.staleTime,_(this,Ye))!==Is(n.staleTime,_(this,Ye)))&&Ue(this,qe,Hd).call(this);const c=Ue(this,qe,Wd).call(this);i&&(_(this,Ye)!==a||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||c!==_(this,da))&&Ue(this,qe,Vd).call(this,c)}getOptimisticResult(t){const n=_(this,dr).getQueryCache().build(_(this,dr),t),a=this.createResult(n,t);return Ob(this,a)&&(ge(this,Zt,a),ge(this,Vs,this.options),ge(this,yi,_(this,Ye).state)),a}getCurrentResult(){return _(this,Zt)}trackResult(t,n){return new Proxy(t,{get:(a,i)=>(this.trackProp(i),n==null||n(i),Reflect.get(a,i))})}trackProp(t){_(this,Xs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,dr).defaultQueryOptions(t),a=_(this,dr).getQueryCache().build(_(this,dr),n);return a.fetch().then(()=>this.createResult(a,n))}fetch(t){return Ue(this,qe,Ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Zt)))}createResult(t,n){var le;const a=_(this,Ye),i=this.options,c=_(this,Zt),p=_(this,yi),m=_(this,Vs),v=t!==a?t.state:_(this,gu),{state:C}=t;let x={...C},F=!1,I;if(n._optimisticResults){const ye=this.hasListeners(),De=!ye&&Fh(t,n),Fe=ye&&Mh(t,a,n,i);(De||Fe)&&(x={...x,...gg(C.data,t.options)}),n._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let O=!1;if(n.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;c!=null&&c.isPlaceholderData&&n.placeholderData===(m==null?void 0:m.placeholderData)?(ye=c.data,O=!0):ye=typeof n.placeholderData=="function"?n.placeholderData((le=_(this,Ys))==null?void 0:le.state.data,_(this,Ys)):n.placeholderData,ye!==void 0&&(T="success",I=Bd(c==null?void 0:c.data,ye,n),F=!0)}if(n.select&&I!==void 0&&!O)if(c&&I===(p==null?void 0:p.data)&&n.select===_(this,vu))I=_(this,Gs);else try{ge(this,vu,n.select),I=n.select(I),I=Bd(c==null?void 0:c.data,I,n),ge(this,Gs,I),ge(this,fa,null)}catch(ye){ge(this,fa,ye)}_(this,fa)&&(L=_(this,fa),I=_(this,Gs),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,Z=I!==void 0,re={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!Z,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&Z,isStale:$p(t,n),refetch:this.refetch,promise:_(this,ca)};if(this.options.experimental_prefetchInRender){const ye=$e=>{re.status==="error"?$e.reject(re.error):re.data!==void 0&&$e.resolve(re.data)},De=()=>{const $e=ge(this,ca,re.promise=Ud());ye($e)},Fe=_(this,ca);switch(Fe.status){case"pending":t.queryHash===a.queryHash&&ye(Fe);break;case"fulfilled":(re.status==="error"||re.data!==Fe.value)&&De();break;case"rejected":(re.status!=="error"||re.error!==Fe.reason)&&De();break}}return re}updateResult(){const t=_(this,Zt),n=this.createResult(_(this,Ye),this.options);if(ge(this,yi,_(this,Ye).state),ge(this,Vs,this.options),_(this,yi).data!==void 0&&ge(this,Ys,_(this,Ye)),Ac(n,t))return;ge(this,Zt,n);const a=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,c=typeof i=="function"?i():i;if(c==="all"||!c&&!_(this,Xs).size)return!0;const p=new Set(c??_(this,Xs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Zt)).some(m=>{const h=m;return _(this,Zt)[h]!==t[h]&&p.has(h)})};Ue(this,qe,yg).call(this,{listeners:a()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,qe,Gd).call(this)}},dr=new WeakMap,Ye=new WeakMap,gu=new WeakMap,Zt=new WeakMap,yi=new WeakMap,Vs=new WeakMap,ca=new WeakMap,fa=new WeakMap,vu=new WeakMap,Gs=new WeakMap,Ys=new WeakMap,bi=new WeakMap,wi=new WeakMap,da=new WeakMap,Xs=new WeakMap,qe=new WeakSet,Ql=function(t){Ue(this,qe,Qd).call(this);let n=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(qt)),n},Hd=function(){Ue(this,qe,Yd).call(this);const t=Is(this.options.staleTime,_(this,Ye));if(Si||_(this,Zt).isStale||!jd(t))return;const a=ug(_(this,Zt).dataUpdatedAt,t)+1;ge(this,bi,setTimeout(()=>{_(this,Zt).isStale||this.updateResult()},a))},Wd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Vd=function(t){Ue(this,qe,Xd).call(this),ge(this,da,t),!(Si||nn(this.options.enabled,_(this,Ye))===!1||!jd(_(this,da))||_(this,da)===0)&&ge(this,wi,setInterval(()=>{(this.options.refetchIntervalInBackground||Lp.isFocused())&&Ue(this,qe,Ql).call(this)},_(this,da)))},Gd=function(){Ue(this,qe,Hd).call(this),Ue(this,qe,Vd).call(this,Ue(this,qe,Wd).call(this))},Yd=function(){_(this,bi)&&(clearTimeout(_(this,bi)),ge(this,bi,void 0))},Xd=function(){_(this,wi)&&(clearInterval(_(this,wi)),ge(this,wi,void 0))},Qd=function(){const t=_(this,dr).getQueryCache().build(_(this,dr),this.options);if(t===_(this,Ye))return;const n=_(this,Ye);ge(this,Ye,t),ge(this,gu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},yg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Zt))}),_(this,dr).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},qm);function Ab(e,t){return nn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Fh(e,t){return Ab(e,t)||e.state.data!==void 0&&Kd(e,t,t.refetchOnMount)}function Kd(e,t,n){if(nn(t.enabled,e)!==!1){const a=typeof n=="function"?n(e):n;return a==="always"||a!==!1&&$p(e,t)}return!1}function Mh(e,t,n,a){return(e!==t||nn(a.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&$p(e,n)}function $p(e,t){return nn(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function Ob(e,t){return!Ac(e.getCurrentResult(),t)}var pa,ha,pr,io,fo,Cc,Jd,eg,Ib=(eg=class extends Ks{constructor(n,a){super();Ie(this,fo);Ie(this,pa);Ie(this,ha);Ie(this,pr);Ie(this,io);ge(this,pa,n),this.setOptions(a),this.bindMethods(),Ue(this,fo,Cc).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var i;const a=this.options;this.options=_(this,pa).defaultMutationOptions(n),Ac(this.options,a)||_(this,pa).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,pr),observer:this}),a!=null&&a.mutationKey&&this.options.mutationKey&&ki(a.mutationKey)!==ki(this.options.mutationKey)?this.reset():((i=_(this,pr))==null?void 0:i.state.status)==="pending"&&_(this,pr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=_(this,pr))==null||n.removeObserver(this)}onMutationUpdate(n){Ue(this,fo,Cc).call(this),Ue(this,fo,Jd).call(this,n)}getCurrentResult(){return _(this,ha)}reset(){var n;(n=_(this,pr))==null||n.removeObserver(this),ge(this,pr,void 0),Ue(this,fo,Cc).call(this),Ue(this,fo,Jd).call(this)}mutate(n,a){var i;return ge(this,io,a),(i=_(this,pr))==null||i.removeObserver(this),ge(this,pr,_(this,pa).getMutationCache().build(_(this,pa),this.options)),_(this,pr).addObserver(this),_(this,pr).execute(n)}},pa=new WeakMap,ha=new WeakMap,pr=new WeakMap,io=new WeakMap,fo=new WeakSet,Cc=function(){var a;const n=((a=_(this,pr))==null?void 0:a.state)??vg();ge(this,ha,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},Jd=function(n){bt.batch(()=>{var a,i,c,p,m,h,v,C;if(_(this,io)&&this.hasListeners()){const x=_(this,ha).variables,F=_(this,ha).context;(n==null?void 0:n.type)==="success"?((i=(a=_(this,io)).onSuccess)==null||i.call(a,n.data,x,F),(p=(c=_(this,io)).onSettled)==null||p.call(c,n.data,null,x,F)):(n==null?void 0:n.type)==="error"&&((h=(m=_(this,io)).onError)==null||h.call(m,n.error,x,F),(C=(v=_(this,io)).onSettled)==null||C.call(v,void 0,n.error,x,F))}this.listeners.forEach(x=>{x(_(this,ha))})})},eg),bg=pe.createContext(void 0),wg=e=>{const t=pe.useContext(bg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fb=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),K.jsx(bg.Provider,{value:e,children:t})),xg=pe.createContext(!1),Mb=()=>pe.useContext(xg);xg.Provider;function Db(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _b=pe.createContext(Db()),Lb=()=>pe.useContext(_b),$b=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},jb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Nb=({result:e,errorResetBoundary:t,throwOnError:n,query:a,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&a&&(i&&e.data===void 0||fg(n,[e.error,a])),zb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Bb=(e,t)=>e.isLoading&&e.isFetching&&!t,Ub=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Dh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Hb(e,t,n){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const a=wg(n),i=Mb(),c=Lb(),p=a.defaultQueryOptions(e);(F=(x=a.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=i?"isRestoring":"optimistic",zb(p),$b(p,c),jb(c);const m=!a.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(a,p)),v=h.getOptimisticResult(p),C=!i&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const O=C?h.subscribe(bt.batchCalls(T)):qt;return h.updateResult(),O},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Ub(p,v))throw Dh(p,h,c);if(Nb({result:v,errorResetBoundary:c,throwOnError:p.throwOnError,query:a.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=a.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Si&&Bb(v,i)){const T=m?Dh(p,h,c):(D=a.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(qt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function jp(e,t){return Hb(e,Pb,t)}function Sg(e,t){const n=wg(t),[a]=pe.useState(()=>new Ib(n,e));pe.useEffect(()=>{a.setOptions(e)},[a,e]);const i=pe.useSyncExternalStore(pe.useCallback(p=>a.subscribe(bt.batchCalls(p)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),c=pe.useCallback((p,m)=>{a.mutate(p,m).catch(qt)},[a]);if(i.error&&fg(a.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:c,mutateAsync:i.mutate}}const Np=A.createContext(null);Np.Provider;const Js=()=>A.useContext(Np),kg=({children:e})=>{const[t]=A.useState(new Rb);return console.log("Confidence Playbook Context Initialized"),K.jsx(Np.Provider,{value:{queryClient:t},children:K.jsx(Fb,{client:t,children:e})})},ct={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Eg="https://marketplace.confidence.com/api",yu=Eg+"/confidence",_h=Eg+"/dropbox/prod",Wb=async e=>{const t={taskInstanceId:e},n=new Headers;return n.append("Content-Type","application/json"),await(await fetch(`${yu}/playbook-task-complete`,{method:"POST",headers:n,body:JSON.stringify(t)})).json()},Vb=()=>{const{queryClient:e}=Js(),t=Sg({mutationFn:async a=>Wb(a)},e);return{completeTask:async a=>t.mutateAsync(a,{onSuccess:()=>{console.log("Task completed successfully")},onError:i=>{console.error("Error completing task:",i)}}),...t}},Gb=async e=>{const t={taskInstanceId:e},n=new Headers;n.append("Content-Type","application/json");const i=await(await fetch(`${yu}/playbook-task-start`,{method:"POST",headers:n,body:JSON.stringify(t)})).json();return console.log({data:i}),i},Yb=()=>{const{queryClient:e}=Js(),t=Sg({mutationFn:async a=>{const i=await Gb(a);return console.log(i),i}},e);return{startTask:a=>t.mutateAsync(a,{onSuccess:()=>{console.log("Task started successfully")},onError:i=>{console.error("Error starting task:",i)}}),...t}},Cg=(e,t)=>{const{queryClient:n}=Js(),a=jp({initialData:{},queryFn:()=>n.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),i=p=>{var m;return((m=a.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:i,toggleTaskExpanded:(p,m)=>{var h;n.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!i(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,i(p))}}},Xb=(e,t)=>{const{queryClient:n}=Js(),{completeTask:a}=Vb(),{startTask:i}=Yb(),{toggleTaskExpanded:c}=Cg(e);return{completeTask:async(h,v)=>{const{status:C}=await a(h.toString());C&&(c(h,!1),n.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ct.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await i(h.toString());v&&(c(h,!0),n.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},Qb=e=>{var i;const{queryClient:t}=Js(),n=jp({queryFn:async()=>{const c=new Headers,p=await fetch(`${yu}/playbook-details`,{method:"POST",cache:"no-store",headers:c,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),a=Xb(e,{quickComplete:(i=n.data)==null?void 0:i.quickComplete});return{playbook:n.data,isLoading:n.isLoading,error:n.error,actions:a}},eu={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},Kb={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},Jb=e=>{const{taskStatus:t,canStart:n}=e;return{buttons:A.useMemo(()=>t===ct.OPEN&&n?[eu.START]:t===ct.IN_PROGRESS?[eu.PAUSE,eu.COMPLETE]:t===ct.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Tg=async e=>{const t=new Headers;t.append("Content-Type","application/json");const a=await(await fetch(`${yu}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:a}),a},zp="-",Zb=e=>{const t=e0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:p=>{const m=p.split(zp);return m[0]===""&&m.length!==1&&m.shift(),Rg(m,t)||qb(p)},getConflictingClassGroupIds:(p,m)=>{const h=n[p]||[];return m&&a[p]?[...h,...a[p]]:h}}},Rg=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const n=e[0],a=t.nextPart.get(n),i=a?Rg(e.slice(1),a):void 0;if(i)return i;if(t.validators.length===0)return;const c=e.join(zp);return(p=t.validators.find(({validator:m})=>m(c)))==null?void 0:p.classGroupId},Lh=/^\[(.+)\]$/,qb=e=>{if(Lh.test(e)){const t=Lh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},e0=e=>{const{theme:t,classGroups:n}=e,a={nextPart:new Map,validators:[]};for(const i in n)Zd(n[i],a,i,t);return a},Zd=(e,t,n,a)=>{e.forEach(i=>{if(typeof i=="string"){const c=i===""?t:$h(t,i);c.classGroupId=n;return}if(typeof i=="function"){if(t0(i)){Zd(i(a),t,n,a);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([c,p])=>{Zd(p,$h(t,c),n,a)})})},$h=(e,t)=>{let n=e;return t.split(zp).forEach(a=>{n.nextPart.has(a)||n.nextPart.set(a,{nextPart:new Map,validators:[]}),n=n.nextPart.get(a)}),n},t0=e=>e.isThemeGetter,r0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,a=new Map;const i=(c,p)=>{n.set(c,p),t++,t>e&&(t=0,a=n,n=new Map)};return{get(c){let p=n.get(c);if(p!==void 0)return p;if((p=a.get(c))!==void 0)return i(c,p),p},set(c,p){n.has(c)?n.set(c,p):i(c,p)}}},qd="!",ep=":",n0=ep.length,o0=e=>{const{prefix:t,experimentalParseClassName:n}=e;let a=i=>{const c=[];let p=0,m=0,h=0,v;for(let L=0;L<i.length;L++){let D=i[L];if(p===0&&m===0){if(D===ep){c.push(i.slice(h,L)),h=L+n0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=c.length===0?i:i.substring(h),x=a0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:c,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const i=t+ep,c=a;a=p=>p.startsWith(i)?c(p.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(n){const i=a;a=c=>n({className:c,parseClassName:i})}return a},a0=e=>e.endsWith(qd)?e.substring(0,e.length-1):e.startsWith(qd)?e.substring(1):e,i0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(a=>[a,!0]));return a=>{if(a.length<=1)return a;const i=[];let c=[];return a.forEach(p=>{p[0]==="["||t[p]?(i.push(...c.sort(),p),c=[]):c.push(p)}),i.push(...c.sort()),i}},s0=e=>({cache:r0(e.cacheSize),parseClassName:o0(e),sortModifiers:i0(e),...Zb(e)}),l0=/\s+/,u0=(e,t)=>{const{parseClassName:n,getClassGroupId:a,getConflictingClassGroupIds:i,sortModifiers:c}=t,p=[],m=e.trim().split(l0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=n(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,O=a(T?L.substring(0,D):L);if(!O){if(!T){h=C+(h.length>0?" "+h:h);continue}if(O=a(L),!O){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=c(F).join(":"),j=I?U+qd:U,V=j+O;if(p.includes(V))continue;p.push(V);const $=i(O,T);for(let Z=0;Z<$.length;++Z){const ie=$[Z];p.push(j+ie)}h=C+(h.length>0?" "+h:h)}return h};function c0(){let e=0,t,n,a="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Pg(t))&&(a&&(a+=" "),a+=n);return a}const Pg=e=>{if(typeof e=="string")return e;let t,n="";for(let a=0;a<e.length;a++)e[a]&&(t=Pg(e[a]))&&(n&&(n+=" "),n+=t);return n};function f0(e,...t){let n,a,i,c=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return n=s0(v),a=n.cache.get,i=n.cache.set,c=m,m(h)}function m(h){const v=a(h);if(v)return v;const C=u0(h,n);return i(h,C),C}return function(){return c(c0.apply(null,arguments))}}const yt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ag=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Og=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d0=/^\d+\/\d+$/,p0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>d0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ta=e=>!!e&&Number.isInteger(Number(e)),vd=e=>e.endsWith("%")&&He(e.slice(0,-1)),no=e=>p0.test(e),y0=()=>!0,b0=e=>h0.test(e)&&!m0.test(e),Ig=()=>!1,w0=e=>g0.test(e),x0=e=>v0.test(e),S0=e=>!be(e)&&!we(e),k0=e=>Zs(e,Dg,Ig),be=e=>Ag.test(e),si=e=>Zs(e,_g,b0),yd=e=>Zs(e,P0,He),jh=e=>Zs(e,Fg,Ig),E0=e=>Zs(e,Mg,x0),yc=e=>Zs(e,Lg,w0),we=e=>Og.test(e),Yl=e=>qs(e,_g),C0=e=>qs(e,A0),Nh=e=>qs(e,Fg),T0=e=>qs(e,Dg),R0=e=>qs(e,Mg),bc=e=>qs(e,Lg,!0),Zs=(e,t,n)=>{const a=Ag.exec(e);return a?a[1]?t(a[1]):n(a[2]):!1},qs=(e,t,n=!1)=>{const a=Og.exec(e);return a?a[1]?t(a[1]):n:!1},Fg=e=>e==="position"||e==="percentage",Mg=e=>e==="image"||e==="url",Dg=e=>e==="length"||e==="size"||e==="bg-size",_g=e=>e==="length",P0=e=>e==="number",A0=e=>e==="family-name",Lg=e=>e==="shadow",O0=()=>{const e=yt("color"),t=yt("font"),n=yt("text"),a=yt("font-weight"),i=yt("tracking"),c=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),O=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],Z=()=>["auto","hidden","clip","visible","scroll"],ie=()=>["auto","contain","none"],re=()=>[we,be,h],le=()=>[Rs,"full","auto",...re()],ye=()=>[ta,"none","subgrid",we,be],De=()=>["auto",{span:["full",ta,we,be]},ta,we,be],Fe=()=>[ta,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...re()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...re()],q=()=>[e,we,be],ve=()=>[...V(),Nh,jh,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],J=()=>["auto","cover","contain",T0,k0,{size:[we,be]}],fe=()=>[vd,Yl,si],te=()=>["","none","full",v,we,be],he=()=>["",He,Yl,si],me=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[He,vd,Nh,jh],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...re()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[no],breakpoint:[no],color:[y0],container:[no],"drop-shadow":[no],ease:["in","out","in-out"],font:[S0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[no],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[no],shadow:[no],spacing:["px",He],text:[no],"text-shadow":[no],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ta,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...re()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ta,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:re()}],"gap-x":[{"gap-x":re()}],"gap-y":[{"gap-y":re()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:re()}],px:[{px:re()}],py:[{py:re()}],ps:[{ps:re()}],pe:[{pe:re()}],pt:[{pt:re()}],pr:[{pr:re()}],pb:[{pb:re()}],pl:[{pl:re()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":re()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":re()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",n,Yl,si]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,we,yd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",vd,be]}],"font-family":[{font:[C0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,yd]}],leading:[{leading:[c,...re()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:q()}],"text-color":[{text:q()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,si]}],"text-decoration-color":[{decoration:q()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:re()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:J()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ta,we,be],radial:["",we,be],conic:[ta,we,be]},R0,E0]}],"bg-color":[{bg:q()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:q()}],"gradient-via":[{via:q()}],"gradient-to":[{to:q()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:q()}],"border-color-x":[{"border-x":q()}],"border-color-y":[{"border-y":q()}],"border-color-s":[{"border-s":q()}],"border-color-e":[{"border-e":q()}],"border-color-t":[{"border-t":q()}],"border-color-r":[{"border-r":q()}],"border-color-b":[{"border-b":q()}],"border-color-l":[{"border-l":q()}],"divide-color":[{divide:q()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Yl,si]}],"outline-color":[{outline:q()}],shadow:[{shadow:["","none",C,bc,yc]}],"shadow-color":[{shadow:q()}],"inset-shadow":[{"inset-shadow":["none",x,bc,yc]}],"inset-shadow-color":[{"inset-shadow":q()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:q()}],"ring-offset-w":[{"ring-offset":[He,si]}],"ring-offset-color":[{"ring-offset":q()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":q()}],"text-shadow":[{"text-shadow":["none",F,bc,yc]}],"text-shadow-color":[{"text-shadow":q()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":q()}],"mask-image-linear-to-color":[{"mask-linear-to":q()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":q()}],"mask-image-t-to-color":[{"mask-t-to":q()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":q()}],"mask-image-r-to-color":[{"mask-r-to":q()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":q()}],"mask-image-b-to-color":[{"mask-b-to":q()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":q()}],"mask-image-l-to-color":[{"mask-l-to":q()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":q()}],"mask-image-x-to-color":[{"mask-x-to":q()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":q()}],"mask-image-y-to-color":[{"mask-y-to":q()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":q()}],"mask-image-radial-to-color":[{"mask-radial-to":q()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":q()}],"mask-image-conic-to-color":[{"mask-conic-to":q()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:J()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,bc,yc]}],"drop-shadow-color":[{"drop-shadow":q()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":re()}],"border-spacing-x":[{"border-spacing-x":re()}],"border-spacing-y":[{"border-spacing-y":re()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",O,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:q()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:q()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":re()}],"scroll-mx":[{"scroll-mx":re()}],"scroll-my":[{"scroll-my":re()}],"scroll-ms":[{"scroll-ms":re()}],"scroll-me":[{"scroll-me":re()}],"scroll-mt":[{"scroll-mt":re()}],"scroll-mr":[{"scroll-mr":re()}],"scroll-mb":[{"scroll-mb":re()}],"scroll-ml":[{"scroll-ml":re()}],"scroll-p":[{"scroll-p":re()}],"scroll-px":[{"scroll-px":re()}],"scroll-py":[{"scroll-py":re()}],"scroll-ps":[{"scroll-ps":re()}],"scroll-pe":[{"scroll-pe":re()}],"scroll-pt":[{"scroll-pt":re()}],"scroll-pr":[{"scroll-pr":re()}],"scroll-pb":[{"scroll-pb":re()}],"scroll-pl":[{"scroll-pl":re()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...q()]}],"stroke-w":[{stroke:[He,Yl,si,yd]}],stroke:[{stroke:["none",...q()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fs=f0(O0);function $g(e){var t,n,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=$g(e[t]))&&(a&&(a+=" "),a+=n)}else for(n in e)e[n]&&(a&&(a+=" "),a+=n);return a}function lu(){for(var e,t,n=0,a="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=$g(e))&&(a&&(a+=" "),a+=t);return a}function wt(...e){return Fs(lu(e))}const jg=typeof document<"u"?A.useLayoutEffect:()=>{};function I0(e){const t=A.useRef(null);return jg(()=>{t.current=e},[e]),A.useCallback((...n)=>{const a=t.current;return a==null?void 0:a(...n)},[])}const ka=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ci=e=>e&&"window"in e&&e.window===e?e:ka(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let D0=!1;function Bp(){return D0}function Ng(e,t){if(!Bp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:M0(n)?n=n.host:n=n.parentNode}return!1}const tp=(e=document)=>{var t;if(!Bp())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function zg(e){return Bp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Hc(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Up(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Hp=vo(function(){return Up(/^Mac/i)}),_0=vo(function(){return Up(/^iPhone/i)}),L0=vo(function(){return Up(/^iPad/i)||Hp()&&navigator.maxTouchPoints>1}),$0=vo(function(){return _0()||L0()});vo(function(){return Hp()||$0()});vo(function(){return Hc(/AppleWebKit/i)&&!j0()});const j0=vo(function(){return Hc(/Chrome/i)}),N0=vo(function(){return Hc(/Android/i)});vo(function(){return Hc(/Firefox/i)});function Bg(){let e=A.useRef(new Map),t=A.useCallback((i,c,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:c,eventTarget:i,fn:h,options:m}),i.addEventListener(c,h,m)},[]),n=A.useCallback((i,c,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;i.removeEventListener(c,v,m),e.current.delete(p)},[]),a=A.useCallback(()=>{e.current.forEach((i,c)=>{n(i.eventTarget,i.type,c,i.options)})},[n]);return A.useEffect(()=>a,[a]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:a}}function z0(e){return e.mozInputSource===0&&e.isTrusted?!0:N0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Ug(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Hg(e){let t=A.useRef({isFocused:!1,observer:null});jg(()=>{const a=t.current;return()=>{a.observer&&(a.observer.disconnect(),a.observer=null)}},[]);let n=I0(a=>{e==null||e(a)});return A.useCallback(a=>{if(a.target instanceof HTMLButtonElement||a.target instanceof HTMLInputElement||a.target instanceof HTMLTextAreaElement||a.target instanceof HTMLSelectElement){t.current.isFocused=!0;let i=a.target,c=p=>{if(t.current.isFocused=!1,i.disabled){let m=Ug(p);n(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};i.addEventListener("focusout",c,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&i.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=i===document.activeElement?null:document.activeElement;i.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),i.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(i,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let U0=!1,bu=null,rp=new Set,tu=new Map,Ei=!1,np=!1;const H0={Tab:!0,Escape:!0};function Wp(e,t){for(let n of rp)n(e,t)}function W0(e){return!(e.metaKey||!Hp()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Fc(e){Ei=!0,W0(e)&&(bu="keyboard",Wp("keyboard",e))}function Nr(e){bu="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ei=!0,Wp("pointer",e))}function Wg(e){z0(e)&&(Ei=!0,bu="virtual")}function Vg(e){e.target===window||e.target===document||U0||!e.isTrusted||(!Ei&&!np&&(bu="virtual",Wp("virtual",e)),Ei=!1,np=!1)}function Gg(){Ei=!1,np=!0}function op(e){if(typeof window>"u"||typeof document>"u"||tu.get(ci(e)))return;const t=ci(e),n=ka(e);let a=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ei=!0,a.apply(this,arguments)},n.addEventListener("keydown",Fc,!0),n.addEventListener("keyup",Fc,!0),n.addEventListener("click",Wg,!0),t.addEventListener("focus",Vg,!0),t.addEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Nr,!0),n.addEventListener("pointermove",Nr,!0),n.addEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Nr,!0),n.addEventListener("mousemove",Nr,!0),n.addEventListener("mouseup",Nr,!0)),t.addEventListener("beforeunload",()=>{Yg(e)},{once:!0}),tu.set(t,{focus:a})}const Yg=(e,t)=>{const n=ci(e),a=ka(e);t&&a.removeEventListener("DOMContentLoaded",t),tu.has(n)&&(n.HTMLElement.prototype.focus=tu.get(n).focus,a.removeEventListener("keydown",Fc,!0),a.removeEventListener("keyup",Fc,!0),a.removeEventListener("click",Wg,!0),n.removeEventListener("focus",Vg,!0),n.removeEventListener("blur",Gg,!1),typeof PointerEvent<"u"?(a.removeEventListener("pointerdown",Nr,!0),a.removeEventListener("pointermove",Nr,!0),a.removeEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(a.removeEventListener("mousedown",Nr,!0),a.removeEventListener("mousemove",Nr,!0),a.removeEventListener("mouseup",Nr,!0)),tu.delete(n))};function V0(e){const t=ka(e);let n;return t.readyState!=="loading"?op(e):(n=()=>{op(e)},t.addEventListener("DOMContentLoaded",n)),()=>Yg(e,n)}typeof document<"u"&&V0();function Xg(){return bu!=="pointer"}const G0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y0(e,t,n){let a=ka(n==null?void 0:n.target);const i=typeof window<"u"?ci(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,c=typeof window<"u"?ci(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ci(n==null?void 0:n.target).HTMLElement:HTMLElement,m=typeof window<"u"?ci(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||a.activeElement instanceof i&&!G0.has(a.activeElement.type)||a.activeElement instanceof c||a.activeElement instanceof p&&a.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof m&&!H0[n.key])}function X0(e,t,n){op(),A.useEffect(()=>{let a=(i,c)=>{Y0(!!(n!=null&&n.isTextInput),i,c)&&e(Xg())};return rp.add(a),()=>{rp.delete(a)}},t)}function Q0(e){let{isDisabled:t,onFocus:n,onBlur:a,onFocusChange:i}=e;const c=A.useCallback(h=>{if(h.target===h.currentTarget)return a&&a(h),i&&i(!1),!0},[a,i]),p=Hg(c),m=A.useCallback(h=>{const v=ka(h.target),C=v?tp(v):tp();h.target===h.currentTarget&&C===zg(h.nativeEvent)&&(n&&n(h),i&&i(!0),p(h))},[i,n,p]);return{focusProps:{onFocus:!t&&(n||i||a)?m:void 0,onBlur:!t&&(a||i)?c:void 0}}}function K0(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:a,onFocusWithinChange:i}=e,c=A.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Bg(),h=A.useCallback(x=>{x.currentTarget.contains(x.target)&&c.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(c.current.isFocusWithin=!1,m(),n&&n(x),i&&i(!1))},[n,i,c,m]),v=Hg(h),C=A.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ka(x.target),I=tp(F);if(!c.current.isFocusWithin&&I===zg(x.nativeEvent)){a&&a(x),i&&i(!0),c.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(c.current.isFocusWithin&&!Ng(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});B0(T,L);let O=Ug(T);h(O)}},{capture:!0})}},[a,i,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let Mc=!1,bd=0;function ap(){Mc=!0,setTimeout(()=>{Mc=!1},50)}function zh(e){e.pointerType==="touch"&&ap()}function J0(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",ap),bd++,()=>{bd--,!(bd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",zh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",ap))}}function Z0(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:a,isDisabled:i}=e,[c,p]=A.useState(!1),m=A.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;A.useEffect(J0,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Bg(),{hoverProps:C,triggerHoverEnd:x}=A.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,i||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let O=D.currentTarget;m.target=O,h(ka(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Ng(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:O,pointerType:T}),n&&n(!0),p(!0)},I=(D,T)=>{let O=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!O)&&(m.isHovered=!1,v(),a&&a({type:"hoverend",target:O,pointerType:T}),n&&n(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{Mc&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!i&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!Mc&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!i&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,n,a,i,m,h,v]);return A.useEffect(()=>{i&&x({currentTarget:m.target},m.pointerType)},[i]),{hoverProps:C,isHovered:c}}function q0(e={}){let{autoFocus:t=!1,isTextInput:n,within:a}=e,i=A.useRef({isFocused:!1,isFocusVisible:t||Xg()}),[c,p]=A.useState(!1),[m,h]=A.useState(()=>i.current.isFocused&&i.current.isFocusVisible),v=A.useCallback(()=>h(i.current.isFocused&&i.current.isFocusVisible),[]),C=A.useCallback(I=>{i.current.isFocused=I,p(I),v()},[v]);X0(I=>{i.current.isFocusVisible=I,v()},[],{isTextInput:n});let{focusProps:x}=Q0({isDisabled:a,onFocusChange:C}),{focusWithinProps:F}=K0({isDisabled:!a,onFocusWithinChange:C});return{isFocused:c,isFocusVisible:m,focusProps:a?F:x}}var ew=Object.defineProperty,tw=(e,t,n)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wd=(e,t,n)=>(tw(e,typeof t!="symbol"?t+"":t,n),n);let rw=class{constructor(){wd(this,"current",this.detect()),wd(this,"handoffState","pending"),wd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xi=new rw;function Wc(e){var t,n;return xi.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Vc(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(n,a,i,c){return n.addEventListener(a,i,c),t.add(()=>n.removeEventListener(a,i,c))},requestAnimationFrame(...n){let a=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(a))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let a=setTimeout(...n);return t.add(()=>clearTimeout(a))},microTask(...n){let a={current:!0};return Vc(()=>{a.current&&n[0]()}),t.add(()=>{a.current=!1})},style(n,a,i){let c=n.style.getPropertyValue(a);return Object.assign(n.style,{[a]:i}),this.add(()=>{Object.assign(n.style,{[a]:c})})},group(n){let a=yo();return n(a),this.add(()=>a.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let a=e.indexOf(n);if(a>=0)for(let i of e.splice(a,1))i()}},dispose(){for(let n of e.splice(0))n()}};return t}function Vp(){let[e]=A.useState(yo);return A.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xi.isServer?A.useEffect(e,t):A.useLayoutEffect(e,t)};function Ri(e){let t=A.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ri(e);return A.useCallback((...n)=>t.current(...n),[t])},Qg=A.createContext(void 0);function Gc(){return A.useContext(Qg)}function nw({value:e,children:t}){return A.createElement(Qg.Provider,{value:e},t)}function ip(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...n){if(e in t){let i=t[e];return typeof i=="function"?i(...n):i}let a=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(i=>`"${i}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,po),a}var Dc=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Dc||{}),ma=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(ma||{});function er(){let e=aw();return A.useCallback(t=>ow({mergeRefs:e,...t}),[e])}function ow({ourProps:e,theirProps:t,slot:n,defaultTag:a,features:i,visible:c=!0,name:p,mergeRefs:m}){m=m??iw;let h=Kg(t,e);if(c)return wc(h,n,a,p,m);let v=i??0;if(v&2){let{static:C=!1,...x}=h;if(C)return wc(x,n,a,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return wc({...x,hidden:!0,style:{display:"none"}},n,a,p,m)}})}return wc(h,n,a,p,m)}function wc(e,t={},n,a,i){let{as:c=n,children:p,refName:m="ref",...h}=xd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(c===A.Fragment&&(Object.keys(li(h)).length>0||Object.keys(li(x)).length>0))if(!A.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(li(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${a} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(li(h)).concat(Object.keys(li(x))).map(F=>` - ${F}`).join(`
123
+ */var ld,vh;function Qy(){if(vh)return ld;vh=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(c){if(c==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(c)}function a(){try{if(!Object.assign)return!1;var c=new String("abc");if(c[5]="de",Object.getOwnPropertyNames(c)[0]==="5")return!1;for(var p={},m=0;m<10;m++)p["_"+String.fromCharCode(m)]=m;var h=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(h.join("")!=="0123456789")return!1;var v={};return"abcdefghijklmnopqrst".split("").forEach(function(C){v[C]=C}),Object.keys(Object.assign({},v)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ld=a()?Object.assign:function(c,p){for(var m,h=i(c),v,C=1;C<arguments.length;C++){m=Object(arguments[C]);for(var x in m)t.call(m,x)&&(h[x]=m[x]);if(e){v=e(m);for(var F=0;F<v.length;F++)n.call(m,v[F])&&(h[v[F]]=m[v[F]])}}return h},ld}var ud,yh;function Mp(){if(yh)return ud;yh=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ud=e,ud}var cd,bh;function rg(){return bh||(bh=1,cd=Function.call.bind(Object.prototype.hasOwnProperty)),cd}var fd,wh;function qy(){if(wh)return fd;wh=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Mp(),n={},i=rg();e=function(c){var p="Warning: "+c;typeof console<"u"&&console.error(p);try{throw new Error(p)}catch{}}}function a(c,p,m,h,v){if(process.env.NODE_ENV!=="production"){for(var C in c)if(i(c,C)){var x;try{if(typeof c[C]!="function"){var F=Error((h||"React class")+": "+m+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw F.name="Invariant Violation",F}x=c[C](p,C,h,m,null,t)}catch(L){x=L}if(x&&!(x instanceof Error)&&e((h||"React class")+": type specification of "+m+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof x+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),x instanceof Error&&!(x.message in n)){n[x.message]=!0;var I=v?v():"";e("Failed "+m+" type: "+x.message+(I??""))}}}}return a.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},fd=a,fd}var dd,xh;function Ky(){if(xh)return dd;xh=1;var e=tg(),t=Qy(),n=Mp(),i=rg(),a=qy(),c=function(){};process.env.NODE_ENV!=="production"&&(c=function(m){var h="Warning: "+m;typeof console<"u"&&console.error(h);try{throw new Error(h)}catch{}});function p(){return null}return dd=function(m,h){var v=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function x(Y){var K=Y&&(v&&Y[v]||Y[C]);if(typeof K=="function")return K}var F="<<anonymous>>",I={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:U(),arrayOf:j,element:V(),elementType:$(),instanceOf:J,node:ye(),objectOf:re,oneOf:ae,oneOfType:le,shape:Fe,exact:$e};function L(Y,K){return Y===K?Y!==0||1/Y===1/K:Y!==Y&&K!==K}function D(Y,K){this.message=Y,this.data=K&&typeof K=="object"?K:{},this.stack=""}D.prototype=Error.prototype;function T(Y){if(process.env.NODE_ENV!=="production")var K={},fe=0;function te(me,ue,ce,Ee,Se,Pe,Be){if(Ee=Ee||F,Pe=Pe||ce,Be!==n){if(h){var se=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw se.name="Invariant Violation",se}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var We=Ee+":"+ce;!K[We]&&fe<3&&(c("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+Ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),K[We]=!0,fe++)}}return ue[ce]==null?me?ue[ce]===null?new D("The "+Se+" `"+Pe+"` is marked as required "+("in `"+Ee+"`, but its value is `null`.")):new D("The "+Se+" `"+Pe+"` is marked as required in "+("`"+Ee+"`, but its value is `undefined`.")):null:Y(ue,ce,Ee,Se,Pe)}var he=te.bind(null,!1);return he.isRequired=te.bind(null,!0),he}function O(Y){function K(fe,te,he,me,ue,ce){var Ee=fe[te],Se=Re(Ee);if(Se!==Y){var Pe=Le(Ee);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Pe+"` supplied to `"+he+"`, expected ")+("`"+Y+"`."),{expectedType:Y})}return null}return T(K)}function U(){return T(p)}function j(Y){function K(fe,te,he,me,ue){if(typeof Y!="function")return new D("Property `"+ue+"` of component `"+he+"` has invalid PropType notation inside arrayOf.");var ce=fe[te];if(!Array.isArray(ce)){var Ee=Re(ce);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an array."))}for(var Se=0;Se<ce.length;Se++){var Pe=Y(ce,Se,he,me,ue+"["+Se+"]",n);if(Pe instanceof Error)return Pe}return null}return T(K)}function V(){function Y(K,fe,te,he,me){var ue=K[fe];if(!m(ue)){var ce=Re(ue);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ce+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return T(Y)}function $(){function Y(K,fe,te,he,me){var ue=K[fe];if(!e.isValidElementType(ue)){var ce=Re(ue);return new D("Invalid "+he+" `"+me+"` of type "+("`"+ce+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return T(Y)}function J(Y){function K(fe,te,he,me,ue){if(!(fe[te]instanceof Y)){var ce=Y.name||F,Ee=ve(fe[te]);return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected ")+("instance of `"+ce+"`."))}return null}return T(K)}function ae(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&(arguments.length>1?c("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])."):c("Invalid argument supplied to oneOf, expected an array.")),p;function K(fe,te,he,me,ue){for(var ce=fe[te],Ee=0;Ee<Y.length;Ee++)if(L(ce,Y[Ee]))return null;var Se=JSON.stringify(Y,function(Be,se){var We=Le(se);return We==="symbol"?String(se):se});return new D("Invalid "+me+" `"+ue+"` of value `"+String(ce)+"` "+("supplied to `"+he+"`, expected one of "+Se+"."))}return T(K)}function re(Y){function K(fe,te,he,me,ue){if(typeof Y!="function")return new D("Property `"+ue+"` of component `"+he+"` has invalid PropType notation inside objectOf.");var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type "+("`"+Ee+"` supplied to `"+he+"`, expected an object."));for(var Se in ce)if(i(ce,Se)){var Pe=Y(ce,Se,he,me,ue+"."+Se,n);if(Pe instanceof Error)return Pe}return null}return T(K)}function le(Y){if(!Array.isArray(Y))return process.env.NODE_ENV!=="production"&&c("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var K=0;K<Y.length;K++){var fe=Y[K];if(typeof fe!="function")return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Z(fe)+" at index "+K+"."),p}function te(he,me,ue,ce,Ee){for(var Se=[],Pe=0;Pe<Y.length;Pe++){var Be=Y[Pe],se=Be(he,me,ue,ce,Ee,n);if(se==null)return null;se.data&&i(se.data,"expectedType")&&Se.push(se.data.expectedType)}var We=Se.length>0?", expected one of type ["+Se.join(", ")+"]":"";return new D("Invalid "+ce+" `"+Ee+"` supplied to "+("`"+ue+"`"+We+"."))}return T(te)}function ye(){function Y(K,fe,te,he,me){return ze(K[fe])?null:new D("Invalid "+he+" `"+me+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return T(Y)}function De(Y,K,fe,te,he){return new D((Y||"React class")+": "+K+" type `"+fe+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+he+"`.")}function Fe(Y){function K(fe,te,he,me,ue){var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));for(var Se in Y){var Pe=Y[Se];if(typeof Pe!="function")return De(he,me,ue,Se,Le(Pe));var Be=Pe(ce,Se,he,me,ue+"."+Se,n);if(Be)return Be}return null}return T(K)}function $e(Y){function K(fe,te,he,me,ue){var ce=fe[te],Ee=Re(ce);if(Ee!=="object")return new D("Invalid "+me+" `"+ue+"` of type `"+Ee+"` "+("supplied to `"+he+"`, expected `object`."));var Se=t({},fe[te],Y);for(var Pe in Se){var Be=Y[Pe];if(i(Y,Pe)&&typeof Be!="function")return De(he,me,ue,Pe,Le(Be));if(!Be)return new D("Invalid "+me+" `"+ue+"` key `"+Pe+"` supplied to `"+he+"`.\nBad object: "+JSON.stringify(fe[te],null," ")+`
124
+ Valid keys: `+JSON.stringify(Object.keys(Y),null," "));var se=Be(ce,Pe,he,me,ue+"."+Pe,n);if(se)return se}return null}return T(K)}function ze(Y){switch(typeof Y){case"number":case"string":case"undefined":return!0;case"boolean":return!Y;case"object":if(Array.isArray(Y))return Y.every(ze);if(Y===null||m(Y))return!0;var K=x(Y);if(K){var fe=K.call(Y),te;if(K!==Y.entries){for(;!(te=fe.next()).done;)if(!ze(te.value))return!1}else for(;!(te=fe.next()).done;){var he=te.value;if(he&&!ze(he[1]))return!1}}else return!1;return!0;default:return!1}}function xe(Y,K){return Y==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function Re(Y){var K=typeof Y;return Array.isArray(Y)?"array":Y instanceof RegExp?"object":xe(K,Y)?"symbol":K}function Le(Y){if(typeof Y>"u"||Y===null)return""+Y;var K=Re(Y);if(K==="object"){if(Y instanceof Date)return"date";if(Y instanceof RegExp)return"regexp"}return K}function Z(Y){var K=Le(Y);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ve(Y){return!Y.constructor||!Y.constructor.name?F:Y.constructor.name}return I.checkPropTypes=a,I.resetWarningCache=a.resetWarningCache,I.PropTypes=I,I},dd}var pd,Sh;function Jy(){if(Sh)return pd;Sh=1;var e=Mp();function t(){}function n(){}return n.resetWarningCache=t,pd=function(){function i(p,m,h,v,C,x){if(x!==e){var F=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw F.name="Invariant Violation",F}}i.isRequired=i;function a(){return i}var c={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:n,resetWarningCache:t};return c.PropTypes=c,c},pd}var kh;function Zy(){if(kh)return hc.exports;if(kh=1,process.env.NODE_ENV!=="production"){var e=tg(),t=!0;hc.exports=Ky()(e.isElement,t)}else hc.exports=Jy()();return hc.exports}var eb=Zy();const _e=zy(eb);var tb=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ng(e,t){return e(t={exports:{}},t.exports),t.exports}var rb=ng(function(e){(function(t){var n=function(T,O,U){if(!h(O)||C(O)||x(O)||F(O)||m(O))return O;var j,V=0,$=0;if(v(O))for(j=[],$=O.length;V<$;V++)j.push(n(T,O[V],U));else for(var J in j={},O)Object.prototype.hasOwnProperty.call(O,J)&&(j[T(J,U)]=n(T,O[J],U));return j},i=function(T){return I(T)?T:(T=T.replace(/[\-_\s]+(.)?/g,function(O,U){return U?U.toUpperCase():""})).substr(0,1).toLowerCase()+T.substr(1)},a=function(T){var O=i(T);return O.substr(0,1).toUpperCase()+O.substr(1)},c=function(T,O){return function(U,j){var V=(j=j||{}).separator||"_",$=j.split||/(?=[A-Z])/;return U.split($).join(V)}(T,O).toLowerCase()},p=Object.prototype.toString,m=function(T){return typeof T=="function"},h=function(T){return T===Object(T)},v=function(T){return p.call(T)=="[object Array]"},C=function(T){return p.call(T)=="[object Date]"},x=function(T){return p.call(T)=="[object RegExp]"},F=function(T){return p.call(T)=="[object Boolean]"},I=function(T){return(T-=0)==T},L=function(T,O){var U=O&&"process"in O?O.process:O;return typeof U!="function"?T:function(j,V){return U(j,T,V)}},D={camelize:i,decamelize:c,pascalize:a,depascalize:c,camelizeKeys:function(T,O){return n(L(i,O),T)},decamelizeKeys:function(T,O){return n(L(c,O),T,O)},pascalizeKeys:function(T,O){return n(L(a,O),T)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=D:t.humps=D})(tb)}).decamelize,nb=function(e){if(Array.isArray(e))return e},ob=function(e,t){if(typeof Symbol<"u"&&Symbol.iterator in Object(e)){var n=[],i=!0,a=!1,c=void 0;try{for(var p,m=e[Symbol.iterator]();!(i=(p=m.next()).done)&&(n.push(p.value),!t||n.length!==t);i=!0);}catch(h){a=!0,c=h}finally{try{i||m.return==null||m.return()}finally{if(a)throw c}}return n}},Eh=function(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i},ib=function(e,t){if(e){if(typeof e=="string")return Eh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eh(e,t):void 0}},ab=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.`)},sb=function(e,t){return nb(e)||ob(e,t)||ib(e,t)||ab()},og=ng(function(e){function t(){return e.exports=t=Object.assign||function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(n[c]=a[c])}return n},t.apply(this,arguments)}e.exports=t}),lb=function(e,t){if(e==null)return{};var n,i,a={},c=Object.keys(e);for(i=0;i<c.length;i++)n=c[i],t.indexOf(n)>=0||(a[n]=e[n]);return a},ig=function(e,t){if(e==null)return{};var n,i,a=lb(e,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)n=c[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a},ub=A.createContext(null);function ag(e){var t=e.children,n=t===void 0?"":t,i=ig(e,["children"]);return typeof n!="string"&&(n=Gy.renderToString(n)),A.createElement("template",og({},i,{dangerouslySetInnerHTML:{__html:n}}))}function sg(e){var t=e.root,n=e.children;return Bc.createPortal(n===void 0?null:n,t)}function cb(e){var t=A.forwardRef(function(n,i){var a,c,p=n.mode,m=p===void 0?"open":p,h=n.delegatesFocus,v=h!==void 0&&h,C=n.styleSheets,x=C===void 0?[]:C,F=n.ssr,I=F!==void 0&&F,L=n.children,D=ig(n,["mode","delegatesFocus","styleSheets","ssr","children"]),T=(c=A.useRef((a=i)&&a.current),A.useEffect(function(){a&&(a.current=c.current)},[a]),c),O=A.useState(null),U=sb(O,2),j=U[0],V=U[1],$="node_".concat(m).concat(v);return A.useLayoutEffect(function(){if(T.current)try{if(typeof i=="function"&&i(T.current),I){var J=T.current.shadowRoot;return void V(J)}var ae=T.current.attachShadow({mode:m,delegatesFocus:v});x.length>0&&(ae.adoptedStyleSheets=x),V(ae)}catch(re){(function(le){var ye=le.error,De=le.styleSheets,Fe=le.root;switch(ye.name){case"NotSupportedError":De.length>0&&(Fe.adoptedStyleSheets=De);break;default:throw ye}})({error:re,styleSheets:x,root:j})}},[i,T,x]),A.createElement(A.Fragment,null,A.createElement(e.tag,og({key:$,ref:T},D),(j||I)&&A.createElement(ub.Provider,{value:j},I?A.createElement(ag,{shadowroot:m,shadowrootmode:m},e.render({root:j,ssr:I,children:L})):A.createElement(sg,{root:j},e.render({root:j,ssr:I,children:L})))))});return t.propTypes={mode:_e.oneOf(["open","closed"]),delegatesFocus:_e.bool,styleSheets:_e.arrayOf(_e.instanceOf(globalThis.CSSStyleSheet)),ssr:_e.bool,children:_e.node},t}ag.propTypes={children:_e.oneOfType([_e.string,_e.node])},sg.propTypes={root:_e.object.isRequired,children:_e.node};var hd=new Map;function fb(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(i){return i.children};return new Proxy(e,{get:function(i,a){var c=rb(a,{separator:"-"}),p="".concat(t,"-").concat(c);return hd.has(p)||hd.set(p,cb({tag:c,render:n})),hd.get(p)}})}var lg=fb();const ug="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 qs=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Sa=typeof window>"u"||"Deno"in globalThis;function Zt(){}function db(e,t){return typeof e=="function"?e(t):e}function $d(e){return typeof e=="number"&&e>=0&&e!==1/0}function cg(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Is(e,t){return typeof e=="function"?e(t):e}function nn(e,t){return typeof e=="function"?e(t):e}function Ch(e,t){const{type:n="all",exact:i,fetchStatus:a,predicate:c,queryKey:p,stale:m}=e;if(p){if(i){if(t.queryHash!==Dp(p,t.options))return!1}else if(!su(t.queryKey,p))return!1}if(n!=="all"){const h=t.isActive();if(n==="active"&&!h||n==="inactive"&&h)return!1}return!(typeof m=="boolean"&&t.isStale()!==m||a&&a!==t.state.fetchStatus||c&&!c(t))}function Th(e,t){const{exact:n,status:i,predicate:a,mutationKey:c}=e;if(c){if(!t.options.mutationKey)return!1;if(n){if(ka(t.options.mutationKey)!==ka(c))return!1}else if(!su(t.options.mutationKey,c))return!1}return!(i&&t.state.status!==i||a&&!a(t))}function Dp(e,t){return((t==null?void 0:t.queryKeyHashFn)||ka)(e)}function ka(e){return JSON.stringify(e,(t,n)=>Nd(n)?Object.keys(n).sort().reduce((i,a)=>(i[a]=n[a],i),{}):n)}function su(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>su(e[n],t[n])):!1}function jd(e,t){if(e===t)return e;const n=Rh(e)&&Rh(t);if(n||Nd(e)&&Nd(t)){const i=n?e:Object.keys(e),a=i.length,c=n?t:Object.keys(t),p=c.length,m=n?[]:{};let h=0;for(let v=0;v<p;v++){const C=n?v:c[v];(!n&&i.includes(C)||n)&&e[C]===void 0&&t[C]===void 0?(m[C]=void 0,h++):(m[C]=jd(e[C],t[C]),m[C]===e[C]&&e[C]!==void 0&&h++)}return a===p&&h===a?e:m}return t}function Pc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Rh(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Nd(e){if(!Ph(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ph(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ph(e){return Object.prototype.toString.call(e)==="[object Object]"}function pb(e){return new Promise(t=>{setTimeout(t,e)})}function zd(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return jd(e,t)}catch(i){throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${i}`),i}return jd(e,t)}return t}function hb(e,t,n=0){const i=[...e,t];return n&&i.length>n?i.slice(1):i}function mb(e,t,n=0){const i=[t,...e];return n&&i.length>n?i.slice(0,-1):i}var Ac=Symbol();function fg(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===Ac&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Ac?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function dg(e,t){return typeof e=="function"?e(...t):!!e}var pa,ii,Ls,Wm,gb=(Wm=class extends qs{constructor(){super();Ie(this,pa);Ie(this,ii);Ie(this,Ls);ge(this,Ls,t=>{if(!Sa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,ii)||this.setEventListener(_(this,Ls))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ii))==null||t.call(this),ge(this,ii,void 0))}setEventListener(t){var n;ge(this,Ls,t),(n=_(this,ii))==null||n.call(this),ge(this,ii,t(i=>{typeof i=="boolean"?this.setFocused(i):this.onFocus()}))}setFocused(t){_(this,pa)!==t&&(ge(this,pa,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,pa)=="boolean"?_(this,pa):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},pa=new WeakMap,ii=new WeakMap,Ls=new WeakMap,Wm),_p=new gb,$s,ai,js,Vm,vb=(Vm=class extends qs{constructor(){super();Ie(this,$s,!0);Ie(this,ai);Ie(this,js);ge(this,js,t=>{if(!Sa&&window.addEventListener){const n=()=>t(!0),i=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",i,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",i)}}})}onSubscribe(){_(this,ai)||this.setEventListener(_(this,js))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,ai))==null||t.call(this),ge(this,ai,void 0))}setEventListener(t){var n;ge(this,js,t),(n=_(this,ai))==null||n.call(this),ge(this,ai,t(this.setOnline.bind(this)))}setOnline(t){_(this,$s)!==t&&(ge(this,$s,t),this.listeners.forEach(i=>{i(t)}))}isOnline(){return _(this,$s)}},$s=new WeakMap,ai=new WeakMap,js=new WeakMap,Vm),Oc=new vb;function Bd(){let e,t;const n=new Promise((a,c)=>{e=a,t=c});n.status="pending",n.catch(()=>{});function i(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{i({status:"fulfilled",value:a}),e(a)},n.reject=a=>{i({status:"rejected",reason:a}),t(a)},n}function yb(e){return Math.min(1e3*2**e,3e4)}function pg(e){return(e??"online")==="online"?Oc.isOnline():!0}var hg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function md(e){return e instanceof hg}function mg(e){let t=!1,n=0,i=!1,a;const c=Bd(),p=D=>{var T;i||(F(new hg(D)),(T=e.abort)==null||T.call(e))},m=()=>{t=!0},h=()=>{t=!1},v=()=>_p.isFocused()&&(e.networkMode==="always"||Oc.isOnline())&&e.canRun(),C=()=>pg(e.networkMode)&&e.canRun(),x=D=>{var T;i||(i=!0,(T=e.onSuccess)==null||T.call(e,D),a==null||a(),c.resolve(D))},F=D=>{var T;i||(i=!0,(T=e.onError)==null||T.call(e,D),a==null||a(),c.reject(D))},I=()=>new Promise(D=>{var T;a=O=>{(i||v())&&D(O)},(T=e.onPause)==null||T.call(e)}).then(()=>{var D;a=void 0,i||(D=e.onContinue)==null||D.call(e)}),L=()=>{if(i)return;let D;const T=n===0?e.initialPromise:void 0;try{D=T??e.fn()}catch(O){D=Promise.reject(O)}Promise.resolve(D).then(x).catch(O=>{var J;if(i)return;const U=e.retry??(Sa?0:3),j=e.retryDelay??yb,V=typeof j=="function"?j(n,O):j,$=U===!0||typeof U=="number"&&n<U||typeof U=="function"&&U(n,O);if(t||!$){F(O);return}n++,(J=e.onFail)==null||J.call(e,n,O),pb(V).then(()=>v()?void 0:I()).then(()=>{t?F(O):L()})})};return{promise:c,cancel:p,continue:()=>(a==null||a(),c),cancelRetry:m,continueRetry:h,canStart:C,start:()=>(C()?L():I().then(L),c)}}var bb=e=>setTimeout(e,0);function wb(){let e=[],t=0,n=m=>{m()},i=m=>{m()},a=bb;const c=m=>{t?e.push(m):a(()=>{n(m)})},p=()=>{const m=e;e=[],m.length&&a(()=>{i(()=>{m.forEach(h=>{n(h)})})})};return{batch:m=>{let h;t++;try{h=m()}finally{t--,t||p()}return h},batchCalls:m=>(...h)=>{c(()=>{m(...h)})},schedule:c,setNotifyFunction:m=>{n=m},setBatchNotifyFunction:m=>{i=m},setScheduler:m=>{a=m}}}var bt=wb(),ha,Gm,gg=(Gm=class{constructor(){Ie(this,ha)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),$d(this.gcTime)&&ge(this,ha,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Sa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ha)&&(clearTimeout(_(this,ha)),ge(this,ha,void 0))}},ha=new WeakMap,Gm),Ns,zs,jr,ma,$t,hu,ga,tn,oo,Ym,xb=(Ym=class extends gg{constructor(t){super();Ie(this,tn);Ie(this,Ns);Ie(this,zs);Ie(this,jr);Ie(this,ma);Ie(this,$t);Ie(this,hu);Ie(this,ga);ge(this,ga,!1),ge(this,hu,t.defaultOptions),this.setOptions(t.options),this.observers=[],ge(this,ma,t.client),ge(this,jr,_(this,ma).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ge(this,Ns,Sb(this.options)),this.state=t.state??_(this,Ns),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$t))==null?void 0:t.promise}setOptions(t){this.options={..._(this,hu),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,jr).remove(this)}setData(t,n){const i=zd(this.state.data,t,this.options);return Ue(this,tn,oo).call(this,{data:i,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),i}setState(t,n){Ue(this,tn,oo).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var i,a;const n=(i=_(this,$t))==null?void 0:i.promise;return(a=_(this,$t))==null||a.cancel(t),n?n.then(Zt).catch(Zt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ns))}isActive(){return this.observers.some(t=>nn(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Ac||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!cg(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(i=>i.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}onOnline(){var n;const t=this.observers.find(i=>i.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$t))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,jr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,$t)&&(_(this,ga)?_(this,$t).cancel({revert:!0}):_(this,$t).cancelRetry()),this.scheduleGc()),_(this,jr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ue(this,tn,oo).call(this,{type:"invalidate"})}fetch(t,n){var h,v,C;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,$t))return _(this,$t).continueRetry(),_(this,$t).promise}if(t&&this.setOptions(t),!this.options.queryFn){const x=this.observers.find(F=>F.options.queryFn);x&&this.setOptions(x.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const i=new AbortController,a=x=>{Object.defineProperty(x,"signal",{enumerable:!0,get:()=>(ge(this,ga,!0),i.signal)})},c=()=>{const x=fg(this.options,n),F={client:_(this,ma),queryKey:this.queryKey,meta:this.meta};return a(F),ge(this,ga,!1),this.options.persister?this.options.persister(x,F,this):x(F)},p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,ma),state:this.state,fetchFn:c};a(p),(h=this.options.behavior)==null||h.onFetch(p,this),ge(this,zs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((v=p.fetchOptions)==null?void 0:v.meta))&&Ue(this,tn,oo).call(this,{type:"fetch",meta:(C=p.fetchOptions)==null?void 0:C.meta});const m=x=>{var F,I,L,D;md(x)&&x.silent||Ue(this,tn,oo).call(this,{type:"error",error:x}),md(x)||((I=(F=_(this,jr).config).onError)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,this.state.data,x,this)),this.scheduleGc()};return ge(this,$t,mg({initialPromise:n==null?void 0:n.initialPromise,fn:p.fetchFn,abort:i.abort.bind(i),onSuccess:x=>{var F,I,L,D;if(x===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),m(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(x)}catch(T){m(T);return}(I=(F=_(this,jr).config).onSuccess)==null||I.call(F,x,this),(D=(L=_(this,jr).config).onSettled)==null||D.call(L,x,this.state.error,this),this.scheduleGc()},onError:m,onFail:(x,F)=>{Ue(this,tn,oo).call(this,{type:"failed",failureCount:x,error:F})},onPause:()=>{Ue(this,tn,oo).call(this,{type:"pause"})},onContinue:()=>{Ue(this,tn,oo).call(this,{type:"continue"})},retry:p.options.retry,retryDelay:p.options.retryDelay,networkMode:p.options.networkMode,canRun:()=>!0})),_(this,$t).start()}},Ns=new WeakMap,zs=new WeakMap,jr=new WeakMap,ma=new WeakMap,$t=new WeakMap,hu=new WeakMap,ga=new WeakMap,tn=new WeakSet,oo=function(t){const n=i=>{switch(t.type){case"failed":return{...i,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...i,fetchStatus:"paused"};case"continue":return{...i,fetchStatus:"fetching"};case"fetch":return{...i,...vg(i.data,this.options),fetchMeta:t.meta??null};case"success":return{...i,data:t.data,dataUpdateCount:i.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=t.error;return md(a)&&a.revert&&_(this,zs)?{..._(this,zs),fetchStatus:"idle"}:{...i,error:a,errorUpdateCount:i.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:i.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...i,isInvalidated:!0};case"setState":return{...i,...t.state}}};this.state=n(this.state),bt.batch(()=>{this.observers.forEach(i=>{i.onQueryUpdate()}),_(this,jr).notify({query:this,type:"updated",action:t})})},Ym);function vg(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:pg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Sb(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,i=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?i??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Cn,Xm,kb=(Xm=class extends qs{constructor(t={}){super();Ie(this,Cn);this.config=t,ge(this,Cn,new Map)}build(t,n,i){const a=n.queryKey,c=n.queryHash??Dp(a,n);let p=this.get(c);return p||(p=new xb({client:t,queryKey:a,queryHash:c,options:t.defaultQueryOptions(n),state:i,defaultOptions:t.getQueryDefaults(a)}),this.add(p)),p}add(t){_(this,Cn).has(t.queryHash)||(_(this,Cn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Cn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Cn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){bt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Cn).get(t)}getAll(){return[..._(this,Cn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Ch(n,i))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(i=>Ch(t,i)):n}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){bt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){bt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Cn=new WeakMap,Xm),Tn,Kt,va,Rn,ni,Qm,Eb=(Qm=class extends gg{constructor(t){super();Ie(this,Rn);Ie(this,Tn);Ie(this,Kt);Ie(this,va);this.mutationId=t.mutationId,ge(this,Kt,t.mutationCache),ge(this,Tn,[]),this.state=t.state||yg(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Tn).includes(t)||(_(this,Tn).push(t),this.clearGcTimeout(),_(this,Kt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ge(this,Tn,_(this,Tn).filter(n=>n!==t)),this.scheduleGc(),_(this,Kt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Tn).length||(this.state.status==="pending"?this.scheduleGc():_(this,Kt).remove(this))}continue(){var t;return((t=_(this,va))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var c,p,m,h,v,C,x,F,I,L,D,T,O,U,j,V,$,J,ae,re;const n=()=>{Ue(this,Rn,ni).call(this,{type:"continue"})};ge(this,va,mg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(le,ye)=>{Ue(this,Rn,ni).call(this,{type:"failed",failureCount:le,error:ye})},onPause:()=>{Ue(this,Rn,ni).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,Kt).canRun(this)}));const i=this.state.status==="pending",a=!_(this,va).canStart();try{if(i)n();else{Ue(this,Rn,ni).call(this,{type:"pending",variables:t,isPaused:a}),await((p=(c=_(this,Kt).config).onMutate)==null?void 0:p.call(c,t,this));const ye=await((h=(m=this.options).onMutate)==null?void 0:h.call(m,t));ye!==this.state.context&&Ue(this,Rn,ni).call(this,{type:"pending",context:ye,variables:t,isPaused:a})}const le=await _(this,va).start();return await((C=(v=_(this,Kt).config).onSuccess)==null?void 0:C.call(v,le,t,this.state.context,this)),await((F=(x=this.options).onSuccess)==null?void 0:F.call(x,le,t,this.state.context)),await((L=(I=_(this,Kt).config).onSettled)==null?void 0:L.call(I,le,null,this.state.variables,this.state.context,this)),await((T=(D=this.options).onSettled)==null?void 0:T.call(D,le,null,t,this.state.context)),Ue(this,Rn,ni).call(this,{type:"success",data:le}),le}catch(le){try{throw await((U=(O=_(this,Kt).config).onError)==null?void 0:U.call(O,le,t,this.state.context,this)),await((V=(j=this.options).onError)==null?void 0:V.call(j,le,t,this.state.context)),await((J=($=_(this,Kt).config).onSettled)==null?void 0:J.call($,void 0,le,this.state.variables,this.state.context,this)),await((re=(ae=this.options).onSettled)==null?void 0:re.call(ae,void 0,le,t,this.state.context)),le}finally{Ue(this,Rn,ni).call(this,{type:"error",error:le})}}finally{_(this,Kt).runNext(this)}}},Tn=new WeakMap,Kt=new WeakMap,va=new WeakMap,Rn=new WeakSet,ni=function(t){const n=i=>{switch(t.type){case"failed":return{...i,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...i,isPaused:!0};case"continue":return{...i,isPaused:!1};case"pending":return{...i,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...i,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...i,data:void 0,error:t.error,failureCount:i.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),bt.batch(()=>{_(this,Tn).forEach(i=>{i.onMutationUpdate(t)}),_(this,Kt).notify({mutation:this,type:"updated",action:t})})},Qm);function yg(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var io,rn,mu,qm,Cb=(qm=class extends qs{constructor(t={}){super();Ie(this,io);Ie(this,rn);Ie(this,mu);this.config=t,ge(this,io,new Set),ge(this,rn,new Map),ge(this,mu,0)}build(t,n,i){const a=new Eb({mutationCache:this,mutationId:++fc(this,mu)._,options:t.defaultMutationOptions(n),state:i});return this.add(a),a}add(t){_(this,io).add(t);const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n);i?i.push(t):_(this,rn).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,io).delete(t)){const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n);if(i)if(i.length>1){const a=i.indexOf(t);a!==-1&&i.splice(a,1)}else i[0]===t&&_(this,rn).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=gc(t);if(typeof n=="string"){const i=_(this,rn).get(n),a=i==null?void 0:i.find(c=>c.state.status==="pending");return!a||a===t}else return!0}runNext(t){var i;const n=gc(t);if(typeof n=="string"){const a=(i=_(this,rn).get(n))==null?void 0:i.find(c=>c!==t&&c.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}else return Promise.resolve()}clear(){bt.batch(()=>{_(this,io).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,io).clear(),_(this,rn).clear()})}getAll(){return Array.from(_(this,io))}find(t){const n={exact:!0,...t};return this.getAll().find(i=>Th(n,i))}findAll(t={}){return this.getAll().filter(n=>Th(t,n))}notify(t){bt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return bt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Zt))))}},io=new WeakMap,rn=new WeakMap,mu=new WeakMap,qm);function gc(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ah(e){return{onFetch:(t,n)=>{var C,x,F,I,L;const i=t.options,a=(F=(x=(C=t.fetchOptions)==null?void 0:C.meta)==null?void 0:x.fetchMore)==null?void 0:F.direction,c=((I=t.state.data)==null?void 0:I.pages)||[],p=((L=t.state.data)==null?void 0:L.pageParams)||[];let m={pages:[],pageParams:[]},h=0;const v=async()=>{let D=!1;const T=j=>{Object.defineProperty(j,"signal",{enumerable:!0,get:()=>(t.signal.aborted?D=!0:t.signal.addEventListener("abort",()=>{D=!0}),t.signal)})},O=fg(t.options,t.fetchOptions),U=async(j,V,$)=>{if(D)return Promise.reject();if(V==null&&j.pages.length)return Promise.resolve(j);const J={client:t.client,queryKey:t.queryKey,pageParam:V,direction:$?"backward":"forward",meta:t.options.meta};T(J);const ae=await O(J),{maxPages:re}=t.options,le=$?mb:hb;return{pages:le(j.pages,ae,re),pageParams:le(j.pageParams,V,re)}};if(a&&c.length){const j=a==="backward",V=j?Tb:Oh,$={pages:c,pageParams:p},J=V(i,$);m=await U($,J,j)}else{const j=e??c.length;do{const V=h===0?p[0]??i.initialPageParam:Oh(i,m);if(h>0&&V==null)break;m=await U(m,V),h++}while(h<j)}return m};t.options.persister?t.fetchFn=()=>{var D,T;return(T=(D=t.options).persister)==null?void 0:T.call(D,v,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=v}}}function Oh(e,{pages:t,pageParams:n}){const i=t.length-1;return t.length>0?e.getNextPageParam(t[i],t,n[i],n):void 0}function Tb(e,{pages:t,pageParams:n}){var i;return t.length>0?(i=e.getPreviousPageParam)==null?void 0:i.call(e,t[0],t,n[0],n):void 0}var pt,si,li,Bs,Us,ui,Hs,Ws,Km,Rb=(Km=class{constructor(e={}){Ie(this,pt);Ie(this,si);Ie(this,li);Ie(this,Bs);Ie(this,Us);Ie(this,ui);Ie(this,Hs);Ie(this,Ws);ge(this,pt,e.queryCache||new kb),ge(this,si,e.mutationCache||new Cb),ge(this,li,e.defaultOptions||{}),ge(this,Bs,new Map),ge(this,Us,new Map),ge(this,ui,0)}mount(){fc(this,ui)._++,_(this,ui)===1&&(ge(this,Hs,_p.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onFocus())})),ge(this,Ws,Oc.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,pt).onOnline())})))}unmount(){var e,t;fc(this,ui)._--,_(this,ui)===0&&((e=_(this,Hs))==null||e.call(this),ge(this,Hs,void 0),(t=_(this,Ws))==null||t.call(this),ge(this,Ws,void 0))}isFetching(e){return _(this,pt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,si).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=_(this,pt).build(this,t),i=n.state.data;return i===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Is(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return _(this,pt).findAll(e).map(({queryKey:t,state:n})=>{const i=n.data;return[t,i]})}setQueryData(e,t,n){const i=this.defaultQueryOptions({queryKey:e}),a=_(this,pt).get(i.queryHash),c=a==null?void 0:a.state.data,p=db(t,c);if(p!==void 0)return _(this,pt).build(this,i).setData(p,{...n,manual:!0})}setQueriesData(e,t,n){return bt.batch(()=>_(this,pt).findAll(e).map(({queryKey:i})=>[i,this.setQueryData(i,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,pt).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,pt);bt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,pt);return bt.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},i=bt.batch(()=>_(this,pt).findAll(e).map(a=>a.cancel(n)));return Promise.all(i).then(Zt).catch(Zt)}invalidateQueries(e,t={}){return bt.batch(()=>(_(this,pt).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},i=bt.batch(()=>_(this,pt).findAll(e).filter(a=>!a.isDisabled()).map(a=>{let c=a.fetch(void 0,n);return n.throwOnError||(c=c.catch(Zt)),a.state.fetchStatus==="paused"?Promise.resolve():c}));return Promise.all(i).then(Zt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,pt).build(this,t);return n.isStaleByTime(Is(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zt).catch(Zt)}fetchInfiniteQuery(e){return e.behavior=Ah(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zt).catch(Zt)}ensureInfiniteQueryData(e){return e.behavior=Ah(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Oc.isOnline()?_(this,si).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,pt)}getMutationCache(){return _(this,si)}getDefaultOptions(){return _(this,li)}setDefaultOptions(e){ge(this,li,e)}setQueryDefaults(e,t){_(this,Bs).set(ka(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Bs).values()],n={};return t.forEach(i=>{su(e,i.queryKey)&&Object.assign(n,i.defaultOptions)}),n}setMutationDefaults(e,t){_(this,Us).set(ka(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Us).values()],n={};return t.forEach(i=>{su(e,i.mutationKey)&&Object.assign(n,i.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,li).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Dp(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Ac&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,li).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,pt).clear(),_(this,si).clear()}},pt=new WeakMap,si=new WeakMap,li=new WeakMap,Bs=new WeakMap,Us=new WeakMap,ui=new WeakMap,Hs=new WeakMap,Ws=new WeakMap,Km),dr,Ye,gu,Jt,ya,Vs,ci,fi,vu,Gs,Ys,ba,wa,di,Xs,Ze,Ql,Ud,Hd,Wd,Vd,Gd,Yd,Xd,bg,Jm,Pb=(Jm=class extends qs{constructor(t,n){super();Ie(this,Ze);Ie(this,dr);Ie(this,Ye);Ie(this,gu);Ie(this,Jt);Ie(this,ya);Ie(this,Vs);Ie(this,ci);Ie(this,fi);Ie(this,vu);Ie(this,Gs);Ie(this,Ys);Ie(this,ba);Ie(this,wa);Ie(this,di);Ie(this,Xs,new Set);this.options=n,ge(this,dr,t),ge(this,fi,null),ge(this,ci,Bd()),this.options.experimental_prefetchInRender||_(this,ci).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_(this,Ye).addObserver(this),Ih(_(this,Ye),this.options)?Ue(this,Ze,Ql).call(this):this.updateResult(),Ue(this,Ze,Vd).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Qd(_(this,Ye),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Qd(_(this,Ye),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,Ue(this,Ze,Gd).call(this),Ue(this,Ze,Yd).call(this),_(this,Ye).removeObserver(this)}setOptions(t){const n=this.options,i=_(this,Ye);if(this.options=_(this,dr).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof nn(this.options.enabled,_(this,Ye))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");Ue(this,Ze,Xd).call(this),_(this,Ye).setOptions(this.options),n._defaulted&&!Pc(this.options,n)&&_(this,dr).getQueryCache().notify({type:"observerOptionsUpdated",query:_(this,Ye),observer:this});const a=this.hasListeners();a&&Fh(_(this,Ye),i,this.options,n)&&Ue(this,Ze,Ql).call(this),this.updateResult(),a&&(_(this,Ye)!==i||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||Is(this.options.staleTime,_(this,Ye))!==Is(n.staleTime,_(this,Ye)))&&Ue(this,Ze,Ud).call(this);const c=Ue(this,Ze,Hd).call(this);a&&(_(this,Ye)!==i||nn(this.options.enabled,_(this,Ye))!==nn(n.enabled,_(this,Ye))||c!==_(this,di))&&Ue(this,Ze,Wd).call(this,c)}getOptimisticResult(t){const n=_(this,dr).getQueryCache().build(_(this,dr),t),i=this.createResult(n,t);return Ob(this,i)&&(ge(this,Jt,i),ge(this,Vs,this.options),ge(this,ya,_(this,Ye).state)),i}getCurrentResult(){return _(this,Jt)}trackResult(t,n){return new Proxy(t,{get:(i,a)=>(this.trackProp(a),n==null||n(a),Reflect.get(i,a))})}trackProp(t){_(this,Xs).add(t)}getCurrentQuery(){return _(this,Ye)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=_(this,dr).defaultQueryOptions(t),i=_(this,dr).getQueryCache().build(_(this,dr),n);return i.fetch().then(()=>this.createResult(i,n))}fetch(t){return Ue(this,Ze,Ql).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),_(this,Jt)))}createResult(t,n){var le;const i=_(this,Ye),a=this.options,c=_(this,Jt),p=_(this,ya),m=_(this,Vs),v=t!==i?t.state:_(this,gu),{state:C}=t;let x={...C},F=!1,I;if(n._optimisticResults){const ye=this.hasListeners(),De=!ye&&Ih(t,n),Fe=ye&&Fh(t,i,n,a);(De||Fe)&&(x={...x,...vg(C.data,t.options)}),n._optimisticResults==="isRestoring"&&(x.fetchStatus="idle")}let{error:L,errorUpdatedAt:D,status:T}=x;I=x.data;let O=!1;if(n.placeholderData!==void 0&&I===void 0&&T==="pending"){let ye;c!=null&&c.isPlaceholderData&&n.placeholderData===(m==null?void 0:m.placeholderData)?(ye=c.data,O=!0):ye=typeof n.placeholderData=="function"?n.placeholderData((le=_(this,Ys))==null?void 0:le.state.data,_(this,Ys)):n.placeholderData,ye!==void 0&&(T="success",I=zd(c==null?void 0:c.data,ye,n),F=!0)}if(n.select&&I!==void 0&&!O)if(c&&I===(p==null?void 0:p.data)&&n.select===_(this,vu))I=_(this,Gs);else try{ge(this,vu,n.select),I=n.select(I),I=zd(c==null?void 0:c.data,I,n),ge(this,Gs,I),ge(this,fi,null)}catch(ye){ge(this,fi,ye)}_(this,fi)&&(L=_(this,fi),I=_(this,Gs),D=Date.now(),T="error");const U=x.fetchStatus==="fetching",j=T==="pending",V=T==="error",$=j&&U,J=I!==void 0,re={status:T,fetchStatus:x.fetchStatus,isPending:j,isSuccess:T==="success",isError:V,isInitialLoading:$,isLoading:$,data:I,dataUpdatedAt:x.dataUpdatedAt,error:L,errorUpdatedAt:D,failureCount:x.fetchFailureCount,failureReason:x.fetchFailureReason,errorUpdateCount:x.errorUpdateCount,isFetched:x.dataUpdateCount>0||x.errorUpdateCount>0,isFetchedAfterMount:x.dataUpdateCount>v.dataUpdateCount||x.errorUpdateCount>v.errorUpdateCount,isFetching:U,isRefetching:U&&!j,isLoadingError:V&&!J,isPaused:x.fetchStatus==="paused",isPlaceholderData:F,isRefetchError:V&&J,isStale:Lp(t,n),refetch:this.refetch,promise:_(this,ci)};if(this.options.experimental_prefetchInRender){const ye=$e=>{re.status==="error"?$e.reject(re.error):re.data!==void 0&&$e.resolve(re.data)},De=()=>{const $e=ge(this,ci,re.promise=Bd());ye($e)},Fe=_(this,ci);switch(Fe.status){case"pending":t.queryHash===i.queryHash&&ye(Fe);break;case"fulfilled":(re.status==="error"||re.data!==Fe.value)&&De();break;case"rejected":(re.status!=="error"||re.error!==Fe.reason)&&De();break}}return re}updateResult(){const t=_(this,Jt),n=this.createResult(_(this,Ye),this.options);if(ge(this,ya,_(this,Ye).state),ge(this,Vs,this.options),_(this,ya).data!==void 0&&ge(this,Ys,_(this,Ye)),Pc(n,t))return;ge(this,Jt,n);const i=()=>{if(!t)return!0;const{notifyOnChangeProps:a}=this.options,c=typeof a=="function"?a():a;if(c==="all"||!c&&!_(this,Xs).size)return!0;const p=new Set(c??_(this,Xs));return this.options.throwOnError&&p.add("error"),Object.keys(_(this,Jt)).some(m=>{const h=m;return _(this,Jt)[h]!==t[h]&&p.has(h)})};Ue(this,Ze,bg).call(this,{listeners:i()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&Ue(this,Ze,Vd).call(this)}},dr=new WeakMap,Ye=new WeakMap,gu=new WeakMap,Jt=new WeakMap,ya=new WeakMap,Vs=new WeakMap,ci=new WeakMap,fi=new WeakMap,vu=new WeakMap,Gs=new WeakMap,Ys=new WeakMap,ba=new WeakMap,wa=new WeakMap,di=new WeakMap,Xs=new WeakMap,Ze=new WeakSet,Ql=function(t){Ue(this,Ze,Xd).call(this);let n=_(this,Ye).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Zt)),n},Ud=function(){Ue(this,Ze,Gd).call(this);const t=Is(this.options.staleTime,_(this,Ye));if(Sa||_(this,Jt).isStale||!$d(t))return;const i=cg(_(this,Jt).dataUpdatedAt,t)+1;ge(this,ba,setTimeout(()=>{_(this,Jt).isStale||this.updateResult()},i))},Hd=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_(this,Ye)):this.options.refetchInterval)??!1},Wd=function(t){Ue(this,Ze,Yd).call(this),ge(this,di,t),!(Sa||nn(this.options.enabled,_(this,Ye))===!1||!$d(_(this,di))||_(this,di)===0)&&ge(this,wa,setInterval(()=>{(this.options.refetchIntervalInBackground||_p.isFocused())&&Ue(this,Ze,Ql).call(this)},_(this,di)))},Vd=function(){Ue(this,Ze,Ud).call(this),Ue(this,Ze,Wd).call(this,Ue(this,Ze,Hd).call(this))},Gd=function(){_(this,ba)&&(clearTimeout(_(this,ba)),ge(this,ba,void 0))},Yd=function(){_(this,wa)&&(clearInterval(_(this,wa)),ge(this,wa,void 0))},Xd=function(){const t=_(this,dr).getQueryCache().build(_(this,dr),this.options);if(t===_(this,Ye))return;const n=_(this,Ye);ge(this,Ye,t),ge(this,gu,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},bg=function(t){bt.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(_(this,Jt))}),_(this,dr).getQueryCache().notify({query:_(this,Ye),type:"observerResultsUpdated"})})},Jm);function Ab(e,t){return nn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Ih(e,t){return Ab(e,t)||e.state.data!==void 0&&Qd(e,t,t.refetchOnMount)}function Qd(e,t,n){if(nn(t.enabled,e)!==!1){const i=typeof n=="function"?n(e):n;return i==="always"||i!==!1&&Lp(e,t)}return!1}function Fh(e,t,n,i){return(e!==t||nn(i.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Lp(e,n)}function Lp(e,t){return nn(t.enabled,e)!==!1&&e.isStaleByTime(Is(t.staleTime,e))}function Ob(e,t){return!Pc(e.getCurrentResult(),t)}var pi,hi,pr,ao,fo,Ec,qd,Zm,Ib=(Zm=class extends qs{constructor(n,i){super();Ie(this,fo);Ie(this,pi);Ie(this,hi);Ie(this,pr);Ie(this,ao);ge(this,pi,n),this.setOptions(i),this.bindMethods(),Ue(this,fo,Ec).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(n){var a;const i=this.options;this.options=_(this,pi).defaultMutationOptions(n),Pc(this.options,i)||_(this,pi).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_(this,pr),observer:this}),i!=null&&i.mutationKey&&this.options.mutationKey&&ka(i.mutationKey)!==ka(this.options.mutationKey)?this.reset():((a=_(this,pr))==null?void 0:a.state.status)==="pending"&&_(this,pr).setOptions(this.options)}onUnsubscribe(){var n;this.hasListeners()||(n=_(this,pr))==null||n.removeObserver(this)}onMutationUpdate(n){Ue(this,fo,Ec).call(this),Ue(this,fo,qd).call(this,n)}getCurrentResult(){return _(this,hi)}reset(){var n;(n=_(this,pr))==null||n.removeObserver(this),ge(this,pr,void 0),Ue(this,fo,Ec).call(this),Ue(this,fo,qd).call(this)}mutate(n,i){var a;return ge(this,ao,i),(a=_(this,pr))==null||a.removeObserver(this),ge(this,pr,_(this,pi).getMutationCache().build(_(this,pi),this.options)),_(this,pr).addObserver(this),_(this,pr).execute(n)}},pi=new WeakMap,hi=new WeakMap,pr=new WeakMap,ao=new WeakMap,fo=new WeakSet,Ec=function(){var i;const n=((i=_(this,pr))==null?void 0:i.state)??yg();ge(this,hi,{...n,isPending:n.status==="pending",isSuccess:n.status==="success",isError:n.status==="error",isIdle:n.status==="idle",mutate:this.mutate,reset:this.reset})},qd=function(n){bt.batch(()=>{var i,a,c,p,m,h,v,C;if(_(this,ao)&&this.hasListeners()){const x=_(this,hi).variables,F=_(this,hi).context;(n==null?void 0:n.type)==="success"?((a=(i=_(this,ao)).onSuccess)==null||a.call(i,n.data,x,F),(p=(c=_(this,ao)).onSettled)==null||p.call(c,n.data,null,x,F)):(n==null?void 0:n.type)==="error"&&((h=(m=_(this,ao)).onError)==null||h.call(m,n.error,x,F),(C=(v=_(this,ao)).onSettled)==null||C.call(v,void 0,n.error,x,F))}this.listeners.forEach(x=>{x(_(this,hi))})})},Zm),wg=pe.createContext(void 0),xg=e=>{const t=pe.useContext(wg);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Fb=({client:e,children:t})=>(pe.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),q.jsx(wg.Provider,{value:e,children:t})),Sg=pe.createContext(!1),Mb=()=>pe.useContext(Sg);Sg.Provider;function Db(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var _b=pe.createContext(Db()),Lb=()=>pe.useContext(_b),$b=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},jb=e=>{pe.useEffect(()=>{e.clearReset()},[e])},Nb=({result:e,errorResetBoundary:t,throwOnError:n,query:i,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&i&&(a&&e.data===void 0||dg(n,[e.error,i])),zb=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Bb=(e,t)=>e.isLoading&&e.isFetching&&!t,Ub=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Mh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function Hb(e,t,n){var x,F,I,L,D;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const i=xg(n),a=Mb(),c=Lb(),p=i.defaultQueryOptions(e);(F=(x=i.getDefaultOptions().queries)==null?void 0:x._experimental_beforeQuery)==null||F.call(x,p),process.env.NODE_ENV!=="production"&&(p.queryFn||console.error(`[${p.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`)),p._optimisticResults=a?"isRestoring":"optimistic",zb(p),$b(p,c),jb(c);const m=!i.getQueryCache().get(p.queryHash),[h]=pe.useState(()=>new t(i,p)),v=h.getOptimisticResult(p),C=!a&&e.subscribed!==!1;if(pe.useSyncExternalStore(pe.useCallback(T=>{const O=C?h.subscribe(bt.batchCalls(T)):Zt;return h.updateResult(),O},[h,C]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),pe.useEffect(()=>{h.setOptions(p)},[p,h]),Ub(p,v))throw Mh(p,h,c);if(Nb({result:v,errorResetBoundary:c,throwOnError:p.throwOnError,query:i.getQueryCache().get(p.queryHash),suspense:p.suspense}))throw v.error;if((L=(I=i.getDefaultOptions().queries)==null?void 0:I._experimental_afterQuery)==null||L.call(I,p,v),p.experimental_prefetchInRender&&!Sa&&Bb(v,a)){const T=m?Mh(p,h,c):(D=i.getQueryCache().get(p.queryHash))==null?void 0:D.promise;T==null||T.catch(Zt).finally(()=>{h.updateResult()})}return p.notifyOnChangeProps?v:h.trackResult(v)}function $p(e,t){return Hb(e,Pb,t)}function kg(e,t){const n=xg(t),[i]=pe.useState(()=>new Ib(n,e));pe.useEffect(()=>{i.setOptions(e)},[i,e]);const a=pe.useSyncExternalStore(pe.useCallback(p=>i.subscribe(bt.batchCalls(p)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=pe.useCallback((p,m)=>{i.mutate(p,m).catch(Zt)},[i]);if(a.error&&dg(i.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:c,mutateAsync:a.mutate}}const jp=A.createContext(null);jp.Provider;const Ks=()=>A.useContext(jp),Eg=({children:e})=>{const[t]=A.useState(new Rb);return console.log("Confidence Playbook Context Initialized"),q.jsx(jp.Provider,{value:{queryClient:t},children:q.jsx(Fb,{client:t,children:e})})},ct={OPEN:"Open",IN_PROGRESS:"In progress",IN_REVIEW:"In review",COMPLETED:"Completed"},Cg="https://marketplace.confidence.com/api",yu=Cg+"/confidence",Dh=Cg+"/dropbox/prod",Wb=async e=>{const t={taskInstanceId:e},n=new Headers;return n.append("Content-Type","application/json"),await(await fetch(`${yu}/playbook-task-complete`,{method:"POST",headers:n,body:JSON.stringify(t)})).json()},Vb=()=>{const{queryClient:e}=Ks(),t=kg({mutationFn:async i=>Wb(i)},e);return{completeTask:async i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task completed successfully")},onError:a=>{console.error("Error completing task:",a)}}),...t}},Gb=async e=>{const t={taskInstanceId:e},n=new Headers;n.append("Content-Type","application/json");const a=await(await fetch(`${yu}/playbook-task-start`,{method:"POST",headers:n,body:JSON.stringify(t)})).json();return console.log({data:a}),a},Yb=()=>{const{queryClient:e}=Ks(),t=kg({mutationFn:async i=>{const a=await Gb(i);return console.log(a),a}},e);return{startTask:i=>t.mutateAsync(i,{onSuccess:()=>{console.log("Task started successfully")},onError:a=>{console.error("Error starting task:",a)}}),...t}},Tg=(e,t)=>{const{queryClient:n}=Ks(),i=$p({initialData:{},queryFn:()=>n.getQueryData(["PLAYBOOK_EXPANDED_TASKS",+e]),queryKey:["PLAYBOOK_EXPANDED_TASKS",+e]}),a=p=>{var m;return((m=i.data)==null?void 0:m[p.toString()])??!1};return{isTaskExpanded:a,toggleTaskExpanded:(p,m)=>{var h;n.setQueryData(["PLAYBOOK_EXPANDED_TASKS",+e],()=>({[p]:m!==void 0?m:!a(p)})),(h=t==null?void 0:t.onTaskExpanded)==null||h.call(t,p,a(p))}}},Xb=(e,t)=>{const{queryClient:n}=Ks(),{completeTask:i}=Vb(),{startTask:a}=Yb(),{toggleTaskExpanded:c}=Tg(e);return{completeTask:async(h,v)=>{const{status:C}=await i(h.toString());C&&(c(h,!1),n.setQueryData(["playbook",+e],x=>{if(!x)return x;const F=x.tasks.map(I=>I.sequenceOrder===v+1&&t.quickComplete?{...I,workflowStatus:ct.IN_PROGRESS}:I.taskInstanceId===h?{...I,workflowStatus:C}:I);return{...x,tasks:F}}))},startTask:async h=>{const{status:v}=await a(h.toString());v&&(c(h,!0),n.setQueryData(["playbook",+e],C=>{if(!C)return C;const x=C.tasks.map(F=>F.taskInstanceId===h?{...F,workflowStatus:v}:F);return{...C,tasks:x}}))}}},Qb=e=>{var a;const{queryClient:t}=Ks(),n=$p({queryFn:async()=>{const c=new Headers,p=await fetch(`${yu}/playbook-details`,{method:"POST",cache:"no-store",headers:c,body:JSON.stringify({playbookInstanceId:+e,start:0,limit:50})});if(!p.ok)throw new Error("Network response was not ok");const m=await p.json();if(m.error)throw new Error(m.error);return m},queryKey:["playbook",+e]},t),i=Xb(e,{quickComplete:(a=n.data)==null?void 0:a.quickComplete});return{playbook:n.data,isLoading:n.isLoading,error:n.error,actions:i}},eu={START:"START",PAUSE:"PAUSE",COMPLETE:"COMPLETE"},qb={START:"Start",PAUSE:"Pause",RESUME:"Resume",COMPLETE:"Complete"},Kb=e=>{const{taskStatus:t,canStart:n}=e;return{buttons:A.useMemo(()=>t===ct.OPEN&&n?[eu.START]:t===ct.IN_PROGRESS?[eu.PAUSE,eu.COMPLETE]:t===ct.COMPLETED?[]:[],[e.taskStatus,e.canStart])}},Rg=async e=>{const t=new Headers;t.append("Content-Type","application/json");const i=await(await fetch(`${yu}/playbook-initiate`,{method:"POST",headers:t,body:JSON.stringify(e)})).json();return console.log({data:i}),i},Pg='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{*{--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}@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-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}.focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!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-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!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;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}',Np="-",Jb=e=>{const t=e0(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:p=>{const m=p.split(Np);return m[0]===""&&m.length!==1&&m.shift(),Ag(m,t)||Zb(p)},getConflictingClassGroupIds:(p,m)=>{const h=n[p]||[];return m&&i[p]?[...h,...i[p]]:h}}},Ag=(e,t)=>{var p;if(e.length===0)return t.classGroupId;const n=e[0],i=t.nextPart.get(n),a=i?Ag(e.slice(1),i):void 0;if(a)return a;if(t.validators.length===0)return;const c=e.join(Np);return(p=t.validators.find(({validator:m})=>m(c)))==null?void 0:p.classGroupId},_h=/^\[(.+)\]$/,Zb=e=>{if(_h.test(e)){const t=_h.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},e0=e=>{const{theme:t,classGroups:n}=e,i={nextPart:new Map,validators:[]};for(const a in n)Kd(n[a],i,a,t);return i},Kd=(e,t,n,i)=>{e.forEach(a=>{if(typeof a=="string"){const c=a===""?t:Lh(t,a);c.classGroupId=n;return}if(typeof a=="function"){if(t0(a)){Kd(a(i),t,n,i);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([c,p])=>{Kd(p,Lh(t,c),n,i)})})},Lh=(e,t)=>{let n=e;return t.split(Np).forEach(i=>{n.nextPart.has(i)||n.nextPart.set(i,{nextPart:new Map,validators:[]}),n=n.nextPart.get(i)}),n},t0=e=>e.isThemeGetter,r0=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,i=new Map;const a=(c,p)=>{n.set(c,p),t++,t>e&&(t=0,i=n,n=new Map)};return{get(c){let p=n.get(c);if(p!==void 0)return p;if((p=i.get(c))!==void 0)return a(c,p),p},set(c,p){n.has(c)?n.set(c,p):a(c,p)}}},Jd="!",Zd=":",n0=Zd.length,o0=e=>{const{prefix:t,experimentalParseClassName:n}=e;let i=a=>{const c=[];let p=0,m=0,h=0,v;for(let L=0;L<a.length;L++){let D=a[L];if(p===0&&m===0){if(D===Zd){c.push(a.slice(h,L)),h=L+n0;continue}if(D==="/"){v=L;continue}}D==="["?p++:D==="]"?p--:D==="("?m++:D===")"&&m--}const C=c.length===0?a:a.substring(h),x=i0(C),F=x!==C,I=v&&v>h?v-h:void 0;return{modifiers:c,hasImportantModifier:F,baseClassName:x,maybePostfixModifierPosition:I}};if(t){const a=t+Zd,c=i;i=p=>p.startsWith(a)?c(p.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:p,maybePostfixModifierPosition:void 0}}if(n){const a=i;i=c=>n({className:c,parseClassName:a})}return i},i0=e=>e.endsWith(Jd)?e.substring(0,e.length-1):e.startsWith(Jd)?e.substring(1):e,a0=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(i=>[i,!0]));return i=>{if(i.length<=1)return i;const a=[];let c=[];return i.forEach(p=>{p[0]==="["||t[p]?(a.push(...c.sort(),p),c=[]):c.push(p)}),a.push(...c.sort()),a}},s0=e=>({cache:r0(e.cacheSize),parseClassName:o0(e),sortModifiers:a0(e),...Jb(e)}),l0=/\s+/,u0=(e,t)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:a,sortModifiers:c}=t,p=[],m=e.trim().split(l0);let h="";for(let v=m.length-1;v>=0;v-=1){const C=m[v],{isExternal:x,modifiers:F,hasImportantModifier:I,baseClassName:L,maybePostfixModifierPosition:D}=n(C);if(x){h=C+(h.length>0?" "+h:h);continue}let T=!!D,O=i(T?L.substring(0,D):L);if(!O){if(!T){h=C+(h.length>0?" "+h:h);continue}if(O=i(L),!O){h=C+(h.length>0?" "+h:h);continue}T=!1}const U=c(F).join(":"),j=I?U+Jd:U,V=j+O;if(p.includes(V))continue;p.push(V);const $=a(O,T);for(let J=0;J<$.length;++J){const ae=$[J];p.push(j+ae)}h=C+(h.length>0?" "+h:h)}return h};function c0(){let e=0,t,n,i="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Og(t))&&(i&&(i+=" "),i+=n);return i}const Og=e=>{if(typeof e=="string")return e;let t,n="";for(let i=0;i<e.length;i++)e[i]&&(t=Og(e[i]))&&(n&&(n+=" "),n+=t);return n};function f0(e,...t){let n,i,a,c=p;function p(h){const v=t.reduce((C,x)=>x(C),e());return n=s0(v),i=n.cache.get,a=n.cache.set,c=m,m(h)}function m(h){const v=i(h);if(v)return v;const C=u0(h,n);return a(h,C),C}return function(){return c(c0.apply(null,arguments))}}const yt=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ig=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Fg=/^\((?:(\w[\w-]*):)?(.+)\)$/i,d0=/^\d+\/\d+$/,p0=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h0=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,m0=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,g0=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,v0=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Rs=e=>d0.test(e),He=e=>!!e&&!Number.isNaN(Number(e)),ti=e=>!!e&&Number.isInteger(Number(e)),gd=e=>e.endsWith("%")&&He(e.slice(0,-1)),no=e=>p0.test(e),y0=()=>!0,b0=e=>h0.test(e)&&!m0.test(e),Mg=()=>!1,w0=e=>g0.test(e),x0=e=>v0.test(e),S0=e=>!be(e)&&!we(e),k0=e=>Js(e,Lg,Mg),be=e=>Ig.test(e),sa=e=>Js(e,$g,b0),vd=e=>Js(e,P0,He),$h=e=>Js(e,Dg,Mg),E0=e=>Js(e,_g,x0),vc=e=>Js(e,jg,w0),we=e=>Fg.test(e),Yl=e=>Zs(e,$g),C0=e=>Zs(e,A0),jh=e=>Zs(e,Dg),T0=e=>Zs(e,Lg),R0=e=>Zs(e,_g),yc=e=>Zs(e,jg,!0),Js=(e,t,n)=>{const i=Ig.exec(e);return i?i[1]?t(i[1]):n(i[2]):!1},Zs=(e,t,n=!1)=>{const i=Fg.exec(e);return i?i[1]?t(i[1]):n:!1},Dg=e=>e==="position"||e==="percentage",_g=e=>e==="image"||e==="url",Lg=e=>e==="length"||e==="size"||e==="bg-size",$g=e=>e==="length",P0=e=>e==="number",A0=e=>e==="family-name",jg=e=>e==="shadow",O0=()=>{const e=yt("color"),t=yt("font"),n=yt("text"),i=yt("font-weight"),a=yt("tracking"),c=yt("leading"),p=yt("breakpoint"),m=yt("container"),h=yt("spacing"),v=yt("radius"),C=yt("shadow"),x=yt("inset-shadow"),F=yt("text-shadow"),I=yt("drop-shadow"),L=yt("blur"),D=yt("perspective"),T=yt("aspect"),O=yt("ease"),U=yt("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...V(),we,be],J=()=>["auto","hidden","clip","visible","scroll"],ae=()=>["auto","contain","none"],re=()=>[we,be,h],le=()=>[Rs,"full","auto",...re()],ye=()=>[ti,"none","subgrid",we,be],De=()=>["auto",{span:["full",ti,we,be]},ti,we,be],Fe=()=>[ti,"auto",we,be],$e=()=>["auto","min","max","fr",we,be],ze=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],xe=()=>["start","end","center","stretch","center-safe","end-safe"],Re=()=>["auto",...re()],Le=()=>[Rs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...re()],Z=()=>[e,we,be],ve=()=>[...V(),jh,$h,{position:[we,be]}],Y=()=>["no-repeat",{repeat:["","x","y","space","round"]}],K=()=>["auto","cover","contain",T0,k0,{size:[we,be]}],fe=()=>[gd,Yl,sa],te=()=>["","none","full",v,we,be],he=()=>["",He,Yl,sa],me=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[He,gd,jh,$h],Ee=()=>["","none",L,we,be],Se=()=>["none",He,we,be],Pe=()=>["none",He,we,be],Be=()=>[He,we,be],se=()=>[Rs,"full",...re()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[no],breakpoint:[no],color:[y0],container:[no],"drop-shadow":[no],ease:["in","out","in-out"],font:[S0],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[no],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[no],shadow:[no],spacing:["px",He],text:[no],"text-shadow":[no],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Rs,be,we,T]}],container:["container"],columns:[{columns:[He,be,we,m]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:$()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:ae()}],"overscroll-x":[{"overscroll-x":ae()}],"overscroll-y":[{"overscroll-y":ae()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:le()}],"inset-x":[{"inset-x":le()}],"inset-y":[{"inset-y":le()}],start:[{start:le()}],end:[{end:le()}],top:[{top:le()}],right:[{right:le()}],bottom:[{bottom:le()}],left:[{left:le()}],visibility:["visible","invisible","collapse"],z:[{z:[ti,"auto",we,be]}],basis:[{basis:[Rs,"full","auto",m,...re()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,Rs,"auto","initial","none",be]}],grow:[{grow:["",He,we,be]}],shrink:[{shrink:["",He,we,be]}],order:[{order:[ti,"first","last","none",we,be]}],"grid-cols":[{"grid-cols":ye()}],"col-start-end":[{col:De()}],"col-start":[{"col-start":Fe()}],"col-end":[{"col-end":Fe()}],"grid-rows":[{"grid-rows":ye()}],"row-start-end":[{row:De()}],"row-start":[{"row-start":Fe()}],"row-end":[{"row-end":Fe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$e()}],"auto-rows":[{"auto-rows":$e()}],gap:[{gap:re()}],"gap-x":[{"gap-x":re()}],"gap-y":[{"gap-y":re()}],"justify-content":[{justify:[...ze(),"normal"]}],"justify-items":[{"justify-items":[...xe(),"normal"]}],"justify-self":[{"justify-self":["auto",...xe()]}],"align-content":[{content:["normal",...ze()]}],"align-items":[{items:[...xe(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...xe(),{baseline:["","last"]}]}],"place-content":[{"place-content":ze()}],"place-items":[{"place-items":[...xe(),"baseline"]}],"place-self":[{"place-self":["auto",...xe()]}],p:[{p:re()}],px:[{px:re()}],py:[{py:re()}],ps:[{ps:re()}],pe:[{pe:re()}],pt:[{pt:re()}],pr:[{pr:re()}],pb:[{pb:re()}],pl:[{pl:re()}],m:[{m:Re()}],mx:[{mx:Re()}],my:[{my:Re()}],ms:[{ms:Re()}],me:[{me:Re()}],mt:[{mt:Re()}],mr:[{mr:Re()}],mb:[{mb:Re()}],ml:[{ml:Re()}],"space-x":[{"space-x":re()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":re()}],"space-y-reverse":["space-y-reverse"],size:[{size:Le()}],w:[{w:[m,"screen",...Le()]}],"min-w":[{"min-w":[m,"screen","none",...Le()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[p]},...Le()]}],h:[{h:["screen",...Le()]}],"min-h":[{"min-h":["screen","none",...Le()]}],"max-h":[{"max-h":["screen",...Le()]}],"font-size":[{text:["base",n,Yl,sa]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,we,vd]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",gd,be]}],"font-family":[{font:[C0,be,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,we,be]}],"line-clamp":[{"line-clamp":[He,"none",we,vd]}],leading:[{leading:[c,...re()]}],"list-image":[{"list-image":["none",we,be]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",we,be]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:Z()}],"text-color":[{text:Z()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",we,sa]}],"text-decoration-color":[{decoration:Z()}],"underline-offset":[{"underline-offset":[He,"auto",we,be]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:re()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",we,be]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",we,be]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:ve()}],"bg-repeat":[{bg:Y()}],"bg-size":[{bg:K()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ti,we,be],radial:["",we,be],conic:[ti,we,be]},R0,E0]}],"bg-color":[{bg:Z()}],"gradient-from-pos":[{from:fe()}],"gradient-via-pos":[{via:fe()}],"gradient-to-pos":[{to:fe()}],"gradient-from":[{from:Z()}],"gradient-via":[{via:Z()}],"gradient-to":[{to:Z()}],rounded:[{rounded:te()}],"rounded-s":[{"rounded-s":te()}],"rounded-e":[{"rounded-e":te()}],"rounded-t":[{"rounded-t":te()}],"rounded-r":[{"rounded-r":te()}],"rounded-b":[{"rounded-b":te()}],"rounded-l":[{"rounded-l":te()}],"rounded-ss":[{"rounded-ss":te()}],"rounded-se":[{"rounded-se":te()}],"rounded-ee":[{"rounded-ee":te()}],"rounded-es":[{"rounded-es":te()}],"rounded-tl":[{"rounded-tl":te()}],"rounded-tr":[{"rounded-tr":te()}],"rounded-br":[{"rounded-br":te()}],"rounded-bl":[{"rounded-bl":te()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:Z()}],"border-color-x":[{"border-x":Z()}],"border-color-y":[{"border-y":Z()}],"border-color-s":[{"border-s":Z()}],"border-color-e":[{"border-e":Z()}],"border-color-t":[{"border-t":Z()}],"border-color-r":[{"border-r":Z()}],"border-color-b":[{"border-b":Z()}],"border-color-l":[{"border-l":Z()}],"divide-color":[{divide:Z()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,we,be]}],"outline-w":[{outline:["",He,Yl,sa]}],"outline-color":[{outline:Z()}],shadow:[{shadow:["","none",C,yc,vc]}],"shadow-color":[{shadow:Z()}],"inset-shadow":[{"inset-shadow":["none",x,yc,vc]}],"inset-shadow-color":[{"inset-shadow":Z()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:Z()}],"ring-offset-w":[{"ring-offset":[He,sa]}],"ring-offset-color":[{"ring-offset":Z()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":Z()}],"text-shadow":[{"text-shadow":["none",F,yc,vc]}],"text-shadow-color":[{"text-shadow":Z()}],opacity:[{opacity:[He,we,be]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"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":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"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":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"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":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"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":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"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":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"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":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":Z()}],"mask-image-y-to-color":[{"mask-y-to":Z()}],"mask-image-radial":[{"mask-radial":[we,be]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":Z()}],"mask-image-radial-to-color":[{"mask-radial-to":Z()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":V()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":Z()}],"mask-image-conic-to-color":[{"mask-conic-to":Z()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:ve()}],"mask-repeat":[{mask:Y()}],"mask-size":[{mask:K()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",we,be]}],filter:[{filter:["","none",we,be]}],blur:[{blur:Ee()}],brightness:[{brightness:[He,we,be]}],contrast:[{contrast:[He,we,be]}],"drop-shadow":[{"drop-shadow":["","none",I,yc,vc]}],"drop-shadow-color":[{"drop-shadow":Z()}],grayscale:[{grayscale:["",He,we,be]}],"hue-rotate":[{"hue-rotate":[He,we,be]}],invert:[{invert:["",He,we,be]}],saturate:[{saturate:[He,we,be]}],sepia:[{sepia:["",He,we,be]}],"backdrop-filter":[{"backdrop-filter":["","none",we,be]}],"backdrop-blur":[{"backdrop-blur":Ee()}],"backdrop-brightness":[{"backdrop-brightness":[He,we,be]}],"backdrop-contrast":[{"backdrop-contrast":[He,we,be]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,we,be]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,we,be]}],"backdrop-invert":[{"backdrop-invert":["",He,we,be]}],"backdrop-opacity":[{"backdrop-opacity":[He,we,be]}],"backdrop-saturate":[{"backdrop-saturate":[He,we,be]}],"backdrop-sepia":[{"backdrop-sepia":["",He,we,be]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":re()}],"border-spacing-x":[{"border-spacing-x":re()}],"border-spacing-y":[{"border-spacing-y":re()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",we,be]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",we,be]}],ease:[{ease:["linear","initial",O,we,be]}],delay:[{delay:[He,we,be]}],animate:[{animate:["none",U,we,be]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[D,we,be]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:Se()}],"rotate-x":[{"rotate-x":Se()}],"rotate-y":[{"rotate-y":Se()}],"rotate-z":[{"rotate-z":Se()}],scale:[{scale:Pe()}],"scale-x":[{"scale-x":Pe()}],"scale-y":[{"scale-y":Pe()}],"scale-z":[{"scale-z":Pe()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[we,be,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:Z()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:Z()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",we,be]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":re()}],"scroll-mx":[{"scroll-mx":re()}],"scroll-my":[{"scroll-my":re()}],"scroll-ms":[{"scroll-ms":re()}],"scroll-me":[{"scroll-me":re()}],"scroll-mt":[{"scroll-mt":re()}],"scroll-mr":[{"scroll-mr":re()}],"scroll-mb":[{"scroll-mb":re()}],"scroll-ml":[{"scroll-ml":re()}],"scroll-p":[{"scroll-p":re()}],"scroll-px":[{"scroll-px":re()}],"scroll-py":[{"scroll-py":re()}],"scroll-ps":[{"scroll-ps":re()}],"scroll-pe":[{"scroll-pe":re()}],"scroll-pt":[{"scroll-pt":re()}],"scroll-pr":[{"scroll-pr":re()}],"scroll-pb":[{"scroll-pb":re()}],"scroll-pl":[{"scroll-pl":re()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",we,be]}],fill:[{fill:["none",...Z()]}],"stroke-w":[{stroke:[He,Yl,sa,vd]}],stroke:[{stroke:["none",...Z()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Fs=f0(O0);function Ng(e){var t,n,i="";if(typeof e=="string"||typeof e=="number")i+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Ng(e[t]))&&(i&&(i+=" "),i+=n)}else for(n in e)e[n]&&(i&&(i+=" "),i+=n);return i}function lu(){for(var e,t,n=0,i="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Ng(e))&&(i&&(i+=" "),i+=t);return i}function wt(...e){return Fs(lu(e))}const zg=typeof document<"u"?A.useLayoutEffect:()=>{};function I0(e){const t=A.useRef(null);return zg(()=>{t.current=e},[e]),A.useCallback((...n)=>{const i=t.current;return i==null?void 0:i(...n)},[])}const ki=e=>{var t;return(t=e==null?void 0:e.ownerDocument)!==null&&t!==void 0?t:document},ca=e=>e&&"window"in e&&e.window===e?e:ki(e).defaultView||window;function F0(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"}function M0(e){return F0(e)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}let D0=!1;function zp(){return D0}function Bg(e,t){if(!zp())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n.tagName==="SLOT"&&n.assignedSlot?n=n.assignedSlot.parentNode:M0(n)?n=n.host:n=n.parentNode}return!1}const ep=(e=document)=>{var t;if(!zp())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(!((t=n.shadowRoot)===null||t===void 0)&&t.activeElement);)n=n.shadowRoot.activeElement;return n};function Ug(e){return zp()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}function Uc(e){var t;return typeof window>"u"||window.navigator==null?!1:((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.brands.some(n=>e.test(n.brand)))||e.test(window.navigator.userAgent)}function Bp(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function vo(e){if(process.env.NODE_ENV==="test")return e;let t=null;return()=>(t==null&&(t=e()),t)}const Up=vo(function(){return Bp(/^Mac/i)}),_0=vo(function(){return Bp(/^iPhone/i)}),L0=vo(function(){return Bp(/^iPad/i)||Up()&&navigator.maxTouchPoints>1}),$0=vo(function(){return _0()||L0()});vo(function(){return Up()||$0()});vo(function(){return Uc(/AppleWebKit/i)&&!j0()});const j0=vo(function(){return Uc(/Chrome/i)}),N0=vo(function(){return Uc(/Android/i)});vo(function(){return Uc(/Firefox/i)});function Hg(){let e=A.useRef(new Map),t=A.useCallback((a,c,p,m)=>{let h=m!=null&&m.once?(...v)=>{e.current.delete(p),p(...v)}:p;e.current.set(p,{type:c,eventTarget:a,fn:h,options:m}),a.addEventListener(c,h,m)},[]),n=A.useCallback((a,c,p,m)=>{var h;let v=((h=e.current.get(p))===null||h===void 0?void 0:h.fn)||p;a.removeEventListener(c,v,m),e.current.delete(p)},[]),i=A.useCallback(()=>{e.current.forEach((a,c)=>{n(a.eventTarget,a.type,c,a.options)})},[n]);return A.useEffect(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:i}}function z0(e){return e.mozInputSource===0&&e.isTrusted?!0:N0()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}function Wg(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function B0(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Vg(e){let t=A.useRef({isFocused:!1,observer:null});zg(()=>{const i=t.current;return()=>{i.observer&&(i.observer.disconnect(),i.observer=null)}},[]);let n=I0(i=>{e==null||e(i)});return A.useCallback(i=>{if(i.target instanceof HTMLButtonElement||i.target instanceof HTMLInputElement||i.target instanceof HTMLTextAreaElement||i.target instanceof HTMLSelectElement){t.current.isFocused=!0;let a=i.target,c=p=>{if(t.current.isFocused=!1,a.disabled){let m=Wg(p);n(m)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};a.addEventListener("focusout",c,{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&a.disabled){var p;(p=t.current.observer)===null||p===void 0||p.disconnect();let m=a===document.activeElement?null:document.activeElement;a.dispatchEvent(new FocusEvent("blur",{relatedTarget:m})),a.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:m}))}}),t.current.observer.observe(a,{attributes:!0,attributeFilter:["disabled"]})}},[n])}let U0=!1,bu=null,tp=new Set,tu=new Map,Ea=!1,rp=!1;const H0={Tab:!0,Escape:!0};function Hp(e,t){for(let n of tp)n(e,t)}function W0(e){return!(e.metaKey||!Up()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}function Ic(e){Ea=!0,W0(e)&&(bu="keyboard",Hp("keyboard",e))}function Nr(e){bu="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(Ea=!0,Hp("pointer",e))}function Gg(e){z0(e)&&(Ea=!0,bu="virtual")}function Yg(e){e.target===window||e.target===document||U0||!e.isTrusted||(!Ea&&!rp&&(bu="virtual",Hp("virtual",e)),Ea=!1,rp=!1)}function Xg(){Ea=!1,rp=!0}function np(e){if(typeof window>"u"||typeof document>"u"||tu.get(ca(e)))return;const t=ca(e),n=ki(e);let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){Ea=!0,i.apply(this,arguments)},n.addEventListener("keydown",Ic,!0),n.addEventListener("keyup",Ic,!0),n.addEventListener("click",Gg,!0),t.addEventListener("focus",Yg,!0),t.addEventListener("blur",Xg,!1),typeof PointerEvent<"u"?(n.addEventListener("pointerdown",Nr,!0),n.addEventListener("pointermove",Nr,!0),n.addEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(n.addEventListener("mousedown",Nr,!0),n.addEventListener("mousemove",Nr,!0),n.addEventListener("mouseup",Nr,!0)),t.addEventListener("beforeunload",()=>{Qg(e)},{once:!0}),tu.set(t,{focus:i})}const Qg=(e,t)=>{const n=ca(e),i=ki(e);t&&i.removeEventListener("DOMContentLoaded",t),tu.has(n)&&(n.HTMLElement.prototype.focus=tu.get(n).focus,i.removeEventListener("keydown",Ic,!0),i.removeEventListener("keyup",Ic,!0),i.removeEventListener("click",Gg,!0),n.removeEventListener("focus",Yg,!0),n.removeEventListener("blur",Xg,!1),typeof PointerEvent<"u"?(i.removeEventListener("pointerdown",Nr,!0),i.removeEventListener("pointermove",Nr,!0),i.removeEventListener("pointerup",Nr,!0)):process.env.NODE_ENV==="test"&&(i.removeEventListener("mousedown",Nr,!0),i.removeEventListener("mousemove",Nr,!0),i.removeEventListener("mouseup",Nr,!0)),tu.delete(n))};function V0(e){const t=ki(e);let n;return t.readyState!=="loading"?np(e):(n=()=>{np(e)},t.addEventListener("DOMContentLoaded",n)),()=>Qg(e,n)}typeof document<"u"&&V0();function qg(){return bu!=="pointer"}const G0=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function Y0(e,t,n){let i=ki(n==null?void 0:n.target);const a=typeof window<"u"?ca(n==null?void 0:n.target).HTMLInputElement:HTMLInputElement,c=typeof window<"u"?ca(n==null?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,p=typeof window<"u"?ca(n==null?void 0:n.target).HTMLElement:HTMLElement,m=typeof window<"u"?ca(n==null?void 0:n.target).KeyboardEvent:KeyboardEvent;return e=e||i.activeElement instanceof a&&!G0.has(i.activeElement.type)||i.activeElement instanceof c||i.activeElement instanceof p&&i.activeElement.isContentEditable,!(e&&t==="keyboard"&&n instanceof m&&!H0[n.key])}function X0(e,t,n){np(),A.useEffect(()=>{let i=(a,c)=>{Y0(!!(n!=null&&n.isTextInput),a,c)&&e(qg())};return tp.add(i),()=>{tp.delete(i)}},t)}function Q0(e){let{isDisabled:t,onFocus:n,onBlur:i,onFocusChange:a}=e;const c=A.useCallback(h=>{if(h.target===h.currentTarget)return i&&i(h),a&&a(!1),!0},[i,a]),p=Vg(c),m=A.useCallback(h=>{const v=ki(h.target),C=v?ep(v):ep();h.target===h.currentTarget&&C===Ug(h.nativeEvent)&&(n&&n(h),a&&a(!0),p(h))},[a,n,p]);return{focusProps:{onFocus:!t&&(n||a||i)?m:void 0,onBlur:!t&&(i||a)?c:void 0}}}function q0(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:i,onFocusWithinChange:a}=e,c=A.useRef({isFocusWithin:!1}),{addGlobalListener:p,removeAllGlobalListeners:m}=Hg(),h=A.useCallback(x=>{x.currentTarget.contains(x.target)&&c.current.isFocusWithin&&!x.currentTarget.contains(x.relatedTarget)&&(c.current.isFocusWithin=!1,m(),n&&n(x),a&&a(!1))},[n,a,c,m]),v=Vg(h),C=A.useCallback(x=>{if(!x.currentTarget.contains(x.target))return;const F=ki(x.target),I=ep(F);if(!c.current.isFocusWithin&&I===Ug(x.nativeEvent)){i&&i(x),a&&a(!0),c.current.isFocusWithin=!0,v(x);let L=x.currentTarget;p(F,"focus",D=>{if(c.current.isFocusWithin&&!Bg(L,D.target)){let T=new F.defaultView.FocusEvent("blur",{relatedTarget:D.target});B0(T,L);let O=Wg(T);h(O)}},{capture:!0})}},[i,a,v,p,h]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:C,onBlur:h}}}let Fc=!1,yd=0;function op(){Fc=!0,setTimeout(()=>{Fc=!1},50)}function Nh(e){e.pointerType==="touch"&&op()}function K0(){if(!(typeof document>"u"))return typeof PointerEvent<"u"?document.addEventListener("pointerup",Nh):process.env.NODE_ENV==="test"&&document.addEventListener("touchend",op),yd++,()=>{yd--,!(yd>0)&&(typeof PointerEvent<"u"?document.removeEventListener("pointerup",Nh):process.env.NODE_ENV==="test"&&document.removeEventListener("touchend",op))}}function J0(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:a}=e,[c,p]=A.useState(!1),m=A.useRef({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;A.useEffect(K0,[]);let{addGlobalListener:h,removeAllGlobalListeners:v}=Hg(),{hoverProps:C,triggerHoverEnd:x}=A.useMemo(()=>{let F=(D,T)=>{if(m.pointerType=T,a||T==="touch"||m.isHovered||!D.currentTarget.contains(D.target))return;m.isHovered=!0;let O=D.currentTarget;m.target=O,h(ki(D.target),"pointerover",U=>{m.isHovered&&m.target&&!Bg(m.target,U.target)&&I(U,U.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:O,pointerType:T}),n&&n(!0),p(!0)},I=(D,T)=>{let O=m.target;m.pointerType="",m.target=null,!(T==="touch"||!m.isHovered||!O)&&(m.isHovered=!1,v(),i&&i({type:"hoverend",target:O,pointerType:T}),n&&n(!1),p(!1))},L={};return typeof PointerEvent<"u"?(L.onPointerEnter=D=>{Fc&&D.pointerType==="mouse"||F(D,D.pointerType)},L.onPointerLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,D.pointerType)}):process.env.NODE_ENV==="test"&&(L.onTouchStart=()=>{m.ignoreEmulatedMouseEvents=!0},L.onMouseEnter=D=>{!m.ignoreEmulatedMouseEvents&&!Fc&&F(D,"mouse"),m.ignoreEmulatedMouseEvents=!1},L.onMouseLeave=D=>{!a&&D.currentTarget.contains(D.target)&&I(D,"mouse")}),{hoverProps:L,triggerHoverEnd:I}},[t,n,i,a,m,h,v]);return A.useEffect(()=>{a&&x({currentTarget:m.target},m.pointerType)},[a]),{hoverProps:C,isHovered:c}}function Z0(e={}){let{autoFocus:t=!1,isTextInput:n,within:i}=e,a=A.useRef({isFocused:!1,isFocusVisible:t||qg()}),[c,p]=A.useState(!1),[m,h]=A.useState(()=>a.current.isFocused&&a.current.isFocusVisible),v=A.useCallback(()=>h(a.current.isFocused&&a.current.isFocusVisible),[]),C=A.useCallback(I=>{a.current.isFocused=I,p(I),v()},[v]);X0(I=>{a.current.isFocusVisible=I,v()},[],{isTextInput:n});let{focusProps:x}=Q0({isDisabled:i,onFocusChange:C}),{focusWithinProps:F}=q0({isDisabled:!i,onFocusWithinChange:C});return{isFocused:c,isFocusVisible:m,focusProps:i?F:x}}var ew=Object.defineProperty,tw=(e,t,n)=>t in e?ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bd=(e,t,n)=>(tw(e,typeof t!="symbol"?t+"":t,n),n);let rw=class{constructor(){bd(this,"current",this.detect()),bd(this,"handoffState","pending"),bd(this,"currentId",0)}set(t){this.current!==t&&(this.handoffState="pending",this.currentId=0,this.current=t)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}handoff(){this.handoffState==="pending"&&(this.handoffState="complete")}get isHandoffComplete(){return this.handoffState==="complete"}},xa=new rw;function Hc(e){var t,n;return xa.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?(n=(t=e.current)==null?void 0:t.ownerDocument)!=null?n:document:null:document}function Wc(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}function yo(){let e=[],t={addEventListener(n,i,a,c){return n.addEventListener(i,a,c),t.add(()=>n.removeEventListener(i,a,c))},requestAnimationFrame(...n){let i=requestAnimationFrame(...n);return t.add(()=>cancelAnimationFrame(i))},nextFrame(...n){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...n))},setTimeout(...n){let i=setTimeout(...n);return t.add(()=>clearTimeout(i))},microTask(...n){let i={current:!0};return Wc(()=>{i.current&&n[0]()}),t.add(()=>{i.current=!1})},style(n,i,a){let c=n.style.getPropertyValue(i);return Object.assign(n.style,{[i]:a}),this.add(()=>{Object.assign(n.style,{[i]:c})})},group(n){let i=yo();return n(i),this.add(()=>i.dispose())},add(n){return e.includes(n)||e.push(n),()=>{let i=e.indexOf(n);if(i>=0)for(let a of e.splice(i,1))a()}},dispose(){for(let n of e.splice(0))n()}};return t}function Wp(){let[e]=A.useState(yo);return A.useEffect(()=>()=>e.dispose(),[e]),e}let Mt=(e,t)=>{xa.isServer?A.useEffect(e,t):A.useLayoutEffect(e,t)};function Ra(e){let t=A.useRef(e);return Mt(()=>{t.current=e},[e]),t}let tt=function(e){let t=Ra(e);return A.useCallback((...n)=>t.current(...n),[t])},Kg=A.createContext(void 0);function Vc(){return A.useContext(Kg)}function nw({value:e,children:t}){return A.createElement(Kg.Provider,{value:e},t)}function ip(...e){return Array.from(new Set(e.flatMap(t=>typeof t=="string"?t.split(" "):[]))).filter(Boolean).join(" ")}function po(e,t,...n){if(e in t){let a=t[e];return typeof a=="function"?a(...n):a}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(a=>`"${a}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,po),i}var Mc=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(Mc||{}),mi=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(mi||{});function er(){let e=iw();return A.useCallback(t=>ow({mergeRefs:e,...t}),[e])}function ow({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:a,visible:c=!0,name:p,mergeRefs:m}){m=m??aw;let h=Jg(t,e);if(c)return bc(h,n,i,p,m);let v=a??0;if(v&2){let{static:C=!1,...x}=h;if(C)return bc(x,n,i,p,m)}if(v&1){let{unmount:C=!0,...x}=h;return po(C?0:1,{0(){return null},1(){return bc({...x,hidden:!0,style:{display:"none"}},n,i,p,m)}})}return bc(h,n,i,p,m)}function bc(e,t={},n,i,a){let{as:c=n,children:p,refName:m="ref",...h}=wd(e,["unmount","static"]),v=e.ref!==void 0?{[m]:e.ref}:{},C=typeof p=="function"?p(t):p;"className"in h&&h.className&&typeof h.className=="function"&&(h.className=h.className(t)),h["aria-labelledby"]&&h["aria-labelledby"]===h.id&&(h["aria-labelledby"]=void 0);let x={};if(t){let F=!1,I=[];for(let[L,D]of Object.entries(t))typeof D=="boolean"&&(F=!0),D===!0&&I.push(L.replace(/([A-Z])/g,T=>`-${T.toLowerCase()}`));if(F){x["data-headlessui-state"]=I.join(" ");for(let L of I)x[`data-${L}`]=""}}if(c===A.Fragment&&(Object.keys(la(h)).length>0||Object.keys(la(x)).length>0))if(!A.isValidElement(C)||Array.isArray(C)&&C.length>1){if(Object.keys(la(h)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(la(h)).concat(Object.keys(la(x))).map(F=>` - ${F}`).join(`
126
126
  `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(F=>` - ${F}`).join(`
127
127
  `)].join(`
128
- `))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...O)=>ip(I(...O),h.className):ip(I,h.className),D=L?{className:L}:{},T=Kg(C.props,li(xd(h,["ref"])));for(let O in x)O in T&&delete x[O];return A.cloneElement(C,Object.assign({},T,x,v,{ref:i(lw(C),v.ref)},D))}return A.createElement(c,Object.assign({},xd(h,["ref"]),c!==A.Fragment&&v,c!==A.Fragment&&x),C)}function aw(){let e=A.useRef([]),t=A.useCallback(n=>{for(let a of e.current)a!=null&&(typeof a=="function"?a(n):a.current=n)},[]);return(...n)=>{if(!n.every(a=>a==null))return e.current=n,t}}function iw(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Kg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let a of e)for(let i in a)i.startsWith("on")&&typeof a[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(a[i])):t[i]=a[i];if(t.disabled||t["aria-disabled"])for(let a in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(a)&&(n[a]=[i=>{var c;return(c=i==null?void 0:i.preventDefault)==null?void 0:c.call(i)}]);for(let a in n)Object.assign(t,{[a](i,...c){let p=n[a];for(let m of p){if((i instanceof Event||(i==null?void 0:i.nativeEvent)instanceof Event)&&i.defaultPrevented)return;m(i,...c)}}});return t}function sw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let a of e)for(let i in a)i.startsWith("on")&&typeof a[i]=="function"?(n[i]!=null||(n[i]=[]),n[i].push(a[i])):t[i]=a[i];for(let a in n)Object.assign(t,{[a](...i){let c=n[a];for(let p of c)p==null||p(...i)}});return t}function Dt(e){var t;return Object.assign(A.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function li(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function xd(e,t=[]){let n=Object.assign({},e);for(let a of t)a in n&&delete n[a];return n}function lw(e){return A.version.split(".")[0]>="19"?e.props.ref:e.ref}let uw="span";var uu=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(uu||{});function cw(e,t){var n;let{features:a=1,...i}=e,c={ref:t,"aria-hidden":(a&2)===2?!0:(n=i["aria-hidden"])!=null?n:void 0,hidden:(a&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",...(a&4)===4&&(a&2)!==2&&{display:"none"}}};return er()({ourProps:c,theirProps:i,slot:{},defaultTag:uw,name:"Hidden"})}let _c=Dt(cw),fw=A.createContext(null);function dw(e){let[t,n]=A.useState(null);return A.createElement(fw.Provider,{value:{target:t}},e.children,A.createElement(_c,{features:uu.Hidden,ref:n}))}let Jg=A.createContext(void 0);function Zg(){return A.useContext(Jg)}function pw({id:e,children:t}){return A.createElement(Jg.Provider,{value:e},t)}function qg(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return qg(e)&&"tagName"in e}function ya(e){return lo(e)&&"accessKey"in e}function ga(e){return lo(e)&&"tabIndex"in e}function hw(e){return lo(e)&&"style"in e}function mw(e){return ya(e)&&e.nodeName==="IFRAME"}function ev(e){return ya(e)&&e.nodeName==="INPUT"}function Bh(e){return ya(e)&&e.nodeName==="LABEL"}function gw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let tv=Symbol();function vw(e,t=!0){return Object.assign(e,{[tv]:t})}function sn(...e){let t=A.useRef(e);A.useEffect(()=>{t.current=e},[e]);let n=tt(a=>{for(let i of t.current)i!=null&&(typeof i=="function"?i(a):i.current=a)});return e.every(a=>a==null||(a==null?void 0:a[tv]))?void 0:n}let Yc=A.createContext(null);Yc.displayName="DescriptionContext";function rv(){let e=A.useContext(Yc);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,rv),t}return e}function yw(){var e,t;return(t=(e=A.useContext(Yc))==null?void 0:e.value)!=null?t:void 0}function nv(){let[e,t]=A.useState([]);return[e.length>0?e.join(" "):void 0,A.useMemo(()=>function(n){let a=tt(c=>(t(p=>[...p,c]),()=>t(p=>{let m=p.slice(),h=m.indexOf(c);return h!==-1&&m.splice(h,1),m}))),i=A.useMemo(()=>({register:a,slot:n.slot,name:n.name,props:n.props,value:n.value}),[a,n.slot,n.name,n.props,n.value]);return A.createElement(Yc.Provider,{value:i},n.children)},[t])]}let bw="p";function ww(e,t){let n=A.useId(),a=Gc(),{id:i=`headlessui-description-${n}`,...c}=e,p=rv(),m=sn(t);Mt(()=>p.register(i),[i,p.register]);let h=a||!1,v=A.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:i};return er()({ourProps:C,theirProps:c,slot:v,defaultTag:bw,name:p.name||"Description"})}let xw=Dt(ww),ov=Object.assign(xw,{});var av=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(av||{});let Xc=A.createContext(null);Xc.displayName="LabelContext";function iv(){let e=A.useContext(Xc);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,iv),t}return e}function sv(e){var t,n,a;let i=(n=(t=A.useContext(Xc))==null?void 0:t.value)!=null?n:void 0;return((a=void 0)!=null?a:0)>0?[i,...e].filter(Boolean).join(" "):i}function Sw({inherit:e=!1}={}){let t=sv(),[n,a]=A.useState([]),i=e?[t,...n].filter(Boolean):n;return[i.length>0?i.join(" "):void 0,A.useMemo(()=>function(c){let p=tt(h=>(a(v=>[...v,h]),()=>a(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=A.useMemo(()=>({register:p,slot:c.slot,name:c.name,props:c.props,value:c.value}),[p,c.slot,c.name,c.props,c.value]);return A.createElement(Xc.Provider,{value:m},c.children)},[a])]}let kw="label";function Ew(e,t){var n;let a=A.useId(),i=iv(),c=Zg(),p=Gc(),{id:m=`headlessui-label-${a}`,htmlFor:h=c??((n=i.props)==null?void 0:n.htmlFor),passive:v=!1,...C}=e,x=sn(t);Mt(()=>i.register(m),[m,i.register]);let F=tt(T=>{let O=T.currentTarget;if(!(T.target!==T.currentTarget&&gw(T.target))&&(Bh(O)&&T.preventDefault(),i.props&&"onClick"in i.props&&typeof i.props.onClick=="function"&&i.props.onClick(T),Bh(O))){let U=document.getElementById(O.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(ev(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=A.useMemo(()=>({...i.slot,disabled:I}),[i.slot,I]),D={ref:x,...i.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),er()({ourProps:D,theirProps:C,slot:L,defaultTag:h?kw:"div",name:i.name||"Label"})}let Cw=Dt(Ew),Tw=Object.assign(Cw,{}),Rw=A.createContext(()=>{});function Pw({value:e,children:t}){return A.createElement(Rw.Provider,{value:e},t)}let lv=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var Aw=Object.defineProperty,Ow=(e,t,n)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Iw=(e,t,n)=>(Ow(e,t+"",n),n),uv=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},$r=(e,t,n)=>(uv(e,t,"read from private field"),n?n.call(e):t.get(e)),Sd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Uh=(e,t,n,a)=>(uv(e,t,"write to private field"),t.set(e,n),n),En,Kl,Jl;let Fw=class{constructor(t){Sd(this,En,{}),Sd(this,Kl,new lv(()=>new Set)),Sd(this,Jl,new Set),Iw(this,"disposables",yo()),Uh(this,En,t)}dispose(){this.disposables.dispose()}get state(){return $r(this,En)}subscribe(t,n){let a={selector:t,callback:n,current:t($r(this,En))};return $r(this,Jl).add(a),this.disposables.add(()=>{$r(this,Jl).delete(a)})}on(t,n){return $r(this,Kl).get(t).add(n),this.disposables.add(()=>{$r(this,Kl).get(t).delete(n)})}send(t){let n=this.reduce($r(this,En),t);if(n!==$r(this,En)){Uh(this,En,n);for(let a of $r(this,Jl)){let i=a.selector($r(this,En));cv(a.current,i)||(a.current=i,a.callback(i))}for(let a of $r(this,Kl).get(t.type))a($r(this,En),t)}}};En=new WeakMap,Kl=new WeakMap,Jl=new WeakMap;function cv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:kd(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:kd(e.entries(),t.entries()):Hh(e)&&Hh(t)?kd(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function kd(e,t){do{let n=e.next(),a=t.next();if(n.done&&a.done)return!0;if(n.done||a.done||!Object.is(n.value,a.value))return!1}while(!0)}function Hh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Mw=Object.defineProperty,Dw=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Wh=(e,t,n)=>(Dw(e,typeof t!="symbol"?t+"":t,n),n),_w=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(_w||{});let Lw={0(e,t){let n=t.id,a=e.stack,i=e.stack.indexOf(n);if(i!==-1){let c=e.stack.slice();return c.splice(i,1),c.push(n),a=c,{...e,stack:a}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,a=e.stack.indexOf(n);if(a===-1)return e;let i=e.stack.slice();return i.splice(a,1),{...e,stack:i}}},$w=class fv extends Fw{constructor(){super(...arguments),Wh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Wh(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new fv({stack:[]})}reduce(t,n){return po(n.type,Lw,t,n)}};const dv=new lv(()=>$w.new());var xc={exports:{}},Ed={};/**
128
+ `))}else{let F=C.props,I=F==null?void 0:F.className,L=typeof I=="function"?(...O)=>ip(I(...O),h.className):ip(I,h.className),D=L?{className:L}:{},T=Jg(C.props,la(wd(h,["ref"])));for(let O in x)O in T&&delete x[O];return A.cloneElement(C,Object.assign({},T,x,v,{ref:a(lw(C),v.ref)},D))}return A.createElement(c,Object.assign({},wd(h,["ref"]),c!==A.Fragment&&v,c!==A.Fragment&&x),C)}function iw(){let e=A.useRef([]),t=A.useCallback(n=>{for(let i of e.current)i!=null&&(typeof i=="function"?i(n):i.current=n)},[]);return(...n)=>{if(!n.every(i=>i==null))return e.current=n,t}}function aw(...e){return e.every(t=>t==null)?void 0:t=>{for(let n of e)n!=null&&(typeof n=="function"?n(t):n.current=t)}}function Jg(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(i[a])):t[a]=i[a];if(t.disabled||t["aria-disabled"])for(let i in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(n[i]=[a=>{var c;return(c=a==null?void 0:a.preventDefault)==null?void 0:c.call(a)}]);for(let i in n)Object.assign(t,{[i](a,...c){let p=n[i];for(let m of p){if((a instanceof Event||(a==null?void 0:a.nativeEvent)instanceof Event)&&a.defaultPrevented)return;m(a,...c)}}});return t}function sw(...e){if(e.length===0)return{};if(e.length===1)return e[0];let t={},n={};for(let i of e)for(let a in i)a.startsWith("on")&&typeof i[a]=="function"?(n[a]!=null||(n[a]=[]),n[a].push(i[a])):t[a]=i[a];for(let i in n)Object.assign(t,{[i](...a){let c=n[i];for(let p of c)p==null||p(...a)}});return t}function Dt(e){var t;return Object.assign(A.forwardRef(e),{displayName:(t=e.displayName)!=null?t:e.name})}function la(e){let t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wd(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function lw(e){return A.version.split(".")[0]>="19"?e.props.ref:e.ref}let uw="span";var uu=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(uu||{});function cw(e,t){var n;let{features:i=1,...a}=e,c={ref:t,"aria-hidden":(i&2)===2?!0:(n=a["aria-hidden"])!=null?n: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 er()({ourProps:c,theirProps:a,slot:{},defaultTag:uw,name:"Hidden"})}let Dc=Dt(cw),fw=A.createContext(null);function dw(e){let[t,n]=A.useState(null);return A.createElement(fw.Provider,{value:{target:t}},e.children,A.createElement(Dc,{features:uu.Hidden,ref:n}))}let Zg=A.createContext(void 0);function ev(){return A.useContext(Zg)}function pw({id:e,children:t}){return A.createElement(Zg.Provider,{value:e},t)}function tv(e){return typeof e!="object"||e===null?!1:"nodeType"in e}function lo(e){return tv(e)&&"tagName"in e}function yi(e){return lo(e)&&"accessKey"in e}function gi(e){return lo(e)&&"tabIndex"in e}function hw(e){return lo(e)&&"style"in e}function mw(e){return yi(e)&&e.nodeName==="IFRAME"}function rv(e){return yi(e)&&e.nodeName==="INPUT"}function zh(e){return yi(e)&&e.nodeName==="LABEL"}function gw(e){return lo(e)?e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]'):!1}let nv=Symbol();function vw(e,t=!0){return Object.assign(e,{[nv]:t})}function sn(...e){let t=A.useRef(e);A.useEffect(()=>{t.current=e},[e]);let n=tt(i=>{for(let a of t.current)a!=null&&(typeof a=="function"?a(i):a.current=i)});return e.every(i=>i==null||(i==null?void 0:i[nv]))?void 0:n}let Gc=A.createContext(null);Gc.displayName="DescriptionContext";function ov(){let e=A.useContext(Gc);if(e===null){let t=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,ov),t}return e}function yw(){var e,t;return(t=(e=A.useContext(Gc))==null?void 0:e.value)!=null?t:void 0}function iv(){let[e,t]=A.useState([]);return[e.length>0?e.join(" "):void 0,A.useMemo(()=>function(n){let i=tt(c=>(t(p=>[...p,c]),()=>t(p=>{let m=p.slice(),h=m.indexOf(c);return h!==-1&&m.splice(h,1),m}))),a=A.useMemo(()=>({register:i,slot:n.slot,name:n.name,props:n.props,value:n.value}),[i,n.slot,n.name,n.props,n.value]);return A.createElement(Gc.Provider,{value:a},n.children)},[t])]}let bw="p";function ww(e,t){let n=A.useId(),i=Vc(),{id:a=`headlessui-description-${n}`,...c}=e,p=ov(),m=sn(t);Mt(()=>p.register(a),[a,p.register]);let h=i||!1,v=A.useMemo(()=>({...p.slot,disabled:h}),[p.slot,h]),C={ref:m,...p.props,id:a};return er()({ourProps:C,theirProps:c,slot:v,defaultTag:bw,name:p.name||"Description"})}let xw=Dt(ww),av=Object.assign(xw,{});var sv=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(sv||{});let Yc=A.createContext(null);Yc.displayName="LabelContext";function lv(){let e=A.useContext(Yc);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,lv),t}return e}function uv(e){var t,n,i;let a=(n=(t=A.useContext(Yc))==null?void 0:t.value)!=null?n:void 0;return((i=void 0)!=null?i:0)>0?[a,...e].filter(Boolean).join(" "):a}function Sw({inherit:e=!1}={}){let t=uv(),[n,i]=A.useState([]),a=e?[t,...n].filter(Boolean):n;return[a.length>0?a.join(" "):void 0,A.useMemo(()=>function(c){let p=tt(h=>(i(v=>[...v,h]),()=>i(v=>{let C=v.slice(),x=C.indexOf(h);return x!==-1&&C.splice(x,1),C}))),m=A.useMemo(()=>({register:p,slot:c.slot,name:c.name,props:c.props,value:c.value}),[p,c.slot,c.name,c.props,c.value]);return A.createElement(Yc.Provider,{value:m},c.children)},[i])]}let kw="label";function Ew(e,t){var n;let i=A.useId(),a=lv(),c=ev(),p=Vc(),{id:m=`headlessui-label-${i}`,htmlFor:h=c??((n=a.props)==null?void 0:n.htmlFor),passive:v=!1,...C}=e,x=sn(t);Mt(()=>a.register(m),[m,a.register]);let F=tt(T=>{let O=T.currentTarget;if(!(T.target!==T.currentTarget&&gw(T.target))&&(zh(O)&&T.preventDefault(),a.props&&"onClick"in a.props&&typeof a.props.onClick=="function"&&a.props.onClick(T),zh(O))){let U=document.getElementById(O.htmlFor);if(U){let j=U.getAttribute("disabled");if(j==="true"||j==="")return;let V=U.getAttribute("aria-disabled");if(V==="true"||V==="")return;(rv(U)&&(U.type==="file"||U.type==="radio"||U.type==="checkbox")||U.role==="radio"||U.role==="checkbox"||U.role==="switch")&&U.click(),U.focus({preventScroll:!0})}}}),I=p||!1,L=A.useMemo(()=>({...a.slot,disabled:I}),[a.slot,I]),D={ref:x,...a.props,id:m,htmlFor:h,onClick:F};return v&&("onClick"in D&&(delete D.htmlFor,delete D.onClick),"onClick"in C&&delete C.onClick),er()({ourProps:D,theirProps:C,slot:L,defaultTag:h?kw:"div",name:a.name||"Label"})}let Cw=Dt(Ew),Tw=Object.assign(Cw,{}),Rw=A.createContext(()=>{});function Pw({value:e,children:t}){return A.createElement(Rw.Provider,{value:e},t)}let cv=class extends Map{constructor(t){super(),this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t),this.set(t,n)),n}};var Aw=Object.defineProperty,Ow=(e,t,n)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Iw=(e,t,n)=>(Ow(e,t+"",n),n),fv=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},$r=(e,t,n)=>(fv(e,t,"read from private field"),n?n.call(e):t.get(e)),xd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},Bh=(e,t,n,i)=>(fv(e,t,"write to private field"),t.set(e,n),n),En,ql,Kl;let Fw=class{constructor(t){xd(this,En,{}),xd(this,ql,new cv(()=>new Set)),xd(this,Kl,new Set),Iw(this,"disposables",yo()),Bh(this,En,t)}dispose(){this.disposables.dispose()}get state(){return $r(this,En)}subscribe(t,n){let i={selector:t,callback:n,current:t($r(this,En))};return $r(this,Kl).add(i),this.disposables.add(()=>{$r(this,Kl).delete(i)})}on(t,n){return $r(this,ql).get(t).add(n),this.disposables.add(()=>{$r(this,ql).get(t).delete(n)})}send(t){let n=this.reduce($r(this,En),t);if(n!==$r(this,En)){Bh(this,En,n);for(let i of $r(this,Kl)){let a=i.selector($r(this,En));dv(i.current,a)||(i.current=a,i.callback(a))}for(let i of $r(this,ql).get(t.type))i($r(this,En),t)}}};En=new WeakMap,ql=new WeakMap,Kl=new WeakMap;function dv(e,t){return Object.is(e,t)?!0:typeof e!="object"||e===null||typeof t!="object"||t===null?!1:Array.isArray(e)&&Array.isArray(t)?e.length!==t.length?!1:Sd(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size!==t.size?!1:Sd(e.entries(),t.entries()):Uh(e)&&Uh(t)?Sd(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()):!1}function Sd(e,t){do{let n=e.next(),i=t.next();if(n.done&&i.done)return!0;if(n.done||i.done||!Object.is(n.value,i.value))return!1}while(!0)}function Uh(e){if(Object.prototype.toString.call(e)!=="[object Object]")return!1;let t=Object.getPrototypeOf(e);return t===null||Object.getPrototypeOf(t)===null}var Mw=Object.defineProperty,Dw=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Hh=(e,t,n)=>(Dw(e,typeof t!="symbol"?t+"":t,n),n),_w=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(_w||{});let Lw={0(e,t){let n=t.id,i=e.stack,a=e.stack.indexOf(n);if(a!==-1){let c=e.stack.slice();return c.splice(a,1),c.push(n),i=c,{...e,stack:i}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,i=e.stack.indexOf(n);if(i===-1)return e;let a=e.stack.slice();return a.splice(i,1),{...e,stack:a}}},$w=class pv extends Fw{constructor(){super(...arguments),Hh(this,"actions",{push:t=>this.send({type:0,id:t}),pop:t=>this.send({type:1,id:t})}),Hh(this,"selectors",{isTop:(t,n)=>t.stack[t.stack.length-1]===n,inStack:(t,n)=>t.stack.includes(n)})}static new(){return new pv({stack:[]})}reduce(t,n){return po(n.type,Lw,t,n)}};const hv=new cv(()=>$w.new());var wc={exports:{}},kd={};/**
129
129
  * @license React
130
130
  * use-sync-external-store-with-selector.production.js
131
131
  *
@@ -133,7 +133,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
133
133
  *
134
134
  * This source code is licensed under the MIT license found in the
135
135
  * LICENSE file in the root directory of this source tree.
136
- */var Vh;function jw(){if(Vh)return Ed;Vh=1;var e=A;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var n=typeof Object.is=="function"?Object.is:t,a=e.useSyncExternalStore,i=e.useRef,c=e.useEffect,p=e.useMemo,m=e.useDebugValue;return Ed.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=i(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var Z=L.value;if(F(Z,$))return j=Z}return j=$}if(Z=j,n(U,$))return Z;var ie=x($);return F!==void 0&&F(Z,ie)?(U=$,Z):(U=$,j=ie)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=a(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},Ed}var Cd={};/**
136
+ */var Wh;function jw(){if(Wh)return kd;Wh=1;var e=A;function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var n=typeof Object.is=="function"?Object.is:t,i=e.useSyncExternalStore,a=e.useRef,c=e.useEffect,p=e.useMemo,m=e.useDebugValue;return kd.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,n(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},kd}var Ed={};/**
137
137
  * @license React
138
138
  * use-sync-external-store-with-selector.development.js
139
139
  *
@@ -141,16 +141,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
141
141
  *
142
142
  * This source code is licensed under the MIT license found in the
143
143
  * LICENSE file in the root directory of this source tree.
144
- */var Gh;function Nw(){return Gh||(Gh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,n=typeof Object.is=="function"?Object.is:e,a=t.useSyncExternalStore,i=t.useRef,c=t.useEffect,p=t.useMemo,m=t.useDebugValue;Cd.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=i(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var Z=L.value;if(F(Z,$))return j=Z}return j=$}if(Z=j,n(U,$))return Z;var ie=x($);return F!==void 0&&F(Z,ie)?(U=$,Z):(U=$,j=ie)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=a(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Cd}var Yh;function zw(){return Yh||(Yh=1,process.env.NODE_ENV==="production"?xc.exports=jw():xc.exports=Nw()),xc.exports}var Bw=zw();function pv(e,t,n=cv){return Bw.useSyncExternalStoreWithSelector(tt(a=>e.subscribe(Uw,a)),tt(()=>e.state),tt(()=>e.state),tt(t),n)}function Uw(e){return e}function wu(e,t){let n=A.useId(),a=dv.get(t),[i,c]=pv(a,A.useCallback(p=>[a.selectors.isTop(p,n),a.selectors.inStack(p,n)],[a,n]));return Mt(()=>{if(e)return a.actions.push(n),()=>a.actions.pop(n)},[a,e,n]),e?c?i:!0:!1}let sp=new Map,ru=new Map;function Xh(e){var t;let n=(t=ru.get(e))!=null?t:0;return ru.set(e,n+1),n!==0?()=>Qh(e):(sp.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Qh(e))}function Qh(e){var t;let n=(t=ru.get(e))!=null?t:1;if(n===1?ru.delete(e):ru.set(e,n-1),n!==1)return;let a=sp.get(e);a&&(a["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",a["aria-hidden"]),e.inert=a.inert,sp.delete(e))}function Hw(e,{allowed:t,disallowed:n}={}){let a=wu(e,"inert-others");Mt(()=>{var i,c;if(!a)return;let p=yo();for(let h of(i=n==null?void 0:n())!=null?i:[])h&&p.add(Xh(h));let m=(c=t==null?void 0:t())!=null?c:[];for(let h of m){if(!h)continue;let v=Wc(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(Xh(x));C=C.parentElement}}return p.dispose},[a,t,n])}function Ww(e,t,n){let a=Ri(i=>{let c=i.getBoundingClientRect();c.x===0&&c.y===0&&c.width===0&&c.height===0&&n()});A.useEffect(()=>{if(!e)return;let i=t===null?null:ya(t)?t:t.current;if(!i)return;let c=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>a.current(i));p.observe(i),c.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>a.current(i));p.observe(i),c.add(()=>p.disconnect())}return()=>c.dispose()},[t,a,e])}let Lc=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Vw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),lp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(lp||{}),Gw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gw||{});function Yw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Lc)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Xw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vw)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var hv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(hv||{});function Qw(e,t=0){var n;return e===((n=Wc(e))==null?void 0:n.body)?!1:po(t,{0(){return e.matches(Lc)},1(){let a=e;for(;a!==null;){if(a.matches(Lc))return!0;a=a.parentElement}return!1}})}var Kw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Kw||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function uo(e){e==null||e.focus({preventScroll:!0})}let Jw=["textarea","input"].join(",");function Zw(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Jw))!=null?n:!1}function qw(e,t=n=>n){return e.slice().sort((n,a)=>{let i=t(n),c=t(a);if(i===null||c===null)return 0;let p=i.compareDocumentPosition(c);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function nu(e,t,{sorted:n=!0,relativeTo:a=null,skipElements:i=[]}={}){let c=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?n?qw(e):e:t&64?Xw(e):Yw(e);i.length>0&&p.length>1&&(p=p.filter(I=>!i.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),a=a??c.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(a))-1;if(t&4)return Math.max(0,p.indexOf(a))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==c.activeElement);return t&6&&Zw(F)&&F.select(),2}function mv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ex(){return/Android/gi.test(window.navigator.userAgent)}function Kh(){return mv()||ex()}function Sc(e,t,n,a){let i=Ri(n);A.useEffect(()=>{if(!e)return;function c(p){i.current(p)}return document.addEventListener(t,c,a),()=>document.removeEventListener(t,c,a)},[e,t,a])}function gv(e,t,n,a){let i=Ri(n);A.useEffect(()=>{if(!e)return;function c(p){i.current(p)}return window.addEventListener(t,c,a),()=>window.removeEventListener(t,c,a)},[e,t,a])}const Jh=30;function tx(e,t,n){let a=Ri(n),i=A.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!Qw(v,hv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),a.current(m,v)},[a,t]),c=A.useRef(null);Sc(e,"pointerdown",m=>{var h,v;Kh()||(c.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),Sc(e,"pointerup",m=>{if(Kh()||!c.current)return;let h=c.current;return c.current=null,i(m,()=>h)},!0);let p=A.useRef({x:0,y:0});Sc(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),Sc(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=Jh||Math.abs(h.y-p.current.y)>=Jh))return i(m,()=>ga(m.target)?m.target:null)},!0),gv(e,"blur",m=>i(m,()=>mw(window.document.activeElement)?window.document.activeElement:null),!0)}function Qc(...e){return A.useMemo(()=>Wc(...e),[...e])}function vv(e,t,n,a){let i=Ri(n);A.useEffect(()=>{e=e??window;function c(p){i.current(p)}return e.addEventListener(t,c,a),()=>e.removeEventListener(t,c,a)},[e,t,a])}function rx(e){return A.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function nx(e,t){let n=e(),a=new Set;return{getSnapshot(){return n},subscribe(i){return a.add(i),()=>a.delete(i)},dispatch(i,...c){let p=t[i].call(n,...c);p&&(n=p,a.forEach(m=>m()))}}}function ox(){let e;return{before({doc:t}){var n;let a=t.documentElement,i=(n=t.defaultView)!=null?n:window;e=Math.max(0,i.innerWidth-a.clientWidth)},after({doc:t,d:n}){let a=t.documentElement,i=Math.max(0,a.clientWidth-a.offsetWidth),c=Math.max(0,e-i);n.style(a,"paddingRight",`${c}px`)}}}function ax(){return mv()?{before({doc:e,d:t,meta:n}){function a(i){return n.containers.flatMap(c=>c()).some(c=>c.contains(i))}t.microTask(()=>{var i;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let c=(i=window.scrollY)!=null?i:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(ga(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);ga(C)&&!a(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(ga(m.target)&&hw(m.target))if(a(m.target)){let h=m.target;for(;h.parentElement&&a(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(ga(m.target)){if(ev(m.target))return;if(a(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;c!==h&&window.scrollTo(0,c),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function ix(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function sx(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let fi=nx(()=>new Map,{PUSH(e,t){var n;let a=(n=this.get(e))!=null?n:{doc:e,count:0,d:yo(),meta:new Set};return a.count++,a.meta.add(t),this.set(e,a),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let a={doc:e,d:t,meta:sx(n)},i=[ax(),ox(),ix()];i.forEach(({before:c})=>c==null?void 0:c(a)),i.forEach(({after:c})=>c==null?void 0:c(a))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fi.subscribe(()=>{let e=fi.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let a=t.get(n.doc)==="hidden",i=n.count!==0;(i&&!a||!i&&a)&&fi.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&fi.dispatch("TEARDOWN",n)}});function lx(e,t,n=()=>({containers:[]})){let a=rx(fi),i=t?a.get(t):void 0,c=i?i.count>0:!1;return Mt(()=>{if(!(!t||!e))return fi.dispatch("PUSH",t,n),()=>fi.dispatch("POP",t,n)},[e,t]),c}function ux(e,t,n=()=>[document.body]){let a=wu(e,"scroll-lock");lx(a,t,i=>{var c;return{containers:[...(c=i.containers)!=null?c:[],n]}})}function cx(e=0){let[t,n]=A.useState(e),a=A.useCallback(h=>n(h),[t]),i=A.useCallback(h=>n(v=>v|h),[t]),c=A.useCallback(h=>(t&h)===h,[t]),p=A.useCallback(h=>n(v=>v&~h),[n]),m=A.useCallback(h=>n(v=>v^h),[n]);return{flags:t,setFlag:a,addFlag:i,hasFlag:c,removeFlag:p,toggleFlag:m}}var Zh,qh;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Zh=process==null?void 0:process.env)==null?void 0:Zh.NODE_ENV)==="test"&&typeof((qh=Element==null?void 0:Element.prototype)==null?void 0:qh.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
145
- `)),[]});var fx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(fx||{});function dx(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function px(e,t,n,a){let[i,c]=A.useState(n),{hasFlag:p,addFlag:m,removeFlag:h}=cx(e&&i?3:0),v=A.useRef(!1),C=A.useRef(!1),x=Vp();return Mt(()=>{var F;if(e){if(n&&c(!0),!t){n&&m(3);return}return(F=a==null?void 0:a.start)==null||F.call(a,n),hx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(n?(m(3),h(4)):(m(4),h(2)))},run(){C.current?n?(h(3),m(4)):(h(4),m(3)):n?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),n||c(!1),(I=a==null?void 0:a.end)==null||I.call(a,n))}})}},[e,n,t,x]),e?[i,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function hx(e,{prepare:t,run:n,done:a,inFlight:i}){let c=yo();return gx(e,{prepare:t,inFlight:i}),c.nextFrame(()=>{n(),c.requestAnimationFrame(()=>{c.add(mx(e,a))})}),c.dispose}function mx(e,t){var n,a;let i=yo();if(!e)return i.dispose;let c=!1;i.add(()=>{c=!0});let p=(a=(n=e.getAnimations)==null?void 0:n.call(e).filter(m=>m instanceof CSSTransition))!=null?a:[];return p.length===0?(t(),i.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{c||t()}),i.dispose)}function gx(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let a=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=a}function Gp(e,t){let n=A.useRef([]),a=tt(e);A.useEffect(()=>{let i=[...n.current];for(let[c,p]of t.entries())if(n.current[c]!==p){let m=a(t,i);return n.current=t,m}},[a,...t])}function Kc(){return typeof window<"u"}function el(e){return yv(e)?(e.nodeName||"").toLowerCase():"#document"}function wr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(yv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function yv(e){return Kc()?e instanceof Node||e instanceof wr(e).Node:!1}function ht(e){return Kc()?e instanceof Element||e instanceof wr(e).Element:!1}function an(e){return Kc()?e instanceof HTMLElement||e instanceof wr(e).HTMLElement:!1}function up(e){return!Kc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wr(e).ShadowRoot}function xu(e){const{overflow:t,overflowX:n,overflowY:a,display:i}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+a+n)&&!["inline","contents"].includes(i)}function vx(e){return["table","td","th"].includes(el(e))}function Jc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Yp(e){const t=Zc(),n=ht(e)?zr(e):e;return["transform","translate","scale","rotate","perspective"].some(a=>n[a]?n[a]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(a=>(n.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(n.contain||"").includes(a))}function yx(e){let t=ho(e);for(;an(t)&&!co(t);){if(Yp(t))return t;if(Jc(t))return null;t=ho(t)}return null}function Zc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(e){return["html","body","#document"].includes(el(e))}function zr(e){return wr(e).getComputedStyle(e)}function qc(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(el(e)==="html")return e;const t=e.assignedSlot||e.parentNode||up(e)&&e.host||bo(e);return up(t)?t.host:t}function bv(e){const t=ho(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:an(t)&&xu(t)?t:bv(t)}function Ms(e,t,n){var a;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=bv(e),c=i===((a=e.ownerDocument)==null?void 0:a.body),p=wr(i);if(c){const m=cp(p);return t.concat(p,p.visualViewport||[],xu(i)?i:[],m&&n?Ms(m):[])}return t.concat(i,Ms(i,[],n))}function cp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const em=Math.min,ou=Math.max,$c=Math.round,On=e=>({x:e,y:e});function wv(e){return e.split("-")[0]}function bx(e){return e.split("-")[1]}function wx(e){return e==="x"?"y":"x"}function xx(e){return e==="y"?"height":"width"}function xv(e){return["top","bottom"].includes(wv(e))?"y":"x"}function Sx(e){return wx(xv(e))}function Sv(e){const{x:t,y:n,width:a,height:i}=e;return{width:a,height:i,top:n,left:t,right:t+a,bottom:n+i,x:t,y:n}}function tm(e,t,n){let{reference:a,floating:i}=e;const c=xv(t),p=Sx(t),m=xx(p),h=wv(t),v=c==="y",C=a.x+a.width/2-i.width/2,x=a.y+a.height/2-i.height/2,F=a[m]/2-i[m]/2;let I;switch(h){case"top":I={x:C,y:a.y-i.height};break;case"bottom":I={x:C,y:a.y+a.height};break;case"right":I={x:a.x+a.width,y:x};break;case"left":I={x:a.x-i.width,y:x};break;default:I={x:a.x,y:a.y}}switch(bx(t)){case"start":I[p]-=F*(n&&v?-1:1);break;case"end":I[p]+=F*(n&&v?-1:1);break}return I}const kx=async(e,t,n)=>{const{placement:a="bottom",strategy:i="absolute",middleware:c=[],platform:p}=n,m=c.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:i}),{x:C,y:x}=tm(v,a,h),F=a,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:O}=m[D],{x:U,y:j,data:V,reset:$}=await O({x:C,y:x,initialPlacement:a,placement:F,strategy:i,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:i}):$.rects),{x:C,y:x}=tm(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:i,middlewareData:I}};function kv(e){const t=zr(e);let n=parseFloat(t.width)||0,a=parseFloat(t.height)||0;const i=an(e),c=i?e.offsetWidth:n,p=i?e.offsetHeight:a,m=$c(n)!==c||$c(a)!==p;return m&&(n=c,a=p),{width:n,height:a,$:m}}function Ev(e){return ht(e)?e:e.contextElement}function Ds(e){const t=Ev(e);if(!an(t))return On(1);const n=t.getBoundingClientRect(),{width:a,height:i,$:c}=kv(t);let p=(c?$c(n.width):n.width)/a,m=(c?$c(n.height):n.height)/i;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ex=On(0);function Cv(e){const t=wr(e);return!Zc()||!t.visualViewport?Ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wr(e)?!1:t}function cu(e,t,n,a){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),c=Ev(e);let p=On(1);t&&(a?ht(a)&&(p=Ds(a)):p=Ds(e));const m=Cx(c,n,a)?Cv(c):On(0);let h=(i.left+m.x)/p.x,v=(i.top+m.y)/p.y,C=i.width/p.x,x=i.height/p.y;if(c){const F=wr(c),I=a&&ht(a)?wr(a):a;let L=F,D=cp(L);for(;D&&a&&I!==L;){const T=Ds(D),O=D.getBoundingClientRect(),U=zr(D),j=O.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=O.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=wr(D),D=cp(L)}}return Sv({width:C,height:x,x:h,y:v})}function Xp(e,t){const n=qc(e).scrollLeft;return t?t.left+n:cu(bo(e)).left+n}function Tv(e,t,n){n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=a.left+t.scrollLeft-(n?0:Xp(e,a)),c=a.top+t.scrollTop;return{x:i,y:c}}function Tx(e){let{elements:t,rect:n,offsetParent:a,strategy:i}=e;const c=i==="fixed",p=bo(a),m=t?Jc(t.floating):!1;if(a===p||m&&c)return n;let h={scrollLeft:0,scrollTop:0},v=On(1);const C=On(0),x=an(a);if((x||!x&&!c)&&((el(a)!=="body"||xu(p))&&(h=qc(a)),an(a))){const I=cu(a);v=Ds(a),C.x=I.x+a.clientLeft,C.y=I.y+a.clientTop}const F=p&&!x&&!c?Tv(p,h,!0):On(0);return{width:n.width*v.x,height:n.height*v.y,x:n.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:n.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Rx(e){return Array.from(e.getClientRects())}function Px(e){const t=bo(e),n=qc(e),a=e.ownerDocument.body,i=ou(t.scrollWidth,t.clientWidth,a.scrollWidth,a.clientWidth),c=ou(t.scrollHeight,t.clientHeight,a.scrollHeight,a.clientHeight);let p=-n.scrollLeft+Xp(e);const m=-n.scrollTop;return zr(a).direction==="rtl"&&(p+=ou(t.clientWidth,a.clientWidth)-i),{width:i,height:c,x:p,y:m}}function Ax(e,t){const n=wr(e),a=bo(e),i=n.visualViewport;let c=a.clientWidth,p=a.clientHeight,m=0,h=0;if(i){c=i.width,p=i.height;const v=Zc();(!v||v&&t==="fixed")&&(m=i.offsetLeft,h=i.offsetTop)}return{width:c,height:p,x:m,y:h}}function Ox(e,t){const n=cu(e,!0,t==="fixed"),a=n.top+e.clientTop,i=n.left+e.clientLeft,c=an(e)?Ds(e):On(1),p=e.clientWidth*c.x,m=e.clientHeight*c.y,h=i*c.x,v=a*c.y;return{width:p,height:m,x:h,y:v}}function rm(e,t,n){let a;if(t==="viewport")a=Ax(e,n);else if(t==="document")a=Px(bo(e));else if(ht(t))a=Ox(t,n);else{const i=Cv(e);a={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Sv(a)}function Rv(e,t){const n=ho(e);return n===t||!ht(n)||co(n)?!1:zr(n).position==="fixed"||Rv(n,t)}function Ix(e,t){const n=t.get(e);if(n)return n;let a=Ms(e,[],!1).filter(m=>ht(m)&&el(m)!=="body"),i=null;const c=zr(e).position==="fixed";let p=c?ho(e):e;for(;ht(p)&&!co(p);){const m=zr(p),h=Yp(p);!h&&m.position==="fixed"&&(i=null),(c?!h&&!i:!h&&m.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||xu(p)&&!h&&Rv(e,p))?a=a.filter(C=>C!==p):i=m,p=ho(p)}return t.set(e,a),a}function Fx(e){let{element:t,boundary:n,rootBoundary:a,strategy:i}=e;const p=[...n==="clippingAncestors"?Jc(t)?[]:Ix(t,this._c):[].concat(n),a],m=p[0],h=p.reduce((v,C)=>{const x=rm(t,C,i);return v.top=ou(x.top,v.top),v.right=em(x.right,v.right),v.bottom=em(x.bottom,v.bottom),v.left=ou(x.left,v.left),v},rm(t,m,i));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Mx(e){const{width:t,height:n}=kv(e);return{width:t,height:n}}function Dx(e,t,n){const a=an(t),i=bo(t),c=n==="fixed",p=cu(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const h=On(0);function v(){h.x=Xp(i)}if(a||!a&&!c)if((el(t)!=="body"||xu(i))&&(m=qc(t)),a){const I=cu(t,!0,c,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else i&&v();c&&!a&&i&&v();const C=i&&!a&&!c?Tv(i,m):On(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Td(e){return zr(e).position==="static"}function nm(e,t){if(!an(e)||zr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return bo(e)===n&&(n=n.ownerDocument.body),n}function Pv(e,t){const n=wr(e);if(Jc(e))return n;if(!an(e)){let i=ho(e);for(;i&&!co(i);){if(ht(i)&&!Td(i))return i;i=ho(i)}return n}let a=nm(e,t);for(;a&&vx(a)&&Td(a);)a=nm(a,t);return a&&co(a)&&Td(a)&&!Yp(a)?n:a||yx(e)||n}const _x=async function(e){const t=this.getOffsetParent||Pv,n=this.getDimensions,a=await n(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function Lx(e){return zr(e).direction==="rtl"}const $x={convertOffsetParentRelativeRectToViewportRelativeRect:Tx,getDocumentElement:bo,getClippingRect:Fx,getOffsetParent:Pv,getElementRects:_x,getClientRects:Rx,getDimensions:Mx,getScale:Ds,isElement:ht,isRTL:Lx},jx=(e,t,n)=>{const a=new Map,i={platform:$x,...n},c={...i.platform,_c:a};return kx(e,t,{...i,platform:c})};var Nx=typeof document<"u",zx=function(){},Tc=Nx?A.useLayoutEffect:zx;function jc(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,a,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(a=n;a--!==0;)if(!jc(e[a],t[a]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(a=n;a--!==0;)if(!{}.hasOwnProperty.call(t,i[a]))return!1;for(a=n;a--!==0;){const c=i[a];if(!(c==="_owner"&&e.$$typeof)&&!jc(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function Av(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function om(e,t){const n=Av(e);return Math.round(t*n)/n}function Rd(e){const t=pe.useRef(e);return Tc(()=>{t.current=e}),t}function Bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:a=[],platform:i,elements:{reference:c,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(a);jc(F,a)||I(a);const[L,D]=pe.useState(null),[T,O]=pe.useState(null),U=pe.useCallback(q=>{q!==Z.current&&(Z.current=q,D(q))},[]),j=pe.useCallback(q=>{q!==ie.current&&(ie.current=q,O(q))},[]),V=c||L,$=p||T,Z=pe.useRef(null),ie=pe.useRef(null),re=pe.useRef(C),le=h!=null,ye=Rd(h),De=Rd(i),Fe=Rd(v),$e=pe.useCallback(()=>{if(!Z.current||!ie.current)return;const q={placement:t,strategy:n,middleware:F};De.current&&(q.platform=De.current),jx(Z.current,ie.current,q).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!jc(re.current,Y)&&(re.current=Y,jy.flushSync(()=>{x(Y)}))})},[F,t,n,De,Fe]);Tc(()=>{v===!1&&re.current.isPositioned&&(re.current.isPositioned=!1,x(q=>({...q,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Tc(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Tc(()=>{if(V&&(Z.current=V),$&&(ie.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:Z,floating:ie,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const q={position:n,left:0,top:0};if(!Re.floating)return q;const ve=om(Re.floating,C.x),Y=om(Re.floating,C.y);return m?{...q,transform:"translate("+ve+"px, "+Y+"px)",...Av(Re.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ve,top:Y}},[n,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let ef=A.createContext(null);ef.displayName="OpenClosedContext";var on=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(on||{});function tf(){return A.useContext(ef)}function Ux({value:e,children:t}){return A.createElement(ef.Provider,{value:e},t)}function Hx({children:e}){return A.createElement(ef.Provider,{value:null},e)}function Wx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oa=[];Wx(()=>{function e(t){if(!ga(t.target)||t.target===document.body||oa[0]===t.target)return;let n=t.target;n=n.closest(Lc),oa.unshift(n??t.target),oa=oa.filter(a=>a!=null&&a.isConnected),oa.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Ov(e){let t=tt(e),n=A.useRef(!1);A.useEffect(()=>(n.current=!1,()=>{n.current=!0,Vc(()=>{n.current&&t()})}),[t])}function Vx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Su(){let e=Vx(),[t,n]=pe.useState(xi.isHandoffComplete);return t&&xi.isHandoffComplete===!1&&n(!1),pe.useEffect(()=>{t!==!0&&n(!0)},[t]),pe.useEffect(()=>xi.handoff(),[]),e?!1:t}let Iv=A.createContext(!1);function Gx(){return A.useContext(Iv)}function am(e){return A.createElement(Iv.Provider,{value:e.force},e.children)}function Yx(e){let t=Gx(),n=A.useContext(Mv),[a,i]=A.useState(()=>{var c;if(!t&&n!==null)return(c=n.current)!=null?c:null;if(xi.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return A.useEffect(()=>{a!==null&&(e!=null&&e.body.contains(a)||e==null||e.body.appendChild(a))},[a,e]),A.useEffect(()=>{t||n!==null&&i(n.current)},[n,i,t]),a}let Fv=A.Fragment,Xx=Dt(function(e,t){let{ownerDocument:n=null,...a}=e,i=A.useRef(null),c=sn(vw(I=>{i.current=I}),t),p=Qc(i),m=n??p,h=Yx(m),[v]=A.useState(()=>{var I;return xi.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=A.useContext(fp),x=Su();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Ov(()=>{var I;!h||!v||(qg(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=er();return x?!h||!v?null:Uc.createPortal(F({ourProps:{ref:c},theirProps:a,slot:{},defaultTag:Fv,name:"Portal"}),v):null});function Qx(e,t){let n=sn(t),{enabled:a=!0,ownerDocument:i,...c}=e,p=er();return a?A.createElement(Xx,{...c,ownerDocument:i,ref:n}):p({ourProps:{ref:n},theirProps:c,slot:{},defaultTag:Fv,name:"Portal"})}let Kx=A.Fragment,Mv=A.createContext(null);function Jx(e,t){let{target:n,...a}=e,i={ref:sn(t)},c=er();return A.createElement(Mv.Provider,{value:n},c({ourProps:i,theirProps:a,defaultTag:Kx,name:"Popover.Group"}))}let fp=A.createContext(null);function Zx(){let e=A.useContext(fp),t=A.useRef([]),n=tt(c=>(t.current.push(c),e&&e.register(c),()=>a(c))),a=tt(c=>{let p=t.current.indexOf(c);p!==-1&&t.current.splice(p,1),e&&e.unregister(c)}),i=A.useMemo(()=>({register:n,unregister:a,portals:t}),[n,a,t]);return[t,A.useMemo(()=>function({children:c}){return A.createElement(fp.Provider,{value:i},c)},[i])]}let qx=Dt(Qx),Dv=Dt(Jx),eS=Object.assign(qx,{Group:Dv});function tS(e,t=typeof document<"u"?document.defaultView:null,n){let a=wu(e,"escape");vv(t,"keydown",i=>{a&&(i.defaultPrevented||i.key===av.Escape&&n(i))})}function rS(){var e;let[t]=A.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,a]=A.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function i(c){a(c.matches)}return t.addEventListener("change",i),()=>t.removeEventListener("change",i)},[t]),n}function nS({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let a=Qc(n),i=tt(()=>{var c,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(c=a==null?void 0:a.querySelectorAll("html > *, body > *"))!=null?c:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(n&&(h.contains(n)||h.contains((p=n==null?void 0:n.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:i,contains:tt(c=>i().some(p=>p.contains(c)))}}let _v=A.createContext(null);function im({children:e,node:t}){let[n,a]=A.useState(null),i=Lv(t??n);return A.createElement(_v.Provider,{value:i},e,i===null&&A.createElement(_c,{features:uu.Hidden,ref:c=>{var p,m;if(c){for(let h of(m=(p=Wc(c))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(c)){a(h);break}}}}))}function Lv(e=null){var t;return(t=A.useContext(_v))!=null?t:e}function Qp(){let e=A.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Zl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Zl||{});function oS(){let e=A.useRef(0);return gv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function $v(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)lo(n.current)&&t.add(n.current);return t}let aS="div";var ui=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ui||{});function iS(e,t){let n=A.useRef(null),a=sn(n,t),{initialFocus:i,initialFocusFallback:c,containers:p,features:m=15,...h}=e;Su()||(m=0);let v=Qc(n);cS(m,{ownerDocument:v});let C=fS(m,{ownerDocument:v,container:n,initialFocus:i,initialFocusFallback:c});dS(m,{ownerDocument:v,container:n,containers:p,previousActiveElement:C});let x=oS(),F=tt(U=>{if(!ya(n.current))return;let j=n.current;(V=>V())(()=>{po(x.current,{[Zl.Forwards]:()=>{nu(j,so.First,{skipElements:[U.relatedTarget,c]})},[Zl.Backwards]:()=>{nu(j,so.Last,{skipElements:[U.relatedTarget,c]})}})})}),I=wu(!!(m&2),"focus-trap#tab-lock"),L=Vp(),D=A.useRef(!1),T={ref:a,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=$v(p);ya(n.current)&&j.add(n.current);let V=U.relatedTarget;ga(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(jv(j,V)||(D.current?nu(n.current,po(x.current,{[Zl.Forwards]:()=>so.Next,[Zl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):ga(U.target)&&uo(U.target)))}},O=er();return A.createElement(A.Fragment,null,I&&A.createElement(_c,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}),O({ourProps:T,theirProps:h,defaultTag:aS,name:"FocusTrap"}),I&&A.createElement(_c,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}))}let sS=Dt(iS),lS=Object.assign(sS,{features:ui});function uS(e=!0){let t=A.useRef(oa.slice());return Gp(([n],[a])=>{a===!0&&n===!1&&Vc(()=>{t.current.splice(0)}),a===!1&&n===!0&&(t.current=oa.slice())},[e,oa,t]),tt(()=>{var n;return(n=t.current.find(a=>a!=null&&a.isConnected))!=null?n:null})}function cS(e,{ownerDocument:t}){let n=!!(e&8),a=uS(n);Gp(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&uo(a())},[n]),Ov(()=>{n&&uo(a())})}function fS(e,{ownerDocument:t,container:n,initialFocus:a,initialFocusFallback:i}){let c=A.useRef(null),p=wu(!!(e&1),"focus-trap#initial-focus"),m=Qp();return Gp(()=>{if(e===0)return;if(!p){i!=null&&i.current&&uo(i.current);return}let h=n.current;h&&Vc(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(a!=null&&a.current){if((a==null?void 0:a.current)===v){c.current=v;return}}else if(h.contains(v)){c.current=v;return}if(a!=null&&a.current)uo(a.current);else{if(e&16){if(nu(h,so.First|so.AutoFocus)!==lp.Error)return}else if(nu(h,so.First)!==lp.Error)return;if(i!=null&&i.current&&(uo(i.current),(t==null?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}c.current=t==null?void 0:t.activeElement})},[i,p,e]),c}function dS(e,{ownerDocument:t,container:n,containers:a,previousActiveElement:i}){let c=Qp(),p=!!(e&4);vv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!c.current)return;let h=$v(a);ya(n.current)&&h.add(n.current);let v=i.current;if(!v)return;let C=m.target;ya(C)?jv(h,C)?(i.current=C,uo(C)):(m.preventDefault(),m.stopPropagation(),uo(v)):uo(i.current)},!0)}function jv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Nv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Bv)!==A.Fragment||A.Children.count(e.children)===1}let rf=A.createContext(null);rf.displayName="TransitionContext";var pS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(pS||{});function hS(){let e=A.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mS(){let e=A.useContext(nf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let nf=A.createContext(null);nf.displayName="NestingContext";function of(e){return"children"in e?of(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function zv(e,t){let n=Ri(e),a=A.useRef([]),i=Qp(),c=Vp(),p=tt((I,L=ma.Hidden)=>{let D=a.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[ma.Unmount](){a.current.splice(D,1)},[ma.Hidden](){a.current[D].state="hidden"}}),c.microTask(()=>{var T;!of(a)&&i.current&&((T=n.current)==null||T.call(n))}))}),m=tt(I=>{let L=a.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):a.current.push({el:I,state:"visible"}),()=>p(I,ma.Unmount)}),h=A.useRef([]),v=A.useRef(Promise.resolve()),C=A.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([O,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,O])=>O)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return A.useMemo(()=>({children:a,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,a,x,F,C,v])}let Bv=A.Fragment,Uv=Dc.RenderStrategy;function gS(e,t){var n,a;let{transition:i=!0,beforeEnter:c,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[O,U]=A.useState(null),j=A.useRef(null),V=Nv(e),$=sn(...V?[j,t,U]:t===null?[]:[t]),Z=(n=T.unmount)==null||n?ma.Unmount:ma.Hidden,{show:ie,appear:re,initial:le}=hS(),[ye,De]=A.useState(ie?"visible":"hidden"),Fe=mS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(Z===ma.Hidden&&j.current){if(ie&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ie,Z]);let xe=Su();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!re,Le=re&&ie&&le,q=A.useRef(!1),ve=zv(()=>{q.current||(De("hidden"),ze(j))},Fe),Y=tt(ce=>{q.current=!0;let Ee=ce?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?c==null||c():Se==="leave"&&(m==null||m())})}),J=tt(ce=>{let Ee=ce?"enter":"leave";q.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!of(ve)&&(De("hidden"),ze(j))});A.useEffect(()=>{V&&i||(Y(ie),J(ie))},[ie,V,i]);let fe=!(!i||!V||!xe||Re),[,te]=px(fe,O,ie,{start:Y,end:J}),he=li({ref:$,className:((a=ip(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ie&&F))==null?void 0:a.trim())||void 0,...dx(te)}),me=0;ye==="visible"&&(me|=on.Open),ye==="hidden"&&(me|=on.Closed),ie&&ye==="hidden"&&(me|=on.Opening),!ie&&ye==="visible"&&(me|=on.Closing);let ue=er();return A.createElement(nf.Provider,{value:ve},A.createElement(Ux,{value:me},ue({ourProps:he,theirProps:T,defaultTag:Bv,features:Uv,visible:ye==="visible",name:"Transition.Child"})))}function vS(e,t){let{show:n,appear:a=!1,unmount:i=!0,...c}=e,p=A.useRef(null),m=Nv(e),h=sn(...m?[p,t]:t===null?[]:[t]);Su();let v=tf();if(n===void 0&&v!==null&&(n=(v&on.Open)===on.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=A.useState(n?"visible":"hidden"),F=zv(()=>{n||x("hidden")}),[I,L]=A.useState(!0),D=A.useRef([n]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==n&&(D.current.push(n),L(!1))},[D,n]);let T=A.useMemo(()=>({show:n,appear:a,initial:I}),[n,a,I]);Mt(()=>{n?x("visible"):!of(F)&&p.current!==null&&x("hidden")},[n,F]);let O={unmount:i},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=er();return A.createElement(nf.Provider,{value:F},A.createElement(rf.Provider,{value:T},V({ourProps:{...O,as:A.Fragment,children:A.createElement(Hv,{ref:h,...O,...c,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:A.Fragment,features:Uv,visible:C==="visible",name:"Transition"})))}function yS(e,t){let n=A.useContext(rf)!==null,a=tf()!==null;return A.createElement(A.Fragment,null,!n&&a?A.createElement(dp,{ref:t,...e}):A.createElement(Hv,{ref:t,...e}))}let dp=Dt(vS),Hv=Dt(gS),Kp=Dt(yS),bS=Object.assign(dp,{Child:Kp,Root:dp});var wS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wS||{}),xS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(xS||{});let SS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},Jp=A.createContext(null);Jp.displayName="DialogContext";function af(e){let t=A.useContext(Jp);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,af),n}return t}function kS(e,t){return po(t.type,SS,e,t)}let sm=Dt(function(e,t){let n=A.useId(),{id:a=`headlessui-dialog-${n}`,open:i,onClose:c,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=A.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=tf();i===void 0&&I!==null&&(i=(I&on.Open)===on.Open);let L=A.useRef(null),D=sn(L,t),T=Qc(L),O=i?0:1,[U,j]=A.useReducer(kS,{titleId:null,descriptionId:null,panelRef:A.createRef()}),V=tt(()=>c(!1)),$=tt(te=>j({type:0,id:te})),Z=Su()?O===0:!1,[ie,re]=Zx(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=Lv(),{resolveContainers:De}=nS({mainTreeNode:ye,portals:ie,defaultContainers:[le]}),Fe=I!==null?(I&on.Closing)===on.Closing:!1;Hw(v||Fe?!1:Z,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=dv.get(null);Mt(()=>{if(Z)return $e.actions.push(a),()=>$e.actions.pop(a)},[$e,a,Z]);let ze=pv($e,A.useCallback(te=>$e.selectors.isTop(te,a),[$e,a]));tx(ze,De,te=>{te.preventDefault(),V()}),tS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),ux(v||Fe?!1:Z,T,De),Ww(Z,L,V);let[xe,Re]=nv(),Le=A.useMemo(()=>[{dialogState:O,close:V,setTitleId:$,unmount:C},U],[O,U,V,$,C]),q=A.useMemo(()=>({open:O===0}),[O]),ve={ref:D,id:a,role:m,tabIndex:-1,"aria-modal":v?void 0:O===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!rS(),J=ui.None;Z&&!v&&(J|=ui.RestoreFocus,J|=ui.TabLock,h&&(J|=ui.AutoFocus),Y&&(J|=ui.InitialFocus));let fe=er();return A.createElement(Hx,null,A.createElement(am,{force:!0},A.createElement(eS,null,A.createElement(Jp.Provider,{value:Le},A.createElement(Dv,{target:L},A.createElement(am,{force:!1},A.createElement(Re,{slot:q},A.createElement(re,null,A.createElement(lS,{initialFocus:p,initialFocusFallback:L,containers:De,features:J},A.createElement(Pw,{value:V},fe({ourProps:ve,theirProps:x,slot:q,defaultTag:ES,features:CS,visible:O===0,name:"Dialog"})))))))))))}),ES="div",CS=Dc.RenderStrategy|Dc.Static;function TS(e,t){let{transition:n=!1,open:a,...i}=e,c=tf(),p=e.hasOwnProperty("open")||c!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!c&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(a!==void 0||n)&&!i.static?A.createElement(im,null,A.createElement(bS,{show:a,transition:n,unmount:i.unmount},A.createElement(sm,{ref:t,...i}))):A.createElement(im,null,A.createElement(sm,{ref:t,open:a,...i}))}let RS="div";function PS(e,t){let n=A.useId(),{id:a=`headlessui-dialog-panel-${n}`,transition:i=!1,...c}=e,[{dialogState:p,unmount:m},h]=af("Dialog.Panel"),v=sn(t,h.panelRef),C=A.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:a,onClick:x},I=i?Kp:A.Fragment,L=i?{unmount:m}:{},D=er();return A.createElement(I,{...L},D({ourProps:F,theirProps:c,slot:C,defaultTag:RS,name:"Dialog.Panel"}))}let AS="div";function OS(e,t){let{transition:n=!1,...a}=e,[{dialogState:i,unmount:c}]=af("Dialog.Backdrop"),p=A.useMemo(()=>({open:i===0}),[i]),m={ref:t,"aria-hidden":!0},h=n?Kp:A.Fragment,v=n?{unmount:c}:{},C=er();return A.createElement(h,{...v},C({ourProps:m,theirProps:a,slot:p,defaultTag:AS,name:"Dialog.Backdrop"}))}let IS="h2";function FS(e,t){let n=A.useId(),{id:a=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:c,setTitleId:p}]=af("Dialog.Title"),m=sn(t);A.useEffect(()=>(p(a),()=>p(null)),[a,p]);let h=A.useMemo(()=>({open:c===0}),[c]),v={ref:m,id:a};return er()({ourProps:v,theirProps:i,slot:h,defaultTag:IS,name:"Dialog.Title"})}let MS=Dt(TS),Wv=Dt(PS),DS=Dt(OS),Vv=Dt(FS),_S=Object.assign(MS,{Panel:Wv,Title:Vv,Description:ov}),LS="div";function $S(e,t){let n=`headlessui-control-${A.useId()}`,[a,i]=Sw(),[c,p]=nv(),m=Gc(),{disabled:h=m||!1,...v}=e,C=A.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=er();return A.createElement(nw,{value:h},A.createElement(i,{value:a},A.createElement(p,{value:c},A.createElement(pw,{id:n},F({ourProps:x,theirProps:{...v,children:A.createElement(dw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:LS,name:"Field"})))))}let jS=Dt($S),NS="input";function zS(e,t){let n=A.useId(),a=Zg(),i=Gc(),{id:c=a||`headlessui-input-${n}`,disabled:p=i||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=sv(),x=yw(),{isFocused:F,focusProps:I}=q0({autoFocus:m}),{isHovered:L,hoverProps:D}=Z0({isDisabled:p}),T=sw({ref:t,id:c,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),O=A.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return er()({ourProps:T,theirProps:v,slot:O,defaultTag:NS,name:"Input"})}let BS=Dt(zS);const US="whitespace-nowrap font-normal flex items-center justify-center",HS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",WS="disabled:opacity-15 disabled:pointer-events-none",Gv=e=>e==="grayLight"||e==="warning",Yv=(e,t)=>!t||t==="none"?"":e(),VS=(e,t)=>Yv(()=>{const n=e==="gray400"?"gray":e,a=Gv(n)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${n}-800 text-white`:`hover:bg-${n}-800 active:bg-${n}-800 hover:text-white ${a}`:n==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${a}`:n==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${a}`:e==="gray400"?t?`bg-${n}-500 text-white`:`hover:bg-${n}-500 active:bg-${n}-500 hover:text-white ${a}`:t?`bg-${n}-700 text-white`:`hover:bg-${n}-600 active:bg-${n}-700 hover:text-white ${a}`},e),GS=e=>Yv(()=>{const t=Gv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),YS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",XS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",QS=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,KS=(e,t)=>({solid:GS(e),link:YS(e),linkHoverSolid:XS(e,t),outline:QS(e,t)}),JS={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"},ZS={none:"",default:"rounded",pill:"rounded-pill"},qS=({active:e=!1,children:t,color:n="primary",size:a="normal",category:i="solid",className:c,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=WS,I=/link/.test(i)?null:VS(n,e),L=HS,D=JS[a],T=(j=KS(n,e))==null?void 0:j[i],O=Fs(I,T),U=ZS[m];return K.jsx("button",{...C,style:{...h,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Fs(US,L,F,D,O,U,c,"cursor-pointer"),children:t})},fu=A.forwardRef(qS),ek=({isOpen:e,close:t,title:n,dismissOptions:a,confirmOptions:i,children:c,className:p})=>K.jsxs(_S,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[K.jsx(DS,{className:"fixed inset-0 bg-black/30"}),K.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:K.jsxs(Wv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[n&&K.jsx(Vv,{className:" text-gray-900 p-4",children:n}),K.jsx("div",{className:"p-4",children:c}),a||i?K.jsxs("div",{className:"flex gap-4 p-4",children:[a?K.jsx(fu,{className:"flex-1",onClick:()=>{a.onClick(),t()},size:"small",color:"secondary",children:a.label}):K.jsx(K.Fragment,{}),i?K.jsx(fu,{className:"flex-1",disabled:i.disabled,onClick:()=>{i.onClick(),t()},size:"small",color:"primary",children:i.label}):K.jsx(K.Fragment,{})]}):K.jsx(K.Fragment,{})]})})]}),tk=({type:e="text",className:t,label:n,description:a,error:i,...c})=>K.jsx("div",{className:"w-full max-w-md px-4",children:K.jsxs(jS,{children:[n&&K.jsx(Tw,{className:"font-medium text-gray-900",children:n}),a&&K.jsx(ov,{className:"text-sm text-secondary",children:a}),K.jsx(BS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,i&&"border-red-500 focus:border-red-500"),...c})]})}),rk=({onConfirm:e,onClose:t,isOpen:n,title:a})=>{const[i,c]=A.useState(""),[p,m]=A.useState(!1),[h,v]=A.useState(!1),C=async()=>{if(i)try{m(!0),await e(i),c("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return K.jsx(ek,{isOpen:n,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!i||h},children:K.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[K.jsxs("div",{children:[K.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":a||"Access Playbook"}),K.jsx("div",{className:"text-center",children:h?K.jsxs(K.Fragment,{children:[K.jsx("b",{children:i})," has already accessed a playbook. Contact Confidence to speak to representative."]}):K.jsx(K.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),K.jsx(tk,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>c(x.target.value)})]})})},Xv="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAYCAYAAADpnJ2CAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGpSURBVHgBpVbRdYMwDDR9/S8jeARGYIRuUDpBuwHJBGQDskG6ASOQDcwGdANVLnJRHdmIRO/dI8D5zgIhpTAbAQAlHiqEJUyEa1EU30YRqFHj4Q1xzJIQF8QMSziGEAPi1eTNPhi/lwglomOCDWUZc/yGzkEIYQWtlpnNNxwSGimL2ijCi7DMLbveR2aVtHiMFypN/UZPlLUlHR6iWXuPWaQRsuXRpIjyTb1ZDWuBQVaPnvfAzLs9mcL/SoTNzXMCLJ9CiFZh1glmh9yCmkhldB7CgVzyvlCGlBlEnxJf+IkYo2uNINSy+1JxcDOv2acMD0DvT2HqSCxpRmt9Q/iS/J5NIrBP+kX+J9+pRXQC/Yj8Q3TtReCZJ7M0YpsyxcO7yUfKbBLZmEUFrGgSHOnx+jgn+M4/epMRnLME8/euNWYhgSondpIKJ2HqclxYmsi4JRRaW3a2KTakb5FU7rczS29WUvb9nkUD3D+e9o82WNuVA+XkgKUVOnhktLGK/DWOK4421sDaSy+5z0praqlF8Rnn2PlMhvUe3UJDogwtImRxRUzav4k8fgCQHVaVoXL9RAAAAABJRU5ErkJggg==",nk=({btnClassName:e,buttonNode:t,size:n,playbookId:a,onInitiated:i,disabled:c,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=A.useState(!1),[C,x]=A.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:O,details:U,message:j}=await Tg({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:a})||{};if(O)throw new Error(`Error initiating playbook: ${j} (Code: ${O}) - Details: ${U}`);i(T)}finally{x(!1)}};return K.jsxs(K.Fragment,{children:[t?{buttonNode:t}:K.jsxs(fu,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:n,disabled:c||C,children:[K.jsx("img",{src:Xv,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),K.jsx(rk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
144
+ */var Vh;function Nw(){return Vh||(Vh=1,process.env.NODE_ENV!=="production"&&function(){function e(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var t=A,n=typeof Object.is=="function"?Object.is:e,i=t.useSyncExternalStore,a=t.useRef,c=t.useEffect,p=t.useMemo,m=t.useDebugValue;Ed.useSyncExternalStoreWithSelector=function(h,v,C,x,F){var I=a(null);if(I.current===null){var L={hasValue:!1,value:null};I.current=L}else L=I.current;I=p(function(){function T($){if(!O){if(O=!0,U=$,$=x($),F!==void 0&&L.hasValue){var J=L.value;if(F(J,$))return j=J}return j=$}if(J=j,n(U,$))return J;var ae=x($);return F!==void 0&&F(J,ae)?(U=$,J):(U=$,j=ae)}var O=!1,U,j,V=C===void 0?null:C;return[function(){return T(v())},V===null?void 0:function(){return T(V())}]},[v,C,x,F]);var D=i(h,I[0],I[1]);return c(function(){L.hasValue=!0,L.value=D},[D]),m(D),D},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),Ed}var Gh;function zw(){return Gh||(Gh=1,process.env.NODE_ENV==="production"?wc.exports=jw():wc.exports=Nw()),wc.exports}var Bw=zw();function mv(e,t,n=dv){return Bw.useSyncExternalStoreWithSelector(tt(i=>e.subscribe(Uw,i)),tt(()=>e.state),tt(()=>e.state),tt(t),n)}function Uw(e){return e}function wu(e,t){let n=A.useId(),i=hv.get(t),[a,c]=mv(i,A.useCallback(p=>[i.selectors.isTop(p,n),i.selectors.inStack(p,n)],[i,n]));return Mt(()=>{if(e)return i.actions.push(n),()=>i.actions.pop(n)},[i,e,n]),e?c?a:!0:!1}let ap=new Map,ru=new Map;function Yh(e){var t;let n=(t=ru.get(e))!=null?t:0;return ru.set(e,n+1),n!==0?()=>Xh(e):(ap.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0,()=>Xh(e))}function Xh(e){var t;let n=(t=ru.get(e))!=null?t:1;if(n===1?ru.delete(e):ru.set(e,n-1),n!==1)return;let i=ap.get(e);i&&(i["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,ap.delete(e))}function Hw(e,{allowed:t,disallowed:n}={}){let i=wu(e,"inert-others");Mt(()=>{var a,c;if(!i)return;let p=yo();for(let h of(a=n==null?void 0:n())!=null?a:[])h&&p.add(Yh(h));let m=(c=t==null?void 0:t())!=null?c:[];for(let h of m){if(!h)continue;let v=Hc(h);if(!v)continue;let C=h.parentElement;for(;C&&C!==v.body;){for(let x of C.children)m.some(F=>x.contains(F))||p.add(Yh(x));C=C.parentElement}}return p.dispose},[i,t,n])}function Ww(e,t,n){let i=Ra(a=>{let c=a.getBoundingClientRect();c.x===0&&c.y===0&&c.width===0&&c.height===0&&n()});A.useEffect(()=>{if(!e)return;let a=t===null?null:yi(t)?t:t.current;if(!a)return;let c=yo();if(typeof ResizeObserver<"u"){let p=new ResizeObserver(()=>i.current(a));p.observe(a),c.add(()=>p.disconnect())}if(typeof IntersectionObserver<"u"){let p=new IntersectionObserver(()=>i.current(a));p.observe(a),c.add(()=>p.disconnect())}return()=>c.dispose()},[t,i,e])}let _c=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),Vw=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var so=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(so||{}),sp=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(sp||{}),Gw=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(Gw||{});function Yw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(_c)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}function Xw(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(Vw)).sort((t,n)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(n.tabIndex||Number.MAX_SAFE_INTEGER)))}var gv=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(gv||{});function Qw(e,t=0){var n;return e===((n=Hc(e))==null?void 0:n.body)?!1:po(t,{0(){return e.matches(_c)},1(){let i=e;for(;i!==null;){if(i.matches(_c))return!0;i=i.parentElement}return!1}})}var qw=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(qw||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function uo(e){e==null||e.focus({preventScroll:!0})}let Kw=["textarea","input"].join(",");function Jw(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,Kw))!=null?n:!1}function Zw(e,t=n=>n){return e.slice().sort((n,i)=>{let a=t(n),c=t(i);if(a===null||c===null)return 0;let p=a.compareDocumentPosition(c);return p&Node.DOCUMENT_POSITION_FOLLOWING?-1:p&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function nu(e,t,{sorted:n=!0,relativeTo:i=null,skipElements:a=[]}={}){let c=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,p=Array.isArray(e)?n?Zw(e):e:t&64?Xw(e):Yw(e);a.length>0&&p.length>1&&(p=p.filter(I=>!a.some(L=>L!=null&&"current"in L?(L==null?void 0:L.current)===I:L===I))),i=i??c.activeElement;let m=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,p.indexOf(i))-1;if(t&4)return Math.max(0,p.indexOf(i))+1;if(t&8)return p.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=t&32?{preventScroll:!0}:{},C=0,x=p.length,F;do{if(C>=x||C+x<=0)return 0;let I=h+C;if(t&16)I=(I+x)%x;else{if(I<0)return 3;if(I>=x)return 1}F=p[I],F==null||F.focus(v),C+=m}while(F!==c.activeElement);return t&6&&Jw(F)&&F.select(),2}function vv(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function ex(){return/Android/gi.test(window.navigator.userAgent)}function Qh(){return vv()||ex()}function xc(e,t,n,i){let a=Ra(n);A.useEffect(()=>{if(!e)return;function c(p){a.current(p)}return document.addEventListener(t,c,i),()=>document.removeEventListener(t,c,i)},[e,t,i])}function yv(e,t,n,i){let a=Ra(n);A.useEffect(()=>{if(!e)return;function c(p){a.current(p)}return window.addEventListener(t,c,i),()=>window.removeEventListener(t,c,i)},[e,t,i])}const qh=30;function tx(e,t,n){let i=Ra(n),a=A.useCallback(function(m,h){if(m.defaultPrevented)return;let v=h(m);if(v===null||!v.getRootNode().contains(v)||!v.isConnected)return;let C=function x(F){return typeof F=="function"?x(F()):Array.isArray(F)||F instanceof Set?F:[F]}(t);for(let x of C)if(x!==null&&(x.contains(v)||m.composed&&m.composedPath().includes(x)))return;return!Qw(v,gv.Loose)&&v.tabIndex!==-1&&m.preventDefault(),i.current(m,v)},[i,t]),c=A.useRef(null);xc(e,"pointerdown",m=>{var h,v;Qh()||(c.current=((v=(h=m.composedPath)==null?void 0:h.call(m))==null?void 0:v[0])||m.target)},!0),xc(e,"pointerup",m=>{if(Qh()||!c.current)return;let h=c.current;return c.current=null,a(m,()=>h)},!0);let p=A.useRef({x:0,y:0});xc(e,"touchstart",m=>{p.current.x=m.touches[0].clientX,p.current.y=m.touches[0].clientY},!0),xc(e,"touchend",m=>{let h={x:m.changedTouches[0].clientX,y:m.changedTouches[0].clientY};if(!(Math.abs(h.x-p.current.x)>=qh||Math.abs(h.y-p.current.y)>=qh))return a(m,()=>gi(m.target)?m.target:null)},!0),yv(e,"blur",m=>a(m,()=>mw(window.document.activeElement)?window.document.activeElement:null),!0)}function Xc(...e){return A.useMemo(()=>Hc(...e),[...e])}function bv(e,t,n,i){let a=Ra(n);A.useEffect(()=>{e=e??window;function c(p){a.current(p)}return e.addEventListener(t,c,i),()=>e.removeEventListener(t,c,i)},[e,t,i])}function rx(e){return A.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot)}function nx(e,t){let n=e(),i=new Set;return{getSnapshot(){return n},subscribe(a){return i.add(a),()=>i.delete(a)},dispatch(a,...c){let p=t[a].call(n,...c);p&&(n=p,i.forEach(m=>m()))}}}function ox(){let e;return{before({doc:t}){var n;let i=t.documentElement,a=(n=t.defaultView)!=null?n:window;e=Math.max(0,a.innerWidth-i.clientWidth)},after({doc:t,d:n}){let i=t.documentElement,a=Math.max(0,i.clientWidth-i.offsetWidth),c=Math.max(0,e-a);n.style(i,"paddingRight",`${c}px`)}}}function ix(){return vv()?{before({doc:e,d:t,meta:n}){function i(a){return n.containers.flatMap(c=>c()).some(c=>c.contains(a))}t.microTask(()=>{var a;if(window.getComputedStyle(e.documentElement).scrollBehavior!=="auto"){let m=yo();m.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>m.dispose()))}let c=(a=window.scrollY)!=null?a:window.pageYOffset,p=null;t.addEventListener(e,"click",m=>{if(gi(m.target))try{let h=m.target.closest("a");if(!h)return;let{hash:v}=new URL(h.href),C=e.querySelector(v);gi(C)&&!i(C)&&(p=C)}catch{}},!0),t.addEventListener(e,"touchstart",m=>{if(gi(m.target)&&hw(m.target))if(i(m.target)){let h=m.target;for(;h.parentElement&&i(h.parentElement);)h=h.parentElement;t.style(h,"overscrollBehavior","contain")}else t.style(m.target,"touchAction","none")}),t.addEventListener(e,"touchmove",m=>{if(gi(m.target)){if(rv(m.target))return;if(i(m.target)){let h=m.target;for(;h.parentElement&&h.dataset.headlessuiPortal!==""&&!(h.scrollHeight>h.clientHeight||h.scrollWidth>h.clientWidth);)h=h.parentElement;h.dataset.headlessuiPortal===""&&m.preventDefault()}else m.preventDefault()}},{passive:!1}),t.add(()=>{var m;let h=(m=window.scrollY)!=null?m:window.pageYOffset;c!==h&&window.scrollTo(0,c),p&&p.isConnected&&(p.scrollIntoView({block:"nearest"}),p=null)})})}}:{}}function ax(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function sx(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let fa=nx(()=>new Map,{PUSH(e,t){var n;let i=(n=this.get(e))!=null?n:{doc:e,count:0,d:yo(),meta:new Set};return i.count++,i.meta.add(t),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let i={doc:e,d:t,meta:sx(n)},a=[ix(),ox(),ax()];a.forEach(({before:c})=>c==null?void 0:c(i)),a.forEach(({after:c})=>c==null?void 0:c(i))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});fa.subscribe(()=>{let e=fa.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let i=t.get(n.doc)==="hidden",a=n.count!==0;(a&&!i||!a&&i)&&fa.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&fa.dispatch("TEARDOWN",n)}});function lx(e,t,n=()=>({containers:[]})){let i=rx(fa),a=t?i.get(t):void 0,c=a?a.count>0:!1;return Mt(()=>{if(!(!t||!e))return fa.dispatch("PUSH",t,n),()=>fa.dispatch("POP",t,n)},[e,t]),c}function ux(e,t,n=()=>[document.body]){let i=wu(e,"scroll-lock");lx(i,t,a=>{var c;return{containers:[...(c=a.containers)!=null?c:[],n]}})}function cx(e=0){let[t,n]=A.useState(e),i=A.useCallback(h=>n(h),[t]),a=A.useCallback(h=>n(v=>v|h),[t]),c=A.useCallback(h=>(t&h)===h,[t]),p=A.useCallback(h=>n(v=>v&~h),[n]),m=A.useCallback(h=>n(v=>v^h),[n]);return{flags:t,setFlag:i,addFlag:a,hasFlag:c,removeFlag:p,toggleFlag:m}}var Kh,Jh;typeof process<"u"&&typeof globalThis<"u"&&typeof Element<"u"&&((Kh=process==null?void 0:process.env)==null?void 0:Kh.NODE_ENV)==="test"&&typeof((Jh=Element==null?void 0:Element.prototype)==null?void 0:Jh.getAnimations)>"u"&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
145
+ `)),[]});var fx=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(fx||{});function dx(e){let t={};for(let n in e)e[n]===!0&&(t[`data-${n}`]="");return t}function px(e,t,n,i){let[a,c]=A.useState(n),{hasFlag:p,addFlag:m,removeFlag:h}=cx(e&&a?3:0),v=A.useRef(!1),C=A.useRef(!1),x=Wp();return Mt(()=>{var F;if(e){if(n&&c(!0),!t){n&&m(3);return}return(F=i==null?void 0:i.start)==null||F.call(i,n),hx(t,{inFlight:v,prepare(){C.current?C.current=!1:C.current=v.current,v.current=!0,!C.current&&(n?(m(3),h(4)):(m(4),h(2)))},run(){C.current?n?(h(3),m(4)):(h(4),m(3)):n?h(1):m(1)},done(){var I;C.current&&typeof t.getAnimations=="function"&&t.getAnimations().length>0||(v.current=!1,h(7),n||c(!1),(I=i==null?void 0:i.end)==null||I.call(i,n))}})}},[e,n,t,x]),e?[a,{closed:p(1),enter:p(2),leave:p(4),transition:p(2)||p(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}function hx(e,{prepare:t,run:n,done:i,inFlight:a}){let c=yo();return gx(e,{prepare:t,inFlight:a}),c.nextFrame(()=>{n(),c.requestAnimationFrame(()=>{c.add(mx(e,i))})}),c.dispose}function mx(e,t){var n,i;let a=yo();if(!e)return a.dispose;let c=!1;a.add(()=>{c=!0});let p=(i=(n=e.getAnimations)==null?void 0:n.call(e).filter(m=>m instanceof CSSTransition))!=null?i:[];return p.length===0?(t(),a.dispose):(Promise.allSettled(p.map(m=>m.finished)).then(()=>{c||t()}),a.dispose)}function gx(e,{inFlight:t,prepare:n}){if(t!=null&&t.current){n();return}let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}function Vp(e,t){let n=A.useRef([]),i=tt(e);A.useEffect(()=>{let a=[...n.current];for(let[c,p]of t.entries())if(n.current[c]!==p){let m=i(t,a);return n.current=t,m}},[i,...t])}function Qc(){return typeof window<"u"}function el(e){return wv(e)?(e.nodeName||"").toLowerCase():"#document"}function wr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bo(e){var t;return(t=(wv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function wv(e){return Qc()?e instanceof Node||e instanceof wr(e).Node:!1}function ht(e){return Qc()?e instanceof Element||e instanceof wr(e).Element:!1}function an(e){return Qc()?e instanceof HTMLElement||e instanceof wr(e).HTMLElement:!1}function lp(e){return!Qc()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wr(e).ShadowRoot}function xu(e){const{overflow:t,overflowX:n,overflowY:i,display:a}=zr(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(a)}function vx(e){return["table","td","th"].includes(el(e))}function qc(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Gp(e){const t=Kc(),n=ht(e)?zr(e):e;return["transform","translate","scale","rotate","perspective"].some(i=>n[i]?n[i]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(i=>(n.willChange||"").includes(i))||["paint","layout","strict","content"].some(i=>(n.contain||"").includes(i))}function yx(e){let t=ho(e);for(;an(t)&&!co(t);){if(Gp(t))return t;if(qc(t))return null;t=ho(t)}return null}function Kc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function co(e){return["html","body","#document"].includes(el(e))}function zr(e){return wr(e).getComputedStyle(e)}function Jc(e){return ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ho(e){if(el(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lp(e)&&e.host||bo(e);return lp(t)?t.host:t}function xv(e){const t=ho(e);return co(t)?e.ownerDocument?e.ownerDocument.body:e.body:an(t)&&xu(t)?t:xv(t)}function Ms(e,t,n){var i;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=xv(e),c=a===((i=e.ownerDocument)==null?void 0:i.body),p=wr(a);if(c){const m=up(p);return t.concat(p,p.visualViewport||[],xu(a)?a:[],m&&n?Ms(m):[])}return t.concat(a,Ms(a,[],n))}function up(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const Zh=Math.min,ou=Math.max,Lc=Math.round,On=e=>({x:e,y:e});function Sv(e){return e.split("-")[0]}function bx(e){return e.split("-")[1]}function wx(e){return e==="x"?"y":"x"}function xx(e){return e==="y"?"height":"width"}function kv(e){return["top","bottom"].includes(Sv(e))?"y":"x"}function Sx(e){return wx(kv(e))}function Ev(e){const{x:t,y:n,width:i,height:a}=e;return{width:i,height:a,top:n,left:t,right:t+i,bottom:n+a,x:t,y:n}}function em(e,t,n){let{reference:i,floating:a}=e;const c=kv(t),p=Sx(t),m=xx(p),h=Sv(t),v=c==="y",C=i.x+i.width/2-a.width/2,x=i.y+i.height/2-a.height/2,F=i[m]/2-a[m]/2;let I;switch(h){case"top":I={x:C,y:i.y-a.height};break;case"bottom":I={x:C,y:i.y+i.height};break;case"right":I={x:i.x+i.width,y:x};break;case"left":I={x:i.x-a.width,y:x};break;default:I={x:i.x,y:i.y}}switch(bx(t)){case"start":I[p]-=F*(n&&v?-1:1);break;case"end":I[p]+=F*(n&&v?-1:1);break}return I}const kx=async(e,t,n)=>{const{placement:i="bottom",strategy:a="absolute",middleware:c=[],platform:p}=n,m=c.filter(Boolean),h=await(p.isRTL==null?void 0:p.isRTL(t));let v=await p.getElementRects({reference:e,floating:t,strategy:a}),{x:C,y:x}=em(v,i,h),F=i,I={},L=0;for(let D=0;D<m.length;D++){const{name:T,fn:O}=m[D],{x:U,y:j,data:V,reset:$}=await O({x:C,y:x,initialPlacement:i,placement:F,strategy:a,middlewareData:I,rects:v,platform:p,elements:{reference:e,floating:t}});C=U??C,x=j??x,I={...I,[T]:{...I[T],...V}},$&&L<=50&&(L++,typeof $=="object"&&($.placement&&(F=$.placement),$.rects&&(v=$.rects===!0?await p.getElementRects({reference:e,floating:t,strategy:a}):$.rects),{x:C,y:x}=em(v,F,h)),D=-1)}return{x:C,y:x,placement:F,strategy:a,middlewareData:I}};function Cv(e){const t=zr(e);let n=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const a=an(e),c=a?e.offsetWidth:n,p=a?e.offsetHeight:i,m=Lc(n)!==c||Lc(i)!==p;return m&&(n=c,i=p),{width:n,height:i,$:m}}function Tv(e){return ht(e)?e:e.contextElement}function Ds(e){const t=Tv(e);if(!an(t))return On(1);const n=t.getBoundingClientRect(),{width:i,height:a,$:c}=Cv(t);let p=(c?Lc(n.width):n.width)/i,m=(c?Lc(n.height):n.height)/a;return(!p||!Number.isFinite(p))&&(p=1),(!m||!Number.isFinite(m))&&(m=1),{x:p,y:m}}const Ex=On(0);function Rv(e){const t=wr(e);return!Kc()||!t.visualViewport?Ex:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Cx(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wr(e)?!1:t}function cu(e,t,n,i){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),c=Tv(e);let p=On(1);t&&(i?ht(i)&&(p=Ds(i)):p=Ds(e));const m=Cx(c,n,i)?Rv(c):On(0);let h=(a.left+m.x)/p.x,v=(a.top+m.y)/p.y,C=a.width/p.x,x=a.height/p.y;if(c){const F=wr(c),I=i&&ht(i)?wr(i):i;let L=F,D=up(L);for(;D&&i&&I!==L;){const T=Ds(D),O=D.getBoundingClientRect(),U=zr(D),j=O.left+(D.clientLeft+parseFloat(U.paddingLeft))*T.x,V=O.top+(D.clientTop+parseFloat(U.paddingTop))*T.y;h*=T.x,v*=T.y,C*=T.x,x*=T.y,h+=j,v+=V,L=wr(D),D=up(L)}}return Ev({width:C,height:x,x:h,y:v})}function Yp(e,t){const n=Jc(e).scrollLeft;return t?t.left+n:cu(bo(e)).left+n}function Pv(e,t,n){n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=i.left+t.scrollLeft-(n?0:Yp(e,i)),c=i.top+t.scrollTop;return{x:a,y:c}}function Tx(e){let{elements:t,rect:n,offsetParent:i,strategy:a}=e;const c=a==="fixed",p=bo(i),m=t?qc(t.floating):!1;if(i===p||m&&c)return n;let h={scrollLeft:0,scrollTop:0},v=On(1);const C=On(0),x=an(i);if((x||!x&&!c)&&((el(i)!=="body"||xu(p))&&(h=Jc(i)),an(i))){const I=cu(i);v=Ds(i),C.x=I.x+i.clientLeft,C.y=I.y+i.clientTop}const F=p&&!x&&!c?Pv(p,h,!0):On(0);return{width:n.width*v.x,height:n.height*v.y,x:n.x*v.x-h.scrollLeft*v.x+C.x+F.x,y:n.y*v.y-h.scrollTop*v.y+C.y+F.y}}function Rx(e){return Array.from(e.getClientRects())}function Px(e){const t=bo(e),n=Jc(e),i=e.ownerDocument.body,a=ou(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),c=ou(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let p=-n.scrollLeft+Yp(e);const m=-n.scrollTop;return zr(i).direction==="rtl"&&(p+=ou(t.clientWidth,i.clientWidth)-a),{width:a,height:c,x:p,y:m}}function Ax(e,t){const n=wr(e),i=bo(e),a=n.visualViewport;let c=i.clientWidth,p=i.clientHeight,m=0,h=0;if(a){c=a.width,p=a.height;const v=Kc();(!v||v&&t==="fixed")&&(m=a.offsetLeft,h=a.offsetTop)}return{width:c,height:p,x:m,y:h}}function Ox(e,t){const n=cu(e,!0,t==="fixed"),i=n.top+e.clientTop,a=n.left+e.clientLeft,c=an(e)?Ds(e):On(1),p=e.clientWidth*c.x,m=e.clientHeight*c.y,h=a*c.x,v=i*c.y;return{width:p,height:m,x:h,y:v}}function tm(e,t,n){let i;if(t==="viewport")i=Ax(e,n);else if(t==="document")i=Px(bo(e));else if(ht(t))i=Ox(t,n);else{const a=Rv(e);i={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Ev(i)}function Av(e,t){const n=ho(e);return n===t||!ht(n)||co(n)?!1:zr(n).position==="fixed"||Av(n,t)}function Ix(e,t){const n=t.get(e);if(n)return n;let i=Ms(e,[],!1).filter(m=>ht(m)&&el(m)!=="body"),a=null;const c=zr(e).position==="fixed";let p=c?ho(e):e;for(;ht(p)&&!co(p);){const m=zr(p),h=Gp(p);!h&&m.position==="fixed"&&(a=null),(c?!h&&!a:!h&&m.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||xu(p)&&!h&&Av(e,p))?i=i.filter(C=>C!==p):a=m,p=ho(p)}return t.set(e,i),i}function Fx(e){let{element:t,boundary:n,rootBoundary:i,strategy:a}=e;const p=[...n==="clippingAncestors"?qc(t)?[]:Ix(t,this._c):[].concat(n),i],m=p[0],h=p.reduce((v,C)=>{const x=tm(t,C,a);return v.top=ou(x.top,v.top),v.right=Zh(x.right,v.right),v.bottom=Zh(x.bottom,v.bottom),v.left=ou(x.left,v.left),v},tm(t,m,a));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function Mx(e){const{width:t,height:n}=Cv(e);return{width:t,height:n}}function Dx(e,t,n){const i=an(t),a=bo(t),c=n==="fixed",p=cu(e,!0,c,t);let m={scrollLeft:0,scrollTop:0};const h=On(0);function v(){h.x=Yp(a)}if(i||!i&&!c)if((el(t)!=="body"||xu(a))&&(m=Jc(t)),i){const I=cu(t,!0,c,t);h.x=I.x+t.clientLeft,h.y=I.y+t.clientTop}else a&&v();c&&!i&&a&&v();const C=a&&!i&&!c?Pv(a,m):On(0),x=p.left+m.scrollLeft-h.x-C.x,F=p.top+m.scrollTop-h.y-C.y;return{x,y:F,width:p.width,height:p.height}}function Cd(e){return zr(e).position==="static"}function rm(e,t){if(!an(e)||zr(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return bo(e)===n&&(n=n.ownerDocument.body),n}function Ov(e,t){const n=wr(e);if(qc(e))return n;if(!an(e)){let a=ho(e);for(;a&&!co(a);){if(ht(a)&&!Cd(a))return a;a=ho(a)}return n}let i=rm(e,t);for(;i&&vx(i)&&Cd(i);)i=rm(i,t);return i&&co(i)&&Cd(i)&&!Gp(i)?n:i||yx(e)||n}const _x=async function(e){const t=this.getOffsetParent||Ov,n=this.getDimensions,i=await n(e.floating);return{reference:Dx(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Lx(e){return zr(e).direction==="rtl"}const $x={convertOffsetParentRelativeRectToViewportRelativeRect:Tx,getDocumentElement:bo,getClippingRect:Fx,getOffsetParent:Ov,getElementRects:_x,getClientRects:Rx,getDimensions:Mx,getScale:Ds,isElement:ht,isRTL:Lx},jx=(e,t,n)=>{const i=new Map,a={platform:$x,...n},c={...a.platform,_c:i};return kx(e,t,{...a,platform:c})};var Nx=typeof document<"u",zx=function(){},Cc=Nx?A.useLayoutEffect:zx;function $c(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,i,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(i=n;i--!==0;)if(!$c(e[i],t[i]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!{}.hasOwnProperty.call(t,a[i]))return!1;for(i=n;i--!==0;){const c=a[i];if(!(c==="_owner"&&e.$$typeof)&&!$c(e[c],t[c]))return!1}return!0}return e!==e&&t!==t}function Iv(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function nm(e,t){const n=Iv(e);return Math.round(t*n)/n}function Td(e){const t=pe.useRef(e);return Cc(()=>{t.current=e}),t}function Bx(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:a,elements:{reference:c,floating:p}={},transform:m=!0,whileElementsMounted:h,open:v}=e,[C,x]=pe.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[F,I]=pe.useState(i);$c(F,i)||I(i);const[L,D]=pe.useState(null),[T,O]=pe.useState(null),U=pe.useCallback(Z=>{Z!==J.current&&(J.current=Z,D(Z))},[]),j=pe.useCallback(Z=>{Z!==ae.current&&(ae.current=Z,O(Z))},[]),V=c||L,$=p||T,J=pe.useRef(null),ae=pe.useRef(null),re=pe.useRef(C),le=h!=null,ye=Td(h),De=Td(a),Fe=Td(v),$e=pe.useCallback(()=>{if(!J.current||!ae.current)return;const Z={placement:t,strategy:n,middleware:F};De.current&&(Z.platform=De.current),jx(J.current,ae.current,Z).then(ve=>{const Y={...ve,isPositioned:Fe.current!==!1};ze.current&&!$c(re.current,Y)&&(re.current=Y,Ny.flushSync(()=>{x(Y)}))})},[F,t,n,De,Fe]);Cc(()=>{v===!1&&re.current.isPositioned&&(re.current.isPositioned=!1,x(Z=>({...Z,isPositioned:!1})))},[v]);const ze=pe.useRef(!1);Cc(()=>(ze.current=!0,()=>{ze.current=!1}),[]),Cc(()=>{if(V&&(J.current=V),$&&(ae.current=$),V&&$){if(ye.current)return ye.current(V,$,$e);$e()}},[V,$,$e,ye,le]);const xe=pe.useMemo(()=>({reference:J,floating:ae,setReference:U,setFloating:j}),[U,j]),Re=pe.useMemo(()=>({reference:V,floating:$}),[V,$]),Le=pe.useMemo(()=>{const Z={position:n,left:0,top:0};if(!Re.floating)return Z;const ve=nm(Re.floating,C.x),Y=nm(Re.floating,C.y);return m?{...Z,transform:"translate("+ve+"px, "+Y+"px)",...Iv(Re.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:ve,top:Y}},[n,m,Re.floating,C.x,C.y]);return pe.useMemo(()=>({...C,update:$e,refs:xe,elements:Re,floatingStyles:Le}),[C,$e,xe,Re,Le])}let Zc=A.createContext(null);Zc.displayName="OpenClosedContext";var on=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(on||{});function ef(){return A.useContext(Zc)}function Ux({value:e,children:t}){return A.createElement(Zc.Provider,{value:e},t)}function Hx({children:e}){return A.createElement(Zc.Provider,{value:null},e)}function Wx(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}let oi=[];Wx(()=>{function e(t){if(!gi(t.target)||t.target===document.body||oi[0]===t.target)return;let n=t.target;n=n.closest(_c),oi.unshift(n??t.target),oi=oi.filter(i=>i!=null&&i.isConnected),oi.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Fv(e){let t=tt(e),n=A.useRef(!1);A.useEffect(()=>(n.current=!1,()=>{n.current=!0,Wc(()=>{n.current&&t()})}),[t])}function Vx(){let e=typeof document>"u";return"useSyncExternalStore"in pe?(t=>t.useSyncExternalStore)(pe)(()=>()=>{},()=>!1,()=>!e):!1}function Su(){let e=Vx(),[t,n]=pe.useState(xa.isHandoffComplete);return t&&xa.isHandoffComplete===!1&&n(!1),pe.useEffect(()=>{t!==!0&&n(!0)},[t]),pe.useEffect(()=>xa.handoff(),[]),e?!1:t}let Mv=A.createContext(!1);function Gx(){return A.useContext(Mv)}function om(e){return A.createElement(Mv.Provider,{value:e.force},e.children)}function Yx(e){let t=Gx(),n=A.useContext(_v),[i,a]=A.useState(()=>{var c;if(!t&&n!==null)return(c=n.current)!=null?c:null;if(xa.isServer)return null;let p=e==null?void 0:e.getElementById("headlessui-portal-root");if(p)return p;if(e===null)return null;let m=e.createElement("div");return m.setAttribute("id","headlessui-portal-root"),e.body.appendChild(m)});return A.useEffect(()=>{i!==null&&(e!=null&&e.body.contains(i)||e==null||e.body.appendChild(i))},[i,e]),A.useEffect(()=>{t||n!==null&&a(n.current)},[n,a,t]),i}let Dv=A.Fragment,Xx=Dt(function(e,t){let{ownerDocument:n=null,...i}=e,a=A.useRef(null),c=sn(vw(I=>{a.current=I}),t),p=Xc(a),m=n??p,h=Yx(m),[v]=A.useState(()=>{var I;return xa.isServer?null:(I=m==null?void 0:m.createElement("div"))!=null?I:null}),C=A.useContext(cp),x=Su();Mt(()=>{!h||!v||h.contains(v)||(v.setAttribute("data-headlessui-portal",""),h.appendChild(v))},[h,v]),Mt(()=>{if(v&&C)return C.register(v)},[C,v]),Fv(()=>{var I;!h||!v||(tv(v)&&h.contains(v)&&h.removeChild(v),h.childNodes.length<=0&&((I=h.parentElement)==null||I.removeChild(h)))});let F=er();return x?!h||!v?null:Bc.createPortal(F({ourProps:{ref:c},theirProps:i,slot:{},defaultTag:Dv,name:"Portal"}),v):null});function Qx(e,t){let n=sn(t),{enabled:i=!0,ownerDocument:a,...c}=e,p=er();return i?A.createElement(Xx,{...c,ownerDocument:a,ref:n}):p({ourProps:{ref:n},theirProps:c,slot:{},defaultTag:Dv,name:"Portal"})}let qx=A.Fragment,_v=A.createContext(null);function Kx(e,t){let{target:n,...i}=e,a={ref:sn(t)},c=er();return A.createElement(_v.Provider,{value:n},c({ourProps:a,theirProps:i,defaultTag:qx,name:"Popover.Group"}))}let cp=A.createContext(null);function Jx(){let e=A.useContext(cp),t=A.useRef([]),n=tt(c=>(t.current.push(c),e&&e.register(c),()=>i(c))),i=tt(c=>{let p=t.current.indexOf(c);p!==-1&&t.current.splice(p,1),e&&e.unregister(c)}),a=A.useMemo(()=>({register:n,unregister:i,portals:t}),[n,i,t]);return[t,A.useMemo(()=>function({children:c}){return A.createElement(cp.Provider,{value:a},c)},[a])]}let Zx=Dt(Qx),Lv=Dt(Kx),eS=Object.assign(Zx,{Group:Lv});function tS(e,t=typeof document<"u"?document.defaultView:null,n){let i=wu(e,"escape");bv(t,"keydown",a=>{i&&(a.defaultPrevented||a.key===sv.Escape&&n(a))})}function rS(){var e;let[t]=A.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,i]=A.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Mt(()=>{if(!t)return;function a(c){i(c.matches)}return t.addEventListener("change",a),()=>t.removeEventListener("change",a)},[t]),n}function nS({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let i=Xc(n),a=tt(()=>{var c,p;let m=[];for(let h of e)h!==null&&(lo(h)?m.push(h):"current"in h&&lo(h.current)&&m.push(h.current));if(t!=null&&t.current)for(let h of t.current)m.push(h);for(let h of(c=i==null?void 0:i.querySelectorAll("html > *, body > *"))!=null?c:[])h!==document.body&&h!==document.head&&lo(h)&&h.id!=="headlessui-portal-root"&&(n&&(h.contains(n)||h.contains((p=n==null?void 0:n.getRootNode())==null?void 0:p.host))||m.some(v=>h.contains(v))||m.push(h));return m});return{resolveContainers:a,contains:tt(c=>a().some(p=>p.contains(c)))}}let $v=A.createContext(null);function im({children:e,node:t}){let[n,i]=A.useState(null),a=jv(t??n);return A.createElement($v.Provider,{value:a},e,a===null&&A.createElement(Dc,{features:uu.Hidden,ref:c=>{var p,m;if(c){for(let h of(m=(p=Hc(c))==null?void 0:p.querySelectorAll("html > *, body > *"))!=null?m:[])if(h!==document.body&&h!==document.head&&lo(h)&&h!=null&&h.contains(c)){i(h);break}}}}))}function jv(e=null){var t;return(t=A.useContext($v))!=null?t:e}function Xp(){let e=A.useRef(!1);return Mt(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Jl=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(Jl||{});function oS(){let e=A.useRef(0);return yv(!0,"keydown",t=>{t.key==="Tab"&&(e.current=t.shiftKey?1:0)},!0),e}function Nv(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)lo(n.current)&&t.add(n.current);return t}let iS="div";var ua=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(ua||{});function aS(e,t){let n=A.useRef(null),i=sn(n,t),{initialFocus:a,initialFocusFallback:c,containers:p,features:m=15,...h}=e;Su()||(m=0);let v=Xc(n);cS(m,{ownerDocument:v});let C=fS(m,{ownerDocument:v,container:n,initialFocus:a,initialFocusFallback:c});dS(m,{ownerDocument:v,container:n,containers:p,previousActiveElement:C});let x=oS(),F=tt(U=>{if(!yi(n.current))return;let j=n.current;(V=>V())(()=>{po(x.current,{[Jl.Forwards]:()=>{nu(j,so.First,{skipElements:[U.relatedTarget,c]})},[Jl.Backwards]:()=>{nu(j,so.Last,{skipElements:[U.relatedTarget,c]})}})})}),I=wu(!!(m&2),"focus-trap#tab-lock"),L=Wp(),D=A.useRef(!1),T={ref:i,onKeyDown(U){U.key=="Tab"&&(D.current=!0,L.requestAnimationFrame(()=>{D.current=!1}))},onBlur(U){if(!(m&4))return;let j=Nv(p);yi(n.current)&&j.add(n.current);let V=U.relatedTarget;gi(V)&&V.dataset.headlessuiFocusGuard!=="true"&&(zv(j,V)||(D.current?nu(n.current,po(x.current,{[Jl.Forwards]:()=>so.Next,[Jl.Backwards]:()=>so.Previous})|so.WrapAround,{relativeTo:U.target}):gi(U.target)&&uo(U.target)))}},O=er();return A.createElement(A.Fragment,null,I&&A.createElement(Dc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}),O({ourProps:T,theirProps:h,defaultTag:iS,name:"FocusTrap"}),I&&A.createElement(Dc,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:F,features:uu.Focusable}))}let sS=Dt(aS),lS=Object.assign(sS,{features:ua});function uS(e=!0){let t=A.useRef(oi.slice());return Vp(([n],[i])=>{i===!0&&n===!1&&Wc(()=>{t.current.splice(0)}),i===!1&&n===!0&&(t.current=oi.slice())},[e,oi,t]),tt(()=>{var n;return(n=t.current.find(i=>i!=null&&i.isConnected))!=null?n:null})}function cS(e,{ownerDocument:t}){let n=!!(e&8),i=uS(n);Vp(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&uo(i())},[n]),Fv(()=>{n&&uo(i())})}function fS(e,{ownerDocument:t,container:n,initialFocus:i,initialFocusFallback:a}){let c=A.useRef(null),p=wu(!!(e&1),"focus-trap#initial-focus"),m=Xp();return Vp(()=>{if(e===0)return;if(!p){a!=null&&a.current&&uo(a.current);return}let h=n.current;h&&Wc(()=>{if(!m.current)return;let v=t==null?void 0:t.activeElement;if(i!=null&&i.current){if((i==null?void 0:i.current)===v){c.current=v;return}}else if(h.contains(v)){c.current=v;return}if(i!=null&&i.current)uo(i.current);else{if(e&16){if(nu(h,so.First|so.AutoFocus)!==sp.Error)return}else if(nu(h,so.First)!==sp.Error)return;if(a!=null&&a.current&&(uo(a.current),(t==null?void 0:t.activeElement)===a.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}c.current=t==null?void 0:t.activeElement})},[a,p,e]),c}function dS(e,{ownerDocument:t,container:n,containers:i,previousActiveElement:a}){let c=Xp(),p=!!(e&4);bv(t==null?void 0:t.defaultView,"focus",m=>{if(!p||!c.current)return;let h=Nv(i);yi(n.current)&&h.add(n.current);let v=a.current;if(!v)return;let C=m.target;yi(C)?zv(h,C)?(a.current=C,uo(C)):(m.preventDefault(),m.stopPropagation(),uo(v)):uo(a.current)},!0)}function zv(e,t){for(let n of e)if(n.contains(t))return!0;return!1}function Bv(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||((t=e.as)!=null?t:Hv)!==A.Fragment||A.Children.count(e.children)===1}let tf=A.createContext(null);tf.displayName="TransitionContext";var pS=(e=>(e.Visible="visible",e.Hidden="hidden",e))(pS||{});function hS(){let e=A.useContext(tf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}function mS(){let e=A.useContext(rf);if(e===null)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}let rf=A.createContext(null);rf.displayName="NestingContext";function nf(e){return"children"in e?nf(e.children):e.current.filter(({el:t})=>t.current!==null).filter(({state:t})=>t==="visible").length>0}function Uv(e,t){let n=Ra(e),i=A.useRef([]),a=Xp(),c=Wp(),p=tt((I,L=mi.Hidden)=>{let D=i.current.findIndex(({el:T})=>T===I);D!==-1&&(po(L,{[mi.Unmount](){i.current.splice(D,1)},[mi.Hidden](){i.current[D].state="hidden"}}),c.microTask(()=>{var T;!nf(i)&&a.current&&((T=n.current)==null||T.call(n))}))}),m=tt(I=>{let L=i.current.find(({el:D})=>D===I);return L?L.state!=="visible"&&(L.state="visible"):i.current.push({el:I,state:"visible"}),()=>p(I,mi.Unmount)}),h=A.useRef([]),v=A.useRef(Promise.resolve()),C=A.useRef({enter:[],leave:[]}),x=tt((I,L,D)=>{h.current.splice(0),t&&(t.chains.current[L]=t.chains.current[L].filter(([T])=>T!==I)),t==null||t.chains.current[L].push([I,new Promise(T=>{h.current.push(T)})]),t==null||t.chains.current[L].push([I,new Promise(T=>{Promise.all(C.current[L].map(([O,U])=>U)).then(()=>T())})]),L==="enter"?v.current=v.current.then(()=>t==null?void 0:t.wait.current).then(()=>D(L)):D(L)}),F=tt((I,L,D)=>{Promise.all(C.current[L].splice(0).map(([T,O])=>O)).then(()=>{var T;(T=h.current.shift())==null||T()}).then(()=>D(L))});return A.useMemo(()=>({children:i,register:m,unregister:p,onStart:x,onStop:F,wait:v,chains:C}),[m,p,i,x,F,C,v])}let Hv=A.Fragment,Wv=Mc.RenderStrategy;function gS(e,t){var n,i;let{transition:a=!0,beforeEnter:c,afterEnter:p,beforeLeave:m,afterLeave:h,enter:v,enterFrom:C,enterTo:x,entered:F,leave:I,leaveFrom:L,leaveTo:D,...T}=e,[O,U]=A.useState(null),j=A.useRef(null),V=Bv(e),$=sn(...V?[j,t,U]:t===null?[]:[t]),J=(n=T.unmount)==null||n?mi.Unmount:mi.Hidden,{show:ae,appear:re,initial:le}=hS(),[ye,De]=A.useState(ae?"visible":"hidden"),Fe=mS(),{register:$e,unregister:ze}=Fe;Mt(()=>$e(j),[$e,j]),Mt(()=>{if(J===mi.Hidden&&j.current){if(ae&&ye!=="visible"){De("visible");return}return po(ye,{hidden:()=>ze(j),visible:()=>$e(j)})}},[ye,j,$e,ze,ae,J]);let xe=Su();Mt(()=>{if(V&&xe&&ye==="visible"&&j.current===null)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[j,ye,xe,V]);let Re=le&&!re,Le=re&&ae&&le,Z=A.useRef(!1),ve=Uv(()=>{Z.current||(De("hidden"),ze(j))},Fe),Y=tt(ce=>{Z.current=!0;let Ee=ce?"enter":"leave";ve.onStart(j,Ee,Se=>{Se==="enter"?c==null||c():Se==="leave"&&(m==null||m())})}),K=tt(ce=>{let Ee=ce?"enter":"leave";Z.current=!1,ve.onStop(j,Ee,Se=>{Se==="enter"?p==null||p():Se==="leave"&&(h==null||h())}),Ee==="leave"&&!nf(ve)&&(De("hidden"),ze(j))});A.useEffect(()=>{V&&a||(Y(ae),K(ae))},[ae,V,a]);let fe=!(!a||!V||!xe||Re),[,te]=px(fe,O,ae,{start:Y,end:K}),he=la({ref:$,className:((i=ip(T.className,Le&&v,Le&&C,te.enter&&v,te.enter&&te.closed&&C,te.enter&&!te.closed&&x,te.leave&&I,te.leave&&!te.closed&&L,te.leave&&te.closed&&D,!te.transition&&ae&&F))==null?void 0:i.trim())||void 0,...dx(te)}),me=0;ye==="visible"&&(me|=on.Open),ye==="hidden"&&(me|=on.Closed),ae&&ye==="hidden"&&(me|=on.Opening),!ae&&ye==="visible"&&(me|=on.Closing);let ue=er();return A.createElement(rf.Provider,{value:ve},A.createElement(Ux,{value:me},ue({ourProps:he,theirProps:T,defaultTag:Hv,features:Wv,visible:ye==="visible",name:"Transition.Child"})))}function vS(e,t){let{show:n,appear:i=!1,unmount:a=!0,...c}=e,p=A.useRef(null),m=Bv(e),h=sn(...m?[p,t]:t===null?[]:[t]);Su();let v=ef();if(n===void 0&&v!==null&&(n=(v&on.Open)===on.Open),n===void 0)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[C,x]=A.useState(n?"visible":"hidden"),F=Uv(()=>{n||x("hidden")}),[I,L]=A.useState(!0),D=A.useRef([n]);Mt(()=>{I!==!1&&D.current[D.current.length-1]!==n&&(D.current.push(n),L(!1))},[D,n]);let T=A.useMemo(()=>({show:n,appear:i,initial:I}),[n,i,I]);Mt(()=>{n?x("visible"):!nf(F)&&p.current!==null&&x("hidden")},[n,F]);let O={unmount:a},U=tt(()=>{var $;I&&L(!1),($=e.beforeEnter)==null||$.call(e)}),j=tt(()=>{var $;I&&L(!1),($=e.beforeLeave)==null||$.call(e)}),V=er();return A.createElement(rf.Provider,{value:F},A.createElement(tf.Provider,{value:T},V({ourProps:{...O,as:A.Fragment,children:A.createElement(Vv,{ref:h,...O,...c,beforeEnter:U,beforeLeave:j})},theirProps:{},defaultTag:A.Fragment,features:Wv,visible:C==="visible",name:"Transition"})))}function yS(e,t){let n=A.useContext(tf)!==null,i=ef()!==null;return A.createElement(A.Fragment,null,!n&&i?A.createElement(fp,{ref:t,...e}):A.createElement(Vv,{ref:t,...e}))}let fp=Dt(vS),Vv=Dt(gS),Qp=Dt(yS),bS=Object.assign(fp,{Child:Qp,Root:fp});var wS=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wS||{}),xS=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(xS||{});let SS={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},qp=A.createContext(null);qp.displayName="DialogContext";function of(e){let t=A.useContext(qp);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,of),n}return t}function kS(e,t){return po(t.type,SS,e,t)}let am=Dt(function(e,t){let n=A.useId(),{id:i=`headlessui-dialog-${n}`,open:a,onClose:c,initialFocus:p,role:m="dialog",autoFocus:h=!0,__demoMode:v=!1,unmount:C=!1,...x}=e,F=A.useRef(!1);m=function(){return m==="dialog"||m==="alertdialog"?m:(F.current||(F.current=!0,console.warn(`Invalid role [${m}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let I=ef();a===void 0&&I!==null&&(a=(I&on.Open)===on.Open);let L=A.useRef(null),D=sn(L,t),T=Xc(L),O=a?0:1,[U,j]=A.useReducer(kS,{titleId:null,descriptionId:null,panelRef:A.createRef()}),V=tt(()=>c(!1)),$=tt(te=>j({type:0,id:te})),J=Su()?O===0:!1,[ae,re]=Jx(),le={get current(){var te;return(te=U.panelRef.current)!=null?te:L.current}},ye=jv(),{resolveContainers:De}=nS({mainTreeNode:ye,portals:ae,defaultContainers:[le]}),Fe=I!==null?(I&on.Closing)===on.Closing:!1;Hw(v||Fe?!1:J,{allowed:tt(()=>{var te,he;return[(he=(te=L.current)==null?void 0:te.closest("[data-headlessui-portal]"))!=null?he:null]}),disallowed:tt(()=>{var te;return[(te=ye==null?void 0:ye.closest("body > *:not(#headlessui-portal-root)"))!=null?te:null]})});let $e=hv.get(null);Mt(()=>{if(J)return $e.actions.push(i),()=>$e.actions.pop(i)},[$e,i,J]);let ze=mv($e,A.useCallback(te=>$e.selectors.isTop(te,i),[$e,i]));tx(ze,De,te=>{te.preventDefault(),V()}),tS(ze,T==null?void 0:T.defaultView,te=>{te.preventDefault(),te.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),V()}),ux(v||Fe?!1:J,T,De),Ww(J,L,V);let[xe,Re]=iv(),Le=A.useMemo(()=>[{dialogState:O,close:V,setTitleId:$,unmount:C},U],[O,U,V,$,C]),Z=A.useMemo(()=>({open:O===0}),[O]),ve={ref:D,id:i,role:m,tabIndex:-1,"aria-modal":v?void 0:O===0?!0:void 0,"aria-labelledby":U.titleId,"aria-describedby":xe,unmount:C},Y=!rS(),K=ua.None;J&&!v&&(K|=ua.RestoreFocus,K|=ua.TabLock,h&&(K|=ua.AutoFocus),Y&&(K|=ua.InitialFocus));let fe=er();return A.createElement(Hx,null,A.createElement(om,{force:!0},A.createElement(eS,null,A.createElement(qp.Provider,{value:Le},A.createElement(Lv,{target:L},A.createElement(om,{force:!1},A.createElement(Re,{slot:Z},A.createElement(re,null,A.createElement(lS,{initialFocus:p,initialFocusFallback:L,containers:De,features:K},A.createElement(Pw,{value:V},fe({ourProps:ve,theirProps:x,slot:Z,defaultTag:ES,features:CS,visible:O===0,name:"Dialog"})))))))))))}),ES="div",CS=Mc.RenderStrategy|Mc.Static;function TS(e,t){let{transition:n=!1,open:i,...a}=e,c=ef(),p=e.hasOwnProperty("open")||c!==null,m=e.hasOwnProperty("onClose");if(!p&&!m)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!p)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!m)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!c&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(i!==void 0||n)&&!a.static?A.createElement(im,null,A.createElement(bS,{show:i,transition:n,unmount:a.unmount},A.createElement(am,{ref:t,...a}))):A.createElement(im,null,A.createElement(am,{ref:t,open:i,...a}))}let RS="div";function PS(e,t){let n=A.useId(),{id:i=`headlessui-dialog-panel-${n}`,transition:a=!1,...c}=e,[{dialogState:p,unmount:m},h]=of("Dialog.Panel"),v=sn(t,h.panelRef),C=A.useMemo(()=>({open:p===0}),[p]),x=tt(T=>{T.stopPropagation()}),F={ref:v,id:i,onClick:x},I=a?Qp:A.Fragment,L=a?{unmount:m}:{},D=er();return A.createElement(I,{...L},D({ourProps:F,theirProps:c,slot:C,defaultTag:RS,name:"Dialog.Panel"}))}let AS="div";function OS(e,t){let{transition:n=!1,...i}=e,[{dialogState:a,unmount:c}]=of("Dialog.Backdrop"),p=A.useMemo(()=>({open:a===0}),[a]),m={ref:t,"aria-hidden":!0},h=n?Qp:A.Fragment,v=n?{unmount:c}:{},C=er();return A.createElement(h,{...v},C({ourProps:m,theirProps:i,slot:p,defaultTag:AS,name:"Dialog.Backdrop"}))}let IS="h2";function FS(e,t){let n=A.useId(),{id:i=`headlessui-dialog-title-${n}`,...a}=e,[{dialogState:c,setTitleId:p}]=of("Dialog.Title"),m=sn(t);A.useEffect(()=>(p(i),()=>p(null)),[i,p]);let h=A.useMemo(()=>({open:c===0}),[c]),v={ref:m,id:i};return er()({ourProps:v,theirProps:a,slot:h,defaultTag:IS,name:"Dialog.Title"})}let MS=Dt(TS),Gv=Dt(PS),DS=Dt(OS),Yv=Dt(FS),_S=Object.assign(MS,{Panel:Gv,Title:Yv,Description:av}),LS="div";function $S(e,t){let n=`headlessui-control-${A.useId()}`,[i,a]=Sw(),[c,p]=iv(),m=Vc(),{disabled:h=m||!1,...v}=e,C=A.useMemo(()=>({disabled:h}),[h]),x={ref:t,disabled:h||void 0,"aria-disabled":h||void 0},F=er();return A.createElement(nw,{value:h},A.createElement(a,{value:i},A.createElement(p,{value:c},A.createElement(pw,{id:n},F({ourProps:x,theirProps:{...v,children:A.createElement(dw,null,typeof v.children=="function"?v.children(C):v.children)},slot:C,defaultTag:LS,name:"Field"})))))}let jS=Dt($S),NS="input";function zS(e,t){let n=A.useId(),i=ev(),a=Vc(),{id:c=i||`headlessui-input-${n}`,disabled:p=a||!1,autoFocus:m=!1,invalid:h=!1,...v}=e,C=uv(),x=yw(),{isFocused:F,focusProps:I}=Z0({autoFocus:m}),{isHovered:L,hoverProps:D}=J0({isDisabled:p}),T=sw({ref:t,id:c,"aria-labelledby":C,"aria-describedby":x,"aria-invalid":h?"true":void 0,disabled:p||void 0,autoFocus:m},I,D),O=A.useMemo(()=>({disabled:p,invalid:h,hover:L,focus:F,autofocus:m}),[p,h,L,F,m]);return er()({ourProps:T,theirProps:v,slot:O,defaultTag:NS,name:"Input"})}let BS=Dt(zS);const US="whitespace-nowrap font-normal flex items-center justify-center",HS="focus:outline focus:outline-3 focus:outline-primary-500/[.3]",WS="disabled:opacity-15 disabled:pointer-events-none",Xv=e=>e==="grayLight"||e==="warning",Qv=(e,t)=>!t||t==="none"?"":e(),VS=(e,t)=>Qv(()=>{const n=e==="gray400"?"gray":e,i=Xv(n)?"active:text-black":"active:text-white";return e==="primary"?t?`bg-${n}-800 text-white`:`hover:bg-${n}-800 active:bg-${n}-800 hover:text-white ${i}`:n==="grayDark"?t?"bg-gray-800 text-white":`hover:bg-gray-800 active:bg-gray-800 hover:text-white ${i}`:n==="grayLight"?t?"bg-gray-50 text-black":`hover:bg-gray-50 active:bg-gray-50 hover:text-black ${i}`:e==="gray400"?t?`bg-${n}-500 text-white`:`hover:bg-${n}-500 active:bg-${n}-500 hover:text-white ${i}`:t?`bg-${n}-700 text-white`:`hover:bg-${n}-600 active:bg-${n}-700 hover:text-white ${i}`},e),GS=e=>Qv(()=>{const t=Xv(e)?"text-black":"text-white";return e==="primary"?`bg-primary-600 ${t}`:e==="gray400"?`bg-gray-400 ${t}`:`bg-${e}-500 ${t}`},e),YS=e=>e&&{dark:"text-dark hover:text-dark",yellow:"text-yellow hover:text-yellow",gray:"text-gray-500 hover:text-gray-800",primary:"text-primary-600 hover:text-primary-800",secondary:"text-secondary-500 hover:text-secondary-800",success:"text-success-500 hover:text-success-800",info:"text-info-500 hover:text-info-800",warning:"text-warning-500 hover:text-warning-800",danger:"text-danger-500 hover:text-danger-800",steel:"text-steel-500 hover:text-steel-800",orange:"text-orange-500 hover:text-orange-800",purple:"text-purple-500 hover:text-purple-800","fiserv-orange":"text-fiserv-orange-500 hover:text-fiserv-orange-800",grayDark:"text-gray-800 hover:text-gray-900",grayLight:"text-gray-50 hover:text-gray-400",gray400:"text-gray-400 hover:text-gray-700"}[e]||"",XS=(e,t)=>e&&{dark:t?"bg-dark text-white":"text-dark hover:bg-dark hover:text-white",yellow:t?"bg-yellow text-white":"text-yellow hover:bg-yellow hover:text-white",gray:t?"bg-gray-500 text-white":"text-gray-500 hover:bg-gray-500 hover:text-white",primary:t?"bg-primary-800 text-white":"text-primary-600 hover:bg-primary-800 hover:text-white",secondary:t?"bg-secondary-500 text-white":"text-secondary-500 hover:bg-secondary-500 hover:text-white",success:t?"bg-success-500 text-white":"text-success-500 hover:bg-success-500 hover:text-white",info:t?"bg-info-500 text-white":"text-info-500 hover:bg-info-500 hover:text-white",warning:t?"bg-warning-500 text-white":"text-warning-500 hover:bg-warning-500 hover:text-white",danger:t?"bg-danger-500 text-white":"text-danger-500 hover:bg-danger-500 hover:text-white",steel:t?"bg-steel-500 text-white":"text-steel-500 hover:bg-steel-500 hover:text-white",orange:t?"bg-orange-500 text-white":"text-orange-500 hover:bg-orange-500 hover:text-white",purple:t?"bg-purple-500 text-white":"text-purple-500 hover:bg-purple-500 hover:text-white","fiserv-orange":t?"bg-fiserv-orange-500 text-white":"text-fiserv-orange-500 hover:bg-fiserv-orange-500 hover:text-white",grayDark:t?"bg-gray-900 text-white":"text-gray-800 hover:bg-gray-900 hover:text-white",grayLight:t?"bg-gray-400 text-white":"text-gray-50 hover:bg-gray-400 hover:text-white",gray400:t?"bg-gray-500 text-white":"text-gray-400 hover:bg-gray-500 hover:text-white"}[e]||"",QS=(e,t)=>!e||e==="none"?"":e==="primary"?`border border-primary-600 ${t?"":"text-primary-600"}`:e==="grayDark"?`border border-gray-800 ${t?"":"text-gray-800"}`:e==="grayLight"?`border border-gray-50 ${t?"":"text-gray-400"}`:e==="gray400"?`border border-gray-400 ${t?"":"text-gray-400"}`:`border border-${e}-500 ${t?"":`text-${e}-500`}`,qS=(e,t)=>({solid:GS(e),link:YS(e),linkHoverSolid:XS(e,t),outline:QS(e,t)}),KS={none:"",default:"min-w-fit h-[40px] text-base px-3",base:"w-full md:min-w-fit h-[40px] text-base px-3",small:"min-w-[106px] h-[30px] text-sm px-2",normal:"min-w-[140px] h-[38px] text-base px-3",large:"min-w-[160px] h-[40px] text-lg px-3",NormalBlock:"w-full h-[40px] text-lg px-3",box:"w-[38px] h-[38px]",smallCollapse:"h-[30px] text-sm px-2",normalCollapse:"h-[38px] text-base px-3"},JS={none:"",default:"rounded",pill:"rounded-pill"},ZS=({active:e=!1,children:t,color:n="primary",size:i="normal",category:a="solid",className:c,type:p="button",rounded:m="default",style:h={},primaryColor:v,...C},x)=>{var j;const F=WS,I=/link/.test(a)?null:VS(n,e),L=HS,D=KS[i],T=(j=qS(n,e))==null?void 0:j[a],O=Fs(I,T),U=JS[m];return q.jsx("button",{...C,style:{...h,transition:"color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",backgroundColor:v?v+"!important":void 0},type:p,ref:x,className:Fs(US,L,F,D,O,U,c,"cursor-pointer"),children:t})},fu=A.forwardRef(ZS),ek=({isOpen:e,close:t,title:n,dismissOptions:i,confirmOptions:a,children:c,className:p})=>q.jsxs(_S,{open:e,onClose:t,className:wt("relative z-50 transition duration-300 ease-out data-closed:opacity-0 confidence-ui",p),transition:!0,children:[q.jsx(DS,{className:"fixed inset-0 bg-black/30"}),q.jsx("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4",children:q.jsxs(Gv,{className:"max-w-lg divide-y divide-gray-100 bg-white rounded-sm shadow-xl",children:[n&&q.jsx(Yv,{className:" text-gray-900 p-4",children:n}),q.jsx("div",{className:"p-4",children:c}),i||a?q.jsxs("div",{className:"flex gap-4 p-4",children:[i?q.jsx(fu,{className:"flex-1",onClick:()=>{i.onClick(),t()},size:"small",color:"secondary",children:i.label}):q.jsx(q.Fragment,{}),a?q.jsx(fu,{className:"flex-1",disabled:a.disabled,onClick:()=>{a.onClick(),t()},size:"small",color:"primary",children:a.label}):q.jsx(q.Fragment,{})]}):q.jsx(q.Fragment,{})]})})]}),tk=({type:e="text",className:t,label:n,description:i,error:a,...c})=>q.jsx("div",{className:"w-full max-w-md px-4",children:q.jsxs(jS,{children:[n&&q.jsx(Tw,{className:"font-medium text-gray-900",children:n}),i&&q.jsx(av,{className:"text-sm text-secondary",children:i}),q.jsx(BS,{type:e,className:wt("mt-3 block w-full rounded-lg border border-gray-200 px-3 py-1.5 text-sm/6 text-gray-800","focus:not-data-focus:outline-none data-focus:outline-2 data-focus:-outline-offset-2 data-focus:outline-primary-500",t,a&&"border-red-500 focus:border-red-500"),...c})]})}),rk=({onConfirm:e,onClose:t,isOpen:n,title:i})=>{const[a,c]=A.useState(""),[p,m]=A.useState(!1),[h,v]=A.useState(!1),C=async()=>{if(a)try{m(!0),await e(a),c("")}catch{v(!0)}finally{m(!1)}else alert("Please enter a valid email address.")};return q.jsx(ek,{isOpen:n,close:t,dismissOptions:{label:"Cancel",onClick:t},confirmOptions:{label:"Initiate",onClick:C,disabled:p||!a||h},children:q.jsxs("div",{className:"flex flex-col items-center gap-4 w-[400px]",children:[q.jsxs("div",{children:[q.jsx("div",{className:"text-center text-2xl font-medium",children:h?"User already has access":i||"Access Playbook"}),q.jsx("div",{className:"text-center",children:h?q.jsxs(q.Fragment,{children:[q.jsx("b",{children:a})," has already accessed a playbook. Contact Confidence to speak to representative."]}):q.jsx(q.Fragment,{children:"Please enter your company email address to access this playbook."})})]}),q.jsx(tk,{disabled:p||h,placeholder:"Enter company email address",onChange:x=>c(x.target.value)})]})})},nk=({btnClassName:e,buttonNode:t,size:n,playbookId:i,onInitiated:a,disabled:c,btnLabel:p="Run Playbook",btnColor:m="primary"})=>{const[h,v]=A.useState(!1),[C,x]=A.useState(!1);function F(){v(!0)}function I(){v(!1)}const L=async D=>{try{x(!0);const{playbookInstanceId:T,errorCode:O,details:U,message:j}=await Rg({bank:"public-sdk",email:D,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:i})||{};if(O)throw new Error(`Error initiating playbook: ${j} (Code: ${O}) - Details: ${U}`);a(T)}finally{x(!1)}};return q.jsxs(q.Fragment,{children:[t?{buttonNode:t}:q.jsxs(fu,{onClick:F,className:wt(e,"flex items-center gap-1"),color:m,size:n,disabled:c||C,children:[q.jsx("img",{src:ug,alt:"Confidence Logo",className:"size-4 object-contain text-white"}),p]}),q.jsx(rk,{isOpen:h,onClose:I,onConfirm:async D=>{await L(D),I()}})]})};/*!
146
146
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
147
147
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
148
148
  * Copyright 2024 Fonticons, Inc.
149
- */const ok={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ak=ok,ik={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},Qv={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};/*!
149
+ */const ok={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},ik=ok,ak={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]},qv={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};/*!
150
150
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
151
151
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
152
152
  * Copyright 2024 Fonticons, Inc.
153
- */function sk(e,t,n){return(t=uk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?lm(Object(n),!0).forEach(function(a){sk(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lm(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function lk(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var a=n.call(e,t);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uk(e){var t=lk(e,"string");return typeof t=="symbol"?t:t+""}const um=()=>{};let Zp={},Kv={},Jv=null,Zv={mark:um,measure:um};try{typeof window<"u"&&(Zp=window),typeof document<"u"&&(Kv=document),typeof MutationObserver<"u"&&(Jv=MutationObserver),typeof performance<"u"&&(Zv=performance)}catch{}const{userAgent:cm=""}=Zp.navigator||{},ba=Zp,it=Kv,fm=Jv,kc=Zv;ba.document;const wo=!!it.documentElement&&!!it.head&&typeof it.addEventListener=="function"&&typeof it.createElement=="function",qv=~cm.indexOf("MSIE")||~cm.indexOf("Trident/");var ck=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,fk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ey={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ty=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",sf="duotone",pk="sharp",hk="sharp-duotone",ry=[jt,sf,pk,hk],mk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},gk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),yk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},bk=["fak","fa-kit","fakd","fa-kit-duotone"],dm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wk=["kit"],xk={kit:{"fa-kit":"fak"}},Sk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},pm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Ec={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ek=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ck=["fak","fa-kit","fakd","fa-kit-duotone"],Tk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Rk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Pk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},pp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ak=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],hp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ek,...Ak],Ok=["solid","regular","light","thin","duotone","brands"],ny=[1,2,3,4,5,6,7,8,9,10],Ik=ny.concat([11,12,13,14,15,16,17,18,19,20]),Fk=[...Object.keys(Pk),...Ok,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ec.GROUP,Ec.SWAP_OPACITY,Ec.PRIMARY,Ec.SECONDARY].concat(ny.map(e=>"".concat(e,"x"))).concat(Ik.map(e=>"w-".concat(e))),Mk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",mp=16,oy="fa",ay="svg-inline--fa",Ci="data-fa-i2svg",gp="data-fa-pseudo-element",Dk="data-fa-pseudo-element-pending",qp="data-prefix",eh="data-icon",hm="fontawesome-i2svg",_k="async",Lk=["HTML","HEAD","STYLE","SCRIPT"],iy=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function ku(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[jt]}})}const sy=ae({},ey);sy[jt]=ae(ae(ae(ae({},{"fa-duotone":"duotone"}),ey[jt]),dm.kit),dm["kit-duotone"]);const $k=ku(sy),vp=ae({},yk);vp[jt]=ae(ae(ae(ae({},{duotone:"fad"}),vp[jt]),pm.kit),pm["kit-duotone"]);const mm=ku(vp),yp=ae({},pp);yp[jt]=ae(ae({},yp[jt]),kk.kit);const th=ku(yp),bp=ae({},Rk);bp[jt]=ae(ae({},bp[jt]),xk.kit);ku(bp);const jk=ck,ly="fa-layers-text",Nk=fk,zk=ae({},mk);ku(zk);const Bk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Pd=dk,Uk=[...wk,...Fk],au=ba.FontAwesomeConfig||{};function Hk(e){var t=it.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Wk(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(t=>{let[n,a]=t;const i=Wk(Hk(n));i!=null&&(au[a]=i)});const uy={styleDefault:"solid",familyDefault:jt,cssPrefix:oy,replacementClass:ay,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};au.familyPrefix&&(au.cssPrefix=au.familyPrefix);const Qs=ae(ae({},uy),au);Qs.autoReplaceSvg||(Qs.observeMutations=!1);const Te={};Object.keys(uy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){Qs[e]=t,iu.forEach(n=>n(Te))},get:function(){return Qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){Qs.cssPrefix=e,iu.forEach(t=>t(Te))},get:function(){return Qs.cssPrefix}});ba.FontAwesomeConfig=Te;const iu=[];function Vk(e){return iu.push(e),()=>{iu.splice(iu.indexOf(e),1)}}const ra=mp,Pn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gk(e){if(!e||!wo)return;const t=it.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=it.head.childNodes;let a=null;for(let i=n.length-1;i>-1;i--){const c=n[i],p=(c.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(a=c)}return it.head.insertBefore(t,a),e}const Yk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function du(){let e=12,t="";for(;e-- >0;)t+=Yk[Math.random()*62|0];return t}function tl(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function rh(e){return e.classList?tl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function cy(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Xk(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(cy(e[n]),'" '),"").trim()}function lf(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function nh(e){return e.size!==Pn.size||e.x!==Pn.x||e.y!==Pn.y||e.rotate!==Pn.rotate||e.flipX||e.flipY}function Qk(e){let{transform:t,containerWidth:n,iconWidth:a}=e;const i={transform:"translate(".concat(n/2," 256)")},c="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(c," ").concat(p," ").concat(m)},v={transform:"translate(".concat(a/2*-1," -256)")};return{outer:i,inner:h,path:v}}function Kk(e){let{transform:t,width:n=mp,height:a=mp,startCentered:i=!1}=e,c="";return i&&qv?c+="translate(".concat(t.x/ra-n/2,"em, ").concat(t.y/ra-a/2,"em) "):i?c+="translate(calc(-50% + ".concat(t.x/ra,"em), calc(-50% + ").concat(t.y/ra,"em)) "):c+="translate(".concat(t.x/ra,"em, ").concat(t.y/ra,"em) "),c+="scale(".concat(t.size/ra*(t.flipX?-1:1),", ").concat(t.size/ra*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var Jk=`:root, :host {
153
+ */function sk(e,t,n){return(t=uk(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function sm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sm(Object(n),!0).forEach(function(i){sk(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sm(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function lk(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uk(e){var t=lk(e,"string");return typeof t=="symbol"?t:t+""}const lm=()=>{};let Kp={},Kv={},Jv=null,Zv={mark:lm,measure:lm};try{typeof window<"u"&&(Kp=window),typeof document<"u"&&(Kv=document),typeof MutationObserver<"u"&&(Jv=MutationObserver),typeof performance<"u"&&(Zv=performance)}catch{}const{userAgent:um=""}=Kp.navigator||{},bi=Kp,at=Kv,cm=Jv,Sc=Zv;bi.document;const wo=!!at.documentElement&&!!at.head&&typeof at.addEventListener=="function"&&typeof at.createElement=="function",ey=~um.indexOf("MSIE")||~um.indexOf("Trident/");var ck=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,fk=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,ty={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},dk={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},ry=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],jt="classic",af="duotone",pk="sharp",hk="sharp-duotone",ny=[jt,af,pk,hk],mk={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},gk={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},vk=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),yk={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},bk=["fak","fa-kit","fakd","fa-kit-duotone"],fm={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},wk=["kit"],xk={kit:{"fa-kit":"fak"}},Sk=["fak","fakd"],kk={kit:{fak:"fa-kit"}},dm={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},kc={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},Ek=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],Ck=["fak","fa-kit","fakd","fa-kit-duotone"],Tk={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},Rk={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},Pk={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},dp={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},Ak=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],pp=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...Ek,...Ak],Ok=["solid","regular","light","thin","duotone","brands"],oy=[1,2,3,4,5,6,7,8,9,10],Ik=oy.concat([11,12,13,14,15,16,17,18,19,20]),Fk=[...Object.keys(Pk),...Ok,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",kc.GROUP,kc.SWAP_OPACITY,kc.PRIMARY,kc.SECONDARY].concat(oy.map(e=>"".concat(e,"x"))).concat(Ik.map(e=>"w-".concat(e))),Mk={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const mo="___FONT_AWESOME___",hp=16,iy="fa",ay="svg-inline--fa",Ca="data-fa-i2svg",mp="data-fa-pseudo-element",Dk="data-fa-pseudo-element-pending",Jp="data-prefix",Zp="data-icon",pm="fontawesome-i2svg",_k="async",Lk=["HTML","HEAD","STYLE","SCRIPT"],sy=(()=>{try{return process.env.NODE_ENV==="production"}catch{return!1}})();function ku(e){return new Proxy(e,{get(t,n){return n in t?t[n]:t[jt]}})}const ly=ie({},ty);ly[jt]=ie(ie(ie(ie({},{"fa-duotone":"duotone"}),ty[jt]),fm.kit),fm["kit-duotone"]);const $k=ku(ly),gp=ie({},yk);gp[jt]=ie(ie(ie(ie({},{duotone:"fad"}),gp[jt]),dm.kit),dm["kit-duotone"]);const hm=ku(gp),vp=ie({},dp);vp[jt]=ie(ie({},vp[jt]),kk.kit);const eh=ku(vp),yp=ie({},Rk);yp[jt]=ie(ie({},yp[jt]),xk.kit);ku(yp);const jk=ck,uy="fa-layers-text",Nk=fk,zk=ie({},mk);ku(zk);const Bk=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Rd=dk,Uk=[...wk,...Fk],iu=bi.FontAwesomeConfig||{};function Hk(e){var t=at.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function Wk(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}at&&typeof at.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[n,i]=t;const a=Wk(Hk(n));a!=null&&(iu[i]=a)});const cy={styleDefault:"solid",familyDefault:jt,cssPrefix:iy,replacementClass:ay,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};iu.familyPrefix&&(iu.cssPrefix=iu.familyPrefix);const Qs=ie(ie({},cy),iu);Qs.autoReplaceSvg||(Qs.observeMutations=!1);const Te={};Object.keys(cy).forEach(e=>{Object.defineProperty(Te,e,{enumerable:!0,set:function(t){Qs[e]=t,au.forEach(n=>n(Te))},get:function(){return Qs[e]}})});Object.defineProperty(Te,"familyPrefix",{enumerable:!0,set:function(e){Qs.cssPrefix=e,au.forEach(t=>t(Te))},get:function(){return Qs.cssPrefix}});bi.FontAwesomeConfig=Te;const au=[];function Vk(e){return au.push(e),()=>{au.splice(au.indexOf(e),1)}}const ri=hp,Pn={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Gk(e){if(!e||!wo)return;const t=at.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const n=at.head.childNodes;let i=null;for(let a=n.length-1;a>-1;a--){const c=n[a],p=(c.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(p)>-1&&(i=c)}return at.head.insertBefore(t,i),e}const Yk="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function du(){let e=12,t="";for(;e-- >0;)t+=Yk[Math.random()*62|0];return t}function tl(e){const t=[];for(let n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function th(e){return e.classList?tl(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function fy(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Xk(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,'="').concat(fy(e[n]),'" '),"").trim()}function sf(e){return Object.keys(e||{}).reduce((t,n)=>t+"".concat(n,": ").concat(e[n].trim(),";"),"")}function rh(e){return e.size!==Pn.size||e.x!==Pn.x||e.y!==Pn.y||e.rotate!==Pn.rotate||e.flipX||e.flipY}function Qk(e){let{transform:t,containerWidth:n,iconWidth:i}=e;const a={transform:"translate(".concat(n/2," 256)")},c="translate(".concat(t.x*32,", ").concat(t.y*32,") "),p="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),m="rotate(".concat(t.rotate," 0 0)"),h={transform:"".concat(c," ").concat(p," ").concat(m)},v={transform:"translate(".concat(i/2*-1," -256)")};return{outer:a,inner:h,path:v}}function qk(e){let{transform:t,width:n=hp,height:i=hp,startCentered:a=!1}=e,c="";return a&&ey?c+="translate(".concat(t.x/ri-n/2,"em, ").concat(t.y/ri-i/2,"em) "):a?c+="translate(calc(-50% + ".concat(t.x/ri,"em), calc(-50% + ").concat(t.y/ri,"em)) "):c+="translate(".concat(t.x/ri,"em, ").concat(t.y/ri,"em) "),c+="scale(".concat(t.size/ri*(t.flipX?-1:1),", ").concat(t.size/ri*(t.flipY?-1:1),") "),c+="rotate(".concat(t.rotate,"deg) "),c}var Kk=`:root, :host {
154
154
  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
155
155
  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
156
156
  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
@@ -703,7 +703,7 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
703
703
  .svg-inline--fa mask .fa-primary,
704
704
  .svg-inline--fa mask .fa-secondary {
705
705
  fill: black;
706
- }`;function fy(){const e=oy,t=ay,n=Te.cssPrefix,a=Te.replacementClass;let i=Jk;if(n!==e||a!==t){const c=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");i=i.replace(c,".".concat(n,"-")).replace(p,"--".concat(n,"-")).replace(m,".".concat(a))}return i}let gm=!1;function Ad(){Te.autoAddCss&&!gm&&(Gk(fy()),gm=!0)}var Zk={mixout(){return{dom:{css:fy,insertCss:Ad}}},hooks(){return{beforeDOMElementCreation(){Ad()},beforeI2svg(){Ad()}}}};const go=ba||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var An=go[mo];const dy=[],py=function(){it.removeEventListener("DOMContentLoaded",py),Nc=1,dy.map(e=>e())};let Nc=!1;wo&&(Nc=(it.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(it.readyState),Nc||it.addEventListener("DOMContentLoaded",py));function qk(e){wo&&(Nc?setTimeout(e,0):dy.push(e))}function Eu(e){const{tag:t,attributes:n={},children:a=[]}=e;return typeof e=="string"?cy(e):"<".concat(t," ").concat(Xk(n),">").concat(a.map(Eu).join(""),"</").concat(t,">")}function vm(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Od=function(t,n,a,i){var c=Object.keys(t),p=c.length,m=n,h,v,C;for(a===void 0?(h=1,C=t[c[0]]):(h=0,C=a);h<p;h++)v=c[h],C=m(C,t[v],v,t);return C};function eE(e){const t=[];let n=0;const a=e.length;for(;n<a;){const i=e.charCodeAt(n++);if(i>=55296&&i<=56319&&n<a){const c=e.charCodeAt(n++);(c&64512)==56320?t.push(((i&1023)<<10)+(c&1023)+65536):(t.push(i),n--)}else t.push(i)}return t}function wp(e){const t=eE(e);return t.length===1?t[0].toString(16):null}function tE(e,t){const n=e.length;let a=e.charCodeAt(t),i;return a>=55296&&a<=56319&&n>t+1&&(i=e.charCodeAt(t+1),i>=56320&&i<=57343)?(a-55296)*1024+i-56320+65536:a}function ym(e){return Object.keys(e).reduce((t,n)=>{const a=e[n];return!!a.icon?t[a.iconName]=a.icon:t[n]=a,t},{})}function xp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:a=!1}=n,i=ym(t);typeof An.hooks.addPack=="function"&&!a?An.hooks.addPack(e,ym(t)):An.styles[e]=ae(ae({},An.styles[e]||{}),i),e==="fas"&&xp("fa",t)}const{styles:pu,shims:rE}=An,hy=Object.keys(th),nE=hy.reduce((e,t)=>(e[t]=Object.keys(th[t]),e),{});let oh=null,my={},gy={},vy={},yy={},by={};function oE(e){return~Uk.indexOf(e)}function aE(e,t){const n=t.split("-"),a=n[0],i=n.slice(1).join("-");return a===e&&i!==""&&!oE(i)?i:null}const wy=()=>{const e=a=>Od(pu,(i,c,p)=>(i[p]=Od(c,a,{}),i),{});my=e((a,i,c)=>(i[3]&&(a[i[3]]=c),i[2]&&i[2].filter(m=>typeof m=="number").forEach(m=>{a[m.toString(16)]=c}),a)),gy=e((a,i,c)=>(a[c]=c,i[2]&&i[2].filter(m=>typeof m=="string").forEach(m=>{a[m]=c}),a)),by=e((a,i,c)=>{const p=i[2];return a[c]=c,p.forEach(m=>{a[m]=c}),a});const t="far"in pu||Te.autoFetchSvg,n=Od(rE,(a,i)=>{const c=i[0];let p=i[1];const m=i[2];return p==="far"&&!t&&(p="fas"),typeof c=="string"&&(a.names[c]={prefix:p,iconName:m}),typeof c=="number"&&(a.unicodes[c.toString(16)]={prefix:p,iconName:m}),a},{names:{},unicodes:{}});vy=n.names,yy=n.unicodes,oh=uf(Te.styleDefault,{family:Te.familyDefault})};Vk(e=>{oh=uf(e.styleDefault,{family:Te.familyDefault})});wy();function ah(e,t){return(my[e]||{})[t]}function iE(e,t){return(gy[e]||{})[t]}function di(e,t){return(by[e]||{})[t]}function xy(e){return vy[e]||{prefix:null,iconName:null}}function sE(e){const t=yy[e],n=ah("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function wa(){return oh}const Sy=()=>({prefix:null,iconName:null,rest:[]});function lE(e){let t=jt;const n=hy.reduce((a,i)=>(a[i]="".concat(Te.cssPrefix,"-").concat(i),a),{});return ry.forEach(a=>{(e.includes(n[a])||e.some(i=>nE[a].includes(i)))&&(t=a)}),t}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=jt}=t,a=$k[n][e];if(n===sf&&!e)return"fad";const i=mm[n][e]||mm[n][a],c=e in An.styles?e:null;return i||c||null}function uE(e){let t=[],n=null;return e.forEach(a=>{const i=aE(Te.cssPrefix,a);i?n=i:a&&t.push(a)}),{iconName:n,rest:t}}function bm(e){return e.sort().filter((t,n,a)=>a.indexOf(t)===n)}function cf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let a=null;const i=hp.concat(Ck),c=bm(e.filter(x=>i.includes(x))),p=bm(e.filter(x=>!hp.includes(x))),m=c.filter(x=>(a=x,!ty.includes(x))),[h=null]=m,v=lE(c),C=ae(ae({},uE(p)),{},{prefix:uf(h,{family:v})});return ae(ae(ae({},C),pE({values:e,family:v,styles:pu,config:Te,canonical:C,givenPrefix:a})),cE(n,a,C))}function cE(e,t,n){let{prefix:a,iconName:i}=n;if(e||!a||!i)return{prefix:a,iconName:i};const c=t==="fa"?xy(i):{},p=di(a,i);return i=c.iconName||p||i,a=c.prefix||a,a==="far"&&!pu.far&&pu.fas&&!Te.autoFetchSvg&&(a="fas"),{prefix:a,iconName:i}}const fE=ry.filter(e=>e!==jt||e!==sf),dE=Object.keys(pp).filter(e=>e!==jt).map(e=>Object.keys(pp[e])).flat();function pE(e){const{values:t,family:n,canonical:a,givenPrefix:i="",styles:c={},config:p={}}=e,m=n===sf,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=a.prefix==="fad"||a.prefix==="fa-duotone";if(!m&&(h||v||C)&&(a.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(a.prefix="fab"),!a.prefix&&fE.includes(n)&&(Object.keys(c).find(F=>dE.includes(F))||p.autoFetchSvg)){const F=vk.get(n).defaultShortPrefixId;a.prefix=F,a.iconName=di(a.prefix,a.iconName)||a.iconName}return(a.prefix==="fa"||i==="fa")&&(a.prefix=wa()||"fas"),a}class hE{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];const i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach(c=>{this.definitions[c]=ae(ae({},this.definitions[c]||{}),i[c]),xp(c,i[c]);const p=th[jt][c];p&&xp(p,i[c]),wy()})}reset(){this.definitions={}}_pullDefinitions(t,n){const a=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(a).map(i=>{const{prefix:c,iconName:p,icon:m}=a[i],h=m[2];t[c]||(t[c]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[c][v]=m)}),t[c][p]=m}),t}}let wm=[],As={};const _s={},mE=Object.keys(_s);function gE(e,t){let{mixoutsTo:n}=t;return wm=e,As={},Object.keys(_s).forEach(a=>{mE.indexOf(a)===-1&&delete _s[a]}),wm.forEach(a=>{const i=a.mixout?a.mixout():{};if(Object.keys(i).forEach(c=>{typeof i[c]=="function"&&(n[c]=i[c]),typeof i[c]=="object"&&Object.keys(i[c]).forEach(p=>{n[c]||(n[c]={}),n[c][p]=i[c][p]})}),a.hooks){const c=a.hooks();Object.keys(c).forEach(p=>{As[p]||(As[p]=[]),As[p].push(c[p])})}a.provides&&a.provides(_s)}),n}function Sp(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),i=2;i<n;i++)a[i-2]=arguments[i];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...a])}),t}function Ti(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];(As[e]||[]).forEach(c=>{c.apply(null,n)})}function xa(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _s[e]?_s[e].apply(null,t):void 0}function kp(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||wa();if(t)return t=di(n,t)||t,vm(ky.definitions,n,t)||vm(An.styles,n,t)}const ky=new hE,vE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ti("noAuto")},yE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ti("beforeI2svg",e),xa("pseudoElements2svg",e),xa("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,qk(()=>{wE({autoReplaceSvgRoot:t}),Ti("watch",e)})}},bE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:di(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=uf(e[0]);return{prefix:n,iconName:di(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(jk))){const t=cf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wa(),iconName:di(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wa();return{prefix:t,iconName:di(t,e)||e}}}},xr={noAuto:vE,config:Te,dom:yE,parse:bE,library:ky,findIconDefinition:kp,toHtml:Eu},wE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=it}=e;(Object.keys(An.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&xr.dom.i2svg({node:t})};function ff(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Eu(n))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const n=it.createElement("div");return n.innerHTML=e.html,n.children}}),e}function xE(e){let{children:t,main:n,mask:a,attributes:i,styles:c,transform:p}=e;if(nh(p)&&n.found&&!a.found){const{width:m,height:h}=n,v={x:m/h/2,y:.5};i.style=lf(ae(ae({},c),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}function SE(e){let{prefix:t,iconName:n,children:a,attributes:i,symbol:c}=e;const p=c===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(n):c;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ae(ae({},i),{},{id:p}),children:a}]}]}function ih(e){const{icons:{main:t,mask:n},prefix:a,iconName:i,transform:c,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=n.found?n:t,L=Sk.includes(a),D=[Te.replacementClass,i?"".concat(Te.cssPrefix,"-").concat(i):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ae(ae({},C.attributes),{},{"data-prefix":a,"data-icon":i,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const O=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ci]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||du())},children:[m]}),delete T.attributes.title);const U=ae(ae({},T),{},{prefix:a,iconName:i,main:t,mask:n,maskId:h,transform:c,symbol:p,styles:ae(ae({},O),C.styles)}),{children:j,attributes:V}=n.found&&t.found?xa("generateAbstractMask",U)||{children:[],attributes:{}}:xa("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?SE(U):xE(U)}function xm(e){const{content:t,width:n,height:a,transform:i,title:c,extra:p,watchable:m=!1}=e,h=ae(ae(ae({},p.attributes),c?{title:c}:{}),{},{class:p.classes.join(" ")});m&&(h[Ci]="");const v=ae({},p.styles);nh(i)&&(v.transform=Kk({transform:i,startCentered:!0,width:n,height:a}),v["-webkit-transform"]=v.transform);const C=lf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),c&&x.push({tag:"span",attributes:{class:"sr-only"},children:[c]}),x}function kE(e){const{content:t,title:n,extra:a}=e,i=ae(ae(ae({},a.attributes),n?{title:n}:{}),{},{class:a.classes.join(" ")}),c=lf(a.styles);c.length>0&&(i.style=c);const p=[];return p.push({tag:"span",attributes:i,children:[t]}),n&&p.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),p}const{styles:Id}=An;function Ep(e){const t=e[0],n=e[1],[a]=e.slice(4);let i=null;return Array.isArray(a)?i={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.SECONDARY),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Pd.PRIMARY),fill:"currentColor",d:a[1]}}]}:i={tag:"path",attributes:{fill:"currentColor",d:a}},{found:!0,width:t,height:n,icon:i}}const EE={found:!1,width:512,height:512};function CE(e,t){!iy&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Cp(e,t){let n=t;return t==="fa"&&Te.styleDefault!==null&&(t=wa()),new Promise((a,i)=>{if(n==="fa"){const c=xy(e)||{};e=c.iconName||e,t=c.prefix||t}if(e&&t&&Id[t]&&Id[t][e]){const c=Id[t][e];return a(Ep(c))}CE(e,t),a(ae(ae({},EE),{},{icon:Te.showMissingIcons&&e?xa("missingIconAbstract")||{}:{}}))})}const Sm=()=>{},Tp=Te.measurePerformance&&kc&&kc.mark&&kc.measure?kc:{mark:Sm,measure:Sm},ql='FA "6.7.2"',TE=e=>(Tp.mark("".concat(ql," ").concat(e," begins")),()=>Ey(e)),Ey=e=>{Tp.mark("".concat(ql," ").concat(e," ends")),Tp.measure("".concat(ql," ").concat(e),"".concat(ql," ").concat(e," begins"),"".concat(ql," ").concat(e," ends"))};var sh={begin:TE,end:Ey};const Rc=()=>{};function km(e){return typeof(e.getAttribute?e.getAttribute(Ci):null)=="string"}function RE(e){const t=e.getAttribute?e.getAttribute(qp):null,n=e.getAttribute?e.getAttribute(eh):null;return t&&n}function PE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function AE(){return Te.autoReplaceSvg===!0?Pc.replace:Pc[Te.autoReplaceSvg]||Pc.replace}function OE(e){return it.createElementNS("http://www.w3.org/2000/svg",e)}function IE(e){return it.createElement(e)}function Cy(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?OE:IE}=t;if(typeof e=="string")return it.createTextNode(e);const a=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(c){a.setAttribute(c,e.attributes[c])}),(e.children||[]).forEach(function(c){a.appendChild(Cy(c,{ceFn:n}))}),a}function FE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Pc={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Cy(n),t)}),t.getAttribute(Ci)===null&&Te.keepOriginalSource){let n=it.createComment(FE(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~rh(t).indexOf(Te.replacementClass))return Pc.replace(e);const a=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const c=n[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(a)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});n[0].attributes.class=c.toSvg.join(" "),c.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",c.toNode.join(" "))}const i=n.map(c=>Eu(c)).join(`
707
- `);t.setAttribute(Ci,""),t.innerHTML=i}};function Em(e){e()}function Ty(e,t){const n=typeof t=="function"?t:Rc;if(e.length===0)n();else{let a=Em;Te.mutateApproach===_k&&(a=ba.requestAnimationFrame||Em),a(()=>{const i=AE(),c=sh.begin("mutate");e.map(i),c(),n()})}}let lh=!1;function Ry(){lh=!0}function Rp(){lh=!1}let zc=null;function Cm(e){if(!fm||!Te.observeMutations)return;const{treeCallback:t=Rc,nodeCallback:n=Rc,pseudoElementsCallback:a=Rc,observeMutationsRoot:i=it}=e;zc=new fm(c=>{if(lh)return;const p=wa();tl(c).forEach(m=>{if(m.type==="childList"&&m.addedNodes.length>0&&!km(m.addedNodes[0])&&(Te.searchPseudoElements&&a(m.target),t(m.target)),m.type==="attributes"&&m.target.parentNode&&Te.searchPseudoElements&&a(m.target.parentNode),m.type==="attributes"&&km(m.target)&&~Bk.indexOf(m.attributeName))if(m.attributeName==="class"&&RE(m.target)){const{prefix:h,iconName:v}=cf(rh(m.target));m.target.setAttribute(qp,h||p),v&&m.target.setAttribute(eh,v)}else PE(m.target)&&n(m.target)})}),wo&&zc.observe(i,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function ME(){zc&&zc.disconnect()}function DE(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((a,i)=>{const c=i.split(":"),p=c[0],m=c.slice(1);return p&&m.length>0&&(a[p]=m.join(":").trim()),a},{})),n}function _E(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),a=e.innerText!==void 0?e.innerText.trim():"";let i=cf(rh(e));return i.prefix||(i.prefix=wa()),t&&n&&(i.prefix=t,i.iconName=n),i.iconName&&i.prefix||(i.prefix&&a.length>0&&(i.iconName=iE(i.prefix,e.innerText)||ah(i.prefix,wp(e.innerText))),!i.iconName&&Te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(i.iconName=e.firstChild.data)),i}function LE(e){const t=tl(e.attributes).reduce((i,c)=>(i.name!=="class"&&i.name!=="style"&&(i[c.name]=c.value),i),{}),n=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return Te.autoA11y&&(n?t["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(a||du()):(t["aria-hidden"]="true",t.focusable="false")),t}function $E(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Tm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:a,rest:i}=_E(e),c=LE(e),p=Sp("parseNodeAttributes",{},e);let m=t.styleParser?DE(e):[];return ae({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:a,transform:Pn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:m,attributes:c}},p)}const{styles:jE}=An;function Py(e){const t=Te.autoReplaceSvg==="nest"?Tm(e,{styleParser:!1}):Tm(e);return~t.extra.classes.indexOf(ly)?xa("generateLayersText",e,t):xa("generateSvgReplacementMutation",e,t)}function NE(){return[...bk,...hp]}function Rm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!wo)return Promise.resolve();const n=it.documentElement.classList,a=C=>n.add("".concat(hm,"-").concat(C)),i=C=>n.remove("".concat(hm,"-").concat(C)),c=Te.autoFetchSvg?NE():ty.concat(Object.keys(jE));c.includes("fa")||c.push("fa");const p=[".".concat(ly,":not([").concat(Ci,"])")].concat(c.map(C=>".".concat(C,":not([").concat(Ci,"])"))).join(", ");if(p.length===0)return Promise.resolve();let m=[];try{m=tl(e.querySelectorAll(p))}catch{}if(m.length>0)a("pending"),i("complete");else return Promise.resolve();const h=sh.begin("onTree"),v=m.reduce((C,x)=>{try{const F=Py(x);F&&C.push(F)}catch(F){iy||F.name==="MissingIcon"&&console.error(F)}return C},[]);return new Promise((C,x)=>{Promise.all(v).then(F=>{Ty(F,()=>{a("active"),a("complete"),i("pending"),typeof t=="function"&&t(),h(),C()})}).catch(F=>{h(),x(F)})})}function zE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Py(e).then(n=>{n&&Ty([n],t)})}function BE(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=(t||{}).icon?t:kp(t||{});let{mask:i}=n;return i&&(i=(i||{}).icon?i:kp(i||{})),e(a,ae(ae({},n),{},{mask:i}))}}const UE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Pn,symbol:a=!1,mask:i=null,maskId:c=null,title:p=null,titleId:m=null,classes:h=[],attributes:v={},styles:C={}}=t;if(!e)return;const{prefix:x,iconName:F,icon:I}=e;return ff(ae({type:"icon"},e),()=>(Ti("beforeDOMElementCreation",{iconDefinition:e,params:t}),Te.autoA11y&&(p?v["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(m||du()):(v["aria-hidden"]="true",v.focusable="false")),ih({icons:{main:Ep(I),mask:i?Ep(i.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:F,transform:ae(ae({},Pn),n),symbol:a,title:p,maskId:c,titleId:m,extra:{attributes:v,styles:C,classes:h}})))};var HE={mixout(){return{icon:BE(UE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Rm,e.nodeCallback=zE,e}}},provides(e){e.i2svg=function(t){const{node:n=it,callback:a=()=>{}}=t;return Rm(n,a)},e.generateSvgReplacementMutation=function(t,n){const{iconName:a,title:i,titleId:c,prefix:p,transform:m,symbol:h,mask:v,maskId:C,extra:x}=n;return new Promise((F,I)=>{Promise.all([Cp(a,p),v.iconName?Cp(v.iconName,v.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[D,T]=L;F([t,ih({icons:{main:D,mask:T},prefix:p,iconName:a,transform:m,symbol:h,maskId:C,title:i,titleId:c,extra:x,watchable:!0})])}).catch(I)})},e.generateAbstractIcon=function(t){let{children:n,attributes:a,main:i,transform:c,styles:p}=t;const m=lf(p);m.length>0&&(a.style=m);let h;return nh(c)&&(h=xa("generateAbstractTransformGrouping",{main:i,transform:c,containerWidth:i.width,iconWidth:i.width})),n.push(h||i.icon),{children:n,attributes:a}}}},WE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return ff({type:"layer"},()=>{Ti("beforeDOMElementCreation",{assembler:e,params:t});let a=[];return e(i=>{Array.isArray(i)?i.map(c=>{a=a.concat(c.abstract)}):a=a.concat(i.abstract)}),[{tag:"span",attributes:{class:["".concat(Te.cssPrefix,"-layers"),...n].join(" ")},children:a}]})}}}},VE={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:a=[],attributes:i={},styles:c={}}=t;return ff({type:"counter",content:e},()=>(Ti("beforeDOMElementCreation",{content:e,params:t}),kE({content:e.toString(),title:n,extra:{attributes:i,styles:c,classes:["".concat(Te.cssPrefix,"-layers-counter"),...a]}})))}}}},GE={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Pn,title:a=null,classes:i=[],attributes:c={},styles:p={}}=t;return ff({type:"text",content:e},()=>(Ti("beforeDOMElementCreation",{content:e,params:t}),xm({content:e,transform:ae(ae({},Pn),n),title:a,extra:{attributes:c,styles:p,classes:["".concat(Te.cssPrefix,"-layers-text"),...i]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:a,transform:i,extra:c}=n;let p=null,m=null;if(qv){const h=parseInt(getComputedStyle(t).fontSize,10),v=t.getBoundingClientRect();p=v.width/h,m=v.height/h}return Te.autoA11y&&!a&&(c.attributes["aria-hidden"]="true"),Promise.resolve([t,xm({content:t.innerHTML,width:p,height:m,transform:i,title:a,extra:c,watchable:!0})])}}};const YE=new RegExp('"',"ug"),Pm=[1105920,1112319],Am=ae(ae(ae(ae({},{FontAwesome:{normal:"fas",400:"fas"}}),gk),Mk),Tk),Pp=Object.keys(Am).reduce((e,t)=>(e[t.toLowerCase()]=Am[t],e),{}),XE=Object.keys(Pp).reduce((e,t)=>{const n=Pp[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function QE(e){const t=e.replace(YE,""),n=tE(t,0),a=n>=Pm[0]&&n<=Pm[1],i=t.length===2?t[0]===t[1]:!1;return{value:wp(i?t[0]:t),isSecondary:a||i}}function KE(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),a=parseInt(t),i=isNaN(a)?"normal":a;return(Pp[n]||{})[i]||XE[n]}function Om(e,t){const n="".concat(Dk).concat(t.replace(":","-"));return new Promise((a,i)=>{if(e.getAttribute(n)!==null)return a();const p=tl(e.children).filter(F=>F.getAttribute(gp)===t)[0],m=ba.getComputedStyle(e,t),h=m.getPropertyValue("font-family"),v=h.match(Nk),C=m.getPropertyValue("font-weight"),x=m.getPropertyValue("content");if(p&&!v)return e.removeChild(p),a();if(v&&x!=="none"&&x!==""){const F=m.getPropertyValue("content");let I=KE(h,C);const{value:L,isSecondary:D}=QE(F),T=v[0].startsWith("FontAwesome");let O=ah(I,L),U=O;if(T){const j=sE(L);j.iconName&&j.prefix&&(O=j.iconName,I=j.prefix)}if(O&&!D&&(!p||p.getAttribute(qp)!==I||p.getAttribute(eh)!==U)){e.setAttribute(n,U),p&&e.removeChild(p);const j=$E(),{extra:V}=j;V.attributes[gp]=t,Cp(O,I).then($=>{const Z=ih(ae(ae({},j),{},{icons:{main:$,mask:Sy()},prefix:I,iconName:U,extra:V,watchable:!0})),ie=it.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(ie,e.firstChild):e.appendChild(ie),ie.outerHTML=Z.map(re=>Eu(re)).join(`
708
- `),e.removeAttribute(n),a()}).catch(i)}else a()}else a()})}function JE(e){return Promise.all([Om(e,"::before"),Om(e,"::after")])}function ZE(e){return e.parentNode!==document.head&&!~Lk.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(gp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Im(e){if(wo)return new Promise((t,n)=>{const a=tl(e.querySelectorAll("*")).filter(ZE).map(JE),i=sh.begin("searchPseudoElements");Ry(),Promise.all(a).then(()=>{i(),Rp(),t()}).catch(()=>{i(),Rp(),n()})})}var qE={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Im,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=it}=t;Te.searchPseudoElements&&Im(n)}}};let Fm=!1;var eC={mixout(){return{dom:{unwatch(){Ry(),Fm=!0}}}},hooks(){return{bootstrap(){Cm(Sp("mutationObserverCallbacks",{}))},noAuto(){ME()},watch(e){const{observeMutationsRoot:t}=e;Fm?Rp():Cm(Sp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Mm=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,a)=>{const i=a.toLowerCase().split("-"),c=i[0];let p=i.slice(1).join("-");if(c&&p==="h")return n.flipX=!0,n;if(c&&p==="v")return n.flipY=!0,n;if(p=parseFloat(p),isNaN(p))return n;switch(c){case"grow":n.size=n.size+p;break;case"shrink":n.size=n.size-p;break;case"left":n.x=n.x-p;break;case"right":n.x=n.x+p;break;case"up":n.y=n.y-p;break;case"down":n.y=n.y+p;break;case"rotate":n.rotate=n.rotate+p;break}return n},t)};var tC={mixout(){return{parse:{transform:e=>Mm(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=Mm(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:a,containerWidth:i,iconWidth:c}=t;const p={transform:"translate(".concat(i/2," 256)")},m="translate(".concat(a.x*32,", ").concat(a.y*32,") "),h="scale(".concat(a.size/16*(a.flipX?-1:1),", ").concat(a.size/16*(a.flipY?-1:1),") "),v="rotate(".concat(a.rotate," 0 0)"),C={transform:"".concat(m," ").concat(h," ").concat(v)},x={transform:"translate(".concat(c/2*-1," -256)")},F={outer:p,inner:C,path:x};return{tag:"g",attributes:ae({},F.outer),children:[{tag:"g",attributes:ae({},F.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:ae(ae({},n.icon.attributes),F.path)}]}]}}}};const Fd={x:0,y:0,width:"100%",height:"100%"};function Dm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function rC(e){return e.tag==="g"?e.children:[e]}var nC={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),a=n?cf(n.split(" ").map(i=>i.trim())):Sy();return a.prefix||(a.prefix=wa()),e.mask=a,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:a,main:i,mask:c,maskId:p,transform:m}=t;const{width:h,icon:v}=i,{width:C,icon:x}=c,F=Qk({transform:m,containerWidth:C,iconWidth:h}),I={tag:"rect",attributes:ae(ae({},Fd),{},{fill:"white"})},L=v.children?{children:v.children.map(Dm)}:{},D={tag:"g",attributes:ae({},F.inner),children:[Dm(ae({tag:v.tag,attributes:ae(ae({},v.attributes),F.path)},L))]},T={tag:"g",attributes:ae({},F.outer),children:[D]},O="mask-".concat(p||du()),U="clip-".concat(p||du()),j={tag:"mask",attributes:ae(ae({},Fd),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[I,T]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:rC(x)},j]};return n.push(V,{tag:"rect",attributes:ae({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(O,")")},Fd)}),{children:n,attributes:a}}}},oC={provides(e){let t=!1;ba.matchMedia&&(t=ba.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],a={fill:"currentColor"},i={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:ae(ae({},a),{},{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 c=ae(ae({},i),{},{attributeName:"opacity"}),p={tag:"circle",attributes:ae(ae({},a),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||p.children.push({tag:"animate",attributes:ae(ae({},i),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ae(ae({},c),{},{values:"1;0;1;1;0;1;"})}),n.push(p),n.push({tag:"path",attributes:ae(ae({},a),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ae(ae({},c),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:ae(ae({},a),{},{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:ae(ae({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},aC={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),a=n===null?!1:n===""?!0:n;return e.symbol=a,e}}}},iC=[Zk,HE,WE,VE,GE,qE,eC,tC,nC,oC,aC];gE(iC,{mixoutsTo:xr});xr.noAuto;xr.config;xr.library;xr.dom;const Ap=xr.parse;xr.findIconDefinition;xr.toHtml;const sC=xr.icon;xr.layer;xr.text;xr.counter;function _m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,a)}return n}function va(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_m(Object(n),!0).forEach(function(a){Os(e,a,n[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_m(Object(n)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(n,a))})}return e}function Bc(e){"@babel/helpers - typeof";return Bc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bc(e)}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lC(e,t){if(e==null)return{};var n={},a=Object.keys(e),i,c;for(c=0;c<a.length;c++)i=a[c],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ay(e,t){if(e==null)return{};var n=lC(e,t),a,i;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)a=c[i],!(t.indexOf(a)>=0)&&Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function Op(e){return uC(e)||cC(e)||fC(e)||dC()}function uC(e){if(Array.isArray(e))return Ip(e)}function cC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(e,t){if(e){if(typeof e=="string")return Ip(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ip(e,t)}}function Ip(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function dC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
709
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e){var t,n=e.beat,a=e.fade,i=e.beatFade,c=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,O=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":n,"fa-fade":a,"fa-beat-fade":i,"fa-bounce":c,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Os(t,"fa-".concat(O),typeof O<"u"&&O!==null),Os(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Os(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function hC(e){return e=e-0,e===e}function Oy(e){return hC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var mC=["style"];function gC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var a=n.indexOf(":"),i=Oy(n.slice(0,a)),c=n.slice(a+1).trim();return i.startsWith("webkit")?t[gC(i)]=c:t[i]=c,t},{})}function Iy(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var a=(t.children||[]).map(function(h){return Iy(e,h)}),i=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=vC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[Oy(v)]=C}return h},{attrs:{}}),c=n.style,p=c===void 0?{}:c,m=Ay(n,mC);return i.attrs.style=va(va({},i.attrs.style),p),e.apply(void 0,[t.tag,va(va({},i.attrs),m)].concat(Op(a)))}var Fy=!1;try{Fy=process.env.NODE_ENV==="production"}catch{}function yC(){if(!Fy&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Lm(e){if(e&&Bc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Ap.icon)return Ap.icon(e);if(e===null)return null;if(e&&Bc(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function Md(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var bC=["forwardedRef"];function Sa(e){var t=e.forwardedRef,n=Ay(e,bC),a=n.icon,i=n.mask,c=n.symbol,p=n.className,m=n.title,h=n.titleId,v=n.maskId,C=Lm(a),x=Md("classes",[].concat(Op(pC(n)),Op(p.split(" ")))),F=Md("transform",typeof n.transform=="string"?Ap.transform(n.transform):n.transform),I=Md("mask",Lm(i)),L=sC(C,va(va(va(va({},x),F),I),{},{symbol:c,title:m,titleId:h,maskId:v}));if(!L)return yC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(n).forEach(function(O){Sa.defaultProps.hasOwnProperty(O)||(T[O]=n[O])}),wC(D[0],T)}Sa.displayName="FontAwesomeIcon";Sa.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Sa.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var wC=Iy.bind(null,A.createElement);const xC=async e=>await(await fetch(`${yu}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),SC=({taskId:e,playbookId:t,enabled:n})=>{const{queryClient:a}=Js(),i=async()=>xC({taskId:+e,templateId:t.toString()}),c=["taskDetails",+e,t],p=jp({queryKey:c,queryFn:i,enabled:n},a),m=()=>{a.prefetchQuery({queryFn:i,queryKey:c})};return{taskDetails:p.data,prefetchQuery:m,...p}},kC=({buttons:e,onButtonClick:t,disabled:n})=>K.jsx("div",{className:"flex items-center justify-end",children:e.map(a=>K.jsx(fu,{size:"smallCollapse",className:"ml-2",disabled:n,onClick:()=>{t(a)},children:Kb[a]},a))});function $m(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&up(n)){let a=t;for(;a;){if(e===a)return!0;a=a.parentNode||a.host}}return!1}function Xl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Dd(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function EC(e){return e.matches("html,body")}function jm(e){return(e==null?void 0:e.ownerDocument)||document}function _d(e,t){let n=e.filter(i=>{var c;return i.parentId===t&&((c=i.context)==null?void 0:c.open)}),a=n;for(;a.length;)a=e.filter(i=>{var c;return(c=a)==null?void 0:c.some(p=>{var m;return i.parentId===p.id&&((m=i.context)==null?void 0:m.open)})}),n=n.concat(a);return n}function CC(e){return"nativeEvent"in e}var TC=typeof document<"u",RC=function(){},Fp=TC?A.useLayoutEffect:RC;const PC={...pe},AC=PC.useInsertionEffect,OC=AC||(e=>e());function Ps(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return OC(()=>{t.current=e}),pe.useCallback(function(){for(var n=arguments.length,a=new Array(n),i=0;i<n;i++)a[i]=arguments[i];return t.current==null?void 0:t.current(...a)},[])}const IC="data-floating-ui-focusable",Nm="active",zm="selected",FC={...pe};let Bm=!1,MC=0;const Um=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MC++;function DC(){const[e,t]=pe.useState(()=>Bm?Um():void 0);return Fp(()=>{e==null&&t(Um())},[]),pe.useEffect(()=>{Bm=!0},[]),e}const _C=FC.useId,LC=_C||DC;let Mp;process.env.NODE_ENV!=="production"&&(Mp=new Set);function $C(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];const i="Floating UI: "+n.join(" ");if(!((e=Mp)!=null&&e.has(i))){var c;(c=Mp)==null||c.add(i),console.error(i)}}function jC(){const e=new Map;return{emit(t,n){var a;(a=e.get(t))==null||a.forEach(i=>i(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var a;(a=e.get(t))==null||a.delete(n)}}}const NC=pe.createContext(null),zC=pe.createContext(null),BC=()=>{var e;return((e=pe.useContext(NC))==null?void 0:e.id)||null},My=()=>pe.useContext(zC);function UC(e){return"data-floating-ui-"+e}function HC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const WC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Hm=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function GC(e,t){t===void 0&&(t={});const{open:n,onOpenChange:a,elements:i,dataRef:c}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=My(),T=Ps(typeof h=="function"?h:()=>!1),O=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Hm(I),{escapeKey:$,outsidePress:Z}=Hm(L),ie=pe.useRef(!1),re=pe.useRef(-1),le=Ps(xe=>{var Re;if(!n||!p||!m||xe.key!=="Escape"||ie.current)return;const Le=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,q=D?_d(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),q.length>0)){let ve=!0;if(q.forEach(Y=>{var J;if((J=Y.context)!=null&&J.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}a(!1,CC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Ps(xe=>{var Re;const Le=()=>{var q;le(xe),(q=Xl(xe))==null||q.removeEventListener("keydown",Le)};(Re=Xl(xe))==null||Re.addEventListener("keydown",Le)}),De=Ps(xe=>{var Re;const Le=c.current.insideReactTree;c.current.insideReactTree=!1;const q=U.current;if(U.current=!1,v==="click"&&q||Le||typeof O=="function"&&!O(xe))return;const ve=Xl(xe),Y="["+UC("inert")+"]",J=jm(i.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!co(fe);){const ue=ho(fe);if(co(ue)||!ht(ue))break;fe=ue}if(J.length&&ht(ve)&&!EC(ve)&&!$m(ve,i.floating)&&Array.from(J).every(ue=>!$m(fe,ue)))return;if(an(ve)&&ze){const ue=co(ve),ce=zr(ve),Ee=/auto|scroll/,Se=ue||Ee.test(ce.overflowX),Pe=ue||Ee.test(ce.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ce.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,he=D&&_d(D.nodesRef.current,te).some(ue=>{var ce;return Dd(xe,(ce=ue.context)==null?void 0:ce.elements.floating)});if(Dd(xe,i.floating)||Dd(xe,i.domReference)||he)return;const me=D?_d(D.nodesRef.current,te):[];if(me.length>0){let ue=!0;if(me.forEach(ce=>{var Ee;if((Ee=ce.context)!=null&&Ee.open&&!ce.context.dataRef.current.__outsidePressBubbles){ue=!1;return}}),!ue)return}a(!1,xe,"outside-press")}),Fe=Ps(xe=>{var Re;const Le=()=>{var q;De(xe),(q=Xl(xe))==null||q.removeEventListener(v,Le)};(Re=Xl(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!n||!p)return;c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=V;let xe=-1;function Re(J){a(!1,J,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ie.current=!0}function q(){xe=window.setTimeout(()=>{ie.current=!1},Zc()?5:0)}const ve=jm(i.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",q)),O&&ve.addEventListener(v,Z?Fe:De,Z);let Y=[];return F&&(ht(i.domReference)&&(Y=Ms(i.domReference)),ht(i.floating)&&(Y=Y.concat(Ms(i.floating))),!ht(i.reference)&&i.reference&&i.reference.contextElement&&(Y=Y.concat(Ms(i.reference.contextElement)))),Y=Y.filter(J=>{var fe;return J!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(J=>{J.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",q)),O&&ve.removeEventListener(v,Z?Fe:De,Z),Y.forEach(J=>{J.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[c,i,m,O,v,n,a,F,p,j,V,le,$,ye,De,Z,Fe]),pe.useEffect(()=>{c.current.insideReactTree=!1},[c,O,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[WC[x]]:xe=>{a(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){a(!1,xe.nativeEvent,"reference-press")}}}}),[le,a,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[VC[v]]:()=>{c.current.insideReactTree=!0},onBlurCapture(){D||(HC(re),c.current.insideReactTree=!0,re.current=window.setTimeout(()=>{c.current.insideReactTree=!1}))}}),[le,v,c,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function YC(e){const{open:t=!1,onOpenChange:n,elements:a}=e,i=LC(),c=pe.useRef({}),[p]=pe.useState(()=>jC()),m=BC()!=null;if(process.env.NODE_ENV!=="production"){const I=a.reference;I&&!ht(I)&&$C("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(a.reference),C=Ps((I,L,D)=>{c.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),n==null||n(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||a.reference||null,floating:a.floating||null,domReference:a.reference}),[h,a.reference,a.floating]);return pe.useMemo(()=>({dataRef:c,open:t,onOpenChange:C,elements:F,events:p,floatingId:i,refs:x}),[t,C,F,p,i,x])}function XC(e){e===void 0&&(e={});const{nodeId:t}=e,n=YC({...e,elements:{reference:null,floating:null,...e.elements}}),a=e.rootContext||n,i=a.elements,[c,p]=pe.useState(null),[m,h]=pe.useState(null),C=(i==null?void 0:i.domReference)||c,x=pe.useRef(null),F=My();Fp(()=>{C&&(x.current=C)},[C]);const I=Bx({...e,elements:{...i,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),O=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...a,refs:T,elements:O,nodeId:t}),[I,T,O,t,a]);return Fp(()=>{a.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:O}),[I,T,O,U])}function Ld(e,t,n){const a=new Map,i=n==="item";let c=e;if(i&&e){const{[Nm]:p,[zm]:m,...h}=e;c=h}return{...n==="floating"&&{tabIndex:-1,[IC]:""},...c,...t.map(p=>{const m=p?p[n]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(i&&[Nm,zm].includes(v)))if(v.indexOf("on")===0){if(a.has(v)||a.set(v,[]),typeof C=="function"){var x;(x=a.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=a.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function QC(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),n=e.map(m=>m==null?void 0:m.floating),a=e.map(m=>m==null?void 0:m.item),i=pe.useCallback(m=>Ld(m,e,"reference"),t),c=pe.useCallback(m=>Ld(m,e,"floating"),n),p=pe.useCallback(m=>Ld(m,e,"item"),a);return pe.useMemo(()=>({getReferenceProps:i,getFloatingProps:c,getItemProps:p}),[i,c,p])}const KC={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"},JC={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"},ZC={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"},qC={normal:"rounded",pill:"rounded-pill"},eT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},Dy=({category:e="solid",color:t="primary",roundness:n="normal",size:a="medium",textClassName:i="uppercase",children:c,className:p,...m})=>{const h=A.useMemo(()=>ZC[t]??"text-white",[t]),v=A.useMemo(()=>Fs(h,e==="outline"?JC[t]:KC[t],qC[n],eT[a]),[h,e,t,a,n]);return K.jsx("div",{className:Fs("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:K.jsx("p",{className:Fs("mx-1",i),children:c})})},tT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},rT=({transition:e,onClick:t})=>K.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[K.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),K.jsx(Sa,{icon:ik,className:"text-gray-400 size-4"}),K.jsx(Dy,{category:"outline",color:e.color,children:e.to})]}),nT=({title:e,variant:t="default",transitions:n,onClick:a})=>{const[i,c]=A.useState(!1),{refs:p,floatingStyles:m,context:h}=XC({strategy:"fixed",placement:"bottom-end",open:i,onOpenChange:c}),v=GC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=QC([v]);return K.jsxs(K.Fragment,{children:[K.jsxs("div",{onClick:n!=null&&n.length?()=>c(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",n.length?"cursor-pointer":"pointer-events-none",tT[t]),...C(),children:[K.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?K.jsx(Sa,{icon:Qv,className:"size-4"}):K.jsx(K.Fragment,{})]}),i&&n.length&&K.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:n.map((F,I)=>K.jsx(rT,{transition:F,onClick:()=>{a==null||a(F.id),c(!1)}},I))})]})},Wm=({description:e})=>{const t=A.useMemo(()=>{const n=/https:\/\/[^/]+\/api\/files/g,a=e==null?void 0:e.replaceAll(n,`${_h}`),i=a==null?void 0:a.replaceAll('src="/api/files',`src="${_h}`),m=new DOMParser().parseFromString(i,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),i},[e]);return A.useEffect(()=>{},[t]),K.jsx("div",{className:"flex flex-col gap-4",children:K.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},oT={SEQUENTIAL:"Sequential"},aT={[ct.IN_REVIEW]:"In Review"},iT={[ct.OPEN]:"bg-secondary-500",[ct.IN_PROGRESS]:"bg-primary-600",[ct.IN_REVIEW]:"bg-success-600",[ct.COMPLETED]:"bg-success-600"},sT=({playbookType:e,status:t,step:n,isSelected:a,onSelect:i})=>K.jsx("div",{className:lu("flex flex-col items-center justify-center",a?"bg-[#FFE600]":iT[t],i&&"cursor-pointer"),onClick:c=>{c.stopPropagation(),i==null||i(c.shiftKey)},children:K.jsx("span",{className:lu("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",a?"text-black":"text-white"),children:e===oT.SEQUENTIAL?`STEP ${n}`:(aT[t]||t).toUpperCase()})}),lT={[ct.OPEN]:"secondary",[ct.IN_PROGRESS]:"primary",[ct.IN_REVIEW]:"success",[ct.COMPLETED]:"success"},uT=({status:e})=>K.jsx(Dy,{category:"outline",color:lT[e],children:e}),cT={[ct.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ct.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ct.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ct.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},$d={PHOTO:"photo",SCREENSHOT:"screenshot"},fT=({task:e,step:t,playbookType:n,onButtonClick:a,viewMode:i="card",canStart:c=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=A.useState(!1),{taskDetails:I,prefetchQuery:L}=SC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=Jb({taskStatus:e.workflowStatus,canStart:c}),T=A.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?$d.SCREENSHOT:e.imageRequired===2?$d.PHOTO:null,[e.imageRequired]),O=async U=>{try{F(!0),await a(U)}finally{F(!1)}};if(i==="list"){const U=A.useMemo(()=>e.workflowStatus===ct.COMPLETED?"success":e.workflowStatus===ct.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=A.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ct.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ct.COMPLETED})}),V},[D]);return K.jsxs("div",{className:wt("flex flex-col"),children:[K.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[K.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),K.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ct.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ct.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),K.jsx(nT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{a(V)}})]}),(I==null?void 0:I.description)&&K.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:K.jsx(Wm,{description:(I==null?void 0:I.description)||""})})]})}return K.jsxs("div",{className:lu("flex items-stretch rounded-sm overflow-hidden border",cT[e.workflowStatus]),children:[K.jsx(sT,{playbookType:n,status:e.workflowStatus,step:t}),K.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[n==="Sequential"&&K.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:K.jsx(uT,{status:e.workflowStatus})}),K.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[K.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?K.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[K.jsx(Sa,{icon:ak,className:"size-4"}),K.jsxs("div",{children:[K.jsx("span",{className:"font-medium",children:T===$d.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):K.jsx(K.Fragment,{})]}),(I==null?void 0:I.description)&&K.jsx("div",{className:wt(!p&&"hidden"),children:K.jsx(Wm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&K.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[K.jsx("div",{className:"flex-1",children:K.jsx(kC,{buttons:D,onButtonClick:O,disabled:x})}),m&&K.jsx(fu,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:K.jsx(Sa,{icon:Qv,className:lu("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},_y=A.forwardRef(({title:e,className:t,playbookStyle:n,...a},i)=>{var c,p;return K.jsx("div",{ref:i,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((c=n==null?void 0:n.whiteLabel)==null?void 0:c.titleBackgroundColor)||"#f8f9fa"},...a,children:K.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=n==null?void 0:n.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});_y.displayName="PlaybookHeader";const Cu=({children:e})=>K.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e}),dT='/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{*{--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}@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-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}.focus\\:not-data-focus\\:outline-none:focus:not([data-focus]){--tw-outline-style:none!important;outline-style:none!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-2[data-focus]{outline-style:var(--tw-outline-style)!important;outline-width:2px!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}}}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}',pT=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>{const{playbook:a,actions:i}=Qb(e);if(!a)return K.jsx("div",{});const c=async(p,m)=>{var h;if(p===eu.COMPLETE){const v=(h=a.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return i.completeTask(m,v)}if(p===eu.START)return i.startTask(m)};return K.jsx(Ly,{playbook:a,playbookMode:t,onTaskButtonClick:c,playbookStyle:n})},hT=({className:e,children:t,numberOfTasks:n,playbookMode:a})=>K.jsxs("div",{className:wt("w-full p-4",e),children:[n&&K.jsxs("div",{className:wt(a==="card"&&"mb-4"),children:[K.jsx("span",{className:"font-medium",children:"Tasks"})," (",n,")"]}),K.jsx("div",{className:wt(a==="card"&&"space-y-4"),children:t})]}),Ly=({playbook:e,playbookMode:t,onTaskButtonClick:n,playbookStyle:a})=>{var D,T,O,U,j;const{playbookInstanceName:i,tasks:c}=e,p=A.useRef(null),[m,h]=A.useState(0),[v,C]=A.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Cg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});A.useEffect(()=>(p.current&&new ResizeObserver($=>{var Z;for(const ie of $)console.log("ResizeObserver entry:",ie),ie.contentRect&&h(((Z=p.current)==null?void 0:Z.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=A.useMemo(()=>{const V=c.filter($=>$.workflowStatus===ct.COMPLETED).sort(($,Z)=>Z.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[c]);return Uc.createPortal(K.jsxs(fb.div,{children:[K.jsx(Cu,{children:K.jsxs("div",{className:wt(!(a!=null&&a.overlay)&&"min-h-screen",(a==null?void 0:a.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(a==null?void 0:a.overlay)&&{style:{width:"100%",maxWidth:v?((D=a.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=a.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((O=a.overlay.offset)==null?void 0:O.right)!==void 0?a.overlay.offset.right:a.overlay.position==="right"?32:void 0,left:((U=a.overlay.offset)==null?void 0:U.left)!==void 0?a.overlay.offset.left:a.overlay.position==="left"?32:void 0}},children:[(a==null?void 0:a.overlay)&&K.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=a==null?void 0:a.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:K.jsx("img",{src:Xv,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),K.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(a==null?void 0:a.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[K.jsx(_y,{title:i,className:wt("top-0 sticky z-2"),playbookStyle:a,ref:p}),K.jsx(hT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:c.map((V,$)=>{var Z;return K.jsx(fT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ie=>n(ie,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(Z=a==null?void 0:a.whiteLabel)==null?void 0:Z.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]})}),K.jsx("style",{children:dT})]}),document.body,"confidence-playbook-portal")},mT=({email:e,playbookId:t,playbookMode:n,playbookStyle:a})=>{const[i,c]=A.useState(null);return A.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Tg({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);c(p)})()},[]),i?K.jsx(Cu,{children:K.jsx(Pi,{playbookInstanceId:i,playbookMode:n,playbookStyle:a})}):K.jsx("div",{children:"Loading..."})},gT=({playbookId:e,playbookMode:t="list",playbookStyle:n,btnLabel:a="Start Playbook",btnColor:i="primary"})=>{const[c,p]=A.useState(null);return K.jsxs(Cu,{children:[K.jsx(nk,{playbookId:e,disabled:!!c,onInitiated:p,btnLabel:a,btnColor:i}),c&&K.jsx(Pi,{playbookInstanceId:c,playbookMode:t,playbookStyle:n})]})},Pi=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>K.jsx(Cu,{children:K.jsx(kg,{children:K.jsx(pT,{playbookInstanceId:e,playbookMode:t,playbookStyle:n})})});Pi.Context=kg;Pi.View=Ly;Pi.AutoInstantiated=mT;Pi.WithInstantiateButton=gT;exports.ConfidencePlaybook=Pi;exports.ConfidenceUIWrapper=Cu;
706
+ }`;function dy(){const e=iy,t=ay,n=Te.cssPrefix,i=Te.replacementClass;let a=Kk;if(n!==e||i!==t){const c=new RegExp("\\.".concat(e,"\\-"),"g"),p=new RegExp("\\--".concat(e,"\\-"),"g"),m=new RegExp("\\.".concat(t),"g");a=a.replace(c,".".concat(n,"-")).replace(p,"--".concat(n,"-")).replace(m,".".concat(i))}return a}let mm=!1;function Pd(){Te.autoAddCss&&!mm&&(Gk(dy()),mm=!0)}var Jk={mixout(){return{dom:{css:dy,insertCss:Pd}}},hooks(){return{beforeDOMElementCreation(){Pd()},beforeI2svg(){Pd()}}}};const go=bi||{};go[mo]||(go[mo]={});go[mo].styles||(go[mo].styles={});go[mo].hooks||(go[mo].hooks={});go[mo].shims||(go[mo].shims=[]);var An=go[mo];const py=[],hy=function(){at.removeEventListener("DOMContentLoaded",hy),jc=1,py.map(e=>e())};let jc=!1;wo&&(jc=(at.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(at.readyState),jc||at.addEventListener("DOMContentLoaded",hy));function Zk(e){wo&&(jc?setTimeout(e,0):py.push(e))}function Eu(e){const{tag:t,attributes:n={},children:i=[]}=e;return typeof e=="string"?fy(e):"<".concat(t," ").concat(Xk(n),">").concat(i.map(Eu).join(""),"</").concat(t,">")}function gm(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}var Ad=function(t,n,i,a){var c=Object.keys(t),p=c.length,m=n,h,v,C;for(i===void 0?(h=1,C=t[c[0]]):(h=0,C=i);h<p;h++)v=c[h],C=m(C,t[v],v,t);return C};function eE(e){const t=[];let n=0;const i=e.length;for(;n<i;){const a=e.charCodeAt(n++);if(a>=55296&&a<=56319&&n<i){const c=e.charCodeAt(n++);(c&64512)==56320?t.push(((a&1023)<<10)+(c&1023)+65536):(t.push(a),n--)}else t.push(a)}return t}function bp(e){const t=eE(e);return t.length===1?t[0].toString(16):null}function tE(e,t){const n=e.length;let i=e.charCodeAt(t),a;return i>=55296&&i<=56319&&n>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(i-55296)*1024+a-56320+65536:i}function vm(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return!!i.icon?t[i.iconName]=i.icon:t[n]=i,t},{})}function wp(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:i=!1}=n,a=vm(t);typeof An.hooks.addPack=="function"&&!i?An.hooks.addPack(e,vm(t)):An.styles[e]=ie(ie({},An.styles[e]||{}),a),e==="fas"&&wp("fa",t)}const{styles:pu,shims:rE}=An,my=Object.keys(eh),nE=my.reduce((e,t)=>(e[t]=Object.keys(eh[t]),e),{});let nh=null,gy={},vy={},yy={},by={},wy={};function oE(e){return~Uk.indexOf(e)}function iE(e,t){const n=t.split("-"),i=n[0],a=n.slice(1).join("-");return i===e&&a!==""&&!oE(a)?a:null}const xy=()=>{const e=i=>Ad(pu,(a,c,p)=>(a[p]=Ad(c,i,{}),a),{});gy=e((i,a,c)=>(a[3]&&(i[a[3]]=c),a[2]&&a[2].filter(m=>typeof m=="number").forEach(m=>{i[m.toString(16)]=c}),i)),vy=e((i,a,c)=>(i[c]=c,a[2]&&a[2].filter(m=>typeof m=="string").forEach(m=>{i[m]=c}),i)),wy=e((i,a,c)=>{const p=a[2];return i[c]=c,p.forEach(m=>{i[m]=c}),i});const t="far"in pu||Te.autoFetchSvg,n=Ad(rE,(i,a)=>{const c=a[0];let p=a[1];const m=a[2];return p==="far"&&!t&&(p="fas"),typeof c=="string"&&(i.names[c]={prefix:p,iconName:m}),typeof c=="number"&&(i.unicodes[c.toString(16)]={prefix:p,iconName:m}),i},{names:{},unicodes:{}});yy=n.names,by=n.unicodes,nh=lf(Te.styleDefault,{family:Te.familyDefault})};Vk(e=>{nh=lf(e.styleDefault,{family:Te.familyDefault})});xy();function oh(e,t){return(gy[e]||{})[t]}function aE(e,t){return(vy[e]||{})[t]}function da(e,t){return(wy[e]||{})[t]}function Sy(e){return yy[e]||{prefix:null,iconName:null}}function sE(e){const t=by[e],n=oh("fas",e);return t||(n?{prefix:"fas",iconName:n}:null)||{prefix:null,iconName:null}}function wi(){return nh}const ky=()=>({prefix:null,iconName:null,rest:[]});function lE(e){let t=jt;const n=my.reduce((i,a)=>(i[a]="".concat(Te.cssPrefix,"-").concat(a),i),{});return ny.forEach(i=>{(e.includes(n[i])||e.some(a=>nE[i].includes(a)))&&(t=i)}),t}function lf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:n=jt}=t,i=$k[n][e];if(n===af&&!e)return"fad";const a=hm[n][e]||hm[n][i],c=e in An.styles?e:null;return a||c||null}function uE(e){let t=[],n=null;return e.forEach(i=>{const a=iE(Te.cssPrefix,i);a?n=a:i&&t.push(i)}),{iconName:n,rest:t}}function ym(e){return e.sort().filter((t,n,i)=>i.indexOf(t)===n)}function uf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:n=!1}=t;let i=null;const a=pp.concat(Ck),c=ym(e.filter(x=>a.includes(x))),p=ym(e.filter(x=>!pp.includes(x))),m=c.filter(x=>(i=x,!ry.includes(x))),[h=null]=m,v=lE(c),C=ie(ie({},uE(p)),{},{prefix:lf(h,{family:v})});return ie(ie(ie({},C),pE({values:e,family:v,styles:pu,config:Te,canonical:C,givenPrefix:i})),cE(n,i,C))}function cE(e,t,n){let{prefix:i,iconName:a}=n;if(e||!i||!a)return{prefix:i,iconName:a};const c=t==="fa"?Sy(a):{},p=da(i,a);return a=c.iconName||p||a,i=c.prefix||i,i==="far"&&!pu.far&&pu.fas&&!Te.autoFetchSvg&&(i="fas"),{prefix:i,iconName:a}}const fE=ny.filter(e=>e!==jt||e!==af),dE=Object.keys(dp).filter(e=>e!==jt).map(e=>Object.keys(dp[e])).flat();function pE(e){const{values:t,family:n,canonical:i,givenPrefix:a="",styles:c={},config:p={}}=e,m=n===af,h=t.includes("fa-duotone")||t.includes("fad"),v=p.familyDefault==="duotone",C=i.prefix==="fad"||i.prefix==="fa-duotone";if(!m&&(h||v||C)&&(i.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(i.prefix="fab"),!i.prefix&&fE.includes(n)&&(Object.keys(c).find(F=>dE.includes(F))||p.autoFetchSvg)){const F=vk.get(n).defaultShortPrefixId;i.prefix=F,i.iconName=da(i.prefix,i.iconName)||i.iconName}return(i.prefix==="fa"||a==="fa")&&(i.prefix=wi()||"fas"),i}class hE{constructor(){this.definitions={}}add(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const a=n.reduce(this._pullDefinitions,{});Object.keys(a).forEach(c=>{this.definitions[c]=ie(ie({},this.definitions[c]||{}),a[c]),wp(c,a[c]);const p=eh[jt][c];p&&wp(p,a[c]),xy()})}reset(){this.definitions={}}_pullDefinitions(t,n){const i=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(i).map(a=>{const{prefix:c,iconName:p,icon:m}=i[a],h=m[2];t[c]||(t[c]={}),h.length>0&&h.forEach(v=>{typeof v=="string"&&(t[c][v]=m)}),t[c][p]=m}),t}}let bm=[],As={};const _s={},mE=Object.keys(_s);function gE(e,t){let{mixoutsTo:n}=t;return bm=e,As={},Object.keys(_s).forEach(i=>{mE.indexOf(i)===-1&&delete _s[i]}),bm.forEach(i=>{const a=i.mixout?i.mixout():{};if(Object.keys(a).forEach(c=>{typeof a[c]=="function"&&(n[c]=a[c]),typeof a[c]=="object"&&Object.keys(a[c]).forEach(p=>{n[c]||(n[c]={}),n[c][p]=a[c][p]})}),i.hooks){const c=i.hooks();Object.keys(c).forEach(p=>{As[p]||(As[p]=[]),As[p].push(c[p])})}i.provides&&i.provides(_s)}),n}function xp(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return(As[e]||[]).forEach(p=>{t=p.apply(null,[t,...i])}),t}function Ta(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];(As[e]||[]).forEach(c=>{c.apply(null,n)})}function xi(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return _s[e]?_s[e].apply(null,t):void 0}function Sp(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const n=e.prefix||wi();if(t)return t=da(n,t)||t,gm(Ey.definitions,n,t)||gm(An.styles,n,t)}const Ey=new hE,vE=()=>{Te.autoReplaceSvg=!1,Te.observeMutations=!1,Ta("noAuto")},yE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return wo?(Ta("beforeI2svg",e),xi("pseudoElements2svg",e),xi("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Te.autoReplaceSvg===!1&&(Te.autoReplaceSvg=!0),Te.observeMutations=!0,Zk(()=>{wE({autoReplaceSvgRoot:t}),Ta("watch",e)})}},bE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:da(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],n=lf(e[0]);return{prefix:n,iconName:da(n,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Te.cssPrefix,"-"))>-1||e.match(jk))){const t=uf(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||wi(),iconName:da(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=wi();return{prefix:t,iconName:da(t,e)||e}}}},xr={noAuto:vE,config:Te,dom:yE,parse:bE,library:Ey,findIconDefinition:Sp,toHtml:Eu},wE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=at}=e;(Object.keys(An.styles).length>0||Te.autoFetchSvg)&&wo&&Te.autoReplaceSvg&&xr.dom.i2svg({node:t})};function cf(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(n=>Eu(n))}}),Object.defineProperty(e,"node",{get:function(){if(!wo)return;const n=at.createElement("div");return n.innerHTML=e.html,n.children}}),e}function xE(e){let{children:t,main:n,mask:i,attributes:a,styles:c,transform:p}=e;if(rh(p)&&n.found&&!i.found){const{width:m,height:h}=n,v={x:m/h/2,y:.5};a.style=sf(ie(ie({},c),{},{"transform-origin":"".concat(v.x+p.x/16,"em ").concat(v.y+p.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function SE(e){let{prefix:t,iconName:n,children:i,attributes:a,symbol:c}=e;const p=c===!0?"".concat(t,"-").concat(Te.cssPrefix,"-").concat(n):c;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ie(ie({},a),{},{id:p}),children:i}]}]}function ih(e){const{icons:{main:t,mask:n},prefix:i,iconName:a,transform:c,symbol:p,title:m,maskId:h,titleId:v,extra:C,watchable:x=!1}=e,{width:F,height:I}=n.found?n:t,L=Sk.includes(i),D=[Te.replacementClass,a?"".concat(Te.cssPrefix,"-").concat(a):""].filter($=>C.classes.indexOf($)===-1).filter($=>$!==""||!!$).concat(C.classes).join(" ");let T={children:[],attributes:ie(ie({},C.attributes),{},{"data-prefix":i,"data-icon":a,class:D,role:C.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(F," ").concat(I)})};const O=L&&!~C.classes.indexOf("fa-fw")?{width:"".concat(F/I*16*.0625,"em")}:{};x&&(T.attributes[Ca]=""),m&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(v||du())},children:[m]}),delete T.attributes.title);const U=ie(ie({},T),{},{prefix:i,iconName:a,main:t,mask:n,maskId:h,transform:c,symbol:p,styles:ie(ie({},O),C.styles)}),{children:j,attributes:V}=n.found&&t.found?xi("generateAbstractMask",U)||{children:[],attributes:{}}:xi("generateAbstractIcon",U)||{children:[],attributes:{}};return U.children=j,U.attributes=V,p?SE(U):xE(U)}function wm(e){const{content:t,width:n,height:i,transform:a,title:c,extra:p,watchable:m=!1}=e,h=ie(ie(ie({},p.attributes),c?{title:c}:{}),{},{class:p.classes.join(" ")});m&&(h[Ca]="");const v=ie({},p.styles);rh(a)&&(v.transform=qk({transform:a,startCentered:!0,width:n,height:i}),v["-webkit-transform"]=v.transform);const C=sf(v);C.length>0&&(h.style=C);const x=[];return x.push({tag:"span",attributes:h,children:[t]}),c&&x.push({tag:"span",attributes:{class:"sr-only"},children:[c]}),x}function kE(e){const{content:t,title:n,extra:i}=e,a=ie(ie(ie({},i.attributes),n?{title:n}:{}),{},{class:i.classes.join(" ")}),c=sf(i.styles);c.length>0&&(a.style=c);const p=[];return p.push({tag:"span",attributes:a,children:[t]}),n&&p.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),p}const{styles:Od}=An;function kp(e){const t=e[0],n=e[1],[i]=e.slice(4);let a=null;return Array.isArray(i)?a={tag:"g",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.SECONDARY),fill:"currentColor",d:i[0]}},{tag:"path",attributes:{class:"".concat(Te.cssPrefix,"-").concat(Rd.PRIMARY),fill:"currentColor",d:i[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:i}},{found:!0,width:t,height:n,icon:a}}const EE={found:!1,width:512,height:512};function CE(e,t){!sy&&!Te.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ep(e,t){let n=t;return t==="fa"&&Te.styleDefault!==null&&(t=wi()),new Promise((i,a)=>{if(n==="fa"){const c=Sy(e)||{};e=c.iconName||e,t=c.prefix||t}if(e&&t&&Od[t]&&Od[t][e]){const c=Od[t][e];return i(kp(c))}CE(e,t),i(ie(ie({},EE),{},{icon:Te.showMissingIcons&&e?xi("missingIconAbstract")||{}:{}}))})}const xm=()=>{},Cp=Te.measurePerformance&&Sc&&Sc.mark&&Sc.measure?Sc:{mark:xm,measure:xm},Zl='FA "6.7.2"',TE=e=>(Cp.mark("".concat(Zl," ").concat(e," begins")),()=>Cy(e)),Cy=e=>{Cp.mark("".concat(Zl," ").concat(e," ends")),Cp.measure("".concat(Zl," ").concat(e),"".concat(Zl," ").concat(e," begins"),"".concat(Zl," ").concat(e," ends"))};var ah={begin:TE,end:Cy};const Tc=()=>{};function Sm(e){return typeof(e.getAttribute?e.getAttribute(Ca):null)=="string"}function RE(e){const t=e.getAttribute?e.getAttribute(Jp):null,n=e.getAttribute?e.getAttribute(Zp):null;return t&&n}function PE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Te.replacementClass)}function AE(){return Te.autoReplaceSvg===!0?Rc.replace:Rc[Te.autoReplaceSvg]||Rc.replace}function OE(e){return at.createElementNS("http://www.w3.org/2000/svg",e)}function IE(e){return at.createElement(e)}function Ty(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:n=e.tag==="svg"?OE:IE}=t;if(typeof e=="string")return at.createTextNode(e);const i=n(e.tag);return Object.keys(e.attributes||[]).forEach(function(c){i.setAttribute(c,e.attributes[c])}),(e.children||[]).forEach(function(c){i.appendChild(Ty(c,{ceFn:n}))}),i}function FE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const Rc={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(n=>{t.parentNode.insertBefore(Ty(n),t)}),t.getAttribute(Ca)===null&&Te.keepOriginalSource){let n=at.createComment(FE(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){const t=e[0],n=e[1];if(~th(t).indexOf(Te.replacementClass))return Rc.replace(e);const i=new RegExp("".concat(Te.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){const c=n[0].attributes.class.split(" ").reduce((p,m)=>(m===Te.replacementClass||m.match(i)?p.toSvg.push(m):p.toNode.push(m),p),{toNode:[],toSvg:[]});n[0].attributes.class=c.toSvg.join(" "),c.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",c.toNode.join(" "))}const a=n.map(c=>Eu(c)).join(`
707
+ `);t.setAttribute(Ca,""),t.innerHTML=a}};function km(e){e()}function Ry(e,t){const n=typeof t=="function"?t:Tc;if(e.length===0)n();else{let i=km;Te.mutateApproach===_k&&(i=bi.requestAnimationFrame||km),i(()=>{const a=AE(),c=ah.begin("mutate");e.map(a),c(),n()})}}let sh=!1;function Py(){sh=!0}function Tp(){sh=!1}let Nc=null;function Em(e){if(!cm||!Te.observeMutations)return;const{treeCallback:t=Tc,nodeCallback:n=Tc,pseudoElementsCallback:i=Tc,observeMutationsRoot:a=at}=e;Nc=new cm(c=>{if(sh)return;const p=wi();tl(c).forEach(m=>{if(m.type==="childList"&&m.addedNodes.length>0&&!Sm(m.addedNodes[0])&&(Te.searchPseudoElements&&i(m.target),t(m.target)),m.type==="attributes"&&m.target.parentNode&&Te.searchPseudoElements&&i(m.target.parentNode),m.type==="attributes"&&Sm(m.target)&&~Bk.indexOf(m.attributeName))if(m.attributeName==="class"&&RE(m.target)){const{prefix:h,iconName:v}=uf(th(m.target));m.target.setAttribute(Jp,h||p),v&&m.target.setAttribute(Zp,v)}else PE(m.target)&&n(m.target)})}),wo&&Nc.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function ME(){Nc&&Nc.disconnect()}function DE(e){const t=e.getAttribute("style");let n=[];return t&&(n=t.split(";").reduce((i,a)=>{const c=a.split(":"),p=c[0],m=c.slice(1);return p&&m.length>0&&(i[p]=m.join(":").trim()),i},{})),n}function _E(e){const t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),i=e.innerText!==void 0?e.innerText.trim():"";let a=uf(th(e));return a.prefix||(a.prefix=wi()),t&&n&&(a.prefix=t,a.iconName=n),a.iconName&&a.prefix||(a.prefix&&i.length>0&&(a.iconName=aE(a.prefix,e.innerText)||oh(a.prefix,bp(e.innerText))),!a.iconName&&Te.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function LE(e){const t=tl(e.attributes).reduce((a,c)=>(a.name!=="class"&&a.name!=="style"&&(a[c.name]=c.value),a),{}),n=e.getAttribute("title"),i=e.getAttribute("data-fa-title-id");return Te.autoA11y&&(n?t["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(i||du()):(t["aria-hidden"]="true",t.focusable="false")),t}function $E(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Pn,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Cm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:n,prefix:i,rest:a}=_E(e),c=LE(e),p=xp("parseNodeAttributes",{},e);let m=t.styleParser?DE(e):[];return ie({iconName:n,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:Pn,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:m,attributes:c}},p)}const{styles:jE}=An;function Ay(e){const t=Te.autoReplaceSvg==="nest"?Cm(e,{styleParser:!1}):Cm(e);return~t.extra.classes.indexOf(uy)?xi("generateLayersText",e,t):xi("generateSvgReplacementMutation",e,t)}function NE(){return[...bk,...pp]}function Tm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!wo)return Promise.resolve();const n=at.documentElement.classList,i=C=>n.add("".concat(pm,"-").concat(C)),a=C=>n.remove("".concat(pm,"-").concat(C)),c=Te.autoFetchSvg?NE():ry.concat(Object.keys(jE));c.includes("fa")||c.push("fa");const p=[".".concat(uy,":not([").concat(Ca,"])")].concat(c.map(C=>".".concat(C,":not([").concat(Ca,"])"))).join(", ");if(p.length===0)return Promise.resolve();let m=[];try{m=tl(e.querySelectorAll(p))}catch{}if(m.length>0)i("pending"),a("complete");else return Promise.resolve();const h=ah.begin("onTree"),v=m.reduce((C,x)=>{try{const F=Ay(x);F&&C.push(F)}catch(F){sy||F.name==="MissingIcon"&&console.error(F)}return C},[]);return new Promise((C,x)=>{Promise.all(v).then(F=>{Ry(F,()=>{i("active"),i("complete"),a("pending"),typeof t=="function"&&t(),h(),C()})}).catch(F=>{h(),x(F)})})}function zE(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Ay(e).then(n=>{n&&Ry([n],t)})}function BE(e){return function(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=(t||{}).icon?t:Sp(t||{});let{mask:a}=n;return a&&(a=(a||{}).icon?a:Sp(a||{})),e(i,ie(ie({},n),{},{mask:a}))}}const UE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Pn,symbol:i=!1,mask:a=null,maskId:c=null,title:p=null,titleId:m=null,classes:h=[],attributes:v={},styles:C={}}=t;if(!e)return;const{prefix:x,iconName:F,icon:I}=e;return cf(ie({type:"icon"},e),()=>(Ta("beforeDOMElementCreation",{iconDefinition:e,params:t}),Te.autoA11y&&(p?v["aria-labelledby"]="".concat(Te.replacementClass,"-title-").concat(m||du()):(v["aria-hidden"]="true",v.focusable="false")),ih({icons:{main:kp(I),mask:a?kp(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:F,transform:ie(ie({},Pn),n),symbol:i,title:p,maskId:c,titleId:m,extra:{attributes:v,styles:C,classes:h}})))};var HE={mixout(){return{icon:BE(UE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Tm,e.nodeCallback=zE,e}}},provides(e){e.i2svg=function(t){const{node:n=at,callback:i=()=>{}}=t;return Tm(n,i)},e.generateSvgReplacementMutation=function(t,n){const{iconName:i,title:a,titleId:c,prefix:p,transform:m,symbol:h,mask:v,maskId:C,extra:x}=n;return new Promise((F,I)=>{Promise.all([Ep(i,p),v.iconName?Ep(v.iconName,v.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(L=>{let[D,T]=L;F([t,ih({icons:{main:D,mask:T},prefix:p,iconName:i,transform:m,symbol:h,maskId:C,title:a,titleId:c,extra:x,watchable:!0})])}).catch(I)})},e.generateAbstractIcon=function(t){let{children:n,attributes:i,main:a,transform:c,styles:p}=t;const m=sf(p);m.length>0&&(i.style=m);let h;return rh(c)&&(h=xi("generateAbstractTransformGrouping",{main:a,transform:c,containerWidth:a.width,iconWidth:a.width})),n.push(h||a.icon),{children:n,attributes:i}}}},WE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:n=[]}=t;return cf({type:"layer"},()=>{Ta("beforeDOMElementCreation",{assembler:e,params:t});let i=[];return e(a=>{Array.isArray(a)?a.map(c=>{i=i.concat(c.abstract)}):i=i.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Te.cssPrefix,"-layers"),...n].join(" ")},children:i}]})}}}},VE={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:n=null,classes:i=[],attributes:a={},styles:c={}}=t;return cf({type:"counter",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),kE({content:e.toString(),title:n,extra:{attributes:a,styles:c,classes:["".concat(Te.cssPrefix,"-layers-counter"),...i]}})))}}}},GE={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:n=Pn,title:i=null,classes:a=[],attributes:c={},styles:p={}}=t;return cf({type:"text",content:e},()=>(Ta("beforeDOMElementCreation",{content:e,params:t}),wm({content:e,transform:ie(ie({},Pn),n),title:i,extra:{attributes:c,styles:p,classes:["".concat(Te.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,n){const{title:i,transform:a,extra:c}=n;let p=null,m=null;if(ey){const h=parseInt(getComputedStyle(t).fontSize,10),v=t.getBoundingClientRect();p=v.width/h,m=v.height/h}return Te.autoA11y&&!i&&(c.attributes["aria-hidden"]="true"),Promise.resolve([t,wm({content:t.innerHTML,width:p,height:m,transform:a,title:i,extra:c,watchable:!0})])}}};const YE=new RegExp('"',"ug"),Rm=[1105920,1112319],Pm=ie(ie(ie(ie({},{FontAwesome:{normal:"fas",400:"fas"}}),gk),Mk),Tk),Rp=Object.keys(Pm).reduce((e,t)=>(e[t.toLowerCase()]=Pm[t],e),{}),XE=Object.keys(Rp).reduce((e,t)=>{const n=Rp[t];return e[t]=n[900]||[...Object.entries(n)][0][1],e},{});function QE(e){const t=e.replace(YE,""),n=tE(t,0),i=n>=Rm[0]&&n<=Rm[1],a=t.length===2?t[0]===t[1]:!1;return{value:bp(a?t[0]:t),isSecondary:i||a}}function qE(e,t){const n=e.replace(/^['"]|['"]$/g,"").toLowerCase(),i=parseInt(t),a=isNaN(i)?"normal":i;return(Rp[n]||{})[a]||XE[n]}function Am(e,t){const n="".concat(Dk).concat(t.replace(":","-"));return new Promise((i,a)=>{if(e.getAttribute(n)!==null)return i();const p=tl(e.children).filter(F=>F.getAttribute(mp)===t)[0],m=bi.getComputedStyle(e,t),h=m.getPropertyValue("font-family"),v=h.match(Nk),C=m.getPropertyValue("font-weight"),x=m.getPropertyValue("content");if(p&&!v)return e.removeChild(p),i();if(v&&x!=="none"&&x!==""){const F=m.getPropertyValue("content");let I=qE(h,C);const{value:L,isSecondary:D}=QE(F),T=v[0].startsWith("FontAwesome");let O=oh(I,L),U=O;if(T){const j=sE(L);j.iconName&&j.prefix&&(O=j.iconName,I=j.prefix)}if(O&&!D&&(!p||p.getAttribute(Jp)!==I||p.getAttribute(Zp)!==U)){e.setAttribute(n,U),p&&e.removeChild(p);const j=$E(),{extra:V}=j;V.attributes[mp]=t,Ep(O,I).then($=>{const J=ih(ie(ie({},j),{},{icons:{main:$,mask:ky()},prefix:I,iconName:U,extra:V,watchable:!0})),ae=at.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(ae,e.firstChild):e.appendChild(ae),ae.outerHTML=J.map(re=>Eu(re)).join(`
708
+ `),e.removeAttribute(n),i()}).catch(a)}else i()}else i()})}function KE(e){return Promise.all([Am(e,"::before"),Am(e,"::after")])}function JE(e){return e.parentNode!==document.head&&!~Lk.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(mp)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Om(e){if(wo)return new Promise((t,n)=>{const i=tl(e.querySelectorAll("*")).filter(JE).map(KE),a=ah.begin("searchPseudoElements");Py(),Promise.all(i).then(()=>{a(),Tp(),t()}).catch(()=>{a(),Tp(),n()})})}var ZE={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Om,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:n=at}=t;Te.searchPseudoElements&&Om(n)}}};let Im=!1;var eC={mixout(){return{dom:{unwatch(){Py(),Im=!0}}}},hooks(){return{bootstrap(){Em(xp("mutationObserverCallbacks",{}))},noAuto(){ME()},watch(e){const{observeMutationsRoot:t}=e;Im?Tp():Em(xp("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Fm=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((n,i)=>{const a=i.toLowerCase().split("-"),c=a[0];let p=a.slice(1).join("-");if(c&&p==="h")return n.flipX=!0,n;if(c&&p==="v")return n.flipY=!0,n;if(p=parseFloat(p),isNaN(p))return n;switch(c){case"grow":n.size=n.size+p;break;case"shrink":n.size=n.size-p;break;case"left":n.x=n.x-p;break;case"right":n.x=n.x+p;break;case"up":n.y=n.y-p;break;case"down":n.y=n.y+p;break;case"rotate":n.rotate=n.rotate+p;break}return n},t)};var tC={mixout(){return{parse:{transform:e=>Fm(e)}}},hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-transform");return n&&(e.transform=Fm(n)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:n,transform:i,containerWidth:a,iconWidth:c}=t;const p={transform:"translate(".concat(a/2," 256)")},m="translate(".concat(i.x*32,", ").concat(i.y*32,") "),h="scale(".concat(i.size/16*(i.flipX?-1:1),", ").concat(i.size/16*(i.flipY?-1:1),") "),v="rotate(".concat(i.rotate," 0 0)"),C={transform:"".concat(m," ").concat(h," ").concat(v)},x={transform:"translate(".concat(c/2*-1," -256)")},F={outer:p,inner:C,path:x};return{tag:"g",attributes:ie({},F.outer),children:[{tag:"g",attributes:ie({},F.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:ie(ie({},n.icon.attributes),F.path)}]}]}}}};const Id={x:0,y:0,width:"100%",height:"100%"};function Mm(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function rC(e){return e.tag==="g"?e.children:[e]}var nC={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-mask"),i=n?uf(n.split(" ").map(a=>a.trim())):ky();return i.prefix||(i.prefix=wi()),e.mask=i,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:n,attributes:i,main:a,mask:c,maskId:p,transform:m}=t;const{width:h,icon:v}=a,{width:C,icon:x}=c,F=Qk({transform:m,containerWidth:C,iconWidth:h}),I={tag:"rect",attributes:ie(ie({},Id),{},{fill:"white"})},L=v.children?{children:v.children.map(Mm)}:{},D={tag:"g",attributes:ie({},F.inner),children:[Mm(ie({tag:v.tag,attributes:ie(ie({},v.attributes),F.path)},L))]},T={tag:"g",attributes:ie({},F.outer),children:[D]},O="mask-".concat(p||du()),U="clip-".concat(p||du()),j={tag:"mask",attributes:ie(ie({},Id),{},{id:O,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[I,T]},V={tag:"defs",children:[{tag:"clipPath",attributes:{id:U},children:rC(x)},j]};return n.push(V,{tag:"rect",attributes:ie({fill:"currentColor","clip-path":"url(#".concat(U,")"),mask:"url(#".concat(O,")")},Id)}),{children:n,attributes:i}}}},oC={provides(e){let t=!1;bi.matchMedia&&(t=bi.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const n=[],i={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};n.push({tag:"path",attributes:ie(ie({},i),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const c=ie(ie({},a),{},{attributeName:"opacity"}),p={tag:"circle",attributes:ie(ie({},i),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||p.children.push({tag:"animate",attributes:ie(ie({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ie(ie({},c),{},{values:"1;0;1;1;0;1;"})}),n.push(p),n.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ie(ie({},c),{},{values:"1;0;0;0;0;1;"})}]}),t||n.push({tag:"path",attributes:ie(ie({},i),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ie(ie({},c),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:n}}}},iC={hooks(){return{parseNodeAttributes(e,t){const n=t.getAttribute("data-fa-symbol"),i=n===null?!1:n===""?!0:n;return e.symbol=i,e}}}},aC=[Jk,HE,WE,VE,GE,ZE,eC,tC,nC,oC,iC];gE(aC,{mixoutsTo:xr});xr.noAuto;xr.config;xr.library;xr.dom;const Pp=xr.parse;xr.findIconDefinition;xr.toHtml;const sC=xr.icon;xr.layer;xr.text;xr.counter;function Dm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,i)}return n}function vi(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Dm(Object(n),!0).forEach(function(i){Os(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dm(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function zc(e){"@babel/helpers - typeof";return zc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zc(e)}function Os(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lC(e,t){if(e==null)return{};var n={},i=Object.keys(e),a,c;for(c=0;c<i.length;c++)a=i[c],!(t.indexOf(a)>=0)&&(n[a]=e[a]);return n}function Oy(e,t){if(e==null)return{};var n=lC(e,t),i,a;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(a=0;a<c.length;a++)i=c[a],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Ap(e){return uC(e)||cC(e)||fC(e)||dC()}function uC(e){if(Array.isArray(e))return Op(e)}function cC(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fC(e,t){if(e){if(typeof e=="string")return Op(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Op(e,t)}}function Op(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function dC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
709
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pC(e){var t,n=e.beat,i=e.fade,a=e.beatFade,c=e.bounce,p=e.shake,m=e.flash,h=e.spin,v=e.spinPulse,C=e.spinReverse,x=e.pulse,F=e.fixedWidth,I=e.inverse,L=e.border,D=e.listItem,T=e.flip,O=e.size,U=e.rotation,j=e.pull,V=(t={"fa-beat":n,"fa-fade":i,"fa-beat-fade":a,"fa-bounce":c,"fa-shake":p,"fa-flash":m,"fa-spin":h,"fa-spin-reverse":C,"fa-spin-pulse":v,"fa-pulse":x,"fa-fw":F,"fa-inverse":I,"fa-border":L,"fa-li":D,"fa-flip":T===!0,"fa-flip-horizontal":T==="horizontal"||T==="both","fa-flip-vertical":T==="vertical"||T==="both"},Os(t,"fa-".concat(O),typeof O<"u"&&O!==null),Os(t,"fa-rotate-".concat(U),typeof U<"u"&&U!==null&&U!==0),Os(t,"fa-pull-".concat(j),typeof j<"u"&&j!==null),Os(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(V).map(function($){return V[$]?$:null}).filter(function($){return $})}function hC(e){return e=e-0,e===e}function Iy(e){return hC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,n){return n?n.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var mC=["style"];function gC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,n){var i=n.indexOf(":"),a=Iy(n.slice(0,i)),c=n.slice(i+1).trim();return a.startsWith("webkit")?t[gC(a)]=c:t[a]=c,t},{})}function Fy(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var i=(t.children||[]).map(function(h){return Fy(e,h)}),a=Object.keys(t.attributes||{}).reduce(function(h,v){var C=t.attributes[v];switch(v){case"class":h.attrs.className=C,delete t.attributes.class;break;case"style":h.attrs.style=vC(C);break;default:v.indexOf("aria-")===0||v.indexOf("data-")===0?h.attrs[v.toLowerCase()]=C:h.attrs[Iy(v)]=C}return h},{attrs:{}}),c=n.style,p=c===void 0?{}:c,m=Oy(n,mC);return a.attrs.style=vi(vi({},a.attrs.style),p),e.apply(void 0,[t.tag,vi(vi({},a.attrs),m)].concat(Ap(i)))}var My=!1;try{My=process.env.NODE_ENV==="production"}catch{}function yC(){if(!My&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function _m(e){if(e&&zc(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Pp.icon)return Pp.icon(e);if(e===null)return null;if(e&&zc(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 Fd(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Os({},e,t):{}}var bC=["forwardedRef"];function Si(e){var t=e.forwardedRef,n=Oy(e,bC),i=n.icon,a=n.mask,c=n.symbol,p=n.className,m=n.title,h=n.titleId,v=n.maskId,C=_m(i),x=Fd("classes",[].concat(Ap(pC(n)),Ap(p.split(" ")))),F=Fd("transform",typeof n.transform=="string"?Pp.transform(n.transform):n.transform),I=Fd("mask",_m(a)),L=sC(C,vi(vi(vi(vi({},x),F),I),{},{symbol:c,title:m,titleId:h,maskId:v}));if(!L)return yC("Could not find icon",C),null;var D=L.abstract,T={ref:t};return Object.keys(n).forEach(function(O){Si.defaultProps.hasOwnProperty(O)||(T[O]=n[O])}),wC(D[0],T)}Si.displayName="FontAwesomeIcon";Si.propTypes={beat:_e.bool,border:_e.bool,beatFade:_e.bool,bounce:_e.bool,className:_e.string,fade:_e.bool,flash:_e.bool,mask:_e.oneOfType([_e.object,_e.array,_e.string]),maskId:_e.string,fixedWidth:_e.bool,inverse:_e.bool,flip:_e.oneOf([!0,!1,"horizontal","vertical","both"]),icon:_e.oneOfType([_e.object,_e.array,_e.string]),listItem:_e.bool,pull:_e.oneOf(["right","left"]),pulse:_e.bool,rotation:_e.oneOf([0,90,180,270]),shake:_e.bool,size:_e.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:_e.bool,spinPulse:_e.bool,spinReverse:_e.bool,symbol:_e.oneOfType([_e.bool,_e.string]),title:_e.string,titleId:_e.string,transform:_e.oneOfType([_e.string,_e.object]),swapOpacity:_e.bool};Si.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var wC=Fy.bind(null,A.createElement);const xC=async e=>await(await fetch(`${yu}/playbook-task-details`,{method:"POST",body:JSON.stringify(e)})).json(),SC=({taskId:e,playbookId:t,enabled:n})=>{const{queryClient:i}=Ks(),a=async()=>xC({taskId:+e,templateId:t.toString()}),c=["taskDetails",+e,t],p=$p({queryKey:c,queryFn:a,enabled:n},i),m=()=>{i.prefetchQuery({queryFn:a,queryKey:c})};return{taskDetails:p.data,prefetchQuery:m,...p}},kC=({buttons:e,onButtonClick:t,disabled:n})=>q.jsx("div",{className:"flex items-center justify-end",children:e.map(i=>q.jsx(fu,{size:"smallCollapse",className:"ml-2",disabled:n,onClick:()=>{t(i)},children:qb[i]},i))});function Lm(e,t){if(!e||!t)return!1;const n=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&lp(n)){let i=t;for(;i;){if(e===i)return!0;i=i.parentNode||i.host}}return!1}function Xl(e){return"composedPath"in e?e.composedPath()[0]:e.target}function Md(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return n.target!=null&&t.contains(n.target)}function EC(e){return e.matches("html,body")}function $m(e){return(e==null?void 0:e.ownerDocument)||document}function Dd(e,t){let n=e.filter(a=>{var c;return a.parentId===t&&((c=a.context)==null?void 0:c.open)}),i=n;for(;i.length;)i=e.filter(a=>{var c;return(c=i)==null?void 0:c.some(p=>{var m;return a.parentId===p.id&&((m=a.context)==null?void 0:m.open)})}),n=n.concat(i);return n}function CC(e){return"nativeEvent"in e}var TC=typeof document<"u",RC=function(){},Ip=TC?A.useLayoutEffect:RC;const PC={...pe},AC=PC.useInsertionEffect,OC=AC||(e=>e());function Ps(e){const t=pe.useRef(()=>{if(process.env.NODE_ENV!=="production")throw new Error("Cannot call an event handler while rendering.")});return OC(()=>{t.current=e}),pe.useCallback(function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return t.current==null?void 0:t.current(...i)},[])}const IC="data-floating-ui-focusable",jm="active",Nm="selected",FC={...pe};let zm=!1,MC=0;const Bm=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+MC++;function DC(){const[e,t]=pe.useState(()=>zm?Bm():void 0);return Ip(()=>{e==null&&t(Bm())},[]),pe.useEffect(()=>{zm=!0},[]),e}const _C=FC.useId,LC=_C||DC;let Fp;process.env.NODE_ENV!=="production"&&(Fp=new Set);function $C(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];const a="Floating UI: "+n.join(" ");if(!((e=Fp)!=null&&e.has(a))){var c;(c=Fp)==null||c.add(a),console.error(a)}}function jC(){const e=new Map;return{emit(t,n){var i;(i=e.get(t))==null||i.forEach(a=>a(n))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var i;(i=e.get(t))==null||i.delete(n)}}}const NC=pe.createContext(null),zC=pe.createContext(null),BC=()=>{var e;return((e=pe.useContext(NC))==null?void 0:e.id)||null},Dy=()=>pe.useContext(zC);function UC(e){return"data-floating-ui-"+e}function HC(e){e.current!==-1&&(clearTimeout(e.current),e.current=-1)}const WC={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},VC={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},Um=e=>{var t,n;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(n=e==null?void 0:e.outsidePress)!=null?n:!0}};function GC(e,t){t===void 0&&(t={});const{open:n,onOpenChange:i,elements:a,dataRef:c}=e,{enabled:p=!0,escapeKey:m=!0,outsidePress:h=!0,outsidePressEvent:v="pointerdown",referencePress:C=!1,referencePressEvent:x="pointerdown",ancestorScroll:F=!1,bubbles:I,capture:L}=t,D=Dy(),T=Ps(typeof h=="function"?h:()=>!1),O=typeof h=="function"?T:h,U=pe.useRef(!1),{escapeKey:j,outsidePress:V}=Um(I),{escapeKey:$,outsidePress:J}=Um(L),ae=pe.useRef(!1),re=pe.useRef(-1),le=Ps(xe=>{var Re;if(!n||!p||!m||xe.key!=="Escape"||ae.current)return;const Le=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,Z=D?Dd(D.nodesRef.current,Le):[];if(!j&&(xe.stopPropagation(),Z.length>0)){let ve=!0;if(Z.forEach(Y=>{var K;if((K=Y.context)!=null&&K.open&&!Y.context.dataRef.current.__escapeKeyBubbles){ve=!1;return}}),!ve)return}i(!1,CC(xe)?xe.nativeEvent:xe,"escape-key")}),ye=Ps(xe=>{var Re;const Le=()=>{var Z;le(xe),(Z=Xl(xe))==null||Z.removeEventListener("keydown",Le)};(Re=Xl(xe))==null||Re.addEventListener("keydown",Le)}),De=Ps(xe=>{var Re;const Le=c.current.insideReactTree;c.current.insideReactTree=!1;const Z=U.current;if(U.current=!1,v==="click"&&Z||Le||typeof O=="function"&&!O(xe))return;const ve=Xl(xe),Y="["+UC("inert")+"]",K=$m(a.floating).querySelectorAll(Y);let fe=ht(ve)?ve:null;for(;fe&&!co(fe);){const ue=ho(fe);if(co(ue)||!ht(ue))break;fe=ue}if(K.length&&ht(ve)&&!EC(ve)&&!Lm(ve,a.floating)&&Array.from(K).every(ue=>!Lm(fe,ue)))return;if(an(ve)&&ze){const ue=co(ve),ce=zr(ve),Ee=/auto|scroll/,Se=ue||Ee.test(ce.overflowX),Pe=ue||Ee.test(ce.overflowY),Be=Se&&ve.clientWidth>0&&ve.scrollWidth>ve.clientWidth,se=Pe&&ve.clientHeight>0&&ve.scrollHeight>ve.clientHeight,We=ce.direction==="rtl",ot=se&&(We?xe.offsetX<=ve.offsetWidth-ve.clientWidth:xe.offsetX>ve.clientWidth),Nt=Be&&xe.offsetY>ve.clientHeight;if(ot||Nt)return}const te=(Re=c.current.floatingContext)==null?void 0:Re.nodeId,he=D&&Dd(D.nodesRef.current,te).some(ue=>{var ce;return Md(xe,(ce=ue.context)==null?void 0:ce.elements.floating)});if(Md(xe,a.floating)||Md(xe,a.domReference)||he)return;const me=D?Dd(D.nodesRef.current,te):[];if(me.length>0){let ue=!0;if(me.forEach(ce=>{var Ee;if((Ee=ce.context)!=null&&Ee.open&&!ce.context.dataRef.current.__outsidePressBubbles){ue=!1;return}}),!ue)return}i(!1,xe,"outside-press")}),Fe=Ps(xe=>{var Re;const Le=()=>{var Z;De(xe),(Z=Xl(xe))==null||Z.removeEventListener(v,Le)};(Re=Xl(xe))==null||Re.addEventListener(v,Le)});pe.useEffect(()=>{if(!n||!p)return;c.current.__escapeKeyBubbles=j,c.current.__outsidePressBubbles=V;let xe=-1;function Re(K){i(!1,K,"ancestor-scroll")}function Le(){window.clearTimeout(xe),ae.current=!0}function Z(){xe=window.setTimeout(()=>{ae.current=!1},Kc()?5:0)}const ve=$m(a.floating);m&&(ve.addEventListener("keydown",$?ye:le,$),ve.addEventListener("compositionstart",Le),ve.addEventListener("compositionend",Z)),O&&ve.addEventListener(v,J?Fe:De,J);let Y=[];return F&&(ht(a.domReference)&&(Y=Ms(a.domReference)),ht(a.floating)&&(Y=Y.concat(Ms(a.floating))),!ht(a.reference)&&a.reference&&a.reference.contextElement&&(Y=Y.concat(Ms(a.reference.contextElement)))),Y=Y.filter(K=>{var fe;return K!==((fe=ve.defaultView)==null?void 0:fe.visualViewport)}),Y.forEach(K=>{K.addEventListener("scroll",Re,{passive:!0})}),()=>{m&&(ve.removeEventListener("keydown",$?ye:le,$),ve.removeEventListener("compositionstart",Le),ve.removeEventListener("compositionend",Z)),O&&ve.removeEventListener(v,J?Fe:De,J),Y.forEach(K=>{K.removeEventListener("scroll",Re)}),window.clearTimeout(xe)}},[c,a,m,O,v,n,i,F,p,j,V,le,$,ye,De,J,Fe]),pe.useEffect(()=>{c.current.insideReactTree=!1},[c,O,v]);const $e=pe.useMemo(()=>({onKeyDown:le,...C&&{[WC[x]]:xe=>{i(!1,xe.nativeEvent,"reference-press")},...x!=="click"&&{onClick(xe){i(!1,xe.nativeEvent,"reference-press")}}}}),[le,i,C,x]),ze=pe.useMemo(()=>({onKeyDown:le,onMouseDown(){U.current=!0},onMouseUp(){U.current=!0},[VC[v]]:()=>{c.current.insideReactTree=!0},onBlurCapture(){D||(HC(re),c.current.insideReactTree=!0,re.current=window.setTimeout(()=>{c.current.insideReactTree=!1}))}}),[le,v,c,D]);return pe.useMemo(()=>p?{reference:$e,floating:ze}:{},[p,$e,ze])}function YC(e){const{open:t=!1,onOpenChange:n,elements:i}=e,a=LC(),c=pe.useRef({}),[p]=pe.useState(()=>jC()),m=BC()!=null;if(process.env.NODE_ENV!=="production"){const I=i.reference;I&&!ht(I)&&$C("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[h,v]=pe.useState(i.reference),C=Ps((I,L,D)=>{c.current.openEvent=I?L:void 0,p.emit("openchange",{open:I,event:L,reason:D,nested:m}),n==null||n(I,L,D)}),x=pe.useMemo(()=>({setPositionReference:v}),[]),F=pe.useMemo(()=>({reference:h||i.reference||null,floating:i.floating||null,domReference:i.reference}),[h,i.reference,i.floating]);return pe.useMemo(()=>({dataRef:c,open:t,onOpenChange:C,elements:F,events:p,floatingId:a,refs:x}),[t,C,F,p,a,x])}function XC(e){e===void 0&&(e={});const{nodeId:t}=e,n=YC({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,a=i.elements,[c,p]=pe.useState(null),[m,h]=pe.useState(null),C=(a==null?void 0:a.domReference)||c,x=pe.useRef(null),F=Dy();Ip(()=>{C&&(x.current=C)},[C]);const I=Bx({...e,elements:{...a,...m&&{reference:m}}}),L=pe.useCallback(j=>{const V=ht(j)?{getBoundingClientRect:()=>j.getBoundingClientRect(),getClientRects:()=>j.getClientRects(),contextElement:j}:j;h(V),I.refs.setReference(V)},[I.refs]),D=pe.useCallback(j=>{(ht(j)||j===null)&&(x.current=j,p(j)),(ht(I.refs.reference.current)||I.refs.reference.current===null||j!==null&&!ht(j))&&I.refs.setReference(j)},[I.refs]),T=pe.useMemo(()=>({...I.refs,setReference:D,setPositionReference:L,domReference:x}),[I.refs,D,L]),O=pe.useMemo(()=>({...I.elements,domReference:C}),[I.elements,C]),U=pe.useMemo(()=>({...I,...i,refs:T,elements:O,nodeId:t}),[I,T,O,t,i]);return Ip(()=>{i.dataRef.current.floatingContext=U;const j=F==null?void 0:F.nodesRef.current.find(V=>V.id===t);j&&(j.context=U)}),pe.useMemo(()=>({...I,context:U,refs:T,elements:O}),[I,T,O,U])}function _d(e,t,n){const i=new Map,a=n==="item";let c=e;if(a&&e){const{[jm]:p,[Nm]:m,...h}=e;c=h}return{...n==="floating"&&{tabIndex:-1,[IC]:""},...c,...t.map(p=>{const m=p?p[n]:null;return typeof m=="function"?e?m(e):null:m}).concat(e).reduce((p,m)=>(m&&Object.entries(m).forEach(h=>{let[v,C]=h;if(!(a&&[jm,Nm].includes(v)))if(v.indexOf("on")===0){if(i.has(v)||i.set(v,[]),typeof C=="function"){var x;(x=i.get(v))==null||x.push(C),p[v]=function(){for(var F,I=arguments.length,L=new Array(I),D=0;D<I;D++)L[D]=arguments[D];return(F=i.get(v))==null?void 0:F.map(T=>T(...L)).find(T=>T!==void 0)}}}else p[v]=C}),p),{})}}function QC(e){e===void 0&&(e=[]);const t=e.map(m=>m==null?void 0:m.reference),n=e.map(m=>m==null?void 0:m.floating),i=e.map(m=>m==null?void 0:m.item),a=pe.useCallback(m=>_d(m,e,"reference"),t),c=pe.useCallback(m=>_d(m,e,"floating"),n),p=pe.useCallback(m=>_d(m,e,"item"),i);return pe.useMemo(()=>({getReferenceProps:a,getFloatingProps:c,getItemProps:p}),[a,c,p])}const qC={white:"bg-white text-dark-300 border border-gray-300",primary:"bg-primary-600",secondary:"bg-secondary-500",success:"bg-success-600",info:"bg-info-500",warning:"bg-warning-500 text-gray-800",danger:"bg-danger-500",steel:"bg-steel-500",orange:"bg-orange-500",purple:"bg-purple-500",grayDark:"bg-gray-900",grayLight:"bg-gray-100 text-gray-800"},KC={white:"text-white border border-white",primary:"text-primary-600 border border-primary-600",secondary:"text-secondary-500 border border-secondary-500",success:"text-success-600 border border-success-600",info:"text-info-500 border border-info-500",warning:"text-warning-500 border border-warning-500",danger:"text-danger-500 border border-danger-500",steel:"text-steel-500 border border-steel-500",orange:"text-orange-500 border border-orange-500",purple:"text-purple-500 border border-purple-500",grayDark:"text-gray-700 border border-gray-700",grayLight:"text-gray-500 border border-gray-100"},JC={white:"text-dark-300",primary:"text-white",secondary:"text-white",success:"text-white",info:"text-black",warning:"text-gray-800",danger:"text-white",steel:"text-white",orange:"text-black",purple:"text-white",grayDark:"text-white",grayLight:"text-gray-800"},ZC={normal:"rounded",pill:"rounded-pill"},eT={big:"h-[24px] leading-[24px] text-md px-1",medium:"h-[22px] leading-[22px] text-sm px-[2px]",small:"h-[18px] leading-[18px] text-xs px-[2px]"},_y=({category:e="solid",color:t="primary",roundness:n="normal",size:i="medium",textClassName:a="uppercase",children:c,className:p,...m})=>{const h=A.useMemo(()=>JC[t]??"text-white",[t]),v=A.useMemo(()=>Fs(h,e==="outline"?KC[t]:qC[t],ZC[n],eT[i]),[h,e,t,i,n]);return q.jsx("div",{className:Fs("ui-badge flex items-center font-bold",v,p),style:m==null?void 0:m.style,"data-testid":"badge","data-category":e,"data-color":t,...m,children:q.jsx("p",{className:Fs("mx-1",a),children:c})})},tT={default:"text-secondary-600 border-secondary-600",primary:"text-primary-600 border-primary-600",success:"text-success-600 border-success-600"},rT=({transition:e,onClick:t})=>q.jsxs("div",{className:"py-1 px-3 space-x-2 flex items-center hover:bg-gray-100 cursor-pointer",onClick:n=>{n.stopPropagation(),t()},children:[q.jsx("span",{className:"text-base text-dark flex-1",children:e.action}),q.jsx(Si,{icon:ak,className:"text-gray-400 size-4"}),q.jsx(_y,{category:"outline",color:e.color,children:e.to})]}),nT=({title:e,variant:t="default",transitions:n,onClick:i})=>{const[a,c]=A.useState(!1),{refs:p,floatingStyles:m,context:h}=XC({strategy:"fixed",placement:"bottom-end",open:a,onOpenChange:c}),v=GC(h,{outsidePress:!0}),{getReferenceProps:C,getFloatingProps:x}=QC([v]);return q.jsxs(q.Fragment,{children:[q.jsxs("div",{onClick:n!=null&&n.length?()=>c(F=>!F):void 0,ref:p.setReference,className:wt("px-1 uppercase border rounded-sm flex items-center space-x-1",n.length?"cursor-pointer":"pointer-events-none",tT[t]),...C(),children:[q.jsx("span",{className:"text-sm font-bold",children:e}),n.length>0?q.jsx(Si,{icon:qv,className:"size-4"}):q.jsx(q.Fragment,{})]}),a&&n.length&&q.jsx("div",{ref:p.setFloating,style:m,className:wt("border border-gray-200 py-1.5 rounded-sm min-w-[172px] bg-white shadow-dark/50"),...x(),children:n.map((F,I)=>q.jsx(rT,{transition:F,onClick:()=>{i==null||i(F.id),c(!1)}},I))})]})},Hm=({description:e})=>{const t=A.useMemo(()=>{const n=/https:\/\/[^/]+\/api\/files/g,i=e==null?void 0:e.replaceAll(n,`${Dh}`),a=i==null?void 0:i.replaceAll('src="/api/files',`src="${Dh}`),m=new DOMParser().parseFromString(a,"text/html").querySelectorAll("img");return m==null||m.forEach(h=>{const v=h.getAttribute("src");v&&(new Image().src=v)}),a},[e]);return A.useEffect(()=>{},[t]),q.jsx("div",{className:"flex flex-col gap-4",children:q.jsx("div",{style:{display:"unset"},className:"lexical-view-mode",dangerouslySetInnerHTML:{__html:t}})})},oT={SEQUENTIAL:"Sequential"},iT={[ct.IN_REVIEW]:"In Review"},aT={[ct.OPEN]:"bg-secondary-500",[ct.IN_PROGRESS]:"bg-primary-600",[ct.IN_REVIEW]:"bg-success-600",[ct.COMPLETED]:"bg-success-600"},sT=({playbookType:e,status:t,step:n,isSelected:i,onSelect:a})=>q.jsx("div",{className:lu("flex flex-col items-center justify-center",i?"bg-[#FFE600]":aT[t],a&&"cursor-pointer"),onClick:c=>{c.stopPropagation(),a==null||a(c.shiftKey)},children:q.jsx("span",{className:lu("text-orientation-mixed w-[27px] flex items-center whitespace-nowrap px-2 text-sm font-bold [writing-mode:vertical-lr]",i?"text-black":"text-white"),children:e===oT.SEQUENTIAL?`STEP ${n}`:(iT[t]||t).toUpperCase()})}),lT={[ct.OPEN]:"secondary",[ct.IN_PROGRESS]:"primary",[ct.IN_REVIEW]:"success",[ct.COMPLETED]:"success"},uT=({status:e})=>q.jsx(_y,{category:"outline",color:lT[e],children:e}),cT={[ct.OPEN]:"border-[#C1C5C8] bg-[#F0F1F2]",[ct.IN_PROGRESS]:"bg-[#E6F2FF] border-[#94C8FF]",[ct.IN_REVIEW]:"bg-[#EAF6EC] border-[#A5DAB1]",[ct.COMPLETED]:"bg-[#EAF6EC] border-[#A5DAB1]"},Ld={PHOTO:"photo",SCREENSHOT:"screenshot"},fT=({task:e,step:t,playbookType:n,onButtonClick:i,viewMode:a="card",canStart:c=!1,isExpanded:p=!1,toggleExpanded:m,playbookId:h,taskStyle:v,listStickyTopBase:C})=>{const[x,F]=A.useState(!1),{taskDetails:I,prefetchQuery:L}=SC({taskId:e.taskId,playbookId:h,enabled:p}),{buttons:D}=Kb({taskStatus:e.workflowStatus,canStart:c}),T=A.useMemo(()=>e.imageRequired===0?null:e.imageRequired===1?Ld.SCREENSHOT:e.imageRequired===2?Ld.PHOTO:null,[e.imageRequired]),O=async U=>{try{F(!0),await i(U)}finally{F(!1)}};if(a==="list"){const U=A.useMemo(()=>e.workflowStatus===ct.COMPLETED?"success":e.workflowStatus===ct.IN_PROGRESS?"primary":"default",[e.workflowStatus]),j=A.useMemo(()=>{const V=[];return D.forEach($=>{$==="START"&&V.push({id:"START",color:"primary",action:"Start",to:ct.IN_PROGRESS}),$==="COMPLETE"&&V.push({id:"COMPLETE",color:"success",action:"Complete",to:ct.COMPLETED})}),V},[D]);return q.jsxs("div",{className:wt("flex flex-col"),children:[q.jsxs("div",{className:wt("flex gap-3 p-2 border-gray-200",e.sequenceOrder>0&&"border-t",p&&"bg-white rounded-md border border-t-none shadow-sm sticky"),style:{top:p?C:0},children:[q.jsx("div",{className:"text-gray-200 text-base",children:e.sequenceOrder+1}),q.jsx("div",{onClick:()=>{m==null||m(!p)},onMouseOver:L,className:wt("flex-1 truncate cursor-pointer",p&&"font-medium",e.workflowStatus===ct.COMPLETED&&"text-secondary-400 line-through"),style:{color:e.workflowStatus===ct.IN_PROGRESS&&(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),q.jsx(nT,{title:e.workflowStatus,variant:U,transitions:j,onClick:V=>{i(V)}})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden","border-gray-200 border p-2 mx-4 mb-4 border-t-none -mt-[1px] bg-gray-100 rounded-b-md"),children:q.jsx(Hm,{description:(I==null?void 0:I.description)||""})})]})}return q.jsxs("div",{className:lu("flex items-stretch rounded-sm overflow-hidden border",cT[e.workflowStatus]),children:[q.jsx(sT,{playbookType:n,status:e.workflowStatus,step:t}),q.jsxs("div",{className:"flex w-full flex-col overflow-x-hidden flex-1 p-2",children:[n==="Sequential"&&q.jsx("div",{className:"-mb-3 self-end pr-2 pt-2",children:q.jsx(uT,{status:e.workflowStatus})}),q.jsxs("div",{className:"space-y-2 divide-y divide-black/10 flex flex-col flex-1",children:[q.jsx("div",{className:wt("text-lg font-medium flex-1 pb-1"),style:{color:e.workflowStatus==="Completed"?"#1C232D":(v==null?void 0:v.titleColor)||"#1C232D"},children:e.taskInstanceName}),T?q.jsxs("div",{className:"flex items-center gap-2 text-sm pb-2",children:[q.jsx(Si,{icon:ik,className:"size-4"}),q.jsxs("div",{children:[q.jsx("span",{className:"font-medium",children:T===Ld.PHOTO?"Photo":"Screenshot"})," ","required"]})]}):q.jsx(q.Fragment,{})]}),(I==null?void 0:I.description)&&q.jsx("div",{className:wt(!p&&"hidden"),children:q.jsx(Hm,{description:(I==null?void 0:I.description)||""})}),(D.length>0||e.hasDescription)&&q.jsxs("div",{className:"flex items-center justify-end gap-4 border-t border-black/10 pt-2",children:[q.jsx("div",{className:"flex-1",children:q.jsx(kC,{buttons:D,onButtonClick:O,disabled:x})}),m&&q.jsx(fu,{size:"smallCollapse",onMouseOver:L,category:"link",onClick:()=>{m()},title:p?"Hide task description":"Show task description",children:q.jsx(Si,{icon:qv,className:lu("cursor-pointer text-[#0069D9]",p?"rotate-180":"")})})]})]})]})},Ly=A.forwardRef(({title:e,className:t,playbookStyle:n,...i},a)=>{var c,p;return q.jsx("div",{ref:a,className:wt("border-b border-gray-200 flex items-center",t),style:{backgroundColor:((c=n==null?void 0:n.whiteLabel)==null?void 0:c.titleBackgroundColor)||"#f8f9fa"},...i,children:q.jsx("div",{className:"text-xl min-h-16 p-4",style:{color:(p=n==null?void 0:n.whiteLabel)==null?void 0:p.titleTextColor},children:e})})});Ly.displayName="PlaybookHeader";const dT=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>{const{playbook:i,actions:a}=Qb(e);if(!i)return q.jsx("div",{});const c=async(p,m)=>{var h;if(p===eu.COMPLETE){const v=(h=i.tasks.find(C=>C.taskInstanceId===m))==null?void 0:h.sequenceOrder;if(v===void 0){console.error("Task not found in playbook");return}return a.completeTask(m,v)}if(p===eu.START)return a.startTask(m)};return q.jsx($y,{playbook:i,playbookMode:t,onTaskButtonClick:c,playbookStyle:n})},pT=({className:e,children:t,numberOfTasks:n,playbookMode:i})=>q.jsxs("div",{className:wt("w-full p-4",e),children:[n&&q.jsxs("div",{className:wt(i==="card"&&"mb-4"),children:[q.jsx("span",{className:"font-medium",children:"Tasks"})," (",n,")"]}),q.jsx("div",{className:wt(i==="card"&&"space-y-4"),children:t})]}),$y=({playbook:e,playbookMode:t,onTaskButtonClick:n,playbookStyle:i})=>{var D,T,O,U,j;const{playbookInstanceName:a,tasks:c}=e,p=A.useRef(null),[m,h]=A.useState(0),[v,C]=A.useState(!1),x=()=>{C(!v)},{isTaskExpanded:F,toggleTaskExpanded:I}=Tg(e.playbookInstanceId,{onTaskExpanded:()=>{var V,$;console.log("Header height before update:",(V=p.current)==null?void 0:V.offsetHeight),h((($=p.current)==null?void 0:$.offsetHeight)||0)}});A.useEffect(()=>(p.current&&new ResizeObserver($=>{var J;for(const ae of $)console.log("ResizeObserver entry:",ae),ae.contentRect&&h(((J=p.current)==null?void 0:J.offsetHeight)||0)}).observe(p.current),()=>{p.current&&new ResizeObserver(()=>{}).unobserve(p.current)}),[p]);const L=A.useMemo(()=>{const V=c.filter($=>$.workflowStatus===ct.COMPLETED).sort(($,J)=>J.sequenceOrder-$.sequenceOrder)[0];return console.log({lastCompletedTask:V}),V?V.sequenceOrder+1:0},[c]);return Bc.createPortal(q.jsxs(lg.div,{children:[q.jsxs("div",{className:wt(!(i!=null&&i.overlay)&&"min-h-screen",(i==null?void 0:i.overlay)&&"fixed bottom-0 z-[99999999999999] flex","transition-all duration-300 ease-in-out"),...(i==null?void 0:i.overlay)&&{style:{width:"100%",maxWidth:v?((D=i.overlay.size)==null?void 0:D.width)||450:"2.25rem",height:((T=i.overlay.size)==null?void 0:T.height)||"calc(100vh - 4rem)",maxHeight:"calc(100vh - 4rem)",right:((O=i.overlay.offset)==null?void 0:O.right)!==void 0?i.overlay.offset.right:i.overlay.position==="right"?32:void 0,left:((U=i.overlay.offset)==null?void 0:U.left)!==void 0?i.overlay.offset.left:i.overlay.position==="left"?32:void 0}},children:[(i==null?void 0:i.overlay)&&q.jsx("div",{onClick:x,className:wt("size-9 relative p-1 top-3 z-[99999999999999] border-none rounded-l-sm cursor-pointer"),style:{backgroundColor:((j=i==null?void 0:i.whiteLabel)==null?void 0:j.primaryColor)||"#007BFF",boxShadow:"0px 3px 3px 0px #00000040"},children:q.jsx("img",{src:ug,alt:"Confidence Logo",className:"w-full h-full object-contain"})}),q.jsxs("div",{className:wt("flex flex-col flex-1 bg-gray-50",(i==null?void 0:i.overlay)&&"border border-gray-200 shadow-2xl rounded-t-sm overflow-y-auto"),children:[q.jsx(Ly,{title:a,className:wt("top-0 sticky z-2"),playbookStyle:i,ref:p}),q.jsx(pT,{playbookMode:t,numberOfTasks:e.numberofTasks,children:c.map((V,$)=>{var J;return q.jsx(fT,{task:V,step:$+1,viewMode:t,playbookId:e.playbookId,canStart:V.sequenceOrder===L,onButtonClick:ae=>n(ae,V.taskInstanceId),playbookType:"Non-Sequential",taskStyle:{titleColor:(J=i==null?void 0:i.whiteLabel)==null?void 0:J.primaryColor},isExpanded:F(V.taskInstanceId),toggleExpanded:()=>I(V.taskInstanceId),listStickyTopBase:m||104},$)})})]})]}),q.jsx("style",{children:Pg})]}),document.body,"confidence-playbook-portal")},hT=({email:e,playbookId:t,playbookMode:n,playbookStyle:i})=>{const[a,c]=A.useState(null);return A.useEffect(()=>{(async()=>{const{playbookInstanceId:p,errorCode:m,details:h,message:v}=await Rg({bank:"public-sdk",email:e,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone||"America/Los_Angeles",playbookUid:t})||{};if(m)throw new Error(`Error initiating playbook: ${v} (Code: ${m}) - Details: ${h}`);c(p)})()},[]),a?q.jsx(Pa,{playbookInstanceId:a,playbookMode:n,playbookStyle:i}):q.jsx("div",{children:"Loading..."})},mT=({playbookId:e,playbookMode:t="list",playbookStyle:n,btnLabel:i="Start Playbook",btnColor:a="primary"})=>{const[c,p]=A.useState(null);return q.jsxs(q.Fragment,{children:[q.jsxs(lg.div,{children:[q.jsx(nk,{playbookId:e,disabled:!!c,onInitiated:p,btnLabel:i,btnColor:a}),q.jsx("style",{type:"text/css",children:Pg})]}),c&&q.jsx(Pa,{playbookInstanceId:c,playbookMode:t,playbookStyle:n})]})},Pa=({playbookInstanceId:e,playbookMode:t,playbookStyle:n})=>q.jsx(Eg,{children:q.jsx(dT,{playbookInstanceId:e,playbookMode:t,playbookStyle:n})});Pa.Context=Eg;Pa.View=$y;Pa.AutoInstantiated=hT;Pa.WithInstantiateButton=mT;const gT=({children:e})=>q.jsx("div",{className:"confidence-ui",style:{display:"unset"},children:e});exports.ConfidencePlaybook=Pa;exports.ConfidenceUIWrapper=gT;