@boomi/embedkit 1.3.13 → 1.3.14

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.
@@ -77,8 +77,8 @@ React keys must be passed directly to JSX without using spread:
77
77
  `);for(z=x=0;x<be.length&&!be[x].includes("DetermineComponentFrameRoot");)x++;for(;z<Me.length&&!Me[z].includes("DetermineComponentFrameRoot");)z++;if(x===be.length||z===Me.length)for(x=be.length-1,z=Me.length-1;1<=x&&0<=z&&be[x]!==Me[z];)z--;for(;1<=x&&0<=z;x--,z--)if(be[x]!==Me[z]){if(x!==1||z!==1)do if(x--,z--,0>z||be[x]!==Me[z]){var Fe=`
78
78
  `+be[x].replace(" at new "," at ");return r.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",r.displayName)),Fe}while(1<=x&&0<=z);break}}}finally{qe=!1,Error.prepareStackTrace=v}return(v=r?r.displayName||r.name:"")?Re(v):""}function mt(r,l){switch(r.tag){case 26:case 27:case 5:return Re(r.type);case 16:return Re("Lazy");case 13:return r.child!==l&&l!==null?Re("Suspense Fallback"):Re("Suspense");case 19:return Re("SuspenseList");case 0:case 15:return et(r.type,!1);case 11:return et(r.type.render,!1);case 1:return et(r.type,!0);case 31:return Re("Activity");default:return""}}function xt(r){try{var l="",v=null;do l+=mt(r,v),v=r,r=r.return;while(r);return l}catch(x){return`
79
79
  Error generating stack: `+x.message+`
80
- `+x.stack}}var $t=Object.prototype.hasOwnProperty,ze=t.unstable_scheduleCallback,tt=t.unstable_cancelCallback,ct=t.unstable_shouldYield,gt=t.unstable_requestPaint,at=t.unstable_now,Le=t.unstable_getCurrentPriorityLevel,je=t.unstable_ImmediatePriority,it=t.unstable_UserBlockingPriority,rt=t.unstable_NormalPriority,vt=t.unstable_LowPriority,St=t.unstable_IdlePriority,Nt=t.log,an=t.unstable_setDisableYieldValue,Ot=null,_t=null;function Et(r){if(typeof Nt=="function"&&an(r),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(Ot,r)}catch{}}var xe=Math.clz32?Math.clz32:Mt,Ge=Math.log,bt=Math.LN2;function Mt(r){return r>>>=0,r===0?32:31-(Ge(r)/bt|0)|0}var ut=256,yt=262144,Ht=4194304;function jt(r){var l=r&42;if(l!==0)return l;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Ce(r,l,v){var x=r.pendingLanes;if(x===0)return 0;var z=0,V=r.suspendedLanes,ee=r.pingedLanes;r=r.warmLanes;var le=x&134217727;return le!==0?(x=le&~V,x!==0?z=jt(x):(ee&=le,ee!==0?z=jt(ee):v||(v=le&~r,v!==0&&(z=jt(v))))):(le=x&~V,le!==0?z=jt(le):ee!==0?z=jt(ee):v||(v=x&~r,v!==0&&(z=jt(v)))),z===0?0:l!==0&&l!==z&&(l&V)===0&&(V=z&-z,v=l&-l,V>=v||V===32&&(v&4194048)!==0)?l:z}function Ze(r,l){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&l)===0}function ft(r,l){switch(r){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Tt(){var r=Ht;return Ht<<=1,(Ht&62914560)===0&&(Ht=4194304),r}function kt(r){for(var l=[],v=0;31>v;v++)l.push(r);return l}function tn(r,l){r.pendingLanes|=l,l!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Gt(r,l,v,x,z,V){var ee=r.pendingLanes;r.pendingLanes=v,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=v,r.entangledLanes&=v,r.errorRecoveryDisabledLanes&=v,r.shellSuspendCounter=0;var le=r.entanglements,be=r.expirationTimes,Me=r.hiddenUpdates;for(v=ee&~v;0<v;){var Fe=31-xe(v),We=1<<Fe;le[Fe]=0,be[Fe]=-1;var ke=Me[Fe];if(ke!==null)for(Me[Fe]=null,Fe=0;Fe<ke.length;Fe++){var He=ke[Fe];He!==null&&(He.lane&=-536870913)}v&=~We}x!==0&&sn(r,x,0),V!==0&&z===0&&r.tag!==0&&(r.suspendedLanes|=V&~(ee&~l))}function sn(r,l,v){r.pendingLanes|=l,r.suspendedLanes&=~l;var x=31-xe(l);r.entangledLanes|=l,r.entanglements[x]=r.entanglements[x]|1073741824|v&261930}function On(r,l){var v=r.entangledLanes|=l;for(r=r.entanglements;v;){var x=31-xe(v),z=1<<x;z&l|r[x]&l&&(r[x]|=l),v&=~z}}function Xt(r,l){var v=l&-l;return v=(v&42)!==0?1:Je(v),(v&(r.suspendedLanes|l))!==0?0:v}function Je(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Vn(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Lt(){var r=W.p;return r!==0?r:(r=window.event,r===void 0?32:qm(r.type))}function ai(r,l){var v=W.p;try{return W.p=r,l()}finally{W.p=v}}var Eo=Math.random().toString(36).slice(2),qt="__reactFiber$"+Eo,Gn="__reactProps$"+Eo,Fo="__reactContainer$"+Eo,po="__reactEvents$"+Eo,ki="__reactListeners$"+Eo,Lr="__reactHandles$"+Eo,nt="__reactResources$"+Eo,Ee="__reactMarker$"+Eo;function Ke(r){delete r[qt],delete r[Gn],delete r[po],delete r[ki],delete r[Lr]}function st(r){var l=r[qt];if(l)return l;for(var v=r.parentNode;v;){if(l=v[Fo]||v[qt]){if(v=l.alternate,l.child!==null||v!==null&&v.child!==null)for(r=ws(r);r!==null;){if(v=r[qt])return v;r=ws(r)}return l}r=v,v=r.parentNode}return null}function on(r){if(r=r[qt]||r[Fo]){var l=r.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return r}return null}function eo(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r.stateNode;throw Error(a(33))}function Dn(r){var l=r[nt];return l||(l=r[nt]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function ot(r){r[Ee]=!0}var vn=new Set,yn={};function vi(r,l){Rn(r,l),Rn(r+"Capture",l)}function Rn(r,l){for(yn[r]=l,r=0;r<l.length;r++)vn.add(l[r])}var si=RegExp("^[: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]*$"),Sa={},yc={};function Ec(r){return $t.call(yc,r)?!0:$t.call(Sa,r)?!1:si.test(r)?yc[r]=!0:(Sa[r]=!0,!1)}function wc(r,l,v){if(Ec(l))if(v===null)r.removeAttribute(l);else{switch(typeof v){case"undefined":case"function":case"symbol":r.removeAttribute(l);return;case"boolean":var x=l.toLowerCase().slice(0,5);if(x!=="data-"&&x!=="aria-"){r.removeAttribute(l);return}}r.setAttribute(l,""+v)}}function Qd(r,l,v){if(v===null)r.removeAttribute(l);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttribute(l,""+v)}}function Za(r,l,v,x){if(x===null)r.removeAttribute(v);else{switch(typeof x){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(v);return}r.setAttributeNS(l,v,""+x)}}function yi(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Wd(r){var l=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Rl(r,l,v){var x=Object.getOwnPropertyDescriptor(r.constructor.prototype,l);if(!r.hasOwnProperty(l)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var z=x.get,V=x.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return z.call(this)},set:function(ee){v=""+ee,V.call(this,ee)}}),Object.defineProperty(r,l,{enumerable:x.enumerable}),{getValue:function(){return v},setValue:function(ee){v=""+ee},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function pu(r){if(!r._valueTracker){var l=Wd(r)?"checked":"value";r._valueTracker=Rl(r,l,""+r[l])}}function Yd(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var v=l.getValue(),x="";return r&&(x=Wd(r)?r.checked?"true":"false":r.value),r=x,r!==v?(l.setValue(r),!0):!1}function gu(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var g0=/[\n"\\]/g;function nr(r){return r.replace(g0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function bu(r,l,v,x,z,V,ee,le){r.name="",ee!=null&&typeof ee!="function"&&typeof ee!="symbol"&&typeof ee!="boolean"?r.type=ee:r.removeAttribute("type"),l!=null?ee==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+yi(l)):r.value!==""+yi(l)&&(r.value=""+yi(l)):ee!=="submit"&&ee!=="reset"||r.removeAttribute("value"),l!=null?Ml(r,ee,yi(l)):v!=null?Ml(r,ee,yi(v)):x!=null&&r.removeAttribute("value"),z==null&&V!=null&&(r.defaultChecked=!!V),z!=null&&(r.checked=z&&typeof z!="function"&&typeof z!="symbol"),le!=null&&typeof le!="function"&&typeof le!="symbol"&&typeof le!="boolean"?r.name=""+yi(le):r.removeAttribute("name")}function Sc(r,l,v,x,z,V,ee,le){if(V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(r.type=V),l!=null||v!=null){if(!(V!=="submit"&&V!=="reset"||l!=null)){pu(r);return}v=v!=null?""+yi(v):"",l=l!=null?""+yi(l):v,le||l===r.value||(r.value=l),r.defaultValue=l}x=x??z,x=typeof x!="function"&&typeof x!="symbol"&&!!x,r.checked=le?r.checked:!!x,r.defaultChecked=!!x,ee!=null&&typeof ee!="function"&&typeof ee!="symbol"&&typeof ee!="boolean"&&(r.name=ee),pu(r)}function Ml(r,l,v){l==="number"&&gu(r.ownerDocument)===r||r.defaultValue===""+v||(r.defaultValue=""+v)}function Tc(r,l,v,x){if(r=r.options,l){l={};for(var z=0;z<v.length;z++)l["$"+v[z]]=!0;for(v=0;v<r.length;v++)z=l.hasOwnProperty("$"+r[v].value),r[v].selected!==z&&(r[v].selected=z),z&&x&&(r[v].defaultSelected=!0)}else{for(v=""+yi(v),l=null,z=0;z<r.length;z++){if(r[z].value===v){r[z].selected=!0,x&&(r[z].defaultSelected=!0);return}l!==null||r[z].disabled||(l=r[z])}l!==null&&(l.selected=!0)}}function Xd(r,l,v){if(l!=null&&(l=""+yi(l),l!==r.value&&(r.value=l),v==null)){r.defaultValue!==l&&(r.defaultValue=l);return}r.defaultValue=v!=null?""+yi(v):""}function Ac(r,l,v,x){if(l==null){if(x!=null){if(v!=null)throw Error(a(92));if(M(x)){if(1<x.length)throw Error(a(93));x=x[0]}v=x}v==null&&(v=""),l=v}v=yi(l),r.defaultValue=v,x=r.textContent,x===v&&x!==""&&x!==null&&(r.value=x),pu(r)}function Ii(r,l){if(l){var v=r.firstChild;if(v&&v===r.lastChild&&v.nodeType===3){v.nodeValue=l;return}}r.textContent=l}var ng=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function og(r,l,v){var x=l.indexOf("--")===0;v==null||typeof v=="boolean"||v===""?x?r.setProperty(l,""):l==="float"?r.cssFloat="":r[l]="":x?r.setProperty(l,v):typeof v!="number"||v===0||ng.has(l)?l==="float"?r.cssFloat=v:r[l]=(""+v).trim():r[l]=v+"px"}function Ja(r,l,v){if(l!=null&&typeof l!="object")throw Error(a(62));if(r=r.style,v!=null){for(var x in v)!v.hasOwnProperty(x)||l!=null&&l.hasOwnProperty(x)||(x.indexOf("--")===0?r.setProperty(x,""):x==="float"?r.cssFloat="":r[x]="");for(var z in l)x=l[z],l.hasOwnProperty(z)&&v[z]!==x&&og(r,z,x)}else for(var V in l)l.hasOwnProperty(V)&&og(r,V,l[V])}function Fh(r){if(r.indexOf("-")===-1)return!1;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 b0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vu=/^[\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;function Or(r){return vu.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function Kr(){}var Ta=null;function yu(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Aa=null,xa=null;function Eu(r){var l=on(r);if(l&&(r=l.stateNode)){var v=r[Gn]||null;e:switch(r=l.stateNode,l.type){case"input":if(bu(r,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name),l=v.name,v.type==="radio"&&l!=null){for(v=r;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll('input[name="'+nr(""+l)+'"][type="radio"]'),l=0;l<v.length;l++){var x=v[l];if(x!==r&&x.form===r.form){var z=x[Gn]||null;if(!z)throw Error(a(90));bu(x,z.value,z.defaultValue,z.defaultValue,z.checked,z.defaultChecked,z.type,z.name)}}for(l=0;l<v.length;l++)x=v[l],x.form===r.form&&Yd(x)}break e;case"textarea":Xd(r,v.value,v.defaultValue);break e;case"select":l=v.value,l!=null&&Tc(r,!!v.multiple,l,!1)}}}var zs=!1;function Ph(r,l,v){if(zs)return r(l,v);zs=!0;try{var x=r(l);return x}finally{if(zs=!1,(Aa!==null||xa!==null)&&(Of(),Aa&&(l=Aa,r=xa,xa=Aa=null,Eu(l),r)))for(l=0;l<r.length;l++)Eu(r[l])}}function Po(r,l){var v=r.stateNode;if(v===null)return null;var x=v[Gn]||null;if(x===null)return null;v=x[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(x=!x.disabled)||(r=r.type,x=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!x;break e;default:r=!1}if(r)return null;if(v&&typeof v!="function")throw Error(a(231,l,typeof v));return v}var _a=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xc=!1;if(_a)try{var Ca={};Object.defineProperty(Ca,"passive",{get:function(){xc=!0}}),window.addEventListener("test",Ca,Ca),window.removeEventListener("test",Ca,Ca)}catch{xc=!1}var Na=null,Vh=null,qd=null;function Gh(){if(qd)return qd;var r,l=Vh,v=l.length,x,z="value"in Na?Na.value:Na.textContent,V=z.length;for(r=0;r<v&&l[r]===z[r];r++);var ee=v-r;for(x=1;x<=ee&&l[v-x]===z[V-x];x++);return qd=z.slice(r,1<x?1-x:void 0)}function ce(r){var l=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&l===13&&(r=13)):r=l,r===10&&(r=13),32<=r||r===13?r:0}function _e(){return!0}function Xe(){return!1}function lt(r){function l(v,x,z,V,ee){this._reactName=v,this._targetInst=z,this.type=x,this.nativeEvent=V,this.target=ee,this.currentTarget=null;for(var le in r)r.hasOwnProperty(le)&&(v=r[le],this[le]=v?v(V):V[le]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?_e:Xe,this.isPropagationStopped=Xe,this}return u(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=_e)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=_e)},persist:function(){},isPersistent:_e}),l}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qt=lt(Cn),Kn=u({},Cn,{view:0,detail:0}),Ko=lt(Kn),Vo,so,li,Vi=u({},Kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Da,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==li&&(li&&r.type==="mousemove"?(Vo=r.screenX-li.screenX,so=r.screenY-li.screenY):so=Vo=0,li=r),Vo)},movementY:function(r){return"movementY"in r?r.movementY:so}}),No=lt(Vi),or=u({},Vi,{dataTransfer:0}),ir=lt(or),es=u({},Kn,{relatedTarget:0}),Dr=lt(es),ts=u({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),Qh=lt(ts),La=u({},Cn,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Oa=lt(La),ns=u({},Cn,{data:0}),N1=lt(ns),v0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bs={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},L1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function os(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=L1[r])?!!l[r]:!1}function Da(){return os}var ig=u({},Kn,{key:function(r){if(r.key){var l=v0[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=ce(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Bs[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Da,charCode:function(r){return r.type==="keypress"?ce(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ce(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),rg=lt(ig),y0=u({},Vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),is=lt(y0),gC=u({},Kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Da}),O1=lt(gC),D1=u({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),bC=lt(D1),E0=u({},Vi,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),vC=lt(E0),R1=u({},Cn,{newState:0,oldState:0}),w0=lt(R1),ag=[9,13,27,32],Kd=_a&&"CompositionEvent"in window,wu=null;_a&&"documentMode"in document&&(wu=document.documentMode);var Gi=_a&&"TextEvent"in window&&!wu,S0=_a&&(!Kd||wu&&8<wu&&11>=wu),Wh=" ",_c=!1;function sg(r,l){switch(r){case"keyup":return ag.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function T0(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Su=!1;function M1(r,l){switch(r){case"compositionend":return T0(l);case"keypress":return l.which!==32?null:(_c=!0,Wh);case"textInput":return r=l.data,r===Wh&&_c?null:r;default:return null}}function yC(r,l){if(Su)return r==="compositionend"||!Kd&&sg(r,l)?(r=Gh(),qd=Vh=Na=null,Su=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return S0&&l.locale!=="ko"?null:l.data;default:return null}}var A0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fs(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!A0[r.type]:l==="textarea"}function x0(r,l,v,x){Aa?xa?xa.push(x):xa=[x]:Aa=x,l=Pm(l,"onChange"),0<l.length&&(v=new Qt("onChange","change",null,v,x),r.push({event:v,listeners:l}))}var Tu=null,Cc=null;function Au(r){NS(r,0)}function Zd(r){var l=eo(r);if(Yd(l))return r}function _0(r,l){if(r==="change")return l}var lg=!1;if(_a){var rr;if(_a){var rs="oninput"in document;if(!rs){var C0=document.createElement("div");C0.setAttribute("oninput","return;"),rs=typeof C0.oninput=="function"}rr=rs}else rr=!1;lg=rr&&(!document.documentMode||9<document.documentMode)}function cg(){Tu&&(Tu.detachEvent("onpropertychange",ug),Cc=Tu=null)}function ug(r){if(r.propertyName==="value"&&Zd(Cc)){var l=[];x0(l,Cc,r,yu(r)),Ph(Au,l)}}function k1(r,l,v){r==="focusin"?(cg(),Tu=l,Cc=v,Tu.attachEvent("onpropertychange",ug)):r==="focusout"&&cg()}function I1(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Zd(Cc)}function Nc(r,l){if(r==="click")return Zd(l)}function xu(r,l){if(r==="input"||r==="change")return Zd(l)}function $1(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var Qi=typeof Object.is=="function"?Object.is:$1;function Ra(r,l){if(Qi(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var v=Object.keys(r),x=Object.keys(l);if(v.length!==x.length)return!1;for(x=0;x<v.length;x++){var z=v[x];if(!$t.call(l,z)||!Qi(r[z],l[z]))return!1}return!0}function N0(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function L0(r,l){var v=N0(r);r=0;for(var x;v;){if(v.nodeType===3){if(x=r+v.textContent.length,r<=l&&x>=l)return{node:v,offset:l-r};r=x}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=N0(v)}}function _u(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?_u(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function Lc(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var l=gu(r.document);l instanceof r.HTMLIFrameElement;){try{var v=typeof l.contentWindow.location.href=="string"}catch{v=!1}if(v)r=l.contentWindow;else break;l=gu(r.document)}return l}function Yh(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l&&(l==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||l==="textarea"||r.contentEditable==="true")}var Xh=_a&&"documentMode"in document&&11>=document.documentMode,Oc=null,Jd=null,Ma=null,as=!1;function dg(r,l,v){var x=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;as||Oc==null||Oc!==gu(x)||(x=Oc,"selectionStart"in x&&Yh(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Ma&&Ra(Ma,x)||(Ma=x,x=Pm(Jd,"onSelect"),0<x.length&&(l=new Qt("onSelect","select",null,l,v),r.push({event:l,listeners:x}),l.target=Oc)))}function kl(r,l){var v={};return v[r.toLowerCase()]=l.toLowerCase(),v["Webkit"+r]="webkit"+l,v["Moz"+r]="moz"+l,v}var ss={animationend:kl("Animation","AnimationEnd"),animationiteration:kl("Animation","AnimationIteration"),animationstart:kl("Animation","AnimationStart"),transitionrun:kl("Transition","TransitionRun"),transitionstart:kl("Transition","TransitionStart"),transitioncancel:kl("Transition","TransitionCancel"),transitionend:kl("Transition","TransitionEnd")},ef={},Dc={};_a&&(Dc=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function jn(r){if(ef[r])return ef[r];if(!ss[r])return r;var l=ss[r],v;for(v in l)if(l.hasOwnProperty(v)&&v in Dc)return ef[r]=l[v];return r}var qh=jn("animationend"),O0=jn("animationiteration"),fg=jn("animationstart"),Cu=jn("transitionrun"),Kh=jn("transitionstart"),Ps=jn("transitioncancel"),U1=jn("transitionend"),Vs=new Map,tf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");tf.push("scrollEnd");function ar(r,l){Vs.set(r,l),vi(l,[r])}var Nu=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},wo=[],Ei=0,ka=0;function Zr(){for(var r=Ei,l=ka=Ei=0;l<r;){var v=wo[l];wo[l++]=null;var x=wo[l];wo[l++]=null;var z=wo[l];wo[l++]=null;var V=wo[l];if(wo[l++]=null,x!==null&&z!==null){var ee=x.pending;ee===null?z.next=z:(z.next=ee.next,ee.next=z),x.pending=z}V!==0&&hg(v,z,V)}}function Jr(r,l,v,x){wo[Ei++]=r,wo[Ei++]=l,wo[Ei++]=v,wo[Ei++]=x,ka|=x,r.lanes|=x,r=r.alternate,r!==null&&(r.lanes|=x)}function Ia(r,l,v,x){return Jr(r,l,v,x),Zh(r)}function Il(r,l){return Jr(r,null,null,l),Zh(r)}function hg(r,l,v){r.lanes|=v;var x=r.alternate;x!==null&&(x.lanes|=v);for(var z=!1,V=r.return;V!==null;)V.childLanes|=v,x=V.alternate,x!==null&&(x.childLanes|=v),V.tag===22&&(r=V.stateNode,r===null||r._visibility&1||(z=!0)),r=V,V=V.return;return r.tag===3?(V=r.stateNode,z&&l!==null&&(z=31-xe(v),r=V.hiddenUpdates,x=r[z],x===null?r[z]=[l]:x.push(l),l.lane=v|536870912),V):null}function Zh(r){if(50<Lf)throw Lf=0,km=null,Error(a(185));for(var l=r.return;l!==null;)r=l,l=r.return;return r.tag===3?r.stateNode:null}var sr={};function H1(r,l,v,x){this.tag=r,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Io(r,l,v,x){return new H1(r,l,v,x)}function Lu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function $l(r,l){var v=r.alternate;return v===null?(v=Io(r.tag,l,r.key,r.mode),v.elementType=r.elementType,v.type=r.type,v.stateNode=r.stateNode,v.alternate=r,r.alternate=v):(v.pendingProps=l,v.type=r.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=r.flags&65011712,v.childLanes=r.childLanes,v.lanes=r.lanes,v.child=r.child,v.memoizedProps=r.memoizedProps,v.memoizedState=r.memoizedState,v.updateQueue=r.updateQueue,l=r.dependencies,v.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},v.sibling=r.sibling,v.index=r.index,v.ref=r.ref,v.refCleanup=r.refCleanup,v}function D0(r,l){r.flags&=65011714;var v=r.alternate;return v===null?(r.childLanes=0,r.lanes=l,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=v.childLanes,r.lanes=v.lanes,r.child=v.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=v.memoizedProps,r.memoizedState=v.memoizedState,r.updateQueue=v.updateQueue,r.type=v.type,l=v.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),r}function mg(r,l,v,x,z,V){var ee=0;if(x=r,typeof r=="function")Lu(r)&&(ee=1);else if(typeof r=="string")ee=eE(r,v,ae.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case U:return r=Io(31,v,l,z),r.elementType=U,r.lanes=V,r;case S:return Ul(v.children,z,V,l);case T:ee=8,z|=24;break;case A:return r=Io(12,v,l,z|2),r.elementType=A,r.lanes=V,r;case L:return r=Io(13,v,l,z),r.elementType=L,r.lanes=V,r;case C:return r=Io(19,v,l,z),r.elementType=C,r.lanes=V,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case D:ee=10;break e;case N:ee=9;break e;case R:ee=11;break e;case $:ee=14;break e;case F:ee=16,x=null;break e}ee=29,v=Error(a(130,r===null?"null":typeof r,"")),x=null}return l=Io(ee,v,l,z),l.elementType=r,l.type=x,l.lanes=V,l}function Ul(r,l,v,x){return r=Io(7,r,x,l),r.lanes=v,r}function nf(r,l,v){return r=Io(6,r,null,l),r.lanes=v,r}function R0(r){var l=Io(18,null,null,0);return l.stateNode=r,l}function pg(r,l,v){return l=Io(4,r.children!==null?r.children:[],r.key,l),l.lanes=v,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}var M0=new WeakMap;function ea(r,l){if(typeof r=="object"&&r!==null){var v=M0.get(r);return v!==void 0?v:(l={value:r,source:l,stack:xt(l)},M0.set(r,l),l)}return{value:r,source:l,stack:xt(l)}}var ta=[],Ou=0,Jh=null,Go=0,Rr=[],lr=0,ls=null,Mr=1,cs="";function $a(r,l){ta[Ou++]=Go,ta[Ou++]=Jh,Jh=r,Go=l}function k0(r,l,v){Rr[lr++]=Mr,Rr[lr++]=cs,Rr[lr++]=ls,ls=r;var x=Mr;r=cs;var z=32-xe(x)-1;x&=~(1<<z),v+=1;var V=32-xe(l)+z;if(30<V){var ee=z-z%5;V=(x&(1<<ee)-1).toString(32),x>>=ee,z-=ee,Mr=1<<32-xe(l)+z|v<<z|x,cs=V+r}else Mr=1<<V|v<<z|x,cs=r}function of(r){r.return!==null&&($a(r,1),k0(r,1,0))}function gg(r){for(;r===Jh;)Jh=ta[--Ou],ta[Ou]=null,Go=ta[--Ou],ta[Ou]=null;for(;r===ls;)ls=Rr[--lr],Rr[lr]=null,cs=Rr[--lr],Rr[lr]=null,Mr=Rr[--lr],Rr[lr]=null}function em(r,l){Rr[lr++]=Mr,Rr[lr++]=cs,Rr[lr++]=ls,Mr=l.id,cs=l.overflow,ls=r}var wi=null,lo=null,wn=!1,Gs=null,ci=!1,Qs=Error(a(519));function Ua(r){var l=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw af(ea(l,r)),Qs}function tm(r){var l=r.stateNode,v=r.type,x=r.memoizedProps;switch(l[qt]=r,l[Gn]=x,v){case"dialog":En("cancel",l),En("close",l);break;case"iframe":case"object":case"embed":En("load",l);break;case"video":case"audio":for(v=0;v<If.length;v++)En(If[v],l);break;case"source":En("error",l);break;case"img":case"image":case"link":En("error",l),En("load",l);break;case"details":En("toggle",l);break;case"input":En("invalid",l),Sc(l,x.value,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name,!0);break;case"select":En("invalid",l);break;case"textarea":En("invalid",l),Ac(l,x.value,x.defaultValue,x.children)}v=x.children,typeof v!="string"&&typeof v!="number"&&typeof v!="bigint"||l.textContent===""+v||x.suppressHydrationWarning===!0||Py(l.textContent,v)?(x.popover!=null&&(En("beforetoggle",l),En("toggle",l)),x.onScroll!=null&&En("scroll",l),x.onScrollEnd!=null&&En("scrollend",l),x.onClick!=null&&(l.onclick=Kr),l=!0):l=!1,l||Ua(r,!0)}function rf(r){for(wi=r.return;wi;)switch(wi.tag){case 5:case 31:case 13:ci=!1;return;case 27:case 3:ci=!0;return;default:wi=wi.return}}function Ws(r){if(r!==wi)return!1;if(!wn)return rf(r),wn=!0,!1;var l=r.tag,v;if((v=l!==3&&l!==27)&&((v=l===5)&&(v=r.type,v=!(v!=="form"&&v!=="button")||Uf(r.type,r.memoizedProps)),v=!v),v&&lo&&Ua(r),rf(r),l===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));lo=yb(r)}else if(l===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));lo=yb(r)}else l===27?(l=lo,Es(r.type)?(r=Qm,Qm=null,lo=r):lo=l):lo=wi?vr(r.stateNode.nextSibling):null;return!0}function Rc(){lo=wi=null,wn=!1}function I0(){var r=Gs;return r!==null&&(Do===null?Do=r:Do.push.apply(Do,r),Gs=null),r}function af(r){Gs===null?Gs=[r]:Gs.push(r)}var bg=Z(null),Hl=null,us=null;function cr(r,l,v){te(bg,l._currentValue),l._currentValue=v}function ds(r){r._currentValue=bg.current,re(bg)}function vg(r,l,v){for(;r!==null;){var x=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,x!==null&&(x.childLanes|=l)):x!==null&&(x.childLanes&l)!==l&&(x.childLanes|=l),r===v)break;r=r.return}}function Ys(r,l,v,x){var z=r.child;for(z!==null&&(z.return=r);z!==null;){var V=z.dependencies;if(V!==null){var ee=z.child;V=V.firstContext;e:for(;V!==null;){var le=V;V=z;for(var be=0;be<l.length;be++)if(le.context===l[be]){V.lanes|=v,le=V.alternate,le!==null&&(le.lanes|=v),vg(V.return,v,r),x||(ee=null);break e}V=le.next}}else if(z.tag===18){if(ee=z.return,ee===null)throw Error(a(341));ee.lanes|=v,V=ee.alternate,V!==null&&(V.lanes|=v),vg(ee,v,r),ee=null}else ee=z.child;if(ee!==null)ee.return=z;else for(ee=z;ee!==null;){if(ee===r){ee=null;break}if(z=ee.sibling,z!==null){z.return=ee.return,ee=z;break}ee=ee.return}z=ee}}function Si(r,l,v,x){r=null;for(var z=l,V=!1;z!==null;){if(!V){if((z.flags&524288)!==0)V=!0;else if((z.flags&262144)!==0)break}if(z.tag===10){var ee=z.alternate;if(ee===null)throw Error(a(387));if(ee=ee.memoizedProps,ee!==null){var le=z.type;Qi(z.pendingProps.value,ee.value)||(r!==null?r.push(le):r=[le])}}else if(z===ue.current){if(ee=z.alternate,ee===null)throw Error(a(387));ee.memoizedState.memoizedState!==z.memoizedState.memoizedState&&(r!==null?r.push(Xm):r=[Xm])}z=z.return}r!==null&&Ys(l,r,v,x),l.flags|=262144}function Du(r){for(r=r.firstContext;r!==null;){if(!Qi(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Kt(r){Hl=r,us=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Ye(r){return nm(Hl,r)}function jl(r,l){return Hl===null&&Kt(r),nm(r,l)}function nm(r,l){var v=l._currentValue;if(l={context:l,memoizedValue:v,next:null},us===null){if(r===null)throw Error(a(308));us=l,r.dependencies={lanes:0,firstContext:l},r.flags|=524288}else us=us.next=l;return v}var $o=typeof AbortController<"u"?AbortController:function(){var r=[],l=this.signal={aborted:!1,addEventListener:function(v,x){r.push(x)}};this.abort=function(){l.aborted=!0,r.forEach(function(v){return v()})}},$0=t.unstable_scheduleCallback,U0=t.unstable_NormalPriority,Qo={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function om(){return{controller:new $o,data:new Map,refCount:0}}function im(r){r.refCount--,r.refCount===0&&$0(U0,function(){r.controller.abort()})}var Ru=null,rm=0,Mc=0,Zo=null;function Qn(r,l){if(Ru===null){var v=Ru=[];rm=0,Mc=db(),Zo={status:"pending",value:void 0,then:function(x){v.push(x)}}}return rm++,l.then(am,am),l}function am(){if(--rm===0&&Ru!==null){Zo!==null&&(Zo.status="fulfilled");var r=Ru;Ru=null,Mc=0,Zo=null;for(var l=0;l<r.length;l++)(0,r[l])()}}function sm(r,l){var v=[],x={status:"pending",value:null,reason:null,then:function(z){v.push(z)}};return r.then(function(){x.status="fulfilled",x.value=l;for(var z=0;z<v.length;z++)(0,v[z])(l)},function(z){for(x.status="rejected",x.reason=z,z=0;z<v.length;z++)(0,v[z])(void 0)}),x}var zl=I.S;I.S=function(r,l){Oy=at(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Qn(r,l),zl!==null&&zl(r,l)};var na=Z(null);function oa(){var r=na.current;return r!==null?r:no.pooledCache}function sf(r,l){l===null?te(na,na.current):te(na,l.pool)}function Mu(){var r=oa();return r===null?null:{parent:Qo._currentValue,pool:r}}var kc=Error(a(460)),ku=Error(a(474)),lf=Error(a(542)),Iu={then:function(){}};function H0(r){return r=r.status,r==="fulfilled"||r==="rejected"}function j0(r,l,v){switch(v=r[v],v===void 0?r.push(l):v!==l&&(l.then(Kr,Kr),l=v),l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,yg(r),r;default:if(typeof l.status=="string")l.then(Kr,Kr);else{if(r=no,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=l,r.status="pending",r.then(function(x){if(l.status==="pending"){var z=l;z.status="fulfilled",z.value=x}},function(x){if(l.status==="pending"){var z=l;z.status="rejected",z.reason=x}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,yg(r),r}throw $c=l,kc}}function Ic(r){try{var l=r._init;return l(r._payload)}catch(v){throw v!==null&&typeof v=="object"&&typeof v.then=="function"?($c=v,kc):v}}var $c=null;function z0(){if($c===null)throw Error(a(459));var r=$c;return $c=null,r}function yg(r){if(r===kc||r===lf)throw Error(a(483))}var Uc=null,$u=0;function lm(r){var l=$u;return $u+=1,Uc===null&&(Uc=[]),j0(Uc,r,l)}function cf(r,l){l=l.props.ref,r.ref=l!==void 0?l:null}function cm(r,l){throw l.$$typeof===d?Error(a(525)):(r=Object.prototype.toString.call(l),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r)))}function j1(r){function l(Ne,Te){if(r){var De=Ne.deletions;De===null?(Ne.deletions=[Te],Ne.flags|=16):De.push(Te)}}function v(Ne,Te){if(!r)return null;for(;Te!==null;)l(Ne,Te),Te=Te.sibling;return null}function x(Ne){for(var Te=new Map;Ne!==null;)Ne.key!==null?Te.set(Ne.key,Ne):Te.set(Ne.index,Ne),Ne=Ne.sibling;return Te}function z(Ne,Te){return Ne=$l(Ne,Te),Ne.index=0,Ne.sibling=null,Ne}function V(Ne,Te,De){return Ne.index=De,r?(De=Ne.alternate,De!==null?(De=De.index,De<Te?(Ne.flags|=67108866,Te):De):(Ne.flags|=67108866,Te)):(Ne.flags|=1048576,Te)}function ee(Ne){return r&&Ne.alternate===null&&(Ne.flags|=67108866),Ne}function le(Ne,Te,De,Qe){return Te===null||Te.tag!==6?(Te=nf(De,Ne.mode,Qe),Te.return=Ne,Te):(Te=z(Te,De),Te.return=Ne,Te)}function be(Ne,Te,De,Qe){var Dt=De.type;return Dt===S?Fe(Ne,Te,De.props.children,Qe,De.key):Te!==null&&(Te.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===F&&Ic(Dt)===Te.type)?(Te=z(Te,De.props),cf(Te,De),Te.return=Ne,Te):(Te=mg(De.type,De.key,De.props,null,Ne.mode,Qe),cf(Te,De),Te.return=Ne,Te)}function Me(Ne,Te,De,Qe){return Te===null||Te.tag!==4||Te.stateNode.containerInfo!==De.containerInfo||Te.stateNode.implementation!==De.implementation?(Te=pg(De,Ne.mode,Qe),Te.return=Ne,Te):(Te=z(Te,De.children||[]),Te.return=Ne,Te)}function Fe(Ne,Te,De,Qe,Dt){return Te===null||Te.tag!==7?(Te=Ul(De,Ne.mode,Qe,Dt),Te.return=Ne,Te):(Te=z(Te,De),Te.return=Ne,Te)}function We(Ne,Te,De){if(typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint")return Te=nf(""+Te,Ne.mode,De),Te.return=Ne,Te;if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case h:return De=mg(Te.type,Te.key,Te.props,null,Ne.mode,De),cf(De,Te),De.return=Ne,De;case m:return Te=pg(Te,Ne.mode,De),Te.return=Ne,Te;case F:return Te=Ic(Te),We(Ne,Te,De)}if(M(Te)||P(Te))return Te=Ul(Te,Ne.mode,De,null),Te.return=Ne,Te;if(typeof Te.then=="function")return We(Ne,lm(Te),De);if(Te.$$typeof===D)return We(Ne,jl(Ne,Te),De);cm(Ne,Te)}return null}function ke(Ne,Te,De,Qe){var Dt=Te!==null?Te.key:null;if(typeof De=="string"&&De!==""||typeof De=="number"||typeof De=="bigint")return Dt!==null?null:le(Ne,Te,""+De,Qe);if(typeof De=="object"&&De!==null){switch(De.$$typeof){case h:return De.key===Dt?be(Ne,Te,De,Qe):null;case m:return De.key===Dt?Me(Ne,Te,De,Qe):null;case F:return De=Ic(De),ke(Ne,Te,De,Qe)}if(M(De)||P(De))return Dt!==null?null:Fe(Ne,Te,De,Qe,null);if(typeof De.then=="function")return ke(Ne,Te,lm(De),Qe);if(De.$$typeof===D)return ke(Ne,Te,jl(Ne,De),Qe);cm(Ne,De)}return null}function He(Ne,Te,De,Qe,Dt){if(typeof Qe=="string"&&Qe!==""||typeof Qe=="number"||typeof Qe=="bigint")return Ne=Ne.get(De)||null,le(Te,Ne,""+Qe,Dt);if(typeof Qe=="object"&&Qe!==null){switch(Qe.$$typeof){case h:return Ne=Ne.get(Qe.key===null?De:Qe.key)||null,be(Te,Ne,Qe,Dt);case m:return Ne=Ne.get(Qe.key===null?De:Qe.key)||null,Me(Te,Ne,Qe,Dt);case F:return Qe=Ic(Qe),He(Ne,Te,De,Qe,Dt)}if(M(Qe)||P(Qe))return Ne=Ne.get(De)||null,Fe(Te,Ne,Qe,Dt,null);if(typeof Qe.then=="function")return He(Ne,Te,De,lm(Qe),Dt);if(Qe.$$typeof===D)return He(Ne,Te,De,jl(Te,Qe),Dt);cm(Te,Qe)}return null}function wt(Ne,Te,De,Qe){for(var Dt=null,Mn=null,At=Te,nn=Te=0,cn=null;At!==null&&nn<De.length;nn++){At.index>nn?(cn=At,At=null):cn=At.sibling;var Un=ke(Ne,At,De[nn],Qe);if(Un===null){At===null&&(At=cn);break}r&&At&&Un.alternate===null&&l(Ne,At),Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un,At=cn}if(nn===De.length)return v(Ne,At),wn&&$a(Ne,nn),Dt;if(At===null){for(;nn<De.length;nn++)At=We(Ne,De[nn],Qe),At!==null&&(Te=V(At,Te,nn),Mn===null?Dt=At:Mn.sibling=At,Mn=At);return wn&&$a(Ne,nn),Dt}for(At=x(At);nn<De.length;nn++)cn=He(At,Ne,nn,De[nn],Qe),cn!==null&&(r&&cn.alternate!==null&&At.delete(cn.key===null?nn:cn.key),Te=V(cn,Te,nn),Mn===null?Dt=cn:Mn.sibling=cn,Mn=cn);return r&&At.forEach(function(Ts){return l(Ne,Ts)}),wn&&$a(Ne,nn),Dt}function zt(Ne,Te,De,Qe){if(De==null)throw Error(a(151));for(var Dt=null,Mn=null,At=Te,nn=Te=0,cn=null,Un=De.next();At!==null&&!Un.done;nn++,Un=De.next()){At.index>nn?(cn=At,At=null):cn=At.sibling;var Ts=ke(Ne,At,Un.value,Qe);if(Ts===null){At===null&&(At=cn);break}r&&At&&Ts.alternate===null&&l(Ne,At),Te=V(Ts,Te,nn),Mn===null?Dt=Ts:Mn.sibling=Ts,Mn=Ts,At=cn}if(Un.done)return v(Ne,At),wn&&$a(Ne,nn),Dt;if(At===null){for(;!Un.done;nn++,Un=De.next())Un=We(Ne,Un.value,Qe),Un!==null&&(Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un);return wn&&$a(Ne,nn),Dt}for(At=x(At);!Un.done;nn++,Un=De.next())Un=He(At,Ne,nn,Un.value,Qe),Un!==null&&(r&&Un.alternate!==null&&At.delete(Un.key===null?nn:Un.key),Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un);return r&&At.forEach(function(PS){return l(Ne,PS)}),wn&&$a(Ne,nn),Dt}function io(Ne,Te,De,Qe){if(typeof De=="object"&&De!==null&&De.type===S&&De.key===null&&(De=De.props.children),typeof De=="object"&&De!==null){switch(De.$$typeof){case h:e:{for(var Dt=De.key;Te!==null;){if(Te.key===Dt){if(Dt=De.type,Dt===S){if(Te.tag===7){v(Ne,Te.sibling),Qe=z(Te,De.props.children),Qe.return=Ne,Ne=Qe;break e}}else if(Te.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===F&&Ic(Dt)===Te.type){v(Ne,Te.sibling),Qe=z(Te,De.props),cf(Qe,De),Qe.return=Ne,Ne=Qe;break e}v(Ne,Te);break}else l(Ne,Te);Te=Te.sibling}De.type===S?(Qe=Ul(De.props.children,Ne.mode,Qe,De.key),Qe.return=Ne,Ne=Qe):(Qe=mg(De.type,De.key,De.props,null,Ne.mode,Qe),cf(Qe,De),Qe.return=Ne,Ne=Qe)}return ee(Ne);case m:e:{for(Dt=De.key;Te!==null;){if(Te.key===Dt)if(Te.tag===4&&Te.stateNode.containerInfo===De.containerInfo&&Te.stateNode.implementation===De.implementation){v(Ne,Te.sibling),Qe=z(Te,De.children||[]),Qe.return=Ne,Ne=Qe;break e}else{v(Ne,Te);break}else l(Ne,Te);Te=Te.sibling}Qe=pg(De,Ne.mode,Qe),Qe.return=Ne,Ne=Qe}return ee(Ne);case F:return De=Ic(De),io(Ne,Te,De,Qe)}if(M(De))return wt(Ne,Te,De,Qe);if(P(De)){if(Dt=P(De),typeof Dt!="function")throw Error(a(150));return De=Dt.call(De),zt(Ne,Te,De,Qe)}if(typeof De.then=="function")return io(Ne,Te,lm(De),Qe);if(De.$$typeof===D)return io(Ne,Te,jl(Ne,De),Qe);cm(Ne,De)}return typeof De=="string"&&De!==""||typeof De=="number"||typeof De=="bigint"?(De=""+De,Te!==null&&Te.tag===6?(v(Ne,Te.sibling),Qe=z(Te,De),Qe.return=Ne,Ne=Qe):(v(Ne,Te),Qe=nf(De,Ne.mode,Qe),Qe.return=Ne,Ne=Qe),ee(Ne)):v(Ne,Te)}return function(Ne,Te,De,Qe){try{$u=0;var Dt=io(Ne,Te,De,Qe);return Uc=null,Dt}catch(At){if(At===kc||At===lf)throw At;var Mn=Io(29,At,null,Ne.mode);return Mn.lanes=Qe,Mn.return=Ne,Mn}finally{}}}var Hc=j1(!0),B0=j1(!1),Bl=!1;function um(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eg(r,l){r=r.updateQueue,l.updateQueue===r&&(l.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Fl(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function ia(r,l,v){var x=r.updateQueue;if(x===null)return null;if(x=x.shared,($n&2)!==0){var z=x.pending;return z===null?l.next=l:(l.next=z.next,z.next=l),x.pending=l,l=Zh(r),hg(r,null,v),l}return Jr(r,x,l,v),Zh(r)}function jc(r,l,v){if(l=l.updateQueue,l!==null&&(l=l.shared,(v&4194048)!==0)){var x=l.lanes;x&=r.pendingLanes,v|=x,l.lanes=v,On(r,v)}}function wg(r,l){var v=r.updateQueue,x=r.alternate;if(x!==null&&(x=x.updateQueue,v===x)){var z=null,V=null;if(v=v.firstBaseUpdate,v!==null){do{var ee={lane:v.lane,tag:v.tag,payload:v.payload,callback:null,next:null};V===null?z=V=ee:V=V.next=ee,v=v.next}while(v!==null);V===null?z=V=l:V=V.next=l}else z=V=l;v={baseState:x.baseState,firstBaseUpdate:z,lastBaseUpdate:V,shared:x.shared,callbacks:x.callbacks},r.updateQueue=v;return}r=v.lastBaseUpdate,r===null?v.firstBaseUpdate=l:r.next=l,v.lastBaseUpdate=l}var F0=!1;function zc(){if(F0){var r=Zo;if(r!==null)throw r}}function Xs(r,l,v,x){F0=!1;var z=r.updateQueue;Bl=!1;var V=z.firstBaseUpdate,ee=z.lastBaseUpdate,le=z.shared.pending;if(le!==null){z.shared.pending=null;var be=le,Me=be.next;be.next=null,ee===null?V=Me:ee.next=Me,ee=be;var Fe=r.alternate;Fe!==null&&(Fe=Fe.updateQueue,le=Fe.lastBaseUpdate,le!==ee&&(le===null?Fe.firstBaseUpdate=Me:le.next=Me,Fe.lastBaseUpdate=be))}if(V!==null){var We=z.baseState;ee=0,Fe=Me=be=null,le=V;do{var ke=le.lane&-536870913,He=ke!==le.lane;if(He?(gn&ke)===ke:(x&ke)===ke){ke!==0&&ke===Mc&&(F0=!0),Fe!==null&&(Fe=Fe.next={lane:0,tag:le.tag,payload:le.payload,callback:null,next:null});e:{var wt=r,zt=le;ke=l;var io=v;switch(zt.tag){case 1:if(wt=zt.payload,typeof wt=="function"){We=wt.call(io,We,ke);break e}We=wt;break e;case 3:wt.flags=wt.flags&-65537|128;case 0:if(wt=zt.payload,ke=typeof wt=="function"?wt.call(io,We,ke):wt,ke==null)break e;We=u({},We,ke);break e;case 2:Bl=!0}}ke=le.callback,ke!==null&&(r.flags|=64,He&&(r.flags|=8192),He=z.callbacks,He===null?z.callbacks=[ke]:He.push(ke))}else He={lane:ke,tag:le.tag,payload:le.payload,callback:le.callback,next:null},Fe===null?(Me=Fe=He,be=We):Fe=Fe.next=He,ee|=ke;if(le=le.next,le===null){if(le=z.shared.pending,le===null)break;He=le,le=He.next,He.next=null,z.lastBaseUpdate=He,z.shared.pending=null}}while(!0);Fe===null&&(be=We),z.baseState=be,z.firstBaseUpdate=Me,z.lastBaseUpdate=Fe,V===null&&(z.shared.lanes=0),vs|=ee,r.lanes=ee,r.memoizedState=We}}function Sg(r,l){if(typeof r!="function")throw Error(a(191,r));r.call(l)}function Bc(r,l){var v=r.callbacks;if(v!==null)for(r.callbacks=null,r=0;r<v.length;r++)Sg(v[r],l)}var ui=Z(null),Uu=Z(0);function z1(r,l){r=bs,te(Uu,r),te(ui,l),bs=r|l.baseLanes}function dm(){te(Uu,bs),te(ui,ui.current)}function uf(){bs=Uu.current,re(ui),re(Uu)}var ur=Z(null),ra=null;function qs(r){var l=r.alternate;te(So,So.current&1),te(ur,r),ra===null&&(l===null||ui.current!==null||l.memoizedState!==null)&&(ra=r)}function df(r){te(So,So.current),te(ur,r),ra===null&&(ra=r)}function Tg(r){r.tag===22?(te(So,So.current),te(ur,r),ra===null&&(ra=r)):fs()}function fs(){te(So,So.current),te(ur,ur.current)}function dr(r){re(ur),ra===r&&(ra=null),re(So)}var So=Z(0);function ff(r){for(var l=r;l!==null;){if(l.tag===13){var v=l.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||Ba(v)||Jc(v)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Ks=0,rn=null,Wn=null,Wo=null,Hu=!1,ju=!1,Pl=!1,fm=0,hf=0,Fc=null,B1=0;function Lo(){throw Error(a(321))}function Vl(r,l){if(l===null)return!1;for(var v=0;v<l.length&&v<r.length;v++)if(!Qi(r[v],l[v]))return!1;return!0}function hm(r,l,v,x,z,V){return Ks=V,rn=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,I.H=r===null||r.memoizedState===null?X1:zg,Pl=!1,V=v(x,z),Pl=!1,ju&&(V=F1(l,v,x,z)),Ag(r),V}function Ag(r){I.H=Sm;var l=Wn!==null&&Wn.next!==null;if(Ks=0,Wo=Wn=rn=null,Hu=!1,hf=0,Fc=null,l)throw Error(a(300));r===null||Yo||(r=r.dependencies,r!==null&&Du(r)&&(Yo=!0))}function F1(r,l,v,x){rn=r;var z=0;do{if(ju&&(Fc=null),hf=0,ju=!1,25<=z)throw Error(a(301));if(z+=1,Wo=Wn=null,r.updateQueue!=null){var V=r.updateQueue;V.lastEffect=null,V.events=null,V.stores=null,V.memoCache!=null&&(V.memoCache.index=0)}I.H=q1,V=l(v,x)}while(ju);return V}function EC(){var r=I.H,l=r.useState()[0];return l=typeof l.then=="function"?Bu(l):l,r=r.useState()[0],(Wn!==null?Wn.memoizedState:null)!==r&&(rn.flags|=1024),l}function xg(){var r=fm!==0;return fm=0,r}function zu(r,l,v){l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~v}function mm(r){if(Hu){for(r=r.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Hu=!1}Ks=0,Wo=Wn=rn=null,ju=!1,hf=fm=0,Fc=null}function Ti(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wo===null?rn.memoizedState=Wo=r:Wo=Wo.next=r,Wo}function Uo(){if(Wn===null){var r=rn.alternate;r=r!==null?r.memoizedState:null}else r=Wn.next;var l=Wo===null?rn.memoizedState:Wo.next;if(l!==null)Wo=l,Wn=r;else{if(r===null)throw rn.alternate===null?Error(a(467)):Error(a(310));Wn=r,r={memoizedState:Wn.memoizedState,baseState:Wn.baseState,baseQueue:Wn.baseQueue,queue:Wn.queue,next:null},Wo===null?rn.memoizedState=Wo=r:Wo=Wo.next=r}return Wo}function pm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bu(r){var l=hf;return hf+=1,Fc===null&&(Fc=[]),r=j0(Fc,r,l),l=rn,(Wo===null?l.memoizedState:Wo.next)===null&&(l=l.alternate,I.H=l===null||l.memoizedState===null?X1:zg),r}function mf(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Bu(r);if(r.$$typeof===D)return Ye(r)}throw Error(a(438,String(r)))}function _g(r){var l=null,v=rn.updateQueue;if(v!==null&&(l=v.memoCache),l==null){var x=rn.alternate;x!==null&&(x=x.updateQueue,x!==null&&(x=x.memoCache,x!=null&&(l={data:x.data.map(function(z){return z.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),v===null&&(v=pm(),rn.updateQueue=v),v.memoCache=l,v=l.data[l.index],v===void 0)for(v=l.data[l.index]=Array(r),x=0;x<r;x++)v[x]=j;return l.index++,v}function Zs(r,l){return typeof l=="function"?l(r):l}function Js(r){var l=Uo();return Cg(l,Wn,r)}function Cg(r,l,v){var x=r.queue;if(x===null)throw Error(a(311));x.lastRenderedReducer=v;var z=r.baseQueue,V=x.pending;if(V!==null){if(z!==null){var ee=z.next;z.next=V.next,V.next=ee}l.baseQueue=z=V,x.pending=null}if(V=r.baseState,z===null)r.memoizedState=V;else{l=z.next;var le=ee=null,be=null,Me=l,Fe=!1;do{var We=Me.lane&-536870913;if(We!==Me.lane?(gn&We)===We:(Ks&We)===We){var ke=Me.revertLane;if(ke===0)be!==null&&(be=be.next={lane:0,revertLane:0,gesture:null,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null}),We===Mc&&(Fe=!0);else if((Ks&ke)===ke){Me=Me.next,ke===Mc&&(Fe=!0);continue}else We={lane:0,revertLane:Me.revertLane,gesture:null,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null},be===null?(le=be=We,ee=V):be=be.next=We,rn.lanes|=ke,vs|=ke;We=Me.action,Pl&&v(V,We),V=Me.hasEagerState?Me.eagerState:v(V,We)}else ke={lane:We,revertLane:Me.revertLane,gesture:Me.gesture,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null},be===null?(le=be=ke,ee=V):be=be.next=ke,rn.lanes|=We,vs|=We;Me=Me.next}while(Me!==null&&Me!==l);if(be===null?ee=V:be.next=le,!Qi(V,r.memoizedState)&&(Yo=!0,Fe&&(v=Zo,v!==null)))throw v;r.memoizedState=V,r.baseState=ee,r.baseQueue=be,x.lastRenderedState=V}return z===null&&(x.lanes=0),[r.memoizedState,x.dispatch]}function Ng(r){var l=Uo(),v=l.queue;if(v===null)throw Error(a(311));v.lastRenderedReducer=r;var x=v.dispatch,z=v.pending,V=l.memoizedState;if(z!==null){v.pending=null;var ee=z=z.next;do V=r(V,ee.action),ee=ee.next;while(ee!==z);Qi(V,l.memoizedState)||(Yo=!0),l.memoizedState=V,l.baseQueue===null&&(l.baseState=V),v.lastRenderedState=V}return[V,x]}function P0(r,l,v){var x=rn,z=Uo(),V=wn;if(V){if(v===void 0)throw Error(a(407));v=v()}else v=l();var ee=!Qi((Wn||z).memoizedState,v);if(ee&&(z.memoizedState=v,Yo=!0),z=z.queue,Mg(Lg.bind(null,x,z,r),[r]),z.getSnapshot!==l||ee||Wo!==null&&Wo.memoizedState.tag&1){if(x.flags|=2048,Pu(9,{destroy:void 0},V0.bind(null,x,z,v,l),null),no===null)throw Error(a(349));V||(Ks&127)!==0||gm(x,l,v)}return v}function gm(r,l,v){r.flags|=16384,r={getSnapshot:l,value:v},l=rn.updateQueue,l===null?(l=pm(),rn.updateQueue=l,l.stores=[r]):(v=l.stores,v===null?l.stores=[r]:v.push(r))}function V0(r,l,v,x){l.value=v,l.getSnapshot=x,Og(l)&&Dg(r)}function Lg(r,l,v){return v(function(){Og(l)&&Dg(r)})}function Og(r){var l=r.getSnapshot;r=r.value;try{var v=l();return!Qi(r,v)}catch{return!0}}function Dg(r){var l=Il(r,2);l!==null&&br(l,r,2)}function G0(r){var l=Ti();if(typeof r=="function"){var v=r;if(r=v(),Pl){Et(!0);try{v()}finally{Et(!1)}}}return l.memoizedState=l.baseState=r,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:r},l}function Ai(r,l,v,x){return r.baseState=v,Cg(r,Wn,typeof x=="function"?x:Zs)}function P1(r,l,v,x,z){if(wm(r))throw Error(a(485));if(r=l.action,r!==null){var V={payload:z,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(ee){V.listeners.push(ee)}};I.T!==null?v(!0):V.isTransition=!1,x(V),v=l.pending,v===null?(V.next=l.pending=V,Q0(l,V)):(V.next=v.next,l.pending=v.next=V)}}function Q0(r,l){var v=l.action,x=l.payload,z=r.state;if(l.isTransition){var V=I.T,ee={};I.T=ee;try{var le=v(z,x),be=I.S;be!==null&&be(ee,le),W0(r,l,le)}catch(Me){Fu(r,l,Me)}finally{V!==null&&ee.types!==null&&(V.types=ee.types),I.T=V}}else try{V=v(z,x),W0(r,l,V)}catch(Me){Fu(r,l,Me)}}function W0(r,l,v){v!==null&&typeof v=="object"&&typeof v.then=="function"?v.then(function(x){Y0(r,l,x)},function(x){return Fu(r,l,x)}):Y0(r,l,v)}function Y0(r,l,v){l.status="fulfilled",l.value=v,X0(l),r.state=v,l=r.pending,l!==null&&(v=l.next,v===l?r.pending=null:(v=v.next,l.next=v,Q0(r,v)))}function Fu(r,l,v){var x=r.pending;if(r.pending=null,x!==null){x=x.next;do l.status="rejected",l.reason=v,X0(l),l=l.next;while(l!==x)}r.action=null}function X0(r){r=r.listeners;for(var l=0;l<r.length;l++)(0,r[l])()}function bm(r,l){return l}function q0(r,l){if(wn){var v=no.formState;if(v!==null){e:{var x=rn;if(wn){if(lo){t:{for(var z=lo,V=ci;z.nodeType!==8;){if(!V){z=null;break t}if(z=vr(z.nextSibling),z===null){z=null;break t}}V=z.data,z=V==="F!"||V==="F"?z:null}if(z){lo=vr(z.nextSibling),x=z.data==="F!";break e}}Ua(x)}x=!1}x&&(l=v[0])}}return v=Ti(),v.memoizedState=v.baseState=l,x={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bm,lastRenderedState:l},v.queue=x,v=Hg.bind(null,rn,x),x.dispatch=v,x=G0(!1),V=Pc.bind(null,rn,!1,x.queue),x=Ti(),z={state:l,dispatch:null,action:r,pending:null},x.queue=z,v=P1.bind(null,rn,z,V,v),z.dispatch=v,x.memoizedState=r,[l,v,!1]}function V1(r){var l=Uo();return vm(l,Wn,r)}function vm(r,l,v){if(l=Cg(r,l,bm)[0],r=Js(Zs)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var x=Bu(l)}catch(ee){throw ee===kc?lf:ee}else x=l;l=Uo();var z=l.queue,V=z.dispatch;return v!==l.memoizedState&&(rn.flags|=2048,Pu(9,{destroy:void 0},K0.bind(null,z,v),null)),[x,V,r]}function K0(r,l){r.action=l}function Z0(r){var l=Uo(),v=Wn;if(v!==null)return vm(l,v,r);Uo(),l=l.memoizedState,v=Uo();var x=v.queue.dispatch;return v.memoizedState=r,[l,x,!1]}function Pu(r,l,v,x){return r={tag:r,create:v,deps:x,inst:l,next:null},l=rn.updateQueue,l===null&&(l=pm(),rn.updateQueue=l),v=l.lastEffect,v===null?l.lastEffect=r.next=r:(x=v.next,v.next=r,r.next=x,l.lastEffect=r),r}function J0(){return Uo().memoizedState}function pf(r,l,v,x){var z=Ti();rn.flags|=r,z.memoizedState=Pu(1|l,{destroy:void 0},v,x===void 0?null:x)}function gf(r,l,v,x){var z=Uo();x=x===void 0?null:x;var V=z.memoizedState.inst;Wn!==null&&x!==null&&Vl(x,Wn.memoizedState.deps)?z.memoizedState=Pu(l,V,v,x):(rn.flags|=r,z.memoizedState=Pu(1|l,V,v,x))}function Rg(r,l){pf(8390656,8,r,l)}function Mg(r,l){gf(2048,8,r,l)}function ey(r){rn.flags|=4;var l=rn.updateQueue;if(l===null)l=pm(),rn.updateQueue=l,l.events=[r];else{var v=l.events;v===null?l.events=[r]:v.push(r)}}function ym(r){var l=Uo().memoizedState;return ey({ref:l,nextImpl:r}),function(){if(($n&2)!==0)throw Error(a(440));return l.impl.apply(void 0,arguments)}}function kg(r,l){return gf(4,2,r,l)}function ty(r,l){return gf(4,4,r,l)}function Ig(r,l){if(typeof l=="function"){r=r();var v=l(r);return function(){typeof v=="function"?v():l(null)}}if(l!=null)return r=r(),l.current=r,function(){l.current=null}}function ny(r,l,v){v=v!=null?v.concat([r]):null,gf(4,4,Ig.bind(null,l,r),v)}function hs(){}function $g(r,l){var v=Uo();l=l===void 0?null:l;var x=v.memoizedState;return l!==null&&Vl(l,x[1])?x[0]:(v.memoizedState=[r,l],r)}function G1(r,l){var v=Uo();l=l===void 0?null:l;var x=v.memoizedState;if(l!==null&&Vl(l,x[1]))return x[0];if(x=r(),Pl){Et(!0);try{r()}finally{Et(!1)}}return v.memoizedState=[x,l],x}function Em(r,l,v){return v===void 0||(Ks&1073741824)!==0&&(gn&261930)===0?r.memoizedState=l:(r.memoizedState=v,r=aS(),rn.lanes|=r,vs|=r,v)}function el(r,l,v,x){return Qi(v,l)?v:ui.current!==null?(r=Em(r,v,x),Qi(r,l)||(Yo=!0),r):(Ks&42)===0||(Ks&1073741824)!==0&&(gn&261930)===0?(Yo=!0,r.memoizedState=v):(r=aS(),rn.lanes|=r,vs|=r,l)}function Ug(r,l,v,x,z){var V=W.p;W.p=V!==0&&8>V?V:8;var ee=I.T,le={};I.T=le,Pc(r,!1,l,v);try{var be=z(),Me=I.S;if(Me!==null&&Me(le,be),be!==null&&typeof be=="object"&&typeof be.then=="function"){var Fe=sm(be,x);Gl(r,l,Fe,Ur(r))}else Gl(r,l,x,Ur(r))}catch(We){Gl(r,l,{then:function(){},status:"rejected",reason:We},Ur())}finally{W.p=V,ee!==null&&le.types!==null&&(ee.types=le.types),I.T=ee}}function Q1(){}function bf(r,l,v,x){if(r.tag!==5)throw Error(a(476));var z=vf(r).queue;Ug(r,z,l,Q,v===null?Q1:function(){return to(r),v(x)})}function vf(r){var l=r.memoizedState;if(l!==null)return l;l={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:Q},next:null};var v={};return l.next={memoizedState:v,baseState:v,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:v},next:null},r.memoizedState=l,r=r.alternate,r!==null&&(r.memoizedState=l),l}function to(r){var l=vf(r);l.next===null&&(l=r.alternate.memoizedState),Gl(r,l.next.queue,{},Ur())}function oy(){return Ye(Xm)}function W1(){return Uo().memoizedState}function iy(){return Uo().memoizedState}function tl(r){for(var l=r.return;l!==null;){switch(l.tag){case 24:case 3:var v=Ur();r=Fl(v);var x=ia(l,r,v);x!==null&&(br(x,l,v),jc(x,l,v)),l={cache:om()},r.payload=l;return}l=l.return}}function Y1(r,l,v){var x=Ur();v={lane:x,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},wm(r)?jg(l,v):(v=Ia(r,l,v,x),v!==null&&(br(v,r,x),ry(v,l,x)))}function Hg(r,l,v){var x=Ur();Gl(r,l,v,x)}function Gl(r,l,v,x){var z={lane:x,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};if(wm(r))jg(l,z);else{var V=r.alternate;if(r.lanes===0&&(V===null||V.lanes===0)&&(V=l.lastRenderedReducer,V!==null))try{var ee=l.lastRenderedState,le=V(ee,v);if(z.hasEagerState=!0,z.eagerState=le,Qi(le,ee))return Jr(r,l,z,0),no===null&&Zr(),!1}catch{}finally{}if(v=Ia(r,l,z,x),v!==null)return br(v,r,x),ry(v,l,x),!0}return!1}function Pc(r,l,v,x){if(x={lane:2,revertLane:db(),gesture:null,action:x,hasEagerState:!1,eagerState:null,next:null},wm(r)){if(l)throw Error(a(479))}else l=Ia(r,v,x,2),l!==null&&br(l,r,2)}function wm(r){var l=r.alternate;return r===rn||l!==null&&l===rn}function jg(r,l){ju=Hu=!0;var v=r.pending;v===null?l.next=l:(l.next=v.next,v.next=l),r.pending=l}function ry(r,l,v){if((v&4194048)!==0){var x=l.lanes;x&=r.pendingLanes,v|=x,l.lanes=v,On(r,v)}}var Sm={readContext:Ye,use:mf,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useLayoutEffect:Lo,useInsertionEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useSyncExternalStore:Lo,useId:Lo,useHostTransitionStatus:Lo,useFormState:Lo,useActionState:Lo,useOptimistic:Lo,useMemoCache:Lo,useCacheRefresh:Lo};Sm.useEffectEvent=Lo;var X1={readContext:Ye,use:mf,useCallback:function(r,l){return Ti().memoizedState=[r,l===void 0?null:l],r},useContext:Ye,useEffect:Rg,useImperativeHandle:function(r,l,v){v=v!=null?v.concat([r]):null,pf(4194308,4,Ig.bind(null,l,r),v)},useLayoutEffect:function(r,l){return pf(4194308,4,r,l)},useInsertionEffect:function(r,l){pf(4,2,r,l)},useMemo:function(r,l){var v=Ti();l=l===void 0?null:l;var x=r();if(Pl){Et(!0);try{r()}finally{Et(!1)}}return v.memoizedState=[x,l],x},useReducer:function(r,l,v){var x=Ti();if(v!==void 0){var z=v(l);if(Pl){Et(!0);try{v(l)}finally{Et(!1)}}}else z=l;return x.memoizedState=x.baseState=z,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:z},x.queue=r,r=r.dispatch=Y1.bind(null,rn,r),[x.memoizedState,r]},useRef:function(r){var l=Ti();return r={current:r},l.memoizedState=r},useState:function(r){r=G0(r);var l=r.queue,v=Hg.bind(null,rn,l);return l.dispatch=v,[r.memoizedState,v]},useDebugValue:hs,useDeferredValue:function(r,l){var v=Ti();return Em(v,r,l)},useTransition:function(){var r=G0(!1);return r=Ug.bind(null,rn,r.queue,!0,!1),Ti().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,l,v){var x=rn,z=Ti();if(wn){if(v===void 0)throw Error(a(407));v=v()}else{if(v=l(),no===null)throw Error(a(349));(gn&127)!==0||gm(x,l,v)}z.memoizedState=v;var V={value:v,getSnapshot:l};return z.queue=V,Rg(Lg.bind(null,x,V,r),[r]),x.flags|=2048,Pu(9,{destroy:void 0},V0.bind(null,x,V,v,l),null),v},useId:function(){var r=Ti(),l=no.identifierPrefix;if(wn){var v=cs,x=Mr;v=(x&~(1<<32-xe(x)-1)).toString(32)+v,l="_"+l+"R_"+v,v=fm++,0<v&&(l+="H"+v.toString(32)),l+="_"}else v=B1++,l="_"+l+"r_"+v.toString(32)+"_";return r.memoizedState=l},useHostTransitionStatus:oy,useFormState:q0,useActionState:q0,useOptimistic:function(r){var l=Ti();l.memoizedState=l.baseState=r;var v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=v,l=Pc.bind(null,rn,!0,v),v.dispatch=l,[r,l]},useMemoCache:_g,useCacheRefresh:function(){return Ti().memoizedState=tl.bind(null,rn)},useEffectEvent:function(r){var l=Ti(),v={impl:r};return l.memoizedState=v,function(){if(($n&2)!==0)throw Error(a(440));return v.impl.apply(void 0,arguments)}}},zg={readContext:Ye,use:mf,useCallback:$g,useContext:Ye,useEffect:Mg,useImperativeHandle:ny,useInsertionEffect:kg,useLayoutEffect:ty,useMemo:G1,useReducer:Js,useRef:J0,useState:function(){return Js(Zs)},useDebugValue:hs,useDeferredValue:function(r,l){var v=Uo();return el(v,Wn.memoizedState,r,l)},useTransition:function(){var r=Js(Zs)[0],l=Uo().memoizedState;return[typeof r=="boolean"?r:Bu(r),l]},useSyncExternalStore:P0,useId:W1,useHostTransitionStatus:oy,useFormState:V1,useActionState:V1,useOptimistic:function(r,l){var v=Uo();return Ai(v,Wn,r,l)},useMemoCache:_g,useCacheRefresh:iy};zg.useEffectEvent=ym;var q1={readContext:Ye,use:mf,useCallback:$g,useContext:Ye,useEffect:Mg,useImperativeHandle:ny,useInsertionEffect:kg,useLayoutEffect:ty,useMemo:G1,useReducer:Ng,useRef:J0,useState:function(){return Ng(Zs)},useDebugValue:hs,useDeferredValue:function(r,l){var v=Uo();return Wn===null?Em(v,r,l):el(v,Wn.memoizedState,r,l)},useTransition:function(){var r=Ng(Zs)[0],l=Uo().memoizedState;return[typeof r=="boolean"?r:Bu(r),l]},useSyncExternalStore:P0,useId:W1,useHostTransitionStatus:oy,useFormState:Z0,useActionState:Z0,useOptimistic:function(r,l){var v=Uo();return Wn!==null?Ai(v,Wn,r,l):(v.baseState=r,[r,v.queue.dispatch])},useMemoCache:_g,useCacheRefresh:iy};q1.useEffectEvent=ym;function Vu(r,l,v,x){l=r.memoizedState,v=v(x,l),v=v==null?l:u({},l,v),r.memoizedState=v,r.lanes===0&&(r.updateQueue.baseState=v)}var Ha={enqueueSetState:function(r,l,v){r=r._reactInternals;var x=Ur(),z=Fl(x);z.payload=l,v!=null&&(z.callback=v),l=ia(r,z,x),l!==null&&(br(l,r,x),jc(l,r,x))},enqueueReplaceState:function(r,l,v){r=r._reactInternals;var x=Ur(),z=Fl(x);z.tag=1,z.payload=l,v!=null&&(z.callback=v),l=ia(r,z,x),l!==null&&(br(l,r,x),jc(l,r,x))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var v=Ur(),x=Fl(v);x.tag=2,l!=null&&(x.callback=l),l=ia(r,x,v),l!==null&&(br(l,r,v),jc(l,r,v))}};function ay(r,l,v,x,z,V,ee){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(x,V,ee):l.prototype&&l.prototype.isPureReactComponent?!Ra(v,x)||!Ra(z,V):!0}function K1(r,l,v,x){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(v,x),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(v,x),l.state!==r&&Ha.enqueueReplaceState(l,l.state,null)}function Vc(r,l){var v=l;if("ref"in l){v={};for(var x in l)x!=="ref"&&(v[x]=l[x])}if(r=r.defaultProps){v===l&&(v=u({},v));for(var z in r)v[z]===void 0&&(v[z]=r[z])}return v}function Bg(r){Nu(r)}function sy(r){console.error(r)}function Fg(r){Nu(r)}function yf(r,l){try{var v=r.onUncaughtError;v(l.value,{componentStack:l.stack})}catch(x){setTimeout(function(){throw x})}}function Tm(r,l,v){try{var x=r.onCaughtError;x(v.value,{componentStack:v.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(z){setTimeout(function(){throw z})}}function ly(r,l,v){return v=Fl(v),v.tag=3,v.payload={element:null},v.callback=function(){yf(r,l)},v}function cy(r){return r=Fl(r),r.tag=3,r}function uy(r,l,v,x){var z=v.type.getDerivedStateFromError;if(typeof z=="function"){var V=x.value;r.payload=function(){return z(V)},r.callback=function(){Tm(l,v,x)}}var ee=v.stateNode;ee!==null&&typeof ee.componentDidCatch=="function"&&(r.callback=function(){Tm(l,v,x),typeof z!="function"&&(To===null?To=new Set([this]):To.add(this));var le=x.stack;this.componentDidCatch(x.value,{componentStack:le!==null?le:""})})}function wC(r,l,v,x,z){if(v.flags|=32768,x!==null&&typeof x=="object"&&typeof x.then=="function"){if(l=v.alternate,l!==null&&Si(l,v,z,!0),v=ur.current,v!==null){switch(v.tag){case 31:case 13:return ra===null?sb():v.alternate===null&&uo===0&&(uo=3),v.flags&=-257,v.flags|=65536,v.lanes=z,x===Iu?v.flags|=16384:(l=v.updateQueue,l===null?v.updateQueue=new Set([x]):l.add(x),Um(r,x,z)),!1;case 22:return v.flags|=65536,x===Iu?v.flags|=16384:(l=v.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([x])},v.updateQueue=l):(v=l.retryQueue,v===null?l.retryQueue=new Set([x]):v.add(x)),Um(r,x,z)),!1}throw Error(a(435,v.tag))}return Um(r,x,z),sb(),!1}if(wn)return l=ur.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=z,x!==Qs&&(r=Error(a(422),{cause:x}),af(ea(r,v)))):(x!==Qs&&(l=Error(a(423),{cause:x}),af(ea(l,v))),r=r.current.alternate,r.flags|=65536,z&=-z,r.lanes|=z,x=ea(x,v),z=ly(r.stateNode,x,z),wg(r,z),uo!==4&&(uo=2)),!1;var V=Error(a(520),{cause:x});if(V=ea(V,v),Mm===null?Mm=[V]:Mm.push(V),uo!==4&&(uo=2),l===null)return!0;x=ea(x,v),v=l;do{switch(v.tag){case 3:return v.flags|=65536,r=z&-z,v.lanes|=r,r=ly(v.stateNode,x,r),wg(v,r),!1;case 1:if(l=v.type,V=v.stateNode,(v.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(To===null||!To.has(V))))return v.flags|=65536,z&=-z,v.lanes|=z,z=cy(z),uy(z,r,v,x),wg(v,z),!1}v=v.return}while(v!==null);return!1}var Pg=Error(a(461)),Yo=!1;function go(r,l,v,x){l.child=r===null?B0(l,null,v,x):Hc(l,r.child,v,x)}function dy(r,l,v,x,z){v=v.render;var V=l.ref;if("ref"in x){var ee={};for(var le in x)le!=="ref"&&(ee[le]=x[le])}else ee=x;return Kt(l),x=hm(r,l,v,ee,V,z),le=xg(),r!==null&&!Yo?(zu(r,l,z),la(r,l,z)):(wn&&le&&of(l),l.flags|=1,go(r,l,x,z),l.child)}function fy(r,l,v,x,z){if(r===null){var V=v.type;return typeof V=="function"&&!Lu(V)&&V.defaultProps===void 0&&v.compare===null?(l.tag=15,l.type=V,hy(r,l,V,x,z)):(r=mg(v.type,null,x,l,l.mode,z),r.ref=l.ref,r.return=l,l.child=r)}if(V=r.child,!Qg(r,z)){var ee=V.memoizedProps;if(v=v.compare,v=v!==null?v:Ra,v(ee,x)&&r.ref===l.ref)return la(r,l,z)}return l.flags|=1,r=$l(V,x),r.ref=l.ref,r.return=l,l.child=r}function hy(r,l,v,x,z){if(r!==null){var V=r.memoizedProps;if(Ra(V,x)&&r.ref===l.ref)if(Yo=!1,l.pendingProps=x=V,Qg(r,z))(r.flags&131072)!==0&&(Yo=!0);else return l.lanes=r.lanes,la(r,l,z)}return Vg(r,l,v,x,z)}function Z1(r,l,v,x){var z=x.children,V=r!==null?r.memoizedState:null;if(r===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),x.mode==="hidden"){if((l.flags&128)!==0){if(V=V!==null?V.baseLanes|v:v,r!==null){for(x=l.child=r.child,z=0;x!==null;)z=z|x.lanes|x.childLanes,x=x.sibling;x=z&~V}else x=0,l.child=null;return fr(r,l,V,v,x)}if((v&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},r!==null&&sf(l,V!==null?V.cachePool:null),V!==null?z1(l,V):dm(),Tg(l);else return x=l.lanes=536870912,fr(r,l,V!==null?V.baseLanes|v:v,v,x)}else V!==null?(sf(l,V.cachePool),z1(l,V),fs(),l.memoizedState=null):(r!==null&&sf(l,null),dm(),fs());return go(r,l,z,v),l.child}function Gc(r,l){return r!==null&&r.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function fr(r,l,v,x,z){var V=oa();return V=V===null?null:{parent:Qo._currentValue,pool:V},l.memoizedState={baseLanes:v,cachePool:V},r!==null&&sf(l,null),dm(),Tg(l),r!==null&&Si(r,l,x,!0),l.childLanes=z,null}function Am(r,l){return l=Cm({mode:l.mode,children:l.children},r.mode),l.ref=r.ref,r.child=l,l.return=r,l}function hr(r,l,v){return Hc(l,r.child,null,v),r=Am(l,l.pendingProps),r.flags|=2,dr(l),l.memoizedState=null,r}function J1(r,l,v){var x=l.pendingProps,z=(l.flags&128)!==0;if(l.flags&=-129,r===null){if(wn){if(x.mode==="hidden")return r=Am(l,x),l.lanes=536870912,Gc(null,r);if(df(l),(r=lo)?(r=kS(r,ci),r=r!==null&&r.data==="&"?r:null,r!==null&&(l.memoizedState={dehydrated:r,treeContext:ls!==null?{id:Mr,overflow:cs}:null,retryLane:536870912,hydrationErrors:null},v=R0(r),v.return=l,l.child=v,wi=l,lo=null)):r=null,r===null)throw Ua(l);return l.lanes=536870912,null}return Am(l,x)}var V=r.memoizedState;if(V!==null){var ee=V.dehydrated;if(df(l),z)if(l.flags&256)l.flags&=-257,l=hr(r,l,v);else if(l.memoizedState!==null)l.child=r.child,l.flags|=128,l=null;else throw Error(a(558));else if(Yo||Si(r,l,v,!1),z=(v&r.childLanes)!==0,Yo||z){if(x=no,x!==null&&(ee=Xt(x,v),ee!==0&&ee!==V.retryLane))throw V.retryLane=ee,Il(r,ee),br(x,r,ee),Pg;sb(),l=hr(r,l,v)}else r=V.treeContext,lo=vr(ee.nextSibling),wi=l,wn=!0,Gs=null,ci=!1,r!==null&&em(l,r),l=Am(l,x),l.flags|=4096;return l}return r=$l(r.child,{mode:x.mode,children:x.children}),r.ref=l.ref,l.child=r,r.return=l,r}function aa(r,l){var v=l.ref;if(v===null)r!==null&&r.ref!==null&&(l.flags|=4194816);else{if(typeof v!="function"&&typeof v!="object")throw Error(a(284));(r===null||r.ref!==v)&&(l.flags|=4194816)}}function Vg(r,l,v,x,z){return Kt(l),v=hm(r,l,v,x,void 0,z),x=xg(),r!==null&&!Yo?(zu(r,l,z),la(r,l,z)):(wn&&x&&of(l),l.flags|=1,go(r,l,v,z),l.child)}function Qc(r,l,v,x,z,V){return Kt(l),l.updateQueue=null,v=F1(l,x,v,z),Ag(r),x=xg(),r!==null&&!Yo?(zu(r,l,V),la(r,l,V)):(wn&&x&&of(l),l.flags|=1,go(r,l,v,V),l.child)}function my(r,l,v,x,z){if(Kt(l),l.stateNode===null){var V=sr,ee=v.contextType;typeof ee=="object"&&ee!==null&&(V=Ye(ee)),V=new v(x,V),l.memoizedState=V.state!==null&&V.state!==void 0?V.state:null,V.updater=Ha,l.stateNode=V,V._reactInternals=l,V=l.stateNode,V.props=x,V.state=l.memoizedState,V.refs={},um(l),ee=v.contextType,V.context=typeof ee=="object"&&ee!==null?Ye(ee):sr,V.state=l.memoizedState,ee=v.getDerivedStateFromProps,typeof ee=="function"&&(Vu(l,v,ee,x),V.state=l.memoizedState),typeof v.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(ee=V.state,typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount(),ee!==V.state&&Ha.enqueueReplaceState(V,V.state,null),Xs(l,x,V,z),zc(),V.state=l.memoizedState),typeof V.componentDidMount=="function"&&(l.flags|=4194308),x=!0}else if(r===null){V=l.stateNode;var le=l.memoizedProps,be=Vc(v,le);V.props=be;var Me=V.context,Fe=v.contextType;ee=sr,typeof Fe=="object"&&Fe!==null&&(ee=Ye(Fe));var We=v.getDerivedStateFromProps;Fe=typeof We=="function"||typeof V.getSnapshotBeforeUpdate=="function",le=l.pendingProps!==le,Fe||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(le||Me!==ee)&&K1(l,V,x,ee),Bl=!1;var ke=l.memoizedState;V.state=ke,Xs(l,x,V,z),zc(),Me=l.memoizedState,le||ke!==Me||Bl?(typeof We=="function"&&(Vu(l,v,We,x),Me=l.memoizedState),(be=Bl||ay(l,v,be,x,ke,Me,ee))?(Fe||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount()),typeof V.componentDidMount=="function"&&(l.flags|=4194308)):(typeof V.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=x,l.memoizedState=Me),V.props=x,V.state=Me,V.context=ee,x=be):(typeof V.componentDidMount=="function"&&(l.flags|=4194308),x=!1)}else{V=l.stateNode,Eg(r,l),ee=l.memoizedProps,Fe=Vc(v,ee),V.props=Fe,We=l.pendingProps,ke=V.context,Me=v.contextType,be=sr,typeof Me=="object"&&Me!==null&&(be=Ye(Me)),le=v.getDerivedStateFromProps,(Me=typeof le=="function"||typeof V.getSnapshotBeforeUpdate=="function")||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(ee!==We||ke!==be)&&K1(l,V,x,be),Bl=!1,ke=l.memoizedState,V.state=ke,Xs(l,x,V,z),zc();var He=l.memoizedState;ee!==We||ke!==He||Bl||r!==null&&r.dependencies!==null&&Du(r.dependencies)?(typeof le=="function"&&(Vu(l,v,le,x),He=l.memoizedState),(Fe=Bl||ay(l,v,Fe,x,ke,He,be)||r!==null&&r.dependencies!==null&&Du(r.dependencies))?(Me||typeof V.UNSAFE_componentWillUpdate!="function"&&typeof V.componentWillUpdate!="function"||(typeof V.componentWillUpdate=="function"&&V.componentWillUpdate(x,He,be),typeof V.UNSAFE_componentWillUpdate=="function"&&V.UNSAFE_componentWillUpdate(x,He,be)),typeof V.componentDidUpdate=="function"&&(l.flags|=4),typeof V.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof V.componentDidUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=1024),l.memoizedProps=x,l.memoizedState=He),V.props=x,V.state=He,V.context=be,x=Fe):(typeof V.componentDidUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=1024),x=!1)}return V=x,aa(r,l),x=(l.flags&128)!==0,V||x?(V=l.stateNode,v=x&&typeof v.getDerivedStateFromError!="function"?null:V.render(),l.flags|=1,r!==null&&x?(l.child=Hc(l,r.child,null,z),l.child=Hc(l,null,v,z)):go(r,l,v,z),l.memoizedState=V.state,r=l.child):r=la(r,l,z),r}function ms(r,l,v,x){return Rc(),l.flags|=256,go(r,l,v,x),l.child}var xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _m(r){return{baseLanes:r,cachePool:Mu()}}function sa(r,l,v){return r=r!==null?r.childLanes&~v:0,l&&(r|=gr),r}function py(r,l,v){var x=l.pendingProps,z=!1,V=(l.flags&128)!==0,ee;if((ee=V)||(ee=r!==null&&r.memoizedState===null?!1:(So.current&2)!==0),ee&&(z=!0,l.flags&=-129),ee=(l.flags&32)!==0,l.flags&=-33,r===null){if(wn){if(z?qs(l):fs(),(r=lo)?(r=kS(r,ci),r=r!==null&&r.data!=="&"?r:null,r!==null&&(l.memoizedState={dehydrated:r,treeContext:ls!==null?{id:Mr,overflow:cs}:null,retryLane:536870912,hydrationErrors:null},v=R0(r),v.return=l,l.child=v,wi=l,lo=null)):r=null,r===null)throw Ua(l);return Jc(r)?l.lanes=32:l.lanes=536870912,null}var le=x.children;return x=x.fallback,z?(fs(),z=l.mode,le=Cm({mode:"hidden",children:le},z),x=Ul(x,z,v,null),le.return=l,x.return=l,le.sibling=x,l.child=le,x=l.child,x.memoizedState=_m(v),x.childLanes=sa(r,ee,v),l.memoizedState=xm,Gc(null,x)):(qs(l),Wc(l,le))}var be=r.memoizedState;if(be!==null&&(le=be.dehydrated,le!==null)){if(V)l.flags&256?(qs(l),l.flags&=-257,l=Gu(r,l,v)):l.memoizedState!==null?(fs(),l.child=r.child,l.flags|=128,l=null):(fs(),le=x.fallback,z=l.mode,x=Cm({mode:"visible",children:x.children},z),le=Ul(le,z,v,null),le.flags|=2,x.return=l,le.return=l,x.sibling=le,l.child=x,Hc(l,r.child,null,v),x=l.child,x.memoizedState=_m(v),x.childLanes=sa(r,ee,v),l.memoizedState=xm,l=Gc(null,x));else if(qs(l),Jc(le)){if(ee=le.nextSibling&&le.nextSibling.dataset,ee)var Me=ee.dgst;ee=Me,x=Error(a(419)),x.stack="",x.digest=ee,af({value:x,source:null,stack:null}),l=Gu(r,l,v)}else if(Yo||Si(r,l,v,!1),ee=(v&r.childLanes)!==0,Yo||ee){if(ee=no,ee!==null&&(x=Xt(ee,v),x!==0&&x!==be.retryLane))throw be.retryLane=x,Il(r,x),br(ee,r,x),Pg;Ba(le)||sb(),l=Gu(r,l,v)}else Ba(le)?(l.flags|=192,l.child=r.child,l=null):(r=be.treeContext,lo=vr(le.nextSibling),wi=l,wn=!0,Gs=null,ci=!1,r!==null&&em(l,r),l=Wc(l,x.children),l.flags|=4096);return l}return z?(fs(),le=x.fallback,z=l.mode,be=r.child,Me=be.sibling,x=$l(be,{mode:"hidden",children:x.children}),x.subtreeFlags=be.subtreeFlags&65011712,Me!==null?le=$l(Me,le):(le=Ul(le,z,v,null),le.flags|=2),le.return=l,x.return=l,x.sibling=le,l.child=x,Gc(null,x),x=l.child,le=r.child.memoizedState,le===null?le=_m(v):(z=le.cachePool,z!==null?(be=Qo._currentValue,z=z.parent!==be?{parent:be,pool:be}:z):z=Mu(),le={baseLanes:le.baseLanes|v,cachePool:z}),x.memoizedState=le,x.childLanes=sa(r,ee,v),l.memoizedState=xm,Gc(r.child,x)):(qs(l),v=r.child,r=v.sibling,v=$l(v,{mode:"visible",children:x.children}),v.return=l,v.sibling=null,r!==null&&(ee=l.deletions,ee===null?(l.deletions=[r],l.flags|=16):ee.push(r)),l.child=v,l.memoizedState=null,v)}function Wc(r,l){return l=Cm({mode:"visible",children:l},r.mode),l.return=r,r.child=l}function Cm(r,l){return r=Io(22,r,null,l),r.lanes=0,r}function Gu(r,l,v){return Hc(l,r.child,null,v),r=Wc(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function Qu(r,l,v){r.lanes|=l;var x=r.alternate;x!==null&&(x.lanes|=l),vg(r.return,l,v)}function Gg(r,l,v,x,z,V){var ee=r.memoizedState;ee===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:x,tail:v,tailMode:z,treeForkCount:V}:(ee.isBackwards=l,ee.rendering=null,ee.renderingStartTime=0,ee.last=x,ee.tail=v,ee.tailMode=z,ee.treeForkCount=V)}function gy(r,l,v){var x=l.pendingProps,z=x.revealOrder,V=x.tail;x=x.children;var ee=So.current,le=(ee&2)!==0;if(le?(ee=ee&1|2,l.flags|=128):ee&=1,te(So,ee),go(r,l,x,v),x=wn?Go:0,!le&&r!==null&&(r.flags&128)!==0)e:for(r=l.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Qu(r,v,l);else if(r.tag===19)Qu(r,v,l);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===l)break e;for(;r.sibling===null;){if(r.return===null||r.return===l)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(z){case"forwards":for(v=l.child,z=null;v!==null;)r=v.alternate,r!==null&&ff(r)===null&&(z=v),v=v.sibling;v=z,v===null?(z=l.child,l.child=null):(z=v.sibling,v.sibling=null),Gg(l,!1,z,v,V,x);break;case"backwards":case"unstable_legacy-backwards":for(v=null,z=l.child,l.child=null;z!==null;){if(r=z.alternate,r!==null&&ff(r)===null){l.child=z;break}r=z.sibling,z.sibling=v,v=z,z=r}Gg(l,!0,v,null,V,x);break;case"together":Gg(l,!1,null,null,void 0,x);break;default:l.memoizedState=null}return l.child}function la(r,l,v){if(r!==null&&(l.dependencies=r.dependencies),vs|=l.lanes,(v&l.childLanes)===0)if(r!==null){if(Si(r,l,v,!1),(v&l.childLanes)===0)return null}else return null;if(r!==null&&l.child!==r.child)throw Error(a(153));if(l.child!==null){for(r=l.child,v=$l(r,r.pendingProps),l.child=v,v.return=l;r.sibling!==null;)r=r.sibling,v=v.sibling=$l(r,r.pendingProps),v.return=l;v.sibling=null}return l.child}function Qg(r,l){return(r.lanes&l)!==0?!0:(r=r.dependencies,!!(r!==null&&Du(r)))}function Wg(r,l,v){switch(l.tag){case 3:me(l,l.stateNode.containerInfo),cr(l,Qo,r.memoizedState.cache),Rc();break;case 27:case 5:pe(l);break;case 4:me(l,l.stateNode.containerInfo);break;case 10:cr(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,df(l),null;break;case 13:var x=l.memoizedState;if(x!==null)return x.dehydrated!==null?(qs(l),l.flags|=128,null):(v&l.child.childLanes)!==0?py(r,l,v):(qs(l),r=la(r,l,v),r!==null?r.sibling:null);qs(l);break;case 19:var z=(r.flags&128)!==0;if(x=(v&l.childLanes)!==0,x||(Si(r,l,v,!1),x=(v&l.childLanes)!==0),z){if(x)return gy(r,l,v);l.flags|=128}if(z=l.memoizedState,z!==null&&(z.rendering=null,z.tail=null,z.lastEffect=null),te(So,So.current),x)break;return null;case 22:return l.lanes=0,Z1(r,l,v,l.pendingProps);case 24:cr(l,Qo,r.memoizedState.cache)}return la(r,l,v)}function by(r,l,v){if(r!==null)if(r.memoizedProps!==l.pendingProps)Yo=!0;else{if(!Qg(r,v)&&(l.flags&128)===0)return Yo=!1,Wg(r,l,v);Yo=(r.flags&131072)!==0}else Yo=!1,wn&&(l.flags&1048576)!==0&&k0(l,Go,l.index);switch(l.lanes=0,l.tag){case 16:e:{var x=l.pendingProps;if(r=Ic(l.elementType),l.type=r,typeof r=="function")Lu(r)?(x=Vc(r,x),l.tag=1,l=my(null,l,r,x,v)):(l.tag=0,l=Vg(null,l,r,x,v));else{if(r!=null){var z=r.$$typeof;if(z===R){l.tag=11,l=dy(null,l,r,x,v);break e}else if(z===$){l.tag=14,l=fy(null,l,r,x,v);break e}}throw l=k(r)||r,Error(a(306,l,""))}}return l;case 0:return Vg(r,l,l.type,l.pendingProps,v);case 1:return x=l.type,z=Vc(x,l.pendingProps),my(r,l,x,z,v);case 3:e:{if(me(l,l.stateNode.containerInfo),r===null)throw Error(a(387));x=l.pendingProps;var V=l.memoizedState;z=V.element,Eg(r,l),Xs(l,x,null,v);var ee=l.memoizedState;if(x=ee.cache,cr(l,Qo,x),x!==V.cache&&Ys(l,[Qo],v,!0),zc(),x=ee.element,V.isDehydrated)if(V={element:x,isDehydrated:!1,cache:ee.cache},l.updateQueue.baseState=V,l.memoizedState=V,l.flags&256){l=ms(r,l,x,v);break e}else if(x!==z){z=ea(Error(a(424)),l),af(z),l=ms(r,l,x,v);break e}else{switch(r=l.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(lo=vr(r.firstChild),wi=l,wn=!0,Gs=null,ci=!0,v=B0(l,null,x,v),l.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling}else{if(Rc(),x===z){l=la(r,l,v);break e}go(r,l,x,v)}l=l.child}return l;case 26:return aa(r,l),r===null?(v=Bf(l.type,null,l.pendingProps,null))?l.memoizedState=v:wn||(v=l.type,r=l.pendingProps,x=Zc(ie.current).createElement(v),x[qt]=l,x[Gn]=r,$i(x,v,r),ot(x),l.stateNode=x):l.memoizedState=Bf(l.type,r.memoizedProps,l.pendingProps,r.memoizedState),null;case 27:return pe(l),r===null&&wn&&(x=l.stateNode=jf(l.type,l.pendingProps,ie.current),wi=l,ci=!0,z=lo,Es(l.type)?(Qm=z,lo=vr(x.firstChild)):lo=z),go(r,l,l.pendingProps.children,v),aa(r,l),r===null&&(l.flags|=4194304),l.child;case 5:return r===null&&wn&&((z=x=lo)&&(x=AC(x,l.type,l.pendingProps,ci),x!==null?(l.stateNode=x,wi=l,lo=vr(x.firstChild),ci=!1,z=!0):z=!1),z||Ua(l)),pe(l),z=l.type,V=l.pendingProps,ee=r!==null?r.memoizedProps:null,x=V.children,Uf(z,V)?x=null:ee!==null&&Uf(z,ee)&&(l.flags|=32),l.memoizedState!==null&&(z=hm(r,l,EC,null,null,v),Xm._currentValue=z),aa(r,l),go(r,l,x,v),l.child;case 6:return r===null&&wn&&((r=v=lo)&&(v=dn(v,l.pendingProps,ci),v!==null?(l.stateNode=v,wi=l,lo=null,r=!0):r=!1),r||Ua(l)),null;case 13:return py(r,l,v);case 4:return me(l,l.stateNode.containerInfo),x=l.pendingProps,r===null?l.child=Hc(l,null,x,v):go(r,l,x,v),l.child;case 11:return dy(r,l,l.type,l.pendingProps,v);case 7:return go(r,l,l.pendingProps,v),l.child;case 8:return go(r,l,l.pendingProps.children,v),l.child;case 12:return go(r,l,l.pendingProps.children,v),l.child;case 10:return x=l.pendingProps,cr(l,l.type,x.value),go(r,l,x.children,v),l.child;case 9:return z=l.type._context,x=l.pendingProps.children,Kt(l),z=Ye(z),x=x(z),l.flags|=1,go(r,l,x,v),l.child;case 14:return fy(r,l,l.type,l.pendingProps,v);case 15:return hy(r,l,l.type,l.pendingProps,v);case 19:return gy(r,l,v);case 31:return J1(r,l,v);case 22:return Z1(r,l,v,l.pendingProps);case 24:return Kt(l),x=Ye(Qo),r===null?(z=oa(),z===null&&(z=no,V=om(),z.pooledCache=V,V.refCount++,V!==null&&(z.pooledCacheLanes|=v),z=V),l.memoizedState={parent:x,cache:z},um(l),cr(l,Qo,z)):((r.lanes&v)!==0&&(Eg(r,l),Xs(l,null,null,v),zc()),z=r.memoizedState,V=l.memoizedState,z.parent!==x?(z={parent:x,cache:x},l.memoizedState=z,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=z),cr(l,Qo,x)):(x=V.cache,cr(l,Qo,x),x!==z.cache&&Ys(l,[Qo],v,!0))),go(r,l,l.pendingProps.children,v),l.child;case 29:throw l.pendingProps}throw Error(a(156,l.tag))}function nl(r){r.flags|=4}function vy(r,l,v,x,z){if((l=(r.mode&32)!==0)&&(l=!1),l){if(r.flags|=16777216,(z&335544128)===z)if(r.stateNode.complete)r.flags|=8192;else if(cS())r.flags|=8192;else throw $c=Iu,ku}else r.flags&=-16777217}function yy(r,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!jr(l))if(cS())r.flags|=8192;else throw $c=Iu,ku}function Wi(r,l){l!==null&&(r.flags|=4),r.flags&16384&&(l=r.tag!==22?Tt():536870912,r.lanes|=l,Oo|=l)}function Ef(r,l){if(!wn)switch(r.tailMode){case"hidden":l=r.tail;for(var v=null;l!==null;)l.alternate!==null&&(v=l),l=l.sibling;v===null?r.tail=null:v.sibling=null;break;case"collapsed":v=r.tail;for(var x=null;v!==null;)v.alternate!==null&&(x=v),v=v.sibling;x===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:x.sibling=null}}function Wt(r){var l=r.alternate!==null&&r.alternate.child===r.child,v=0,x=0;if(l)for(var z=r.child;z!==null;)v|=z.lanes|z.childLanes,x|=z.subtreeFlags&65011712,x|=z.flags&65011712,z.return=r,z=z.sibling;else for(z=r.child;z!==null;)v|=z.lanes|z.childLanes,x|=z.subtreeFlags,x|=z.flags,z.return=r,z=z.sibling;return r.subtreeFlags|=x,r.childLanes=v,l}function eS(r,l,v){var x=l.pendingProps;switch(gg(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wt(l),null;case 1:return Wt(l),null;case 3:return v=l.stateNode,x=null,r!==null&&(x=r.memoizedState.cache),l.memoizedState.cache!==x&&(l.flags|=2048),ds(Qo),ve(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(r===null||r.child===null)&&(Ws(l)?nl(l):r===null||r.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,I0())),Wt(l),null;case 26:var z=l.type,V=l.memoizedState;return r===null?(nl(l),V!==null?(Wt(l),yy(l,V)):(Wt(l),vy(l,z,null,x,v))):V?V!==r.memoizedState?(nl(l),Wt(l),yy(l,V)):(Wt(l),l.flags&=-16777217):(r=r.memoizedProps,r!==x&&nl(l),Wt(l),vy(l,z,r,x,v)),null;case 27:if(ye(l),v=ie.current,z=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(!x){if(l.stateNode===null)throw Error(a(166));return Wt(l),null}r=ae.current,Ws(l)?tm(l):(r=jf(z,x,v),l.stateNode=r,nl(l))}return Wt(l),null;case 5:if(ye(l),z=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(!x){if(l.stateNode===null)throw Error(a(166));return Wt(l),null}if(V=ae.current,Ws(l))tm(l);else{var ee=Zc(ie.current);switch(V){case 1:V=ee.createElementNS("http://www.w3.org/2000/svg",z);break;case 2:V=ee.createElementNS("http://www.w3.org/1998/Math/MathML",z);break;default:switch(z){case"svg":V=ee.createElementNS("http://www.w3.org/2000/svg",z);break;case"math":V=ee.createElementNS("http://www.w3.org/1998/Math/MathML",z);break;case"script":V=ee.createElement("div"),V.innerHTML="<script><\/script>",V=V.removeChild(V.firstChild);break;case"select":V=typeof x.is=="string"?ee.createElement("select",{is:x.is}):ee.createElement("select"),x.multiple?V.multiple=!0:x.size&&(V.size=x.size);break;default:V=typeof x.is=="string"?ee.createElement(z,{is:x.is}):ee.createElement(z)}}V[qt]=l,V[Gn]=x;e:for(ee=l.child;ee!==null;){if(ee.tag===5||ee.tag===6)V.appendChild(ee.stateNode);else if(ee.tag!==4&&ee.tag!==27&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===l)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===l)break e;ee=ee.return}ee.sibling.return=ee.return,ee=ee.sibling}l.stateNode=V;e:switch($i(V,z,x),z){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}x&&nl(l)}}return Wt(l),vy(l,l.type,r===null?null:r.memoizedProps,l.pendingProps,v),null;case 6:if(r&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(typeof x!="string"&&l.stateNode===null)throw Error(a(166));if(r=ie.current,Ws(l)){if(r=l.stateNode,v=l.memoizedProps,x=null,z=wi,z!==null)switch(z.tag){case 27:case 5:x=z.memoizedProps}r[qt]=l,r=!!(r.nodeValue===v||x!==null&&x.suppressHydrationWarning===!0||Py(r.nodeValue,v)),r||Ua(l,!0)}else r=Zc(r).createTextNode(x),r[qt]=l,l.stateNode=r}return Wt(l),null;case 31:if(v=l.memoizedState,r===null||r.memoizedState!==null){if(x=Ws(l),v!==null){if(r===null){if(!x)throw Error(a(318));if(r=l.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[qt]=l}else Rc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),r=!1}else v=I0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=v),r=!0;if(!r)return l.flags&256?(dr(l),l):(dr(l),null);if((l.flags&128)!==0)throw Error(a(558))}return Wt(l),null;case 13:if(x=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(z=Ws(l),x!==null&&x.dehydrated!==null){if(r===null){if(!z)throw Error(a(318));if(z=l.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error(a(317));z[qt]=l}else Rc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),z=!1}else z=I0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=z),z=!0;if(!z)return l.flags&256?(dr(l),l):(dr(l),null)}return dr(l),(l.flags&128)!==0?(l.lanes=v,l):(v=x!==null,r=r!==null&&r.memoizedState!==null,v&&(x=l.child,z=null,x.alternate!==null&&x.alternate.memoizedState!==null&&x.alternate.memoizedState.cachePool!==null&&(z=x.alternate.memoizedState.cachePool.pool),V=null,x.memoizedState!==null&&x.memoizedState.cachePool!==null&&(V=x.memoizedState.cachePool.pool),V!==z&&(x.flags|=2048)),v!==r&&v&&(l.child.flags|=8192),Wi(l,l.updateQueue),Wt(l),null);case 4:return ve(),r===null&&$f(l.stateNode.containerInfo),Wt(l),null;case 10:return ds(l.type),Wt(l),null;case 19:if(re(So),x=l.memoizedState,x===null)return Wt(l),null;if(z=(l.flags&128)!==0,V=x.rendering,V===null)if(z)Ef(x,!1);else{if(uo!==0||r!==null&&(r.flags&128)!==0)for(r=l.child;r!==null;){if(V=ff(r),V!==null){for(l.flags|=128,Ef(x,!1),r=V.updateQueue,l.updateQueue=r,Wi(l,r),l.subtreeFlags=0,r=v,v=l.child;v!==null;)D0(v,r),v=v.sibling;return te(So,So.current&1|2),wn&&$a(l,x.treeForkCount),l.child}r=r.sibling}x.tail!==null&&at()>zn&&(l.flags|=128,z=!0,Ef(x,!1),l.lanes=4194304)}else{if(!z)if(r=ff(V),r!==null){if(l.flags|=128,z=!0,r=r.updateQueue,l.updateQueue=r,Wi(l,r),Ef(x,!0),x.tail===null&&x.tailMode==="hidden"&&!V.alternate&&!wn)return Wt(l),null}else 2*at()-x.renderingStartTime>zn&&v!==536870912&&(l.flags|=128,z=!0,Ef(x,!1),l.lanes=4194304);x.isBackwards?(V.sibling=l.child,l.child=V):(r=x.last,r!==null?r.sibling=V:l.child=V,x.last=V)}return x.tail!==null?(r=x.tail,x.rendering=r,x.tail=r.sibling,x.renderingStartTime=at(),r.sibling=null,v=So.current,te(So,z?v&1|2:v&1),wn&&$a(l,x.treeForkCount),r):(Wt(l),null);case 22:case 23:return dr(l),uf(),x=l.memoizedState!==null,r!==null?r.memoizedState!==null!==x&&(l.flags|=8192):x&&(l.flags|=8192),x?(v&536870912)!==0&&(l.flags&128)===0&&(Wt(l),l.subtreeFlags&6&&(l.flags|=8192)):Wt(l),v=l.updateQueue,v!==null&&Wi(l,v.retryQueue),v=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(v=r.memoizedState.cachePool.pool),x=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(x=l.memoizedState.cachePool.pool),x!==v&&(l.flags|=2048),r!==null&&re(na),null;case 24:return v=null,r!==null&&(v=r.memoizedState.cache),l.memoizedState.cache!==v&&(l.flags|=2048),ds(Qo),Wt(l),null;case 25:return null;case 30:return null}throw Error(a(156,l.tag))}function tS(r,l){switch(gg(l),l.tag){case 1:return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return ds(Qo),ve(),r=l.flags,(r&65536)!==0&&(r&128)===0?(l.flags=r&-65537|128,l):null;case 26:case 27:case 5:return ye(l),null;case 31:if(l.memoizedState!==null){if(dr(l),l.alternate===null)throw Error(a(340));Rc()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 13:if(dr(l),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(a(340));Rc()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return re(So),null;case 4:return ve(),null;case 10:return ds(l.type),null;case 22:case 23:return dr(l),uf(),r!==null&&re(na),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 24:return ds(Qo),null;case 25:return null;default:return null}}function nS(r,l){switch(gg(l),l.tag){case 3:ds(Qo),ve();break;case 26:case 27:case 5:ye(l);break;case 4:ve();break;case 31:l.memoizedState!==null&&dr(l);break;case 13:dr(l);break;case 19:re(So);break;case 10:ds(l.type);break;case 22:case 23:dr(l),uf(),r!==null&&re(na);break;case 24:ds(Qo)}}function ja(r,l){try{var v=l.updateQueue,x=v!==null?v.lastEffect:null;if(x!==null){var z=x.next;v=z;do{if((v.tag&r)===r){x=void 0;var V=v.create,ee=v.inst;x=V(),ee.destroy=x}v=v.next}while(v!==z)}}catch(le){Xn(l,l.return,le)}}function ca(r,l,v){try{var x=l.updateQueue,z=x!==null?x.lastEffect:null;if(z!==null){var V=z.next;x=V;do{if((x.tag&r)===r){var ee=x.inst,le=ee.destroy;if(le!==void 0){ee.destroy=void 0,z=l;var be=v,Me=le;try{Me()}catch(Fe){Xn(z,be,Fe)}}}x=x.next}while(x!==V)}}catch(Fe){Xn(l,l.return,Fe)}}function Yg(r){var l=r.updateQueue;if(l!==null){var v=r.stateNode;try{Bc(l,v)}catch(x){Xn(r,r.return,x)}}}function Yc(r,l,v){v.props=Vc(r.type,r.memoizedProps),v.state=r.memoizedState;try{v.componentWillUnmount()}catch(x){Xn(r,l,x)}}function ol(r,l){try{var v=r.ref;if(v!==null){switch(r.tag){case 26:case 27:case 5:var x=r.stateNode;break;case 30:x=r.stateNode;break;default:x=r.stateNode}typeof v=="function"?r.refCleanup=v(x):v.current=x}}catch(z){Xn(r,l,z)}}function ps(r,l){var v=r.ref,x=r.refCleanup;if(v!==null)if(typeof x=="function")try{x()}catch(z){Xn(r,l,z)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof v=="function")try{v(null)}catch(z){Xn(r,l,z)}else v.current=null}function Ey(r){var l=r.type,v=r.memoizedProps,x=r.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":v.autoFocus&&x.focus();break e;case"img":v.src?x.src=v.src:v.srcSet&&(x.srcset=v.srcSet)}}catch(z){Xn(r,r.return,z)}}function Xg(r,l,v){try{var x=r.stateNode;Gy(x,r.type,v,l),x[Gn]=l}catch(z){Xn(r,r.return,z)}}function wy(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Es(r.type)||r.tag===4}function wf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||wy(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&Es(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Sf(r,l,v){var x=r.tag;if(x===5||x===6)r=r.stateNode,l?(v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v).insertBefore(r,l):(l=v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v,l.appendChild(r),v=v._reactRootContainer,v!=null||l.onclick!==null||(l.onclick=Kr));else if(x!==4&&(x===27&&Es(r.type)&&(v=r.stateNode,l=null),r=r.child,r!==null))for(Sf(r,l,v),r=r.sibling;r!==null;)Sf(r,l,v),r=r.sibling}function Tf(r,l,v){var x=r.tag;if(x===5||x===6)r=r.stateNode,l?v.insertBefore(r,l):v.appendChild(r);else if(x!==4&&(x===27&&Es(r.type)&&(v=r.stateNode),r=r.child,r!==null))for(Tf(r,l,v),r=r.sibling;r!==null;)Tf(r,l,v),r=r.sibling}function Sy(r){var l=r.stateNode,v=r.memoizedProps;try{for(var x=r.type,z=l.attributes;z.length;)l.removeAttributeNode(z[0]);$i(l,x,v),l[qt]=r,l[Gn]=v}catch(V){Xn(r,r.return,V)}}var Ql=!1,Jo=!1,qg=!1,Ty=typeof WeakSet=="function"?WeakSet:Set,xi=null;function Af(r,l){if(r=r.containerInfo,gb=fi,r=Lc(r),Yh(r)){if("selectionStart"in r)var v={start:r.selectionStart,end:r.selectionEnd};else e:{v=(v=r.ownerDocument)&&v.defaultView||window;var x=v.getSelection&&v.getSelection();if(x&&x.rangeCount!==0){v=x.anchorNode;var z=x.anchorOffset,V=x.focusNode;x=x.focusOffset;try{v.nodeType,V.nodeType}catch{v=null;break e}var ee=0,le=-1,be=-1,Me=0,Fe=0,We=r,ke=null;t:for(;;){for(var He;We!==v||z!==0&&We.nodeType!==3||(le=ee+z),We!==V||x!==0&&We.nodeType!==3||(be=ee+x),We.nodeType===3&&(ee+=We.nodeValue.length),(He=We.firstChild)!==null;)ke=We,We=He;for(;;){if(We===r)break t;if(ke===v&&++Me===z&&(le=ee),ke===V&&++Fe===x&&(be=ee),(He=We.nextSibling)!==null)break;We=ke,ke=We.parentNode}We=He}v=le===-1||be===-1?null:{start:le,end:be}}else v=null}v=v||{start:0,end:0}}else v=null;for(bb={focusedElem:r,selectionRange:v},fi=!1,xi=l;xi!==null;)if(l=xi,r=l.child,(l.subtreeFlags&1028)!==0&&r!==null)r.return=l,xi=r;else for(;xi!==null;){switch(l=xi,V=l.alternate,r=l.flags,l.tag){case 0:if((r&4)!==0&&(r=l.updateQueue,r=r!==null?r.events:null,r!==null))for(v=0;v<r.length;v++)z=r[v],z.ref.impl=z.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&V!==null){r=void 0,v=l,z=V.memoizedProps,V=V.memoizedState,x=v.stateNode;try{var wt=Vc(v.type,z);r=x.getSnapshotBeforeUpdate(wt,V),x.__reactInternalSnapshotBeforeUpdate=r}catch(zt){Xn(v,v.return,zt)}}break;case 3:if((r&1024)!==0){if(r=l.stateNode.containerInfo,v=r.nodeType,v===9)Gm(r);else if(v===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Gm(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=l.sibling,r!==null){r.return=l.return,xi=r;break}xi=l.return}}function Nm(r,l,v){var x=v.flags;switch(v.tag){case 0:case 11:case 15:Wl(r,v),x&4&&ja(5,v);break;case 1:if(Wl(r,v),x&4)if(r=v.stateNode,l===null)try{r.componentDidMount()}catch(ee){Xn(v,v.return,ee)}else{var z=Vc(v.type,l.memoizedProps);l=l.memoizedState;try{r.componentDidUpdate(z,l,r.__reactInternalSnapshotBeforeUpdate)}catch(ee){Xn(v,v.return,ee)}}x&64&&Yg(v),x&512&&ol(v,v.return);break;case 3:if(Wl(r,v),x&64&&(r=v.updateQueue,r!==null)){if(l=null,v.child!==null)switch(v.child.tag){case 27:case 5:l=v.child.stateNode;break;case 1:l=v.child.stateNode}try{Bc(r,l)}catch(ee){Xn(v,v.return,ee)}}break;case 27:l===null&&x&4&&Sy(v);case 26:case 5:Wl(r,v),l===null&&x&4&&Ey(v),x&512&&ol(v,v.return);break;case 12:Wl(r,v);break;case 31:Wl(r,v),x&4&&oS(r,v);break;case 13:Wl(r,v),x&4&&_y(r,v),x&64&&(r=v.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(v=ua.bind(null,v),Hf(r,v))));break;case 22:if(x=v.memoizedState!==null||Ql,!x){l=l!==null&&l.memoizedState!==null||Jo,z=Ql;var V=Jo;Ql=x,(Jo=l)&&!V?gs(r,v,(v.subtreeFlags&8772)!==0):Wl(r,v),Ql=z,Jo=V}break;case 30:break;default:Wl(r,v)}}function Ay(r){var l=r.alternate;l!==null&&(r.alternate=null,Ay(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&Ke(l)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var co=null,mr=!1;function il(r,l,v){for(v=v.child;v!==null;)xy(r,l,v),v=v.sibling}function xy(r,l,v){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ot,v)}catch{}switch(v.tag){case 26:Jo||ps(v,l),il(r,l,v),v.memoizedState?v.memoizedState.count--:v.stateNode&&(v=v.stateNode,v.parentNode.removeChild(v));break;case 27:Jo||ps(v,l);var x=co,z=mr;Es(v.type)&&(co=v.stateNode,mr=!1),il(r,l,v),ed(v.stateNode),co=x,mr=z;break;case 5:Jo||ps(v,l);case 6:if(x=co,z=mr,co=null,il(r,l,v),co=x,mr=z,co!==null)if(mr)try{(co.nodeType===9?co.body:co.nodeName==="HTML"?co.ownerDocument.body:co).removeChild(v.stateNode)}catch(V){Xn(v,l,V)}else try{co.removeChild(v.stateNode)}catch(V){Xn(v,l,V)}break;case 18:co!==null&&(mr?(r=co,Xy(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,v.stateNode),Xf(r)):Xy(co,v.stateNode));break;case 4:x=co,z=mr,co=v.stateNode.containerInfo,mr=!0,il(r,l,v),co=x,mr=z;break;case 0:case 11:case 14:case 15:ca(2,v,l),Jo||ca(4,v,l),il(r,l,v);break;case 1:Jo||(ps(v,l),x=v.stateNode,typeof x.componentWillUnmount=="function"&&Yc(v,l,x)),il(r,l,v);break;case 21:il(r,l,v);break;case 22:Jo=(x=Jo)||v.memoizedState!==null,il(r,l,v),Jo=x;break;default:il(r,l,v)}}function oS(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{Xf(r)}catch(v){Xn(l,l.return,v)}}}function _y(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Xf(r)}catch(v){Xn(l,l.return,v)}}function Lm(r){switch(r.tag){case 31:case 13:case 19:var l=r.stateNode;return l===null&&(l=r.stateNode=new Ty),l;case 22:return r=r.stateNode,l=r._retryCache,l===null&&(l=r._retryCache=new Ty),l;default:throw Error(a(435,r.tag))}}function Om(r,l){var v=Lm(r);l.forEach(function(x){if(!v.has(x)){v.add(x);var z=AS.bind(null,r,x);x.then(z,z)}})}function pr(r,l){var v=l.deletions;if(v!==null)for(var x=0;x<v.length;x++){var z=v[x],V=r,ee=l,le=ee;e:for(;le!==null;){switch(le.tag){case 27:if(Es(le.type)){co=le.stateNode,mr=!1;break e}break;case 5:co=le.stateNode,mr=!1;break e;case 3:case 4:co=le.stateNode.containerInfo,mr=!0;break e}le=le.return}if(co===null)throw Error(a(160));xy(V,ee,z),co=null,mr=!1,V=z.alternate,V!==null&&(V.return=null),z.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Kg(l,r),l=l.sibling}var ln=null;function Kg(r,l){var v=r.alternate,x=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:pr(l,r),kr(r),x&4&&(ca(3,r,r.return),ja(3,r),ca(5,r,r.return));break;case 1:pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),x&64&&Ql&&(r=r.updateQueue,r!==null&&(x=r.callbacks,x!==null&&(v=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=v===null?x:v.concat(x))));break;case 26:var z=ln;if(pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),x&4){var V=v!==null?v.memoizedState:null;if(x=r.memoizedState,v===null)if(x===null)if(r.stateNode===null){e:{x=r.type,v=r.memoizedProps,z=z.ownerDocument||z;t:switch(x){case"title":V=z.getElementsByTagName("title")[0],(!V||V[Ee]||V[qt]||V.namespaceURI==="http://www.w3.org/2000/svg"||V.hasAttribute("itemprop"))&&(V=z.createElement(x),z.head.insertBefore(V,z.querySelector("head > title"))),$i(V,x,v),V[qt]=r,ot(V),x=V;break e;case"link":var ee=Jy("link","href",z).get(x+(v.href||""));if(ee){for(var le=0;le<ee.length;le++)if(V=ee[le],V.getAttribute("href")===(v.href==null||v.href===""?null:v.href)&&V.getAttribute("rel")===(v.rel==null?null:v.rel)&&V.getAttribute("title")===(v.title==null?null:v.title)&&V.getAttribute("crossorigin")===(v.crossOrigin==null?null:v.crossOrigin)){ee.splice(le,1);break t}}V=z.createElement(x),$i(V,x,v),z.head.appendChild(V);break;case"meta":if(ee=Jy("meta","content",z).get(x+(v.content||""))){for(le=0;le<ee.length;le++)if(V=ee[le],V.getAttribute("content")===(v.content==null?null:""+v.content)&&V.getAttribute("name")===(v.name==null?null:v.name)&&V.getAttribute("property")===(v.property==null?null:v.property)&&V.getAttribute("http-equiv")===(v.httpEquiv==null?null:v.httpEquiv)&&V.getAttribute("charset")===(v.charSet==null?null:v.charSet)){ee.splice(le,1);break t}}V=z.createElement(x),$i(V,x,v),z.head.appendChild(V);break;default:throw Error(a(468,x))}V[qt]=r,ot(V),x=V}r.stateNode=x}else Sb(z,r.type,r.stateNode);else r.stateNode=Zy(z,x,r.memoizedProps);else V!==x?(V===null?v.stateNode!==null&&(v=v.stateNode,v.parentNode.removeChild(v)):V.count--,x===null?Sb(z,r.type,r.stateNode):Zy(z,x,r.memoizedProps)):x===null&&r.stateNode!==null&&Xg(r,r.memoizedProps,v.memoizedProps)}break;case 27:pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),v!==null&&x&4&&Xg(r,r.memoizedProps,v.memoizedProps);break;case 5:if(pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),r.flags&32){z=r.stateNode;try{Ii(z,"")}catch(wt){Xn(r,r.return,wt)}}x&4&&r.stateNode!=null&&(z=r.memoizedProps,Xg(r,z,v!==null?v.memoizedProps:z)),x&1024&&(qg=!0);break;case 6:if(pr(l,r),kr(r),x&4){if(r.stateNode===null)throw Error(a(162));x=r.memoizedProps,v=r.stateNode;try{v.nodeValue=x}catch(wt){Xn(r,r.return,wt)}}break;case 3:if(Vf=null,z=ln,ln=Yi(l.containerInfo),pr(l,r),ln=z,kr(r),x&4&&v!==null&&v.memoizedState.isDehydrated)try{Xf(l.containerInfo)}catch(wt){Xn(r,r.return,wt)}qg&&(qg=!1,Cy(r));break;case 4:x=ln,ln=Yi(r.stateNode.containerInfo),pr(l,r),kr(r),ln=x;break;case 12:pr(l,r),kr(r);break;case 31:pr(l,r),kr(r),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 13:pr(l,r),kr(r),r.child.flags&8192&&r.memoizedState!==null!=(v!==null&&v.memoizedState!==null)&&(ys=at()),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 22:z=r.memoizedState!==null;var be=v!==null&&v.memoizedState!==null,Me=Ql,Fe=Jo;if(Ql=Me||z,Jo=Fe||be,pr(l,r),Jo=Fe,Ql=Me,kr(r),x&8192)e:for(l=r.stateNode,l._visibility=z?l._visibility&-2:l._visibility|1,z&&(v===null||be||Ql||Jo||Wu(r)),v=null,l=r;;){if(l.tag===5||l.tag===26){if(v===null){be=v=l;try{if(V=be.stateNode,z)ee=V.style,typeof ee.setProperty=="function"?ee.setProperty("display","none","important"):ee.display="none";else{le=be.stateNode;var We=be.memoizedProps.style,ke=We!=null&&We.hasOwnProperty("display")?We.display:null;le.style.display=ke==null||typeof ke=="boolean"?"":(""+ke).trim()}}catch(wt){Xn(be,be.return,wt)}}}else if(l.tag===6){if(v===null){be=l;try{be.stateNode.nodeValue=z?"":be.memoizedProps}catch(wt){Xn(be,be.return,wt)}}}else if(l.tag===18){if(v===null){be=l;try{var He=be.stateNode;z?Xo(He,!0):Xo(be.stateNode,!1)}catch(wt){Xn(be,be.return,wt)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===r)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;v===l&&(v=null),l=l.return}v===l&&(v=null),l.sibling.return=l.return,l=l.sibling}x&4&&(x=r.updateQueue,x!==null&&(v=x.retryQueue,v!==null&&(x.retryQueue=null,Om(r,v))));break;case 19:pr(l,r),kr(r),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 30:break;case 21:break;default:pr(l,r),kr(r)}}function kr(r){var l=r.flags;if(l&2){try{for(var v,x=r.return;x!==null;){if(wy(x)){v=x;break}x=x.return}if(v==null)throw Error(a(160));switch(v.tag){case 27:var z=v.stateNode,V=wf(r);Tf(r,V,z);break;case 5:var ee=v.stateNode;v.flags&32&&(Ii(ee,""),v.flags&=-33);var le=wf(r);Tf(r,le,ee);break;case 3:case 4:var be=v.stateNode.containerInfo,Me=wf(r);Sf(r,Me,be);break;default:throw Error(a(161))}}catch(Fe){Xn(r,r.return,Fe)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function Cy(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var l=r;Cy(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),r=r.sibling}}function Wl(r,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Nm(r,l.alternate,l),l=l.sibling}function Wu(r){for(r=r.child;r!==null;){var l=r;switch(l.tag){case 0:case 11:case 14:case 15:ca(4,l,l.return),Wu(l);break;case 1:ps(l,l.return);var v=l.stateNode;typeof v.componentWillUnmount=="function"&&Yc(l,l.return,v),Wu(l);break;case 27:ed(l.stateNode);case 26:case 5:ps(l,l.return),Wu(l);break;case 22:l.memoizedState===null&&Wu(l);break;case 30:Wu(l);break;default:Wu(l)}r=r.sibling}}function gs(r,l,v){for(v=v&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var x=l.alternate,z=r,V=l,ee=V.flags;switch(V.tag){case 0:case 11:case 15:gs(z,V,v),ja(4,V);break;case 1:if(gs(z,V,v),x=V,z=x.stateNode,typeof z.componentDidMount=="function")try{z.componentDidMount()}catch(Me){Xn(x,x.return,Me)}if(x=V,z=x.updateQueue,z!==null){var le=x.stateNode;try{var be=z.shared.hiddenCallbacks;if(be!==null)for(z.shared.hiddenCallbacks=null,z=0;z<be.length;z++)Sg(be[z],le)}catch(Me){Xn(x,x.return,Me)}}v&&ee&64&&Yg(V),ol(V,V.return);break;case 27:Sy(V);case 26:case 5:gs(z,V,v),v&&x===null&&ee&4&&Ey(V),ol(V,V.return);break;case 12:gs(z,V,v);break;case 31:gs(z,V,v),v&&ee&4&&oS(z,V);break;case 13:gs(z,V,v),v&&ee&4&&_y(z,V);break;case 22:V.memoizedState===null&&gs(z,V,v),ol(V,V.return);break;case 30:break;default:gs(z,V,v)}l=l.sibling}}function Zg(r,l){var v=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(v=r.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==v&&(r!=null&&r.refCount++,v!=null&&im(v))}function Jg(r,l){r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&im(r))}function za(r,l,v,x){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)xf(r,l,v,x),l=l.sibling}function xf(r,l,v,x){var z=l.flags;switch(l.tag){case 0:case 11:case 15:za(r,l,v,x),z&2048&&ja(9,l);break;case 1:za(r,l,v,x);break;case 3:za(r,l,v,x),z&2048&&(r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&im(r)));break;case 12:if(z&2048){za(r,l,v,x),r=l.stateNode;try{var V=l.memoizedProps,ee=V.id,le=V.onPostCommit;typeof le=="function"&&le(ee,l.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(be){Xn(l,l.return,be)}}else za(r,l,v,x);break;case 31:za(r,l,v,x);break;case 13:za(r,l,v,x);break;case 23:break;case 22:V=l.stateNode,ee=l.alternate,l.memoizedState!==null?V._visibility&2?za(r,l,v,x):Dm(r,l):V._visibility&2?za(r,l,v,x):(V._visibility|=2,_f(r,l,v,x,(l.subtreeFlags&10256)!==0||!1)),z&2048&&Zg(ee,l);break;case 24:za(r,l,v,x),z&2048&&Jg(l.alternate,l);break;default:za(r,l,v,x)}}function _f(r,l,v,x,z){for(z=z&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var V=r,ee=l,le=v,be=x,Me=ee.flags;switch(ee.tag){case 0:case 11:case 15:_f(V,ee,le,be,z),ja(8,ee);break;case 23:break;case 22:var Fe=ee.stateNode;ee.memoizedState!==null?Fe._visibility&2?_f(V,ee,le,be,z):Dm(V,ee):(Fe._visibility|=2,_f(V,ee,le,be,z)),z&&Me&2048&&Zg(ee.alternate,ee);break;case 24:_f(V,ee,le,be,z),z&&Me&2048&&Jg(ee.alternate,ee);break;default:_f(V,ee,le,be,z)}l=l.sibling}}function Dm(r,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var v=r,x=l,z=x.flags;switch(x.tag){case 22:Dm(v,x),z&2048&&Zg(x.alternate,x);break;case 24:Dm(v,x),z&2048&&Jg(x.alternate,x);break;default:Dm(v,x)}l=l.sibling}}var Ir=8192;function rl(r,l,v){if(r.subtreeFlags&Ir)for(r=r.child;r!==null;)iS(r,l,v),r=r.sibling}function iS(r,l,v){switch(r.tag){case 26:rl(r,l,v),r.flags&Ir&&r.memoizedState!==null&&ul(v,ln,r.memoizedState,r.memoizedProps);break;case 5:rl(r,l,v);break;case 3:case 4:var x=ln;ln=Yi(r.stateNode.containerInfo),rl(r,l,v),ln=x;break;case 22:r.memoizedState===null&&(x=r.alternate,x!==null&&x.memoizedState!==null?(x=Ir,Ir=16777216,rl(r,l,v),Ir=x):rl(r,l,v));break;default:rl(r,l,v)}}function eb(r){var l=r.alternate;if(l!==null&&(r=l.child,r!==null)){l.child=null;do l=r.sibling,r.sibling=null,r=l;while(r!==null)}}function Cf(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var v=0;v<l.length;v++){var x=l[v];xi=x,tb(x,r)}eb(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Ny(r),r=r.sibling}function Ny(r){switch(r.tag){case 0:case 11:case 15:Cf(r),r.flags&2048&&ca(9,r,r.return);break;case 3:Cf(r);break;case 12:Cf(r);break;case 22:var l=r.stateNode;r.memoizedState!==null&&l._visibility&2&&(r.return===null||r.return.tag!==13)?(l._visibility&=-3,Rm(r)):Cf(r);break;default:Cf(r)}}function Rm(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var v=0;v<l.length;v++){var x=l[v];xi=x,tb(x,r)}eb(r)}for(r=r.child;r!==null;){switch(l=r,l.tag){case 0:case 11:case 15:ca(8,l,l.return),Rm(l);break;case 22:v=l.stateNode,v._visibility&2&&(v._visibility&=-3,Rm(l));break;default:Rm(l)}r=r.sibling}}function tb(r,l){for(;xi!==null;){var v=xi;switch(v.tag){case 0:case 11:case 15:ca(8,v,l);break;case 23:case 22:if(v.memoizedState!==null&&v.memoizedState.cachePool!==null){var x=v.memoizedState.cachePool.pool;x!=null&&x.refCount++}break;case 24:im(v.memoizedState.cache)}if(x=v.child,x!==null)x.return=v,xi=x;else e:for(v=r;xi!==null;){x=xi;var z=x.sibling,V=x.return;if(Ay(x),x===v){xi=null;break e}if(z!==null){z.return=V,xi=z;break e}xi=V}}}var rS={getCacheForType:function(r){var l=Ye(Qo),v=l.data.get(r);return v===void 0&&(v=r(),l.data.set(r,v)),v},cacheSignal:function(){return Ye(Qo).controller.signal}},Ly=typeof WeakMap=="function"?WeakMap:Map,$n=0,no=null,Sn=null,gn=0,Yn=0,Pt=null,al=!1,Xc=!1,nb=!1,bs=0,uo=0,vs=0,Yu=0,ob=0,gr=0,Oo=0,Mm=null,Do=null,ib=!1,ys=0,Oy=0,zn=1/0,Nf=null,To=null,di=0,Yl=null,qc=null,sl=0,$r=0,rb=null,ab=null,Lf=0,km=null;function Ur(){return($n&2)!==0&&gn!==0?gn&-gn:I.T!==null?db():Lt()}function aS(){if(gr===0)if((gn&536870912)===0||wn){var r=yt;yt<<=1,(yt&3932160)===0&&(yt=262144),gr=r}else gr=536870912;return r=ur.current,r!==null&&(r.flags|=32),gr}function br(r,l,v){(r===no&&(Yn===2||Yn===9)||r.cancelPendingCommit!==null)&&(ll(r,0),Xl(r,gn,gr,!1)),tn(r,v),(($n&2)===0||r!==no)&&(r===no&&(($n&2)===0&&(Yu|=v),uo===4&&Xl(r,gn,gr,!1)),cl(r))}function sS(r,l,v){if(($n&6)!==0)throw Error(a(327));var x=!v&&(l&127)===0&&(l&r.expiredLanes)===0||Ze(r,l),z=x?fS(r,l):lb(r,l,!0),V=x;do{if(z===0){Xc&&!x&&Xl(r,l,0,!1);break}else{if(v=r.current.alternate,V&&!lS(v)){z=lb(r,l,!1),V=!1;continue}if(z===2){if(V=l,r.errorRecoveryDisabledLanes&V)var ee=0;else ee=r.pendingLanes&-536870913,ee=ee!==0?ee:ee&536870912?536870912:0;if(ee!==0){l=ee;e:{var le=r;z=Mm;var be=le.current.memoizedState.isDehydrated;if(be&&(ll(le,ee).flags|=256),ee=lb(le,ee,!1),ee!==2){if(nb&&!be){le.errorRecoveryDisabledLanes|=V,Yu|=V,z=4;break e}V=Do,Do=z,V!==null&&(Do===null?Do=V:Do.push.apply(Do,V))}z=ee}if(V=!1,z!==2)continue}}if(z===1){ll(r,0),Xl(r,l,0,!0);break}e:{switch(x=r,V=z,V){case 0:case 1:throw Error(a(345));case 4:if((l&4194048)!==l)break;case 6:Xl(x,l,gr,!al);break e;case 2:Do=null;break;case 3:case 5:break;default:throw Error(a(329))}if((l&62914560)===l&&(z=ys+300-at(),10<z)){if(Xl(x,l,gr,!al),Ce(x,0,!0)!==0)break e;sl=l,x.timeoutHandle=Vm(Im.bind(null,x,v,Do,Nf,ib,l,gr,Yu,Oo,al,V,"Throttled",-0,0),z);break e}Im(x,v,Do,Nf,ib,l,gr,Yu,Oo,al,V,null,-0,0)}}break}while(!0);cl(r)}function Im(r,l,v,x,z,V,ee,le,be,Me,Fe,We,ke,He){if(r.timeoutHandle=-1,We=l.subtreeFlags,We&8192||(We&16785408)===16785408){We={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Kr},iS(l,V,We);var wt=(V&62914560)===V?ys-at():(V&4194048)===V?Oy-at():0;if(wt=tE(We,wt),wt!==null){sl=V,r.cancelPendingCommit=wt(gS.bind(null,r,l,V,v,x,z,ee,le,be,Fe,We,null,ke,He)),Xl(r,V,ee,!Me);return}}gS(r,l,V,v,x,z,ee,le,be)}function lS(r){for(var l=r;;){var v=l.tag;if((v===0||v===11||v===15)&&l.flags&16384&&(v=l.updateQueue,v!==null&&(v=v.stores,v!==null)))for(var x=0;x<v.length;x++){var z=v[x],V=z.getSnapshot;z=z.value;try{if(!Qi(V(),z))return!1}catch{return!1}}if(v=l.child,l.subtreeFlags&16384&&v!==null)v.return=l,l=v;else{if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Xl(r,l,v,x){l&=~ob,l&=~Yu,r.suspendedLanes|=l,r.pingedLanes&=~l,x&&(r.warmLanes|=l),x=r.expirationTimes;for(var z=l;0<z;){var V=31-xe(z),ee=1<<V;x[V]=-1,z&=~ee}v!==0&&sn(r,v,l)}function Of(){return($n&6)===0?(Kl(0),!1):!0}function Dy(){if(Sn!==null){if(Yn===0)var r=Sn.return;else r=Sn,us=Hl=null,mm(r),Uc=null,$u=0,r=Sn;for(;r!==null;)nS(r.alternate,r),r=r.return;Sn=null}}function ll(r,l){var v=r.timeoutHandle;v!==-1&&(r.timeoutHandle=-1,RS(v)),v=r.cancelPendingCommit,v!==null&&(r.cancelPendingCommit=null,v()),sl=0,Dy(),no=r,Sn=v=$l(r.current,null),gn=l,Yn=0,Pt=null,al=!1,Xc=Ze(r,l),nb=!1,Oo=gr=ob=Yu=vs=uo=0,Do=Mm=null,ib=!1,(l&8)!==0&&(l|=l&32);var x=r.entangledLanes;if(x!==0)for(r=r.entanglements,x&=l;0<x;){var z=31-xe(x),V=1<<z;l|=r[z],x&=~V}return bs=l,Zr(),v}function Df(r,l){rn=null,I.H=Sm,l===kc||l===lf?(l=z0(),Yn=3):l===ku?(l=z0(),Yn=4):Yn=l===Pg?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Pt=l,Sn===null&&(uo=1,yf(r,ea(l,r.current)))}function cS(){var r=ur.current;return r===null?!0:(gn&4194048)===gn?ra===null:(gn&62914560)===gn||(gn&536870912)!==0?r===ra:!1}function uS(){var r=I.H;return I.H=Sm,r===null?Sm:r}function dS(){var r=I.A;return I.A=rS,r}function sb(){uo=4,al||(gn&4194048)!==gn&&ur.current!==null||(Xc=!0),(vs&134217727)===0&&(Yu&134217727)===0||no===null||Xl(no,gn,gr,!1)}function lb(r,l,v){var x=$n;$n|=2;var z=uS(),V=dS();(no!==r||gn!==l)&&(Nf=null,ll(r,l)),l=!1;var ee=uo;e:do try{if(Yn!==0&&Sn!==null){var le=Sn,be=Pt;switch(Yn){case 8:Dy(),ee=6;break e;case 3:case 2:case 9:case 6:ur.current===null&&(l=!0);var Me=Yn;if(Yn=0,Pt=null,Xu(r,le,be,Me),v&&Xc){ee=0;break e}break;default:Me=Yn,Yn=0,Pt=null,Xu(r,le,be,Me)}}SC(),ee=uo;break}catch(Fe){Df(r,Fe)}while(!0);return l&&r.shellSuspendCounter++,us=Hl=null,$n=x,I.H=z,I.A=V,Sn===null&&(no=null,gn=0,Zr()),ee}function SC(){for(;Sn!==null;)hS(Sn)}function fS(r,l){var v=$n;$n|=2;var x=uS(),z=dS();no!==r||gn!==l?(Nf=null,zn=at()+500,ll(r,l)):Xc=Ze(r,l);e:do try{if(Yn!==0&&Sn!==null){l=Sn;var V=Pt;t:switch(Yn){case 1:Yn=0,Pt=null,Xu(r,l,V,1);break;case 2:case 9:if(H0(V)){Yn=0,Pt=null,mS(l);break}l=function(){Yn!==2&&Yn!==9||no!==r||(Yn=7),cl(r)},V.then(l,l);break e;case 3:Yn=7;break e;case 4:Yn=5;break e;case 7:H0(V)?(Yn=0,Pt=null,mS(l)):(Yn=0,Pt=null,Xu(r,l,V,7));break;case 5:var ee=null;switch(Sn.tag){case 26:ee=Sn.memoizedState;case 5:case 27:var le=Sn;if(ee?jr(ee):le.stateNode.complete){Yn=0,Pt=null;var be=le.sibling;if(be!==null)Sn=be;else{var Me=le.return;Me!==null?(Sn=Me,$m(Me)):Sn=null}break t}}Yn=0,Pt=null,Xu(r,l,V,5);break;case 6:Yn=0,Pt=null,Xu(r,l,V,6);break;case 8:Dy(),uo=6;break e;default:throw Error(a(462))}}Kc();break}catch(Fe){Df(r,Fe)}while(!0);return us=Hl=null,I.H=x,I.A=z,$n=v,Sn!==null?0:(no=null,gn=0,Zr(),uo)}function Kc(){for(;Sn!==null&&!ct();)hS(Sn)}function hS(r){var l=by(r.alternate,r,bs);r.memoizedProps=r.pendingProps,l===null?$m(r):Sn=l}function mS(r){var l=r,v=l.alternate;switch(l.tag){case 15:case 0:l=Qc(v,l,l.pendingProps,l.type,void 0,gn);break;case 11:l=Qc(v,l,l.pendingProps,l.type.render,l.ref,gn);break;case 5:mm(l);default:nS(v,l),l=Sn=D0(l,bs),l=by(v,l,bs)}r.memoizedProps=r.pendingProps,l===null?$m(r):Sn=l}function Xu(r,l,v,x){us=Hl=null,mm(l),Uc=null,$u=0;var z=l.return;try{if(wC(r,z,l,v,gn)){uo=1,yf(r,ea(v,r.current)),Sn=null;return}}catch(V){if(z!==null)throw Sn=z,V;uo=1,yf(r,ea(v,r.current)),Sn=null;return}l.flags&32768?(wn||x===1?r=!0:Xc||(gn&536870912)!==0?r=!1:(al=r=!0,(x===2||x===9||x===3||x===6)&&(x=ur.current,x!==null&&x.tag===13&&(x.flags|=16384))),pS(l,r)):$m(l)}function $m(r){var l=r;do{if((l.flags&32768)!==0){pS(l,al);return}r=l.return;var v=eS(l.alternate,l,bs);if(v!==null){Sn=v;return}if(l=l.sibling,l!==null){Sn=l;return}Sn=l=r}while(l!==null);uo===0&&(uo=5)}function pS(r,l){do{var v=tS(r.alternate,r);if(v!==null){v.flags&=32767,Sn=v;return}if(v=r.return,v!==null&&(v.flags|=32768,v.subtreeFlags=0,v.deletions=null),!l&&(r=r.sibling,r!==null)){Sn=r;return}Sn=r=v}while(r!==null);uo=6,Sn=null}function gS(r,l,v,x,z,V,ee,le,be){r.cancelPendingCommit=null;do Rf();while(di!==0);if(($n&6)!==0)throw Error(a(327));if(l!==null){if(l===r.current)throw Error(a(177));if(V=l.lanes|l.childLanes,V|=ka,Gt(r,v,V,ee,le,be),r===no&&(Sn=no=null,gn=0),qc=l,Yl=r,sl=v,$r=V,rb=z,ab=x,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,xS(rt,function(){return wS(),null})):(r.callbackNode=null,r.callbackPriority=0),x=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||x){x=I.T,I.T=null,z=W.p,W.p=2,ee=$n,$n|=4;try{Af(r,l,v)}finally{$n=ee,W.p=z,I.T=x}}di=1,bS(),vS(),yS()}}function bS(){if(di===1){di=0;var r=Yl,l=qc,v=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||v){v=I.T,I.T=null;var x=W.p;W.p=2;var z=$n;$n|=4;try{Kg(l,r);var V=bb,ee=Lc(r.containerInfo),le=V.focusedElem,be=V.selectionRange;if(ee!==le&&le&&le.ownerDocument&&_u(le.ownerDocument.documentElement,le)){if(be!==null&&Yh(le)){var Me=be.start,Fe=be.end;if(Fe===void 0&&(Fe=Me),"selectionStart"in le)le.selectionStart=Me,le.selectionEnd=Math.min(Fe,le.value.length);else{var We=le.ownerDocument||document,ke=We&&We.defaultView||window;if(ke.getSelection){var He=ke.getSelection(),wt=le.textContent.length,zt=Math.min(be.start,wt),io=be.end===void 0?zt:Math.min(be.end,wt);!He.extend&&zt>io&&(ee=io,io=zt,zt=ee);var Ne=L0(le,zt),Te=L0(le,io);if(Ne&&Te&&(He.rangeCount!==1||He.anchorNode!==Ne.node||He.anchorOffset!==Ne.offset||He.focusNode!==Te.node||He.focusOffset!==Te.offset)){var De=We.createRange();De.setStart(Ne.node,Ne.offset),He.removeAllRanges(),zt>io?(He.addRange(De),He.extend(Te.node,Te.offset)):(De.setEnd(Te.node,Te.offset),He.addRange(De))}}}}for(We=[],He=le;He=He.parentNode;)He.nodeType===1&&We.push({element:He,left:He.scrollLeft,top:He.scrollTop});for(typeof le.focus=="function"&&le.focus(),le=0;le<We.length;le++){var Qe=We[le];Qe.element.scrollLeft=Qe.left,Qe.element.scrollTop=Qe.top}}fi=!!gb,bb=gb=null}finally{$n=z,W.p=x,I.T=v}}r.current=l,di=2}}function vS(){if(di===2){di=0;var r=Yl,l=qc,v=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||v){v=I.T,I.T=null;var x=W.p;W.p=2;var z=$n;$n|=4;try{Nm(r,l.alternate,l)}finally{$n=z,W.p=x,I.T=v}}di=3}}function yS(){if(di===4||di===3){di=0,gt();var r=Yl,l=qc,v=sl,x=ab;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?di=5:(di=0,qc=Yl=null,ES(r,r.pendingLanes));var z=r.pendingLanes;if(z===0&&(To=null),Vn(v),l=l.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Ot,l,void 0,(l.current.flags&128)===128)}catch{}if(x!==null){l=I.T,z=W.p,W.p=2,I.T=null;try{for(var V=r.onRecoverableError,ee=0;ee<x.length;ee++){var le=x[ee];V(le.value,{componentStack:le.stack})}}finally{I.T=l,W.p=z}}(sl&3)!==0&&Rf(),cl(r),z=r.pendingLanes,(v&261930)!==0&&(z&42)!==0?r===km?Lf++:(Lf=0,km=r):Lf=0,Kl(0)}}function ES(r,l){(r.pooledCacheLanes&=l)===0&&(l=r.pooledCache,l!=null&&(r.pooledCache=null,im(l)))}function Rf(){return bS(),vS(),yS(),wS()}function wS(){if(di!==5)return!1;var r=Yl,l=$r;$r=0;var v=Vn(sl),x=I.T,z=W.p;try{W.p=32>v?32:v,I.T=null,v=rb,rb=null;var V=Yl,ee=sl;if(di=0,qc=Yl=null,sl=0,($n&6)!==0)throw Error(a(331));var le=$n;if($n|=4,Ny(V.current),xf(V,V.current,ee,v),$n=le,Kl(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Ot,V)}catch{}return!0}finally{W.p=z,I.T=x,ES(r,l)}}function SS(r,l,v){l=ea(v,l),l=ly(r.stateNode,l,2),r=ia(r,l,2),r!==null&&(tn(r,2),cl(r))}function Xn(r,l,v){if(r.tag===3)SS(r,r,v);else for(;l!==null;){if(l.tag===3){SS(l,r,v);break}else if(l.tag===1){var x=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(To===null||!To.has(x))){r=ea(v,r),v=cy(2),x=ia(l,v,2),x!==null&&(uy(v,x,l,r),tn(x,2),cl(x));break}}l=l.return}}function Um(r,l,v){var x=r.pingCache;if(x===null){x=r.pingCache=new Ly;var z=new Set;x.set(l,z)}else z=x.get(l),z===void 0&&(z=new Set,x.set(l,z));z.has(v)||(nb=!0,z.add(v),r=Ry.bind(null,r,l,v),l.then(r,r))}function Ry(r,l,v){var x=r.pingCache;x!==null&&x.delete(l),r.pingedLanes|=r.suspendedLanes&v,r.warmLanes&=~v,no===r&&(gn&v)===v&&(uo===4||uo===3&&(gn&62914560)===gn&&300>at()-ys?($n&2)===0&&ll(r,0):ob|=v,Oo===gn&&(Oo=0)),cl(r)}function TS(r,l){l===0&&(l=Tt()),r=Il(r,l),r!==null&&(tn(r,l),cl(r))}function ua(r){var l=r.memoizedState,v=0;l!==null&&(v=l.retryLane),TS(r,v)}function AS(r,l){var v=0;switch(r.tag){case 31:case 13:var x=r.stateNode,z=r.memoizedState;z!==null&&(v=z.retryLane);break;case 19:x=r.stateNode;break;case 22:x=r.stateNode._retryCache;break;default:throw Error(a(314))}x!==null&&x.delete(l),TS(r,v)}function xS(r,l){return ze(r,l)}var Mf=null,qu=null,My=!1,cb=!1,ky=!1,ql=0;function cl(r){r!==qu&&r.next===null&&(qu===null?Mf=qu=r:qu=qu.next=r),cb=!0,My||(My=!0,jm())}function Kl(r,l){if(!ky&&cb){ky=!0;do for(var v=!1,x=Mf;x!==null;){if(r!==0){var z=x.pendingLanes;if(z===0)var V=0;else{var ee=x.suspendedLanes,le=x.pingedLanes;V=(1<<31-xe(42|r)+1)-1,V&=z&~(ee&~le),V=V&201326741?V&201326741|1:V?V|2:0}V!==0&&(v=!0,Ku(x,V))}else V=gn,V=Ce(x,x===no?V:0,x.cancelPendingCommit!==null||x.timeoutHandle!==-1),(V&3)===0||Ze(x,V)||(v=!0,Ku(x,V));x=x.next}while(v);ky=!1}}function ub(){Iy()}function Iy(){cb=My=!1;var r=0;ql!==0&&TC()&&(r=ql);for(var l=at(),v=null,x=Mf;x!==null;){var z=x.next,V=$y(x,l);V===0?(x.next=null,v===null?Mf=z:v.next=z,z===null&&(qu=v)):(v=x,(r!==0||(V&3)!==0)&&(cb=!0)),x=z}di!==0&&di!==5||Kl(r),ql!==0&&(ql=0)}function $y(r,l){for(var v=r.suspendedLanes,x=r.pingedLanes,z=r.expirationTimes,V=r.pendingLanes&-62914561;0<V;){var ee=31-xe(V),le=1<<ee,be=z[ee];be===-1?((le&v)===0||(le&x)!==0)&&(z[ee]=ft(le,l)):be<=l&&(r.expiredLanes|=le),V&=~le}if(l=no,v=gn,v=Ce(r,r===l?v:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),x=r.callbackNode,v===0||r===l&&(Yn===2||Yn===9)||r.cancelPendingCommit!==null)return x!==null&&x!==null&&tt(x),r.callbackNode=null,r.callbackPriority=0;if((v&3)===0||Ze(r,v)){if(l=v&-v,l===r.callbackPriority)return l;switch(x!==null&&tt(x),Vn(v)){case 2:case 8:v=it;break;case 32:v=rt;break;case 268435456:v=St;break;default:v=rt}return x=Hm.bind(null,r),v=ze(v,x),r.callbackPriority=l,r.callbackNode=v,l}return x!==null&&x!==null&&tt(x),r.callbackPriority=2,r.callbackNode=null,2}function Hm(r,l){if(di!==0&&di!==5)return r.callbackNode=null,r.callbackPriority=0,null;var v=r.callbackNode;if(Rf()&&r.callbackNode!==v)return null;var x=gn;return x=Ce(r,r===no?x:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),x===0?null:(sS(r,x,l),$y(r,at()),r.callbackNode!=null&&r.callbackNode===v?Hm.bind(null,r):null)}function Ku(r,l){if(Rf())return null;sS(r,l,!0)}function jm(){MS(function(){($n&6)!==0?ze(je,ub):Iy()})}function db(){if(ql===0){var r=Mc;r===0&&(r=ut,ut<<=1,(ut&261888)===0&&(ut=256)),ql=r}return ql}function _S(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Or(""+r)}function Zu(r,l){var v=l.ownerDocument.createElement("input");return v.name=l.name,v.value=l.value,r.id&&v.setAttribute("form",r.id),l.parentNode.insertBefore(v,l),r=new FormData(r),v.parentNode.removeChild(v),r}function zm(r,l,v,x,z){if(l==="submit"&&v&&v.stateNode===z){var V=_S((z[Gn]||null).action),ee=x.submitter;ee&&(l=(l=ee[Gn]||null)?_S(l.formAction):ee.getAttribute("formAction"),l!==null&&(V=l,ee=null));var le=new Qt("action","action",null,x,z);r.push({event:le,listeners:[{instance:null,listener:function(){if(x.defaultPrevented){if(ql!==0){var be=ee?Zu(z,ee):new FormData(z);bf(v,{pending:!0,data:be,method:z.method,action:V},null,be)}}else typeof V=="function"&&(le.preventDefault(),be=ee?Zu(z,ee):new FormData(z),bf(v,{pending:!0,data:be,method:z.method,action:V},V,be))},currentTarget:z}]})}}for(var fb=0;fb<tf.length;fb++){var kf=tf[fb],Uy=kf.toLowerCase(),Hy=kf[0].toUpperCase()+kf.slice(1);ar(Uy,"on"+Hy)}ar(qh,"onAnimationEnd"),ar(O0,"onAnimationIteration"),ar(fg,"onAnimationStart"),ar("dblclick","onDoubleClick"),ar("focusin","onFocus"),ar("focusout","onBlur"),ar(Cu,"onTransitionRun"),ar(Kh,"onTransitionStart"),ar(Ps,"onTransitionCancel"),ar(U1,"onTransitionEnd"),Rn("onMouseEnter",["mouseout","mouseover"]),Rn("onMouseLeave",["mouseout","mouseover"]),Rn("onPointerEnter",["pointerout","pointerover"]),Rn("onPointerLeave",["pointerout","pointerover"]),vi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vi("onBeforeInput",["compositionend","keypress","textInput","paste"]),vi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var If="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),CS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(If));function NS(r,l){l=(l&4)!==0;for(var v=0;v<r.length;v++){var x=r[v],z=x.event;x=x.listeners;e:{var V=void 0;if(l)for(var ee=x.length-1;0<=ee;ee--){var le=x[ee],be=le.instance,Me=le.currentTarget;if(le=le.listener,be!==V&&z.isPropagationStopped())break e;V=le,z.currentTarget=Me;try{V(z)}catch(Fe){Nu(Fe)}z.currentTarget=null,V=be}else for(ee=0;ee<x.length;ee++){if(le=x[ee],be=le.instance,Me=le.currentTarget,le=le.listener,be!==V&&z.isPropagationStopped())break e;V=le,z.currentTarget=Me;try{V(z)}catch(Fe){Nu(Fe)}z.currentTarget=null,V=be}}}}function En(r,l){var v=l[po];v===void 0&&(v=l[po]=new Set);var x=r+"__bubble";v.has(x)||(Bm(l,r,2,!1),v.add(x))}function jy(r,l,v){var x=0;l&&(x|=4),Bm(v,r,x,l)}var hb="_reactListening"+Math.random().toString(36).slice(2);function $f(r){if(!r[hb]){r[hb]=!0,vn.forEach(function(v){v!=="selectionchange"&&(CS.has(v)||jy(v,!1,r),jy(v,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[hb]||(l[hb]=!0,jy("selectionchange",!1,l))}}function Bm(r,l,v,x){switch(qm(l)){case 2:var z=dl;break;case 8:z=fl;break;default:z=Ui}v=z.bind(null,l,v,r),z=void 0,!xc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(z=!0),x?z!==void 0?r.addEventListener(l,v,{capture:!0,passive:z}):r.addEventListener(l,v,!0):z!==void 0?r.addEventListener(l,v,{passive:z}):r.addEventListener(l,v,!1)}function zy(r,l,v,x,z){var V=x;if((l&1)===0&&(l&2)===0&&x!==null)e:for(;;){if(x===null)return;var ee=x.tag;if(ee===3||ee===4){var le=x.stateNode.containerInfo;if(le===z)break;if(ee===4)for(ee=x.return;ee!==null;){var be=ee.tag;if((be===3||be===4)&&ee.stateNode.containerInfo===z)return;ee=ee.return}for(;le!==null;){if(ee=st(le),ee===null)return;if(be=ee.tag,be===5||be===6||be===26||be===27){x=V=ee;continue e}le=le.parentNode}}x=x.return}Ph(function(){var Me=V,Fe=yu(v),We=[];e:{var ke=Vs.get(r);if(ke!==void 0){var He=Qt,wt=r;switch(r){case"keypress":if(ce(v)===0)break e;case"keydown":case"keyup":He=rg;break;case"focusin":wt="focus",He=Dr;break;case"focusout":wt="blur",He=Dr;break;case"beforeblur":case"afterblur":He=Dr;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":He=No;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":He=ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":He=O1;break;case qh:case O0:case fg:He=Qh;break;case U1:He=bC;break;case"scroll":case"scrollend":He=Ko;break;case"wheel":He=vC;break;case"copy":case"cut":case"paste":He=Oa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":He=is;break;case"toggle":case"beforetoggle":He=w0}var zt=(l&4)!==0,io=!zt&&(r==="scroll"||r==="scrollend"),Ne=zt?ke!==null?ke+"Capture":null:ke;zt=[];for(var Te=Me,De;Te!==null;){var Qe=Te;if(De=Qe.stateNode,Qe=Qe.tag,Qe!==5&&Qe!==26&&Qe!==27||De===null||Ne===null||(Qe=Po(Te,Ne),Qe!=null&&zt.push(Fm(Te,Qe,De))),io)break;Te=Te.return}0<zt.length&&(ke=new He(ke,wt,null,v,Fe),We.push({event:ke,listeners:zt}))}}if((l&7)===0){e:{if(ke=r==="mouseover"||r==="pointerover",He=r==="mouseout"||r==="pointerout",ke&&v!==Ta&&(wt=v.relatedTarget||v.fromElement)&&(st(wt)||wt[Fo]))break e;if((He||ke)&&(ke=Fe.window===Fe?Fe:(ke=Fe.ownerDocument)?ke.defaultView||ke.parentWindow:window,He?(wt=v.relatedTarget||v.toElement,He=Me,wt=wt?st(wt):null,wt!==null&&(io=p(wt),zt=wt.tag,wt!==io||zt!==5&&zt!==27&&zt!==6)&&(wt=null)):(He=null,wt=Me),He!==wt)){if(zt=No,Qe="onMouseLeave",Ne="onMouseEnter",Te="mouse",(r==="pointerout"||r==="pointerover")&&(zt=is,Qe="onPointerLeave",Ne="onPointerEnter",Te="pointer"),io=He==null?ke:eo(He),De=wt==null?ke:eo(wt),ke=new zt(Qe,Te+"leave",He,v,Fe),ke.target=io,ke.relatedTarget=De,Qe=null,st(Fe)===Me&&(zt=new zt(Ne,Te+"enter",wt,v,Fe),zt.target=De,zt.relatedTarget=io,Qe=zt),io=Qe,He&&wt)t:{for(zt=LS,Ne=He,Te=wt,De=0,Qe=Ne;Qe;Qe=zt(Qe))De++;Qe=0;for(var Dt=Te;Dt;Dt=zt(Dt))Qe++;for(;0<De-Qe;)Ne=zt(Ne),De--;for(;0<Qe-De;)Te=zt(Te),Qe--;for(;De--;){if(Ne===Te||Te!==null&&Ne===Te.alternate){zt=Ne;break t}Ne=zt(Ne),Te=zt(Te)}zt=null}else zt=null;He!==null&&mb(We,ke,He,zt,!1),wt!==null&&io!==null&&mb(We,io,wt,zt,!0)}}e:{if(ke=Me?eo(Me):window,He=ke.nodeName&&ke.nodeName.toLowerCase(),He==="select"||He==="input"&&ke.type==="file")var Mn=_0;else if(Fs(ke))if(lg)Mn=xu;else{Mn=I1;var At=k1}else He=ke.nodeName,!He||He.toLowerCase()!=="input"||ke.type!=="checkbox"&&ke.type!=="radio"?Me&&Fh(Me.elementType)&&(Mn=_0):Mn=Nc;if(Mn&&(Mn=Mn(r,Me))){x0(We,Mn,v,Fe);break e}At&&At(r,ke,Me),r==="focusout"&&Me&&ke.type==="number"&&Me.memoizedProps.value!=null&&Ml(ke,"number",ke.value)}switch(At=Me?eo(Me):window,r){case"focusin":(Fs(At)||At.contentEditable==="true")&&(Oc=At,Jd=Me,Ma=null);break;case"focusout":Ma=Jd=Oc=null;break;case"mousedown":as=!0;break;case"contextmenu":case"mouseup":case"dragend":as=!1,dg(We,v,Fe);break;case"selectionchange":if(Xh)break;case"keydown":case"keyup":dg(We,v,Fe)}var nn;if(Kd)e:{switch(r){case"compositionstart":var cn="onCompositionStart";break e;case"compositionend":cn="onCompositionEnd";break e;case"compositionupdate":cn="onCompositionUpdate";break e}cn=void 0}else Su?sg(r,v)&&(cn="onCompositionEnd"):r==="keydown"&&v.keyCode===229&&(cn="onCompositionStart");cn&&(S0&&v.locale!=="ko"&&(Su||cn!=="onCompositionStart"?cn==="onCompositionEnd"&&Su&&(nn=Gh()):(Na=Fe,Vh="value"in Na?Na.value:Na.textContent,Su=!0)),At=Pm(Me,cn),0<At.length&&(cn=new N1(cn,r,null,v,Fe),We.push({event:cn,listeners:At}),nn?cn.data=nn:(nn=T0(v),nn!==null&&(cn.data=nn)))),(nn=Gi?M1(r,v):yC(r,v))&&(cn=Pm(Me,"onBeforeInput"),0<cn.length&&(At=new N1("onBeforeInput","beforeinput",null,v,Fe),We.push({event:At,listeners:cn}),At.data=nn)),zm(We,r,Me,v,Fe)}NS(We,l)})}function Fm(r,l,v){return{instance:r,listener:l,currentTarget:v}}function Pm(r,l){for(var v=l+"Capture",x=[];r!==null;){var z=r,V=z.stateNode;if(z=z.tag,z!==5&&z!==26&&z!==27||V===null||(z=Po(r,v),z!=null&&x.unshift(Fm(r,z,V)),z=Po(r,l),z!=null&&x.push(Fm(r,z,V))),r.tag===3)return x;r=r.return}return[]}function LS(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function mb(r,l,v,x,z){for(var V=l._reactName,ee=[];v!==null&&v!==x;){var le=v,be=le.alternate,Me=le.stateNode;if(le=le.tag,be!==null&&be===x)break;le!==5&&le!==26&&le!==27||Me===null||(be=Me,z?(Me=Po(v,V),Me!=null&&ee.unshift(Fm(v,Me,be))):z||(Me=Po(v,V),Me!=null&&ee.push(Fm(v,Me,be)))),v=v.return}ee.length!==0&&r.push({event:l,listeners:ee})}var OS=/\r\n?/g,By=/\u0000|\uFFFD/g;function Fy(r){return(typeof r=="string"?r:""+r).replace(OS,`
81
- `).replace(By,"")}function Py(r,l){return l=Fy(l),Fy(r)===l}function oo(r,l,v,x,z,V){switch(v){case"children":typeof x=="string"?l==="body"||l==="textarea"&&x===""||Ii(r,x):(typeof x=="number"||typeof x=="bigint")&&l!=="body"&&Ii(r,""+x);break;case"className":Qd(r,"class",x);break;case"tabIndex":Qd(r,"tabindex",x);break;case"dir":case"role":case"viewBox":case"width":case"height":Qd(r,v,x);break;case"style":Ja(r,x,V);break;case"data":if(l!=="object"){Qd(r,"data",x);break}case"src":case"href":if(x===""&&(l!=="a"||v!=="href")){r.removeAttribute(v);break}if(x==null||typeof x=="function"||typeof x=="symbol"||typeof x=="boolean"){r.removeAttribute(v);break}x=Or(""+x),r.setAttribute(v,x);break;case"action":case"formAction":if(typeof x=="function"){r.setAttribute(v,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof V=="function"&&(v==="formAction"?(l!=="input"&&oo(r,l,"name",z.name,z,null),oo(r,l,"formEncType",z.formEncType,z,null),oo(r,l,"formMethod",z.formMethod,z,null),oo(r,l,"formTarget",z.formTarget,z,null)):(oo(r,l,"encType",z.encType,z,null),oo(r,l,"method",z.method,z,null),oo(r,l,"target",z.target,z,null)));if(x==null||typeof x=="symbol"||typeof x=="boolean"){r.removeAttribute(v);break}x=Or(""+x),r.setAttribute(v,x);break;case"onClick":x!=null&&(r.onclick=Kr);break;case"onScroll":x!=null&&En("scroll",r);break;case"onScrollEnd":x!=null&&En("scrollend",r);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(v=x.__html,v!=null){if(z.children!=null)throw Error(a(60));r.innerHTML=v}}break;case"multiple":r.multiple=x&&typeof x!="function"&&typeof x!="symbol";break;case"muted":r.muted=x&&typeof x!="function"&&typeof x!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(x==null||typeof x=="function"||typeof x=="boolean"||typeof x=="symbol"){r.removeAttribute("xlink:href");break}v=Or(""+x),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",v);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":x!=null&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,""+x):r.removeAttribute(v);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":x&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,""):r.removeAttribute(v);break;case"capture":case"download":x===!0?r.setAttribute(v,""):x!==!1&&x!=null&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,x):r.removeAttribute(v);break;case"cols":case"rows":case"size":case"span":x!=null&&typeof x!="function"&&typeof x!="symbol"&&!isNaN(x)&&1<=x?r.setAttribute(v,x):r.removeAttribute(v);break;case"rowSpan":case"start":x==null||typeof x=="function"||typeof x=="symbol"||isNaN(x)?r.removeAttribute(v):r.setAttribute(v,x);break;case"popover":En("beforetoggle",r),En("toggle",r),wc(r,"popover",x);break;case"xlinkActuate":Za(r,"http://www.w3.org/1999/xlink","xlink:actuate",x);break;case"xlinkArcrole":Za(r,"http://www.w3.org/1999/xlink","xlink:arcrole",x);break;case"xlinkRole":Za(r,"http://www.w3.org/1999/xlink","xlink:role",x);break;case"xlinkShow":Za(r,"http://www.w3.org/1999/xlink","xlink:show",x);break;case"xlinkTitle":Za(r,"http://www.w3.org/1999/xlink","xlink:title",x);break;case"xlinkType":Za(r,"http://www.w3.org/1999/xlink","xlink:type",x);break;case"xmlBase":Za(r,"http://www.w3.org/XML/1998/namespace","xml:base",x);break;case"xmlLang":Za(r,"http://www.w3.org/XML/1998/namespace","xml:lang",x);break;case"xmlSpace":Za(r,"http://www.w3.org/XML/1998/namespace","xml:space",x);break;case"is":wc(r,"is",x);break;case"innerText":case"textContent":break;default:(!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N")&&(v=b0.get(v)||v,wc(r,v,x))}}function Vy(r,l,v,x,z,V){switch(v){case"style":Ja(r,x,V);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(v=x.__html,v!=null){if(z.children!=null)throw Error(a(60));r.innerHTML=v}}break;case"children":typeof x=="string"?Ii(r,x):(typeof x=="number"||typeof x=="bigint")&&Ii(r,""+x);break;case"onScroll":x!=null&&En("scroll",r);break;case"onScrollEnd":x!=null&&En("scrollend",r);break;case"onClick":x!=null&&(r.onclick=Kr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yn.hasOwnProperty(v))e:{if(v[0]==="o"&&v[1]==="n"&&(z=v.endsWith("Capture"),l=v.slice(2,z?v.length-7:void 0),V=r[Gn]||null,V=V!=null?V[v]:null,typeof V=="function"&&r.removeEventListener(l,V,z),typeof x=="function")){typeof V!="function"&&V!==null&&(v in r?r[v]=null:r.hasAttribute(v)&&r.removeAttribute(v)),r.addEventListener(l,x,z);break e}v in r?r[v]=x:x===!0?r.setAttribute(v,""):wc(r,v,x)}}}function $i(r,l,v){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":En("error",r),En("load",r);var x=!1,z=!1,V;for(V in v)if(v.hasOwnProperty(V)){var ee=v[V];if(ee!=null)switch(V){case"src":x=!0;break;case"srcSet":z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,l));default:oo(r,l,V,ee,v,null)}}z&&oo(r,l,"srcSet",v.srcSet,v,null),x&&oo(r,l,"src",v.src,v,null);return;case"input":En("invalid",r);var le=V=ee=z=null,be=null,Me=null;for(x in v)if(v.hasOwnProperty(x)){var Fe=v[x];if(Fe!=null)switch(x){case"name":z=Fe;break;case"type":ee=Fe;break;case"checked":be=Fe;break;case"defaultChecked":Me=Fe;break;case"value":V=Fe;break;case"defaultValue":le=Fe;break;case"children":case"dangerouslySetInnerHTML":if(Fe!=null)throw Error(a(137,l));break;default:oo(r,l,x,Fe,v,null)}}Sc(r,V,le,be,Me,ee,z,!1);return;case"select":En("invalid",r),x=ee=V=null;for(z in v)if(v.hasOwnProperty(z)&&(le=v[z],le!=null))switch(z){case"value":V=le;break;case"defaultValue":ee=le;break;case"multiple":x=le;default:oo(r,l,z,le,v,null)}l=V,v=ee,r.multiple=!!x,l!=null?Tc(r,!!x,l,!1):v!=null&&Tc(r,!!x,v,!0);return;case"textarea":En("invalid",r),V=z=x=null;for(ee in v)if(v.hasOwnProperty(ee)&&(le=v[ee],le!=null))switch(ee){case"value":x=le;break;case"defaultValue":z=le;break;case"children":V=le;break;case"dangerouslySetInnerHTML":if(le!=null)throw Error(a(91));break;default:oo(r,l,ee,le,v,null)}Ac(r,x,z,V);return;case"option":for(be in v)if(v.hasOwnProperty(be)&&(x=v[be],x!=null))switch(be){case"selected":r.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:oo(r,l,be,x,v,null)}return;case"dialog":En("beforetoggle",r),En("toggle",r),En("cancel",r),En("close",r);break;case"iframe":case"object":En("load",r);break;case"video":case"audio":for(x=0;x<If.length;x++)En(If[x],r);break;case"image":En("error",r),En("load",r);break;case"details":En("toggle",r);break;case"embed":case"source":case"link":En("error",r),En("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Me in v)if(v.hasOwnProperty(Me)&&(x=v[Me],x!=null))switch(Me){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,l));default:oo(r,l,Me,x,v,null)}return;default:if(Fh(l)){for(Fe in v)v.hasOwnProperty(Fe)&&(x=v[Fe],x!==void 0&&Vy(r,l,Fe,x,v,void 0));return}}for(le in v)v.hasOwnProperty(le)&&(x=v[le],x!=null&&oo(r,l,le,x,v,null))}function Gy(r,l,v,x){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var z=null,V=null,ee=null,le=null,be=null,Me=null,Fe=null;for(He in v){var We=v[He];if(v.hasOwnProperty(He)&&We!=null)switch(He){case"checked":break;case"value":break;case"defaultValue":be=We;default:x.hasOwnProperty(He)||oo(r,l,He,null,x,We)}}for(var ke in x){var He=x[ke];if(We=v[ke],x.hasOwnProperty(ke)&&(He!=null||We!=null))switch(ke){case"type":V=He;break;case"name":z=He;break;case"checked":Me=He;break;case"defaultChecked":Fe=He;break;case"value":ee=He;break;case"defaultValue":le=He;break;case"children":case"dangerouslySetInnerHTML":if(He!=null)throw Error(a(137,l));break;default:He!==We&&oo(r,l,ke,He,x,We)}}bu(r,ee,le,be,Me,Fe,V,z);return;case"select":He=ee=le=ke=null;for(V in v)if(be=v[V],v.hasOwnProperty(V)&&be!=null)switch(V){case"value":break;case"multiple":He=be;default:x.hasOwnProperty(V)||oo(r,l,V,null,x,be)}for(z in x)if(V=x[z],be=v[z],x.hasOwnProperty(z)&&(V!=null||be!=null))switch(z){case"value":ke=V;break;case"defaultValue":le=V;break;case"multiple":ee=V;default:V!==be&&oo(r,l,z,V,x,be)}l=le,v=ee,x=He,ke!=null?Tc(r,!!v,ke,!1):!!x!=!!v&&(l!=null?Tc(r,!!v,l,!0):Tc(r,!!v,v?[]:"",!1));return;case"textarea":He=ke=null;for(le in v)if(z=v[le],v.hasOwnProperty(le)&&z!=null&&!x.hasOwnProperty(le))switch(le){case"value":break;case"children":break;default:oo(r,l,le,null,x,z)}for(ee in x)if(z=x[ee],V=v[ee],x.hasOwnProperty(ee)&&(z!=null||V!=null))switch(ee){case"value":ke=z;break;case"defaultValue":He=z;break;case"children":break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(a(91));break;default:z!==V&&oo(r,l,ee,z,x,V)}Xd(r,ke,He);return;case"option":for(var wt in v)if(ke=v[wt],v.hasOwnProperty(wt)&&ke!=null&&!x.hasOwnProperty(wt))switch(wt){case"selected":r.selected=!1;break;default:oo(r,l,wt,null,x,ke)}for(be in x)if(ke=x[be],He=v[be],x.hasOwnProperty(be)&&ke!==He&&(ke!=null||He!=null))switch(be){case"selected":r.selected=ke&&typeof ke!="function"&&typeof ke!="symbol";break;default:oo(r,l,be,ke,x,He)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var zt in v)ke=v[zt],v.hasOwnProperty(zt)&&ke!=null&&!x.hasOwnProperty(zt)&&oo(r,l,zt,null,x,ke);for(Me in x)if(ke=x[Me],He=v[Me],x.hasOwnProperty(Me)&&ke!==He&&(ke!=null||He!=null))switch(Me){case"children":case"dangerouslySetInnerHTML":if(ke!=null)throw Error(a(137,l));break;default:oo(r,l,Me,ke,x,He)}return;default:if(Fh(l)){for(var io in v)ke=v[io],v.hasOwnProperty(io)&&ke!==void 0&&!x.hasOwnProperty(io)&&Vy(r,l,io,void 0,x,ke);for(Fe in x)ke=x[Fe],He=v[Fe],!x.hasOwnProperty(Fe)||ke===He||ke===void 0&&He===void 0||Vy(r,l,Fe,ke,x,He);return}}for(var Ne in v)ke=v[Ne],v.hasOwnProperty(Ne)&&ke!=null&&!x.hasOwnProperty(Ne)&&oo(r,l,Ne,null,x,ke);for(We in x)ke=x[We],He=v[We],!x.hasOwnProperty(We)||ke===He||ke==null&&He==null||oo(r,l,We,ke,x,He)}function pb(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Qy(){if(typeof performance.getEntriesByType=="function"){for(var r=0,l=0,v=performance.getEntriesByType("resource"),x=0;x<v.length;x++){var z=v[x],V=z.transferSize,ee=z.initiatorType,le=z.duration;if(V&&le&&pb(ee)){for(ee=0,le=z.responseEnd,x+=1;x<v.length;x++){var be=v[x],Me=be.startTime;if(Me>le)break;var Fe=be.transferSize,We=be.initiatorType;Fe&&pb(We)&&(be=be.responseEnd,ee+=Fe*(be<le?1:(le-Me)/(be-Me)))}if(--x,l+=8*(V+ee)/(z.duration/1e3),r++,10<r)break}}if(0<r)return l/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var gb=null,bb=null;function Zc(r){return r.nodeType===9?r:r.ownerDocument}function DS(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wy(r,l){if(r===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&l==="foreignObject"?0:r}function Uf(r,l){return r==="textarea"||r==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var vb=null;function TC(){var r=window.event;return r&&r.type==="popstate"?r===vb?!1:(vb=r,!0):(vb=null,!1)}var Vm=typeof setTimeout=="function"?setTimeout:void 0,RS=typeof clearTimeout=="function"?clearTimeout:void 0,Ju=typeof Promise=="function"?Promise:void 0,MS=typeof queueMicrotask=="function"?queueMicrotask:typeof Ju<"u"?function(r){return Ju.resolve(null).then(r).catch(Yy)}:Vm;function Yy(r){setTimeout(function(){throw r})}function Es(r){return r==="head"}function Xy(r,l){var v=l,x=0;do{var z=v.nextSibling;if(r.removeChild(v),z&&z.nodeType===8)if(v=z.data,v==="/$"||v==="/&"){if(x===0){r.removeChild(z),Xf(l);return}x--}else if(v==="$"||v==="$?"||v==="$~"||v==="$!"||v==="&")x++;else if(v==="html")ed(r.ownerDocument.documentElement);else if(v==="head"){v=r.ownerDocument.head,ed(v);for(var V=v.firstChild;V;){var ee=V.nextSibling,le=V.nodeName;V[Ee]||le==="SCRIPT"||le==="STYLE"||le==="LINK"&&V.rel.toLowerCase()==="stylesheet"||v.removeChild(V),V=ee}}else v==="body"&&ed(r.ownerDocument.body);v=z}while(v);Xf(l)}function Xo(r,l){var v=r;r=0;do{var x=v.nextSibling;if(v.nodeType===1?l?(v._stashedDisplay=v.style.display,v.style.display="none"):(v.style.display=v._stashedDisplay||"",v.getAttribute("style")===""&&v.removeAttribute("style")):v.nodeType===3&&(l?(v._stashedText=v.nodeValue,v.nodeValue=""):v.nodeValue=v._stashedText||""),x&&x.nodeType===8)if(v=x.data,v==="/$"){if(r===0)break;r--}else v!=="$"&&v!=="$?"&&v!=="$~"&&v!=="$!"||r++;v=x}while(v)}function Gm(r){var l=r.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var v=l;switch(l=l.nextSibling,v.nodeName){case"HTML":case"HEAD":case"BODY":Gm(v),Ke(v);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(v.rel.toLowerCase()==="stylesheet")continue}r.removeChild(v)}}function AC(r,l,v,x){for(;r.nodeType===1;){var z=v;if(r.nodeName.toLowerCase()!==l.toLowerCase()){if(!x&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(x){if(!r[Ee])switch(l){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(V=r.getAttribute("rel"),V==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(V!==z.rel||r.getAttribute("href")!==(z.href==null||z.href===""?null:z.href)||r.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin)||r.getAttribute("title")!==(z.title==null?null:z.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(V=r.getAttribute("src"),(V!==(z.src==null?null:z.src)||r.getAttribute("type")!==(z.type==null?null:z.type)||r.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin))&&V&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(l==="input"&&r.type==="hidden"){var V=z.name==null?null:""+z.name;if(z.type==="hidden"&&r.getAttribute("name")===V)return r}else return r;if(r=vr(r.nextSibling),r===null)break}return null}function dn(r,l,v){if(l==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!v||(r=vr(r.nextSibling),r===null))return null;return r}function kS(r,l){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=vr(r.nextSibling),r===null))return null;return r}function Ba(r){return r.data==="$?"||r.data==="$~"}function Jc(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function Hf(r,l){var v=r.ownerDocument;if(r.data==="$~")r._reactRetry=l;else if(r.data!=="$?"||v.readyState!=="loading")l();else{var x=function(){l(),v.removeEventListener("DOMContentLoaded",x)};v.addEventListener("DOMContentLoaded",x),r._reactRetry=x}}function vr(r){for(;r!=null;r=r.nextSibling){var l=r.nodeType;if(l===1||l===3)break;if(l===8){if(l=r.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return r}var Qm=null;function yb(r){r=r.nextSibling;for(var l=0;r;){if(r.nodeType===8){var v=r.data;if(v==="/$"||v==="/&"){if(l===0)return vr(r.nextSibling);l--}else v!=="$"&&v!=="$!"&&v!=="$?"&&v!=="$~"&&v!=="&"||l++}r=r.nextSibling}return null}function ws(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var v=r.data;if(v==="$"||v==="$!"||v==="$?"||v==="$~"||v==="&"){if(l===0)return r;l--}else v!=="/$"&&v!=="/&"||l++}r=r.previousSibling}return null}function jf(r,l,v){switch(l=Zc(v),r){case"html":if(r=l.documentElement,!r)throw Error(a(452));return r;case"head":if(r=l.head,!r)throw Error(a(453));return r;case"body":if(r=l.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function ed(r){for(var l=r.attributes;l.length;)r.removeAttributeNode(l[0]);Ke(r)}var Hr=new Map,Wm=new Set;function Yi(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Ss=W.d;W.d={f:xC,r:IS,D:Ue,C:Bn,L:_C,m:qy,X:Zl,S:Ky,M:eu};function xC(){var r=Ss.f(),l=Of();return r||l}function IS(r){var l=on(r);l!==null&&l.tag===5&&l.type==="form"?to(l):Ss.r(r)}var zf=typeof document>"u"?null:document;function ei(r,l,v){var x=zf;if(x&&typeof l=="string"&&l){var z=nr(l);z='link[rel="'+r+'"][href="'+z+'"]',typeof v=="string"&&(z+='[crossorigin="'+v+'"]'),Wm.has(z)||(Wm.add(z),r={rel:r,crossOrigin:v,href:l},x.querySelector(z)===null&&(l=x.createElement("link"),$i(l,"link",r),ot(l),x.head.appendChild(l)))}}function Ue(r){Ss.D(r),ei("dns-prefetch",r,null)}function Bn(r,l){Ss.C(r,l),ei("preconnect",r,l)}function _C(r,l,v){Ss.L(r,l,v);var x=zf;if(x&&r&&l){var z='link[rel="preload"][as="'+nr(l)+'"]';l==="image"&&v&&v.imageSrcSet?(z+='[imagesrcset="'+nr(v.imageSrcSet)+'"]',typeof v.imageSizes=="string"&&(z+='[imagesizes="'+nr(v.imageSizes)+'"]')):z+='[href="'+nr(r)+'"]';var V=z;switch(l){case"style":V=da(r);break;case"script":V=td(r)}Hr.has(V)||(r=u({rel:"preload",href:l==="image"&&v&&v.imageSrcSet?void 0:r,as:l},v),Hr.set(V,r),x.querySelector(z)!==null||l==="style"&&x.querySelector(tu(V))||l==="script"&&x.querySelector(Pf(V))||(l=x.createElement("link"),$i(l,"link",r),ot(l),x.head.appendChild(l)))}}function qy(r,l){Ss.m(r,l);var v=zf;if(v&&r){var x=l&&typeof l.as=="string"?l.as:"script",z='link[rel="modulepreload"][as="'+nr(x)+'"][href="'+nr(r)+'"]',V=z;switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":V=td(r)}if(!Hr.has(V)&&(r=u({rel:"modulepreload",href:r},l),Hr.set(V,r),v.querySelector(z)===null)){switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector(Pf(V)))return}x=v.createElement("link"),$i(x,"link",r),ot(x),v.head.appendChild(x)}}}function Ky(r,l,v){Ss.S(r,l,v);var x=zf;if(x&&r){var z=Dn(x).hoistableStyles,V=da(r);l=l||"default";var ee=z.get(V);if(!ee){var le={loading:0,preload:null};if(ee=x.querySelector(tu(V)))le.loading=5;else{r=u({rel:"stylesheet",href:r,"data-precedence":l},v),(v=Hr.get(V))&&Eb(r,v);var be=ee=x.createElement("link");ot(be),$i(be,"link",r),be._p=new Promise(function(Me,Fe){be.onload=Me,be.onerror=Fe}),be.addEventListener("load",function(){le.loading|=1}),be.addEventListener("error",function(){le.loading|=2}),le.loading|=4,Ym(ee,l,x)}ee={type:"stylesheet",instance:ee,count:1,state:le},z.set(V,ee)}}}function Zl(r,l){Ss.X(r,l);var v=zf;if(v&&r){var x=Dn(v).hoistableScripts,z=td(r),V=x.get(z);V||(V=v.querySelector(Pf(z)),V||(r=u({src:r,async:!0},l),(l=Hr.get(z))&&wb(r,l),V=v.createElement("script"),ot(V),$i(V,"link",r),v.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},x.set(z,V))}}function eu(r,l){Ss.M(r,l);var v=zf;if(v&&r){var x=Dn(v).hoistableScripts,z=td(r),V=x.get(z);V||(V=v.querySelector(Pf(z)),V||(r=u({src:r,async:!0,type:"module"},l),(l=Hr.get(z))&&wb(r,l),V=v.createElement("script"),ot(V),$i(V,"link",r),v.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},x.set(z,V))}}function Bf(r,l,v,x){var z=(z=ie.current)?Yi(z):null;if(!z)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof v.precedence=="string"&&typeof v.href=="string"?(l=da(v.href),v=Dn(z).hoistableStyles,x=v.get(l),x||(x={type:"style",instance:null,count:0,state:null},v.set(l,x)),x):{type:"void",instance:null,count:0,state:null};case"link":if(v.rel==="stylesheet"&&typeof v.href=="string"&&typeof v.precedence=="string"){r=da(v.href);var V=Dn(z).hoistableStyles,ee=V.get(r);if(ee||(z=z.ownerDocument||z,ee={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},V.set(r,ee),(V=z.querySelector(tu(r)))&&!V._p&&(ee.instance=V,ee.state.loading=5),Hr.has(r)||(v={rel:"preload",as:"style",href:v.href,crossOrigin:v.crossOrigin,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy},Hr.set(r,v),V||$S(z,r,v,ee.state))),l&&x===null)throw Error(a(528,""));return ee}if(l&&x!==null)throw Error(a(529,""));return null;case"script":return l=v.async,v=v.src,typeof v=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=td(v),v=Dn(z).hoistableScripts,x=v.get(l),x||(x={type:"script",instance:null,count:0,state:null},v.set(l,x)),x):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function da(r){return'href="'+nr(r)+'"'}function tu(r){return'link[rel="stylesheet"]['+r+"]"}function Ff(r){return u({},r,{"data-precedence":r.precedence,precedence:null})}function $S(r,l,v,x){r.querySelector('link[rel="preload"][as="style"]['+l+"]")?x.loading=1:(l=r.createElement("link"),x.preload=l,l.addEventListener("load",function(){return x.loading|=1}),l.addEventListener("error",function(){return x.loading|=2}),$i(l,"link",v),ot(l),r.head.appendChild(l))}function td(r){return'[src="'+nr(r)+'"]'}function Pf(r){return"script[async]"+r}function Zy(r,l,v){if(l.count++,l.instance===null)switch(l.type){case"style":var x=r.querySelector('style[data-href~="'+nr(v.href)+'"]');if(x)return l.instance=x,ot(x),x;var z=u({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return x=(r.ownerDocument||r).createElement("style"),ot(x),$i(x,"style",z),Ym(x,v.precedence,r),l.instance=x;case"stylesheet":z=da(v.href);var V=r.querySelector(tu(z));if(V)return l.state.loading|=4,l.instance=V,ot(V),V;x=Ff(v),(z=Hr.get(z))&&Eb(x,z),V=(r.ownerDocument||r).createElement("link"),ot(V);var ee=V;return ee._p=new Promise(function(le,be){ee.onload=le,ee.onerror=be}),$i(V,"link",x),l.state.loading|=4,Ym(V,v.precedence,r),l.instance=V;case"script":return V=td(v.src),(z=r.querySelector(Pf(V)))?(l.instance=z,ot(z),z):(x=v,(z=Hr.get(V))&&(x=u({},v),wb(x,z)),r=r.ownerDocument||r,z=r.createElement("script"),ot(z),$i(z,"link",x),r.head.appendChild(z),l.instance=z);case"void":return null;default:throw Error(a(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(x=l.instance,l.state.loading|=4,Ym(x,v.precedence,r));return l.instance}function Ym(r,l,v){for(var x=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),z=x.length?x[x.length-1]:null,V=z,ee=0;ee<x.length;ee++){var le=x[ee];if(le.dataset.precedence===l)V=le;else if(V!==z)break}V?V.parentNode.insertBefore(r,V.nextSibling):(l=v.nodeType===9?v.head:v,l.insertBefore(r,l.firstChild))}function Eb(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.title==null&&(r.title=l.title)}function wb(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.integrity==null&&(r.integrity=l.integrity)}var Vf=null;function Jy(r,l,v){if(Vf===null){var x=new Map,z=Vf=new Map;z.set(v,x)}else z=Vf,x=z.get(v),x||(x=new Map,z.set(v,x));if(x.has(r))return x;for(x.set(r,null),v=v.getElementsByTagName(r),z=0;z<v.length;z++){var V=v[z];if(!(V[Ee]||V[qt]||r==="link"&&V.getAttribute("rel")==="stylesheet")&&V.namespaceURI!=="http://www.w3.org/2000/svg"){var ee=V.getAttribute(l)||"";ee=r+ee;var le=x.get(ee);le?le.push(V):x.set(ee,[V])}}return x}function Sb(r,l,v){r=r.ownerDocument||r,r.head.insertBefore(v,l==="title"?r.querySelector("head > title"):null)}function eE(r,l,v){if(v===1||l.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return r=l.disabled,typeof l.precedence=="string"&&r==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function jr(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function ul(r,l,v,x){if(v.type==="stylesheet"&&(typeof x.media!="string"||matchMedia(x.media).matches!==!1)&&(v.state.loading&4)===0){if(v.instance===null){var z=da(x.href),V=l.querySelector(tu(z));if(V){l=V._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(r.count++,r=Tb.bind(r),l.then(r,r)),v.state.loading|=4,v.instance=V,ot(V);return}V=l.ownerDocument||l,x=Ff(x),(z=Hr.get(z))&&Eb(x,z),V=V.createElement("link"),ot(V);var ee=V;ee._p=new Promise(function(le,be){ee.onload=le,ee.onerror=be}),$i(V,"link",x),v.instance=V}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(v,l),(l=v.state.preload)&&(v.state.loading&3)===0&&(r.count++,v=Tb.bind(r),l.addEventListener("load",v),l.addEventListener("error",v))}}var fa=0;function tE(r,l){return r.stylesheets&&r.count===0&&xb(r,r.stylesheets),0<r.count||0<r.imgCount?function(v){var x=setTimeout(function(){if(r.stylesheets&&xb(r,r.stylesheets),r.unsuspend){var V=r.unsuspend;r.unsuspend=null,V()}},6e4+l);0<r.imgBytes&&fa===0&&(fa=62500*Qy());var z=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&xb(r,r.stylesheets),r.unsuspend)){var V=r.unsuspend;r.unsuspend=null,V()}},(r.imgBytes>fa?50:800)+l);return r.unsuspend=v,function(){r.unsuspend=null,clearTimeout(x),clearTimeout(z)}}:null}function Tb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)xb(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Ab=null;function xb(r,l){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Ab=new Map,l.forEach(_i,r),Ab=null,Tb.call(r))}function _i(r,l){if(!(l.state.loading&4)){var v=Ab.get(r);if(v)var x=v.get(null);else{v=new Map,Ab.set(r,v);for(var z=r.querySelectorAll("link[data-precedence],style[data-precedence]"),V=0;V<z.length;V++){var ee=z[V];(ee.nodeName==="LINK"||ee.getAttribute("media")!=="not all")&&(v.set(ee.dataset.precedence,ee),x=ee)}x&&v.set(null,x)}z=l.instance,ee=z.getAttribute("data-precedence"),V=v.get(ee)||x,V===x&&v.set(null,z),v.set(ee,z),this.count++,x=Tb.bind(this),z.addEventListener("load",x),z.addEventListener("error",x),V?V.parentNode.insertBefore(z,V.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(z,r.firstChild)),l.state.loading|=4}}var Xm={$$typeof:D,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function nE(r,l,v,x,z,V,ee,le,be){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=kt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kt(0),this.hiddenUpdates=kt(null),this.identifierPrefix=x,this.onUncaughtError=z,this.onCaughtError=V,this.onRecoverableError=ee,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=be,this.incompleteTransitions=new Map}function _b(r,l,v,x,z,V,ee,le,be,Me,Fe,We){return r=new nE(r,l,v,ee,be,Me,Fe,We,le),l=1,V===!0&&(l|=24),V=Io(3,null,null,l),r.current=V,V.stateNode=r,l=om(),l.refCount++,r.pooledCache=l,l.refCount++,V.memoizedState={element:x,isDehydrated:v,cache:l},um(V),r}function nd(r){return r?(r=sr,r):sr}function US(r,l,v,x,z,V){z=nd(z),x.context===null?x.context=z:x.pendingContext=z,x=Fl(l),x.payload={element:v},V=V===void 0?null:V,V!==null&&(x.callback=V),v=ia(r,x,l),v!==null&&(br(v,r,l),jc(v,r,l))}function Cb(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var v=r.retryLane;r.retryLane=v!==0&&v<l?v:l}}function oE(r,l){Cb(r,l),(r=r.alternate)&&Cb(r,l)}function HS(r){if(r.tag===13||r.tag===31){var l=Il(r,67108864);l!==null&&br(l,r,67108864),oE(r,67108864)}}function od(r){if(r.tag===13||r.tag===31){var l=Ur();l=Je(l);var v=Il(r,l);v!==null&&br(v,r,l),oE(r,l)}}var fi=!0;function dl(r,l,v,x){var z=I.T;I.T=null;var V=W.p;try{W.p=2,Ui(r,l,v,x)}finally{W.p=V,I.T=z}}function fl(r,l,v,x){var z=I.T;I.T=null;var V=W.p;try{W.p=8,Ui(r,l,v,x)}finally{W.p=V,I.T=z}}function Ui(r,l,v,x){if(fi){var z=iE(x);if(z===null)zy(r,l,x,Nb,v),Jl(r,x);else if(CC(z,r,l,v,x))x.stopPropagation();else if(Jl(r,x),l&4&&-1<yr.indexOf(r)){for(;z!==null;){var V=on(z);if(V!==null)switch(V.tag){case 3:if(V=V.stateNode,V.current.memoizedState.isDehydrated){var ee=jt(V.pendingLanes);if(ee!==0){var le=V;for(le.pendingLanes|=2,le.entangledLanes|=2;ee;){var be=1<<31-xe(ee);le.entanglements[1]|=be,ee&=~be}cl(V),($n&6)===0&&(zn=at()+500,Kl(0))}}break;case 31:case 13:le=Il(V,2),le!==null&&br(le,V,2),Of(),oE(V,2)}if(V=iE(x),V===null&&zy(r,l,x,Nb,v),V===z)break;z=V}z!==null&&x.stopPropagation()}else zy(r,l,x,null,v)}}function iE(r){return r=yu(r),Gf(r)}var Nb=null;function Gf(r){if(Nb=null,r=st(r),r!==null){var l=p(r);if(l===null)r=null;else{var v=l.tag;if(v===13){if(r=g(l),r!==null)return r;r=null}else if(v===31){if(r=y(l),r!==null)return r;r=null}else if(v===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null)}}return Nb=r,null}function qm(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Le()){case je:return 2;case it:return 8;case rt:case vt:return 32;case St:return 268435456;default:return 32}default:return 32}}var Qf=!1,hi=null,Hi=null,Xi=null,nu=new Map,Fa=new Map,Ao=[],yr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jl(r,l){switch(r){case"focusin":case"focusout":hi=null;break;case"dragenter":case"dragleave":Hi=null;break;case"mouseover":case"mouseout":Xi=null;break;case"pointerover":case"pointerout":nu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fa.delete(l.pointerId)}}function id(r,l,v,x,z,V){return r===null||r.nativeEvent!==V?(r={blockedOn:l,domEventName:v,eventSystemFlags:x,nativeEvent:V,targetContainers:[z]},l!==null&&(l=on(l),l!==null&&HS(l)),r):(r.eventSystemFlags|=x,l=r.targetContainers,z!==null&&l.indexOf(z)===-1&&l.push(z),r)}function CC(r,l,v,x,z){switch(l){case"focusin":return hi=id(hi,r,l,v,x,z),!0;case"dragenter":return Hi=id(Hi,r,l,v,x,z),!0;case"mouseover":return Xi=id(Xi,r,l,v,x,z),!0;case"pointerover":var V=z.pointerId;return nu.set(V,id(nu.get(V)||null,r,l,v,x,z)),!0;case"gotpointercapture":return V=z.pointerId,Fa.set(V,id(Fa.get(V)||null,r,l,v,x,z)),!0}return!1}function jS(r){var l=st(r.target);if(l!==null){var v=p(l);if(v!==null){if(l=v.tag,l===13){if(l=g(v),l!==null){r.blockedOn=l,ai(r.priority,function(){od(v)});return}}else if(l===31){if(l=y(v),l!==null){r.blockedOn=l,ai(r.priority,function(){od(v)});return}}else if(l===3&&v.stateNode.current.memoizedState.isDehydrated){r.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Km(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var v=iE(r.nativeEvent);if(v===null){v=r.nativeEvent;var x=new v.constructor(v.type,v);Ta=x,v.target.dispatchEvent(x),Ta=null}else return l=on(v),l!==null&&HS(l),r.blockedOn=v,!1;l.shift()}return!0}function Wf(r,l,v){Km(r)&&v.delete(l)}function zS(){Qf=!1,hi!==null&&Km(hi)&&(hi=null),Hi!==null&&Km(Hi)&&(Hi=null),Xi!==null&&Km(Xi)&&(Xi=null),nu.forEach(Wf),Fa.forEach(Wf)}function hl(r,l){r.blockedOn===l&&(r.blockedOn=null,Qf||(Qf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zS)))}var Yf=null;function BS(r){Yf!==r&&(Yf=r,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Yf===r&&(Yf=null);for(var l=0;l<r.length;l+=3){var v=r[l],x=r[l+1],z=r[l+2];if(typeof x!="function"){if(Gf(x||v)===null)continue;break}var V=on(v);V!==null&&(r.splice(l,3),l-=3,bf(V,{pending:!0,data:z,method:v.method,action:x},x,z))}}))}function Xf(r){function l(be){return hl(be,r)}hi!==null&&hl(hi,r),Hi!==null&&hl(Hi,r),Xi!==null&&hl(Xi,r),nu.forEach(l),Fa.forEach(l);for(var v=0;v<Ao.length;v++){var x=Ao[v];x.blockedOn===r&&(x.blockedOn=null)}for(;0<Ao.length&&(v=Ao[0],v.blockedOn===null);)jS(v),v.blockedOn===null&&Ao.shift();if(v=(r.ownerDocument||r).$$reactFormReplay,v!=null)for(x=0;x<v.length;x+=3){var z=v[x],V=v[x+1],ee=z[Gn]||null;if(typeof V=="function")ee||BS(v);else if(ee){var le=null;if(V&&V.hasAttribute("formAction")){if(z=V,ee=V[Gn]||null)le=ee.formAction;else if(Gf(z)!==null)continue}else le=ee.action;typeof le=="function"?v[x+1]=le:(v.splice(x,3),x-=3),BS(v)}}}function rE(){function r(V){V.canIntercept&&V.info==="react-transition"&&V.intercept({handler:function(){return new Promise(function(ee){return z=ee})},focusReset:"manual",scroll:"manual"})}function l(){z!==null&&(z(),z=null),x||setTimeout(v,20)}function v(){if(!x&&!navigation.transition){var V=navigation.currentEntry;V&&V.url!=null&&navigation.navigate(V.url,{state:V.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var x=!1,z=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(v,100),function(){x=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),z!==null&&(z(),z=null)}}}function Lb(r){this._internalRoot=r}Ob.prototype.render=Lb.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(a(409));var v=l.current,x=Ur();US(v,x,r,l,null,null)},Ob.prototype.unmount=Lb.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;US(r.current,2,null,r,null,null),Of(),l[Fo]=null}};function Ob(r){this._internalRoot=r}Ob.prototype.unstable_scheduleHydration=function(r){if(r){var l=Lt();r={blockedOn:null,target:r,priority:l};for(var v=0;v<Ao.length&&l!==0&&l<Ao[v].priority;v++);Ao.splice(v,0,r),v===0&&jS(r)}};var aE=e.version;if(aE!=="19.2.0")throw Error(a(527,aE,"19.2.0"));W.findDOMNode=function(r){var l=r._reactInternals;if(l===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=b(l),r=r!==null?c(r):null,r=r===null?null:r.stateNode,r};var FS={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zm.isDisabled&&Zm.supportsFiber)try{Ot=Zm.inject(FS),_t=Zm}catch{}}return uv.createRoot=function(r,l){if(!E(r))throw Error(a(299));var v=!1,x="",z=Bg,V=sy,ee=Fg;return l!=null&&(l.unstable_strictMode===!0&&(v=!0),l.identifierPrefix!==void 0&&(x=l.identifierPrefix),l.onUncaughtError!==void 0&&(z=l.onUncaughtError),l.onCaughtError!==void 0&&(V=l.onCaughtError),l.onRecoverableError!==void 0&&(ee=l.onRecoverableError)),l=_b(r,1,!1,null,null,v,x,null,z,V,ee,rE),r[Fo]=l.current,$f(r),new Lb(l)},uv.hydrateRoot=function(r,l,v){if(!E(r))throw Error(a(299));var x=!1,z="",V=Bg,ee=sy,le=Fg,be=null;return v!=null&&(v.unstable_strictMode===!0&&(x=!0),v.identifierPrefix!==void 0&&(z=v.identifierPrefix),v.onUncaughtError!==void 0&&(V=v.onUncaughtError),v.onCaughtError!==void 0&&(ee=v.onCaughtError),v.onRecoverableError!==void 0&&(le=v.onRecoverableError),v.formState!==void 0&&(be=v.formState)),l=_b(r,1,!0,l,v??null,x,z,be,V,ee,le,rE),l.context=nd(null),v=l.current,x=Ur(),x=Je(x),z=Fl(x),z.callback=null,ia(v,z,x),v=x,l.current.lanes=v,tn(l,v),cl(l),r[Fo]=l.current,$f(r),new Ob(l)},uv.version="19.2.0",uv}var dv={};/**
80
+ `+x.stack}}var $t=Object.prototype.hasOwnProperty,ze=t.unstable_scheduleCallback,nt=t.unstable_cancelCallback,ct=t.unstable_shouldYield,gt=t.unstable_requestPaint,at=t.unstable_now,Le=t.unstable_getCurrentPriorityLevel,je=t.unstable_ImmediatePriority,ot=t.unstable_UserBlockingPriority,tt=t.unstable_NormalPriority,vt=t.unstable_LowPriority,St=t.unstable_IdlePriority,Nt=t.log,an=t.unstable_setDisableYieldValue,Ot=null,_t=null;function Et(r){if(typeof Nt=="function"&&an(r),_t&&typeof _t.setStrictMode=="function")try{_t.setStrictMode(Ot,r)}catch{}}var xe=Math.clz32?Math.clz32:Mt,Ge=Math.log,bt=Math.LN2;function Mt(r){return r>>>=0,r===0?32:31-(Ge(r)/bt|0)|0}var ut=256,yt=262144,Ht=4194304;function jt(r){var l=r&42;if(l!==0)return l;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return r&261888;case 262144:case 524288:case 1048576:case 2097152:return r&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function Ce(r,l,v){var x=r.pendingLanes;if(x===0)return 0;var z=0,V=r.suspendedLanes,ee=r.pingedLanes;r=r.warmLanes;var le=x&134217727;return le!==0?(x=le&~V,x!==0?z=jt(x):(ee&=le,ee!==0?z=jt(ee):v||(v=le&~r,v!==0&&(z=jt(v))))):(le=x&~V,le!==0?z=jt(le):ee!==0?z=jt(ee):v||(v=x&~r,v!==0&&(z=jt(v)))),z===0?0:l!==0&&l!==z&&(l&V)===0&&(V=z&-z,v=l&-l,V>=v||V===32&&(v&4194048)!==0)?l:z}function Ze(r,l){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&l)===0}function ft(r,l){switch(r){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Tt(){var r=Ht;return Ht<<=1,(Ht&62914560)===0&&(Ht=4194304),r}function kt(r){for(var l=[],v=0;31>v;v++)l.push(r);return l}function tn(r,l){r.pendingLanes|=l,l!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function Gt(r,l,v,x,z,V){var ee=r.pendingLanes;r.pendingLanes=v,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=v,r.entangledLanes&=v,r.errorRecoveryDisabledLanes&=v,r.shellSuspendCounter=0;var le=r.entanglements,be=r.expirationTimes,Me=r.hiddenUpdates;for(v=ee&~v;0<v;){var Fe=31-xe(v),We=1<<Fe;le[Fe]=0,be[Fe]=-1;var ke=Me[Fe];if(ke!==null)for(Me[Fe]=null,Fe=0;Fe<ke.length;Fe++){var He=ke[Fe];He!==null&&(He.lane&=-536870913)}v&=~We}x!==0&&sn(r,x,0),V!==0&&z===0&&r.tag!==0&&(r.suspendedLanes|=V&~(ee&~l))}function sn(r,l,v){r.pendingLanes|=l,r.suspendedLanes&=~l;var x=31-xe(l);r.entangledLanes|=l,r.entanglements[x]=r.entanglements[x]|1073741824|v&261930}function On(r,l){var v=r.entangledLanes|=l;for(r=r.entanglements;v;){var x=31-xe(v),z=1<<x;z&l|r[x]&l&&(r[x]|=l),v&=~z}}function Xt(r,l){var v=l&-l;return v=(v&42)!==0?1:Je(v),(v&(r.suspendedLanes|l))!==0?0:v}function Je(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function Vn(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Lt(){var r=W.p;return r!==0?r:(r=window.event,r===void 0?32:qm(r.type))}function ai(r,l){var v=W.p;try{return W.p=r,l()}finally{W.p=v}}var Eo=Math.random().toString(36).slice(2),qt="__reactFiber$"+Eo,Gn="__reactProps$"+Eo,Fo="__reactContainer$"+Eo,po="__reactEvents$"+Eo,ki="__reactListeners$"+Eo,Lr="__reactHandles$"+Eo,it="__reactResources$"+Eo,Ee="__reactMarker$"+Eo;function Ke(r){delete r[qt],delete r[Gn],delete r[po],delete r[ki],delete r[Lr]}function st(r){var l=r[qt];if(l)return l;for(var v=r.parentNode;v;){if(l=v[Fo]||v[qt]){if(v=l.alternate,l.child!==null||v!==null&&v.child!==null)for(r=ws(r);r!==null;){if(v=r[qt])return v;r=ws(r)}return l}r=v,v=r.parentNode}return null}function on(r){if(r=r[qt]||r[Fo]){var l=r.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return r}return null}function eo(r){var l=r.tag;if(l===5||l===26||l===27||l===6)return r.stateNode;throw Error(a(33))}function Dn(r){var l=r[it];return l||(l=r[it]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function rt(r){r[Ee]=!0}var vn=new Set,yn={};function vi(r,l){Rn(r,l),Rn(r+"Capture",l)}function Rn(r,l){for(yn[r]=l,r=0;r<l.length;r++)vn.add(l[r])}var si=RegExp("^[: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]*$"),Sa={},yc={};function Ec(r){return $t.call(yc,r)?!0:$t.call(Sa,r)?!1:si.test(r)?yc[r]=!0:(Sa[r]=!0,!1)}function wc(r,l,v){if(Ec(l))if(v===null)r.removeAttribute(l);else{switch(typeof v){case"undefined":case"function":case"symbol":r.removeAttribute(l);return;case"boolean":var x=l.toLowerCase().slice(0,5);if(x!=="data-"&&x!=="aria-"){r.removeAttribute(l);return}}r.setAttribute(l,""+v)}}function Qd(r,l,v){if(v===null)r.removeAttribute(l);else{switch(typeof v){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttribute(l,""+v)}}function Za(r,l,v,x){if(x===null)r.removeAttribute(v);else{switch(typeof x){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(v);return}r.setAttributeNS(l,v,""+x)}}function yi(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Wd(r){var l=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Rl(r,l,v){var x=Object.getOwnPropertyDescriptor(r.constructor.prototype,l);if(!r.hasOwnProperty(l)&&typeof x<"u"&&typeof x.get=="function"&&typeof x.set=="function"){var z=x.get,V=x.set;return Object.defineProperty(r,l,{configurable:!0,get:function(){return z.call(this)},set:function(ee){v=""+ee,V.call(this,ee)}}),Object.defineProperty(r,l,{enumerable:x.enumerable}),{getValue:function(){return v},setValue:function(ee){v=""+ee},stopTracking:function(){r._valueTracker=null,delete r[l]}}}}function pu(r){if(!r._valueTracker){var l=Wd(r)?"checked":"value";r._valueTracker=Rl(r,l,""+r[l])}}function Yd(r){if(!r)return!1;var l=r._valueTracker;if(!l)return!0;var v=l.getValue(),x="";return r&&(x=Wd(r)?r.checked?"true":"false":r.value),r=x,r!==v?(l.setValue(r),!0):!1}function gu(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var g0=/[\n"\\]/g;function nr(r){return r.replace(g0,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function bu(r,l,v,x,z,V,ee,le){r.name="",ee!=null&&typeof ee!="function"&&typeof ee!="symbol"&&typeof ee!="boolean"?r.type=ee:r.removeAttribute("type"),l!=null?ee==="number"?(l===0&&r.value===""||r.value!=l)&&(r.value=""+yi(l)):r.value!==""+yi(l)&&(r.value=""+yi(l)):ee!=="submit"&&ee!=="reset"||r.removeAttribute("value"),l!=null?Ml(r,ee,yi(l)):v!=null?Ml(r,ee,yi(v)):x!=null&&r.removeAttribute("value"),z==null&&V!=null&&(r.defaultChecked=!!V),z!=null&&(r.checked=z&&typeof z!="function"&&typeof z!="symbol"),le!=null&&typeof le!="function"&&typeof le!="symbol"&&typeof le!="boolean"?r.name=""+yi(le):r.removeAttribute("name")}function Sc(r,l,v,x,z,V,ee,le){if(V!=null&&typeof V!="function"&&typeof V!="symbol"&&typeof V!="boolean"&&(r.type=V),l!=null||v!=null){if(!(V!=="submit"&&V!=="reset"||l!=null)){pu(r);return}v=v!=null?""+yi(v):"",l=l!=null?""+yi(l):v,le||l===r.value||(r.value=l),r.defaultValue=l}x=x??z,x=typeof x!="function"&&typeof x!="symbol"&&!!x,r.checked=le?r.checked:!!x,r.defaultChecked=!!x,ee!=null&&typeof ee!="function"&&typeof ee!="symbol"&&typeof ee!="boolean"&&(r.name=ee),pu(r)}function Ml(r,l,v){l==="number"&&gu(r.ownerDocument)===r||r.defaultValue===""+v||(r.defaultValue=""+v)}function Tc(r,l,v,x){if(r=r.options,l){l={};for(var z=0;z<v.length;z++)l["$"+v[z]]=!0;for(v=0;v<r.length;v++)z=l.hasOwnProperty("$"+r[v].value),r[v].selected!==z&&(r[v].selected=z),z&&x&&(r[v].defaultSelected=!0)}else{for(v=""+yi(v),l=null,z=0;z<r.length;z++){if(r[z].value===v){r[z].selected=!0,x&&(r[z].defaultSelected=!0);return}l!==null||r[z].disabled||(l=r[z])}l!==null&&(l.selected=!0)}}function Xd(r,l,v){if(l!=null&&(l=""+yi(l),l!==r.value&&(r.value=l),v==null)){r.defaultValue!==l&&(r.defaultValue=l);return}r.defaultValue=v!=null?""+yi(v):""}function Ac(r,l,v,x){if(l==null){if(x!=null){if(v!=null)throw Error(a(92));if(M(x)){if(1<x.length)throw Error(a(93));x=x[0]}v=x}v==null&&(v=""),l=v}v=yi(l),r.defaultValue=v,x=r.textContent,x===v&&x!==""&&x!==null&&(r.value=x),pu(r)}function Ii(r,l){if(l){var v=r.firstChild;if(v&&v===r.lastChild&&v.nodeType===3){v.nodeValue=l;return}}r.textContent=l}var ng=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function og(r,l,v){var x=l.indexOf("--")===0;v==null||typeof v=="boolean"||v===""?x?r.setProperty(l,""):l==="float"?r.cssFloat="":r[l]="":x?r.setProperty(l,v):typeof v!="number"||v===0||ng.has(l)?l==="float"?r.cssFloat=v:r[l]=(""+v).trim():r[l]=v+"px"}function Ja(r,l,v){if(l!=null&&typeof l!="object")throw Error(a(62));if(r=r.style,v!=null){for(var x in v)!v.hasOwnProperty(x)||l!=null&&l.hasOwnProperty(x)||(x.indexOf("--")===0?r.setProperty(x,""):x==="float"?r.cssFloat="":r[x]="");for(var z in l)x=l[z],l.hasOwnProperty(z)&&v[z]!==x&&og(r,z,x)}else for(var V in l)l.hasOwnProperty(V)&&og(r,V,l[V])}function Fh(r){if(r.indexOf("-")===-1)return!1;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 b0=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),vu=/^[\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;function Or(r){return vu.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}function Kr(){}var Ta=null;function yu(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Aa=null,xa=null;function Eu(r){var l=on(r);if(l&&(r=l.stateNode)){var v=r[Gn]||null;e:switch(r=l.stateNode,l.type){case"input":if(bu(r,v.value,v.defaultValue,v.defaultValue,v.checked,v.defaultChecked,v.type,v.name),l=v.name,v.type==="radio"&&l!=null){for(v=r;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll('input[name="'+nr(""+l)+'"][type="radio"]'),l=0;l<v.length;l++){var x=v[l];if(x!==r&&x.form===r.form){var z=x[Gn]||null;if(!z)throw Error(a(90));bu(x,z.value,z.defaultValue,z.defaultValue,z.checked,z.defaultChecked,z.type,z.name)}}for(l=0;l<v.length;l++)x=v[l],x.form===r.form&&Yd(x)}break e;case"textarea":Xd(r,v.value,v.defaultValue);break e;case"select":l=v.value,l!=null&&Tc(r,!!v.multiple,l,!1)}}}var zs=!1;function Ph(r,l,v){if(zs)return r(l,v);zs=!0;try{var x=r(l);return x}finally{if(zs=!1,(Aa!==null||xa!==null)&&(Of(),Aa&&(l=Aa,r=xa,xa=Aa=null,Eu(l),r)))for(l=0;l<r.length;l++)Eu(r[l])}}function Po(r,l){var v=r.stateNode;if(v===null)return null;var x=v[Gn]||null;if(x===null)return null;v=x[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(x=!x.disabled)||(r=r.type,x=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!x;break e;default:r=!1}if(r)return null;if(v&&typeof v!="function")throw Error(a(231,l,typeof v));return v}var _a=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xc=!1;if(_a)try{var Ca={};Object.defineProperty(Ca,"passive",{get:function(){xc=!0}}),window.addEventListener("test",Ca,Ca),window.removeEventListener("test",Ca,Ca)}catch{xc=!1}var Na=null,Vh=null,qd=null;function Gh(){if(qd)return qd;var r,l=Vh,v=l.length,x,z="value"in Na?Na.value:Na.textContent,V=z.length;for(r=0;r<v&&l[r]===z[r];r++);var ee=v-r;for(x=1;x<=ee&&l[v-x]===z[V-x];x++);return qd=z.slice(r,1<x?1-x:void 0)}function ce(r){var l=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&l===13&&(r=13)):r=l,r===10&&(r=13),32<=r||r===13?r:0}function _e(){return!0}function Xe(){return!1}function lt(r){function l(v,x,z,V,ee){this._reactName=v,this._targetInst=z,this.type=x,this.nativeEvent=V,this.target=ee,this.currentTarget=null;for(var le in r)r.hasOwnProperty(le)&&(v=r[le],this[le]=v?v(V):V[le]);return this.isDefaultPrevented=(V.defaultPrevented!=null?V.defaultPrevented:V.returnValue===!1)?_e:Xe,this.isPropagationStopped=Xe,this}return u(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=_e)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=_e)},persist:function(){},isPersistent:_e}),l}var Cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Qt=lt(Cn),Kn=u({},Cn,{view:0,detail:0}),Ko=lt(Kn),Vo,so,li,Vi=u({},Kn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Da,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==li&&(li&&r.type==="mousemove"?(Vo=r.screenX-li.screenX,so=r.screenY-li.screenY):so=Vo=0,li=r),Vo)},movementY:function(r){return"movementY"in r?r.movementY:so}}),No=lt(Vi),or=u({},Vi,{dataTransfer:0}),ir=lt(or),es=u({},Kn,{relatedTarget:0}),Dr=lt(es),ts=u({},Cn,{animationName:0,elapsedTime:0,pseudoElement:0}),Qh=lt(ts),La=u({},Cn,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),Oa=lt(La),ns=u({},Cn,{data:0}),N1=lt(ns),v0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bs={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},L1={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function os(r){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(r):(r=L1[r])?!!l[r]:!1}function Da(){return os}var ig=u({},Kn,{key:function(r){if(r.key){var l=v0[r.key]||r.key;if(l!=="Unidentified")return l}return r.type==="keypress"?(r=ce(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?Bs[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Da,charCode:function(r){return r.type==="keypress"?ce(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?ce(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),rg=lt(ig),y0=u({},Vi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),is=lt(y0),gC=u({},Kn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Da}),O1=lt(gC),D1=u({},Cn,{propertyName:0,elapsedTime:0,pseudoElement:0}),bC=lt(D1),E0=u({},Vi,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),vC=lt(E0),R1=u({},Cn,{newState:0,oldState:0}),w0=lt(R1),ag=[9,13,27,32],Kd=_a&&"CompositionEvent"in window,wu=null;_a&&"documentMode"in document&&(wu=document.documentMode);var Gi=_a&&"TextEvent"in window&&!wu,S0=_a&&(!Kd||wu&&8<wu&&11>=wu),Wh=" ",_c=!1;function sg(r,l){switch(r){case"keyup":return ag.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function T0(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Su=!1;function M1(r,l){switch(r){case"compositionend":return T0(l);case"keypress":return l.which!==32?null:(_c=!0,Wh);case"textInput":return r=l.data,r===Wh&&_c?null:r;default:return null}}function yC(r,l){if(Su)return r==="compositionend"||!Kd&&sg(r,l)?(r=Gh(),qd=Vh=Na=null,Su=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return S0&&l.locale!=="ko"?null:l.data;default:return null}}var A0={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fs(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l==="input"?!!A0[r.type]:l==="textarea"}function x0(r,l,v,x){Aa?xa?xa.push(x):xa=[x]:Aa=x,l=Pm(l,"onChange"),0<l.length&&(v=new Qt("onChange","change",null,v,x),r.push({event:v,listeners:l}))}var Tu=null,Cc=null;function Au(r){NS(r,0)}function Zd(r){var l=eo(r);if(Yd(l))return r}function _0(r,l){if(r==="change")return l}var lg=!1;if(_a){var rr;if(_a){var rs="oninput"in document;if(!rs){var C0=document.createElement("div");C0.setAttribute("oninput","return;"),rs=typeof C0.oninput=="function"}rr=rs}else rr=!1;lg=rr&&(!document.documentMode||9<document.documentMode)}function cg(){Tu&&(Tu.detachEvent("onpropertychange",ug),Cc=Tu=null)}function ug(r){if(r.propertyName==="value"&&Zd(Cc)){var l=[];x0(l,Cc,r,yu(r)),Ph(Au,l)}}function k1(r,l,v){r==="focusin"?(cg(),Tu=l,Cc=v,Tu.attachEvent("onpropertychange",ug)):r==="focusout"&&cg()}function I1(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Zd(Cc)}function Nc(r,l){if(r==="click")return Zd(l)}function xu(r,l){if(r==="input"||r==="change")return Zd(l)}function $1(r,l){return r===l&&(r!==0||1/r===1/l)||r!==r&&l!==l}var Qi=typeof Object.is=="function"?Object.is:$1;function Ra(r,l){if(Qi(r,l))return!0;if(typeof r!="object"||r===null||typeof l!="object"||l===null)return!1;var v=Object.keys(r),x=Object.keys(l);if(v.length!==x.length)return!1;for(x=0;x<v.length;x++){var z=v[x];if(!$t.call(l,z)||!Qi(r[z],l[z]))return!1}return!0}function N0(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function L0(r,l){var v=N0(r);r=0;for(var x;v;){if(v.nodeType===3){if(x=r+v.textContent.length,r<=l&&x>=l)return{node:v,offset:l-r};r=x}e:{for(;v;){if(v.nextSibling){v=v.nextSibling;break e}v=v.parentNode}v=void 0}v=N0(v)}}function _u(r,l){return r&&l?r===l?!0:r&&r.nodeType===3?!1:l&&l.nodeType===3?_u(r,l.parentNode):"contains"in r?r.contains(l):r.compareDocumentPosition?!!(r.compareDocumentPosition(l)&16):!1:!1}function Lc(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var l=gu(r.document);l instanceof r.HTMLIFrameElement;){try{var v=typeof l.contentWindow.location.href=="string"}catch{v=!1}if(v)r=l.contentWindow;else break;l=gu(r.document)}return l}function Yh(r){var l=r&&r.nodeName&&r.nodeName.toLowerCase();return l&&(l==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||l==="textarea"||r.contentEditable==="true")}var Xh=_a&&"documentMode"in document&&11>=document.documentMode,Oc=null,Jd=null,Ma=null,as=!1;function dg(r,l,v){var x=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;as||Oc==null||Oc!==gu(x)||(x=Oc,"selectionStart"in x&&Yh(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),Ma&&Ra(Ma,x)||(Ma=x,x=Pm(Jd,"onSelect"),0<x.length&&(l=new Qt("onSelect","select",null,l,v),r.push({event:l,listeners:x}),l.target=Oc)))}function kl(r,l){var v={};return v[r.toLowerCase()]=l.toLowerCase(),v["Webkit"+r]="webkit"+l,v["Moz"+r]="moz"+l,v}var ss={animationend:kl("Animation","AnimationEnd"),animationiteration:kl("Animation","AnimationIteration"),animationstart:kl("Animation","AnimationStart"),transitionrun:kl("Transition","TransitionRun"),transitionstart:kl("Transition","TransitionStart"),transitioncancel:kl("Transition","TransitionCancel"),transitionend:kl("Transition","TransitionEnd")},ef={},Dc={};_a&&(Dc=document.createElement("div").style,"AnimationEvent"in window||(delete ss.animationend.animation,delete ss.animationiteration.animation,delete ss.animationstart.animation),"TransitionEvent"in window||delete ss.transitionend.transition);function jn(r){if(ef[r])return ef[r];if(!ss[r])return r;var l=ss[r],v;for(v in l)if(l.hasOwnProperty(v)&&v in Dc)return ef[r]=l[v];return r}var qh=jn("animationend"),O0=jn("animationiteration"),fg=jn("animationstart"),Cu=jn("transitionrun"),Kh=jn("transitionstart"),Ps=jn("transitioncancel"),U1=jn("transitionend"),Vs=new Map,tf="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");tf.push("scrollEnd");function ar(r,l){Vs.set(r,l),vi(l,[r])}var Nu=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},wo=[],Ei=0,ka=0;function Zr(){for(var r=Ei,l=ka=Ei=0;l<r;){var v=wo[l];wo[l++]=null;var x=wo[l];wo[l++]=null;var z=wo[l];wo[l++]=null;var V=wo[l];if(wo[l++]=null,x!==null&&z!==null){var ee=x.pending;ee===null?z.next=z:(z.next=ee.next,ee.next=z),x.pending=z}V!==0&&hg(v,z,V)}}function Jr(r,l,v,x){wo[Ei++]=r,wo[Ei++]=l,wo[Ei++]=v,wo[Ei++]=x,ka|=x,r.lanes|=x,r=r.alternate,r!==null&&(r.lanes|=x)}function Ia(r,l,v,x){return Jr(r,l,v,x),Zh(r)}function Il(r,l){return Jr(r,null,null,l),Zh(r)}function hg(r,l,v){r.lanes|=v;var x=r.alternate;x!==null&&(x.lanes|=v);for(var z=!1,V=r.return;V!==null;)V.childLanes|=v,x=V.alternate,x!==null&&(x.childLanes|=v),V.tag===22&&(r=V.stateNode,r===null||r._visibility&1||(z=!0)),r=V,V=V.return;return r.tag===3?(V=r.stateNode,z&&l!==null&&(z=31-xe(v),r=V.hiddenUpdates,x=r[z],x===null?r[z]=[l]:x.push(l),l.lane=v|536870912),V):null}function Zh(r){if(50<Lf)throw Lf=0,km=null,Error(a(185));for(var l=r.return;l!==null;)r=l,l=r.return;return r.tag===3?r.stateNode:null}var sr={};function H1(r,l,v,x){this.tag=r,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Io(r,l,v,x){return new H1(r,l,v,x)}function Lu(r){return r=r.prototype,!(!r||!r.isReactComponent)}function $l(r,l){var v=r.alternate;return v===null?(v=Io(r.tag,l,r.key,r.mode),v.elementType=r.elementType,v.type=r.type,v.stateNode=r.stateNode,v.alternate=r,r.alternate=v):(v.pendingProps=l,v.type=r.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=r.flags&65011712,v.childLanes=r.childLanes,v.lanes=r.lanes,v.child=r.child,v.memoizedProps=r.memoizedProps,v.memoizedState=r.memoizedState,v.updateQueue=r.updateQueue,l=r.dependencies,v.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},v.sibling=r.sibling,v.index=r.index,v.ref=r.ref,v.refCleanup=r.refCleanup,v}function D0(r,l){r.flags&=65011714;var v=r.alternate;return v===null?(r.childLanes=0,r.lanes=l,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=v.childLanes,r.lanes=v.lanes,r.child=v.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=v.memoizedProps,r.memoizedState=v.memoizedState,r.updateQueue=v.updateQueue,r.type=v.type,l=v.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),r}function mg(r,l,v,x,z,V){var ee=0;if(x=r,typeof r=="function")Lu(r)&&(ee=1);else if(typeof r=="string")ee=eE(r,v,ae.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case U:return r=Io(31,v,l,z),r.elementType=U,r.lanes=V,r;case S:return Ul(v.children,z,V,l);case T:ee=8,z|=24;break;case A:return r=Io(12,v,l,z|2),r.elementType=A,r.lanes=V,r;case L:return r=Io(13,v,l,z),r.elementType=L,r.lanes=V,r;case C:return r=Io(19,v,l,z),r.elementType=C,r.lanes=V,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case D:ee=10;break e;case N:ee=9;break e;case R:ee=11;break e;case $:ee=14;break e;case F:ee=16,x=null;break e}ee=29,v=Error(a(130,r===null?"null":typeof r,"")),x=null}return l=Io(ee,v,l,z),l.elementType=r,l.type=x,l.lanes=V,l}function Ul(r,l,v,x){return r=Io(7,r,x,l),r.lanes=v,r}function nf(r,l,v){return r=Io(6,r,null,l),r.lanes=v,r}function R0(r){var l=Io(18,null,null,0);return l.stateNode=r,l}function pg(r,l,v){return l=Io(4,r.children!==null?r.children:[],r.key,l),l.lanes=v,l.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},l}var M0=new WeakMap;function ea(r,l){if(typeof r=="object"&&r!==null){var v=M0.get(r);return v!==void 0?v:(l={value:r,source:l,stack:xt(l)},M0.set(r,l),l)}return{value:r,source:l,stack:xt(l)}}var ta=[],Ou=0,Jh=null,Go=0,Rr=[],lr=0,ls=null,Mr=1,cs="";function $a(r,l){ta[Ou++]=Go,ta[Ou++]=Jh,Jh=r,Go=l}function k0(r,l,v){Rr[lr++]=Mr,Rr[lr++]=cs,Rr[lr++]=ls,ls=r;var x=Mr;r=cs;var z=32-xe(x)-1;x&=~(1<<z),v+=1;var V=32-xe(l)+z;if(30<V){var ee=z-z%5;V=(x&(1<<ee)-1).toString(32),x>>=ee,z-=ee,Mr=1<<32-xe(l)+z|v<<z|x,cs=V+r}else Mr=1<<V|v<<z|x,cs=r}function of(r){r.return!==null&&($a(r,1),k0(r,1,0))}function gg(r){for(;r===Jh;)Jh=ta[--Ou],ta[Ou]=null,Go=ta[--Ou],ta[Ou]=null;for(;r===ls;)ls=Rr[--lr],Rr[lr]=null,cs=Rr[--lr],Rr[lr]=null,Mr=Rr[--lr],Rr[lr]=null}function em(r,l){Rr[lr++]=Mr,Rr[lr++]=cs,Rr[lr++]=ls,Mr=l.id,cs=l.overflow,ls=r}var wi=null,lo=null,wn=!1,Gs=null,ci=!1,Qs=Error(a(519));function Ua(r){var l=Error(a(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw af(ea(l,r)),Qs}function tm(r){var l=r.stateNode,v=r.type,x=r.memoizedProps;switch(l[qt]=r,l[Gn]=x,v){case"dialog":En("cancel",l),En("close",l);break;case"iframe":case"object":case"embed":En("load",l);break;case"video":case"audio":for(v=0;v<If.length;v++)En(If[v],l);break;case"source":En("error",l);break;case"img":case"image":case"link":En("error",l),En("load",l);break;case"details":En("toggle",l);break;case"input":En("invalid",l),Sc(l,x.value,x.defaultValue,x.checked,x.defaultChecked,x.type,x.name,!0);break;case"select":En("invalid",l);break;case"textarea":En("invalid",l),Ac(l,x.value,x.defaultValue,x.children)}v=x.children,typeof v!="string"&&typeof v!="number"&&typeof v!="bigint"||l.textContent===""+v||x.suppressHydrationWarning===!0||Py(l.textContent,v)?(x.popover!=null&&(En("beforetoggle",l),En("toggle",l)),x.onScroll!=null&&En("scroll",l),x.onScrollEnd!=null&&En("scrollend",l),x.onClick!=null&&(l.onclick=Kr),l=!0):l=!1,l||Ua(r,!0)}function rf(r){for(wi=r.return;wi;)switch(wi.tag){case 5:case 31:case 13:ci=!1;return;case 27:case 3:ci=!0;return;default:wi=wi.return}}function Ws(r){if(r!==wi)return!1;if(!wn)return rf(r),wn=!0,!1;var l=r.tag,v;if((v=l!==3&&l!==27)&&((v=l===5)&&(v=r.type,v=!(v!=="form"&&v!=="button")||Uf(r.type,r.memoizedProps)),v=!v),v&&lo&&Ua(r),rf(r),l===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));lo=yb(r)}else if(l===31){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));lo=yb(r)}else l===27?(l=lo,Es(r.type)?(r=Qm,Qm=null,lo=r):lo=l):lo=wi?vr(r.stateNode.nextSibling):null;return!0}function Rc(){lo=wi=null,wn=!1}function I0(){var r=Gs;return r!==null&&(Do===null?Do=r:Do.push.apply(Do,r),Gs=null),r}function af(r){Gs===null?Gs=[r]:Gs.push(r)}var bg=Z(null),Hl=null,us=null;function cr(r,l,v){te(bg,l._currentValue),l._currentValue=v}function ds(r){r._currentValue=bg.current,re(bg)}function vg(r,l,v){for(;r!==null;){var x=r.alternate;if((r.childLanes&l)!==l?(r.childLanes|=l,x!==null&&(x.childLanes|=l)):x!==null&&(x.childLanes&l)!==l&&(x.childLanes|=l),r===v)break;r=r.return}}function Ys(r,l,v,x){var z=r.child;for(z!==null&&(z.return=r);z!==null;){var V=z.dependencies;if(V!==null){var ee=z.child;V=V.firstContext;e:for(;V!==null;){var le=V;V=z;for(var be=0;be<l.length;be++)if(le.context===l[be]){V.lanes|=v,le=V.alternate,le!==null&&(le.lanes|=v),vg(V.return,v,r),x||(ee=null);break e}V=le.next}}else if(z.tag===18){if(ee=z.return,ee===null)throw Error(a(341));ee.lanes|=v,V=ee.alternate,V!==null&&(V.lanes|=v),vg(ee,v,r),ee=null}else ee=z.child;if(ee!==null)ee.return=z;else for(ee=z;ee!==null;){if(ee===r){ee=null;break}if(z=ee.sibling,z!==null){z.return=ee.return,ee=z;break}ee=ee.return}z=ee}}function Si(r,l,v,x){r=null;for(var z=l,V=!1;z!==null;){if(!V){if((z.flags&524288)!==0)V=!0;else if((z.flags&262144)!==0)break}if(z.tag===10){var ee=z.alternate;if(ee===null)throw Error(a(387));if(ee=ee.memoizedProps,ee!==null){var le=z.type;Qi(z.pendingProps.value,ee.value)||(r!==null?r.push(le):r=[le])}}else if(z===ue.current){if(ee=z.alternate,ee===null)throw Error(a(387));ee.memoizedState.memoizedState!==z.memoizedState.memoizedState&&(r!==null?r.push(Xm):r=[Xm])}z=z.return}r!==null&&Ys(l,r,v,x),l.flags|=262144}function Du(r){for(r=r.firstContext;r!==null;){if(!Qi(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function Kt(r){Hl=r,us=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Ye(r){return nm(Hl,r)}function jl(r,l){return Hl===null&&Kt(r),nm(r,l)}function nm(r,l){var v=l._currentValue;if(l={context:l,memoizedValue:v,next:null},us===null){if(r===null)throw Error(a(308));us=l,r.dependencies={lanes:0,firstContext:l},r.flags|=524288}else us=us.next=l;return v}var $o=typeof AbortController<"u"?AbortController:function(){var r=[],l=this.signal={aborted:!1,addEventListener:function(v,x){r.push(x)}};this.abort=function(){l.aborted=!0,r.forEach(function(v){return v()})}},$0=t.unstable_scheduleCallback,U0=t.unstable_NormalPriority,Qo={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function om(){return{controller:new $o,data:new Map,refCount:0}}function im(r){r.refCount--,r.refCount===0&&$0(U0,function(){r.controller.abort()})}var Ru=null,rm=0,Mc=0,Zo=null;function Qn(r,l){if(Ru===null){var v=Ru=[];rm=0,Mc=db(),Zo={status:"pending",value:void 0,then:function(x){v.push(x)}}}return rm++,l.then(am,am),l}function am(){if(--rm===0&&Ru!==null){Zo!==null&&(Zo.status="fulfilled");var r=Ru;Ru=null,Mc=0,Zo=null;for(var l=0;l<r.length;l++)(0,r[l])()}}function sm(r,l){var v=[],x={status:"pending",value:null,reason:null,then:function(z){v.push(z)}};return r.then(function(){x.status="fulfilled",x.value=l;for(var z=0;z<v.length;z++)(0,v[z])(l)},function(z){for(x.status="rejected",x.reason=z,z=0;z<v.length;z++)(0,v[z])(void 0)}),x}var zl=I.S;I.S=function(r,l){Oy=at(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Qn(r,l),zl!==null&&zl(r,l)};var na=Z(null);function oa(){var r=na.current;return r!==null?r:no.pooledCache}function sf(r,l){l===null?te(na,na.current):te(na,l.pool)}function Mu(){var r=oa();return r===null?null:{parent:Qo._currentValue,pool:r}}var kc=Error(a(460)),ku=Error(a(474)),lf=Error(a(542)),Iu={then:function(){}};function H0(r){return r=r.status,r==="fulfilled"||r==="rejected"}function j0(r,l,v){switch(v=r[v],v===void 0?r.push(l):v!==l&&(l.then(Kr,Kr),l=v),l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,yg(r),r;default:if(typeof l.status=="string")l.then(Kr,Kr);else{if(r=no,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=l,r.status="pending",r.then(function(x){if(l.status==="pending"){var z=l;z.status="fulfilled",z.value=x}},function(x){if(l.status==="pending"){var z=l;z.status="rejected",z.reason=x}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw r=l.reason,yg(r),r}throw $c=l,kc}}function Ic(r){try{var l=r._init;return l(r._payload)}catch(v){throw v!==null&&typeof v=="object"&&typeof v.then=="function"?($c=v,kc):v}}var $c=null;function z0(){if($c===null)throw Error(a(459));var r=$c;return $c=null,r}function yg(r){if(r===kc||r===lf)throw Error(a(483))}var Uc=null,$u=0;function lm(r){var l=$u;return $u+=1,Uc===null&&(Uc=[]),j0(Uc,r,l)}function cf(r,l){l=l.props.ref,r.ref=l!==void 0?l:null}function cm(r,l){throw l.$$typeof===d?Error(a(525)):(r=Object.prototype.toString.call(l),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":r)))}function j1(r){function l(Ne,Te){if(r){var De=Ne.deletions;De===null?(Ne.deletions=[Te],Ne.flags|=16):De.push(Te)}}function v(Ne,Te){if(!r)return null;for(;Te!==null;)l(Ne,Te),Te=Te.sibling;return null}function x(Ne){for(var Te=new Map;Ne!==null;)Ne.key!==null?Te.set(Ne.key,Ne):Te.set(Ne.index,Ne),Ne=Ne.sibling;return Te}function z(Ne,Te){return Ne=$l(Ne,Te),Ne.index=0,Ne.sibling=null,Ne}function V(Ne,Te,De){return Ne.index=De,r?(De=Ne.alternate,De!==null?(De=De.index,De<Te?(Ne.flags|=67108866,Te):De):(Ne.flags|=67108866,Te)):(Ne.flags|=1048576,Te)}function ee(Ne){return r&&Ne.alternate===null&&(Ne.flags|=67108866),Ne}function le(Ne,Te,De,Qe){return Te===null||Te.tag!==6?(Te=nf(De,Ne.mode,Qe),Te.return=Ne,Te):(Te=z(Te,De),Te.return=Ne,Te)}function be(Ne,Te,De,Qe){var Dt=De.type;return Dt===S?Fe(Ne,Te,De.props.children,Qe,De.key):Te!==null&&(Te.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===F&&Ic(Dt)===Te.type)?(Te=z(Te,De.props),cf(Te,De),Te.return=Ne,Te):(Te=mg(De.type,De.key,De.props,null,Ne.mode,Qe),cf(Te,De),Te.return=Ne,Te)}function Me(Ne,Te,De,Qe){return Te===null||Te.tag!==4||Te.stateNode.containerInfo!==De.containerInfo||Te.stateNode.implementation!==De.implementation?(Te=pg(De,Ne.mode,Qe),Te.return=Ne,Te):(Te=z(Te,De.children||[]),Te.return=Ne,Te)}function Fe(Ne,Te,De,Qe,Dt){return Te===null||Te.tag!==7?(Te=Ul(De,Ne.mode,Qe,Dt),Te.return=Ne,Te):(Te=z(Te,De),Te.return=Ne,Te)}function We(Ne,Te,De){if(typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint")return Te=nf(""+Te,Ne.mode,De),Te.return=Ne,Te;if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case h:return De=mg(Te.type,Te.key,Te.props,null,Ne.mode,De),cf(De,Te),De.return=Ne,De;case m:return Te=pg(Te,Ne.mode,De),Te.return=Ne,Te;case F:return Te=Ic(Te),We(Ne,Te,De)}if(M(Te)||P(Te))return Te=Ul(Te,Ne.mode,De,null),Te.return=Ne,Te;if(typeof Te.then=="function")return We(Ne,lm(Te),De);if(Te.$$typeof===D)return We(Ne,jl(Ne,Te),De);cm(Ne,Te)}return null}function ke(Ne,Te,De,Qe){var Dt=Te!==null?Te.key:null;if(typeof De=="string"&&De!==""||typeof De=="number"||typeof De=="bigint")return Dt!==null?null:le(Ne,Te,""+De,Qe);if(typeof De=="object"&&De!==null){switch(De.$$typeof){case h:return De.key===Dt?be(Ne,Te,De,Qe):null;case m:return De.key===Dt?Me(Ne,Te,De,Qe):null;case F:return De=Ic(De),ke(Ne,Te,De,Qe)}if(M(De)||P(De))return Dt!==null?null:Fe(Ne,Te,De,Qe,null);if(typeof De.then=="function")return ke(Ne,Te,lm(De),Qe);if(De.$$typeof===D)return ke(Ne,Te,jl(Ne,De),Qe);cm(Ne,De)}return null}function He(Ne,Te,De,Qe,Dt){if(typeof Qe=="string"&&Qe!==""||typeof Qe=="number"||typeof Qe=="bigint")return Ne=Ne.get(De)||null,le(Te,Ne,""+Qe,Dt);if(typeof Qe=="object"&&Qe!==null){switch(Qe.$$typeof){case h:return Ne=Ne.get(Qe.key===null?De:Qe.key)||null,be(Te,Ne,Qe,Dt);case m:return Ne=Ne.get(Qe.key===null?De:Qe.key)||null,Me(Te,Ne,Qe,Dt);case F:return Qe=Ic(Qe),He(Ne,Te,De,Qe,Dt)}if(M(Qe)||P(Qe))return Ne=Ne.get(De)||null,Fe(Te,Ne,Qe,Dt,null);if(typeof Qe.then=="function")return He(Ne,Te,De,lm(Qe),Dt);if(Qe.$$typeof===D)return He(Ne,Te,De,jl(Te,Qe),Dt);cm(Te,Qe)}return null}function wt(Ne,Te,De,Qe){for(var Dt=null,Mn=null,At=Te,nn=Te=0,cn=null;At!==null&&nn<De.length;nn++){At.index>nn?(cn=At,At=null):cn=At.sibling;var Un=ke(Ne,At,De[nn],Qe);if(Un===null){At===null&&(At=cn);break}r&&At&&Un.alternate===null&&l(Ne,At),Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un,At=cn}if(nn===De.length)return v(Ne,At),wn&&$a(Ne,nn),Dt;if(At===null){for(;nn<De.length;nn++)At=We(Ne,De[nn],Qe),At!==null&&(Te=V(At,Te,nn),Mn===null?Dt=At:Mn.sibling=At,Mn=At);return wn&&$a(Ne,nn),Dt}for(At=x(At);nn<De.length;nn++)cn=He(At,Ne,nn,De[nn],Qe),cn!==null&&(r&&cn.alternate!==null&&At.delete(cn.key===null?nn:cn.key),Te=V(cn,Te,nn),Mn===null?Dt=cn:Mn.sibling=cn,Mn=cn);return r&&At.forEach(function(Ts){return l(Ne,Ts)}),wn&&$a(Ne,nn),Dt}function zt(Ne,Te,De,Qe){if(De==null)throw Error(a(151));for(var Dt=null,Mn=null,At=Te,nn=Te=0,cn=null,Un=De.next();At!==null&&!Un.done;nn++,Un=De.next()){At.index>nn?(cn=At,At=null):cn=At.sibling;var Ts=ke(Ne,At,Un.value,Qe);if(Ts===null){At===null&&(At=cn);break}r&&At&&Ts.alternate===null&&l(Ne,At),Te=V(Ts,Te,nn),Mn===null?Dt=Ts:Mn.sibling=Ts,Mn=Ts,At=cn}if(Un.done)return v(Ne,At),wn&&$a(Ne,nn),Dt;if(At===null){for(;!Un.done;nn++,Un=De.next())Un=We(Ne,Un.value,Qe),Un!==null&&(Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un);return wn&&$a(Ne,nn),Dt}for(At=x(At);!Un.done;nn++,Un=De.next())Un=He(At,Ne,nn,Un.value,Qe),Un!==null&&(r&&Un.alternate!==null&&At.delete(Un.key===null?nn:Un.key),Te=V(Un,Te,nn),Mn===null?Dt=Un:Mn.sibling=Un,Mn=Un);return r&&At.forEach(function(PS){return l(Ne,PS)}),wn&&$a(Ne,nn),Dt}function io(Ne,Te,De,Qe){if(typeof De=="object"&&De!==null&&De.type===S&&De.key===null&&(De=De.props.children),typeof De=="object"&&De!==null){switch(De.$$typeof){case h:e:{for(var Dt=De.key;Te!==null;){if(Te.key===Dt){if(Dt=De.type,Dt===S){if(Te.tag===7){v(Ne,Te.sibling),Qe=z(Te,De.props.children),Qe.return=Ne,Ne=Qe;break e}}else if(Te.elementType===Dt||typeof Dt=="object"&&Dt!==null&&Dt.$$typeof===F&&Ic(Dt)===Te.type){v(Ne,Te.sibling),Qe=z(Te,De.props),cf(Qe,De),Qe.return=Ne,Ne=Qe;break e}v(Ne,Te);break}else l(Ne,Te);Te=Te.sibling}De.type===S?(Qe=Ul(De.props.children,Ne.mode,Qe,De.key),Qe.return=Ne,Ne=Qe):(Qe=mg(De.type,De.key,De.props,null,Ne.mode,Qe),cf(Qe,De),Qe.return=Ne,Ne=Qe)}return ee(Ne);case m:e:{for(Dt=De.key;Te!==null;){if(Te.key===Dt)if(Te.tag===4&&Te.stateNode.containerInfo===De.containerInfo&&Te.stateNode.implementation===De.implementation){v(Ne,Te.sibling),Qe=z(Te,De.children||[]),Qe.return=Ne,Ne=Qe;break e}else{v(Ne,Te);break}else l(Ne,Te);Te=Te.sibling}Qe=pg(De,Ne.mode,Qe),Qe.return=Ne,Ne=Qe}return ee(Ne);case F:return De=Ic(De),io(Ne,Te,De,Qe)}if(M(De))return wt(Ne,Te,De,Qe);if(P(De)){if(Dt=P(De),typeof Dt!="function")throw Error(a(150));return De=Dt.call(De),zt(Ne,Te,De,Qe)}if(typeof De.then=="function")return io(Ne,Te,lm(De),Qe);if(De.$$typeof===D)return io(Ne,Te,jl(Ne,De),Qe);cm(Ne,De)}return typeof De=="string"&&De!==""||typeof De=="number"||typeof De=="bigint"?(De=""+De,Te!==null&&Te.tag===6?(v(Ne,Te.sibling),Qe=z(Te,De),Qe.return=Ne,Ne=Qe):(v(Ne,Te),Qe=nf(De,Ne.mode,Qe),Qe.return=Ne,Ne=Qe),ee(Ne)):v(Ne,Te)}return function(Ne,Te,De,Qe){try{$u=0;var Dt=io(Ne,Te,De,Qe);return Uc=null,Dt}catch(At){if(At===kc||At===lf)throw At;var Mn=Io(29,At,null,Ne.mode);return Mn.lanes=Qe,Mn.return=Ne,Mn}finally{}}}var Hc=j1(!0),B0=j1(!1),Bl=!1;function um(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Eg(r,l){r=r.updateQueue,l.updateQueue===r&&(l.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function Fl(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function ia(r,l,v){var x=r.updateQueue;if(x===null)return null;if(x=x.shared,($n&2)!==0){var z=x.pending;return z===null?l.next=l:(l.next=z.next,z.next=l),x.pending=l,l=Zh(r),hg(r,null,v),l}return Jr(r,x,l,v),Zh(r)}function jc(r,l,v){if(l=l.updateQueue,l!==null&&(l=l.shared,(v&4194048)!==0)){var x=l.lanes;x&=r.pendingLanes,v|=x,l.lanes=v,On(r,v)}}function wg(r,l){var v=r.updateQueue,x=r.alternate;if(x!==null&&(x=x.updateQueue,v===x)){var z=null,V=null;if(v=v.firstBaseUpdate,v!==null){do{var ee={lane:v.lane,tag:v.tag,payload:v.payload,callback:null,next:null};V===null?z=V=ee:V=V.next=ee,v=v.next}while(v!==null);V===null?z=V=l:V=V.next=l}else z=V=l;v={baseState:x.baseState,firstBaseUpdate:z,lastBaseUpdate:V,shared:x.shared,callbacks:x.callbacks},r.updateQueue=v;return}r=v.lastBaseUpdate,r===null?v.firstBaseUpdate=l:r.next=l,v.lastBaseUpdate=l}var F0=!1;function zc(){if(F0){var r=Zo;if(r!==null)throw r}}function Xs(r,l,v,x){F0=!1;var z=r.updateQueue;Bl=!1;var V=z.firstBaseUpdate,ee=z.lastBaseUpdate,le=z.shared.pending;if(le!==null){z.shared.pending=null;var be=le,Me=be.next;be.next=null,ee===null?V=Me:ee.next=Me,ee=be;var Fe=r.alternate;Fe!==null&&(Fe=Fe.updateQueue,le=Fe.lastBaseUpdate,le!==ee&&(le===null?Fe.firstBaseUpdate=Me:le.next=Me,Fe.lastBaseUpdate=be))}if(V!==null){var We=z.baseState;ee=0,Fe=Me=be=null,le=V;do{var ke=le.lane&-536870913,He=ke!==le.lane;if(He?(gn&ke)===ke:(x&ke)===ke){ke!==0&&ke===Mc&&(F0=!0),Fe!==null&&(Fe=Fe.next={lane:0,tag:le.tag,payload:le.payload,callback:null,next:null});e:{var wt=r,zt=le;ke=l;var io=v;switch(zt.tag){case 1:if(wt=zt.payload,typeof wt=="function"){We=wt.call(io,We,ke);break e}We=wt;break e;case 3:wt.flags=wt.flags&-65537|128;case 0:if(wt=zt.payload,ke=typeof wt=="function"?wt.call(io,We,ke):wt,ke==null)break e;We=u({},We,ke);break e;case 2:Bl=!0}}ke=le.callback,ke!==null&&(r.flags|=64,He&&(r.flags|=8192),He=z.callbacks,He===null?z.callbacks=[ke]:He.push(ke))}else He={lane:ke,tag:le.tag,payload:le.payload,callback:le.callback,next:null},Fe===null?(Me=Fe=He,be=We):Fe=Fe.next=He,ee|=ke;if(le=le.next,le===null){if(le=z.shared.pending,le===null)break;He=le,le=He.next,He.next=null,z.lastBaseUpdate=He,z.shared.pending=null}}while(!0);Fe===null&&(be=We),z.baseState=be,z.firstBaseUpdate=Me,z.lastBaseUpdate=Fe,V===null&&(z.shared.lanes=0),vs|=ee,r.lanes=ee,r.memoizedState=We}}function Sg(r,l){if(typeof r!="function")throw Error(a(191,r));r.call(l)}function Bc(r,l){var v=r.callbacks;if(v!==null)for(r.callbacks=null,r=0;r<v.length;r++)Sg(v[r],l)}var ui=Z(null),Uu=Z(0);function z1(r,l){r=bs,te(Uu,r),te(ui,l),bs=r|l.baseLanes}function dm(){te(Uu,bs),te(ui,ui.current)}function uf(){bs=Uu.current,re(ui),re(Uu)}var ur=Z(null),ra=null;function qs(r){var l=r.alternate;te(So,So.current&1),te(ur,r),ra===null&&(l===null||ui.current!==null||l.memoizedState!==null)&&(ra=r)}function df(r){te(So,So.current),te(ur,r),ra===null&&(ra=r)}function Tg(r){r.tag===22?(te(So,So.current),te(ur,r),ra===null&&(ra=r)):fs()}function fs(){te(So,So.current),te(ur,ur.current)}function dr(r){re(ur),ra===r&&(ra=null),re(So)}var So=Z(0);function ff(r){for(var l=r;l!==null;){if(l.tag===13){var v=l.memoizedState;if(v!==null&&(v=v.dehydrated,v===null||Ba(v)||Jc(v)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Ks=0,rn=null,Wn=null,Wo=null,Hu=!1,ju=!1,Pl=!1,fm=0,hf=0,Fc=null,B1=0;function Lo(){throw Error(a(321))}function Vl(r,l){if(l===null)return!1;for(var v=0;v<l.length&&v<r.length;v++)if(!Qi(r[v],l[v]))return!1;return!0}function hm(r,l,v,x,z,V){return Ks=V,rn=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,I.H=r===null||r.memoizedState===null?X1:zg,Pl=!1,V=v(x,z),Pl=!1,ju&&(V=F1(l,v,x,z)),Ag(r),V}function Ag(r){I.H=Sm;var l=Wn!==null&&Wn.next!==null;if(Ks=0,Wo=Wn=rn=null,Hu=!1,hf=0,Fc=null,l)throw Error(a(300));r===null||Yo||(r=r.dependencies,r!==null&&Du(r)&&(Yo=!0))}function F1(r,l,v,x){rn=r;var z=0;do{if(ju&&(Fc=null),hf=0,ju=!1,25<=z)throw Error(a(301));if(z+=1,Wo=Wn=null,r.updateQueue!=null){var V=r.updateQueue;V.lastEffect=null,V.events=null,V.stores=null,V.memoCache!=null&&(V.memoCache.index=0)}I.H=q1,V=l(v,x)}while(ju);return V}function EC(){var r=I.H,l=r.useState()[0];return l=typeof l.then=="function"?Bu(l):l,r=r.useState()[0],(Wn!==null?Wn.memoizedState:null)!==r&&(rn.flags|=1024),l}function xg(){var r=fm!==0;return fm=0,r}function zu(r,l,v){l.updateQueue=r.updateQueue,l.flags&=-2053,r.lanes&=~v}function mm(r){if(Hu){for(r=r.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Hu=!1}Ks=0,Wo=Wn=rn=null,ju=!1,hf=fm=0,Fc=null}function Ti(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wo===null?rn.memoizedState=Wo=r:Wo=Wo.next=r,Wo}function Uo(){if(Wn===null){var r=rn.alternate;r=r!==null?r.memoizedState:null}else r=Wn.next;var l=Wo===null?rn.memoizedState:Wo.next;if(l!==null)Wo=l,Wn=r;else{if(r===null)throw rn.alternate===null?Error(a(467)):Error(a(310));Wn=r,r={memoizedState:Wn.memoizedState,baseState:Wn.baseState,baseQueue:Wn.baseQueue,queue:Wn.queue,next:null},Wo===null?rn.memoizedState=Wo=r:Wo=Wo.next=r}return Wo}function pm(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Bu(r){var l=hf;return hf+=1,Fc===null&&(Fc=[]),r=j0(Fc,r,l),l=rn,(Wo===null?l.memoizedState:Wo.next)===null&&(l=l.alternate,I.H=l===null||l.memoizedState===null?X1:zg),r}function mf(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Bu(r);if(r.$$typeof===D)return Ye(r)}throw Error(a(438,String(r)))}function _g(r){var l=null,v=rn.updateQueue;if(v!==null&&(l=v.memoCache),l==null){var x=rn.alternate;x!==null&&(x=x.updateQueue,x!==null&&(x=x.memoCache,x!=null&&(l={data:x.data.map(function(z){return z.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),v===null&&(v=pm(),rn.updateQueue=v),v.memoCache=l,v=l.data[l.index],v===void 0)for(v=l.data[l.index]=Array(r),x=0;x<r;x++)v[x]=j;return l.index++,v}function Zs(r,l){return typeof l=="function"?l(r):l}function Js(r){var l=Uo();return Cg(l,Wn,r)}function Cg(r,l,v){var x=r.queue;if(x===null)throw Error(a(311));x.lastRenderedReducer=v;var z=r.baseQueue,V=x.pending;if(V!==null){if(z!==null){var ee=z.next;z.next=V.next,V.next=ee}l.baseQueue=z=V,x.pending=null}if(V=r.baseState,z===null)r.memoizedState=V;else{l=z.next;var le=ee=null,be=null,Me=l,Fe=!1;do{var We=Me.lane&-536870913;if(We!==Me.lane?(gn&We)===We:(Ks&We)===We){var ke=Me.revertLane;if(ke===0)be!==null&&(be=be.next={lane:0,revertLane:0,gesture:null,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null}),We===Mc&&(Fe=!0);else if((Ks&ke)===ke){Me=Me.next,ke===Mc&&(Fe=!0);continue}else We={lane:0,revertLane:Me.revertLane,gesture:null,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null},be===null?(le=be=We,ee=V):be=be.next=We,rn.lanes|=ke,vs|=ke;We=Me.action,Pl&&v(V,We),V=Me.hasEagerState?Me.eagerState:v(V,We)}else ke={lane:We,revertLane:Me.revertLane,gesture:Me.gesture,action:Me.action,hasEagerState:Me.hasEagerState,eagerState:Me.eagerState,next:null},be===null?(le=be=ke,ee=V):be=be.next=ke,rn.lanes|=We,vs|=We;Me=Me.next}while(Me!==null&&Me!==l);if(be===null?ee=V:be.next=le,!Qi(V,r.memoizedState)&&(Yo=!0,Fe&&(v=Zo,v!==null)))throw v;r.memoizedState=V,r.baseState=ee,r.baseQueue=be,x.lastRenderedState=V}return z===null&&(x.lanes=0),[r.memoizedState,x.dispatch]}function Ng(r){var l=Uo(),v=l.queue;if(v===null)throw Error(a(311));v.lastRenderedReducer=r;var x=v.dispatch,z=v.pending,V=l.memoizedState;if(z!==null){v.pending=null;var ee=z=z.next;do V=r(V,ee.action),ee=ee.next;while(ee!==z);Qi(V,l.memoizedState)||(Yo=!0),l.memoizedState=V,l.baseQueue===null&&(l.baseState=V),v.lastRenderedState=V}return[V,x]}function P0(r,l,v){var x=rn,z=Uo(),V=wn;if(V){if(v===void 0)throw Error(a(407));v=v()}else v=l();var ee=!Qi((Wn||z).memoizedState,v);if(ee&&(z.memoizedState=v,Yo=!0),z=z.queue,Mg(Lg.bind(null,x,z,r),[r]),z.getSnapshot!==l||ee||Wo!==null&&Wo.memoizedState.tag&1){if(x.flags|=2048,Pu(9,{destroy:void 0},V0.bind(null,x,z,v,l),null),no===null)throw Error(a(349));V||(Ks&127)!==0||gm(x,l,v)}return v}function gm(r,l,v){r.flags|=16384,r={getSnapshot:l,value:v},l=rn.updateQueue,l===null?(l=pm(),rn.updateQueue=l,l.stores=[r]):(v=l.stores,v===null?l.stores=[r]:v.push(r))}function V0(r,l,v,x){l.value=v,l.getSnapshot=x,Og(l)&&Dg(r)}function Lg(r,l,v){return v(function(){Og(l)&&Dg(r)})}function Og(r){var l=r.getSnapshot;r=r.value;try{var v=l();return!Qi(r,v)}catch{return!0}}function Dg(r){var l=Il(r,2);l!==null&&br(l,r,2)}function G0(r){var l=Ti();if(typeof r=="function"){var v=r;if(r=v(),Pl){Et(!0);try{v()}finally{Et(!1)}}}return l.memoizedState=l.baseState=r,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:r},l}function Ai(r,l,v,x){return r.baseState=v,Cg(r,Wn,typeof x=="function"?x:Zs)}function P1(r,l,v,x,z){if(wm(r))throw Error(a(485));if(r=l.action,r!==null){var V={payload:z,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(ee){V.listeners.push(ee)}};I.T!==null?v(!0):V.isTransition=!1,x(V),v=l.pending,v===null?(V.next=l.pending=V,Q0(l,V)):(V.next=v.next,l.pending=v.next=V)}}function Q0(r,l){var v=l.action,x=l.payload,z=r.state;if(l.isTransition){var V=I.T,ee={};I.T=ee;try{var le=v(z,x),be=I.S;be!==null&&be(ee,le),W0(r,l,le)}catch(Me){Fu(r,l,Me)}finally{V!==null&&ee.types!==null&&(V.types=ee.types),I.T=V}}else try{V=v(z,x),W0(r,l,V)}catch(Me){Fu(r,l,Me)}}function W0(r,l,v){v!==null&&typeof v=="object"&&typeof v.then=="function"?v.then(function(x){Y0(r,l,x)},function(x){return Fu(r,l,x)}):Y0(r,l,v)}function Y0(r,l,v){l.status="fulfilled",l.value=v,X0(l),r.state=v,l=r.pending,l!==null&&(v=l.next,v===l?r.pending=null:(v=v.next,l.next=v,Q0(r,v)))}function Fu(r,l,v){var x=r.pending;if(r.pending=null,x!==null){x=x.next;do l.status="rejected",l.reason=v,X0(l),l=l.next;while(l!==x)}r.action=null}function X0(r){r=r.listeners;for(var l=0;l<r.length;l++)(0,r[l])()}function bm(r,l){return l}function q0(r,l){if(wn){var v=no.formState;if(v!==null){e:{var x=rn;if(wn){if(lo){t:{for(var z=lo,V=ci;z.nodeType!==8;){if(!V){z=null;break t}if(z=vr(z.nextSibling),z===null){z=null;break t}}V=z.data,z=V==="F!"||V==="F"?z:null}if(z){lo=vr(z.nextSibling),x=z.data==="F!";break e}}Ua(x)}x=!1}x&&(l=v[0])}}return v=Ti(),v.memoizedState=v.baseState=l,x={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bm,lastRenderedState:l},v.queue=x,v=Hg.bind(null,rn,x),x.dispatch=v,x=G0(!1),V=Pc.bind(null,rn,!1,x.queue),x=Ti(),z={state:l,dispatch:null,action:r,pending:null},x.queue=z,v=P1.bind(null,rn,z,V,v),z.dispatch=v,x.memoizedState=r,[l,v,!1]}function V1(r){var l=Uo();return vm(l,Wn,r)}function vm(r,l,v){if(l=Cg(r,l,bm)[0],r=Js(Zs)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var x=Bu(l)}catch(ee){throw ee===kc?lf:ee}else x=l;l=Uo();var z=l.queue,V=z.dispatch;return v!==l.memoizedState&&(rn.flags|=2048,Pu(9,{destroy:void 0},K0.bind(null,z,v),null)),[x,V,r]}function K0(r,l){r.action=l}function Z0(r){var l=Uo(),v=Wn;if(v!==null)return vm(l,v,r);Uo(),l=l.memoizedState,v=Uo();var x=v.queue.dispatch;return v.memoizedState=r,[l,x,!1]}function Pu(r,l,v,x){return r={tag:r,create:v,deps:x,inst:l,next:null},l=rn.updateQueue,l===null&&(l=pm(),rn.updateQueue=l),v=l.lastEffect,v===null?l.lastEffect=r.next=r:(x=v.next,v.next=r,r.next=x,l.lastEffect=r),r}function J0(){return Uo().memoizedState}function pf(r,l,v,x){var z=Ti();rn.flags|=r,z.memoizedState=Pu(1|l,{destroy:void 0},v,x===void 0?null:x)}function gf(r,l,v,x){var z=Uo();x=x===void 0?null:x;var V=z.memoizedState.inst;Wn!==null&&x!==null&&Vl(x,Wn.memoizedState.deps)?z.memoizedState=Pu(l,V,v,x):(rn.flags|=r,z.memoizedState=Pu(1|l,V,v,x))}function Rg(r,l){pf(8390656,8,r,l)}function Mg(r,l){gf(2048,8,r,l)}function ey(r){rn.flags|=4;var l=rn.updateQueue;if(l===null)l=pm(),rn.updateQueue=l,l.events=[r];else{var v=l.events;v===null?l.events=[r]:v.push(r)}}function ym(r){var l=Uo().memoizedState;return ey({ref:l,nextImpl:r}),function(){if(($n&2)!==0)throw Error(a(440));return l.impl.apply(void 0,arguments)}}function kg(r,l){return gf(4,2,r,l)}function ty(r,l){return gf(4,4,r,l)}function Ig(r,l){if(typeof l=="function"){r=r();var v=l(r);return function(){typeof v=="function"?v():l(null)}}if(l!=null)return r=r(),l.current=r,function(){l.current=null}}function ny(r,l,v){v=v!=null?v.concat([r]):null,gf(4,4,Ig.bind(null,l,r),v)}function hs(){}function $g(r,l){var v=Uo();l=l===void 0?null:l;var x=v.memoizedState;return l!==null&&Vl(l,x[1])?x[0]:(v.memoizedState=[r,l],r)}function G1(r,l){var v=Uo();l=l===void 0?null:l;var x=v.memoizedState;if(l!==null&&Vl(l,x[1]))return x[0];if(x=r(),Pl){Et(!0);try{r()}finally{Et(!1)}}return v.memoizedState=[x,l],x}function Em(r,l,v){return v===void 0||(Ks&1073741824)!==0&&(gn&261930)===0?r.memoizedState=l:(r.memoizedState=v,r=aS(),rn.lanes|=r,vs|=r,v)}function el(r,l,v,x){return Qi(v,l)?v:ui.current!==null?(r=Em(r,v,x),Qi(r,l)||(Yo=!0),r):(Ks&42)===0||(Ks&1073741824)!==0&&(gn&261930)===0?(Yo=!0,r.memoizedState=v):(r=aS(),rn.lanes|=r,vs|=r,l)}function Ug(r,l,v,x,z){var V=W.p;W.p=V!==0&&8>V?V:8;var ee=I.T,le={};I.T=le,Pc(r,!1,l,v);try{var be=z(),Me=I.S;if(Me!==null&&Me(le,be),be!==null&&typeof be=="object"&&typeof be.then=="function"){var Fe=sm(be,x);Gl(r,l,Fe,Ur(r))}else Gl(r,l,x,Ur(r))}catch(We){Gl(r,l,{then:function(){},status:"rejected",reason:We},Ur())}finally{W.p=V,ee!==null&&le.types!==null&&(ee.types=le.types),I.T=ee}}function Q1(){}function bf(r,l,v,x){if(r.tag!==5)throw Error(a(476));var z=vf(r).queue;Ug(r,z,l,Q,v===null?Q1:function(){return to(r),v(x)})}function vf(r){var l=r.memoizedState;if(l!==null)return l;l={memoizedState:Q,baseState:Q,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:Q},next:null};var v={};return l.next={memoizedState:v,baseState:v,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Zs,lastRenderedState:v},next:null},r.memoizedState=l,r=r.alternate,r!==null&&(r.memoizedState=l),l}function to(r){var l=vf(r);l.next===null&&(l=r.alternate.memoizedState),Gl(r,l.next.queue,{},Ur())}function oy(){return Ye(Xm)}function W1(){return Uo().memoizedState}function iy(){return Uo().memoizedState}function tl(r){for(var l=r.return;l!==null;){switch(l.tag){case 24:case 3:var v=Ur();r=Fl(v);var x=ia(l,r,v);x!==null&&(br(x,l,v),jc(x,l,v)),l={cache:om()},r.payload=l;return}l=l.return}}function Y1(r,l,v){var x=Ur();v={lane:x,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null},wm(r)?jg(l,v):(v=Ia(r,l,v,x),v!==null&&(br(v,r,x),ry(v,l,x)))}function Hg(r,l,v){var x=Ur();Gl(r,l,v,x)}function Gl(r,l,v,x){var z={lane:x,revertLane:0,gesture:null,action:v,hasEagerState:!1,eagerState:null,next:null};if(wm(r))jg(l,z);else{var V=r.alternate;if(r.lanes===0&&(V===null||V.lanes===0)&&(V=l.lastRenderedReducer,V!==null))try{var ee=l.lastRenderedState,le=V(ee,v);if(z.hasEagerState=!0,z.eagerState=le,Qi(le,ee))return Jr(r,l,z,0),no===null&&Zr(),!1}catch{}finally{}if(v=Ia(r,l,z,x),v!==null)return br(v,r,x),ry(v,l,x),!0}return!1}function Pc(r,l,v,x){if(x={lane:2,revertLane:db(),gesture:null,action:x,hasEagerState:!1,eagerState:null,next:null},wm(r)){if(l)throw Error(a(479))}else l=Ia(r,v,x,2),l!==null&&br(l,r,2)}function wm(r){var l=r.alternate;return r===rn||l!==null&&l===rn}function jg(r,l){ju=Hu=!0;var v=r.pending;v===null?l.next=l:(l.next=v.next,v.next=l),r.pending=l}function ry(r,l,v){if((v&4194048)!==0){var x=l.lanes;x&=r.pendingLanes,v|=x,l.lanes=v,On(r,v)}}var Sm={readContext:Ye,use:mf,useCallback:Lo,useContext:Lo,useEffect:Lo,useImperativeHandle:Lo,useLayoutEffect:Lo,useInsertionEffect:Lo,useMemo:Lo,useReducer:Lo,useRef:Lo,useState:Lo,useDebugValue:Lo,useDeferredValue:Lo,useTransition:Lo,useSyncExternalStore:Lo,useId:Lo,useHostTransitionStatus:Lo,useFormState:Lo,useActionState:Lo,useOptimistic:Lo,useMemoCache:Lo,useCacheRefresh:Lo};Sm.useEffectEvent=Lo;var X1={readContext:Ye,use:mf,useCallback:function(r,l){return Ti().memoizedState=[r,l===void 0?null:l],r},useContext:Ye,useEffect:Rg,useImperativeHandle:function(r,l,v){v=v!=null?v.concat([r]):null,pf(4194308,4,Ig.bind(null,l,r),v)},useLayoutEffect:function(r,l){return pf(4194308,4,r,l)},useInsertionEffect:function(r,l){pf(4,2,r,l)},useMemo:function(r,l){var v=Ti();l=l===void 0?null:l;var x=r();if(Pl){Et(!0);try{r()}finally{Et(!1)}}return v.memoizedState=[x,l],x},useReducer:function(r,l,v){var x=Ti();if(v!==void 0){var z=v(l);if(Pl){Et(!0);try{v(l)}finally{Et(!1)}}}else z=l;return x.memoizedState=x.baseState=z,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:z},x.queue=r,r=r.dispatch=Y1.bind(null,rn,r),[x.memoizedState,r]},useRef:function(r){var l=Ti();return r={current:r},l.memoizedState=r},useState:function(r){r=G0(r);var l=r.queue,v=Hg.bind(null,rn,l);return l.dispatch=v,[r.memoizedState,v]},useDebugValue:hs,useDeferredValue:function(r,l){var v=Ti();return Em(v,r,l)},useTransition:function(){var r=G0(!1);return r=Ug.bind(null,rn,r.queue,!0,!1),Ti().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,l,v){var x=rn,z=Ti();if(wn){if(v===void 0)throw Error(a(407));v=v()}else{if(v=l(),no===null)throw Error(a(349));(gn&127)!==0||gm(x,l,v)}z.memoizedState=v;var V={value:v,getSnapshot:l};return z.queue=V,Rg(Lg.bind(null,x,V,r),[r]),x.flags|=2048,Pu(9,{destroy:void 0},V0.bind(null,x,V,v,l),null),v},useId:function(){var r=Ti(),l=no.identifierPrefix;if(wn){var v=cs,x=Mr;v=(x&~(1<<32-xe(x)-1)).toString(32)+v,l="_"+l+"R_"+v,v=fm++,0<v&&(l+="H"+v.toString(32)),l+="_"}else v=B1++,l="_"+l+"r_"+v.toString(32)+"_";return r.memoizedState=l},useHostTransitionStatus:oy,useFormState:q0,useActionState:q0,useOptimistic:function(r){var l=Ti();l.memoizedState=l.baseState=r;var v={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=v,l=Pc.bind(null,rn,!0,v),v.dispatch=l,[r,l]},useMemoCache:_g,useCacheRefresh:function(){return Ti().memoizedState=tl.bind(null,rn)},useEffectEvent:function(r){var l=Ti(),v={impl:r};return l.memoizedState=v,function(){if(($n&2)!==0)throw Error(a(440));return v.impl.apply(void 0,arguments)}}},zg={readContext:Ye,use:mf,useCallback:$g,useContext:Ye,useEffect:Mg,useImperativeHandle:ny,useInsertionEffect:kg,useLayoutEffect:ty,useMemo:G1,useReducer:Js,useRef:J0,useState:function(){return Js(Zs)},useDebugValue:hs,useDeferredValue:function(r,l){var v=Uo();return el(v,Wn.memoizedState,r,l)},useTransition:function(){var r=Js(Zs)[0],l=Uo().memoizedState;return[typeof r=="boolean"?r:Bu(r),l]},useSyncExternalStore:P0,useId:W1,useHostTransitionStatus:oy,useFormState:V1,useActionState:V1,useOptimistic:function(r,l){var v=Uo();return Ai(v,Wn,r,l)},useMemoCache:_g,useCacheRefresh:iy};zg.useEffectEvent=ym;var q1={readContext:Ye,use:mf,useCallback:$g,useContext:Ye,useEffect:Mg,useImperativeHandle:ny,useInsertionEffect:kg,useLayoutEffect:ty,useMemo:G1,useReducer:Ng,useRef:J0,useState:function(){return Ng(Zs)},useDebugValue:hs,useDeferredValue:function(r,l){var v=Uo();return Wn===null?Em(v,r,l):el(v,Wn.memoizedState,r,l)},useTransition:function(){var r=Ng(Zs)[0],l=Uo().memoizedState;return[typeof r=="boolean"?r:Bu(r),l]},useSyncExternalStore:P0,useId:W1,useHostTransitionStatus:oy,useFormState:Z0,useActionState:Z0,useOptimistic:function(r,l){var v=Uo();return Wn!==null?Ai(v,Wn,r,l):(v.baseState=r,[r,v.queue.dispatch])},useMemoCache:_g,useCacheRefresh:iy};q1.useEffectEvent=ym;function Vu(r,l,v,x){l=r.memoizedState,v=v(x,l),v=v==null?l:u({},l,v),r.memoizedState=v,r.lanes===0&&(r.updateQueue.baseState=v)}var Ha={enqueueSetState:function(r,l,v){r=r._reactInternals;var x=Ur(),z=Fl(x);z.payload=l,v!=null&&(z.callback=v),l=ia(r,z,x),l!==null&&(br(l,r,x),jc(l,r,x))},enqueueReplaceState:function(r,l,v){r=r._reactInternals;var x=Ur(),z=Fl(x);z.tag=1,z.payload=l,v!=null&&(z.callback=v),l=ia(r,z,x),l!==null&&(br(l,r,x),jc(l,r,x))},enqueueForceUpdate:function(r,l){r=r._reactInternals;var v=Ur(),x=Fl(v);x.tag=2,l!=null&&(x.callback=l),l=ia(r,x,v),l!==null&&(br(l,r,v),jc(l,r,v))}};function ay(r,l,v,x,z,V,ee){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(x,V,ee):l.prototype&&l.prototype.isPureReactComponent?!Ra(v,x)||!Ra(z,V):!0}function K1(r,l,v,x){r=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(v,x),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(v,x),l.state!==r&&Ha.enqueueReplaceState(l,l.state,null)}function Vc(r,l){var v=l;if("ref"in l){v={};for(var x in l)x!=="ref"&&(v[x]=l[x])}if(r=r.defaultProps){v===l&&(v=u({},v));for(var z in r)v[z]===void 0&&(v[z]=r[z])}return v}function Bg(r){Nu(r)}function sy(r){console.error(r)}function Fg(r){Nu(r)}function yf(r,l){try{var v=r.onUncaughtError;v(l.value,{componentStack:l.stack})}catch(x){setTimeout(function(){throw x})}}function Tm(r,l,v){try{var x=r.onCaughtError;x(v.value,{componentStack:v.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(z){setTimeout(function(){throw z})}}function ly(r,l,v){return v=Fl(v),v.tag=3,v.payload={element:null},v.callback=function(){yf(r,l)},v}function cy(r){return r=Fl(r),r.tag=3,r}function uy(r,l,v,x){var z=v.type.getDerivedStateFromError;if(typeof z=="function"){var V=x.value;r.payload=function(){return z(V)},r.callback=function(){Tm(l,v,x)}}var ee=v.stateNode;ee!==null&&typeof ee.componentDidCatch=="function"&&(r.callback=function(){Tm(l,v,x),typeof z!="function"&&(To===null?To=new Set([this]):To.add(this));var le=x.stack;this.componentDidCatch(x.value,{componentStack:le!==null?le:""})})}function wC(r,l,v,x,z){if(v.flags|=32768,x!==null&&typeof x=="object"&&typeof x.then=="function"){if(l=v.alternate,l!==null&&Si(l,v,z,!0),v=ur.current,v!==null){switch(v.tag){case 31:case 13:return ra===null?sb():v.alternate===null&&uo===0&&(uo=3),v.flags&=-257,v.flags|=65536,v.lanes=z,x===Iu?v.flags|=16384:(l=v.updateQueue,l===null?v.updateQueue=new Set([x]):l.add(x),Um(r,x,z)),!1;case 22:return v.flags|=65536,x===Iu?v.flags|=16384:(l=v.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([x])},v.updateQueue=l):(v=l.retryQueue,v===null?l.retryQueue=new Set([x]):v.add(x)),Um(r,x,z)),!1}throw Error(a(435,v.tag))}return Um(r,x,z),sb(),!1}if(wn)return l=ur.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=z,x!==Qs&&(r=Error(a(422),{cause:x}),af(ea(r,v)))):(x!==Qs&&(l=Error(a(423),{cause:x}),af(ea(l,v))),r=r.current.alternate,r.flags|=65536,z&=-z,r.lanes|=z,x=ea(x,v),z=ly(r.stateNode,x,z),wg(r,z),uo!==4&&(uo=2)),!1;var V=Error(a(520),{cause:x});if(V=ea(V,v),Mm===null?Mm=[V]:Mm.push(V),uo!==4&&(uo=2),l===null)return!0;x=ea(x,v),v=l;do{switch(v.tag){case 3:return v.flags|=65536,r=z&-z,v.lanes|=r,r=ly(v.stateNode,x,r),wg(v,r),!1;case 1:if(l=v.type,V=v.stateNode,(v.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||V!==null&&typeof V.componentDidCatch=="function"&&(To===null||!To.has(V))))return v.flags|=65536,z&=-z,v.lanes|=z,z=cy(z),uy(z,r,v,x),wg(v,z),!1}v=v.return}while(v!==null);return!1}var Pg=Error(a(461)),Yo=!1;function go(r,l,v,x){l.child=r===null?B0(l,null,v,x):Hc(l,r.child,v,x)}function dy(r,l,v,x,z){v=v.render;var V=l.ref;if("ref"in x){var ee={};for(var le in x)le!=="ref"&&(ee[le]=x[le])}else ee=x;return Kt(l),x=hm(r,l,v,ee,V,z),le=xg(),r!==null&&!Yo?(zu(r,l,z),la(r,l,z)):(wn&&le&&of(l),l.flags|=1,go(r,l,x,z),l.child)}function fy(r,l,v,x,z){if(r===null){var V=v.type;return typeof V=="function"&&!Lu(V)&&V.defaultProps===void 0&&v.compare===null?(l.tag=15,l.type=V,hy(r,l,V,x,z)):(r=mg(v.type,null,x,l,l.mode,z),r.ref=l.ref,r.return=l,l.child=r)}if(V=r.child,!Qg(r,z)){var ee=V.memoizedProps;if(v=v.compare,v=v!==null?v:Ra,v(ee,x)&&r.ref===l.ref)return la(r,l,z)}return l.flags|=1,r=$l(V,x),r.ref=l.ref,r.return=l,l.child=r}function hy(r,l,v,x,z){if(r!==null){var V=r.memoizedProps;if(Ra(V,x)&&r.ref===l.ref)if(Yo=!1,l.pendingProps=x=V,Qg(r,z))(r.flags&131072)!==0&&(Yo=!0);else return l.lanes=r.lanes,la(r,l,z)}return Vg(r,l,v,x,z)}function Z1(r,l,v,x){var z=x.children,V=r!==null?r.memoizedState:null;if(r===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),x.mode==="hidden"){if((l.flags&128)!==0){if(V=V!==null?V.baseLanes|v:v,r!==null){for(x=l.child=r.child,z=0;x!==null;)z=z|x.lanes|x.childLanes,x=x.sibling;x=z&~V}else x=0,l.child=null;return fr(r,l,V,v,x)}if((v&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},r!==null&&sf(l,V!==null?V.cachePool:null),V!==null?z1(l,V):dm(),Tg(l);else return x=l.lanes=536870912,fr(r,l,V!==null?V.baseLanes|v:v,v,x)}else V!==null?(sf(l,V.cachePool),z1(l,V),fs(),l.memoizedState=null):(r!==null&&sf(l,null),dm(),fs());return go(r,l,z,v),l.child}function Gc(r,l){return r!==null&&r.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function fr(r,l,v,x,z){var V=oa();return V=V===null?null:{parent:Qo._currentValue,pool:V},l.memoizedState={baseLanes:v,cachePool:V},r!==null&&sf(l,null),dm(),Tg(l),r!==null&&Si(r,l,x,!0),l.childLanes=z,null}function Am(r,l){return l=Cm({mode:l.mode,children:l.children},r.mode),l.ref=r.ref,r.child=l,l.return=r,l}function hr(r,l,v){return Hc(l,r.child,null,v),r=Am(l,l.pendingProps),r.flags|=2,dr(l),l.memoizedState=null,r}function J1(r,l,v){var x=l.pendingProps,z=(l.flags&128)!==0;if(l.flags&=-129,r===null){if(wn){if(x.mode==="hidden")return r=Am(l,x),l.lanes=536870912,Gc(null,r);if(df(l),(r=lo)?(r=kS(r,ci),r=r!==null&&r.data==="&"?r:null,r!==null&&(l.memoizedState={dehydrated:r,treeContext:ls!==null?{id:Mr,overflow:cs}:null,retryLane:536870912,hydrationErrors:null},v=R0(r),v.return=l,l.child=v,wi=l,lo=null)):r=null,r===null)throw Ua(l);return l.lanes=536870912,null}return Am(l,x)}var V=r.memoizedState;if(V!==null){var ee=V.dehydrated;if(df(l),z)if(l.flags&256)l.flags&=-257,l=hr(r,l,v);else if(l.memoizedState!==null)l.child=r.child,l.flags|=128,l=null;else throw Error(a(558));else if(Yo||Si(r,l,v,!1),z=(v&r.childLanes)!==0,Yo||z){if(x=no,x!==null&&(ee=Xt(x,v),ee!==0&&ee!==V.retryLane))throw V.retryLane=ee,Il(r,ee),br(x,r,ee),Pg;sb(),l=hr(r,l,v)}else r=V.treeContext,lo=vr(ee.nextSibling),wi=l,wn=!0,Gs=null,ci=!1,r!==null&&em(l,r),l=Am(l,x),l.flags|=4096;return l}return r=$l(r.child,{mode:x.mode,children:x.children}),r.ref=l.ref,l.child=r,r.return=l,r}function aa(r,l){var v=l.ref;if(v===null)r!==null&&r.ref!==null&&(l.flags|=4194816);else{if(typeof v!="function"&&typeof v!="object")throw Error(a(284));(r===null||r.ref!==v)&&(l.flags|=4194816)}}function Vg(r,l,v,x,z){return Kt(l),v=hm(r,l,v,x,void 0,z),x=xg(),r!==null&&!Yo?(zu(r,l,z),la(r,l,z)):(wn&&x&&of(l),l.flags|=1,go(r,l,v,z),l.child)}function Qc(r,l,v,x,z,V){return Kt(l),l.updateQueue=null,v=F1(l,x,v,z),Ag(r),x=xg(),r!==null&&!Yo?(zu(r,l,V),la(r,l,V)):(wn&&x&&of(l),l.flags|=1,go(r,l,v,V),l.child)}function my(r,l,v,x,z){if(Kt(l),l.stateNode===null){var V=sr,ee=v.contextType;typeof ee=="object"&&ee!==null&&(V=Ye(ee)),V=new v(x,V),l.memoizedState=V.state!==null&&V.state!==void 0?V.state:null,V.updater=Ha,l.stateNode=V,V._reactInternals=l,V=l.stateNode,V.props=x,V.state=l.memoizedState,V.refs={},um(l),ee=v.contextType,V.context=typeof ee=="object"&&ee!==null?Ye(ee):sr,V.state=l.memoizedState,ee=v.getDerivedStateFromProps,typeof ee=="function"&&(Vu(l,v,ee,x),V.state=l.memoizedState),typeof v.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(ee=V.state,typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount(),ee!==V.state&&Ha.enqueueReplaceState(V,V.state,null),Xs(l,x,V,z),zc(),V.state=l.memoizedState),typeof V.componentDidMount=="function"&&(l.flags|=4194308),x=!0}else if(r===null){V=l.stateNode;var le=l.memoizedProps,be=Vc(v,le);V.props=be;var Me=V.context,Fe=v.contextType;ee=sr,typeof Fe=="object"&&Fe!==null&&(ee=Ye(Fe));var We=v.getDerivedStateFromProps;Fe=typeof We=="function"||typeof V.getSnapshotBeforeUpdate=="function",le=l.pendingProps!==le,Fe||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(le||Me!==ee)&&K1(l,V,x,ee),Bl=!1;var ke=l.memoizedState;V.state=ke,Xs(l,x,V,z),zc(),Me=l.memoizedState,le||ke!==Me||Bl?(typeof We=="function"&&(Vu(l,v,We,x),Me=l.memoizedState),(be=Bl||ay(l,v,be,x,ke,Me,ee))?(Fe||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount()),typeof V.componentDidMount=="function"&&(l.flags|=4194308)):(typeof V.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=x,l.memoizedState=Me),V.props=x,V.state=Me,V.context=ee,x=be):(typeof V.componentDidMount=="function"&&(l.flags|=4194308),x=!1)}else{V=l.stateNode,Eg(r,l),ee=l.memoizedProps,Fe=Vc(v,ee),V.props=Fe,We=l.pendingProps,ke=V.context,Me=v.contextType,be=sr,typeof Me=="object"&&Me!==null&&(be=Ye(Me)),le=v.getDerivedStateFromProps,(Me=typeof le=="function"||typeof V.getSnapshotBeforeUpdate=="function")||typeof V.UNSAFE_componentWillReceiveProps!="function"&&typeof V.componentWillReceiveProps!="function"||(ee!==We||ke!==be)&&K1(l,V,x,be),Bl=!1,ke=l.memoizedState,V.state=ke,Xs(l,x,V,z),zc();var He=l.memoizedState;ee!==We||ke!==He||Bl||r!==null&&r.dependencies!==null&&Du(r.dependencies)?(typeof le=="function"&&(Vu(l,v,le,x),He=l.memoizedState),(Fe=Bl||ay(l,v,Fe,x,ke,He,be)||r!==null&&r.dependencies!==null&&Du(r.dependencies))?(Me||typeof V.UNSAFE_componentWillUpdate!="function"&&typeof V.componentWillUpdate!="function"||(typeof V.componentWillUpdate=="function"&&V.componentWillUpdate(x,He,be),typeof V.UNSAFE_componentWillUpdate=="function"&&V.UNSAFE_componentWillUpdate(x,He,be)),typeof V.componentDidUpdate=="function"&&(l.flags|=4),typeof V.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof V.componentDidUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=1024),l.memoizedProps=x,l.memoizedState=He),V.props=x,V.state=He,V.context=be,x=Fe):(typeof V.componentDidUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=4),typeof V.getSnapshotBeforeUpdate!="function"||ee===r.memoizedProps&&ke===r.memoizedState||(l.flags|=1024),x=!1)}return V=x,aa(r,l),x=(l.flags&128)!==0,V||x?(V=l.stateNode,v=x&&typeof v.getDerivedStateFromError!="function"?null:V.render(),l.flags|=1,r!==null&&x?(l.child=Hc(l,r.child,null,z),l.child=Hc(l,null,v,z)):go(r,l,v,z),l.memoizedState=V.state,r=l.child):r=la(r,l,z),r}function ms(r,l,v,x){return Rc(),l.flags|=256,go(r,l,v,x),l.child}var xm={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _m(r){return{baseLanes:r,cachePool:Mu()}}function sa(r,l,v){return r=r!==null?r.childLanes&~v:0,l&&(r|=gr),r}function py(r,l,v){var x=l.pendingProps,z=!1,V=(l.flags&128)!==0,ee;if((ee=V)||(ee=r!==null&&r.memoizedState===null?!1:(So.current&2)!==0),ee&&(z=!0,l.flags&=-129),ee=(l.flags&32)!==0,l.flags&=-33,r===null){if(wn){if(z?qs(l):fs(),(r=lo)?(r=kS(r,ci),r=r!==null&&r.data!=="&"?r:null,r!==null&&(l.memoizedState={dehydrated:r,treeContext:ls!==null?{id:Mr,overflow:cs}:null,retryLane:536870912,hydrationErrors:null},v=R0(r),v.return=l,l.child=v,wi=l,lo=null)):r=null,r===null)throw Ua(l);return Jc(r)?l.lanes=32:l.lanes=536870912,null}var le=x.children;return x=x.fallback,z?(fs(),z=l.mode,le=Cm({mode:"hidden",children:le},z),x=Ul(x,z,v,null),le.return=l,x.return=l,le.sibling=x,l.child=le,x=l.child,x.memoizedState=_m(v),x.childLanes=sa(r,ee,v),l.memoizedState=xm,Gc(null,x)):(qs(l),Wc(l,le))}var be=r.memoizedState;if(be!==null&&(le=be.dehydrated,le!==null)){if(V)l.flags&256?(qs(l),l.flags&=-257,l=Gu(r,l,v)):l.memoizedState!==null?(fs(),l.child=r.child,l.flags|=128,l=null):(fs(),le=x.fallback,z=l.mode,x=Cm({mode:"visible",children:x.children},z),le=Ul(le,z,v,null),le.flags|=2,x.return=l,le.return=l,x.sibling=le,l.child=x,Hc(l,r.child,null,v),x=l.child,x.memoizedState=_m(v),x.childLanes=sa(r,ee,v),l.memoizedState=xm,l=Gc(null,x));else if(qs(l),Jc(le)){if(ee=le.nextSibling&&le.nextSibling.dataset,ee)var Me=ee.dgst;ee=Me,x=Error(a(419)),x.stack="",x.digest=ee,af({value:x,source:null,stack:null}),l=Gu(r,l,v)}else if(Yo||Si(r,l,v,!1),ee=(v&r.childLanes)!==0,Yo||ee){if(ee=no,ee!==null&&(x=Xt(ee,v),x!==0&&x!==be.retryLane))throw be.retryLane=x,Il(r,x),br(ee,r,x),Pg;Ba(le)||sb(),l=Gu(r,l,v)}else Ba(le)?(l.flags|=192,l.child=r.child,l=null):(r=be.treeContext,lo=vr(le.nextSibling),wi=l,wn=!0,Gs=null,ci=!1,r!==null&&em(l,r),l=Wc(l,x.children),l.flags|=4096);return l}return z?(fs(),le=x.fallback,z=l.mode,be=r.child,Me=be.sibling,x=$l(be,{mode:"hidden",children:x.children}),x.subtreeFlags=be.subtreeFlags&65011712,Me!==null?le=$l(Me,le):(le=Ul(le,z,v,null),le.flags|=2),le.return=l,x.return=l,x.sibling=le,l.child=x,Gc(null,x),x=l.child,le=r.child.memoizedState,le===null?le=_m(v):(z=le.cachePool,z!==null?(be=Qo._currentValue,z=z.parent!==be?{parent:be,pool:be}:z):z=Mu(),le={baseLanes:le.baseLanes|v,cachePool:z}),x.memoizedState=le,x.childLanes=sa(r,ee,v),l.memoizedState=xm,Gc(r.child,x)):(qs(l),v=r.child,r=v.sibling,v=$l(v,{mode:"visible",children:x.children}),v.return=l,v.sibling=null,r!==null&&(ee=l.deletions,ee===null?(l.deletions=[r],l.flags|=16):ee.push(r)),l.child=v,l.memoizedState=null,v)}function Wc(r,l){return l=Cm({mode:"visible",children:l},r.mode),l.return=r,r.child=l}function Cm(r,l){return r=Io(22,r,null,l),r.lanes=0,r}function Gu(r,l,v){return Hc(l,r.child,null,v),r=Wc(l,l.pendingProps.children),r.flags|=2,l.memoizedState=null,r}function Qu(r,l,v){r.lanes|=l;var x=r.alternate;x!==null&&(x.lanes|=l),vg(r.return,l,v)}function Gg(r,l,v,x,z,V){var ee=r.memoizedState;ee===null?r.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:x,tail:v,tailMode:z,treeForkCount:V}:(ee.isBackwards=l,ee.rendering=null,ee.renderingStartTime=0,ee.last=x,ee.tail=v,ee.tailMode=z,ee.treeForkCount=V)}function gy(r,l,v){var x=l.pendingProps,z=x.revealOrder,V=x.tail;x=x.children;var ee=So.current,le=(ee&2)!==0;if(le?(ee=ee&1|2,l.flags|=128):ee&=1,te(So,ee),go(r,l,x,v),x=wn?Go:0,!le&&r!==null&&(r.flags&128)!==0)e:for(r=l.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&Qu(r,v,l);else if(r.tag===19)Qu(r,v,l);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===l)break e;for(;r.sibling===null;){if(r.return===null||r.return===l)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}switch(z){case"forwards":for(v=l.child,z=null;v!==null;)r=v.alternate,r!==null&&ff(r)===null&&(z=v),v=v.sibling;v=z,v===null?(z=l.child,l.child=null):(z=v.sibling,v.sibling=null),Gg(l,!1,z,v,V,x);break;case"backwards":case"unstable_legacy-backwards":for(v=null,z=l.child,l.child=null;z!==null;){if(r=z.alternate,r!==null&&ff(r)===null){l.child=z;break}r=z.sibling,z.sibling=v,v=z,z=r}Gg(l,!0,v,null,V,x);break;case"together":Gg(l,!1,null,null,void 0,x);break;default:l.memoizedState=null}return l.child}function la(r,l,v){if(r!==null&&(l.dependencies=r.dependencies),vs|=l.lanes,(v&l.childLanes)===0)if(r!==null){if(Si(r,l,v,!1),(v&l.childLanes)===0)return null}else return null;if(r!==null&&l.child!==r.child)throw Error(a(153));if(l.child!==null){for(r=l.child,v=$l(r,r.pendingProps),l.child=v,v.return=l;r.sibling!==null;)r=r.sibling,v=v.sibling=$l(r,r.pendingProps),v.return=l;v.sibling=null}return l.child}function Qg(r,l){return(r.lanes&l)!==0?!0:(r=r.dependencies,!!(r!==null&&Du(r)))}function Wg(r,l,v){switch(l.tag){case 3:me(l,l.stateNode.containerInfo),cr(l,Qo,r.memoizedState.cache),Rc();break;case 27:case 5:pe(l);break;case 4:me(l,l.stateNode.containerInfo);break;case 10:cr(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,df(l),null;break;case 13:var x=l.memoizedState;if(x!==null)return x.dehydrated!==null?(qs(l),l.flags|=128,null):(v&l.child.childLanes)!==0?py(r,l,v):(qs(l),r=la(r,l,v),r!==null?r.sibling:null);qs(l);break;case 19:var z=(r.flags&128)!==0;if(x=(v&l.childLanes)!==0,x||(Si(r,l,v,!1),x=(v&l.childLanes)!==0),z){if(x)return gy(r,l,v);l.flags|=128}if(z=l.memoizedState,z!==null&&(z.rendering=null,z.tail=null,z.lastEffect=null),te(So,So.current),x)break;return null;case 22:return l.lanes=0,Z1(r,l,v,l.pendingProps);case 24:cr(l,Qo,r.memoizedState.cache)}return la(r,l,v)}function by(r,l,v){if(r!==null)if(r.memoizedProps!==l.pendingProps)Yo=!0;else{if(!Qg(r,v)&&(l.flags&128)===0)return Yo=!1,Wg(r,l,v);Yo=(r.flags&131072)!==0}else Yo=!1,wn&&(l.flags&1048576)!==0&&k0(l,Go,l.index);switch(l.lanes=0,l.tag){case 16:e:{var x=l.pendingProps;if(r=Ic(l.elementType),l.type=r,typeof r=="function")Lu(r)?(x=Vc(r,x),l.tag=1,l=my(null,l,r,x,v)):(l.tag=0,l=Vg(null,l,r,x,v));else{if(r!=null){var z=r.$$typeof;if(z===R){l.tag=11,l=dy(null,l,r,x,v);break e}else if(z===$){l.tag=14,l=fy(null,l,r,x,v);break e}}throw l=k(r)||r,Error(a(306,l,""))}}return l;case 0:return Vg(r,l,l.type,l.pendingProps,v);case 1:return x=l.type,z=Vc(x,l.pendingProps),my(r,l,x,z,v);case 3:e:{if(me(l,l.stateNode.containerInfo),r===null)throw Error(a(387));x=l.pendingProps;var V=l.memoizedState;z=V.element,Eg(r,l),Xs(l,x,null,v);var ee=l.memoizedState;if(x=ee.cache,cr(l,Qo,x),x!==V.cache&&Ys(l,[Qo],v,!0),zc(),x=ee.element,V.isDehydrated)if(V={element:x,isDehydrated:!1,cache:ee.cache},l.updateQueue.baseState=V,l.memoizedState=V,l.flags&256){l=ms(r,l,x,v);break e}else if(x!==z){z=ea(Error(a(424)),l),af(z),l=ms(r,l,x,v);break e}else{switch(r=l.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(lo=vr(r.firstChild),wi=l,wn=!0,Gs=null,ci=!0,v=B0(l,null,x,v),l.child=v;v;)v.flags=v.flags&-3|4096,v=v.sibling}else{if(Rc(),x===z){l=la(r,l,v);break e}go(r,l,x,v)}l=l.child}return l;case 26:return aa(r,l),r===null?(v=Bf(l.type,null,l.pendingProps,null))?l.memoizedState=v:wn||(v=l.type,r=l.pendingProps,x=Zc(ie.current).createElement(v),x[qt]=l,x[Gn]=r,$i(x,v,r),rt(x),l.stateNode=x):l.memoizedState=Bf(l.type,r.memoizedProps,l.pendingProps,r.memoizedState),null;case 27:return pe(l),r===null&&wn&&(x=l.stateNode=jf(l.type,l.pendingProps,ie.current),wi=l,ci=!0,z=lo,Es(l.type)?(Qm=z,lo=vr(x.firstChild)):lo=z),go(r,l,l.pendingProps.children,v),aa(r,l),r===null&&(l.flags|=4194304),l.child;case 5:return r===null&&wn&&((z=x=lo)&&(x=AC(x,l.type,l.pendingProps,ci),x!==null?(l.stateNode=x,wi=l,lo=vr(x.firstChild),ci=!1,z=!0):z=!1),z||Ua(l)),pe(l),z=l.type,V=l.pendingProps,ee=r!==null?r.memoizedProps:null,x=V.children,Uf(z,V)?x=null:ee!==null&&Uf(z,ee)&&(l.flags|=32),l.memoizedState!==null&&(z=hm(r,l,EC,null,null,v),Xm._currentValue=z),aa(r,l),go(r,l,x,v),l.child;case 6:return r===null&&wn&&((r=v=lo)&&(v=dn(v,l.pendingProps,ci),v!==null?(l.stateNode=v,wi=l,lo=null,r=!0):r=!1),r||Ua(l)),null;case 13:return py(r,l,v);case 4:return me(l,l.stateNode.containerInfo),x=l.pendingProps,r===null?l.child=Hc(l,null,x,v):go(r,l,x,v),l.child;case 11:return dy(r,l,l.type,l.pendingProps,v);case 7:return go(r,l,l.pendingProps,v),l.child;case 8:return go(r,l,l.pendingProps.children,v),l.child;case 12:return go(r,l,l.pendingProps.children,v),l.child;case 10:return x=l.pendingProps,cr(l,l.type,x.value),go(r,l,x.children,v),l.child;case 9:return z=l.type._context,x=l.pendingProps.children,Kt(l),z=Ye(z),x=x(z),l.flags|=1,go(r,l,x,v),l.child;case 14:return fy(r,l,l.type,l.pendingProps,v);case 15:return hy(r,l,l.type,l.pendingProps,v);case 19:return gy(r,l,v);case 31:return J1(r,l,v);case 22:return Z1(r,l,v,l.pendingProps);case 24:return Kt(l),x=Ye(Qo),r===null?(z=oa(),z===null&&(z=no,V=om(),z.pooledCache=V,V.refCount++,V!==null&&(z.pooledCacheLanes|=v),z=V),l.memoizedState={parent:x,cache:z},um(l),cr(l,Qo,z)):((r.lanes&v)!==0&&(Eg(r,l),Xs(l,null,null,v),zc()),z=r.memoizedState,V=l.memoizedState,z.parent!==x?(z={parent:x,cache:x},l.memoizedState=z,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=z),cr(l,Qo,x)):(x=V.cache,cr(l,Qo,x),x!==z.cache&&Ys(l,[Qo],v,!0))),go(r,l,l.pendingProps.children,v),l.child;case 29:throw l.pendingProps}throw Error(a(156,l.tag))}function nl(r){r.flags|=4}function vy(r,l,v,x,z){if((l=(r.mode&32)!==0)&&(l=!1),l){if(r.flags|=16777216,(z&335544128)===z)if(r.stateNode.complete)r.flags|=8192;else if(cS())r.flags|=8192;else throw $c=Iu,ku}else r.flags&=-16777217}function yy(r,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!jr(l))if(cS())r.flags|=8192;else throw $c=Iu,ku}function Wi(r,l){l!==null&&(r.flags|=4),r.flags&16384&&(l=r.tag!==22?Tt():536870912,r.lanes|=l,Oo|=l)}function Ef(r,l){if(!wn)switch(r.tailMode){case"hidden":l=r.tail;for(var v=null;l!==null;)l.alternate!==null&&(v=l),l=l.sibling;v===null?r.tail=null:v.sibling=null;break;case"collapsed":v=r.tail;for(var x=null;v!==null;)v.alternate!==null&&(x=v),v=v.sibling;x===null?l||r.tail===null?r.tail=null:r.tail.sibling=null:x.sibling=null}}function Wt(r){var l=r.alternate!==null&&r.alternate.child===r.child,v=0,x=0;if(l)for(var z=r.child;z!==null;)v|=z.lanes|z.childLanes,x|=z.subtreeFlags&65011712,x|=z.flags&65011712,z.return=r,z=z.sibling;else for(z=r.child;z!==null;)v|=z.lanes|z.childLanes,x|=z.subtreeFlags,x|=z.flags,z.return=r,z=z.sibling;return r.subtreeFlags|=x,r.childLanes=v,l}function eS(r,l,v){var x=l.pendingProps;switch(gg(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wt(l),null;case 1:return Wt(l),null;case 3:return v=l.stateNode,x=null,r!==null&&(x=r.memoizedState.cache),l.memoizedState.cache!==x&&(l.flags|=2048),ds(Qo),ve(),v.pendingContext&&(v.context=v.pendingContext,v.pendingContext=null),(r===null||r.child===null)&&(Ws(l)?nl(l):r===null||r.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,I0())),Wt(l),null;case 26:var z=l.type,V=l.memoizedState;return r===null?(nl(l),V!==null?(Wt(l),yy(l,V)):(Wt(l),vy(l,z,null,x,v))):V?V!==r.memoizedState?(nl(l),Wt(l),yy(l,V)):(Wt(l),l.flags&=-16777217):(r=r.memoizedProps,r!==x&&nl(l),Wt(l),vy(l,z,r,x,v)),null;case 27:if(ye(l),v=ie.current,z=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(!x){if(l.stateNode===null)throw Error(a(166));return Wt(l),null}r=ae.current,Ws(l)?tm(l):(r=jf(z,x,v),l.stateNode=r,nl(l))}return Wt(l),null;case 5:if(ye(l),z=l.type,r!==null&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(!x){if(l.stateNode===null)throw Error(a(166));return Wt(l),null}if(V=ae.current,Ws(l))tm(l);else{var ee=Zc(ie.current);switch(V){case 1:V=ee.createElementNS("http://www.w3.org/2000/svg",z);break;case 2:V=ee.createElementNS("http://www.w3.org/1998/Math/MathML",z);break;default:switch(z){case"svg":V=ee.createElementNS("http://www.w3.org/2000/svg",z);break;case"math":V=ee.createElementNS("http://www.w3.org/1998/Math/MathML",z);break;case"script":V=ee.createElement("div"),V.innerHTML="<script><\/script>",V=V.removeChild(V.firstChild);break;case"select":V=typeof x.is=="string"?ee.createElement("select",{is:x.is}):ee.createElement("select"),x.multiple?V.multiple=!0:x.size&&(V.size=x.size);break;default:V=typeof x.is=="string"?ee.createElement(z,{is:x.is}):ee.createElement(z)}}V[qt]=l,V[Gn]=x;e:for(ee=l.child;ee!==null;){if(ee.tag===5||ee.tag===6)V.appendChild(ee.stateNode);else if(ee.tag!==4&&ee.tag!==27&&ee.child!==null){ee.child.return=ee,ee=ee.child;continue}if(ee===l)break e;for(;ee.sibling===null;){if(ee.return===null||ee.return===l)break e;ee=ee.return}ee.sibling.return=ee.return,ee=ee.sibling}l.stateNode=V;e:switch($i(V,z,x),z){case"button":case"input":case"select":case"textarea":x=!!x.autoFocus;break e;case"img":x=!0;break e;default:x=!1}x&&nl(l)}}return Wt(l),vy(l,l.type,r===null?null:r.memoizedProps,l.pendingProps,v),null;case 6:if(r&&l.stateNode!=null)r.memoizedProps!==x&&nl(l);else{if(typeof x!="string"&&l.stateNode===null)throw Error(a(166));if(r=ie.current,Ws(l)){if(r=l.stateNode,v=l.memoizedProps,x=null,z=wi,z!==null)switch(z.tag){case 27:case 5:x=z.memoizedProps}r[qt]=l,r=!!(r.nodeValue===v||x!==null&&x.suppressHydrationWarning===!0||Py(r.nodeValue,v)),r||Ua(l,!0)}else r=Zc(r).createTextNode(x),r[qt]=l,l.stateNode=r}return Wt(l),null;case 31:if(v=l.memoizedState,r===null||r.memoizedState!==null){if(x=Ws(l),v!==null){if(r===null){if(!x)throw Error(a(318));if(r=l.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(557));r[qt]=l}else Rc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),r=!1}else v=I0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=v),r=!0;if(!r)return l.flags&256?(dr(l),l):(dr(l),null);if((l.flags&128)!==0)throw Error(a(558))}return Wt(l),null;case 13:if(x=l.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(z=Ws(l),x!==null&&x.dehydrated!==null){if(r===null){if(!z)throw Error(a(318));if(z=l.memoizedState,z=z!==null?z.dehydrated:null,!z)throw Error(a(317));z[qt]=l}else Rc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Wt(l),z=!1}else z=I0(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=z),z=!0;if(!z)return l.flags&256?(dr(l),l):(dr(l),null)}return dr(l),(l.flags&128)!==0?(l.lanes=v,l):(v=x!==null,r=r!==null&&r.memoizedState!==null,v&&(x=l.child,z=null,x.alternate!==null&&x.alternate.memoizedState!==null&&x.alternate.memoizedState.cachePool!==null&&(z=x.alternate.memoizedState.cachePool.pool),V=null,x.memoizedState!==null&&x.memoizedState.cachePool!==null&&(V=x.memoizedState.cachePool.pool),V!==z&&(x.flags|=2048)),v!==r&&v&&(l.child.flags|=8192),Wi(l,l.updateQueue),Wt(l),null);case 4:return ve(),r===null&&$f(l.stateNode.containerInfo),Wt(l),null;case 10:return ds(l.type),Wt(l),null;case 19:if(re(So),x=l.memoizedState,x===null)return Wt(l),null;if(z=(l.flags&128)!==0,V=x.rendering,V===null)if(z)Ef(x,!1);else{if(uo!==0||r!==null&&(r.flags&128)!==0)for(r=l.child;r!==null;){if(V=ff(r),V!==null){for(l.flags|=128,Ef(x,!1),r=V.updateQueue,l.updateQueue=r,Wi(l,r),l.subtreeFlags=0,r=v,v=l.child;v!==null;)D0(v,r),v=v.sibling;return te(So,So.current&1|2),wn&&$a(l,x.treeForkCount),l.child}r=r.sibling}x.tail!==null&&at()>zn&&(l.flags|=128,z=!0,Ef(x,!1),l.lanes=4194304)}else{if(!z)if(r=ff(V),r!==null){if(l.flags|=128,z=!0,r=r.updateQueue,l.updateQueue=r,Wi(l,r),Ef(x,!0),x.tail===null&&x.tailMode==="hidden"&&!V.alternate&&!wn)return Wt(l),null}else 2*at()-x.renderingStartTime>zn&&v!==536870912&&(l.flags|=128,z=!0,Ef(x,!1),l.lanes=4194304);x.isBackwards?(V.sibling=l.child,l.child=V):(r=x.last,r!==null?r.sibling=V:l.child=V,x.last=V)}return x.tail!==null?(r=x.tail,x.rendering=r,x.tail=r.sibling,x.renderingStartTime=at(),r.sibling=null,v=So.current,te(So,z?v&1|2:v&1),wn&&$a(l,x.treeForkCount),r):(Wt(l),null);case 22:case 23:return dr(l),uf(),x=l.memoizedState!==null,r!==null?r.memoizedState!==null!==x&&(l.flags|=8192):x&&(l.flags|=8192),x?(v&536870912)!==0&&(l.flags&128)===0&&(Wt(l),l.subtreeFlags&6&&(l.flags|=8192)):Wt(l),v=l.updateQueue,v!==null&&Wi(l,v.retryQueue),v=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(v=r.memoizedState.cachePool.pool),x=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(x=l.memoizedState.cachePool.pool),x!==v&&(l.flags|=2048),r!==null&&re(na),null;case 24:return v=null,r!==null&&(v=r.memoizedState.cache),l.memoizedState.cache!==v&&(l.flags|=2048),ds(Qo),Wt(l),null;case 25:return null;case 30:return null}throw Error(a(156,l.tag))}function tS(r,l){switch(gg(l),l.tag){case 1:return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 3:return ds(Qo),ve(),r=l.flags,(r&65536)!==0&&(r&128)===0?(l.flags=r&-65537|128,l):null;case 26:case 27:case 5:return ye(l),null;case 31:if(l.memoizedState!==null){if(dr(l),l.alternate===null)throw Error(a(340));Rc()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 13:if(dr(l),r=l.memoizedState,r!==null&&r.dehydrated!==null){if(l.alternate===null)throw Error(a(340));Rc()}return r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 19:return re(So),null;case 4:return ve(),null;case 10:return ds(l.type),null;case 22:case 23:return dr(l),uf(),r!==null&&re(na),r=l.flags,r&65536?(l.flags=r&-65537|128,l):null;case 24:return ds(Qo),null;case 25:return null;default:return null}}function nS(r,l){switch(gg(l),l.tag){case 3:ds(Qo),ve();break;case 26:case 27:case 5:ye(l);break;case 4:ve();break;case 31:l.memoizedState!==null&&dr(l);break;case 13:dr(l);break;case 19:re(So);break;case 10:ds(l.type);break;case 22:case 23:dr(l),uf(),r!==null&&re(na);break;case 24:ds(Qo)}}function ja(r,l){try{var v=l.updateQueue,x=v!==null?v.lastEffect:null;if(x!==null){var z=x.next;v=z;do{if((v.tag&r)===r){x=void 0;var V=v.create,ee=v.inst;x=V(),ee.destroy=x}v=v.next}while(v!==z)}}catch(le){Xn(l,l.return,le)}}function ca(r,l,v){try{var x=l.updateQueue,z=x!==null?x.lastEffect:null;if(z!==null){var V=z.next;x=V;do{if((x.tag&r)===r){var ee=x.inst,le=ee.destroy;if(le!==void 0){ee.destroy=void 0,z=l;var be=v,Me=le;try{Me()}catch(Fe){Xn(z,be,Fe)}}}x=x.next}while(x!==V)}}catch(Fe){Xn(l,l.return,Fe)}}function Yg(r){var l=r.updateQueue;if(l!==null){var v=r.stateNode;try{Bc(l,v)}catch(x){Xn(r,r.return,x)}}}function Yc(r,l,v){v.props=Vc(r.type,r.memoizedProps),v.state=r.memoizedState;try{v.componentWillUnmount()}catch(x){Xn(r,l,x)}}function ol(r,l){try{var v=r.ref;if(v!==null){switch(r.tag){case 26:case 27:case 5:var x=r.stateNode;break;case 30:x=r.stateNode;break;default:x=r.stateNode}typeof v=="function"?r.refCleanup=v(x):v.current=x}}catch(z){Xn(r,l,z)}}function ps(r,l){var v=r.ref,x=r.refCleanup;if(v!==null)if(typeof x=="function")try{x()}catch(z){Xn(r,l,z)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof v=="function")try{v(null)}catch(z){Xn(r,l,z)}else v.current=null}function Ey(r){var l=r.type,v=r.memoizedProps,x=r.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":v.autoFocus&&x.focus();break e;case"img":v.src?x.src=v.src:v.srcSet&&(x.srcset=v.srcSet)}}catch(z){Xn(r,r.return,z)}}function Xg(r,l,v){try{var x=r.stateNode;Gy(x,r.type,v,l),x[Gn]=l}catch(z){Xn(r,r.return,z)}}function wy(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Es(r.type)||r.tag===4}function wf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||wy(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&Es(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Sf(r,l,v){var x=r.tag;if(x===5||x===6)r=r.stateNode,l?(v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v).insertBefore(r,l):(l=v.nodeType===9?v.body:v.nodeName==="HTML"?v.ownerDocument.body:v,l.appendChild(r),v=v._reactRootContainer,v!=null||l.onclick!==null||(l.onclick=Kr));else if(x!==4&&(x===27&&Es(r.type)&&(v=r.stateNode,l=null),r=r.child,r!==null))for(Sf(r,l,v),r=r.sibling;r!==null;)Sf(r,l,v),r=r.sibling}function Tf(r,l,v){var x=r.tag;if(x===5||x===6)r=r.stateNode,l?v.insertBefore(r,l):v.appendChild(r);else if(x!==4&&(x===27&&Es(r.type)&&(v=r.stateNode),r=r.child,r!==null))for(Tf(r,l,v),r=r.sibling;r!==null;)Tf(r,l,v),r=r.sibling}function Sy(r){var l=r.stateNode,v=r.memoizedProps;try{for(var x=r.type,z=l.attributes;z.length;)l.removeAttributeNode(z[0]);$i(l,x,v),l[qt]=r,l[Gn]=v}catch(V){Xn(r,r.return,V)}}var Ql=!1,Jo=!1,qg=!1,Ty=typeof WeakSet=="function"?WeakSet:Set,xi=null;function Af(r,l){if(r=r.containerInfo,gb=fi,r=Lc(r),Yh(r)){if("selectionStart"in r)var v={start:r.selectionStart,end:r.selectionEnd};else e:{v=(v=r.ownerDocument)&&v.defaultView||window;var x=v.getSelection&&v.getSelection();if(x&&x.rangeCount!==0){v=x.anchorNode;var z=x.anchorOffset,V=x.focusNode;x=x.focusOffset;try{v.nodeType,V.nodeType}catch{v=null;break e}var ee=0,le=-1,be=-1,Me=0,Fe=0,We=r,ke=null;t:for(;;){for(var He;We!==v||z!==0&&We.nodeType!==3||(le=ee+z),We!==V||x!==0&&We.nodeType!==3||(be=ee+x),We.nodeType===3&&(ee+=We.nodeValue.length),(He=We.firstChild)!==null;)ke=We,We=He;for(;;){if(We===r)break t;if(ke===v&&++Me===z&&(le=ee),ke===V&&++Fe===x&&(be=ee),(He=We.nextSibling)!==null)break;We=ke,ke=We.parentNode}We=He}v=le===-1||be===-1?null:{start:le,end:be}}else v=null}v=v||{start:0,end:0}}else v=null;for(bb={focusedElem:r,selectionRange:v},fi=!1,xi=l;xi!==null;)if(l=xi,r=l.child,(l.subtreeFlags&1028)!==0&&r!==null)r.return=l,xi=r;else for(;xi!==null;){switch(l=xi,V=l.alternate,r=l.flags,l.tag){case 0:if((r&4)!==0&&(r=l.updateQueue,r=r!==null?r.events:null,r!==null))for(v=0;v<r.length;v++)z=r[v],z.ref.impl=z.nextImpl;break;case 11:case 15:break;case 1:if((r&1024)!==0&&V!==null){r=void 0,v=l,z=V.memoizedProps,V=V.memoizedState,x=v.stateNode;try{var wt=Vc(v.type,z);r=x.getSnapshotBeforeUpdate(wt,V),x.__reactInternalSnapshotBeforeUpdate=r}catch(zt){Xn(v,v.return,zt)}}break;case 3:if((r&1024)!==0){if(r=l.stateNode.containerInfo,v=r.nodeType,v===9)Gm(r);else if(v===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":Gm(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=l.sibling,r!==null){r.return=l.return,xi=r;break}xi=l.return}}function Nm(r,l,v){var x=v.flags;switch(v.tag){case 0:case 11:case 15:Wl(r,v),x&4&&ja(5,v);break;case 1:if(Wl(r,v),x&4)if(r=v.stateNode,l===null)try{r.componentDidMount()}catch(ee){Xn(v,v.return,ee)}else{var z=Vc(v.type,l.memoizedProps);l=l.memoizedState;try{r.componentDidUpdate(z,l,r.__reactInternalSnapshotBeforeUpdate)}catch(ee){Xn(v,v.return,ee)}}x&64&&Yg(v),x&512&&ol(v,v.return);break;case 3:if(Wl(r,v),x&64&&(r=v.updateQueue,r!==null)){if(l=null,v.child!==null)switch(v.child.tag){case 27:case 5:l=v.child.stateNode;break;case 1:l=v.child.stateNode}try{Bc(r,l)}catch(ee){Xn(v,v.return,ee)}}break;case 27:l===null&&x&4&&Sy(v);case 26:case 5:Wl(r,v),l===null&&x&4&&Ey(v),x&512&&ol(v,v.return);break;case 12:Wl(r,v);break;case 31:Wl(r,v),x&4&&oS(r,v);break;case 13:Wl(r,v),x&4&&_y(r,v),x&64&&(r=v.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(v=ua.bind(null,v),Hf(r,v))));break;case 22:if(x=v.memoizedState!==null||Ql,!x){l=l!==null&&l.memoizedState!==null||Jo,z=Ql;var V=Jo;Ql=x,(Jo=l)&&!V?gs(r,v,(v.subtreeFlags&8772)!==0):Wl(r,v),Ql=z,Jo=V}break;case 30:break;default:Wl(r,v)}}function Ay(r){var l=r.alternate;l!==null&&(r.alternate=null,Ay(l)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(l=r.stateNode,l!==null&&Ke(l)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var co=null,mr=!1;function il(r,l,v){for(v=v.child;v!==null;)xy(r,l,v),v=v.sibling}function xy(r,l,v){if(_t&&typeof _t.onCommitFiberUnmount=="function")try{_t.onCommitFiberUnmount(Ot,v)}catch{}switch(v.tag){case 26:Jo||ps(v,l),il(r,l,v),v.memoizedState?v.memoizedState.count--:v.stateNode&&(v=v.stateNode,v.parentNode.removeChild(v));break;case 27:Jo||ps(v,l);var x=co,z=mr;Es(v.type)&&(co=v.stateNode,mr=!1),il(r,l,v),ed(v.stateNode),co=x,mr=z;break;case 5:Jo||ps(v,l);case 6:if(x=co,z=mr,co=null,il(r,l,v),co=x,mr=z,co!==null)if(mr)try{(co.nodeType===9?co.body:co.nodeName==="HTML"?co.ownerDocument.body:co).removeChild(v.stateNode)}catch(V){Xn(v,l,V)}else try{co.removeChild(v.stateNode)}catch(V){Xn(v,l,V)}break;case 18:co!==null&&(mr?(r=co,Xy(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,v.stateNode),Xf(r)):Xy(co,v.stateNode));break;case 4:x=co,z=mr,co=v.stateNode.containerInfo,mr=!0,il(r,l,v),co=x,mr=z;break;case 0:case 11:case 14:case 15:ca(2,v,l),Jo||ca(4,v,l),il(r,l,v);break;case 1:Jo||(ps(v,l),x=v.stateNode,typeof x.componentWillUnmount=="function"&&Yc(v,l,x)),il(r,l,v);break;case 21:il(r,l,v);break;case 22:Jo=(x=Jo)||v.memoizedState!==null,il(r,l,v),Jo=x;break;default:il(r,l,v)}}function oS(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null))){r=r.dehydrated;try{Xf(r)}catch(v){Xn(l,l.return,v)}}}function _y(r,l){if(l.memoizedState===null&&(r=l.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Xf(r)}catch(v){Xn(l,l.return,v)}}function Lm(r){switch(r.tag){case 31:case 13:case 19:var l=r.stateNode;return l===null&&(l=r.stateNode=new Ty),l;case 22:return r=r.stateNode,l=r._retryCache,l===null&&(l=r._retryCache=new Ty),l;default:throw Error(a(435,r.tag))}}function Om(r,l){var v=Lm(r);l.forEach(function(x){if(!v.has(x)){v.add(x);var z=AS.bind(null,r,x);x.then(z,z)}})}function pr(r,l){var v=l.deletions;if(v!==null)for(var x=0;x<v.length;x++){var z=v[x],V=r,ee=l,le=ee;e:for(;le!==null;){switch(le.tag){case 27:if(Es(le.type)){co=le.stateNode,mr=!1;break e}break;case 5:co=le.stateNode,mr=!1;break e;case 3:case 4:co=le.stateNode.containerInfo,mr=!0;break e}le=le.return}if(co===null)throw Error(a(160));xy(V,ee,z),co=null,mr=!1,V=z.alternate,V!==null&&(V.return=null),z.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)Kg(l,r),l=l.sibling}var ln=null;function Kg(r,l){var v=r.alternate,x=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:pr(l,r),kr(r),x&4&&(ca(3,r,r.return),ja(3,r),ca(5,r,r.return));break;case 1:pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),x&64&&Ql&&(r=r.updateQueue,r!==null&&(x=r.callbacks,x!==null&&(v=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=v===null?x:v.concat(x))));break;case 26:var z=ln;if(pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),x&4){var V=v!==null?v.memoizedState:null;if(x=r.memoizedState,v===null)if(x===null)if(r.stateNode===null){e:{x=r.type,v=r.memoizedProps,z=z.ownerDocument||z;t:switch(x){case"title":V=z.getElementsByTagName("title")[0],(!V||V[Ee]||V[qt]||V.namespaceURI==="http://www.w3.org/2000/svg"||V.hasAttribute("itemprop"))&&(V=z.createElement(x),z.head.insertBefore(V,z.querySelector("head > title"))),$i(V,x,v),V[qt]=r,rt(V),x=V;break e;case"link":var ee=Jy("link","href",z).get(x+(v.href||""));if(ee){for(var le=0;le<ee.length;le++)if(V=ee[le],V.getAttribute("href")===(v.href==null||v.href===""?null:v.href)&&V.getAttribute("rel")===(v.rel==null?null:v.rel)&&V.getAttribute("title")===(v.title==null?null:v.title)&&V.getAttribute("crossorigin")===(v.crossOrigin==null?null:v.crossOrigin)){ee.splice(le,1);break t}}V=z.createElement(x),$i(V,x,v),z.head.appendChild(V);break;case"meta":if(ee=Jy("meta","content",z).get(x+(v.content||""))){for(le=0;le<ee.length;le++)if(V=ee[le],V.getAttribute("content")===(v.content==null?null:""+v.content)&&V.getAttribute("name")===(v.name==null?null:v.name)&&V.getAttribute("property")===(v.property==null?null:v.property)&&V.getAttribute("http-equiv")===(v.httpEquiv==null?null:v.httpEquiv)&&V.getAttribute("charset")===(v.charSet==null?null:v.charSet)){ee.splice(le,1);break t}}V=z.createElement(x),$i(V,x,v),z.head.appendChild(V);break;default:throw Error(a(468,x))}V[qt]=r,rt(V),x=V}r.stateNode=x}else Sb(z,r.type,r.stateNode);else r.stateNode=Zy(z,x,r.memoizedProps);else V!==x?(V===null?v.stateNode!==null&&(v=v.stateNode,v.parentNode.removeChild(v)):V.count--,x===null?Sb(z,r.type,r.stateNode):Zy(z,x,r.memoizedProps)):x===null&&r.stateNode!==null&&Xg(r,r.memoizedProps,v.memoizedProps)}break;case 27:pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),v!==null&&x&4&&Xg(r,r.memoizedProps,v.memoizedProps);break;case 5:if(pr(l,r),kr(r),x&512&&(Jo||v===null||ps(v,v.return)),r.flags&32){z=r.stateNode;try{Ii(z,"")}catch(wt){Xn(r,r.return,wt)}}x&4&&r.stateNode!=null&&(z=r.memoizedProps,Xg(r,z,v!==null?v.memoizedProps:z)),x&1024&&(qg=!0);break;case 6:if(pr(l,r),kr(r),x&4){if(r.stateNode===null)throw Error(a(162));x=r.memoizedProps,v=r.stateNode;try{v.nodeValue=x}catch(wt){Xn(r,r.return,wt)}}break;case 3:if(Vf=null,z=ln,ln=Yi(l.containerInfo),pr(l,r),ln=z,kr(r),x&4&&v!==null&&v.memoizedState.isDehydrated)try{Xf(l.containerInfo)}catch(wt){Xn(r,r.return,wt)}qg&&(qg=!1,Cy(r));break;case 4:x=ln,ln=Yi(r.stateNode.containerInfo),pr(l,r),kr(r),ln=x;break;case 12:pr(l,r),kr(r);break;case 31:pr(l,r),kr(r),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 13:pr(l,r),kr(r),r.child.flags&8192&&r.memoizedState!==null!=(v!==null&&v.memoizedState!==null)&&(ys=at()),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 22:z=r.memoizedState!==null;var be=v!==null&&v.memoizedState!==null,Me=Ql,Fe=Jo;if(Ql=Me||z,Jo=Fe||be,pr(l,r),Jo=Fe,Ql=Me,kr(r),x&8192)e:for(l=r.stateNode,l._visibility=z?l._visibility&-2:l._visibility|1,z&&(v===null||be||Ql||Jo||Wu(r)),v=null,l=r;;){if(l.tag===5||l.tag===26){if(v===null){be=v=l;try{if(V=be.stateNode,z)ee=V.style,typeof ee.setProperty=="function"?ee.setProperty("display","none","important"):ee.display="none";else{le=be.stateNode;var We=be.memoizedProps.style,ke=We!=null&&We.hasOwnProperty("display")?We.display:null;le.style.display=ke==null||typeof ke=="boolean"?"":(""+ke).trim()}}catch(wt){Xn(be,be.return,wt)}}}else if(l.tag===6){if(v===null){be=l;try{be.stateNode.nodeValue=z?"":be.memoizedProps}catch(wt){Xn(be,be.return,wt)}}}else if(l.tag===18){if(v===null){be=l;try{var He=be.stateNode;z?Xo(He,!0):Xo(be.stateNode,!1)}catch(wt){Xn(be,be.return,wt)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===r)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)break e;for(;l.sibling===null;){if(l.return===null||l.return===r)break e;v===l&&(v=null),l=l.return}v===l&&(v=null),l.sibling.return=l.return,l=l.sibling}x&4&&(x=r.updateQueue,x!==null&&(v=x.retryQueue,v!==null&&(x.retryQueue=null,Om(r,v))));break;case 19:pr(l,r),kr(r),x&4&&(x=r.updateQueue,x!==null&&(r.updateQueue=null,Om(r,x)));break;case 30:break;case 21:break;default:pr(l,r),kr(r)}}function kr(r){var l=r.flags;if(l&2){try{for(var v,x=r.return;x!==null;){if(wy(x)){v=x;break}x=x.return}if(v==null)throw Error(a(160));switch(v.tag){case 27:var z=v.stateNode,V=wf(r);Tf(r,V,z);break;case 5:var ee=v.stateNode;v.flags&32&&(Ii(ee,""),v.flags&=-33);var le=wf(r);Tf(r,le,ee);break;case 3:case 4:var be=v.stateNode.containerInfo,Me=wf(r);Sf(r,Me,be);break;default:throw Error(a(161))}}catch(Fe){Xn(r,r.return,Fe)}r.flags&=-3}l&4096&&(r.flags&=-4097)}function Cy(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var l=r;Cy(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),r=r.sibling}}function Wl(r,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Nm(r,l.alternate,l),l=l.sibling}function Wu(r){for(r=r.child;r!==null;){var l=r;switch(l.tag){case 0:case 11:case 14:case 15:ca(4,l,l.return),Wu(l);break;case 1:ps(l,l.return);var v=l.stateNode;typeof v.componentWillUnmount=="function"&&Yc(l,l.return,v),Wu(l);break;case 27:ed(l.stateNode);case 26:case 5:ps(l,l.return),Wu(l);break;case 22:l.memoizedState===null&&Wu(l);break;case 30:Wu(l);break;default:Wu(l)}r=r.sibling}}function gs(r,l,v){for(v=v&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var x=l.alternate,z=r,V=l,ee=V.flags;switch(V.tag){case 0:case 11:case 15:gs(z,V,v),ja(4,V);break;case 1:if(gs(z,V,v),x=V,z=x.stateNode,typeof z.componentDidMount=="function")try{z.componentDidMount()}catch(Me){Xn(x,x.return,Me)}if(x=V,z=x.updateQueue,z!==null){var le=x.stateNode;try{var be=z.shared.hiddenCallbacks;if(be!==null)for(z.shared.hiddenCallbacks=null,z=0;z<be.length;z++)Sg(be[z],le)}catch(Me){Xn(x,x.return,Me)}}v&&ee&64&&Yg(V),ol(V,V.return);break;case 27:Sy(V);case 26:case 5:gs(z,V,v),v&&x===null&&ee&4&&Ey(V),ol(V,V.return);break;case 12:gs(z,V,v);break;case 31:gs(z,V,v),v&&ee&4&&oS(z,V);break;case 13:gs(z,V,v),v&&ee&4&&_y(z,V);break;case 22:V.memoizedState===null&&gs(z,V,v),ol(V,V.return);break;case 30:break;default:gs(z,V,v)}l=l.sibling}}function Zg(r,l){var v=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(v=r.memoizedState.cachePool.pool),r=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(r=l.memoizedState.cachePool.pool),r!==v&&(r!=null&&r.refCount++,v!=null&&im(v))}function Jg(r,l){r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&im(r))}function za(r,l,v,x){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)xf(r,l,v,x),l=l.sibling}function xf(r,l,v,x){var z=l.flags;switch(l.tag){case 0:case 11:case 15:za(r,l,v,x),z&2048&&ja(9,l);break;case 1:za(r,l,v,x);break;case 3:za(r,l,v,x),z&2048&&(r=null,l.alternate!==null&&(r=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==r&&(l.refCount++,r!=null&&im(r)));break;case 12:if(z&2048){za(r,l,v,x),r=l.stateNode;try{var V=l.memoizedProps,ee=V.id,le=V.onPostCommit;typeof le=="function"&&le(ee,l.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(be){Xn(l,l.return,be)}}else za(r,l,v,x);break;case 31:za(r,l,v,x);break;case 13:za(r,l,v,x);break;case 23:break;case 22:V=l.stateNode,ee=l.alternate,l.memoizedState!==null?V._visibility&2?za(r,l,v,x):Dm(r,l):V._visibility&2?za(r,l,v,x):(V._visibility|=2,_f(r,l,v,x,(l.subtreeFlags&10256)!==0||!1)),z&2048&&Zg(ee,l);break;case 24:za(r,l,v,x),z&2048&&Jg(l.alternate,l);break;default:za(r,l,v,x)}}function _f(r,l,v,x,z){for(z=z&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var V=r,ee=l,le=v,be=x,Me=ee.flags;switch(ee.tag){case 0:case 11:case 15:_f(V,ee,le,be,z),ja(8,ee);break;case 23:break;case 22:var Fe=ee.stateNode;ee.memoizedState!==null?Fe._visibility&2?_f(V,ee,le,be,z):Dm(V,ee):(Fe._visibility|=2,_f(V,ee,le,be,z)),z&&Me&2048&&Zg(ee.alternate,ee);break;case 24:_f(V,ee,le,be,z),z&&Me&2048&&Jg(ee.alternate,ee);break;default:_f(V,ee,le,be,z)}l=l.sibling}}function Dm(r,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var v=r,x=l,z=x.flags;switch(x.tag){case 22:Dm(v,x),z&2048&&Zg(x.alternate,x);break;case 24:Dm(v,x),z&2048&&Jg(x.alternate,x);break;default:Dm(v,x)}l=l.sibling}}var Ir=8192;function rl(r,l,v){if(r.subtreeFlags&Ir)for(r=r.child;r!==null;)iS(r,l,v),r=r.sibling}function iS(r,l,v){switch(r.tag){case 26:rl(r,l,v),r.flags&Ir&&r.memoizedState!==null&&ul(v,ln,r.memoizedState,r.memoizedProps);break;case 5:rl(r,l,v);break;case 3:case 4:var x=ln;ln=Yi(r.stateNode.containerInfo),rl(r,l,v),ln=x;break;case 22:r.memoizedState===null&&(x=r.alternate,x!==null&&x.memoizedState!==null?(x=Ir,Ir=16777216,rl(r,l,v),Ir=x):rl(r,l,v));break;default:rl(r,l,v)}}function eb(r){var l=r.alternate;if(l!==null&&(r=l.child,r!==null)){l.child=null;do l=r.sibling,r.sibling=null,r=l;while(r!==null)}}function Cf(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var v=0;v<l.length;v++){var x=l[v];xi=x,tb(x,r)}eb(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Ny(r),r=r.sibling}function Ny(r){switch(r.tag){case 0:case 11:case 15:Cf(r),r.flags&2048&&ca(9,r,r.return);break;case 3:Cf(r);break;case 12:Cf(r);break;case 22:var l=r.stateNode;r.memoizedState!==null&&l._visibility&2&&(r.return===null||r.return.tag!==13)?(l._visibility&=-3,Rm(r)):Cf(r);break;default:Cf(r)}}function Rm(r){var l=r.deletions;if((r.flags&16)!==0){if(l!==null)for(var v=0;v<l.length;v++){var x=l[v];xi=x,tb(x,r)}eb(r)}for(r=r.child;r!==null;){switch(l=r,l.tag){case 0:case 11:case 15:ca(8,l,l.return),Rm(l);break;case 22:v=l.stateNode,v._visibility&2&&(v._visibility&=-3,Rm(l));break;default:Rm(l)}r=r.sibling}}function tb(r,l){for(;xi!==null;){var v=xi;switch(v.tag){case 0:case 11:case 15:ca(8,v,l);break;case 23:case 22:if(v.memoizedState!==null&&v.memoizedState.cachePool!==null){var x=v.memoizedState.cachePool.pool;x!=null&&x.refCount++}break;case 24:im(v.memoizedState.cache)}if(x=v.child,x!==null)x.return=v,xi=x;else e:for(v=r;xi!==null;){x=xi;var z=x.sibling,V=x.return;if(Ay(x),x===v){xi=null;break e}if(z!==null){z.return=V,xi=z;break e}xi=V}}}var rS={getCacheForType:function(r){var l=Ye(Qo),v=l.data.get(r);return v===void 0&&(v=r(),l.data.set(r,v)),v},cacheSignal:function(){return Ye(Qo).controller.signal}},Ly=typeof WeakMap=="function"?WeakMap:Map,$n=0,no=null,Sn=null,gn=0,Yn=0,Pt=null,al=!1,Xc=!1,nb=!1,bs=0,uo=0,vs=0,Yu=0,ob=0,gr=0,Oo=0,Mm=null,Do=null,ib=!1,ys=0,Oy=0,zn=1/0,Nf=null,To=null,di=0,Yl=null,qc=null,sl=0,$r=0,rb=null,ab=null,Lf=0,km=null;function Ur(){return($n&2)!==0&&gn!==0?gn&-gn:I.T!==null?db():Lt()}function aS(){if(gr===0)if((gn&536870912)===0||wn){var r=yt;yt<<=1,(yt&3932160)===0&&(yt=262144),gr=r}else gr=536870912;return r=ur.current,r!==null&&(r.flags|=32),gr}function br(r,l,v){(r===no&&(Yn===2||Yn===9)||r.cancelPendingCommit!==null)&&(ll(r,0),Xl(r,gn,gr,!1)),tn(r,v),(($n&2)===0||r!==no)&&(r===no&&(($n&2)===0&&(Yu|=v),uo===4&&Xl(r,gn,gr,!1)),cl(r))}function sS(r,l,v){if(($n&6)!==0)throw Error(a(327));var x=!v&&(l&127)===0&&(l&r.expiredLanes)===0||Ze(r,l),z=x?fS(r,l):lb(r,l,!0),V=x;do{if(z===0){Xc&&!x&&Xl(r,l,0,!1);break}else{if(v=r.current.alternate,V&&!lS(v)){z=lb(r,l,!1),V=!1;continue}if(z===2){if(V=l,r.errorRecoveryDisabledLanes&V)var ee=0;else ee=r.pendingLanes&-536870913,ee=ee!==0?ee:ee&536870912?536870912:0;if(ee!==0){l=ee;e:{var le=r;z=Mm;var be=le.current.memoizedState.isDehydrated;if(be&&(ll(le,ee).flags|=256),ee=lb(le,ee,!1),ee!==2){if(nb&&!be){le.errorRecoveryDisabledLanes|=V,Yu|=V,z=4;break e}V=Do,Do=z,V!==null&&(Do===null?Do=V:Do.push.apply(Do,V))}z=ee}if(V=!1,z!==2)continue}}if(z===1){ll(r,0),Xl(r,l,0,!0);break}e:{switch(x=r,V=z,V){case 0:case 1:throw Error(a(345));case 4:if((l&4194048)!==l)break;case 6:Xl(x,l,gr,!al);break e;case 2:Do=null;break;case 3:case 5:break;default:throw Error(a(329))}if((l&62914560)===l&&(z=ys+300-at(),10<z)){if(Xl(x,l,gr,!al),Ce(x,0,!0)!==0)break e;sl=l,x.timeoutHandle=Vm(Im.bind(null,x,v,Do,Nf,ib,l,gr,Yu,Oo,al,V,"Throttled",-0,0),z);break e}Im(x,v,Do,Nf,ib,l,gr,Yu,Oo,al,V,null,-0,0)}}break}while(!0);cl(r)}function Im(r,l,v,x,z,V,ee,le,be,Me,Fe,We,ke,He){if(r.timeoutHandle=-1,We=l.subtreeFlags,We&8192||(We&16785408)===16785408){We={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Kr},iS(l,V,We);var wt=(V&62914560)===V?ys-at():(V&4194048)===V?Oy-at():0;if(wt=tE(We,wt),wt!==null){sl=V,r.cancelPendingCommit=wt(gS.bind(null,r,l,V,v,x,z,ee,le,be,Fe,We,null,ke,He)),Xl(r,V,ee,!Me);return}}gS(r,l,V,v,x,z,ee,le,be)}function lS(r){for(var l=r;;){var v=l.tag;if((v===0||v===11||v===15)&&l.flags&16384&&(v=l.updateQueue,v!==null&&(v=v.stores,v!==null)))for(var x=0;x<v.length;x++){var z=v[x],V=z.getSnapshot;z=z.value;try{if(!Qi(V(),z))return!1}catch{return!1}}if(v=l.child,l.subtreeFlags&16384&&v!==null)v.return=l,l=v;else{if(l===r)break;for(;l.sibling===null;){if(l.return===null||l.return===r)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Xl(r,l,v,x){l&=~ob,l&=~Yu,r.suspendedLanes|=l,r.pingedLanes&=~l,x&&(r.warmLanes|=l),x=r.expirationTimes;for(var z=l;0<z;){var V=31-xe(z),ee=1<<V;x[V]=-1,z&=~ee}v!==0&&sn(r,v,l)}function Of(){return($n&6)===0?(Kl(0),!1):!0}function Dy(){if(Sn!==null){if(Yn===0)var r=Sn.return;else r=Sn,us=Hl=null,mm(r),Uc=null,$u=0,r=Sn;for(;r!==null;)nS(r.alternate,r),r=r.return;Sn=null}}function ll(r,l){var v=r.timeoutHandle;v!==-1&&(r.timeoutHandle=-1,RS(v)),v=r.cancelPendingCommit,v!==null&&(r.cancelPendingCommit=null,v()),sl=0,Dy(),no=r,Sn=v=$l(r.current,null),gn=l,Yn=0,Pt=null,al=!1,Xc=Ze(r,l),nb=!1,Oo=gr=ob=Yu=vs=uo=0,Do=Mm=null,ib=!1,(l&8)!==0&&(l|=l&32);var x=r.entangledLanes;if(x!==0)for(r=r.entanglements,x&=l;0<x;){var z=31-xe(x),V=1<<z;l|=r[z],x&=~V}return bs=l,Zr(),v}function Df(r,l){rn=null,I.H=Sm,l===kc||l===lf?(l=z0(),Yn=3):l===ku?(l=z0(),Yn=4):Yn=l===Pg?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Pt=l,Sn===null&&(uo=1,yf(r,ea(l,r.current)))}function cS(){var r=ur.current;return r===null?!0:(gn&4194048)===gn?ra===null:(gn&62914560)===gn||(gn&536870912)!==0?r===ra:!1}function uS(){var r=I.H;return I.H=Sm,r===null?Sm:r}function dS(){var r=I.A;return I.A=rS,r}function sb(){uo=4,al||(gn&4194048)!==gn&&ur.current!==null||(Xc=!0),(vs&134217727)===0&&(Yu&134217727)===0||no===null||Xl(no,gn,gr,!1)}function lb(r,l,v){var x=$n;$n|=2;var z=uS(),V=dS();(no!==r||gn!==l)&&(Nf=null,ll(r,l)),l=!1;var ee=uo;e:do try{if(Yn!==0&&Sn!==null){var le=Sn,be=Pt;switch(Yn){case 8:Dy(),ee=6;break e;case 3:case 2:case 9:case 6:ur.current===null&&(l=!0);var Me=Yn;if(Yn=0,Pt=null,Xu(r,le,be,Me),v&&Xc){ee=0;break e}break;default:Me=Yn,Yn=0,Pt=null,Xu(r,le,be,Me)}}SC(),ee=uo;break}catch(Fe){Df(r,Fe)}while(!0);return l&&r.shellSuspendCounter++,us=Hl=null,$n=x,I.H=z,I.A=V,Sn===null&&(no=null,gn=0,Zr()),ee}function SC(){for(;Sn!==null;)hS(Sn)}function fS(r,l){var v=$n;$n|=2;var x=uS(),z=dS();no!==r||gn!==l?(Nf=null,zn=at()+500,ll(r,l)):Xc=Ze(r,l);e:do try{if(Yn!==0&&Sn!==null){l=Sn;var V=Pt;t:switch(Yn){case 1:Yn=0,Pt=null,Xu(r,l,V,1);break;case 2:case 9:if(H0(V)){Yn=0,Pt=null,mS(l);break}l=function(){Yn!==2&&Yn!==9||no!==r||(Yn=7),cl(r)},V.then(l,l);break e;case 3:Yn=7;break e;case 4:Yn=5;break e;case 7:H0(V)?(Yn=0,Pt=null,mS(l)):(Yn=0,Pt=null,Xu(r,l,V,7));break;case 5:var ee=null;switch(Sn.tag){case 26:ee=Sn.memoizedState;case 5:case 27:var le=Sn;if(ee?jr(ee):le.stateNode.complete){Yn=0,Pt=null;var be=le.sibling;if(be!==null)Sn=be;else{var Me=le.return;Me!==null?(Sn=Me,$m(Me)):Sn=null}break t}}Yn=0,Pt=null,Xu(r,l,V,5);break;case 6:Yn=0,Pt=null,Xu(r,l,V,6);break;case 8:Dy(),uo=6;break e;default:throw Error(a(462))}}Kc();break}catch(Fe){Df(r,Fe)}while(!0);return us=Hl=null,I.H=x,I.A=z,$n=v,Sn!==null?0:(no=null,gn=0,Zr(),uo)}function Kc(){for(;Sn!==null&&!ct();)hS(Sn)}function hS(r){var l=by(r.alternate,r,bs);r.memoizedProps=r.pendingProps,l===null?$m(r):Sn=l}function mS(r){var l=r,v=l.alternate;switch(l.tag){case 15:case 0:l=Qc(v,l,l.pendingProps,l.type,void 0,gn);break;case 11:l=Qc(v,l,l.pendingProps,l.type.render,l.ref,gn);break;case 5:mm(l);default:nS(v,l),l=Sn=D0(l,bs),l=by(v,l,bs)}r.memoizedProps=r.pendingProps,l===null?$m(r):Sn=l}function Xu(r,l,v,x){us=Hl=null,mm(l),Uc=null,$u=0;var z=l.return;try{if(wC(r,z,l,v,gn)){uo=1,yf(r,ea(v,r.current)),Sn=null;return}}catch(V){if(z!==null)throw Sn=z,V;uo=1,yf(r,ea(v,r.current)),Sn=null;return}l.flags&32768?(wn||x===1?r=!0:Xc||(gn&536870912)!==0?r=!1:(al=r=!0,(x===2||x===9||x===3||x===6)&&(x=ur.current,x!==null&&x.tag===13&&(x.flags|=16384))),pS(l,r)):$m(l)}function $m(r){var l=r;do{if((l.flags&32768)!==0){pS(l,al);return}r=l.return;var v=eS(l.alternate,l,bs);if(v!==null){Sn=v;return}if(l=l.sibling,l!==null){Sn=l;return}Sn=l=r}while(l!==null);uo===0&&(uo=5)}function pS(r,l){do{var v=tS(r.alternate,r);if(v!==null){v.flags&=32767,Sn=v;return}if(v=r.return,v!==null&&(v.flags|=32768,v.subtreeFlags=0,v.deletions=null),!l&&(r=r.sibling,r!==null)){Sn=r;return}Sn=r=v}while(r!==null);uo=6,Sn=null}function gS(r,l,v,x,z,V,ee,le,be){r.cancelPendingCommit=null;do Rf();while(di!==0);if(($n&6)!==0)throw Error(a(327));if(l!==null){if(l===r.current)throw Error(a(177));if(V=l.lanes|l.childLanes,V|=ka,Gt(r,v,V,ee,le,be),r===no&&(Sn=no=null,gn=0),qc=l,Yl=r,sl=v,$r=V,rb=z,ab=x,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,xS(tt,function(){return wS(),null})):(r.callbackNode=null,r.callbackPriority=0),x=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||x){x=I.T,I.T=null,z=W.p,W.p=2,ee=$n,$n|=4;try{Af(r,l,v)}finally{$n=ee,W.p=z,I.T=x}}di=1,bS(),vS(),yS()}}function bS(){if(di===1){di=0;var r=Yl,l=qc,v=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||v){v=I.T,I.T=null;var x=W.p;W.p=2;var z=$n;$n|=4;try{Kg(l,r);var V=bb,ee=Lc(r.containerInfo),le=V.focusedElem,be=V.selectionRange;if(ee!==le&&le&&le.ownerDocument&&_u(le.ownerDocument.documentElement,le)){if(be!==null&&Yh(le)){var Me=be.start,Fe=be.end;if(Fe===void 0&&(Fe=Me),"selectionStart"in le)le.selectionStart=Me,le.selectionEnd=Math.min(Fe,le.value.length);else{var We=le.ownerDocument||document,ke=We&&We.defaultView||window;if(ke.getSelection){var He=ke.getSelection(),wt=le.textContent.length,zt=Math.min(be.start,wt),io=be.end===void 0?zt:Math.min(be.end,wt);!He.extend&&zt>io&&(ee=io,io=zt,zt=ee);var Ne=L0(le,zt),Te=L0(le,io);if(Ne&&Te&&(He.rangeCount!==1||He.anchorNode!==Ne.node||He.anchorOffset!==Ne.offset||He.focusNode!==Te.node||He.focusOffset!==Te.offset)){var De=We.createRange();De.setStart(Ne.node,Ne.offset),He.removeAllRanges(),zt>io?(He.addRange(De),He.extend(Te.node,Te.offset)):(De.setEnd(Te.node,Te.offset),He.addRange(De))}}}}for(We=[],He=le;He=He.parentNode;)He.nodeType===1&&We.push({element:He,left:He.scrollLeft,top:He.scrollTop});for(typeof le.focus=="function"&&le.focus(),le=0;le<We.length;le++){var Qe=We[le];Qe.element.scrollLeft=Qe.left,Qe.element.scrollTop=Qe.top}}fi=!!gb,bb=gb=null}finally{$n=z,W.p=x,I.T=v}}r.current=l,di=2}}function vS(){if(di===2){di=0;var r=Yl,l=qc,v=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||v){v=I.T,I.T=null;var x=W.p;W.p=2;var z=$n;$n|=4;try{Nm(r,l.alternate,l)}finally{$n=z,W.p=x,I.T=v}}di=3}}function yS(){if(di===4||di===3){di=0,gt();var r=Yl,l=qc,v=sl,x=ab;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?di=5:(di=0,qc=Yl=null,ES(r,r.pendingLanes));var z=r.pendingLanes;if(z===0&&(To=null),Vn(v),l=l.stateNode,_t&&typeof _t.onCommitFiberRoot=="function")try{_t.onCommitFiberRoot(Ot,l,void 0,(l.current.flags&128)===128)}catch{}if(x!==null){l=I.T,z=W.p,W.p=2,I.T=null;try{for(var V=r.onRecoverableError,ee=0;ee<x.length;ee++){var le=x[ee];V(le.value,{componentStack:le.stack})}}finally{I.T=l,W.p=z}}(sl&3)!==0&&Rf(),cl(r),z=r.pendingLanes,(v&261930)!==0&&(z&42)!==0?r===km?Lf++:(Lf=0,km=r):Lf=0,Kl(0)}}function ES(r,l){(r.pooledCacheLanes&=l)===0&&(l=r.pooledCache,l!=null&&(r.pooledCache=null,im(l)))}function Rf(){return bS(),vS(),yS(),wS()}function wS(){if(di!==5)return!1;var r=Yl,l=$r;$r=0;var v=Vn(sl),x=I.T,z=W.p;try{W.p=32>v?32:v,I.T=null,v=rb,rb=null;var V=Yl,ee=sl;if(di=0,qc=Yl=null,sl=0,($n&6)!==0)throw Error(a(331));var le=$n;if($n|=4,Ny(V.current),xf(V,V.current,ee,v),$n=le,Kl(0,!1),_t&&typeof _t.onPostCommitFiberRoot=="function")try{_t.onPostCommitFiberRoot(Ot,V)}catch{}return!0}finally{W.p=z,I.T=x,ES(r,l)}}function SS(r,l,v){l=ea(v,l),l=ly(r.stateNode,l,2),r=ia(r,l,2),r!==null&&(tn(r,2),cl(r))}function Xn(r,l,v){if(r.tag===3)SS(r,r,v);else for(;l!==null;){if(l.tag===3){SS(l,r,v);break}else if(l.tag===1){var x=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof x.componentDidCatch=="function"&&(To===null||!To.has(x))){r=ea(v,r),v=cy(2),x=ia(l,v,2),x!==null&&(uy(v,x,l,r),tn(x,2),cl(x));break}}l=l.return}}function Um(r,l,v){var x=r.pingCache;if(x===null){x=r.pingCache=new Ly;var z=new Set;x.set(l,z)}else z=x.get(l),z===void 0&&(z=new Set,x.set(l,z));z.has(v)||(nb=!0,z.add(v),r=Ry.bind(null,r,l,v),l.then(r,r))}function Ry(r,l,v){var x=r.pingCache;x!==null&&x.delete(l),r.pingedLanes|=r.suspendedLanes&v,r.warmLanes&=~v,no===r&&(gn&v)===v&&(uo===4||uo===3&&(gn&62914560)===gn&&300>at()-ys?($n&2)===0&&ll(r,0):ob|=v,Oo===gn&&(Oo=0)),cl(r)}function TS(r,l){l===0&&(l=Tt()),r=Il(r,l),r!==null&&(tn(r,l),cl(r))}function ua(r){var l=r.memoizedState,v=0;l!==null&&(v=l.retryLane),TS(r,v)}function AS(r,l){var v=0;switch(r.tag){case 31:case 13:var x=r.stateNode,z=r.memoizedState;z!==null&&(v=z.retryLane);break;case 19:x=r.stateNode;break;case 22:x=r.stateNode._retryCache;break;default:throw Error(a(314))}x!==null&&x.delete(l),TS(r,v)}function xS(r,l){return ze(r,l)}var Mf=null,qu=null,My=!1,cb=!1,ky=!1,ql=0;function cl(r){r!==qu&&r.next===null&&(qu===null?Mf=qu=r:qu=qu.next=r),cb=!0,My||(My=!0,jm())}function Kl(r,l){if(!ky&&cb){ky=!0;do for(var v=!1,x=Mf;x!==null;){if(r!==0){var z=x.pendingLanes;if(z===0)var V=0;else{var ee=x.suspendedLanes,le=x.pingedLanes;V=(1<<31-xe(42|r)+1)-1,V&=z&~(ee&~le),V=V&201326741?V&201326741|1:V?V|2:0}V!==0&&(v=!0,Ku(x,V))}else V=gn,V=Ce(x,x===no?V:0,x.cancelPendingCommit!==null||x.timeoutHandle!==-1),(V&3)===0||Ze(x,V)||(v=!0,Ku(x,V));x=x.next}while(v);ky=!1}}function ub(){Iy()}function Iy(){cb=My=!1;var r=0;ql!==0&&TC()&&(r=ql);for(var l=at(),v=null,x=Mf;x!==null;){var z=x.next,V=$y(x,l);V===0?(x.next=null,v===null?Mf=z:v.next=z,z===null&&(qu=v)):(v=x,(r!==0||(V&3)!==0)&&(cb=!0)),x=z}di!==0&&di!==5||Kl(r),ql!==0&&(ql=0)}function $y(r,l){for(var v=r.suspendedLanes,x=r.pingedLanes,z=r.expirationTimes,V=r.pendingLanes&-62914561;0<V;){var ee=31-xe(V),le=1<<ee,be=z[ee];be===-1?((le&v)===0||(le&x)!==0)&&(z[ee]=ft(le,l)):be<=l&&(r.expiredLanes|=le),V&=~le}if(l=no,v=gn,v=Ce(r,r===l?v:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),x=r.callbackNode,v===0||r===l&&(Yn===2||Yn===9)||r.cancelPendingCommit!==null)return x!==null&&x!==null&&nt(x),r.callbackNode=null,r.callbackPriority=0;if((v&3)===0||Ze(r,v)){if(l=v&-v,l===r.callbackPriority)return l;switch(x!==null&&nt(x),Vn(v)){case 2:case 8:v=ot;break;case 32:v=tt;break;case 268435456:v=St;break;default:v=tt}return x=Hm.bind(null,r),v=ze(v,x),r.callbackPriority=l,r.callbackNode=v,l}return x!==null&&x!==null&&nt(x),r.callbackPriority=2,r.callbackNode=null,2}function Hm(r,l){if(di!==0&&di!==5)return r.callbackNode=null,r.callbackPriority=0,null;var v=r.callbackNode;if(Rf()&&r.callbackNode!==v)return null;var x=gn;return x=Ce(r,r===no?x:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),x===0?null:(sS(r,x,l),$y(r,at()),r.callbackNode!=null&&r.callbackNode===v?Hm.bind(null,r):null)}function Ku(r,l){if(Rf())return null;sS(r,l,!0)}function jm(){MS(function(){($n&6)!==0?ze(je,ub):Iy()})}function db(){if(ql===0){var r=Mc;r===0&&(r=ut,ut<<=1,(ut&261888)===0&&(ut=256)),ql=r}return ql}function _S(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Or(""+r)}function Zu(r,l){var v=l.ownerDocument.createElement("input");return v.name=l.name,v.value=l.value,r.id&&v.setAttribute("form",r.id),l.parentNode.insertBefore(v,l),r=new FormData(r),v.parentNode.removeChild(v),r}function zm(r,l,v,x,z){if(l==="submit"&&v&&v.stateNode===z){var V=_S((z[Gn]||null).action),ee=x.submitter;ee&&(l=(l=ee[Gn]||null)?_S(l.formAction):ee.getAttribute("formAction"),l!==null&&(V=l,ee=null));var le=new Qt("action","action",null,x,z);r.push({event:le,listeners:[{instance:null,listener:function(){if(x.defaultPrevented){if(ql!==0){var be=ee?Zu(z,ee):new FormData(z);bf(v,{pending:!0,data:be,method:z.method,action:V},null,be)}}else typeof V=="function"&&(le.preventDefault(),be=ee?Zu(z,ee):new FormData(z),bf(v,{pending:!0,data:be,method:z.method,action:V},V,be))},currentTarget:z}]})}}for(var fb=0;fb<tf.length;fb++){var kf=tf[fb],Uy=kf.toLowerCase(),Hy=kf[0].toUpperCase()+kf.slice(1);ar(Uy,"on"+Hy)}ar(qh,"onAnimationEnd"),ar(O0,"onAnimationIteration"),ar(fg,"onAnimationStart"),ar("dblclick","onDoubleClick"),ar("focusin","onFocus"),ar("focusout","onBlur"),ar(Cu,"onTransitionRun"),ar(Kh,"onTransitionStart"),ar(Ps,"onTransitionCancel"),ar(U1,"onTransitionEnd"),Rn("onMouseEnter",["mouseout","mouseover"]),Rn("onMouseLeave",["mouseout","mouseover"]),Rn("onPointerEnter",["pointerout","pointerover"]),Rn("onPointerLeave",["pointerout","pointerover"]),vi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),vi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),vi("onBeforeInput",["compositionend","keypress","textInput","paste"]),vi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),vi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var If="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),CS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(If));function NS(r,l){l=(l&4)!==0;for(var v=0;v<r.length;v++){var x=r[v],z=x.event;x=x.listeners;e:{var V=void 0;if(l)for(var ee=x.length-1;0<=ee;ee--){var le=x[ee],be=le.instance,Me=le.currentTarget;if(le=le.listener,be!==V&&z.isPropagationStopped())break e;V=le,z.currentTarget=Me;try{V(z)}catch(Fe){Nu(Fe)}z.currentTarget=null,V=be}else for(ee=0;ee<x.length;ee++){if(le=x[ee],be=le.instance,Me=le.currentTarget,le=le.listener,be!==V&&z.isPropagationStopped())break e;V=le,z.currentTarget=Me;try{V(z)}catch(Fe){Nu(Fe)}z.currentTarget=null,V=be}}}}function En(r,l){var v=l[po];v===void 0&&(v=l[po]=new Set);var x=r+"__bubble";v.has(x)||(Bm(l,r,2,!1),v.add(x))}function jy(r,l,v){var x=0;l&&(x|=4),Bm(v,r,x,l)}var hb="_reactListening"+Math.random().toString(36).slice(2);function $f(r){if(!r[hb]){r[hb]=!0,vn.forEach(function(v){v!=="selectionchange"&&(CS.has(v)||jy(v,!1,r),jy(v,!0,r))});var l=r.nodeType===9?r:r.ownerDocument;l===null||l[hb]||(l[hb]=!0,jy("selectionchange",!1,l))}}function Bm(r,l,v,x){switch(qm(l)){case 2:var z=dl;break;case 8:z=fl;break;default:z=Ui}v=z.bind(null,l,v,r),z=void 0,!xc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(z=!0),x?z!==void 0?r.addEventListener(l,v,{capture:!0,passive:z}):r.addEventListener(l,v,!0):z!==void 0?r.addEventListener(l,v,{passive:z}):r.addEventListener(l,v,!1)}function zy(r,l,v,x,z){var V=x;if((l&1)===0&&(l&2)===0&&x!==null)e:for(;;){if(x===null)return;var ee=x.tag;if(ee===3||ee===4){var le=x.stateNode.containerInfo;if(le===z)break;if(ee===4)for(ee=x.return;ee!==null;){var be=ee.tag;if((be===3||be===4)&&ee.stateNode.containerInfo===z)return;ee=ee.return}for(;le!==null;){if(ee=st(le),ee===null)return;if(be=ee.tag,be===5||be===6||be===26||be===27){x=V=ee;continue e}le=le.parentNode}}x=x.return}Ph(function(){var Me=V,Fe=yu(v),We=[];e:{var ke=Vs.get(r);if(ke!==void 0){var He=Qt,wt=r;switch(r){case"keypress":if(ce(v)===0)break e;case"keydown":case"keyup":He=rg;break;case"focusin":wt="focus",He=Dr;break;case"focusout":wt="blur",He=Dr;break;case"beforeblur":case"afterblur":He=Dr;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":He=No;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":He=ir;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":He=O1;break;case qh:case O0:case fg:He=Qh;break;case U1:He=bC;break;case"scroll":case"scrollend":He=Ko;break;case"wheel":He=vC;break;case"copy":case"cut":case"paste":He=Oa;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":He=is;break;case"toggle":case"beforetoggle":He=w0}var zt=(l&4)!==0,io=!zt&&(r==="scroll"||r==="scrollend"),Ne=zt?ke!==null?ke+"Capture":null:ke;zt=[];for(var Te=Me,De;Te!==null;){var Qe=Te;if(De=Qe.stateNode,Qe=Qe.tag,Qe!==5&&Qe!==26&&Qe!==27||De===null||Ne===null||(Qe=Po(Te,Ne),Qe!=null&&zt.push(Fm(Te,Qe,De))),io)break;Te=Te.return}0<zt.length&&(ke=new He(ke,wt,null,v,Fe),We.push({event:ke,listeners:zt}))}}if((l&7)===0){e:{if(ke=r==="mouseover"||r==="pointerover",He=r==="mouseout"||r==="pointerout",ke&&v!==Ta&&(wt=v.relatedTarget||v.fromElement)&&(st(wt)||wt[Fo]))break e;if((He||ke)&&(ke=Fe.window===Fe?Fe:(ke=Fe.ownerDocument)?ke.defaultView||ke.parentWindow:window,He?(wt=v.relatedTarget||v.toElement,He=Me,wt=wt?st(wt):null,wt!==null&&(io=p(wt),zt=wt.tag,wt!==io||zt!==5&&zt!==27&&zt!==6)&&(wt=null)):(He=null,wt=Me),He!==wt)){if(zt=No,Qe="onMouseLeave",Ne="onMouseEnter",Te="mouse",(r==="pointerout"||r==="pointerover")&&(zt=is,Qe="onPointerLeave",Ne="onPointerEnter",Te="pointer"),io=He==null?ke:eo(He),De=wt==null?ke:eo(wt),ke=new zt(Qe,Te+"leave",He,v,Fe),ke.target=io,ke.relatedTarget=De,Qe=null,st(Fe)===Me&&(zt=new zt(Ne,Te+"enter",wt,v,Fe),zt.target=De,zt.relatedTarget=io,Qe=zt),io=Qe,He&&wt)t:{for(zt=LS,Ne=He,Te=wt,De=0,Qe=Ne;Qe;Qe=zt(Qe))De++;Qe=0;for(var Dt=Te;Dt;Dt=zt(Dt))Qe++;for(;0<De-Qe;)Ne=zt(Ne),De--;for(;0<Qe-De;)Te=zt(Te),Qe--;for(;De--;){if(Ne===Te||Te!==null&&Ne===Te.alternate){zt=Ne;break t}Ne=zt(Ne),Te=zt(Te)}zt=null}else zt=null;He!==null&&mb(We,ke,He,zt,!1),wt!==null&&io!==null&&mb(We,io,wt,zt,!0)}}e:{if(ke=Me?eo(Me):window,He=ke.nodeName&&ke.nodeName.toLowerCase(),He==="select"||He==="input"&&ke.type==="file")var Mn=_0;else if(Fs(ke))if(lg)Mn=xu;else{Mn=I1;var At=k1}else He=ke.nodeName,!He||He.toLowerCase()!=="input"||ke.type!=="checkbox"&&ke.type!=="radio"?Me&&Fh(Me.elementType)&&(Mn=_0):Mn=Nc;if(Mn&&(Mn=Mn(r,Me))){x0(We,Mn,v,Fe);break e}At&&At(r,ke,Me),r==="focusout"&&Me&&ke.type==="number"&&Me.memoizedProps.value!=null&&Ml(ke,"number",ke.value)}switch(At=Me?eo(Me):window,r){case"focusin":(Fs(At)||At.contentEditable==="true")&&(Oc=At,Jd=Me,Ma=null);break;case"focusout":Ma=Jd=Oc=null;break;case"mousedown":as=!0;break;case"contextmenu":case"mouseup":case"dragend":as=!1,dg(We,v,Fe);break;case"selectionchange":if(Xh)break;case"keydown":case"keyup":dg(We,v,Fe)}var nn;if(Kd)e:{switch(r){case"compositionstart":var cn="onCompositionStart";break e;case"compositionend":cn="onCompositionEnd";break e;case"compositionupdate":cn="onCompositionUpdate";break e}cn=void 0}else Su?sg(r,v)&&(cn="onCompositionEnd"):r==="keydown"&&v.keyCode===229&&(cn="onCompositionStart");cn&&(S0&&v.locale!=="ko"&&(Su||cn!=="onCompositionStart"?cn==="onCompositionEnd"&&Su&&(nn=Gh()):(Na=Fe,Vh="value"in Na?Na.value:Na.textContent,Su=!0)),At=Pm(Me,cn),0<At.length&&(cn=new N1(cn,r,null,v,Fe),We.push({event:cn,listeners:At}),nn?cn.data=nn:(nn=T0(v),nn!==null&&(cn.data=nn)))),(nn=Gi?M1(r,v):yC(r,v))&&(cn=Pm(Me,"onBeforeInput"),0<cn.length&&(At=new N1("onBeforeInput","beforeinput",null,v,Fe),We.push({event:At,listeners:cn}),At.data=nn)),zm(We,r,Me,v,Fe)}NS(We,l)})}function Fm(r,l,v){return{instance:r,listener:l,currentTarget:v}}function Pm(r,l){for(var v=l+"Capture",x=[];r!==null;){var z=r,V=z.stateNode;if(z=z.tag,z!==5&&z!==26&&z!==27||V===null||(z=Po(r,v),z!=null&&x.unshift(Fm(r,z,V)),z=Po(r,l),z!=null&&x.push(Fm(r,z,V))),r.tag===3)return x;r=r.return}return[]}function LS(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function mb(r,l,v,x,z){for(var V=l._reactName,ee=[];v!==null&&v!==x;){var le=v,be=le.alternate,Me=le.stateNode;if(le=le.tag,be!==null&&be===x)break;le!==5&&le!==26&&le!==27||Me===null||(be=Me,z?(Me=Po(v,V),Me!=null&&ee.unshift(Fm(v,Me,be))):z||(Me=Po(v,V),Me!=null&&ee.push(Fm(v,Me,be)))),v=v.return}ee.length!==0&&r.push({event:l,listeners:ee})}var OS=/\r\n?/g,By=/\u0000|\uFFFD/g;function Fy(r){return(typeof r=="string"?r:""+r).replace(OS,`
81
+ `).replace(By,"")}function Py(r,l){return l=Fy(l),Fy(r)===l}function oo(r,l,v,x,z,V){switch(v){case"children":typeof x=="string"?l==="body"||l==="textarea"&&x===""||Ii(r,x):(typeof x=="number"||typeof x=="bigint")&&l!=="body"&&Ii(r,""+x);break;case"className":Qd(r,"class",x);break;case"tabIndex":Qd(r,"tabindex",x);break;case"dir":case"role":case"viewBox":case"width":case"height":Qd(r,v,x);break;case"style":Ja(r,x,V);break;case"data":if(l!=="object"){Qd(r,"data",x);break}case"src":case"href":if(x===""&&(l!=="a"||v!=="href")){r.removeAttribute(v);break}if(x==null||typeof x=="function"||typeof x=="symbol"||typeof x=="boolean"){r.removeAttribute(v);break}x=Or(""+x),r.setAttribute(v,x);break;case"action":case"formAction":if(typeof x=="function"){r.setAttribute(v,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof V=="function"&&(v==="formAction"?(l!=="input"&&oo(r,l,"name",z.name,z,null),oo(r,l,"formEncType",z.formEncType,z,null),oo(r,l,"formMethod",z.formMethod,z,null),oo(r,l,"formTarget",z.formTarget,z,null)):(oo(r,l,"encType",z.encType,z,null),oo(r,l,"method",z.method,z,null),oo(r,l,"target",z.target,z,null)));if(x==null||typeof x=="symbol"||typeof x=="boolean"){r.removeAttribute(v);break}x=Or(""+x),r.setAttribute(v,x);break;case"onClick":x!=null&&(r.onclick=Kr);break;case"onScroll":x!=null&&En("scroll",r);break;case"onScrollEnd":x!=null&&En("scrollend",r);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(v=x.__html,v!=null){if(z.children!=null)throw Error(a(60));r.innerHTML=v}}break;case"multiple":r.multiple=x&&typeof x!="function"&&typeof x!="symbol";break;case"muted":r.muted=x&&typeof x!="function"&&typeof x!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(x==null||typeof x=="function"||typeof x=="boolean"||typeof x=="symbol"){r.removeAttribute("xlink:href");break}v=Or(""+x),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",v);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":x!=null&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,""+x):r.removeAttribute(v);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":x&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,""):r.removeAttribute(v);break;case"capture":case"download":x===!0?r.setAttribute(v,""):x!==!1&&x!=null&&typeof x!="function"&&typeof x!="symbol"?r.setAttribute(v,x):r.removeAttribute(v);break;case"cols":case"rows":case"size":case"span":x!=null&&typeof x!="function"&&typeof x!="symbol"&&!isNaN(x)&&1<=x?r.setAttribute(v,x):r.removeAttribute(v);break;case"rowSpan":case"start":x==null||typeof x=="function"||typeof x=="symbol"||isNaN(x)?r.removeAttribute(v):r.setAttribute(v,x);break;case"popover":En("beforetoggle",r),En("toggle",r),wc(r,"popover",x);break;case"xlinkActuate":Za(r,"http://www.w3.org/1999/xlink","xlink:actuate",x);break;case"xlinkArcrole":Za(r,"http://www.w3.org/1999/xlink","xlink:arcrole",x);break;case"xlinkRole":Za(r,"http://www.w3.org/1999/xlink","xlink:role",x);break;case"xlinkShow":Za(r,"http://www.w3.org/1999/xlink","xlink:show",x);break;case"xlinkTitle":Za(r,"http://www.w3.org/1999/xlink","xlink:title",x);break;case"xlinkType":Za(r,"http://www.w3.org/1999/xlink","xlink:type",x);break;case"xmlBase":Za(r,"http://www.w3.org/XML/1998/namespace","xml:base",x);break;case"xmlLang":Za(r,"http://www.w3.org/XML/1998/namespace","xml:lang",x);break;case"xmlSpace":Za(r,"http://www.w3.org/XML/1998/namespace","xml:space",x);break;case"is":wc(r,"is",x);break;case"innerText":case"textContent":break;default:(!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N")&&(v=b0.get(v)||v,wc(r,v,x))}}function Vy(r,l,v,x,z,V){switch(v){case"style":Ja(r,x,V);break;case"dangerouslySetInnerHTML":if(x!=null){if(typeof x!="object"||!("__html"in x))throw Error(a(61));if(v=x.__html,v!=null){if(z.children!=null)throw Error(a(60));r.innerHTML=v}}break;case"children":typeof x=="string"?Ii(r,x):(typeof x=="number"||typeof x=="bigint")&&Ii(r,""+x);break;case"onScroll":x!=null&&En("scroll",r);break;case"onScrollEnd":x!=null&&En("scrollend",r);break;case"onClick":x!=null&&(r.onclick=Kr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!yn.hasOwnProperty(v))e:{if(v[0]==="o"&&v[1]==="n"&&(z=v.endsWith("Capture"),l=v.slice(2,z?v.length-7:void 0),V=r[Gn]||null,V=V!=null?V[v]:null,typeof V=="function"&&r.removeEventListener(l,V,z),typeof x=="function")){typeof V!="function"&&V!==null&&(v in r?r[v]=null:r.hasAttribute(v)&&r.removeAttribute(v)),r.addEventListener(l,x,z);break e}v in r?r[v]=x:x===!0?r.setAttribute(v,""):wc(r,v,x)}}}function $i(r,l,v){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":En("error",r),En("load",r);var x=!1,z=!1,V;for(V in v)if(v.hasOwnProperty(V)){var ee=v[V];if(ee!=null)switch(V){case"src":x=!0;break;case"srcSet":z=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,l));default:oo(r,l,V,ee,v,null)}}z&&oo(r,l,"srcSet",v.srcSet,v,null),x&&oo(r,l,"src",v.src,v,null);return;case"input":En("invalid",r);var le=V=ee=z=null,be=null,Me=null;for(x in v)if(v.hasOwnProperty(x)){var Fe=v[x];if(Fe!=null)switch(x){case"name":z=Fe;break;case"type":ee=Fe;break;case"checked":be=Fe;break;case"defaultChecked":Me=Fe;break;case"value":V=Fe;break;case"defaultValue":le=Fe;break;case"children":case"dangerouslySetInnerHTML":if(Fe!=null)throw Error(a(137,l));break;default:oo(r,l,x,Fe,v,null)}}Sc(r,V,le,be,Me,ee,z,!1);return;case"select":En("invalid",r),x=ee=V=null;for(z in v)if(v.hasOwnProperty(z)&&(le=v[z],le!=null))switch(z){case"value":V=le;break;case"defaultValue":ee=le;break;case"multiple":x=le;default:oo(r,l,z,le,v,null)}l=V,v=ee,r.multiple=!!x,l!=null?Tc(r,!!x,l,!1):v!=null&&Tc(r,!!x,v,!0);return;case"textarea":En("invalid",r),V=z=x=null;for(ee in v)if(v.hasOwnProperty(ee)&&(le=v[ee],le!=null))switch(ee){case"value":x=le;break;case"defaultValue":z=le;break;case"children":V=le;break;case"dangerouslySetInnerHTML":if(le!=null)throw Error(a(91));break;default:oo(r,l,ee,le,v,null)}Ac(r,x,z,V);return;case"option":for(be in v)if(v.hasOwnProperty(be)&&(x=v[be],x!=null))switch(be){case"selected":r.selected=x&&typeof x!="function"&&typeof x!="symbol";break;default:oo(r,l,be,x,v,null)}return;case"dialog":En("beforetoggle",r),En("toggle",r),En("cancel",r),En("close",r);break;case"iframe":case"object":En("load",r);break;case"video":case"audio":for(x=0;x<If.length;x++)En(If[x],r);break;case"image":En("error",r),En("load",r);break;case"details":En("toggle",r);break;case"embed":case"source":case"link":En("error",r),En("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(Me in v)if(v.hasOwnProperty(Me)&&(x=v[Me],x!=null))switch(Me){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,l));default:oo(r,l,Me,x,v,null)}return;default:if(Fh(l)){for(Fe in v)v.hasOwnProperty(Fe)&&(x=v[Fe],x!==void 0&&Vy(r,l,Fe,x,v,void 0));return}}for(le in v)v.hasOwnProperty(le)&&(x=v[le],x!=null&&oo(r,l,le,x,v,null))}function Gy(r,l,v,x){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var z=null,V=null,ee=null,le=null,be=null,Me=null,Fe=null;for(He in v){var We=v[He];if(v.hasOwnProperty(He)&&We!=null)switch(He){case"checked":break;case"value":break;case"defaultValue":be=We;default:x.hasOwnProperty(He)||oo(r,l,He,null,x,We)}}for(var ke in x){var He=x[ke];if(We=v[ke],x.hasOwnProperty(ke)&&(He!=null||We!=null))switch(ke){case"type":V=He;break;case"name":z=He;break;case"checked":Me=He;break;case"defaultChecked":Fe=He;break;case"value":ee=He;break;case"defaultValue":le=He;break;case"children":case"dangerouslySetInnerHTML":if(He!=null)throw Error(a(137,l));break;default:He!==We&&oo(r,l,ke,He,x,We)}}bu(r,ee,le,be,Me,Fe,V,z);return;case"select":He=ee=le=ke=null;for(V in v)if(be=v[V],v.hasOwnProperty(V)&&be!=null)switch(V){case"value":break;case"multiple":He=be;default:x.hasOwnProperty(V)||oo(r,l,V,null,x,be)}for(z in x)if(V=x[z],be=v[z],x.hasOwnProperty(z)&&(V!=null||be!=null))switch(z){case"value":ke=V;break;case"defaultValue":le=V;break;case"multiple":ee=V;default:V!==be&&oo(r,l,z,V,x,be)}l=le,v=ee,x=He,ke!=null?Tc(r,!!v,ke,!1):!!x!=!!v&&(l!=null?Tc(r,!!v,l,!0):Tc(r,!!v,v?[]:"",!1));return;case"textarea":He=ke=null;for(le in v)if(z=v[le],v.hasOwnProperty(le)&&z!=null&&!x.hasOwnProperty(le))switch(le){case"value":break;case"children":break;default:oo(r,l,le,null,x,z)}for(ee in x)if(z=x[ee],V=v[ee],x.hasOwnProperty(ee)&&(z!=null||V!=null))switch(ee){case"value":ke=z;break;case"defaultValue":He=z;break;case"children":break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(a(91));break;default:z!==V&&oo(r,l,ee,z,x,V)}Xd(r,ke,He);return;case"option":for(var wt in v)if(ke=v[wt],v.hasOwnProperty(wt)&&ke!=null&&!x.hasOwnProperty(wt))switch(wt){case"selected":r.selected=!1;break;default:oo(r,l,wt,null,x,ke)}for(be in x)if(ke=x[be],He=v[be],x.hasOwnProperty(be)&&ke!==He&&(ke!=null||He!=null))switch(be){case"selected":r.selected=ke&&typeof ke!="function"&&typeof ke!="symbol";break;default:oo(r,l,be,ke,x,He)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var zt in v)ke=v[zt],v.hasOwnProperty(zt)&&ke!=null&&!x.hasOwnProperty(zt)&&oo(r,l,zt,null,x,ke);for(Me in x)if(ke=x[Me],He=v[Me],x.hasOwnProperty(Me)&&ke!==He&&(ke!=null||He!=null))switch(Me){case"children":case"dangerouslySetInnerHTML":if(ke!=null)throw Error(a(137,l));break;default:oo(r,l,Me,ke,x,He)}return;default:if(Fh(l)){for(var io in v)ke=v[io],v.hasOwnProperty(io)&&ke!==void 0&&!x.hasOwnProperty(io)&&Vy(r,l,io,void 0,x,ke);for(Fe in x)ke=x[Fe],He=v[Fe],!x.hasOwnProperty(Fe)||ke===He||ke===void 0&&He===void 0||Vy(r,l,Fe,ke,x,He);return}}for(var Ne in v)ke=v[Ne],v.hasOwnProperty(Ne)&&ke!=null&&!x.hasOwnProperty(Ne)&&oo(r,l,Ne,null,x,ke);for(We in x)ke=x[We],He=v[We],!x.hasOwnProperty(We)||ke===He||ke==null&&He==null||oo(r,l,We,ke,x,He)}function pb(r){switch(r){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Qy(){if(typeof performance.getEntriesByType=="function"){for(var r=0,l=0,v=performance.getEntriesByType("resource"),x=0;x<v.length;x++){var z=v[x],V=z.transferSize,ee=z.initiatorType,le=z.duration;if(V&&le&&pb(ee)){for(ee=0,le=z.responseEnd,x+=1;x<v.length;x++){var be=v[x],Me=be.startTime;if(Me>le)break;var Fe=be.transferSize,We=be.initiatorType;Fe&&pb(We)&&(be=be.responseEnd,ee+=Fe*(be<le?1:(le-Me)/(be-Me)))}if(--x,l+=8*(V+ee)/(z.duration/1e3),r++,10<r)break}}if(0<r)return l/r/1e6}return navigator.connection&&(r=navigator.connection.downlink,typeof r=="number")?r:5}var gb=null,bb=null;function Zc(r){return r.nodeType===9?r:r.ownerDocument}function DS(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Wy(r,l){if(r===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&l==="foreignObject"?0:r}function Uf(r,l){return r==="textarea"||r==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var vb=null;function TC(){var r=window.event;return r&&r.type==="popstate"?r===vb?!1:(vb=r,!0):(vb=null,!1)}var Vm=typeof setTimeout=="function"?setTimeout:void 0,RS=typeof clearTimeout=="function"?clearTimeout:void 0,Ju=typeof Promise=="function"?Promise:void 0,MS=typeof queueMicrotask=="function"?queueMicrotask:typeof Ju<"u"?function(r){return Ju.resolve(null).then(r).catch(Yy)}:Vm;function Yy(r){setTimeout(function(){throw r})}function Es(r){return r==="head"}function Xy(r,l){var v=l,x=0;do{var z=v.nextSibling;if(r.removeChild(v),z&&z.nodeType===8)if(v=z.data,v==="/$"||v==="/&"){if(x===0){r.removeChild(z),Xf(l);return}x--}else if(v==="$"||v==="$?"||v==="$~"||v==="$!"||v==="&")x++;else if(v==="html")ed(r.ownerDocument.documentElement);else if(v==="head"){v=r.ownerDocument.head,ed(v);for(var V=v.firstChild;V;){var ee=V.nextSibling,le=V.nodeName;V[Ee]||le==="SCRIPT"||le==="STYLE"||le==="LINK"&&V.rel.toLowerCase()==="stylesheet"||v.removeChild(V),V=ee}}else v==="body"&&ed(r.ownerDocument.body);v=z}while(v);Xf(l)}function Xo(r,l){var v=r;r=0;do{var x=v.nextSibling;if(v.nodeType===1?l?(v._stashedDisplay=v.style.display,v.style.display="none"):(v.style.display=v._stashedDisplay||"",v.getAttribute("style")===""&&v.removeAttribute("style")):v.nodeType===3&&(l?(v._stashedText=v.nodeValue,v.nodeValue=""):v.nodeValue=v._stashedText||""),x&&x.nodeType===8)if(v=x.data,v==="/$"){if(r===0)break;r--}else v!=="$"&&v!=="$?"&&v!=="$~"&&v!=="$!"||r++;v=x}while(v)}function Gm(r){var l=r.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var v=l;switch(l=l.nextSibling,v.nodeName){case"HTML":case"HEAD":case"BODY":Gm(v),Ke(v);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(v.rel.toLowerCase()==="stylesheet")continue}r.removeChild(v)}}function AC(r,l,v,x){for(;r.nodeType===1;){var z=v;if(r.nodeName.toLowerCase()!==l.toLowerCase()){if(!x&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(x){if(!r[Ee])switch(l){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(V=r.getAttribute("rel"),V==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(V!==z.rel||r.getAttribute("href")!==(z.href==null||z.href===""?null:z.href)||r.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin)||r.getAttribute("title")!==(z.title==null?null:z.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(V=r.getAttribute("src"),(V!==(z.src==null?null:z.src)||r.getAttribute("type")!==(z.type==null?null:z.type)||r.getAttribute("crossorigin")!==(z.crossOrigin==null?null:z.crossOrigin))&&V&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(l==="input"&&r.type==="hidden"){var V=z.name==null?null:""+z.name;if(z.type==="hidden"&&r.getAttribute("name")===V)return r}else return r;if(r=vr(r.nextSibling),r===null)break}return null}function dn(r,l,v){if(l==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!v||(r=vr(r.nextSibling),r===null))return null;return r}function kS(r,l){for(;r.nodeType!==8;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=vr(r.nextSibling),r===null))return null;return r}function Ba(r){return r.data==="$?"||r.data==="$~"}function Jc(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState!=="loading"}function Hf(r,l){var v=r.ownerDocument;if(r.data==="$~")r._reactRetry=l;else if(r.data!=="$?"||v.readyState!=="loading")l();else{var x=function(){l(),v.removeEventListener("DOMContentLoaded",x)};v.addEventListener("DOMContentLoaded",x),r._reactRetry=x}}function vr(r){for(;r!=null;r=r.nextSibling){var l=r.nodeType;if(l===1||l===3)break;if(l===8){if(l=r.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return r}var Qm=null;function yb(r){r=r.nextSibling;for(var l=0;r;){if(r.nodeType===8){var v=r.data;if(v==="/$"||v==="/&"){if(l===0)return vr(r.nextSibling);l--}else v!=="$"&&v!=="$!"&&v!=="$?"&&v!=="$~"&&v!=="&"||l++}r=r.nextSibling}return null}function ws(r){r=r.previousSibling;for(var l=0;r;){if(r.nodeType===8){var v=r.data;if(v==="$"||v==="$!"||v==="$?"||v==="$~"||v==="&"){if(l===0)return r;l--}else v!=="/$"&&v!=="/&"||l++}r=r.previousSibling}return null}function jf(r,l,v){switch(l=Zc(v),r){case"html":if(r=l.documentElement,!r)throw Error(a(452));return r;case"head":if(r=l.head,!r)throw Error(a(453));return r;case"body":if(r=l.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function ed(r){for(var l=r.attributes;l.length;)r.removeAttributeNode(l[0]);Ke(r)}var Hr=new Map,Wm=new Set;function Yi(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Ss=W.d;W.d={f:xC,r:IS,D:Ue,C:Bn,L:_C,m:qy,X:Zl,S:Ky,M:eu};function xC(){var r=Ss.f(),l=Of();return r||l}function IS(r){var l=on(r);l!==null&&l.tag===5&&l.type==="form"?to(l):Ss.r(r)}var zf=typeof document>"u"?null:document;function ei(r,l,v){var x=zf;if(x&&typeof l=="string"&&l){var z=nr(l);z='link[rel="'+r+'"][href="'+z+'"]',typeof v=="string"&&(z+='[crossorigin="'+v+'"]'),Wm.has(z)||(Wm.add(z),r={rel:r,crossOrigin:v,href:l},x.querySelector(z)===null&&(l=x.createElement("link"),$i(l,"link",r),rt(l),x.head.appendChild(l)))}}function Ue(r){Ss.D(r),ei("dns-prefetch",r,null)}function Bn(r,l){Ss.C(r,l),ei("preconnect",r,l)}function _C(r,l,v){Ss.L(r,l,v);var x=zf;if(x&&r&&l){var z='link[rel="preload"][as="'+nr(l)+'"]';l==="image"&&v&&v.imageSrcSet?(z+='[imagesrcset="'+nr(v.imageSrcSet)+'"]',typeof v.imageSizes=="string"&&(z+='[imagesizes="'+nr(v.imageSizes)+'"]')):z+='[href="'+nr(r)+'"]';var V=z;switch(l){case"style":V=da(r);break;case"script":V=td(r)}Hr.has(V)||(r=u({rel:"preload",href:l==="image"&&v&&v.imageSrcSet?void 0:r,as:l},v),Hr.set(V,r),x.querySelector(z)!==null||l==="style"&&x.querySelector(tu(V))||l==="script"&&x.querySelector(Pf(V))||(l=x.createElement("link"),$i(l,"link",r),rt(l),x.head.appendChild(l)))}}function qy(r,l){Ss.m(r,l);var v=zf;if(v&&r){var x=l&&typeof l.as=="string"?l.as:"script",z='link[rel="modulepreload"][as="'+nr(x)+'"][href="'+nr(r)+'"]',V=z;switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":V=td(r)}if(!Hr.has(V)&&(r=u({rel:"modulepreload",href:r},l),Hr.set(V,r),v.querySelector(z)===null)){switch(x){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(v.querySelector(Pf(V)))return}x=v.createElement("link"),$i(x,"link",r),rt(x),v.head.appendChild(x)}}}function Ky(r,l,v){Ss.S(r,l,v);var x=zf;if(x&&r){var z=Dn(x).hoistableStyles,V=da(r);l=l||"default";var ee=z.get(V);if(!ee){var le={loading:0,preload:null};if(ee=x.querySelector(tu(V)))le.loading=5;else{r=u({rel:"stylesheet",href:r,"data-precedence":l},v),(v=Hr.get(V))&&Eb(r,v);var be=ee=x.createElement("link");rt(be),$i(be,"link",r),be._p=new Promise(function(Me,Fe){be.onload=Me,be.onerror=Fe}),be.addEventListener("load",function(){le.loading|=1}),be.addEventListener("error",function(){le.loading|=2}),le.loading|=4,Ym(ee,l,x)}ee={type:"stylesheet",instance:ee,count:1,state:le},z.set(V,ee)}}}function Zl(r,l){Ss.X(r,l);var v=zf;if(v&&r){var x=Dn(v).hoistableScripts,z=td(r),V=x.get(z);V||(V=v.querySelector(Pf(z)),V||(r=u({src:r,async:!0},l),(l=Hr.get(z))&&wb(r,l),V=v.createElement("script"),rt(V),$i(V,"link",r),v.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},x.set(z,V))}}function eu(r,l){Ss.M(r,l);var v=zf;if(v&&r){var x=Dn(v).hoistableScripts,z=td(r),V=x.get(z);V||(V=v.querySelector(Pf(z)),V||(r=u({src:r,async:!0,type:"module"},l),(l=Hr.get(z))&&wb(r,l),V=v.createElement("script"),rt(V),$i(V,"link",r),v.head.appendChild(V)),V={type:"script",instance:V,count:1,state:null},x.set(z,V))}}function Bf(r,l,v,x){var z=(z=ie.current)?Yi(z):null;if(!z)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof v.precedence=="string"&&typeof v.href=="string"?(l=da(v.href),v=Dn(z).hoistableStyles,x=v.get(l),x||(x={type:"style",instance:null,count:0,state:null},v.set(l,x)),x):{type:"void",instance:null,count:0,state:null};case"link":if(v.rel==="stylesheet"&&typeof v.href=="string"&&typeof v.precedence=="string"){r=da(v.href);var V=Dn(z).hoistableStyles,ee=V.get(r);if(ee||(z=z.ownerDocument||z,ee={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},V.set(r,ee),(V=z.querySelector(tu(r)))&&!V._p&&(ee.instance=V,ee.state.loading=5),Hr.has(r)||(v={rel:"preload",as:"style",href:v.href,crossOrigin:v.crossOrigin,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy},Hr.set(r,v),V||$S(z,r,v,ee.state))),l&&x===null)throw Error(a(528,""));return ee}if(l&&x!==null)throw Error(a(529,""));return null;case"script":return l=v.async,v=v.src,typeof v=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=td(v),v=Dn(z).hoistableScripts,x=v.get(l),x||(x={type:"script",instance:null,count:0,state:null},v.set(l,x)),x):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function da(r){return'href="'+nr(r)+'"'}function tu(r){return'link[rel="stylesheet"]['+r+"]"}function Ff(r){return u({},r,{"data-precedence":r.precedence,precedence:null})}function $S(r,l,v,x){r.querySelector('link[rel="preload"][as="style"]['+l+"]")?x.loading=1:(l=r.createElement("link"),x.preload=l,l.addEventListener("load",function(){return x.loading|=1}),l.addEventListener("error",function(){return x.loading|=2}),$i(l,"link",v),rt(l),r.head.appendChild(l))}function td(r){return'[src="'+nr(r)+'"]'}function Pf(r){return"script[async]"+r}function Zy(r,l,v){if(l.count++,l.instance===null)switch(l.type){case"style":var x=r.querySelector('style[data-href~="'+nr(v.href)+'"]');if(x)return l.instance=x,rt(x),x;var z=u({},v,{"data-href":v.href,"data-precedence":v.precedence,href:null,precedence:null});return x=(r.ownerDocument||r).createElement("style"),rt(x),$i(x,"style",z),Ym(x,v.precedence,r),l.instance=x;case"stylesheet":z=da(v.href);var V=r.querySelector(tu(z));if(V)return l.state.loading|=4,l.instance=V,rt(V),V;x=Ff(v),(z=Hr.get(z))&&Eb(x,z),V=(r.ownerDocument||r).createElement("link"),rt(V);var ee=V;return ee._p=new Promise(function(le,be){ee.onload=le,ee.onerror=be}),$i(V,"link",x),l.state.loading|=4,Ym(V,v.precedence,r),l.instance=V;case"script":return V=td(v.src),(z=r.querySelector(Pf(V)))?(l.instance=z,rt(z),z):(x=v,(z=Hr.get(V))&&(x=u({},v),wb(x,z)),r=r.ownerDocument||r,z=r.createElement("script"),rt(z),$i(z,"link",x),r.head.appendChild(z),l.instance=z);case"void":return null;default:throw Error(a(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(x=l.instance,l.state.loading|=4,Ym(x,v.precedence,r));return l.instance}function Ym(r,l,v){for(var x=v.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),z=x.length?x[x.length-1]:null,V=z,ee=0;ee<x.length;ee++){var le=x[ee];if(le.dataset.precedence===l)V=le;else if(V!==z)break}V?V.parentNode.insertBefore(r,V.nextSibling):(l=v.nodeType===9?v.head:v,l.insertBefore(r,l.firstChild))}function Eb(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.title==null&&(r.title=l.title)}function wb(r,l){r.crossOrigin==null&&(r.crossOrigin=l.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=l.referrerPolicy),r.integrity==null&&(r.integrity=l.integrity)}var Vf=null;function Jy(r,l,v){if(Vf===null){var x=new Map,z=Vf=new Map;z.set(v,x)}else z=Vf,x=z.get(v),x||(x=new Map,z.set(v,x));if(x.has(r))return x;for(x.set(r,null),v=v.getElementsByTagName(r),z=0;z<v.length;z++){var V=v[z];if(!(V[Ee]||V[qt]||r==="link"&&V.getAttribute("rel")==="stylesheet")&&V.namespaceURI!=="http://www.w3.org/2000/svg"){var ee=V.getAttribute(l)||"";ee=r+ee;var le=x.get(ee);le?le.push(V):x.set(ee,[V])}}return x}function Sb(r,l,v){r=r.ownerDocument||r,r.head.insertBefore(v,l==="title"?r.querySelector("head > title"):null)}function eE(r,l,v){if(v===1||l.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return r=l.disabled,typeof l.precedence=="string"&&r==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function jr(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}function ul(r,l,v,x){if(v.type==="stylesheet"&&(typeof x.media!="string"||matchMedia(x.media).matches!==!1)&&(v.state.loading&4)===0){if(v.instance===null){var z=da(x.href),V=l.querySelector(tu(z));if(V){l=V._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(r.count++,r=Tb.bind(r),l.then(r,r)),v.state.loading|=4,v.instance=V,rt(V);return}V=l.ownerDocument||l,x=Ff(x),(z=Hr.get(z))&&Eb(x,z),V=V.createElement("link"),rt(V);var ee=V;ee._p=new Promise(function(le,be){ee.onload=le,ee.onerror=be}),$i(V,"link",x),v.instance=V}r.stylesheets===null&&(r.stylesheets=new Map),r.stylesheets.set(v,l),(l=v.state.preload)&&(v.state.loading&3)===0&&(r.count++,v=Tb.bind(r),l.addEventListener("load",v),l.addEventListener("error",v))}}var fa=0;function tE(r,l){return r.stylesheets&&r.count===0&&xb(r,r.stylesheets),0<r.count||0<r.imgCount?function(v){var x=setTimeout(function(){if(r.stylesheets&&xb(r,r.stylesheets),r.unsuspend){var V=r.unsuspend;r.unsuspend=null,V()}},6e4+l);0<r.imgBytes&&fa===0&&(fa=62500*Qy());var z=setTimeout(function(){if(r.waitingForImages=!1,r.count===0&&(r.stylesheets&&xb(r,r.stylesheets),r.unsuspend)){var V=r.unsuspend;r.unsuspend=null,V()}},(r.imgBytes>fa?50:800)+l);return r.unsuspend=v,function(){r.unsuspend=null,clearTimeout(x),clearTimeout(z)}}:null}function Tb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)xb(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Ab=null;function xb(r,l){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Ab=new Map,l.forEach(_i,r),Ab=null,Tb.call(r))}function _i(r,l){if(!(l.state.loading&4)){var v=Ab.get(r);if(v)var x=v.get(null);else{v=new Map,Ab.set(r,v);for(var z=r.querySelectorAll("link[data-precedence],style[data-precedence]"),V=0;V<z.length;V++){var ee=z[V];(ee.nodeName==="LINK"||ee.getAttribute("media")!=="not all")&&(v.set(ee.dataset.precedence,ee),x=ee)}x&&v.set(null,x)}z=l.instance,ee=z.getAttribute("data-precedence"),V=v.get(ee)||x,V===x&&v.set(null,z),v.set(ee,z),this.count++,x=Tb.bind(this),z.addEventListener("load",x),z.addEventListener("error",x),V?V.parentNode.insertBefore(z,V.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(z,r.firstChild)),l.state.loading|=4}}var Xm={$$typeof:D,Provider:null,Consumer:null,_currentValue:Q,_currentValue2:Q,_threadCount:0};function nE(r,l,v,x,z,V,ee,le,be){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=kt(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=kt(0),this.hiddenUpdates=kt(null),this.identifierPrefix=x,this.onUncaughtError=z,this.onCaughtError=V,this.onRecoverableError=ee,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=be,this.incompleteTransitions=new Map}function _b(r,l,v,x,z,V,ee,le,be,Me,Fe,We){return r=new nE(r,l,v,ee,be,Me,Fe,We,le),l=1,V===!0&&(l|=24),V=Io(3,null,null,l),r.current=V,V.stateNode=r,l=om(),l.refCount++,r.pooledCache=l,l.refCount++,V.memoizedState={element:x,isDehydrated:v,cache:l},um(V),r}function nd(r){return r?(r=sr,r):sr}function US(r,l,v,x,z,V){z=nd(z),x.context===null?x.context=z:x.pendingContext=z,x=Fl(l),x.payload={element:v},V=V===void 0?null:V,V!==null&&(x.callback=V),v=ia(r,x,l),v!==null&&(br(v,r,l),jc(v,r,l))}function Cb(r,l){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var v=r.retryLane;r.retryLane=v!==0&&v<l?v:l}}function oE(r,l){Cb(r,l),(r=r.alternate)&&Cb(r,l)}function HS(r){if(r.tag===13||r.tag===31){var l=Il(r,67108864);l!==null&&br(l,r,67108864),oE(r,67108864)}}function od(r){if(r.tag===13||r.tag===31){var l=Ur();l=Je(l);var v=Il(r,l);v!==null&&br(v,r,l),oE(r,l)}}var fi=!0;function dl(r,l,v,x){var z=I.T;I.T=null;var V=W.p;try{W.p=2,Ui(r,l,v,x)}finally{W.p=V,I.T=z}}function fl(r,l,v,x){var z=I.T;I.T=null;var V=W.p;try{W.p=8,Ui(r,l,v,x)}finally{W.p=V,I.T=z}}function Ui(r,l,v,x){if(fi){var z=iE(x);if(z===null)zy(r,l,x,Nb,v),Jl(r,x);else if(CC(z,r,l,v,x))x.stopPropagation();else if(Jl(r,x),l&4&&-1<yr.indexOf(r)){for(;z!==null;){var V=on(z);if(V!==null)switch(V.tag){case 3:if(V=V.stateNode,V.current.memoizedState.isDehydrated){var ee=jt(V.pendingLanes);if(ee!==0){var le=V;for(le.pendingLanes|=2,le.entangledLanes|=2;ee;){var be=1<<31-xe(ee);le.entanglements[1]|=be,ee&=~be}cl(V),($n&6)===0&&(zn=at()+500,Kl(0))}}break;case 31:case 13:le=Il(V,2),le!==null&&br(le,V,2),Of(),oE(V,2)}if(V=iE(x),V===null&&zy(r,l,x,Nb,v),V===z)break;z=V}z!==null&&x.stopPropagation()}else zy(r,l,x,null,v)}}function iE(r){return r=yu(r),Gf(r)}var Nb=null;function Gf(r){if(Nb=null,r=st(r),r!==null){var l=p(r);if(l===null)r=null;else{var v=l.tag;if(v===13){if(r=g(l),r!==null)return r;r=null}else if(v===31){if(r=y(l),r!==null)return r;r=null}else if(v===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;r=null}else l!==r&&(r=null)}}return Nb=r,null}function qm(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Le()){case je:return 2;case ot:return 8;case tt:case vt:return 32;case St:return 268435456;default:return 32}default:return 32}}var Qf=!1,hi=null,Hi=null,Xi=null,nu=new Map,Fa=new Map,Ao=[],yr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Jl(r,l){switch(r){case"focusin":case"focusout":hi=null;break;case"dragenter":case"dragleave":Hi=null;break;case"mouseover":case"mouseout":Xi=null;break;case"pointerover":case"pointerout":nu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fa.delete(l.pointerId)}}function id(r,l,v,x,z,V){return r===null||r.nativeEvent!==V?(r={blockedOn:l,domEventName:v,eventSystemFlags:x,nativeEvent:V,targetContainers:[z]},l!==null&&(l=on(l),l!==null&&HS(l)),r):(r.eventSystemFlags|=x,l=r.targetContainers,z!==null&&l.indexOf(z)===-1&&l.push(z),r)}function CC(r,l,v,x,z){switch(l){case"focusin":return hi=id(hi,r,l,v,x,z),!0;case"dragenter":return Hi=id(Hi,r,l,v,x,z),!0;case"mouseover":return Xi=id(Xi,r,l,v,x,z),!0;case"pointerover":var V=z.pointerId;return nu.set(V,id(nu.get(V)||null,r,l,v,x,z)),!0;case"gotpointercapture":return V=z.pointerId,Fa.set(V,id(Fa.get(V)||null,r,l,v,x,z)),!0}return!1}function jS(r){var l=st(r.target);if(l!==null){var v=p(l);if(v!==null){if(l=v.tag,l===13){if(l=g(v),l!==null){r.blockedOn=l,ai(r.priority,function(){od(v)});return}}else if(l===31){if(l=y(v),l!==null){r.blockedOn=l,ai(r.priority,function(){od(v)});return}}else if(l===3&&v.stateNode.current.memoizedState.isDehydrated){r.blockedOn=v.tag===3?v.stateNode.containerInfo:null;return}}}r.blockedOn=null}function Km(r){if(r.blockedOn!==null)return!1;for(var l=r.targetContainers;0<l.length;){var v=iE(r.nativeEvent);if(v===null){v=r.nativeEvent;var x=new v.constructor(v.type,v);Ta=x,v.target.dispatchEvent(x),Ta=null}else return l=on(v),l!==null&&HS(l),r.blockedOn=v,!1;l.shift()}return!0}function Wf(r,l,v){Km(r)&&v.delete(l)}function zS(){Qf=!1,hi!==null&&Km(hi)&&(hi=null),Hi!==null&&Km(Hi)&&(Hi=null),Xi!==null&&Km(Xi)&&(Xi=null),nu.forEach(Wf),Fa.forEach(Wf)}function hl(r,l){r.blockedOn===l&&(r.blockedOn=null,Qf||(Qf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zS)))}var Yf=null;function BS(r){Yf!==r&&(Yf=r,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Yf===r&&(Yf=null);for(var l=0;l<r.length;l+=3){var v=r[l],x=r[l+1],z=r[l+2];if(typeof x!="function"){if(Gf(x||v)===null)continue;break}var V=on(v);V!==null&&(r.splice(l,3),l-=3,bf(V,{pending:!0,data:z,method:v.method,action:x},x,z))}}))}function Xf(r){function l(be){return hl(be,r)}hi!==null&&hl(hi,r),Hi!==null&&hl(Hi,r),Xi!==null&&hl(Xi,r),nu.forEach(l),Fa.forEach(l);for(var v=0;v<Ao.length;v++){var x=Ao[v];x.blockedOn===r&&(x.blockedOn=null)}for(;0<Ao.length&&(v=Ao[0],v.blockedOn===null);)jS(v),v.blockedOn===null&&Ao.shift();if(v=(r.ownerDocument||r).$$reactFormReplay,v!=null)for(x=0;x<v.length;x+=3){var z=v[x],V=v[x+1],ee=z[Gn]||null;if(typeof V=="function")ee||BS(v);else if(ee){var le=null;if(V&&V.hasAttribute("formAction")){if(z=V,ee=V[Gn]||null)le=ee.formAction;else if(Gf(z)!==null)continue}else le=ee.action;typeof le=="function"?v[x+1]=le:(v.splice(x,3),x-=3),BS(v)}}}function rE(){function r(V){V.canIntercept&&V.info==="react-transition"&&V.intercept({handler:function(){return new Promise(function(ee){return z=ee})},focusReset:"manual",scroll:"manual"})}function l(){z!==null&&(z(),z=null),x||setTimeout(v,20)}function v(){if(!x&&!navigation.transition){var V=navigation.currentEntry;V&&V.url!=null&&navigation.navigate(V.url,{state:V.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var x=!1,z=null;return navigation.addEventListener("navigate",r),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(v,100),function(){x=!0,navigation.removeEventListener("navigate",r),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),z!==null&&(z(),z=null)}}}function Lb(r){this._internalRoot=r}Ob.prototype.render=Lb.prototype.render=function(r){var l=this._internalRoot;if(l===null)throw Error(a(409));var v=l.current,x=Ur();US(v,x,r,l,null,null)},Ob.prototype.unmount=Lb.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var l=r.containerInfo;US(r.current,2,null,r,null,null),Of(),l[Fo]=null}};function Ob(r){this._internalRoot=r}Ob.prototype.unstable_scheduleHydration=function(r){if(r){var l=Lt();r={blockedOn:null,target:r,priority:l};for(var v=0;v<Ao.length&&l!==0&&l<Ao[v].priority;v++);Ao.splice(v,0,r),v===0&&jS(r)}};var aE=e.version;if(aE!=="19.2.0")throw Error(a(527,aE,"19.2.0"));W.findDOMNode=function(r){var l=r._reactInternals;if(l===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=b(l),r=r!==null?c(r):null,r=r===null?null:r.stateNode,r};var FS={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:I,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zm.isDisabled&&Zm.supportsFiber)try{Ot=Zm.inject(FS),_t=Zm}catch{}}return uv.createRoot=function(r,l){if(!E(r))throw Error(a(299));var v=!1,x="",z=Bg,V=sy,ee=Fg;return l!=null&&(l.unstable_strictMode===!0&&(v=!0),l.identifierPrefix!==void 0&&(x=l.identifierPrefix),l.onUncaughtError!==void 0&&(z=l.onUncaughtError),l.onCaughtError!==void 0&&(V=l.onCaughtError),l.onRecoverableError!==void 0&&(ee=l.onRecoverableError)),l=_b(r,1,!1,null,null,v,x,null,z,V,ee,rE),r[Fo]=l.current,$f(r),new Lb(l)},uv.hydrateRoot=function(r,l,v){if(!E(r))throw Error(a(299));var x=!1,z="",V=Bg,ee=sy,le=Fg,be=null;return v!=null&&(v.unstable_strictMode===!0&&(x=!0),v.identifierPrefix!==void 0&&(z=v.identifierPrefix),v.onUncaughtError!==void 0&&(V=v.onUncaughtError),v.onCaughtError!==void 0&&(ee=v.onCaughtError),v.onRecoverableError!==void 0&&(le=v.onRecoverableError),v.formState!==void 0&&(be=v.formState)),l=_b(r,1,!0,l,v??null,x,z,be,V,ee,le,rE),l.context=nd(null),v=l.current,x=Ur(),x=Je(x),z=Fl(x),z.callback=null,ia(v,z,x),v=x,l.current.lanes=v,tn(l,v),cl(l),r[Fo]=l.current,$f(r),new Ob(l)},uv.version="19.2.0",uv}var dv={};/**
82
82
  * @license React
83
83
  * react-dom-client.development.js
84
84
  *
@@ -102,12 +102,12 @@ Error generating stack: `+dt.message+`
102
102
  `+_)}}else if(n.debugStack!=null){var O=n.debugStack;(n=n.owner)&&O&&(o+=`
103
103
  `+te(O))}else break;var G=o}catch(q){G=`
104
104
  Error generating stack: `+q.message+`
105
- `+q.stack}return G}function ye(n,o,s,w,_,O,G){var q=jr;de(n);try{return n!==null&&n._debugTask?n._debugTask.run(o.bind(null,s,w,_,O,G)):o(s,w,_,O,G)}finally{de(q)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function de(n){Ue.getCurrentStack=n===null?null:pe,ul=!1,jr=n}function Ve(n){return typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object"}function Re(n){try{return qe(n),!1}catch{return!0}}function qe(n){return""+n}function et(n,o){if(Re(n))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",o,Ve(n)),qe(n)}function mt(n,o){if(Re(n))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",o,Ve(n)),qe(n)}function xt(n){if(Re(n))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ve(n)),qe(n)}function $t(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{od=o.inject(n),fi=o}catch(s){console.error("React instrumentation encountered an error: %o.",s)}return!!o.checkDCE}function ze(n){if(typeof oE=="function"&&HS(n),fi&&typeof fi.setStrictMode=="function")try{fi.setStrictMode(od,n)}catch(o){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",o))}}function tt(n){return n>>>=0,n===0?32:31-(iE(n)/Nb|0)|0}function ct(n){var o=n&42;if(o!==0)return o;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function gt(n,o,s){var w=n.pendingLanes;if(w===0)return 0;var _=0,O=n.suspendedLanes,G=n.pingedLanes;n=n.warmLanes;var q=w&134217727;return q!==0?(w=q&~O,w!==0?_=ct(w):(G&=q,G!==0?_=ct(G):s||(s=q&~n,s!==0&&(_=ct(s))))):(q=w&~O,q!==0?_=ct(q):G!==0?_=ct(G):s||(s=w&~n,s!==0&&(_=ct(s)))),_===0?0:o!==0&&o!==_&&(o&O)===0&&(O=_&-_,s=o&-o,O>=s||O===32&&(s&4194048)!==0)?o:_}function at(n,o){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&o)===0}function Le(n,o){switch(n){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function je(){var n=Qf;return Qf<<=1,(Qf&62914560)===0&&(Qf=4194304),n}function it(n){for(var o=[],s=0;31>s;s++)o.push(n);return o}function rt(n,o){n.pendingLanes|=o,o!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function vt(n,o,s,w,_,O){var G=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var q=n.entanglements,ne=n.expirationTimes,oe=n.hiddenUpdates;for(s=G&~s;0<s;){var Se=31-Ui(s),Ae=1<<Se;q[Se]=0,ne[Se]=-1;var he=oe[Se];if(he!==null)for(oe[Se]=null,Se=0;Se<he.length;Se++){var Ie=he[Se];Ie!==null&&(Ie.lane&=-536870913)}s&=~Ae}w!==0&&St(n,w,0),O!==0&&_===0&&n.tag!==0&&(n.suspendedLanes|=O&~(G&~o))}function St(n,o,s){n.pendingLanes|=o,n.suspendedLanes&=~o;var w=31-Ui(o);n.entangledLanes|=o,n.entanglements[w]=n.entanglements[w]|1073741824|s&261930}function Nt(n,o){var s=n.entangledLanes|=o;for(n=n.entanglements;s;){var w=31-Ui(s),_=1<<w;_&o|n[w]&o&&(n[w]|=o),s&=~_}}function an(n,o){var s=o&-o;return s=(s&42)!==0?1:Ot(s),(s&(n.suspendedLanes|o))!==0?0:s}function Ot(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function _t(n,o,s){if(fl)for(n=n.pendingUpdatersLaneMap;0<s;){var w=31-Ui(s),_=1<<w;n[w].add(o),s&=~_}}function Et(n,o){if(fl)for(var s=n.pendingUpdatersLaneMap,w=n.memoizedUpdaters;0<o;){var _=31-Ui(o);n=1<<_,_=s[_],0<_.size&&(_.forEach(function(O){var G=O.alternate;G!==null&&w.has(G)||w.add(O)}),_.clear()),o&=~n}}function xe(n){return n&=-n,hi<n?Hi<n?(n&134217727)!==0?Xi:nu:Hi:hi}function Ge(){var n=Bn.p;return n!==0?n:(n=window.event,n===void 0?Xi:gb(n.type))}function bt(n,o){var s=Bn.p;try{return Bn.p=n,o()}finally{Bn.p=s}}function Mt(n){delete n[Ao],delete n[yr],delete n[id],delete n[CC],delete n[jS]}function ut(n){var o=n[Ao];if(o)return o;for(var s=n.parentNode;s;){if(o=s[Jl]||s[Ao]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(n=qu(n);n!==null;){if(s=n[Ao])return s;n=qu(n)}return o}n=s,s=n.parentNode}return null}function yt(n){if(n=n[Ao]||n[Jl]){var o=n.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return n}return null}function Ht(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function jt(n){var o=n[Km];return o||(o=n[Km]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Ce(n){n[Wf]=!0}function Ze(n,o){ft(n,o),ft(n+"Capture",o)}function ft(n,o){hl[n]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",n),hl[n]=o;var s=n.toLowerCase();for(Yf[s]=n,n==="onDoubleClick"&&(Yf.ondblclick=n),n=0;n<o.length;n++)zS.add(o[n])}function Tt(n,o){BS[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||console.error(n==="select"?"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 `onChange`.":"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||console.error("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 kt(n){return fa.call(Lb,n)?!0:fa.call(rE,n)?!1:Xf.test(n)?Lb[n]=!0:(rE[n]=!0,console.error("Invalid attribute name: `%s`",n),!1)}function tn(n,o,s){if(kt(o)){if(!n.hasAttribute(o)){switch(typeof s){case"symbol":case"object":return s;case"function":return s;case"boolean":if(s===!1)return s}return s===void 0?void 0:null}return n=n.getAttribute(o),n===""&&s===!0?!0:(et(s,o),n===""+s?s:n)}}function Gt(n,o,s){if(kt(o))if(s===null)n.removeAttribute(o);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(o);return;case"boolean":var w=o.toLowerCase().slice(0,5);if(w!=="data-"&&w!=="aria-"){n.removeAttribute(o);return}}et(s,o),n.setAttribute(o,""+s)}}function sn(n,o,s){if(s===null)n.removeAttribute(o);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}et(s,o),n.setAttribute(o,""+s)}}function On(n,o,s,w){if(w===null)n.removeAttribute(s);else{switch(typeof w){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}et(w,s),n.setAttributeNS(o,s,""+w)}}function Xt(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return xt(n),n;default:return""}}function Je(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Vn(n,o,s){var w=Object.getOwnPropertyDescriptor(n.constructor.prototype,o);if(!n.hasOwnProperty(o)&&typeof w<"u"&&typeof w.get=="function"&&typeof w.set=="function"){var _=w.get,O=w.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return _.call(this)},set:function(G){xt(G),s=""+G,O.call(this,G)}}),Object.defineProperty(n,o,{enumerable:w.enumerable}),{getValue:function(){return s},setValue:function(G){xt(G),s=""+G},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function Lt(n){if(!n._valueTracker){var o=Je(n)?"checked":"value";n._valueTracker=Vn(n,o,""+n[o])}}function ai(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var s=o.getValue(),w="";return n&&(w=Je(n)?n.checked?"true":"false":n.value),n=w,n!==s?(o.setValue(n),!0):!1}function Eo(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function qt(n){return n.replace(Ob,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function Gn(n,o){o.checked===void 0||o.defaultChecked===void 0||FS||(console.error("%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://react.dev/link/controlled-components",ve()||"A component",o.type),FS=!0),o.value===void 0||o.defaultValue===void 0||aE||(console.error("%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://react.dev/link/controlled-components",ve()||"A component",o.type),aE=!0)}function Fo(n,o,s,w,_,O,G,q){n.name="",G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"?(et(G,"type"),n.type=G):n.removeAttribute("type"),o!=null?G==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+Xt(o)):n.value!==""+Xt(o)&&(n.value=""+Xt(o)):G!=="submit"&&G!=="reset"||n.removeAttribute("value"),o!=null?ki(n,G,Xt(o)):s!=null?ki(n,G,Xt(s)):w!=null&&n.removeAttribute("value"),_==null&&O!=null&&(n.defaultChecked=!!O),_!=null&&(n.checked=_&&typeof _!="function"&&typeof _!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?(et(q,"name"),n.name=""+Xt(q)):n.removeAttribute("name")}function po(n,o,s,w,_,O,G,q){if(O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"&&(et(O,"type"),n.type=O),o!=null||s!=null){if(!(O!=="submit"&&O!=="reset"||o!=null)){Lt(n);return}s=s!=null?""+Xt(s):"",o=o!=null?""+Xt(o):s,q||o===n.value||(n.value=o),n.defaultValue=o}w=w??_,w=typeof w!="function"&&typeof w!="symbol"&&!!w,n.checked=q?n.checked:!!w,n.defaultChecked=!!w,G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"&&(et(G,"name"),n.name=G),Lt(n)}function ki(n,o,s){o==="number"&&Eo(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function Lr(n,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?Gm.Children.forEach(o.children,function(s){s==null||typeof s=="string"||typeof s=="number"||typeof s=="bigint"||r||(r=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):o.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),o.selected==null||Zm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zm=!0)}function nt(){var n=ve();return n?`
105
+ `+q.stack}return G}function ye(n,o,s,w,_,O,G){var q=jr;de(n);try{return n!==null&&n._debugTask?n._debugTask.run(o.bind(null,s,w,_,O,G)):o(s,w,_,O,G)}finally{de(q)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function de(n){Ue.getCurrentStack=n===null?null:pe,ul=!1,jr=n}function Ve(n){return typeof Symbol=="function"&&Symbol.toStringTag&&n[Symbol.toStringTag]||n.constructor.name||"Object"}function Re(n){try{return qe(n),!1}catch{return!0}}function qe(n){return""+n}function et(n,o){if(Re(n))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",o,Ve(n)),qe(n)}function mt(n,o){if(Re(n))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",o,Ve(n)),qe(n)}function xt(n){if(Re(n))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ve(n)),qe(n)}function $t(n){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{od=o.inject(n),fi=o}catch(s){console.error("React instrumentation encountered an error: %o.",s)}return!!o.checkDCE}function ze(n){if(typeof oE=="function"&&HS(n),fi&&typeof fi.setStrictMode=="function")try{fi.setStrictMode(od,n)}catch(o){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",o))}}function nt(n){return n>>>=0,n===0?32:31-(iE(n)/Nb|0)|0}function ct(n){var o=n&42;if(o!==0)return o;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),n}}function gt(n,o,s){var w=n.pendingLanes;if(w===0)return 0;var _=0,O=n.suspendedLanes,G=n.pingedLanes;n=n.warmLanes;var q=w&134217727;return q!==0?(w=q&~O,w!==0?_=ct(w):(G&=q,G!==0?_=ct(G):s||(s=q&~n,s!==0&&(_=ct(s))))):(q=w&~O,q!==0?_=ct(q):G!==0?_=ct(G):s||(s=w&~n,s!==0&&(_=ct(s)))),_===0?0:o!==0&&o!==_&&(o&O)===0&&(O=_&-_,s=o&-o,O>=s||O===32&&(s&4194048)!==0)?o:_}function at(n,o){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&o)===0}function Le(n,o){switch(n){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function je(){var n=Qf;return Qf<<=1,(Qf&62914560)===0&&(Qf=4194304),n}function ot(n){for(var o=[],s=0;31>s;s++)o.push(n);return o}function tt(n,o){n.pendingLanes|=o,o!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function vt(n,o,s,w,_,O){var G=n.pendingLanes;n.pendingLanes=s,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=s,n.entangledLanes&=s,n.errorRecoveryDisabledLanes&=s,n.shellSuspendCounter=0;var q=n.entanglements,ne=n.expirationTimes,oe=n.hiddenUpdates;for(s=G&~s;0<s;){var Se=31-Ui(s),Ae=1<<Se;q[Se]=0,ne[Se]=-1;var he=oe[Se];if(he!==null)for(oe[Se]=null,Se=0;Se<he.length;Se++){var Ie=he[Se];Ie!==null&&(Ie.lane&=-536870913)}s&=~Ae}w!==0&&St(n,w,0),O!==0&&_===0&&n.tag!==0&&(n.suspendedLanes|=O&~(G&~o))}function St(n,o,s){n.pendingLanes|=o,n.suspendedLanes&=~o;var w=31-Ui(o);n.entangledLanes|=o,n.entanglements[w]=n.entanglements[w]|1073741824|s&261930}function Nt(n,o){var s=n.entangledLanes|=o;for(n=n.entanglements;s;){var w=31-Ui(s),_=1<<w;_&o|n[w]&o&&(n[w]|=o),s&=~_}}function an(n,o){var s=o&-o;return s=(s&42)!==0?1:Ot(s),(s&(n.suspendedLanes|o))!==0?0:s}function Ot(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function _t(n,o,s){if(fl)for(n=n.pendingUpdatersLaneMap;0<s;){var w=31-Ui(s),_=1<<w;n[w].add(o),s&=~_}}function Et(n,o){if(fl)for(var s=n.pendingUpdatersLaneMap,w=n.memoizedUpdaters;0<o;){var _=31-Ui(o);n=1<<_,_=s[_],0<_.size&&(_.forEach(function(O){var G=O.alternate;G!==null&&w.has(G)||w.add(O)}),_.clear()),o&=~n}}function xe(n){return n&=-n,hi<n?Hi<n?(n&134217727)!==0?Xi:nu:Hi:hi}function Ge(){var n=Bn.p;return n!==0?n:(n=window.event,n===void 0?Xi:gb(n.type))}function bt(n,o){var s=Bn.p;try{return Bn.p=n,o()}finally{Bn.p=s}}function Mt(n){delete n[Ao],delete n[yr],delete n[id],delete n[CC],delete n[jS]}function ut(n){var o=n[Ao];if(o)return o;for(var s=n.parentNode;s;){if(o=s[Jl]||s[Ao]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(n=qu(n);n!==null;){if(s=n[Ao])return s;n=qu(n)}return o}n=s,s=n.parentNode}return null}function yt(n){if(n=n[Ao]||n[Jl]){var o=n.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return n}return null}function Ht(n){var o=n.tag;if(o===5||o===26||o===27||o===6)return n.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function jt(n){var o=n[Km];return o||(o=n[Km]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function Ce(n){n[Wf]=!0}function Ze(n,o){ft(n,o),ft(n+"Capture",o)}function ft(n,o){hl[n]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",n),hl[n]=o;var s=n.toLowerCase();for(Yf[s]=n,n==="onDoubleClick"&&(Yf.ondblclick=n),n=0;n<o.length;n++)zS.add(o[n])}function Tt(n,o){BS[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||console.error(n==="select"?"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 `onChange`.":"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||console.error("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 kt(n){return fa.call(Lb,n)?!0:fa.call(rE,n)?!1:Xf.test(n)?Lb[n]=!0:(rE[n]=!0,console.error("Invalid attribute name: `%s`",n),!1)}function tn(n,o,s){if(kt(o)){if(!n.hasAttribute(o)){switch(typeof s){case"symbol":case"object":return s;case"function":return s;case"boolean":if(s===!1)return s}return s===void 0?void 0:null}return n=n.getAttribute(o),n===""&&s===!0?!0:(et(s,o),n===""+s?s:n)}}function Gt(n,o,s){if(kt(o))if(s===null)n.removeAttribute(o);else{switch(typeof s){case"undefined":case"function":case"symbol":n.removeAttribute(o);return;case"boolean":var w=o.toLowerCase().slice(0,5);if(w!=="data-"&&w!=="aria-"){n.removeAttribute(o);return}}et(s,o),n.setAttribute(o,""+s)}}function sn(n,o,s){if(s===null)n.removeAttribute(o);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(o);return}et(s,o),n.setAttribute(o,""+s)}}function On(n,o,s,w){if(w===null)n.removeAttribute(s);else{switch(typeof w){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(s);return}et(w,s),n.setAttributeNS(o,s,""+w)}}function Xt(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return xt(n),n;default:return""}}function Je(n){var o=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Vn(n,o,s){var w=Object.getOwnPropertyDescriptor(n.constructor.prototype,o);if(!n.hasOwnProperty(o)&&typeof w<"u"&&typeof w.get=="function"&&typeof w.set=="function"){var _=w.get,O=w.set;return Object.defineProperty(n,o,{configurable:!0,get:function(){return _.call(this)},set:function(G){xt(G),s=""+G,O.call(this,G)}}),Object.defineProperty(n,o,{enumerable:w.enumerable}),{getValue:function(){return s},setValue:function(G){xt(G),s=""+G},stopTracking:function(){n._valueTracker=null,delete n[o]}}}}function Lt(n){if(!n._valueTracker){var o=Je(n)?"checked":"value";n._valueTracker=Vn(n,o,""+n[o])}}function ai(n){if(!n)return!1;var o=n._valueTracker;if(!o)return!0;var s=o.getValue(),w="";return n&&(w=Je(n)?n.checked?"true":"false":n.value),n=w,n!==s?(o.setValue(n),!0):!1}function Eo(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}function qt(n){return n.replace(Ob,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function Gn(n,o){o.checked===void 0||o.defaultChecked===void 0||FS||(console.error("%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://react.dev/link/controlled-components",ve()||"A component",o.type),FS=!0),o.value===void 0||o.defaultValue===void 0||aE||(console.error("%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://react.dev/link/controlled-components",ve()||"A component",o.type),aE=!0)}function Fo(n,o,s,w,_,O,G,q){n.name="",G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"?(et(G,"type"),n.type=G):n.removeAttribute("type"),o!=null?G==="number"?(o===0&&n.value===""||n.value!=o)&&(n.value=""+Xt(o)):n.value!==""+Xt(o)&&(n.value=""+Xt(o)):G!=="submit"&&G!=="reset"||n.removeAttribute("value"),o!=null?ki(n,G,Xt(o)):s!=null?ki(n,G,Xt(s)):w!=null&&n.removeAttribute("value"),_==null&&O!=null&&(n.defaultChecked=!!O),_!=null&&(n.checked=_&&typeof _!="function"&&typeof _!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?(et(q,"name"),n.name=""+Xt(q)):n.removeAttribute("name")}function po(n,o,s,w,_,O,G,q){if(O!=null&&typeof O!="function"&&typeof O!="symbol"&&typeof O!="boolean"&&(et(O,"type"),n.type=O),o!=null||s!=null){if(!(O!=="submit"&&O!=="reset"||o!=null)){Lt(n);return}s=s!=null?""+Xt(s):"",o=o!=null?""+Xt(o):s,q||o===n.value||(n.value=o),n.defaultValue=o}w=w??_,w=typeof w!="function"&&typeof w!="symbol"&&!!w,n.checked=q?n.checked:!!w,n.defaultChecked=!!w,G!=null&&typeof G!="function"&&typeof G!="symbol"&&typeof G!="boolean"&&(et(G,"name"),n.name=G),Lt(n)}function ki(n,o,s){o==="number"&&Eo(n.ownerDocument)===n||n.defaultValue===""+s||(n.defaultValue=""+s)}function Lr(n,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?Gm.Children.forEach(o.children,function(s){s==null||typeof s=="string"||typeof s=="number"||typeof s=="bigint"||r||(r=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):o.dangerouslySetInnerHTML==null||l||(l=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),o.selected==null||Zm||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zm=!0)}function it(){var n=ve();return n?`
106
106
 
107
- Check the render method of \``+n+"`.":""}function Ee(n,o,s,w){if(n=n.options,o){o={};for(var _=0;_<s.length;_++)o["$"+s[_]]=!0;for(s=0;s<n.length;s++)_=o.hasOwnProperty("$"+n[s].value),n[s].selected!==_&&(n[s].selected=_),_&&w&&(n[s].defaultSelected=!0)}else{for(s=""+Xt(s),o=null,_=0;_<n.length;_++){if(n[_].value===s){n[_].selected=!0,w&&(n[_].defaultSelected=!0);return}o!==null||n[_].disabled||(o=n[_])}o!==null&&(o.selected=!0)}}function Ke(n,o){for(n=0;n<x.length;n++){var s=x[n];if(o[s]!=null){var w=ei(o[s]);o.multiple&&!w?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,nt()):!o.multiple&&w&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,nt())}}o.value===void 0||o.defaultValue===void 0||v||(console.error("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://react.dev/link/controlled-components"),v=!0)}function st(n,o){o.value===void 0||o.defaultValue===void 0||z||(console.error("%s contains a textarea with both value and defaultValue props. 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://react.dev/link/controlled-components",ve()||"A component"),z=!0),o.children!=null&&o.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function on(n,o,s){if(o!=null&&(o=""+Xt(o),o!==n.value&&(n.value=o),s==null)){n.defaultValue!==o&&(n.defaultValue=o);return}n.defaultValue=s!=null?""+Xt(s):""}function eo(n,o,s,w){if(o==null){if(w!=null){if(s!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ei(w)){if(1<w.length)throw Error("<textarea> can only have at most one child.");w=w[0]}s=w}s==null&&(s=""),o=s}s=Xt(o),n.defaultValue=s,w=n.textContent,w===s&&w!==""&&w!==null&&(n.value=w),Lt(n)}function Dn(n,o){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-o?Dn(n.children[0],o):n}function ot(n){return" "+" ".repeat(n)}function vn(n){return"+ "+" ".repeat(n)}function yn(n){return"- "+" ".repeat(n)}function vi(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function Rn(n,o){return V.test(n)?(n=JSON.stringify(n),n.length>o-2?8>o?'{"..."}':"{"+n.slice(0,o-7)+'..."}':"{"+n+"}"):n.length>o?5>o?'{"..."}':n.slice(0,o-3)+"...":n}function si(n,o,s){var w=120-2*s;if(o===null)return vn(s)+Rn(n,w)+`
107
+ Check the render method of \``+n+"`.":""}function Ee(n,o,s,w){if(n=n.options,o){o={};for(var _=0;_<s.length;_++)o["$"+s[_]]=!0;for(s=0;s<n.length;s++)_=o.hasOwnProperty("$"+n[s].value),n[s].selected!==_&&(n[s].selected=_),_&&w&&(n[s].defaultSelected=!0)}else{for(s=""+Xt(s),o=null,_=0;_<n.length;_++){if(n[_].value===s){n[_].selected=!0,w&&(n[_].defaultSelected=!0);return}o!==null||n[_].disabled||(o=n[_])}o!==null&&(o.selected=!0)}}function Ke(n,o){for(n=0;n<x.length;n++){var s=x[n];if(o[s]!=null){var w=ei(o[s]);o.multiple&&!w?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,it()):!o.multiple&&w&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,it())}}o.value===void 0||o.defaultValue===void 0||v||(console.error("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://react.dev/link/controlled-components"),v=!0)}function st(n,o){o.value===void 0||o.defaultValue===void 0||z||(console.error("%s contains a textarea with both value and defaultValue props. 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://react.dev/link/controlled-components",ve()||"A component"),z=!0),o.children!=null&&o.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function on(n,o,s){if(o!=null&&(o=""+Xt(o),o!==n.value&&(n.value=o),s==null)){n.defaultValue!==o&&(n.defaultValue=o);return}n.defaultValue=s!=null?""+Xt(s):""}function eo(n,o,s,w){if(o==null){if(w!=null){if(s!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ei(w)){if(1<w.length)throw Error("<textarea> can only have at most one child.");w=w[0]}s=w}s==null&&(s=""),o=s}s=Xt(o),n.defaultValue=s,w=n.textContent,w===s&&w!==""&&w!==null&&(n.value=w),Lt(n)}function Dn(n,o){return n.serverProps===void 0&&n.serverTail.length===0&&n.children.length===1&&3<n.distanceFromLeaf&&n.distanceFromLeaf>15-o?Dn(n.children[0],o):n}function rt(n){return" "+" ".repeat(n)}function vn(n){return"+ "+" ".repeat(n)}function yn(n){return"- "+" ".repeat(n)}function vi(n){switch(n.tag){case 26:case 27:case 5:return n.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return n=n.type,n.displayName||n.name||null;case 11:return n=n.type.render,n.displayName||n.name||null;case 1:return n=n.type,n.displayName||n.name||null;default:return null}}function Rn(n,o){return V.test(n)?(n=JSON.stringify(n),n.length>o-2?8>o?'{"..."}':"{"+n.slice(0,o-7)+'..."}':"{"+n+"}"):n.length>o?5>o?'{"..."}':n.slice(0,o-3)+"...":n}function si(n,o,s){var w=120-2*s;if(o===null)return vn(s)+Rn(n,w)+`
108
108
  `;if(typeof o=="string"){for(var _=0;_<o.length&&_<n.length&&o.charCodeAt(_)===n.charCodeAt(_);_++);return _>w-8&&10<_&&(n="..."+n.slice(_-8),o="..."+o.slice(_-8)),vn(s)+Rn(n,w)+`
109
109
  `+yn(s)+Rn(o,w)+`
110
- `}return ot(s)+Rn(n,w)+`
110
+ `}return rt(s)+Rn(n,w)+`
111
111
  `}function Sa(n){return Object.prototype.toString.call(n).replace(/^\[object (.*)\]$/,function(o,s){return s})}function yc(n,o){switch(typeof n){case"string":return n=JSON.stringify(n),n.length>o?5>o?'"..."':n.slice(0,o-4)+'..."':n;case"object":if(n===null)return"null";if(ei(n))return"[...]";if(n.$$typeof===Ba)return(o=F(n.type))?"<"+o+">":"<...>";var s=Sa(n);if(s==="Object"){s="",o-=2;for(var w in n)if(n.hasOwnProperty(w)){var _=JSON.stringify(w);if(_!=='"'+w+'"'&&(w=_),o-=w.length-2,_=yc(n[w],15>o?o:15),o-=_.length,0>o){s+=s===""?"...":", ...";break}s+=(s===""?"":",")+w+":"+_}return"{"+s+"}"}return s;case"function":return(o=n.displayName||n.name)?"function "+o:"function";default:return String(n)}}function Ec(n,o){return typeof n!="string"||V.test(n)?"{"+yc(n,o-2)+"}":n.length>o-2?5>o?'"..."':'"'+n.slice(0,o-5)+'..."':'"'+n+'"'}function wc(n,o,s){var w=120-s.length-n.length,_=[],O;for(O in o)if(o.hasOwnProperty(O)&&O!=="children"){var G=Ec(o[O],120-s.length-O.length-1);w-=O.length+G.length+2,_.push(O+"="+G)}return _.length===0?s+"<"+n+`>
112
112
  `:0<w?s+"<"+n+" "+_.join(" ")+`>
113
113
  `:s+"<"+n+`
@@ -118,20 +118,20 @@ Check the render method of \``+n+"`.":""}function Ee(n,o,s,w){if(n=n.options,o){
118
118
  `,w+=yn(s)+O+": "+G+`
119
119
  `):w+=vn(s)+O+": "+q+`
120
120
  `}for(var ne in _)_.hasOwnProperty(ne)&&(n=yc(_[ne],120-2*s-ne.length-2),w+=yn(s)+ne+": "+n+`
121
- `);return w}function Za(n,o,s,w){var _="",O=new Map;for(oe in s)s.hasOwnProperty(oe)&&O.set(oe.toLowerCase(),oe);if(O.size===1&&O.has("children"))_+=wc(n,o,ot(w));else{for(var G in o)if(o.hasOwnProperty(G)&&G!=="children"){var q=120-2*(w+1)-G.length-1,ne=O.get(G.toLowerCase());if(ne!==void 0){O.delete(G.toLowerCase());var oe=o[G];ne=s[ne];var Se=Ec(oe,q);q=Ec(ne,q),typeof oe=="object"&&oe!==null&&typeof ne=="object"&&ne!==null&&Sa(oe)==="Object"&&Sa(ne)==="Object"&&(2<Object.keys(oe).length||2<Object.keys(ne).length||-1<Se.indexOf("...")||-1<q.indexOf("..."))?_+=ot(w+1)+G+`={{
122
- `+Qd(oe,ne,w+2)+ot(w+1)+`}}
121
+ `);return w}function Za(n,o,s,w){var _="",O=new Map;for(oe in s)s.hasOwnProperty(oe)&&O.set(oe.toLowerCase(),oe);if(O.size===1&&O.has("children"))_+=wc(n,o,rt(w));else{for(var G in o)if(o.hasOwnProperty(G)&&G!=="children"){var q=120-2*(w+1)-G.length-1,ne=O.get(G.toLowerCase());if(ne!==void 0){O.delete(G.toLowerCase());var oe=o[G];ne=s[ne];var Se=Ec(oe,q);q=Ec(ne,q),typeof oe=="object"&&oe!==null&&typeof ne=="object"&&ne!==null&&Sa(oe)==="Object"&&Sa(ne)==="Object"&&(2<Object.keys(oe).length||2<Object.keys(ne).length||-1<Se.indexOf("...")||-1<q.indexOf("..."))?_+=rt(w+1)+G+`={{
122
+ `+Qd(oe,ne,w+2)+rt(w+1)+`}}
123
123
  `:(_+=vn(w+1)+G+"="+Se+`
124
124
  `,_+=yn(w+1)+G+"="+q+`
125
- `)}else _+=ot(w+1)+G+"="+Ec(o[G],q)+`
125
+ `)}else _+=rt(w+1)+G+"="+Ec(o[G],q)+`
126
126
  `}O.forEach(function(Ae){if(Ae!=="children"){var he=120-2*(w+1)-Ae.length-1;_+=yn(w+1)+Ae+"="+Ec(s[Ae],he)+`
127
- `}}),_=_===""?ot(w)+"<"+n+`>
128
- `:ot(w)+"<"+n+`
129
- `+_+ot(w)+`>
130
- `}return n=s.children,o=o.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(O="",(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(O=""+o),_+=si(O,""+n,w+1)):(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(_=n==null?_+si(""+o,null,w+1):_+si(""+o,void 0,w+1)),_}function yi(n,o){var s=vi(n);if(s===null){for(s="",n=n.child;n;)s+=yi(n,o),n=n.sibling;return s}return ot(o)+"<"+s+`>
131
- `}function Wd(n,o){var s=Dn(n,o);if(s!==n&&(n.children.length!==1||n.children[0]!==s))return ot(o)+`...
132
- `+Wd(s,o+1);s="";var w=n.fiber._debugInfo;if(w)for(var _=0;_<w.length;_++){var O=w[_].name;typeof O=="string"&&(s+=ot(o)+"<"+O+`>
133
- `,o++)}if(w="",_=n.fiber.pendingProps,n.fiber.tag===6)w=si(_,n.serverProps,o),o++;else if(O=vi(n.fiber),O!==null)if(n.serverProps===void 0){w=o;var G=120-2*w-O.length-2,q="";for(oe in _)if(_.hasOwnProperty(oe)&&oe!=="children"){var ne=Ec(_[oe],15);if(G-=oe.length+ne.length+2,0>G){q+=" ...";break}q+=" "+oe+"="+ne}w=ot(w)+"<"+O+q+`>
134
- `,o++}else n.serverProps===null?(w=wc(O,_,vn(o)),o++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(w=Za(O,_,n.serverProps,o),o++);var oe="";for(_=n.fiber.child,O=0;_&&O<n.children.length;)G=n.children[O],G.fiber===_?(oe+=Wd(G,o),O++):oe+=yi(_,o),_=_.sibling;for(_&&0<n.children.length&&(oe+=ot(o)+`...
127
+ `}}),_=_===""?rt(w)+"<"+n+`>
128
+ `:rt(w)+"<"+n+`
129
+ `+_+rt(w)+`>
130
+ `}return n=s.children,o=o.children,typeof n=="string"||typeof n=="number"||typeof n=="bigint"?(O="",(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(O=""+o),_+=si(O,""+n,w+1)):(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(_=n==null?_+si(""+o,null,w+1):_+si(""+o,void 0,w+1)),_}function yi(n,o){var s=vi(n);if(s===null){for(s="",n=n.child;n;)s+=yi(n,o),n=n.sibling;return s}return rt(o)+"<"+s+`>
131
+ `}function Wd(n,o){var s=Dn(n,o);if(s!==n&&(n.children.length!==1||n.children[0]!==s))return rt(o)+`...
132
+ `+Wd(s,o+1);s="";var w=n.fiber._debugInfo;if(w)for(var _=0;_<w.length;_++){var O=w[_].name;typeof O=="string"&&(s+=rt(o)+"<"+O+`>
133
+ `,o++)}if(w="",_=n.fiber.pendingProps,n.fiber.tag===6)w=si(_,n.serverProps,o),o++;else if(O=vi(n.fiber),O!==null)if(n.serverProps===void 0){w=o;var G=120-2*w-O.length-2,q="";for(oe in _)if(_.hasOwnProperty(oe)&&oe!=="children"){var ne=Ec(_[oe],15);if(G-=oe.length+ne.length+2,0>G){q+=" ...";break}q+=" "+oe+"="+ne}w=rt(w)+"<"+O+q+`>
134
+ `,o++}else n.serverProps===null?(w=wc(O,_,vn(o)),o++):typeof n.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(w=Za(O,_,n.serverProps,o),o++);var oe="";for(_=n.fiber.child,O=0;_&&O<n.children.length;)G=n.children[O],G.fiber===_?(oe+=Wd(G,o),O++):oe+=yi(_,o),_=_.sibling;for(_&&0<n.children.length&&(oe+=rt(o)+`...
135
135
  `),_=n.serverTail,n.serverProps===null&&o--,n=0;n<_.length;n++)O=_[n],oe=typeof O=="string"?oe+(yn(o)+Rn(O,120-2*o)+`
136
136
  `):oe+wc(O.type,O.props,yn(o));return s+w+oe}function Rl(n){try{return`
137
137
 
@@ -222,7 +222,7 @@ It looks like you wrote `+O+`(async () => ...) or returned a Promise. Instead, w
222
222
  fetchData();
223
223
  }, [someId]); // Or [] if effect doesn't need props or state
224
224
 
225
- Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+w,ye(o,function(q,ne){console.error("%s must not return anything besides a function, which is used for clean-up.%s",q,ne)},O,G)}s=s.next}while(s!==_)}}catch(q){ln(o,o.return,q)}}function Pc(n,o,s){try{var w=o.updateQueue,_=w!==null?w.lastEffect:null;if(_!==null){var O=_.next;w=O;do{if((w.tag&n)===n){var G=w.inst,q=G.destroy;q!==void 0&&(G.destroy=void 0,(n&ga)!==cT&&(ov=!0),_=o,ye(_,_J,_,s,q),(n&ga)!==cT&&(ov=!1))}w=w.next}while(w!==O)}}catch(ne){ln(o,o.return,ne)}}function wm(n,o){tl(n)?(Io(),Gl(o,n),sr()):Gl(o,n)}function jg(n,o,s){tl(n)?(Io(),Pc(s,n,o),sr()):Pc(s,n,o)}function ry(n){var o=n.updateQueue;if(o!==null){var s=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||Zb||(s.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(n)||"instance"),s.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(n)||"instance"));try{ye(n,af,o,s)}catch(w){ln(n,n.return,w)}}}function Sm(n,o,s){return n.getSnapshotBeforeUpdate(o,s)}function X1(n,o){var s=o.memoizedProps,w=o.memoizedState;o=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||Zb||(o.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(n)||"instance"),o.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(n)||"instance"));try{var _=Js(n.type,s),O=ye(n,Sm,o,_,w);s=O8,O!==void 0||s.has(n.type)||(s.add(n.type),ye(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",j(n))})),o.__reactInternalSnapshotBeforeUpdate=O}catch(G){ln(n,n.return,G)}}function zg(n,o,s){s.props=Js(n.type,n.memoizedProps),s.state=n.memoizedState,tl(n)?(Io(),ye(n,XU,n,o,s),sr()):ye(n,XU,n,o,s)}function q1(n){var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}if(typeof o=="function")if(tl(n))try{Io(),n.refCleanup=o(s)}finally{sr()}else n.refCleanup=o(s);else typeof o=="string"?console.error("String refs are no longer supported."):o.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",j(n)),o.current=s}}function Vu(n,o){try{ye(n,q1,n)}catch(s){ln(n,o,s)}}function Ha(n,o){var s=n.ref,w=n.refCleanup;if(s!==null)if(typeof w=="function")try{if(tl(n))try{Io(),ye(n,w)}finally{sr(n)}else ye(n,w)}catch(_){ln(n,o,_)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{if(tl(n))try{Io(),ye(n,s,null)}finally{sr(n)}else ye(n,s,null)}catch(_){ln(n,o,_)}else s.current=null}function ay(n,o,s,w){var _=n.memoizedProps,O=_.id,G=_.onCommit;_=_.onRender,o=o===null?"mount":"update",oT&&(o="nested-update"),typeof _=="function"&&_(O,o,n.actualDuration,n.treeBaseDuration,n.actualStartTime,s),typeof G=="function"&&G(O,o,w,s)}function K1(n,o,s,w){var _=n.memoizedProps;n=_.id,_=_.onPostCommit,o=o===null?"mount":"update",oT&&(o="nested-update"),typeof _=="function"&&_(n,o,w,s)}function Vc(n){var o=n.type,s=n.memoizedProps,w=n.stateNode;try{ye(n,uS,w,o,s,n)}catch(_){ln(n,n.return,_)}}function Bg(n,o,s){try{ye(n,sb,n.stateNode,n.type,s,o,n)}catch(w){ln(n,n.return,w)}}function sy(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Kc(n.type)||n.tag===4}function Fg(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||sy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Kc(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function yf(n,o,s){var w=n.tag;if(w===5||w===6)n=n.stateNode,o?(fS(s),(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,o)):(fS(s),o=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,o.appendChild(n),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=Or));else if(w!==4&&(w===27&&Kc(n.type)&&(s=n.stateNode,o=null),n=n.child,n!==null))for(yf(n,o,s),n=n.sibling;n!==null;)yf(n,o,s),n=n.sibling}function Tm(n,o,s){var w=n.tag;if(w===5||w===6)n=n.stateNode,o?s.insertBefore(n,o):s.appendChild(n);else if(w!==4&&(w===27&&Kc(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(Tm(n,o,s),n=n.sibling;n!==null;)Tm(n,o,s),n=n.sibling}function ly(n){for(var o,s=n.return;s!==null;){if(sy(s)){o=s;break}s=s.return}if(o==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(o.tag){case 27:o=o.stateNode,s=Fg(n),Tm(n,s,o);break;case 5:s=o.stateNode,o.flags&32&&(lb(s),o.flags&=-33),o=Fg(n),Tm(n,o,s);break;case 3:case 4:o=o.stateNode.containerInfo,s=Fg(n),yf(n,s,o);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function cy(n){var o=n.stateNode,s=n.memoizedProps;try{ye(n,cl,n.type,s,o,n)}catch(w){ln(n,n.return,w)}}function uy(n,o){return o.tag===31?(o=o.memoizedState,n.memoizedState!==null&&o===null):o.tag===13?(n=n.memoizedState,o=o.memoizedState,n!==null&&n.dehydrated!==null&&(o===null||o.dehydrated===null)):o.tag===3?n.memoizedState.isDehydrated&&(o.flags&256)===0:!1}function wC(n,o){if(n=n.containerInfo,DN=UT,n=Dr(n),ts(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var w=s.getSelection&&s.getSelection();if(w&&w.rangeCount!==0){s=w.anchorNode;var _=w.anchorOffset,O=w.focusNode;w=w.focusOffset;try{s.nodeType,O.nodeType}catch{s=null;break e}var G=0,q=-1,ne=-1,oe=0,Se=0,Ae=n,he=null;t:for(;;){for(var Ie;Ae!==s||_!==0&&Ae.nodeType!==3||(q=G+_),Ae!==O||w!==0&&Ae.nodeType!==3||(ne=G+w),Ae.nodeType===3&&(G+=Ae.nodeValue.length),(Ie=Ae.firstChild)!==null;)he=Ae,Ae=Ie;for(;;){if(Ae===n)break t;if(he===s&&++oe===_&&(q=G),he===O&&++Se===w&&(ne=G),(Ie=Ae.nextSibling)!==null)break;Ae=he,he=Ae.parentNode}Ae=Ie}s=q===-1||ne===-1?null:{start:q,end:ne}}else s=null}s=s||{start:0,end:0}}else s=null;for(RN={focusedElem:n,selectionRange:s},UT=!1,Ki=o;Ki!==null;)if(o=Ki,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,Ki=n;else for(;Ki!==null;){switch(n=o=Ki,s=n.alternate,_=n.flags,n.tag){case 0:if((_&4)!==0&&(n=n.updateQueue,n=n!==null?n.events:null,n!==null))for(s=0;s<n.length;s++)_=n[s],_.ref.impl=_.nextImpl;break;case 11:case 15:break;case 1:(_&1024)!==0&&s!==null&&X1(n,s);break;case 3:if((_&1024)!==0){if(n=n.stateNode.containerInfo,s=n.nodeType,s===9)Rf(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Rf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((_&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(n=o.sibling,n!==null){n.return=o.return,Ki=n;break}Ki=o.return}}function Pg(n,o,s){var w=wo(),_=ka(),O=Jr(),G=Ia(),q=s.flags;switch(s.tag){case 0:case 11:case 15:aa(n,s),q&4&&Y1(s,_s|Sl);break;case 1:if(aa(n,s),q&4)if(n=s.stateNode,o===null)s.type.defaultProps||"ref"in s.memoizedProps||Zb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(s)||"instance")),tl(s)?(Io(),ye(s,JC,s,n),sr()):ye(s,JC,s,n);else{var ne=Js(s.type,o.memoizedProps);o=o.memoizedState,s.type.defaultProps||"ref"in s.memoizedProps||Zb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(s)||"instance")),tl(s)?(Io(),ye(s,QU,s,n,ne,o,n.__reactInternalSnapshotBeforeUpdate),sr()):ye(s,QU,s,n,ne,o,n.__reactInternalSnapshotBeforeUpdate)}q&64&&ry(s),q&512&&Vu(s,s.return);break;case 3:if(o=Vs(),aa(n,s),q&64&&(q=s.updateQueue,q!==null)){if(ne=null,s.child!==null)switch(s.child.tag){case 27:case 5:ne=s.child.stateNode;break;case 1:ne=s.child.stateNode}try{ye(s,af,q,ne)}catch(Se){ln(s,s.return,Se)}}n.effectDuration+=tf(o);break;case 27:o===null&&q&4&&cy(s);case 26:case 5:if(aa(n,s),o===null){if(q&4)Vc(s);else if(q&64){n=s.type,o=s.memoizedProps,ne=s.stateNode;try{ye(s,dS,ne,n,o,s)}catch(Se){ln(s,s.return,Se)}}}q&512&&Vu(s,s.return);break;case 12:if(q&4){q=Vs(),aa(n,s),n=s.stateNode,n.effectDuration+=ar(q);try{ye(s,ay,s,o,th,n.effectDuration)}catch(Se){ln(s,s.return,Se)}}else aa(n,s);break;case 31:aa(n,s),q&4&&fy(n,s);break;case 13:aa(n,s),q&4&&hy(n,s),q&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(q=Wl.bind(null,s),TS(n,q))));break;case 22:if(q=s.memoizedState!==null||gd,!q){o=o!==null&&o.memoizedState!==null||Di,ne=gd;var oe=Di;gd=q,(Di=o)&&!oe?(ms(n,s,(s.subtreeFlags&8772)!==0),(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(s,Ut,Ft)):aa(n,s),gd=ne,Di=oe}break;case 30:break;default:aa(n,s)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),s.alternate===null&&s.return!==null&&s.return.alternate!==null&&.05<Ft-Ut&&(uy(s.return.alternate,s.return)||Da(s,Ut,Ft,"Mount"))),Ei(w),Zr(_),Ro=O,qo=G}function Yo(n){var o=n.alternate;o!==null&&(n.alternate=null,Yo(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&Mt(o)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function go(n,o,s){for(s=s.child;s!==null;)dy(n,o,s),s=s.sibling}function dy(n,o,s){if(fi&&typeof fi.onCommitFiberUnmount=="function")try{fi.onCommitFiberUnmount(od,s)}catch(oe){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",oe))}var w=wo(),_=ka(),O=Jr(),G=Ia();switch(s.tag){case 26:Di||Ha(s,o),go(n,o,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(n=s.stateNode,n.parentNode.removeChild(n));break;case 27:Di||Ha(s,o);var q=Ri,ne=Pa;Kc(s.type)&&(Ri=s.stateNode,Pa=!1),go(n,o,s),ye(s,Kl,s.stateNode),Ri=q,Pa=ne;break;case 5:Di||Ha(s,o);case 6:if(q=Ri,ne=Pa,Ri=null,go(n,o,s),Ri=q,Pa=ne,Ri!==null)if(Pa)try{ye(s,mS,Ri,s.stateNode)}catch(oe){ln(s,o,oe)}else try{ye(s,hS,Ri,s.stateNode)}catch(oe){ln(s,o,oe)}break;case 18:Ri!==null&&(Pa?(n=Ri,Xu(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),Ju(n)):Xu(Ri,s.stateNode));break;case 4:q=Ri,ne=Pa,Ri=s.stateNode.containerInfo,Pa=!0,go(n,o,s),Ri=q,Pa=ne;break;case 0:case 11:case 14:case 15:Pc(ga,s,o),Di||Hg(s,o,_s),go(n,o,s);break;case 1:Di||(Ha(s,o),q=s.stateNode,typeof q.componentWillUnmount=="function"&&zg(s,o,q)),go(n,o,s);break;case 21:go(n,o,s);break;case 22:Di=(q=Di)||s.memoizedState!==null,go(n,o,s),Di=q;break;default:go(n,o,s)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),Ei(w),Zr(_),Ro=O,qo=G}function fy(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{ye(o,cb,n)}catch(s){ln(o,o.return,s)}}}function hy(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ye(o,ky,n)}catch(s){ln(o,o.return,s)}}function Z1(n){switch(n.tag){case 31:case 13:case 19:var o=n.stateNode;return o===null&&(o=n.stateNode=new D8),o;case 22:return n=n.stateNode,o=n._retryCache,o===null&&(o=n._retryCache=new D8),o;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function Gc(n,o){var s=Z1(n);o.forEach(function(w){if(!s.has(w)){if(s.add(w),fl)if(Jb!==null&&ev!==null)xf(ev,Jb);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var _=Wu.bind(null,n,w);w.then(_,_)}})}function fr(n,o){var s=o.deletions;if(s!==null)for(var w=0;w<s.length;w++){var _=n,O=o,G=s[w],q=wo(),ne=O;e:for(;ne!==null;){switch(ne.tag){case 27:if(Kc(ne.type)){Ri=ne.stateNode,Pa=!1;break e}break;case 5:Ri=ne.stateNode,Pa=!1;break e;case 3:case 4:Ri=ne.stateNode.containerInfo,Pa=!0;break e}ne=ne.return}if(Ri===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");dy(_,O,G),Ri=null,Pa=!1,(G.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(G,Ut,Ft,"Unmount"),Ei(q),_=G,O=_.alternate,O!==null&&(O.return=null),_.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Am(o,n),o=o.sibling}function Am(n,o){var s=wo(),w=ka(),_=Jr(),O=Ia(),G=n.alternate,q=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:fr(o,n),hr(n),q&4&&(Pc(ga|Sl,n,n.return),Gl(ga|Sl,n),Hg(n,n.return,_s|Sl));break;case 1:if(fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),q&64&&gd&&(q=n.updateQueue,q!==null&&(G=q.callbacks,G!==null))){var ne=q.shared.hiddenCallbacks;q.shared.hiddenCallbacks=ne===null?G:ne.concat(G)}break;case 26:if(ne=oc,fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),q&4){var oe=G!==null?G.memoizedState:null;if(q=n.memoizedState,G===null)if(q===null)if(n.stateNode===null){e:{q=n.type,G=n.memoizedProps,ne=ne.ownerDocument||ne;t:switch(q){case"title":oe=ne.getElementsByTagName("title")[0],(!oe||oe[Wf]||oe[Ao]||oe.namespaceURI===cn||oe.hasAttribute("itemprop"))&&(oe=ne.createElement(q),ne.head.insertBefore(oe,ne.querySelector("head > title"))),To(oe,q,G),oe[Ao]=n,Ce(oe),q=oe;break e;case"link":var Se=If("link","href",ne).get(q+(G.href||""));if(Se){for(var Ae=0;Ae<Se.length;Ae++)if(oe=Se[Ae],oe.getAttribute("href")===(G.href==null||G.href===""?null:G.href)&&oe.getAttribute("rel")===(G.rel==null?null:G.rel)&&oe.getAttribute("title")===(G.title==null?null:G.title)&&oe.getAttribute("crossorigin")===(G.crossOrigin==null?null:G.crossOrigin)){Se.splice(Ae,1);break t}}oe=ne.createElement(q),To(oe,q,G),ne.head.appendChild(oe);break;case"meta":if(Se=If("meta","content",ne).get(q+(G.content||""))){for(Ae=0;Ae<Se.length;Ae++)if(oe=Se[Ae],et(G.content,"content"),oe.getAttribute("content")===(G.content==null?null:""+G.content)&&oe.getAttribute("name")===(G.name==null?null:G.name)&&oe.getAttribute("property")===(G.property==null?null:G.property)&&oe.getAttribute("http-equiv")===(G.httpEquiv==null?null:G.httpEquiv)&&oe.getAttribute("charset")===(G.charSet==null?null:G.charSet)){Se.splice(Ae,1);break t}}oe=ne.createElement(q),To(oe,q,G),ne.head.appendChild(oe);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+q+'". This is a bug in React.')}oe[Ao]=n,Ce(oe),q=oe}n.stateNode=q}else CS(ne,n.type,n.stateNode);else n.stateNode=fb(ne,q,n.memoizedProps);else oe!==q?(oe===null?G.stateNode!==null&&(G=G.stateNode,G.parentNode.removeChild(G)):oe.count--,q===null?CS(ne,n.type,n.stateNode):fb(ne,q,n.memoizedProps)):q===null&&n.stateNode!==null&&Bg(n,n.memoizedProps,G.memoizedProps)}break;case 27:fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),G!==null&&q&4&&Bg(n,n.memoizedProps,G.memoizedProps);break;case 5:if(fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),n.flags&32){ne=n.stateNode;try{ye(n,lb,ne)}catch(pt){ln(n,n.return,pt)}}q&4&&n.stateNode!=null&&(ne=n.memoizedProps,Bg(n,ne,G!==null?G.memoizedProps:ne)),q&1024&&(fN=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(fr(o,n),hr(n),q&4){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");q=n.memoizedProps,G=G!==null?G.memoizedProps:q,ne=n.stateNode;try{ye(n,SC,ne,G,q)}catch(pt){ln(n,n.return,pt)}}break;case 3:if(ne=Vs(),kT=null,oe=oc,oc=ub(o.containerInfo),fr(o,n),oc=oe,hr(n),q&4&&G!==null&&G.memoizedState.isDehydrated)try{ye(n,My,o.containerInfo)}catch(pt){ln(n,n.return,pt)}fN&&(fN=!1,J1(n)),o.effectDuration+=tf(ne);break;case 4:q=oc,oc=ub(n.stateNode.containerInfo),fr(o,n),hr(n),oc=q;break;case 12:q=Vs(),fr(o,n),hr(n),n.stateNode.effectDuration+=ar(q);break;case 31:fr(o,n),hr(n),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 13:fr(o,n),hr(n),n.child.flags&8192&&n.memoizedState!==null!=(G!==null&&G.memoizedState!==null)&&(yT=_i()),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 22:ne=n.memoizedState!==null;var he=G!==null&&G.memoizedState!==null,Ie=gd,dt=Di;if(gd=Ie||ne,Di=dt||he,fr(o,n),Di=dt,gd=Ie,he&&!ne&&!Ie&&!dt&&(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(n,Ut,Ft),hr(n),q&8192)e:for(o=n.stateNode,o._visibility=ne?o._visibility&~pE:o._visibility|pE,!ne||G===null||he||gd||Di||(Qc(n),(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(n,Ut,Ft,"Disconnect")),G=null,o=n;;){if(o.tag===5||o.tag===26){if(G===null){he=G=o;try{oe=he.stateNode,ne?ye(he,gS,oe):ye(he,yS,he.stateNode,he.memoizedProps)}catch(pt){ln(he,he.return,pt)}}}else if(o.tag===6){if(G===null){he=o;try{Se=he.stateNode,ne?ye(he,bS,Se):ye(he,ES,Se,he.memoizedProps)}catch(pt){ln(he,he.return,pt)}}}else if(o.tag===18){if(G===null){he=o;try{Ae=he.stateNode,ne?ye(he,pS,Ae):ye(he,vS,he.stateNode)}catch(pt){ln(he,he.return,pt)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===n)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break e;for(;o.sibling===null;){if(o.return===null||o.return===n)break e;G===o&&(G=null),o=o.return}G===o&&(G=null),o.sibling.return=o.return,o=o.sibling}q&4&&(q=n.updateQueue,q!==null&&(G=q.retryQueue,G!==null&&(q.retryQueue=null,Gc(n,G))));break;case 19:fr(o,n),hr(n),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 30:break;case 21:break;default:fr(o,n),hr(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Ft-Ut&&(uy(n.return.alternate,n.return)||Da(n,Ut,Ft,"Mount"))),Ei(s),Zr(w),Ro=_,qo=O}function hr(n){var o=n.flags;if(o&2){try{ye(n,ly,n)}catch(s){ln(n,n.return,s)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function J1(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var o=n;J1(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),n=n.sibling}}function aa(n,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Pg(n,o.alternate,o),o=o.sibling}function Vg(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 14:case 15:Hg(n,n.return,_s),Qc(n);break;case 1:Ha(n,n.return);var O=n.stateNode;typeof O.componentWillUnmount=="function"&&zg(n,n.return,O),Qc(n);break;case 27:ye(n,Kl,n.stateNode);case 26:case 5:Ha(n,n.return),Qc(n);break;case 22:n.memoizedState===null&&Qc(n);break;case 30:Qc(n);break;default:Qc(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),Ro=w,qo=_}function Qc(n){for(n=n.child;n!==null;)Vg(n),n=n.sibling}function my(n,o,s,w){var _=wo(),O=ka(),G=Jr(),q=Ia(),ne=s.flags;switch(s.tag){case 0:case 11:case 15:ms(n,s,w),Y1(s,_s);break;case 1:if(ms(n,s,w),o=s.stateNode,typeof o.componentDidMount=="function"&&ye(s,JC,s,o),o=s.updateQueue,o!==null){n=s.stateNode;try{ye(s,I0,o,n)}catch(oe){ln(s,s.return,oe)}}w&&ne&64&&ry(s),Vu(s,s.return);break;case 27:cy(s);case 26:case 5:ms(n,s,w),w&&o===null&&ne&4&&Vc(s),Vu(s,s.return);break;case 12:if(w&&ne&4){ne=Vs(),ms(n,s,w),w=s.stateNode,w.effectDuration+=ar(ne);try{ye(s,ay,s,o,th,w.effectDuration)}catch(oe){ln(s,s.return,oe)}}else ms(n,s,w);break;case 31:ms(n,s,w),w&&ne&4&&fy(n,s);break;case 13:ms(n,s,w),w&&ne&4&&hy(n,s);break;case 22:s.memoizedState===null&&ms(n,s,w),Vu(s,s.return);break;case 30:break;default:ms(n,s,w)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),Ei(_),Zr(O),Ro=G,qo=q}function ms(n,o,s){for(s=s&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;)my(n,o.alternate,o,s),o=o.sibling}function xm(n,o){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(n=o.memoizedState.cachePool.pool),n!==s&&(n!=null&&Cu(n),s!=null&&Kh(s))}function _m(n,o){n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(Cu(o),n!=null&&Kh(n))}function sa(n,o,s,w,_){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(o=o.child;o!==null;){var O=o.sibling;py(n,o,s,w,O!==null?O.actualStartTime:_),o=O}}function py(n,o,s,w,_){var O=wo(),G=ka(),q=Jr(),ne=Ia(),oe=Kf,Se=o.flags;switch(o.tag){case 0:case 11:case 15:(o.mode&fn)!==Vt&&0<o.actualStartTime&&(o.flags&1)!==0&&rg(o,o.actualStartTime,_,ji,s),sa(n,o,s,w,_),Se&2048&&wm(o,ba|Sl);break;case 1:(o.mode&fn)!==Vt&&0<o.actualStartTime&&((o.flags&128)!==0?y0(o,o.actualStartTime,_,[]):(o.flags&1)!==0&&rg(o,o.actualStartTime,_,ji,s)),sa(n,o,s,w,_);break;case 3:var Ae=Vs(),he=ji;ji=o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)===0,sa(n,o,s,w,_),ji=he,Se&2048&&(s=null,o.alternate!==null&&(s=o.alternate.memoizedState.cache),w=o.memoizedState.cache,w!==s&&(Cu(w),s!=null&&Kh(s))),n.passiveEffectDuration+=tf(Ae);break;case 12:if(Se&2048){Se=Vs(),sa(n,o,s,w,_),n=o.stateNode,n.passiveEffectDuration+=ar(Se);try{ye(o,K1,o,o.alternate,th,n.passiveEffectDuration)}catch(Ie){ln(o,o.return,Ie)}}else sa(n,o,s,w,_);break;case 31:Se=ji,Ae=o.alternate!==null?o.alternate.memoizedState:null,he=o.memoizedState,Ae!==null&&he===null?(he=o.deletions,he!==null&&0<he.length&&he[0].tag===18?(ji=!1,Ae=Ae.hydrationErrors,Ae!==null&&y0(o,o.actualStartTime,_,Ae)):ji=!0):ji=!1,sa(n,o,s,w,_),ji=Se;break;case 13:Se=ji,Ae=o.alternate!==null?o.alternate.memoizedState:null,he=o.memoizedState,Ae===null||Ae.dehydrated===null||he!==null&&he.dehydrated!==null?ji=!1:(he=o.deletions,he!==null&&0<he.length&&he[0].tag===18?(ji=!1,Ae=Ae.hydrationErrors,Ae!==null&&y0(o,o.actualStartTime,_,Ae)):ji=!0),sa(n,o,s,w,_),ji=Se;break;case 23:break;case 22:he=o.stateNode,Ae=o.alternate,o.memoizedState!==null?he._visibility&ad?sa(n,o,s,w,_):Gu(n,o,s,w,_):he._visibility&ad?sa(n,o,s,w,_):(he._visibility|=ad,Wc(n,o,s,w,(o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child),_),(o.mode&fn)===Vt||ji||(n=o.actualStartTime,0<=n&&.05<_-n&&ig(o,n,_),0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(o,Ut,Ft))),Se&2048&&xm(Ae,o);break;case 24:sa(n,o,s,w,_),Se&2048&&_m(o.alternate,o);break;default:sa(n,o,s,w,_)}(o.mode&fn)!==Vt&&((n=!ji&&o.alternate===null&&o.return!==null&&o.return.alternate!==null)&&(s=o.actualStartTime,0<=s&&.05<_-s&&Da(o,s,_,"Mount")),0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(o,Ut,Ft,Ho,Ro),n&&.05<Ft-Ut&&Da(o,Ut,Ft,"Mount"))),Ei(O),Zr(G),Ro=q,qo=ne,Kf=oe}function Wc(n,o,s,w,_,O){for(_=_&&((o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child)),o=o.child;o!==null;){var G=o.sibling;Cm(n,o,s,w,_,G!==null?G.actualStartTime:O),o=G}}function Cm(n,o,s,w,_,O){var G=wo(),q=ka(),ne=Jr(),oe=Ia(),Se=Kf;_&&(o.mode&fn)!==Vt&&0<o.actualStartTime&&(o.flags&1)!==0&&rg(o,o.actualStartTime,O,ji,s);var Ae=o.flags;switch(o.tag){case 0:case 11:case 15:Wc(n,o,s,w,_,O),wm(o,ba);break;case 23:break;case 22:var he=o.stateNode;o.memoizedState!==null?he._visibility&ad?Wc(n,o,s,w,_,O):Gu(n,o,s,w,O):(he._visibility|=ad,Wc(n,o,s,w,_,O)),_&&Ae&2048&&xm(o.alternate,o);break;case 24:Wc(n,o,s,w,_,O),_&&Ae&2048&&_m(o.alternate,o);break;default:Wc(n,o,s,w,_,O)}(o.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(o,Ut,Ft,Ho,Ro),Ei(G),Zr(q),Ro=ne,qo=oe,Kf=Se}function Gu(n,o,s,w,_){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(var O=o.child;O!==null;){o=O.sibling;var G=n,q=s,ne=w,oe=o!==null?o.actualStartTime:_,Se=Kf;(O.mode&fn)!==Vt&&0<O.actualStartTime&&(O.flags&1)!==0&&rg(O,O.actualStartTime,oe,ji,q);var Ae=O.flags;switch(O.tag){case 22:Gu(G,O,q,ne,oe),Ae&2048&&xm(O.alternate,O);break;case 24:Gu(G,O,q,ne,oe),Ae&2048&&_m(O.alternate,O);break;default:Gu(G,O,q,ne,oe)}Kf=Se,O=o}}function Qu(n,o,s){if(n.subtreeFlags&IE)for(n=n.child;n!==null;)Gg(n,o,s),n=n.sibling}function Gg(n,o,s){switch(n.tag){case 26:Qu(n,o,s),n.flags&IE&&n.memoizedState!==null&&jy(s,oc,n.memoizedState,n.memoizedProps);break;case 5:Qu(n,o,s);break;case 3:case 4:var w=oc;oc=ub(n.stateNode.containerInfo),Qu(n,o,s),oc=w;break;case 22:n.memoizedState===null&&(w=n.alternate,w!==null&&w.memoizedState!==null?(w=IE,IE=16777216,Qu(n,o,s),IE=w):Qu(n,o,s));break;default:Qu(n,o,s)}}function gy(n){var o=n.alternate;if(o!==null&&(n=o.child,n!==null)){o.child=null;do o=n.sibling,n.sibling=null,n=o;while(n!==null)}}function la(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var s=0;s<o.length;s++){var w=o[s],_=wo();Ki=w,nl(w,n),(w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(w,Ut,Ft,"Unmount"),Ei(_)}gy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Qg(n),n=n.sibling}function Qg(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 15:la(n),n.flags&2048&&jg(n,n.return,ba|Sl);break;case 3:var O=Vs();la(n),n.stateNode.passiveEffectDuration+=tf(O);break;case 12:O=Vs(),la(n),n.stateNode.passiveEffectDuration+=ar(O);break;case 22:O=n.stateNode,n.memoizedState!==null&&O._visibility&ad&&(n.return===null||n.return.tag!==13)?(O._visibility&=~ad,Wg(n),(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(n,Ut,Ft,"Disconnect")):la(n);break;default:la(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),qo=_,Ro=w}function Wg(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var s=0;s<o.length;s++){var w=o[s],_=wo();Ki=w,nl(w,n),(w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(w,Ut,Ft,"Unmount"),Ei(_)}gy(n)}for(n=n.child;n!==null;)by(n),n=n.sibling}function by(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 15:jg(n,n.return,ba),Wg(n);break;case 22:var O=n.stateNode;O._visibility&ad&&(O._visibility&=~ad,Wg(n));break;default:Wg(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),qo=_,Ro=w}function nl(n,o){for(;Ki!==null;){var s=Ki,w=s,_=o,O=wo(),G=ka(),q=Jr(),ne=Ia();switch(w.tag){case 0:case 11:case 15:jg(w,_,ba);break;case 23:case 22:w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(_=w.memoizedState.cachePool.pool,_!=null&&Cu(_));break;case 24:Kh(w.memoizedState.cache)}if((w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(w,Ut,Ft,Ho,Ro),Ei(O),Zr(G),qo=ne,Ro=q,w=s.child,w!==null)w.return=s,Ki=w;else e:for(s=n;Ki!==null;){if(w=Ki,O=w.sibling,G=w.return,Yo(w),w===s){Ki=null;break e}if(O!==null){O.return=G,Ki=O;break e}Ki=G}}}function vy(){DJ.forEach(function(n){return n()})}function yy(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||Ue.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function Wi(n){if((kn&zi)!==Zi&&mn!==0)return mn&-mn;var o=Ue.T;return o!==null?(o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(n),Ly()):Ge()}function Ef(){if(Ga===0)if((mn&536870912)===0||Tn){var n=qm;qm<<=1,(qm&3932160)===0&&(qm=262144),Ga=n}else Ga=536870912;return n=xs.current,n!==null&&(n.flags|=32),Ga}function Wt(n,o,s){if(ov&&console.error("useInsertionEffect must not schedule updates."),TN&&(TT=!0),(n===ho&&(ro===fp||ro===hp)||n.cancelPendingCommit!==null)&&(ol(n,0),ja(n,mn,Ga,!1)),rt(n,s),(kn&zi)!==Zi&&n===ho){if(ul)switch(o.tag){case 0:case 11:case 15:n=bn&&j(bn)||"Unknown",Q8.has(n)||(Q8.add(n),o=j(o)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",o,n,n));break;case 1:G8||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),G8=!0)}}else fl&&_t(n,o,s),Dm(o),n===ho&&((kn&zi)===Zi&&(ch|=s),jo===ah&&ja(n,mn,Ga,!1)),Ir(n)}function eS(n,o,s){if((kn&(zi|Cs))!==Zi)throw Error("Should not already be working.");if(mn!==0&&bn!==null){var w=bn,_=_i();switch(HU){case HE:case fp:var O=wE;xo&&((w=w._debugTask)?w.run(console.timeStamp.bind(console,"Suspended",O,_,ml,void 0,"primary-light")):console.timeStamp("Suspended",O,_,ml,void 0,"primary-light"));break;case hp:O=wE,xo&&((w=w._debugTask)?w.run(console.timeStamp.bind(console,"Action",O,_,ml,void 0,"primary-light")):console.timeStamp("Action",O,_,ml,void 0,"primary-light"));break;default:xo&&(w=_-wE,3>w||console.timeStamp("Blocked",wE,_,ml,void 0,5>w?"primary-light":10>w?"primary":100>w?"primary-dark":"error"))}}O=(s=!s&&(o&127)===0&&(o&n.expiredLanes)===0||at(n,o))?Ql(n,o):Tf(n,o,!0);var G=s;do{if(O===bd){tv&&!s&&ja(n,o,0,!1),o=ro,wE=Ni(),HU=o;break}else{if(w=_i(),_=n.current.alternate,G&&!nS(_)){os(o),_=qi,O=w,!xo||O<=_||(ti?ti.run(console.timeStamp.bind(console,"Teared Render",_,O,Nn,xn,"error")):console.timeStamp("Teared Render",_,O,Nn,xn,"error")),Yc(o,w),O=Tf(n,o,!1),G=!1;continue}if(O===dp){if(G=o,n.errorRecoveryDisabledLanes&G)var q=0;else q=n.pendingLanes&-536870913,q=q!==0?q:q&536870912?536870912:0;if(q!==0){os(o),E0(qi,w,o,ti),Yc(o,w),o=q;e:{w=n,O=G,G=zE;var ne=w.current.memoizedState.isDehydrated;if(ne&&(ol(w,q).flags|=256),q=Tf(w,q,!1),q!==dp){if(pN&&!ne){w.errorRecoveryDisabledLanes|=O,ch|=O,O=ah;break e}w=va,va=G,w!==null&&(va===null?va=w:va.push.apply(va,w))}O=q}if(G=!1,O!==dp)continue;w=_i()}}if(O===UE){os(o),E0(qi,w,o,ti),Yc(o,w),ol(n,0),ja(n,o,0,!0);break}e:{switch(s=n,O){case bd:case UE:throw Error("Root did not complete. This is a bug in React.");case ah:if((o&4194048)!==o)break;case pT:os(o),O1(qi,w,o,ti),Yc(o,w),_=o,(_&127)!==0?eT=w:(_&4194048)!==0&&(tT=w),ja(s,o,Ga,!sh);break e;case dp:va=null;break;case mT:case R8:break;default:throw Error("Unknown root exit status.")}if(Ue.actQueue!==null)co(s,_,o,va,BE,vT,Ga,ch,mp,O,null,null,qi,w);else{if((o&62914560)===o&&(G=yT+I8-_i(),10<G)){if(ja(s,o,Ga,!sh),gt(s,0,!0)!==0)break e;ic=o,s.timeoutHandle=eH(tS.bind(null,s,_,va,BE,vT,o,Ga,ch,mp,sh,O,"Throttled",qi,w),G);break e}tS(s,_,va,BE,vT,o,Ga,ch,mp,sh,O,null,qi,w)}}}break}while(!0);Ir(n)}function tS(n,o,s,w,_,O,G,q,ne,oe,Se,Ae,he,Ie){n.timeoutHandle=yp;var dt=o.subtreeFlags,pt=null;if((dt&8192||(dt&16785408)===16785408)&&(pt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Or},Gg(o,O,pt),dt=(O&62914560)===O?yT-_i():(O&4194048)===O?k8-_i():0,dt=hb(pt,dt),dt!==null)){ic=O,n.cancelPendingCommit=dt(co.bind(null,n,o,O,s,w,_,G,q,ne,Se,pt,pt.waitingForViewTransition?"Waiting for the previous Animation":0<pt.count?0<pt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":pt.imgCount===1?"Suspended on an Image":0<pt.imgCount?"Suspended on Images":null,he,Ie)),ja(n,O,G,!oe);return}co(n,o,O,s,w,_,G,q,ne,Se,pt,Ae,he,Ie)}function nS(n){for(var o=n;;){var s=o.tag;if((s===0||s===11||s===15)&&o.flags&16384&&(s=o.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var w=0;w<s.length;w++){var _=s[w],O=_.getSnapshot;_=_.value;try{if(!ma(O(),_))return!1}catch{return!1}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function ja(n,o,s,w){o&=~gN,o&=~ch,n.suspendedLanes|=o,n.pingedLanes&=~o,w&&(n.warmLanes|=o),w=n.expirationTimes;for(var _=o;0<_;){var O=31-Ui(_),G=1<<O;w[O]=-1,_&=~G}s!==0&&St(n,s,o)}function ca(){return(kn&(zi|Cs))===Zi?(rl(0),!1):!0}function Yg(){if(bn!==null){if(ro===Va)var n=bn.return;else n=bn,Jd(),Mc(n),Qb=null,OE=0,n=bn;for(;n!==null;)iy(n.alternate,n),n=n.return;bn=null}}function Yc(n,o){(n&127)!==0&&(np=o),(n&4194048)!==0&&(dd=o),(n&62914560)!==0&&($U=o),(n&2080374784)!==0&&(UU=o)}function ol(n,o){xo&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",xn,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",xn,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",xn,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",xn,"primary-light"));var s=qi;if(qi=Ni(),mn!==0&&0<s){if(os(mn),jo===mT||jo===ah)O1(s,qi,o,ti);else{var w=qi,_=ti;if(xo&&!(w<=s)){var O=(o&738197653)===o?"tertiary-dark":"primary-dark",G=(o&536870912)===o?"Prewarm":(o&201326741)===o?"Interrupted Hydration":"Interrupted Render";_?_.run(console.timeStamp.bind(console,G,s,w,Nn,xn,O)):console.timeStamp(G,s,w,Nn,xn,O)}}Yc(mn,qi)}if(s=ti,ti=null,(o&127)!==0){ti=vE,_=0<=ru&&ru<np?np:ru,w=0<=op&&op<np?np:op,O=0<=w?w:0<=_?_:qi,0<=eT?(os(2),D1(eT,O,o,s)):nT&127,s=_;var q=w,ne=yE,oe=0<Pb,Se=nh===bE,Ae=nh===JS;if(_=qi,w=vE,O=YC,G=XC,xo){if(Nn="Blocking",0<s?s>_&&(s=_):s=_,0<q?q>s&&(q=s):q=s,ne!==null&&s>q){var he=oe?"secondary-light":"warning";w?w.run(console.timeStamp.bind(console,oe?"Consecutive":"Event: "+ne,q,s,Nn,xn,he)):console.timeStamp(oe?"Consecutive":"Event: "+ne,q,s,Nn,xn,he)}_>s&&(q=Se?"error":(o&738197653)===o?"tertiary-light":"primary-light",Se=Ae?"Promise Resolved":Se?"Cascading Update":5<_-s?"Update Blocked":"Update",Ae=[],G!=null&&Ae.push(["Component name",G]),O!=null&&Ae.push(["Method name",O]),s={start:s,end:_,detail:{devtools:{properties:Ae,track:Nn,trackGroup:xn,color:q}}},w?w.run(performance.measure.bind(performance,Se,s)):performance.measure(Se,s))}ru=-1.1,nh=0,XC=YC=null,eT=-1.1,Pb=op,op=-1.1,np=Ni()}if((o&4194048)!==0&&(ti=EE,_=0<=fd&&fd<dd?dd:fd,s=0<=El&&El<dd?dd:El,w=0<=oh&&oh<dd?dd:oh,O=0<=w?w:0<=s?s:qi,0<=tT?(os(256),D1(tT,O,o,ti)):nT&4194048,Ae=w,q=ip,ne=0<ih,oe=qC===JS,O=qi,w=EE,G=kU,Se=IU,xo&&(Nn="Transition",0<s?s>O&&(s=O):s=O,0<_?_>s&&(_=s):_=s,0<Ae?Ae>_&&(Ae=_):Ae=_,_>Ae&&q!==null&&(he=ne?"secondary-light":"warning",w?w.run(console.timeStamp.bind(console,ne?"Consecutive":"Event: "+q,Ae,_,Nn,xn,he)):console.timeStamp(ne?"Consecutive":"Event: "+q,Ae,_,Nn,xn,he)),s>_&&(w?w.run(console.timeStamp.bind(console,"Action",_,s,Nn,xn,"primary-dark")):console.timeStamp("Action",_,s,Nn,xn,"primary-dark")),O>s&&(_=oe?"Promise Resolved":5<O-s?"Update Blocked":"Update",Ae=[],Se!=null&&Ae.push(["Component name",Se]),G!=null&&Ae.push(["Method name",G]),s={start:s,end:O,detail:{devtools:{properties:Ae,track:Nn,trackGroup:xn,color:"primary-light"}}},w?w.run(performance.measure.bind(performance,_,s)):performance.measure(_,s))),El=fd=-1.1,qC=0,tT=-1.1,ih=oh,oh=-1.1,dd=Ni()),(o&62914560)!==0&&(nT&62914560)!==0&&(os(4194304),w0($U,qi)),(o&2080374784)!==0&&(nT&2080374784)!==0&&(os(268435456),w0(UU,qi)),s=n.timeoutHandle,s!==yp&&(n.timeoutHandle=yp,VJ(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),ic=0,Yg(),ho=n,bn=s=Fs(n.current,null),mn=o,ro=Va,Ns=null,sh=!1,tv=at(n,o),pN=!1,jo=bd,mp=Ga=gN=ch=lh=0,va=zE=null,vT=!1,(o&8)!==0&&(o|=o&32),w=n.entangledLanes,w!==0)for(n=n.entanglements,w&=o;0<w;)_=31-Ui(w),O=1<<_,o|=n[_],w&=~O;return su=o,ag(),n=NU(),1e3<n-CU&&(Ue.recentlyCreatedOwnerStacks=0,CU=n),tc.discardPendingWarnings(),s}function ps(n,o){Zt=null,Ue.H=kE,Ue.getCurrentStack=null,ul=!1,jr=null,o===Gb||o===aT?(o=Ou(),ro=HE):o===eN?(o=Ou(),ro=M8):ro=o===uN?mN:o!==null&&typeof o=="object"&&typeof o.then=="function"?jE:gT,Ns=o;var s=bn;s===null?(jo=UE,gm(n,rr(o,n.current))):s.mode&fn&&hg(s)}function Ey(){var n=xs.current;return n===null?!0:(mn&4194048)===mn?wl===null:(mn&62914560)===mn||(mn&536870912)!==0?n===wl:!1}function Xg(){var n=Ue.H;return Ue.H=kE,n===null?kE:n}function wy(){var n=Ue.A;return Ue.A=OJ,n}function wf(n){ti===null&&(ti=n._debugTask==null?null:n._debugTask)}function Sf(){jo=ah,sh||(mn&4194048)!==mn&&xs.current!==null||(tv=!0),(lh&134217727)===0&&(ch&134217727)===0||ho===null||ja(ho,mn,Ga,!1)}function Tf(n,o,s){var w=kn;kn|=zi;var _=Xg(),O=wy();if(ho!==n||mn!==o){if(fl){var G=n.memoizedUpdaters;0<G.size&&(xf(n,mn),G.clear()),Et(n,o)}BE=null,ol(n,o)}o=!1,G=jo;e:do try{if(ro!==Va&&bn!==null){var q=bn,ne=Ns;switch(ro){case mN:Yg(),G=pT;break e;case HE:case fp:case hp:case jE:xs.current===null&&(o=!0);var oe=ro;if(ro=Va,Ns=null,Af(n,q,ne,oe),s&&tv){G=bd;break e}break;default:oe=ro,ro=Va,Ns=null,Af(n,q,ne,oe)}}Sy(),G=jo;break}catch(Se){ps(n,Se)}while(!0);return o&&n.shellSuspendCounter++,Jd(),kn=w,Ue.H=_,Ue.A=O,bn===null&&(ho=null,mn=0,ag()),G}function Sy(){for(;bn!==null;)qg(bn)}function Ql(n,o){var s=kn;kn|=zi;var w=Xg(),_=wy();if(ho!==n||mn!==o){if(fl){var O=n.memoizedUpdaters;0<O.size&&(xf(n,mn),O.clear()),Et(n,o)}BE=null,ET=_i()+$8,ol(n,o)}else tv=at(n,o);e:do try{if(ro!==Va&&bn!==null)t:switch(o=bn,O=Ns,ro){case gT:ro=Va,Ns=null,Af(n,o,O,gT);break;case fp:case hp:if(M0(O)){ro=Va,Ns=null,Ty(o);break}o=function(){ro!==fp&&ro!==hp||ho!==n||(ro=bT),Ir(n)},O.then(o,o);break e;case HE:ro=bT;break e;case M8:ro=hN;break e;case bT:M0(O)?(ro=Va,Ns=null,Ty(o)):(ro=Va,Ns=null,Af(n,o,O,bT));break;case hN:var G=null;switch(bn.tag){case 26:G=bn.memoizedState;case 5:case 27:var q=bn;if(G?En(G):q.stateNode.complete){ro=Va,Ns=null;var ne=q.sibling;if(ne!==null)bn=ne;else{var oe=q.return;oe!==null?(bn=oe,Nm(oe)):bn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ro=Va,Ns=null,Af(n,o,O,hN);break;case jE:ro=Va,Ns=null,Af(n,o,O,jE);break;case mN:Yg(),jo=pT;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ue.actQueue!==null?Sy():Jo();break}catch(Se){ps(n,Se)}while(!0);return Jd(),Ue.H=w,Ue.A=_,kn=s,bn!==null?bd:(ho=null,mn=0,ag(),jo)}function Jo(){for(;bn!==null&&!Ab();)qg(bn)}function qg(n){var o=n.alternate;(n.mode&fn)!==Vt?(Il(n),o=ye(n,Em,o,n,su),hg(n)):o=ye(n,Em,o,n,su),n.memoizedProps=n.pendingProps,o===null?Nm(n):bn=o}function Ty(n){var o=ye(n,xi,n);n.memoizedProps=n.pendingProps,o===null?Nm(n):bn=o}function xi(n){var o=n.alternate,s=(n.mode&fn)!==Vt;switch(s&&Il(n),n.tag){case 15:case 0:o=Z0(o,n,n.pendingProps,n.type,void 0,mn);break;case 11:o=Z0(o,n,n.pendingProps,n.type.render,n.ref,mn);break;case 5:Mc(n);default:iy(o,n),n=bn=x0(n,su),o=Em(o,n,su)}return s&&hg(n),o}function Af(n,o,s,w){Jd(),Mc(o),Qb=null,OE=0;var _=o.return;try{if(G0(n,_,o,s,mn)){jo=UE,gm(n,rr(s,n.current)),bn=null;return}}catch(O){if(_!==null)throw bn=_,O;jo=UE,gm(n,rr(s,n.current)),bn=null;return}o.flags&32768?(Tn||w===gT?n=!0:tv||(mn&536870912)!==0?n=!1:(sh=n=!0,(w===fp||w===hp||w===HE||w===jE)&&(w=xs.current,w!==null&&w.tag===13&&(w.flags|=16384))),Ay(o,n)):Nm(o)}function Nm(n){var o=n;do{if((o.flags&32768)!==0){Ay(o,sh);return}var s=o.alternate;if(n=o.return,Il(o),s=ye(o,oy,s,o,su),(o.mode&fn)!==Vt&&Zh(o),s!==null){bn=s;return}if(o=o.sibling,o!==null){bn=o;return}bn=o=n}while(o!==null);jo===bd&&(jo=R8)}function Ay(n,o){do{var s=W1(n.alternate,n);if(s!==null){s.flags&=32767,bn=s;return}if((n.mode&fn)!==Vt){Zh(n),s=n.actualDuration;for(var w=n.child;w!==null;)s+=w.actualDuration,w=w.sibling;n.actualDuration=s}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!o&&(n=n.sibling,n!==null)){bn=n;return}bn=n=s}while(n!==null);jo=pT,bn=null}function co(n,o,s,w,_,O,G,q,ne,oe,Se,Ae,he,Ie){n.cancelPendingCommit=null;do Lm();while(Mi!==dh);if(tc.flushLegacyContextWarning(),tc.flushPendingUnsafeLifecycleWarnings(),(kn&(zi|Cs))!==Zi)throw Error("Should not already be working.");if(os(s),oe===dp?E0(he,Ie,s,ti):w!==null?bC(he,Ie,s,w,o!==null&&o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)!==0,ti):gC(he,Ie,s,ti),o!==null){if(s===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),o===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(O=o.lanes|o.childLanes,O|=PC,vt(n,s,O,G,q,ne),n===ho&&(bn=ho=null,mn=0),nv=o,fh=n,ic=s,yN=O,wN=_,F8=w,EN=Ie,P8=Ae,rc=wT,V8=null,o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,_f(nd,function(){return WE=window.event,rc===wT&&(rc=vN),Om(),null})):(n.callbackNode=null,n.callbackPriority=0),ud=null,th=Ni(),Ae!==null&&vC(Ie,th,Ae,ti),w=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||w){w=Ue.T,Ue.T=null,_=Bn.p,Bn.p=hi,G=kn,kn|=Cs;try{wC(n,o,s)}finally{kn=G,Bn.p=_,Ue.T=w}}Mi=H8,mr(),il(),xy()}}function mr(){if(Mi===H8){Mi=dh;var n=fh,o=nv,s=ic,w=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||w){w=Ue.T,Ue.T=null;var _=Bn.p;Bn.p=hi;var O=kn;kn|=Cs;try{Jb=s,ev=n,Nu(),Am(o,n),ev=Jb=null,s=RN;var G=Dr(n.containerInfo),q=s.focusedElem,ne=s.selectionRange;if(G!==q&&q&&q.ownerDocument&&es(q.ownerDocument.documentElement,q)){if(ne!==null&&ts(q)){var oe=ne.start,Se=ne.end;if(Se===void 0&&(Se=oe),"selectionStart"in q)q.selectionStart=oe,q.selectionEnd=Math.min(Se,q.value.length);else{var Ae=q.ownerDocument||document,he=Ae&&Ae.defaultView||window;if(he.getSelection){var Ie=he.getSelection(),dt=q.textContent.length,pt=Math.min(ne.start,dt),bo=ne.end===void 0?pt:Math.min(ne.end,dt);!Ie.extend&&pt>bo&&(G=bo,bo=pt,pt=G);var _n=ir(q,pt),fe=ir(q,bo);if(_n&&fe&&(Ie.rangeCount!==1||Ie.anchorNode!==_n.node||Ie.anchorOffset!==_n.offset||Ie.focusNode!==fe.node||Ie.focusOffset!==fe.offset)){var ge=Ae.createRange();ge.setStart(_n.node,_n.offset),Ie.removeAllRanges(),pt>bo?(Ie.addRange(ge),Ie.extend(fe.node,fe.offset)):(ge.setEnd(fe.node,fe.offset),Ie.addRange(ge))}}}}for(Ae=[],Ie=q;Ie=Ie.parentNode;)Ie.nodeType===1&&Ae.push({element:Ie,left:Ie.scrollLeft,top:Ie.scrollTop});for(typeof q.focus=="function"&&q.focus(),q=0;q<Ae.length;q++){var we=Ae[q];we.element.scrollLeft=we.left,we.element.scrollTop=we.top}}UT=!!DN,RN=DN=null}finally{kn=O,Bn.p=_,Ue.T=w}}n.current=o,Mi=j8}}function il(){if(Mi===j8){Mi=dh;var n=V8;if(n!==null){th=Ni();var o=cd,s=th;!xo||s<=o||console.timeStamp(n,o,s,Nn,xn,"secondary-light")}n=fh,o=nv,s=ic;var w=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||w){w=Ue.T,Ue.T=null;var _=Bn.p;Bn.p=hi;var O=kn;kn|=Cs;try{Jb=s,ev=n,Nu(),Pg(n,o.alternate,o),ev=Jb=null}finally{kn=O,Bn.p=_,Ue.T=w}}n=EN,o=P8,cd=Ni(),n=o===null?n:th,o=cd,s=rc===bN,w=ti,ud!==null?R1(n,o,ud,!1,w):!xo||o<=n||(w?w.run(console.timeStamp.bind(console,s?"Commit Interrupted View Transition":"Commit",n,o,Nn,xn,s?"error":"secondary-dark")):console.timeStamp(s?"Commit Interrupted View Transition":"Commit",n,o,Nn,xn,s?"error":"secondary-dark")),Mi=z8}}function xy(){if(Mi===B8||Mi===z8){if(Mi===B8){var n=cd;cd=Ni();var o=cd,s=rc===bN;!xo||o<=n||console.timeStamp(s?"Interrupted View Transition":"Starting Animation",n,o,Nn,xn,s?" error":"secondary-light"),rc!==bN&&(rc=U8)}Mi=dh,xb(),n=fh;var w=nv;o=ic,s=F8;var _=w.actualDuration!==0||(w.subtreeFlags&10256)!==0||(w.flags&10256)!==0;_?Mi=ST:(Mi=dh,nv=fh=null,_y(n,n.pendingLanes),pp=0,PE=null);var O=n.pendingLanes;if(O===0&&(uh=null),_||Jg(n),O=xe(o),w=w.stateNode,fi&&typeof fi.onCommitFiberRoot=="function")try{var G=(w.current.flags&128)===128;switch(O){case hi:var q=nE;break;case Hi:q=_b;break;case Xi:q=nd;break;case nu:q=Cb;break;default:q=nd}fi.onCommitFiberRoot(od,w,q,G)}catch(Ae){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",Ae))}if(fl&&n.memoizedUpdaters.clear(),vy(),s!==null){G=Ue.T,q=Bn.p,Bn.p=hi,Ue.T=null;try{var ne=n.onRecoverableError;for(w=0;w<s.length;w++){var oe=s[w],Se=oS(oe.stack);ye(oe.source,ne,oe.value,Se)}}finally{Ue.T=G,Bn.p=q}}(ic&3)!==0&&Lm(),Ir(n),O=n.pendingLanes,(o&261930)!==0&&(O&42)!==0?(iT=!0,n===SN?FE++:(FE=0,SN=n)):FE=0,_||Yc(o,cd),rl(0)}}function oS(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function _y(n,o){(n.pooledCacheLanes&=o)===0&&(o=n.pooledCache,o!=null&&(n.pooledCache=null,Kh(o)))}function Lm(){return mr(),il(),xy(),Om()}function Om(){if(Mi!==ST)return!1;var n=fh,o=yN;yN=0;var s=xe(ic),w=Xi>s?Xi:s;s=Ue.T;var _=Bn.p;try{Bn.p=w,Ue.T=null;var O=wN;wN=null,w=fh;var G=ic;if(Mi=dh,nv=fh=null,ic=0,(kn&(zi|Cs))!==Zi)throw Error("Cannot flush passive effects while already rendering.");os(G),TN=!0,TT=!1;var q=0;if(ud=null,q=_i(),rc===U8)w0(cd,q,TJ);else{var ne=cd,oe=q,Se=rc===vN;!xo||oe<=ne||(ti?ti.run(console.timeStamp.bind(console,Se?"Waiting for Paint":"Waiting",ne,oe,Nn,xn,"secondary-light")):console.timeStamp(Se?"Waiting for Paint":"Waiting",ne,oe,Nn,xn,"secondary-light"))}ne=kn,kn|=Cs;var Ae=w.current;Nu(),Qg(Ae);var he=w.current;Ae=EN,Nu(),py(w,he,G,O,Ae),Jg(w),kn=ne;var Ie=_i();if(he=q,Ae=ti,ud!==null?R1(he,Ie,ud,!0,Ae):!xo||Ie<=he||(Ae?Ae.run(console.timeStamp.bind(console,"Remaining Effects",he,Ie,Nn,xn,"secondary-dark")):console.timeStamp("Remaining Effects",he,Ie,Nn,xn,"secondary-dark")),Yc(G,Ie),rl(0,!1),TT?w===PE?pp++:(pp=0,PE=w):pp=0,TT=TN=!1,fi&&typeof fi.onPostCommitFiberRoot=="function")try{fi.onPostCommitFiberRoot(od,w)}catch(pt){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",pt))}var dt=w.current.stateNode;return dt.effectDuration=0,dt.passiveEffectDuration=0,!0}finally{Bn.p=_,Ue.T=s,_y(n,o)}}function pr(n,o,s){o=rr(s,o),H1(o),o=Lg(n.stateNode,o,2),n=Qs(n,o,2),n!==null&&(rt(n,2),Ir(n))}function ln(n,o,s){if(ov=!1,n.tag===3)pr(n,n,s);else{for(;o!==null;){if(o.tag===3){pr(o,n,s);return}if(o.tag===1){var w=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof w.componentDidCatch=="function"&&(uh===null||!uh.has(w))){n=rr(s,n),H1(n),s=Og(2),w=Qs(o,s,2),w!==null&&(Dg(s,w,o,n),rt(w,2),Ir(w));return}}o=o.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
225
+ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+w,ye(o,function(q,ne){console.error("%s must not return anything besides a function, which is used for clean-up.%s",q,ne)},O,G)}s=s.next}while(s!==_)}}catch(q){ln(o,o.return,q)}}function Pc(n,o,s){try{var w=o.updateQueue,_=w!==null?w.lastEffect:null;if(_!==null){var O=_.next;w=O;do{if((w.tag&n)===n){var G=w.inst,q=G.destroy;q!==void 0&&(G.destroy=void 0,(n&ga)!==cT&&(ov=!0),_=o,ye(_,_J,_,s,q),(n&ga)!==cT&&(ov=!1))}w=w.next}while(w!==O)}}catch(ne){ln(o,o.return,ne)}}function wm(n,o){tl(n)?(Io(),Gl(o,n),sr()):Gl(o,n)}function jg(n,o,s){tl(n)?(Io(),Pc(s,n,o),sr()):Pc(s,n,o)}function ry(n){var o=n.updateQueue;if(o!==null){var s=n.stateNode;n.type.defaultProps||"ref"in n.memoizedProps||Zb||(s.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(n)||"instance"),s.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(n)||"instance"));try{ye(n,af,o,s)}catch(w){ln(n,n.return,w)}}}function Sm(n,o,s){return n.getSnapshotBeforeUpdate(o,s)}function X1(n,o){var s=o.memoizedProps,w=o.memoizedState;o=n.stateNode,n.type.defaultProps||"ref"in n.memoizedProps||Zb||(o.props!==n.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(n)||"instance"),o.state!==n.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(n)||"instance"));try{var _=Js(n.type,s),O=ye(n,Sm,o,_,w);s=O8,O!==void 0||s.has(n.type)||(s.add(n.type),ye(n,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",j(n))})),o.__reactInternalSnapshotBeforeUpdate=O}catch(G){ln(n,n.return,G)}}function zg(n,o,s){s.props=Js(n.type,n.memoizedProps),s.state=n.memoizedState,tl(n)?(Io(),ye(n,XU,n,o,s),sr()):ye(n,XU,n,o,s)}function q1(n){var o=n.ref;if(o!==null){switch(n.tag){case 26:case 27:case 5:var s=n.stateNode;break;case 30:s=n.stateNode;break;default:s=n.stateNode}if(typeof o=="function")if(tl(n))try{Io(),n.refCleanup=o(s)}finally{sr()}else n.refCleanup=o(s);else typeof o=="string"?console.error("String refs are no longer supported."):o.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",j(n)),o.current=s}}function Vu(n,o){try{ye(n,q1,n)}catch(s){ln(n,o,s)}}function Ha(n,o){var s=n.ref,w=n.refCleanup;if(s!==null)if(typeof w=="function")try{if(tl(n))try{Io(),ye(n,w)}finally{sr(n)}else ye(n,w)}catch(_){ln(n,o,_)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof s=="function")try{if(tl(n))try{Io(),ye(n,s,null)}finally{sr(n)}else ye(n,s,null)}catch(_){ln(n,o,_)}else s.current=null}function ay(n,o,s,w){var _=n.memoizedProps,O=_.id,G=_.onCommit;_=_.onRender,o=o===null?"mount":"update",oT&&(o="nested-update"),typeof _=="function"&&_(O,o,n.actualDuration,n.treeBaseDuration,n.actualStartTime,s),typeof G=="function"&&G(O,o,w,s)}function K1(n,o,s,w){var _=n.memoizedProps;n=_.id,_=_.onPostCommit,o=o===null?"mount":"update",oT&&(o="nested-update"),typeof _=="function"&&_(n,o,w,s)}function Vc(n){var o=n.type,s=n.memoizedProps,w=n.stateNode;try{ye(n,uS,w,o,s,n)}catch(_){ln(n,n.return,_)}}function Bg(n,o,s){try{ye(n,sb,n.stateNode,n.type,s,o,n)}catch(w){ln(n,n.return,w)}}function sy(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Kc(n.type)||n.tag===4}function Fg(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||sy(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&Kc(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function yf(n,o,s){var w=n.tag;if(w===5||w===6)n=n.stateNode,o?(fS(s),(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s).insertBefore(n,o)):(fS(s),o=s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,o.appendChild(n),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=Or));else if(w!==4&&(w===27&&Kc(n.type)&&(s=n.stateNode,o=null),n=n.child,n!==null))for(yf(n,o,s),n=n.sibling;n!==null;)yf(n,o,s),n=n.sibling}function Tm(n,o,s){var w=n.tag;if(w===5||w===6)n=n.stateNode,o?s.insertBefore(n,o):s.appendChild(n);else if(w!==4&&(w===27&&Kc(n.type)&&(s=n.stateNode),n=n.child,n!==null))for(Tm(n,o,s),n=n.sibling;n!==null;)Tm(n,o,s),n=n.sibling}function ly(n){for(var o,s=n.return;s!==null;){if(sy(s)){o=s;break}s=s.return}if(o==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(o.tag){case 27:o=o.stateNode,s=Fg(n),Tm(n,s,o);break;case 5:s=o.stateNode,o.flags&32&&(lb(s),o.flags&=-33),o=Fg(n),Tm(n,o,s);break;case 3:case 4:o=o.stateNode.containerInfo,s=Fg(n),yf(n,s,o);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function cy(n){var o=n.stateNode,s=n.memoizedProps;try{ye(n,cl,n.type,s,o,n)}catch(w){ln(n,n.return,w)}}function uy(n,o){return o.tag===31?(o=o.memoizedState,n.memoizedState!==null&&o===null):o.tag===13?(n=n.memoizedState,o=o.memoizedState,n!==null&&n.dehydrated!==null&&(o===null||o.dehydrated===null)):o.tag===3?n.memoizedState.isDehydrated&&(o.flags&256)===0:!1}function wC(n,o){if(n=n.containerInfo,DN=UT,n=Dr(n),ts(n)){if("selectionStart"in n)var s={start:n.selectionStart,end:n.selectionEnd};else e:{s=(s=n.ownerDocument)&&s.defaultView||window;var w=s.getSelection&&s.getSelection();if(w&&w.rangeCount!==0){s=w.anchorNode;var _=w.anchorOffset,O=w.focusNode;w=w.focusOffset;try{s.nodeType,O.nodeType}catch{s=null;break e}var G=0,q=-1,ne=-1,oe=0,Se=0,Ae=n,he=null;t:for(;;){for(var Ie;Ae!==s||_!==0&&Ae.nodeType!==3||(q=G+_),Ae!==O||w!==0&&Ae.nodeType!==3||(ne=G+w),Ae.nodeType===3&&(G+=Ae.nodeValue.length),(Ie=Ae.firstChild)!==null;)he=Ae,Ae=Ie;for(;;){if(Ae===n)break t;if(he===s&&++oe===_&&(q=G),he===O&&++Se===w&&(ne=G),(Ie=Ae.nextSibling)!==null)break;Ae=he,he=Ae.parentNode}Ae=Ie}s=q===-1||ne===-1?null:{start:q,end:ne}}else s=null}s=s||{start:0,end:0}}else s=null;for(RN={focusedElem:n,selectionRange:s},UT=!1,Ki=o;Ki!==null;)if(o=Ki,n=o.child,(o.subtreeFlags&1028)!==0&&n!==null)n.return=o,Ki=n;else for(;Ki!==null;){switch(n=o=Ki,s=n.alternate,_=n.flags,n.tag){case 0:if((_&4)!==0&&(n=n.updateQueue,n=n!==null?n.events:null,n!==null))for(s=0;s<n.length;s++)_=n[s],_.ref.impl=_.nextImpl;break;case 11:case 15:break;case 1:(_&1024)!==0&&s!==null&&X1(n,s);break;case 3:if((_&1024)!==0){if(n=n.stateNode.containerInfo,s=n.nodeType,s===9)Rf(n);else if(s===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Rf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((_&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(n=o.sibling,n!==null){n.return=o.return,Ki=n;break}Ki=o.return}}function Pg(n,o,s){var w=wo(),_=ka(),O=Jr(),G=Ia(),q=s.flags;switch(s.tag){case 0:case 11:case 15:aa(n,s),q&4&&Y1(s,_s|Sl);break;case 1:if(aa(n,s),q&4)if(n=s.stateNode,o===null)s.type.defaultProps||"ref"in s.memoizedProps||Zb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(s)||"instance")),tl(s)?(Io(),ye(s,JC,s,n),sr()):ye(s,JC,s,n);else{var ne=Js(s.type,o.memoizedProps);o=o.memoizedState,s.type.defaultProps||"ref"in s.memoizedProps||Zb||(n.props!==s.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",j(s)||"instance"),n.state!==s.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",j(s)||"instance")),tl(s)?(Io(),ye(s,QU,s,n,ne,o,n.__reactInternalSnapshotBeforeUpdate),sr()):ye(s,QU,s,n,ne,o,n.__reactInternalSnapshotBeforeUpdate)}q&64&&ry(s),q&512&&Vu(s,s.return);break;case 3:if(o=Vs(),aa(n,s),q&64&&(q=s.updateQueue,q!==null)){if(ne=null,s.child!==null)switch(s.child.tag){case 27:case 5:ne=s.child.stateNode;break;case 1:ne=s.child.stateNode}try{ye(s,af,q,ne)}catch(Se){ln(s,s.return,Se)}}n.effectDuration+=tf(o);break;case 27:o===null&&q&4&&cy(s);case 26:case 5:if(aa(n,s),o===null){if(q&4)Vc(s);else if(q&64){n=s.type,o=s.memoizedProps,ne=s.stateNode;try{ye(s,dS,ne,n,o,s)}catch(Se){ln(s,s.return,Se)}}}q&512&&Vu(s,s.return);break;case 12:if(q&4){q=Vs(),aa(n,s),n=s.stateNode,n.effectDuration+=ar(q);try{ye(s,ay,s,o,th,n.effectDuration)}catch(Se){ln(s,s.return,Se)}}else aa(n,s);break;case 31:aa(n,s),q&4&&fy(n,s);break;case 13:aa(n,s),q&4&&hy(n,s),q&64&&(n=s.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(q=Wl.bind(null,s),TS(n,q))));break;case 22:if(q=s.memoizedState!==null||gd,!q){o=o!==null&&o.memoizedState!==null||Di,ne=gd;var oe=Di;gd=q,(Di=o)&&!oe?(ms(n,s,(s.subtreeFlags&8772)!==0),(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(s,Ut,Ft)):aa(n,s),gd=ne,Di=oe}break;case 30:break;default:aa(n,s)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),s.alternate===null&&s.return!==null&&s.return.alternate!==null&&.05<Ft-Ut&&(uy(s.return.alternate,s.return)||Da(s,Ut,Ft,"Mount"))),Ei(w),Zr(_),Ro=O,qo=G}function Yo(n){var o=n.alternate;o!==null&&(n.alternate=null,Yo(o)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(o=n.stateNode,o!==null&&Mt(o)),n.stateNode=null,n._debugOwner=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}function go(n,o,s){for(s=s.child;s!==null;)dy(n,o,s),s=s.sibling}function dy(n,o,s){if(fi&&typeof fi.onCommitFiberUnmount=="function")try{fi.onCommitFiberUnmount(od,s)}catch(oe){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",oe))}var w=wo(),_=ka(),O=Jr(),G=Ia();switch(s.tag){case 26:Di||Ha(s,o),go(n,o,s),s.memoizedState?s.memoizedState.count--:s.stateNode&&(n=s.stateNode,n.parentNode.removeChild(n));break;case 27:Di||Ha(s,o);var q=Ri,ne=Pa;Kc(s.type)&&(Ri=s.stateNode,Pa=!1),go(n,o,s),ye(s,Kl,s.stateNode),Ri=q,Pa=ne;break;case 5:Di||Ha(s,o);case 6:if(q=Ri,ne=Pa,Ri=null,go(n,o,s),Ri=q,Pa=ne,Ri!==null)if(Pa)try{ye(s,mS,Ri,s.stateNode)}catch(oe){ln(s,o,oe)}else try{ye(s,hS,Ri,s.stateNode)}catch(oe){ln(s,o,oe)}break;case 18:Ri!==null&&(Pa?(n=Ri,Xu(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,s.stateNode),Ju(n)):Xu(Ri,s.stateNode));break;case 4:q=Ri,ne=Pa,Ri=s.stateNode.containerInfo,Pa=!0,go(n,o,s),Ri=q,Pa=ne;break;case 0:case 11:case 14:case 15:Pc(ga,s,o),Di||Hg(s,o,_s),go(n,o,s);break;case 1:Di||(Ha(s,o),q=s.stateNode,typeof q.componentWillUnmount=="function"&&zg(s,o,q)),go(n,o,s);break;case 21:go(n,o,s);break;case 22:Di=(q=Di)||s.memoizedState!==null,go(n,o,s),Di=q;break;default:go(n,o,s)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),Ei(w),Zr(_),Ro=O,qo=G}function fy(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{ye(o,cb,n)}catch(s){ln(o,o.return,s)}}}function hy(n,o){if(o.memoizedState===null&&(n=o.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{ye(o,ky,n)}catch(s){ln(o,o.return,s)}}function Z1(n){switch(n.tag){case 31:case 13:case 19:var o=n.stateNode;return o===null&&(o=n.stateNode=new D8),o;case 22:return n=n.stateNode,o=n._retryCache,o===null&&(o=n._retryCache=new D8),o;default:throw Error("Unexpected Suspense handler tag ("+n.tag+"). This is a bug in React.")}}function Gc(n,o){var s=Z1(n);o.forEach(function(w){if(!s.has(w)){if(s.add(w),fl)if(Jb!==null&&ev!==null)xf(ev,Jb);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var _=Wu.bind(null,n,w);w.then(_,_)}})}function fr(n,o){var s=o.deletions;if(s!==null)for(var w=0;w<s.length;w++){var _=n,O=o,G=s[w],q=wo(),ne=O;e:for(;ne!==null;){switch(ne.tag){case 27:if(Kc(ne.type)){Ri=ne.stateNode,Pa=!1;break e}break;case 5:Ri=ne.stateNode,Pa=!1;break e;case 3:case 4:Ri=ne.stateNode.containerInfo,Pa=!0;break e}ne=ne.return}if(Ri===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");dy(_,O,G),Ri=null,Pa=!1,(G.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(G,Ut,Ft,"Unmount"),Ei(q),_=G,O=_.alternate,O!==null&&(O.return=null),_.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)Am(o,n),o=o.sibling}function Am(n,o){var s=wo(),w=ka(),_=Jr(),O=Ia(),G=n.alternate,q=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:fr(o,n),hr(n),q&4&&(Pc(ga|Sl,n,n.return),Gl(ga|Sl,n),Hg(n,n.return,_s|Sl));break;case 1:if(fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),q&64&&gd&&(q=n.updateQueue,q!==null&&(G=q.callbacks,G!==null))){var ne=q.shared.hiddenCallbacks;q.shared.hiddenCallbacks=ne===null?G:ne.concat(G)}break;case 26:if(ne=oc,fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),q&4){var oe=G!==null?G.memoizedState:null;if(q=n.memoizedState,G===null)if(q===null)if(n.stateNode===null){e:{q=n.type,G=n.memoizedProps,ne=ne.ownerDocument||ne;t:switch(q){case"title":oe=ne.getElementsByTagName("title")[0],(!oe||oe[Wf]||oe[Ao]||oe.namespaceURI===cn||oe.hasAttribute("itemprop"))&&(oe=ne.createElement(q),ne.head.insertBefore(oe,ne.querySelector("head > title"))),To(oe,q,G),oe[Ao]=n,Ce(oe),q=oe;break e;case"link":var Se=If("link","href",ne).get(q+(G.href||""));if(Se){for(var Ae=0;Ae<Se.length;Ae++)if(oe=Se[Ae],oe.getAttribute("href")===(G.href==null||G.href===""?null:G.href)&&oe.getAttribute("rel")===(G.rel==null?null:G.rel)&&oe.getAttribute("title")===(G.title==null?null:G.title)&&oe.getAttribute("crossorigin")===(G.crossOrigin==null?null:G.crossOrigin)){Se.splice(Ae,1);break t}}oe=ne.createElement(q),To(oe,q,G),ne.head.appendChild(oe);break;case"meta":if(Se=If("meta","content",ne).get(q+(G.content||""))){for(Ae=0;Ae<Se.length;Ae++)if(oe=Se[Ae],et(G.content,"content"),oe.getAttribute("content")===(G.content==null?null:""+G.content)&&oe.getAttribute("name")===(G.name==null?null:G.name)&&oe.getAttribute("property")===(G.property==null?null:G.property)&&oe.getAttribute("http-equiv")===(G.httpEquiv==null?null:G.httpEquiv)&&oe.getAttribute("charset")===(G.charSet==null?null:G.charSet)){Se.splice(Ae,1);break t}}oe=ne.createElement(q),To(oe,q,G),ne.head.appendChild(oe);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+q+'". This is a bug in React.')}oe[Ao]=n,Ce(oe),q=oe}n.stateNode=q}else CS(ne,n.type,n.stateNode);else n.stateNode=fb(ne,q,n.memoizedProps);else oe!==q?(oe===null?G.stateNode!==null&&(G=G.stateNode,G.parentNode.removeChild(G)):oe.count--,q===null?CS(ne,n.type,n.stateNode):fb(ne,q,n.memoizedProps)):q===null&&n.stateNode!==null&&Bg(n,n.memoizedProps,G.memoizedProps)}break;case 27:fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),G!==null&&q&4&&Bg(n,n.memoizedProps,G.memoizedProps);break;case 5:if(fr(o,n),hr(n),q&512&&(Di||G===null||Ha(G,G.return)),n.flags&32){ne=n.stateNode;try{ye(n,lb,ne)}catch(pt){ln(n,n.return,pt)}}q&4&&n.stateNode!=null&&(ne=n.memoizedProps,Bg(n,ne,G!==null?G.memoizedProps:ne)),q&1024&&(fN=!0,n.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(fr(o,n),hr(n),q&4){if(n.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");q=n.memoizedProps,G=G!==null?G.memoizedProps:q,ne=n.stateNode;try{ye(n,SC,ne,G,q)}catch(pt){ln(n,n.return,pt)}}break;case 3:if(ne=Vs(),kT=null,oe=oc,oc=ub(o.containerInfo),fr(o,n),oc=oe,hr(n),q&4&&G!==null&&G.memoizedState.isDehydrated)try{ye(n,My,o.containerInfo)}catch(pt){ln(n,n.return,pt)}fN&&(fN=!1,J1(n)),o.effectDuration+=tf(ne);break;case 4:q=oc,oc=ub(n.stateNode.containerInfo),fr(o,n),hr(n),oc=q;break;case 12:q=Vs(),fr(o,n),hr(n),n.stateNode.effectDuration+=ar(q);break;case 31:fr(o,n),hr(n),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 13:fr(o,n),hr(n),n.child.flags&8192&&n.memoizedState!==null!=(G!==null&&G.memoizedState!==null)&&(yT=_i()),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 22:ne=n.memoizedState!==null;var he=G!==null&&G.memoizedState!==null,Ie=gd,dt=Di;if(gd=Ie||ne,Di=dt||he,fr(o,n),Di=dt,gd=Ie,he&&!ne&&!Ie&&!dt&&(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(n,Ut,Ft),hr(n),q&8192)e:for(o=n.stateNode,o._visibility=ne?o._visibility&~pE:o._visibility|pE,!ne||G===null||he||gd||Di||(Qc(n),(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(n,Ut,Ft,"Disconnect")),G=null,o=n;;){if(o.tag===5||o.tag===26){if(G===null){he=G=o;try{oe=he.stateNode,ne?ye(he,gS,oe):ye(he,yS,he.stateNode,he.memoizedProps)}catch(pt){ln(he,he.return,pt)}}}else if(o.tag===6){if(G===null){he=o;try{Se=he.stateNode,ne?ye(he,bS,Se):ye(he,ES,Se,he.memoizedProps)}catch(pt){ln(he,he.return,pt)}}}else if(o.tag===18){if(G===null){he=o;try{Ae=he.stateNode,ne?ye(he,pS,Ae):ye(he,vS,he.stateNode)}catch(pt){ln(he,he.return,pt)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===n)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===n)break e;for(;o.sibling===null;){if(o.return===null||o.return===n)break e;G===o&&(G=null),o=o.return}G===o&&(G=null),o.sibling.return=o.return,o=o.sibling}q&4&&(q=n.updateQueue,q!==null&&(G=q.retryQueue,G!==null&&(q.retryQueue=null,Gc(n,G))));break;case 19:fr(o,n),hr(n),q&4&&(q=n.updateQueue,q!==null&&(n.updateQueue=null,Gc(n,q)));break;case 30:break;case 21:break;default:fr(o,n),hr(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),n.alternate===null&&n.return!==null&&n.return.alternate!==null&&.05<Ft-Ut&&(uy(n.return.alternate,n.return)||Da(n,Ut,Ft,"Mount"))),Ei(s),Zr(w),Ro=_,qo=O}function hr(n){var o=n.flags;if(o&2){try{ye(n,ly,n)}catch(s){ln(n,n.return,s)}n.flags&=-3}o&4096&&(n.flags&=-4097)}function J1(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var o=n;J1(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),n=n.sibling}}function aa(n,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Pg(n,o.alternate,o),o=o.sibling}function Vg(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 14:case 15:Hg(n,n.return,_s),Qc(n);break;case 1:Ha(n,n.return);var O=n.stateNode;typeof O.componentWillUnmount=="function"&&zg(n,n.return,O),Qc(n);break;case 27:ye(n,Kl,n.stateNode);case 26:case 5:Ha(n,n.return),Qc(n);break;case 22:n.memoizedState===null&&Qc(n);break;case 30:Qc(n);break;default:Qc(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),Ro=w,qo=_}function Qc(n){for(n=n.child;n!==null;)Vg(n),n=n.sibling}function my(n,o,s,w){var _=wo(),O=ka(),G=Jr(),q=Ia(),ne=s.flags;switch(s.tag){case 0:case 11:case 15:ms(n,s,w),Y1(s,_s);break;case 1:if(ms(n,s,w),o=s.stateNode,typeof o.componentDidMount=="function"&&ye(s,JC,s,o),o=s.updateQueue,o!==null){n=s.stateNode;try{ye(s,I0,o,n)}catch(oe){ln(s,s.return,oe)}}w&&ne&64&&ry(s),Vu(s,s.return);break;case 27:cy(s);case 26:case 5:ms(n,s,w),w&&o===null&&ne&4&&Vc(s),Vu(s,s.return);break;case 12:if(w&&ne&4){ne=Vs(),ms(n,s,w),w=s.stateNode,w.effectDuration+=ar(ne);try{ye(s,ay,s,o,th,w.effectDuration)}catch(oe){ln(s,s.return,oe)}}else ms(n,s,w);break;case 31:ms(n,s,w),w&&ne&4&&fy(n,s);break;case 13:ms(n,s,w),w&&ne&4&&hy(n,s);break;case 22:s.memoizedState===null&&ms(n,s,w),Vu(s,s.return);break;case 30:break;default:ms(n,s,w)}(s.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(s,Ut,Ft,Ho,Ro),Ei(_),Zr(O),Ro=G,qo=q}function ms(n,o,s){for(s=s&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;)my(n,o.alternate,o,s),o=o.sibling}function xm(n,o){var s=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(s=n.memoizedState.cachePool.pool),n=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(n=o.memoizedState.cachePool.pool),n!==s&&(n!=null&&Cu(n),s!=null&&Kh(s))}function _m(n,o){n=null,o.alternate!==null&&(n=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==n&&(Cu(o),n!=null&&Kh(n))}function sa(n,o,s,w,_){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(o=o.child;o!==null;){var O=o.sibling;py(n,o,s,w,O!==null?O.actualStartTime:_),o=O}}function py(n,o,s,w,_){var O=wo(),G=ka(),q=Jr(),ne=Ia(),oe=Kf,Se=o.flags;switch(o.tag){case 0:case 11:case 15:(o.mode&fn)!==Vt&&0<o.actualStartTime&&(o.flags&1)!==0&&rg(o,o.actualStartTime,_,ji,s),sa(n,o,s,w,_),Se&2048&&wm(o,ba|Sl);break;case 1:(o.mode&fn)!==Vt&&0<o.actualStartTime&&((o.flags&128)!==0?y0(o,o.actualStartTime,_,[]):(o.flags&1)!==0&&rg(o,o.actualStartTime,_,ji,s)),sa(n,o,s,w,_);break;case 3:var Ae=Vs(),he=ji;ji=o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)===0,sa(n,o,s,w,_),ji=he,Se&2048&&(s=null,o.alternate!==null&&(s=o.alternate.memoizedState.cache),w=o.memoizedState.cache,w!==s&&(Cu(w),s!=null&&Kh(s))),n.passiveEffectDuration+=tf(Ae);break;case 12:if(Se&2048){Se=Vs(),sa(n,o,s,w,_),n=o.stateNode,n.passiveEffectDuration+=ar(Se);try{ye(o,K1,o,o.alternate,th,n.passiveEffectDuration)}catch(Ie){ln(o,o.return,Ie)}}else sa(n,o,s,w,_);break;case 31:Se=ji,Ae=o.alternate!==null?o.alternate.memoizedState:null,he=o.memoizedState,Ae!==null&&he===null?(he=o.deletions,he!==null&&0<he.length&&he[0].tag===18?(ji=!1,Ae=Ae.hydrationErrors,Ae!==null&&y0(o,o.actualStartTime,_,Ae)):ji=!0):ji=!1,sa(n,o,s,w,_),ji=Se;break;case 13:Se=ji,Ae=o.alternate!==null?o.alternate.memoizedState:null,he=o.memoizedState,Ae===null||Ae.dehydrated===null||he!==null&&he.dehydrated!==null?ji=!1:(he=o.deletions,he!==null&&0<he.length&&he[0].tag===18?(ji=!1,Ae=Ae.hydrationErrors,Ae!==null&&y0(o,o.actualStartTime,_,Ae)):ji=!0),sa(n,o,s,w,_),ji=Se;break;case 23:break;case 22:he=o.stateNode,Ae=o.alternate,o.memoizedState!==null?he._visibility&ad?sa(n,o,s,w,_):Gu(n,o,s,w,_):he._visibility&ad?sa(n,o,s,w,_):(he._visibility|=ad,Wc(n,o,s,w,(o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child),_),(o.mode&fn)===Vt||ji||(n=o.actualStartTime,0<=n&&.05<_-n&&ig(o,n,_),0<=Ut&&0<=Ft&&.05<Ft-Ut&&ig(o,Ut,Ft))),Se&2048&&xm(Ae,o);break;case 24:sa(n,o,s,w,_),Se&2048&&_m(o.alternate,o);break;default:sa(n,o,s,w,_)}(o.mode&fn)!==Vt&&((n=!ji&&o.alternate===null&&o.return!==null&&o.return.alternate!==null)&&(s=o.actualStartTime,0<=s&&.05<_-s&&Da(o,s,_,"Mount")),0<=Ut&&0<=Ft&&((qo||.05<Ho)&&is(o,Ut,Ft,Ho,Ro),n&&.05<Ft-Ut&&Da(o,Ut,Ft,"Mount"))),Ei(O),Zr(G),Ro=q,qo=ne,Kf=oe}function Wc(n,o,s,w,_,O){for(_=_&&((o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child)),o=o.child;o!==null;){var G=o.sibling;Cm(n,o,s,w,_,G!==null?G.actualStartTime:O),o=G}}function Cm(n,o,s,w,_,O){var G=wo(),q=ka(),ne=Jr(),oe=Ia(),Se=Kf;_&&(o.mode&fn)!==Vt&&0<o.actualStartTime&&(o.flags&1)!==0&&rg(o,o.actualStartTime,O,ji,s);var Ae=o.flags;switch(o.tag){case 0:case 11:case 15:Wc(n,o,s,w,_,O),wm(o,ba);break;case 23:break;case 22:var he=o.stateNode;o.memoizedState!==null?he._visibility&ad?Wc(n,o,s,w,_,O):Gu(n,o,s,w,O):(he._visibility|=ad,Wc(n,o,s,w,_,O)),_&&Ae&2048&&xm(o.alternate,o);break;case 24:Wc(n,o,s,w,_,O),_&&Ae&2048&&_m(o.alternate,o);break;default:Wc(n,o,s,w,_,O)}(o.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(o,Ut,Ft,Ho,Ro),Ei(G),Zr(q),Ro=ne,qo=oe,Kf=Se}function Gu(n,o,s,w,_){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(var O=o.child;O!==null;){o=O.sibling;var G=n,q=s,ne=w,oe=o!==null?o.actualStartTime:_,Se=Kf;(O.mode&fn)!==Vt&&0<O.actualStartTime&&(O.flags&1)!==0&&rg(O,O.actualStartTime,oe,ji,q);var Ae=O.flags;switch(O.tag){case 22:Gu(G,O,q,ne,oe),Ae&2048&&xm(O.alternate,O);break;case 24:Gu(G,O,q,ne,oe),Ae&2048&&_m(O.alternate,O);break;default:Gu(G,O,q,ne,oe)}Kf=Se,O=o}}function Qu(n,o,s){if(n.subtreeFlags&IE)for(n=n.child;n!==null;)Gg(n,o,s),n=n.sibling}function Gg(n,o,s){switch(n.tag){case 26:Qu(n,o,s),n.flags&IE&&n.memoizedState!==null&&jy(s,oc,n.memoizedState,n.memoizedProps);break;case 5:Qu(n,o,s);break;case 3:case 4:var w=oc;oc=ub(n.stateNode.containerInfo),Qu(n,o,s),oc=w;break;case 22:n.memoizedState===null&&(w=n.alternate,w!==null&&w.memoizedState!==null?(w=IE,IE=16777216,Qu(n,o,s),IE=w):Qu(n,o,s));break;default:Qu(n,o,s)}}function gy(n){var o=n.alternate;if(o!==null&&(n=o.child,n!==null)){o.child=null;do o=n.sibling,n.sibling=null,n=o;while(n!==null)}}function la(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var s=0;s<o.length;s++){var w=o[s],_=wo();Ki=w,nl(w,n),(w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(w,Ut,Ft,"Unmount"),Ei(_)}gy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Qg(n),n=n.sibling}function Qg(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 15:la(n),n.flags&2048&&jg(n,n.return,ba|Sl);break;case 3:var O=Vs();la(n),n.stateNode.passiveEffectDuration+=tf(O);break;case 12:O=Vs(),la(n),n.stateNode.passiveEffectDuration+=ar(O);break;case 22:O=n.stateNode,n.memoizedState!==null&&O._visibility&ad&&(n.return===null||n.return.tag!==13)?(O._visibility&=~ad,Wg(n),(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(n,Ut,Ft,"Disconnect")):la(n);break;default:la(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),qo=_,Ro=w}function Wg(n){var o=n.deletions;if((n.flags&16)!==0){if(o!==null)for(var s=0;s<o.length;s++){var w=o[s],_=wo();Ki=w,nl(w,n),(w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&.05<Ft-Ut&&Da(w,Ut,Ft,"Unmount"),Ei(_)}gy(n)}for(n=n.child;n!==null;)by(n),n=n.sibling}function by(n){var o=wo(),s=ka(),w=Jr(),_=Ia();switch(n.tag){case 0:case 11:case 15:jg(n,n.return,ba),Wg(n);break;case 22:var O=n.stateNode;O._visibility&ad&&(O._visibility&=~ad,Wg(n));break;default:Wg(n)}(n.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(n,Ut,Ft,Ho,Ro),Ei(o),Zr(s),qo=_,Ro=w}function nl(n,o){for(;Ki!==null;){var s=Ki,w=s,_=o,O=wo(),G=ka(),q=Jr(),ne=Ia();switch(w.tag){case 0:case 11:case 15:jg(w,_,ba);break;case 23:case 22:w.memoizedState!==null&&w.memoizedState.cachePool!==null&&(_=w.memoizedState.cachePool.pool,_!=null&&Cu(_));break;case 24:Kh(w.memoizedState.cache)}if((w.mode&fn)!==Vt&&0<=Ut&&0<=Ft&&(qo||.05<Ho)&&is(w,Ut,Ft,Ho,Ro),Ei(O),Zr(G),qo=ne,Ro=q,w=s.child,w!==null)w.return=s,Ki=w;else e:for(s=n;Ki!==null;){if(w=Ki,O=w.sibling,G=w.return,Yo(w),w===s){Ki=null;break e}if(O!==null){O.return=G,Ki=O;break e}Ki=G}}}function vy(){DJ.forEach(function(n){return n()})}function yy(){var n=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return n||Ue.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),n}function Wi(n){if((kn&zi)!==Zi&&mn!==0)return mn&-mn;var o=Ue.T;return o!==null?(o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(n),Ly()):Ge()}function Ef(){if(Ga===0)if((mn&536870912)===0||Tn){var n=qm;qm<<=1,(qm&3932160)===0&&(qm=262144),Ga=n}else Ga=536870912;return n=xs.current,n!==null&&(n.flags|=32),Ga}function Wt(n,o,s){if(ov&&console.error("useInsertionEffect must not schedule updates."),TN&&(TT=!0),(n===ho&&(ro===fp||ro===hp)||n.cancelPendingCommit!==null)&&(ol(n,0),ja(n,mn,Ga,!1)),tt(n,s),(kn&zi)!==Zi&&n===ho){if(ul)switch(o.tag){case 0:case 11:case 15:n=bn&&j(bn)||"Unknown",Q8.has(n)||(Q8.add(n),o=j(o)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",o,n,n));break;case 1:G8||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),G8=!0)}}else fl&&_t(n,o,s),Dm(o),n===ho&&((kn&zi)===Zi&&(ch|=s),jo===ah&&ja(n,mn,Ga,!1)),Ir(n)}function eS(n,o,s){if((kn&(zi|Cs))!==Zi)throw Error("Should not already be working.");if(mn!==0&&bn!==null){var w=bn,_=_i();switch(HU){case HE:case fp:var O=wE;xo&&((w=w._debugTask)?w.run(console.timeStamp.bind(console,"Suspended",O,_,ml,void 0,"primary-light")):console.timeStamp("Suspended",O,_,ml,void 0,"primary-light"));break;case hp:O=wE,xo&&((w=w._debugTask)?w.run(console.timeStamp.bind(console,"Action",O,_,ml,void 0,"primary-light")):console.timeStamp("Action",O,_,ml,void 0,"primary-light"));break;default:xo&&(w=_-wE,3>w||console.timeStamp("Blocked",wE,_,ml,void 0,5>w?"primary-light":10>w?"primary":100>w?"primary-dark":"error"))}}O=(s=!s&&(o&127)===0&&(o&n.expiredLanes)===0||at(n,o))?Ql(n,o):Tf(n,o,!0);var G=s;do{if(O===bd){tv&&!s&&ja(n,o,0,!1),o=ro,wE=Ni(),HU=o;break}else{if(w=_i(),_=n.current.alternate,G&&!nS(_)){os(o),_=qi,O=w,!xo||O<=_||(ti?ti.run(console.timeStamp.bind(console,"Teared Render",_,O,Nn,xn,"error")):console.timeStamp("Teared Render",_,O,Nn,xn,"error")),Yc(o,w),O=Tf(n,o,!1),G=!1;continue}if(O===dp){if(G=o,n.errorRecoveryDisabledLanes&G)var q=0;else q=n.pendingLanes&-536870913,q=q!==0?q:q&536870912?536870912:0;if(q!==0){os(o),E0(qi,w,o,ti),Yc(o,w),o=q;e:{w=n,O=G,G=zE;var ne=w.current.memoizedState.isDehydrated;if(ne&&(ol(w,q).flags|=256),q=Tf(w,q,!1),q!==dp){if(pN&&!ne){w.errorRecoveryDisabledLanes|=O,ch|=O,O=ah;break e}w=va,va=G,w!==null&&(va===null?va=w:va.push.apply(va,w))}O=q}if(G=!1,O!==dp)continue;w=_i()}}if(O===UE){os(o),E0(qi,w,o,ti),Yc(o,w),ol(n,0),ja(n,o,0,!0);break}e:{switch(s=n,O){case bd:case UE:throw Error("Root did not complete. This is a bug in React.");case ah:if((o&4194048)!==o)break;case pT:os(o),O1(qi,w,o,ti),Yc(o,w),_=o,(_&127)!==0?eT=w:(_&4194048)!==0&&(tT=w),ja(s,o,Ga,!sh);break e;case dp:va=null;break;case mT:case R8:break;default:throw Error("Unknown root exit status.")}if(Ue.actQueue!==null)co(s,_,o,va,BE,vT,Ga,ch,mp,O,null,null,qi,w);else{if((o&62914560)===o&&(G=yT+I8-_i(),10<G)){if(ja(s,o,Ga,!sh),gt(s,0,!0)!==0)break e;ic=o,s.timeoutHandle=eH(tS.bind(null,s,_,va,BE,vT,o,Ga,ch,mp,sh,O,"Throttled",qi,w),G);break e}tS(s,_,va,BE,vT,o,Ga,ch,mp,sh,O,null,qi,w)}}}break}while(!0);Ir(n)}function tS(n,o,s,w,_,O,G,q,ne,oe,Se,Ae,he,Ie){n.timeoutHandle=yp;var dt=o.subtreeFlags,pt=null;if((dt&8192||(dt&16785408)===16785408)&&(pt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Or},Gg(o,O,pt),dt=(O&62914560)===O?yT-_i():(O&4194048)===O?k8-_i():0,dt=hb(pt,dt),dt!==null)){ic=O,n.cancelPendingCommit=dt(co.bind(null,n,o,O,s,w,_,G,q,ne,Se,pt,pt.waitingForViewTransition?"Waiting for the previous Animation":0<pt.count?0<pt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":pt.imgCount===1?"Suspended on an Image":0<pt.imgCount?"Suspended on Images":null,he,Ie)),ja(n,O,G,!oe);return}co(n,o,O,s,w,_,G,q,ne,Se,pt,Ae,he,Ie)}function nS(n){for(var o=n;;){var s=o.tag;if((s===0||s===11||s===15)&&o.flags&16384&&(s=o.updateQueue,s!==null&&(s=s.stores,s!==null)))for(var w=0;w<s.length;w++){var _=s[w],O=_.getSnapshot;_=_.value;try{if(!ma(O(),_))return!1}catch{return!1}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===n)break;for(;o.sibling===null;){if(o.return===null||o.return===n)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function ja(n,o,s,w){o&=~gN,o&=~ch,n.suspendedLanes|=o,n.pingedLanes&=~o,w&&(n.warmLanes|=o),w=n.expirationTimes;for(var _=o;0<_;){var O=31-Ui(_),G=1<<O;w[O]=-1,_&=~G}s!==0&&St(n,s,o)}function ca(){return(kn&(zi|Cs))===Zi?(rl(0),!1):!0}function Yg(){if(bn!==null){if(ro===Va)var n=bn.return;else n=bn,Jd(),Mc(n),Qb=null,OE=0,n=bn;for(;n!==null;)iy(n.alternate,n),n=n.return;bn=null}}function Yc(n,o){(n&127)!==0&&(np=o),(n&4194048)!==0&&(dd=o),(n&62914560)!==0&&($U=o),(n&2080374784)!==0&&(UU=o)}function ol(n,o){xo&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",xn,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",xn,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",xn,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",xn,"primary-light"));var s=qi;if(qi=Ni(),mn!==0&&0<s){if(os(mn),jo===mT||jo===ah)O1(s,qi,o,ti);else{var w=qi,_=ti;if(xo&&!(w<=s)){var O=(o&738197653)===o?"tertiary-dark":"primary-dark",G=(o&536870912)===o?"Prewarm":(o&201326741)===o?"Interrupted Hydration":"Interrupted Render";_?_.run(console.timeStamp.bind(console,G,s,w,Nn,xn,O)):console.timeStamp(G,s,w,Nn,xn,O)}}Yc(mn,qi)}if(s=ti,ti=null,(o&127)!==0){ti=vE,_=0<=ru&&ru<np?np:ru,w=0<=op&&op<np?np:op,O=0<=w?w:0<=_?_:qi,0<=eT?(os(2),D1(eT,O,o,s)):nT&127,s=_;var q=w,ne=yE,oe=0<Pb,Se=nh===bE,Ae=nh===JS;if(_=qi,w=vE,O=YC,G=XC,xo){if(Nn="Blocking",0<s?s>_&&(s=_):s=_,0<q?q>s&&(q=s):q=s,ne!==null&&s>q){var he=oe?"secondary-light":"warning";w?w.run(console.timeStamp.bind(console,oe?"Consecutive":"Event: "+ne,q,s,Nn,xn,he)):console.timeStamp(oe?"Consecutive":"Event: "+ne,q,s,Nn,xn,he)}_>s&&(q=Se?"error":(o&738197653)===o?"tertiary-light":"primary-light",Se=Ae?"Promise Resolved":Se?"Cascading Update":5<_-s?"Update Blocked":"Update",Ae=[],G!=null&&Ae.push(["Component name",G]),O!=null&&Ae.push(["Method name",O]),s={start:s,end:_,detail:{devtools:{properties:Ae,track:Nn,trackGroup:xn,color:q}}},w?w.run(performance.measure.bind(performance,Se,s)):performance.measure(Se,s))}ru=-1.1,nh=0,XC=YC=null,eT=-1.1,Pb=op,op=-1.1,np=Ni()}if((o&4194048)!==0&&(ti=EE,_=0<=fd&&fd<dd?dd:fd,s=0<=El&&El<dd?dd:El,w=0<=oh&&oh<dd?dd:oh,O=0<=w?w:0<=s?s:qi,0<=tT?(os(256),D1(tT,O,o,ti)):nT&4194048,Ae=w,q=ip,ne=0<ih,oe=qC===JS,O=qi,w=EE,G=kU,Se=IU,xo&&(Nn="Transition",0<s?s>O&&(s=O):s=O,0<_?_>s&&(_=s):_=s,0<Ae?Ae>_&&(Ae=_):Ae=_,_>Ae&&q!==null&&(he=ne?"secondary-light":"warning",w?w.run(console.timeStamp.bind(console,ne?"Consecutive":"Event: "+q,Ae,_,Nn,xn,he)):console.timeStamp(ne?"Consecutive":"Event: "+q,Ae,_,Nn,xn,he)),s>_&&(w?w.run(console.timeStamp.bind(console,"Action",_,s,Nn,xn,"primary-dark")):console.timeStamp("Action",_,s,Nn,xn,"primary-dark")),O>s&&(_=oe?"Promise Resolved":5<O-s?"Update Blocked":"Update",Ae=[],Se!=null&&Ae.push(["Component name",Se]),G!=null&&Ae.push(["Method name",G]),s={start:s,end:O,detail:{devtools:{properties:Ae,track:Nn,trackGroup:xn,color:"primary-light"}}},w?w.run(performance.measure.bind(performance,_,s)):performance.measure(_,s))),El=fd=-1.1,qC=0,tT=-1.1,ih=oh,oh=-1.1,dd=Ni()),(o&62914560)!==0&&(nT&62914560)!==0&&(os(4194304),w0($U,qi)),(o&2080374784)!==0&&(nT&2080374784)!==0&&(os(268435456),w0(UU,qi)),s=n.timeoutHandle,s!==yp&&(n.timeoutHandle=yp,VJ(s)),s=n.cancelPendingCommit,s!==null&&(n.cancelPendingCommit=null,s()),ic=0,Yg(),ho=n,bn=s=Fs(n.current,null),mn=o,ro=Va,Ns=null,sh=!1,tv=at(n,o),pN=!1,jo=bd,mp=Ga=gN=ch=lh=0,va=zE=null,vT=!1,(o&8)!==0&&(o|=o&32),w=n.entangledLanes,w!==0)for(n=n.entanglements,w&=o;0<w;)_=31-Ui(w),O=1<<_,o|=n[_],w&=~O;return su=o,ag(),n=NU(),1e3<n-CU&&(Ue.recentlyCreatedOwnerStacks=0,CU=n),tc.discardPendingWarnings(),s}function ps(n,o){Zt=null,Ue.H=kE,Ue.getCurrentStack=null,ul=!1,jr=null,o===Gb||o===aT?(o=Ou(),ro=HE):o===eN?(o=Ou(),ro=M8):ro=o===uN?mN:o!==null&&typeof o=="object"&&typeof o.then=="function"?jE:gT,Ns=o;var s=bn;s===null?(jo=UE,gm(n,rr(o,n.current))):s.mode&fn&&hg(s)}function Ey(){var n=xs.current;return n===null?!0:(mn&4194048)===mn?wl===null:(mn&62914560)===mn||(mn&536870912)!==0?n===wl:!1}function Xg(){var n=Ue.H;return Ue.H=kE,n===null?kE:n}function wy(){var n=Ue.A;return Ue.A=OJ,n}function wf(n){ti===null&&(ti=n._debugTask==null?null:n._debugTask)}function Sf(){jo=ah,sh||(mn&4194048)!==mn&&xs.current!==null||(tv=!0),(lh&134217727)===0&&(ch&134217727)===0||ho===null||ja(ho,mn,Ga,!1)}function Tf(n,o,s){var w=kn;kn|=zi;var _=Xg(),O=wy();if(ho!==n||mn!==o){if(fl){var G=n.memoizedUpdaters;0<G.size&&(xf(n,mn),G.clear()),Et(n,o)}BE=null,ol(n,o)}o=!1,G=jo;e:do try{if(ro!==Va&&bn!==null){var q=bn,ne=Ns;switch(ro){case mN:Yg(),G=pT;break e;case HE:case fp:case hp:case jE:xs.current===null&&(o=!0);var oe=ro;if(ro=Va,Ns=null,Af(n,q,ne,oe),s&&tv){G=bd;break e}break;default:oe=ro,ro=Va,Ns=null,Af(n,q,ne,oe)}}Sy(),G=jo;break}catch(Se){ps(n,Se)}while(!0);return o&&n.shellSuspendCounter++,Jd(),kn=w,Ue.H=_,Ue.A=O,bn===null&&(ho=null,mn=0,ag()),G}function Sy(){for(;bn!==null;)qg(bn)}function Ql(n,o){var s=kn;kn|=zi;var w=Xg(),_=wy();if(ho!==n||mn!==o){if(fl){var O=n.memoizedUpdaters;0<O.size&&(xf(n,mn),O.clear()),Et(n,o)}BE=null,ET=_i()+$8,ol(n,o)}else tv=at(n,o);e:do try{if(ro!==Va&&bn!==null)t:switch(o=bn,O=Ns,ro){case gT:ro=Va,Ns=null,Af(n,o,O,gT);break;case fp:case hp:if(M0(O)){ro=Va,Ns=null,Ty(o);break}o=function(){ro!==fp&&ro!==hp||ho!==n||(ro=bT),Ir(n)},O.then(o,o);break e;case HE:ro=bT;break e;case M8:ro=hN;break e;case bT:M0(O)?(ro=Va,Ns=null,Ty(o)):(ro=Va,Ns=null,Af(n,o,O,bT));break;case hN:var G=null;switch(bn.tag){case 26:G=bn.memoizedState;case 5:case 27:var q=bn;if(G?En(G):q.stateNode.complete){ro=Va,Ns=null;var ne=q.sibling;if(ne!==null)bn=ne;else{var oe=q.return;oe!==null?(bn=oe,Nm(oe)):bn=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}ro=Va,Ns=null,Af(n,o,O,hN);break;case jE:ro=Va,Ns=null,Af(n,o,O,jE);break;case mN:Yg(),jo=pT;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}Ue.actQueue!==null?Sy():Jo();break}catch(Se){ps(n,Se)}while(!0);return Jd(),Ue.H=w,Ue.A=_,kn=s,bn!==null?bd:(ho=null,mn=0,ag(),jo)}function Jo(){for(;bn!==null&&!Ab();)qg(bn)}function qg(n){var o=n.alternate;(n.mode&fn)!==Vt?(Il(n),o=ye(n,Em,o,n,su),hg(n)):o=ye(n,Em,o,n,su),n.memoizedProps=n.pendingProps,o===null?Nm(n):bn=o}function Ty(n){var o=ye(n,xi,n);n.memoizedProps=n.pendingProps,o===null?Nm(n):bn=o}function xi(n){var o=n.alternate,s=(n.mode&fn)!==Vt;switch(s&&Il(n),n.tag){case 15:case 0:o=Z0(o,n,n.pendingProps,n.type,void 0,mn);break;case 11:o=Z0(o,n,n.pendingProps,n.type.render,n.ref,mn);break;case 5:Mc(n);default:iy(o,n),n=bn=x0(n,su),o=Em(o,n,su)}return s&&hg(n),o}function Af(n,o,s,w){Jd(),Mc(o),Qb=null,OE=0;var _=o.return;try{if(G0(n,_,o,s,mn)){jo=UE,gm(n,rr(s,n.current)),bn=null;return}}catch(O){if(_!==null)throw bn=_,O;jo=UE,gm(n,rr(s,n.current)),bn=null;return}o.flags&32768?(Tn||w===gT?n=!0:tv||(mn&536870912)!==0?n=!1:(sh=n=!0,(w===fp||w===hp||w===HE||w===jE)&&(w=xs.current,w!==null&&w.tag===13&&(w.flags|=16384))),Ay(o,n)):Nm(o)}function Nm(n){var o=n;do{if((o.flags&32768)!==0){Ay(o,sh);return}var s=o.alternate;if(n=o.return,Il(o),s=ye(o,oy,s,o,su),(o.mode&fn)!==Vt&&Zh(o),s!==null){bn=s;return}if(o=o.sibling,o!==null){bn=o;return}bn=o=n}while(o!==null);jo===bd&&(jo=R8)}function Ay(n,o){do{var s=W1(n.alternate,n);if(s!==null){s.flags&=32767,bn=s;return}if((n.mode&fn)!==Vt){Zh(n),s=n.actualDuration;for(var w=n.child;w!==null;)s+=w.actualDuration,w=w.sibling;n.actualDuration=s}if(s=n.return,s!==null&&(s.flags|=32768,s.subtreeFlags=0,s.deletions=null),!o&&(n=n.sibling,n!==null)){bn=n;return}bn=n=s}while(n!==null);jo=pT,bn=null}function co(n,o,s,w,_,O,G,q,ne,oe,Se,Ae,he,Ie){n.cancelPendingCommit=null;do Lm();while(Mi!==dh);if(tc.flushLegacyContextWarning(),tc.flushPendingUnsafeLifecycleWarnings(),(kn&(zi|Cs))!==Zi)throw Error("Should not already be working.");if(os(s),oe===dp?E0(he,Ie,s,ti):w!==null?bC(he,Ie,s,w,o!==null&&o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)!==0,ti):gC(he,Ie,s,ti),o!==null){if(s===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),o===n.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(O=o.lanes|o.childLanes,O|=PC,vt(n,s,O,G,q,ne),n===ho&&(bn=ho=null,mn=0),nv=o,fh=n,ic=s,yN=O,wN=_,F8=w,EN=Ie,P8=Ae,rc=wT,V8=null,o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,_f(nd,function(){return WE=window.event,rc===wT&&(rc=vN),Om(),null})):(n.callbackNode=null,n.callbackPriority=0),ud=null,th=Ni(),Ae!==null&&vC(Ie,th,Ae,ti),w=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||w){w=Ue.T,Ue.T=null,_=Bn.p,Bn.p=hi,G=kn,kn|=Cs;try{wC(n,o,s)}finally{kn=G,Bn.p=_,Ue.T=w}}Mi=H8,mr(),il(),xy()}}function mr(){if(Mi===H8){Mi=dh;var n=fh,o=nv,s=ic,w=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||w){w=Ue.T,Ue.T=null;var _=Bn.p;Bn.p=hi;var O=kn;kn|=Cs;try{Jb=s,ev=n,Nu(),Am(o,n),ev=Jb=null,s=RN;var G=Dr(n.containerInfo),q=s.focusedElem,ne=s.selectionRange;if(G!==q&&q&&q.ownerDocument&&es(q.ownerDocument.documentElement,q)){if(ne!==null&&ts(q)){var oe=ne.start,Se=ne.end;if(Se===void 0&&(Se=oe),"selectionStart"in q)q.selectionStart=oe,q.selectionEnd=Math.min(Se,q.value.length);else{var Ae=q.ownerDocument||document,he=Ae&&Ae.defaultView||window;if(he.getSelection){var Ie=he.getSelection(),dt=q.textContent.length,pt=Math.min(ne.start,dt),bo=ne.end===void 0?pt:Math.min(ne.end,dt);!Ie.extend&&pt>bo&&(G=bo,bo=pt,pt=G);var _n=ir(q,pt),fe=ir(q,bo);if(_n&&fe&&(Ie.rangeCount!==1||Ie.anchorNode!==_n.node||Ie.anchorOffset!==_n.offset||Ie.focusNode!==fe.node||Ie.focusOffset!==fe.offset)){var ge=Ae.createRange();ge.setStart(_n.node,_n.offset),Ie.removeAllRanges(),pt>bo?(Ie.addRange(ge),Ie.extend(fe.node,fe.offset)):(ge.setEnd(fe.node,fe.offset),Ie.addRange(ge))}}}}for(Ae=[],Ie=q;Ie=Ie.parentNode;)Ie.nodeType===1&&Ae.push({element:Ie,left:Ie.scrollLeft,top:Ie.scrollTop});for(typeof q.focus=="function"&&q.focus(),q=0;q<Ae.length;q++){var we=Ae[q];we.element.scrollLeft=we.left,we.element.scrollTop=we.top}}UT=!!DN,RN=DN=null}finally{kn=O,Bn.p=_,Ue.T=w}}n.current=o,Mi=j8}}function il(){if(Mi===j8){Mi=dh;var n=V8;if(n!==null){th=Ni();var o=cd,s=th;!xo||s<=o||console.timeStamp(n,o,s,Nn,xn,"secondary-light")}n=fh,o=nv,s=ic;var w=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||w){w=Ue.T,Ue.T=null;var _=Bn.p;Bn.p=hi;var O=kn;kn|=Cs;try{Jb=s,ev=n,Nu(),Pg(n,o.alternate,o),ev=Jb=null}finally{kn=O,Bn.p=_,Ue.T=w}}n=EN,o=P8,cd=Ni(),n=o===null?n:th,o=cd,s=rc===bN,w=ti,ud!==null?R1(n,o,ud,!1,w):!xo||o<=n||(w?w.run(console.timeStamp.bind(console,s?"Commit Interrupted View Transition":"Commit",n,o,Nn,xn,s?"error":"secondary-dark")):console.timeStamp(s?"Commit Interrupted View Transition":"Commit",n,o,Nn,xn,s?"error":"secondary-dark")),Mi=z8}}function xy(){if(Mi===B8||Mi===z8){if(Mi===B8){var n=cd;cd=Ni();var o=cd,s=rc===bN;!xo||o<=n||console.timeStamp(s?"Interrupted View Transition":"Starting Animation",n,o,Nn,xn,s?" error":"secondary-light"),rc!==bN&&(rc=U8)}Mi=dh,xb(),n=fh;var w=nv;o=ic,s=F8;var _=w.actualDuration!==0||(w.subtreeFlags&10256)!==0||(w.flags&10256)!==0;_?Mi=ST:(Mi=dh,nv=fh=null,_y(n,n.pendingLanes),pp=0,PE=null);var O=n.pendingLanes;if(O===0&&(uh=null),_||Jg(n),O=xe(o),w=w.stateNode,fi&&typeof fi.onCommitFiberRoot=="function")try{var G=(w.current.flags&128)===128;switch(O){case hi:var q=nE;break;case Hi:q=_b;break;case Xi:q=nd;break;case nu:q=Cb;break;default:q=nd}fi.onCommitFiberRoot(od,w,q,G)}catch(Ae){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",Ae))}if(fl&&n.memoizedUpdaters.clear(),vy(),s!==null){G=Ue.T,q=Bn.p,Bn.p=hi,Ue.T=null;try{var ne=n.onRecoverableError;for(w=0;w<s.length;w++){var oe=s[w],Se=oS(oe.stack);ye(oe.source,ne,oe.value,Se)}}finally{Ue.T=G,Bn.p=q}}(ic&3)!==0&&Lm(),Ir(n),O=n.pendingLanes,(o&261930)!==0&&(O&42)!==0?(iT=!0,n===SN?FE++:(FE=0,SN=n)):FE=0,_||Yc(o,cd),rl(0)}}function oS(n){return n={componentStack:n},Object.defineProperty(n,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),n}function _y(n,o){(n.pooledCacheLanes&=o)===0&&(o=n.pooledCache,o!=null&&(n.pooledCache=null,Kh(o)))}function Lm(){return mr(),il(),xy(),Om()}function Om(){if(Mi!==ST)return!1;var n=fh,o=yN;yN=0;var s=xe(ic),w=Xi>s?Xi:s;s=Ue.T;var _=Bn.p;try{Bn.p=w,Ue.T=null;var O=wN;wN=null,w=fh;var G=ic;if(Mi=dh,nv=fh=null,ic=0,(kn&(zi|Cs))!==Zi)throw Error("Cannot flush passive effects while already rendering.");os(G),TN=!0,TT=!1;var q=0;if(ud=null,q=_i(),rc===U8)w0(cd,q,TJ);else{var ne=cd,oe=q,Se=rc===vN;!xo||oe<=ne||(ti?ti.run(console.timeStamp.bind(console,Se?"Waiting for Paint":"Waiting",ne,oe,Nn,xn,"secondary-light")):console.timeStamp(Se?"Waiting for Paint":"Waiting",ne,oe,Nn,xn,"secondary-light"))}ne=kn,kn|=Cs;var Ae=w.current;Nu(),Qg(Ae);var he=w.current;Ae=EN,Nu(),py(w,he,G,O,Ae),Jg(w),kn=ne;var Ie=_i();if(he=q,Ae=ti,ud!==null?R1(he,Ie,ud,!0,Ae):!xo||Ie<=he||(Ae?Ae.run(console.timeStamp.bind(console,"Remaining Effects",he,Ie,Nn,xn,"secondary-dark")):console.timeStamp("Remaining Effects",he,Ie,Nn,xn,"secondary-dark")),Yc(G,Ie),rl(0,!1),TT?w===PE?pp++:(pp=0,PE=w):pp=0,TT=TN=!1,fi&&typeof fi.onPostCommitFiberRoot=="function")try{fi.onPostCommitFiberRoot(od,w)}catch(pt){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",pt))}var dt=w.current.stateNode;return dt.effectDuration=0,dt.passiveEffectDuration=0,!0}finally{Bn.p=_,Ue.T=s,_y(n,o)}}function pr(n,o,s){o=rr(s,o),H1(o),o=Lg(n.stateNode,o,2),n=Qs(n,o,2),n!==null&&(tt(n,2),Ir(n))}function ln(n,o,s){if(ov=!1,n.tag===3)pr(n,n,s);else{for(;o!==null;){if(o.tag===3){pr(o,n,s);return}if(o.tag===1){var w=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof w.componentDidCatch=="function"&&(uh===null||!uh.has(w))){n=rr(s,n),H1(n),s=Og(2),w=Qs(o,s,2),w!==null&&(Dg(s,w,o,n),tt(w,2),Ir(w));return}}o=o.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
226
226
 
227
227
  Error message:
228
228
 
@@ -235,7 +235,7 @@ act(() => {
235
235
  });
236
236
  /* assert on the output */
237
237
 
238
- This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ho===n&&(mn&s)===s&&(jo===ah||jo===mT&&(mn&62914560)===mn&&_i()-yT<I8?(kn&zi)===Zi&&ol(n,0):gN|=s,mp===mn&&(mp=0)),Ir(n)}function Cy(n,o){o===0&&(o=je()),n=Gi(n,o),n!==null&&(rt(n,o),Ir(n))}function Wl(n){var o=n.memoizedState,s=0;o!==null&&(s=o.retryLane),Cy(n,s)}function Wu(n,o){var s=0;switch(n.tag){case 31:case 13:var w=n.stateNode,_=n.memoizedState;_!==null&&(s=_.retryLane);break;case 19:w=n.stateNode;break;case 22:w=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}w!==null&&w.delete(o),Cy(n,s)}function gs(n,o,s){if((o.subtreeFlags&67117056)!==0)for(o=o.child;o!==null;){var w=n,_=o,O=_.type===vr;O=s||O,_.tag!==22?_.flags&67108864?O&&ye(_,Zg,w,_):gs(w,_,O):_.memoizedState===null&&(O&&_.flags&8192?ye(_,Zg,w,_):_.subtreeFlags&67108864&&ye(_,gs,w,_,O)),o=o.sibling}}function Zg(n,o){ze(!0);try{Vg(o),by(o),my(n,o.alternate,o,!1),Cm(n,o,0,null,!1,0)}finally{ze(!1)}}function Jg(n){var o=!0;n.current.mode&(zr|ec)||(o=!1),gs(n,n.current,o)}function za(n){if((kn&zi)===Zi){var o=n.tag;if(o===3||o===1||o===0||o===11||o===14||o===15){if(o=j(n)||"ReactComponent",AT!==null){if(AT.has(o))return;AT.add(o)}else AT=new Set([o]);ye(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function xf(n,o){fl&&n.memoizedUpdaters.forEach(function(s){_t(n,s,o)})}function _f(n,o){var s=Ue.actQueue;return s!==null?(s.push(o),IJ):tE(n,o)}function Dm(n){yy()&&Ue.actQueue===null&&ye(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
238
+ This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),ho===n&&(mn&s)===s&&(jo===ah||jo===mT&&(mn&62914560)===mn&&_i()-yT<I8?(kn&zi)===Zi&&ol(n,0):gN|=s,mp===mn&&(mp=0)),Ir(n)}function Cy(n,o){o===0&&(o=je()),n=Gi(n,o),n!==null&&(tt(n,o),Ir(n))}function Wl(n){var o=n.memoizedState,s=0;o!==null&&(s=o.retryLane),Cy(n,s)}function Wu(n,o){var s=0;switch(n.tag){case 31:case 13:var w=n.stateNode,_=n.memoizedState;_!==null&&(s=_.retryLane);break;case 19:w=n.stateNode;break;case 22:w=n.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}w!==null&&w.delete(o),Cy(n,s)}function gs(n,o,s){if((o.subtreeFlags&67117056)!==0)for(o=o.child;o!==null;){var w=n,_=o,O=_.type===vr;O=s||O,_.tag!==22?_.flags&67108864?O&&ye(_,Zg,w,_):gs(w,_,O):_.memoizedState===null&&(O&&_.flags&8192?ye(_,Zg,w,_):_.subtreeFlags&67108864&&ye(_,gs,w,_,O)),o=o.sibling}}function Zg(n,o){ze(!0);try{Vg(o),by(o),my(n,o.alternate,o,!1),Cm(n,o,0,null,!1,0)}finally{ze(!1)}}function Jg(n){var o=!0;n.current.mode&(zr|ec)||(o=!1),gs(n,n.current,o)}function za(n){if((kn&zi)===Zi){var o=n.tag;if(o===3||o===1||o===0||o===11||o===14||o===15){if(o=j(n)||"ReactComponent",AT!==null){if(AT.has(o))return;AT.add(o)}else AT=new Set([o]);ye(n,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function xf(n,o){fl&&n.memoizedUpdaters.forEach(function(s){_t(n,s,o)})}function _f(n,o){var s=Ue.actQueue;return s!==null?(s.push(o),IJ):tE(n,o)}function Dm(n){yy()&&Ue.actQueue===null&&ye(n,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
239
239
 
240
240
  When testing, code that causes React state updates should be wrapped into act(...):
241
241
 
@@ -251,9 +251,9 @@ This ensures that you're testing the behavior the user would see in the browser.
251
251
  + `+Hm(s),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return G}if(o&&w!==null)throw s=`
252
252
 
253
253
  - `+Hm(o)+`
254
- + `+Hm(s),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return null;case"script":return o=s.async,s=s.src,typeof s=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(s=Zu(s),o=jt(_).hoistableScripts,w=o.get(s),w||(w={type:"script",instance:null,count:0,state:null},o.set(s,w)),w):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+n+'". this is a bug in React.')}}function Hm(n){var o=0,s="<link";return typeof n.rel=="string"?(o++,s+=' rel="'+n.rel+'"'):fa.call(n,"rel")&&(o++,s+=' rel="'+(n.rel===null?"null":"invalid type "+typeof n.rel)+'"'),typeof n.href=="string"?(o++,s+=' href="'+n.href+'"'):fa.call(n,"href")&&(o++,s+=' href="'+(n.href===null?"null":"invalid type "+typeof n.href)+'"'),typeof n.precedence=="string"?(o++,s+=' precedence="'+n.precedence+'"'):fa.call(n,"precedence")&&(o++,s+=" precedence={"+(n.precedence===null?"null":"invalid type "+typeof n.precedence)+"}"),Object.getOwnPropertyNames(n).length>o&&(s+=" ..."),s+" />"}function Ku(n){return'href="'+qt(n)+'"'}function jm(n){return'link[rel="stylesheet"]['+n+"]"}function db(n){return dn({},n,{"data-precedence":n.precedence,precedence:null})}function _S(n,o,s,w){n.querySelector('link[rel="preload"][as="style"]['+o+"]")?w.loading=YE:(o=n.createElement("link"),w.preload=o,o.addEventListener("load",function(){return w.loading|=YE}),o.addEventListener("error",function(){return w.loading|=nH}),To(o,"link",s),Ce(o),n.head.appendChild(o))}function Zu(n){return'[src="'+qt(n)+'"]'}function zm(n){return"script[async]"+n}function fb(n,o,s){if(o.count++,o.instance===null)switch(o.type){case"style":var w=n.querySelector('style[data-href~="'+qt(s.href)+'"]');if(w)return o.instance=w,Ce(w),w;var _=dn({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return w=(n.ownerDocument||n).createElement("style"),Ce(w),To(w,"style",_),kf(w,s.precedence,n),o.instance=w;case"stylesheet":_=Ku(s.href);var O=n.querySelector(jm(_));if(O)return o.state.loading|=Al,o.instance=O,Ce(O),O;w=db(s),(_=xl.get(_))&&Uy(w,_),O=(n.ownerDocument||n).createElement("link"),Ce(O);var G=O;return G._p=new Promise(function(q,ne){G.onload=q,G.onerror=ne}),To(O,"link",w),o.state.loading|=Al,kf(O,s.precedence,n),o.instance=O;case"script":return O=Zu(s.src),(_=n.querySelector(zm(O)))?(o.instance=_,Ce(_),_):(w=s,(_=xl.get(O))&&(w=dn({},s),Hy(w,_)),n=n.ownerDocument||n,_=n.createElement("script"),Ce(_),To(_,"link",w),n.head.appendChild(_),o.instance=_);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+o.type+'". this is a bug in React.')}else o.type==="stylesheet"&&(o.state.loading&Al)===Ep&&(w=o.instance,o.state.loading|=Al,kf(w,s.precedence,n));return o.instance}function kf(n,o,s){for(var w=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),_=w.length?w[w.length-1]:null,O=_,G=0;G<w.length;G++){var q=w[G];if(q.dataset.precedence===o)O=q;else if(O!==_)break}O?O.parentNode.insertBefore(n,O.nextSibling):(o=s.nodeType===9?s.head:s,o.insertBefore(n,o.firstChild))}function Uy(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.title==null&&(n.title=o.title)}function Hy(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.integrity==null&&(n.integrity=o.integrity)}function If(n,o,s){if(kT===null){var w=new Map,_=kT=new Map;_.set(s,w)}else _=kT,w=_.get(s),w||(w=new Map,_.set(s,w));if(w.has(n))return w;for(w.set(n,null),s=s.getElementsByTagName(n),_=0;_<s.length;_++){var O=s[_];if(!(O[Wf]||O[Ao]||n==="link"&&O.getAttribute("rel")==="stylesheet")&&O.namespaceURI!==cn){var G=O.getAttribute(o)||"";G=n+G;var q=w.get(G);q?q.push(O):w.set(G,[O])}}return w}function CS(n,o,s){n=n.ownerDocument||n,n.head.insertBefore(s,o==="title"?n.querySelector("head > title"):null)}function NS(n,o,s){var w=!s.ancestorInfo.containerTagInScope;if(s.context===av||o.itemProp!=null)return!w||o.itemProp==null||n!=="meta"&&n!=="title"&&n!=="style"&&n!=="link"&&n!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",n,n),!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href===""){w&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError){if(o.rel==="stylesheet"&&typeof o.precedence=="string"){n=o.href;var _=o.onError,O=o.disabled;s=[],o.onLoad&&s.push("`onLoad`"),_&&s.push("`onError`"),O!=null&&s.push("`disabled`"),_=aS(s,"and"),_+=s.length===1?" prop":" props",O=s.length===1?"an "+_:"the "+_,s.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',n,O,_)}w&&(typeof o.rel!="string"||typeof o.href!="string"||o.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(o.onError||o.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(o.rel){case"stylesheet":return n=o.precedence,o=o.disabled,typeof n!="string"&&w&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof n=="string"&&o==null;default:return!0}case"script":if(n=o.async&&typeof o.async!="function"&&typeof o.async!="symbol",!n||o.onLoad||o.onError||!o.src||typeof o.src!="string"){w&&(n?o.onLoad||o.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":w&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",n)}return!1}function En(n){return!(n.type==="stylesheet"&&(n.state.loading&oH)===Ep)}function jy(n,o,s,w){if(s.type==="stylesheet"&&(typeof w.media!="string"||matchMedia(w.media).matches!==!1)&&(s.state.loading&Al)===Ep){if(s.instance===null){var _=Ku(w.href),O=o.querySelector(jm(_));if(O){o=O._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n.count++,n=$f.bind(n),o.then(n,n)),s.state.loading|=Al,s.instance=O,Ce(O);return}O=o.ownerDocument||o,w=db(w),(_=xl.get(_))&&Uy(w,_),O=O.createElement("link"),Ce(O);var G=O;G._p=new Promise(function(q,ne){G.onload=q,G.onerror=ne}),To(O,"link",w),s.instance=O}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(s,o),(o=s.state.preload)&&(s.state.loading&oH)===Ep&&(n.count++,s=$f.bind(n),o.addEventListener("load",s),o.addEventListener("error",s))}}function hb(n,o){return n.stylesheets&&n.count===0&&Bm(n,n.stylesheets),0<n.count||0<n.imgCount?function(s){var w=setTimeout(function(){if(n.stylesheets&&Bm(n,n.stylesheets),n.unsuspend){var O=n.unsuspend;n.unsuspend=null,O()}},QJ+o);0<n.imgBytes&&IN===0&&(IN=125*sS()*YJ);var _=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Bm(n,n.stylesheets),n.unsuspend)){var O=n.unsuspend;n.unsuspend=null,O()}},(n.imgBytes>IN?50:WJ)+o);return n.unsuspend=s,function(){n.unsuspend=null,clearTimeout(w),clearTimeout(_)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}function Bm(n,o){n.stylesheets=null,n.unsuspend!==null&&(n.count++,IT=new Map,o.forEach(zy,n),IT=null,$f.call(n))}function zy(n,o){if(!(o.state.loading&Al)){var s=IT.get(n);if(s)var w=s.get($N);else{s=new Map,IT.set(n,s);for(var _=n.querySelectorAll("link[data-precedence],style[data-precedence]"),O=0;O<_.length;O++){var G=_[O];(G.nodeName==="LINK"||G.getAttribute("media")!=="not all")&&(s.set(G.dataset.precedence,G),w=G)}w&&s.set($N,w)}_=o.instance,G=_.getAttribute("data-precedence"),O=s.get(G)||w,O===w&&s.set($N,_),s.set(G,_),this.count++,w=$f.bind(this),_.addEventListener("load",w),_.addEventListener("error",w),O?O.parentNode.insertBefore(_,O.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(_,n.firstChild)),o.state.loading|=Al}}function Fm(n,o,s,w,_,O,G,q,ne){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=yp,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=it(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=it(0),this.hiddenUpdates=it(null),this.identifierPrefix=w,this.onUncaughtError=_,this.onCaughtError=O,this.onRecoverableError=G,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=ne,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],o=0;31>o;o++)n.push(new Set);this._debugRootType=s?"hydrateRoot()":"createRoot()"}function Pm(n,o,s,w,_,O,G,q,ne,oe,Se,Ae){return n=new Fm(n,o,s,G,ne,oe,Se,Ae,q),o=vJ,O===!0&&(o|=zr|ec),o|=fn,O=d(3,null,null,o),n.current=O,O.stateNode=n,o=fg(),Cu(o),n.pooledCache=o,Cu(o),O.memoizedState={element:w,isDehydrated:s,cache:o},wn(O),n}function LS(n){return n?(n=Jf,n):Jf}function mb(n,o,s,w,_,O){if(fi&&typeof fi.onScheduleFiberRoot=="function")try{fi.onScheduleFiberRoot(od,w,s)}catch(G){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",G))}_=LS(_),w.context===null?w.context=_:w.pendingContext=_,ul&&jr!==null&&!lH&&(lH=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
254
+ + `+Hm(s),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+s);return null;case"script":return o=s.async,s=s.src,typeof s=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(s=Zu(s),o=jt(_).hoistableScripts,w=o.get(s),w||(w={type:"script",instance:null,count:0,state:null},o.set(s,w)),w):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+n+'". this is a bug in React.')}}function Hm(n){var o=0,s="<link";return typeof n.rel=="string"?(o++,s+=' rel="'+n.rel+'"'):fa.call(n,"rel")&&(o++,s+=' rel="'+(n.rel===null?"null":"invalid type "+typeof n.rel)+'"'),typeof n.href=="string"?(o++,s+=' href="'+n.href+'"'):fa.call(n,"href")&&(o++,s+=' href="'+(n.href===null?"null":"invalid type "+typeof n.href)+'"'),typeof n.precedence=="string"?(o++,s+=' precedence="'+n.precedence+'"'):fa.call(n,"precedence")&&(o++,s+=" precedence={"+(n.precedence===null?"null":"invalid type "+typeof n.precedence)+"}"),Object.getOwnPropertyNames(n).length>o&&(s+=" ..."),s+" />"}function Ku(n){return'href="'+qt(n)+'"'}function jm(n){return'link[rel="stylesheet"]['+n+"]"}function db(n){return dn({},n,{"data-precedence":n.precedence,precedence:null})}function _S(n,o,s,w){n.querySelector('link[rel="preload"][as="style"]['+o+"]")?w.loading=YE:(o=n.createElement("link"),w.preload=o,o.addEventListener("load",function(){return w.loading|=YE}),o.addEventListener("error",function(){return w.loading|=nH}),To(o,"link",s),Ce(o),n.head.appendChild(o))}function Zu(n){return'[src="'+qt(n)+'"]'}function zm(n){return"script[async]"+n}function fb(n,o,s){if(o.count++,o.instance===null)switch(o.type){case"style":var w=n.querySelector('style[data-href~="'+qt(s.href)+'"]');if(w)return o.instance=w,Ce(w),w;var _=dn({},s,{"data-href":s.href,"data-precedence":s.precedence,href:null,precedence:null});return w=(n.ownerDocument||n).createElement("style"),Ce(w),To(w,"style",_),kf(w,s.precedence,n),o.instance=w;case"stylesheet":_=Ku(s.href);var O=n.querySelector(jm(_));if(O)return o.state.loading|=Al,o.instance=O,Ce(O),O;w=db(s),(_=xl.get(_))&&Uy(w,_),O=(n.ownerDocument||n).createElement("link"),Ce(O);var G=O;return G._p=new Promise(function(q,ne){G.onload=q,G.onerror=ne}),To(O,"link",w),o.state.loading|=Al,kf(O,s.precedence,n),o.instance=O;case"script":return O=Zu(s.src),(_=n.querySelector(zm(O)))?(o.instance=_,Ce(_),_):(w=s,(_=xl.get(O))&&(w=dn({},s),Hy(w,_)),n=n.ownerDocument||n,_=n.createElement("script"),Ce(_),To(_,"link",w),n.head.appendChild(_),o.instance=_);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+o.type+'". this is a bug in React.')}else o.type==="stylesheet"&&(o.state.loading&Al)===Ep&&(w=o.instance,o.state.loading|=Al,kf(w,s.precedence,n));return o.instance}function kf(n,o,s){for(var w=s.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),_=w.length?w[w.length-1]:null,O=_,G=0;G<w.length;G++){var q=w[G];if(q.dataset.precedence===o)O=q;else if(O!==_)break}O?O.parentNode.insertBefore(n,O.nextSibling):(o=s.nodeType===9?s.head:s,o.insertBefore(n,o.firstChild))}function Uy(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.title==null&&(n.title=o.title)}function Hy(n,o){n.crossOrigin==null&&(n.crossOrigin=o.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=o.referrerPolicy),n.integrity==null&&(n.integrity=o.integrity)}function If(n,o,s){if(kT===null){var w=new Map,_=kT=new Map;_.set(s,w)}else _=kT,w=_.get(s),w||(w=new Map,_.set(s,w));if(w.has(n))return w;for(w.set(n,null),s=s.getElementsByTagName(n),_=0;_<s.length;_++){var O=s[_];if(!(O[Wf]||O[Ao]||n==="link"&&O.getAttribute("rel")==="stylesheet")&&O.namespaceURI!==cn){var G=O.getAttribute(o)||"";G=n+G;var q=w.get(G);q?q.push(O):w.set(G,[O])}}return w}function CS(n,o,s){n=n.ownerDocument||n,n.head.insertBefore(s,o==="title"?n.querySelector("head > title"):null)}function NS(n,o,s){var w=!s.ancestorInfo.containerTagInScope;if(s.context===av||o.itemProp!=null)return!w||o.itemProp==null||n!=="meta"&&n!=="title"&&n!=="style"&&n!=="link"&&n!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",n,n),!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href===""){w&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError){if(o.rel==="stylesheet"&&typeof o.precedence=="string"){n=o.href;var _=o.onError,O=o.disabled;s=[],o.onLoad&&s.push("`onLoad`"),_&&s.push("`onError`"),O!=null&&s.push("`disabled`"),_=aS(s,"and"),_+=s.length===1?" prop":" props",O=s.length===1?"an "+_:"the "+_,s.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',n,O,_)}w&&(typeof o.rel!="string"||typeof o.href!="string"||o.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(o.onError||o.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(o.rel){case"stylesheet":return n=o.precedence,o=o.disabled,typeof n!="string"&&w&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof n=="string"&&o==null;default:return!0}case"script":if(n=o.async&&typeof o.async!="function"&&typeof o.async!="symbol",!n||o.onLoad||o.onError||!o.src||typeof o.src!="string"){w&&(n?o.onLoad||o.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":w&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",n)}return!1}function En(n){return!(n.type==="stylesheet"&&(n.state.loading&oH)===Ep)}function jy(n,o,s,w){if(s.type==="stylesheet"&&(typeof w.media!="string"||matchMedia(w.media).matches!==!1)&&(s.state.loading&Al)===Ep){if(s.instance===null){var _=Ku(w.href),O=o.querySelector(jm(_));if(O){o=O._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(n.count++,n=$f.bind(n),o.then(n,n)),s.state.loading|=Al,s.instance=O,Ce(O);return}O=o.ownerDocument||o,w=db(w),(_=xl.get(_))&&Uy(w,_),O=O.createElement("link"),Ce(O);var G=O;G._p=new Promise(function(q,ne){G.onload=q,G.onerror=ne}),To(O,"link",w),s.instance=O}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(s,o),(o=s.state.preload)&&(s.state.loading&oH)===Ep&&(n.count++,s=$f.bind(n),o.addEventListener("load",s),o.addEventListener("error",s))}}function hb(n,o){return n.stylesheets&&n.count===0&&Bm(n,n.stylesheets),0<n.count||0<n.imgCount?function(s){var w=setTimeout(function(){if(n.stylesheets&&Bm(n,n.stylesheets),n.unsuspend){var O=n.unsuspend;n.unsuspend=null,O()}},QJ+o);0<n.imgBytes&&IN===0&&(IN=125*sS()*YJ);var _=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&Bm(n,n.stylesheets),n.unsuspend)){var O=n.unsuspend;n.unsuspend=null,O()}},(n.imgBytes>IN?50:WJ)+o);return n.unsuspend=s,function(){n.unsuspend=null,clearTimeout(w),clearTimeout(_)}}:null}function $f(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Bm(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}function Bm(n,o){n.stylesheets=null,n.unsuspend!==null&&(n.count++,IT=new Map,o.forEach(zy,n),IT=null,$f.call(n))}function zy(n,o){if(!(o.state.loading&Al)){var s=IT.get(n);if(s)var w=s.get($N);else{s=new Map,IT.set(n,s);for(var _=n.querySelectorAll("link[data-precedence],style[data-precedence]"),O=0;O<_.length;O++){var G=_[O];(G.nodeName==="LINK"||G.getAttribute("media")!=="not all")&&(s.set(G.dataset.precedence,G),w=G)}w&&s.set($N,w)}_=o.instance,G=_.getAttribute("data-precedence"),O=s.get(G)||w,O===w&&s.set($N,_),s.set(G,_),this.count++,w=$f.bind(this),_.addEventListener("load",w),_.addEventListener("error",w),O?O.parentNode.insertBefore(_,O.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(_,n.firstChild)),o.state.loading|=Al}}function Fm(n,o,s,w,_,O,G,q,ne){for(this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=yp,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=ot(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ot(0),this.hiddenUpdates=ot(null),this.identifierPrefix=w,this.onUncaughtError=_,this.onCaughtError=O,this.onRecoverableError=G,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=ne,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,n=this.pendingUpdatersLaneMap=[],o=0;31>o;o++)n.push(new Set);this._debugRootType=s?"hydrateRoot()":"createRoot()"}function Pm(n,o,s,w,_,O,G,q,ne,oe,Se,Ae){return n=new Fm(n,o,s,G,ne,oe,Se,Ae,q),o=vJ,O===!0&&(o|=zr|ec),o|=fn,O=d(3,null,null,o),n.current=O,O.stateNode=n,o=fg(),Cu(o),n.pooledCache=o,Cu(o),O.memoizedState={element:w,isDehydrated:s,cache:o},wn(O),n}function LS(n){return n?(n=Jf,n):Jf}function mb(n,o,s,w,_,O){if(fi&&typeof fi.onScheduleFiberRoot=="function")try{fi.onScheduleFiberRoot(od,w,s)}catch(G){dl||(dl=!0,console.error("React instrumentation encountered an error: %o",G))}_=LS(_),w.context===null?w.context=_:w.pendingContext=_,ul&&jr!==null&&!lH&&(lH=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
255
255
 
256
- Check the render method of %s.`,j(jr)||"Unknown")),w=ci(o),w.payload={element:s},O=O===void 0?null:O,O!==null&&(typeof O!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",O),w.callback=O),s=Qs(n,w,o),s!==null&&(Ps(o,"root.render()",null),Wt(s,n,o),Ua(s,n,o))}function OS(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<o?s:o}}function By(n,o){OS(n,o),(n=n.alternate)&&OS(n,o)}function Fy(n){if(n.tag===13||n.tag===31){var o=Gi(n,67108864);o!==null&&Wt(o,n,67108864),By(n,67108864)}}function Py(n){if(n.tag===13||n.tag===31){var o=Wi(n);o=Ot(o);var s=Gi(n,o);s!==null&&Wt(s,n,o),By(n,o)}}function oo(){return jr}function Vy(n,o,s,w){var _=Ue.T;Ue.T=null;var O=Bn.p;try{Bn.p=hi,Gy(n,o,s,w)}finally{Bn.p=O,Ue.T=_}}function $i(n,o,s,w){var _=Ue.T;Ue.T=null;var O=Bn.p;try{Bn.p=Hi,Gy(n,o,s,w)}finally{Bn.p=O,Ue.T=_}}function Gy(n,o,s,w){if(UT){var _=pb(w);if(_===null)bs(n,o,w,HT,s),bb(n,w);else if(DS(_,n,o,s,w))w.stopPropagation();else if(bb(n,w),o&4&&-1<qJ.indexOf(n)){for(;_!==null;){var O=yt(_);if(O!==null)switch(O.tag){case 3:if(O=O.stateNode,O.current.memoizedState.isDehydrated){var G=ct(O.pendingLanes);if(G!==0){var q=O;for(q.pendingLanes|=2,q.entangledLanes|=2;G;){var ne=1<<31-Ui(G);q.entanglements[1]|=ne,G&=~ne}Ir(O),(kn&(zi|Cs))===Zi&&(ET=_i()+$8,rl(0))}}break;case 31:case 13:q=Gi(O,2),q!==null&&Wt(q,O,2),ca(),By(O,2)}if(O=pb(w),O===null&&bs(n,o,w,HT,s),O===_)break;_=O}_!==null&&w.stopPropagation()}else bs(n,o,w,null,s)}}function pb(n){return n=Kr(n),Qy(n)}function Qy(n){if(HT=null,n=ut(n),n!==null){var o=A(n);if(o===null)n=null;else{var s=o.tag;if(s===13){if(n=N(o),n!==null)return n;n=null}else if(s===31){if(n=D(o),n!==null)return n;n=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}return HT=n,null}function gb(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return hi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Hi;case"message":switch(Xm()){case nE:return hi;case _b:return Hi;case nd:case US:return Xi;case Cb:return nu;default:return Xi}default:return Xi}}function bb(n,o){switch(n){case"focusin":case"focusout":ph=null;break;case"dragenter":case"dragleave":gh=null;break;case"mouseover":case"mouseout":bh=null;break;case"pointerover":case"pointerout":qE.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":KE.delete(o.pointerId)}}function Zc(n,o,s,w,_,O){return n===null||n.nativeEvent!==O?(n={blockedOn:o,domEventName:s,eventSystemFlags:w,nativeEvent:O,targetContainers:[_]},o!==null&&(o=yt(o),o!==null&&Fy(o)),n):(n.eventSystemFlags|=w,o=n.targetContainers,_!==null&&o.indexOf(_)===-1&&o.push(_),n)}function DS(n,o,s,w,_){switch(o){case"focusin":return ph=Zc(ph,n,o,s,w,_),!0;case"dragenter":return gh=Zc(gh,n,o,s,w,_),!0;case"mouseover":return bh=Zc(bh,n,o,s,w,_),!0;case"pointerover":var O=_.pointerId;return qE.set(O,Zc(qE.get(O)||null,n,o,s,w,_)),!0;case"gotpointercapture":return O=_.pointerId,KE.set(O,Zc(KE.get(O)||null,n,o,s,w,_)),!0}return!1}function Wy(n){var o=ut(n.target);if(o!==null){var s=A(o);if(s!==null){if(o=s.tag,o===13){if(o=N(s),o!==null){n.blockedOn=o,bt(n.priority,function(){Py(s)});return}}else if(o===31){if(o=D(s),o!==null){n.blockedOn=o,bt(n.priority,function(){Py(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Uf(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var s=pb(n.nativeEvent);if(s===null){s=n.nativeEvent;var w=new s.constructor(s.type,s),_=w;sE!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),sE=_,s.target.dispatchEvent(w),sE===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),sE=null}else return o=yt(s),o!==null&&Fy(o),n.blockedOn=s,!1;o.shift()}return!0}function vb(n,o,s){Uf(n)&&s.delete(o)}function TC(){UN=!1,ph!==null&&Uf(ph)&&(ph=null),gh!==null&&Uf(gh)&&(gh=null),bh!==null&&Uf(bh)&&(bh=null),qE.forEach(vb),KE.forEach(vb)}function Vm(n,o){n.blockedOn===o&&(n.blockedOn=null,UN||(UN=!0,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,TC)))}function RS(n){jT!==n&&(jT=n,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,function(){jT===n&&(jT=null);for(var o=0;o<n.length;o+=3){var s=n[o],w=n[o+1],_=n[o+2];if(typeof w!="function"){if(Qy(w||s)===null)continue;break}var O=yt(s);O!==null&&(n.splice(o,3),o-=3,s={pending:!0,data:_,method:s.method,action:w},Object.freeze(s),Pl(O,s,w,_))}}))}function Ju(n){function o(ne){return Vm(ne,n)}ph!==null&&Vm(ph,n),gh!==null&&Vm(gh,n),bh!==null&&Vm(bh,n),qE.forEach(o),KE.forEach(o);for(var s=0;s<vh.length;s++){var w=vh[s];w.blockedOn===n&&(w.blockedOn=null)}for(;0<vh.length&&(s=vh[0],s.blockedOn===null);)Wy(s),s.blockedOn===null&&vh.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(w=0;w<s.length;w+=3){var _=s[w],O=s[w+1],G=_[yr]||null;if(typeof O=="function")G||RS(s);else if(G){var q=null;if(O&&O.hasAttribute("formAction")){if(_=O,G=O[yr]||null)q=G.formAction;else if(Qy(_)!==null)continue}else q=G.action;typeof q=="function"?s[w+1]=q:(s.splice(w,3),w-=3),RS(s)}}}function MS(){function n(O){O.canIntercept&&O.info==="react-transition"&&O.intercept({handler:function(){return new Promise(function(G){return _=G})},focusReset:"manual",scroll:"manual"})}function o(){_!==null&&(_(),_=null),w||setTimeout(s,20)}function s(){if(!w&&!navigation.transition){var O=navigation.currentEntry;O&&O.url!=null&&navigation.navigate(O.url,{state:O.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var w=!1,_=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(s,100),function(){w=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),_!==null&&(_(),_=null)}}}function Yy(n){this._internalRoot=n}function Es(n){this._internalRoot=n}function Xy(n){n[Jl]&&(n._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Xo=YN(),Gm=Y,AC=Ls,dn=Object.assign,kS=Symbol.for("react.element"),Ba=Symbol.for("react.transitional.element"),Jc=Symbol.for("react.portal"),Hf=Symbol.for("react.fragment"),vr=Symbol.for("react.strict_mode"),Qm=Symbol.for("react.profiler"),yb=Symbol.for("react.consumer"),ws=Symbol.for("react.context"),jf=Symbol.for("react.forward_ref"),ed=Symbol.for("react.suspense"),Hr=Symbol.for("react.suspense_list"),Wm=Symbol.for("react.memo"),Yi=Symbol.for("react.lazy"),Ss=Symbol.for("react.activity"),xC=Symbol.for("react.memo_cache_sentinel"),IS=Symbol.iterator,zf=Symbol.for("react.client.reference"),ei=Array.isArray,Ue=Gm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bn=AC.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_C=Object.freeze({pending:!1,data:null,method:null,action:null}),qy=[],Ky=[],Zl=-1,eu=X(null),Bf=X(null),da=X(null),tu=X(null),Ff=0,$S,td,Pf,Zy,Ym,Eb,wb;K.__reactDisabledLog=!0;var Vf,Jy,Sb=!1,eE=new(typeof WeakMap=="function"?WeakMap:Map),jr=null,ul=!1,fa=Object.prototype.hasOwnProperty,tE=Xo.unstable_scheduleCallback,Tb=Xo.unstable_cancelCallback,Ab=Xo.unstable_shouldYield,xb=Xo.unstable_requestPaint,_i=Xo.unstable_now,Xm=Xo.unstable_getCurrentPriorityLevel,nE=Xo.unstable_ImmediatePriority,_b=Xo.unstable_UserBlockingPriority,nd=Xo.unstable_NormalPriority,US=Xo.unstable_LowPriority,Cb=Xo.unstable_IdlePriority,oE=Xo.log,HS=Xo.unstable_setDisableYieldValue,od=null,fi=null,dl=!1,fl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ui=Math.clz32?Math.clz32:tt,iE=Math.log,Nb=Math.LN2,Gf=256,qm=262144,Qf=4194304,hi=2,Hi=8,Xi=32,nu=268435456,Fa=Math.random().toString(36).slice(2),Ao="__reactFiber$"+Fa,yr="__reactProps$"+Fa,Jl="__reactContainer$"+Fa,id="__reactEvents$"+Fa,CC="__reactListeners$"+Fa,jS="__reactHandles$"+Fa,Km="__reactResources$"+Fa,Wf="__reactMarker$"+Fa,zS=new Set,hl={},Yf={},BS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Xf=RegExp("^[: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]*$"),rE={},Lb={},Ob=/[\n"\\]/g,aE=!1,FS=!1,Zm=!1,r=!1,l=!1,v=!1,x=["value","defaultValue"],z=!1,V=/["'&<>\n\t]|^\s|\s$/,ee="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),le="applet caption html table td th marquee object template foreignObject desc title".split(" "),be=le.concat(["button"]),Me="dd dt li option optgroup p rp rt".split(" "),Fe={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},We={},ke={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},He=/([A-Z])/g,wt=/^ms-/,zt=/^(?:webkit|moz|o)[A-Z]/,io=/^-ms-/,Ne=/-(.)/g,Te=/;\s*$/,De={},Qe={},Dt=!1,Mn=!1,At=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),nn="http://www.w3.org/1998/Math/MathML",cn="http://www.w3.org/2000/svg",Un=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ts={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},PS={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Db={},OZ=RegExp("^(aria)-[: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]*$"),DZ=RegExp("^(aria)[A-Z][: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]*$"),uU=!1,ha={},dU=/^on./,RZ=/^on[^A-Z]/,MZ=RegExp("^(aria)-[: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]*$"),kZ=RegExp("^(aria)[A-Z][: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]*$"),IZ=/^[\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,sE=null,Rb=null,Mb=null,NC=!1,ou=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),LC=!1;if(ou)try{var lE={};Object.defineProperty(lE,"passive",{get:function(){LC=!0}}),window.addEventListener("test",lE,lE),window.removeEventListener("test",lE,lE)}catch{LC=!1}var qf=null,OC=null,VS=null,Jm={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},GS=Po(Jm),cE=dn({},Jm,{view:0,detail:0}),$Z=Po(cE),DC,RC,uE,QS=dn({},cE,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xc,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==uE&&(uE&&n.type==="mousemove"?(DC=n.screenX-uE.screenX,RC=n.screenY-uE.screenY):RC=DC=0,uE=n),DC)},movementY:function(n){return"movementY"in n?n.movementY:RC}}),fU=Po(QS),UZ=dn({},QS,{dataTransfer:0}),HZ=Po(UZ),jZ=dn({},cE,{relatedTarget:0}),MC=Po(jZ),zZ=dn({},Jm,{animationName:0,elapsedTime:0,pseudoElement:0}),BZ=Po(zZ),FZ=dn({},Jm,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),PZ=Po(FZ),VZ=dn({},Jm,{data:0}),hU=Po(VZ),GZ=hU,QZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WZ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},YZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},XZ=dn({},cE,{key:function(n){if(n.key){var o=QZ[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=Eu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?WZ[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xc,charCode:function(n){return n.type==="keypress"?Eu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Eu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),qZ=Po(XZ),KZ=dn({},QS,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mU=Po(KZ),ZZ=dn({},cE,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xc}),JZ=Po(ZZ),eJ=dn({},Jm,{propertyName:0,elapsedTime:0,pseudoElement:0}),tJ=Po(eJ),nJ=dn({},QS,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),oJ=Po(nJ),iJ=dn({},Jm,{newState:0,oldState:0}),rJ=Po(iJ),aJ=[9,13,27,32],pU=229,kC=ou&&"CompositionEvent"in window,dE=null;ou&&"documentMode"in document&&(dE=document.documentMode);var sJ=ou&&"TextEvent"in window&&!dE,gU=ou&&(!kC||dE&&8<dE&&11>=dE),bU=32,vU=String.fromCharCode(bU),yU=!1,kb=!1,lJ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},fE=null,hE=null,EU=!1;ou&&(EU=ce("input")&&(!document.documentMode||9<document.documentMode));var ma=typeof Object.is=="function"?Object.is:Vi,cJ=ou&&"documentMode"in document&&11>=document.documentMode,Ib=null,IC=null,mE=null,$C=!1,$b={animationend:La("Animation","AnimationEnd"),animationiteration:La("Animation","AnimationIteration"),animationstart:La("Animation","AnimationStart"),transitionrun:La("Transition","TransitionRun"),transitionstart:La("Transition","TransitionStart"),transitioncancel:La("Transition","TransitionCancel"),transitionend:La("Transition","TransitionEnd")},UC={},wU={};ou&&(wU=document.createElement("div").style,"AnimationEvent"in window||(delete $b.animationend.animation,delete $b.animationiteration.animation,delete $b.animationstart.animation),"TransitionEvent"in window||delete $b.transitionend.transition);var SU=Oa("animationend"),TU=Oa("animationiteration"),AU=Oa("animationstart"),uJ=Oa("transitionrun"),dJ=Oa("transitionstart"),fJ=Oa("transitioncancel"),xU=Oa("transitionend"),_U=new Map,HC="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");HC.push("scrollEnd");var CU=0;if(typeof performance=="object"&&typeof performance.now=="function")var hJ=performance,NU=function(){return hJ.now()};else{var mJ=Date;NU=function(){return mJ.now()}}var jC=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},pJ="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",WS=0,zC=1,BC=2,FC=3,YS="– ",XS="+ ",LU="  ",xo=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",ml="Components ⚛",xn="Scheduler ⚛",Nn="Blocking",Kf=!1,rd={color:"primary",properties:null,tooltipText:"",track:ml},Zf={start:-0,end:-0,detail:{devtools:rd}},gJ=["Changed Props",""],OU="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",bJ=["Changed Props",OU],pE=1,ad=2,pl=[],Ub=0,PC=0,Jf={};Object.freeze(Jf);var gl=null,Hb=null,Vt=0,vJ=1,fn=2,zr=8,ec=16,yJ=32,DU=!1;try{var RU=Object.preventExtensions({})}catch{DU=!0}var VC=new WeakMap,jb=[],zb=0,qS=null,gE=0,bl=[],vl=0,ep=null,sd=1,ld="",Er=null,_o=null,Tn=!1,iu=!1,As=null,eh=null,yl=!1,GC=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),QC=X(null),WC=X(null),MU={},KS=null,Bb=null,Fb=!1,EJ=typeof AbortController<"u"?AbortController:function(){var n=[],o=this.signal={aborted:!1,addEventListener:function(s,w){n.push(w)}};this.abort=function(){o.aborted=!0,n.forEach(function(s){return s()})}},wJ=Xo.unstable_scheduleCallback,SJ=Xo.unstable_NormalPriority,Ci={$$typeof:ws,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ni=Xo.unstable_now,ZS=console.createTask?console.createTask:function(){return null},bE=1,JS=2,qi=-0,th=-0,cd=-0,ud=null,pa=-1.1,tp=-0,Ho=-0,Ut=-1.1,Ft=-1.1,Ro=null,qo=!1,np=-0,ru=-1.1,vE=null,nh=0,YC=null,XC=null,op=-1.1,yE=null,Pb=-1.1,eT=-1.1,dd=-0,fd=-1.1,El=-1.1,qC=0,EE=null,kU=null,IU=null,oh=-1.1,ip=null,ih=-1.1,tT=-1.1,$U=-0,UU=-0,nT=0,TJ=null,HU=0,wE=-1.1,oT=!1,iT=!1,SE=null,KC=0,rp=0,Vb=null,jU=Ue.S;Ue.S=function(n,o){if(k8=_i(),typeof o=="object"&&o!==null&&typeof o.then=="function"){if(0>fd&&0>El){fd=Ni();var s=Df(),w=ll();(s!==ih||w!==ip)&&(ih=-1.1),oh=s,ip=w}$l(n,o)}jU!==null&&jU(n,o)};var ap=X(null),tc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},TE=[],AE=[],xE=[],_E=[],CE=[],NE=[],sp=new Set;tc.recordUnsafeLifecycleWarnings=function(n,o){sp.has(n.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&TE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillMount=="function"&&AE.push(n),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&xE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&_E.push(n),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&CE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillUpdate=="function"&&NE.push(n))},tc.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<TE.length&&(TE.forEach(function(q){n.add(j(q)||"Component"),sp.add(q.type)}),TE=[]);var o=new Set;0<AE.length&&(AE.forEach(function(q){o.add(j(q)||"Component"),sp.add(q.type)}),AE=[]);var s=new Set;0<xE.length&&(xE.forEach(function(q){s.add(j(q)||"Component"),sp.add(q.type)}),xE=[]);var w=new Set;0<_E.length&&(_E.forEach(function(q){w.add(j(q)||"Component"),sp.add(q.type)}),_E=[]);var _=new Set;0<CE.length&&(CE.forEach(function(q){_.add(j(q)||"Component"),sp.add(q.type)}),CE=[]);var O=new Set;if(0<NE.length&&(NE.forEach(function(q){O.add(j(q)||"Component"),sp.add(q.type)}),NE=[]),0<o.size){var G=u(o);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
256
+ Check the render method of %s.`,j(jr)||"Unknown")),w=ci(o),w.payload={element:s},O=O===void 0?null:O,O!==null&&(typeof O!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",O),w.callback=O),s=Qs(n,w,o),s!==null&&(Ps(o,"root.render()",null),Wt(s,n,o),Ua(s,n,o))}function OS(n,o){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var s=n.retryLane;n.retryLane=s!==0&&s<o?s:o}}function By(n,o){OS(n,o),(n=n.alternate)&&OS(n,o)}function Fy(n){if(n.tag===13||n.tag===31){var o=Gi(n,67108864);o!==null&&Wt(o,n,67108864),By(n,67108864)}}function Py(n){if(n.tag===13||n.tag===31){var o=Wi(n);o=Ot(o);var s=Gi(n,o);s!==null&&Wt(s,n,o),By(n,o)}}function oo(){return jr}function Vy(n,o,s,w){var _=Ue.T;Ue.T=null;var O=Bn.p;try{Bn.p=hi,Gy(n,o,s,w)}finally{Bn.p=O,Ue.T=_}}function $i(n,o,s,w){var _=Ue.T;Ue.T=null;var O=Bn.p;try{Bn.p=Hi,Gy(n,o,s,w)}finally{Bn.p=O,Ue.T=_}}function Gy(n,o,s,w){if(UT){var _=pb(w);if(_===null)bs(n,o,w,HT,s),bb(n,w);else if(DS(_,n,o,s,w))w.stopPropagation();else if(bb(n,w),o&4&&-1<qJ.indexOf(n)){for(;_!==null;){var O=yt(_);if(O!==null)switch(O.tag){case 3:if(O=O.stateNode,O.current.memoizedState.isDehydrated){var G=ct(O.pendingLanes);if(G!==0){var q=O;for(q.pendingLanes|=2,q.entangledLanes|=2;G;){var ne=1<<31-Ui(G);q.entanglements[1]|=ne,G&=~ne}Ir(O),(kn&(zi|Cs))===Zi&&(ET=_i()+$8,rl(0))}}break;case 31:case 13:q=Gi(O,2),q!==null&&Wt(q,O,2),ca(),By(O,2)}if(O=pb(w),O===null&&bs(n,o,w,HT,s),O===_)break;_=O}_!==null&&w.stopPropagation()}else bs(n,o,w,null,s)}}function pb(n){return n=Kr(n),Qy(n)}function Qy(n){if(HT=null,n=ut(n),n!==null){var o=A(n);if(o===null)n=null;else{var s=o.tag;if(s===13){if(n=N(o),n!==null)return n;n=null}else if(s===31){if(n=D(o),n!==null)return n;n=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;n=null}else o!==n&&(n=null)}}return HT=n,null}function gb(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return hi;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return Hi;case"message":switch(Xm()){case nE:return hi;case _b:return Hi;case nd:case US:return Xi;case Cb:return nu;default:return Xi}default:return Xi}}function bb(n,o){switch(n){case"focusin":case"focusout":ph=null;break;case"dragenter":case"dragleave":gh=null;break;case"mouseover":case"mouseout":bh=null;break;case"pointerover":case"pointerout":qE.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":KE.delete(o.pointerId)}}function Zc(n,o,s,w,_,O){return n===null||n.nativeEvent!==O?(n={blockedOn:o,domEventName:s,eventSystemFlags:w,nativeEvent:O,targetContainers:[_]},o!==null&&(o=yt(o),o!==null&&Fy(o)),n):(n.eventSystemFlags|=w,o=n.targetContainers,_!==null&&o.indexOf(_)===-1&&o.push(_),n)}function DS(n,o,s,w,_){switch(o){case"focusin":return ph=Zc(ph,n,o,s,w,_),!0;case"dragenter":return gh=Zc(gh,n,o,s,w,_),!0;case"mouseover":return bh=Zc(bh,n,o,s,w,_),!0;case"pointerover":var O=_.pointerId;return qE.set(O,Zc(qE.get(O)||null,n,o,s,w,_)),!0;case"gotpointercapture":return O=_.pointerId,KE.set(O,Zc(KE.get(O)||null,n,o,s,w,_)),!0}return!1}function Wy(n){var o=ut(n.target);if(o!==null){var s=A(o);if(s!==null){if(o=s.tag,o===13){if(o=N(s),o!==null){n.blockedOn=o,bt(n.priority,function(){Py(s)});return}}else if(o===31){if(o=D(s),o!==null){n.blockedOn=o,bt(n.priority,function(){Py(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){n.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Uf(n){if(n.blockedOn!==null)return!1;for(var o=n.targetContainers;0<o.length;){var s=pb(n.nativeEvent);if(s===null){s=n.nativeEvent;var w=new s.constructor(s.type,s),_=w;sE!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),sE=_,s.target.dispatchEvent(w),sE===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),sE=null}else return o=yt(s),o!==null&&Fy(o),n.blockedOn=s,!1;o.shift()}return!0}function vb(n,o,s){Uf(n)&&s.delete(o)}function TC(){UN=!1,ph!==null&&Uf(ph)&&(ph=null),gh!==null&&Uf(gh)&&(gh=null),bh!==null&&Uf(bh)&&(bh=null),qE.forEach(vb),KE.forEach(vb)}function Vm(n,o){n.blockedOn===o&&(n.blockedOn=null,UN||(UN=!0,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,TC)))}function RS(n){jT!==n&&(jT=n,Xo.unstable_scheduleCallback(Xo.unstable_NormalPriority,function(){jT===n&&(jT=null);for(var o=0;o<n.length;o+=3){var s=n[o],w=n[o+1],_=n[o+2];if(typeof w!="function"){if(Qy(w||s)===null)continue;break}var O=yt(s);O!==null&&(n.splice(o,3),o-=3,s={pending:!0,data:_,method:s.method,action:w},Object.freeze(s),Pl(O,s,w,_))}}))}function Ju(n){function o(ne){return Vm(ne,n)}ph!==null&&Vm(ph,n),gh!==null&&Vm(gh,n),bh!==null&&Vm(bh,n),qE.forEach(o),KE.forEach(o);for(var s=0;s<vh.length;s++){var w=vh[s];w.blockedOn===n&&(w.blockedOn=null)}for(;0<vh.length&&(s=vh[0],s.blockedOn===null);)Wy(s),s.blockedOn===null&&vh.shift();if(s=(n.ownerDocument||n).$$reactFormReplay,s!=null)for(w=0;w<s.length;w+=3){var _=s[w],O=s[w+1],G=_[yr]||null;if(typeof O=="function")G||RS(s);else if(G){var q=null;if(O&&O.hasAttribute("formAction")){if(_=O,G=O[yr]||null)q=G.formAction;else if(Qy(_)!==null)continue}else q=G.action;typeof q=="function"?s[w+1]=q:(s.splice(w,3),w-=3),RS(s)}}}function MS(){function n(O){O.canIntercept&&O.info==="react-transition"&&O.intercept({handler:function(){return new Promise(function(G){return _=G})},focusReset:"manual",scroll:"manual"})}function o(){_!==null&&(_(),_=null),w||setTimeout(s,20)}function s(){if(!w&&!navigation.transition){var O=navigation.currentEntry;O&&O.url!=null&&navigation.navigate(O.url,{state:O.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var w=!1,_=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(s,100),function(){w=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),_!==null&&(_(),_=null)}}}function Yy(n){this._internalRoot=n}function Es(n){this._internalRoot=n}function Xy(n){n[Jl]&&(n._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Xo=YN(),Gm=Y,AC=Ls,dn=Object.assign,kS=Symbol.for("react.element"),Ba=Symbol.for("react.transitional.element"),Jc=Symbol.for("react.portal"),Hf=Symbol.for("react.fragment"),vr=Symbol.for("react.strict_mode"),Qm=Symbol.for("react.profiler"),yb=Symbol.for("react.consumer"),ws=Symbol.for("react.context"),jf=Symbol.for("react.forward_ref"),ed=Symbol.for("react.suspense"),Hr=Symbol.for("react.suspense_list"),Wm=Symbol.for("react.memo"),Yi=Symbol.for("react.lazy"),Ss=Symbol.for("react.activity"),xC=Symbol.for("react.memo_cache_sentinel"),IS=Symbol.iterator,zf=Symbol.for("react.client.reference"),ei=Array.isArray,Ue=Gm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bn=AC.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_C=Object.freeze({pending:!1,data:null,method:null,action:null}),qy=[],Ky=[],Zl=-1,eu=X(null),Bf=X(null),da=X(null),tu=X(null),Ff=0,$S,td,Pf,Zy,Ym,Eb,wb;K.__reactDisabledLog=!0;var Vf,Jy,Sb=!1,eE=new(typeof WeakMap=="function"?WeakMap:Map),jr=null,ul=!1,fa=Object.prototype.hasOwnProperty,tE=Xo.unstable_scheduleCallback,Tb=Xo.unstable_cancelCallback,Ab=Xo.unstable_shouldYield,xb=Xo.unstable_requestPaint,_i=Xo.unstable_now,Xm=Xo.unstable_getCurrentPriorityLevel,nE=Xo.unstable_ImmediatePriority,_b=Xo.unstable_UserBlockingPriority,nd=Xo.unstable_NormalPriority,US=Xo.unstable_LowPriority,Cb=Xo.unstable_IdlePriority,oE=Xo.log,HS=Xo.unstable_setDisableYieldValue,od=null,fi=null,dl=!1,fl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ui=Math.clz32?Math.clz32:nt,iE=Math.log,Nb=Math.LN2,Gf=256,qm=262144,Qf=4194304,hi=2,Hi=8,Xi=32,nu=268435456,Fa=Math.random().toString(36).slice(2),Ao="__reactFiber$"+Fa,yr="__reactProps$"+Fa,Jl="__reactContainer$"+Fa,id="__reactEvents$"+Fa,CC="__reactListeners$"+Fa,jS="__reactHandles$"+Fa,Km="__reactResources$"+Fa,Wf="__reactMarker$"+Fa,zS=new Set,hl={},Yf={},BS={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Xf=RegExp("^[: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]*$"),rE={},Lb={},Ob=/[\n"\\]/g,aE=!1,FS=!1,Zm=!1,r=!1,l=!1,v=!1,x=["value","defaultValue"],z=!1,V=/["'&<>\n\t]|^\s|\s$/,ee="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),le="applet caption html table td th marquee object template foreignObject desc title".split(" "),be=le.concat(["button"]),Me="dd dt li option optgroup p rp rt".split(" "),Fe={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},We={},ke={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},He=/([A-Z])/g,wt=/^ms-/,zt=/^(?:webkit|moz|o)[A-Z]/,io=/^-ms-/,Ne=/-(.)/g,Te=/;\s*$/,De={},Qe={},Dt=!1,Mn=!1,At=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),nn="http://www.w3.org/1998/Math/MathML",cn="http://www.w3.org/2000/svg",Un=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ts={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",fetchpriority:"fetchPriority",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",inert:"inert",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",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",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",transformorigin:"transformOrigin","transform-origin":"transformOrigin",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"},PS={"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,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},Db={},OZ=RegExp("^(aria)-[: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]*$"),DZ=RegExp("^(aria)[A-Z][: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]*$"),uU=!1,ha={},dU=/^on./,RZ=/^on[^A-Z]/,MZ=RegExp("^(aria)-[: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]*$"),kZ=RegExp("^(aria)[A-Z][: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]*$"),IZ=/^[\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,sE=null,Rb=null,Mb=null,NC=!1,ou=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),LC=!1;if(ou)try{var lE={};Object.defineProperty(lE,"passive",{get:function(){LC=!0}}),window.addEventListener("test",lE,lE),window.removeEventListener("test",lE,lE)}catch{LC=!1}var qf=null,OC=null,VS=null,Jm={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},GS=Po(Jm),cE=dn({},Jm,{view:0,detail:0}),$Z=Po(cE),DC,RC,uE,QS=dn({},cE,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xc,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==uE&&(uE&&n.type==="mousemove"?(DC=n.screenX-uE.screenX,RC=n.screenY-uE.screenY):RC=DC=0,uE=n),DC)},movementY:function(n){return"movementY"in n?n.movementY:RC}}),fU=Po(QS),UZ=dn({},QS,{dataTransfer:0}),HZ=Po(UZ),jZ=dn({},cE,{relatedTarget:0}),MC=Po(jZ),zZ=dn({},Jm,{animationName:0,elapsedTime:0,pseudoElement:0}),BZ=Po(zZ),FZ=dn({},Jm,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),PZ=Po(FZ),VZ=dn({},Jm,{data:0}),hU=Po(VZ),GZ=hU,QZ={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WZ={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},YZ={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},XZ=dn({},cE,{key:function(n){if(n.key){var o=QZ[n.key]||n.key;if(o!=="Unidentified")return o}return n.type==="keypress"?(n=Eu(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?WZ[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xc,charCode:function(n){return n.type==="keypress"?Eu(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Eu(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),qZ=Po(XZ),KZ=dn({},QS,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mU=Po(KZ),ZZ=dn({},cE,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xc}),JZ=Po(ZZ),eJ=dn({},Jm,{propertyName:0,elapsedTime:0,pseudoElement:0}),tJ=Po(eJ),nJ=dn({},QS,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),oJ=Po(nJ),iJ=dn({},Jm,{newState:0,oldState:0}),rJ=Po(iJ),aJ=[9,13,27,32],pU=229,kC=ou&&"CompositionEvent"in window,dE=null;ou&&"documentMode"in document&&(dE=document.documentMode);var sJ=ou&&"TextEvent"in window&&!dE,gU=ou&&(!kC||dE&&8<dE&&11>=dE),bU=32,vU=String.fromCharCode(bU),yU=!1,kb=!1,lJ={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},fE=null,hE=null,EU=!1;ou&&(EU=ce("input")&&(!document.documentMode||9<document.documentMode));var ma=typeof Object.is=="function"?Object.is:Vi,cJ=ou&&"documentMode"in document&&11>=document.documentMode,Ib=null,IC=null,mE=null,$C=!1,$b={animationend:La("Animation","AnimationEnd"),animationiteration:La("Animation","AnimationIteration"),animationstart:La("Animation","AnimationStart"),transitionrun:La("Transition","TransitionRun"),transitionstart:La("Transition","TransitionStart"),transitioncancel:La("Transition","TransitionCancel"),transitionend:La("Transition","TransitionEnd")},UC={},wU={};ou&&(wU=document.createElement("div").style,"AnimationEvent"in window||(delete $b.animationend.animation,delete $b.animationiteration.animation,delete $b.animationstart.animation),"TransitionEvent"in window||delete $b.transitionend.transition);var SU=Oa("animationend"),TU=Oa("animationiteration"),AU=Oa("animationstart"),uJ=Oa("transitionrun"),dJ=Oa("transitionstart"),fJ=Oa("transitioncancel"),xU=Oa("transitionend"),_U=new Map,HC="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");HC.push("scrollEnd");var CU=0;if(typeof performance=="object"&&typeof performance.now=="function")var hJ=performance,NU=function(){return hJ.now()};else{var mJ=Date;NU=function(){return mJ.now()}}var jC=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},pJ="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",WS=0,zC=1,BC=2,FC=3,YS="– ",XS="+ ",LU="  ",xo=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",ml="Components ⚛",xn="Scheduler ⚛",Nn="Blocking",Kf=!1,rd={color:"primary",properties:null,tooltipText:"",track:ml},Zf={start:-0,end:-0,detail:{devtools:rd}},gJ=["Changed Props",""],OU="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",bJ=["Changed Props",OU],pE=1,ad=2,pl=[],Ub=0,PC=0,Jf={};Object.freeze(Jf);var gl=null,Hb=null,Vt=0,vJ=1,fn=2,zr=8,ec=16,yJ=32,DU=!1;try{var RU=Object.preventExtensions({})}catch{DU=!0}var VC=new WeakMap,jb=[],zb=0,qS=null,gE=0,bl=[],vl=0,ep=null,sd=1,ld="",Er=null,_o=null,Tn=!1,iu=!1,As=null,eh=null,yl=!1,GC=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),QC=X(null),WC=X(null),MU={},KS=null,Bb=null,Fb=!1,EJ=typeof AbortController<"u"?AbortController:function(){var n=[],o=this.signal={aborted:!1,addEventListener:function(s,w){n.push(w)}};this.abort=function(){o.aborted=!0,n.forEach(function(s){return s()})}},wJ=Xo.unstable_scheduleCallback,SJ=Xo.unstable_NormalPriority,Ci={$$typeof:ws,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ni=Xo.unstable_now,ZS=console.createTask?console.createTask:function(){return null},bE=1,JS=2,qi=-0,th=-0,cd=-0,ud=null,pa=-1.1,tp=-0,Ho=-0,Ut=-1.1,Ft=-1.1,Ro=null,qo=!1,np=-0,ru=-1.1,vE=null,nh=0,YC=null,XC=null,op=-1.1,yE=null,Pb=-1.1,eT=-1.1,dd=-0,fd=-1.1,El=-1.1,qC=0,EE=null,kU=null,IU=null,oh=-1.1,ip=null,ih=-1.1,tT=-1.1,$U=-0,UU=-0,nT=0,TJ=null,HU=0,wE=-1.1,oT=!1,iT=!1,SE=null,KC=0,rp=0,Vb=null,jU=Ue.S;Ue.S=function(n,o){if(k8=_i(),typeof o=="object"&&o!==null&&typeof o.then=="function"){if(0>fd&&0>El){fd=Ni();var s=Df(),w=ll();(s!==ih||w!==ip)&&(ih=-1.1),oh=s,ip=w}$l(n,o)}jU!==null&&jU(n,o)};var ap=X(null),tc={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},TE=[],AE=[],xE=[],_E=[],CE=[],NE=[],sp=new Set;tc.recordUnsafeLifecycleWarnings=function(n,o){sp.has(n.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&TE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillMount=="function"&&AE.push(n),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&xE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&_E.push(n),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&CE.push(n),n.mode&zr&&typeof o.UNSAFE_componentWillUpdate=="function"&&NE.push(n))},tc.flushPendingUnsafeLifecycleWarnings=function(){var n=new Set;0<TE.length&&(TE.forEach(function(q){n.add(j(q)||"Component"),sp.add(q.type)}),TE=[]);var o=new Set;0<AE.length&&(AE.forEach(function(q){o.add(j(q)||"Component"),sp.add(q.type)}),AE=[]);var s=new Set;0<xE.length&&(xE.forEach(function(q){s.add(j(q)||"Component"),sp.add(q.type)}),xE=[]);var w=new Set;0<_E.length&&(_E.forEach(function(q){w.add(j(q)||"Component"),sp.add(q.type)}),_E=[]);var _=new Set;0<CE.length&&(CE.forEach(function(q){_.add(j(q)||"Component"),sp.add(q.type)}),CE=[]);var O=new Set;if(0<NE.length&&(NE.forEach(function(q){O.add(j(q)||"Component"),sp.add(q.type)}),NE=[]),0<o.size){var G=u(o);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
257
257
 
258
258
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
259
259
 
@@ -299,7 +299,7 @@ Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="func
299
299
  You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}dv.createRoot=function(n,o){if(!T(n))throw Error("Target container is not a DOM element.");Xy(n);var s=!1,w="",_=Cg,O=Ng,G=P0;return o!=null&&(o.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof o=="object"&&o!==null&&o.$$typeof===Ba&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
300
300
 
301
301
  let root = createRoot(domContainer);
302
- root.render(<App />);`),o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(w=o.identifierPrefix),o.onUncaughtError!==void 0&&(_=o.onUncaughtError),o.onCaughtError!==void 0&&(O=o.onCaughtError),o.onRecoverableError!==void 0&&(G=o.onRecoverableError)),o=Pm(n,1,!1,null,null,s,w,null,_,O,G,MS),n[Jl]=o.current,Xc(n),new Yy(o)},dv.hydrateRoot=function(n,o,s){if(!T(n))throw Error("Target container is not a DOM element.");Xy(n),o===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var w=!1,_="",O=Cg,G=Ng,q=P0,ne=null;return s!=null&&(s.unstable_strictMode===!0&&(w=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onUncaughtError!==void 0&&(O=s.onUncaughtError),s.onCaughtError!==void 0&&(G=s.onCaughtError),s.onRecoverableError!==void 0&&(q=s.onRecoverableError),s.formState!==void 0&&(ne=s.formState)),o=Pm(n,1,!0,o,s??null,w,_,ne,O,G,q,MS),o.context=LS(null),s=o.current,w=Wi(s),w=Ot(w),_=ci(w),_.callback=null,Qs(s,_,w),Ps(w,"hydrateRoot()",null),s=w,o.current.lanes=s,rt(o,s),Ir(o),n[Jl]=o.current,Xc(n),new Es(o)},dv.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),dv}var KN;function MH(){if(KN)return nw.exports;KN=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}return process.env.NODE_ENV==="production"?(t(),nw.exports=DH()):nw.exports=RH(),nw.exports}var kH=MH();const ZN=JE(kH);var FT={exports:{}};/*!
302
+ root.render(<App />);`),o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(w=o.identifierPrefix),o.onUncaughtError!==void 0&&(_=o.onUncaughtError),o.onCaughtError!==void 0&&(O=o.onCaughtError),o.onRecoverableError!==void 0&&(G=o.onRecoverableError)),o=Pm(n,1,!1,null,null,s,w,null,_,O,G,MS),n[Jl]=o.current,Xc(n),new Yy(o)},dv.hydrateRoot=function(n,o,s){if(!T(n))throw Error("Target container is not a DOM element.");Xy(n),o===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var w=!1,_="",O=Cg,G=Ng,q=P0,ne=null;return s!=null&&(s.unstable_strictMode===!0&&(w=!0),s.identifierPrefix!==void 0&&(_=s.identifierPrefix),s.onUncaughtError!==void 0&&(O=s.onUncaughtError),s.onCaughtError!==void 0&&(G=s.onCaughtError),s.onRecoverableError!==void 0&&(q=s.onRecoverableError),s.formState!==void 0&&(ne=s.formState)),o=Pm(n,1,!0,o,s??null,w,_,ne,O,G,q,MS),o.context=LS(null),s=o.current,w=Wi(s),w=Ot(w),_=ci(w),_.callback=null,Qs(s,_,w),Ps(w,"hydrateRoot()",null),s=w,o.current.lanes=s,tt(o,s),Ir(o),n[Jl]=o.current,Xc(n),new Es(o)},dv.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),dv}var KN;function MH(){if(KN)return nw.exports;KN=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}}return process.env.NODE_ENV==="production"?(t(),nw.exports=DH()):nw.exports=RH(),nw.exports}var kH=MH();const ZN=JE(kH);var FT={exports:{}};/*!
303
303
  Copyright (c) 2018 Jed Watson.
304
304
  Licensed under the MIT License (MIT), see
305
305
  http://jedwatson.github.io/classnames
@@ -368,7 +368,7 @@ You might need to use a local HTTP server (instead of file://): https://react.de
368
368
  * @file useAgentApi.ts
369
369
  * @function useAgentApi
370
370
  * @license BSD-2-Clause
371
- */const Tp=t=>{if(t!=null){if(typeof t=="number"||typeof t=="string"&&/^\d+$/.test(t)){const e=Number(t),i=new Date(e);return Number.isNaN(i.getTime())?void 0:i.toISOString()}if(typeof t=="string"){const e=new Date(t);return Number.isNaN(e.getTime())?void 0:e.toISOString()}if(t instanceof Date)return t.toISOString()}};function GT(t){return!!t&&t.type==="text"}function wj(t,e){switch(e.type){case"reset":{const i={},a=[];for(const E of e.list)i[E.id]||a.push(E.id),i[E.id]=E;return{byId:i,order:a}}case"appendOptimistic":return t.byId[e.msg.id]?t:{byId:{...t.byId,[e.msg.id]:e.msg},order:[...t.order,e.msg.id]};case"mergeFromServer":{const i={...t.byId},a=[...t.order];for(const E of e.list)i[E.id]||a.push(E.id),i[E.id]=E;return{byId:i,order:a}}case"reconcileUserEcho":{const i=e.server;if(!(i!=null&&i.id)||i.role!=="user"||!GT(i))return t;const a=hL(i),E=[...t.order],p={...t.byId};for(let g=E.length-1;g>=0;g--){const y=E[g],f=p[y];if(f&&f.sessionId===i.sessionId&&f.role==="user"&&f.status==="pending"&&GT(f)&&hL(f)===a)return delete p[y],p[i.id]={...i,status:"sent"},E[g]=i.id,{byId:p,order:E}}return p[i.id]||(p[i.id]=i,E.push(i.id)),{byId:p,order:E}}default:return t}}function Sj(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){const a=t[i],E=e[i];if(a.sessionId!==E.sessionId||a.lastAt!==E.lastAt||a.lastPreview!==E.lastPreview||a.messageCount!==E.messageCount)return!1}return!0}function hL(t){var i;if(!t||t.type!=="text")return;const e=(i=t.content)==null?void 0:i.data;return typeof e=="string"?e:void 0}function Tj(t){var $t;const{integration:e,sessionId:i,onNewSessionId:a,persistMode:E="none"}=t,{boomiConfig:p}=Fn(),g=i!=null,y=Y.useMemo(()=>t.storageKey??`agent:sess:${e.id??"unknown"}`,[t.storageKey,e.id]),f=!g&&E==="modal",b=e.integrationPackId?($t=p==null?void 0:p.agents)==null?void 0:$t[e.integrationPackId]:void 0,c=!!(b!=null&&b.sendMultipartData||b!=null&&b.sendMultiPartOnly),u=(b==null?void 0:b.transport)==="boomi-direct",d=bj(),h=Y.useRef(d.listSessions),m=Y.useRef(d.getConversation),S=Y.useRef(d.createSession),T=Y.useRef(d.sendMessage),A=Y.useRef(d.deleteSession);Y.useEffect(()=>{h.current=d.listSessions,m.current=d.getConversation,S.current=d.createSession,T.current=u?d.sendBoomiAgentSession:d.sendMessage,A.current=d.deleteSession},[d,u]);const[N,D]=Y.useState([]),[R,L]=Y.useState(!1),[C,$]=Y.useState(null),[F,U]=Y.useState(null),j=Y.useRef(!1),X=g?i??null:F,[P,B]=Y.useState(!1),[k,M]=Y.useState(!1),[I,W]=Y.useReducer(wj,{byId:{},order:[]}),Q=Y.useMemo(()=>I.order.map(ze=>I.byId[ze]).filter(Boolean),[I]),[J,K]=Y.useState("idle"),[Z,re]=Y.useState(void 0),te=k||J==="working",ae=Y.useRef(!1),se=Y.useRef(null),ie=Y.useRef(null),ue=Y.useRef(0),me=1500,ve=Y.useCallback(async(ze=!1)=>{const tt=Date.now();if(!ze&&tt-ue.current<me||ie.current)return;const ct=(async()=>{L(!0),$(null);try{const Le=((await h.current({limit:50})).items??[]).map(je=>{const it=Tp(je.lastActivity)??Tp(je.updatedAt)??Tp(je.lastActivityMs)??Tp(je.createdAt)??new Date().toISOString();return{sessionId:je.sessionId,integrationPackId:je.integrationPackId,lastAt:it,createdAt:Tp(je.createdAt),updatedAt:Tp(je.updatedAt),lastRole:je.lastRole??void 0,lastPreview:je.lastPreview??void 0,messageCount:je.messageCount??void 0,metadata:je.metadata??void 0}}).filter(je=>e.integrationPackId?je.integrationPackId&&je.integrationPackId===e.integrationPackId:!0);D(je=>Sj(je,Le)?je:Le),ue.current=Date.now()}catch(gt){$(gt)}finally{L(!1),ie.current=null}})();return ie.current=ct,ct},[e.integrationPackId]),pe=Y.useCallback(async ze=>{if(ze&&se.current!==ze){se.current=ze,B(!0);try{const ct=((await m.current({sessionId:ze,limit:200})).messages??[]).filter(gt=>(gt==null?void 0:gt.type)!=="status");W({type:"reset",list:ct})}finally{B(!1),se.current===ze&&(se.current=null)}}},[]),ye=Y.useCallback(async()=>{if(ae.current)return null;ae.current=!0;try{const tt=(await S.current({integrationPackId:e.integrationPackId})).sessionId;if(g)a==null||a(tt);else{if(f)try{localStorage.setItem(y,tt)}catch{}await ve(!0),U(tt),j.current=!1}return tt}catch(ze){return Oe.warn({e:ze},"createSession failed"),null}finally{ae.current=!1}},[e.integrationPackId,g,a,f,y,ve]),de=Y.useCallback(async ze=>{const tt=X===ze;if(!g&&(tt&&(j.current=!0),U(ct=>ct===ze?null:ct),f))try{(localStorage.getItem(y)||"")===ze&&localStorage.removeItem(y)}catch{}tt&&(W({type:"reset",list:[]}),K("idle"),re(void 0));try{await A.current({sessionId:ze})}finally{await ve(!0)}},[g,f,y,ve,X,W,K,re]),Ve=Y.useCallback(ze=>{if(!g&&(j.current=!1,U(ze),f))try{localStorage.setItem(y,ze)}catch{}},[g,f,y]),Re=Y.useCallback(async ze=>{var gt,at;let tt=X;if(tt||(tt=await ye()),!tt)return;const ct=((gt=ze.data)==null?void 0:gt.trim())??"";if(ct){const Le={id:crypto.randomUUID(),sessionId:tt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",role:"user",type:"text",status:"pending",metadata:{timestamp:new Date().toISOString(),platform:"client"},content:{data:ct}};W({type:"appendOptimistic",msg:Le})}M(!0);try{if((((at=ze.files)==null?void 0:at.length)??0)>0||c){if(u&&Oe.warn("Boomi direct transport does not support file attachments yet; sending text only."),u){await T.current({sessionId:tt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1});return}const je=new FormData;je.append("sessionId",tt),je.append("integrationPackId",e.integrationPackId??""),je.append("agentCommand","sendMessage"),je.append("message",JSON.stringify({role:"user",type:"text",content:{data:ct}}));for(const it of ze.files??[])je.append("files",it);await d.sendMultipart({formData:je})}else u?await T.current({sessionId:tt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1}):await T.current({sessionId:tt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",message:{role:"user",type:"text",content:{data:ct}}})}finally{M(!1)}},[X,e.integrationPackId,ye,d,T,W,c,u]),qe=Y.useCallback(async ze=>{var at;if(c){await Re({data:ze,files:[]});return}let tt=X;if(tt||(tt=await ye()),!tt)return;const ct=ze??"",gt={id:crypto.randomUUID(),sessionId:tt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",role:"user",type:"text",status:"pending",metadata:{timestamp:new Date().toISOString(),platform:"client"},content:{data:ct}};W({type:"appendOptimistic",msg:gt}),M(!0);try{const Le=await T.current(u?{sessionId:tt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1}:{sessionId:tt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",message:{role:"user",type:"text",content:{data:ct}}});((at=Le==null?void 0:Le.message)==null?void 0:at.role)==="user"&&GT(Le.message)?W({type:"reconcileUserEcho",server:Le.message}):Le!=null&&Le.message&&W({type:"mergeFromServer",list:[Le.message]})}finally{M(!1)}},[X,e.integrationPackId,ye,Re,c,u]);Y.useEffect(()=>{ve(!0)},[ve]),Y.useEffect(()=>{if(!g&&!j.current&&!F){if(f)try{const ze=localStorage.getItem(y)||"";if(ze&&N.some(tt=>tt.sessionId===ze)){j.current=!1,U(ze);return}}catch{}if(N.length>0&&(j.current=!1,U(N[0].sessionId),f))try{localStorage.setItem(y,N[0].sessionId)}catch{}}},[g,f,y,N,F]),Y.useEffect(()=>{W({type:"reset",list:[]}),X&&pe(X)},[X,pe]);const et=Y.useRef(0),mt=Y.useCallback(ze=>{if((ze==null?void 0:ze.type)==="status"){const ct=String(ze.status||"working"),gt=typeof ze.note=="string"?ze.note:void 0;K(ct),re(gt);return}ze.role==="user"?W({type:"reconcileUserEcho",server:ze}):W({type:"mergeFromServer",list:[ze]});const tt=Date.now();tt-et.current>5e3&&(et.current=tt,ve())},[W,ve]),xt=Y.useCallback(ze=>{const tt=ze.note;let ct=ze.state;tt&&/progress/i.test(tt)&&(ct="progress"),tt&&/error|timeout|failed/i.test(tt)&&(ct="error"),K(ct),re(tt)},[]);return Ej({sessionId:X||"",enabled:!!X,onMessage:mt,onStatus:xt}),{sessions:N,sessionsLoading:R,sessionsError:C,activeSessionId:X,selectSession:Ve,createSession:ye,deleteSession:de,messages:Q,loading:P,busy:te,agentStatus:J,agentNote:Z,sendMessage:qe,sendMessageRich:Re,reloadSessions:ve}}var mL;(t=>{(e=>{e.TRIAL="trial",e.ACTIVE="active",e.SUSPENDED="suspended",e.DELETED="deleted",e.UNLIMITED="unlimited"})(t.status||(t.status={})),(e=>{e.STANDARD="standard",e.PREMIER="premier"})(t.supportLevel||(t.supportLevel={}))})(mL||(mL={}));var pL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(pL||(pL={}));var gL;(t=>{(e=>{e.GENERAL="GENERAL",e.LOW_LATENCY_DEBUG="LOW_LATENCY_DEBUG"})(t.as2Workload||(t.as2Workload={})),(e=>{e.NONE="NONE",e.THREADS="THREADS",e.PROCESSES="PROCESSES"})(t.flowControlParallelProcessTypeOverride||(t.flowControlParallelProcessTypeOverride={})),(e=>{e.GENERAL="GENERAL",e.LOW_LATENCY_DEBUG="LOW_LATENCY_DEBUG",e.LOW_LATENCY="LOW_LATENCY"})(t.httpWorkload||(t.httpWorkload={}))})(gL||(gL={}));var bL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(bL||(bL={}));var vL;(t=>{(e=>{e.NONE="none",e.INFO="info",e.WARNING="warning",e.ERROR="error"})(t.autoSubscribeAlertLevel||(t.autoSubscribeAlertLevel={}))})(vL||(vL={}));var yL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(yL||(yL={}));var EL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.ACCOUNT_ID="accountId"})(t.property||(t.property={}))})(EL||(EL={}));var wL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(wL||(wL={}));var SL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(SL||(SL={}));var TL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(TL||(TL={}));var AL;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={}))})(AL||(AL={}));var xL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(xL||(xL={}));var _L;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_L||(_L={}));var CL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(CL||(CL={}));var NL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ID="id",e.ACCOUNT_ID="accountId",e.NAME="name",e.DEFAULT_GROUP="defaultGroup",e.AUTO_SUBSCRIBE_ALERT_LEVEL="autoSubscribeAlertLevel"})(t.property||(t.property={}))})(NL||(NL={}));var LL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(LL||(LL={}));var OL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.USER_ID="userId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})(OL||(OL={}));var DL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNTID="ACCOUNTID",e.DATECREATED="DATECREATED",e.EXPIRATIONDATE="EXPIRATIONDATE",e.NAME="NAME",e.STATUS="STATUS",e.WIDGETACCOUNT="WIDGETACCOUNT",e.OVERDEPLOYED="OVERDEPLOYED"})(t.property||(t.property={}))})(DL||(DL={}));var RL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(RL||(RL={}));var ML;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ML||(ML={}));var kL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.USER_ID="userId",e.FEDERATION_ID="federationId"})(t.property||(t.property={}))})(kL||(kL={}));var IL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(IL||(IL={}));var $L;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.USER_ID="userId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})($L||($L={}));var UL;(t=>{(e=>{e.ANY="ANY",e.SUCCESS="SUCCESS",e.ERROR="ERROR"})(t.documentStatus||(t.documentStatus={}))})(UL||(UL={}));var HL;(t=>{(e=>{e.PROD="PROD",e.TEST="TEST"})(t.classification||(t.classification={}))})(HL||(HL={}));var jL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jL||(jL={}));var zL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_DATE="processDate",e.CLASSIFICATION="classification",e.SUCCESS_COUNT="successCount",e.ERROR_COUNT="errorCount"})(t.property||(t.property={}))})(zL||(zL={}));var BL;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(BL||(BL={}));var FL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FL||(FL={}));var PL;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(PL||(PL={}));var VL;(t=>{(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.mdnDigestAlg||(t.mdnDigestAlg={})),(e=>{e.SYNC="sync",e.ASYNC="async"})(t.synchronous||(t.synchronous={}))})(VL||(VL={}));var GL;(t=>{(e=>{e.BATCH="BATCH",e.DOCUMENT_CACHE="DOCUMENT_CACHE"})(t.attachmentOption||(t.attachmentOption={})),(e=>{e.TEXTPLAIN="textplain",e.BINARY="binary",e.EDIFACT="edifact",e.EDIX12="edix12",e.APPLICATIONXML="applicationxml",e.TEXTXML="textxml"})(t.dataContentType||(t.dataContentType={})),(e=>{e.NA="na",e.TRIPLEDES="tripledes",e.DES="des",e.RC2_128="rc2-128",e.RC2_64="rc2-64",e.RC2_40="rc2-40",e.AES_128="aes-128",e.AES_192="aes-192",e.AES_256="aes-256"})(t.encryptionAlgorithm||(t.encryptionAlgorithm={})),(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.signingDigestAlg||(t.signingDigestAlg={}))})(GL||(GL={}));var QL;(t=>{(e=>{e.NONE="NONE",e.BASIC="BASIC"})(t.authenticationType||(t.authenticationType={}))})(QL||(QL={}));var WL;(t=>{(e=>{e.UNKNOWN="UNKNOWN",e.ONLINE="ONLINE",e.WARNING="WARNING",e.OFFLINE="OFFLINE"})(t.status||(t.status={})),(e=>{e.CLOUD="CLOUD",e.MOLECULE="MOLECULE",e.ATOM="ATOM"})(t.type||(t.type={}))})(WL||(WL={}));var YL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YL||(YL={}));var XL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XL||(XL={}));var qL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.FIELD_ID="fieldId"})(t.property||(t.property={}))})(qL||(qL={}));var KL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(KL||(KL={}));var ZL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ZL||(ZL={}));var JL;(t=>{(e=>{e.EQUALS="EQUALS",e.NOT_EQUALS="NOT_EQUALS",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.HOSTNAME="hostname",e.STATUS="status",e.TYPE="type",e.CAPABILITIES="capabilities"})(t.property||(t.property={}))})(JL||(JL={}));var eO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(eO||(eO={}));var tO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(tO||(tO={}));var nO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(nO||(nO={}));var oO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.CONTAINER_ID="containerId",e.USER_ID="userId",e.DATE="date",e.TYPE="type",e.ACTION="action",e.MODIFIER="modifier",e.LEVEL="level",e.SOURCE="source"})(t.property||(t.property={}))})(oO||(oO={}));var iO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(iO||(iO={}));var rO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(rO||(rO={}));var aO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(aO||(aO={}));var sO;(t=>{(e=>{e.RESTART="restart",e.RESTART_ALL="restart_all",e.PAUSE="pause",e.PAUSE_ALL="pause_all",e.RESUME="resume",e.RESUME_ALL="resume_all"})(t.action||(t.action={}))})(sO||(sO={}));var lO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(lO||(lO={}));var cO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(cO||(cO={}));var uO;(t=>{(e=>{e.AWS="AWS",e.AZURE="AZURE"})(t.secretsManagerType||(t.secretsManagerType={}))})(uO||(uO={}));var dO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id"})(t.property||(t.property={}))})(dO||(dO={}));var fO;(t=>{(e=>{e.CERTIFICATE="certificate",e.CONNECTOR_ACTION="connector-action",e.CONNECTOR_SETTINGS="connector-settings",e.CROSSREF="crossref",e.DOCUMENTCACHE="documentcache",e.TRANSFORM_MAP="transform.map",e.TRANSFORM_FUNCTION="transform.function",e.CERTIFICATE_PGP="certificate.pgp",e.PROCESS="process",e.PROCESSPROPERTY="processproperty",e.PROFILE_DB="profile.db",e.PROFILE_EDI="profile.edi",e.PROFILE_FLATFILE="profile.flatfile",e.PROFILE_XML="profile.xml",e.PROFILE_JSON="profile.json",e.QUEUE="queue",e.TRADINGPARTNER="tradingpartner",e.TPGROUP="tpgroup",e.TPORGANIZATION="tporganization",e.TPCOMMOPTIONS="tpcommoptions",e.WEBSERVICE="webservice",e.WEBSERVICE_EXTERNAL="webservice.external",e.PROCESSROUTE="processroute",e.CUSTOMLIBRARY="customlibrary",e.EDISTANDARD="edistandard",e.FLOWSERVICE="flowservice",e.SCRIPT_PROCESSING="script.processing",e.SCRIPT_MAPPING="script.mapping",e.XSLT="xslt"})(t.componentType||(t.componentType={}))})(fO||(fO={}));var hO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hO||(hO={}));var mO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(mO||(mO={}));var pO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(pO||(pO={}));var gO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(gO||(gO={}));var bO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(bO||(bO={}));var vO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(vO||(vO={}));var yO;(t=>{(e=>{e.CERTIFICATE="certificate",e.CONNECTOR_ACTION="connector-action",e.CONNECTOR_SETTINGS="connector-settings",e.CROSSREF="crossref",e.DOCUMENTCACHE="documentcache",e.TRANSFORM_MAP="transform.map",e.TRANSFORM_FUNCTION="transform.function",e.CERTIFICATE_PGP="certificate.pgp",e.PROCESS="process",e.PROCESSPROPERTY="processproperty",e.PROFILE_DB="profile.db",e.PROFILE_EDI="profile.edi",e.PROFILE_FLATFILE="profile.flatfile",e.PROFILE_XML="profile.xml",e.PROFILE_JSON="profile.json",e.QUEUE="queue",e.TRADINGPARTNER="tradingpartner",e.TPGROUP="tpgroup",e.TPORGANIZATION="tporganization",e.TPCOMMOPTIONS="tpcommoptions",e.WEBSERVICE="webservice",e.WEBSERVICE_EXTERNAL="webservice.external",e.PROCESSROUTE="processroute",e.CUSTOMLIBRARY="customlibrary",e.EDISTANDARD="edistandard",e.FLOWSERVICE="flowservice",e.SCRIPT_PROCESSING="script.processing",e.SCRIPT_MAPPING="script.mapping",e.XSLT="xslt"})(t.type||(t.type={}))})(yO||(yO={}));var EO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(EO||(EO={}));var wO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wO||(wO={}));var SO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.COMPONENT_ID="componentId",e.VERSION="version",e.NAME="name",e.TYPE="type",e.SUB_TYPE="subType",e.CREATED_DATE="createdDate",e.CREATED_BY="createdBy",e.MODIFIED_DATE="modifiedDate",e.MODIFIED_BY="modifiedBy",e.DELETED="deleted",e.CURRENT_VERSION="currentVersion",e.FOLDER_NAME="folderName",e.FOLDER_ID="folderId",e.COPIED_FROM_COMPONENT_ID="copiedFromComponentId",e.COPIED_FROM_COMPONENT_VERSION="copiedFromComponentVersion",e.BRANCH_NAME="branchName",e.BRANCH_ID="branchId"})(t.property||(t.property={}))})(SO||(SO={}));var TO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(TO||(TO={}));var AO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(AO||(AO={}));var xO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PARENT_COMPONENT_ID="parentComponentId",e.PARENT_VERSION="parentVersion",e.COMPONENT_ID="componentId",e.TYPE="type"})(t.property||(t.property={}))})(xO||(xO={}));var _O;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(_O||(_O={}));var CO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(CO||(CO={}));var NO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.TYPE="type",e.NAME="name"})(t.property||(t.property={}))})(NO||(NO={}));var LO;(t=>{(e=>{e.CHARACTER="character",e.DATETIME="datetime",e.NUMBER="number"})(t.type||(t.type={}))})(LO||(LO={}));var OO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(OO||(OO={}));var DO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(DO||(DO={}));var RO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(RO||(RO={}));var MO;(t=>{(e=>{e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.CONTAINER_ID="containerId",e.CONTAINER_NAME="containerName",e.ENVIRONMENT_ID="environmentId",e.ENVIRONMENT_NAME="environmentName",e.EXPIRATION_BOUNDARY="expirationBoundary"})(t.property||(t.property={}))})(MO||(MO={}));var kO;(t=>{(e=>{e.RUNNING="RUNNING",e.PAUSED="PAUSED"})(t.listenerStatus||(t.listenerStatus={}))})(kO||(kO={}));var IO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(IO||(IO={}));var $O;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})($O||($O={}));var UO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.UID="uid",e.NOTES="notes",e.CURRENT="current",e.PACKAGE_NOTES="packageNotes",e.ACTIVE="active",e.COMPONENT_ID="componentId",e.COMPONENT_VERSION="componentVersion",e.COMPONENT_NAME="componentName",e.COMPONENT_TYPE="componentType",e.DEPLOYED_BY="deployedBy",e.DEPLOYED_DATE="deployedDate",e.DEPLOYMENT_ID="deploymentId",e.ENVIRONMENT_ID="environmentId",e.ENVIRONMENT_NAME="environmentName",e.PACKAGE_ID="packageId",e.PACKAGE_VERSION="packageVersion",e.VERSION="version",e.ACCOUNT_ID="accountId",e.BRANCH="branch"})(t.property||(t.property={}))})(UO||(UO={}));var HO;(t=>{(e=>{e.RUNNING="RUNNING",e.PAUSED="PAUSED"})(t.listenerStatus||(t.listenerStatus={}))})(HO||(HO={}));var jO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(jO||(jO={}));var zO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(zO||(zO={}));var BO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.PROCESS_ID="processId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType",e.CURRENT="current"})(t.property||(t.property={}))})(BO||(BO={}));var FO;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(FO||(FO={}));var PO;(t=>{(e=>{e.WILDCARD="wildcard",e.REGEX="regex"})(t.filterMatchType||(t.filterMatchType={}))})(PO||(PO={}));var VO;(t=>{(e=>{e.UNIQUE="unique",e.OVER="over",e.APPEND="append",e.ABORT="abort"})(t.writeOption||(t.writeOption={}))})(VO||(VO={}));var GO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(GO||(GO={}));var QO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QO||(QO={}));var WO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(WO||(WO={}));var YO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(YO||(YO={}));var XO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XO||(XO={}));var qO;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(qO||(qO={}));var KO;(t=>{(e=>{e.STARDELIMITED="stardelimited",e.COMMADELIMITED="commadelimited",e.TABDELIMITED="tabdelimited",e.TICKDELIMITED="tickdelimited",e.BARDELIMITED="bardelimited",e.PLUSDELIMITED="plusdelimited",e.COLONDELIMITED="colondelimited",e.CARATDELIMITED="caratdelimited",e.AMPERSANDDELIMITED="ampersanddelimited",e.BYTECHARACTER="bytecharacter",e.OTHERCHARACTER="othercharacter"})(t.delimiterValue||(t.delimiterValue={}))})(KO||(KO={}));var ZO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ZO||(ZO={}));var JO;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(JO||(JO={}));var eD;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKITEM="ackitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPFG="groupfg",e.GROUPMESSAGE="groupmessage"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(eD||(eD={}));var tD;(t=>{(e=>{e.NEWLINE="newline",e.SINGLEQUOTE="singlequote",e.TILDE="tilde",e.CARRIAGERETURN="carriagereturn",e.BYTECHARACTER="bytecharacter",e.OTHERCHARACTER="othercharacter"})(t.segmentTerminatorValue||(t.segmentTerminatorValue={}))})(tD||(tD={}));var nD;(t=>{(e=>{e.PROD="PROD",e.TEST="TEST"})(t.classification||(t.classification={}))})(nD||(nD={}));var oD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(oD||(oD={}));var iD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.ENVIRONMENT_ID="environmentId"})(t.property||(t.property={}))})(iD||(iD={}));var rD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(rD||(rD={}));var aD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(aD||(aD={}));var sD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.FIELD_ID="fieldId"})(t.property||(t.property={}))})(sD||(sD={}));var lD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(lD||(lD={}));var cD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(cD||(cD={}));var uD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(uD||(uD={}));var dD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dD||(dD={}));var fD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(fD||(fD={}));var hD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hD||(hD={}));var mD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="ACCOUNT_ID",e.ENVIRONMENT_MAP_EXTENSION_ID="ENVIRONMENT_MAP_EXTENSION_ID",e.PACKAGED_COMPONENT_UID="PACKAGED_COMPONENT_UID",e.COMPONENT_ID="COMPONENT_ID",e.COMPONENT_VERSION="COMPONENT_VERSION",e.COMPONENT_NAME="COMPONENT_NAME",e.COMPONENT_TYPE="COMPONENT_TYPE"})(t.property||(t.property={}))})(mD||(mD={}));var pD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(pD||(pD={}));var gD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(gD||(gD={}));var bD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(bD||(bD={}));var vD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(vD||(vD={}));var yD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(yD||(yD={}));var ED;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(ED||(ED={}));var wD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wD||(wD={}));var SD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})(SD||(SD={}));var TD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.CLASSIFICATION="classification"})(t.property||(t.property={}))})(TD||(TD={}));var AD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(AD||(AD={}));var xD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EVENT_ID="eventId",e.ACCOUNT_ID="accountId",e.ATOM_ID="atomId",e.ATOM_NAME="atomName",e.EVENT_LEVEL="eventLevel",e.EVENT_DATE="eventDate",e.STATUS="status",e.EVENT_TYPE="eventType",e.EXECUTION_ID="executionId",e.TITLE="title",e.UPDATE_DATE="updateDate",e.START_TIME="startTime",e.END_TIME="endTime",e.ERROR_DOCUMENT_COUNT="errorDocumentCount",e.INBOUND_DOCUMENT_COUNT="inboundDocumentCount",e.OUTBOUND_DOCUMENT_COUNT="outboundDocumentCount",e.PROCESS_NAME="processName",e.RECORD_DATE="recordDate",e.ERROR="error",e.ENVIRONMENT="environment",e.CLASSIFICATION="classification"})(t.property||(t.property={}))})(xD||(xD={}));var _D;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_D||(_D={}));var CD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.CONNECTOR_TYPE="connectorType",e.ACTION_TYPE="actionType",e.ERROR_COUNT="errorCount",e.SUCCESS_COUNT="successCount",e.SIZE="size",e.IS_START_SHAPE="isStartShape",e.RECORD_TYPE="recordType"})(t.property||(t.property={}))})(CD||(CD={}));var ND;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ND||(ND={}));var LD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(LD||(LD={}));var OD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(OD||(OD={}));var DD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(DD||(DD={}));var RD;(t=>{(e=>{e.EXEC_MANUAL="exec_manual",e.EXEC_SCHED="exec_sched",e.EXEC_LISTENER="exec_listener",e.EXEC_LISTENER_BRIDGE="exec_listener_bridge",e.EXEC_REMOTE="exec_remote",e.RETRY_MANUAL="retry_manual",e.RETRY_SCHED="retry_sched",e.FIBER="fiber",e.SUB_PROCESS="sub_process",e.TEST_MANUAL="test_manual",e.TEST_SUB_PROCESS="test_sub_process",e.UNKNOWN="unknown"})(t.executionType||(t.executionType={}))})(RD||(RD={}));var MD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(MD||(MD={}));var kD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ORIGINAL_EXECUTION_ID="originalExecutionId",e.ACCOUNT="account",e.EXECUTION_TIME="executionTime",e.STATUS="status",e.EXECUTION_TYPE="executionType",e.PROCESS_NAME="processName",e.PROCESS_ID="processId",e.ATOM_NAME="atomName",e.ATOM_ID="atomId",e.INBOUND_DOCUMENT_COUNT="inboundDocumentCount",e.OUTBOUND_DOCUMENT_COUNT="outboundDocumentCount",e.EXECUTION_DURATION="executionDuration",e.MESSAGE="message",e.REPORT_KEY="reportKey",e.LAUNCHER_ID="launcherId",e.NODE_ID="nodeId",e.RECORDED_DATE="recordedDate"})(t.property||(t.property={}))})(kD||(kD={}));var ID;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ID||(ID={}));var $D;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.TIME_BLOCK="timeBlock",e.ATOM_ID="atomId",e.STATUS="status",e.REPORT_KEY="reportKey",e.LAUNCHER_ID="launcherId"})(t.property||(t.property={}))})($D||($D={}));var UD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(UD||(UD={}));var HD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(HD||(HD={}));var jD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.ID="id",e.NAME="name",e.FULL_PATH="fullPath",e.DELETED="deleted",e.PARENT_ID="parentId",e.PARENT_NAME="parentName",e.PERMITTED_ROLES="permittedRoles"})(t.property||(t.property={}))})(jD||(jD={}));var zD;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(zD||(zD={}));var BD;(t=>{(e=>{e.ACTIONGET="actionget",e.ACTIONGETDELETE="actiongetdelete",e.ACTIONGETMOVE="actiongetmove"})(t.ftpAction||(t.ftpAction={})),(e=>{e.ASCII="ascii",e.BINARY="binary"})(t.transferType||(t.transferType={}))})(BD||(BD={}));var FD;(t=>{(e=>{e.ACTIONPUTRENAME="actionputrename",e.ACTIONPUTAPPEND="actionputappend",e.ACTIONPUTERROR="actionputerror",e.ACTIONPUTOVERWRITE="actionputoverwrite"})(t.ftpAction||(t.ftpAction={})),(e=>{e.ASCII="ascii",e.BINARY="binary"})(t.transferType||(t.transferType={}))})(FD||(FD={}));var PD;(t=>{(e=>{e.ACTIVE="active",e.PASSIVE="passive"})(t.connectionMode||(t.connectionMode={}))})(PD||(PD={}));var VD;(t=>{(e=>{e.NONE="none",e.EXPLICIT="explicit",e.IMPLICIT="implicit"})(t.sslmode||(t.sslmode={}))})(VD||(VD={}));var GD;(t=>{(e=>{e.SUCCESS="SUCCESS",e.ERROR="ERROR"})(t.status||(t.status={}))})(GD||(GD={}));var QD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(QD||(QD={}));var WD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(WD||(WD={}));var YD;(t=>{(e=>{e.EQUALS="EQUALS"})(t.operator||(t.operator={})),(e=>{e.ID="id",e.EXECUTION_CONNECTOR_ID="executionConnectorId",e.EXECUTION_ID="executionId",e.CONNECTION_ID="connectionId",e.OPERATION_ID="operationId",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.CONNECTION_NAME="connectionName",e.OPERATION_NAME="operationName",e.ERROR_MESSAGE="errorMessage",e.STATUS="status",e.DOCUMENT_INDEX="documentIndex",e.INCREMENTAL_DOCUMENT_INDEX="incrementalDocumentIndex",e.SIZE="size",e.START_SHAPE="startShape",e.RETRYABLE="retryable"})(t.property||(t.property={}))})(YD||(YD={}));var XD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XD||(XD={}));var qD;(t=>{(e=>{e.T="T",e.X="X"})(t.respagencycode||(t.respagencycode={}))})(qD||(qD={}));var KD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(KD||(KD={}));var ZD;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(ZD||(ZD={}));var JD;(t=>{(e=>{e.AL="AL",e.NE="NE",e.ER="ER",e.SU="SU",e.NOT_DEFINED="NOT_DEFINED"})(t.acceptackoption||(t.acceptackoption={})),(e=>{e.AL="AL",e.NE="NE",e.ER="ER",e.SU="SU",e.NOT_DEFINED="NOT_DEFINED"})(t.appackoption||(t.appackoption={})),(e=>{e.NONE="none",e.BATCH="batch"})(t.batchoption||(t.batchoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(JD||(JD={}));var eR;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(eR||(eR={}));var tR;(t=>{(e=>{e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"})(t.methodType||(t.methodType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.requestProfileType||(t.requestProfileType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.responseProfileType||(t.responseProfileType={}))})(tR||(tR={}));var nR;(t=>{(e=>{e.CODE="code",e.CLIENT_CREDENTIALS="client_credentials",e.PASSWORD="password"})(t.grantType||(t.grantType={}))})(nR||(nR={}));var oR;(t=>{(e=>{e.SHA1="SHA1",e.SHA256="SHA256"})(t.signatureMethod||(t.signatureMethod={}))})(oR||(oR={}));var iR;(t=>{(e=>{e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"})(t.methodType||(t.methodType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.requestProfileType||(t.requestProfileType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.responseProfileType||(t.responseProfileType={}))})(iR||(iR={}));var rR;(t=>{(e=>{e.NONE="NONE",e.BASIC="BASIC",e.PASSWORD_DIGEST="PASSWORD_DIGEST",e.CUSTOM="CUSTOM",e.OAUTH="OAUTH",e.OAUTH2="OAUTH2"})(t.authenticationType||(t.authenticationType={})),(e=>{e.IGNORED="IGNORED",e.GLOBAL="GLOBAL",e.CONNECTOR_SHAPE="CONNECTOR_SHAPE"})(t.cookieScope||(t.cookieScope={}))})(rR||(rR={}));var aR;(t=>{(e=>{e.CLOUD="CLOUD",e.ATOM="ATOM",e.MOLECULE="MOLECULE",e.BROKER="BROKER",e.GATEWAY="GATEWAY"})(t.installType||(t.installType={}))})(aR||(aR={}));var sR;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={}))})(sR||(sR={}));var lR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(lR||(lR={}));var cR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(cR||(cR={}));var uR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(uR||(uR={}));var dR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dR||(dR={}));var fR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(fR||(fR={}));var hR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hR||(hR={}));var mR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(mR||(mR={}));var pR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(pR||(pR={}));var gR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.INTEGRATION_PACK_OVERRIDE_NAME="integrationPackOverrideName",e.INTEGRATION_PACK_NAME="integrationPackName",e.INTEGRATION_PACK_ID="integrationPackId"})(t.property||(t.property={}))})(gR||(gR={}));var bR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.INSTALLATION_TYPE="installationType"})(t.property||(t.property={}))})(bR||(bR={}));var vR;(t=>{(e=>{e.X12AUTHQUAL_00="X12AUTHQUAL_00",e.X12AUTHQUAL_01="X12AUTHQUAL_01",e.X12AUTHQUAL_02="X12AUTHQUAL_02",e.X12AUTHQUAL_03="X12AUTHQUAL_03",e.X12AUTHQUAL_04="X12AUTHQUAL_04",e.X12AUTHQUAL_05="X12AUTHQUAL_05"})(t.authorizationInformationQualifier||(t.authorizationInformationQualifier={})),(e=>{e.X12IDQUAL_01="X12IDQUAL_01",e.X12IDQUAL_02="X12IDQUAL_02",e.X12IDQUAL_03="X12IDQUAL_03",e.X12IDQUAL_04="X12IDQUAL_04",e.X12IDQUAL_07="X12IDQUAL_07",e.X12IDQUAL_08="X12IDQUAL_08",e.X12IDQUAL_09="X12IDQUAL_09",e.X12IDQUAL_10="X12IDQUAL_10",e.X12IDQUAL_11="X12IDQUAL_11",e.X12IDQUAL_12="X12IDQUAL_12",e.X12IDQUAL_13="X12IDQUAL_13",e.X12IDQUAL_14="X12IDQUAL_14",e.X12IDQUAL_15="X12IDQUAL_15",e.X12IDQUAL_16="X12IDQUAL_16",e.X12IDQUAL_17="X12IDQUAL_17",e.X12IDQUAL_18="X12IDQUAL_18",e.X12IDQUAL_19="X12IDQUAL_19",e.X12IDQUAL_20="X12IDQUAL_20",e.X12IDQUAL_21="X12IDQUAL_21",e.X12IDQUAL_22="X12IDQUAL_22",e.X12IDQUAL_23="X12IDQUAL_23",e.X12IDQUAL_24="X12IDQUAL_24",e.X12IDQUAL_25="X12IDQUAL_25",e.X12IDQUAL_26="X12IDQUAL_26",e.X12IDQUAL_27="X12IDQUAL_27",e.X12IDQUAL_28="X12IDQUAL_28",e.X12IDQUAL_29="X12IDQUAL_29",e.X12IDQUAL_30="X12IDQUAL_30",e.X12IDQUAL_31="X12IDQUAL_31",e.X12IDQUAL_32="X12IDQUAL_32",e.X12IDQUAL_33="X12IDQUAL_33",e.X12IDQUAL_34="X12IDQUAL_34",e.X12IDQUAL_NR="X12IDQUAL_NR",e.X12IDQUAL_ZZ="X12IDQUAL_ZZ"})(t.interchangeIdQualifier||(t.interchangeIdQualifier={})),(e=>{e.X12SECQUAL_00="X12SECQUAL_00",e.X12SECQUAL_01="X12SECQUAL_01"})(t.securityInformationQualifier||(t.securityInformationQualifier={})),(e=>{e.P="P",e.T="T"})(t.testindicator||(t.testindicator={}))})(vR||(vR={}));var yR;(t=>{(e=>{e[e._200=200]="_200",e[e._202=202]="_202"})(t.responseStatusCode||(t.responseStatusCode={}))})(yR||(yR={}));var ER;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ER||(ER={}));var wR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.LISTENER_ID="listenerId",e.CONTAINER_ID="containerId"})(t.property||(t.property={}))})(wR||(wR={}));var aw;(t=>{(e=>{e.NONE="None",e.BY_DOCUMENT="ByDocument",e.BY_MAP="ByMap"})(t.cacheType||(t.cacheType={})),(e=>{e.COUNT="Count",e.CURRENT_DATE="CurrentDate",e.DATE_FORMAT="DateFormat",e.LEFT_TRIM="LeftTrim",e.LINE_ITEM_INCREMENT="LineItemIncrement",e.MATH_ABS="MathABS",e.MATH_ADD="MathAdd",e.MATH_CEIL="MathCeil",e.MATH_DIVIDE="MathDivide",e.MATH_FLOOR="MathFloor",e.MATH_MULTIPLY="MathMultiply",e.MATH_SET_PRECISION="MathSetPrecision",e.MATH_SUBTRACT="MathSubtract",e.NUMBER_FORMAT="NumberFormat",e.PROPERTY_GET="PropertyGet",e.PROPERTY_SET="PropertySet",e.RIGHT_TRIM="RightTrim",e.RUNNING_TOTAL="RunningTotal",e.STRING_APPEND="StringAppend",e.STRING_PREPEND="StringPrepend",e.STRING_REMOVE="StringRemove",e.STRING_REPLACE="StringReplace",e.STRING_TO_LOWER="StringToLower",e.STRING_TO_UPPER="StringToUpper",e.SUM="Sum",e.TRIM_WHITESPACE="TrimWhitespace",e.STRING_CONCAT="StringConcat",e.STRING_SPLIT="StringSplit",e.SEQUENTIAL_VALUE="SequentialValue",e.SIMPLE_LOOKUP="SimpleLookup",e.DOCUMENT_PROPERTY_GET="DocumentPropertyGet",e.DOCUMENT_PROPERTY_SET="DocumentPropertySet",e.CROSS_REF_LOOKUP="CrossRefLookup",e.DOCUMENT_CACHE_LOOKUP="DocumentCacheLookup",e.CUSTOM_SCRIPTING="CustomScripting",e.USER_DEFINED="UserDefined",e.JAPANESE_CHARACTER_CONVERSION="JapaneseCharacterConversion"})(t.type||(t.type={}))})(aw||(aw={}));var SR;(t=>{(e=>{e.NONE="None",e.BY_DOCUMENT="ByDocument",e.BY_MAP="ByMap"})(t.cacheType||(t.cacheType={})),(e=>{e.COUNT="Count",e.CURRENT_DATE="CurrentDate",e.DATE_FORMAT="DateFormat",e.LEFT_TRIM="LeftTrim",e.LINE_ITEM_INCREMENT="LineItemIncrement",e.MATH_ABS="MathABS",e.MATH_ADD="MathAdd",e.MATH_CEIL="MathCeil",e.MATH_DIVIDE="MathDivide",e.MATH_FLOOR="MathFloor",e.MATH_MULTIPLY="MathMultiply",e.MATH_SET_PRECISION="MathSetPrecision",e.MATH_SUBTRACT="MathSubtract",e.NUMBER_FORMAT="NumberFormat",e.PROPERTY_GET="PropertyGet",e.PROPERTY_SET="PropertySet",e.RIGHT_TRIM="RightTrim",e.RUNNING_TOTAL="RunningTotal",e.STRING_APPEND="StringAppend",e.STRING_PREPEND="StringPrepend",e.STRING_REMOVE="StringRemove",e.STRING_REPLACE="StringReplace",e.STRING_TO_LOWER="StringToLower",e.STRING_TO_UPPER="StringToUpper",e.SUM="Sum",e.TRIM_WHITESPACE="TrimWhitespace",e.STRING_CONCAT="StringConcat",e.STRING_SPLIT="StringSplit",e.SEQUENTIAL_VALUE="SequentialValue",e.SIMPLE_LOOKUP="SimpleLookup",e.DOCUMENT_PROPERTY_GET="DocumentPropertyGet",e.DOCUMENT_PROPERTY_SET="DocumentPropertySet",e.CROSS_REF_LOOKUP="CrossRefLookup",e.DOCUMENT_CACHE_LOOKUP="DocumentCacheLookup",e.CUSTOM_SCRIPTING="CustomScripting",e.USER_DEFINED="UserDefined",e.JAPANESE_CHARACTER_CONVERSION="JapaneseCharacterConversion"})(t.type||(t.type={}))})(SR||(SR={}));var QT;(t=>{(e=>{e.GROOVY="GROOVY",e.GROOVY2="GROOVY2",e.JAVASCRIPT="Javascript"})(t.language||(t.language={}))})(QT||(QT={}));var TR;(t=>{(e=>{e.UPDATE="UPDATE",e.MERGE="MERGE",e.RETRY_DRAFTING="RETRY_DRAFTING",e.REVERT="REVERT"})(t.mergeRequestAction||(t.mergeRequestAction={})),(e=>{e.NOT_EXIST="NOT_EXIST",e.DRAFTING="DRAFTING",e.FAILED_TO_DRAFT="FAILED_TO_DRAFT",e.FAILED_TO_REDRAFT="FAILED_TO_REDRAFT",e.DRAFTED="DRAFTED",e.REVIEWING="REVIEWING",e.MERGING="MERGING",e.MERGED="MERGED",e.FAILED_TO_MERGE="FAILED_TO_MERGE",e.DELETED="DELETED",e.REDRAFTING="REDRAFTING",e.REVERTED="REVERTED"})(t.previousStage||(t.previousStage={})),(e=>{e.SOURCE="SOURCE",e.DESTINATION="DESTINATION"})(t.priorityBranch||(t.priorityBranch={})),(e=>{e.NOT_EXIST="NOT_EXIST",e.DRAFTING="DRAFTING",e.FAILED_TO_DRAFT="FAILED_TO_DRAFT",e.FAILED_TO_REDRAFT="FAILED_TO_REDRAFT",e.DRAFTED="DRAFTED",e.REVIEWING="REVIEWING",e.MERGING="MERGING",e.MERGED="MERGED",e.FAILED_TO_MERGE="FAILED_TO_MERGE",e.DELETED="DELETED",e.REDRAFTING="REDRAFTING",e.REVERTED="REVERTED"})(t.stage||(t.stage={})),(e=>{e.OVERRIDE="OVERRIDE",e.CONFLICT_RESOLVE="CONFLICT_RESOLVE",e.SUBSET="SUBSET"})(t.strategy||(t.strategy={}))})(TR||(TR={}));var AR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(AR||(AR={}));var xR;(t=>{(e=>{e.ADDED="ADDED",e.MODIFIED="MODIFIED",e.DELETED="DELETED"})(t.changeType||(t.changeType={})),(e=>{e.OVERRIDE="OVERRIDE",e.KEEP_DESTINATION="KEEP_DESTINATION"})(t.resolution||(t.resolution={})),(e=>{e.DRAFTED="DRAFTED",e.REVIEWED="REVIEWED",e.CONFLICT_RESOLVED="CONFLICT_RESOLVED",e.MERGED="MERGED",e.REVERTED="REVERTED"})(t.stage||(t.stage={}))})(xR||(xR={}));var _R;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_R||(_R={}));var CR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(CR||(CR={}));var NR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(NR||(NR={}));var LR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.OAUTH_FIELD_ID="oAuthFieldId",e.CLIENT_ID="clientId",e.CLIENT_SECRET="clientSecret"})(t.property||(t.property={}))})(LR||(LR={}));var OR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(OR||(OR={}));var DR;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(DR||(DR={}));var RR;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKITEM="ackitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPMESSAGE="groupmessage"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(RR||(RR={}));var MR;(t=>{(e=>{e.ODETTEIDQUAL_NA="ODETTEIDQUAL_NA",e.ODETTEIDQUAL_1="ODETTEIDQUAL_1",e.ODETTEIDQUAL_4="ODETTEIDQUAL_4",e.ODETTEIDQUAL_5="ODETTEIDQUAL_5",e.ODETTEIDQUAL_8="ODETTEIDQUAL_8",e.ODETTEIDQUAL_9="ODETTEIDQUAL_9",e.ODETTEIDQUAL_12="ODETTEIDQUAL_12",e.ODETTEIDQUAL_14="ODETTEIDQUAL_14",e.ODETTEIDQUAL_18="ODETTEIDQUAL_18",e.ODETTEIDQUAL_22="ODETTEIDQUAL_22",e.ODETTEIDQUAL_30="ODETTEIDQUAL_30",e.ODETTEIDQUAL_31="ODETTEIDQUAL_31",e.ODETTEIDQUAL_33="ODETTEIDQUAL_33",e.ODETTEIDQUAL_34="ODETTEIDQUAL_34",e.ODETTEIDQUAL_51="ODETTEIDQUAL_51",e.ODETTEIDQUAL_52="ODETTEIDQUAL_52",e.ODETTEIDQUAL_53="ODETTEIDQUAL_53",e.ODETTEIDQUAL_54="ODETTEIDQUAL_54",e.ODETTEIDQUAL_55="ODETTEIDQUAL_55",e.ODETTEIDQUAL_57="ODETTEIDQUAL_57",e.ODETTEIDQUAL_58="ODETTEIDQUAL_58",e.ODETTEIDQUAL_59="ODETTEIDQUAL_59",e.ODETTEIDQUAL_61="ODETTEIDQUAL_61",e.ODETTEIDQUAL_63="ODETTEIDQUAL_63",e.ODETTEIDQUAL_65="ODETTEIDQUAL_65",e.ODETTEIDQUAL_80="ODETTEIDQUAL_80",e.ODETTEIDQUAL_82="ODETTEIDQUAL_82",e.ODETTEIDQUAL_84="ODETTEIDQUAL_84",e.ODETTEIDQUAL_85="ODETTEIDQUAL_85",e.ODETTEIDQUAL_86="ODETTEIDQUAL_86",e.ODETTEIDQUAL_87="ODETTEIDQUAL_87",e.ODETTEIDQUAL_89="ODETTEIDQUAL_89",e.ODETTEIDQUAL_90="ODETTEIDQUAL_90",e.ODETTEIDQUAL_91="ODETTEIDQUAL_91",e.ODETTEIDQUAL_92="ODETTEIDQUAL_92",e.ODETTEIDQUAL_103="ODETTEIDQUAL_103",e.ODETTEIDQUAL_128="ODETTEIDQUAL_128",e.ODETTEIDQUAL_129="ODETTEIDQUAL_129",e.ODETTEIDQUAL_144="ODETTEIDQUAL_144",e.ODETTEIDQUAL_145="ODETTEIDQUAL_145",e.ODETTEIDQUAL_146="ODETTEIDQUAL_146",e.ODETTEIDQUAL_147="ODETTEIDQUAL_147",e.ODETTEIDQUAL_148="ODETTEIDQUAL_148",e.ODETTEIDQUAL_Z01="ODETTEIDQUAL_Z01",e.ODETTEIDQUAL_ZZZ="ODETTEIDQUAL_ZZZ",e.ODETTEIDQUAL_ZZ="ODETTEIDQUAL_ZZ"})(t.interchangeIdQual||(t.interchangeIdQual={})),(e=>{e.NA="NA",e.A="A"})(t.priority||(t.priority={})),(e=>{e.NA="NA",e.AA="AA",e.BB="BB"})(t.referencePasswordQualifier||(t.referencePasswordQualifier={})),(e=>{e.UNOA="UNOA",e.UNOB="UNOB",e.UNOC="UNOC",e.UNOD="UNOD",e.UNOE="UNOE",e.UNOF="UNOF"})(t.syntaxId||(t.syntaxId={})),(e=>{e.ODETTESYNTAXVERSION_1="ODETTESYNTAXVERSION_1",e.ODETTESYNTAXVERSION_2="ODETTESYNTAXVERSION_2",e.ODETTESYNTAXVERSION_3="ODETTESYNTAXVERSION_3"})(t.syntaxVersion||(t.syntaxVersion={})),(e=>{e.ODETTETEST_NA="ODETTETEST_NA",e.ODETTETEST_1="ODETTETEST_1"})(t.testIndicator||(t.testIndicator={}))})(MR||(MR={}));var kR;(t=>{(e=>{e.AA="AA",e.AB="AB",e.AC="AC",e.AD="AD",e.AE="AE",e.CC="CC",e.CE="CE",e.EC="EC",e.ED="ED",e.EE="EE",e.EN="EN",e.ER="ER",e.EU="EU",e.EX="EX",e.IA="IA",e.KE="KE",e.LI="LI",e.OD="OD",e.RI="RI",e.RT="RT",e.UN="UN"})(t.controllingAgency||(t.controllingAgency={})),(e=>{e.ODETTERELEASE_1="ODETTERELEASE_1",e.ODETTERELEASE_2="ODETTERELEASE_2",e.ODETTERELEASE_902="ODETTERELEASE_902",e.ODETTERELEASE_911="ODETTERELEASE_911",e.ODETTERELEASE_912="ODETTERELEASE_912",e.ODETTERELEASE_921="ODETTERELEASE_921",e.ODETTERELEASE_932="ODETTERELEASE_932",e.ODETTERELEASE_93A="ODETTERELEASE_93A",e.ODETTERELEASE_94A="ODETTERELEASE_94A",e.ODETTERELEASE_94B="ODETTERELEASE_94B",e.ODETTERELEASE_95A="ODETTERELEASE_95A",e.ODETTERELEASE_95B="ODETTERELEASE_95B",e.ODETTERELEASE_96A="ODETTERELEASE_96A",e.ODETTERELEASE_96B="ODETTERELEASE_96B",e.ODETTERELEASE_97A="ODETTERELEASE_97A",e.ODETTERELEASE_97B="ODETTERELEASE_97B",e.ODETTERELEASE_98A="ODETTERELEASE_98A",e.ODETTERELEASE_98B="ODETTERELEASE_98B",e.ODETTERELEASE_99A="ODETTERELEASE_99A",e.ODETTERELEASE_99B="ODETTERELEASE_99B",e.ODETTERELEASE_00A="ODETTERELEASE_00A",e.ODETTERELEASE_00B="ODETTERELEASE_00B",e.ODETTERELEASE_01A="ODETTERELEASE_01A",e.ODETTERELEASE_01B="ODETTERELEASE_01B",e.ODETTERELEASE_02A="ODETTERELEASE_02A",e.ODETTERELEASE_02B="ODETTERELEASE_02B",e.ODETTERELEASE_03A="ODETTERELEASE_03A",e.ODETTERELEASE_03B="ODETTERELEASE_03B",e.ODETTERELEASE_04A="ODETTERELEASE_04A",e.ODETTERELEASE_04B="ODETTERELEASE_04B",e.ODETTERELEASE_05A="ODETTERELEASE_05A",e.ODETTERELEASE_05B="ODETTERELEASE_05B",e.ODETTERELEASE_06A="ODETTERELEASE_06A",e.ODETTERELEASE_06B="ODETTERELEASE_06B",e.ODETTERELEASE_07A="ODETTERELEASE_07A",e.ODETTERELEASE_07B="ODETTERELEASE_07B",e.ODETTERELEASE_08A="ODETTERELEASE_08A",e.ODETTERELEASE_08B="ODETTERELEASE_08B",e.ODETTERELEASE_09A="ODETTERELEASE_09A",e.ODETTERELEASE_09B="ODETTERELEASE_09B"})(t.release||(t.release={})),(e=>{e.ODETTEVERSION_1="ODETTEVERSION_1",e.ODETTEVERSION_2="ODETTEVERSION_2",e.ODETTEVERSION_4="ODETTEVERSION_4",e.ODETTEVERSION_88="ODETTEVERSION_88",e.ODETTEVERSION_89="ODETTEVERSION_89",e.ODETTEVERSION_90="ODETTEVERSION_90",e.ODETTEVERSION_D="ODETTEVERSION_D",e.ODETTEVERSION_S="ODETTEVERSION_S"})(t.version||(t.version={}))})(kR||(kR={}));var IR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(IR||(IR={}));var $R;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.SFIDDSN="sfiddsn",e.SFIDDATE="sfiddate",e.SFIDTIME="sfidtime",e.SFIDDEST="sfiddest",e.INITIATOR_SSIDCODE="initiator_ssidcode",e.RESPONDER_SSIDCODE="responder_ssidcode",e.SFIDORIG="sfidorig",e.SFIDSEC="sfidsec",e.SFIDCOMP="sfidcomp",e.SFIDCIPH="sfidciph",e.SFIDDESC="sfiddesc",e.SFIDSIGN="sfidsign",e.SFIDOSIZ="sfidosiz",e.SFIDENV="sfidenv",e.STATUS="status",e.ACCOUNT="account",e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.CUSTOM_FIELDS="customFields",e.NAREAS="nareas",e.NAREAST="nareast"})(t.property||(t.property={}))})($R||($R={}));var UR;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(UR||(UR={}));var HR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(HR||(HR={}));var jR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jR||(jR={}));var zR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.CONTACT_NAME="contactName",e.EMAIL="email",e.PHONE="phone"})(t.property||(t.property={}))})(zR||(zR={}));var BR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(BR||(BR={}));var FR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FR||(FR={}));var PR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(PR||(PR={}));var VR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(VR||(VR={}));var GR;(t=>{(e=>{e.DOCUMENTS_PATH="documentsPath",e.ERRORS_PATH="errorsPath"})(t.invalidDocumentRouting||(t.invalidDocumentRouting={}))})(GR||(GR={}));var QR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QR||(QR={}));var WR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.PROCESS_ID="processId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(WR||(WR={}));var YR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YR||(YR={}));var XR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XR||(XR={}));var qR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.PROCESS_ID="processId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(qR||(qR={}));var KR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(KR||(KR={}));var ZR;(t=>{(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(ZR||(ZR={}));var JR;(t=>{(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(JR||(JR={}));var eM;(t=>{(e=>{e.D="D",e.P="P",e.T="T"})(t.processingId||(t.processingId={})),(e=>{e.A="A",e.R="R",e.I="I",e.T="T",e.NOT_PRESENT="NOT_PRESENT"})(t.processingMode||(t.processingMode={}))})(eM||(eM={}));var tM;(t=>{(e=>{e.SEVERE="SEVERE",e.WARNING="WARNING",e.INFO="INFO",e.CONFIG="CONFIG",e.FINE="FINE",e.FINER="FINER",e.FINEST="FINEST",e.ALL="ALL"})(t.logLevel||(t.logLevel={}))})(tM||(tM={}));var nM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(nM||(nM={}));var oM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(oM||(oM={}));var iM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.ATOM_ID="atomId"})(t.property||(t.property={}))})(iM||(iM={}));var rM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(rM||(rM={}));var aM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(aM||(aM={}));var sM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.ATOM_ID="atomId"})(t.property||(t.property={}))})(sM||(sM={}));var lM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.INTEGRATION_PACK_ID="integrationPackId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(lM||(lM={}));var cM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.ADD="ADD",e.DELETE="DELETE"})(t.operationType||(t.operationType={}))})(cM||(cM={}));var uM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(uM||(uM={}));var dM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dM||(dM={}));var fM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(fM||(fM={}));var hM;(t=>{(e=>{e.DEPENDENT="DEPENDENT",e.INDEPENDENT="INDEPENDENT"})(t.type||(t.type={}))})(hM||(hM={}));var mM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.IMMEDIATELY="IMMEDIATELY",e.RELEASE_ON_SPECIFIED_DATE="RELEASE_ON_SPECIFIED_DATE"})(t.releaseSchedule||(t.releaseSchedule={}))})(mM||(mM={}));var pM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.IMMEDIATELY="IMMEDIATELY",e.RELEASE_ON_SPECIFIED_DATE="RELEASE_ON_SPECIFIED_DATE"})(t.releaseSchedule||(t.releaseSchedule={})),(e=>{e.IN_PROGRESS="IN_PROGRESS",e.SUCCESS="SUCCESS",e.SCHEDULED="SCHEDULED",e.ERROR="ERROR"})(t.releaseStatus||(t.releaseStatus={}))})(pM||(pM={}));var gM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(gM||(gM={}));var bM;(t=>{(e=>{e.CLOUD="Cloud",e.CONNECTOR="Connector",e.DATA_HUB_MODEL="Data Hub Model",e.INTEGRATION_PACK="Integration Pack",e.PUBLISHED_PROCESS="Published Process",e.ROLE="Role"})(t.objectType||(t.objectType={}))})(bM||(bM={}));var vM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(vM||(vM={}));var yM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(yM||(yM={}));var EM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.PARENT_ID="parentId"})(t.property||(t.property={}))})(EM||(EM={}));var wM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wM||(wM={}));var SM;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.ACK_STATUS="ackStatus",e.ACK_REPORT="ackReport",e.SENDER_ID="senderID",e.RECEIVER_ID="receiverID",e.KNOWN_INITIATING_PARTNER_ID="knownInitiatingPartnerID",e.FRAMEWORK_VERSION="frameworkVersion",e.PIPCODE="PIPCode",e.PIPVERSION="PIPVersion",e.GLOBAL_PROCESS_CODE="globalProcessCode",e.GLOBAL_BUSINESS_ACTION_CODE="globalBusinessActionCode",e.GLOBAL_DOCUMENT_FUNCTION_CODE="globalDocumentFunctionCode",e.FROM_GLOBAL_PARTNER_ROLE_CLASSIFICATION_CODE="fromGlobalPartnerRoleClassificationCode",e.TO_GLOBAL_PARTNER_ROLE_CLASSIFICATION_CODE="toGlobalPartnerRoleClassificationCode",e.FROM_GLOBAL_BUSINESS_SERVICE_CODE="fromGlobalBusinessServiceCode",e.TO_GLOBAL_BUSINESS_SERVICE_CODE="toGlobalBusinessServiceCode",e.BUSINESS_ACTIVITY_IDENTIFIER="businessActivityIdentifier",e.PROCESS_INSTANCE_IDENTIFIER="processInstanceIdentifier",e.TRANSACTION_INSTANCE_IDENTIFIER="transactionInstanceIdentifier",e.ACTION_INSTANCE_IDENTIFIER="actionInstanceIdentifier",e.IN_RESPONSE_TO_GLOBAL_BUSINESS_ACTION_CODE="inResponseToGlobalBusinessActionCode",e.IN_RESPONSE_TO_INSTANCE_IDENTIFIER="inResponseToInstanceIdentifier",e.GLOBAL_USAGE_CODE="globalUsageCode",e.ATTEMPT_COUNT="attemptCount",e.DATE_TIME="dateTime",e.IS_SECURE_TRANSPORT_REQUIRED="isSecureTransportRequired",e.TIME_TO_ACKNOWLEDGE_ACCEPTANCE="timeToAcknowledgeAcceptance",e.TIME_TO_ACKNOWLEDGE_RECEIPT="timeToAcknowledgeReceipt",e.TIME_TO_PERFORM="timeToPerform",e.OUTBOUND_VALIDATION_STATUS="outboundValidationStatus",e.OUTBOUND_VALIDATION_REPORT="outboundValidationReport"})(t.property||(t.property={}))})(SM||(SM={}));var TM;(t=>{(e=>{e.TEST="Test",e.PRODUCTION="Production"})(t.globalUsageCode||(t.globalUsageCode={})),(e=>{e.DUNS="DUNS"})(t.partnerIdType||(t.partnerIdType={}))})(TM||(TM={}));var AM;(t=>{(e=>{e.BINARY="binary",e.BASE64="base64"})(t.contentTransferEncoding||(t.contentTransferEncoding={})),(e=>{e.NA="na",e.TRIPLEDES="tripledes",e.DES="des",e.RC2_128="rc2-128",e.RC2_64="rc2-64",e.RC2_40="rc2-40",e.AES_128="aes-128",e.AES_192="aes-192",e.AES_256="aes-256"})(t.encryptionAlgorithm||(t.encryptionAlgorithm={})),(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.signatureDigestAlgorithm||(t.signatureDigestAlgorithm={}))})(AM||(AM={}));var xM;(t=>{(e=>{e.V11="v11",e.V20="v20"})(t.version||(t.version={}))})(xM||(xM={}));var _M;(t=>{(e=>{e.NEVER="NEVER",e.FIRST="FIRST",e.LAST="LAST"})(t.scheduleType||(t.scheduleType={}))})(_M||(_M={}));var CM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(CM||(CM={}));var pv;(t=>{(e=>{e.CHARACTER="CHARACTER",e.DATETIME="DATETIME",e.FLOAT="FLOAT",e.INTEGER="INTEGER"})(t.dataType||(t.dataType={}))})(pv||(pv={}));var NM;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(NM||(NM={}));var LM;(t=>{(e=>{e.ACTIONGET="actionget",e.ACTIONGETDELETE="actiongetdelete",e.ACTIONGETMOVE="actiongetmove"})(t.ftpAction||(t.ftpAction={}))})(LM||(LM={}));var OM;(t=>{(e=>{e.ATOM="ATOM",e.HTTP="HTTP",e.SOCKS4="SOCKS4",e.SOCKS5="SOCKS5"})(t.type||(t.type={}))})(OM||(OM={}));var DM;(t=>{(e=>{e.ACTIONPUTRENAME="actionputrename",e.ACTIONPUTAPPEND="actionputappend",e.ACTIONPUTERROR="actionputerror",e.ACTIONPUTOVERWRITE="actionputoverwrite"})(t.ftpAction||(t.ftpAction={}))})(DM||(DM={}));var RM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(RM||(RM={}));var MM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(MM||(MM={}));var kM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.COMMUNICATION_TYPE="communicationType"})(t.property||(t.property={}))})(kM||(kM={}));var IM;(t=>{(e=>{e.BASIC="basic",e.INTERMEDIATE="intermediate",e.ADVANCED="advanced"})(t.apiType||(t.apiType={})),(e=>{e.NONE="none",e.BASIC="basic"})(t.auth||(t.auth={})),(e=>{e.NONE="none",e.BASIC="basic"})(t.minAuth||(t.minAuth={}))})(IM||(IM={}));var $M;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})($M||($M={}));var UM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(UM||(UM={}));var HM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(HM||(HM={}));var jM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jM||(jM={}));var zM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(zM||(zM={}));var BM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(BM||(BM={}));var FM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FM||(FM={}));var PM;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.VALIDATION_STATUS="validationStatus",e.VALIDATION_REPORT="validationReport",e.SENDER_NAME="senderName",e.RECEIVER_NAME="receiverName",e.MESSAGE_TYPE="messageType",e.DATE="date",e.TIME="time",e.SENDER_TRANSMISSION_REFERENCE="senderTransmissionReference",e.RECEIVER_TRANSMISSION_REFERENCE="receiverTransmissionReference",e.APPLICATION_REFERENCE="applicationReference",e.TRANSMISSION_PRIORITY_CODE="transmissionPriorityCode",e.FILE_GENERATION_NUMBER="fileGenerationNumber",e.FILE_VERSION_NUMBER="fileVersionNumber"})(t.property||(t.property={}))})(PM||(PM={}));var VM;(t=>{(e=>{e.TRADINGPARTNER="tradingpartner",e.MYCOMPANY="mycompany"})(t.classification||(t.classification={})),(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(VM||(VM={}));var GM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(GM||(GM={}));var QM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QM||(QM={}));var WM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.CLASSIFICATION="classification",e.STANDARD="standard",e.IDENTIFIER="identifier",e.AS2="as2",e.DISK="disk",e.FTP="ftp",e.MLLP="mllp",e.SFTP="sftp",e.HTTP="http",e.OFTP="oftp"})(t.property||(t.property={}))})(WM||(WM={}));var YM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YM||(YM={}));var XM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XM||(XM={}));var qM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(qM||(qM={}));var KM;(t=>{(e=>{e.EDIFACTIDQUAL_NA="EDIFACTIDQUAL_NA",e.EDIFACTIDQUAL_1="EDIFACTIDQUAL_1",e.EDIFACTIDQUAL_4="EDIFACTIDQUAL_4",e.EDIFACTIDQUAL_5="EDIFACTIDQUAL_5",e.EDIFACTIDQUAL_8="EDIFACTIDQUAL_8",e.EDIFACTIDQUAL_9="EDIFACTIDQUAL_9",e.EDIFACTIDQUAL_12="EDIFACTIDQUAL_12",e.EDIFACTIDQUAL_14="EDIFACTIDQUAL_14",e.EDIFACTIDQUAL_18="EDIFACTIDQUAL_18",e.EDIFACTIDQUAL_22="EDIFACTIDQUAL_22",e.EDIFACTIDQUAL_30="EDIFACTIDQUAL_30",e.EDIFACTIDQUAL_31="EDIFACTIDQUAL_31",e.EDIFACTIDQUAL_33="EDIFACTIDQUAL_33",e.EDIFACTIDQUAL_34="EDIFACTIDQUAL_34",e.EDIFACTIDQUAL_51="EDIFACTIDQUAL_51",e.EDIFACTIDQUAL_52="EDIFACTIDQUAL_52",e.EDIFACTIDQUAL_53="EDIFACTIDQUAL_53",e.EDIFACTIDQUAL_54="EDIFACTIDQUAL_54",e.EDIFACTIDQUAL_55="EDIFACTIDQUAL_55",e.EDIFACTIDQUAL_57="EDIFACTIDQUAL_57",e.EDIFACTIDQUAL_58="EDIFACTIDQUAL_58",e.EDIFACTIDQUAL_59="EDIFACTIDQUAL_59",e.EDIFACTIDQUAL_61="EDIFACTIDQUAL_61",e.EDIFACTIDQUAL_63="EDIFACTIDQUAL_63",e.EDIFACTIDQUAL_65="EDIFACTIDQUAL_65",e.EDIFACTIDQUAL_80="EDIFACTIDQUAL_80",e.EDIFACTIDQUAL_82="EDIFACTIDQUAL_82",e.EDIFACTIDQUAL_84="EDIFACTIDQUAL_84",e.EDIFACTIDQUAL_85="EDIFACTIDQUAL_85",e.EDIFACTIDQUAL_86="EDIFACTIDQUAL_86",e.EDIFACTIDQUAL_87="EDIFACTIDQUAL_87",e.EDIFACTIDQUAL_89="EDIFACTIDQUAL_89",e.EDIFACTIDQUAL_90="EDIFACTIDQUAL_90",e.EDIFACTIDQUAL_91="EDIFACTIDQUAL_91",e.EDIFACTIDQUAL_92="EDIFACTIDQUAL_92",e.EDIFACTIDQUAL_103="EDIFACTIDQUAL_103",e.EDIFACTIDQUAL_128="EDIFACTIDQUAL_128",e.EDIFACTIDQUAL_129="EDIFACTIDQUAL_129",e.EDIFACTIDQUAL_144="EDIFACTIDQUAL_144",e.EDIFACTIDQUAL_145="EDIFACTIDQUAL_145",e.EDIFACTIDQUAL_146="EDIFACTIDQUAL_146",e.EDIFACTIDQUAL_147="EDIFACTIDQUAL_147",e.EDIFACTIDQUAL_148="EDIFACTIDQUAL_148",e.EDIFACTIDQUAL_Z01="EDIFACTIDQUAL_Z01",e.EDIFACTIDQUAL_ZZZ="EDIFACTIDQUAL_ZZZ",e.EDIFACTIDQUAL_ZZ="EDIFACTIDQUAL_ZZ"})(t.interchangeIdQual||(t.interchangeIdQual={})),(e=>{e.NA="NA",e.A="A"})(t.priority||(t.priority={})),(e=>{e.NA="NA",e.AA="AA",e.BB="BB"})(t.referencePasswordQualifier||(t.referencePasswordQualifier={})),(e=>{e.UNOA="UNOA",e.UNOB="UNOB",e.UNOC="UNOC",e.UNOD="UNOD",e.UNOE="UNOE",e.UNOF="UNOF"})(t.syntaxId||(t.syntaxId={})),(e=>{e.EDIFACTSYNTAXVERSION_1="EDIFACTSYNTAXVERSION_1",e.EDIFACTSYNTAXVERSION_2="EDIFACTSYNTAXVERSION_2",e.EDIFACTSYNTAXVERSION_3="EDIFACTSYNTAXVERSION_3"})(t.syntaxVersion||(t.syntaxVersion={})),(e=>{e.EDIFACTTEST_NA="EDIFACTTEST_NA",e.EDIFACTTEST_1="EDIFACTTEST_1"})(t.testIndicator||(t.testIndicator={}))})(KM||(KM={}));var ZM;(t=>{(e=>{e.EDIFACTIDQUAL_NA="EDIFACTIDQUAL_NA",e.EDIFACTIDQUAL_1="EDIFACTIDQUAL_1",e.EDIFACTIDQUAL_4="EDIFACTIDQUAL_4",e.EDIFACTIDQUAL_5="EDIFACTIDQUAL_5",e.EDIFACTIDQUAL_8="EDIFACTIDQUAL_8",e.EDIFACTIDQUAL_9="EDIFACTIDQUAL_9",e.EDIFACTIDQUAL_12="EDIFACTIDQUAL_12",e.EDIFACTIDQUAL_14="EDIFACTIDQUAL_14",e.EDIFACTIDQUAL_18="EDIFACTIDQUAL_18",e.EDIFACTIDQUAL_22="EDIFACTIDQUAL_22",e.EDIFACTIDQUAL_30="EDIFACTIDQUAL_30",e.EDIFACTIDQUAL_31="EDIFACTIDQUAL_31",e.EDIFACTIDQUAL_33="EDIFACTIDQUAL_33",e.EDIFACTIDQUAL_34="EDIFACTIDQUAL_34",e.EDIFACTIDQUAL_51="EDIFACTIDQUAL_51",e.EDIFACTIDQUAL_52="EDIFACTIDQUAL_52",e.EDIFACTIDQUAL_53="EDIFACTIDQUAL_53",e.EDIFACTIDQUAL_54="EDIFACTIDQUAL_54",e.EDIFACTIDQUAL_55="EDIFACTIDQUAL_55",e.EDIFACTIDQUAL_57="EDIFACTIDQUAL_57",e.EDIFACTIDQUAL_58="EDIFACTIDQUAL_58",e.EDIFACTIDQUAL_59="EDIFACTIDQUAL_59",e.EDIFACTIDQUAL_61="EDIFACTIDQUAL_61",e.EDIFACTIDQUAL_63="EDIFACTIDQUAL_63",e.EDIFACTIDQUAL_65="EDIFACTIDQUAL_65",e.EDIFACTIDQUAL_80="EDIFACTIDQUAL_80",e.EDIFACTIDQUAL_82="EDIFACTIDQUAL_82",e.EDIFACTIDQUAL_84="EDIFACTIDQUAL_84",e.EDIFACTIDQUAL_85="EDIFACTIDQUAL_85",e.EDIFACTIDQUAL_86="EDIFACTIDQUAL_86",e.EDIFACTIDQUAL_87="EDIFACTIDQUAL_87",e.EDIFACTIDQUAL_89="EDIFACTIDQUAL_89",e.EDIFACTIDQUAL_90="EDIFACTIDQUAL_90",e.EDIFACTIDQUAL_91="EDIFACTIDQUAL_91",e.EDIFACTIDQUAL_92="EDIFACTIDQUAL_92",e.EDIFACTIDQUAL_103="EDIFACTIDQUAL_103",e.EDIFACTIDQUAL_128="EDIFACTIDQUAL_128",e.EDIFACTIDQUAL_129="EDIFACTIDQUAL_129",e.EDIFACTIDQUAL_144="EDIFACTIDQUAL_144",e.EDIFACTIDQUAL_145="EDIFACTIDQUAL_145",e.EDIFACTIDQUAL_146="EDIFACTIDQUAL_146",e.EDIFACTIDQUAL_147="EDIFACTIDQUAL_147",e.EDIFACTIDQUAL_148="EDIFACTIDQUAL_148",e.EDIFACTIDQUAL_Z01="EDIFACTIDQUAL_Z01",e.EDIFACTIDQUAL_ZZZ="EDIFACTIDQUAL_ZZZ",e.EDIFACTIDQUAL_ZZ="EDIFACTIDQUAL_ZZ"})(t.applicationIdQual||(t.applicationIdQual={}))})(ZM||(ZM={}));var JM;(t=>{(e=>{e.AA="AA",e.AB="AB",e.AC="AC",e.AD="AD",e.AE="AE",e.CC="CC",e.CE="CE",e.EC="EC",e.ED="ED",e.EE="EE",e.EN="EN",e.ER="ER",e.EU="EU",e.EX="EX",e.IA="IA",e.KE="KE",e.LI="LI",e.OD="OD",e.RI="RI",e.RT="RT",e.UN="UN"})(t.controllingAgency||(t.controllingAgency={})),(e=>{e.EDIFACTRELEASE_1="EDIFACTRELEASE_1",e.EDIFACTRELEASE_2="EDIFACTRELEASE_2",e.EDIFACTRELEASE_902="EDIFACTRELEASE_902",e.EDIFACTRELEASE_911="EDIFACTRELEASE_911",e.EDIFACTRELEASE_912="EDIFACTRELEASE_912",e.EDIFACTRELEASE_921="EDIFACTRELEASE_921",e.EDIFACTRELEASE_932="EDIFACTRELEASE_932",e.EDIFACTRELEASE_93A="EDIFACTRELEASE_93A",e.EDIFACTRELEASE_94A="EDIFACTRELEASE_94A",e.EDIFACTRELEASE_94B="EDIFACTRELEASE_94B",e.EDIFACTRELEASE_95A="EDIFACTRELEASE_95A",e.EDIFACTRELEASE_95B="EDIFACTRELEASE_95B",e.EDIFACTRELEASE_96A="EDIFACTRELEASE_96A",e.EDIFACTRELEASE_96B="EDIFACTRELEASE_96B",e.EDIFACTRELEASE_97A="EDIFACTRELEASE_97A",e.EDIFACTRELEASE_97B="EDIFACTRELEASE_97B",e.EDIFACTRELEASE_98A="EDIFACTRELEASE_98A",e.EDIFACTRELEASE_98B="EDIFACTRELEASE_98B",e.EDIFACTRELEASE_99A="EDIFACTRELEASE_99A",e.EDIFACTRELEASE_99B="EDIFACTRELEASE_99B",e.EDIFACTRELEASE_00A="EDIFACTRELEASE_00A",e.EDIFACTRELEASE_00B="EDIFACTRELEASE_00B",e.EDIFACTRELEASE_01A="EDIFACTRELEASE_01A",e.EDIFACTRELEASE_01B="EDIFACTRELEASE_01B",e.EDIFACTRELEASE_02A="EDIFACTRELEASE_02A",e.EDIFACTRELEASE_02B="EDIFACTRELEASE_02B",e.EDIFACTRELEASE_03A="EDIFACTRELEASE_03A",e.EDIFACTRELEASE_03B="EDIFACTRELEASE_03B",e.EDIFACTRELEASE_04A="EDIFACTRELEASE_04A",e.EDIFACTRELEASE_04B="EDIFACTRELEASE_04B",e.EDIFACTRELEASE_05A="EDIFACTRELEASE_05A",e.EDIFACTRELEASE_05B="EDIFACTRELEASE_05B",e.EDIFACTRELEASE_06A="EDIFACTRELEASE_06A",e.EDIFACTRELEASE_06B="EDIFACTRELEASE_06B",e.EDIFACTRELEASE_07A="EDIFACTRELEASE_07A",e.EDIFACTRELEASE_07B="EDIFACTRELEASE_07B",e.EDIFACTRELEASE_08A="EDIFACTRELEASE_08A",e.EDIFACTRELEASE_08B="EDIFACTRELEASE_08B",e.EDIFACTRELEASE_09A="EDIFACTRELEASE_09A",e.EDIFACTRELEASE_09B="EDIFACTRELEASE_09B"})(t.release||(t.release={})),(e=>{e.EDIFACTVERSION_1="EDIFACTVERSION_1",e.EDIFACTVERSION_2="EDIFACTVERSION_2",e.EDIFACTVERSION_4="EDIFACTVERSION_4",e.EDIFACTVERSION_88="EDIFACTVERSION_88",e.EDIFACTVERSION_89="EDIFACTVERSION_89",e.EDIFACTVERSION_90="EDIFACTVERSION_90",e.EDIFACTVERSION_D="EDIFACTVERSION_D",e.EDIFACTVERSION_S="EDIFACTVERSION_S"})(t.version||(t.version={}))})(JM||(JM={}));var e2;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(e2||(e2={}));var t2;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.ISA_ACK_STATUS="isaAckStatus",e.ISA_ACK_REPORT="isaAckReport",e.ACK_STATUS="ackStatus",e.ACK_REPORT="ackReport",e.ISA_CONTROL="isaControl",e.GS_CONTROL="gsControl",e.ST_CONTROL="stControl",e.FUNCTIONAL_ID="functionalID",e.TRANSACTION_SET="transactionSet",e.TEST_INDICATOR="testIndicator",e.SENDER_IDQUALIFIER="senderIDQualifier",e.SENDER_ID="senderID",e.RECEIVER_IDQUALIFIER="receiverIDQualifier",e.RECEIVER_ID="receiverID",e.APP_SENDER_ID="appSenderID",e.APP_RECEIVER_ID="appReceiverID",e.STANDARD_ID="standardID",e.STANDARD="standard",e.GS_VERSION="gsVersion",e.AGENCY_CODE="agencyCode",e.GS_DATE="gsDate",e.GS_TIME="gsTime",e.OUTBOUND_VALIDATION_STATUS="outboundValidationStatus",e.OUTBOUND_VALIDATION_REPORT="outboundValidationReport"})(t.property||(t.property={}))})(t2||(t2={}));var n2;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKFUNCITEM="ackfuncitem",e.ACKTRANITEM="acktranitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPFG="groupfg",e.GROUPST="groupst"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(n2||(n2={}));/**
371
+ */const Tp=t=>{if(t!=null){if(typeof t=="number"||typeof t=="string"&&/^\d+$/.test(t)){const e=Number(t),i=new Date(e);return Number.isNaN(i.getTime())?void 0:i.toISOString()}if(typeof t=="string"){const e=new Date(t);return Number.isNaN(e.getTime())?void 0:e.toISOString()}if(t instanceof Date)return t.toISOString()}};function GT(t){return!!t&&t.type==="text"}function wj(t,e){switch(e.type){case"reset":{const i={},a=[];for(const E of e.list)i[E.id]||a.push(E.id),i[E.id]=E;return{byId:i,order:a}}case"appendOptimistic":return t.byId[e.msg.id]?t:{byId:{...t.byId,[e.msg.id]:e.msg},order:[...t.order,e.msg.id]};case"mergeFromServer":{const i={...t.byId},a=[...t.order];for(const E of e.list)i[E.id]||a.push(E.id),i[E.id]=E;return{byId:i,order:a}}case"reconcileUserEcho":{const i=e.server;if(!(i!=null&&i.id)||i.role!=="user"||!GT(i))return t;const a=hL(i),E=[...t.order],p={...t.byId};for(let g=E.length-1;g>=0;g--){const y=E[g],f=p[y];if(f&&f.sessionId===i.sessionId&&f.role==="user"&&f.status==="pending"&&GT(f)&&hL(f)===a)return delete p[y],p[i.id]={...i,status:"sent"},E[g]=i.id,{byId:p,order:E}}return p[i.id]||(p[i.id]=i,E.push(i.id)),{byId:p,order:E}}default:return t}}function Sj(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++){const a=t[i],E=e[i];if(a.sessionId!==E.sessionId||a.lastAt!==E.lastAt||a.lastPreview!==E.lastPreview||a.messageCount!==E.messageCount)return!1}return!0}function hL(t){var i;if(!t||t.type!=="text")return;const e=(i=t.content)==null?void 0:i.data;return typeof e=="string"?e:void 0}function Tj(t){var $t;const{integration:e,sessionId:i,onNewSessionId:a,persistMode:E="none"}=t,{boomiConfig:p}=Fn(),g=i!=null,y=Y.useMemo(()=>t.storageKey??`agent:sess:${e.id??"unknown"}`,[t.storageKey,e.id]),f=!g&&E==="modal",b=e.integrationPackId?($t=p==null?void 0:p.agents)==null?void 0:$t[e.integrationPackId]:void 0,c=!!(b!=null&&b.sendMultipartData||b!=null&&b.sendMultiPartOnly),u=(b==null?void 0:b.transport)==="boomi-direct",d=bj(),h=Y.useRef(d.listSessions),m=Y.useRef(d.getConversation),S=Y.useRef(d.createSession),T=Y.useRef(d.sendMessage),A=Y.useRef(d.deleteSession);Y.useEffect(()=>{h.current=d.listSessions,m.current=d.getConversation,S.current=d.createSession,T.current=u?d.sendBoomiAgentSession:d.sendMessage,A.current=d.deleteSession},[d,u]);const[N,D]=Y.useState([]),[R,L]=Y.useState(!1),[C,$]=Y.useState(null),[F,U]=Y.useState(null),j=Y.useRef(!1),X=g?i??null:F,[P,B]=Y.useState(!1),[k,M]=Y.useState(!1),[I,W]=Y.useReducer(wj,{byId:{},order:[]}),Q=Y.useMemo(()=>I.order.map(ze=>I.byId[ze]).filter(Boolean),[I]),[J,K]=Y.useState("idle"),[Z,re]=Y.useState(void 0),te=k||J==="working",ae=Y.useRef(!1),se=Y.useRef(null),ie=Y.useRef(null),ue=Y.useRef(0),me=1500,ve=Y.useCallback(async(ze=!1)=>{const nt=Date.now();if(!ze&&nt-ue.current<me||ie.current)return;const ct=(async()=>{L(!0),$(null);try{const Le=((await h.current({limit:50})).items??[]).map(je=>{const ot=Tp(je.lastActivity)??Tp(je.updatedAt)??Tp(je.lastActivityMs)??Tp(je.createdAt)??new Date().toISOString();return{sessionId:je.sessionId,integrationPackId:je.integrationPackId,lastAt:ot,createdAt:Tp(je.createdAt),updatedAt:Tp(je.updatedAt),lastRole:je.lastRole??void 0,lastPreview:je.lastPreview??void 0,messageCount:je.messageCount??void 0,metadata:je.metadata??void 0}}).filter(je=>e.integrationPackId?je.integrationPackId&&je.integrationPackId===e.integrationPackId:!0);D(je=>Sj(je,Le)?je:Le),ue.current=Date.now()}catch(gt){$(gt)}finally{L(!1),ie.current=null}})();return ie.current=ct,ct},[e.integrationPackId]),pe=Y.useCallback(async ze=>{if(ze&&se.current!==ze){se.current=ze,B(!0);try{const ct=((await m.current({sessionId:ze,limit:200})).messages??[]).filter(gt=>(gt==null?void 0:gt.type)!=="status");W({type:"reset",list:ct})}finally{B(!1),se.current===ze&&(se.current=null)}}},[]),ye=Y.useCallback(async()=>{if(ae.current)return null;ae.current=!0;try{const nt=(await S.current({integrationPackId:e.integrationPackId})).sessionId;if(g)a==null||a(nt);else{if(f)try{localStorage.setItem(y,nt)}catch{}await ve(!0),U(nt),j.current=!1}return nt}catch(ze){return Oe.warn({e:ze},"createSession failed"),null}finally{ae.current=!1}},[e.integrationPackId,g,a,f,y,ve]),de=Y.useCallback(async ze=>{const nt=X===ze;if(!g&&(nt&&(j.current=!0),U(ct=>ct===ze?null:ct),f))try{(localStorage.getItem(y)||"")===ze&&localStorage.removeItem(y)}catch{}nt&&(W({type:"reset",list:[]}),K("idle"),re(void 0));try{await A.current({sessionId:ze})}finally{await ve(!0)}},[g,f,y,ve,X,W,K,re]),Ve=Y.useCallback(ze=>{if(!g&&(j.current=!1,U(ze),f))try{localStorage.setItem(y,ze)}catch{}},[g,f,y]),Re=Y.useCallback(async ze=>{var gt,at;let nt=X;if(nt||(nt=await ye()),!nt)return;const ct=((gt=ze.data)==null?void 0:gt.trim())??"";if(ct){const Le={id:crypto.randomUUID(),sessionId:nt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",role:"user",type:"text",status:"pending",metadata:{timestamp:new Date().toISOString(),platform:"client"},content:{data:ct}};W({type:"appendOptimistic",msg:Le})}M(!0);try{if((((at=ze.files)==null?void 0:at.length)??0)>0||c){if(u&&Oe.warn("Boomi direct transport does not support file attachments yet; sending text only."),u){await T.current({sessionId:nt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1});return}const je=new FormData;je.append("sessionId",nt),je.append("integrationPackId",e.integrationPackId??""),je.append("agentCommand","sendMessage"),je.append("message",JSON.stringify({role:"user",type:"text",content:{data:ct}}));const ot=ze.files??[];if(c&&ot.length===0){const tt=new File([""],"empty.txt",{type:"text/plain"});je.append("files",tt)}for(const tt of ot)je.append("files",tt);await d.sendMultipart({formData:je})}else u?await T.current({sessionId:nt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1}):await T.current({sessionId:nt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",message:{role:"user",type:"text",content:{data:ct}}})}finally{M(!1)}},[X,e.integrationPackId,ye,d,T,W,c,u]),qe=Y.useCallback(async ze=>{var at;if(c){await Re({data:ze,files:[]});return}let nt=X;if(nt||(nt=await ye()),!nt)return;const ct=ze??"",gt={id:crypto.randomUUID(),sessionId:nt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",role:"user",type:"text",status:"pending",metadata:{timestamp:new Date().toISOString(),platform:"client"},content:{data:ct}};W({type:"appendOptimistic",msg:gt}),M(!0);try{const Le=await T.current(u?{sessionId:nt,agent_id:e.integrationPackId??"",message:ct,preview_mode:!1}:{sessionId:nt,integrationPackId:e.integrationPackId,agentCommand:"sendMessage",message:{role:"user",type:"text",content:{data:ct}}});((at=Le==null?void 0:Le.message)==null?void 0:at.role)==="user"&&GT(Le.message)?W({type:"reconcileUserEcho",server:Le.message}):Le!=null&&Le.message&&W({type:"mergeFromServer",list:[Le.message]})}finally{M(!1)}},[X,e.integrationPackId,ye,Re,c,u]);Y.useEffect(()=>{ve(!0)},[ve]),Y.useEffect(()=>{if(!g&&!j.current&&!F){if(f)try{const ze=localStorage.getItem(y)||"";if(ze&&N.some(nt=>nt.sessionId===ze)){j.current=!1,U(ze);return}}catch{}if(N.length>0&&(j.current=!1,U(N[0].sessionId),f))try{localStorage.setItem(y,N[0].sessionId)}catch{}}},[g,f,y,N,F]),Y.useEffect(()=>{W({type:"reset",list:[]}),X&&pe(X)},[X,pe]);const et=Y.useRef(0),mt=Y.useCallback(ze=>{if((ze==null?void 0:ze.type)==="status"){const ct=String(ze.status||"working"),gt=typeof ze.note=="string"?ze.note:void 0;K(ct),re(gt);return}ze.role==="user"?W({type:"reconcileUserEcho",server:ze}):W({type:"mergeFromServer",list:[ze]});const nt=Date.now();nt-et.current>5e3&&(et.current=nt,ve())},[W,ve]),xt=Y.useCallback(ze=>{const nt=ze.note;let ct=ze.state;nt&&/progress/i.test(nt)&&(ct="progress"),nt&&/error|timeout|failed/i.test(nt)&&(ct="error"),K(ct),re(nt)},[]);return Ej({sessionId:X||"",enabled:!!X,onMessage:mt,onStatus:xt}),{sessions:N,sessionsLoading:R,sessionsError:C,activeSessionId:X,selectSession:Ve,createSession:ye,deleteSession:de,messages:Q,loading:P,busy:te,agentStatus:J,agentNote:Z,sendMessage:qe,sendMessageRich:Re,reloadSessions:ve}}var mL;(t=>{(e=>{e.TRIAL="trial",e.ACTIVE="active",e.SUSPENDED="suspended",e.DELETED="deleted",e.UNLIMITED="unlimited"})(t.status||(t.status={})),(e=>{e.STANDARD="standard",e.PREMIER="premier"})(t.supportLevel||(t.supportLevel={}))})(mL||(mL={}));var pL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(pL||(pL={}));var gL;(t=>{(e=>{e.GENERAL="GENERAL",e.LOW_LATENCY_DEBUG="LOW_LATENCY_DEBUG"})(t.as2Workload||(t.as2Workload={})),(e=>{e.NONE="NONE",e.THREADS="THREADS",e.PROCESSES="PROCESSES"})(t.flowControlParallelProcessTypeOverride||(t.flowControlParallelProcessTypeOverride={})),(e=>{e.GENERAL="GENERAL",e.LOW_LATENCY_DEBUG="LOW_LATENCY_DEBUG",e.LOW_LATENCY="LOW_LATENCY"})(t.httpWorkload||(t.httpWorkload={}))})(gL||(gL={}));var bL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(bL||(bL={}));var vL;(t=>{(e=>{e.NONE="none",e.INFO="info",e.WARNING="warning",e.ERROR="error"})(t.autoSubscribeAlertLevel||(t.autoSubscribeAlertLevel={}))})(vL||(vL={}));var yL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(yL||(yL={}));var EL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.ACCOUNT_ID="accountId"})(t.property||(t.property={}))})(EL||(EL={}));var wL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(wL||(wL={}));var SL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(SL||(SL={}));var TL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(TL||(TL={}));var AL;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={}))})(AL||(AL={}));var xL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(xL||(xL={}));var _L;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_L||(_L={}));var CL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(CL||(CL={}));var NL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ID="id",e.ACCOUNT_ID="accountId",e.NAME="name",e.DEFAULT_GROUP="defaultGroup",e.AUTO_SUBSCRIBE_ALERT_LEVEL="autoSubscribeAlertLevel"})(t.property||(t.property={}))})(NL||(NL={}));var LL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(LL||(LL={}));var OL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.USER_ID="userId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})(OL||(OL={}));var DL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNTID="ACCOUNTID",e.DATECREATED="DATECREATED",e.EXPIRATIONDATE="EXPIRATIONDATE",e.NAME="NAME",e.STATUS="STATUS",e.WIDGETACCOUNT="WIDGETACCOUNT",e.OVERDEPLOYED="OVERDEPLOYED"})(t.property||(t.property={}))})(DL||(DL={}));var RL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(RL||(RL={}));var ML;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ML||(ML={}));var kL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.USER_ID="userId",e.FEDERATION_ID="federationId"})(t.property||(t.property={}))})(kL||(kL={}));var IL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(IL||(IL={}));var $L;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.USER_ID="userId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})($L||($L={}));var UL;(t=>{(e=>{e.ANY="ANY",e.SUCCESS="SUCCESS",e.ERROR="ERROR"})(t.documentStatus||(t.documentStatus={}))})(UL||(UL={}));var HL;(t=>{(e=>{e.PROD="PROD",e.TEST="TEST"})(t.classification||(t.classification={}))})(HL||(HL={}));var jL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jL||(jL={}));var zL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_DATE="processDate",e.CLASSIFICATION="classification",e.SUCCESS_COUNT="successCount",e.ERROR_COUNT="errorCount"})(t.property||(t.property={}))})(zL||(zL={}));var BL;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(BL||(BL={}));var FL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FL||(FL={}));var PL;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(PL||(PL={}));var VL;(t=>{(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.mdnDigestAlg||(t.mdnDigestAlg={})),(e=>{e.SYNC="sync",e.ASYNC="async"})(t.synchronous||(t.synchronous={}))})(VL||(VL={}));var GL;(t=>{(e=>{e.BATCH="BATCH",e.DOCUMENT_CACHE="DOCUMENT_CACHE"})(t.attachmentOption||(t.attachmentOption={})),(e=>{e.TEXTPLAIN="textplain",e.BINARY="binary",e.EDIFACT="edifact",e.EDIX12="edix12",e.APPLICATIONXML="applicationxml",e.TEXTXML="textxml"})(t.dataContentType||(t.dataContentType={})),(e=>{e.NA="na",e.TRIPLEDES="tripledes",e.DES="des",e.RC2_128="rc2-128",e.RC2_64="rc2-64",e.RC2_40="rc2-40",e.AES_128="aes-128",e.AES_192="aes-192",e.AES_256="aes-256"})(t.encryptionAlgorithm||(t.encryptionAlgorithm={})),(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.signingDigestAlg||(t.signingDigestAlg={}))})(GL||(GL={}));var QL;(t=>{(e=>{e.NONE="NONE",e.BASIC="BASIC"})(t.authenticationType||(t.authenticationType={}))})(QL||(QL={}));var WL;(t=>{(e=>{e.UNKNOWN="UNKNOWN",e.ONLINE="ONLINE",e.WARNING="WARNING",e.OFFLINE="OFFLINE"})(t.status||(t.status={})),(e=>{e.CLOUD="CLOUD",e.MOLECULE="MOLECULE",e.ATOM="ATOM"})(t.type||(t.type={}))})(WL||(WL={}));var YL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YL||(YL={}));var XL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XL||(XL={}));var qL;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.FIELD_ID="fieldId"})(t.property||(t.property={}))})(qL||(qL={}));var KL;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(KL||(KL={}));var ZL;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ZL||(ZL={}));var JL;(t=>{(e=>{e.EQUALS="EQUALS",e.NOT_EQUALS="NOT_EQUALS",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.HOSTNAME="hostname",e.STATUS="status",e.TYPE="type",e.CAPABILITIES="capabilities"})(t.property||(t.property={}))})(JL||(JL={}));var eO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(eO||(eO={}));var tO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(tO||(tO={}));var nO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(nO||(nO={}));var oO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.CONTAINER_ID="containerId",e.USER_ID="userId",e.DATE="date",e.TYPE="type",e.ACTION="action",e.MODIFIER="modifier",e.LEVEL="level",e.SOURCE="source"})(t.property||(t.property={}))})(oO||(oO={}));var iO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(iO||(iO={}));var rO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(rO||(rO={}));var aO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(aO||(aO={}));var sO;(t=>{(e=>{e.RESTART="restart",e.RESTART_ALL="restart_all",e.PAUSE="pause",e.PAUSE_ALL="pause_all",e.RESUME="resume",e.RESUME_ALL="resume_all"})(t.action||(t.action={}))})(sO||(sO={}));var lO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(lO||(lO={}));var cO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(cO||(cO={}));var uO;(t=>{(e=>{e.AWS="AWS",e.AZURE="AZURE"})(t.secretsManagerType||(t.secretsManagerType={}))})(uO||(uO={}));var dO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id"})(t.property||(t.property={}))})(dO||(dO={}));var fO;(t=>{(e=>{e.CERTIFICATE="certificate",e.CONNECTOR_ACTION="connector-action",e.CONNECTOR_SETTINGS="connector-settings",e.CROSSREF="crossref",e.DOCUMENTCACHE="documentcache",e.TRANSFORM_MAP="transform.map",e.TRANSFORM_FUNCTION="transform.function",e.CERTIFICATE_PGP="certificate.pgp",e.PROCESS="process",e.PROCESSPROPERTY="processproperty",e.PROFILE_DB="profile.db",e.PROFILE_EDI="profile.edi",e.PROFILE_FLATFILE="profile.flatfile",e.PROFILE_XML="profile.xml",e.PROFILE_JSON="profile.json",e.QUEUE="queue",e.TRADINGPARTNER="tradingpartner",e.TPGROUP="tpgroup",e.TPORGANIZATION="tporganization",e.TPCOMMOPTIONS="tpcommoptions",e.WEBSERVICE="webservice",e.WEBSERVICE_EXTERNAL="webservice.external",e.PROCESSROUTE="processroute",e.CUSTOMLIBRARY="customlibrary",e.EDISTANDARD="edistandard",e.FLOWSERVICE="flowservice",e.SCRIPT_PROCESSING="script.processing",e.SCRIPT_MAPPING="script.mapping",e.XSLT="xslt"})(t.componentType||(t.componentType={}))})(fO||(fO={}));var hO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hO||(hO={}));var mO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(mO||(mO={}));var pO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(pO||(pO={}));var gO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(gO||(gO={}));var bO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(bO||(bO={}));var vO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(vO||(vO={}));var yO;(t=>{(e=>{e.CERTIFICATE="certificate",e.CONNECTOR_ACTION="connector-action",e.CONNECTOR_SETTINGS="connector-settings",e.CROSSREF="crossref",e.DOCUMENTCACHE="documentcache",e.TRANSFORM_MAP="transform.map",e.TRANSFORM_FUNCTION="transform.function",e.CERTIFICATE_PGP="certificate.pgp",e.PROCESS="process",e.PROCESSPROPERTY="processproperty",e.PROFILE_DB="profile.db",e.PROFILE_EDI="profile.edi",e.PROFILE_FLATFILE="profile.flatfile",e.PROFILE_XML="profile.xml",e.PROFILE_JSON="profile.json",e.QUEUE="queue",e.TRADINGPARTNER="tradingpartner",e.TPGROUP="tpgroup",e.TPORGANIZATION="tporganization",e.TPCOMMOPTIONS="tpcommoptions",e.WEBSERVICE="webservice",e.WEBSERVICE_EXTERNAL="webservice.external",e.PROCESSROUTE="processroute",e.CUSTOMLIBRARY="customlibrary",e.EDISTANDARD="edistandard",e.FLOWSERVICE="flowservice",e.SCRIPT_PROCESSING="script.processing",e.SCRIPT_MAPPING="script.mapping",e.XSLT="xslt"})(t.type||(t.type={}))})(yO||(yO={}));var EO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(EO||(EO={}));var wO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wO||(wO={}));var SO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.COMPONENT_ID="componentId",e.VERSION="version",e.NAME="name",e.TYPE="type",e.SUB_TYPE="subType",e.CREATED_DATE="createdDate",e.CREATED_BY="createdBy",e.MODIFIED_DATE="modifiedDate",e.MODIFIED_BY="modifiedBy",e.DELETED="deleted",e.CURRENT_VERSION="currentVersion",e.FOLDER_NAME="folderName",e.FOLDER_ID="folderId",e.COPIED_FROM_COMPONENT_ID="copiedFromComponentId",e.COPIED_FROM_COMPONENT_VERSION="copiedFromComponentVersion",e.BRANCH_NAME="branchName",e.BRANCH_ID="branchId"})(t.property||(t.property={}))})(SO||(SO={}));var TO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(TO||(TO={}));var AO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(AO||(AO={}));var xO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PARENT_COMPONENT_ID="parentComponentId",e.PARENT_VERSION="parentVersion",e.COMPONENT_ID="componentId",e.TYPE="type"})(t.property||(t.property={}))})(xO||(xO={}));var _O;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(_O||(_O={}));var CO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(CO||(CO={}));var NO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.TYPE="type",e.NAME="name"})(t.property||(t.property={}))})(NO||(NO={}));var LO;(t=>{(e=>{e.CHARACTER="character",e.DATETIME="datetime",e.NUMBER="number"})(t.type||(t.type={}))})(LO||(LO={}));var OO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(OO||(OO={}));var DO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(DO||(DO={}));var RO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(RO||(RO={}));var MO;(t=>{(e=>{e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.CONTAINER_ID="containerId",e.CONTAINER_NAME="containerName",e.ENVIRONMENT_ID="environmentId",e.ENVIRONMENT_NAME="environmentName",e.EXPIRATION_BOUNDARY="expirationBoundary"})(t.property||(t.property={}))})(MO||(MO={}));var kO;(t=>{(e=>{e.RUNNING="RUNNING",e.PAUSED="PAUSED"})(t.listenerStatus||(t.listenerStatus={}))})(kO||(kO={}));var IO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(IO||(IO={}));var $O;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})($O||($O={}));var UO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.UID="uid",e.NOTES="notes",e.CURRENT="current",e.PACKAGE_NOTES="packageNotes",e.ACTIVE="active",e.COMPONENT_ID="componentId",e.COMPONENT_VERSION="componentVersion",e.COMPONENT_NAME="componentName",e.COMPONENT_TYPE="componentType",e.DEPLOYED_BY="deployedBy",e.DEPLOYED_DATE="deployedDate",e.DEPLOYMENT_ID="deploymentId",e.ENVIRONMENT_ID="environmentId",e.ENVIRONMENT_NAME="environmentName",e.PACKAGE_ID="packageId",e.PACKAGE_VERSION="packageVersion",e.VERSION="version",e.ACCOUNT_ID="accountId",e.BRANCH="branch"})(t.property||(t.property={}))})(UO||(UO={}));var HO;(t=>{(e=>{e.RUNNING="RUNNING",e.PAUSED="PAUSED"})(t.listenerStatus||(t.listenerStatus={}))})(HO||(HO={}));var jO;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(jO||(jO={}));var zO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(zO||(zO={}));var BO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.PROCESS_ID="processId",e.COMPONENT_ID="componentId",e.COMPONENT_TYPE="componentType",e.CURRENT="current"})(t.property||(t.property={}))})(BO||(BO={}));var FO;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(FO||(FO={}));var PO;(t=>{(e=>{e.WILDCARD="wildcard",e.REGEX="regex"})(t.filterMatchType||(t.filterMatchType={}))})(PO||(PO={}));var VO;(t=>{(e=>{e.UNIQUE="unique",e.OVER="over",e.APPEND="append",e.ABORT="abort"})(t.writeOption||(t.writeOption={}))})(VO||(VO={}));var GO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(GO||(GO={}));var QO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QO||(QO={}));var WO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(WO||(WO={}));var YO;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(YO||(YO={}));var XO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XO||(XO={}));var qO;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(qO||(qO={}));var KO;(t=>{(e=>{e.STARDELIMITED="stardelimited",e.COMMADELIMITED="commadelimited",e.TABDELIMITED="tabdelimited",e.TICKDELIMITED="tickdelimited",e.BARDELIMITED="bardelimited",e.PLUSDELIMITED="plusdelimited",e.COLONDELIMITED="colondelimited",e.CARATDELIMITED="caratdelimited",e.AMPERSANDDELIMITED="ampersanddelimited",e.BYTECHARACTER="bytecharacter",e.OTHERCHARACTER="othercharacter"})(t.delimiterValue||(t.delimiterValue={}))})(KO||(KO={}));var ZO;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ZO||(ZO={}));var JO;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(JO||(JO={}));var eD;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKITEM="ackitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPFG="groupfg",e.GROUPMESSAGE="groupmessage"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(eD||(eD={}));var tD;(t=>{(e=>{e.NEWLINE="newline",e.SINGLEQUOTE="singlequote",e.TILDE="tilde",e.CARRIAGERETURN="carriagereturn",e.BYTECHARACTER="bytecharacter",e.OTHERCHARACTER="othercharacter"})(t.segmentTerminatorValue||(t.segmentTerminatorValue={}))})(tD||(tD={}));var nD;(t=>{(e=>{e.PROD="PROD",e.TEST="TEST"})(t.classification||(t.classification={}))})(nD||(nD={}));var oD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(oD||(oD={}));var iD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.ENVIRONMENT_ID="environmentId"})(t.property||(t.property={}))})(iD||(iD={}));var rD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(rD||(rD={}));var aD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(aD||(aD={}));var sD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.FIELD_ID="fieldId"})(t.property||(t.property={}))})(sD||(sD={}));var lD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(lD||(lD={}));var cD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(cD||(cD={}));var uD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(uD||(uD={}));var dD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dD||(dD={}));var fD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(fD||(fD={}));var hD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hD||(hD={}));var mD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="ACCOUNT_ID",e.ENVIRONMENT_MAP_EXTENSION_ID="ENVIRONMENT_MAP_EXTENSION_ID",e.PACKAGED_COMPONENT_UID="PACKAGED_COMPONENT_UID",e.COMPONENT_ID="COMPONENT_ID",e.COMPONENT_VERSION="COMPONENT_VERSION",e.COMPONENT_NAME="COMPONENT_NAME",e.COMPONENT_TYPE="COMPONENT_TYPE"})(t.property||(t.property={}))})(mD||(mD={}));var pD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(pD||(pD={}));var gD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(gD||(gD={}));var bD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(bD||(bD={}));var vD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(vD||(vD={}));var yD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId"})(t.property||(t.property={}))})(yD||(yD={}));var ED;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(ED||(ED={}));var wD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wD||(wD={}));var SD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ROLE_ID="roleId"})(t.property||(t.property={}))})(SD||(SD={}));var TD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.CLASSIFICATION="classification"})(t.property||(t.property={}))})(TD||(TD={}));var AD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(AD||(AD={}));var xD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EVENT_ID="eventId",e.ACCOUNT_ID="accountId",e.ATOM_ID="atomId",e.ATOM_NAME="atomName",e.EVENT_LEVEL="eventLevel",e.EVENT_DATE="eventDate",e.STATUS="status",e.EVENT_TYPE="eventType",e.EXECUTION_ID="executionId",e.TITLE="title",e.UPDATE_DATE="updateDate",e.START_TIME="startTime",e.END_TIME="endTime",e.ERROR_DOCUMENT_COUNT="errorDocumentCount",e.INBOUND_DOCUMENT_COUNT="inboundDocumentCount",e.OUTBOUND_DOCUMENT_COUNT="outboundDocumentCount",e.PROCESS_NAME="processName",e.RECORD_DATE="recordDate",e.ERROR="error",e.ENVIRONMENT="environment",e.CLASSIFICATION="classification"})(t.property||(t.property={}))})(xD||(xD={}));var _D;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_D||(_D={}));var CD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.CONNECTOR_TYPE="connectorType",e.ACTION_TYPE="actionType",e.ERROR_COUNT="errorCount",e.SUCCESS_COUNT="successCount",e.SIZE="size",e.IS_START_SHAPE="isStartShape",e.RECORD_TYPE="recordType"})(t.property||(t.property={}))})(CD||(CD={}));var ND;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ND||(ND={}));var LD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(LD||(LD={}));var OD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(OD||(OD={}));var DD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(DD||(DD={}));var RD;(t=>{(e=>{e.EXEC_MANUAL="exec_manual",e.EXEC_SCHED="exec_sched",e.EXEC_LISTENER="exec_listener",e.EXEC_LISTENER_BRIDGE="exec_listener_bridge",e.EXEC_REMOTE="exec_remote",e.RETRY_MANUAL="retry_manual",e.RETRY_SCHED="retry_sched",e.FIBER="fiber",e.SUB_PROCESS="sub_process",e.TEST_MANUAL="test_manual",e.TEST_SUB_PROCESS="test_sub_process",e.UNKNOWN="unknown"})(t.executionType||(t.executionType={}))})(RD||(RD={}));var MD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(MD||(MD={}));var kD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ORIGINAL_EXECUTION_ID="originalExecutionId",e.ACCOUNT="account",e.EXECUTION_TIME="executionTime",e.STATUS="status",e.EXECUTION_TYPE="executionType",e.PROCESS_NAME="processName",e.PROCESS_ID="processId",e.ATOM_NAME="atomName",e.ATOM_ID="atomId",e.INBOUND_DOCUMENT_COUNT="inboundDocumentCount",e.OUTBOUND_DOCUMENT_COUNT="outboundDocumentCount",e.EXECUTION_DURATION="executionDuration",e.MESSAGE="message",e.REPORT_KEY="reportKey",e.LAUNCHER_ID="launcherId",e.NODE_ID="nodeId",e.RECORDED_DATE="recordedDate"})(t.property||(t.property={}))})(kD||(kD={}));var ID;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ID||(ID={}));var $D;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.TIME_BLOCK="timeBlock",e.ATOM_ID="atomId",e.STATUS="status",e.REPORT_KEY="reportKey",e.LAUNCHER_ID="launcherId"})(t.property||(t.property={}))})($D||($D={}));var UD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(UD||(UD={}));var HD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(HD||(HD={}));var jD;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_ID="accountId",e.ID="id",e.NAME="name",e.FULL_PATH="fullPath",e.DELETED="deleted",e.PARENT_ID="parentId",e.PARENT_NAME="parentName",e.PERMITTED_ROLES="permittedRoles"})(t.property||(t.property={}))})(jD||(jD={}));var zD;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(zD||(zD={}));var BD;(t=>{(e=>{e.ACTIONGET="actionget",e.ACTIONGETDELETE="actiongetdelete",e.ACTIONGETMOVE="actiongetmove"})(t.ftpAction||(t.ftpAction={})),(e=>{e.ASCII="ascii",e.BINARY="binary"})(t.transferType||(t.transferType={}))})(BD||(BD={}));var FD;(t=>{(e=>{e.ACTIONPUTRENAME="actionputrename",e.ACTIONPUTAPPEND="actionputappend",e.ACTIONPUTERROR="actionputerror",e.ACTIONPUTOVERWRITE="actionputoverwrite"})(t.ftpAction||(t.ftpAction={})),(e=>{e.ASCII="ascii",e.BINARY="binary"})(t.transferType||(t.transferType={}))})(FD||(FD={}));var PD;(t=>{(e=>{e.ACTIVE="active",e.PASSIVE="passive"})(t.connectionMode||(t.connectionMode={}))})(PD||(PD={}));var VD;(t=>{(e=>{e.NONE="none",e.EXPLICIT="explicit",e.IMPLICIT="implicit"})(t.sslmode||(t.sslmode={}))})(VD||(VD={}));var GD;(t=>{(e=>{e.SUCCESS="SUCCESS",e.ERROR="ERROR"})(t.status||(t.status={}))})(GD||(GD={}));var QD;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(QD||(QD={}));var WD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(WD||(WD={}));var YD;(t=>{(e=>{e.EQUALS="EQUALS"})(t.operator||(t.operator={})),(e=>{e.ID="id",e.EXECUTION_CONNECTOR_ID="executionConnectorId",e.EXECUTION_ID="executionId",e.CONNECTION_ID="connectionId",e.OPERATION_ID="operationId",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.CONNECTION_NAME="connectionName",e.OPERATION_NAME="operationName",e.ERROR_MESSAGE="errorMessage",e.STATUS="status",e.DOCUMENT_INDEX="documentIndex",e.INCREMENTAL_DOCUMENT_INDEX="incrementalDocumentIndex",e.SIZE="size",e.START_SHAPE="startShape",e.RETRYABLE="retryable"})(t.property||(t.property={}))})(YD||(YD={}));var XD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XD||(XD={}));var qD;(t=>{(e=>{e.T="T",e.X="X"})(t.respagencycode||(t.respagencycode={}))})(qD||(qD={}));var KD;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(KD||(KD={}));var ZD;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(ZD||(ZD={}));var JD;(t=>{(e=>{e.AL="AL",e.NE="NE",e.ER="ER",e.SU="SU",e.NOT_DEFINED="NOT_DEFINED"})(t.acceptackoption||(t.acceptackoption={})),(e=>{e.AL="AL",e.NE="NE",e.ER="ER",e.SU="SU",e.NOT_DEFINED="NOT_DEFINED"})(t.appackoption||(t.appackoption={})),(e=>{e.NONE="none",e.BATCH="batch"})(t.batchoption||(t.batchoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(JD||(JD={}));var eR;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(eR||(eR={}));var tR;(t=>{(e=>{e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"})(t.methodType||(t.methodType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.requestProfileType||(t.requestProfileType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.responseProfileType||(t.responseProfileType={}))})(tR||(tR={}));var nR;(t=>{(e=>{e.CODE="code",e.CLIENT_CREDENTIALS="client_credentials",e.PASSWORD="password"})(t.grantType||(t.grantType={}))})(nR||(nR={}));var oR;(t=>{(e=>{e.SHA1="SHA1",e.SHA256="SHA256"})(t.signatureMethod||(t.signatureMethod={}))})(oR||(oR={}));var iR;(t=>{(e=>{e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"})(t.methodType||(t.methodType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.requestProfileType||(t.requestProfileType={})),(e=>{e.NONE="NONE",e.XML="XML",e.JSON="JSON"})(t.responseProfileType||(t.responseProfileType={}))})(iR||(iR={}));var rR;(t=>{(e=>{e.NONE="NONE",e.BASIC="BASIC",e.PASSWORD_DIGEST="PASSWORD_DIGEST",e.CUSTOM="CUSTOM",e.OAUTH="OAUTH",e.OAUTH2="OAUTH2"})(t.authenticationType||(t.authenticationType={})),(e=>{e.IGNORED="IGNORED",e.GLOBAL="GLOBAL",e.CONNECTOR_SHAPE="CONNECTOR_SHAPE"})(t.cookieScope||(t.cookieScope={}))})(rR||(rR={}));var aR;(t=>{(e=>{e.CLOUD="CLOUD",e.ATOM="ATOM",e.MOLECULE="MOLECULE",e.BROKER="BROKER",e.GATEWAY="GATEWAY"})(t.installType||(t.installType={}))})(aR||(aR={}));var sR;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={}))})(sR||(sR={}));var lR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(lR||(lR={}));var cR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(cR||(cR={}));var uR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(uR||(uR={}));var dR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dR||(dR={}));var fR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(fR||(fR={}));var hR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(hR||(hR={}));var mR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(mR||(mR={}));var pR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(pR||(pR={}));var gR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.INTEGRATION_PACK_OVERRIDE_NAME="integrationPackOverrideName",e.INTEGRATION_PACK_NAME="integrationPackName",e.INTEGRATION_PACK_ID="integrationPackId"})(t.property||(t.property={}))})(gR||(gR={}));var bR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.INSTALLATION_TYPE="installationType"})(t.property||(t.property={}))})(bR||(bR={}));var vR;(t=>{(e=>{e.X12AUTHQUAL_00="X12AUTHQUAL_00",e.X12AUTHQUAL_01="X12AUTHQUAL_01",e.X12AUTHQUAL_02="X12AUTHQUAL_02",e.X12AUTHQUAL_03="X12AUTHQUAL_03",e.X12AUTHQUAL_04="X12AUTHQUAL_04",e.X12AUTHQUAL_05="X12AUTHQUAL_05"})(t.authorizationInformationQualifier||(t.authorizationInformationQualifier={})),(e=>{e.X12IDQUAL_01="X12IDQUAL_01",e.X12IDQUAL_02="X12IDQUAL_02",e.X12IDQUAL_03="X12IDQUAL_03",e.X12IDQUAL_04="X12IDQUAL_04",e.X12IDQUAL_07="X12IDQUAL_07",e.X12IDQUAL_08="X12IDQUAL_08",e.X12IDQUAL_09="X12IDQUAL_09",e.X12IDQUAL_10="X12IDQUAL_10",e.X12IDQUAL_11="X12IDQUAL_11",e.X12IDQUAL_12="X12IDQUAL_12",e.X12IDQUAL_13="X12IDQUAL_13",e.X12IDQUAL_14="X12IDQUAL_14",e.X12IDQUAL_15="X12IDQUAL_15",e.X12IDQUAL_16="X12IDQUAL_16",e.X12IDQUAL_17="X12IDQUAL_17",e.X12IDQUAL_18="X12IDQUAL_18",e.X12IDQUAL_19="X12IDQUAL_19",e.X12IDQUAL_20="X12IDQUAL_20",e.X12IDQUAL_21="X12IDQUAL_21",e.X12IDQUAL_22="X12IDQUAL_22",e.X12IDQUAL_23="X12IDQUAL_23",e.X12IDQUAL_24="X12IDQUAL_24",e.X12IDQUAL_25="X12IDQUAL_25",e.X12IDQUAL_26="X12IDQUAL_26",e.X12IDQUAL_27="X12IDQUAL_27",e.X12IDQUAL_28="X12IDQUAL_28",e.X12IDQUAL_29="X12IDQUAL_29",e.X12IDQUAL_30="X12IDQUAL_30",e.X12IDQUAL_31="X12IDQUAL_31",e.X12IDQUAL_32="X12IDQUAL_32",e.X12IDQUAL_33="X12IDQUAL_33",e.X12IDQUAL_34="X12IDQUAL_34",e.X12IDQUAL_NR="X12IDQUAL_NR",e.X12IDQUAL_ZZ="X12IDQUAL_ZZ"})(t.interchangeIdQualifier||(t.interchangeIdQualifier={})),(e=>{e.X12SECQUAL_00="X12SECQUAL_00",e.X12SECQUAL_01="X12SECQUAL_01"})(t.securityInformationQualifier||(t.securityInformationQualifier={})),(e=>{e.P="P",e.T="T"})(t.testindicator||(t.testindicator={}))})(vR||(vR={}));var yR;(t=>{(e=>{e[e._200=200]="_200",e[e._202=202]="_202"})(t.responseStatusCode||(t.responseStatusCode={}))})(yR||(yR={}));var ER;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(ER||(ER={}));var wR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.LISTENER_ID="listenerId",e.CONTAINER_ID="containerId"})(t.property||(t.property={}))})(wR||(wR={}));var aw;(t=>{(e=>{e.NONE="None",e.BY_DOCUMENT="ByDocument",e.BY_MAP="ByMap"})(t.cacheType||(t.cacheType={})),(e=>{e.COUNT="Count",e.CURRENT_DATE="CurrentDate",e.DATE_FORMAT="DateFormat",e.LEFT_TRIM="LeftTrim",e.LINE_ITEM_INCREMENT="LineItemIncrement",e.MATH_ABS="MathABS",e.MATH_ADD="MathAdd",e.MATH_CEIL="MathCeil",e.MATH_DIVIDE="MathDivide",e.MATH_FLOOR="MathFloor",e.MATH_MULTIPLY="MathMultiply",e.MATH_SET_PRECISION="MathSetPrecision",e.MATH_SUBTRACT="MathSubtract",e.NUMBER_FORMAT="NumberFormat",e.PROPERTY_GET="PropertyGet",e.PROPERTY_SET="PropertySet",e.RIGHT_TRIM="RightTrim",e.RUNNING_TOTAL="RunningTotal",e.STRING_APPEND="StringAppend",e.STRING_PREPEND="StringPrepend",e.STRING_REMOVE="StringRemove",e.STRING_REPLACE="StringReplace",e.STRING_TO_LOWER="StringToLower",e.STRING_TO_UPPER="StringToUpper",e.SUM="Sum",e.TRIM_WHITESPACE="TrimWhitespace",e.STRING_CONCAT="StringConcat",e.STRING_SPLIT="StringSplit",e.SEQUENTIAL_VALUE="SequentialValue",e.SIMPLE_LOOKUP="SimpleLookup",e.DOCUMENT_PROPERTY_GET="DocumentPropertyGet",e.DOCUMENT_PROPERTY_SET="DocumentPropertySet",e.CROSS_REF_LOOKUP="CrossRefLookup",e.DOCUMENT_CACHE_LOOKUP="DocumentCacheLookup",e.CUSTOM_SCRIPTING="CustomScripting",e.USER_DEFINED="UserDefined",e.JAPANESE_CHARACTER_CONVERSION="JapaneseCharacterConversion"})(t.type||(t.type={}))})(aw||(aw={}));var SR;(t=>{(e=>{e.NONE="None",e.BY_DOCUMENT="ByDocument",e.BY_MAP="ByMap"})(t.cacheType||(t.cacheType={})),(e=>{e.COUNT="Count",e.CURRENT_DATE="CurrentDate",e.DATE_FORMAT="DateFormat",e.LEFT_TRIM="LeftTrim",e.LINE_ITEM_INCREMENT="LineItemIncrement",e.MATH_ABS="MathABS",e.MATH_ADD="MathAdd",e.MATH_CEIL="MathCeil",e.MATH_DIVIDE="MathDivide",e.MATH_FLOOR="MathFloor",e.MATH_MULTIPLY="MathMultiply",e.MATH_SET_PRECISION="MathSetPrecision",e.MATH_SUBTRACT="MathSubtract",e.NUMBER_FORMAT="NumberFormat",e.PROPERTY_GET="PropertyGet",e.PROPERTY_SET="PropertySet",e.RIGHT_TRIM="RightTrim",e.RUNNING_TOTAL="RunningTotal",e.STRING_APPEND="StringAppend",e.STRING_PREPEND="StringPrepend",e.STRING_REMOVE="StringRemove",e.STRING_REPLACE="StringReplace",e.STRING_TO_LOWER="StringToLower",e.STRING_TO_UPPER="StringToUpper",e.SUM="Sum",e.TRIM_WHITESPACE="TrimWhitespace",e.STRING_CONCAT="StringConcat",e.STRING_SPLIT="StringSplit",e.SEQUENTIAL_VALUE="SequentialValue",e.SIMPLE_LOOKUP="SimpleLookup",e.DOCUMENT_PROPERTY_GET="DocumentPropertyGet",e.DOCUMENT_PROPERTY_SET="DocumentPropertySet",e.CROSS_REF_LOOKUP="CrossRefLookup",e.DOCUMENT_CACHE_LOOKUP="DocumentCacheLookup",e.CUSTOM_SCRIPTING="CustomScripting",e.USER_DEFINED="UserDefined",e.JAPANESE_CHARACTER_CONVERSION="JapaneseCharacterConversion"})(t.type||(t.type={}))})(SR||(SR={}));var QT;(t=>{(e=>{e.GROOVY="GROOVY",e.GROOVY2="GROOVY2",e.JAVASCRIPT="Javascript"})(t.language||(t.language={}))})(QT||(QT={}));var TR;(t=>{(e=>{e.UPDATE="UPDATE",e.MERGE="MERGE",e.RETRY_DRAFTING="RETRY_DRAFTING",e.REVERT="REVERT"})(t.mergeRequestAction||(t.mergeRequestAction={})),(e=>{e.NOT_EXIST="NOT_EXIST",e.DRAFTING="DRAFTING",e.FAILED_TO_DRAFT="FAILED_TO_DRAFT",e.FAILED_TO_REDRAFT="FAILED_TO_REDRAFT",e.DRAFTED="DRAFTED",e.REVIEWING="REVIEWING",e.MERGING="MERGING",e.MERGED="MERGED",e.FAILED_TO_MERGE="FAILED_TO_MERGE",e.DELETED="DELETED",e.REDRAFTING="REDRAFTING",e.REVERTED="REVERTED"})(t.previousStage||(t.previousStage={})),(e=>{e.SOURCE="SOURCE",e.DESTINATION="DESTINATION"})(t.priorityBranch||(t.priorityBranch={})),(e=>{e.NOT_EXIST="NOT_EXIST",e.DRAFTING="DRAFTING",e.FAILED_TO_DRAFT="FAILED_TO_DRAFT",e.FAILED_TO_REDRAFT="FAILED_TO_REDRAFT",e.DRAFTED="DRAFTED",e.REVIEWING="REVIEWING",e.MERGING="MERGING",e.MERGED="MERGED",e.FAILED_TO_MERGE="FAILED_TO_MERGE",e.DELETED="DELETED",e.REDRAFTING="REDRAFTING",e.REVERTED="REVERTED"})(t.stage||(t.stage={})),(e=>{e.OVERRIDE="OVERRIDE",e.CONFLICT_RESOLVE="CONFLICT_RESOLVE",e.SUBSET="SUBSET"})(t.strategy||(t.strategy={}))})(TR||(TR={}));var AR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(AR||(AR={}));var xR;(t=>{(e=>{e.ADDED="ADDED",e.MODIFIED="MODIFIED",e.DELETED="DELETED"})(t.changeType||(t.changeType={})),(e=>{e.OVERRIDE="OVERRIDE",e.KEEP_DESTINATION="KEEP_DESTINATION"})(t.resolution||(t.resolution={})),(e=>{e.DRAFTED="DRAFTED",e.REVIEWED="REVIEWED",e.CONFLICT_RESOLVED="CONFLICT_RESOLVED",e.MERGED="MERGED",e.REVERTED="REVERTED"})(t.stage||(t.stage={}))})(xR||(xR={}));var _R;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(_R||(_R={}));var CR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(CR||(CR={}));var NR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(NR||(NR={}));var LR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.EXTENSION_GROUP_ID="extensionGroupId",e.CONNECTION_ID="connectionId",e.OAUTH_FIELD_ID="oAuthFieldId",e.CLIENT_ID="clientId",e.CLIENT_SECRET="clientSecret"})(t.property||(t.property={}))})(LR||(LR={}));var OR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(OR||(OR={}));var DR;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={}))})(DR||(DR={}));var RR;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKITEM="ackitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPMESSAGE="groupmessage"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(RR||(RR={}));var MR;(t=>{(e=>{e.ODETTEIDQUAL_NA="ODETTEIDQUAL_NA",e.ODETTEIDQUAL_1="ODETTEIDQUAL_1",e.ODETTEIDQUAL_4="ODETTEIDQUAL_4",e.ODETTEIDQUAL_5="ODETTEIDQUAL_5",e.ODETTEIDQUAL_8="ODETTEIDQUAL_8",e.ODETTEIDQUAL_9="ODETTEIDQUAL_9",e.ODETTEIDQUAL_12="ODETTEIDQUAL_12",e.ODETTEIDQUAL_14="ODETTEIDQUAL_14",e.ODETTEIDQUAL_18="ODETTEIDQUAL_18",e.ODETTEIDQUAL_22="ODETTEIDQUAL_22",e.ODETTEIDQUAL_30="ODETTEIDQUAL_30",e.ODETTEIDQUAL_31="ODETTEIDQUAL_31",e.ODETTEIDQUAL_33="ODETTEIDQUAL_33",e.ODETTEIDQUAL_34="ODETTEIDQUAL_34",e.ODETTEIDQUAL_51="ODETTEIDQUAL_51",e.ODETTEIDQUAL_52="ODETTEIDQUAL_52",e.ODETTEIDQUAL_53="ODETTEIDQUAL_53",e.ODETTEIDQUAL_54="ODETTEIDQUAL_54",e.ODETTEIDQUAL_55="ODETTEIDQUAL_55",e.ODETTEIDQUAL_57="ODETTEIDQUAL_57",e.ODETTEIDQUAL_58="ODETTEIDQUAL_58",e.ODETTEIDQUAL_59="ODETTEIDQUAL_59",e.ODETTEIDQUAL_61="ODETTEIDQUAL_61",e.ODETTEIDQUAL_63="ODETTEIDQUAL_63",e.ODETTEIDQUAL_65="ODETTEIDQUAL_65",e.ODETTEIDQUAL_80="ODETTEIDQUAL_80",e.ODETTEIDQUAL_82="ODETTEIDQUAL_82",e.ODETTEIDQUAL_84="ODETTEIDQUAL_84",e.ODETTEIDQUAL_85="ODETTEIDQUAL_85",e.ODETTEIDQUAL_86="ODETTEIDQUAL_86",e.ODETTEIDQUAL_87="ODETTEIDQUAL_87",e.ODETTEIDQUAL_89="ODETTEIDQUAL_89",e.ODETTEIDQUAL_90="ODETTEIDQUAL_90",e.ODETTEIDQUAL_91="ODETTEIDQUAL_91",e.ODETTEIDQUAL_92="ODETTEIDQUAL_92",e.ODETTEIDQUAL_103="ODETTEIDQUAL_103",e.ODETTEIDQUAL_128="ODETTEIDQUAL_128",e.ODETTEIDQUAL_129="ODETTEIDQUAL_129",e.ODETTEIDQUAL_144="ODETTEIDQUAL_144",e.ODETTEIDQUAL_145="ODETTEIDQUAL_145",e.ODETTEIDQUAL_146="ODETTEIDQUAL_146",e.ODETTEIDQUAL_147="ODETTEIDQUAL_147",e.ODETTEIDQUAL_148="ODETTEIDQUAL_148",e.ODETTEIDQUAL_Z01="ODETTEIDQUAL_Z01",e.ODETTEIDQUAL_ZZZ="ODETTEIDQUAL_ZZZ",e.ODETTEIDQUAL_ZZ="ODETTEIDQUAL_ZZ"})(t.interchangeIdQual||(t.interchangeIdQual={})),(e=>{e.NA="NA",e.A="A"})(t.priority||(t.priority={})),(e=>{e.NA="NA",e.AA="AA",e.BB="BB"})(t.referencePasswordQualifier||(t.referencePasswordQualifier={})),(e=>{e.UNOA="UNOA",e.UNOB="UNOB",e.UNOC="UNOC",e.UNOD="UNOD",e.UNOE="UNOE",e.UNOF="UNOF"})(t.syntaxId||(t.syntaxId={})),(e=>{e.ODETTESYNTAXVERSION_1="ODETTESYNTAXVERSION_1",e.ODETTESYNTAXVERSION_2="ODETTESYNTAXVERSION_2",e.ODETTESYNTAXVERSION_3="ODETTESYNTAXVERSION_3"})(t.syntaxVersion||(t.syntaxVersion={})),(e=>{e.ODETTETEST_NA="ODETTETEST_NA",e.ODETTETEST_1="ODETTETEST_1"})(t.testIndicator||(t.testIndicator={}))})(MR||(MR={}));var kR;(t=>{(e=>{e.AA="AA",e.AB="AB",e.AC="AC",e.AD="AD",e.AE="AE",e.CC="CC",e.CE="CE",e.EC="EC",e.ED="ED",e.EE="EE",e.EN="EN",e.ER="ER",e.EU="EU",e.EX="EX",e.IA="IA",e.KE="KE",e.LI="LI",e.OD="OD",e.RI="RI",e.RT="RT",e.UN="UN"})(t.controllingAgency||(t.controllingAgency={})),(e=>{e.ODETTERELEASE_1="ODETTERELEASE_1",e.ODETTERELEASE_2="ODETTERELEASE_2",e.ODETTERELEASE_902="ODETTERELEASE_902",e.ODETTERELEASE_911="ODETTERELEASE_911",e.ODETTERELEASE_912="ODETTERELEASE_912",e.ODETTERELEASE_921="ODETTERELEASE_921",e.ODETTERELEASE_932="ODETTERELEASE_932",e.ODETTERELEASE_93A="ODETTERELEASE_93A",e.ODETTERELEASE_94A="ODETTERELEASE_94A",e.ODETTERELEASE_94B="ODETTERELEASE_94B",e.ODETTERELEASE_95A="ODETTERELEASE_95A",e.ODETTERELEASE_95B="ODETTERELEASE_95B",e.ODETTERELEASE_96A="ODETTERELEASE_96A",e.ODETTERELEASE_96B="ODETTERELEASE_96B",e.ODETTERELEASE_97A="ODETTERELEASE_97A",e.ODETTERELEASE_97B="ODETTERELEASE_97B",e.ODETTERELEASE_98A="ODETTERELEASE_98A",e.ODETTERELEASE_98B="ODETTERELEASE_98B",e.ODETTERELEASE_99A="ODETTERELEASE_99A",e.ODETTERELEASE_99B="ODETTERELEASE_99B",e.ODETTERELEASE_00A="ODETTERELEASE_00A",e.ODETTERELEASE_00B="ODETTERELEASE_00B",e.ODETTERELEASE_01A="ODETTERELEASE_01A",e.ODETTERELEASE_01B="ODETTERELEASE_01B",e.ODETTERELEASE_02A="ODETTERELEASE_02A",e.ODETTERELEASE_02B="ODETTERELEASE_02B",e.ODETTERELEASE_03A="ODETTERELEASE_03A",e.ODETTERELEASE_03B="ODETTERELEASE_03B",e.ODETTERELEASE_04A="ODETTERELEASE_04A",e.ODETTERELEASE_04B="ODETTERELEASE_04B",e.ODETTERELEASE_05A="ODETTERELEASE_05A",e.ODETTERELEASE_05B="ODETTERELEASE_05B",e.ODETTERELEASE_06A="ODETTERELEASE_06A",e.ODETTERELEASE_06B="ODETTERELEASE_06B",e.ODETTERELEASE_07A="ODETTERELEASE_07A",e.ODETTERELEASE_07B="ODETTERELEASE_07B",e.ODETTERELEASE_08A="ODETTERELEASE_08A",e.ODETTERELEASE_08B="ODETTERELEASE_08B",e.ODETTERELEASE_09A="ODETTERELEASE_09A",e.ODETTERELEASE_09B="ODETTERELEASE_09B"})(t.release||(t.release={})),(e=>{e.ODETTEVERSION_1="ODETTEVERSION_1",e.ODETTEVERSION_2="ODETTEVERSION_2",e.ODETTEVERSION_4="ODETTEVERSION_4",e.ODETTEVERSION_88="ODETTEVERSION_88",e.ODETTEVERSION_89="ODETTEVERSION_89",e.ODETTEVERSION_90="ODETTEVERSION_90",e.ODETTEVERSION_D="ODETTEVERSION_D",e.ODETTEVERSION_S="ODETTEVERSION_S"})(t.version||(t.version={}))})(kR||(kR={}));var IR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(IR||(IR={}));var $R;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.SFIDDSN="sfiddsn",e.SFIDDATE="sfiddate",e.SFIDTIME="sfidtime",e.SFIDDEST="sfiddest",e.INITIATOR_SSIDCODE="initiator_ssidcode",e.RESPONDER_SSIDCODE="responder_ssidcode",e.SFIDORIG="sfidorig",e.SFIDSEC="sfidsec",e.SFIDCOMP="sfidcomp",e.SFIDCIPH="sfidciph",e.SFIDDESC="sfiddesc",e.SFIDSIGN="sfidsign",e.SFIDOSIZ="sfidosiz",e.SFIDENV="sfidenv",e.STATUS="status",e.ACCOUNT="account",e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.CUSTOM_FIELDS="customFields",e.NAREAS="nareas",e.NAREAST="nareast"})(t.property||(t.property={}))})($R||($R={}));var UR;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(UR||(UR={}));var HR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(HR||(HR={}));var jR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jR||(jR={}));var zR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.CONTACT_NAME="contactName",e.EMAIL="email",e.PHONE="phone"})(t.property||(t.property={}))})(zR||(zR={}));var BR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(BR||(BR={}));var FR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FR||(FR={}));var PR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(PR||(PR={}));var VR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(VR||(VR={}));var GR;(t=>{(e=>{e.DOCUMENTS_PATH="documentsPath",e.ERRORS_PATH="errorsPath"})(t.invalidDocumentRouting||(t.invalidDocumentRouting={}))})(GR||(GR={}));var QR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QR||(QR={}));var WR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ATOM_ID="atomId",e.PROCESS_ID="processId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(WR||(WR={}));var YR;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YR||(YR={}));var XR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XR||(XR={}));var qR;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.PROCESS_ID="processId",e.COMPONENT_TYPE="componentType"})(t.property||(t.property={}))})(qR||(qR={}));var KR;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(KR||(KR={}));var ZR;(t=>{(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(ZR||(ZR={}));var JR;(t=>{(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(JR||(JR={}));var eM;(t=>{(e=>{e.D="D",e.P="P",e.T="T"})(t.processingId||(t.processingId={})),(e=>{e.A="A",e.R="R",e.I="I",e.T="T",e.NOT_PRESENT="NOT_PRESENT"})(t.processingMode||(t.processingMode={}))})(eM||(eM={}));var tM;(t=>{(e=>{e.SEVERE="SEVERE",e.WARNING="WARNING",e.INFO="INFO",e.CONFIG="CONFIG",e.FINE="FINE",e.FINER="FINER",e.FINEST="FINEST",e.ALL="ALL"})(t.logLevel||(t.logLevel={}))})(tM||(tM={}));var nM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(nM||(nM={}));var oM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(oM||(oM={}));var iM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.ATOM_ID="atomId"})(t.property||(t.property={}))})(iM||(iM={}));var rM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(rM||(rM={}));var aM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(aM||(aM={}));var sM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.PROCESS_ID="processId",e.ATOM_ID="atomId"})(t.property||(t.property={}))})(sM||(sM={}));var lM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.ID="id",e.INTEGRATION_PACK_ID="integrationPackId",e.INTEGRATION_PACK_INSTANCE_ID="integrationPackInstanceId"})(t.property||(t.property={}))})(lM||(lM={}));var cM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.ADD="ADD",e.DELETE="DELETE"})(t.operationType||(t.operationType={}))})(cM||(cM={}));var uM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(uM||(uM={}));var dM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(dM||(dM={}));var fM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(fM||(fM={}));var hM;(t=>{(e=>{e.DEPENDENT="DEPENDENT",e.INDEPENDENT="INDEPENDENT"})(t.type||(t.type={}))})(hM||(hM={}));var mM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.IMMEDIATELY="IMMEDIATELY",e.RELEASE_ON_SPECIFIED_DATE="RELEASE_ON_SPECIFIED_DATE"})(t.releaseSchedule||(t.releaseSchedule={}))})(mM||(mM={}));var pM;(t=>{(e=>{e.SINGLE="SINGLE",e.MULTI="MULTI"})(t.installationType||(t.installationType={})),(e=>{e.IMMEDIATELY="IMMEDIATELY",e.RELEASE_ON_SPECIFIED_DATE="RELEASE_ON_SPECIFIED_DATE"})(t.releaseSchedule||(t.releaseSchedule={})),(e=>{e.IN_PROGRESS="IN_PROGRESS",e.SUCCESS="SUCCESS",e.SCHEDULED="SCHEDULED",e.ERROR="ERROR"})(t.releaseStatus||(t.releaseStatus={}))})(pM||(pM={}));var gM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(gM||(gM={}));var bM;(t=>{(e=>{e.CLOUD="Cloud",e.CONNECTOR="Connector",e.DATA_HUB_MODEL="Data Hub Model",e.INTEGRATION_PACK="Integration Pack",e.PUBLISHED_PROCESS="Published Process",e.ROLE="Role"})(t.objectType||(t.objectType={}))})(bM||(bM={}));var vM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(vM||(vM={}));var yM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(yM||(yM={}));var EM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.PARENT_ID="parentId"})(t.property||(t.property={}))})(EM||(EM={}));var wM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(wM||(wM={}));var SM;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.ACK_STATUS="ackStatus",e.ACK_REPORT="ackReport",e.SENDER_ID="senderID",e.RECEIVER_ID="receiverID",e.KNOWN_INITIATING_PARTNER_ID="knownInitiatingPartnerID",e.FRAMEWORK_VERSION="frameworkVersion",e.PIPCODE="PIPCode",e.PIPVERSION="PIPVersion",e.GLOBAL_PROCESS_CODE="globalProcessCode",e.GLOBAL_BUSINESS_ACTION_CODE="globalBusinessActionCode",e.GLOBAL_DOCUMENT_FUNCTION_CODE="globalDocumentFunctionCode",e.FROM_GLOBAL_PARTNER_ROLE_CLASSIFICATION_CODE="fromGlobalPartnerRoleClassificationCode",e.TO_GLOBAL_PARTNER_ROLE_CLASSIFICATION_CODE="toGlobalPartnerRoleClassificationCode",e.FROM_GLOBAL_BUSINESS_SERVICE_CODE="fromGlobalBusinessServiceCode",e.TO_GLOBAL_BUSINESS_SERVICE_CODE="toGlobalBusinessServiceCode",e.BUSINESS_ACTIVITY_IDENTIFIER="businessActivityIdentifier",e.PROCESS_INSTANCE_IDENTIFIER="processInstanceIdentifier",e.TRANSACTION_INSTANCE_IDENTIFIER="transactionInstanceIdentifier",e.ACTION_INSTANCE_IDENTIFIER="actionInstanceIdentifier",e.IN_RESPONSE_TO_GLOBAL_BUSINESS_ACTION_CODE="inResponseToGlobalBusinessActionCode",e.IN_RESPONSE_TO_INSTANCE_IDENTIFIER="inResponseToInstanceIdentifier",e.GLOBAL_USAGE_CODE="globalUsageCode",e.ATTEMPT_COUNT="attemptCount",e.DATE_TIME="dateTime",e.IS_SECURE_TRANSPORT_REQUIRED="isSecureTransportRequired",e.TIME_TO_ACKNOWLEDGE_ACCEPTANCE="timeToAcknowledgeAcceptance",e.TIME_TO_ACKNOWLEDGE_RECEIPT="timeToAcknowledgeReceipt",e.TIME_TO_PERFORM="timeToPerform",e.OUTBOUND_VALIDATION_STATUS="outboundValidationStatus",e.OUTBOUND_VALIDATION_REPORT="outboundValidationReport"})(t.property||(t.property={}))})(SM||(SM={}));var TM;(t=>{(e=>{e.TEST="Test",e.PRODUCTION="Production"})(t.globalUsageCode||(t.globalUsageCode={})),(e=>{e.DUNS="DUNS"})(t.partnerIdType||(t.partnerIdType={}))})(TM||(TM={}));var AM;(t=>{(e=>{e.BINARY="binary",e.BASE64="base64"})(t.contentTransferEncoding||(t.contentTransferEncoding={})),(e=>{e.NA="na",e.TRIPLEDES="tripledes",e.DES="des",e.RC2_128="rc2-128",e.RC2_64="rc2-64",e.RC2_40="rc2-40",e.AES_128="aes-128",e.AES_192="aes-192",e.AES_256="aes-256"})(t.encryptionAlgorithm||(t.encryptionAlgorithm={})),(e=>{e.SHA1="SHA1",e.SHA224="SHA224",e.SHA256="SHA256",e.SHA384="SHA384",e.SHA512="SHA512"})(t.signatureDigestAlgorithm||(t.signatureDigestAlgorithm={}))})(AM||(AM={}));var xM;(t=>{(e=>{e.V11="v11",e.V20="v20"})(t.version||(t.version={}))})(xM||(xM={}));var _M;(t=>{(e=>{e.NEVER="NEVER",e.FIRST="FIRST",e.LAST="LAST"})(t.scheduleType||(t.scheduleType={}))})(_M||(_M={}));var CM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(CM||(CM={}));var pv;(t=>{(e=>{e.CHARACTER="CHARACTER",e.DATETIME="DATETIME",e.FLOAT="FLOAT",e.INTEGER="INTEGER"})(t.dataType||(t.dataType={}))})(pv||(pv={}));var NM;(t=>{(e=>{e.DEFAULT="default",e.CUSTOM="custom",e.COMPONENT="component"})(t.CommunicationSetting||(t.CommunicationSetting={}))})(NM||(NM={}));var LM;(t=>{(e=>{e.ACTIONGET="actionget",e.ACTIONGETDELETE="actiongetdelete",e.ACTIONGETMOVE="actiongetmove"})(t.ftpAction||(t.ftpAction={}))})(LM||(LM={}));var OM;(t=>{(e=>{e.ATOM="ATOM",e.HTTP="HTTP",e.SOCKS4="SOCKS4",e.SOCKS5="SOCKS5"})(t.type||(t.type={}))})(OM||(OM={}));var DM;(t=>{(e=>{e.ACTIONPUTRENAME="actionputrename",e.ACTIONPUTAPPEND="actionputappend",e.ACTIONPUTERROR="actionputerror",e.ACTIONPUTOVERWRITE="actionputoverwrite"})(t.ftpAction||(t.ftpAction={}))})(DM||(DM={}));var RM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(RM||(RM={}));var MM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(MM||(MM={}));var kM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.COMMUNICATION_TYPE="communicationType"})(t.property||(t.property={}))})(kM||(kM={}));var IM;(t=>{(e=>{e.BASIC="basic",e.INTERMEDIATE="intermediate",e.ADVANCED="advanced"})(t.apiType||(t.apiType={})),(e=>{e.NONE="none",e.BASIC="basic"})(t.auth||(t.auth={})),(e=>{e.NONE="none",e.BASIC="basic"})(t.minAuth||(t.minAuth={}))})(IM||(IM={}));var $M;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})($M||($M={}));var UM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(UM||(UM={}));var HM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(HM||(HM={}));var jM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(jM||(jM={}));var zM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ACCOUNT_GROUP_ID="accountGroupId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(zM||(zM={}));var BM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.ENVIRONMENT_ID="environmentId",e.ATOM_ID="atomId",e.PROCESS_DATE="processDate"})(t.property||(t.property={}))})(BM||(BM={}));var FM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(FM||(FM={}));var PM;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.VALIDATION_STATUS="validationStatus",e.VALIDATION_REPORT="validationReport",e.SENDER_NAME="senderName",e.RECEIVER_NAME="receiverName",e.MESSAGE_TYPE="messageType",e.DATE="date",e.TIME="time",e.SENDER_TRANSMISSION_REFERENCE="senderTransmissionReference",e.RECEIVER_TRANSMISSION_REFERENCE="receiverTransmissionReference",e.APPLICATION_REFERENCE="applicationReference",e.TRANSMISSION_PRIORITY_CODE="transmissionPriorityCode",e.FILE_GENERATION_NUMBER="fileGenerationNumber",e.FILE_VERSION_NUMBER="fileVersionNumber"})(t.property||(t.property={}))})(PM||(PM={}));var VM;(t=>{(e=>{e.TRADINGPARTNER="tradingpartner",e.MYCOMPANY="mycompany"})(t.classification||(t.classification={})),(e=>{e.X12="x12",e.EDIFACT="edifact",e.HL7="hl7",e.CUSTOM="custom",e.ROSETTANET="rosettanet",e.TRADACOMS="tradacoms",e.ODETTE="odette"})(t.standard||(t.standard={}))})(VM||(VM={}));var GM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(GM||(GM={}));var QM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(QM||(QM={}));var WM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={})),(e=>{e.NAME="name",e.CLASSIFICATION="classification",e.STANDARD="standard",e.IDENTIFIER="identifier",e.AS2="as2",e.DISK="disk",e.FTP="ftp",e.MLLP="mllp",e.SFTP="sftp",e.HTTP="http",e.OFTP="oftp"})(t.property||(t.property={}))})(WM||(WM={}));var YM;(t=>{(e=>{e.GET="GET",e.DELETE="DELETE",e.UPDATE="UPDATE",e.CREATE="CREATE"})(t.type||(t.type={}))})(YM||(YM={}));var XM;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(XM||(XM={}));var qM;(t=>{(e=>{e.EQUALS="EQUALS",e.LIKE="LIKE",e.NOT_EQUALS="NOT_EQUALS",e.IS_NULL="IS_NULL",e.IS_NOT_NULL="IS_NOT_NULL",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL",e.CONTAINS="CONTAINS",e.NOT_CONTAINS="NOT_CONTAINS"})(t.operator||(t.operator={}))})(qM||(qM={}));var KM;(t=>{(e=>{e.EDIFACTIDQUAL_NA="EDIFACTIDQUAL_NA",e.EDIFACTIDQUAL_1="EDIFACTIDQUAL_1",e.EDIFACTIDQUAL_4="EDIFACTIDQUAL_4",e.EDIFACTIDQUAL_5="EDIFACTIDQUAL_5",e.EDIFACTIDQUAL_8="EDIFACTIDQUAL_8",e.EDIFACTIDQUAL_9="EDIFACTIDQUAL_9",e.EDIFACTIDQUAL_12="EDIFACTIDQUAL_12",e.EDIFACTIDQUAL_14="EDIFACTIDQUAL_14",e.EDIFACTIDQUAL_18="EDIFACTIDQUAL_18",e.EDIFACTIDQUAL_22="EDIFACTIDQUAL_22",e.EDIFACTIDQUAL_30="EDIFACTIDQUAL_30",e.EDIFACTIDQUAL_31="EDIFACTIDQUAL_31",e.EDIFACTIDQUAL_33="EDIFACTIDQUAL_33",e.EDIFACTIDQUAL_34="EDIFACTIDQUAL_34",e.EDIFACTIDQUAL_51="EDIFACTIDQUAL_51",e.EDIFACTIDQUAL_52="EDIFACTIDQUAL_52",e.EDIFACTIDQUAL_53="EDIFACTIDQUAL_53",e.EDIFACTIDQUAL_54="EDIFACTIDQUAL_54",e.EDIFACTIDQUAL_55="EDIFACTIDQUAL_55",e.EDIFACTIDQUAL_57="EDIFACTIDQUAL_57",e.EDIFACTIDQUAL_58="EDIFACTIDQUAL_58",e.EDIFACTIDQUAL_59="EDIFACTIDQUAL_59",e.EDIFACTIDQUAL_61="EDIFACTIDQUAL_61",e.EDIFACTIDQUAL_63="EDIFACTIDQUAL_63",e.EDIFACTIDQUAL_65="EDIFACTIDQUAL_65",e.EDIFACTIDQUAL_80="EDIFACTIDQUAL_80",e.EDIFACTIDQUAL_82="EDIFACTIDQUAL_82",e.EDIFACTIDQUAL_84="EDIFACTIDQUAL_84",e.EDIFACTIDQUAL_85="EDIFACTIDQUAL_85",e.EDIFACTIDQUAL_86="EDIFACTIDQUAL_86",e.EDIFACTIDQUAL_87="EDIFACTIDQUAL_87",e.EDIFACTIDQUAL_89="EDIFACTIDQUAL_89",e.EDIFACTIDQUAL_90="EDIFACTIDQUAL_90",e.EDIFACTIDQUAL_91="EDIFACTIDQUAL_91",e.EDIFACTIDQUAL_92="EDIFACTIDQUAL_92",e.EDIFACTIDQUAL_103="EDIFACTIDQUAL_103",e.EDIFACTIDQUAL_128="EDIFACTIDQUAL_128",e.EDIFACTIDQUAL_129="EDIFACTIDQUAL_129",e.EDIFACTIDQUAL_144="EDIFACTIDQUAL_144",e.EDIFACTIDQUAL_145="EDIFACTIDQUAL_145",e.EDIFACTIDQUAL_146="EDIFACTIDQUAL_146",e.EDIFACTIDQUAL_147="EDIFACTIDQUAL_147",e.EDIFACTIDQUAL_148="EDIFACTIDQUAL_148",e.EDIFACTIDQUAL_Z01="EDIFACTIDQUAL_Z01",e.EDIFACTIDQUAL_ZZZ="EDIFACTIDQUAL_ZZZ",e.EDIFACTIDQUAL_ZZ="EDIFACTIDQUAL_ZZ"})(t.interchangeIdQual||(t.interchangeIdQual={})),(e=>{e.NA="NA",e.A="A"})(t.priority||(t.priority={})),(e=>{e.NA="NA",e.AA="AA",e.BB="BB"})(t.referencePasswordQualifier||(t.referencePasswordQualifier={})),(e=>{e.UNOA="UNOA",e.UNOB="UNOB",e.UNOC="UNOC",e.UNOD="UNOD",e.UNOE="UNOE",e.UNOF="UNOF"})(t.syntaxId||(t.syntaxId={})),(e=>{e.EDIFACTSYNTAXVERSION_1="EDIFACTSYNTAXVERSION_1",e.EDIFACTSYNTAXVERSION_2="EDIFACTSYNTAXVERSION_2",e.EDIFACTSYNTAXVERSION_3="EDIFACTSYNTAXVERSION_3"})(t.syntaxVersion||(t.syntaxVersion={})),(e=>{e.EDIFACTTEST_NA="EDIFACTTEST_NA",e.EDIFACTTEST_1="EDIFACTTEST_1"})(t.testIndicator||(t.testIndicator={}))})(KM||(KM={}));var ZM;(t=>{(e=>{e.EDIFACTIDQUAL_NA="EDIFACTIDQUAL_NA",e.EDIFACTIDQUAL_1="EDIFACTIDQUAL_1",e.EDIFACTIDQUAL_4="EDIFACTIDQUAL_4",e.EDIFACTIDQUAL_5="EDIFACTIDQUAL_5",e.EDIFACTIDQUAL_8="EDIFACTIDQUAL_8",e.EDIFACTIDQUAL_9="EDIFACTIDQUAL_9",e.EDIFACTIDQUAL_12="EDIFACTIDQUAL_12",e.EDIFACTIDQUAL_14="EDIFACTIDQUAL_14",e.EDIFACTIDQUAL_18="EDIFACTIDQUAL_18",e.EDIFACTIDQUAL_22="EDIFACTIDQUAL_22",e.EDIFACTIDQUAL_30="EDIFACTIDQUAL_30",e.EDIFACTIDQUAL_31="EDIFACTIDQUAL_31",e.EDIFACTIDQUAL_33="EDIFACTIDQUAL_33",e.EDIFACTIDQUAL_34="EDIFACTIDQUAL_34",e.EDIFACTIDQUAL_51="EDIFACTIDQUAL_51",e.EDIFACTIDQUAL_52="EDIFACTIDQUAL_52",e.EDIFACTIDQUAL_53="EDIFACTIDQUAL_53",e.EDIFACTIDQUAL_54="EDIFACTIDQUAL_54",e.EDIFACTIDQUAL_55="EDIFACTIDQUAL_55",e.EDIFACTIDQUAL_57="EDIFACTIDQUAL_57",e.EDIFACTIDQUAL_58="EDIFACTIDQUAL_58",e.EDIFACTIDQUAL_59="EDIFACTIDQUAL_59",e.EDIFACTIDQUAL_61="EDIFACTIDQUAL_61",e.EDIFACTIDQUAL_63="EDIFACTIDQUAL_63",e.EDIFACTIDQUAL_65="EDIFACTIDQUAL_65",e.EDIFACTIDQUAL_80="EDIFACTIDQUAL_80",e.EDIFACTIDQUAL_82="EDIFACTIDQUAL_82",e.EDIFACTIDQUAL_84="EDIFACTIDQUAL_84",e.EDIFACTIDQUAL_85="EDIFACTIDQUAL_85",e.EDIFACTIDQUAL_86="EDIFACTIDQUAL_86",e.EDIFACTIDQUAL_87="EDIFACTIDQUAL_87",e.EDIFACTIDQUAL_89="EDIFACTIDQUAL_89",e.EDIFACTIDQUAL_90="EDIFACTIDQUAL_90",e.EDIFACTIDQUAL_91="EDIFACTIDQUAL_91",e.EDIFACTIDQUAL_92="EDIFACTIDQUAL_92",e.EDIFACTIDQUAL_103="EDIFACTIDQUAL_103",e.EDIFACTIDQUAL_128="EDIFACTIDQUAL_128",e.EDIFACTIDQUAL_129="EDIFACTIDQUAL_129",e.EDIFACTIDQUAL_144="EDIFACTIDQUAL_144",e.EDIFACTIDQUAL_145="EDIFACTIDQUAL_145",e.EDIFACTIDQUAL_146="EDIFACTIDQUAL_146",e.EDIFACTIDQUAL_147="EDIFACTIDQUAL_147",e.EDIFACTIDQUAL_148="EDIFACTIDQUAL_148",e.EDIFACTIDQUAL_Z01="EDIFACTIDQUAL_Z01",e.EDIFACTIDQUAL_ZZZ="EDIFACTIDQUAL_ZZZ",e.EDIFACTIDQUAL_ZZ="EDIFACTIDQUAL_ZZ"})(t.applicationIdQual||(t.applicationIdQual={}))})(ZM||(ZM={}));var JM;(t=>{(e=>{e.AA="AA",e.AB="AB",e.AC="AC",e.AD="AD",e.AE="AE",e.CC="CC",e.CE="CE",e.EC="EC",e.ED="ED",e.EE="EE",e.EN="EN",e.ER="ER",e.EU="EU",e.EX="EX",e.IA="IA",e.KE="KE",e.LI="LI",e.OD="OD",e.RI="RI",e.RT="RT",e.UN="UN"})(t.controllingAgency||(t.controllingAgency={})),(e=>{e.EDIFACTRELEASE_1="EDIFACTRELEASE_1",e.EDIFACTRELEASE_2="EDIFACTRELEASE_2",e.EDIFACTRELEASE_902="EDIFACTRELEASE_902",e.EDIFACTRELEASE_911="EDIFACTRELEASE_911",e.EDIFACTRELEASE_912="EDIFACTRELEASE_912",e.EDIFACTRELEASE_921="EDIFACTRELEASE_921",e.EDIFACTRELEASE_932="EDIFACTRELEASE_932",e.EDIFACTRELEASE_93A="EDIFACTRELEASE_93A",e.EDIFACTRELEASE_94A="EDIFACTRELEASE_94A",e.EDIFACTRELEASE_94B="EDIFACTRELEASE_94B",e.EDIFACTRELEASE_95A="EDIFACTRELEASE_95A",e.EDIFACTRELEASE_95B="EDIFACTRELEASE_95B",e.EDIFACTRELEASE_96A="EDIFACTRELEASE_96A",e.EDIFACTRELEASE_96B="EDIFACTRELEASE_96B",e.EDIFACTRELEASE_97A="EDIFACTRELEASE_97A",e.EDIFACTRELEASE_97B="EDIFACTRELEASE_97B",e.EDIFACTRELEASE_98A="EDIFACTRELEASE_98A",e.EDIFACTRELEASE_98B="EDIFACTRELEASE_98B",e.EDIFACTRELEASE_99A="EDIFACTRELEASE_99A",e.EDIFACTRELEASE_99B="EDIFACTRELEASE_99B",e.EDIFACTRELEASE_00A="EDIFACTRELEASE_00A",e.EDIFACTRELEASE_00B="EDIFACTRELEASE_00B",e.EDIFACTRELEASE_01A="EDIFACTRELEASE_01A",e.EDIFACTRELEASE_01B="EDIFACTRELEASE_01B",e.EDIFACTRELEASE_02A="EDIFACTRELEASE_02A",e.EDIFACTRELEASE_02B="EDIFACTRELEASE_02B",e.EDIFACTRELEASE_03A="EDIFACTRELEASE_03A",e.EDIFACTRELEASE_03B="EDIFACTRELEASE_03B",e.EDIFACTRELEASE_04A="EDIFACTRELEASE_04A",e.EDIFACTRELEASE_04B="EDIFACTRELEASE_04B",e.EDIFACTRELEASE_05A="EDIFACTRELEASE_05A",e.EDIFACTRELEASE_05B="EDIFACTRELEASE_05B",e.EDIFACTRELEASE_06A="EDIFACTRELEASE_06A",e.EDIFACTRELEASE_06B="EDIFACTRELEASE_06B",e.EDIFACTRELEASE_07A="EDIFACTRELEASE_07A",e.EDIFACTRELEASE_07B="EDIFACTRELEASE_07B",e.EDIFACTRELEASE_08A="EDIFACTRELEASE_08A",e.EDIFACTRELEASE_08B="EDIFACTRELEASE_08B",e.EDIFACTRELEASE_09A="EDIFACTRELEASE_09A",e.EDIFACTRELEASE_09B="EDIFACTRELEASE_09B"})(t.release||(t.release={})),(e=>{e.EDIFACTVERSION_1="EDIFACTVERSION_1",e.EDIFACTVERSION_2="EDIFACTVERSION_2",e.EDIFACTVERSION_4="EDIFACTVERSION_4",e.EDIFACTVERSION_88="EDIFACTVERSION_88",e.EDIFACTVERSION_89="EDIFACTVERSION_89",e.EDIFACTVERSION_90="EDIFACTVERSION_90",e.EDIFACTVERSION_D="EDIFACTVERSION_D",e.EDIFACTVERSION_S="EDIFACTVERSION_S"})(t.version||(t.version={}))})(JM||(JM={}));var e2;(t=>{(e=>{e.AND="and",e.OR="or"})(t.operator||(t.operator={}))})(e2||(e2={}));var t2;(t=>{(e=>{e.EQUALS="EQUALS",e.STARTS_WITH="STARTS_WITH",e.BETWEEN="BETWEEN",e.GREATER_THAN="GREATER_THAN",e.GREATER_THAN_OR_EQUAL="GREATER_THAN_OR_EQUAL",e.LESS_THAN="LESS_THAN",e.LESS_THAN_OR_EQUAL="LESS_THAN_OR_EQUAL"})(t.operator||(t.operator={})),(e=>{e.EXECUTION_ID="executionId",e.ATOM_ID="atomId",e.DATE_PROCESSED="dateProcessed",e.ID="id",e.ACTION_TYPE="actionType",e.CONNECTOR_TYPE="connectorType",e.CONNECTOR_NAME="connectorName",e.OPERATION_NAME="operationName",e.DOCUMENT_INDEX="documentIndex",e.SUCCESSFUL="successful",e.SIZE="size",e.ERROR_MESSAGE="errorMessage",e.ISA_ACK_STATUS="isaAckStatus",e.ISA_ACK_REPORT="isaAckReport",e.ACK_STATUS="ackStatus",e.ACK_REPORT="ackReport",e.ISA_CONTROL="isaControl",e.GS_CONTROL="gsControl",e.ST_CONTROL="stControl",e.FUNCTIONAL_ID="functionalID",e.TRANSACTION_SET="transactionSet",e.TEST_INDICATOR="testIndicator",e.SENDER_IDQUALIFIER="senderIDQualifier",e.SENDER_ID="senderID",e.RECEIVER_IDQUALIFIER="receiverIDQualifier",e.RECEIVER_ID="receiverID",e.APP_SENDER_ID="appSenderID",e.APP_RECEIVER_ID="appReceiverID",e.STANDARD_ID="standardID",e.STANDARD="standard",e.GS_VERSION="gsVersion",e.AGENCY_CODE="agencyCode",e.GS_DATE="gsDate",e.GS_TIME="gsTime",e.OUTBOUND_VALIDATION_STATUS="outboundValidationStatus",e.OUTBOUND_VALIDATION_REPORT="outboundValidationReport"})(t.property||(t.property={}))})(t2||(t2={}));var n2;(t=>{(e=>{e.DONOTACKITEM="donotackitem",e.ACKFUNCITEM="ackfuncitem",e.ACKTRANITEM="acktranitem"})(t.acknowledgementoption||(t.acknowledgementoption={})),(e=>{e.GROUPALL="groupall",e.GROUPFG="groupfg",e.GROUPST="groupst"})(t.envelopeoption||(t.envelopeoption={})),(e=>{e.FILTER_ERROR="filterError",e.FAIL_ALL="failAll"})(t.outboundValidationOption||(t.outboundValidationOption={}))})(n2||(n2={}));/**
372
372
  * Boomi EmbedKit-SDK Component
373
373
  *
374
374
  * @license BSD-2-Clause
@@ -1401,7 +1401,7 @@ object-assign
1401
1401
  (c) Sindre Sorhus
1402
1402
  @license MIT
1403
1403
  */var GA,RI;function oF(){if(RI)return GA;RI=1;var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(p){if(p==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(p)}function E(){try{if(!Object.assign)return!1;var p=new String("abc");if(p[5]="de",Object.getOwnPropertyNames(p)[0]==="5")return!1;for(var g={},y=0;y<10;y++)g["_"+String.fromCharCode(y)]=y;var f=Object.getOwnPropertyNames(g).map(function(c){return g[c]});if(f.join("")!=="0123456789")return!1;var b={};return"abcdefghijklmnopqrst".split("").forEach(function(c){b[c]=c}),Object.keys(Object.assign({},b)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return GA=E()?Object.assign:function(p,g){for(var y,f=a(p),b,c=1;c<arguments.length;c++){y=Object(arguments[c]);for(var u in y)e.call(y,u)&&(f[u]=y[u]);if(t){b=t(y);for(var d=0;d<b.length;d++)i.call(y,b[d])&&(f[b[d]]=y[b[d]])}}return f},GA}var QA,MI;function WA(){if(MI)return QA;MI=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return QA=t,QA}var YA,kI;function II(){return kI||(kI=1,YA=Function.call.bind(Object.prototype.hasOwnProperty)),YA}var XA,$I;function iF(){if($I)return XA;$I=1;var t=function(){};if(process.env.NODE_ENV!=="production"){var e=WA(),i={},a=II();t=function(p){var g="Warning: "+p;typeof console<"u"&&console.error(g);try{throw new Error(g)}catch{}}}function E(p,g,y,f,b){if(process.env.NODE_ENV!=="production"){for(var c in p)if(a(p,c)){var u;try{if(typeof p[c]!="function"){var d=Error((f||"React class")+": "+y+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof p[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}u=p[c](g,c,f,y,null,e)}catch(m){u=m}if(u&&!(u instanceof Error)&&t((f||"React class")+": type specification of "+y+" `"+c+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". 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 instanceof Error&&!(u.message in i)){i[u.message]=!0;var h=b?b():"";t("Failed "+y+" type: "+u.message+(h??""))}}}}return E.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},XA=E,XA}var qA,UI;function rF(){if(UI)return qA;UI=1;var t=DI(),e=oF(),i=WA(),a=II(),E=iF(),p=function(){};process.env.NODE_ENV!=="production"&&(p=function(y){var f="Warning: "+y;typeof console<"u"&&console.error(f);try{throw new Error(f)}catch{}});function g(){return null}return qA=function(y,f){var b=typeof Symbol=="function"&&Symbol.iterator,c="@@iterator";function u(K){var Z=K&&(b&&K[b]||K[c]);if(typeof Z=="function")return Z}var d="<<anonymous>>",h={array:A("array"),bigint:A("bigint"),bool:A("boolean"),func:A("function"),number:A("number"),object:A("object"),string:A("string"),symbol:A("symbol"),any:N(),arrayOf:D,element:R(),elementType:L(),instanceOf:C,node:j(),objectOf:F,oneOf:$,oneOfType:U,shape:P,exact:B};function m(K,Z){return K===Z?K!==0||1/K===1/Z:K!==K&&Z!==Z}function S(K,Z){this.message=K,this.data=Z&&typeof Z=="object"?Z:{},this.stack=""}S.prototype=Error.prototype;function T(K){if(process.env.NODE_ENV!=="production")var Z={},re=0;function te(se,ie,ue,me,ve,pe,ye){if(me=me||d,pe=pe||ue,ye!==i){if(f){var de=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 de.name="Invariant Violation",de}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ve=me+":"+ue;!Z[Ve]&&re<3&&(p("You are manually calling a React.PropTypes validation function for the `"+pe+"` prop on `"+me+"`. 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."),Z[Ve]=!0,re++)}}return ie[ue]==null?se?ie[ue]===null?new S("The "+ve+" `"+pe+"` is marked as required "+("in `"+me+"`, but its value is `null`.")):new S("The "+ve+" `"+pe+"` is marked as required in "+("`"+me+"`, but its value is `undefined`.")):null:K(ie,ue,me,ve,pe)}var ae=te.bind(null,!1);return ae.isRequired=te.bind(null,!0),ae}function A(K){function Z(re,te,ae,se,ie,ue){var me=re[te],ve=I(me);if(ve!==K){var pe=W(me);return new S("Invalid "+se+" `"+ie+"` of type "+("`"+pe+"` supplied to `"+ae+"`, expected ")+("`"+K+"`."),{expectedType:K})}return null}return T(Z)}function N(){return T(g)}function D(K){function Z(re,te,ae,se,ie){if(typeof K!="function")return new S("Property `"+ie+"` of component `"+ae+"` has invalid PropType notation inside arrayOf.");var ue=re[te];if(!Array.isArray(ue)){var me=I(ue);return new S("Invalid "+se+" `"+ie+"` of type "+("`"+me+"` supplied to `"+ae+"`, expected an array."))}for(var ve=0;ve<ue.length;ve++){var pe=K(ue,ve,ae,se,ie+"["+ve+"]",i);if(pe instanceof Error)return pe}return null}return T(Z)}function R(){function K(Z,re,te,ae,se){var ie=Z[re];if(!y(ie)){var ue=I(ie);return new S("Invalid "+ae+" `"+se+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement."))}return null}return T(K)}function L(){function K(Z,re,te,ae,se){var ie=Z[re];if(!t.isValidElementType(ie)){var ue=I(ie);return new S("Invalid "+ae+" `"+se+"` of type "+("`"+ue+"` supplied to `"+te+"`, expected a single ReactElement type."))}return null}return T(K)}function C(K){function Z(re,te,ae,se,ie){if(!(re[te]instanceof K)){var ue=K.name||d,me=J(re[te]);return new S("Invalid "+se+" `"+ie+"` of type "+("`"+me+"` supplied to `"+ae+"`, expected ")+("instance of `"+ue+"`."))}return null}return T(Z)}function $(K){if(!Array.isArray(K))return process.env.NODE_ENV!=="production"&&(arguments.length>1?p("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])."):p("Invalid argument supplied to oneOf, expected an array.")),g;function Z(re,te,ae,se,ie){for(var ue=re[te],me=0;me<K.length;me++)if(m(ue,K[me]))return null;var ve=JSON.stringify(K,function(ye,de){var Ve=W(de);return Ve==="symbol"?String(de):de});return new S("Invalid "+se+" `"+ie+"` of value `"+String(ue)+"` "+("supplied to `"+ae+"`, expected one of "+ve+"."))}return T(Z)}function F(K){function Z(re,te,ae,se,ie){if(typeof K!="function")return new S("Property `"+ie+"` of component `"+ae+"` has invalid PropType notation inside objectOf.");var ue=re[te],me=I(ue);if(me!=="object")return new S("Invalid "+se+" `"+ie+"` of type "+("`"+me+"` supplied to `"+ae+"`, expected an object."));for(var ve in ue)if(a(ue,ve)){var pe=K(ue,ve,ae,se,ie+"."+ve,i);if(pe instanceof Error)return pe}return null}return T(Z)}function U(K){if(!Array.isArray(K))return process.env.NODE_ENV!=="production"&&p("Invalid argument supplied to oneOfType, expected an instance of array."),g;for(var Z=0;Z<K.length;Z++){var re=K[Z];if(typeof re!="function")return p("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Q(re)+" at index "+Z+"."),g}function te(ae,se,ie,ue,me){for(var ve=[],pe=0;pe<K.length;pe++){var ye=K[pe],de=ye(ae,se,ie,ue,me,i);if(de==null)return null;de.data&&a(de.data,"expectedType")&&ve.push(de.data.expectedType)}var Ve=ve.length>0?", expected one of type ["+ve.join(", ")+"]":"";return new S("Invalid "+ue+" `"+me+"` supplied to "+("`"+ie+"`"+Ve+"."))}return T(te)}function j(){function K(Z,re,te,ae,se){return k(Z[re])?null:new S("Invalid "+ae+" `"+se+"` supplied to "+("`"+te+"`, expected a ReactNode."))}return T(K)}function X(K,Z,re,te,ae){return new S((K||"React class")+": "+Z+" type `"+re+"."+te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ae+"`.")}function P(K){function Z(re,te,ae,se,ie){var ue=re[te],me=I(ue);if(me!=="object")return new S("Invalid "+se+" `"+ie+"` of type `"+me+"` "+("supplied to `"+ae+"`, expected `object`."));for(var ve in K){var pe=K[ve];if(typeof pe!="function")return X(ae,se,ie,ve,W(pe));var ye=pe(ue,ve,ae,se,ie+"."+ve,i);if(ye)return ye}return null}return T(Z)}function B(K){function Z(re,te,ae,se,ie){var ue=re[te],me=I(ue);if(me!=="object")return new S("Invalid "+se+" `"+ie+"` of type `"+me+"` "+("supplied to `"+ae+"`, expected `object`."));var ve=e({},re[te],K);for(var pe in ve){var ye=K[pe];if(a(K,pe)&&typeof ye!="function")return X(ae,se,ie,pe,W(ye));if(!ye)return new S("Invalid "+se+" `"+ie+"` key `"+pe+"` supplied to `"+ae+"`.\nBad object: "+JSON.stringify(re[te],null," ")+`
1404
- Valid keys: `+JSON.stringify(Object.keys(K),null," "));var de=ye(ue,pe,ae,se,ie+"."+pe,i);if(de)return de}return null}return T(Z)}function k(K){switch(typeof K){case"number":case"string":case"undefined":return!0;case"boolean":return!K;case"object":if(Array.isArray(K))return K.every(k);if(K===null||y(K))return!0;var Z=u(K);if(Z){var re=Z.call(K),te;if(Z!==K.entries){for(;!(te=re.next()).done;)if(!k(te.value))return!1}else for(;!(te=re.next()).done;){var ae=te.value;if(ae&&!k(ae[1]))return!1}}else return!1;return!0;default:return!1}}function M(K,Z){return K==="symbol"?!0:Z?Z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Z instanceof Symbol:!1}function I(K){var Z=typeof K;return Array.isArray(K)?"array":K instanceof RegExp?"object":M(Z,K)?"symbol":Z}function W(K){if(typeof K>"u"||K===null)return""+K;var Z=I(K);if(Z==="object"){if(K instanceof Date)return"date";if(K instanceof RegExp)return"regexp"}return Z}function Q(K){var Z=W(K);switch(Z){case"array":case"object":return"an "+Z;case"boolean":case"date":case"regexp":return"a "+Z;default:return Z}}function J(K){return!K.constructor||!K.constructor.name?d:K.constructor.name}return h.checkPropTypes=E,h.resetWarningCache=E.resetWarningCache,h.PropTypes=h,h},qA}var KA,HI;function aF(){if(HI)return KA;HI=1;var t=WA();function e(){}function i(){}return i.resetWarningCache=e,KA=function(){function a(g,y,f,b,c,u){if(u!==t){var d=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 d.name="Invariant Violation",d}}a.isRequired=a;function E(){return a}var p={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:E,element:a,elementType:a,instanceOf:E,node:a,objectOf:E,oneOf:E,oneOfType:E,shape:E,exact:E,checkPropTypes:i,resetWarningCache:e};return p.PropTypes=p,p},KA}var jI;function ZA(){if(jI)return Hw.exports;if(jI=1,process.env.NODE_ENV!=="production"){var t=DI(),e=!0;Hw.exports=rF()(t.isElement,e)}else Hw.exports=aF()();return Hw.exports}var Iv={exports:{}};Iv.exports;var zI;function BI(){return zI||(zI=1,(function(t,e){var i=200,a="__lodash_hash_undefined__",E=1,p=2,g=9007199254740991,y="[object Arguments]",f="[object Array]",b="[object AsyncFunction]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",S="[object Map]",T="[object Number]",A="[object Null]",N="[object Object]",D="[object Promise]",R="[object Proxy]",L="[object RegExp]",C="[object Set]",$="[object String]",F="[object Symbol]",U="[object Undefined]",j="[object WeakMap]",X="[object ArrayBuffer]",P="[object DataView]",B="[object Float32Array]",k="[object Float64Array]",M="[object Int8Array]",I="[object Int16Array]",W="[object Int32Array]",Q="[object Uint8Array]",J="[object Uint8ClampedArray]",K="[object Uint16Array]",Z="[object Uint32Array]",re=/[\\^$.*+?()[\]{}|]/g,te=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,se={};se[B]=se[k]=se[M]=se[I]=se[W]=se[Q]=se[J]=se[K]=se[Z]=!0,se[y]=se[f]=se[X]=se[c]=se[P]=se[u]=se[d]=se[h]=se[S]=se[T]=se[N]=se[L]=se[C]=se[$]=se[j]=!1;var ie=typeof ac=="object"&&ac&&ac.Object===Object&&ac,ue=typeof self=="object"&&self&&self.Object===Object&&self,me=ie||ue||Function("return this")(),ve=e&&!e.nodeType&&e,pe=ve&&!0&&t&&!t.nodeType&&t,ye=pe&&pe.exports===ve,de=ye&&ie.process,Ve=(function(){try{return de&&de.binding&&de.binding("util")}catch{}})(),Re=Ve&&Ve.isTypedArray;function qe(ce,_e){for(var Xe=-1,lt=ce==null?0:ce.length,Cn=0,Qt=[];++Xe<lt;){var Kn=ce[Xe];_e(Kn,Xe,ce)&&(Qt[Cn++]=Kn)}return Qt}function et(ce,_e){for(var Xe=-1,lt=_e.length,Cn=ce.length;++Xe<lt;)ce[Cn+Xe]=_e[Xe];return ce}function mt(ce,_e){for(var Xe=-1,lt=ce==null?0:ce.length;++Xe<lt;)if(_e(ce[Xe],Xe,ce))return!0;return!1}function xt(ce,_e){for(var Xe=-1,lt=Array(ce);++Xe<ce;)lt[Xe]=_e(Xe);return lt}function $t(ce){return function(_e){return ce(_e)}}function ze(ce,_e){return ce.has(_e)}function tt(ce,_e){return ce==null?void 0:ce[_e]}function ct(ce){var _e=-1,Xe=Array(ce.size);return ce.forEach(function(lt,Cn){Xe[++_e]=[Cn,lt]}),Xe}function gt(ce,_e){return function(Xe){return ce(_e(Xe))}}function at(ce){var _e=-1,Xe=Array(ce.size);return ce.forEach(function(lt){Xe[++_e]=lt}),Xe}var Le=Array.prototype,je=Function.prototype,it=Object.prototype,rt=me["__core-js_shared__"],vt=je.toString,St=it.hasOwnProperty,Nt=(function(){var ce=/[^.]+$/.exec(rt&&rt.keys&&rt.keys.IE_PROTO||"");return ce?"Symbol(src)_1."+ce:""})(),an=it.toString,Ot=RegExp("^"+vt.call(St).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=ye?me.Buffer:void 0,Et=me.Symbol,xe=me.Uint8Array,Ge=it.propertyIsEnumerable,bt=Le.splice,Mt=Et?Et.toStringTag:void 0,ut=Object.getOwnPropertySymbols,yt=_t?_t.isBuffer:void 0,Ht=gt(Object.keys,Object),jt=Ii(me,"DataView"),Ce=Ii(me,"Map"),Ze=Ii(me,"Promise"),ft=Ii(me,"Set"),Tt=Ii(me,"WeakMap"),kt=Ii(Object,"create"),tn=Ta(jt),Gt=Ta(Ce),sn=Ta(Ze),On=Ta(ft),Xt=Ta(Tt),Je=Et?Et.prototype:void 0,Vn=Je?Je.valueOf:void 0;function Lt(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function ai(){this.__data__=kt?kt(null):{},this.size=0}function Eo(ce){var _e=this.has(ce)&&delete this.__data__[ce];return this.size-=_e?1:0,_e}function qt(ce){var _e=this.__data__;if(kt){var Xe=_e[ce];return Xe===a?void 0:Xe}return St.call(_e,ce)?_e[ce]:void 0}function Gn(ce){var _e=this.__data__;return kt?_e[ce]!==void 0:St.call(_e,ce)}function Fo(ce,_e){var Xe=this.__data__;return this.size+=this.has(ce)?0:1,Xe[ce]=kt&&_e===void 0?a:_e,this}Lt.prototype.clear=ai,Lt.prototype.delete=Eo,Lt.prototype.get=qt,Lt.prototype.has=Gn,Lt.prototype.set=Fo;function po(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function ki(){this.__data__=[],this.size=0}function Lr(ce){var _e=this.__data__,Xe=yi(_e,ce);if(Xe<0)return!1;var lt=_e.length-1;return Xe==lt?_e.pop():bt.call(_e,Xe,1),--this.size,!0}function nt(ce){var _e=this.__data__,Xe=yi(_e,ce);return Xe<0?void 0:_e[Xe][1]}function Ee(ce){return yi(this.__data__,ce)>-1}function Ke(ce,_e){var Xe=this.__data__,lt=yi(Xe,ce);return lt<0?(++this.size,Xe.push([ce,_e])):Xe[lt][1]=_e,this}po.prototype.clear=ki,po.prototype.delete=Lr,po.prototype.get=nt,po.prototype.has=Ee,po.prototype.set=Ke;function st(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function on(){this.size=0,this.__data__={hash:new Lt,map:new(Ce||po),string:new Lt}}function eo(ce){var _e=Ac(this,ce).delete(ce);return this.size-=_e?1:0,_e}function Dn(ce){return Ac(this,ce).get(ce)}function ot(ce){return Ac(this,ce).has(ce)}function vn(ce,_e){var Xe=Ac(this,ce),lt=Xe.size;return Xe.set(ce,_e),this.size+=Xe.size==lt?0:1,this}st.prototype.clear=on,st.prototype.delete=eo,st.prototype.get=Dn,st.prototype.has=ot,st.prototype.set=vn;function yn(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.__data__=new st;++_e<Xe;)this.add(ce[_e])}function vi(ce){return this.__data__.set(ce,a),this}function Rn(ce){return this.__data__.has(ce)}yn.prototype.add=yn.prototype.push=vi,yn.prototype.has=Rn;function si(ce){var _e=this.__data__=new po(ce);this.size=_e.size}function Sa(){this.__data__=new po,this.size=0}function yc(ce){var _e=this.__data__,Xe=_e.delete(ce);return this.size=_e.size,Xe}function Ec(ce){return this.__data__.get(ce)}function wc(ce){return this.__data__.has(ce)}function Qd(ce,_e){var Xe=this.__data__;if(Xe instanceof po){var lt=Xe.__data__;if(!Ce||lt.length<i-1)return lt.push([ce,_e]),this.size=++Xe.size,this;Xe=this.__data__=new st(lt)}return Xe.set(ce,_e),this.size=Xe.size,this}si.prototype.clear=Sa,si.prototype.delete=yc,si.prototype.get=Ec,si.prototype.has=wc,si.prototype.set=Qd;function Za(ce,_e){var Xe=xa(ce),lt=!Xe&&Aa(ce),Cn=!Xe&&!lt&&zs(ce),Qt=!Xe&&!lt&&!Cn&&Na(ce),Kn=Xe||lt||Cn||Qt,Ko=Kn?xt(ce.length,String):[],Vo=Ko.length;for(var so in ce)St.call(ce,so)&&!(Kn&&(so=="length"||Cn&&(so=="offset"||so=="parent")||Qt&&(so=="buffer"||so=="byteLength"||so=="byteOffset")||Fh(so,Vo)))&&Ko.push(so);return Ko}function yi(ce,_e){for(var Xe=ce.length;Xe--;)if(yu(ce[Xe][0],_e))return Xe;return-1}function Wd(ce,_e,Xe){var lt=_e(ce);return xa(ce)?lt:et(lt,Xe(ce))}function Rl(ce){return ce==null?ce===void 0?U:A:Mt&&Mt in Object(ce)?ng(ce):Kr(ce)}function pu(ce){return Ca(ce)&&Rl(ce)==y}function Yd(ce,_e,Xe,lt,Cn){return ce===_e?!0:ce==null||_e==null||!Ca(ce)&&!Ca(_e)?ce!==ce&&_e!==_e:gu(ce,_e,Xe,lt,Yd,Cn)}function gu(ce,_e,Xe,lt,Cn,Qt){var Kn=xa(ce),Ko=xa(_e),Vo=Kn?f:Ja(ce),so=Ko?f:Ja(_e);Vo=Vo==y?N:Vo,so=so==y?N:so;var li=Vo==N,Vi=so==N,No=Vo==so;if(No&&zs(ce)){if(!zs(_e))return!1;Kn=!0,li=!1}if(No&&!li)return Qt||(Qt=new si),Kn||Na(ce)?Sc(ce,_e,Xe,lt,Cn,Qt):Ml(ce,_e,Vo,Xe,lt,Cn,Qt);if(!(Xe&E)){var or=li&&St.call(ce,"__wrapped__"),ir=Vi&&St.call(_e,"__wrapped__");if(or||ir){var es=or?ce.value():ce,Dr=ir?_e.value():_e;return Qt||(Qt=new si),Cn(es,Dr,Xe,lt,Qt)}}return No?(Qt||(Qt=new si),Tc(ce,_e,Xe,lt,Cn,Qt)):!1}function g0(ce){if(!xc(ce)||vu(ce))return!1;var _e=Po(ce)?Ot:te;return _e.test(Ta(ce))}function nr(ce){return Ca(ce)&&_a(ce.length)&&!!se[Rl(ce)]}function bu(ce){if(!Or(ce))return Ht(ce);var _e=[];for(var Xe in Object(ce))St.call(ce,Xe)&&Xe!="constructor"&&_e.push(Xe);return _e}function Sc(ce,_e,Xe,lt,Cn,Qt){var Kn=Xe&E,Ko=ce.length,Vo=_e.length;if(Ko!=Vo&&!(Kn&&Vo>Ko))return!1;var so=Qt.get(ce);if(so&&Qt.get(_e))return so==_e;var li=-1,Vi=!0,No=Xe&p?new yn:void 0;for(Qt.set(ce,_e),Qt.set(_e,ce);++li<Ko;){var or=ce[li],ir=_e[li];if(lt)var es=Kn?lt(ir,or,li,_e,ce,Qt):lt(or,ir,li,ce,_e,Qt);if(es!==void 0){if(es)continue;Vi=!1;break}if(No){if(!mt(_e,function(Dr,ts){if(!ze(No,ts)&&(or===Dr||Cn(or,Dr,Xe,lt,Qt)))return No.push(ts)})){Vi=!1;break}}else if(!(or===ir||Cn(or,ir,Xe,lt,Qt))){Vi=!1;break}}return Qt.delete(ce),Qt.delete(_e),Vi}function Ml(ce,_e,Xe,lt,Cn,Qt,Kn){switch(Xe){case P:if(ce.byteLength!=_e.byteLength||ce.byteOffset!=_e.byteOffset)return!1;ce=ce.buffer,_e=_e.buffer;case X:return!(ce.byteLength!=_e.byteLength||!Qt(new xe(ce),new xe(_e)));case c:case u:case T:return yu(+ce,+_e);case d:return ce.name==_e.name&&ce.message==_e.message;case L:case $:return ce==_e+"";case S:var Ko=ct;case C:var Vo=lt&E;if(Ko||(Ko=at),ce.size!=_e.size&&!Vo)return!1;var so=Kn.get(ce);if(so)return so==_e;lt|=p,Kn.set(ce,_e);var li=Sc(Ko(ce),Ko(_e),lt,Cn,Qt,Kn);return Kn.delete(ce),li;case F:if(Vn)return Vn.call(ce)==Vn.call(_e)}return!1}function Tc(ce,_e,Xe,lt,Cn,Qt){var Kn=Xe&E,Ko=Xd(ce),Vo=Ko.length,so=Xd(_e),li=so.length;if(Vo!=li&&!Kn)return!1;for(var Vi=Vo;Vi--;){var No=Ko[Vi];if(!(Kn?No in _e:St.call(_e,No)))return!1}var or=Qt.get(ce);if(or&&Qt.get(_e))return or==_e;var ir=!0;Qt.set(ce,_e),Qt.set(_e,ce);for(var es=Kn;++Vi<Vo;){No=Ko[Vi];var Dr=ce[No],ts=_e[No];if(lt)var Qh=Kn?lt(ts,Dr,No,_e,ce,Qt):lt(Dr,ts,No,ce,_e,Qt);if(!(Qh===void 0?Dr===ts||Cn(Dr,ts,Xe,lt,Qt):Qh)){ir=!1;break}es||(es=No=="constructor")}if(ir&&!es){var La=ce.constructor,Oa=_e.constructor;La!=Oa&&"constructor"in ce&&"constructor"in _e&&!(typeof La=="function"&&La instanceof La&&typeof Oa=="function"&&Oa instanceof Oa)&&(ir=!1)}return Qt.delete(ce),Qt.delete(_e),ir}function Xd(ce){return Wd(ce,Vh,og)}function Ac(ce,_e){var Xe=ce.__data__;return b0(_e)?Xe[typeof _e=="string"?"string":"hash"]:Xe.map}function Ii(ce,_e){var Xe=tt(ce,_e);return g0(Xe)?Xe:void 0}function ng(ce){var _e=St.call(ce,Mt),Xe=ce[Mt];try{ce[Mt]=void 0;var lt=!0}catch{}var Cn=an.call(ce);return lt&&(_e?ce[Mt]=Xe:delete ce[Mt]),Cn}var og=ut?function(ce){return ce==null?[]:(ce=Object(ce),qe(ut(ce),function(_e){return Ge.call(ce,_e)}))}:qd,Ja=Rl;(jt&&Ja(new jt(new ArrayBuffer(1)))!=P||Ce&&Ja(new Ce)!=S||Ze&&Ja(Ze.resolve())!=D||ft&&Ja(new ft)!=C||Tt&&Ja(new Tt)!=j)&&(Ja=function(ce){var _e=Rl(ce),Xe=_e==N?ce.constructor:void 0,lt=Xe?Ta(Xe):"";if(lt)switch(lt){case tn:return P;case Gt:return S;case sn:return D;case On:return C;case Xt:return j}return _e});function Fh(ce,_e){return _e=_e??g,!!_e&&(typeof ce=="number"||ae.test(ce))&&ce>-1&&ce%1==0&&ce<_e}function b0(ce){var _e=typeof ce;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?ce!=="__proto__":ce===null}function vu(ce){return!!Nt&&Nt in ce}function Or(ce){var _e=ce&&ce.constructor,Xe=typeof _e=="function"&&_e.prototype||it;return ce===Xe}function Kr(ce){return an.call(ce)}function Ta(ce){if(ce!=null){try{return vt.call(ce)}catch{}try{return ce+""}catch{}}return""}function yu(ce,_e){return ce===_e||ce!==ce&&_e!==_e}var Aa=pu((function(){return arguments})())?pu:function(ce){return Ca(ce)&&St.call(ce,"callee")&&!Ge.call(ce,"callee")},xa=Array.isArray;function Eu(ce){return ce!=null&&_a(ce.length)&&!Po(ce)}var zs=yt||Gh;function Ph(ce,_e){return Yd(ce,_e)}function Po(ce){if(!xc(ce))return!1;var _e=Rl(ce);return _e==h||_e==m||_e==b||_e==R}function _a(ce){return typeof ce=="number"&&ce>-1&&ce%1==0&&ce<=g}function xc(ce){var _e=typeof ce;return ce!=null&&(_e=="object"||_e=="function")}function Ca(ce){return ce!=null&&typeof ce=="object"}var Na=Re?$t(Re):nr;function Vh(ce){return Eu(ce)?Za(ce):bu(ce)}function qd(){return[]}function Gh(){return!1}t.exports=Ph})(Iv,Iv.exports)),Iv.exports}var Cl={},FI;function PI(){if(FI)return Cl;FI=1,Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.getAceInstance=Cl.debounce=Cl.editorEvents=Cl.editorOptions=void 0;var t=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];Cl.editorOptions=t;var e=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];Cl.editorEvents=e;var i=function(){var E;return typeof window>"u"?(ac.window={},E=kv(),delete ac.window):window.ace?(E=window.ace,E.acequire=window.ace.require||window.ace.acequire):E=kv(),E};Cl.getAceInstance=i;var a=function(E,p){var g=null;return function(){var y=this,f=arguments;clearTimeout(g),g=setTimeout(function(){E.apply(y,f)},p)}};return Cl.debounce=a,Cl}var VI;function sF(){if(VI)return kd;VI=1;var t=kd&&kd.__extends||(function(){var b=function(c,u){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(d[m]=h[m])},b(c,u)};return function(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");b(c,u);function d(){this.constructor=c}c.prototype=u===null?Object.create(u):(d.prototype=u.prototype,new d)}})(),e=kd&&kd.__assign||function(){return e=Object.assign||function(b){for(var c,u=1,d=arguments.length;u<d;u++){c=arguments[u];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(b[h]=c[h])}return b},e.apply(this,arguments)};Object.defineProperty(kd,"__esModule",{value:!0});var i=kv(),a=ZA(),E=Y,p=BI(),g=PI(),y=(0,g.getAceInstance)(),f=(function(b){t(c,b);function c(u){var d=b.call(this,u)||this;return g.editorEvents.forEach(function(h){d[h]=d[h].bind(d)}),d.debounce=g.debounce,d}return c.prototype.isInShadow=function(u){for(var d=u&&u.parentNode;d;){if(d.toString()==="[object ShadowRoot]")return!0;d=d.parentNode}return!1},c.prototype.componentDidMount=function(){var u=this,d=this.props,h=d.className,m=d.onBeforeLoad,S=d.onValidate,T=d.mode,A=d.focus,N=d.theme,D=d.fontSize,R=d.lineHeight,L=d.value,C=d.defaultValue,$=d.showGutter,F=d.wrapEnabled,U=d.showPrintMargin,j=d.scrollMargin,X=j===void 0?[0,0,0,0]:j,P=d.keyboardHandler,B=d.onLoad,k=d.commands,M=d.annotations,I=d.markers,W=d.placeholder;this.editor=y.edit(this.refEditor),m&&m(y);for(var Q=Object.keys(this.props.editorProps),J=0;J<Q.length;J++)this.editor[Q[J]]=this.props.editorProps[Q[J]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(X[0],X[1],X[2],X[3]),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.getSession().setMode(typeof T=="string"?"ace/mode/".concat(T):T),N&&N!==""&&this.editor.setTheme("ace/theme/".concat(N)),this.editor.setFontSize(typeof D=="number"?"".concat(D,"px"):D),R&&(this.editor.container.style.lineHeight=typeof R=="number"?"".concat(R,"px"):"".concat(R),this.editor.renderer.updateFontSize()),this.editor.getSession().setValue(C||L||""),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter($),this.editor.getSession().setUseWrapMode(F),this.editor.setShowPrintMargin(U),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),W&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),S&&this.editor.getSession().on("changeAnnotation",function(){var Z=u.editor.getSession().getAnnotations();u.props.onValidate(Z)}),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(M||[]),I&&I.length>0&&this.handleMarkers(I);var K=this.editor.$options;g.editorOptions.forEach(function(Z){K.hasOwnProperty(Z)?u.editor.setOption(Z,u.props[Z]):u.props[Z]&&console.warn("ReactAce: editor option ".concat(Z," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}),this.handleOptions(this.props),Array.isArray(k)&&k.forEach(function(Z){typeof Z.exec=="string"?u.editor.commands.bindKey(Z.bindKey,Z.exec):u.editor.commands.addCommand(Z)}),P&&this.editor.setKeyboardHandler("ace/keyboard/"+P),h&&(this.refEditor.className+=" "+h),B&&B(this.editor),this.editor.resize(),A&&this.editor.focus()},c.prototype.componentDidUpdate=function(u){for(var d=u,h=this.props,m=0;m<g.editorOptions.length;m++){var S=g.editorOptions[m];h[S]!==d[S]&&this.editor.setOption(S,h[S])}if(h.className!==d.className){var T=this.refEditor.className,A=T.trim().split(" "),N=d.className.trim().split(" ");N.forEach(function(L){var C=A.indexOf(L);A.splice(C,1)}),this.refEditor.className=" "+h.className+" "+A.join(" ")}var D=this.editor&&h.value!=null&&this.editor.getValue()!==h.value;if(D){this.silent=!0;var R=this.editor.session.selection.toJSON();this.editor.setValue(h.value,h.cursorStart),this.editor.session.selection.fromJSON(R),this.silent=!1}h.placeholder!==d.placeholder&&this.updatePlaceholder(),h.mode!==d.mode&&this.editor.getSession().setMode(typeof h.mode=="string"?"ace/mode/".concat(h.mode):h.mode),h.theme!==d.theme&&this.editor.setTheme("ace/theme/"+h.theme),h.keyboardHandler!==d.keyboardHandler&&(h.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+h.keyboardHandler):this.editor.setKeyboardHandler(null)),h.fontSize!==d.fontSize&&this.editor.setFontSize(typeof h.fontSize=="number"?"".concat(h.fontSize,"px"):h.fontSize),h.lineHeight!==d.lineHeight&&(this.editor.container.style.lineHeight=typeof h.lineHeight=="number"?"".concat(h.lineHeight,"px"):h.lineHeight,this.editor.renderer.updateFontSize()),h.wrapEnabled!==d.wrapEnabled&&this.editor.getSession().setUseWrapMode(h.wrapEnabled),h.showPrintMargin!==d.showPrintMargin&&this.editor.setShowPrintMargin(h.showPrintMargin),h.showGutter!==d.showGutter&&this.editor.renderer.setShowGutter(h.showGutter),p(h.setOptions,d.setOptions)||this.handleOptions(h),(D||!p(h.annotations,d.annotations))&&this.editor.getSession().setAnnotations(h.annotations||[]),!p(h.markers,d.markers)&&Array.isArray(h.markers)&&this.handleMarkers(h.markers),p(h.scrollMargin,d.scrollMargin)||this.handleScrollMargins(h.scrollMargin),(u.height!==this.props.height||u.width!==this.props.width)&&this.editor.resize(),this.props.focus&&!u.focus&&this.editor.focus()},c.prototype.handleScrollMargins=function(u){u===void 0&&(u=[0,0,0,0]),this.editor.renderer.setScrollMargin(u[0],u[1],u[2],u[3])},c.prototype.componentWillUnmount=function(){this.editor&&(this.editor.destroy(),this.editor=null)},c.prototype.onChange=function(u){if(this.editor&&this.props.onChange&&!this.silent){var d=this.editor.getValue();this.props.onChange(d,u)}},c.prototype.onSelectionChange=function(u){if(this.props.onSelectionChange){var d=this.editor.getSelection();this.props.onSelectionChange(d,u)}},c.prototype.onCursorChange=function(u){if(this.props.onCursorChange){var d=this.editor.getSelection();this.props.onCursorChange(d,u)}},c.prototype.onInput=function(u){this.props.onInput&&this.props.onInput(u),this.props.placeholder&&this.updatePlaceholder()},c.prototype.onFocus=function(u){this.props.onFocus&&this.props.onFocus(u,this.editor)},c.prototype.onBlur=function(u){this.props.onBlur&&this.props.onBlur(u,this.editor)},c.prototype.onCopy=function(u){var d=u.text;this.props.onCopy&&this.props.onCopy(d)},c.prototype.onPaste=function(u){var d=u.text;this.props.onPaste&&this.props.onPaste(d)},c.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},c.prototype.handleOptions=function(u){for(var d=Object.keys(u.setOptions),h=0;h<d.length;h++)this.editor.setOption(d[h],u.setOptions[d[h]])},c.prototype.handleMarkers=function(u){var d=this,h=this.editor.getSession().getMarkers(!0);for(var m in h)h.hasOwnProperty(m)&&this.editor.getSession().removeMarker(h[m].id);h=this.editor.getSession().getMarkers(!1);for(var m in h)h.hasOwnProperty(m)&&h[m].clazz!=="ace_active-line"&&h[m].clazz!=="ace_selected-word"&&this.editor.getSession().removeMarker(h[m].id);u.forEach(function(S){var T=S.startRow,A=S.startCol,N=S.endRow,D=S.endCol,R=S.className,L=S.type,C=S.inFront,$=C===void 0?!1:C,F=new i.Range(T,A,N,D);d.editor.getSession().addMarker(F,R,L,$)})},c.prototype.updatePlaceholder=function(){var u=this.editor,d=this.props.placeholder,h=!u.session.getValue().length,m=u.renderer.placeholderNode;!h&&m?(u.renderer.scroller.removeChild(u.renderer.placeholderNode),u.renderer.placeholderNode=null):h&&!m?(m=u.renderer.placeholderNode=document.createElement("div"),m.textContent=d||"",m.className="ace_comment ace_placeholder",m.style.padding="0 9px",m.style.position="absolute",m.style.zIndex="3",u.renderer.scroller.appendChild(m)):h&&m&&(m.textContent=d)},c.prototype.updateRef=function(u){this.refEditor=u},c.prototype.render=function(){var u=this.props,d=u.name,h=u.width,m=u.height,S=u.style,T=e({width:h,height:m},S);return E.createElement("div",{ref:this.updateRef,id:d,style:T})},c.propTypes={mode:a.oneOfType([a.string,a.object]),focus:a.bool,theme:a.string,name:a.string,className:a.string,height:a.string,width:a.string,fontSize:a.oneOfType([a.number,a.string]),lineHeight:a.oneOfType([a.number,a.string]),showGutter:a.bool,onChange:a.func,onCopy:a.func,onPaste:a.func,onFocus:a.func,onInput:a.func,onBlur:a.func,onScroll:a.func,value:a.string,defaultValue:a.string,onLoad:a.func,onSelectionChange:a.func,onCursorChange:a.func,onBeforeLoad:a.func,onValidate:a.func,minLines:a.number,maxLines:a.number,readOnly:a.bool,highlightActiveLine:a.bool,tabSize:a.number,showPrintMargin:a.bool,cursorStart:a.number,debounceChangePeriod:a.number,editorProps:a.object,setOptions:a.object,style:a.object,scrollMargin:a.array,annotations:a.array,markers:a.array,keyboardHandler:a.string,wrapEnabled:a.bool,enableSnippets:a.bool,enableBasicAutocompletion:a.oneOfType([a.bool,a.array]),enableLiveAutocompletion:a.oneOfType([a.bool,a.array]),navigateToFileEnd:a.bool,commands:a.array,placeholder:a.string},c.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},c})(E.Component);return kd.default=f,kd}var Rp={},Id={},JA={exports:{}},GI;function lF(){return GI||(GI=1,(function(t,e){ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(i,a,E){var p=i("./lib/oop");i("./lib/lang");var g=i("./lib/event_emitter").EventEmitter,y=i("./editor").Editor,f=i("./virtual_renderer").VirtualRenderer,b=i("./edit_session").EditSession,c;c=function(u,d,h){this.BELOW=1,this.BESIDE=0,this.$container=u,this.$theme=d,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(h||1),this.$cEditor=this.$editors[0],this.on("focus",(function(m){this.$cEditor=m}).bind(this))},(function(){p.implement(this,g),this.$createEditor=function(){var u=document.createElement("div");u.className=this.$editorCSS,u.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(u);var d=new y(new f(u,this.$theme));return d.on("focus",(function(){this._emit("focus",d)}).bind(this)),this.$editors.push(d),d.setFontSize(this.$fontSize),d},this.setSplits=function(u){var d;if(u<1)throw"The number of splits have to be > 0!";if(u!=this.$splits){if(u>this.$splits){for(;this.$splits<this.$editors.length&&this.$splits<u;)d=this.$editors[this.$splits],this.$container.appendChild(d.container),d.setFontSize(this.$fontSize),this.$splits++;for(;this.$splits<u;)this.$createEditor(),this.$splits++}else for(;this.$splits>u;)d=this.$editors[this.$splits-1],this.$container.removeChild(d.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(u){return this.$editors[u]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(u){this.$editors.forEach(function(d){d.setTheme(u)})},this.setKeyboardHandler=function(u){this.$editors.forEach(function(d){d.setKeyboardHandler(u)})},this.forEach=function(u,d){this.$editors.forEach(u,d)},this.$fontSize="",this.setFontSize=function(u){this.$fontSize=u,this.forEach(function(d){d.setFontSize(u)})},this.$cloneSession=function(u){var d=new b(u.getDocument(),u.getMode()),h=u.getUndoManager();return d.setUndoManager(h),d.setTabSize(u.getTabSize()),d.setUseSoftTabs(u.getUseSoftTabs()),d.setOverwrite(u.getOverwrite()),d.setBreakpoints(u.getBreakpoints()),d.setUseWrapMode(u.getUseWrapMode()),d.setUseWorker(u.getUseWorker()),d.setWrapLimitRange(u.$wrapLimitRange.min,u.$wrapLimitRange.max),d.$foldData=u.$cloneFoldData(),d},this.setSession=function(u,d){var h;d==null?h=this.$cEditor:h=this.$editors[d];var m=this.$editors.some(function(S){return S.session===u});return m&&(u=this.$cloneSession(u)),h.setSession(u),u},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(u){this.$orientation!=u&&(this.$orientation=u,this.resize())},this.resize=function(){var u=this.$container.clientWidth,d=this.$container.clientHeight,h;if(this.$orientation==this.BESIDE)for(var m=u/this.$splits,S=0;S<this.$splits;S++)h=this.$editors[S],h.container.style.width=m+"px",h.container.style.top="0px",h.container.style.left=S*m+"px",h.container.style.height=d+"px",h.resize();else for(var T=d/this.$splits,S=0;S<this.$splits;S++)h=this.$editors[S],h.container.style.width=u+"px",h.container.style.top=S*T+"px",h.container.style.left="0px",h.container.style.height=T+"px",h.resize()}}).call(c.prototype),a.Split=c}),ace.define("ace/ext/split",["require","exports","module","ace/ext/split","ace/split"],function(i,a,E){E.exports=i("../split")}),(function(){ace.require(["ace/ext/split"],function(i){t&&(t.exports=i)})})()})(JA)),JA.exports}var ex,QI;function cF(){if(QI)return ex;QI=1;var t="Expected a function",e="__lodash_hash_undefined__",i="[object Function]",a="[object GeneratorFunction]",E="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/,y=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/[\\^$.*+?()[\]{}|]/g,c=/\\(\\)?/g,u=/^\[object .+?Constructor\]$/,d=typeof ac=="object"&&ac&&ac.Object===Object&&ac,h=typeof self=="object"&&self&&self.Object===Object&&self,m=d||h||Function("return this")();function S(xe,Ge){return xe==null?void 0:xe[Ge]}function T(xe){var Ge=!1;if(xe!=null&&typeof xe.toString!="function")try{Ge=!!(xe+"")}catch{}return Ge}var A=Array.prototype,N=Function.prototype,D=Object.prototype,R=m["__core-js_shared__"],L=(function(){var xe=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||"");return xe?"Symbol(src)_1."+xe:""})(),C=N.toString,$=D.hasOwnProperty,F=D.toString,U=RegExp("^"+C.call($).replace(b,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m.Symbol,X=A.splice,P=ze(m,"Map"),B=ze(Object,"create"),k=j?j.prototype:void 0,M=k?k.toString:void 0;function I(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function W(){this.__data__=B?B(null):{}}function Q(xe){return this.has(xe)&&delete this.__data__[xe]}function J(xe){var Ge=this.__data__;if(B){var bt=Ge[xe];return bt===e?void 0:bt}return $.call(Ge,xe)?Ge[xe]:void 0}function K(xe){var Ge=this.__data__;return B?Ge[xe]!==void 0:$.call(Ge,xe)}function Z(xe,Ge){var bt=this.__data__;return bt[xe]=B&&Ge===void 0?e:Ge,this}I.prototype.clear=W,I.prototype.delete=Q,I.prototype.get=J,I.prototype.has=K,I.prototype.set=Z;function re(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function te(){this.__data__=[]}function ae(xe){var Ge=this.__data__,bt=Re(Ge,xe);if(bt<0)return!1;var Mt=Ge.length-1;return bt==Mt?Ge.pop():X.call(Ge,bt,1),!0}function se(xe){var Ge=this.__data__,bt=Re(Ge,xe);return bt<0?void 0:Ge[bt][1]}function ie(xe){return Re(this.__data__,xe)>-1}function ue(xe,Ge){var bt=this.__data__,Mt=Re(bt,xe);return Mt<0?bt.push([xe,Ge]):bt[Mt][1]=Ge,this}re.prototype.clear=te,re.prototype.delete=ae,re.prototype.get=se,re.prototype.has=ie,re.prototype.set=ue;function me(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function ve(){this.__data__={hash:new I,map:new(P||re),string:new I}}function pe(xe){return $t(this,xe).delete(xe)}function ye(xe){return $t(this,xe).get(xe)}function de(xe){return $t(this,xe).has(xe)}function Ve(xe,Ge){return $t(this,xe).set(xe,Ge),this}me.prototype.clear=ve,me.prototype.delete=pe,me.prototype.get=ye,me.prototype.has=de,me.prototype.set=Ve;function Re(xe,Ge){for(var bt=xe.length;bt--;)if(rt(xe[bt][0],Ge))return bt;return-1}function qe(xe,Ge){Ge=tt(Ge,xe)?[Ge]:xt(Ge);for(var bt=0,Mt=Ge.length;xe!=null&&bt<Mt;)xe=xe[Le(Ge[bt++])];return bt&&bt==Mt?xe:void 0}function et(xe){if(!Nt(xe)||gt(xe))return!1;var Ge=St(xe)||T(xe)?U:u;return Ge.test(je(xe))}function mt(xe){if(typeof xe=="string")return xe;if(Ot(xe))return M?M.call(xe):"";var Ge=xe+"";return Ge=="0"&&1/xe==-1/0?"-0":Ge}function xt(xe){return vt(xe)?xe:at(xe)}function $t(xe,Ge){var bt=xe.__data__;return ct(Ge)?bt[typeof Ge=="string"?"string":"hash"]:bt.map}function ze(xe,Ge){var bt=S(xe,Ge);return et(bt)?bt:void 0}function tt(xe,Ge){if(vt(xe))return!1;var bt=typeof xe;return bt=="number"||bt=="symbol"||bt=="boolean"||xe==null||Ot(xe)?!0:g.test(xe)||!p.test(xe)||Ge!=null&&xe in Object(Ge)}function ct(xe){var Ge=typeof xe;return Ge=="string"||Ge=="number"||Ge=="symbol"||Ge=="boolean"?xe!=="__proto__":xe===null}function gt(xe){return!!L&&L in xe}var at=it(function(xe){xe=_t(xe);var Ge=[];return y.test(xe)&&Ge.push(""),xe.replace(f,function(bt,Mt,ut,yt){Ge.push(ut?yt.replace(c,"$1"):Mt||bt)}),Ge});function Le(xe){if(typeof xe=="string"||Ot(xe))return xe;var Ge=xe+"";return Ge=="0"&&1/xe==-1/0?"-0":Ge}function je(xe){if(xe!=null){try{return C.call(xe)}catch{}try{return xe+""}catch{}}return""}function it(xe,Ge){if(typeof xe!="function"||Ge&&typeof Ge!="function")throw new TypeError(t);var bt=function(){var Mt=arguments,ut=Ge?Ge.apply(this,Mt):Mt[0],yt=bt.cache;if(yt.has(ut))return yt.get(ut);var Ht=xe.apply(this,Mt);return bt.cache=yt.set(ut,Ht),Ht};return bt.cache=new(it.Cache||me),bt}it.Cache=me;function rt(xe,Ge){return xe===Ge||xe!==xe&&Ge!==Ge}var vt=Array.isArray;function St(xe){var Ge=Nt(xe)?F.call(xe):"";return Ge==i||Ge==a}function Nt(xe){var Ge=typeof xe;return!!xe&&(Ge=="object"||Ge=="function")}function an(xe){return!!xe&&typeof xe=="object"}function Ot(xe){return typeof xe=="symbol"||an(xe)&&F.call(xe)==E}function _t(xe){return xe==null?"":mt(xe)}function Et(xe,Ge,bt){var Mt=xe==null?void 0:qe(xe,Ge);return Mt===void 0?bt:Mt}return ex=Et,ex}var WI;function YI(){if(WI)return Id;WI=1;var t=Id&&Id.__extends||(function(){var u=function(d,h){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,S){m.__proto__=S}||function(m,S){for(var T in S)Object.prototype.hasOwnProperty.call(S,T)&&(m[T]=S[T])},u(d,h)};return function(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");u(d,h);function m(){this.constructor=d}d.prototype=h===null?Object.create(h):(m.prototype=h.prototype,new m)}})(),e=Id&&Id.__assign||function(){return e=Object.assign||function(u){for(var d,h=1,m=arguments.length;h<m;h++){d=arguments[h];for(var S in d)Object.prototype.hasOwnProperty.call(d,S)&&(u[S]=d[S])}return u},e.apply(this,arguments)};Object.defineProperty(Id,"__esModule",{value:!0});var i=PI(),a=(0,i.getAceInstance)(),E=kv(),p=lF(),g=ZA(),y=Y,f=BI(),b=cF(),c=(function(u){t(d,u);function d(h){var m=u.call(this,h)||this;return i.editorEvents.forEach(function(S){m[S]=m[S].bind(m)}),m.debounce=i.debounce,m}return d.prototype.isInShadow=function(h){for(var m=h&&h.parentNode;m;){if(m.toString()==="[object ShadowRoot]")return!0;m=m.parentNode}return!1},d.prototype.componentDidMount=function(){var h=this,m=this.props,S=m.className,T=m.onBeforeLoad,A=m.mode,N=m.focus,D=m.theme,R=m.fontSize,L=m.value,C=m.defaultValue,$=m.cursorStart,F=m.showGutter,U=m.wrapEnabled,j=m.showPrintMargin,X=m.scrollMargin,P=X===void 0?[0,0,0,0]:X,B=m.keyboardHandler,k=m.onLoad,M=m.commands,I=m.annotations,W=m.markers,Q=m.splits;this.editor=a.edit(this.refEditor),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.setTheme("ace/theme/".concat(D)),T&&T(a);var J=Object.keys(this.props.editorProps),K=new p.Split(this.editor.container,"ace/theme/".concat(D),Q);this.editor.env.split=K,this.splitEditor=K.getEditor(0),this.split=K,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var Z=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),K.forEach(function(te,ae){for(var se=0;se<J.length;se++)te[J[se]]=h.props.editorProps[J[se]];var ie=b(C,ae),ue=b(L,ae,"");te.session.setUndoManager(new a.UndoManager),te.setTheme("ace/theme/".concat(D)),te.renderer.setScrollMargin(P[0],P[1],P[2],P[3]),te.getSession().setMode("ace/mode/".concat(A)),te.setFontSize(R),te.renderer.setShowGutter(F),te.getSession().setUseWrapMode(U),te.setShowPrintMargin(j),te.on("focus",h.onFocus),te.on("blur",h.onBlur),te.on("input",h.onInput),te.on("copy",h.onCopy),te.on("paste",h.onPaste),te.on("change",h.onChange),te.getSession().selection.on("changeSelection",h.onSelectionChange),te.getSession().selection.on("changeCursor",h.onCursorChange),te.session.on("changeScrollTop",h.onScroll),te.setValue(ie===void 0?ue:ie,$);var me=b(I,ae,[]),ve=b(W,ae,[]);te.getSession().setAnnotations(me),ve&&ve.length>0&&h.handleMarkers(ve,te);for(var se=0;se<i.editorOptions.length;se++){var pe=i.editorOptions[se];Z.hasOwnProperty(pe)?te.setOption(pe,h.props[pe]):h.props[pe]&&console.warn("ReaceAce: editor option ".concat(pe," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}h.handleOptions(h.props,te),Array.isArray(M)&&M.forEach(function(ye){typeof ye.exec=="string"?te.commands.bindKey(ye.bindKey,ye.exec):te.commands.addCommand(ye)}),B&&te.setKeyboardHandler("ace/keyboard/"+B)}),S&&(this.refEditor.className+=" "+S),N&&this.splitEditor.focus();var re=this.editor.env.split;re.setOrientation(this.props.orientation==="below"?re.BELOW:re.BESIDE),re.resize(!0),k&&k(re)},d.prototype.componentDidUpdate=function(h){var m=this,S=h,T=this.props,A=this.editor.env.split;if(T.splits!==S.splits&&A.setSplits(T.splits),T.orientation!==S.orientation&&A.setOrientation(T.orientation==="below"?A.BELOW:A.BESIDE),A.forEach(function(L,C){T.mode!==S.mode&&L.getSession().setMode("ace/mode/"+T.mode),T.keyboardHandler!==S.keyboardHandler&&(T.keyboardHandler?L.setKeyboardHandler("ace/keyboard/"+T.keyboardHandler):L.setKeyboardHandler(null)),T.fontSize!==S.fontSize&&L.setFontSize(T.fontSize),T.wrapEnabled!==S.wrapEnabled&&L.getSession().setUseWrapMode(T.wrapEnabled),T.showPrintMargin!==S.showPrintMargin&&L.setShowPrintMargin(T.showPrintMargin),T.showGutter!==S.showGutter&&L.renderer.setShowGutter(T.showGutter);for(var $=0;$<i.editorOptions.length;$++){var F=i.editorOptions[$];T[F]!==S[F]&&L.setOption(F,T[F])}f(T.setOptions,S.setOptions)||m.handleOptions(T,L);var U=b(T.value,C,"");if(L.getValue()!==U){m.silent=!0;var j=L.session.selection.toJSON();L.setValue(U,T.cursorStart),L.session.selection.fromJSON(j),m.silent=!1}var X=b(T.annotations,C,[]),P=b(S.annotations,C,[]);f(X,P)||L.getSession().setAnnotations(X);var B=b(T.markers,C,[]),k=b(S.markers,C,[]);!f(B,k)&&Array.isArray(B)&&m.handleMarkers(B,L)}),T.className!==S.className){var N=this.refEditor.className,D=N.trim().split(" "),R=S.className.trim().split(" ");R.forEach(function(L){var C=D.indexOf(L);D.splice(C,1)}),this.refEditor.className=" "+T.className+" "+D.join(" ")}T.theme!==S.theme&&A.setTheme("ace/theme/"+T.theme),T.focus&&!S.focus&&this.splitEditor.focus(),(T.height!==this.props.height||T.width!==this.props.width)&&this.editor.resize()},d.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},d.prototype.onChange=function(h){if(this.props.onChange&&!this.silent){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getValue())}),this.props.onChange(m,h)}},d.prototype.onSelectionChange=function(h){if(this.props.onSelectionChange){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getSelection())}),this.props.onSelectionChange(m,h)}},d.prototype.onCursorChange=function(h){if(this.props.onCursorChange){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getSelection())}),this.props.onCursorChange(m,h)}},d.prototype.onFocus=function(h){this.props.onFocus&&this.props.onFocus(h)},d.prototype.onInput=function(h){this.props.onInput&&this.props.onInput(h)},d.prototype.onBlur=function(h){this.props.onBlur&&this.props.onBlur(h)},d.prototype.onCopy=function(h){this.props.onCopy&&this.props.onCopy(h)},d.prototype.onPaste=function(h){this.props.onPaste&&this.props.onPaste(h)},d.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},d.prototype.handleOptions=function(h,m){for(var S=Object.keys(h.setOptions),T=0;T<S.length;T++)m.setOption(S[T],h.setOptions[S[T]])},d.prototype.handleMarkers=function(h,m){var S=m.getSession().getMarkers(!0);for(var T in S)S.hasOwnProperty(T)&&m.getSession().removeMarker(S[T].id);S=m.getSession().getMarkers(!1);for(var T in S)S.hasOwnProperty(T)&&m.getSession().removeMarker(S[T].id);h.forEach(function(A){var N=A.startRow,D=A.startCol,R=A.endRow,L=A.endCol,C=A.className,$=A.type,F=A.inFront,U=F===void 0?!1:F,j=new E.Range(N,D,R,L);m.getSession().addMarker(j,C,$,U)})},d.prototype.updateRef=function(h){this.refEditor=h},d.prototype.render=function(){var h=this.props,m=h.name,S=h.width,T=h.height,A=h.style,N=e({width:S,height:T},A);return y.createElement("div",{ref:this.updateRef,id:m,style:N})},d.propTypes={className:g.string,debounceChangePeriod:g.number,defaultValue:g.arrayOf(g.string),focus:g.bool,fontSize:g.oneOfType([g.number,g.string]),height:g.string,mode:g.string,name:g.string,onBlur:g.func,onChange:g.func,onCopy:g.func,onFocus:g.func,onInput:g.func,onLoad:g.func,onPaste:g.func,onScroll:g.func,orientation:g.string,showGutter:g.bool,splits:g.number,theme:g.string,value:g.arrayOf(g.string),width:g.string,onSelectionChange:g.func,onCursorChange:g.func,onBeforeLoad:g.func,minLines:g.number,maxLines:g.number,readOnly:g.bool,highlightActiveLine:g.bool,tabSize:g.number,showPrintMargin:g.bool,cursorStart:g.number,editorProps:g.object,setOptions:g.object,style:g.object,scrollMargin:g.array,annotations:g.array,markers:g.array,keyboardHandler:g.string,wrapEnabled:g.bool,enableBasicAutocompletion:g.oneOfType([g.bool,g.array]),enableLiveAutocompletion:g.oneOfType([g.bool,g.array]),commands:g.array},d.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},d})(y.Component);return Id.default=c,Id}var tx={exports:{}},XI;function uF(){return XI||(XI=1,(function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},i=-1,a=1,E=0;e.Diff=function(p,g){return[p,g]},e.prototype.diff_main=function(p,g,y,f){typeof f>"u"&&(this.Diff_Timeout<=0?f=Number.MAX_VALUE:f=new Date().getTime()+this.Diff_Timeout*1e3);var b=f;if(p==null||g==null)throw new Error("Null input. (diff_main)");if(p==g)return p?[new e.Diff(E,p)]:[];typeof y>"u"&&(y=!0);var c=y,u=this.diff_commonPrefix(p,g),d=p.substring(0,u);p=p.substring(u),g=g.substring(u),u=this.diff_commonSuffix(p,g);var h=p.substring(p.length-u);p=p.substring(0,p.length-u),g=g.substring(0,g.length-u);var m=this.diff_compute_(p,g,c,b);return d&&m.unshift(new e.Diff(E,d)),h&&m.push(new e.Diff(E,h)),this.diff_cleanupMerge(m),m},e.prototype.diff_compute_=function(p,g,y,f){var b;if(!p)return[new e.Diff(a,g)];if(!g)return[new e.Diff(i,p)];var c=p.length>g.length?p:g,u=p.length>g.length?g:p,d=c.indexOf(u);if(d!=-1)return b=[new e.Diff(a,c.substring(0,d)),new e.Diff(E,u),new e.Diff(a,c.substring(d+u.length))],p.length>g.length&&(b[0][0]=b[2][0]=i),b;if(u.length==1)return[new e.Diff(i,p),new e.Diff(a,g)];var h=this.diff_halfMatch_(p,g);if(h){var m=h[0],S=h[1],T=h[2],A=h[3],N=h[4],D=this.diff_main(m,T,y,f),R=this.diff_main(S,A,y,f);return D.concat([new e.Diff(E,N)],R)}return y&&p.length>100&&g.length>100?this.diff_lineMode_(p,g,f):this.diff_bisect_(p,g,f)},e.prototype.diff_lineMode_=function(p,g,y){var f=this.diff_linesToChars_(p,g);p=f.chars1,g=f.chars2;var b=f.lineArray,c=this.diff_main(p,g,!1,y);this.diff_charsToLines_(c,b),this.diff_cleanupSemantic(c),c.push(new e.Diff(E,""));for(var u=0,d=0,h=0,m="",S="";u<c.length;){switch(c[u][0]){case a:h++,S+=c[u][1];break;case i:d++,m+=c[u][1];break;case E:if(d>=1&&h>=1){c.splice(u-d-h,d+h),u=u-d-h;for(var T=this.diff_main(m,S,!1,y),A=T.length-1;A>=0;A--)c.splice(u,0,T[A]);u=u+T.length}h=0,d=0,m="",S="";break}u++}return c.pop(),c},e.prototype.diff_bisect_=function(p,g,y){for(var f=p.length,b=g.length,c=Math.ceil((f+b)/2),u=c,d=2*c,h=new Array(d),m=new Array(d),S=0;S<d;S++)h[S]=-1,m[S]=-1;h[u+1]=0,m[u+1]=0;for(var T=f-b,A=T%2!=0,N=0,D=0,R=0,L=0,C=0;C<c&&!(new Date().getTime()>y);C++){for(var $=-C+N;$<=C-D;$+=2){var F=u+$,U;$==-C||$!=C&&h[F-1]<h[F+1]?U=h[F+1]:U=h[F-1]+1;for(var j=U-$;U<f&&j<b&&p.charAt(U)==g.charAt(j);)U++,j++;if(h[F]=U,U>f)D+=2;else if(j>b)N+=2;else if(A){var X=u+T-$;if(X>=0&&X<d&&m[X]!=-1){var P=f-m[X];if(U>=P)return this.diff_bisectSplit_(p,g,U,j,y)}}}for(var B=-C+R;B<=C-L;B+=2){var X=u+B,P;B==-C||B!=C&&m[X-1]<m[X+1]?P=m[X+1]:P=m[X-1]+1;for(var k=P-B;P<f&&k<b&&p.charAt(f-P-1)==g.charAt(b-k-1);)P++,k++;if(m[X]=P,P>f)L+=2;else if(k>b)R+=2;else if(!A){var F=u+T-B;if(F>=0&&F<d&&h[F]!=-1){var U=h[F],j=u+U-F;if(P=f-P,U>=P)return this.diff_bisectSplit_(p,g,U,j,y)}}}}return[new e.Diff(i,p),new e.Diff(a,g)]},e.prototype.diff_bisectSplit_=function(p,g,y,f,b){var c=p.substring(0,y),u=g.substring(0,f),d=p.substring(y),h=g.substring(f),m=this.diff_main(c,u,!1,b),S=this.diff_main(d,h,!1,b);return m.concat(S)},e.prototype.diff_linesToChars_=function(p,g){var y=[],f={};y[0]="";function b(h){for(var m="",S=0,T=-1,A=y.length;T<h.length-1;){T=h.indexOf(`
1404
+ Valid keys: `+JSON.stringify(Object.keys(K),null," "));var de=ye(ue,pe,ae,se,ie+"."+pe,i);if(de)return de}return null}return T(Z)}function k(K){switch(typeof K){case"number":case"string":case"undefined":return!0;case"boolean":return!K;case"object":if(Array.isArray(K))return K.every(k);if(K===null||y(K))return!0;var Z=u(K);if(Z){var re=Z.call(K),te;if(Z!==K.entries){for(;!(te=re.next()).done;)if(!k(te.value))return!1}else for(;!(te=re.next()).done;){var ae=te.value;if(ae&&!k(ae[1]))return!1}}else return!1;return!0;default:return!1}}function M(K,Z){return K==="symbol"?!0:Z?Z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Z instanceof Symbol:!1}function I(K){var Z=typeof K;return Array.isArray(K)?"array":K instanceof RegExp?"object":M(Z,K)?"symbol":Z}function W(K){if(typeof K>"u"||K===null)return""+K;var Z=I(K);if(Z==="object"){if(K instanceof Date)return"date";if(K instanceof RegExp)return"regexp"}return Z}function Q(K){var Z=W(K);switch(Z){case"array":case"object":return"an "+Z;case"boolean":case"date":case"regexp":return"a "+Z;default:return Z}}function J(K){return!K.constructor||!K.constructor.name?d:K.constructor.name}return h.checkPropTypes=E,h.resetWarningCache=E.resetWarningCache,h.PropTypes=h,h},qA}var KA,HI;function aF(){if(HI)return KA;HI=1;var t=WA();function e(){}function i(){}return i.resetWarningCache=e,KA=function(){function a(g,y,f,b,c,u){if(u!==t){var d=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 d.name="Invariant Violation",d}}a.isRequired=a;function E(){return a}var p={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:E,element:a,elementType:a,instanceOf:E,node:a,objectOf:E,oneOf:E,oneOfType:E,shape:E,exact:E,checkPropTypes:i,resetWarningCache:e};return p.PropTypes=p,p},KA}var jI;function ZA(){if(jI)return Hw.exports;if(jI=1,process.env.NODE_ENV!=="production"){var t=DI(),e=!0;Hw.exports=rF()(t.isElement,e)}else Hw.exports=aF()();return Hw.exports}var Iv={exports:{}};Iv.exports;var zI;function BI(){return zI||(zI=1,(function(t,e){var i=200,a="__lodash_hash_undefined__",E=1,p=2,g=9007199254740991,y="[object Arguments]",f="[object Array]",b="[object AsyncFunction]",c="[object Boolean]",u="[object Date]",d="[object Error]",h="[object Function]",m="[object GeneratorFunction]",S="[object Map]",T="[object Number]",A="[object Null]",N="[object Object]",D="[object Promise]",R="[object Proxy]",L="[object RegExp]",C="[object Set]",$="[object String]",F="[object Symbol]",U="[object Undefined]",j="[object WeakMap]",X="[object ArrayBuffer]",P="[object DataView]",B="[object Float32Array]",k="[object Float64Array]",M="[object Int8Array]",I="[object Int16Array]",W="[object Int32Array]",Q="[object Uint8Array]",J="[object Uint8ClampedArray]",K="[object Uint16Array]",Z="[object Uint32Array]",re=/[\\^$.*+?()[\]{}|]/g,te=/^\[object .+?Constructor\]$/,ae=/^(?:0|[1-9]\d*)$/,se={};se[B]=se[k]=se[M]=se[I]=se[W]=se[Q]=se[J]=se[K]=se[Z]=!0,se[y]=se[f]=se[X]=se[c]=se[P]=se[u]=se[d]=se[h]=se[S]=se[T]=se[N]=se[L]=se[C]=se[$]=se[j]=!1;var ie=typeof ac=="object"&&ac&&ac.Object===Object&&ac,ue=typeof self=="object"&&self&&self.Object===Object&&self,me=ie||ue||Function("return this")(),ve=e&&!e.nodeType&&e,pe=ve&&!0&&t&&!t.nodeType&&t,ye=pe&&pe.exports===ve,de=ye&&ie.process,Ve=(function(){try{return de&&de.binding&&de.binding("util")}catch{}})(),Re=Ve&&Ve.isTypedArray;function qe(ce,_e){for(var Xe=-1,lt=ce==null?0:ce.length,Cn=0,Qt=[];++Xe<lt;){var Kn=ce[Xe];_e(Kn,Xe,ce)&&(Qt[Cn++]=Kn)}return Qt}function et(ce,_e){for(var Xe=-1,lt=_e.length,Cn=ce.length;++Xe<lt;)ce[Cn+Xe]=_e[Xe];return ce}function mt(ce,_e){for(var Xe=-1,lt=ce==null?0:ce.length;++Xe<lt;)if(_e(ce[Xe],Xe,ce))return!0;return!1}function xt(ce,_e){for(var Xe=-1,lt=Array(ce);++Xe<ce;)lt[Xe]=_e(Xe);return lt}function $t(ce){return function(_e){return ce(_e)}}function ze(ce,_e){return ce.has(_e)}function nt(ce,_e){return ce==null?void 0:ce[_e]}function ct(ce){var _e=-1,Xe=Array(ce.size);return ce.forEach(function(lt,Cn){Xe[++_e]=[Cn,lt]}),Xe}function gt(ce,_e){return function(Xe){return ce(_e(Xe))}}function at(ce){var _e=-1,Xe=Array(ce.size);return ce.forEach(function(lt){Xe[++_e]=lt}),Xe}var Le=Array.prototype,je=Function.prototype,ot=Object.prototype,tt=me["__core-js_shared__"],vt=je.toString,St=ot.hasOwnProperty,Nt=(function(){var ce=/[^.]+$/.exec(tt&&tt.keys&&tt.keys.IE_PROTO||"");return ce?"Symbol(src)_1."+ce:""})(),an=ot.toString,Ot=RegExp("^"+vt.call(St).replace(re,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),_t=ye?me.Buffer:void 0,Et=me.Symbol,xe=me.Uint8Array,Ge=ot.propertyIsEnumerable,bt=Le.splice,Mt=Et?Et.toStringTag:void 0,ut=Object.getOwnPropertySymbols,yt=_t?_t.isBuffer:void 0,Ht=gt(Object.keys,Object),jt=Ii(me,"DataView"),Ce=Ii(me,"Map"),Ze=Ii(me,"Promise"),ft=Ii(me,"Set"),Tt=Ii(me,"WeakMap"),kt=Ii(Object,"create"),tn=Ta(jt),Gt=Ta(Ce),sn=Ta(Ze),On=Ta(ft),Xt=Ta(Tt),Je=Et?Et.prototype:void 0,Vn=Je?Je.valueOf:void 0;function Lt(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function ai(){this.__data__=kt?kt(null):{},this.size=0}function Eo(ce){var _e=this.has(ce)&&delete this.__data__[ce];return this.size-=_e?1:0,_e}function qt(ce){var _e=this.__data__;if(kt){var Xe=_e[ce];return Xe===a?void 0:Xe}return St.call(_e,ce)?_e[ce]:void 0}function Gn(ce){var _e=this.__data__;return kt?_e[ce]!==void 0:St.call(_e,ce)}function Fo(ce,_e){var Xe=this.__data__;return this.size+=this.has(ce)?0:1,Xe[ce]=kt&&_e===void 0?a:_e,this}Lt.prototype.clear=ai,Lt.prototype.delete=Eo,Lt.prototype.get=qt,Lt.prototype.has=Gn,Lt.prototype.set=Fo;function po(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function ki(){this.__data__=[],this.size=0}function Lr(ce){var _e=this.__data__,Xe=yi(_e,ce);if(Xe<0)return!1;var lt=_e.length-1;return Xe==lt?_e.pop():bt.call(_e,Xe,1),--this.size,!0}function it(ce){var _e=this.__data__,Xe=yi(_e,ce);return Xe<0?void 0:_e[Xe][1]}function Ee(ce){return yi(this.__data__,ce)>-1}function Ke(ce,_e){var Xe=this.__data__,lt=yi(Xe,ce);return lt<0?(++this.size,Xe.push([ce,_e])):Xe[lt][1]=_e,this}po.prototype.clear=ki,po.prototype.delete=Lr,po.prototype.get=it,po.prototype.has=Ee,po.prototype.set=Ke;function st(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.clear();++_e<Xe;){var lt=ce[_e];this.set(lt[0],lt[1])}}function on(){this.size=0,this.__data__={hash:new Lt,map:new(Ce||po),string:new Lt}}function eo(ce){var _e=Ac(this,ce).delete(ce);return this.size-=_e?1:0,_e}function Dn(ce){return Ac(this,ce).get(ce)}function rt(ce){return Ac(this,ce).has(ce)}function vn(ce,_e){var Xe=Ac(this,ce),lt=Xe.size;return Xe.set(ce,_e),this.size+=Xe.size==lt?0:1,this}st.prototype.clear=on,st.prototype.delete=eo,st.prototype.get=Dn,st.prototype.has=rt,st.prototype.set=vn;function yn(ce){var _e=-1,Xe=ce==null?0:ce.length;for(this.__data__=new st;++_e<Xe;)this.add(ce[_e])}function vi(ce){return this.__data__.set(ce,a),this}function Rn(ce){return this.__data__.has(ce)}yn.prototype.add=yn.prototype.push=vi,yn.prototype.has=Rn;function si(ce){var _e=this.__data__=new po(ce);this.size=_e.size}function Sa(){this.__data__=new po,this.size=0}function yc(ce){var _e=this.__data__,Xe=_e.delete(ce);return this.size=_e.size,Xe}function Ec(ce){return this.__data__.get(ce)}function wc(ce){return this.__data__.has(ce)}function Qd(ce,_e){var Xe=this.__data__;if(Xe instanceof po){var lt=Xe.__data__;if(!Ce||lt.length<i-1)return lt.push([ce,_e]),this.size=++Xe.size,this;Xe=this.__data__=new st(lt)}return Xe.set(ce,_e),this.size=Xe.size,this}si.prototype.clear=Sa,si.prototype.delete=yc,si.prototype.get=Ec,si.prototype.has=wc,si.prototype.set=Qd;function Za(ce,_e){var Xe=xa(ce),lt=!Xe&&Aa(ce),Cn=!Xe&&!lt&&zs(ce),Qt=!Xe&&!lt&&!Cn&&Na(ce),Kn=Xe||lt||Cn||Qt,Ko=Kn?xt(ce.length,String):[],Vo=Ko.length;for(var so in ce)St.call(ce,so)&&!(Kn&&(so=="length"||Cn&&(so=="offset"||so=="parent")||Qt&&(so=="buffer"||so=="byteLength"||so=="byteOffset")||Fh(so,Vo)))&&Ko.push(so);return Ko}function yi(ce,_e){for(var Xe=ce.length;Xe--;)if(yu(ce[Xe][0],_e))return Xe;return-1}function Wd(ce,_e,Xe){var lt=_e(ce);return xa(ce)?lt:et(lt,Xe(ce))}function Rl(ce){return ce==null?ce===void 0?U:A:Mt&&Mt in Object(ce)?ng(ce):Kr(ce)}function pu(ce){return Ca(ce)&&Rl(ce)==y}function Yd(ce,_e,Xe,lt,Cn){return ce===_e?!0:ce==null||_e==null||!Ca(ce)&&!Ca(_e)?ce!==ce&&_e!==_e:gu(ce,_e,Xe,lt,Yd,Cn)}function gu(ce,_e,Xe,lt,Cn,Qt){var Kn=xa(ce),Ko=xa(_e),Vo=Kn?f:Ja(ce),so=Ko?f:Ja(_e);Vo=Vo==y?N:Vo,so=so==y?N:so;var li=Vo==N,Vi=so==N,No=Vo==so;if(No&&zs(ce)){if(!zs(_e))return!1;Kn=!0,li=!1}if(No&&!li)return Qt||(Qt=new si),Kn||Na(ce)?Sc(ce,_e,Xe,lt,Cn,Qt):Ml(ce,_e,Vo,Xe,lt,Cn,Qt);if(!(Xe&E)){var or=li&&St.call(ce,"__wrapped__"),ir=Vi&&St.call(_e,"__wrapped__");if(or||ir){var es=or?ce.value():ce,Dr=ir?_e.value():_e;return Qt||(Qt=new si),Cn(es,Dr,Xe,lt,Qt)}}return No?(Qt||(Qt=new si),Tc(ce,_e,Xe,lt,Cn,Qt)):!1}function g0(ce){if(!xc(ce)||vu(ce))return!1;var _e=Po(ce)?Ot:te;return _e.test(Ta(ce))}function nr(ce){return Ca(ce)&&_a(ce.length)&&!!se[Rl(ce)]}function bu(ce){if(!Or(ce))return Ht(ce);var _e=[];for(var Xe in Object(ce))St.call(ce,Xe)&&Xe!="constructor"&&_e.push(Xe);return _e}function Sc(ce,_e,Xe,lt,Cn,Qt){var Kn=Xe&E,Ko=ce.length,Vo=_e.length;if(Ko!=Vo&&!(Kn&&Vo>Ko))return!1;var so=Qt.get(ce);if(so&&Qt.get(_e))return so==_e;var li=-1,Vi=!0,No=Xe&p?new yn:void 0;for(Qt.set(ce,_e),Qt.set(_e,ce);++li<Ko;){var or=ce[li],ir=_e[li];if(lt)var es=Kn?lt(ir,or,li,_e,ce,Qt):lt(or,ir,li,ce,_e,Qt);if(es!==void 0){if(es)continue;Vi=!1;break}if(No){if(!mt(_e,function(Dr,ts){if(!ze(No,ts)&&(or===Dr||Cn(or,Dr,Xe,lt,Qt)))return No.push(ts)})){Vi=!1;break}}else if(!(or===ir||Cn(or,ir,Xe,lt,Qt))){Vi=!1;break}}return Qt.delete(ce),Qt.delete(_e),Vi}function Ml(ce,_e,Xe,lt,Cn,Qt,Kn){switch(Xe){case P:if(ce.byteLength!=_e.byteLength||ce.byteOffset!=_e.byteOffset)return!1;ce=ce.buffer,_e=_e.buffer;case X:return!(ce.byteLength!=_e.byteLength||!Qt(new xe(ce),new xe(_e)));case c:case u:case T:return yu(+ce,+_e);case d:return ce.name==_e.name&&ce.message==_e.message;case L:case $:return ce==_e+"";case S:var Ko=ct;case C:var Vo=lt&E;if(Ko||(Ko=at),ce.size!=_e.size&&!Vo)return!1;var so=Kn.get(ce);if(so)return so==_e;lt|=p,Kn.set(ce,_e);var li=Sc(Ko(ce),Ko(_e),lt,Cn,Qt,Kn);return Kn.delete(ce),li;case F:if(Vn)return Vn.call(ce)==Vn.call(_e)}return!1}function Tc(ce,_e,Xe,lt,Cn,Qt){var Kn=Xe&E,Ko=Xd(ce),Vo=Ko.length,so=Xd(_e),li=so.length;if(Vo!=li&&!Kn)return!1;for(var Vi=Vo;Vi--;){var No=Ko[Vi];if(!(Kn?No in _e:St.call(_e,No)))return!1}var or=Qt.get(ce);if(or&&Qt.get(_e))return or==_e;var ir=!0;Qt.set(ce,_e),Qt.set(_e,ce);for(var es=Kn;++Vi<Vo;){No=Ko[Vi];var Dr=ce[No],ts=_e[No];if(lt)var Qh=Kn?lt(ts,Dr,No,_e,ce,Qt):lt(Dr,ts,No,ce,_e,Qt);if(!(Qh===void 0?Dr===ts||Cn(Dr,ts,Xe,lt,Qt):Qh)){ir=!1;break}es||(es=No=="constructor")}if(ir&&!es){var La=ce.constructor,Oa=_e.constructor;La!=Oa&&"constructor"in ce&&"constructor"in _e&&!(typeof La=="function"&&La instanceof La&&typeof Oa=="function"&&Oa instanceof Oa)&&(ir=!1)}return Qt.delete(ce),Qt.delete(_e),ir}function Xd(ce){return Wd(ce,Vh,og)}function Ac(ce,_e){var Xe=ce.__data__;return b0(_e)?Xe[typeof _e=="string"?"string":"hash"]:Xe.map}function Ii(ce,_e){var Xe=nt(ce,_e);return g0(Xe)?Xe:void 0}function ng(ce){var _e=St.call(ce,Mt),Xe=ce[Mt];try{ce[Mt]=void 0;var lt=!0}catch{}var Cn=an.call(ce);return lt&&(_e?ce[Mt]=Xe:delete ce[Mt]),Cn}var og=ut?function(ce){return ce==null?[]:(ce=Object(ce),qe(ut(ce),function(_e){return Ge.call(ce,_e)}))}:qd,Ja=Rl;(jt&&Ja(new jt(new ArrayBuffer(1)))!=P||Ce&&Ja(new Ce)!=S||Ze&&Ja(Ze.resolve())!=D||ft&&Ja(new ft)!=C||Tt&&Ja(new Tt)!=j)&&(Ja=function(ce){var _e=Rl(ce),Xe=_e==N?ce.constructor:void 0,lt=Xe?Ta(Xe):"";if(lt)switch(lt){case tn:return P;case Gt:return S;case sn:return D;case On:return C;case Xt:return j}return _e});function Fh(ce,_e){return _e=_e??g,!!_e&&(typeof ce=="number"||ae.test(ce))&&ce>-1&&ce%1==0&&ce<_e}function b0(ce){var _e=typeof ce;return _e=="string"||_e=="number"||_e=="symbol"||_e=="boolean"?ce!=="__proto__":ce===null}function vu(ce){return!!Nt&&Nt in ce}function Or(ce){var _e=ce&&ce.constructor,Xe=typeof _e=="function"&&_e.prototype||ot;return ce===Xe}function Kr(ce){return an.call(ce)}function Ta(ce){if(ce!=null){try{return vt.call(ce)}catch{}try{return ce+""}catch{}}return""}function yu(ce,_e){return ce===_e||ce!==ce&&_e!==_e}var Aa=pu((function(){return arguments})())?pu:function(ce){return Ca(ce)&&St.call(ce,"callee")&&!Ge.call(ce,"callee")},xa=Array.isArray;function Eu(ce){return ce!=null&&_a(ce.length)&&!Po(ce)}var zs=yt||Gh;function Ph(ce,_e){return Yd(ce,_e)}function Po(ce){if(!xc(ce))return!1;var _e=Rl(ce);return _e==h||_e==m||_e==b||_e==R}function _a(ce){return typeof ce=="number"&&ce>-1&&ce%1==0&&ce<=g}function xc(ce){var _e=typeof ce;return ce!=null&&(_e=="object"||_e=="function")}function Ca(ce){return ce!=null&&typeof ce=="object"}var Na=Re?$t(Re):nr;function Vh(ce){return Eu(ce)?Za(ce):bu(ce)}function qd(){return[]}function Gh(){return!1}t.exports=Ph})(Iv,Iv.exports)),Iv.exports}var Cl={},FI;function PI(){if(FI)return Cl;FI=1,Object.defineProperty(Cl,"__esModule",{value:!0}),Cl.getAceInstance=Cl.debounce=Cl.editorEvents=Cl.editorOptions=void 0;var t=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];Cl.editorOptions=t;var e=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];Cl.editorEvents=e;var i=function(){var E;return typeof window>"u"?(ac.window={},E=kv(),delete ac.window):window.ace?(E=window.ace,E.acequire=window.ace.require||window.ace.acequire):E=kv(),E};Cl.getAceInstance=i;var a=function(E,p){var g=null;return function(){var y=this,f=arguments;clearTimeout(g),g=setTimeout(function(){E.apply(y,f)},p)}};return Cl.debounce=a,Cl}var VI;function sF(){if(VI)return kd;VI=1;var t=kd&&kd.__extends||(function(){var b=function(c,u){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var m in h)Object.prototype.hasOwnProperty.call(h,m)&&(d[m]=h[m])},b(c,u)};return function(c,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");b(c,u);function d(){this.constructor=c}c.prototype=u===null?Object.create(u):(d.prototype=u.prototype,new d)}})(),e=kd&&kd.__assign||function(){return e=Object.assign||function(b){for(var c,u=1,d=arguments.length;u<d;u++){c=arguments[u];for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(b[h]=c[h])}return b},e.apply(this,arguments)};Object.defineProperty(kd,"__esModule",{value:!0});var i=kv(),a=ZA(),E=Y,p=BI(),g=PI(),y=(0,g.getAceInstance)(),f=(function(b){t(c,b);function c(u){var d=b.call(this,u)||this;return g.editorEvents.forEach(function(h){d[h]=d[h].bind(d)}),d.debounce=g.debounce,d}return c.prototype.isInShadow=function(u){for(var d=u&&u.parentNode;d;){if(d.toString()==="[object ShadowRoot]")return!0;d=d.parentNode}return!1},c.prototype.componentDidMount=function(){var u=this,d=this.props,h=d.className,m=d.onBeforeLoad,S=d.onValidate,T=d.mode,A=d.focus,N=d.theme,D=d.fontSize,R=d.lineHeight,L=d.value,C=d.defaultValue,$=d.showGutter,F=d.wrapEnabled,U=d.showPrintMargin,j=d.scrollMargin,X=j===void 0?[0,0,0,0]:j,P=d.keyboardHandler,B=d.onLoad,k=d.commands,M=d.annotations,I=d.markers,W=d.placeholder;this.editor=y.edit(this.refEditor),m&&m(y);for(var Q=Object.keys(this.props.editorProps),J=0;J<Q.length;J++)this.editor[Q[J]]=this.props.editorProps[Q[J]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(X[0],X[1],X[2],X[3]),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.getSession().setMode(typeof T=="string"?"ace/mode/".concat(T):T),N&&N!==""&&this.editor.setTheme("ace/theme/".concat(N)),this.editor.setFontSize(typeof D=="number"?"".concat(D,"px"):D),R&&(this.editor.container.style.lineHeight=typeof R=="number"?"".concat(R,"px"):"".concat(R),this.editor.renderer.updateFontSize()),this.editor.getSession().setValue(C||L||""),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter($),this.editor.getSession().setUseWrapMode(F),this.editor.setShowPrintMargin(U),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),W&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),S&&this.editor.getSession().on("changeAnnotation",function(){var Z=u.editor.getSession().getAnnotations();u.props.onValidate(Z)}),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(M||[]),I&&I.length>0&&this.handleMarkers(I);var K=this.editor.$options;g.editorOptions.forEach(function(Z){K.hasOwnProperty(Z)?u.editor.setOption(Z,u.props[Z]):u.props[Z]&&console.warn("ReactAce: editor option ".concat(Z," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}),this.handleOptions(this.props),Array.isArray(k)&&k.forEach(function(Z){typeof Z.exec=="string"?u.editor.commands.bindKey(Z.bindKey,Z.exec):u.editor.commands.addCommand(Z)}),P&&this.editor.setKeyboardHandler("ace/keyboard/"+P),h&&(this.refEditor.className+=" "+h),B&&B(this.editor),this.editor.resize(),A&&this.editor.focus()},c.prototype.componentDidUpdate=function(u){for(var d=u,h=this.props,m=0;m<g.editorOptions.length;m++){var S=g.editorOptions[m];h[S]!==d[S]&&this.editor.setOption(S,h[S])}if(h.className!==d.className){var T=this.refEditor.className,A=T.trim().split(" "),N=d.className.trim().split(" ");N.forEach(function(L){var C=A.indexOf(L);A.splice(C,1)}),this.refEditor.className=" "+h.className+" "+A.join(" ")}var D=this.editor&&h.value!=null&&this.editor.getValue()!==h.value;if(D){this.silent=!0;var R=this.editor.session.selection.toJSON();this.editor.setValue(h.value,h.cursorStart),this.editor.session.selection.fromJSON(R),this.silent=!1}h.placeholder!==d.placeholder&&this.updatePlaceholder(),h.mode!==d.mode&&this.editor.getSession().setMode(typeof h.mode=="string"?"ace/mode/".concat(h.mode):h.mode),h.theme!==d.theme&&this.editor.setTheme("ace/theme/"+h.theme),h.keyboardHandler!==d.keyboardHandler&&(h.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+h.keyboardHandler):this.editor.setKeyboardHandler(null)),h.fontSize!==d.fontSize&&this.editor.setFontSize(typeof h.fontSize=="number"?"".concat(h.fontSize,"px"):h.fontSize),h.lineHeight!==d.lineHeight&&(this.editor.container.style.lineHeight=typeof h.lineHeight=="number"?"".concat(h.lineHeight,"px"):h.lineHeight,this.editor.renderer.updateFontSize()),h.wrapEnabled!==d.wrapEnabled&&this.editor.getSession().setUseWrapMode(h.wrapEnabled),h.showPrintMargin!==d.showPrintMargin&&this.editor.setShowPrintMargin(h.showPrintMargin),h.showGutter!==d.showGutter&&this.editor.renderer.setShowGutter(h.showGutter),p(h.setOptions,d.setOptions)||this.handleOptions(h),(D||!p(h.annotations,d.annotations))&&this.editor.getSession().setAnnotations(h.annotations||[]),!p(h.markers,d.markers)&&Array.isArray(h.markers)&&this.handleMarkers(h.markers),p(h.scrollMargin,d.scrollMargin)||this.handleScrollMargins(h.scrollMargin),(u.height!==this.props.height||u.width!==this.props.width)&&this.editor.resize(),this.props.focus&&!u.focus&&this.editor.focus()},c.prototype.handleScrollMargins=function(u){u===void 0&&(u=[0,0,0,0]),this.editor.renderer.setScrollMargin(u[0],u[1],u[2],u[3])},c.prototype.componentWillUnmount=function(){this.editor&&(this.editor.destroy(),this.editor=null)},c.prototype.onChange=function(u){if(this.editor&&this.props.onChange&&!this.silent){var d=this.editor.getValue();this.props.onChange(d,u)}},c.prototype.onSelectionChange=function(u){if(this.props.onSelectionChange){var d=this.editor.getSelection();this.props.onSelectionChange(d,u)}},c.prototype.onCursorChange=function(u){if(this.props.onCursorChange){var d=this.editor.getSelection();this.props.onCursorChange(d,u)}},c.prototype.onInput=function(u){this.props.onInput&&this.props.onInput(u),this.props.placeholder&&this.updatePlaceholder()},c.prototype.onFocus=function(u){this.props.onFocus&&this.props.onFocus(u,this.editor)},c.prototype.onBlur=function(u){this.props.onBlur&&this.props.onBlur(u,this.editor)},c.prototype.onCopy=function(u){var d=u.text;this.props.onCopy&&this.props.onCopy(d)},c.prototype.onPaste=function(u){var d=u.text;this.props.onPaste&&this.props.onPaste(d)},c.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},c.prototype.handleOptions=function(u){for(var d=Object.keys(u.setOptions),h=0;h<d.length;h++)this.editor.setOption(d[h],u.setOptions[d[h]])},c.prototype.handleMarkers=function(u){var d=this,h=this.editor.getSession().getMarkers(!0);for(var m in h)h.hasOwnProperty(m)&&this.editor.getSession().removeMarker(h[m].id);h=this.editor.getSession().getMarkers(!1);for(var m in h)h.hasOwnProperty(m)&&h[m].clazz!=="ace_active-line"&&h[m].clazz!=="ace_selected-word"&&this.editor.getSession().removeMarker(h[m].id);u.forEach(function(S){var T=S.startRow,A=S.startCol,N=S.endRow,D=S.endCol,R=S.className,L=S.type,C=S.inFront,$=C===void 0?!1:C,F=new i.Range(T,A,N,D);d.editor.getSession().addMarker(F,R,L,$)})},c.prototype.updatePlaceholder=function(){var u=this.editor,d=this.props.placeholder,h=!u.session.getValue().length,m=u.renderer.placeholderNode;!h&&m?(u.renderer.scroller.removeChild(u.renderer.placeholderNode),u.renderer.placeholderNode=null):h&&!m?(m=u.renderer.placeholderNode=document.createElement("div"),m.textContent=d||"",m.className="ace_comment ace_placeholder",m.style.padding="0 9px",m.style.position="absolute",m.style.zIndex="3",u.renderer.scroller.appendChild(m)):h&&m&&(m.textContent=d)},c.prototype.updateRef=function(u){this.refEditor=u},c.prototype.render=function(){var u=this.props,d=u.name,h=u.width,m=u.height,S=u.style,T=e({width:h,height:m},S);return E.createElement("div",{ref:this.updateRef,id:d,style:T})},c.propTypes={mode:a.oneOfType([a.string,a.object]),focus:a.bool,theme:a.string,name:a.string,className:a.string,height:a.string,width:a.string,fontSize:a.oneOfType([a.number,a.string]),lineHeight:a.oneOfType([a.number,a.string]),showGutter:a.bool,onChange:a.func,onCopy:a.func,onPaste:a.func,onFocus:a.func,onInput:a.func,onBlur:a.func,onScroll:a.func,value:a.string,defaultValue:a.string,onLoad:a.func,onSelectionChange:a.func,onCursorChange:a.func,onBeforeLoad:a.func,onValidate:a.func,minLines:a.number,maxLines:a.number,readOnly:a.bool,highlightActiveLine:a.bool,tabSize:a.number,showPrintMargin:a.bool,cursorStart:a.number,debounceChangePeriod:a.number,editorProps:a.object,setOptions:a.object,style:a.object,scrollMargin:a.array,annotations:a.array,markers:a.array,keyboardHandler:a.string,wrapEnabled:a.bool,enableSnippets:a.bool,enableBasicAutocompletion:a.oneOfType([a.bool,a.array]),enableLiveAutocompletion:a.oneOfType([a.bool,a.array]),navigateToFileEnd:a.bool,commands:a.array,placeholder:a.string},c.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},c})(E.Component);return kd.default=f,kd}var Rp={},Id={},JA={exports:{}},GI;function lF(){return GI||(GI=1,(function(t,e){ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],function(i,a,E){var p=i("./lib/oop");i("./lib/lang");var g=i("./lib/event_emitter").EventEmitter,y=i("./editor").Editor,f=i("./virtual_renderer").VirtualRenderer,b=i("./edit_session").EditSession,c;c=function(u,d,h){this.BELOW=1,this.BESIDE=0,this.$container=u,this.$theme=d,this.$splits=0,this.$editorCSS="",this.$editors=[],this.$orientation=this.BESIDE,this.setSplits(h||1),this.$cEditor=this.$editors[0],this.on("focus",(function(m){this.$cEditor=m}).bind(this))},(function(){p.implement(this,g),this.$createEditor=function(){var u=document.createElement("div");u.className=this.$editorCSS,u.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(u);var d=new y(new f(u,this.$theme));return d.on("focus",(function(){this._emit("focus",d)}).bind(this)),this.$editors.push(d),d.setFontSize(this.$fontSize),d},this.setSplits=function(u){var d;if(u<1)throw"The number of splits have to be > 0!";if(u!=this.$splits){if(u>this.$splits){for(;this.$splits<this.$editors.length&&this.$splits<u;)d=this.$editors[this.$splits],this.$container.appendChild(d.container),d.setFontSize(this.$fontSize),this.$splits++;for(;this.$splits<u;)this.$createEditor(),this.$splits++}else for(;this.$splits>u;)d=this.$editors[this.$splits-1],this.$container.removeChild(d.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(u){return this.$editors[u]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(u){this.$editors.forEach(function(d){d.setTheme(u)})},this.setKeyboardHandler=function(u){this.$editors.forEach(function(d){d.setKeyboardHandler(u)})},this.forEach=function(u,d){this.$editors.forEach(u,d)},this.$fontSize="",this.setFontSize=function(u){this.$fontSize=u,this.forEach(function(d){d.setFontSize(u)})},this.$cloneSession=function(u){var d=new b(u.getDocument(),u.getMode()),h=u.getUndoManager();return d.setUndoManager(h),d.setTabSize(u.getTabSize()),d.setUseSoftTabs(u.getUseSoftTabs()),d.setOverwrite(u.getOverwrite()),d.setBreakpoints(u.getBreakpoints()),d.setUseWrapMode(u.getUseWrapMode()),d.setUseWorker(u.getUseWorker()),d.setWrapLimitRange(u.$wrapLimitRange.min,u.$wrapLimitRange.max),d.$foldData=u.$cloneFoldData(),d},this.setSession=function(u,d){var h;d==null?h=this.$cEditor:h=this.$editors[d];var m=this.$editors.some(function(S){return S.session===u});return m&&(u=this.$cloneSession(u)),h.setSession(u),u},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(u){this.$orientation!=u&&(this.$orientation=u,this.resize())},this.resize=function(){var u=this.$container.clientWidth,d=this.$container.clientHeight,h;if(this.$orientation==this.BESIDE)for(var m=u/this.$splits,S=0;S<this.$splits;S++)h=this.$editors[S],h.container.style.width=m+"px",h.container.style.top="0px",h.container.style.left=S*m+"px",h.container.style.height=d+"px",h.resize();else for(var T=d/this.$splits,S=0;S<this.$splits;S++)h=this.$editors[S],h.container.style.width=u+"px",h.container.style.top=S*T+"px",h.container.style.left="0px",h.container.style.height=T+"px",h.resize()}}).call(c.prototype),a.Split=c}),ace.define("ace/ext/split",["require","exports","module","ace/ext/split","ace/split"],function(i,a,E){E.exports=i("../split")}),(function(){ace.require(["ace/ext/split"],function(i){t&&(t.exports=i)})})()})(JA)),JA.exports}var ex,QI;function cF(){if(QI)return ex;QI=1;var t="Expected a function",e="__lodash_hash_undefined__",i="[object Function]",a="[object GeneratorFunction]",E="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/,y=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,b=/[\\^$.*+?()[\]{}|]/g,c=/\\(\\)?/g,u=/^\[object .+?Constructor\]$/,d=typeof ac=="object"&&ac&&ac.Object===Object&&ac,h=typeof self=="object"&&self&&self.Object===Object&&self,m=d||h||Function("return this")();function S(xe,Ge){return xe==null?void 0:xe[Ge]}function T(xe){var Ge=!1;if(xe!=null&&typeof xe.toString!="function")try{Ge=!!(xe+"")}catch{}return Ge}var A=Array.prototype,N=Function.prototype,D=Object.prototype,R=m["__core-js_shared__"],L=(function(){var xe=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||"");return xe?"Symbol(src)_1."+xe:""})(),C=N.toString,$=D.hasOwnProperty,F=D.toString,U=RegExp("^"+C.call($).replace(b,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),j=m.Symbol,X=A.splice,P=ze(m,"Map"),B=ze(Object,"create"),k=j?j.prototype:void 0,M=k?k.toString:void 0;function I(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function W(){this.__data__=B?B(null):{}}function Q(xe){return this.has(xe)&&delete this.__data__[xe]}function J(xe){var Ge=this.__data__;if(B){var bt=Ge[xe];return bt===e?void 0:bt}return $.call(Ge,xe)?Ge[xe]:void 0}function K(xe){var Ge=this.__data__;return B?Ge[xe]!==void 0:$.call(Ge,xe)}function Z(xe,Ge){var bt=this.__data__;return bt[xe]=B&&Ge===void 0?e:Ge,this}I.prototype.clear=W,I.prototype.delete=Q,I.prototype.get=J,I.prototype.has=K,I.prototype.set=Z;function re(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function te(){this.__data__=[]}function ae(xe){var Ge=this.__data__,bt=Re(Ge,xe);if(bt<0)return!1;var Mt=Ge.length-1;return bt==Mt?Ge.pop():X.call(Ge,bt,1),!0}function se(xe){var Ge=this.__data__,bt=Re(Ge,xe);return bt<0?void 0:Ge[bt][1]}function ie(xe){return Re(this.__data__,xe)>-1}function ue(xe,Ge){var bt=this.__data__,Mt=Re(bt,xe);return Mt<0?bt.push([xe,Ge]):bt[Mt][1]=Ge,this}re.prototype.clear=te,re.prototype.delete=ae,re.prototype.get=se,re.prototype.has=ie,re.prototype.set=ue;function me(xe){var Ge=-1,bt=xe?xe.length:0;for(this.clear();++Ge<bt;){var Mt=xe[Ge];this.set(Mt[0],Mt[1])}}function ve(){this.__data__={hash:new I,map:new(P||re),string:new I}}function pe(xe){return $t(this,xe).delete(xe)}function ye(xe){return $t(this,xe).get(xe)}function de(xe){return $t(this,xe).has(xe)}function Ve(xe,Ge){return $t(this,xe).set(xe,Ge),this}me.prototype.clear=ve,me.prototype.delete=pe,me.prototype.get=ye,me.prototype.has=de,me.prototype.set=Ve;function Re(xe,Ge){for(var bt=xe.length;bt--;)if(tt(xe[bt][0],Ge))return bt;return-1}function qe(xe,Ge){Ge=nt(Ge,xe)?[Ge]:xt(Ge);for(var bt=0,Mt=Ge.length;xe!=null&&bt<Mt;)xe=xe[Le(Ge[bt++])];return bt&&bt==Mt?xe:void 0}function et(xe){if(!Nt(xe)||gt(xe))return!1;var Ge=St(xe)||T(xe)?U:u;return Ge.test(je(xe))}function mt(xe){if(typeof xe=="string")return xe;if(Ot(xe))return M?M.call(xe):"";var Ge=xe+"";return Ge=="0"&&1/xe==-1/0?"-0":Ge}function xt(xe){return vt(xe)?xe:at(xe)}function $t(xe,Ge){var bt=xe.__data__;return ct(Ge)?bt[typeof Ge=="string"?"string":"hash"]:bt.map}function ze(xe,Ge){var bt=S(xe,Ge);return et(bt)?bt:void 0}function nt(xe,Ge){if(vt(xe))return!1;var bt=typeof xe;return bt=="number"||bt=="symbol"||bt=="boolean"||xe==null||Ot(xe)?!0:g.test(xe)||!p.test(xe)||Ge!=null&&xe in Object(Ge)}function ct(xe){var Ge=typeof xe;return Ge=="string"||Ge=="number"||Ge=="symbol"||Ge=="boolean"?xe!=="__proto__":xe===null}function gt(xe){return!!L&&L in xe}var at=ot(function(xe){xe=_t(xe);var Ge=[];return y.test(xe)&&Ge.push(""),xe.replace(f,function(bt,Mt,ut,yt){Ge.push(ut?yt.replace(c,"$1"):Mt||bt)}),Ge});function Le(xe){if(typeof xe=="string"||Ot(xe))return xe;var Ge=xe+"";return Ge=="0"&&1/xe==-1/0?"-0":Ge}function je(xe){if(xe!=null){try{return C.call(xe)}catch{}try{return xe+""}catch{}}return""}function ot(xe,Ge){if(typeof xe!="function"||Ge&&typeof Ge!="function")throw new TypeError(t);var bt=function(){var Mt=arguments,ut=Ge?Ge.apply(this,Mt):Mt[0],yt=bt.cache;if(yt.has(ut))return yt.get(ut);var Ht=xe.apply(this,Mt);return bt.cache=yt.set(ut,Ht),Ht};return bt.cache=new(ot.Cache||me),bt}ot.Cache=me;function tt(xe,Ge){return xe===Ge||xe!==xe&&Ge!==Ge}var vt=Array.isArray;function St(xe){var Ge=Nt(xe)?F.call(xe):"";return Ge==i||Ge==a}function Nt(xe){var Ge=typeof xe;return!!xe&&(Ge=="object"||Ge=="function")}function an(xe){return!!xe&&typeof xe=="object"}function Ot(xe){return typeof xe=="symbol"||an(xe)&&F.call(xe)==E}function _t(xe){return xe==null?"":mt(xe)}function Et(xe,Ge,bt){var Mt=xe==null?void 0:qe(xe,Ge);return Mt===void 0?bt:Mt}return ex=Et,ex}var WI;function YI(){if(WI)return Id;WI=1;var t=Id&&Id.__extends||(function(){var u=function(d,h){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(m,S){m.__proto__=S}||function(m,S){for(var T in S)Object.prototype.hasOwnProperty.call(S,T)&&(m[T]=S[T])},u(d,h)};return function(d,h){if(typeof h!="function"&&h!==null)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");u(d,h);function m(){this.constructor=d}d.prototype=h===null?Object.create(h):(m.prototype=h.prototype,new m)}})(),e=Id&&Id.__assign||function(){return e=Object.assign||function(u){for(var d,h=1,m=arguments.length;h<m;h++){d=arguments[h];for(var S in d)Object.prototype.hasOwnProperty.call(d,S)&&(u[S]=d[S])}return u},e.apply(this,arguments)};Object.defineProperty(Id,"__esModule",{value:!0});var i=PI(),a=(0,i.getAceInstance)(),E=kv(),p=lF(),g=ZA(),y=Y,f=BI(),b=cF(),c=(function(u){t(d,u);function d(h){var m=u.call(this,h)||this;return i.editorEvents.forEach(function(S){m[S]=m[S].bind(m)}),m.debounce=i.debounce,m}return d.prototype.isInShadow=function(h){for(var m=h&&h.parentNode;m;){if(m.toString()==="[object ShadowRoot]")return!0;m=m.parentNode}return!1},d.prototype.componentDidMount=function(){var h=this,m=this.props,S=m.className,T=m.onBeforeLoad,A=m.mode,N=m.focus,D=m.theme,R=m.fontSize,L=m.value,C=m.defaultValue,$=m.cursorStart,F=m.showGutter,U=m.wrapEnabled,j=m.showPrintMargin,X=m.scrollMargin,P=X===void 0?[0,0,0,0]:X,B=m.keyboardHandler,k=m.onLoad,M=m.commands,I=m.annotations,W=m.markers,Q=m.splits;this.editor=a.edit(this.refEditor),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.setTheme("ace/theme/".concat(D)),T&&T(a);var J=Object.keys(this.props.editorProps),K=new p.Split(this.editor.container,"ace/theme/".concat(D),Q);this.editor.env.split=K,this.splitEditor=K.getEditor(0),this.split=K,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var Z=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),K.forEach(function(te,ae){for(var se=0;se<J.length;se++)te[J[se]]=h.props.editorProps[J[se]];var ie=b(C,ae),ue=b(L,ae,"");te.session.setUndoManager(new a.UndoManager),te.setTheme("ace/theme/".concat(D)),te.renderer.setScrollMargin(P[0],P[1],P[2],P[3]),te.getSession().setMode("ace/mode/".concat(A)),te.setFontSize(R),te.renderer.setShowGutter(F),te.getSession().setUseWrapMode(U),te.setShowPrintMargin(j),te.on("focus",h.onFocus),te.on("blur",h.onBlur),te.on("input",h.onInput),te.on("copy",h.onCopy),te.on("paste",h.onPaste),te.on("change",h.onChange),te.getSession().selection.on("changeSelection",h.onSelectionChange),te.getSession().selection.on("changeCursor",h.onCursorChange),te.session.on("changeScrollTop",h.onScroll),te.setValue(ie===void 0?ue:ie,$);var me=b(I,ae,[]),ve=b(W,ae,[]);te.getSession().setAnnotations(me),ve&&ve.length>0&&h.handleMarkers(ve,te);for(var se=0;se<i.editorOptions.length;se++){var pe=i.editorOptions[se];Z.hasOwnProperty(pe)?te.setOption(pe,h.props[pe]):h.props[pe]&&console.warn("ReaceAce: editor option ".concat(pe," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))}h.handleOptions(h.props,te),Array.isArray(M)&&M.forEach(function(ye){typeof ye.exec=="string"?te.commands.bindKey(ye.bindKey,ye.exec):te.commands.addCommand(ye)}),B&&te.setKeyboardHandler("ace/keyboard/"+B)}),S&&(this.refEditor.className+=" "+S),N&&this.splitEditor.focus();var re=this.editor.env.split;re.setOrientation(this.props.orientation==="below"?re.BELOW:re.BESIDE),re.resize(!0),k&&k(re)},d.prototype.componentDidUpdate=function(h){var m=this,S=h,T=this.props,A=this.editor.env.split;if(T.splits!==S.splits&&A.setSplits(T.splits),T.orientation!==S.orientation&&A.setOrientation(T.orientation==="below"?A.BELOW:A.BESIDE),A.forEach(function(L,C){T.mode!==S.mode&&L.getSession().setMode("ace/mode/"+T.mode),T.keyboardHandler!==S.keyboardHandler&&(T.keyboardHandler?L.setKeyboardHandler("ace/keyboard/"+T.keyboardHandler):L.setKeyboardHandler(null)),T.fontSize!==S.fontSize&&L.setFontSize(T.fontSize),T.wrapEnabled!==S.wrapEnabled&&L.getSession().setUseWrapMode(T.wrapEnabled),T.showPrintMargin!==S.showPrintMargin&&L.setShowPrintMargin(T.showPrintMargin),T.showGutter!==S.showGutter&&L.renderer.setShowGutter(T.showGutter);for(var $=0;$<i.editorOptions.length;$++){var F=i.editorOptions[$];T[F]!==S[F]&&L.setOption(F,T[F])}f(T.setOptions,S.setOptions)||m.handleOptions(T,L);var U=b(T.value,C,"");if(L.getValue()!==U){m.silent=!0;var j=L.session.selection.toJSON();L.setValue(U,T.cursorStart),L.session.selection.fromJSON(j),m.silent=!1}var X=b(T.annotations,C,[]),P=b(S.annotations,C,[]);f(X,P)||L.getSession().setAnnotations(X);var B=b(T.markers,C,[]),k=b(S.markers,C,[]);!f(B,k)&&Array.isArray(B)&&m.handleMarkers(B,L)}),T.className!==S.className){var N=this.refEditor.className,D=N.trim().split(" "),R=S.className.trim().split(" ");R.forEach(function(L){var C=D.indexOf(L);D.splice(C,1)}),this.refEditor.className=" "+T.className+" "+D.join(" ")}T.theme!==S.theme&&A.setTheme("ace/theme/"+T.theme),T.focus&&!S.focus&&this.splitEditor.focus(),(T.height!==this.props.height||T.width!==this.props.width)&&this.editor.resize()},d.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},d.prototype.onChange=function(h){if(this.props.onChange&&!this.silent){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getValue())}),this.props.onChange(m,h)}},d.prototype.onSelectionChange=function(h){if(this.props.onSelectionChange){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getSelection())}),this.props.onSelectionChange(m,h)}},d.prototype.onCursorChange=function(h){if(this.props.onCursorChange){var m=[];this.editor.env.split.forEach(function(S){m.push(S.getSelection())}),this.props.onCursorChange(m,h)}},d.prototype.onFocus=function(h){this.props.onFocus&&this.props.onFocus(h)},d.prototype.onInput=function(h){this.props.onInput&&this.props.onInput(h)},d.prototype.onBlur=function(h){this.props.onBlur&&this.props.onBlur(h)},d.prototype.onCopy=function(h){this.props.onCopy&&this.props.onCopy(h)},d.prototype.onPaste=function(h){this.props.onPaste&&this.props.onPaste(h)},d.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},d.prototype.handleOptions=function(h,m){for(var S=Object.keys(h.setOptions),T=0;T<S.length;T++)m.setOption(S[T],h.setOptions[S[T]])},d.prototype.handleMarkers=function(h,m){var S=m.getSession().getMarkers(!0);for(var T in S)S.hasOwnProperty(T)&&m.getSession().removeMarker(S[T].id);S=m.getSession().getMarkers(!1);for(var T in S)S.hasOwnProperty(T)&&m.getSession().removeMarker(S[T].id);h.forEach(function(A){var N=A.startRow,D=A.startCol,R=A.endRow,L=A.endCol,C=A.className,$=A.type,F=A.inFront,U=F===void 0?!1:F,j=new E.Range(N,D,R,L);m.getSession().addMarker(j,C,$,U)})},d.prototype.updateRef=function(h){this.refEditor=h},d.prototype.render=function(){var h=this.props,m=h.name,S=h.width,T=h.height,A=h.style,N=e({width:S,height:T},A);return y.createElement("div",{ref:this.updateRef,id:m,style:N})},d.propTypes={className:g.string,debounceChangePeriod:g.number,defaultValue:g.arrayOf(g.string),focus:g.bool,fontSize:g.oneOfType([g.number,g.string]),height:g.string,mode:g.string,name:g.string,onBlur:g.func,onChange:g.func,onCopy:g.func,onFocus:g.func,onInput:g.func,onLoad:g.func,onPaste:g.func,onScroll:g.func,orientation:g.string,showGutter:g.bool,splits:g.number,theme:g.string,value:g.arrayOf(g.string),width:g.string,onSelectionChange:g.func,onCursorChange:g.func,onBeforeLoad:g.func,minLines:g.number,maxLines:g.number,readOnly:g.bool,highlightActiveLine:g.bool,tabSize:g.number,showPrintMargin:g.bool,cursorStart:g.number,editorProps:g.object,setOptions:g.object,style:g.object,scrollMargin:g.array,annotations:g.array,markers:g.array,keyboardHandler:g.string,wrapEnabled:g.bool,enableBasicAutocompletion:g.oneOfType([g.bool,g.array]),enableLiveAutocompletion:g.oneOfType([g.bool,g.array]),commands:g.array},d.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},d})(y.Component);return Id.default=c,Id}var tx={exports:{}},XI;function uF(){return XI||(XI=1,(function(t){var e=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},i=-1,a=1,E=0;e.Diff=function(p,g){return[p,g]},e.prototype.diff_main=function(p,g,y,f){typeof f>"u"&&(this.Diff_Timeout<=0?f=Number.MAX_VALUE:f=new Date().getTime()+this.Diff_Timeout*1e3);var b=f;if(p==null||g==null)throw new Error("Null input. (diff_main)");if(p==g)return p?[new e.Diff(E,p)]:[];typeof y>"u"&&(y=!0);var c=y,u=this.diff_commonPrefix(p,g),d=p.substring(0,u);p=p.substring(u),g=g.substring(u),u=this.diff_commonSuffix(p,g);var h=p.substring(p.length-u);p=p.substring(0,p.length-u),g=g.substring(0,g.length-u);var m=this.diff_compute_(p,g,c,b);return d&&m.unshift(new e.Diff(E,d)),h&&m.push(new e.Diff(E,h)),this.diff_cleanupMerge(m),m},e.prototype.diff_compute_=function(p,g,y,f){var b;if(!p)return[new e.Diff(a,g)];if(!g)return[new e.Diff(i,p)];var c=p.length>g.length?p:g,u=p.length>g.length?g:p,d=c.indexOf(u);if(d!=-1)return b=[new e.Diff(a,c.substring(0,d)),new e.Diff(E,u),new e.Diff(a,c.substring(d+u.length))],p.length>g.length&&(b[0][0]=b[2][0]=i),b;if(u.length==1)return[new e.Diff(i,p),new e.Diff(a,g)];var h=this.diff_halfMatch_(p,g);if(h){var m=h[0],S=h[1],T=h[2],A=h[3],N=h[4],D=this.diff_main(m,T,y,f),R=this.diff_main(S,A,y,f);return D.concat([new e.Diff(E,N)],R)}return y&&p.length>100&&g.length>100?this.diff_lineMode_(p,g,f):this.diff_bisect_(p,g,f)},e.prototype.diff_lineMode_=function(p,g,y){var f=this.diff_linesToChars_(p,g);p=f.chars1,g=f.chars2;var b=f.lineArray,c=this.diff_main(p,g,!1,y);this.diff_charsToLines_(c,b),this.diff_cleanupSemantic(c),c.push(new e.Diff(E,""));for(var u=0,d=0,h=0,m="",S="";u<c.length;){switch(c[u][0]){case a:h++,S+=c[u][1];break;case i:d++,m+=c[u][1];break;case E:if(d>=1&&h>=1){c.splice(u-d-h,d+h),u=u-d-h;for(var T=this.diff_main(m,S,!1,y),A=T.length-1;A>=0;A--)c.splice(u,0,T[A]);u=u+T.length}h=0,d=0,m="",S="";break}u++}return c.pop(),c},e.prototype.diff_bisect_=function(p,g,y){for(var f=p.length,b=g.length,c=Math.ceil((f+b)/2),u=c,d=2*c,h=new Array(d),m=new Array(d),S=0;S<d;S++)h[S]=-1,m[S]=-1;h[u+1]=0,m[u+1]=0;for(var T=f-b,A=T%2!=0,N=0,D=0,R=0,L=0,C=0;C<c&&!(new Date().getTime()>y);C++){for(var $=-C+N;$<=C-D;$+=2){var F=u+$,U;$==-C||$!=C&&h[F-1]<h[F+1]?U=h[F+1]:U=h[F-1]+1;for(var j=U-$;U<f&&j<b&&p.charAt(U)==g.charAt(j);)U++,j++;if(h[F]=U,U>f)D+=2;else if(j>b)N+=2;else if(A){var X=u+T-$;if(X>=0&&X<d&&m[X]!=-1){var P=f-m[X];if(U>=P)return this.diff_bisectSplit_(p,g,U,j,y)}}}for(var B=-C+R;B<=C-L;B+=2){var X=u+B,P;B==-C||B!=C&&m[X-1]<m[X+1]?P=m[X+1]:P=m[X-1]+1;for(var k=P-B;P<f&&k<b&&p.charAt(f-P-1)==g.charAt(b-k-1);)P++,k++;if(m[X]=P,P>f)L+=2;else if(k>b)R+=2;else if(!A){var F=u+T-B;if(F>=0&&F<d&&h[F]!=-1){var U=h[F],j=u+U-F;if(P=f-P,U>=P)return this.diff_bisectSplit_(p,g,U,j,y)}}}}return[new e.Diff(i,p),new e.Diff(a,g)]},e.prototype.diff_bisectSplit_=function(p,g,y,f,b){var c=p.substring(0,y),u=g.substring(0,f),d=p.substring(y),h=g.substring(f),m=this.diff_main(c,u,!1,b),S=this.diff_main(d,h,!1,b);return m.concat(S)},e.prototype.diff_linesToChars_=function(p,g){var y=[],f={};y[0]="";function b(h){for(var m="",S=0,T=-1,A=y.length;T<h.length-1;){T=h.indexOf(`
1405
1405
  `,S),T==-1&&(T=h.length-1);var N=h.substring(S,T+1);(f.hasOwnProperty?f.hasOwnProperty(N):f[N]!==void 0)?m+=String.fromCharCode(f[N]):(A==c&&(N=h.substring(S),T=h.length),m+=String.fromCharCode(A),f[N]=A,y[A++]=N),S=T+1}return m}var c=4e4,u=b(p);c=65535;var d=b(g);return{chars1:u,chars2:d,lineArray:y}},e.prototype.diff_charsToLines_=function(p,g){for(var y=0;y<p.length;y++){for(var f=p[y][1],b=[],c=0;c<f.length;c++)b[c]=g[f.charCodeAt(c)];p[y][1]=b.join("")}},e.prototype.diff_commonPrefix=function(p,g){if(!p||!g||p.charAt(0)!=g.charAt(0))return 0;for(var y=0,f=Math.min(p.length,g.length),b=f,c=0;y<b;)p.substring(c,b)==g.substring(c,b)?(y=b,c=y):f=b,b=Math.floor((f-y)/2+y);return b},e.prototype.diff_commonSuffix=function(p,g){if(!p||!g||p.charAt(p.length-1)!=g.charAt(g.length-1))return 0;for(var y=0,f=Math.min(p.length,g.length),b=f,c=0;y<b;)p.substring(p.length-b,p.length-c)==g.substring(g.length-b,g.length-c)?(y=b,c=y):f=b,b=Math.floor((f-y)/2+y);return b},e.prototype.diff_commonOverlap_=function(p,g){var y=p.length,f=g.length;if(y==0||f==0)return 0;y>f?p=p.substring(y-f):y<f&&(g=g.substring(0,y));var b=Math.min(y,f);if(p==g)return b;for(var c=0,u=1;;){var d=p.substring(b-u),h=g.indexOf(d);if(h==-1)return c;u+=h,(h==0||p.substring(b-u)==g.substring(0,u))&&(c=u,u++)}},e.prototype.diff_halfMatch_=function(p,g){if(this.Diff_Timeout<=0)return null;var y=p.length>g.length?p:g,f=p.length>g.length?g:p;if(y.length<4||f.length*2<y.length)return null;var b=this;function c(D,R,L){for(var C=D.substring(L,L+Math.floor(D.length/4)),$=-1,F="",U,j,X,P;($=R.indexOf(C,$+1))!=-1;){var B=b.diff_commonPrefix(D.substring(L),R.substring($)),k=b.diff_commonSuffix(D.substring(0,L),R.substring(0,$));F.length<k+B&&(F=R.substring($-k,$)+R.substring($,$+B),U=D.substring(0,L-k),j=D.substring(L+B),X=R.substring(0,$-k),P=R.substring($+B))}return F.length*2>=D.length?[U,j,X,P,F]:null}var u=c(y,f,Math.ceil(y.length/4)),d=c(y,f,Math.ceil(y.length/2)),h;if(!u&&!d)return null;d?u?h=u[4].length>d[4].length?u:d:h=d:h=u;var m,S,T,A;p.length>g.length?(m=h[0],S=h[1],T=h[2],A=h[3]):(T=h[0],A=h[1],m=h[2],S=h[3]);var N=h[4];return[m,S,T,A,N]},e.prototype.diff_cleanupSemantic=function(p){for(var g=!1,y=[],f=0,b=null,c=0,u=0,d=0,h=0,m=0;c<p.length;)p[c][0]==E?(y[f++]=c,u=h,d=m,h=0,m=0,b=p[c][1]):(p[c][0]==a?h+=p[c][1].length:m+=p[c][1].length,b&&b.length<=Math.max(u,d)&&b.length<=Math.max(h,m)&&(p.splice(y[f-1],0,new e.Diff(i,b)),p[y[f-1]+1][0]=a,f--,f--,c=f>0?y[f-1]:-1,u=0,d=0,h=0,m=0,b=null,g=!0)),c++;for(g&&this.diff_cleanupMerge(p),this.diff_cleanupSemanticLossless(p),c=1;c<p.length;){if(p[c-1][0]==i&&p[c][0]==a){var S=p[c-1][1],T=p[c][1],A=this.diff_commonOverlap_(S,T),N=this.diff_commonOverlap_(T,S);A>=N?(A>=S.length/2||A>=T.length/2)&&(p.splice(c,0,new e.Diff(E,T.substring(0,A))),p[c-1][1]=S.substring(0,S.length-A),p[c+1][1]=T.substring(A),c++):(N>=S.length/2||N>=T.length/2)&&(p.splice(c,0,new e.Diff(E,S.substring(0,N))),p[c-1][0]=a,p[c-1][1]=T.substring(0,T.length-N),p[c+1][0]=i,p[c+1][1]=S.substring(N),c++),c++}c++}},e.prototype.diff_cleanupSemanticLossless=function(p){function g(N,D){if(!N||!D)return 6;var R=N.charAt(N.length-1),L=D.charAt(0),C=R.match(e.nonAlphaNumericRegex_),$=L.match(e.nonAlphaNumericRegex_),F=C&&R.match(e.whitespaceRegex_),U=$&&L.match(e.whitespaceRegex_),j=F&&R.match(e.linebreakRegex_),X=U&&L.match(e.linebreakRegex_),P=j&&N.match(e.blanklineEndRegex_),B=X&&D.match(e.blanklineStartRegex_);return P||B?5:j||X?4:C&&!F&&U?3:F||U?2:C||$?1:0}for(var y=1;y<p.length-1;){if(p[y-1][0]==E&&p[y+1][0]==E){var f=p[y-1][1],b=p[y][1],c=p[y+1][1],u=this.diff_commonSuffix(f,b);if(u){var d=b.substring(b.length-u);f=f.substring(0,f.length-u),b=d+b.substring(0,b.length-u),c=d+c}for(var h=f,m=b,S=c,T=g(f,b)+g(b,c);b.charAt(0)===c.charAt(0);){f+=b.charAt(0),b=b.substring(1)+c.charAt(0),c=c.substring(1);var A=g(f,b)+g(b,c);A>=T&&(T=A,h=f,m=b,S=c)}p[y-1][1]!=h&&(h?p[y-1][1]=h:(p.splice(y-1,1),y--),p[y][1]=m,S?p[y+1][1]=S:(p.splice(y+1,1),y--))}y++}},e.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,e.whitespaceRegex_=/\s/,e.linebreakRegex_=/[\r\n]/,e.blanklineEndRegex_=/\n\r?\n$/,e.blanklineStartRegex_=/^\r?\n\r?\n/,e.prototype.diff_cleanupEfficiency=function(p){for(var g=!1,y=[],f=0,b=null,c=0,u=!1,d=!1,h=!1,m=!1;c<p.length;)p[c][0]==E?(p[c][1].length<this.Diff_EditCost&&(h||m)?(y[f++]=c,u=h,d=m,b=p[c][1]):(f=0,b=null),h=m=!1):(p[c][0]==i?m=!0:h=!0,b&&(u&&d&&h&&m||b.length<this.Diff_EditCost/2&&u+d+h+m==3)&&(p.splice(y[f-1],0,new e.Diff(i,b)),p[y[f-1]+1][0]=a,f--,b=null,u&&d?(h=m=!0,f=0):(f--,c=f>0?y[f-1]:-1,h=m=!1),g=!0)),c++;g&&this.diff_cleanupMerge(p)},e.prototype.diff_cleanupMerge=function(p){p.push(new e.Diff(E,""));for(var g=0,y=0,f=0,b="",c="",u;g<p.length;)switch(p[g][0]){case a:f++,c+=p[g][1],g++;break;case i:y++,b+=p[g][1],g++;break;case E:y+f>1?(y!==0&&f!==0&&(u=this.diff_commonPrefix(c,b),u!==0&&(g-y-f>0&&p[g-y-f-1][0]==E?p[g-y-f-1][1]+=c.substring(0,u):(p.splice(0,0,new e.Diff(E,c.substring(0,u))),g++),c=c.substring(u),b=b.substring(u)),u=this.diff_commonSuffix(c,b),u!==0&&(p[g][1]=c.substring(c.length-u)+p[g][1],c=c.substring(0,c.length-u),b=b.substring(0,b.length-u))),g-=y+f,p.splice(g,y+f),b.length&&(p.splice(g,0,new e.Diff(i,b)),g++),c.length&&(p.splice(g,0,new e.Diff(a,c)),g++),g++):g!==0&&p[g-1][0]==E?(p[g-1][1]+=p[g][1],p.splice(g,1)):g++,f=0,y=0,b="",c="";break}p[p.length-1][1]===""&&p.pop();var d=!1;for(g=1;g<p.length-1;)p[g-1][0]==E&&p[g+1][0]==E&&(p[g][1].substring(p[g][1].length-p[g-1][1].length)==p[g-1][1]?(p[g][1]=p[g-1][1]+p[g][1].substring(0,p[g][1].length-p[g-1][1].length),p[g+1][1]=p[g-1][1]+p[g+1][1],p.splice(g-1,1),d=!0):p[g][1].substring(0,p[g+1][1].length)==p[g+1][1]&&(p[g-1][1]+=p[g+1][1],p[g][1]=p[g][1].substring(p[g+1][1].length)+p[g+1][1],p.splice(g+1,1),d=!0)),g++;d&&this.diff_cleanupMerge(p)},e.prototype.diff_xIndex=function(p,g){var y=0,f=0,b=0,c=0,u;for(u=0;u<p.length&&(p[u][0]!==a&&(y+=p[u][1].length),p[u][0]!==i&&(f+=p[u][1].length),!(y>g));u++)b=y,c=f;return p.length!=u&&p[u][0]===i?c:c+(g-b)},e.prototype.diff_prettyHtml=function(p){for(var g=[],y=/&/g,f=/</g,b=/>/g,c=/\n/g,u=0;u<p.length;u++){var d=p[u][0],h=p[u][1],m=h.replace(y,"&amp;").replace(f,"&lt;").replace(b,"&gt;").replace(c,"&para;<br>");switch(d){case a:g[u]='<ins style="background:#e6ffe6;">'+m+"</ins>";break;case i:g[u]='<del style="background:#ffe6e6;">'+m+"</del>";break;case E:g[u]="<span>"+m+"</span>";break}}return g.join("")},e.prototype.diff_text1=function(p){for(var g=[],y=0;y<p.length;y++)p[y][0]!==a&&(g[y]=p[y][1]);return g.join("")},e.prototype.diff_text2=function(p){for(var g=[],y=0;y<p.length;y++)p[y][0]!==i&&(g[y]=p[y][1]);return g.join("")},e.prototype.diff_levenshtein=function(p){for(var g=0,y=0,f=0,b=0;b<p.length;b++){var c=p[b][0],u=p[b][1];switch(c){case a:y+=u.length;break;case i:f+=u.length;break;case E:g+=Math.max(y,f),y=0,f=0;break}}return g+=Math.max(y,f),g},e.prototype.diff_toDelta=function(p){for(var g=[],y=0;y<p.length;y++)switch(p[y][0]){case a:g[y]="+"+encodeURI(p[y][1]);break;case i:g[y]="-"+p[y][1].length;break;case E:g[y]="="+p[y][1].length;break}return g.join(" ").replace(/%20/g," ")},e.prototype.diff_fromDelta=function(p,g){for(var y=[],f=0,b=0,c=g.split(/\t/g),u=0;u<c.length;u++){var d=c[u].substring(1);switch(c[u].charAt(0)){case"+":try{y[f++]=new e.Diff(a,decodeURI(d))}catch{throw new Error("Illegal escape in diff_fromDelta: "+d)}break;case"-":case"=":var h=parseInt(d,10);if(isNaN(h)||h<0)throw new Error("Invalid number in diff_fromDelta: "+d);var m=p.substring(b,b+=h);c[u].charAt(0)=="="?y[f++]=new e.Diff(E,m):y[f++]=new e.Diff(i,m);break;default:if(c[u])throw new Error("Invalid diff operation in diff_fromDelta: "+c[u])}}if(b!=p.length)throw new Error("Delta length ("+b+") does not equal source text length ("+p.length+").");return y},e.prototype.match_main=function(p,g,y){if(p==null||g==null||y==null)throw new Error("Null input. (match_main)");return y=Math.max(0,Math.min(y,p.length)),p==g?0:p.length?p.substring(y,y+g.length)==g?y:this.match_bitap_(p,g,y):-1},e.prototype.match_bitap_=function(p,g,y){if(g.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var f=this.match_alphabet_(g),b=this;function c(U,j){var X=U/g.length,P=Math.abs(y-j);return b.Match_Distance?X+P/b.Match_Distance:P?1:X}var u=this.Match_Threshold,d=p.indexOf(g,y);d!=-1&&(u=Math.min(c(0,d),u),d=p.lastIndexOf(g,y+g.length),d!=-1&&(u=Math.min(c(0,d),u)));var h=1<<g.length-1;d=-1;for(var m,S,T=g.length+p.length,A,N=0;N<g.length;N++){for(m=0,S=T;m<S;)c(N,y+S)<=u?m=S:T=S,S=Math.floor((T-m)/2+m);T=S;var D=Math.max(1,y-S+1),R=Math.min(y+S,p.length)+g.length,L=Array(R+2);L[R+1]=(1<<N)-1;for(var C=R;C>=D;C--){var $=f[p.charAt(C-1)];if(N===0?L[C]=(L[C+1]<<1|1)&$:L[C]=(L[C+1]<<1|1)&$|((A[C+1]|A[C])<<1|1)|A[C+1],L[C]&h){var F=c(N,C-1);if(F<=u)if(u=F,d=C-1,d>y)D=Math.max(1,2*y-d);else break}}if(c(N+1,y)>u)break;A=L}return d},e.prototype.match_alphabet_=function(p){for(var g={},y=0;y<p.length;y++)g[p.charAt(y)]=0;for(var y=0;y<p.length;y++)g[p.charAt(y)]|=1<<p.length-y-1;return g},e.prototype.patch_addContext_=function(p,g){if(g.length!=0){if(p.start2===null)throw Error("patch not initialized");for(var y=g.substring(p.start2,p.start2+p.length1),f=0;g.indexOf(y)!=g.lastIndexOf(y)&&y.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)f+=this.Patch_Margin,y=g.substring(p.start2-f,p.start2+p.length1+f);f+=this.Patch_Margin;var b=g.substring(p.start2-f,p.start2);b&&p.diffs.unshift(new e.Diff(E,b));var c=g.substring(p.start2+p.length1,p.start2+p.length1+f);c&&p.diffs.push(new e.Diff(E,c)),p.start1-=b.length,p.start2-=b.length,p.length1+=b.length+c.length,p.length2+=b.length+c.length}},e.prototype.patch_make=function(p,g,y){var f,b;if(typeof p=="string"&&typeof g=="string"&&typeof y>"u")f=p,b=this.diff_main(f,g,!0),b.length>2&&(this.diff_cleanupSemantic(b),this.diff_cleanupEfficiency(b));else if(p&&typeof p=="object"&&typeof g>"u"&&typeof y>"u")b=p,f=this.diff_text1(b);else if(typeof p=="string"&&g&&typeof g=="object"&&typeof y>"u")f=p,b=g;else if(typeof p=="string"&&typeof g=="string"&&y&&typeof y=="object")f=p,b=y;else throw new Error("Unknown call format to patch_make.");if(b.length===0)return[];for(var c=[],u=new e.patch_obj,d=0,h=0,m=0,S=f,T=f,A=0;A<b.length;A++){var N=b[A][0],D=b[A][1];switch(!d&&N!==E&&(u.start1=h,u.start2=m),N){case a:u.diffs[d++]=b[A],u.length2+=D.length,T=T.substring(0,m)+D+T.substring(m);break;case i:u.length1+=D.length,u.diffs[d++]=b[A],T=T.substring(0,m)+T.substring(m+D.length);break;case E:D.length<=2*this.Patch_Margin&&d&&b.length!=A+1?(u.diffs[d++]=b[A],u.length1+=D.length,u.length2+=D.length):D.length>=2*this.Patch_Margin&&d&&(this.patch_addContext_(u,S),c.push(u),u=new e.patch_obj,d=0,S=T,h=m);break}N!==a&&(h+=D.length),N!==i&&(m+=D.length)}return d&&(this.patch_addContext_(u,S),c.push(u)),c},e.prototype.patch_deepCopy=function(p){for(var g=[],y=0;y<p.length;y++){var f=p[y],b=new e.patch_obj;b.diffs=[];for(var c=0;c<f.diffs.length;c++)b.diffs[c]=new e.Diff(f.diffs[c][0],f.diffs[c][1]);b.start1=f.start1,b.start2=f.start2,b.length1=f.length1,b.length2=f.length2,g[y]=b}return g},e.prototype.patch_apply=function(p,g){if(p.length==0)return[g,[]];p=this.patch_deepCopy(p);var y=this.patch_addPadding(p);g=y+g+y,this.patch_splitMax(p);for(var f=0,b=[],c=0;c<p.length;c++){var u=p[c].start2+f,d=this.diff_text1(p[c].diffs),h,m=-1;if(d.length>this.Match_MaxBits?(h=this.match_main(g,d.substring(0,this.Match_MaxBits),u),h!=-1&&(m=this.match_main(g,d.substring(d.length-this.Match_MaxBits),u+d.length-this.Match_MaxBits),(m==-1||h>=m)&&(h=-1))):h=this.match_main(g,d,u),h==-1)b[c]=!1,f-=p[c].length2-p[c].length1;else{b[c]=!0,f=h-u;var S;if(m==-1?S=g.substring(h,h+d.length):S=g.substring(h,m+this.Match_MaxBits),d==S)g=g.substring(0,h)+this.diff_text2(p[c].diffs)+g.substring(h+d.length);else{var T=this.diff_main(d,S,!1);if(d.length>this.Match_MaxBits&&this.diff_levenshtein(T)/d.length>this.Patch_DeleteThreshold)b[c]=!1;else{this.diff_cleanupSemanticLossless(T);for(var A=0,N,D=0;D<p[c].diffs.length;D++){var R=p[c].diffs[D];R[0]!==E&&(N=this.diff_xIndex(T,A)),R[0]===a?g=g.substring(0,h+N)+R[1]+g.substring(h+N):R[0]===i&&(g=g.substring(0,h+N)+g.substring(h+this.diff_xIndex(T,A+R[1].length))),R[0]!==i&&(A+=R[1].length)}}}}}return g=g.substring(y.length,g.length-y.length),[g,b]},e.prototype.patch_addPadding=function(p){for(var g=this.Patch_Margin,y="",f=1;f<=g;f++)y+=String.fromCharCode(f);for(var f=0;f<p.length;f++)p[f].start1+=g,p[f].start2+=g;var b=p[0],c=b.diffs;if(c.length==0||c[0][0]!=E)c.unshift(new e.Diff(E,y)),b.start1-=g,b.start2-=g,b.length1+=g,b.length2+=g;else if(g>c[0][1].length){var u=g-c[0][1].length;c[0][1]=y.substring(c[0][1].length)+c[0][1],b.start1-=u,b.start2-=u,b.length1+=u,b.length2+=u}if(b=p[p.length-1],c=b.diffs,c.length==0||c[c.length-1][0]!=E)c.push(new e.Diff(E,y)),b.length1+=g,b.length2+=g;else if(g>c[c.length-1][1].length){var u=g-c[c.length-1][1].length;c[c.length-1][1]+=y.substring(0,u),b.length1+=u,b.length2+=u}return y},e.prototype.patch_splitMax=function(p){for(var g=this.Match_MaxBits,y=0;y<p.length;y++)if(!(p[y].length1<=g)){var f=p[y];p.splice(y--,1);for(var b=f.start1,c=f.start2,u="";f.diffs.length!==0;){var d=new e.patch_obj,h=!0;for(d.start1=b-u.length,d.start2=c-u.length,u!==""&&(d.length1=d.length2=u.length,d.diffs.push(new e.Diff(E,u)));f.diffs.length!==0&&d.length1<g-this.Patch_Margin;){var m=f.diffs[0][0],S=f.diffs[0][1];m===a?(d.length2+=S.length,c+=S.length,d.diffs.push(f.diffs.shift()),h=!1):m===i&&d.diffs.length==1&&d.diffs[0][0]==E&&S.length>2*g?(d.length1+=S.length,b+=S.length,h=!1,d.diffs.push(new e.Diff(m,S)),f.diffs.shift()):(S=S.substring(0,g-d.length1-this.Patch_Margin),d.length1+=S.length,b+=S.length,m===E?(d.length2+=S.length,c+=S.length):h=!1,d.diffs.push(new e.Diff(m,S)),S==f.diffs[0][1]?f.diffs.shift():f.diffs[0][1]=f.diffs[0][1].substring(S.length))}u=this.diff_text2(d.diffs),u=u.substring(u.length-this.Patch_Margin);var T=this.diff_text1(f.diffs).substring(0,this.Patch_Margin);T!==""&&(d.length1+=T.length,d.length2+=T.length,d.diffs.length!==0&&d.diffs[d.diffs.length-1][0]===E?d.diffs[d.diffs.length-1][1]+=T:d.diffs.push(new e.Diff(E,T))),h||p.splice(++y,0,d)}}},e.prototype.patch_toText=function(p){for(var g=[],y=0;y<p.length;y++)g[y]=p[y];return g.join("")},e.prototype.patch_fromText=function(p){var g=[];if(!p)return g;for(var y=p.split(`
1406
1406
  `),f=0,b=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;f<y.length;){var c=y[f].match(b);if(!c)throw new Error("Invalid patch string: "+y[f]);var u=new e.patch_obj;for(g.push(u),u.start1=parseInt(c[1],10),c[2]===""?(u.start1--,u.length1=1):c[2]=="0"?u.length1=0:(u.start1--,u.length1=parseInt(c[2],10)),u.start2=parseInt(c[3],10),c[4]===""?(u.start2--,u.length2=1):c[4]=="0"?u.length2=0:(u.start2--,u.length2=parseInt(c[4],10)),f++;f<y.length;){var d=y[f].charAt(0);try{var h=decodeURI(y[f].substring(1))}catch{throw new Error("Illegal escape in patch_fromText: "+h)}if(d=="-")u.diffs.push(new e.Diff(i,h));else if(d=="+")u.diffs.push(new e.Diff(a,h));else if(d==" ")u.diffs.push(new e.Diff(E,h));else{if(d=="@")break;if(d!=="")throw new Error('Invalid patch mode "'+d+'" in: '+h)}f++}}return g},e.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0},e.patch_obj.prototype.toString=function(){var p,g;this.length1===0?p=this.start1+",0":this.length1==1?p=this.start1+1:p=this.start1+1+","+this.length1,this.length2===0?g=this.start2+",0":this.length2==1?g=this.start2+1:g=this.start2+1+","+this.length2;for(var y=["@@ -"+p+" +"+g+` @@
1407
1407
  `],f,b=0;b<this.diffs.length;b++){switch(this.diffs[b][0]){case a:f="+";break;case i:f="-";break;case E:f=" ";break}y[b+1]=f+encodeURI(this.diffs[b][1])+`
@@ -2035,7 +2035,7 @@ guard ^\\s*
2035
2035
  *
2036
2036
  * @description
2037
2037
  * Stylized, theme-aware status chip(s) with a soft pulse.
2038
- */function DF(t){const e=t.toLowerCase();return/\b(success|successful|successfully|ok|ready|healthy|running|connected|live|up)\b/.test(e)?"success":/\b(warn|warning|degraded|slow|retry|pending|queue|queued)\b/.test(e)?"warning":/\b(error|errors|fail|failed|invalid|down|offline|blocked|denied)\b/.test(e)?"error":"accent"}const RF=({note:t})=>{if(!t)return null;const e=t.split(/\r?\n|;|\s·\s/g).map(a=>a.trim()).filter(Boolean),i=[];for(const a of e)i[i.length-1]!==a&&i.push(a);return i.length?H.jsx("div",{className:"w-full max-w-[860px] px-4 md:px-6",children:H.jsx("div",{className:"flex flex-wrap gap-2 py-1",children:i.map((a,E)=>{const p=DF(a),g=p==="success"?"boomi-chip--success":p==="warning"?"boomi-chip--warning":p==="error"?"boomi-chip--error":"";return H.jsxs("span",{className:["boomi-chip","boomi-chip--pulse",g].join(" "),"data-tone":p,children:[H.jsx("span",{className:"boomi-chip-dot","aria-hidden":"true"}),H.jsx("span",{className:"font-semibold",children:a})]},`${a}-${E}`)})})}):null};function c3(t){if(!Number.isFinite(t))return`${t}`;const e=["B","KB","MB","GB"];let i=0,a=t;for(;a>=1024&&i<e.length-1;)a/=1024,i++;return`${a.toFixed(a>=10||i===0?0:1)} ${e[i]}`}const MF=t=>H.jsx("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor",strokeWidth:"2",...t,children:H.jsx("path",{d:"M21.44 11.05 12 20.5a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66L9.88 17.96a2 2 0 1 1-2.83-2.83l8.13-8.13"})}),kF=t=>H.jsx("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2",...t,children:H.jsx("path",{d:"M18 6 6 18M6 6l12 12"})});function IF({integration:t,sessionId:e,messages:i,busy:a,status:E,onSend:p,onSendRich:g,emptyState:y,loading:f=!1}){var tt,ct,gt,at;const{boomiConfig:b}=Fn(),[c,u]=Y.useState(""),[d,h]=Y.useState([]),[m,S]=Y.useState(!1),T=Y.useRef(null),A=Y.useRef(null),N=Y.useRef(null),D=Y.useRef(null),R=Y.useRef(null),L=Y.useRef(!1),[C,$]=Y.useState(120),F=(E==null?void 0:E.state)==="working"||(E==null?void 0:E.state)==="progress",U=!a&&!F,j=t.integrationPackId,X=j?((ct=(tt=b==null?void 0:b.agents)==null?void 0:tt[j])==null?void 0:ct.ui)??void 0:void 0,P=(X==null?void 0:X.allowFreeTextPrompt)!==!1,B=Array.isArray(X==null?void 0:X.prompts)?X.prompts:[],k=!!(X!=null&&X.fileAttachmentSupported),M=!!(X!=null&&X.fileAttachmentRequired),I=Array.isArray(X==null?void 0:X.allowedFileExtensions)?X.allowedFileExtensions.map(Le=>Le.startsWith(".")?Le.toLowerCase():`.${Le.toLowerCase()}`):[],W=k&&M&&d.length===0,Q=Number.isFinite(X==null?void 0:X.maxFiles)?X.maxFiles:5,J=Number.isFinite(X==null?void 0:X.maxTotalBytes)?X.maxTotalBytes:25*1024*1024,K=(X==null?void 0:X.welcome)??void 0,Z=(K==null?void 0:K.title)??"Welcome to your Agent Chat",re=(K==null?void 0:K.subtitle)??"Ask me anything about your integrations.",te=Y.useRef(!0),[ae,se]=Y.useState(!0),ie=Y.useRef(!0),ue=(Le="smooth")=>{var an;const je=T.current;if(!je)return;const it=A.current,rt=((an=D.current)==null?void 0:an.offsetHeight)??0,vt=32,St=it?it.offsetTop:je.scrollHeight,Nt=Math.max(0,St-(je.clientHeight-rt-vt));je.scrollTo({top:Nt,behavior:Le})},me=()=>{const Le=T.current;if(!Le)return;const je=Le.scrollTop+Le.clientHeight>=Le.scrollHeight-24;se(je),te.current=je};Y.useEffect(()=>{const Le=ie.current?"auto":"smooth";ue(Le),ie.current=!1},[i.length,E==null?void 0:E.note,a,F,f,d.length]),Y.useLayoutEffect(()=>{const Le=D.current;if(!Le)return;const je=()=>{const rt=Le.offsetHeight||0;$(Math.max(120,rt+48))};je();const it=new ResizeObserver(je);return it.observe(Le),()=>it.disconnect()},[]),Y.useEffect(()=>{ue("auto")},[C]),Y.useEffect(()=>{L.current=!0},[e]),Y.useEffect(()=>{if(L.current||f||a||F){ue(f?"auto":"smooth"),L.current=!1;return}},[i.length,f,a,F,E==null?void 0:E.note]);const ve=Y.useMemo(()=>{const Le=[];return i.forEach((je,it)=>{const rt=(je==null?void 0:je.id)??String(it);Le.push(H.jsx("div",{className:"w-full",children:H.jsx("div",{className:"w-full max-w-[1024px] px-4 md:px-6",children:H.jsx(LF,{m:je,getMsgText:OF})})},rt));const vt=i[it+1];vt&&((je==null?void 0:je.role)==="user"&&(vt==null?void 0:vt.role)==="assistant"||(je==null?void 0:je.role)==="assistant"&&(vt==null?void 0:vt.role)==="user")&&Le.push(H.jsx("div",{className:"boomi-agent-thread-separator"},`${rt}-sep`))}),Le},[i]),pe=Le=>{const je=(Le.name||"").toLowerCase(),it=je.lastIndexOf(".");return it>=0?je.slice(it):""},ye=Le=>{if(!I.length)return!0;const je=pe(Le);return!!je&&I.includes(je)},de=I.length?I.join(","):void 0,Ve=Le=>{const je=[],it=[...d],rt=it.reduce((vt,St)=>vt+((St==null?void 0:St.size)||0),0);for(const vt of Array.from(Le)){if(!ye(vt))continue;if(it.length+je.length>=Q||rt+je.reduce((Nt,an)=>Nt+an.size,0)+vt.size>J)break;je.push(vt)}je.length&&h([...it,...je])},Re=Le=>{h(je=>je.filter((it,rt)=>rt!==Le))},qe=()=>{const Le=R.current;Le&&(Le.style.height="auto",Le.style.height=`${Math.min(Le.scrollHeight,720)}px`)};Y.useEffect(()=>{qe()},[c]);const et=Le=>{k&&(Le.preventDefault(),Le.stopPropagation(),S(!0))},mt=Le=>{k&&(Le.preventDefault(),Le.stopPropagation(),S(!1))},xt=Le=>{var je,it;k&&(Le.preventDefault(),Le.stopPropagation(),S(!1),(it=(je=Le.dataTransfer)==null?void 0:je.files)!=null&&it.length&&Ve(Le.dataTransfer.files))},$t=async()=>{if(!U)return;const Le=c.trim();if(!(!Le&&d.length===0)){if(L.current=!0,ue("smooth"),d.length&&typeof g=="function"){await g({text:Le,files:d}),u(""),h([]);return}Le&&(await p(Le),u("")),d.length&&h([])}},ze=async Le=>{U&&(L.current=!0,ue("smooth"),d.length&&g?(await g({text:Le,files:d}),h([])):await p(Le))};return H.jsx("main",{className:"boomi-agent-pane flex flex-col relative h-full min-h-0",children:H.jsxs("div",{className:"flex-1 min-h-0 relative overflow-hidden",children:[H.jsx("div",{ref:T,onScroll:me,className:"h-full overflow-auto boomi-scroll bg-[var(--boomi-agent-pane-bg)] text-[var(--boomi-agent-pane-fg)]",style:{paddingBottom:C},children:f?H.jsx("div",{className:"mt-6",children:H.jsx(Bi,{message:"Loading conversation…"})}):y?H.jsx("div",{className:"h-full w-full flex items-center justify-center",children:H.jsxs("div",{className:"text-center max-w-[720px] px-6 py-10",children:[H.jsx("div",{className:"text-3xl font-extrabold mb-3",children:Z}),H.jsx("p",{className:"opacity-70",children:re})]})}):H.jsxs("div",{className:"mx-auto w-full max-w-[1140px] py-6 space-y-4 px-4 md:px-8",style:{paddingBottom:C},children:[ve,(F||(((at=(gt=E==null?void 0:E.note)==null?void 0:gt.trim())==null?void 0:at.length)??0)>0)&&H.jsx(RF,{note:E==null?void 0:E.note}),H.jsx("div",{ref:A})]})}),H.jsx("div",{className:"boomi-agent-composer pointer-events-none","aria-live":"polite",ref:D,children:H.jsx("form",{className:["pointer-events-auto w-full relative z-10",k&&m?"outline outline-2 outline-[var(--boomi-accent,#6366f1)]":""].join(" "),onSubmit:Le=>{Le.preventDefault(),$t()},onDragOver:et,onDragLeave:mt,onDrop:xt,children:H.jsxs("div",{className:"mx-auto max-w-[1024px] w-full px-4 md:px-6 py-3 space-y-2",children:[k&&d.length>0&&H.jsx("div",{className:"flex flex-wrap gap-2 items-center",children:d.map((Le,je)=>H.jsxs("span",{className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-sm border
2038
+ */function DF(t){const e=t.toLowerCase();return/\b(success|successful|successfully|ok|ready|healthy|running|connected|live|up)\b/.test(e)?"success":/\b(warn|warning|degraded|slow|retry|pending|queue|queued)\b/.test(e)?"warning":/\b(error|errors|fail|failed|invalid|down|offline|blocked|denied)\b/.test(e)?"error":"accent"}const RF=({note:t})=>{if(!t)return null;const e=t.split(/\r?\n|;|\s·\s/g).map(a=>a.trim()).filter(Boolean),i=[];for(const a of e)i[i.length-1]!==a&&i.push(a);return i.length?H.jsx("div",{className:"w-full max-w-[860px] px-4 md:px-6",children:H.jsx("div",{className:"flex flex-wrap gap-2 py-1",children:i.map((a,E)=>{const p=DF(a),g=p==="success"?"boomi-chip--success":p==="warning"?"boomi-chip--warning":p==="error"?"boomi-chip--error":"";return H.jsxs("span",{className:["boomi-chip","boomi-chip--pulse",g].join(" "),"data-tone":p,children:[H.jsx("span",{className:"boomi-chip-dot","aria-hidden":"true"}),H.jsx("span",{className:"font-semibold",children:a})]},`${a}-${E}`)})})}):null};function c3(t){if(!Number.isFinite(t))return`${t}`;const e=["B","KB","MB","GB"];let i=0,a=t;for(;a>=1024&&i<e.length-1;)a/=1024,i++;return`${a.toFixed(a>=10||i===0?0:1)} ${e[i]}`}const MF=t=>H.jsx("svg",{viewBox:"0 0 24 24",width:"18",height:"18",fill:"none",stroke:"currentColor",strokeWidth:"2",...t,children:H.jsx("path",{d:"M21.44 11.05 12 20.5a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66L9.88 17.96a2 2 0 1 1-2.83-2.83l8.13-8.13"})}),kF=t=>H.jsx("svg",{viewBox:"0 0 24 24",width:"14",height:"14",fill:"none",stroke:"currentColor",strokeWidth:"2",...t,children:H.jsx("path",{d:"M18 6 6 18M6 6l12 12"})});function IF({integration:t,sessionId:e,messages:i,busy:a,status:E,onSend:p,onSendRich:g,emptyState:y,loading:f=!1}){var nt,ct,gt,at;const{boomiConfig:b}=Fn(),[c,u]=Y.useState(""),[d,h]=Y.useState([]),[m,S]=Y.useState(!1),T=Y.useRef(null),A=Y.useRef(null),N=Y.useRef(null),D=Y.useRef(null),R=Y.useRef(null),L=Y.useRef(!1),[C,$]=Y.useState(120),F=(E==null?void 0:E.state)==="working"||(E==null?void 0:E.state)==="progress",U=!a&&!F,j=t.integrationPackId,X=j?((ct=(nt=b==null?void 0:b.agents)==null?void 0:nt[j])==null?void 0:ct.ui)??void 0:void 0,P=(X==null?void 0:X.allowFreeTextPrompt)!==!1,B=Array.isArray(X==null?void 0:X.prompts)?X.prompts:[],k=!!(X!=null&&X.fileAttachmentSupported),M=!!(X!=null&&X.fileAttachmentRequired),I=Array.isArray(X==null?void 0:X.allowedFileExtensions)?X.allowedFileExtensions.map(Le=>Le.startsWith(".")?Le.toLowerCase():`.${Le.toLowerCase()}`):[],W=k&&M&&d.length===0,Q=Number.isFinite(X==null?void 0:X.maxFiles)?X.maxFiles:5,J=Number.isFinite(X==null?void 0:X.maxTotalBytes)?X.maxTotalBytes:25*1024*1024,K=(X==null?void 0:X.welcome)??void 0,Z=(K==null?void 0:K.title)??"Welcome to your Agent Chat",re=(K==null?void 0:K.subtitle)??"Ask me anything about your integrations.",te=Y.useRef(!0),[ae,se]=Y.useState(!0),ie=Y.useRef(!0),ue=(Le="smooth")=>{var an;const je=T.current;if(!je)return;const ot=A.current,tt=((an=D.current)==null?void 0:an.offsetHeight)??0,vt=32,St=ot?ot.offsetTop:je.scrollHeight,Nt=Math.max(0,St-(je.clientHeight-tt-vt));je.scrollTo({top:Nt,behavior:Le})},me=()=>{const Le=T.current;if(!Le)return;const je=Le.scrollTop+Le.clientHeight>=Le.scrollHeight-24;se(je),te.current=je};Y.useEffect(()=>{const Le=ie.current?"auto":"smooth";ue(Le),ie.current=!1},[i.length,E==null?void 0:E.note,a,F,f,d.length]),Y.useLayoutEffect(()=>{const Le=D.current;if(!Le)return;const je=()=>{const tt=Le.offsetHeight||0;$(Math.max(120,tt+48))};je();const ot=new ResizeObserver(je);return ot.observe(Le),()=>ot.disconnect()},[]),Y.useEffect(()=>{ue("auto")},[C]),Y.useEffect(()=>{L.current=!0},[e]),Y.useEffect(()=>{if(L.current||f||a||F){ue(f?"auto":"smooth"),L.current=!1;return}},[i.length,f,a,F,E==null?void 0:E.note]);const ve=Y.useMemo(()=>{const Le=[];return i.forEach((je,ot)=>{const tt=(je==null?void 0:je.id)??String(ot);Le.push(H.jsx("div",{className:"w-full",children:H.jsx("div",{className:"w-full max-w-[1024px] px-4 md:px-6",children:H.jsx(LF,{m:je,getMsgText:OF})})},tt));const vt=i[ot+1];vt&&((je==null?void 0:je.role)==="user"&&(vt==null?void 0:vt.role)==="assistant"||(je==null?void 0:je.role)==="assistant"&&(vt==null?void 0:vt.role)==="user")&&Le.push(H.jsx("div",{className:"boomi-agent-thread-separator"},`${tt}-sep`))}),Le},[i]),pe=Le=>{const je=(Le.name||"").toLowerCase(),ot=je.lastIndexOf(".");return ot>=0?je.slice(ot):""},ye=Le=>{if(!I.length)return!0;const je=pe(Le);return!!je&&I.includes(je)},de=I.length?I.join(","):void 0,Ve=Le=>{const je=[],ot=[...d],tt=ot.reduce((vt,St)=>vt+((St==null?void 0:St.size)||0),0);for(const vt of Array.from(Le)){if(!ye(vt))continue;if(ot.length+je.length>=Q||tt+je.reduce((Nt,an)=>Nt+an.size,0)+vt.size>J)break;je.push(vt)}je.length&&h([...ot,...je])},Re=Le=>{h(je=>je.filter((ot,tt)=>tt!==Le))},qe=()=>{const Le=R.current;Le&&(Le.style.height="auto",Le.style.height=`${Math.min(Le.scrollHeight,720)}px`)};Y.useEffect(()=>{qe()},[c]);const et=Le=>{k&&(Le.preventDefault(),Le.stopPropagation(),S(!0))},mt=Le=>{k&&(Le.preventDefault(),Le.stopPropagation(),S(!1))},xt=Le=>{var je,ot;k&&(Le.preventDefault(),Le.stopPropagation(),S(!1),(ot=(je=Le.dataTransfer)==null?void 0:je.files)!=null&&ot.length&&Ve(Le.dataTransfer.files))},$t=async()=>{if(!U)return;const Le=c.trim();if(!(!Le&&d.length===0)){if(L.current=!0,ue("smooth"),d.length&&typeof g=="function"){await g({text:Le,files:d}),u(""),h([]);return}Le&&(await p(Le),u("")),d.length&&h([])}},ze=async Le=>{U&&(L.current=!0,ue("smooth"),d.length&&g?(await g({text:Le,files:d}),h([])):await p(Le))};return H.jsx("main",{className:"boomi-agent-pane flex flex-col relative h-full min-h-0",children:H.jsxs("div",{className:"flex-1 min-h-0 relative overflow-hidden",children:[H.jsx("div",{ref:T,onScroll:me,className:"h-full overflow-auto boomi-scroll bg-[var(--boomi-agent-pane-bg)] text-[var(--boomi-agent-pane-fg)]",style:{paddingBottom:C},children:f?H.jsx("div",{className:"mt-6",children:H.jsx(Bi,{message:"Loading conversation…"})}):y?H.jsx("div",{className:"h-full w-full flex items-center justify-center",children:H.jsxs("div",{className:"text-center max-w-[720px] px-6 py-10",children:[H.jsx("div",{className:"text-3xl font-extrabold mb-3",children:Z}),H.jsx("p",{className:"opacity-70",children:re})]})}):H.jsxs("div",{className:"mx-auto w-full max-w-[1140px] py-6 space-y-4 px-4 md:px-8",style:{paddingBottom:C},children:[ve,(F||(((at=(gt=E==null?void 0:E.note)==null?void 0:gt.trim())==null?void 0:at.length)??0)>0)&&H.jsx(RF,{note:E==null?void 0:E.note}),H.jsx("div",{ref:A})]})}),H.jsx("div",{className:"boomi-agent-composer pointer-events-none","aria-live":"polite",ref:D,children:H.jsx("form",{className:["pointer-events-auto w-full relative z-10",k&&m?"outline outline-2 outline-[var(--boomi-accent,#6366f1)]":""].join(" "),onSubmit:Le=>{Le.preventDefault(),$t()},onDragOver:et,onDragLeave:mt,onDrop:xt,children:H.jsxs("div",{className:"mx-auto max-w-[1024px] w-full px-4 md:px-6 py-3 space-y-2",children:[k&&d.length>0&&H.jsx("div",{className:"flex flex-wrap gap-2 items-center",children:d.map((Le,je)=>H.jsxs("span",{className:`inline-flex items-center gap-2 rounded-full px-3 py-1 text-sm border
2039
2039
  border-[var(--boomi-agent-compose-secondary-border,var(--boomi-card-border))] bg-[var(--boomi-agent-compose-secondary-bg,var(--boomi-card-bg))]`,title:`${Le.name} • ${c3(Le.size)}`,children:[H.jsx("span",{className:"truncate max-w-[260px]",children:Le.name}),H.jsx("span",{className:"opacity-60 text-xs",children:c3(Le.size)}),H.jsx("button",{type:"button",onClick:()=>Re(je),className:"inline-flex items-center justify-center w-5 h-5 rounded-full hover:bg-black/5","aria-label":`Remove ${Le.name}`,children:H.jsx(kF,{})})]},`${Le.name}-${je}`))}),H.jsxs("div",{className:"flex items-end gap-2 rounded-2xl bg-[var(--boomi-agent-compose-bg,var(--boomi-card-bg))] border border-[var(--boomi-agent-compose-input-border,var(--boomi-card-border))] p-2 shadow-[0_6px_18px_rgba(15,23,42,0.08)]",children:[k&&H.jsxs(H.Fragment,{children:[H.jsx("button",{type:"button",disabled:!U,onClick:()=>{var Le;return(Le=N.current)==null?void 0:Le.click()},className:"shrink-0 inline-flex items-center justify-center rounded-lg p-2 border border-[var(--boomi-agent-compose-secondary-border,var(--boomi-card-border))] bg-[var(--boomi-agent-compose-secondary-bg,var(--boomi-card-bg))] hover:bg-[color-mix(in_srgb,var(--boomi-agent-compose-secondary-bg,var(--boomi-card-bg)) 85%,var(--boomi-agent-compose-bg,var(--boomi-card-bg)))] disabled:opacity-50",title:I.length?`Attach file (${I.join(", ")})`:"Attach file",children:H.jsx(MF,{})}),H.jsx("input",{ref:N,type:"file",multiple:!0,accept:de,className:"hidden",onChange:Le=>{const je=Le.currentTarget.files;je!=null&&je.length&&Ve(je),Le.currentTarget.value=""}})]}),P&&H.jsx("div",{className:"flex-1 min-w-0",children:H.jsx("textarea",{ref:R,value:c,onChange:Le=>{u(Le.target.value),qe()},rows:1,placeholder:k?M&&W?`Attachment Required — drop a file here or click the paperclip (supported: ${de})`:"Message...":"Message…",className:["w-full resize-none bg-transparent focus:outline-none",W?"placeholder-[var(--boomi-error-soft,var(--boomi-error-fg,#b91c1c))]/90":""].join(" "),"aria-invalid":W||void 0,"aria-describedby":W?"attachRequiredHint":void 0,onKeyDown:Le=>{if(Le.key==="Enter"&&!Le.shiftKey){if(Le.preventDefault(),W)return;$t()}}})}),H.jsx("button",{type:"submit",disabled:!U||W||!c.trim()&&d.length===0,className:"inline-flex items-center gap-2 rounded-lg px-3 py-2 bg-[var(--boomi-btn-primary-bg)] text-[var(--boomi-btn-primary-fg)] disabled:opacity-50 cursor-pointer",children:"Send"})]}),Array.isArray(B)&&B.length>0&&H.jsxs(H.Fragment,{children:[H.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2 pt-1",children:B.map((Le,je)=>H.jsxs("button",{type:"button",disabled:!U,onClick:()=>void ze(Le.prompt),className:["group relative overflow-hidden","rounded-2xl px-3 py-2","border border-[var(--boomi-card-border)]","bg-[var(--boomi-card-bg)]/70 backdrop-blur-[1px]","hover:shadow hover:-translate-y-[1px] transition-all","disabled:opacity-50 disabled:cursor-not-allowed"].join(" "),title:Le.prompt,children:[H.jsx("span",{className:"pointer-events-none absolute inset-0 -translate-x-full group-hover:translate-x-0 transition will-change-transform [background:linear-gradient(90deg,transparent,rgba(255,255,255,.08),transparent)]"}),H.jsx("span",{className:"text-sm font-medium",children:Le.title})]},`${Le.title}-${je}`))}),P&&H.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2 pt-1",children:H.jsx("div",{className:"text-[11px] opacity-60",children:"Press Enter to send • Shift + Enter for new line"})})]})]})})})]})})}/**
2040
2040
  * @file browseSessionStore.ts
2041
2041
  * @license BSD-2-Clause
@@ -2091,7 +2091,7 @@ guard ^\\s*
2091
2091
  * Commonly used to indicate background processing or data fetching.
2092
2092
  *
2093
2093
  * @return {JSX.Element} The rendered loading spinner component.
2094
- */const mx=({message:t="Loading...",variant:e="full"})=>{const i=e==="contained"?"boomi-spinner-overlay boomi-spinner-overlay--contained":"boomi-spinner-overlay";return H.jsx("div",{className:i,children:H.jsxs("div",{className:"boomi-spinner-container",children:[H.jsxs("div",{className:"boomi-spinner-ring-wrap",children:[H.jsx("div",{className:"boomi-spinner-ring"}),H.jsx("div",{className:"boomi-spinner-ring-ping"})]}),H.jsx("span",{className:"boomi-spinner-message",children:t})]})})},UF=Y.forwardRef(({componentKey:t,integration:e,onSubmit:i,setIsLoading:a,onCancel:E},p)=>{var ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t,ze,tt,ct,gt,at,Le,je;const{boomiConfig:g,setPageIsLoading:y}=Fn(),f=Y.useRef(null),{updateFromCombined:b,editedConnections:c}=u3(),{extensions:u,rawExtensions:d,isLoading:h,fetchEnvironmentExtensions:m}=d3(),[S,T]=Y.useState(null),[A,N]=Y.useState(null),{fetchOauth2Url:D}=f3(),{fetchEnvironmentExtensionConnectionStatus:R}=h3(),[L,C]=Y.useState({}),[$,F]=Y.useState({}),[U,j]=Y.useState({}),X=Y.useRef(null),P=Y.useRef({}),B=(it,rt)=>`${it}:${rt}`,[k,M]=Y.useState(!1),I=(ve=g==null?void 0:g.agents)==null?void 0:ve[e.integrationPackId||""],W=((pe=I==null?void 0:I.ui)==null?void 0:pe.mode)==="modal",Q=it=>{W?M(it):y(it),a==null||a(it)},J=async()=>{var it;T(null),Q(!0);try{const rt=(it=f.current)==null?void 0:it.validateAndSubmit();if(!rt||!e.environmentId)return Oe.warn("Connector form is invalid or missing environmentId"),!1;const vt=e.installationType==="SINGLE"||!1;return await b(d??[],rt??[],e.environmentId,e.id||"",vt),i==null||i(),!0}catch(rt){return T(rt.message||"Failed to update environment extensions"),Oe.error("Update error:",rt),!1}finally{Q(!1)}};Y.useImperativeHandle(p,()=>({submit:J}));const K=async()=>{await J()&&(E==null||E())},Z=(it,rt,vt)=>{const St=B(it,rt),Nt=P.current[St];Nt!=null&&Nt.interval&&window.clearInterval(Nt.interval),Nt!=null&&Nt.timeout&&window.clearTimeout(Nt.timeout),Nt!=null&&Nt.watch&&window.clearInterval(Nt.watch);const an=window.setTimeout(()=>{re(St,{success:!1,message:"Authentication timed out. Please try again.",closePopup:!0}),vt(!1)},12e4),Ot=window.setInterval(async()=>{try{const Et=await R(e.environmentId,e.id||"",it,rt);!!(Et===!0||Et!=null&&Et.connected||(Et==null?void 0:Et.status)==="CONNECTED")?(re(St,{success:!0,message:null,closePopup:!0}),await m([],e.environmentId,e.id||"",!0),vt(!0)):j(Ge=>({...Ge,[St]:"Waiting for connection to complete…"}))}catch(Et){Oe.warn("Polling error (connection status)",Et)}},5e3),_t=window.setInterval(()=>{X.current&&X.current.closed&&(re(St,{success:!1,message:"Authorization window closed.",closePopup:!1}),vt(!1))},500);P.current[St]={interval:Ot,timeout:an,watch:_t}},re=(it,{success:rt,message:vt,closePopup:St=!0})=>{const Nt=P.current[it];if(Nt!=null&&Nt.interval&&window.clearInterval(Nt.interval),Nt!=null&&Nt.timeout&&window.clearTimeout(Nt.timeout),Nt!=null&&Nt.watch&&window.clearInterval(Nt.watch),delete P.current[it],C(an=>({...an,[it]:!1})),F(an=>({...an,[it]:rt})),vt!==void 0&&j(an=>({...an,[it]:vt})),St)try{X.current&&!X.current.closed&&X.current.close()}catch{}},te=async(it,rt)=>{const vt=B(it,rt);Oe.log("Authenticate connection:",{connectionId:it,fieldId:rt}),C(Et=>({...Et,[vt]:!0})),F(Et=>({...Et,[vt]:!1})),j(Et=>({...Et,[vt]:"Opening authorization window…"}));const St=600,Nt=750,an=window.screenX+Math.max(0,(window.outerWidth-St)/2),Ot=window.screenY+Math.max(0,(window.outerHeight-Nt)/2),_t=window.open("","oauth2_auth",`width=${St},height=${Nt},left=${an},top=${Ot},resizable,scrollbars`);X.current=_t??null;try{const Et=await D(e.id||"",e.environmentId,it,rt);X.current?X.current.location.href=Et:window.location.assign(Et),j(xe=>({...xe,[vt]:"Please complete authentication in the new window…"})),Z(it,rt,xe=>{if(!xe)try{X.current&&!X.current.closed&&X.current.close()}catch{}})}catch(Et){X.current&&!X.current.closed&&X.current.close(),C(Ge=>({...Ge,[vt]:!1})),j(Ge=>({...Ge,[vt]:null}));const xe=(Et==null?void 0:Et.message)||"Failed to fetch OAuth2 URL";T(xe),Oe.error("Failed to fetch oauth2Url",Et)}};Y.useEffect(()=>{c&&c.length>0&&N(c)},[c]),Y.useEffect(()=>{u&&N(u)},[u]),Y.useEffect(()=>()=>{Object.values(P.current).forEach(({interval:it,timeout:rt})=>{it&&window.clearInterval(it),rt&&window.clearTimeout(rt)}),X.current&&!X.current.closed&&X.current.close()},[]),Y.useEffect(()=>{if(!(e!=null&&e.environmentId)||!(e!=null&&e.id))return;const it=e.installationType==="SINGLE"||!1;m([],e.environmentId,e.id,it).catch(rt=>{T(rt.message),Oe.error("Failed to fetch environment extensions",rt)})},[e.environmentId,e.id]);const ae=((Re=(Ve=(de=(ye=g==null?void 0:g.agents)==null?void 0:ye[t])==null?void 0:de.form)==null?void 0:Ve.configureAgent)==null?void 0:Re.showTitle)??!0,se=((xt=(mt=(et=(qe=g==null?void 0:g.agents)==null?void 0:qe[t])==null?void 0:et.form)==null?void 0:mt.configureAgent)==null?void 0:xt.title)??"Update Connections",ie=((ct=(tt=(ze=($t=g==null?void 0:g.agents)==null?void 0:$t[t])==null?void 0:ze.form)==null?void 0:tt.configureAgent)==null?void 0:ct.showDescription)??!0,ue=((je=(Le=(at=(gt=g==null?void 0:g.agents)==null?void 0:gt[t])==null?void 0:at.form)==null?void 0:Le.configureAgent)==null?void 0:je.description)??"Please provide the necessary information to make connections to your target systems.",me=H.jsx(H.Fragment,{children:H.jsxs("div",{className:"boomi-agent-update p-2",children:[W&&k&&H.jsx(mx,{variant:"contained",message:"Updating..."}),h&&!A?H.jsx("div",{className:"boomi-center pt-6 m-6",children:H.jsx(Bi,{message:"Loading..."})}):H.jsxs("div",{className:"boomi-agent-update__body",children:[S&&H.jsx(sc,{error:{header:"Error",message:S,errorType:"error"}}),ae||ie?H.jsxs("div",{className:"boomi-agent-update__header",children:[ae&&H.jsx("div",{className:"boomi-agent-update__title",children:se}),ie&&H.jsx("div",{className:"boomi-agent-update__desc",children:ue})]}):null,H.jsx(hx,{ref:f,extensions:A||[],onAuthConnection:te,authBusy:L,authConnected:$,authMessage:U,propertiesName:"Agent Properties"}),H.jsxs("div",{className:"boomi-agent-update__actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:E}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:K})]})]})]})});return H.jsx(H.Fragment,{children:me})});/*!
2094
+ */const mx=({message:t="Loading...",variant:e="full"})=>{const i=e==="contained"?"boomi-spinner-overlay boomi-spinner-overlay--contained":"boomi-spinner-overlay";return H.jsx("div",{className:i,children:H.jsxs("div",{className:"boomi-spinner-container",children:[H.jsxs("div",{className:"boomi-spinner-ring-wrap",children:[H.jsx("div",{className:"boomi-spinner-ring"}),H.jsx("div",{className:"boomi-spinner-ring-ping"})]}),H.jsx("span",{className:"boomi-spinner-message",children:t})]})})},UF=Y.forwardRef(({componentKey:t,integration:e,onSubmit:i,setIsLoading:a,onCancel:E},p)=>{var ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t,ze,nt,ct,gt,at,Le,je;const{boomiConfig:g,setPageIsLoading:y}=Fn(),f=Y.useRef(null),{updateFromCombined:b,editedConnections:c}=u3(),{extensions:u,rawExtensions:d,isLoading:h,fetchEnvironmentExtensions:m}=d3(),[S,T]=Y.useState(null),[A,N]=Y.useState(null),{fetchOauth2Url:D}=f3(),{fetchEnvironmentExtensionConnectionStatus:R}=h3(),[L,C]=Y.useState({}),[$,F]=Y.useState({}),[U,j]=Y.useState({}),X=Y.useRef(null),P=Y.useRef({}),B=(ot,tt)=>`${ot}:${tt}`,[k,M]=Y.useState(!1),I=(ve=g==null?void 0:g.agents)==null?void 0:ve[e.integrationPackId||""],W=((pe=I==null?void 0:I.ui)==null?void 0:pe.mode)==="modal",Q=ot=>{W?M(ot):y(ot),a==null||a(ot)},J=async()=>{var ot;T(null),Q(!0);try{const tt=(ot=f.current)==null?void 0:ot.validateAndSubmit();if(!tt||!e.environmentId)return Oe.warn("Connector form is invalid or missing environmentId"),!1;const vt=e.installationType==="SINGLE"||!1;return await b(d??[],tt??[],e.environmentId,e.id||"",vt),i==null||i(),!0}catch(tt){return T(tt.message||"Failed to update environment extensions"),Oe.error("Update error:",tt),!1}finally{Q(!1)}};Y.useImperativeHandle(p,()=>({submit:J}));const K=async()=>{await J()&&(E==null||E())},Z=(ot,tt,vt)=>{const St=B(ot,tt),Nt=P.current[St];Nt!=null&&Nt.interval&&window.clearInterval(Nt.interval),Nt!=null&&Nt.timeout&&window.clearTimeout(Nt.timeout),Nt!=null&&Nt.watch&&window.clearInterval(Nt.watch);const an=window.setTimeout(()=>{re(St,{success:!1,message:"Authentication timed out. Please try again.",closePopup:!0}),vt(!1)},12e4),Ot=window.setInterval(async()=>{try{const Et=await R(e.environmentId,e.id||"",ot,tt);!!(Et===!0||Et!=null&&Et.connected||(Et==null?void 0:Et.status)==="CONNECTED")?(re(St,{success:!0,message:null,closePopup:!0}),await m([],e.environmentId,e.id||"",!0),vt(!0)):j(Ge=>({...Ge,[St]:"Waiting for connection to complete…"}))}catch(Et){Oe.warn("Polling error (connection status)",Et)}},5e3),_t=window.setInterval(()=>{X.current&&X.current.closed&&(re(St,{success:!1,message:"Authorization window closed.",closePopup:!1}),vt(!1))},500);P.current[St]={interval:Ot,timeout:an,watch:_t}},re=(ot,{success:tt,message:vt,closePopup:St=!0})=>{const Nt=P.current[ot];if(Nt!=null&&Nt.interval&&window.clearInterval(Nt.interval),Nt!=null&&Nt.timeout&&window.clearTimeout(Nt.timeout),Nt!=null&&Nt.watch&&window.clearInterval(Nt.watch),delete P.current[ot],C(an=>({...an,[ot]:!1})),F(an=>({...an,[ot]:tt})),vt!==void 0&&j(an=>({...an,[ot]:vt})),St)try{X.current&&!X.current.closed&&X.current.close()}catch{}},te=async(ot,tt)=>{const vt=B(ot,tt);Oe.log("Authenticate connection:",{connectionId:ot,fieldId:tt}),C(Et=>({...Et,[vt]:!0})),F(Et=>({...Et,[vt]:!1})),j(Et=>({...Et,[vt]:"Opening authorization window…"}));const St=600,Nt=750,an=window.screenX+Math.max(0,(window.outerWidth-St)/2),Ot=window.screenY+Math.max(0,(window.outerHeight-Nt)/2),_t=window.open("","oauth2_auth",`width=${St},height=${Nt},left=${an},top=${Ot},resizable,scrollbars`);X.current=_t??null;try{const Et=await D(e.id||"",e.environmentId,ot,tt);X.current?X.current.location.href=Et:window.location.assign(Et),j(xe=>({...xe,[vt]:"Please complete authentication in the new window…"})),Z(ot,tt,xe=>{if(!xe)try{X.current&&!X.current.closed&&X.current.close()}catch{}})}catch(Et){X.current&&!X.current.closed&&X.current.close(),C(Ge=>({...Ge,[vt]:!1})),j(Ge=>({...Ge,[vt]:null}));const xe=(Et==null?void 0:Et.message)||"Failed to fetch OAuth2 URL";T(xe),Oe.error("Failed to fetch oauth2Url",Et)}};Y.useEffect(()=>{c&&c.length>0&&N(c)},[c]),Y.useEffect(()=>{u&&N(u)},[u]),Y.useEffect(()=>()=>{Object.values(P.current).forEach(({interval:ot,timeout:tt})=>{ot&&window.clearInterval(ot),tt&&window.clearTimeout(tt)}),X.current&&!X.current.closed&&X.current.close()},[]),Y.useEffect(()=>{if(!(e!=null&&e.environmentId)||!(e!=null&&e.id))return;const ot=e.installationType==="SINGLE"||!1;m([],e.environmentId,e.id,ot).catch(tt=>{T(tt.message),Oe.error("Failed to fetch environment extensions",tt)})},[e.environmentId,e.id]);const ae=((Re=(Ve=(de=(ye=g==null?void 0:g.agents)==null?void 0:ye[t])==null?void 0:de.form)==null?void 0:Ve.configureAgent)==null?void 0:Re.showTitle)??!0,se=((xt=(mt=(et=(qe=g==null?void 0:g.agents)==null?void 0:qe[t])==null?void 0:et.form)==null?void 0:mt.configureAgent)==null?void 0:xt.title)??"Update Connections",ie=((ct=(nt=(ze=($t=g==null?void 0:g.agents)==null?void 0:$t[t])==null?void 0:ze.form)==null?void 0:nt.configureAgent)==null?void 0:ct.showDescription)??!0,ue=((je=(Le=(at=(gt=g==null?void 0:g.agents)==null?void 0:gt[t])==null?void 0:at.form)==null?void 0:Le.configureAgent)==null?void 0:je.description)??"Please provide the necessary information to make connections to your target systems.",me=H.jsx(H.Fragment,{children:H.jsxs("div",{className:"boomi-agent-update p-2",children:[W&&k&&H.jsx(mx,{variant:"contained",message:"Updating..."}),h&&!A?H.jsx("div",{className:"boomi-center pt-6 m-6",children:H.jsx(Bi,{message:"Loading..."})}):H.jsxs("div",{className:"boomi-agent-update__body",children:[S&&H.jsx(sc,{error:{header:"Error",message:S,errorType:"error"}}),ae||ie?H.jsxs("div",{className:"boomi-agent-update__header",children:[ae&&H.jsx("div",{className:"boomi-agent-update__title",children:se}),ie&&H.jsx("div",{className:"boomi-agent-update__desc",children:ue})]}):null,H.jsx(hx,{ref:f,extensions:A||[],onAuthConnection:te,authBusy:L,authConnected:$,authMessage:U,propertiesName:"Agent Properties"}),H.jsxs("div",{className:"boomi-agent-update__actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:E}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:K})]})]})]})});return H.jsx(H.Fragment,{children:me})});/*!
2095
2095
  * sweetalert2 v11.23.0
2096
2096
  * Released under the MIT License.
2097
2097
  */function p3(t,e,i){if(typeof t=="function"?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}function HF(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g3(t,e){return t.get(p3(t,e))}function jF(t,e,i){HF(t,e),e.set(t,i)}function zF(t,e,i){return t.set(p3(t,e),i),i}const BF=100,Bt={},FF=()=>{Bt.previousActiveElement instanceof HTMLElement?(Bt.previousActiveElement.focus(),Bt.previousActiveElement=null):document.body&&document.body.focus()},PF=t=>new Promise(e=>{if(!t)return e();const i=window.scrollX,a=window.scrollY;Bt.restoreFocusTimeout=setTimeout(()=>{FF(),e()},BF),window.scrollTo(i,a)}),b3="swal2-",Be=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((t,e)=>(t[e]=b3+e,t),{}),Vw=["success","warning","info","question","error"].reduce((t,e)=>(t[e]=b3+e,t),{}),v3="SweetAlert2:",px=t=>t.charAt(0).toUpperCase()+t.slice(1),Vr=t=>{console.warn(`${v3} ${typeof t=="object"?t.join(" "):t}`)},Nh=t=>{console.error(`${v3} ${t}`)},y3=[],VF=t=>{y3.includes(t)||(y3.push(t),Vr(t))},E3=(t,e=null)=>{VF(`"${t}" is deprecated and will be removed in the next major release.${e?` Use "${e}" instead.`:""}`)},Gw=t=>typeof t=="function"?t():t,gx=t=>t&&typeof t.toPromise=="function",$v=t=>gx(t)?t.toPromise():Promise.resolve(t),bx=t=>t&&Promise.resolve(t)===t,Gr=()=>document.body.querySelector(`.${Be.container}`),Uv=t=>{const e=Gr();return e?e.querySelector(t):null},Ya=t=>Uv(`.${t}`),Pn=()=>Ya(Be.popup),Mp=()=>Ya(Be.icon),GF=()=>Ya(Be["icon-content"]),w3=()=>Ya(Be.title),vx=()=>Ya(Be["html-container"]),S3=()=>Ya(Be.image),yx=()=>Ya(Be["progress-steps"]),Qw=()=>Ya(Be["validation-message"]),pc=()=>Uv(`.${Be.actions} .${Be.confirm}`),kp=()=>Uv(`.${Be.actions} .${Be.cancel}`),Lh=()=>Uv(`.${Be.actions} .${Be.deny}`),QF=()=>Ya(Be["input-label"]),Ip=()=>Uv(`.${Be.loader}`),Hv=()=>Ya(Be.actions),T3=()=>Ya(Be.footer),Ww=()=>Ya(Be["timer-progress-bar"]),Ex=()=>Ya(Be.close),WF=`
@@ -2205,8 +2205,8 @@ https://sweetalert2.github.io/#ajax-request`),fG(t),typeof t.title=="string"&&(t
2205
2205
  * Accepts optional children to display inside the footer container.
2206
2206
  *
2207
2207
  * @return {JSX.Element} A div containing the footer content.
2208
- */const S4=({children:t})=>H.jsx("div",{children:t});/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */const{entries:T4,setPrototypeOf:A4,isFrozen:xG,getPrototypeOf:_G,getOwnPropertyDescriptor:CG}=Object;let{freeze:Qr,seal:ks,create:x4}=Object,{apply:Ux,construct:Hx}=typeof Reflect<"u"&&Reflect;Qr||(Qr=function(e){return e}),ks||(ks=function(e){return e}),Ux||(Ux=function(e,i){for(var a=arguments.length,E=new Array(a>2?a-2:0),p=2;p<a;p++)E[p-2]=arguments[p];return e.apply(i,E)}),Hx||(Hx=function(e){for(var i=arguments.length,a=new Array(i>1?i-1:0),E=1;E<i;E++)a[E-1]=arguments[E];return new e(...a)});const r1=Yr(Array.prototype.forEach),NG=Yr(Array.prototype.lastIndexOf),_4=Yr(Array.prototype.pop),Pv=Yr(Array.prototype.push),LG=Yr(Array.prototype.splice),a1=Yr(String.prototype.toLowerCase),jx=Yr(String.prototype.toString),zx=Yr(String.prototype.match),Vv=Yr(String.prototype.replace),OG=Yr(String.prototype.indexOf),DG=Yr(String.prototype.trim),Nl=Yr(Object.prototype.hasOwnProperty),Wr=Yr(RegExp.prototype.test),Gv=RG(TypeError);function Yr(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var i=arguments.length,a=new Array(i>1?i-1:0),E=1;E<i;E++)a[E-1]=arguments[E];return Ux(t,e,a)}}function RG(t){return function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];return Hx(t,i)}}function An(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a1;A4&&A4(t,null);let a=e.length;for(;a--;){let E=e[a];if(typeof E=="string"){const p=i(E);p!==E&&(xG(e)||(e[a]=p),E=p)}t[E]=!0}return t}function MG(t){for(let e=0;e<t.length;e++)Nl(t,e)||(t[e]=null);return t}function du(t){const e=x4(null);for(const[i,a]of T4(t))Nl(t,i)&&(Array.isArray(a)?e[i]=MG(a):a&&typeof a=="object"&&a.constructor===Object?e[i]=du(a):e[i]=a);return e}function Qv(t,e){for(;t!==null;){const a=CG(t,e);if(a){if(a.get)return Yr(a.get);if(typeof a.value=="function")return Yr(a.value)}t=_G(t)}function i(){return null}return i}const C4=Qr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Bx=Qr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fx=Qr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),kG=Qr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Px=Qr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),IG=Qr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N4=Qr(["#text"]),L4=Qr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Vx=Qr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),O4=Qr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),s1=Qr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$G=ks(/\{\{[\w\W]*|[\w\W]*\}\}/gm),UG=ks(/<%[\w\W]*|[\w\W]*%>/gm),HG=ks(/\$\{[\w\W]*/gm),jG=ks(/^data-[\-\w.\u00B7-\uFFFF]+$/),zG=ks(/^aria-[\-\w]+$/),D4=ks(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),BG=ks(/^(?:\w+script|data):/i),FG=ks(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),R4=ks(/^html$/i),PG=ks(/^[a-z][.\w]*(-[.\w]+)+$/i);var M4=Object.freeze({__proto__:null,ARIA_ATTR:zG,ATTR_WHITESPACE:FG,CUSTOM_ELEMENT:PG,DATA_ATTR:jG,DOCTYPE_NAME:R4,ERB_EXPR:UG,IS_ALLOWED_URI:D4,IS_SCRIPT_OR_DATA:BG,MUSTACHE_EXPR:$G,TMPLIT_EXPR:HG});const Wv={element:1,text:3,progressingInstruction:7,comment:8,document:9},VG=function(){return typeof window>"u"?null:window},GG=function(e,i){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let a=null;const E="data-tt-policy-suffix";i&&i.hasAttribute(E)&&(a=i.getAttribute(E));const p="dompurify"+(a?"#"+a:"");try{return e.createPolicy(p,{createHTML(g){return g},createScriptURL(g){return g}})}catch{return console.warn("TrustedTypes policy "+p+" could not be created."),null}},k4=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function I4(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:VG();const e=nt=>I4(nt);if(e.version="3.2.7",e.removed=[],!t||!t.document||t.document.nodeType!==Wv.document||!t.Element)return e.isSupported=!1,e;let{document:i}=t;const a=i,E=a.currentScript,{DocumentFragment:p,HTMLTemplateElement:g,Node:y,Element:f,NodeFilter:b,NamedNodeMap:c=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:u,DOMParser:d,trustedTypes:h}=t,m=f.prototype,S=Qv(m,"cloneNode"),T=Qv(m,"remove"),A=Qv(m,"nextSibling"),N=Qv(m,"childNodes"),D=Qv(m,"parentNode");if(typeof g=="function"){const nt=i.createElement("template");nt.content&&nt.content.ownerDocument&&(i=nt.content.ownerDocument)}let R,L="";const{implementation:C,createNodeIterator:$,createDocumentFragment:F,getElementsByTagName:U}=i,{importNode:j}=a;let X=k4();e.isSupported=typeof T4=="function"&&typeof D=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:P,ERB_EXPR:B,TMPLIT_EXPR:k,DATA_ATTR:M,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:J}=M4;let{IS_ALLOWED_URI:K}=M4,Z=null;const re=An({},[...C4,...Bx,...Fx,...Px,...N4]);let te=null;const ae=An({},[...L4,...Vx,...O4,...s1]);let se=Object.seal(x4(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ie=null,ue=null,me=!0,ve=!0,pe=!1,ye=!0,de=!1,Ve=!0,Re=!1,qe=!1,et=!1,mt=!1,xt=!1,$t=!1,ze=!0,tt=!1;const ct="user-content-";let gt=!0,at=!1,Le={},je=null;const it=An({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let rt=null;const vt=An({},["audio","video","img","source","image","track"]);let St=null;const Nt=An({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",Ot="http://www.w3.org/2000/svg",_t="http://www.w3.org/1999/xhtml";let Et=_t,xe=!1,Ge=null;const bt=An({},[an,Ot,_t],jx);let Mt=An({},["mi","mo","mn","ms","mtext"]),ut=An({},["annotation-xml"]);const yt=An({},["title","style","font","a","script"]);let Ht=null;const jt=["application/xhtml+xml","text/html"],Ce="text/html";let Ze=null,ft=null;const Tt=i.createElement("form"),kt=function(Ee){return Ee instanceof RegExp||Ee instanceof Function},tn=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ft&&ft===Ee)){if((!Ee||typeof Ee!="object")&&(Ee={}),Ee=du(Ee),Ht=jt.indexOf(Ee.PARSER_MEDIA_TYPE)===-1?Ce:Ee.PARSER_MEDIA_TYPE,Ze=Ht==="application/xhtml+xml"?jx:a1,Z=Nl(Ee,"ALLOWED_TAGS")?An({},Ee.ALLOWED_TAGS,Ze):re,te=Nl(Ee,"ALLOWED_ATTR")?An({},Ee.ALLOWED_ATTR,Ze):ae,Ge=Nl(Ee,"ALLOWED_NAMESPACES")?An({},Ee.ALLOWED_NAMESPACES,jx):bt,St=Nl(Ee,"ADD_URI_SAFE_ATTR")?An(du(Nt),Ee.ADD_URI_SAFE_ATTR,Ze):Nt,rt=Nl(Ee,"ADD_DATA_URI_TAGS")?An(du(vt),Ee.ADD_DATA_URI_TAGS,Ze):vt,je=Nl(Ee,"FORBID_CONTENTS")?An({},Ee.FORBID_CONTENTS,Ze):it,ie=Nl(Ee,"FORBID_TAGS")?An({},Ee.FORBID_TAGS,Ze):du({}),ue=Nl(Ee,"FORBID_ATTR")?An({},Ee.FORBID_ATTR,Ze):du({}),Le=Nl(Ee,"USE_PROFILES")?Ee.USE_PROFILES:!1,me=Ee.ALLOW_ARIA_ATTR!==!1,ve=Ee.ALLOW_DATA_ATTR!==!1,pe=Ee.ALLOW_UNKNOWN_PROTOCOLS||!1,ye=Ee.ALLOW_SELF_CLOSE_IN_ATTR!==!1,de=Ee.SAFE_FOR_TEMPLATES||!1,Ve=Ee.SAFE_FOR_XML!==!1,Re=Ee.WHOLE_DOCUMENT||!1,mt=Ee.RETURN_DOM||!1,xt=Ee.RETURN_DOM_FRAGMENT||!1,$t=Ee.RETURN_TRUSTED_TYPE||!1,et=Ee.FORCE_BODY||!1,ze=Ee.SANITIZE_DOM!==!1,tt=Ee.SANITIZE_NAMED_PROPS||!1,gt=Ee.KEEP_CONTENT!==!1,at=Ee.IN_PLACE||!1,K=Ee.ALLOWED_URI_REGEXP||D4,Et=Ee.NAMESPACE||_t,Mt=Ee.MATHML_TEXT_INTEGRATION_POINTS||Mt,ut=Ee.HTML_INTEGRATION_POINTS||ut,se=Ee.CUSTOM_ELEMENT_HANDLING||{},Ee.CUSTOM_ELEMENT_HANDLING&&kt(Ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=Ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ee.CUSTOM_ELEMENT_HANDLING&&kt(Ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(se.attributeNameCheck=Ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ee.CUSTOM_ELEMENT_HANDLING&&typeof Ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(se.allowCustomizedBuiltInElements=Ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),de&&(ve=!1),xt&&(mt=!0),Le&&(Z=An({},N4),te=[],Le.html===!0&&(An(Z,C4),An(te,L4)),Le.svg===!0&&(An(Z,Bx),An(te,Vx),An(te,s1)),Le.svgFilters===!0&&(An(Z,Fx),An(te,Vx),An(te,s1)),Le.mathMl===!0&&(An(Z,Px),An(te,O4),An(te,s1))),Ee.ADD_TAGS&&(Z===re&&(Z=du(Z)),An(Z,Ee.ADD_TAGS,Ze)),Ee.ADD_ATTR&&(te===ae&&(te=du(te)),An(te,Ee.ADD_ATTR,Ze)),Ee.ADD_URI_SAFE_ATTR&&An(St,Ee.ADD_URI_SAFE_ATTR,Ze),Ee.FORBID_CONTENTS&&(je===it&&(je=du(je)),An(je,Ee.FORBID_CONTENTS,Ze)),gt&&(Z["#text"]=!0),Re&&An(Z,["html","head","body"]),Z.table&&(An(Z,["tbody"]),delete ie.tbody),Ee.TRUSTED_TYPES_POLICY){if(typeof Ee.TRUSTED_TYPES_POLICY.createHTML!="function")throw Gv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ee.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Gv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');R=Ee.TRUSTED_TYPES_POLICY,L=R.createHTML("")}else R===void 0&&(R=GG(h,E)),R!==null&&typeof L=="string"&&(L=R.createHTML(""));Qr&&Qr(Ee),ft=Ee}},Gt=An({},[...Bx,...Fx,...kG]),sn=An({},[...Px,...IG]),On=function(Ee){let Ke=D(Ee);(!Ke||!Ke.tagName)&&(Ke={namespaceURI:Et,tagName:"template"});const st=a1(Ee.tagName),on=a1(Ke.tagName);return Ge[Ee.namespaceURI]?Ee.namespaceURI===Ot?Ke.namespaceURI===_t?st==="svg":Ke.namespaceURI===an?st==="svg"&&(on==="annotation-xml"||Mt[on]):!!Gt[st]:Ee.namespaceURI===an?Ke.namespaceURI===_t?st==="math":Ke.namespaceURI===Ot?st==="math"&&ut[on]:!!sn[st]:Ee.namespaceURI===_t?Ke.namespaceURI===Ot&&!ut[on]||Ke.namespaceURI===an&&!Mt[on]?!1:!sn[st]&&(yt[st]||!Gt[st]):!!(Ht==="application/xhtml+xml"&&Ge[Ee.namespaceURI]):!1},Xt=function(Ee){Pv(e.removed,{element:Ee});try{D(Ee).removeChild(Ee)}catch{T(Ee)}},Je=function(Ee,Ke){try{Pv(e.removed,{attribute:Ke.getAttributeNode(Ee),from:Ke})}catch{Pv(e.removed,{attribute:null,from:Ke})}if(Ke.removeAttribute(Ee),Ee==="is")if(mt||xt)try{Xt(Ke)}catch{}else try{Ke.setAttribute(Ee,"")}catch{}},Vn=function(Ee){let Ke=null,st=null;if(et)Ee="<remove></remove>"+Ee;else{const Dn=zx(Ee,/^[\r\n\t ]+/);st=Dn&&Dn[0]}Ht==="application/xhtml+xml"&&Et===_t&&(Ee='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ee+"</body></html>");const on=R?R.createHTML(Ee):Ee;if(Et===_t)try{Ke=new d().parseFromString(on,Ht)}catch{}if(!Ke||!Ke.documentElement){Ke=C.createDocument(Et,"template",null);try{Ke.documentElement.innerHTML=xe?L:on}catch{}}const eo=Ke.body||Ke.documentElement;return Ee&&st&&eo.insertBefore(i.createTextNode(st),eo.childNodes[0]||null),Et===_t?U.call(Ke,Re?"html":"body")[0]:Re?Ke.documentElement:eo},Lt=function(Ee){return $.call(Ee.ownerDocument||Ee,Ee,b.SHOW_ELEMENT|b.SHOW_COMMENT|b.SHOW_TEXT|b.SHOW_PROCESSING_INSTRUCTION|b.SHOW_CDATA_SECTION,null)},ai=function(Ee){return Ee instanceof u&&(typeof Ee.nodeName!="string"||typeof Ee.textContent!="string"||typeof Ee.removeChild!="function"||!(Ee.attributes instanceof c)||typeof Ee.removeAttribute!="function"||typeof Ee.setAttribute!="function"||typeof Ee.namespaceURI!="string"||typeof Ee.insertBefore!="function"||typeof Ee.hasChildNodes!="function")},Eo=function(Ee){return typeof y=="function"&&Ee instanceof y};function qt(nt,Ee,Ke){r1(nt,st=>{st.call(e,Ee,Ke,ft)})}const Gn=function(Ee){let Ke=null;if(qt(X.beforeSanitizeElements,Ee,null),ai(Ee))return Xt(Ee),!0;const st=Ze(Ee.nodeName);if(qt(X.uponSanitizeElement,Ee,{tagName:st,allowedTags:Z}),Ve&&Ee.hasChildNodes()&&!Eo(Ee.firstElementChild)&&Wr(/<[/\w!]/g,Ee.innerHTML)&&Wr(/<[/\w!]/g,Ee.textContent)||Ee.nodeType===Wv.progressingInstruction||Ve&&Ee.nodeType===Wv.comment&&Wr(/<[/\w]/g,Ee.data))return Xt(Ee),!0;if(!Z[st]||ie[st]){if(!ie[st]&&po(st)&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,st)||se.tagNameCheck instanceof Function&&se.tagNameCheck(st)))return!1;if(gt&&!je[st]){const on=D(Ee)||Ee.parentNode,eo=N(Ee)||Ee.childNodes;if(eo&&on){const Dn=eo.length;for(let ot=Dn-1;ot>=0;--ot){const vn=S(eo[ot],!0);vn.__removalCount=(Ee.__removalCount||0)+1,on.insertBefore(vn,A(Ee))}}}return Xt(Ee),!0}return Ee instanceof f&&!On(Ee)||(st==="noscript"||st==="noembed"||st==="noframes")&&Wr(/<\/no(script|embed|frames)/i,Ee.innerHTML)?(Xt(Ee),!0):(de&&Ee.nodeType===Wv.text&&(Ke=Ee.textContent,r1([P,B,k],on=>{Ke=Vv(Ke,on," ")}),Ee.textContent!==Ke&&(Pv(e.removed,{element:Ee.cloneNode()}),Ee.textContent=Ke)),qt(X.afterSanitizeElements,Ee,null),!1)},Fo=function(Ee,Ke,st){if(ze&&(Ke==="id"||Ke==="name")&&(st in i||st in Tt))return!1;if(!(ve&&!ue[Ke]&&Wr(M,Ke))){if(!(me&&Wr(I,Ke))){if(!te[Ke]||ue[Ke]){if(!(po(Ee)&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,Ee)||se.tagNameCheck instanceof Function&&se.tagNameCheck(Ee))&&(se.attributeNameCheck instanceof RegExp&&Wr(se.attributeNameCheck,Ke)||se.attributeNameCheck instanceof Function&&se.attributeNameCheck(Ke,Ee))||Ke==="is"&&se.allowCustomizedBuiltInElements&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,st)||se.tagNameCheck instanceof Function&&se.tagNameCheck(st))))return!1}else if(!St[Ke]){if(!Wr(K,Vv(st,Q,""))){if(!((Ke==="src"||Ke==="xlink:href"||Ke==="href")&&Ee!=="script"&&OG(st,"data:")===0&&rt[Ee])){if(!(pe&&!Wr(W,Vv(st,Q,"")))){if(st)return!1}}}}}}return!0},po=function(Ee){return Ee!=="annotation-xml"&&zx(Ee,J)},ki=function(Ee){qt(X.beforeSanitizeAttributes,Ee,null);const{attributes:Ke}=Ee;if(!Ke||ai(Ee))return;const st={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:te,forceKeepAttr:void 0};let on=Ke.length;for(;on--;){const eo=Ke[on],{name:Dn,namespaceURI:ot,value:vn}=eo,yn=Ze(Dn),vi=vn;let Rn=Dn==="value"?vi:DG(vi);if(st.attrName=yn,st.attrValue=Rn,st.keepAttr=!0,st.forceKeepAttr=void 0,qt(X.uponSanitizeAttribute,Ee,st),Rn=st.attrValue,tt&&(yn==="id"||yn==="name")&&(Je(Dn,Ee),Rn=ct+Rn),Ve&&Wr(/((--!?|])>)|<\/(style|title|textarea)/i,Rn)){Je(Dn,Ee);continue}if(yn==="attributename"&&zx(Rn,"href")){Je(Dn,Ee);continue}if(st.forceKeepAttr)continue;if(!st.keepAttr){Je(Dn,Ee);continue}if(!ye&&Wr(/\/>/i,Rn)){Je(Dn,Ee);continue}de&&r1([P,B,k],Sa=>{Rn=Vv(Rn,Sa," ")});const si=Ze(Ee.nodeName);if(!Fo(si,yn,Rn)){Je(Dn,Ee);continue}if(R&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!ot)switch(h.getAttributeType(si,yn)){case"TrustedHTML":{Rn=R.createHTML(Rn);break}case"TrustedScriptURL":{Rn=R.createScriptURL(Rn);break}}if(Rn!==vi)try{ot?Ee.setAttributeNS(ot,Dn,Rn):Ee.setAttribute(Dn,Rn),ai(Ee)?Xt(Ee):_4(e.removed)}catch{Je(Dn,Ee)}}qt(X.afterSanitizeAttributes,Ee,null)},Lr=function nt(Ee){let Ke=null;const st=Lt(Ee);for(qt(X.beforeSanitizeShadowDOM,Ee,null);Ke=st.nextNode();)qt(X.uponSanitizeShadowNode,Ke,null),Gn(Ke),ki(Ke),Ke.content instanceof p&&nt(Ke.content);qt(X.afterSanitizeShadowDOM,Ee,null)};return e.sanitize=function(nt){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=null,st=null,on=null,eo=null;if(xe=!nt,xe&&(nt="<!-->"),typeof nt!="string"&&!Eo(nt))if(typeof nt.toString=="function"){if(nt=nt.toString(),typeof nt!="string")throw Gv("dirty is not a string, aborting")}else throw Gv("toString is not a function");if(!e.isSupported)return nt;if(qe||tn(Ee),e.removed=[],typeof nt=="string"&&(at=!1),at){if(nt.nodeName){const vn=Ze(nt.nodeName);if(!Z[vn]||ie[vn])throw Gv("root node is forbidden and cannot be sanitized in-place")}}else if(nt instanceof y)Ke=Vn("<!---->"),st=Ke.ownerDocument.importNode(nt,!0),st.nodeType===Wv.element&&st.nodeName==="BODY"||st.nodeName==="HTML"?Ke=st:Ke.appendChild(st);else{if(!mt&&!de&&!Re&&nt.indexOf("<")===-1)return R&&$t?R.createHTML(nt):nt;if(Ke=Vn(nt),!Ke)return mt?null:$t?L:""}Ke&&et&&Xt(Ke.firstChild);const Dn=Lt(at?nt:Ke);for(;on=Dn.nextNode();)Gn(on),ki(on),on.content instanceof p&&Lr(on.content);if(at)return nt;if(mt){if(xt)for(eo=F.call(Ke.ownerDocument);Ke.firstChild;)eo.appendChild(Ke.firstChild);else eo=Ke;return(te.shadowroot||te.shadowrootmode)&&(eo=j.call(a,eo,!0)),eo}let ot=Re?Ke.outerHTML:Ke.innerHTML;return Re&&Z["!doctype"]&&Ke.ownerDocument&&Ke.ownerDocument.doctype&&Ke.ownerDocument.doctype.name&&Wr(R4,Ke.ownerDocument.doctype.name)&&(ot="<!DOCTYPE "+Ke.ownerDocument.doctype.name+`>
2209
- `+ot),de&&r1([P,B,k],vn=>{ot=Vv(ot,vn," ")}),R&&$t?R.createHTML(ot):ot},e.setConfig=function(){let nt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};tn(nt),qe=!0},e.clearConfig=function(){ft=null,qe=!1},e.isValidAttribute=function(nt,Ee,Ke){ft||tn({});const st=Ze(nt),on=Ze(Ee);return Fo(st,on,Ke)},e.addHook=function(nt,Ee){typeof Ee=="function"&&Pv(X[nt],Ee)},e.removeHook=function(nt,Ee){if(Ee!==void 0){const Ke=NG(X[nt],Ee);return Ke===-1?void 0:LG(X[nt],Ke,1)[0]}return _4(X[nt])},e.removeHooks=function(nt){X[nt]=[]},e.removeAllHooks=function(){X=k4()},e}var QG=I4();const $4=({componentKey:t,title:e,description:i,children:a,componentName:E})=>{var b,c,u,d,h,m,S,T;const{boomiConfig:p}=Fn(),g=((d=(u=(c=(b=p==null?void 0:p.components)==null?void 0:b[t])==null?void 0:c[E])==null?void 0:u.header)==null?void 0:d.showTitle)??!0,y=((T=(S=(m=(h=p==null?void 0:p.components)==null?void 0:h[t])==null?void 0:m[E])==null?void 0:S.header)==null?void 0:T.showDescription)??!0,f=g||y;return H.jsx("div",{className:`
2208
+ */const S4=({children:t})=>H.jsx("div",{children:t});/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */const{entries:T4,setPrototypeOf:A4,isFrozen:xG,getPrototypeOf:_G,getOwnPropertyDescriptor:CG}=Object;let{freeze:Qr,seal:ks,create:x4}=Object,{apply:Ux,construct:Hx}=typeof Reflect<"u"&&Reflect;Qr||(Qr=function(e){return e}),ks||(ks=function(e){return e}),Ux||(Ux=function(e,i){for(var a=arguments.length,E=new Array(a>2?a-2:0),p=2;p<a;p++)E[p-2]=arguments[p];return e.apply(i,E)}),Hx||(Hx=function(e){for(var i=arguments.length,a=new Array(i>1?i-1:0),E=1;E<i;E++)a[E-1]=arguments[E];return new e(...a)});const r1=Yr(Array.prototype.forEach),NG=Yr(Array.prototype.lastIndexOf),_4=Yr(Array.prototype.pop),Pv=Yr(Array.prototype.push),LG=Yr(Array.prototype.splice),a1=Yr(String.prototype.toLowerCase),jx=Yr(String.prototype.toString),zx=Yr(String.prototype.match),Vv=Yr(String.prototype.replace),OG=Yr(String.prototype.indexOf),DG=Yr(String.prototype.trim),Nl=Yr(Object.prototype.hasOwnProperty),Wr=Yr(RegExp.prototype.test),Gv=RG(TypeError);function Yr(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var i=arguments.length,a=new Array(i>1?i-1:0),E=1;E<i;E++)a[E-1]=arguments[E];return Ux(t,e,a)}}function RG(t){return function(){for(var e=arguments.length,i=new Array(e),a=0;a<e;a++)i[a]=arguments[a];return Hx(t,i)}}function An(t,e){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a1;A4&&A4(t,null);let a=e.length;for(;a--;){let E=e[a];if(typeof E=="string"){const p=i(E);p!==E&&(xG(e)||(e[a]=p),E=p)}t[E]=!0}return t}function MG(t){for(let e=0;e<t.length;e++)Nl(t,e)||(t[e]=null);return t}function du(t){const e=x4(null);for(const[i,a]of T4(t))Nl(t,i)&&(Array.isArray(a)?e[i]=MG(a):a&&typeof a=="object"&&a.constructor===Object?e[i]=du(a):e[i]=a);return e}function Qv(t,e){for(;t!==null;){const a=CG(t,e);if(a){if(a.get)return Yr(a.get);if(typeof a.value=="function")return Yr(a.value)}t=_G(t)}function i(){return null}return i}const C4=Qr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Bx=Qr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fx=Qr(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),kG=Qr(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Px=Qr(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),IG=Qr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N4=Qr(["#text"]),L4=Qr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Vx=Qr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),O4=Qr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),s1=Qr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$G=ks(/\{\{[\w\W]*|[\w\W]*\}\}/gm),UG=ks(/<%[\w\W]*|[\w\W]*%>/gm),HG=ks(/\$\{[\w\W]*/gm),jG=ks(/^data-[\-\w.\u00B7-\uFFFF]+$/),zG=ks(/^aria-[\-\w]+$/),D4=ks(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),BG=ks(/^(?:\w+script|data):/i),FG=ks(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),R4=ks(/^html$/i),PG=ks(/^[a-z][.\w]*(-[.\w]+)+$/i);var M4=Object.freeze({__proto__:null,ARIA_ATTR:zG,ATTR_WHITESPACE:FG,CUSTOM_ELEMENT:PG,DATA_ATTR:jG,DOCTYPE_NAME:R4,ERB_EXPR:UG,IS_ALLOWED_URI:D4,IS_SCRIPT_OR_DATA:BG,MUSTACHE_EXPR:$G,TMPLIT_EXPR:HG});const Wv={element:1,text:3,progressingInstruction:7,comment:8,document:9},VG=function(){return typeof window>"u"?null:window},GG=function(e,i){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let a=null;const E="data-tt-policy-suffix";i&&i.hasAttribute(E)&&(a=i.getAttribute(E));const p="dompurify"+(a?"#"+a:"");try{return e.createPolicy(p,{createHTML(g){return g},createScriptURL(g){return g}})}catch{return console.warn("TrustedTypes policy "+p+" could not be created."),null}},k4=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function I4(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:VG();const e=it=>I4(it);if(e.version="3.2.7",e.removed=[],!t||!t.document||t.document.nodeType!==Wv.document||!t.Element)return e.isSupported=!1,e;let{document:i}=t;const a=i,E=a.currentScript,{DocumentFragment:p,HTMLTemplateElement:g,Node:y,Element:f,NodeFilter:b,NamedNodeMap:c=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:u,DOMParser:d,trustedTypes:h}=t,m=f.prototype,S=Qv(m,"cloneNode"),T=Qv(m,"remove"),A=Qv(m,"nextSibling"),N=Qv(m,"childNodes"),D=Qv(m,"parentNode");if(typeof g=="function"){const it=i.createElement("template");it.content&&it.content.ownerDocument&&(i=it.content.ownerDocument)}let R,L="";const{implementation:C,createNodeIterator:$,createDocumentFragment:F,getElementsByTagName:U}=i,{importNode:j}=a;let X=k4();e.isSupported=typeof T4=="function"&&typeof D=="function"&&C&&C.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:P,ERB_EXPR:B,TMPLIT_EXPR:k,DATA_ATTR:M,ARIA_ATTR:I,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:J}=M4;let{IS_ALLOWED_URI:K}=M4,Z=null;const re=An({},[...C4,...Bx,...Fx,...Px,...N4]);let te=null;const ae=An({},[...L4,...Vx,...O4,...s1]);let se=Object.seal(x4(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ie=null,ue=null,me=!0,ve=!0,pe=!1,ye=!0,de=!1,Ve=!0,Re=!1,qe=!1,et=!1,mt=!1,xt=!1,$t=!1,ze=!0,nt=!1;const ct="user-content-";let gt=!0,at=!1,Le={},je=null;const ot=An({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let tt=null;const vt=An({},["audio","video","img","source","image","track"]);let St=null;const Nt=An({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",Ot="http://www.w3.org/2000/svg",_t="http://www.w3.org/1999/xhtml";let Et=_t,xe=!1,Ge=null;const bt=An({},[an,Ot,_t],jx);let Mt=An({},["mi","mo","mn","ms","mtext"]),ut=An({},["annotation-xml"]);const yt=An({},["title","style","font","a","script"]);let Ht=null;const jt=["application/xhtml+xml","text/html"],Ce="text/html";let Ze=null,ft=null;const Tt=i.createElement("form"),kt=function(Ee){return Ee instanceof RegExp||Ee instanceof Function},tn=function(){let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ft&&ft===Ee)){if((!Ee||typeof Ee!="object")&&(Ee={}),Ee=du(Ee),Ht=jt.indexOf(Ee.PARSER_MEDIA_TYPE)===-1?Ce:Ee.PARSER_MEDIA_TYPE,Ze=Ht==="application/xhtml+xml"?jx:a1,Z=Nl(Ee,"ALLOWED_TAGS")?An({},Ee.ALLOWED_TAGS,Ze):re,te=Nl(Ee,"ALLOWED_ATTR")?An({},Ee.ALLOWED_ATTR,Ze):ae,Ge=Nl(Ee,"ALLOWED_NAMESPACES")?An({},Ee.ALLOWED_NAMESPACES,jx):bt,St=Nl(Ee,"ADD_URI_SAFE_ATTR")?An(du(Nt),Ee.ADD_URI_SAFE_ATTR,Ze):Nt,tt=Nl(Ee,"ADD_DATA_URI_TAGS")?An(du(vt),Ee.ADD_DATA_URI_TAGS,Ze):vt,je=Nl(Ee,"FORBID_CONTENTS")?An({},Ee.FORBID_CONTENTS,Ze):ot,ie=Nl(Ee,"FORBID_TAGS")?An({},Ee.FORBID_TAGS,Ze):du({}),ue=Nl(Ee,"FORBID_ATTR")?An({},Ee.FORBID_ATTR,Ze):du({}),Le=Nl(Ee,"USE_PROFILES")?Ee.USE_PROFILES:!1,me=Ee.ALLOW_ARIA_ATTR!==!1,ve=Ee.ALLOW_DATA_ATTR!==!1,pe=Ee.ALLOW_UNKNOWN_PROTOCOLS||!1,ye=Ee.ALLOW_SELF_CLOSE_IN_ATTR!==!1,de=Ee.SAFE_FOR_TEMPLATES||!1,Ve=Ee.SAFE_FOR_XML!==!1,Re=Ee.WHOLE_DOCUMENT||!1,mt=Ee.RETURN_DOM||!1,xt=Ee.RETURN_DOM_FRAGMENT||!1,$t=Ee.RETURN_TRUSTED_TYPE||!1,et=Ee.FORCE_BODY||!1,ze=Ee.SANITIZE_DOM!==!1,nt=Ee.SANITIZE_NAMED_PROPS||!1,gt=Ee.KEEP_CONTENT!==!1,at=Ee.IN_PLACE||!1,K=Ee.ALLOWED_URI_REGEXP||D4,Et=Ee.NAMESPACE||_t,Mt=Ee.MATHML_TEXT_INTEGRATION_POINTS||Mt,ut=Ee.HTML_INTEGRATION_POINTS||ut,se=Ee.CUSTOM_ELEMENT_HANDLING||{},Ee.CUSTOM_ELEMENT_HANDLING&&kt(Ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=Ee.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ee.CUSTOM_ELEMENT_HANDLING&&kt(Ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(se.attributeNameCheck=Ee.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ee.CUSTOM_ELEMENT_HANDLING&&typeof Ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(se.allowCustomizedBuiltInElements=Ee.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),de&&(ve=!1),xt&&(mt=!0),Le&&(Z=An({},N4),te=[],Le.html===!0&&(An(Z,C4),An(te,L4)),Le.svg===!0&&(An(Z,Bx),An(te,Vx),An(te,s1)),Le.svgFilters===!0&&(An(Z,Fx),An(te,Vx),An(te,s1)),Le.mathMl===!0&&(An(Z,Px),An(te,O4),An(te,s1))),Ee.ADD_TAGS&&(Z===re&&(Z=du(Z)),An(Z,Ee.ADD_TAGS,Ze)),Ee.ADD_ATTR&&(te===ae&&(te=du(te)),An(te,Ee.ADD_ATTR,Ze)),Ee.ADD_URI_SAFE_ATTR&&An(St,Ee.ADD_URI_SAFE_ATTR,Ze),Ee.FORBID_CONTENTS&&(je===ot&&(je=du(je)),An(je,Ee.FORBID_CONTENTS,Ze)),gt&&(Z["#text"]=!0),Re&&An(Z,["html","head","body"]),Z.table&&(An(Z,["tbody"]),delete ie.tbody),Ee.TRUSTED_TYPES_POLICY){if(typeof Ee.TRUSTED_TYPES_POLICY.createHTML!="function")throw Gv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ee.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Gv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');R=Ee.TRUSTED_TYPES_POLICY,L=R.createHTML("")}else R===void 0&&(R=GG(h,E)),R!==null&&typeof L=="string"&&(L=R.createHTML(""));Qr&&Qr(Ee),ft=Ee}},Gt=An({},[...Bx,...Fx,...kG]),sn=An({},[...Px,...IG]),On=function(Ee){let Ke=D(Ee);(!Ke||!Ke.tagName)&&(Ke={namespaceURI:Et,tagName:"template"});const st=a1(Ee.tagName),on=a1(Ke.tagName);return Ge[Ee.namespaceURI]?Ee.namespaceURI===Ot?Ke.namespaceURI===_t?st==="svg":Ke.namespaceURI===an?st==="svg"&&(on==="annotation-xml"||Mt[on]):!!Gt[st]:Ee.namespaceURI===an?Ke.namespaceURI===_t?st==="math":Ke.namespaceURI===Ot?st==="math"&&ut[on]:!!sn[st]:Ee.namespaceURI===_t?Ke.namespaceURI===Ot&&!ut[on]||Ke.namespaceURI===an&&!Mt[on]?!1:!sn[st]&&(yt[st]||!Gt[st]):!!(Ht==="application/xhtml+xml"&&Ge[Ee.namespaceURI]):!1},Xt=function(Ee){Pv(e.removed,{element:Ee});try{D(Ee).removeChild(Ee)}catch{T(Ee)}},Je=function(Ee,Ke){try{Pv(e.removed,{attribute:Ke.getAttributeNode(Ee),from:Ke})}catch{Pv(e.removed,{attribute:null,from:Ke})}if(Ke.removeAttribute(Ee),Ee==="is")if(mt||xt)try{Xt(Ke)}catch{}else try{Ke.setAttribute(Ee,"")}catch{}},Vn=function(Ee){let Ke=null,st=null;if(et)Ee="<remove></remove>"+Ee;else{const Dn=zx(Ee,/^[\r\n\t ]+/);st=Dn&&Dn[0]}Ht==="application/xhtml+xml"&&Et===_t&&(Ee='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ee+"</body></html>");const on=R?R.createHTML(Ee):Ee;if(Et===_t)try{Ke=new d().parseFromString(on,Ht)}catch{}if(!Ke||!Ke.documentElement){Ke=C.createDocument(Et,"template",null);try{Ke.documentElement.innerHTML=xe?L:on}catch{}}const eo=Ke.body||Ke.documentElement;return Ee&&st&&eo.insertBefore(i.createTextNode(st),eo.childNodes[0]||null),Et===_t?U.call(Ke,Re?"html":"body")[0]:Re?Ke.documentElement:eo},Lt=function(Ee){return $.call(Ee.ownerDocument||Ee,Ee,b.SHOW_ELEMENT|b.SHOW_COMMENT|b.SHOW_TEXT|b.SHOW_PROCESSING_INSTRUCTION|b.SHOW_CDATA_SECTION,null)},ai=function(Ee){return Ee instanceof u&&(typeof Ee.nodeName!="string"||typeof Ee.textContent!="string"||typeof Ee.removeChild!="function"||!(Ee.attributes instanceof c)||typeof Ee.removeAttribute!="function"||typeof Ee.setAttribute!="function"||typeof Ee.namespaceURI!="string"||typeof Ee.insertBefore!="function"||typeof Ee.hasChildNodes!="function")},Eo=function(Ee){return typeof y=="function"&&Ee instanceof y};function qt(it,Ee,Ke){r1(it,st=>{st.call(e,Ee,Ke,ft)})}const Gn=function(Ee){let Ke=null;if(qt(X.beforeSanitizeElements,Ee,null),ai(Ee))return Xt(Ee),!0;const st=Ze(Ee.nodeName);if(qt(X.uponSanitizeElement,Ee,{tagName:st,allowedTags:Z}),Ve&&Ee.hasChildNodes()&&!Eo(Ee.firstElementChild)&&Wr(/<[/\w!]/g,Ee.innerHTML)&&Wr(/<[/\w!]/g,Ee.textContent)||Ee.nodeType===Wv.progressingInstruction||Ve&&Ee.nodeType===Wv.comment&&Wr(/<[/\w]/g,Ee.data))return Xt(Ee),!0;if(!Z[st]||ie[st]){if(!ie[st]&&po(st)&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,st)||se.tagNameCheck instanceof Function&&se.tagNameCheck(st)))return!1;if(gt&&!je[st]){const on=D(Ee)||Ee.parentNode,eo=N(Ee)||Ee.childNodes;if(eo&&on){const Dn=eo.length;for(let rt=Dn-1;rt>=0;--rt){const vn=S(eo[rt],!0);vn.__removalCount=(Ee.__removalCount||0)+1,on.insertBefore(vn,A(Ee))}}}return Xt(Ee),!0}return Ee instanceof f&&!On(Ee)||(st==="noscript"||st==="noembed"||st==="noframes")&&Wr(/<\/no(script|embed|frames)/i,Ee.innerHTML)?(Xt(Ee),!0):(de&&Ee.nodeType===Wv.text&&(Ke=Ee.textContent,r1([P,B,k],on=>{Ke=Vv(Ke,on," ")}),Ee.textContent!==Ke&&(Pv(e.removed,{element:Ee.cloneNode()}),Ee.textContent=Ke)),qt(X.afterSanitizeElements,Ee,null),!1)},Fo=function(Ee,Ke,st){if(ze&&(Ke==="id"||Ke==="name")&&(st in i||st in Tt))return!1;if(!(ve&&!ue[Ke]&&Wr(M,Ke))){if(!(me&&Wr(I,Ke))){if(!te[Ke]||ue[Ke]){if(!(po(Ee)&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,Ee)||se.tagNameCheck instanceof Function&&se.tagNameCheck(Ee))&&(se.attributeNameCheck instanceof RegExp&&Wr(se.attributeNameCheck,Ke)||se.attributeNameCheck instanceof Function&&se.attributeNameCheck(Ke,Ee))||Ke==="is"&&se.allowCustomizedBuiltInElements&&(se.tagNameCheck instanceof RegExp&&Wr(se.tagNameCheck,st)||se.tagNameCheck instanceof Function&&se.tagNameCheck(st))))return!1}else if(!St[Ke]){if(!Wr(K,Vv(st,Q,""))){if(!((Ke==="src"||Ke==="xlink:href"||Ke==="href")&&Ee!=="script"&&OG(st,"data:")===0&&tt[Ee])){if(!(pe&&!Wr(W,Vv(st,Q,"")))){if(st)return!1}}}}}}return!0},po=function(Ee){return Ee!=="annotation-xml"&&zx(Ee,J)},ki=function(Ee){qt(X.beforeSanitizeAttributes,Ee,null);const{attributes:Ke}=Ee;if(!Ke||ai(Ee))return;const st={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:te,forceKeepAttr:void 0};let on=Ke.length;for(;on--;){const eo=Ke[on],{name:Dn,namespaceURI:rt,value:vn}=eo,yn=Ze(Dn),vi=vn;let Rn=Dn==="value"?vi:DG(vi);if(st.attrName=yn,st.attrValue=Rn,st.keepAttr=!0,st.forceKeepAttr=void 0,qt(X.uponSanitizeAttribute,Ee,st),Rn=st.attrValue,nt&&(yn==="id"||yn==="name")&&(Je(Dn,Ee),Rn=ct+Rn),Ve&&Wr(/((--!?|])>)|<\/(style|title|textarea)/i,Rn)){Je(Dn,Ee);continue}if(yn==="attributename"&&zx(Rn,"href")){Je(Dn,Ee);continue}if(st.forceKeepAttr)continue;if(!st.keepAttr){Je(Dn,Ee);continue}if(!ye&&Wr(/\/>/i,Rn)){Je(Dn,Ee);continue}de&&r1([P,B,k],Sa=>{Rn=Vv(Rn,Sa," ")});const si=Ze(Ee.nodeName);if(!Fo(si,yn,Rn)){Je(Dn,Ee);continue}if(R&&typeof h=="object"&&typeof h.getAttributeType=="function"&&!rt)switch(h.getAttributeType(si,yn)){case"TrustedHTML":{Rn=R.createHTML(Rn);break}case"TrustedScriptURL":{Rn=R.createScriptURL(Rn);break}}if(Rn!==vi)try{rt?Ee.setAttributeNS(rt,Dn,Rn):Ee.setAttribute(Dn,Rn),ai(Ee)?Xt(Ee):_4(e.removed)}catch{Je(Dn,Ee)}}qt(X.afterSanitizeAttributes,Ee,null)},Lr=function it(Ee){let Ke=null;const st=Lt(Ee);for(qt(X.beforeSanitizeShadowDOM,Ee,null);Ke=st.nextNode();)qt(X.uponSanitizeShadowNode,Ke,null),Gn(Ke),ki(Ke),Ke.content instanceof p&&it(Ke.content);qt(X.afterSanitizeShadowDOM,Ee,null)};return e.sanitize=function(it){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=null,st=null,on=null,eo=null;if(xe=!it,xe&&(it="<!-->"),typeof it!="string"&&!Eo(it))if(typeof it.toString=="function"){if(it=it.toString(),typeof it!="string")throw Gv("dirty is not a string, aborting")}else throw Gv("toString is not a function");if(!e.isSupported)return it;if(qe||tn(Ee),e.removed=[],typeof it=="string"&&(at=!1),at){if(it.nodeName){const vn=Ze(it.nodeName);if(!Z[vn]||ie[vn])throw Gv("root node is forbidden and cannot be sanitized in-place")}}else if(it instanceof y)Ke=Vn("<!---->"),st=Ke.ownerDocument.importNode(it,!0),st.nodeType===Wv.element&&st.nodeName==="BODY"||st.nodeName==="HTML"?Ke=st:Ke.appendChild(st);else{if(!mt&&!de&&!Re&&it.indexOf("<")===-1)return R&&$t?R.createHTML(it):it;if(Ke=Vn(it),!Ke)return mt?null:$t?L:""}Ke&&et&&Xt(Ke.firstChild);const Dn=Lt(at?it:Ke);for(;on=Dn.nextNode();)Gn(on),ki(on),on.content instanceof p&&Lr(on.content);if(at)return it;if(mt){if(xt)for(eo=F.call(Ke.ownerDocument);Ke.firstChild;)eo.appendChild(Ke.firstChild);else eo=Ke;return(te.shadowroot||te.shadowrootmode)&&(eo=j.call(a,eo,!0)),eo}let rt=Re?Ke.outerHTML:Ke.innerHTML;return Re&&Z["!doctype"]&&Ke.ownerDocument&&Ke.ownerDocument.doctype&&Ke.ownerDocument.doctype.name&&Wr(R4,Ke.ownerDocument.doctype.name)&&(rt="<!DOCTYPE "+Ke.ownerDocument.doctype.name+`>
2209
+ `+rt),de&&r1([P,B,k],vn=>{rt=Vv(rt,vn," ")}),R&&$t?R.createHTML(rt):rt},e.setConfig=function(){let it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};tn(it),qe=!0},e.clearConfig=function(){ft=null,qe=!1},e.isValidAttribute=function(it,Ee,Ke){ft||tn({});const st=Ze(it),on=Ze(Ee);return Fo(st,on,Ke)},e.addHook=function(it,Ee){typeof Ee=="function"&&Pv(X[it],Ee)},e.removeHook=function(it,Ee){if(Ee!==void 0){const Ke=NG(X[it],Ee);return Ke===-1?void 0:LG(X[it],Ke,1)[0]}return _4(X[it])},e.removeHooks=function(it){X[it]=[]},e.removeAllHooks=function(){X=k4()},e}var QG=I4();const $4=({componentKey:t,title:e,description:i,children:a,componentName:E})=>{var b,c,u,d,h,m,S,T;const{boomiConfig:p}=Fn(),g=((d=(u=(c=(b=p==null?void 0:p.components)==null?void 0:b[t])==null?void 0:c[E])==null?void 0:u.header)==null?void 0:d.showTitle)??!0,y=((T=(S=(m=(h=p==null?void 0:p.components)==null?void 0:h[t])==null?void 0:m[E])==null?void 0:S.header)==null?void 0:T.showDescription)??!0,f=g||y;return H.jsx("div",{className:`
2210
2210
  pt-2 pb-2 sm:flex sm:items-center text-left border-b
2211
2211
  [background-color:var(--boomi-header-bg-color)]
2212
2212
  [color:var(--boomi-header-fg-color)]
@@ -2248,7 +2248,7 @@ https://sweetalert2.github.io/#ajax-request`),fG(t),typeof t.title=="string"&&(t
2248
2248
  * @function useFetchAccountGroupIntegrationPacks
2249
2249
  * @license BSD-2-Clause
2250
2250
  * @support https://bitbucket.org/officialboomi/embedkit
2251
- */const nQ=t=>{const{filter:e}=t,[i,a]=Y.useState([]),[E,p]=Y.useState(!1),[g,y]=Y.useState(null),{getEligibleIntegrationPacks:f}=hv(),b=Y.useRef(!1),{boomiConfig:c}=Fn();return Y.useEffect(()=>{if(b.current)return;b.current=!0,(async()=>{p(!0),y(null),a([]);try{Oe.debug("Requesting eligible Integration Packs for current account group");const d=Object.entries((c==null?void 0:c.agents)??{}).filter(([m,S])=>S.allowInstall===!1).map(([m])=>m),h=await f({notAllowedIds:d,renderType:e});Oe.debug("Received eligible Integration Packs:",h==null?void 0:h.result),a(h.result||[])}catch(d){const h=`Unexpected error: ${(d==null?void 0:d.message)??"Unknown"}`;Oe.error(h,d),y(h)}finally{p(!1)}})()},[f]),{integrationPacks:i,isLoading:E,error:g}},oQ=({formName:t,renderType:e="all",label:i="Available Integration",disabled:a=!1,showLoading:E=!0,loadingMessage:p="Loading Integrations...",validationError:g,onIntegrationChange:y,onBlur:f})=>{const{integrationPacks:b,isLoading:c,error:u}=nQ({filter:e}),[d,h]=Y.useState([]),m={id:"placeholder",name:"Please select"},[S,T]=Y.useState(m),A=null;Y.useEffect(()=>{if(!b)return;const D=b.map(L=>({id:L.id,name:L.name}));h([m,...D]);let R=m;T(L=>L.id===R.id?L:R)},[b,A]);const N=D=>{if(T(D),Oe.debug("IntegrationPackSelect handleChange",{selectedOption:D,integrationPackId:A,options:d}),Oe.debug("selected option",S.id),D.id==="placeholder"){y==null||y([]);return}const R=b==null?void 0:b.find(L=>L.id===D.id);R&&(y==null||y([R]))};return c&&E?H.jsx(Bi,{message:p}):u?H.jsx("p",{className:"text-red-500 text-sm",children:"Failed to load integrations."}):H.jsx(Gx,{formName:t,label:i,inputName:"integrationPack",options:d,selected:S,onChange:N,onBlur:f,required:!0,disabled:a,error:g},(S==null?void 0:S.id)??"placeholder")},iQ=Y.memo(oQ),j4=Y.forwardRef(({componentKey:t},e)=>{var j,X,P,B,k,M,I,W,Q,J,K,Z,re,te,ae,se,ie,ue,me,ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t,ze,tt,ct,gt,at,Le,je,it,rt,vt,St,Nt,an;const{boomiConfig:i}=Fn(),[a,E]=Y.useState(null),[p,g]=Y.useState(null),[y,f]=Y.useState(""),[b,c]=Y.useState({integrationPackId:"",environmentId:"",integrationName:""}),u=!!(a!=null&&a.id),d=((B=(P=(X=(j=i==null?void 0:i.components)==null?void 0:j[t])==null?void 0:X.form)==null?void 0:P.addIntegration)==null?void 0:B.showIntegrationPackSelect)??!0,h=((W=(I=(M=(k=i==null?void 0:i.components)==null?void 0:k[t])==null?void 0:M.form)==null?void 0:I.addIntegration)==null?void 0:W.defaultIntegrationPackId)??"",m=((Z=(K=(J=(Q=i==null?void 0:i.components)==null?void 0:Q[t])==null?void 0:J.form)==null?void 0:K.addIntegration)==null?void 0:Z.showEnvironmentSelect)??!0,S=((se=(ae=(te=(re=i==null?void 0:i.components)==null?void 0:re[t])==null?void 0:te.form)==null?void 0:ae.addIntegration)==null?void 0:se.defaultEnvironmentId)??"",T=((pe=(ve=(me=(ue=(ie=i==null?void 0:i.components)==null?void 0:ie[t])==null?void 0:ue.form)==null?void 0:me.addIntegration)==null?void 0:ve.integrationPackName)==null?void 0:pe.defaultIntegrationPackName)??null,A=((qe=(Re=(Ve=(de=(ye=i==null?void 0:i.components)==null?void 0:ye[t])==null?void 0:de.form)==null?void 0:Ve.addIntegration)==null?void 0:Re.integrationPackName)==null?void 0:qe.editable)??!1,N=((ze=($t=(xt=(mt=(et=i==null?void 0:i.components)==null?void 0:et[t])==null?void 0:mt.form)==null?void 0:xt.addIntegration)==null?void 0:$t.integrationPackName)==null?void 0:ze.label)??"Integration Name",D=!!(p!=null&&p.id),R=(a==null?void 0:a.installationType)==="SINGLE",L=((ct=(tt=i==null?void 0:i.components)==null?void 0:tt[t])==null?void 0:ct.renderType)||"integration";Y.useEffect(()=>{a!=null&&a.name&&(f(a.name),c(Ot=>({...Ot,integrationName:""})))},[a]);const C=Y.useCallback(Ot=>{const _t=Ot[0]||null;E(_t),c(Et=>({...Et,integrationPack:""}))},[]),$=Y.useCallback(Ot=>{Ot!=null&&Ot.id||c(_t=>({..._t,integrationPack:"Required"}))},[]),F=Y.useCallback(Ot=>{g(Ot),c(_t=>({..._t,environment:""}))},[]),U=Y.useCallback(Ot=>{Ot!=null&&Ot.id||c(_t=>({..._t,environment:"Required"}))},[]);return Y.useImperativeHandle(e,()=>({validateAndSubmit:()=>{var ut,yt,Ht,jt,Ce;Oe.debug("Validating AddIntegrationForm with state:",{integrationPack:a,environment:p,integrationName:y,formErrors:b});const Ot=(a==null?void 0:a.id)||h||"",_t=(p==null?void 0:p.id)||S||"",Et=y||T||"",xe=(a==null?void 0:a.installationType)==="SINGLE";Oe.debug("Derived IDs:",{integrationPackId:Ot,environmentId:_t,iName:Et,isSingle:xe});const Ge={integrationPackId:Ot?"":"Required",environmentId:_t?"":"Required",integrationName:Et?"":"Required"},bt=(Ce=(jt=(Ht=(yt=(ut=i==null?void 0:i.components)==null?void 0:ut[t])==null?void 0:yt.form)==null?void 0:Ht.addIntegrationForm)==null?void 0:jt.integrationName)==null?void 0:Ce.validation;return Et&&bt&&!new RegExp(bt).test(Et)&&(Ge.integrationName="Invalid format"),c(Ge),Object.values(Ge).some(Ze=>!!Ze)||!Ot||!_t?null:{integrationPackId:Ot,environmentId:_t,integrationName:Et,isSingle:xe}},isFormReady:()=>!!y})),H.jsxs("div",{className:"space-y-4 relative",children:[d&&H.jsx(iQ,{formName:"addIntegrationForm",onIntegrationChange:C,onBlur:$,showLoading:!0,loadingMessage:((it=(je=(Le=(at=(gt=i==null?void 0:i.components)==null?void 0:gt[t])==null?void 0:at.form)==null?void 0:Le.addIntegration)==null?void 0:je.integrationPackSelect)==null?void 0:it.loadingMessage)||"Loading...",validationError:b.integrationPackId,label:((an=(Nt=(St=(vt=(rt=i==null?void 0:i.components)==null?void 0:rt[t])==null?void 0:vt.form)==null?void 0:St.addIntegration)==null?void 0:Nt.integrationPackSelect)==null?void 0:an.label)||"Available Integrations",renderType:L}),m&&H.jsx(tQ,{componentKey:t,formName:"addIntegrationForm",disabled:!u,onEnvironmentChange:F,onBlur:U,showLoading:!0,loadingMessage:"Loading...",validationError:b.environmentId}),H.jsx(Ch,{formName:"addIntegrationForm",label:N,type:"text",required:!0,inputName:"integrationName",value:y,readOnly:A&&(R||!D),onChange:Ot=>{f(Ot.target.value),c(_t=>({..._t,integrationName:""}))},onBlur:Ot=>{var Et,xe,Ge,bt,Mt;const _t=Ot.target.value;if(!_t)c(ut=>({...ut,integrationName:"Required"}));else{const ut=(Mt=(bt=(Ge=(xe=(Et=i==null?void 0:i.components)==null?void 0:Et[t])==null?void 0:xe.form)==null?void 0:Ge.addIntegrationForm)==null?void 0:bt.integrationName)==null?void 0:Mt.validation;ut&&!new RegExp(ut).test(_t)&&c(yt=>({...yt,integrationName:"Invalid format"}))}},error:b.integrationName})]})});j4.displayName="AddIntegrationForm";const z4=6048e5,rQ=864e5,B4=Symbol.for("constructDateFrom");function jd(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&B4 in t?t[B4](e):t instanceof Date?new t.constructor(e):new Date(e)}function Ll(t,e){return jd(e||t,t)}let aQ={};function l1(){return aQ}function Yv(t,e){var y,f,b,c;const i=l1(),a=(e==null?void 0:e.weekStartsOn)??((f=(y=e==null?void 0:e.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??i.weekStartsOn??((c=(b=i.locale)==null?void 0:b.options)==null?void 0:c.weekStartsOn)??0,E=Ll(t,e==null?void 0:e.in),p=E.getDay(),g=(p<a?7:0)+p-a;return E.setDate(E.getDate()-g),E.setHours(0,0,0,0),E}function c1(t,e){return Yv(t,{...e,weekStartsOn:1})}function F4(t,e){const i=Ll(t,e==null?void 0:e.in),a=i.getFullYear(),E=jd(i,0);E.setFullYear(a+1,0,4),E.setHours(0,0,0,0);const p=c1(E),g=jd(i,0);g.setFullYear(a,0,4),g.setHours(0,0,0,0);const y=c1(g);return i.getTime()>=p.getTime()?a+1:i.getTime()>=y.getTime()?a:a-1}function P4(t){const e=Ll(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}function sQ(t,...e){const i=jd.bind(null,e.find(a=>typeof a=="object"));return e.map(i)}function V4(t,e){const i=Ll(t,e==null?void 0:e.in);return i.setHours(0,0,0,0),i}function lQ(t,e,i){const[a,E]=sQ(i==null?void 0:i.in,t,e),p=V4(a),g=V4(E),y=+p-P4(p),f=+g-P4(g);return Math.round((y-f)/rQ)}function cQ(t,e){const i=F4(t,e),a=jd(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),c1(a)}function uQ(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function dQ(t){return!(!uQ(t)&&typeof t!="number"||isNaN(+Ll(t)))}function fQ(t,e){const i=Ll(t,e==null?void 0:e.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const hQ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mQ=(t,e,i)=>{let a;const E=hQ[t];return typeof E=="string"?a=E:e===1?a=E.one:a=E.other.replace("{{count}}",e.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+a:a+" ago":a};function Qx(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const pQ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gQ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bQ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vQ={date:Qx({formats:pQ,defaultWidth:"full"}),time:Qx({formats:gQ,defaultWidth:"full"}),dateTime:Qx({formats:bQ,defaultWidth:"full"})},yQ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},EQ=(t,e,i,a)=>yQ[t];function Xv(t){return(e,i)=>{const a=i!=null&&i.context?String(i.context):"standalone";let E;if(a==="formatting"&&t.formattingValues){const g=t.defaultFormattingWidth||t.defaultWidth,y=i!=null&&i.width?String(i.width):g;E=t.formattingValues[y]||t.formattingValues[g]}else{const g=t.defaultWidth,y=i!=null&&i.width?String(i.width):t.defaultWidth;E=t.values[y]||t.values[g]}const p=t.argumentCallback?t.argumentCallback(e):e;return E[p]}}const wQ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},SQ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},TQ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},AQ={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},xQ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_Q={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},CQ={ordinalNumber:(t,e)=>{const i=Number(t),a=i%100;if(a>20||a<10)switch(a%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Xv({values:wQ,defaultWidth:"wide"}),quarter:Xv({values:SQ,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Xv({values:TQ,defaultWidth:"wide"}),day:Xv({values:AQ,defaultWidth:"wide"}),dayPeriod:Xv({values:xQ,defaultWidth:"wide",formattingValues:_Q,defaultFormattingWidth:"wide"})};function qv(t){return(e,i={})=>{const a=i.width,E=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],p=e.match(E);if(!p)return null;const g=p[0],y=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],f=Array.isArray(y)?LQ(y,u=>u.test(g)):NQ(y,u=>u.test(g));let b;b=t.valueCallback?t.valueCallback(f):f,b=i.valueCallback?i.valueCallback(b):b;const c=e.slice(g.length);return{value:b,rest:c}}}function NQ(t,e){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i}function LQ(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i}function OQ(t){return(e,i={})=>{const a=e.match(t.matchPattern);if(!a)return null;const E=a[0],p=e.match(t.parsePattern);if(!p)return null;let g=t.valueCallback?t.valueCallback(p[0]):p[0];g=i.valueCallback?i.valueCallback(g):g;const y=e.slice(E.length);return{value:g,rest:y}}}const DQ=/^(\d+)(th|st|nd|rd)?/i,RQ=/\d+/i,MQ={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},kQ={any:[/^b/i,/^(a|c)/i]},IQ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$Q={any:[/1/i,/2/i,/3/i,/4/i]},UQ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},HQ={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},jQ={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zQ={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},BQ={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},FQ={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},PQ={ordinalNumber:OQ({matchPattern:DQ,parsePattern:RQ,valueCallback:t=>parseInt(t,10)}),era:qv({matchPatterns:MQ,defaultMatchWidth:"wide",parsePatterns:kQ,defaultParseWidth:"any"}),quarter:qv({matchPatterns:IQ,defaultMatchWidth:"wide",parsePatterns:$Q,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qv({matchPatterns:UQ,defaultMatchWidth:"wide",parsePatterns:HQ,defaultParseWidth:"any"}),day:qv({matchPatterns:jQ,defaultMatchWidth:"wide",parsePatterns:zQ,defaultParseWidth:"any"}),dayPeriod:qv({matchPatterns:BQ,defaultMatchWidth:"any",parsePatterns:FQ,defaultParseWidth:"any"})},VQ={code:"en-US",formatDistance:mQ,formatLong:vQ,formatRelative:EQ,localize:CQ,match:PQ,options:{weekStartsOn:0,firstWeekContainsDate:1}};function GQ(t,e){const i=Ll(t,e==null?void 0:e.in);return lQ(i,fQ(i))+1}function QQ(t,e){const i=Ll(t,e==null?void 0:e.in),a=+c1(i)-+cQ(i);return Math.round(a/z4)+1}function G4(t,e){var c,u,d,h;const i=Ll(t,e==null?void 0:e.in),a=i.getFullYear(),E=l1(),p=(e==null?void 0:e.firstWeekContainsDate)??((u=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??E.firstWeekContainsDate??((h=(d=E.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,g=jd((e==null?void 0:e.in)||t,0);g.setFullYear(a+1,0,p),g.setHours(0,0,0,0);const y=Yv(g,e),f=jd((e==null?void 0:e.in)||t,0);f.setFullYear(a,0,p),f.setHours(0,0,0,0);const b=Yv(f,e);return+i>=+y?a+1:+i>=+b?a:a-1}function WQ(t,e){var y,f,b,c;const i=l1(),a=(e==null?void 0:e.firstWeekContainsDate)??((f=(y=e==null?void 0:e.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??i.firstWeekContainsDate??((c=(b=i.locale)==null?void 0:b.options)==null?void 0:c.firstWeekContainsDate)??1,E=G4(t,e),p=jd((e==null?void 0:e.in)||t,0);return p.setFullYear(E,0,a),p.setHours(0,0,0,0),Yv(p,e)}function YQ(t,e){const i=Ll(t,e==null?void 0:e.in),a=+Yv(i,e)-+WQ(i,e);return Math.round(a/z4)+1}function ao(t,e){const i=t<0?"-":"",a=Math.abs(t).toString().padStart(e,"0");return i+a}const zd={y(t,e){const i=t.getFullYear(),a=i>0?i:1-i;return ao(e==="yy"?a%100:a,e.length)},M(t,e){const i=t.getMonth();return e==="M"?String(i+1):ao(i+1,2)},d(t,e){return ao(t.getDate(),e.length)},a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(t,e){return ao(t.getHours()%12||12,e.length)},H(t,e){return ao(t.getHours(),e.length)},m(t,e){return ao(t.getMinutes(),e.length)},s(t,e){return ao(t.getSeconds(),e.length)},S(t,e){const i=e.length,a=t.getMilliseconds(),E=Math.trunc(a*Math.pow(10,i-3));return ao(E,e.length)}},Bp={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Q4={G:function(t,e,i){const a=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(a,{width:"abbreviated"});case"GGGGG":return i.era(a,{width:"narrow"});case"GGGG":default:return i.era(a,{width:"wide"})}},y:function(t,e,i){if(e==="yo"){const a=t.getFullYear(),E=a>0?a:1-a;return i.ordinalNumber(E,{unit:"year"})}return zd.y(t,e)},Y:function(t,e,i,a){const E=G4(t,a),p=E>0?E:1-E;if(e==="YY"){const g=p%100;return ao(g,2)}return e==="Yo"?i.ordinalNumber(p,{unit:"year"}):ao(p,e.length)},R:function(t,e){const i=F4(t);return ao(i,e.length)},u:function(t,e){const i=t.getFullYear();return ao(i,e.length)},Q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(a);case"QQ":return ao(a,2);case"Qo":return i.ordinalNumber(a,{unit:"quarter"});case"QQQ":return i.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(a);case"qq":return ao(a,2);case"qo":return i.ordinalNumber(a,{unit:"quarter"});case"qqq":return i.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,e,i){const a=t.getMonth();switch(e){case"M":case"MM":return zd.M(t,e);case"Mo":return i.ordinalNumber(a+1,{unit:"month"});case"MMM":return i.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(a,{width:"wide",context:"formatting"})}},L:function(t,e,i){const a=t.getMonth();switch(e){case"L":return String(a+1);case"LL":return ao(a+1,2);case"Lo":return i.ordinalNumber(a+1,{unit:"month"});case"LLL":return i.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(a,{width:"wide",context:"standalone"})}},w:function(t,e,i,a){const E=YQ(t,a);return e==="wo"?i.ordinalNumber(E,{unit:"week"}):ao(E,e.length)},I:function(t,e,i){const a=QQ(t);return e==="Io"?i.ordinalNumber(a,{unit:"week"}):ao(a,e.length)},d:function(t,e,i){return e==="do"?i.ordinalNumber(t.getDate(),{unit:"date"}):zd.d(t,e)},D:function(t,e,i){const a=GQ(t);return e==="Do"?i.ordinalNumber(a,{unit:"dayOfYear"}):ao(a,e.length)},E:function(t,e,i){const a=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(a,{width:"short",context:"formatting"});case"EEEE":default:return i.day(a,{width:"wide",context:"formatting"})}},e:function(t,e,i,a){const E=t.getDay(),p=(E-a.weekStartsOn+8)%7||7;switch(e){case"e":return String(p);case"ee":return ao(p,2);case"eo":return i.ordinalNumber(p,{unit:"day"});case"eee":return i.day(E,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(E,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(E,{width:"short",context:"formatting"});case"eeee":default:return i.day(E,{width:"wide",context:"formatting"})}},c:function(t,e,i,a){const E=t.getDay(),p=(E-a.weekStartsOn+8)%7||7;switch(e){case"c":return String(p);case"cc":return ao(p,e.length);case"co":return i.ordinalNumber(p,{unit:"day"});case"ccc":return i.day(E,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(E,{width:"narrow",context:"standalone"});case"cccccc":return i.day(E,{width:"short",context:"standalone"});case"cccc":default:return i.day(E,{width:"wide",context:"standalone"})}},i:function(t,e,i){const a=t.getDay(),E=a===0?7:a;switch(e){case"i":return String(E);case"ii":return ao(E,e.length);case"io":return i.ordinalNumber(E,{unit:"day"});case"iii":return i.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(a,{width:"short",context:"formatting"});case"iiii":default:return i.day(a,{width:"wide",context:"formatting"})}},a:function(t,e,i){const E=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},b:function(t,e,i){const a=t.getHours();let E;switch(a===12?E=Bp.noon:a===0?E=Bp.midnight:E=a/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},B:function(t,e,i){const a=t.getHours();let E;switch(a>=17?E=Bp.evening:a>=12?E=Bp.afternoon:a>=4?E=Bp.morning:E=Bp.night,e){case"B":case"BB":case"BBB":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},h:function(t,e,i){if(e==="ho"){let a=t.getHours()%12;return a===0&&(a=12),i.ordinalNumber(a,{unit:"hour"})}return zd.h(t,e)},H:function(t,e,i){return e==="Ho"?i.ordinalNumber(t.getHours(),{unit:"hour"}):zd.H(t,e)},K:function(t,e,i){const a=t.getHours()%12;return e==="Ko"?i.ordinalNumber(a,{unit:"hour"}):ao(a,e.length)},k:function(t,e,i){let a=t.getHours();return a===0&&(a=24),e==="ko"?i.ordinalNumber(a,{unit:"hour"}):ao(a,e.length)},m:function(t,e,i){return e==="mo"?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):zd.m(t,e)},s:function(t,e,i){return e==="so"?i.ordinalNumber(t.getSeconds(),{unit:"second"}):zd.s(t,e)},S:function(t,e){return zd.S(t,e)},X:function(t,e,i){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return Y4(a);case"XXXX":case"XX":return kh(a);case"XXXXX":case"XXX":default:return kh(a,":")}},x:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"x":return Y4(a);case"xxxx":case"xx":return kh(a);case"xxxxx":case"xxx":default:return kh(a,":")}},O:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+W4(a,":");case"OOOO":default:return"GMT"+kh(a,":")}},z:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+W4(a,":");case"zzzz":default:return"GMT"+kh(a,":")}},t:function(t,e,i){const a=Math.trunc(+t/1e3);return ao(a,e.length)},T:function(t,e,i){return ao(+t,e.length)}};function W4(t,e=""){const i=t>0?"-":"+",a=Math.abs(t),E=Math.trunc(a/60),p=a%60;return p===0?i+String(E):i+String(E)+e+ao(p,2)}function Y4(t,e){return t%60===0?(t>0?"-":"+")+ao(Math.abs(t)/60,2):kh(t,e)}function kh(t,e=""){const i=t>0?"-":"+",a=Math.abs(t),E=ao(Math.trunc(a/60),2),p=ao(a%60,2);return i+E+e+p}const X4=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},q4=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},XQ={p:q4,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],a=i[1],E=i[2];if(!E)return X4(t,e);let p;switch(a){case"P":p=e.dateTime({width:"short"});break;case"PP":p=e.dateTime({width:"medium"});break;case"PPP":p=e.dateTime({width:"long"});break;case"PPPP":default:p=e.dateTime({width:"full"});break}return p.replace("{{date}}",X4(a,e)).replace("{{time}}",q4(E,e))}},qQ=/^D+$/,KQ=/^Y+$/,ZQ=["D","DD","YY","YYYY"];function JQ(t){return qQ.test(t)}function eW(t){return KQ.test(t)}function tW(t,e,i){const a=nW(t,e,i);if(console.warn(a),ZQ.includes(t))throw new RangeError(a)}function nW(t,e,i){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${a} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const oW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rW=/^'([^]*?)'?$/,aW=/''/g,sW=/[a-zA-Z]/;function Kv(t,e,i){var c,u,d,h;const a=l1(),E=a.locale??VQ,p=a.firstWeekContainsDate??((u=(c=a.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,g=a.weekStartsOn??((h=(d=a.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,y=Ll(t,i==null?void 0:i.in);if(!dQ(y))throw new RangeError("Invalid time value");let f=e.match(iW).map(m=>{const S=m[0];if(S==="p"||S==="P"){const T=XQ[S];return T(m,E.formatLong)}return m}).join("").match(oW).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const S=m[0];if(S==="'")return{isToken:!1,value:lW(m)};if(Q4[S])return{isToken:!0,value:m};if(S.match(sW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:m}});E.localize.preprocessor&&(f=E.localize.preprocessor(y,f));const b={firstWeekContainsDate:p,weekStartsOn:g,locale:E};return f.map(m=>{if(!m.isToken)return m.value;const S=m.value;(eW(S)||JQ(S))&&tW(S,e,String(t));const T=Q4[S[0]];return T(y,S,E.localize,b)}).join("")}function lW(t){const e=t.match(rW);return e?e[1].replace(aW,"'"):t}function cW(){const t=lc();async function e(i){const{integrationPackInstanceId:a,search:E,page:p,pageSize:g,signal:y}=i;return t.get("/execution-summary-records",{signal:y,params:{integrationPackInstanceId:a,...E?{search:E}:{},...typeof p=="number"?{page:p}:{},...typeof g=="number"?{pageSize:g}:{}}})}return{getExecutionRecords:e}}/**
2251
+ */const nQ=t=>{const{filter:e}=t,[i,a]=Y.useState([]),[E,p]=Y.useState(!1),[g,y]=Y.useState(null),{getEligibleIntegrationPacks:f}=hv(),b=Y.useRef(!1),{boomiConfig:c}=Fn();return Y.useEffect(()=>{if(b.current)return;b.current=!0,(async()=>{p(!0),y(null),a([]);try{Oe.debug("Requesting eligible Integration Packs for current account group");const d=Object.entries((c==null?void 0:c.agents)??{}).filter(([m,S])=>S.allowInstall===!1).map(([m])=>m),h=await f({notAllowedIds:d,renderType:e});Oe.debug("Received eligible Integration Packs:",h==null?void 0:h.result),a(h.result||[])}catch(d){const h=`Unexpected error: ${(d==null?void 0:d.message)??"Unknown"}`;Oe.error(h,d),y(h)}finally{p(!1)}})()},[f]),{integrationPacks:i,isLoading:E,error:g}},oQ=({formName:t,renderType:e="all",label:i="Available Integration",disabled:a=!1,showLoading:E=!0,loadingMessage:p="Loading Integrations...",validationError:g,onIntegrationChange:y,onBlur:f})=>{const{integrationPacks:b,isLoading:c,error:u}=nQ({filter:e}),[d,h]=Y.useState([]),m={id:"placeholder",name:"Please select"},[S,T]=Y.useState(m),A=null;Y.useEffect(()=>{if(!b)return;const D=b.map(L=>({id:L.id,name:L.name}));h([m,...D]);let R=m;T(L=>L.id===R.id?L:R)},[b,A]);const N=D=>{if(T(D),Oe.debug("IntegrationPackSelect handleChange",{selectedOption:D,integrationPackId:A,options:d}),Oe.debug("selected option",S.id),D.id==="placeholder"){y==null||y([]);return}const R=b==null?void 0:b.find(L=>L.id===D.id);R&&(y==null||y([R]))};return c&&E?H.jsx(Bi,{message:p}):u?H.jsx("p",{className:"text-red-500 text-sm",children:"Failed to load integrations."}):H.jsx(Gx,{formName:t,label:i,inputName:"integrationPack",options:d,selected:S,onChange:N,onBlur:f,required:!0,disabled:a,error:g},(S==null?void 0:S.id)??"placeholder")},iQ=Y.memo(oQ),j4=Y.forwardRef(({componentKey:t},e)=>{var j,X,P,B,k,M,I,W,Q,J,K,Z,re,te,ae,se,ie,ue,me,ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t,ze,nt,ct,gt,at,Le,je,ot,tt,vt,St,Nt,an;const{boomiConfig:i}=Fn(),[a,E]=Y.useState(null),[p,g]=Y.useState(null),[y,f]=Y.useState(""),[b,c]=Y.useState({integrationPackId:"",environmentId:"",integrationName:""}),u=!!(a!=null&&a.id),d=((B=(P=(X=(j=i==null?void 0:i.components)==null?void 0:j[t])==null?void 0:X.form)==null?void 0:P.addIntegration)==null?void 0:B.showIntegrationPackSelect)??!0,h=((W=(I=(M=(k=i==null?void 0:i.components)==null?void 0:k[t])==null?void 0:M.form)==null?void 0:I.addIntegration)==null?void 0:W.defaultIntegrationPackId)??"",m=((Z=(K=(J=(Q=i==null?void 0:i.components)==null?void 0:Q[t])==null?void 0:J.form)==null?void 0:K.addIntegration)==null?void 0:Z.showEnvironmentSelect)??!0,S=((se=(ae=(te=(re=i==null?void 0:i.components)==null?void 0:re[t])==null?void 0:te.form)==null?void 0:ae.addIntegration)==null?void 0:se.defaultEnvironmentId)??"",T=((pe=(ve=(me=(ue=(ie=i==null?void 0:i.components)==null?void 0:ie[t])==null?void 0:ue.form)==null?void 0:me.addIntegration)==null?void 0:ve.integrationPackName)==null?void 0:pe.defaultIntegrationPackName)??null,A=((qe=(Re=(Ve=(de=(ye=i==null?void 0:i.components)==null?void 0:ye[t])==null?void 0:de.form)==null?void 0:Ve.addIntegration)==null?void 0:Re.integrationPackName)==null?void 0:qe.editable)??!1,N=((ze=($t=(xt=(mt=(et=i==null?void 0:i.components)==null?void 0:et[t])==null?void 0:mt.form)==null?void 0:xt.addIntegration)==null?void 0:$t.integrationPackName)==null?void 0:ze.label)??"Integration Name",D=!!(p!=null&&p.id),R=(a==null?void 0:a.installationType)==="SINGLE",L=((ct=(nt=i==null?void 0:i.components)==null?void 0:nt[t])==null?void 0:ct.renderType)||"integration";Y.useEffect(()=>{a!=null&&a.name&&(f(a.name),c(Ot=>({...Ot,integrationName:""})))},[a]);const C=Y.useCallback(Ot=>{const _t=Ot[0]||null;E(_t),c(Et=>({...Et,integrationPack:""}))},[]),$=Y.useCallback(Ot=>{Ot!=null&&Ot.id||c(_t=>({..._t,integrationPack:"Required"}))},[]),F=Y.useCallback(Ot=>{g(Ot),c(_t=>({..._t,environment:""}))},[]),U=Y.useCallback(Ot=>{Ot!=null&&Ot.id||c(_t=>({..._t,environment:"Required"}))},[]);return Y.useImperativeHandle(e,()=>({validateAndSubmit:()=>{var ut,yt,Ht,jt,Ce;Oe.debug("Validating AddIntegrationForm with state:",{integrationPack:a,environment:p,integrationName:y,formErrors:b});const Ot=(a==null?void 0:a.id)||h||"",_t=(p==null?void 0:p.id)||S||"",Et=y||T||"",xe=(a==null?void 0:a.installationType)==="SINGLE";Oe.debug("Derived IDs:",{integrationPackId:Ot,environmentId:_t,iName:Et,isSingle:xe});const Ge={integrationPackId:Ot?"":"Required",environmentId:_t?"":"Required",integrationName:Et?"":"Required"},bt=(Ce=(jt=(Ht=(yt=(ut=i==null?void 0:i.components)==null?void 0:ut[t])==null?void 0:yt.form)==null?void 0:Ht.addIntegrationForm)==null?void 0:jt.integrationName)==null?void 0:Ce.validation;return Et&&bt&&!new RegExp(bt).test(Et)&&(Ge.integrationName="Invalid format"),c(Ge),Object.values(Ge).some(Ze=>!!Ze)||!Ot||!_t?null:{integrationPackId:Ot,environmentId:_t,integrationName:Et,isSingle:xe}},isFormReady:()=>!!y})),H.jsxs("div",{className:"space-y-4 relative",children:[d&&H.jsx(iQ,{formName:"addIntegrationForm",onIntegrationChange:C,onBlur:$,showLoading:!0,loadingMessage:((ot=(je=(Le=(at=(gt=i==null?void 0:i.components)==null?void 0:gt[t])==null?void 0:at.form)==null?void 0:Le.addIntegration)==null?void 0:je.integrationPackSelect)==null?void 0:ot.loadingMessage)||"Loading...",validationError:b.integrationPackId,label:((an=(Nt=(St=(vt=(tt=i==null?void 0:i.components)==null?void 0:tt[t])==null?void 0:vt.form)==null?void 0:St.addIntegration)==null?void 0:Nt.integrationPackSelect)==null?void 0:an.label)||"Available Integrations",renderType:L}),m&&H.jsx(tQ,{componentKey:t,formName:"addIntegrationForm",disabled:!u,onEnvironmentChange:F,onBlur:U,showLoading:!0,loadingMessage:"Loading...",validationError:b.environmentId}),H.jsx(Ch,{formName:"addIntegrationForm",label:N,type:"text",required:!0,inputName:"integrationName",value:y,readOnly:A&&(R||!D),onChange:Ot=>{f(Ot.target.value),c(_t=>({..._t,integrationName:""}))},onBlur:Ot=>{var Et,xe,Ge,bt,Mt;const _t=Ot.target.value;if(!_t)c(ut=>({...ut,integrationName:"Required"}));else{const ut=(Mt=(bt=(Ge=(xe=(Et=i==null?void 0:i.components)==null?void 0:Et[t])==null?void 0:xe.form)==null?void 0:Ge.addIntegrationForm)==null?void 0:bt.integrationName)==null?void 0:Mt.validation;ut&&!new RegExp(ut).test(_t)&&c(yt=>({...yt,integrationName:"Invalid format"}))}},error:b.integrationName})]})});j4.displayName="AddIntegrationForm";const z4=6048e5,rQ=864e5,B4=Symbol.for("constructDateFrom");function jd(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&B4 in t?t[B4](e):t instanceof Date?new t.constructor(e):new Date(e)}function Ll(t,e){return jd(e||t,t)}let aQ={};function l1(){return aQ}function Yv(t,e){var y,f,b,c;const i=l1(),a=(e==null?void 0:e.weekStartsOn)??((f=(y=e==null?void 0:e.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??i.weekStartsOn??((c=(b=i.locale)==null?void 0:b.options)==null?void 0:c.weekStartsOn)??0,E=Ll(t,e==null?void 0:e.in),p=E.getDay(),g=(p<a?7:0)+p-a;return E.setDate(E.getDate()-g),E.setHours(0,0,0,0),E}function c1(t,e){return Yv(t,{...e,weekStartsOn:1})}function F4(t,e){const i=Ll(t,e==null?void 0:e.in),a=i.getFullYear(),E=jd(i,0);E.setFullYear(a+1,0,4),E.setHours(0,0,0,0);const p=c1(E),g=jd(i,0);g.setFullYear(a,0,4),g.setHours(0,0,0,0);const y=c1(g);return i.getTime()>=p.getTime()?a+1:i.getTime()>=y.getTime()?a:a-1}function P4(t){const e=Ll(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),+t-+i}function sQ(t,...e){const i=jd.bind(null,e.find(a=>typeof a=="object"));return e.map(i)}function V4(t,e){const i=Ll(t,e==null?void 0:e.in);return i.setHours(0,0,0,0),i}function lQ(t,e,i){const[a,E]=sQ(i==null?void 0:i.in,t,e),p=V4(a),g=V4(E),y=+p-P4(p),f=+g-P4(g);return Math.round((y-f)/rQ)}function cQ(t,e){const i=F4(t,e),a=jd(t,0);return a.setFullYear(i,0,4),a.setHours(0,0,0,0),c1(a)}function uQ(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function dQ(t){return!(!uQ(t)&&typeof t!="number"||isNaN(+Ll(t)))}function fQ(t,e){const i=Ll(t,e==null?void 0:e.in);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}const hQ={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mQ=(t,e,i)=>{let a;const E=hQ[t];return typeof E=="string"?a=E:e===1?a=E.one:a=E.other.replace("{{count}}",e.toString()),i!=null&&i.addSuffix?i.comparison&&i.comparison>0?"in "+a:a+" ago":a};function Qx(t){return(e={})=>{const i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}const pQ={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gQ={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bQ={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vQ={date:Qx({formats:pQ,defaultWidth:"full"}),time:Qx({formats:gQ,defaultWidth:"full"}),dateTime:Qx({formats:bQ,defaultWidth:"full"})},yQ={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},EQ=(t,e,i,a)=>yQ[t];function Xv(t){return(e,i)=>{const a=i!=null&&i.context?String(i.context):"standalone";let E;if(a==="formatting"&&t.formattingValues){const g=t.defaultFormattingWidth||t.defaultWidth,y=i!=null&&i.width?String(i.width):g;E=t.formattingValues[y]||t.formattingValues[g]}else{const g=t.defaultWidth,y=i!=null&&i.width?String(i.width):t.defaultWidth;E=t.values[y]||t.values[g]}const p=t.argumentCallback?t.argumentCallback(e):e;return E[p]}}const wQ={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},SQ={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},TQ={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},AQ={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},xQ={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_Q={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},CQ={ordinalNumber:(t,e)=>{const i=Number(t),a=i%100;if(a>20||a<10)switch(a%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:Xv({values:wQ,defaultWidth:"wide"}),quarter:Xv({values:SQ,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Xv({values:TQ,defaultWidth:"wide"}),day:Xv({values:AQ,defaultWidth:"wide"}),dayPeriod:Xv({values:xQ,defaultWidth:"wide",formattingValues:_Q,defaultFormattingWidth:"wide"})};function qv(t){return(e,i={})=>{const a=i.width,E=a&&t.matchPatterns[a]||t.matchPatterns[t.defaultMatchWidth],p=e.match(E);if(!p)return null;const g=p[0],y=a&&t.parsePatterns[a]||t.parsePatterns[t.defaultParseWidth],f=Array.isArray(y)?LQ(y,u=>u.test(g)):NQ(y,u=>u.test(g));let b;b=t.valueCallback?t.valueCallback(f):f,b=i.valueCallback?i.valueCallback(b):b;const c=e.slice(g.length);return{value:b,rest:c}}}function NQ(t,e){for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i}function LQ(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i}function OQ(t){return(e,i={})=>{const a=e.match(t.matchPattern);if(!a)return null;const E=a[0],p=e.match(t.parsePattern);if(!p)return null;let g=t.valueCallback?t.valueCallback(p[0]):p[0];g=i.valueCallback?i.valueCallback(g):g;const y=e.slice(E.length);return{value:g,rest:y}}}const DQ=/^(\d+)(th|st|nd|rd)?/i,RQ=/\d+/i,MQ={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},kQ={any:[/^b/i,/^(a|c)/i]},IQ={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$Q={any:[/1/i,/2/i,/3/i,/4/i]},UQ={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},HQ={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},jQ={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},zQ={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},BQ={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},FQ={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},PQ={ordinalNumber:OQ({matchPattern:DQ,parsePattern:RQ,valueCallback:t=>parseInt(t,10)}),era:qv({matchPatterns:MQ,defaultMatchWidth:"wide",parsePatterns:kQ,defaultParseWidth:"any"}),quarter:qv({matchPatterns:IQ,defaultMatchWidth:"wide",parsePatterns:$Q,defaultParseWidth:"any",valueCallback:t=>t+1}),month:qv({matchPatterns:UQ,defaultMatchWidth:"wide",parsePatterns:HQ,defaultParseWidth:"any"}),day:qv({matchPatterns:jQ,defaultMatchWidth:"wide",parsePatterns:zQ,defaultParseWidth:"any"}),dayPeriod:qv({matchPatterns:BQ,defaultMatchWidth:"any",parsePatterns:FQ,defaultParseWidth:"any"})},VQ={code:"en-US",formatDistance:mQ,formatLong:vQ,formatRelative:EQ,localize:CQ,match:PQ,options:{weekStartsOn:0,firstWeekContainsDate:1}};function GQ(t,e){const i=Ll(t,e==null?void 0:e.in);return lQ(i,fQ(i))+1}function QQ(t,e){const i=Ll(t,e==null?void 0:e.in),a=+c1(i)-+cQ(i);return Math.round(a/z4)+1}function G4(t,e){var c,u,d,h;const i=Ll(t,e==null?void 0:e.in),a=i.getFullYear(),E=l1(),p=(e==null?void 0:e.firstWeekContainsDate)??((u=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??E.firstWeekContainsDate??((h=(d=E.locale)==null?void 0:d.options)==null?void 0:h.firstWeekContainsDate)??1,g=jd((e==null?void 0:e.in)||t,0);g.setFullYear(a+1,0,p),g.setHours(0,0,0,0);const y=Yv(g,e),f=jd((e==null?void 0:e.in)||t,0);f.setFullYear(a,0,p),f.setHours(0,0,0,0);const b=Yv(f,e);return+i>=+y?a+1:+i>=+b?a:a-1}function WQ(t,e){var y,f,b,c;const i=l1(),a=(e==null?void 0:e.firstWeekContainsDate)??((f=(y=e==null?void 0:e.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??i.firstWeekContainsDate??((c=(b=i.locale)==null?void 0:b.options)==null?void 0:c.firstWeekContainsDate)??1,E=G4(t,e),p=jd((e==null?void 0:e.in)||t,0);return p.setFullYear(E,0,a),p.setHours(0,0,0,0),Yv(p,e)}function YQ(t,e){const i=Ll(t,e==null?void 0:e.in),a=+Yv(i,e)-+WQ(i,e);return Math.round(a/z4)+1}function ao(t,e){const i=t<0?"-":"",a=Math.abs(t).toString().padStart(e,"0");return i+a}const zd={y(t,e){const i=t.getFullYear(),a=i>0?i:1-i;return ao(e==="yy"?a%100:a,e.length)},M(t,e){const i=t.getMonth();return e==="M"?String(i+1):ao(i+1,2)},d(t,e){return ao(t.getDate(),e.length)},a(t,e){const i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];case"aaaa":default:return i==="am"?"a.m.":"p.m."}},h(t,e){return ao(t.getHours()%12||12,e.length)},H(t,e){return ao(t.getHours(),e.length)},m(t,e){return ao(t.getMinutes(),e.length)},s(t,e){return ao(t.getSeconds(),e.length)},S(t,e){const i=e.length,a=t.getMilliseconds(),E=Math.trunc(a*Math.pow(10,i-3));return ao(E,e.length)}},Bp={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Q4={G:function(t,e,i){const a=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return i.era(a,{width:"abbreviated"});case"GGGGG":return i.era(a,{width:"narrow"});case"GGGG":default:return i.era(a,{width:"wide"})}},y:function(t,e,i){if(e==="yo"){const a=t.getFullYear(),E=a>0?a:1-a;return i.ordinalNumber(E,{unit:"year"})}return zd.y(t,e)},Y:function(t,e,i,a){const E=G4(t,a),p=E>0?E:1-E;if(e==="YY"){const g=p%100;return ao(g,2)}return e==="Yo"?i.ordinalNumber(p,{unit:"year"}):ao(p,e.length)},R:function(t,e){const i=F4(t);return ao(i,e.length)},u:function(t,e){const i=t.getFullYear();return ao(i,e.length)},Q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(a);case"QQ":return ao(a,2);case"Qo":return i.ordinalNumber(a,{unit:"quarter"});case"QQQ":return i.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return i.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,e,i){const a=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(a);case"qq":return ao(a,2);case"qo":return i.ordinalNumber(a,{unit:"quarter"});case"qqq":return i.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return i.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,e,i){const a=t.getMonth();switch(e){case"M":case"MM":return zd.M(t,e);case"Mo":return i.ordinalNumber(a+1,{unit:"month"});case"MMM":return i.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return i.month(a,{width:"wide",context:"formatting"})}},L:function(t,e,i){const a=t.getMonth();switch(e){case"L":return String(a+1);case"LL":return ao(a+1,2);case"Lo":return i.ordinalNumber(a+1,{unit:"month"});case"LLL":return i.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return i.month(a,{width:"wide",context:"standalone"})}},w:function(t,e,i,a){const E=YQ(t,a);return e==="wo"?i.ordinalNumber(E,{unit:"week"}):ao(E,e.length)},I:function(t,e,i){const a=QQ(t);return e==="Io"?i.ordinalNumber(a,{unit:"week"}):ao(a,e.length)},d:function(t,e,i){return e==="do"?i.ordinalNumber(t.getDate(),{unit:"date"}):zd.d(t,e)},D:function(t,e,i){const a=GQ(t);return e==="Do"?i.ordinalNumber(a,{unit:"dayOfYear"}):ao(a,e.length)},E:function(t,e,i){const a=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(a,{width:"short",context:"formatting"});case"EEEE":default:return i.day(a,{width:"wide",context:"formatting"})}},e:function(t,e,i,a){const E=t.getDay(),p=(E-a.weekStartsOn+8)%7||7;switch(e){case"e":return String(p);case"ee":return ao(p,2);case"eo":return i.ordinalNumber(p,{unit:"day"});case"eee":return i.day(E,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(E,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(E,{width:"short",context:"formatting"});case"eeee":default:return i.day(E,{width:"wide",context:"formatting"})}},c:function(t,e,i,a){const E=t.getDay(),p=(E-a.weekStartsOn+8)%7||7;switch(e){case"c":return String(p);case"cc":return ao(p,e.length);case"co":return i.ordinalNumber(p,{unit:"day"});case"ccc":return i.day(E,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(E,{width:"narrow",context:"standalone"});case"cccccc":return i.day(E,{width:"short",context:"standalone"});case"cccc":default:return i.day(E,{width:"wide",context:"standalone"})}},i:function(t,e,i){const a=t.getDay(),E=a===0?7:a;switch(e){case"i":return String(E);case"ii":return ao(E,e.length);case"io":return i.ordinalNumber(E,{unit:"day"});case"iii":return i.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(a,{width:"short",context:"formatting"});case"iiii":default:return i.day(a,{width:"wide",context:"formatting"})}},a:function(t,e,i){const E=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"aaaa":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},b:function(t,e,i){const a=t.getHours();let E;switch(a===12?E=Bp.noon:a===0?E=Bp.midnight:E=a/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"bbbb":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},B:function(t,e,i){const a=t.getHours();let E;switch(a>=17?E=Bp.evening:a>=12?E=Bp.afternoon:a>=4?E=Bp.morning:E=Bp.night,e){case"B":case"BB":case"BBB":return i.dayPeriod(E,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(E,{width:"narrow",context:"formatting"});case"BBBB":default:return i.dayPeriod(E,{width:"wide",context:"formatting"})}},h:function(t,e,i){if(e==="ho"){let a=t.getHours()%12;return a===0&&(a=12),i.ordinalNumber(a,{unit:"hour"})}return zd.h(t,e)},H:function(t,e,i){return e==="Ho"?i.ordinalNumber(t.getHours(),{unit:"hour"}):zd.H(t,e)},K:function(t,e,i){const a=t.getHours()%12;return e==="Ko"?i.ordinalNumber(a,{unit:"hour"}):ao(a,e.length)},k:function(t,e,i){let a=t.getHours();return a===0&&(a=24),e==="ko"?i.ordinalNumber(a,{unit:"hour"}):ao(a,e.length)},m:function(t,e,i){return e==="mo"?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):zd.m(t,e)},s:function(t,e,i){return e==="so"?i.ordinalNumber(t.getSeconds(),{unit:"second"}):zd.s(t,e)},S:function(t,e){return zd.S(t,e)},X:function(t,e,i){const a=t.getTimezoneOffset();if(a===0)return"Z";switch(e){case"X":return Y4(a);case"XXXX":case"XX":return kh(a);case"XXXXX":case"XXX":default:return kh(a,":")}},x:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"x":return Y4(a);case"xxxx":case"xx":return kh(a);case"xxxxx":case"xxx":default:return kh(a,":")}},O:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+W4(a,":");case"OOOO":default:return"GMT"+kh(a,":")}},z:function(t,e,i){const a=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+W4(a,":");case"zzzz":default:return"GMT"+kh(a,":")}},t:function(t,e,i){const a=Math.trunc(+t/1e3);return ao(a,e.length)},T:function(t,e,i){return ao(+t,e.length)}};function W4(t,e=""){const i=t>0?"-":"+",a=Math.abs(t),E=Math.trunc(a/60),p=a%60;return p===0?i+String(E):i+String(E)+e+ao(p,2)}function Y4(t,e){return t%60===0?(t>0?"-":"+")+ao(Math.abs(t)/60,2):kh(t,e)}function kh(t,e=""){const i=t>0?"-":"+",a=Math.abs(t),E=ao(Math.trunc(a/60),2),p=ao(a%60,2);return i+E+e+p}const X4=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},q4=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},XQ={p:q4,P:(t,e)=>{const i=t.match(/(P+)(p+)?/)||[],a=i[1],E=i[2];if(!E)return X4(t,e);let p;switch(a){case"P":p=e.dateTime({width:"short"});break;case"PP":p=e.dateTime({width:"medium"});break;case"PPP":p=e.dateTime({width:"long"});break;case"PPPP":default:p=e.dateTime({width:"full"});break}return p.replace("{{date}}",X4(a,e)).replace("{{time}}",q4(E,e))}},qQ=/^D+$/,KQ=/^Y+$/,ZQ=["D","DD","YY","YYYY"];function JQ(t){return qQ.test(t)}function eW(t){return KQ.test(t)}function tW(t,e,i){const a=nW(t,e,i);if(console.warn(a),ZQ.includes(t))throw new RangeError(a)}function nW(t,e,i){const a=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${a} to the input \`${i}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const oW=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,iW=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rW=/^'([^]*?)'?$/,aW=/''/g,sW=/[a-zA-Z]/;function Kv(t,e,i){var c,u,d,h;const a=l1(),E=a.locale??VQ,p=a.firstWeekContainsDate??((u=(c=a.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,g=a.weekStartsOn??((h=(d=a.locale)==null?void 0:d.options)==null?void 0:h.weekStartsOn)??0,y=Ll(t,i==null?void 0:i.in);if(!dQ(y))throw new RangeError("Invalid time value");let f=e.match(iW).map(m=>{const S=m[0];if(S==="p"||S==="P"){const T=XQ[S];return T(m,E.formatLong)}return m}).join("").match(oW).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const S=m[0];if(S==="'")return{isToken:!1,value:lW(m)};if(Q4[S])return{isToken:!0,value:m};if(S.match(sW))throw new RangeError("Format string contains an unescaped latin alphabet character `"+S+"`");return{isToken:!1,value:m}});E.localize.preprocessor&&(f=E.localize.preprocessor(y,f));const b={firstWeekContainsDate:p,weekStartsOn:g,locale:E};return f.map(m=>{if(!m.isToken)return m.value;const S=m.value;(eW(S)||JQ(S))&&tW(S,e,String(t));const T=Q4[S[0]];return T(y,S,E.localize,b)}).join("")}function lW(t){const e=t.match(rW);return e?e[1].replace(aW,"'"):t}function cW(){const t=lc();async function e(i){const{integrationPackInstanceId:a,search:E,page:p,pageSize:g,signal:y}=i;return t.get("/execution-summary-records",{signal:y,params:{integrationPackInstanceId:a,...E?{search:E}:{},...typeof p=="number"?{page:p}:{},...typeof g=="number"?{pageSize:g}:{}}})}return{getExecutionRecords:e}}/**
2252
2252
  * @file useFetchExecutionRecords.tsx
2253
2253
  * @function useFetchExecutionRecords
2254
2254
  * @license BSD-2-Clause
@@ -2262,7 +2262,7 @@ https://sweetalert2.github.io/#ajax-request`),fG(t),typeof t.title=="string"&&(t
2262
2262
  w-full h-full min-h-0 flex flex-col
2263
2263
  [background-color:var(--boomi-page-bg-color)]
2264
2264
  [color:var(--boomi-page-fg-color)]
2265
- `,children:[T&&H.jsx(mx,{message:"working on your request..."}),H.jsxs("div",{className:"flex-1 min-h-0 flex flex-col",children:[!i&&H.jsx(w4,{levelOneCallback:d||(()=>{}),levelTwoCallback:h||(()=>{}),levelThreeCallback:m||(()=>{}),levelOneText:b||"Back",levelTwoText:c||"",levelThreeText:u||""}),N&&H.jsx($4,{componentKey:t,componentName:e,title:p,description:g,children:a}),H.jsx(bW,{error:y,children:E}),H.jsx(S4,{children:f})]})]})},Zv=({currentPage:t,totalPages:e,onPageChange:i})=>{const[a,E]=Y.useState(t.toString()),p=f=>{f>=1&&f<=e&&(i(f),E(f.toString()))},g=f=>{E(f.target.value)},y=()=>{const f=parseInt(a,10);isNaN(f)||p(f)};return H.jsxs("div",{className:"flex justify-end items-center space-x-2 mt-4",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!0,iconOnly:!0,disabled:t===1,icon:H.jsx(KH,{className:"text-indigo-400 hover:text-indigo-500 w-6 h-6"}),onClick:()=>p(t-1)}),Array.from({length:e}).map((f,b)=>{const c=b+1;return H.jsx("button",{className:`px-2 py-1 rounded cursor-pointer ${t===c?"text-indigo-500 bg-indigo-100 rounded-md":"text-indigo-400"}`,onClick:()=>p(c),children:c},c)}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!0,iconOnly:!0,disabled:t===e,icon:H.jsx(ZH,{className:"w-6 h-6"}),onClick:()=>p(t+1)}),H.jsx("span",{className:"text-sm text-gray-700 ml-2",children:"Go to page"}),H.jsx("input",{type:"number",value:a,onChange:g,className:"w-12 px-1 py-1 border rounded text-sm "}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Go",onClick:y})]})},Jv=({searchCallback:t})=>{const[e,i]=Y.useState(""),a=g=>{const y=g.currentTarget.value;i(y)},E=g=>{if(g.key==="Enter"){const y=g.currentTarget.value;g.preventDefault(),i(y),t(y)}},p=()=>{i(""),t("");const g=document.getElementById("search");g==null||g.focus()};return H.jsxs("div",{className:"relative flex items-center pr-2 w-[400px]",children:[H.jsx("input",{type:"text",name:"search",id:"search",placeholder:"Type to search...",value:e,onChange:a,onKeyDown:E,className:"block w-full rounded-md py-2 pl-3 pr-10 text-sm boomi-input","aria-label":"Search"}),e.length>0&&H.jsx("button",{type:"button",onClick:p,className:"absolute right-3 top-1/2 -translate-y-1/2 p-0.5 rounded-full focus:outline-none focus:ring-2 focus:ring-offset-1","aria-label":"Clear search",title:"Clear",children:H.jsx(aL,{className:"h-5 w-5"})})]})},vW={COMPLETE:"text-green-600 bg-green-100",COMPLETE_WARN:"text-yellow-600 bg-yellow-100",DISCARDED:"text-yellow-600 bg-yellow-100",ERROR:"text-red-600 bg-red-100"},t5=({record:t})=>{const{processName:e,executionId:i,executionTime:a,recordedDate:E,status:p,atomName:g,launcherID:y,executionType:f,inboundDocumentCount:b,outboundDocumentCount:c,message:u}=t,d=Sp("text-xs font-semibold rounded-full px-2 py-1",vW[p]||"bg-gray-100 text-gray-600");return H.jsxs("div",{className:"border rounded-xl p-5 shadow-md bg-white space-y-4",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsxs("div",{className:"flex flex-col",children:[H.jsx("h2",{className:"text-md font-bold text-gray-800",children:e}),H.jsxs("span",{className:"text-xs font-normal text-gray-700 mt-1",children:["Execution ID: ",i]})]}),H.jsxs("div",{className:"flex flex-col",children:[H.jsx("span",{className:d,children:p}),H.jsx("span",{className:"text-xs font-normal text-gray-700 mt-1",children:f})]})]}),H.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2 text-sm text-gray-700",children:[H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Start Time:"})," ",Kv(new Date(a),"PPpp")]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"End Time:"})," ",Kv(new Date(E),"PPpp")]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Runtime:"})," ",g]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Launcher:"})," ",y]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Inbound Docs:"})," ",b??0]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Outbound Docs:"})," ",c??0]})]}),u&&p==="ERROR"&&H.jsxs("div",{className:"mt-3 bg-red-50 border border-red-300 rounded p-3 text-sm text-red-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="COMPLETE_WARN"&&H.jsxs("div",{className:"mt-3 bg-yellow-50 border border-red-300 rounded p-3 text-sm text-yellow-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="DISCARDED"&&H.jsxs("div",{className:"mt-3 bg-yellow-50 border border-red-300 rounded p-3 text-sm text-yellow-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="COMPLETE"&&H.jsxs("div",{className:"mt-3 bg-green-50 border border-red-300 rounded p-3 text-sm text-green-700",children:[H.jsx("strong",{children:"Error:"})," ",u]})]})},n5=({componentKey:t,showUpdateControls:e})=>{var ct,gt,at,Le,je,it,rt,vt,St,Nt,an,Ot,_t,Et,xe,Ge,bt,Mt,ut,yt,Ht,jt,Ce,Ze,ft,Tt,kt,tn,Gt,sn,On,Xt,Je,Vn,Lt,ai,Eo,qt,Gn,Fo,po,ki,Lr,nt,Ee,Ke,st,on,eo,Dn;const{boomiConfig:i,setPageIsLoading:a,renderComponent:E}=Fn(),p=((gt=(ct=i==null?void 0:i.components)==null?void 0:ct[t])==null?void 0:gt.renderType)??"all",[g,y]=Y.useState({delete:!1,update:e||!1,startSuccess:!1,startError:!1}),{deleteIntegrationPackInstance:f}=XG(),{createInstance:b}=YG(),[c,u]=Y.useState(""),[d,h]=Y.useState(new Set),[m,S]=Y.useState(!1),T=Y.useRef(null),A=Y.useRef(!1),[N,D]=Y.useState(null),{integrationPackInstances:R,error:L,isLoading:C,refetch:$,currentPage:F,totalPages:U,goToPage:j}=qG({search:c,renderType:p}),{isRunning:X,error:P,runAllProcesses:B}=H4(),[k,M]=Y.useState(!1),[I,W]=Y.useState(null),Q=`integrations-list-all:${t}`,[J,K]=Y.useState("off"),Z=ot=>re(ot??void 0),re=ot=>{if(ot===!0)return"on";if(ot===!1)return"off";if(typeof ot=="string"){const vn=ot.toLowerCase();if(vn==="table"||vn==="on")return"on";if(vn==="grid"||vn==="off")return"off"}},te=ot=>{y(vn=>({...vn,[ot]:!0})),setTimeout(()=>{y(vn=>({...vn,[ot]:!1}))},3e3)},ae=ot=>{Oe.debug("showing execution record:",ot),W(ot),M(!0)},se=()=>{M(!1),W(null)},ie=R.filter(ot=>!d.has(ot.id||"")),ue=ie.filter(ot=>!ot.isAgent),me=async()=>{var vn;const ot=(vn=T.current)==null?void 0:vn.validateAndSubmit();if(ot){S(!1),D(null),a(!0);try{Oe.debug("Creating integration instance with:",ot);const yn=await b(ot.integrationPackId||"",ot.isSingle||!1,ot.environmentId,ot.integrationName);yn&&(yn.isAgent?pe("RunAgent",yn):yn.installationType==="SINGLE"?pe("UpdateSchedules",yn):pe("ConfigureIntegration",yn))}catch(yn){D(yn.message||"Failed to install integration"),Oe.error("Install error:",yn)}}},ve=()=>{E==null||E({component:"Integrations",props:{componentKey:t||"integrationsMain"}})},pe=(ot,vn)=>{a(!0),E==null||E({component:ot||"ConfigureIntegration",props:{componentKey:t||"integrationsMain",integration:vn,onBack:ve}})},ye=ot=>{a(!0),E==null||E({component:"ExecutionHistory",props:{componentKey:t||"integrationsMain",integration:ot,onBack:ve}})},de=async ot=>{await f(ot.id||"")&&(h(yn=>new Set(yn).add(ot.id||"")),te("delete"),await $())},Ve=async ot=>{await B(ot.environmentId||"",ot.id||"")&&!P?(a(!1),te("startSuccess")):P&&te("startError")},Re=()=>{const ot=Z(localStorage.getItem(Q));ot&&K(ot)},qe=ot=>{u(ot)};Y.useEffect(()=>{e&&te("update")},[e]),Y.useEffect(()=>{var Rn,si;A.current||(A.current=!0);const ot=((si=(Rn=i==null?void 0:i.components)==null?void 0:Rn[t])==null?void 0:si.integrations)??{},vn=!!ot.forceDefaultView,yn=re(ot.defaultView),vi=Z(localStorage.getItem(Q));if(Oe.debug("Integrations view init",{componentKey:t,storageKey:Q,forced:vn,configured:yn,stored:vi}),vn){const Sa=yn??"off";K(Sa);try{localStorage.setItem(Q,Sa)}catch{}return}if(vi){K(vi);return}if(yn){K(yn);try{localStorage.setItem(Q,yn)}catch{}return}K("off");try{localStorage.setItem(Q,"off")}catch{}},[i,t,Q]),Y.useEffect(()=>{a(X)},[X,a]);const et=((it=(je=(Le=(at=i==null?void 0:i.components)==null?void 0:at[t])==null?void 0:Le.integrations)==null?void 0:je.search)==null?void 0:it.show)??!0,mt=((Nt=(St=(vt=(rt=i==null?void 0:i.components)==null?void 0:rt[t])==null?void 0:vt.integrations)==null?void 0:St.addButton)==null?void 0:Nt.show)??!0,xt=((Et=(_t=(Ot=(an=i==null?void 0:i.components)==null?void 0:an[t])==null?void 0:Ot.integrations)==null?void 0:_t.viewTypeButton)==null?void 0:Et.show)??!0,$t=H.jsxs(H.Fragment,{children:[et&&H.jsx("div",{className:"flex-none pr-6 pt-4 pb-4",children:H.jsx(Jv,{searchCallback:qe})}),mt&&H.jsx("div",{className:"flex-1 pr-4 pt-4",children:H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!0,label:(Mt=(bt=(Ge=(xe=i==null?void 0:i.components)==null?void 0:xe[t])==null?void 0:Ge.integrations)==null?void 0:bt.addButton)==null?void 0:Mt.label,icon:H.jsx(fv,{className:"h-5 w-5"}),onClick:()=>S(!0)})}),xt&&H.jsx("div",{className:"flex-none pt-4 pr-4",children:H.jsx(Hn,{toggle:!0,primary:!1,viewLoc:Q,onClass:"flex w-full justify-center rounded-md px-2 py-2 text-xs font-semibold leading-6 shadow-md transition-colors duration-100",showIcon:!0,label:(jt=(Ht=(yt=(ut=i==null?void 0:i.components)==null?void 0:ut[t])==null?void 0:yt.integrations)==null?void 0:Ht.viewTypeButton)==null?void 0:jt.label,icon:H.jsx(cL,{className:"h-5 w-5"}),onIcon:H.jsx(iL,{className:"h-5 w-5"}),onClick:Re})})]}),ze=J==="off"?H.jsxs(H.Fragment,{children:[H.jsx("ul",{role:"list",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-6 gap-y-8",children:C?H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx(Bi,{})}):ie.length>0?ie.map(ot=>H.jsx(e5,{componentKey:t,viewType:"off",integration:ot,onEditClick:pe,onDeleteClick:de,onShowHistory:ye,onViewDetails:ae,onRunClick:Ve},ot.id)):H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})}),!C&&U>1&&H.jsx(Zv,{currentPage:F,totalPages:U,onPageChange:ot=>j(ot)})]}):H.jsxs("div",{className:"",children:[H.jsxs("table",{className:"w-full table-auto rounded-lg shadow-sm",children:[H.jsx("thead",{className:"boomi-table-header",children:H.jsxs("tr",{children:[H.jsx("th",{className:"py-3 px-4 text-left text-sm font-semibold w-1/6",children:"Name"}),H.jsx("th",{className:"py-3 text-left text-sm font-semibold w-3/6 w-full",children:"Description"}),H.jsx("th",{className:"py-3 text-left text-sm font-semibold w-1/6",children:"Execution History"}),(((Tt=(ft=(Ze=(Ce=i==null?void 0:i.components)==null?void 0:Ce[t])==null?void 0:Ze.integrations)==null?void 0:ft.integration)==null?void 0:Tt.showControls)??!0)&&H.jsx("th",{className:"py-3 px-4"})]})}),H.jsx("tbody",{className:"divide-y",children:C?H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-6",children:H.jsx(Bi,{})})})}):ue.length>0?ue.map(ot=>H.jsx(e5,{componentKey:t,viewType:"on",integration:ot,onEditClick:pe,onDeleteClick:de,onShowHistory:ye,onViewDetails:ae,onRunClick:Ve},ot.id)):ie.length>0?H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})})}):H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})})})})]}),!C&&U>1&&H.jsx(Zv,{currentPage:F,totalPages:U,onPageChange:ot=>j(ot)})]}),tt=L||N;return H.jsxs(H.Fragment,{children:[H.jsxs(H.Fragment,{children:[g.delete&&H.jsx(bc,{type:"success",content:"Integration deleted successfully!"}),g.update&&H.jsx(bc,{type:"success",content:"Integration updated successfully!"}),g.startSuccess&&H.jsx(bc,{type:"success",content:"Integration process(s) started successfully!"}),g.startError&&H.jsx(bc,{type:"error",content:`Error starting integrations: ${P}`})]}),k&&H.jsx(Bd,{isOpen:k,title:`${((sn=(Gt=(tn=(kt=i==null?void 0:i.components)==null?void 0:kt[t])==null?void 0:tn.integrations)==null?void 0:Gt.executionHistoryDetails)==null?void 0:sn.title)||"Execution History Details"}`,description:((Vn=(Je=(Xt=(On=i==null?void 0:i.components)==null?void 0:On[t])==null?void 0:Xt.integrations)==null?void 0:Je.executionHistoryDetails)==null?void 0:Vn.description)||"The details for this execution.",showCancelButton:!1,onSubmit:se,submitLabel:"Close",children:I&&H.jsx(t5,{record:I})}),H.jsx(Bd,{isOpen:m,title:`${((qt=(Eo=(ai=(Lt=i==null?void 0:i.components)==null?void 0:Lt[t])==null?void 0:ai.form)==null?void 0:Eo.addIntegration)==null?void 0:qt.title)||"Add Integration"}`,description:((ki=(po=(Fo=(Gn=i==null?void 0:i.components)==null?void 0:Gn[t])==null?void 0:Fo.form)==null?void 0:po.addIntegration)==null?void 0:ki.description)||"Add a new integration to your environment. Note: This will not deploy the integration, it will only create the integration instance.",onClose:()=>S(!1),onSubmit:me,submitLabel:"Create Integration",children:H.jsx(j4,{ref:T,componentKey:t})}),H.jsx(Ih,{componentKey:t,componentName:"integrations",isRootNavigation:!0,title:`${((Ke=(Ee=(nt=(Lr=i==null?void 0:i.components)==null?void 0:Lr[t])==null?void 0:nt.integrations)==null?void 0:Ee.header)==null?void 0:Ke.title)||"Integrations"}`,description:((Dn=(eo=(on=(st=i==null?void 0:i.components)==null?void 0:st[t])==null?void 0:on.integrations)==null?void 0:eo.header)==null?void 0:Dn.description)||"View your integrations below.",headerContent:$t,bodyContent:ze,error:tt?{header:"Error",message:tt,errorType:"error"}:void 0,levelOne:"My Integrations",callbackOne:ve})]})};/**
2265
+ `,children:[T&&H.jsx(mx,{message:"working on your request..."}),H.jsxs("div",{className:"flex-1 min-h-0 flex flex-col",children:[!i&&H.jsx(w4,{levelOneCallback:d||(()=>{}),levelTwoCallback:h||(()=>{}),levelThreeCallback:m||(()=>{}),levelOneText:b||"Back",levelTwoText:c||"",levelThreeText:u||""}),N&&H.jsx($4,{componentKey:t,componentName:e,title:p,description:g,children:a}),H.jsx(bW,{error:y,children:E}),H.jsx(S4,{children:f})]})]})},Zv=({currentPage:t,totalPages:e,onPageChange:i})=>{const[a,E]=Y.useState(t.toString()),p=f=>{f>=1&&f<=e&&(i(f),E(f.toString()))},g=f=>{E(f.target.value)},y=()=>{const f=parseInt(a,10);isNaN(f)||p(f)};return H.jsxs("div",{className:"flex justify-end items-center space-x-2 mt-4",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!0,iconOnly:!0,disabled:t===1,icon:H.jsx(KH,{className:"text-indigo-400 hover:text-indigo-500 w-6 h-6"}),onClick:()=>p(t-1)}),Array.from({length:e}).map((f,b)=>{const c=b+1;return H.jsx("button",{className:`px-2 py-1 rounded cursor-pointer ${t===c?"text-indigo-500 bg-indigo-100 rounded-md":"text-indigo-400"}`,onClick:()=>p(c),children:c},c)}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!0,iconOnly:!0,disabled:t===e,icon:H.jsx(ZH,{className:"w-6 h-6"}),onClick:()=>p(t+1)}),H.jsx("span",{className:"text-sm text-gray-700 ml-2",children:"Go to page"}),H.jsx("input",{type:"number",value:a,onChange:g,className:"w-12 px-1 py-1 border rounded text-sm "}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Go",onClick:y})]})},Jv=({searchCallback:t})=>{const[e,i]=Y.useState(""),a=g=>{const y=g.currentTarget.value;i(y)},E=g=>{if(g.key==="Enter"){const y=g.currentTarget.value;g.preventDefault(),i(y),t(y)}},p=()=>{i(""),t("");const g=document.getElementById("search");g==null||g.focus()};return H.jsxs("div",{className:"relative flex items-center pr-2 w-[400px]",children:[H.jsx("input",{type:"text",name:"search",id:"search",placeholder:"Type to search...",value:e,onChange:a,onKeyDown:E,className:"block w-full rounded-md py-2 pl-3 pr-10 text-sm boomi-input","aria-label":"Search"}),e.length>0&&H.jsx("button",{type:"button",onClick:p,className:"absolute right-3 top-1/2 -translate-y-1/2 p-0.5 rounded-full focus:outline-none focus:ring-2 focus:ring-offset-1","aria-label":"Clear search",title:"Clear",children:H.jsx(aL,{className:"h-5 w-5"})})]})},vW={COMPLETE:"text-green-600 bg-green-100",COMPLETE_WARN:"text-yellow-600 bg-yellow-100",DISCARDED:"text-yellow-600 bg-yellow-100",ERROR:"text-red-600 bg-red-100"},t5=({record:t})=>{const{processName:e,executionId:i,executionTime:a,recordedDate:E,status:p,atomName:g,launcherID:y,executionType:f,inboundDocumentCount:b,outboundDocumentCount:c,message:u}=t,d=Sp("text-xs font-semibold rounded-full px-2 py-1",vW[p]||"bg-gray-100 text-gray-600");return H.jsxs("div",{className:"border rounded-xl p-5 shadow-md bg-white space-y-4",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsxs("div",{className:"flex flex-col",children:[H.jsx("h2",{className:"text-md font-bold text-gray-800",children:e}),H.jsxs("span",{className:"text-xs font-normal text-gray-700 mt-1",children:["Execution ID: ",i]})]}),H.jsxs("div",{className:"flex flex-col",children:[H.jsx("span",{className:d,children:p}),H.jsx("span",{className:"text-xs font-normal text-gray-700 mt-1",children:f})]})]}),H.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-x-6 gap-y-2 text-sm text-gray-700",children:[H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Start Time:"})," ",Kv(new Date(a),"PPpp")]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"End Time:"})," ",Kv(new Date(E),"PPpp")]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Runtime:"})," ",g]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Launcher:"})," ",y]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Inbound Docs:"})," ",b??0]}),H.jsxs("div",{children:[H.jsx("span",{className:"font-medium",children:"Outbound Docs:"})," ",c??0]})]}),u&&p==="ERROR"&&H.jsxs("div",{className:"mt-3 bg-red-50 border border-red-300 rounded p-3 text-sm text-red-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="COMPLETE_WARN"&&H.jsxs("div",{className:"mt-3 bg-yellow-50 border border-red-300 rounded p-3 text-sm text-yellow-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="DISCARDED"&&H.jsxs("div",{className:"mt-3 bg-yellow-50 border border-red-300 rounded p-3 text-sm text-yellow-700",children:[H.jsx("strong",{children:"Error:"})," ",u]}),u&&p==="COMPLETE"&&H.jsxs("div",{className:"mt-3 bg-green-50 border border-red-300 rounded p-3 text-sm text-green-700",children:[H.jsx("strong",{children:"Error:"})," ",u]})]})},n5=({componentKey:t,showUpdateControls:e})=>{var ct,gt,at,Le,je,ot,tt,vt,St,Nt,an,Ot,_t,Et,xe,Ge,bt,Mt,ut,yt,Ht,jt,Ce,Ze,ft,Tt,kt,tn,Gt,sn,On,Xt,Je,Vn,Lt,ai,Eo,qt,Gn,Fo,po,ki,Lr,it,Ee,Ke,st,on,eo,Dn;const{boomiConfig:i,setPageIsLoading:a,renderComponent:E}=Fn(),p=((gt=(ct=i==null?void 0:i.components)==null?void 0:ct[t])==null?void 0:gt.renderType)??"all",[g,y]=Y.useState({delete:!1,update:e||!1,startSuccess:!1,startError:!1}),{deleteIntegrationPackInstance:f}=XG(),{createInstance:b}=YG(),[c,u]=Y.useState(""),[d,h]=Y.useState(new Set),[m,S]=Y.useState(!1),T=Y.useRef(null),A=Y.useRef(!1),[N,D]=Y.useState(null),{integrationPackInstances:R,error:L,isLoading:C,refetch:$,currentPage:F,totalPages:U,goToPage:j}=qG({search:c,renderType:p}),{isRunning:X,error:P,runAllProcesses:B}=H4(),[k,M]=Y.useState(!1),[I,W]=Y.useState(null),Q=`integrations-list-all:${t}`,[J,K]=Y.useState("off"),Z=rt=>re(rt??void 0),re=rt=>{if(rt===!0)return"on";if(rt===!1)return"off";if(typeof rt=="string"){const vn=rt.toLowerCase();if(vn==="table"||vn==="on")return"on";if(vn==="grid"||vn==="off")return"off"}},te=rt=>{y(vn=>({...vn,[rt]:!0})),setTimeout(()=>{y(vn=>({...vn,[rt]:!1}))},3e3)},ae=rt=>{Oe.debug("showing execution record:",rt),W(rt),M(!0)},se=()=>{M(!1),W(null)},ie=R.filter(rt=>!d.has(rt.id||"")),ue=ie.filter(rt=>!rt.isAgent),me=async()=>{var vn;const rt=(vn=T.current)==null?void 0:vn.validateAndSubmit();if(rt){S(!1),D(null),a(!0);try{Oe.debug("Creating integration instance with:",rt);const yn=await b(rt.integrationPackId||"",rt.isSingle||!1,rt.environmentId,rt.integrationName);yn&&(yn.isAgent?pe("RunAgent",yn):yn.installationType==="SINGLE"?pe("UpdateSchedules",yn):pe("ConfigureIntegration",yn))}catch(yn){D(yn.message||"Failed to install integration"),Oe.error("Install error:",yn)}}},ve=()=>{E==null||E({component:"Integrations",props:{componentKey:t||"integrationsMain"}})},pe=(rt,vn)=>{a(!0),E==null||E({component:rt||"ConfigureIntegration",props:{componentKey:t||"integrationsMain",integration:vn,onBack:ve}})},ye=rt=>{a(!0),E==null||E({component:"ExecutionHistory",props:{componentKey:t||"integrationsMain",integration:rt,onBack:ve}})},de=async rt=>{await f(rt.id||"")&&(h(yn=>new Set(yn).add(rt.id||"")),te("delete"),await $())},Ve=async rt=>{await B(rt.environmentId||"",rt.id||"")&&!P?(a(!1),te("startSuccess")):P&&te("startError")},Re=()=>{const rt=Z(localStorage.getItem(Q));rt&&K(rt)},qe=rt=>{u(rt)};Y.useEffect(()=>{e&&te("update")},[e]),Y.useEffect(()=>{var Rn,si;A.current||(A.current=!0);const rt=((si=(Rn=i==null?void 0:i.components)==null?void 0:Rn[t])==null?void 0:si.integrations)??{},vn=!!rt.forceDefaultView,yn=re(rt.defaultView),vi=Z(localStorage.getItem(Q));if(Oe.debug("Integrations view init",{componentKey:t,storageKey:Q,forced:vn,configured:yn,stored:vi}),vn){const Sa=yn??"off";K(Sa);try{localStorage.setItem(Q,Sa)}catch{}return}if(vi){K(vi);return}if(yn){K(yn);try{localStorage.setItem(Q,yn)}catch{}return}K("off");try{localStorage.setItem(Q,"off")}catch{}},[i,t,Q]),Y.useEffect(()=>{a(X)},[X,a]);const et=((ot=(je=(Le=(at=i==null?void 0:i.components)==null?void 0:at[t])==null?void 0:Le.integrations)==null?void 0:je.search)==null?void 0:ot.show)??!0,mt=((Nt=(St=(vt=(tt=i==null?void 0:i.components)==null?void 0:tt[t])==null?void 0:vt.integrations)==null?void 0:St.addButton)==null?void 0:Nt.show)??!0,xt=((Et=(_t=(Ot=(an=i==null?void 0:i.components)==null?void 0:an[t])==null?void 0:Ot.integrations)==null?void 0:_t.viewTypeButton)==null?void 0:Et.show)??!0,$t=H.jsxs(H.Fragment,{children:[et&&H.jsx("div",{className:"flex-none pr-6 pt-4 pb-4",children:H.jsx(Jv,{searchCallback:qe})}),mt&&H.jsx("div",{className:"flex-1 pr-4 pt-4",children:H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!0,label:(Mt=(bt=(Ge=(xe=i==null?void 0:i.components)==null?void 0:xe[t])==null?void 0:Ge.integrations)==null?void 0:bt.addButton)==null?void 0:Mt.label,icon:H.jsx(fv,{className:"h-5 w-5"}),onClick:()=>S(!0)})}),xt&&H.jsx("div",{className:"flex-none pt-4 pr-4",children:H.jsx(Hn,{toggle:!0,primary:!1,viewLoc:Q,onClass:"flex w-full justify-center rounded-md px-2 py-2 text-xs font-semibold leading-6 shadow-md transition-colors duration-100",showIcon:!0,label:(jt=(Ht=(yt=(ut=i==null?void 0:i.components)==null?void 0:ut[t])==null?void 0:yt.integrations)==null?void 0:Ht.viewTypeButton)==null?void 0:jt.label,icon:H.jsx(cL,{className:"h-5 w-5"}),onIcon:H.jsx(iL,{className:"h-5 w-5"}),onClick:Re})})]}),ze=J==="off"?H.jsxs(H.Fragment,{children:[H.jsx("ul",{role:"list",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-6 gap-y-8",children:C?H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx(Bi,{})}):ie.length>0?ie.map(rt=>H.jsx(e5,{componentKey:t,viewType:"off",integration:rt,onEditClick:pe,onDeleteClick:de,onShowHistory:ye,onViewDetails:ae,onRunClick:Ve},rt.id)):H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})}),!C&&U>1&&H.jsx(Zv,{currentPage:F,totalPages:U,onPageChange:rt=>j(rt)})]}):H.jsxs("div",{className:"",children:[H.jsxs("table",{className:"w-full table-auto rounded-lg shadow-sm",children:[H.jsx("thead",{className:"boomi-table-header",children:H.jsxs("tr",{children:[H.jsx("th",{className:"py-3 px-4 text-left text-sm font-semibold w-1/6",children:"Name"}),H.jsx("th",{className:"py-3 text-left text-sm font-semibold w-3/6 w-full",children:"Description"}),H.jsx("th",{className:"py-3 text-left text-sm font-semibold w-1/6",children:"Execution History"}),(((Tt=(ft=(Ze=(Ce=i==null?void 0:i.components)==null?void 0:Ce[t])==null?void 0:Ze.integrations)==null?void 0:ft.integration)==null?void 0:Tt.showControls)??!0)&&H.jsx("th",{className:"py-3 px-4"})]})}),H.jsx("tbody",{className:"divide-y",children:C?H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-6",children:H.jsx(Bi,{})})})}):ue.length>0?ue.map(rt=>H.jsx(e5,{componentKey:t,viewType:"on",integration:rt,onEditClick:pe,onDeleteClick:de,onShowHistory:ye,onViewDetails:ae,onRunClick:Ve},rt.id)):ie.length>0?H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})})}):H.jsx("tr",{children:H.jsx("td",{colSpan:5,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No integrations found."})})})})})]}),!C&&U>1&&H.jsx(Zv,{currentPage:F,totalPages:U,onPageChange:rt=>j(rt)})]}),nt=L||N;return H.jsxs(H.Fragment,{children:[H.jsxs(H.Fragment,{children:[g.delete&&H.jsx(bc,{type:"success",content:"Integration deleted successfully!"}),g.update&&H.jsx(bc,{type:"success",content:"Integration updated successfully!"}),g.startSuccess&&H.jsx(bc,{type:"success",content:"Integration process(s) started successfully!"}),g.startError&&H.jsx(bc,{type:"error",content:`Error starting integrations: ${P}`})]}),k&&H.jsx(Bd,{isOpen:k,title:`${((sn=(Gt=(tn=(kt=i==null?void 0:i.components)==null?void 0:kt[t])==null?void 0:tn.integrations)==null?void 0:Gt.executionHistoryDetails)==null?void 0:sn.title)||"Execution History Details"}`,description:((Vn=(Je=(Xt=(On=i==null?void 0:i.components)==null?void 0:On[t])==null?void 0:Xt.integrations)==null?void 0:Je.executionHistoryDetails)==null?void 0:Vn.description)||"The details for this execution.",showCancelButton:!1,onSubmit:se,submitLabel:"Close",children:I&&H.jsx(t5,{record:I})}),H.jsx(Bd,{isOpen:m,title:`${((qt=(Eo=(ai=(Lt=i==null?void 0:i.components)==null?void 0:Lt[t])==null?void 0:ai.form)==null?void 0:Eo.addIntegration)==null?void 0:qt.title)||"Add Integration"}`,description:((ki=(po=(Fo=(Gn=i==null?void 0:i.components)==null?void 0:Gn[t])==null?void 0:Fo.form)==null?void 0:po.addIntegration)==null?void 0:ki.description)||"Add a new integration to your environment. Note: This will not deploy the integration, it will only create the integration instance.",onClose:()=>S(!1),onSubmit:me,submitLabel:"Create Integration",children:H.jsx(j4,{ref:T,componentKey:t})}),H.jsx(Ih,{componentKey:t,componentName:"integrations",isRootNavigation:!0,title:`${((Ke=(Ee=(it=(Lr=i==null?void 0:i.components)==null?void 0:Lr[t])==null?void 0:it.integrations)==null?void 0:Ee.header)==null?void 0:Ke.title)||"Integrations"}`,description:((Dn=(eo=(on=(st=i==null?void 0:i.components)==null?void 0:st[t])==null?void 0:on.integrations)==null?void 0:eo.header)==null?void 0:Dn.description)||"View your integrations below.",headerContent:$t,bodyContent:ze,error:nt?{header:"Error",message:nt,errorType:"error"}:void 0,levelOne:"My Integrations",callbackOne:ve})]})};/**
2266
2266
  * @file useFetchMapExtensions.tsx
2267
2267
  * @function useFetchMapExtensions
2268
2268
  * @license BSD-2-Clause
@@ -2341,7 +2341,7 @@ https://sweetalert2.github.io/#ajax-request`),fG(t),typeof t.title=="string"&&(t
2341
2341
  * @function useFetchAiTransformations
2342
2342
  * @license BSD-2-Clause
2343
2343
  * @support https://github.com/OfficialBoomi/embed-js
2344
- */const xW=()=>{const[t,e]=Y.useState(null),[i,a]=Y.useState(!1),[E,p]=Y.useState(null),{buildAiTransformation:g}=AW();return{result:t,isLoading:i,error:E,fetchTransformation:async(f,b)=>{a(!0),p(null),e(null);try{Oe.debug("Requesting AI transformation for prompt:",f);const c=await g({id:b,userPrompt:f});return Oe.debug("Structured output:",c),e(c),c}catch(c){const u=(c==null?void 0:c.message)||"An unexpected error occurred.";Oe.error("AI transformation error:",u,c),p(u)}finally{a(!1)}}}};zw.config.set("basePath","https://cdn.jsdelivr.net/npm/ace-builds@1.4.3/src-noconflict/"),zw.config.setModuleUrl("ace/mode/javascript_worker","https://cdn.jsdelivr.net/npm/ace-builds@1.4.3/src-noconflict/worker-javascript.js");const _W=["CHARACTER","DATETIME","FLOAT","INTEGER"],o5=Y.forwardRef(({componentKey:t,existingName:e="",existingScript:i="",existingInputs:a=[],existingOutputs:E=[]},p)=>{var ve;const{boomiConfig:g}=Fn(),y=`custom_scripting_${Date.now()}`,[f,b]=Y.useState(()=>e?sw(e,0):y),[c,u]=Y.useState(i),[d,h]=Y.useState(a??[]),[m,S]=Y.useState(E??[]),[T,A]=Y.useState(""),[N,D]=Y.useState("CHARACTER"),[R,L]=Y.useState(""),[C,$]=Y.useState({outputField:"",script:""}),F=Y.useRef(null),[U,j]=Y.useState({}),[X,P]=Y.useState({}),[B,k]=Y.useState(null),[M,I]=Y.useState(""),{isLoading:W,error:Q,fetchTransformation:J}=xW(),K=(g==null?void 0:g.enableAi)||!1,Z=(ve=g==null?void 0:g.theme)!=null&&ve.darkModeTheme?"tomorrow_night_bright":"chrome",re=()=>{const pe=m.some(de=>{var Ve;return((Ve=de==null?void 0:de.name)==null?void 0:Ve.trim().toLowerCase())==="output"}),ye={outputField:m.length===0?"At least one output is required":pe?"Output name 'output' is not allowed":"",script:c.trim()?"":"Script is required"};return $(ye),ye};Y.useImperativeHandle(p,()=>({validateAndSubmit:()=>{const pe=re(),ye=Object.values(pe).some(Boolean);return Oe.debug("EditTransformationsForm.validateAndSubmit hasErrors?",pe),ye?null:(Oe.debug("EditTransformationsForm.validateAndSubmit",{id:f,script:c,inputs:d,outputs:m}),{id:f,script:c,inputs:d,outputs:m})},isFormReady:()=>{const pe=re();return!Object.values(pe).some(Boolean)}}));const te=()=>{$(pe=>({...pe,script:c.trim()?"":"Script is required"}))},ae=()=>{if(!T.trim())return;const ye=(d.length>0?Math.max(...d.map(de=>de.key)):0)+1;h([...d,{name:T.trim(),key:ye,type:N}]),A(""),D("CHARACTER")},se=()=>{if(!R.trim())return;const ye=(m.length>0?Math.max(...m.map(de=>de.key)):0)+1;S([...m,{name:R.trim(),key:ye}]),L("")},ie=pe=>{h(ye=>ye.filter((de,Ve)=>Ve!==pe))},ue=pe=>{S(ye=>ye.filter((de,Ve)=>Ve!==pe))},me=()=>{var ye,de;Oe.debug("Testing script with inputs:",d,"and values:",U);const pe={};d.forEach(Ve=>{const Re=U[Ve.key];let qe=Re;switch(Ve.type){case"FLOAT":qe=parseFloat(Re);break;case"INTEGER":qe=parseInt(Re,10);break;case"DATETIME":qe=new Date(Re);break}pe[Ve.name]=qe}),(de=(ye=F.current)==null?void 0:ye.contentWindow)==null||de.postMessage({script:c,inputs:pe},"*")};return Y.useEffect(()=>{const pe=ye=>{var de,Ve;if(((de=ye.data)==null?void 0:de.type)==="RESULT"){const Re=ye.data.result||{};typeof Re=="object"&&Re!==null&&(P({...Re}),k(null))}else if(((Ve=ye.data)==null?void 0:Ve.type)==="ERROR"){const Re=ye.data.error;if(Re==="No script provided or script is not a string")return;k(Re||"Unknown error"),Oe.error("Script Error:",Re)}};return window.addEventListener("message",pe),()=>window.removeEventListener("message",pe)},[]),H.jsxs("div",{className:"space-y-4 text-sm",children:[H.jsx("input",{type:"hidden",value:f}),H.jsx("iframe",{ref:F,src:TW(),sandbox:"allow-scripts",style:{display:"none"}}),K&&H.jsxs("div",{className:"space-y-2",children:[H.jsx("label",{className:"block font-semibold",children:"Ask AI to generate transformation"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx("textarea",{rows:2,value:M,onChange:pe=>I(pe.target.value),placeholder:"Describe your transformation...",className:"flex-1 border rounded px-2 py-1 resize-y"}),H.jsx("button",{type:"button",disabled:W||!M.trim(),onClick:async()=>{const pe=await J(M,f);pe&&(u(pe.Configuration.Scripting.Script),h(pe.Configuration.Scripting.Inputs.Input.map(ye=>({name:ye.name,key:Number(ye.index),type:ye.dataType}))),S(pe.Configuration.Scripting.Outputs.Output.map(ye=>({name:ye.name,key:Number(ye.index)}))),$({outputField:"",script:""}))},className:" boomi-btn-primary px-3 py-1 disabled:opacity-50",children:W?"Generating...":"Generate"})]}),Q&&H.jsx(sc,{error:{header:"Error Generating Transformation",message:Q,errorType:"error",onClose:()=>{}}})]}),H.jsxs("div",{children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Transformation Script"}),H.jsx("div",{className:`h-[200px] relative border rounded ${C.script?"border-red-500":""}`,children:H.jsx(ZI,{className:"flex-1 h-full w-full h-[200px]",placeholder:"",mode:"javascript",theme:Z,width:"100%",height:"100%",fontSize:12,lineHeight:17,showPrintMargin:!0,showGutter:!0,highlightActiveLine:!0,value:c,onChange:pe=>{u(pe),$(ye=>({...ye,script:""}))},onBlur:te,setOptions:{showLineNumbers:!0,tabSize:1}})}),H.jsx("div",{className:"flex justify-end mt-2",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"flex items-center gap-1 boomi-btn-secondary",showIcon:!1,label:"Test Script",onClick:me})}),C.script&&H.jsx("p",{className:"text-xs text-red-600 mt-1",children:C.script})]}),H.jsxs("div",{className:"flex gap-6 mt-4 overflow-x-hidden ",children:[H.jsxs("div",{className:`w-1/2 border-1 p-2 ${C.outputField?"border-red-500 border-2":""}`,children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Inputs"}),H.jsxs("div",{className:"flex gap-2 items-center mb-2 w-full",children:[H.jsx("input",{type:"text",value:T,onChange:pe=>A(pe.target.value),className:"border px-2 py-1 rounded w-full",placeholder:"Input name"}),H.jsx("select",{value:N,onChange:pe=>D(pe.target.value),className:"border px-2 py-1 rounded",children:_W.map(pe=>H.jsx("option",{value:pe,children:pe},pe))}),H.jsx("button",{type:"button",onClick:ae,className:"px-2 py-1 border boomi-btn-secondary",children:"Add"})]}),H.jsxs("div",{className:"border rounded max-h-44 overflow-y-auto",children:[H.jsxs("div",{className:"flex px-1 py-1.5 boomi-table-header",children:[H.jsx("div",{className:"flex-1",children:"Name"}),H.jsx("div",{className:"w-1/2 text-left",children:"Test Input"}),H.jsx("div",{className:"w-24 text-center",children:"Type"}),H.jsx("div",{className:"w-6"})]}),H.jsx("ul",{className:"space-y-1",children:d.map((pe,ye)=>H.jsxs("li",{className:"flex items-center text-xs boomi-table-row p-2",children:[H.jsx("div",{className:"flex-1 truncate",children:pe.name}),H.jsx("input",{type:"text",className:"border px-2 py-1 rounded w-1/2",value:U[pe.key]??"",onChange:de=>j({...U,[pe.key]:de.target.value})}),H.jsx("div",{className:"w-24 text-center",children:H.jsx("span",{className:"px-2 py-0.5 rounded-full font-medium",children:pe.type})}),H.jsx("button",{onClick:()=>ie(ye),className:"text-red-400 hover:text-red-600 transition ml-2",title:"Remove input",children:H.jsx(Sd,{size:14})})]},ye))})]})]}),H.jsxs("div",{className:`w-1/2 border-1 p-2 ${C.outputField?"border-red-500 border-2":""}`,children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Outputs"}),H.jsxs("div",{className:"flex gap-2 items-center mb-2",children:[H.jsx("input",{type:"text",value:R,onChange:pe=>L(pe.target.value),className:"border px-2 py-1 rounded w-full",placeholder:"Output name"}),H.jsx("button",{type:"button",onClick:se,className:"px-2 py-1 boomi-btn-secondary",children:"Add"})]}),H.jsxs("div",{className:"border rounded max-h-44 overflow-y-auto",children:[H.jsxs("div",{className:"flex px-1 py-1.5 boomi-table-header",children:[H.jsx("div",{className:"flex-1",children:"Name"}),H.jsx("div",{className:"w-1/2 text-left",children:"Test Output"}),H.jsx("div",{className:"w-6"})]}),H.jsx("ul",{className:"space-y-1",children:m.map((pe,ye)=>H.jsxs("li",{className:"flex items-center text-xs boomi-table-row p-2",children:[H.jsx("div",{className:"flex-1 truncate",children:pe.name}),H.jsx("span",{className:"font-mono text-green-700 text-left text-xs w-1/2 text-left",children:(X==null?void 0:X[pe.name])??""}),H.jsx("button",{onClick:()=>ue(ye),className:"text-red-400 hover:text-red-600 transition ml-2",title:"Remove output",children:H.jsx(Sd,{size:14})})]},ye))})]}),B&&H.jsxs("p",{className:"text-sm text-red-600 mt-2",children:["Test Error: ",B]}),C.outputField&&H.jsx("p",{className:"text-xs text-red-600 mt-1",children:C.outputField})]})]})]})});o5.displayName="EditTransformationsForm";const i5=Y.createContext({});function CW(t){const e=Y.useRef(null);return e.current===null&&(e.current=t()),e.current}const Wx=typeof window<"u",NW=Wx?Y.useLayoutEffect:Y.useEffect,Yx=Y.createContext(null);function Xx(t,e){t.indexOf(e)===-1&&t.push(e)}function qx(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const fu=(t,e,i)=>i>e?e:i<t?t:i;function Kx(t,e){return e?`${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${e}`:t}let Fp=()=>{},hu=()=>{};process.env.NODE_ENV!=="production"&&(Fp=(t,e,i)=>{!t&&typeof console<"u"&&console.warn(Kx(e,i))},hu=(t,e,i)=>{if(!t)throw new Error(Kx(e,i))});const mu={},r5=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function a5(t){return typeof t=="object"&&t!==null}const s5=t=>/^0[^.\s]+$/u.test(t);function Zx(t){let e;return()=>(e===void 0&&(e=t()),e)}const Is=t=>t,LW=(t,e)=>i=>e(t(i)),e0=(...t)=>t.reduce(LW),t0=(t,e,i)=>{const a=e-t;return a===0?1:(i-t)/a};class Jx{constructor(){this.subscriptions=[]}add(e){return Xx(this.subscriptions,e),()=>qx(this.subscriptions,e)}notify(e,i,a){const E=this.subscriptions.length;if(E)if(E===1)this.subscriptions[0](e,i,a);else for(let p=0;p<E;p++){const g=this.subscriptions[p];g&&g(e,i,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ol=t=>t*1e3,$s=t=>t/1e3;function l5(t,e){return e?t*(1e3/e):0}const c5=new Set;function e_(t,e,i){t||c5.has(e)||(console.warn(Kx(e,i)),c5.add(e))}const u5=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t,OW=1e-7,DW=12;function RW(t,e,i,a,E){let p,g,y=0;do g=e+(i-e)/2,p=u5(g,a,E)-t,p>0?i=g:e=g;while(Math.abs(p)>OW&&++y<DW);return g}function n0(t,e,i,a){if(t===e&&i===a)return Is;const E=p=>RW(p,0,1,t,i);return p=>p===0||p===1?p:u5(E(p),e,a)}const d5=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,f5=t=>e=>1-t(1-e),h5=n0(.33,1.53,.69,.99),t_=f5(h5),m5=d5(t_),p5=t=>(t*=2)<1?.5*t_(t):.5*(2-Math.pow(2,-10*(t-1))),n_=t=>1-Math.sin(Math.acos(t)),g5=f5(n_),b5=d5(n_),MW=n0(.42,0,1,1),kW=n0(0,0,.58,1),v5=n0(.42,0,.58,1),IW=t=>Array.isArray(t)&&typeof t[0]!="number",y5=t=>Array.isArray(t)&&typeof t[0]=="number",E5={linear:Is,easeIn:MW,easeInOut:v5,easeOut:kW,circIn:n_,circInOut:b5,circOut:g5,backIn:t_,backInOut:m5,backOut:h5,anticipate:p5},$W=t=>typeof t=="string",w5=t=>{if(y5(t)){hu(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,i,a,E]=t;return n0(e,i,a,E)}else if($W(t))return hu(E5[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),E5[t];return t},d1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function UW(t,e){let i=new Set,a=new Set,E=!1,p=!1;const g=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1};function f(c){g.has(c)&&(b.schedule(c),t()),c(y)}const b={schedule:(c,u=!1,d=!1)=>{const m=d&&E?i:a;return u&&g.add(c),m.has(c)||m.add(c),c},cancel:c=>{a.delete(c),g.delete(c)},process:c=>{if(y=c,E){p=!0;return}E=!0,[i,a]=[a,i],i.forEach(f),i.clear(),E=!1,p&&(p=!1,b.process(c))}};return b}const HW=40;function S5(t,e){let i=!1,a=!0;const E={delta:0,timestamp:0,isProcessing:!1},p=()=>i=!0,g=d1.reduce((D,R)=>(D[R]=UW(p),D),{}),{setup:y,read:f,resolveKeyframes:b,preUpdate:c,update:u,preRender:d,render:h,postRender:m}=g,S=()=>{const D=mu.useManualTiming?E.timestamp:performance.now();i=!1,mu.useManualTiming||(E.delta=a?1e3/60:Math.max(Math.min(D-E.timestamp,HW),1)),E.timestamp=D,E.isProcessing=!0,y.process(E),f.process(E),b.process(E),c.process(E),u.process(E),d.process(E),h.process(E),m.process(E),E.isProcessing=!1,i&&e&&(a=!1,t(S))},T=()=>{i=!0,a=!0,E.isProcessing||t(S)};return{schedule:d1.reduce((D,R)=>{const L=g[R];return D[R]=(C,$=!1,F=!1)=>(i||T(),L.schedule(C,$,F)),D},{}),cancel:D=>{for(let R=0;R<d1.length;R++)g[d1[R]].cancel(D)},state:E,steps:g}}const{schedule:ko,cancel:Fd,state:er,steps:o_}=S5(typeof requestAnimationFrame<"u"?requestAnimationFrame:Is,!0);let f1;function jW(){f1=void 0}const wa={now:()=>(f1===void 0&&wa.set(er.isProcessing||mu.useManualTiming?er.timestamp:performance.now()),f1),set:t=>{f1=t,queueMicrotask(jW)}},T5=t=>e=>typeof e=="string"&&e.startsWith(t),i_=T5("--"),zW=T5("var(--"),r_=t=>zW(t)?BW.test(t.split("/*")[0].trim()):!1,BW=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Pp={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},o0={...Pp,transform:t=>fu(0,1,t)},h1={...Pp,default:1},i0=t=>Math.round(t*1e5)/1e5,a_=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function FW(t){return t==null}const PW=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s_=(t,e)=>i=>!!(typeof i=="string"&&PW.test(i)&&i.startsWith(t)||e&&!FW(i)&&Object.prototype.hasOwnProperty.call(i,e)),A5=(t,e,i)=>a=>{if(typeof a!="string")return a;const[E,p,g,y]=a.match(a_);return{[t]:parseFloat(E),[e]:parseFloat(p),[i]:parseFloat(g),alpha:y!==void 0?parseFloat(y):1}},VW=t=>fu(0,255,t),l_={...Pp,transform:t=>Math.round(VW(t))},$h={test:s_("rgb","red"),parse:A5("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:a=1})=>"rgba("+l_.transform(t)+", "+l_.transform(e)+", "+l_.transform(i)+", "+i0(o0.transform(a))+")"};function GW(t){let e="",i="",a="",E="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),a=t.substring(5,7),E=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),a=t.substring(3,4),E=t.substring(4,5),e+=e,i+=i,a+=a,E+=E),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(a,16),alpha:E?parseInt(E,16)/255:1}}const c_={test:s_("#"),parse:GW,transform:$h.transform},r0=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Pd=r0("deg"),vc=r0("%"),Yt=r0("px"),QW=r0("vh"),WW=r0("vw"),x5={...vc,parse:t=>vc.parse(t)/100,transform:t=>vc.transform(t*100)},Vp={test:s_("hsl","hue"),parse:A5("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+vc.transform(i0(e))+", "+vc.transform(i0(i))+", "+i0(o0.transform(a))+")"},bi={test:t=>$h.test(t)||c_.test(t)||Vp.test(t),parse:t=>$h.test(t)?$h.parse(t):Vp.test(t)?Vp.parse(t):c_.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?$h.transform(t):Vp.transform(t),getAnimatableNone:t=>{const e=bi.parse(t);return e.alpha=0,bi.transform(e)}},YW=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function XW(t){var e,i;return isNaN(t)&&typeof t=="string"&&(((e=t.match(a_))==null?void 0:e.length)||0)+(((i=t.match(YW))==null?void 0:i.length)||0)>0}const _5="number",C5="color",qW="var",KW="var(",N5="${}",ZW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function a0(t){const e=t.toString(),i=[],a={color:[],number:[],var:[]},E=[];let p=0;const y=e.replace(ZW,f=>(bi.test(f)?(a.color.push(p),E.push(C5),i.push(bi.parse(f))):f.startsWith(KW)?(a.var.push(p),E.push(qW),i.push(f)):(a.number.push(p),E.push(_5),i.push(parseFloat(f))),++p,N5)).split(N5);return{values:i,split:y,indexes:a,types:E}}function L5(t){return a0(t).values}function O5(t){const{split:e,types:i}=a0(t),a=e.length;return E=>{let p="";for(let g=0;g<a;g++)if(p+=e[g],E[g]!==void 0){const y=i[g];y===_5?p+=i0(E[g]):y===C5?p+=bi.transform(E[g]):p+=E[g]}return p}}const JW=t=>typeof t=="number"?0:bi.test(t)?bi.getAnimatableNone(t):t;function eY(t){const e=L5(t);return O5(t)(e.map(JW))}const Vd={test:XW,parse:L5,createTransformer:O5,getAnimatableNone:eY};function u_(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tY({hue:t,saturation:e,lightness:i,alpha:a}){t/=360,e/=100,i/=100;let E=0,p=0,g=0;if(!e)E=p=g=i;else{const y=i<.5?i*(1+e):i+e-i*e,f=2*i-y;E=u_(f,y,t+1/3),p=u_(f,y,t),g=u_(f,y,t-1/3)}return{red:Math.round(E*255),green:Math.round(p*255),blue:Math.round(g*255),alpha:a}}function m1(t,e){return i=>i>0?e:t}const zo=(t,e,i)=>t+(e-t)*i,d_=(t,e,i)=>{const a=t*t,E=i*(e*e-a)+a;return E<0?0:Math.sqrt(E)},nY=[c_,$h,Vp],oY=t=>nY.find(e=>e.test(t));function D5(t){const e=oY(t);if(Fp(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===Vp&&(i=tY(i)),i}const R5=(t,e)=>{const i=D5(t),a=D5(e);if(!i||!a)return m1(t,e);const E={...i};return p=>(E.red=d_(i.red,a.red,p),E.green=d_(i.green,a.green,p),E.blue=d_(i.blue,a.blue,p),E.alpha=zo(i.alpha,a.alpha,p),$h.transform(E))},f_=new Set(["none","hidden"]);function iY(t,e){return f_.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}function rY(t,e){return i=>zo(t,e,i)}function h_(t){return typeof t=="number"?rY:typeof t=="string"?r_(t)?m1:bi.test(t)?R5:lY:Array.isArray(t)?M5:typeof t=="object"?bi.test(t)?R5:aY:m1}function M5(t,e){const i=[...t],a=i.length,E=t.map((p,g)=>h_(p)(p,e[g]));return p=>{for(let g=0;g<a;g++)i[g]=E[g](p);return i}}function aY(t,e){const i={...t,...e},a={};for(const E in i)t[E]!==void 0&&e[E]!==void 0&&(a[E]=h_(t[E])(t[E],e[E]));return E=>{for(const p in a)i[p]=a[p](E);return i}}function sY(t,e){const i=[],a={color:0,var:0,number:0};for(let E=0;E<e.values.length;E++){const p=e.types[E],g=t.indexes[p][a[p]],y=t.values[g]??0;i[E]=y,a[p]++}return i}const lY=(t,e)=>{const i=Vd.createTransformer(e),a=a0(t),E=a0(e);return a.indexes.var.length===E.indexes.var.length&&a.indexes.color.length===E.indexes.color.length&&a.indexes.number.length>=E.indexes.number.length?f_.has(t)&&!E.values.length||f_.has(e)&&!a.values.length?iY(t,e):e0(M5(sY(a,E),E.values),i):(Fp(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),m1(t,e))};function k5(t,e,i){return typeof t=="number"&&typeof e=="number"&&typeof i=="number"?zo(t,e,i):h_(t)(t,e)}const cY=t=>{const e=({timestamp:i})=>t(i);return{start:(i=!0)=>ko.update(e,i),stop:()=>Fd(e),now:()=>er.isProcessing?er.timestamp:wa.now()}},I5=(t,e,i=10)=>{let a="";const E=Math.max(Math.round(e/i),2);for(let p=0;p<E;p++)a+=Math.round(t(p/(E-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},p1=2e4;function m_(t){let e=0;const i=50;let a=t.next(e);for(;!a.done&&e<p1;)e+=i,a=t.next(e);return e>=p1?1/0:e}function uY(t,e=100,i){const a=i({...t,keyframes:[0,e]}),E=Math.min(m_(a),p1);return{type:"keyframes",ease:p=>a.next(E*p).value/e,duration:$s(E)}}const dY=5;function $5(t,e,i){const a=Math.max(e-dY,0);return l5(i-t(a),e-a)}const Bo={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},p_=.001;function fY({duration:t=Bo.duration,bounce:e=Bo.bounce,velocity:i=Bo.velocity,mass:a=Bo.mass}){let E,p;Fp(t<=Ol(Bo.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let g=1-e;g=fu(Bo.minDamping,Bo.maxDamping,g),t=fu(Bo.minDuration,Bo.maxDuration,$s(t)),g<1?(E=b=>{const c=b*g,u=c*t,d=c-i,h=g_(b,g),m=Math.exp(-u);return p_-d/h*m},p=b=>{const u=b*g*t,d=u*i+i,h=Math.pow(g,2)*Math.pow(b,2)*t,m=Math.exp(-u),S=g_(Math.pow(b,2),g);return(-E(b)+p_>0?-1:1)*((d-h)*m)/S}):(E=b=>{const c=Math.exp(-b*t),u=(b-i)*t+1;return-p_+c*u},p=b=>{const c=Math.exp(-b*t),u=(i-b)*(t*t);return c*u});const y=5/t,f=mY(E,p,y);if(t=Ol(t),isNaN(f))return{stiffness:Bo.stiffness,damping:Bo.damping,duration:t};{const b=Math.pow(f,2)*a;return{stiffness:b,damping:g*2*Math.sqrt(a*b),duration:t}}}const hY=12;function mY(t,e,i){let a=i;for(let E=1;E<hY;E++)a=a-t(a)/e(a);return a}function g_(t,e){return t*Math.sqrt(1-e*e)}const pY=["duration","bounce"],gY=["stiffness","damping","mass"];function U5(t,e){return e.some(i=>t[i]!==void 0)}function bY(t){let e={velocity:Bo.velocity,stiffness:Bo.stiffness,damping:Bo.damping,mass:Bo.mass,isResolvedFromDuration:!1,...t};if(!U5(t,gY)&&U5(t,pY))if(t.visualDuration){const i=t.visualDuration,a=2*Math.PI/(i*1.2),E=a*a,p=2*fu(.05,1,1-(t.bounce||0))*Math.sqrt(E);e={...e,mass:Bo.mass,stiffness:E,damping:p}}else{const i=fY(t);e={...e,...i,mass:Bo.mass},e.isResolvedFromDuration=!0}return e}function g1(t=Bo.visualDuration,e=Bo.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:a,restDelta:E}=i;const p=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],y={done:!1,value:p},{stiffness:f,damping:b,mass:c,duration:u,velocity:d,isResolvedFromDuration:h}=bY({...i,velocity:-$s(i.velocity||0)}),m=d||0,S=b/(2*Math.sqrt(f*c)),T=g-p,A=$s(Math.sqrt(f/c)),N=Math.abs(T)<5;a||(a=N?Bo.restSpeed.granular:Bo.restSpeed.default),E||(E=N?Bo.restDelta.granular:Bo.restDelta.default);let D;if(S<1){const L=g_(A,S);D=C=>{const $=Math.exp(-S*A*C);return g-$*((m+S*A*T)/L*Math.sin(L*C)+T*Math.cos(L*C))}}else if(S===1)D=L=>g-Math.exp(-A*L)*(T+(m+A*T)*L);else{const L=A*Math.sqrt(S*S-1);D=C=>{const $=Math.exp(-S*A*C),F=Math.min(L*C,300);return g-$*((m+S*A*T)*Math.sinh(F)+L*T*Math.cosh(F))/L}}const R={calculatedDuration:h&&u||null,next:L=>{const C=D(L);if(h)y.done=L>=u;else{let $=L===0?m:0;S<1&&($=L===0?Ol(m):$5(D,L,C));const F=Math.abs($)<=a,U=Math.abs(g-C)<=E;y.done=F&&U}return y.value=y.done?g:C,y},toString:()=>{const L=Math.min(m_(R),p1),C=I5($=>R.next(L*$).value,L,30);return L+"ms "+C},toTransition:()=>{}};return R}g1.applyToOptions=t=>{const e=uY(t,100,g1);return t.ease=e.ease,t.duration=Ol(e.duration),t.type="keyframes",t};function b_({keyframes:t,velocity:e=0,power:i=.8,timeConstant:a=325,bounceDamping:E=10,bounceStiffness:p=500,modifyTarget:g,min:y,max:f,restDelta:b=.5,restSpeed:c}){const u=t[0],d={done:!1,value:u},h=F=>y!==void 0&&F<y||f!==void 0&&F>f,m=F=>y===void 0?f:f===void 0||Math.abs(y-F)<Math.abs(f-F)?y:f;let S=i*e;const T=u+S,A=g===void 0?T:g(T);A!==T&&(S=A-u);const N=F=>-S*Math.exp(-F/a),D=F=>A+N(F),R=F=>{const U=N(F),j=D(F);d.done=Math.abs(U)<=b,d.value=d.done?A:j};let L,C;const $=F=>{h(d.value)&&(L=F,C=g1({keyframes:[d.value,m(d.value)],velocity:$5(D,F,d.value),damping:E,stiffness:p,restDelta:b,restSpeed:c}))};return $(0),{calculatedDuration:null,next:F=>{let U=!1;return!C&&L===void 0&&(U=!0,R(F),$(F)),L!==void 0&&F>=L?C.next(F-L):(!U&&R(F),d)}}}function vY(t,e,i){const a=[],E=i||mu.mix||k5,p=t.length-1;for(let g=0;g<p;g++){let y=E(t[g],t[g+1]);if(e){const f=Array.isArray(e)?e[g]||Is:e;y=e0(f,y)}a.push(y)}return a}function yY(t,e,{clamp:i=!0,ease:a,mixer:E}={}){const p=t.length;if(hu(p===e.length,"Both input and output ranges must be the same length","range-length"),p===1)return()=>e[0];if(p===2&&e[0]===e[1])return()=>e[1];const g=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());const y=vY(e,a,E),f=y.length,b=c=>{if(g&&c<t[0])return e[0];let u=0;if(f>1)for(;u<t.length-2&&!(c<t[u+1]);u++);const d=t0(t[u],t[u+1],c);return y[u](d)};return i?c=>b(fu(t[0],t[p-1],c)):b}function EY(t,e){const i=t[t.length-1];for(let a=1;a<=e;a++){const E=t0(0,e,a);t.push(zo(i,1,E))}}function wY(t){const e=[0];return EY(e,t.length-1),e}function SY(t,e){return t.map(i=>i*e)}function TY(t,e){return t.map(()=>e||v5).splice(0,t.length-1)}function Gp({duration:t=300,keyframes:e,times:i,ease:a="easeInOut"}){const E=IW(a)?a.map(w5):w5(a),p={done:!1,value:e[0]},g=SY(i&&i.length===e.length?i:wY(e),t),y=yY(g,e,{ease:Array.isArray(E)?E:TY(e,E)});return{calculatedDuration:t,next:f=>(p.value=y(f),p.done=f>=t,p)}}const AY=t=>t!==null;function v_(t,{repeat:e,repeatType:i="loop"},a,E=1){const p=t.filter(AY),y=E<0||e&&i!=="loop"&&e%2===1?0:p.length-1;return!y||a===void 0?p[y]:a}const xY={decay:b_,inertia:b_,tween:Gp,keyframes:Gp,spring:g1};function H5(t){typeof t.type=="string"&&(t.type=xY[t.type])}class y_{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,i){return this.finished.then(e,i)}}const _Y=t=>t/100;class E_ extends y_{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var a,E;const{motionValue:i}=this.options;i&&i.updatedAt!==wa.now()&&this.tick(wa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(E=(a=this.options).onStop)==null||E.call(a))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;H5(e);const{type:i=Gp,repeat:a=0,repeatDelay:E=0,repeatType:p,velocity:g=0}=e;let{keyframes:y}=e;const f=i||Gp;process.env.NODE_ENV!=="production"&&f!==Gp&&hu(y.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${y}`,"spring-two-frames"),f!==Gp&&typeof y[0]!="number"&&(this.mixKeyframes=e0(_Y,k5(y[0],y[1])),y=[0,100]);const b=f({...e,keyframes:y});p==="mirror"&&(this.mirroredGenerator=f({...e,keyframes:[...y].reverse(),velocity:-g})),b.calculatedDuration===null&&(b.calculatedDuration=m_(b));const{calculatedDuration:c}=b;this.calculatedDuration=c,this.resolvedDuration=c+E,this.totalDuration=this.resolvedDuration*(a+1)-E,this.generator=b}updateTime(e){const i=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(e,i=!1){const{generator:a,totalDuration:E,mixKeyframes:p,mirroredGenerator:g,resolvedDuration:y,calculatedDuration:f}=this;if(this.startTime===null)return a.next(0);const{delay:b=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:h,type:m,onUpdate:S,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-E/this.speed,this.startTime)),i?this.currentTime=e:this.updateTime(e);const A=this.currentTime-b*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?A<0:A>E;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=E);let D=this.currentTime,R=a;if(u){const F=Math.min(this.currentTime,E)/y;let U=Math.floor(F),j=F%1;!j&&F>=1&&(j=1),j===1&&U--,U=Math.min(U,u+1),!!(U%2)&&(d==="reverse"?(j=1-j,h&&(j-=h/y)):d==="mirror"&&(R=g)),D=fu(0,1,j)*y}const L=N?{done:!1,value:c[0]}:R.next(D);p&&(L.value=p(L.value));let{done:C}=L;!N&&f!==null&&(C=this.playbackSpeed>=0?this.currentTime>=E:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return $&&m!==b_&&(L.value=v_(c,this.options,T,this.speed)),S&&S(L.value),$&&this.finish(),L}then(e,i){return this.finished.then(e,i)}get duration(){return $s(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$s(e)}get time(){return $s(this.currentTime)}set time(e){var i;e=Ol(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(i=this.driver)==null||i.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(wa.now());const i=this.playbackSpeed!==e;this.playbackSpeed=e,i&&(this.time=$s(this.currentTime))}play(){var E,p;if(this.isStopped)return;const{driver:e=cY,startTime:i}=this.options;this.driver||(this.driver=e(g=>this.tick(g))),(p=(E=this.options).onPlay)==null||p.call(E);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=i??a),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(wa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(e=this.options).onComplete)==null||i.call(e)}cancel(){var e,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(e=this.options).onCancel)==null||i.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),e.observe(this)}}function CY(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Uh=t=>t*180/Math.PI,w_=t=>{const e=Uh(Math.atan2(t[1],t[0]));return S_(e)},NY={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:w_,rotateZ:w_,skewX:t=>Uh(Math.atan(t[1])),skewY:t=>Uh(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},S_=t=>(t=t%360,t<0&&(t+=360),t),j5=w_,z5=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),B5=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),LY={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:z5,scaleY:B5,scale:t=>(z5(t)+B5(t))/2,rotateX:t=>S_(Uh(Math.atan2(t[6],t[5]))),rotateY:t=>S_(Uh(Math.atan2(-t[2],t[0]))),rotateZ:j5,rotate:j5,skewX:t=>Uh(Math.atan(t[4])),skewY:t=>Uh(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function T_(t){return t.includes("scale")?1:0}function A_(t,e){if(!t||t==="none")return T_(e);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,E;if(i)a=LY,E=i;else{const y=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=NY,E=y}if(!E)return T_(e);const p=a[e],g=E[1].split(",").map(DY);return typeof p=="function"?p(g):g[p]}const OY=(t,e)=>{const{transform:i="none"}=getComputedStyle(t);return A_(i,e)};function DY(t){return parseFloat(t.trim())}const Qp=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wp=new Set(Qp),F5=t=>t===Pp||t===Yt,RY=new Set(["x","y","z"]),MY=Qp.filter(t=>!RY.has(t));function kY(t){const e=[];return MY.forEach(i=>{const a=t.getValue(i);a!==void 0&&(e.push([i,a.get()]),a.set(i.startsWith("scale")?1:0))}),e}const Hh={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>A_(e,"x"),y:(t,{transform:e})=>A_(e,"y")};Hh.translateX=Hh.x,Hh.translateY=Hh.y;const jh=new Set;let x_=!1,__=!1,C_=!1;function P5(){if(__){const t=Array.from(jh).filter(a=>a.needsMeasurement),e=new Set(t.map(a=>a.element)),i=new Map;e.forEach(a=>{const E=kY(a);E.length&&(i.set(a,E),a.render())}),t.forEach(a=>a.measureInitialState()),e.forEach(a=>{a.render();const E=i.get(a);E&&E.forEach(([p,g])=>{var y;(y=a.getValue(p))==null||y.set(g)})}),t.forEach(a=>a.measureEndState()),t.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}__=!1,x_=!1,jh.forEach(t=>t.complete(C_)),jh.clear()}function V5(){jh.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(__=!0)})}function IY(){C_=!0,V5(),P5(),C_=!1}class N_{constructor(e,i,a,E,p,g=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=i,this.name=a,this.motionValue=E,this.element=p,this.isAsync=g}scheduleResolve(){this.state="scheduled",this.isAsync?(jh.add(this),x_||(x_=!0,ko.read(V5),ko.resolveKeyframes(P5))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:i,element:a,motionValue:E}=this;if(e[0]===null){const p=E==null?void 0:E.get(),g=e[e.length-1];if(p!==void 0)e[0]=p;else if(a&&i){const y=a.readValue(i,g);y!=null&&(e[0]=y)}e[0]===void 0&&(e[0]=g),E&&p===void 0&&E.set(e[0])}CY(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),jh.delete(this)}cancel(){this.state==="scheduled"&&(jh.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const $Y=t=>t.startsWith("--");function UY(t,e,i){$Y(e)?t.style.setProperty(e,i):t.style[e]=i}const HY=Zx(()=>window.ScrollTimeline!==void 0),jY={};function zY(t,e){const i=Zx(t);return()=>jY[e]??i()}const G5=zY(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),s0=([t,e,i,a])=>`cubic-bezier(${t}, ${e}, ${i}, ${a})`,Q5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:s0([0,.65,.55,1]),circOut:s0([.55,0,1,.45]),backIn:s0([.31,.01,.66,-.59]),backOut:s0([.33,1.53,.69,.99])};function W5(t,e){if(t)return typeof t=="function"?G5()?I5(t,e):"ease-out":y5(t)?s0(t):Array.isArray(t)?t.map(i=>W5(i,e)||Q5.easeOut):Q5[t]}function BY(t,e,i,{delay:a=0,duration:E=300,repeat:p=0,repeatType:g="loop",ease:y="easeOut",times:f}={},b=void 0){const c={[e]:i};f&&(c.offset=f);const u=W5(y,E);Array.isArray(u)&&(c.easing=u);const d={delay:a,duration:E,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:p+1,direction:g==="reverse"?"alternate":"normal"};return b&&(d.pseudoElement=b),t.animate(c,d)}function Y5(t){return typeof t=="function"&&"applyToOptions"in t}function FY({type:t,...e}){return Y5(t)&&G5()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class PY extends y_{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:i,name:a,keyframes:E,pseudoElement:p,allowFlatten:g=!1,finalKeyframe:y,onComplete:f}=e;this.isPseudoElement=!!p,this.allowFlatten=g,this.options=e,hu(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const b=FY(e);this.animation=BY(i,a,E,b,p),b.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!p){const c=v_(E,this.options,y,this.speed);this.updateMotionValue?this.updateMotionValue(c):UY(i,a,c),this.animation.cancel()}f==null||f(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,i;(i=(e=this.animation).finish)==null||i.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,i;this.isPseudoElement||(i=(e=this.animation).commitStyles)==null||i.call(e)}get duration(){var i,a;const e=((a=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:a.call(i).duration)||0;return $s(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$s(e)}get time(){return $s(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Ol(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:i}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&HY()?(this.animation.timeline=e,Is):i(this)}}const X5={anticipate:p5,backInOut:m5,circInOut:b5};function VY(t){return t in X5}function GY(t){typeof t.ease=="string"&&VY(t.ease)&&(t.ease=X5[t.ease])}const q5=10;class QY extends PY{constructor(e){GY(e),H5(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:i,onUpdate:a,onComplete:E,element:p,...g}=this.options;if(!i)return;if(e!==void 0){i.set(e);return}const y=new E_({...g,autoplay:!1}),f=Ol(this.finishedTime??this.time);i.setWithVelocity(y.sample(f-q5).value,y.sample(f).value,q5),y.stop()}}const K5=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Vd.test(t)||t==="0")&&!t.startsWith("url("));function WY(t){const e=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}function YY(t,e,i,a){const E=t[0];if(E===null)return!1;if(e==="display"||e==="visibility")return!0;const p=t[t.length-1],g=K5(E,e),y=K5(p,e);return Fp(g===y,`You are trying to animate ${e} from "${E}" to "${p}". "${g?p:E}" is not an animatable value.`,"value-not-animatable"),!g||!y?!1:WY(t)||(i==="spring"||Y5(i))&&a}function L_(t){t.duration=0,t.type="keyframes"}const XY=new Set(["opacity","clipPath","filter","transform"]),qY=Zx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function KY(t){var c;const{motionValue:e,name:i,repeatDelay:a,repeatType:E,damping:p,type:g}=t;if(!(((c=e==null?void 0:e.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:b}=e.owner.getProps();return qY()&&i&&XY.has(i)&&(i!=="transform"||!b)&&!f&&!a&&E!=="mirror"&&p!==0&&g!=="inertia"}const ZY=40;class JY extends y_{constructor({autoplay:e=!0,delay:i=0,type:a="keyframes",repeat:E=0,repeatDelay:p=0,repeatType:g="loop",keyframes:y,name:f,motionValue:b,element:c,...u}){var m;super(),this.stop=()=>{var S,T;this._animation&&(this._animation.stop(),(S=this.stopTimeline)==null||S.call(this)),(T=this.keyframeResolver)==null||T.cancel()},this.createdAt=wa.now();const d={autoplay:e,delay:i,type:a,repeat:E,repeatDelay:p,repeatType:g,name:f,motionValue:b,element:c,...u},h=(c==null?void 0:c.KeyframeResolver)||N_;this.keyframeResolver=new h(y,(S,T,A)=>this.onKeyframesResolved(S,T,d,!A),f,b,c),(m=this.keyframeResolver)==null||m.scheduleResolve()}onKeyframesResolved(e,i,a,E){this.keyframeResolver=void 0;const{name:p,type:g,velocity:y,delay:f,isHandoff:b,onUpdate:c}=a;this.resolvedAt=wa.now(),YY(e,p,g,y)||((mu.instantAnimations||!f)&&(c==null||c(v_(e,a,i))),e[0]=e[e.length-1],L_(a),a.repeat=0);const d={startTime:E?this.resolvedAt?this.resolvedAt-this.createdAt>ZY?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...a,keyframes:e},h=!b&&KY(d)?new QY({...d,element:d.motionValue.owner.current}):new E_(d);h.finished.then(()=>this.notifyFinished()).catch(Is),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(e,i){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),IY()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const eX=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tX(t){const e=eX.exec(t);if(!e)return[,];const[,i,a,E]=e;return[`--${i??a}`,E]}const nX=4;function Z5(t,e,i=1){hu(i<=nX,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[a,E]=tX(t);if(!a)return;const p=window.getComputedStyle(e).getPropertyValue(a);if(p){const g=p.trim();return r5(g)?parseFloat(g):g}return r_(E)?Z5(E,e,i+1):E}function O_(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}const J5=new Set(["width","height","top","left","right","bottom",...Qp]),oX={test:t=>t==="auto",parse:t=>t},e$=t=>e=>e.test(t),t$=[Pp,Yt,vc,Pd,WW,QW,oX],n$=t=>t$.find(e$(t));function iX(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||s5(t):!0}const rX=new Set(["brightness","contrast","saturate","opacity"]);function aX(t){const[e,i]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[a]=i.match(a_)||[];if(!a)return t;const E=i.replace(a,"");let p=rX.has(e)?1:0;return a!==i&&(p*=100),e+"("+p+E+")"}const sX=/\b([a-z-]*)\(.*?\)/gu,D_={...Vd,getAnimatableNone:t=>{const e=t.match(sX);return e?e.map(aX).join(" "):t}},o$={...Pp,transform:Math.round},R_={borderWidth:Yt,borderTopWidth:Yt,borderRightWidth:Yt,borderBottomWidth:Yt,borderLeftWidth:Yt,borderRadius:Yt,radius:Yt,borderTopLeftRadius:Yt,borderTopRightRadius:Yt,borderBottomRightRadius:Yt,borderBottomLeftRadius:Yt,width:Yt,maxWidth:Yt,height:Yt,maxHeight:Yt,top:Yt,right:Yt,bottom:Yt,left:Yt,padding:Yt,paddingTop:Yt,paddingRight:Yt,paddingBottom:Yt,paddingLeft:Yt,margin:Yt,marginTop:Yt,marginRight:Yt,marginBottom:Yt,marginLeft:Yt,backgroundPositionX:Yt,backgroundPositionY:Yt,...{rotate:Pd,rotateX:Pd,rotateY:Pd,rotateZ:Pd,scale:h1,scaleX:h1,scaleY:h1,scaleZ:h1,skew:Pd,skewX:Pd,skewY:Pd,distance:Yt,translateX:Yt,translateY:Yt,translateZ:Yt,x:Yt,y:Yt,z:Yt,perspective:Yt,transformPerspective:Yt,opacity:o0,originX:x5,originY:x5,originZ:Yt},zIndex:o$,fillOpacity:o0,strokeOpacity:o0,numOctaves:o$},lX={...R_,color:bi,backgroundColor:bi,outlineColor:bi,fill:bi,stroke:bi,borderColor:bi,borderTopColor:bi,borderRightColor:bi,borderBottomColor:bi,borderLeftColor:bi,filter:D_,WebkitFilter:D_},i$=t=>lX[t];function r$(t,e){let i=i$(t);return i!==D_&&(i=Vd),i.getAnimatableNone?i.getAnimatableNone(e):void 0}const cX=new Set(["auto","none","0"]);function uX(t,e,i){let a=0,E;for(;a<t.length&&!E;){const p=t[a];typeof p=="string"&&!cX.has(p)&&a0(p).values.length&&(E=t[a]),a++}if(E&&i)for(const p of e)t[p]=r$(i,E)}class dX extends N_{constructor(e,i,a,E,p){super(e,i,a,E,p,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:i,name:a}=this;if(!i||!i.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let b=e[f];if(typeof b=="string"&&(b=b.trim(),r_(b))){const c=Z5(b,i.current);c!==void 0&&(e[f]=c),f===e.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!J5.has(a)||e.length!==2)return;const[E,p]=e,g=n$(E),y=n$(p);if(g!==y)if(F5(g)&&F5(y))for(let f=0;f<e.length;f++){const b=e[f];typeof b=="string"&&(e[f]=parseFloat(b))}else Hh[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:i}=this,a=[];for(let E=0;E<e.length;E++)(e[E]===null||iX(e[E]))&&a.push(E);a.length&&uX(e,a,i)}measureInitialState(){const{element:e,unresolvedKeyframes:i,name:a}=this;if(!e||!e.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hh[a](e.measureViewportBox(),window.getComputedStyle(e.current)),i[0]=this.measuredOrigin;const E=i[i.length-1];E!==void 0&&e.getValue(a,E).jump(E,!1)}measureEndState(){var y;const{element:e,name:i,unresolvedKeyframes:a}=this;if(!e||!e.current)return;const E=e.getValue(i);E&&E.jump(this.measuredOrigin,!1);const p=a.length-1,g=a[p];a[p]=Hh[i](e.measureViewportBox(),window.getComputedStyle(e.current)),g!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=g),(y=this.removedTransforms)!=null&&y.length&&this.removedTransforms.forEach(([f,b])=>{e.getValue(f).set(b)}),this.resolveNoneKeyframes()}}function fX(t,e,i){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let a=document;const E=(i==null?void 0:i[t])??a.querySelectorAll(t);return E?Array.from(E):[]}return Array.from(t)}const a$=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function hX(t){return a5(t)&&"offsetHeight"in t}const s$=30,mX=t=>!isNaN(parseFloat(t));class pX{constructor(e,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var p;const E=wa.now();if(this.updatedAt!==E&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((p=this.events.change)==null||p.notify(this.current),this.dependents))for(const g of this.dependents)g.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=i.owner}setCurrent(e){this.current=e,this.updatedAt=wa.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=mX(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&e_(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,i){this.events[e]||(this.events[e]=new Jx);const a=this.events[e].add(i);return e==="change"?()=>{a(),ko.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,i){this.passiveEffect=e,this.stopPassiveEffect=i}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,i,a){this.set(i),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-a}jump(e,i=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=wa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>s$)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,s$);return l5(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(e){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=e(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,i;(e=this.dependents)==null||e.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Yp(t,e){return new pX(t,e)}const{schedule:M_}=S5(queueMicrotask,!1),Dl={x:!1,y:!1};function l$(){return Dl.x||Dl.y}function gX(t){return t==="x"||t==="y"?Dl[t]?null:(Dl[t]=!0,()=>{Dl[t]=!1}):Dl.x||Dl.y?null:(Dl.x=Dl.y=!0,()=>{Dl.x=Dl.y=!1})}function c$(t,e){const i=fX(t),a=new AbortController,E={passive:!0,...e,signal:a.signal};return[i,E,()=>a.abort()]}function u$(t){return!(t.pointerType==="touch"||l$())}function bX(t,e,i={}){const[a,E,p]=c$(t,i),g=y=>{if(!u$(y))return;const{target:f}=y,b=e(f,y);if(typeof b!="function"||!f)return;const c=u=>{u$(u)&&(b(u),f.removeEventListener("pointerleave",c))};f.addEventListener("pointerleave",c,E)};return a.forEach(y=>{y.addEventListener("pointerenter",g,E)}),p}const d$=(t,e)=>e?t===e?!0:d$(t,e.parentElement):!1,k_=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,vX=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yX(t){return vX.has(t.tagName)||t.tabIndex!==-1}const b1=new WeakSet;function f$(t){return e=>{e.key==="Enter"&&t(e)}}function I_(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const EX=(t,e)=>{const i=t.currentTarget;if(!i)return;const a=f$(()=>{if(b1.has(i))return;I_(i,"down");const E=f$(()=>{I_(i,"up")}),p=()=>I_(i,"cancel");i.addEventListener("keyup",E,e),i.addEventListener("blur",p,e)});i.addEventListener("keydown",a,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",a),e)};function h$(t){return k_(t)&&!l$()}function wX(t,e,i={}){const[a,E,p]=c$(t,i),g=y=>{const f=y.currentTarget;if(!h$(y))return;b1.add(f);const b=e(f,y),c=(h,m)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",d),b1.has(f)&&b1.delete(f),h$(h)&&typeof b=="function"&&b(h,{success:m})},u=h=>{c(h,f===window||f===document||i.useGlobalTarget||d$(f,h.target))},d=h=>{c(h,!1)};window.addEventListener("pointerup",u,E),window.addEventListener("pointercancel",d,E)};return a.forEach(y=>{(i.useGlobalTarget?window:y).addEventListener("pointerdown",g,E),hX(y)&&(y.addEventListener("focus",b=>EX(b,E)),!yX(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),p}function m$(t){return a5(t)&&"ownerSVGElement"in t}function SX(t){return m$(t)&&t.tagName==="svg"}const Nr=t=>!!(t&&t.getVelocity),TX=[...t$,bi,Vd],AX=t=>TX.find(e$(t)),p$=Y.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function xX(t=!0){const e=Y.useContext(Yx);if(e===null)return[!0,null];const{isPresent:i,onExitComplete:a,register:E}=e,p=Y.useId();Y.useEffect(()=>{if(t)return E(p)},[t]);const g=Y.useCallback(()=>t&&a&&a(p),[p,a,t]);return!i&&a?[!1,g]:[!0]}const g$=Y.createContext({strict:!1}),b$={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xp={};for(const t in b$)Xp[t]={isEnabled:e=>b$[t].some(i=>!!e[i])};function _X(t){for(const e in t)Xp[e]={...Xp[e],...t[e]}}const CX=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function v1(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||CX.has(t)}let v$=t=>!v1(t);function NX(t){typeof t=="function"&&(v$=e=>e.startsWith("on")?!v1(e):t(e))}try{NX(require("@emotion/is-prop-valid").default)}catch{}function LX(t,e,i){const a={};for(const E in t)E==="values"&&typeof t.values=="object"||(v$(E)||i===!0&&v1(E)||!e&&!v1(E)||t.draggable&&E.startsWith("onDrag"))&&(a[E]=t[E]);return a}const y1=Y.createContext({});function E1(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function l0(t){return typeof t=="string"||Array.isArray(t)}const $_=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],U_=["initial",...$_];function w1(t){return E1(t.animate)||U_.some(e=>l0(t[e]))}function y$(t){return!!(w1(t)||t.variants)}function OX(t,e){if(w1(t)){const{initial:i,animate:a}=t;return{initial:i===!1||l0(i)?i:void 0,animate:l0(a)?a:void 0}}return t.inherit!==!1?e:{}}function DX(t){const{initial:e,animate:i}=OX(t,Y.useContext(y1));return Y.useMemo(()=>({initial:e,animate:i}),[E$(e),E$(i)])}function E$(t){return Array.isArray(t)?t.join(" "):t}const c0={};function RX(t){for(const e in t)c0[e]=t[e],i_(e)&&(c0[e].isCSSVariable=!0)}function w$(t,{layout:e,layoutId:i}){return Wp.has(t)||t.startsWith("origin")||(e||i!==void 0)&&(!!c0[t]||t==="opacity")}const MX={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kX=Qp.length;function IX(t,e,i){let a="",E=!0;for(let p=0;p<kX;p++){const g=Qp[p],y=t[g];if(y===void 0)continue;let f=!0;if(typeof y=="number"?f=y===(g.startsWith("scale")?1:0):f=parseFloat(y)===0,!f||i){const b=a$(y,R_[g]);if(!f){E=!1;const c=MX[g]||g;a+=`${c}(${b}) `}i&&(e[g]=b)}}return a=a.trim(),i?a=i(e,E?"":a):E&&(a="none"),a}function H_(t,e,i){const{style:a,vars:E,transformOrigin:p}=t;let g=!1,y=!1;for(const f in e){const b=e[f];if(Wp.has(f)){g=!0;continue}else if(i_(f)){E[f]=b;continue}else{const c=a$(b,R_[f]);f.startsWith("origin")?(y=!0,p[f]=c):a[f]=c}}if(e.transform||(g||i?a.transform=IX(e,t.transform,i):a.transform&&(a.transform="none")),y){const{originX:f="50%",originY:b="50%",originZ:c=0}=p;a.transformOrigin=`${f} ${b} ${c}`}}const j_=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function S$(t,e,i){for(const a in e)!Nr(e[a])&&!w$(a,i)&&(t[a]=e[a])}function $X({transformTemplate:t},e){return Y.useMemo(()=>{const i=j_();return H_(i,e,t),Object.assign({},i.vars,i.style)},[e])}function UX(t,e){const i=t.style||{},a={};return S$(a,i,t),Object.assign(a,$X(t,e)),a}function HX(t,e){const i={},a=UX(t,e);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=a,i}const jX={offset:"stroke-dashoffset",array:"stroke-dasharray"},zX={offset:"strokeDashoffset",array:"strokeDasharray"};function BX(t,e,i=1,a=0,E=!0){t.pathLength=1;const p=E?jX:zX;t[p.offset]=Yt.transform(-a);const g=Yt.transform(e),y=Yt.transform(i);t[p.array]=`${g} ${y}`}function T$(t,{attrX:e,attrY:i,attrScale:a,pathLength:E,pathSpacing:p=1,pathOffset:g=0,...y},f,b,c){if(H_(t,y,b),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:u,style:d}=t;u.transform&&(d.transform=u.transform,delete u.transform),(d.transform||u.transformOrigin)&&(d.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),d.transform&&(d.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete u.transformBox),e!==void 0&&(u.x=e),i!==void 0&&(u.y=i),a!==void 0&&(u.scale=a),E!==void 0&&BX(u,E,p,g,!1)}const A$=()=>({...j_(),attrs:{}}),x$=t=>typeof t=="string"&&t.toLowerCase()==="svg";function FX(t,e,i,a){const E=Y.useMemo(()=>{const p=A$();return T$(p,e,x$(a),t.transformTemplate,t.style),{...p.attrs,style:{...p.style}}},[e]);if(t.style){const p={};S$(p,t.style,t),E.style={...p,...E.style}}return E}const PX=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function z_(t){return typeof t!="string"||t.includes("-")?!1:!!(PX.indexOf(t)>-1||/[A-Z]/u.test(t))}function VX(t,e,i,{latestValues:a},E,p=!1){const y=(z_(t)?FX:HX)(e,a,E,t),f=LX(e,typeof t=="string",p),b=t!==Y.Fragment?{...f,...y,ref:i}:{},{children:c}=e,u=Y.useMemo(()=>Nr(c)?c.get():c,[c]);return Y.createElement(t,{...b,children:u})}function _$(t){const e=[{},{}];return t==null||t.values.forEach((i,a)=>{e[0][a]=i.get(),e[1][a]=i.getVelocity()}),e}function B_(t,e,i,a){if(typeof e=="function"){const[E,p]=_$(a);e=e(i!==void 0?i:t.custom,E,p)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[E,p]=_$(a);e=e(i!==void 0?i:t.custom,E,p)}return e}function S1(t){return Nr(t)?t.get():t}function GX({scrapeMotionValuesFromProps:t,createRenderState:e},i,a,E){return{latestValues:QX(i,a,E,t),renderState:e()}}function QX(t,e,i,a){const E={},p=a(t,{});for(const d in p)E[d]=S1(p[d]);let{initial:g,animate:y}=t;const f=w1(t),b=y$(t);e&&b&&!f&&t.inherit!==!1&&(g===void 0&&(g=e.initial),y===void 0&&(y=e.animate));let c=i?i.initial===!1:!1;c=c||g===!1;const u=c?y:g;if(u&&typeof u!="boolean"&&!E1(u)){const d=Array.isArray(u)?u:[u];for(let h=0;h<d.length;h++){const m=B_(t,d[h]);if(m){const{transitionEnd:S,transition:T,...A}=m;for(const N in A){let D=A[N];if(Array.isArray(D)){const R=c?D.length-1:0;D=D[R]}D!==null&&(E[N]=D)}for(const N in S)E[N]=S[N]}}}return E}const C$=t=>(e,i)=>{const a=Y.useContext(y1),E=Y.useContext(Yx),p=()=>GX(t,e,a,E);return i?p():CW(p)};function F_(t,e,i){var p;const{style:a}=t,E={};for(const g in a)(Nr(a[g])||e.style&&Nr(e.style[g])||w$(g,t)||((p=i==null?void 0:i.getValue(g))==null?void 0:p.liveStyle)!==void 0)&&(E[g]=a[g]);return E}const WX=C$({scrapeMotionValuesFromProps:F_,createRenderState:j_});function N$(t,e,i){const a=F_(t,e,i);for(const E in t)if(Nr(t[E])||Nr(e[E])){const p=Qp.indexOf(E)!==-1?"attr"+E.charAt(0).toUpperCase()+E.substring(1):E;a[p]=t[E]}return a}const YX=C$({scrapeMotionValuesFromProps:N$,createRenderState:A$}),XX=Symbol.for("motionComponentSymbol");function qp(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function qX(t,e,i){return Y.useCallback(a=>{a&&t.onMount&&t.onMount(a),e&&(a?e.mount(a):e.unmount()),i&&(typeof i=="function"?i(a):qp(i)&&(i.current=a))},[e])}const P_=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),L$="data-"+P_("framerAppearId"),O$=Y.createContext({});function KX(t,e,i,a,E){var S,T;const{visualElement:p}=Y.useContext(y1),g=Y.useContext(g$),y=Y.useContext(Yx),f=Y.useContext(p$).reducedMotion,b=Y.useRef(null);a=a||g.renderer,!b.current&&a&&(b.current=a(t,{visualState:e,parent:p,props:i,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:f}));const c=b.current,u=Y.useContext(O$);c&&!c.projection&&E&&(c.type==="html"||c.type==="svg")&&ZX(b.current,i,E,u);const d=Y.useRef(!1);Y.useInsertionEffect(()=>{c&&d.current&&c.update(i,y)});const h=i[L$],m=Y.useRef(!!h&&!((S=window.MotionHandoffIsComplete)!=null&&S.call(window,h))&&((T=window.MotionHasOptimisedAnimation)==null?void 0:T.call(window,h)));return NW(()=>{c&&(d.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),m.current&&c.animationState&&c.animationState.animateChanges())}),Y.useEffect(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)==null||A.call(window,h)}),m.current=!1),c.enteringChildren=void 0)}),c}function ZX(t,e,i,a){const{layoutId:E,layout:p,drag:g,dragConstraints:y,layoutScroll:f,layoutRoot:b,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:D$(t.parent)),t.projection.setOptions({layoutId:E,layout:p,alwaysMeasureLayout:!!g||y&&qp(y),visualElement:t,animationType:typeof p=="string"?p:"both",initialPromotionConfig:a,crossfade:c,layoutScroll:f,layoutRoot:b})}function D$(t){if(t)return t.options.allowProjection!==!1?t.projection:D$(t.parent)}function V_(t,{forwardMotionProps:e=!1}={},i,a){i&&_X(i);const E=z_(t)?YX:WX;function p(y,f){let b;const c={...Y.useContext(p$),...y,layoutId:JX(y)},{isStatic:u}=c,d=DX(y),h=E(y,u);if(!u&&Wx){eq(c,i);const m=tq(c);b=m.MeasureLayout,d.visualElement=KX(t,h,c,a,m.ProjectionNode)}return H.jsxs(y1.Provider,{value:d,children:[b&&d.visualElement?H.jsx(b,{visualElement:d.visualElement,...c}):null,VX(t,y,qX(h,d.visualElement,f),h,u,e)]})}p.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const g=Y.forwardRef(p);return g[XX]=t,g}function JX({layoutId:t}){const e=Y.useContext(i5).id;return e&&t!==void 0?e+"-"+t:t}function eq(t,e){const i=Y.useContext(g$).strict;if(process.env.NODE_ENV!=="production"&&e&&i){const a="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Fp(!1,a,"lazy-strict-mode"):hu(!1,a,"lazy-strict-mode")}}function tq(t){const{drag:e,layout:i}=Xp;if(!e&&!i)return{};const a={...e,...i};return{MeasureLayout:e!=null&&e.isEnabled(t)||i!=null&&i.isEnabled(t)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function nq(t,e){if(typeof Proxy>"u")return V_;const i=new Map,a=(p,g)=>V_(p,g,t,e),E=(p,g)=>(process.env.NODE_ENV!=="production"&&e_(!1,"motion() is deprecated. Use motion.create() instead."),a(p,g));return new Proxy(E,{get:(p,g)=>g==="create"?a:(i.has(g)||i.set(g,V_(g,void 0,t,e)),i.get(g))})}function R$({top:t,left:e,right:i,bottom:a}){return{x:{min:e,max:i},y:{min:t,max:a}}}function oq({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function iq(t,e){if(!e)return t;const i=e({x:t.left,y:t.top}),a=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:a.y,right:a.x}}function G_(t){return t===void 0||t===1}function Q_({scale:t,scaleX:e,scaleY:i}){return!G_(t)||!G_(e)||!G_(i)}function zh(t){return Q_(t)||M$(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function M$(t){return k$(t.x)||k$(t.y)}function k$(t){return t&&t!=="0%"}function T1(t,e,i){const a=t-i,E=e*a;return i+E}function I$(t,e,i,a,E){return E!==void 0&&(t=T1(t,E,a)),T1(t,i,a)+e}function W_(t,e=0,i=1,a,E){t.min=I$(t.min,e,i,a,E),t.max=I$(t.max,e,i,a,E)}function $$(t,{x:e,y:i}){W_(t.x,e.translate,e.scale,e.originPoint),W_(t.y,i.translate,i.scale,i.originPoint)}const U$=.999999999999,H$=1.0000000000001;function rq(t,e,i,a=!1){const E=i.length;if(!E)return;e.x=e.y=1;let p,g;for(let y=0;y<E;y++){p=i[y],g=p.projectionDelta;const{visualElement:f}=p.options;f&&f.props.style&&f.props.style.display==="contents"||(a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Zp(t,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),g&&(e.x*=g.x.scale,e.y*=g.y.scale,$$(t,g)),a&&zh(p.latestValues)&&Zp(t,p.latestValues))}e.x<H$&&e.x>U$&&(e.x=1),e.y<H$&&e.y>U$&&(e.y=1)}function Kp(t,e){t.min=t.min+e,t.max=t.max+e}function j$(t,e,i,a,E=.5){const p=zo(t.min,t.max,E);W_(t,e,i,p,a)}function Zp(t,e){j$(t.x,e.x,e.scaleX,e.scale,e.originX),j$(t.y,e.y,e.scaleY,e.scale,e.originY)}function z$(t,e){return R$(iq(t.getBoundingClientRect(),e))}function aq(t,e,i){const a=z$(t,i),{scroll:E}=e;return E&&(Kp(a.x,E.offset.x),Kp(a.y,E.offset.y)),a}const B$=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jp=()=>({x:B$(),y:B$()}),F$=()=>({min:0,max:0}),ri=()=>({x:F$(),y:F$()}),Y_={current:null},P$={current:!1};function sq(){if(P$.current=!0,!!Wx)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Y_.current=t.matches;t.addEventListener("change",e),e()}else Y_.current=!1}const lq=new WeakMap;function cq(t,e,i){for(const a in e){const E=e[a],p=i[a];if(Nr(E))t.addValue(a,E);else if(Nr(p))t.addValue(a,Yp(E,{owner:t}));else if(p!==E)if(t.hasValue(a)){const g=t.getValue(a);g.liveStyle===!0?g.jump(E):g.hasAnimated||g.set(E)}else{const g=t.getStaticValue(a);t.addValue(a,Yp(g!==void 0?g:E,{owner:t}))}}for(const a in i)e[a]===void 0&&t.removeValue(a);return e}const V$=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class uq{scrapeMotionValuesFromProps(e,i,a){return{}}constructor({parent:e,props:i,presenceContext:a,reducedMotionConfig:E,blockInitialAnimation:p,visualState:g},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=N_,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=wa.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,ko.render(this.render,!1,!0))};const{latestValues:f,renderState:b}=g;this.latestValues=f,this.baseTarget={...f},this.initialValues=i.initial?{...f}:{},this.renderState=b,this.parent=e,this.props=i,this.presenceContext=a,this.depth=e?e.depth+1:0,this.reducedMotionConfig=E,this.options=y,this.blockInitialAnimation=!!p,this.isControllingVariants=w1(i),this.isVariantNode=y$(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(i,{},this);for(const d in u){const h=u[d];f[d]!==void 0&&Nr(h)&&h.set(f[d])}}mount(e){var i;this.current=e,lq.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,E)=>this.bindToMotionValue(E,a)),P$.current||sq(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Y_.current,process.env.NODE_ENV!=="production"&&e_(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;this.projection&&this.projection.unmount(),Fd(this.notifyUpdate),Fd(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,i){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const a=Wp.has(e);a&&this.onBindTransform&&this.onBindTransform();const E=i.on("change",g=>{this.latestValues[e]=g,this.props.onUpdate&&ko.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let p;window.MotionCheckAppearSync&&(p=window.MotionCheckAppearSync(this,e,i)),this.valueSubscriptions.set(e,()=>{E(),p&&p(),i.owner&&i.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Xp){const i=Xp[e];if(!i)continue;const{isEnabled:a,Feature:E}=i;if(!this.features[e]&&E&&a(this.props)&&(this.features[e]=new E(this)),this.features[e]){const p=this.features[e];p.isMounted?p.update():(p.mount(),p.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ri()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,i){this.latestValues[e]=i}update(e,i){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let a=0;a<V$.length;a++){const E=V$[a];this.propEventSubscriptions[E]&&(this.propEventSubscriptions[E](),delete this.propEventSubscriptions[E]);const p="on"+E,g=e[p];g&&(this.propEventSubscriptions[E]=this.on(E,g))}this.prevMotionValues=cq(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(e),()=>i.variantChildren.delete(e)}addValue(e,i){const a=this.values.get(e);i!==a&&(a&&this.removeValue(e),this.bindToMotionValue(e,i),this.values.set(e,i),this.latestValues[e]=i.get())}removeValue(e){this.values.delete(e);const i=this.valueSubscriptions.get(e);i&&(i(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,i){if(this.props.values&&this.props.values[e])return this.props.values[e];let a=this.values.get(e);return a===void 0&&i!==void 0&&(a=Yp(i===null?void 0:i,{owner:this}),this.addValue(e,a)),a}readValue(e,i){let a=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return a!=null&&(typeof a=="string"&&(r5(a)||s5(a))?a=parseFloat(a):!AX(a)&&Vd.test(i)&&(a=r$(e,i)),this.setBaseTarget(e,Nr(a)?a.get():a)),Nr(a)?a.get():a}setBaseTarget(e,i){this.baseTarget[e]=i}getBaseTarget(e){var p;const{initial:i}=this.props;let a;if(typeof i=="string"||typeof i=="object"){const g=B_(this.props,i,(p=this.presenceContext)==null?void 0:p.custom);g&&(a=g[e])}if(i&&a!==void 0)return a;const E=this.getBaseTargetFromProps(this.props,e);return E!==void 0&&!Nr(E)?E:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,i){return this.events[e]||(this.events[e]=new Jx),this.events[e].add(i)}notify(e,...i){this.events[e]&&this.events[e].notify(...i)}scheduleRenderMicrotask(){M_.render(this.render)}}class G$ extends uq{constructor(){super(...arguments),this.KeyframeResolver=dX}sortInstanceNodePosition(e,i){return e.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(e,i){return e.style?e.style[i]:void 0}removeValueFromRenderState(e,{vars:i,style:a}){delete i[e],delete a[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Nr(e)&&(this.childSubscription=e.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function Q$(t,{style:e,vars:i},a,E){const p=t.style;let g;for(g in e)p[g]=e[g];E==null||E.applyProjectionStyles(p,a);for(g in i)p.setProperty(g,i[g])}function dq(t){return window.getComputedStyle(t)}class fq extends G${constructor(){super(...arguments),this.type="html",this.renderInstance=Q$}readValueFromInstance(e,i){var a;if(Wp.has(i))return(a=this.projection)!=null&&a.isProjecting?T_(i):OY(e,i);{const E=dq(e),p=(i_(i)?E.getPropertyValue(i):E[i])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(e,{transformPagePoint:i}){return z$(e,i)}build(e,i,a){H_(e,i,a.transformTemplate)}scrapeMotionValuesFromProps(e,i,a){return F_(e,i,a)}}const W$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function hq(t,e,i,a){Q$(t,e,void 0,a);for(const E in e.attrs)t.setAttribute(W$.has(E)?E:P_(E),e.attrs[E])}class mq extends G${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ri}getBaseTargetFromProps(e,i){return e[i]}readValueFromInstance(e,i){if(Wp.has(i)){const a=i$(i);return a&&a.default||0}return i=W$.has(i)?i:P_(i),e.getAttribute(i)}scrapeMotionValuesFromProps(e,i,a){return N$(e,i,a)}build(e,i,a){T$(e,i,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(e,i,a,E){hq(e,i,a,E)}mount(e){this.isSVGTag=x$(e.tagName),super.mount(e)}}const pq=(t,e)=>z_(t)?new mq(e):new fq(e,{allowProjection:t!==Y.Fragment});function eg(t,e,i){const a=t.getProps();return B_(a,e,i!==void 0?i:a.custom,t)}const X_=t=>Array.isArray(t);function gq(t,e,i){t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,Yp(i))}function bq(t){return X_(t)?t[t.length-1]||0:t}function vq(t,e){const i=eg(t,e);let{transitionEnd:a={},transition:E={},...p}=i||{};p={...p,...a};for(const g in p){const y=bq(p[g]);gq(t,g,y)}}function yq(t){return!!(Nr(t)&&t.add)}function q_(t,e){const i=t.getValue("willChange");if(yq(i))return i.add(e);if(!i&&mu.WillChange){const a=new mu.WillChange("auto");t.addValue("willChange",a),a.add(e)}}function Y$(t){return t.props[L$]}const Eq=t=>t!==null;function wq(t,{repeat:e,repeatType:i="loop"},a){const E=t.filter(Eq),p=e&&i!=="loop"&&e%2===1?0:E.length-1;return E[p]}const Sq={type:"spring",stiffness:500,damping:25,restSpeed:10},Tq=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Aq={type:"keyframes",duration:.8},xq={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_q=(t,{keyframes:e})=>e.length>2?Aq:Wp.has(t)?t.startsWith("scale")?Tq(e[1]):Sq:xq;function Cq({when:t,delay:e,delayChildren:i,staggerChildren:a,staggerDirection:E,repeat:p,repeatType:g,repeatDelay:y,from:f,elapsed:b,...c}){return!!Object.keys(c).length}const K_=(t,e,i,a={},E,p)=>g=>{const y=O_(a,t)||{},f=y.delay||a.delay||0;let{elapsed:b=0}=a;b=b-Ol(f);const c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...y,delay:-b,onUpdate:d=>{e.set(d),y.onUpdate&&y.onUpdate(d)},onComplete:()=>{g(),y.onComplete&&y.onComplete()},name:t,motionValue:e,element:p?void 0:E};Cq(y)||Object.assign(c,_q(t,c)),c.duration&&(c.duration=Ol(c.duration)),c.repeatDelay&&(c.repeatDelay=Ol(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let u=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(L_(c),c.delay===0&&(u=!0)),(mu.instantAnimations||mu.skipAnimations)&&(u=!0,L_(c),c.delay=0),c.allowFlatten=!y.type&&!y.ease,u&&!p&&e.get()!==void 0){const d=wq(c.keyframes,y);if(d!==void 0){ko.update(()=>{c.onUpdate(d),c.onComplete()});return}}return y.isSync?new E_(c):new JY(c)};function Nq({protectedKeys:t,needsAnimating:e},i){const a=t.hasOwnProperty(i)&&e[i]!==!0;return e[i]=!1,a}function X$(t,e,{delay:i=0,transitionOverride:a,type:E}={}){let{transition:p=t.getDefaultTransition(),transitionEnd:g,...y}=e;a&&(p=a);const f=[],b=E&&t.animationState&&t.animationState.getState()[E];for(const c in y){const u=t.getValue(c,t.latestValues[c]??null),d=y[c];if(d===void 0||b&&Nq(b,c))continue;const h={delay:i,...O_(p||{},c)},m=u.get();if(m!==void 0&&!u.isAnimating&&!Array.isArray(d)&&d===m&&!h.velocity)continue;let S=!1;if(window.MotionHandoffAnimation){const A=Y$(t);if(A){const N=window.MotionHandoffAnimation(A,c,ko);N!==null&&(h.startTime=N,S=!0)}}q_(t,c),u.start(K_(c,u,d,t.shouldReduceMotion&&J5.has(c)?{type:!1}:h,t,S));const T=u.animation;T&&f.push(T)}return g&&Promise.all(f).then(()=>{ko.update(()=>{g&&vq(t,g)})}),f}function q$(t,e,i,a=0,E=1){const p=Array.from(t).sort((b,c)=>b.sortNodePosition(c)).indexOf(e),g=t.size,y=(g-1)*a;return typeof i=="function"?i(p,g):E===1?p*a:y-p*a}function Z_(t,e,i={}){var f;const a=eg(t,e,i.type==="exit"?(f=t.presenceContext)==null?void 0:f.custom:void 0);let{transition:E=t.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(E=i.transitionOverride);const p=a?()=>Promise.all(X$(t,a,i)):()=>Promise.resolve(),g=t.variantChildren&&t.variantChildren.size?(b=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=E;return Lq(t,e,b,c,u,d,i)}:()=>Promise.resolve(),{when:y}=E;if(y){const[b,c]=y==="beforeChildren"?[p,g]:[g,p];return b().then(()=>c())}else return Promise.all([p(),g(i.delay)])}function Lq(t,e,i=0,a=0,E=0,p=1,g){const y=[];for(const f of t.variantChildren)f.notify("AnimationStart",e),y.push(Z_(f,e,{...g,delay:i+(typeof a=="function"?0:a)+q$(t.variantChildren,f,a,E,p)}).then(()=>f.notify("AnimationComplete",e)));return Promise.all(y)}function Oq(t,e,i={}){t.notify("AnimationStart",e);let a;if(Array.isArray(e)){const E=e.map(p=>Z_(t,p,i));a=Promise.all(E)}else if(typeof e=="string")a=Z_(t,e,i);else{const E=typeof e=="function"?eg(t,e,i.custom):e;a=Promise.all(X$(t,E,i))}return a.then(()=>{t.notify("AnimationComplete",e)})}function K$(t,e){if(!Array.isArray(e))return!1;const i=e.length;if(i!==t.length)return!1;for(let a=0;a<i;a++)if(e[a]!==t[a])return!1;return!0}const Dq=U_.length;function Z$(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Z$(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const e={};for(let i=0;i<Dq;i++){const a=U_[i],E=t.props[a];(l0(E)||E===!1)&&(e[a]=E)}return e}const Rq=[...$_].reverse(),Mq=$_.length;function kq(t){return e=>Promise.all(e.map(({animation:i,options:a})=>Oq(t,i,a)))}function Iq(t){let e=kq(t),i=J$(),a=!0;const E=f=>(b,c)=>{var d;const u=eg(t,c,f==="exit"?(d=t.presenceContext)==null?void 0:d.custom:void 0);if(u){const{transition:h,transitionEnd:m,...S}=u;b={...b,...S,...m}}return b};function p(f){e=f(t)}function g(f){const{props:b}=t,c=Z$(t.parent)||{},u=[],d=new Set;let h={},m=1/0;for(let T=0;T<Mq;T++){const A=Rq[T],N=i[A],D=b[A]!==void 0?b[A]:c[A],R=l0(D),L=A===f?N.isActive:null;L===!1&&(m=T);let C=D===c[A]&&D!==b[A]&&R;if(C&&a&&t.manuallyAnimateOnMount&&(C=!1),N.protectedKeys={...h},!N.isActive&&L===null||!D&&!N.prevProp||E1(D)||typeof D=="boolean")continue;const $=$q(N.prevProp,D);let F=$||A===f&&N.isActive&&!C&&R||T>m&&R,U=!1;const j=Array.isArray(D)?D:[D];let X=j.reduce(E(A),{});L===!1&&(X={});const{prevResolvedValues:P={}}=N,B={...P,...X},k=W=>{F=!0,d.has(W)&&(U=!0,d.delete(W)),N.needsAnimating[W]=!0;const Q=t.getValue(W);Q&&(Q.liveStyle=!1)};for(const W in B){const Q=X[W],J=P[W];if(h.hasOwnProperty(W))continue;let K=!1;X_(Q)&&X_(J)?K=!K$(Q,J):K=Q!==J,K?Q!=null?k(W):d.add(W):Q!==void 0&&d.has(W)?k(W):N.protectedKeys[W]=!0}N.prevProp=D,N.prevResolvedValues=X,N.isActive&&(h={...h,...X}),a&&t.blockInitialAnimation&&(F=!1);const M=C&&$;F&&(!M||U)&&u.push(...j.map(W=>{const Q={type:A};if(typeof W=="string"&&a&&!M&&t.manuallyAnimateOnMount&&t.parent){const{parent:J}=t,K=eg(J,W);if(J.enteringChildren&&K){const{delayChildren:Z}=K.transition||{};Q.delay=q$(J.enteringChildren,t,Z)}}return{animation:W,options:Q}}))}if(d.size){const T={};if(typeof b.initial!="boolean"){const A=eg(t,Array.isArray(b.initial)?b.initial[0]:b.initial);A&&A.transition&&(T.transition=A.transition)}d.forEach(A=>{const N=t.getBaseTarget(A),D=t.getValue(A);D&&(D.liveStyle=!0),T[A]=N??null}),u.push({animation:T})}let S=!!u.length;return a&&(b.initial===!1||b.initial===b.animate)&&!t.manuallyAnimateOnMount&&(S=!1),a=!1,S?e(u):Promise.resolve()}function y(f,b){var u;if(i[f].isActive===b)return Promise.resolve();(u=t.variantChildren)==null||u.forEach(d=>{var h;return(h=d.animationState)==null?void 0:h.setActive(f,b)}),i[f].isActive=b;const c=g(f);for(const d in i)i[d].protectedKeys={};return c}return{animateChanges:g,setActive:y,setAnimateFunction:p,getState:()=>i,reset:()=>{i=J$(),a=!0}}}function $q(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!K$(e,t):!1}function Bh(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function J$(){return{animate:Bh(!0),whileInView:Bh(),whileHover:Bh(),whileTap:Bh(),whileDrag:Bh(),whileFocus:Bh(),exit:Bh()}}class Gd{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Uq extends Gd{constructor(e){super(e),e.animationState||(e.animationState=Iq(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();E1(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:i}=this.node.prevProps||{};e!==i&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let Hq=0;class jq extends Gd{constructor(){super(...arguments),this.id=Hq++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:i}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===a)return;const E=this.node.animationState.setActive("exit",!e);i&&!e&&E.then(()=>{i(this.id)})}mount(){const{register:e,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const zq={animation:{Feature:Uq},exit:{Feature:jq}};function u0(t,e,i,a={passive:!0}){return t.addEventListener(e,i,a),()=>t.removeEventListener(e,i)}function d0(t){return{point:{x:t.pageX,y:t.pageY}}}const Bq=t=>e=>k_(e)&&t(e,d0(e));function f0(t,e,i,a){return u0(t,e,Bq(i),a)}const e6=1e-4,Fq=1-e6,Pq=1+e6,t6=.01,Vq=0-t6,Gq=0+t6;function Xr(t){return t.max-t.min}function Qq(t,e,i){return Math.abs(t-e)<=i}function n6(t,e,i,a=.5){t.origin=a,t.originPoint=zo(e.min,e.max,t.origin),t.scale=Xr(i)/Xr(e),t.translate=zo(i.min,i.max,t.origin)-t.originPoint,(t.scale>=Fq&&t.scale<=Pq||isNaN(t.scale))&&(t.scale=1),(t.translate>=Vq&&t.translate<=Gq||isNaN(t.translate))&&(t.translate=0)}function h0(t,e,i,a){n6(t.x,e.x,i.x,a?a.originX:void 0),n6(t.y,e.y,i.y,a?a.originY:void 0)}function o6(t,e,i){t.min=i.min+e.min,t.max=t.min+Xr(e)}function Wq(t,e,i){o6(t.x,e.x,i.x),o6(t.y,e.y,i.y)}function i6(t,e,i){t.min=e.min-i.min,t.max=t.min+Xr(e)}function m0(t,e,i){i6(t.x,e.x,i.x),i6(t.y,e.y,i.y)}function Us(t){return[t("x"),t("y")]}const r6=({current:t})=>t?t.ownerDocument.defaultView:null,a6=(t,e)=>Math.abs(t-e);function Yq(t,e){const i=a6(t.x,e.x),a=a6(t.y,e.y);return Math.sqrt(i**2+a**2)}class s6{constructor(e,i,{transformPagePoint:a,contextWindow:E=window,dragSnapToOrigin:p=!1,distanceThreshold:g=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=eC(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,m=Yq(d.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!m)return;const{point:S}=d,{timestamp:T}=er;this.history.push({...S,timestamp:T});const{onStart:A,onMove:N}=this.handlers;h||(A&&A(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=J_(h,this.transformPagePoint),ko.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{this.end();const{onEnd:m,onSessionEnd:S,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=eC(d.type==="pointercancel"?this.lastMoveEventInfo:J_(h,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,A),S&&S(d,A)},!k_(e))return;this.dragSnapToOrigin=p,this.handlers=i,this.transformPagePoint=a,this.distanceThreshold=g,this.contextWindow=E||window;const y=d0(e),f=J_(y,this.transformPagePoint),{point:b}=f,{timestamp:c}=er;this.history=[{...b,timestamp:c}];const{onSessionStart:u}=i;u&&u(e,eC(f,this.history)),this.removeListeners=e0(f0(this.contextWindow,"pointermove",this.handlePointerMove),f0(this.contextWindow,"pointerup",this.handlePointerUp),f0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Fd(this.updatePoint)}}function J_(t,e){return e?{point:e(t.point)}:t}function l6(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eC({point:t},e){return{point:t,delta:l6(t,c6(e)),offset:l6(t,Xq(e)),velocity:qq(e,.1)}}function Xq(t){return t[0]}function c6(t){return t[t.length-1]}function qq(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,a=null;const E=c6(t);for(;i>=0&&(a=t[i],!(E.timestamp-a.timestamp>Ol(e)));)i--;if(!a)return{x:0,y:0};const p=$s(E.timestamp-a.timestamp);if(p===0)return{x:0,y:0};const g={x:(E.x-a.x)/p,y:(E.y-a.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function Kq(t,{min:e,max:i},a){return e!==void 0&&t<e?t=a?zo(e,t,a.min):Math.max(t,e):i!==void 0&&t>i&&(t=a?zo(i,t,a.max):Math.min(t,i)),t}function u6(t,e,i){return{min:e!==void 0?t.min+e:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function Zq(t,{top:e,left:i,bottom:a,right:E}){return{x:u6(t.x,i,E),y:u6(t.y,e,a)}}function d6(t,e){let i=e.min-t.min,a=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,a]=[a,i]),{min:i,max:a}}function Jq(t,e){return{x:d6(t.x,e.x),y:d6(t.y,e.y)}}function eK(t,e){let i=.5;const a=Xr(t),E=Xr(e);return E>a?i=t0(e.min,e.max-a,t.min):a>E&&(i=t0(t.min,t.max-E,e.min)),fu(0,1,i)}function tK(t,e){const i={};return e.min!==void 0&&(i.min=e.min-t.min),e.max!==void 0&&(i.max=e.max-t.min),i}const tC=.35;function nK(t=tC){return t===!1?t=0:t===!0&&(t=tC),{x:f6(t,"left","right"),y:f6(t,"top","bottom")}}function f6(t,e,i){return{min:h6(t,e),max:h6(t,i)}}function h6(t,e){return typeof t=="number"?t:t[e]||0}const oK=new WeakMap;class iK{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ri(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:i=!1,distanceThreshold:a}={}){const{presenceContext:E}=this.visualElement;if(E&&E.isPresent===!1)return;const p=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(d0(u).point)},g=(u,d)=>{const{drag:h,dragPropagation:m,onDragStart:S}=this.getProps();if(h&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gX(h),!this.openDragLock))return;this.latestPointerEvent=u,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Us(A=>{let N=this.getAxisMotionValue(A).get()||0;if(vc.test(N)){const{projection:D}=this.visualElement;if(D&&D.layout){const R=D.layout.layoutBox[A];R&&(N=Xr(R)*(parseFloat(N)/100))}}this.originPoint[A]=N}),S&&ko.postRender(()=>S(u,d)),q_(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},y=(u,d)=>{this.latestPointerEvent=u,this.latestPanInfo=d;const{dragPropagation:h,dragDirectionLock:m,onDirectionLock:S,onDrag:T}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:A}=d;if(m&&this.currentDirection===null){this.currentDirection=rK(A),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",d.point,A),this.updateAxis("y",d.point,A),this.visualElement.render(),T&&T(u,d)},f=(u,d)=>{this.latestPointerEvent=u,this.latestPanInfo=d,this.stop(u,d),this.latestPointerEvent=null,this.latestPanInfo=null},b=()=>Us(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)==null?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new s6(e,{onSessionStart:p,onStart:g,onMove:y,onSessionEnd:f,resumeAnimation:b},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:a,contextWindow:r6(this.visualElement)})}stop(e,i){const a=e||this.latestPointerEvent,E=i||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!E||!a)return;const{velocity:g}=E;this.startAnimation(g);const{onDragEnd:y}=this.getProps();y&&ko.postRender(()=>y(a,E))}cancel(){this.isDragging=!1;const{projection:e,animationState:i}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(e,i,a){const{drag:E}=this.getProps();if(!a||!A1(e,E,this.currentDirection))return;const p=this.getAxisMotionValue(e);let g=this.originPoint[e]+a[e];this.constraints&&this.constraints[e]&&(g=Kq(g,this.constraints[e],this.elastic[e])),p.set(g)}resolveConstraints(){var p;const{dragConstraints:e,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(p=this.visualElement.projection)==null?void 0:p.layout,E=this.constraints;e&&qp(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&a?this.constraints=Zq(a.layoutBox,e):this.constraints=!1,this.elastic=nK(i),E!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Us(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=tK(a.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!qp(e))return!1;const a=e.current;hu(a!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:E}=this.visualElement;if(!E||!E.layout)return!1;const p=aq(a,E.root,this.visualElement.getTransformPagePoint());let g=Jq(E.layout.layoutBox,p);if(i){const y=i(oq(g));this.hasMutatedConstraints=!!y,y&&(g=R$(y))}return g}startAnimation(e){const{drag:i,dragMomentum:a,dragElastic:E,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:y}=this.getProps(),f=this.constraints||{},b=Us(c=>{if(!A1(c,i,this.currentDirection))return;let u=f&&f[c]||{};g&&(u={min:0,max:0});const d=E?200:1e6,h=E?40:1e7,m={type:"inertia",velocity:a?e[c]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...p,...u};return this.startAxisValueAnimation(c,m)});return Promise.all(b).then(y)}startAxisValueAnimation(e,i){const a=this.getAxisMotionValue(e);return q_(this.visualElement,e),a.start(K_(e,a,0,i,this.visualElement,!1))}stopAnimation(){Us(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Us(e=>{var i;return(i=this.getAxisMotionValue(e).animation)==null?void 0:i.pause()})}getAnimationState(e){var i;return(i=this.getAxisMotionValue(e).animation)==null?void 0:i.state}getAxisMotionValue(e){const i=`_drag${e.toUpperCase()}`,a=this.visualElement.getProps(),E=a[i];return E||this.visualElement.getValue(e,(a.initial?a.initial[e]:void 0)||0)}snapToCursor(e){Us(i=>{const{drag:a}=this.getProps();if(!A1(i,a,this.currentDirection))return;const{projection:E}=this.visualElement,p=this.getAxisMotionValue(i);if(E&&E.layout){const{min:g,max:y}=E.layout.layoutBox[i];p.set(e[i]-zo(g,y,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:i}=this.getProps(),{projection:a}=this.visualElement;if(!qp(i)||!a||!this.constraints)return;this.stopAnimation();const E={x:0,y:0};Us(g=>{const y=this.getAxisMotionValue(g);if(y&&this.constraints!==!1){const f=y.get();E[g]=eK({min:f,max:f},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),Us(g=>{if(!A1(g,e,null))return;const y=this.getAxisMotionValue(g),{min:f,max:b}=this.constraints[g];y.set(zo(f,b,E[g]))})}addListeners(){if(!this.visualElement.current)return;oK.set(this.visualElement,this);const e=this.visualElement.current,i=f0(e,"pointerdown",f=>{const{drag:b,dragListener:c=!0}=this.getProps();b&&c&&this.start(f)}),a=()=>{const{dragConstraints:f}=this.getProps();qp(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:E}=this.visualElement,p=E.addEventListener("measure",a);E&&!E.layout&&(E.root&&E.root.updateScroll(),E.updateLayout()),ko.read(a);const g=u0(window,"resize",()=>this.scalePositionWithinConstraints()),y=E.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:b})=>{this.isDragging&&b&&(Us(c=>{const u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=f[c].translate,u.set(u.get()+f[c].translate))}),this.visualElement.render())}));return()=>{g(),i(),p(),y&&y()}}getProps(){const e=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:a=!1,dragPropagation:E=!1,dragConstraints:p=!1,dragElastic:g=tC,dragMomentum:y=!0}=e;return{...e,drag:i,dragDirectionLock:a,dragPropagation:E,dragConstraints:p,dragElastic:g,dragMomentum:y}}}function A1(t,e,i){return(e===!0||e===t)&&(i===null||i===t)}function rK(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}class aK extends Gd{constructor(e){super(e),this.removeGroupControls=Is,this.removeListeners=Is,this.controls=new iK(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Is}unmount(){this.removeGroupControls(),this.removeListeners()}}const m6=t=>(e,i)=>{t&&ko.postRender(()=>t(e,i))};class sK extends Gd{constructor(){super(...arguments),this.removePointerDownListener=Is}onPointerDown(e){this.session=new s6(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r6(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:i,onPan:a,onPanEnd:E}=this.node.getProps();return{onSessionStart:m6(e),onStart:m6(i),onMove:a,onEnd:(p,g)=>{delete this.session,E&&ko.postRender(()=>E(p,g))}}}mount(){this.removePointerDownListener=f0(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const x1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function p6(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const p0={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(Yt.test(t))t=parseFloat(t);else return t;const i=p6(t,e.target.x),a=p6(t,e.target.y);return`${i}% ${a}%`}},lK={correct:(t,{treeScale:e,projectionDelta:i})=>{const a=t,E=Vd.parse(t);if(E.length>5)return a;const p=Vd.createTransformer(t),g=typeof E[0]!="number"?1:0,y=i.x.scale*e.x,f=i.y.scale*e.y;E[0+g]/=y,E[1+g]/=f;const b=zo(y,f,.5);return typeof E[2+g]=="number"&&(E[2+g]/=b),typeof E[3+g]=="number"&&(E[3+g]/=b),p(E)}};let nC=!1;class cK extends Y.Component{componentDidMount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:a,layoutId:E}=this.props,{projection:p}=e;RX(uK),p&&(i.group&&i.group.add(p),a&&a.register&&E&&a.register(p),nC&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),x1.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:i,visualElement:a,drag:E,isPresent:p}=this.props,{projection:g}=a;return g&&(g.isPresent=p,nC=!0,E||e.layoutDependency!==i||i===void 0||e.isPresent!==p?g.willUpdate():this.safeToRemove(),e.isPresent!==p&&(p?g.promote():g.relegate()||ko.postRender(()=>{const y=g.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),M_.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:a}=this.props,{projection:E}=e;nC=!0,E&&(E.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(E),a&&a.deregister&&a.deregister(E))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function g6(t){const[e,i]=xX(),a=Y.useContext(i5);return H.jsx(cK,{...t,layoutGroup:a,switchLayoutGroup:Y.useContext(O$),isPresent:e,safeToRemove:i})}const uK={borderRadius:{...p0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:p0,borderTopRightRadius:p0,borderBottomLeftRadius:p0,borderBottomRightRadius:p0,boxShadow:lK};function dK(t,e,i){const a=Nr(t)?t:Yp(t);return a.start(K_("",a,e,i)),a.animation}const fK=(t,e)=>t.depth-e.depth;class hK{constructor(){this.children=[],this.isDirty=!1}add(e){Xx(this.children,e),this.isDirty=!0}remove(e){qx(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fK),this.isDirty=!1,this.children.forEach(e)}}function mK(t,e){const i=wa.now(),a=({timestamp:E})=>{const p=E-i;p>=e&&(Fd(a),t(p-e))};return ko.setup(a,!0),()=>Fd(a)}const b6=["TopLeft","TopRight","BottomLeft","BottomRight"],pK=b6.length,v6=t=>typeof t=="string"?parseFloat(t):t,y6=t=>typeof t=="number"||Yt.test(t);function gK(t,e,i,a,E,p){E?(t.opacity=zo(0,i.opacity??1,bK(a)),t.opacityExit=zo(e.opacity??1,0,vK(a))):p&&(t.opacity=zo(e.opacity??1,i.opacity??1,a));for(let g=0;g<pK;g++){const y=`border${b6[g]}Radius`;let f=E6(e,y),b=E6(i,y);if(f===void 0&&b===void 0)continue;f||(f=0),b||(b=0),f===0||b===0||y6(f)===y6(b)?(t[y]=Math.max(zo(v6(f),v6(b),a),0),(vc.test(b)||vc.test(f))&&(t[y]+="%")):t[y]=b}(e.rotate||i.rotate)&&(t.rotate=zo(e.rotate||0,i.rotate||0,a))}function E6(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const bK=w6(0,.5,g5),vK=w6(.5,.95,Is);function w6(t,e,i){return a=>a<t?0:a>e?1:i(t0(t,e,a))}function S6(t,e){t.min=e.min,t.max=e.max}function Hs(t,e){S6(t.x,e.x),S6(t.y,e.y)}function T6(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function A6(t,e,i,a,E){return t-=e,t=T1(t,1/i,a),E!==void 0&&(t=T1(t,1/E,a)),t}function yK(t,e=0,i=1,a=.5,E,p=t,g=t){if(vc.test(e)&&(e=parseFloat(e),e=zo(g.min,g.max,e/100)-g.min),typeof e!="number")return;let y=zo(p.min,p.max,a);t===p&&(y-=e),t.min=A6(t.min,e,i,y,E),t.max=A6(t.max,e,i,y,E)}function x6(t,e,[i,a,E],p,g){yK(t,e[i],e[a],e[E],e.scale,p,g)}const EK=["x","scaleX","originX"],wK=["y","scaleY","originY"];function _6(t,e,i,a){x6(t.x,e,EK,i?i.x:void 0,a?a.x:void 0),x6(t.y,e,wK,i?i.y:void 0,a?a.y:void 0)}function C6(t){return t.translate===0&&t.scale===1}function N6(t){return C6(t.x)&&C6(t.y)}function L6(t,e){return t.min===e.min&&t.max===e.max}function SK(t,e){return L6(t.x,e.x)&&L6(t.y,e.y)}function O6(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function D6(t,e){return O6(t.x,e.x)&&O6(t.y,e.y)}function R6(t){return Xr(t.x)/Xr(t.y)}function M6(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class TK{constructor(){this.members=[]}add(e){Xx(this.members,e),e.scheduleRender()}remove(e){if(qx(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(e){const i=this.members.findIndex(E=>e===E);if(i===0)return!1;let a;for(let E=i;E>=0;E--){const p=this.members[E];if(p.isPresent!==!1){a=p;break}}return a?(this.promote(a),!0):!1}promote(e,i){const a=this.lead;if(e!==a&&(this.prevLead=a,this.lead=e,e.show(),a)){a.instance&&a.scheduleRender(),e.scheduleRender(),e.resumeFrom=a,i&&(e.resumeFrom.preserveOpacity=!0),a.snapshot&&(e.snapshot=a.snapshot,e.snapshot.latestValues=a.animationValues||a.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:E}=e.options;E===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:i,resumingFrom:a}=e;i.onExitComplete&&i.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function AK(t,e,i){let a="";const E=t.x.translate/e.x,p=t.y.translate/e.y,g=(i==null?void 0:i.z)||0;if((E||p||g)&&(a=`translate3d(${E}px, ${p}px, ${g}px) `),(e.x!==1||e.y!==1)&&(a+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:b,rotate:c,rotateX:u,rotateY:d,skewX:h,skewY:m}=i;b&&(a=`perspective(${b}px) ${a}`),c&&(a+=`rotate(${c}deg) `),u&&(a+=`rotateX(${u}deg) `),d&&(a+=`rotateY(${d}deg) `),h&&(a+=`skewX(${h}deg) `),m&&(a+=`skewY(${m}deg) `)}const y=t.x.scale*e.x,f=t.y.scale*e.y;return(y!==1||f!==1)&&(a+=`scale(${y}, ${f})`),a||"none"}const oC=["","X","Y","Z"],xK=1e3;let _K=0;function iC(t,e,i,a){const{latestValues:E}=e;E[t]&&(i[t]=E[t],e.setStaticValue(t,0),a&&(a[t]=0))}function k6(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=Y$(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:E,layoutId:p}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ko,!(E||p))}const{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&k6(a)}function I6({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:a,resetTransform:E}){return class{constructor(g={},y=e==null?void 0:e()){this.id=_K++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(LK),this.nodes.forEach(MK),this.nodes.forEach(kK),this.nodes.forEach(OK)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new hK)}addEventListener(g,y){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Jx),this.eventHandlers.get(g).add(y)}notifyListeners(g,...y){const f=this.eventHandlers.get(g);f&&f.notify(...y)}hasListeners(g){return this.eventHandlers.has(g)}mount(g){if(this.instance)return;this.isSVG=m$(g)&&!SX(g),this.instance=g;const{layoutId:y,layout:f,visualElement:b}=this.options;if(b&&!b.current&&b.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||y)&&(this.isLayoutDirty=!0),t){let c,u=0;const d=()=>this.root.updateBlockedByResize=!1;ko.read(()=>{u=window.innerWidth}),t(g,()=>{const h=window.innerWidth;h!==u&&(u=h,this.root.updateBlockedByResize=!0,c&&c(),c=mK(d,250),x1.hasAnimatedSinceResize&&(x1.hasAnimatedSinceResize=!1,this.nodes.forEach(H6)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&b&&(y||f)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u,hasRelativeLayoutChanged:d,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||b.getDefaultTransition()||jK,{onLayoutAnimationStart:S,onLayoutAnimationComplete:T}=b.getProps(),A=!this.targetLayout||!D6(this.targetLayout,h),N=!u&&d;if(this.options.layoutRoot||this.resumeFrom||N||u&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const D={...O_(m,"layout"),onPlay:S,onComplete:T};(b.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D),this.setAnimationOrigin(c,N)}else u||H6(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fd(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(IK),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&k6(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const u=this.path[c];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:y,layout:f}=this.options;if(y===void 0&&!f)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($6);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(U6);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(RK),this.nodes.forEach(CK),this.nodes.forEach(NK)):this.nodes.forEach(U6),this.clearAllSnapshots();const y=wa.now();er.delta=fu(0,1e3/60,y-er.timestamp),er.timestamp=y,er.isProcessing=!0,o_.update.process(er),o_.preRender.process(er),o_.render.process(er),er.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,M_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(DK),this.sharedNodes.forEach($K)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ko.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ko.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Xr(this.snapshot.measuredBox.x)&&!Xr(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ri(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(y=!1),y&&this.instance){const f=a(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:f,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!E)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!N6(this.projectionDelta),f=this.getTransformTemplate(),b=f?f(this.latestValues,""):void 0,c=b!==this.prevTransformTemplateValue;g&&this.instance&&(y||zh(this.latestValues)||c)&&(E(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const y=this.measurePageBox();let f=this.removeElementScroll(y);return g&&(f=this.removeTransform(f)),zK(f),{animationId:this.root.animationId,measuredBox:y,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var b;const{visualElement:g}=this.options;if(!g)return ri();const y=g.measureViewportBox();if(!(((b=this.scroll)==null?void 0:b.wasRoot)||this.path.some(BK))){const{scroll:c}=this.root;c&&(Kp(y.x,c.offset.x),Kp(y.y,c.offset.y))}return y}removeElementScroll(g){var f;const y=ri();if(Hs(y,g),(f=this.scroll)!=null&&f.wasRoot)return y;for(let b=0;b<this.path.length;b++){const c=this.path[b],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&Hs(y,g),Kp(y.x,u.offset.x),Kp(y.y,u.offset.y))}return y}applyTransform(g,y=!1){const f=ri();Hs(f,g);for(let b=0;b<this.path.length;b++){const c=this.path[b];!y&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Zp(f,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),zh(c.latestValues)&&Zp(f,c.latestValues)}return zh(this.latestValues)&&Zp(f,this.latestValues),f}removeTransform(g){const y=ri();Hs(y,g);for(let f=0;f<this.path.length;f++){const b=this.path[f];if(!b.instance||!zh(b.latestValues))continue;Q_(b.latestValues)&&b.updateSnapshot();const c=ri(),u=b.measurePageBox();Hs(c,u),_6(y,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,c)}return zh(this.latestValues)&&_6(y,this.latestValues),y}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==er.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var d;const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==y;if(!(g||f&&this.isSharedProjectionDirty||this.isProjectionDirty||(d=this.parent)!=null&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:u}=this.options;if(!(!this.layout||!(c||u))){if(this.resolvedRelativeTargetAt=er.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ri(),this.relativeTargetOrigin=ri(),m0(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Hs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ri(),this.targetWithTransforms=ri()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Wq(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Hs(this.target,this.layout.layoutBox),$$(this.target,this.targetDelta)):Hs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ri(),this.relativeTargetOrigin=ri(),m0(this.relativeTargetOrigin,this.target,h.target),Hs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Q_(this.parent.latestValues)||M$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var m;const g=this.getLead(),y=!!this.resumingFrom||this!==g;let f=!0;if((this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty)&&(f=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===er.timestamp&&(f=!1),f)return;const{layout:b,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(b||c))return;Hs(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,d=this.treeScale.y;rq(this.layoutCorrected,this.treeScale,this.path,y),g.layout&&!g.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(g.target=g.layout.layoutBox,g.targetWithTransforms=ri());const{target:h}=g;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(T6(this.prevProjectionDelta.x,this.projectionDelta.x),T6(this.prevProjectionDelta.y,this.projectionDelta.y)),h0(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==d||!M6(this.projectionDelta.x,this.prevProjectionDelta.x)||!M6(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var y;if((y=this.options.visualElement)==null||y.scheduleRender(),g){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jp(),this.projectionDelta=Jp(),this.projectionDeltaWithTransform=Jp()}setAnimationOrigin(g,y=!1){const f=this.snapshot,b=f?f.latestValues:{},c={...this.latestValues},u=Jp();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const d=ri(),h=f?f.source:void 0,m=this.layout?this.layout.source:void 0,S=h!==m,T=this.getStack(),A=!T||T.members.length<=1,N=!!(S&&!A&&this.options.crossfade===!0&&!this.path.some(HK));this.animationProgress=0;let D;this.mixTargetDelta=R=>{const L=R/1e3;j6(u.x,g.x,L),j6(u.y,g.y,L),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(m0(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),UK(this.relativeTarget,this.relativeTargetOrigin,d,L),D&&SK(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=ri()),Hs(D,this.relativeTarget)),S&&(this.animationValues=c,gK(c,b,this.latestValues,L,N,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){var y,f,b;this.notifyListeners("animationStart"),(y=this.currentAnimation)==null||y.stop(),(b=(f=this.resumingFrom)==null?void 0:f.currentAnimation)==null||b.stop(),this.pendingAnimation&&(Fd(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ko.update(()=>{x1.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Yp(0)),this.currentAnimation=dK(this.motionValue,[0,1e3],{...g,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),g.onUpdate&&g.onUpdate(c)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xK),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:y,target:f,layout:b,latestValues:c}=g;if(!(!y||!f||!b)){if(this!==g&&this.layout&&b&&V6(this.options.animationType,this.layout.layoutBox,b.layoutBox)){f=this.target||ri();const u=Xr(this.layout.layoutBox.x);f.x.min=g.target.x.min,f.x.max=f.x.min+u;const d=Xr(this.layout.layoutBox.y);f.y.min=g.target.y.min,f.y.max=f.y.min+d}Hs(y,f),Zp(y,c),h0(this.projectionDeltaWithTransform,this.layoutCorrected,y,c)}}registerSharedNode(g,y){this.sharedNodes.has(g)||this.sharedNodes.set(g,new TK),this.sharedNodes.get(g).add(y);const b=y.options.initialPromotionConfig;y.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(y):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var y;const{layoutId:g}=this.options;return g?((y=this.getStack())==null?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:g}=this.options;return g?(y=this.getStack())==null?void 0:y.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:y,preserveFollowOpacity:f}={}){const b=this.getStack();b&&b.promote(this,f),g&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let y=!1;const{latestValues:f}=g;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(y=!0),!y)return;const b={};f.z&&iC("z",g,b,this.animationValues);for(let c=0;c<oC.length;c++)iC(`rotate${oC[c]}`,g,b,this.animationValues),iC(`skew${oC[c]}`,g,b,this.animationValues);g.render();for(const c in b)g.setStaticValue(c,b[c]),this.animationValues&&(this.animationValues[c]=b[c]);g.scheduleRender()}applyProjectionStyles(g,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){g.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,g.visibility="",g.opacity="",g.pointerEvents=S1(y==null?void 0:y.pointerEvents)||"",g.transform=f?f(this.latestValues,""):"none";return}const b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=S1(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!zh(this.latestValues)&&(g.transform=f?f({},""):"none",this.hasProjected=!1);return}g.visibility="";const c=b.animationValues||b.latestValues;this.applyTransformsToTarget();let u=AK(this.projectionDeltaWithTransform,this.treeScale,c);f&&(u=f(c,u)),g.transform=u;const{x:d,y:h}=this.projectionDelta;g.transformOrigin=`${d.origin*100}% ${h.origin*100}% 0`,b.animationValues?g.opacity=b===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:g.opacity=b===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const m in c0){if(c[m]===void 0)continue;const{correct:S,applyTo:T,isCSSVariable:A}=c0[m],N=u==="none"?c[m]:S(c[m],b);if(T){const D=T.length;for(let R=0;R<D;R++)g[T[R]]=N}else A?this.options.visualElement.renderState.vars[m]=N:g[m]=N}this.options.layoutId&&(g.pointerEvents=b===this?S1(y==null?void 0:y.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var y;return(y=g.currentAnimation)==null?void 0:y.stop()}),this.root.nodes.forEach($6),this.root.sharedNodes.clear()}}}function CK(t){t.updateLayout()}function NK(t){var i;const e=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:E}=t.layout,{animationType:p}=t.options,g=e.source!==t.layout.source;p==="size"?Us(u=>{const d=g?e.measuredBox[u]:e.layoutBox[u],h=Xr(d);d.min=a[u].min,d.max=d.min+h}):V6(p,e.layoutBox,a)&&Us(u=>{const d=g?e.measuredBox[u]:e.layoutBox[u],h=Xr(a[u]);d.max=d.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+h)});const y=Jp();h0(y,a,e.layoutBox);const f=Jp();g?h0(f,t.applyTransform(E,!0),e.measuredBox):h0(f,a,e.layoutBox);const b=!N6(y);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:h}=u;if(d&&h){const m=ri();m0(m,e.layoutBox,d.layoutBox);const S=ri();m0(S,a,h.layoutBox),D6(m,S)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=S,t.relativeTargetOrigin=m,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:a,snapshot:e,delta:f,layoutDelta:y,hasLayoutChanged:b,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:a}=t.options;a&&a()}t.options.transition=void 0}function LK(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function OK(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function DK(t){t.clearSnapshot()}function $6(t){t.clearMeasurements()}function U6(t){t.isLayoutDirty=!1}function RK(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function H6(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function MK(t){t.resolveTargetDelta()}function kK(t){t.calcProjection()}function IK(t){t.resetSkewAndRotation()}function $K(t){t.removeLeadSnapshot()}function j6(t,e,i){t.translate=zo(e.translate,0,i),t.scale=zo(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function z6(t,e,i,a){t.min=zo(e.min,i.min,a),t.max=zo(e.max,i.max,a)}function UK(t,e,i,a){z6(t.x,e.x,i.x,a),z6(t.y,e.y,i.y,a)}function HK(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const jK={duration:.45,ease:[.4,0,.1,1]},B6=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),F6=B6("applewebkit/")&&!B6("chrome/")?Math.round:Is;function P6(t){t.min=F6(t.min),t.max=F6(t.max)}function zK(t){P6(t.x),P6(t.y)}function V6(t,e,i){return t==="position"||t==="preserve-aspect"&&!Qq(R6(e),R6(i),.2)}function BK(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const FK=I6({attachResizeListener:(t,e)=>u0(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rC={current:void 0},G6=I6({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rC.current){const t=new FK({});t.mount(window),t.setOptions({layoutScroll:!0}),rC.current=t}return rC.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),PK={pan:{Feature:sK},drag:{Feature:aK,ProjectionNode:G6,MeasureLayout:g6}};function Q6(t,e,i){const{props:a}=t;t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",i==="Start");const E="onHover"+i,p=a[E];p&&ko.postRender(()=>p(e,d0(e)))}class VK extends Gd{mount(){const{current:e}=this.node;e&&(this.unmount=bX(e,(i,a)=>(Q6(this.node,a,"Start"),E=>Q6(this.node,E,"End"))))}unmount(){}}class GK extends Gd{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=e0(u0(this.node.current,"focus",()=>this.onFocus()),u0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function W6(t,e,i){const{props:a}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&a.whileTap&&t.animationState.setActive("whileTap",i==="Start");const E="onTap"+(i==="End"?"":i),p=a[E];p&&ko.postRender(()=>p(e,d0(e)))}class QK extends Gd{mount(){const{current:e}=this.node;e&&(this.unmount=wX(e,(i,a)=>(W6(this.node,a,"Start"),(E,{success:p})=>W6(this.node,E,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const aC=new WeakMap,sC=new WeakMap,WK=t=>{const e=aC.get(t.target);e&&e(t)},YK=t=>{t.forEach(WK)};function XK({root:t,...e}){const i=t||document;sC.has(i)||sC.set(i,{});const a=sC.get(i),E=JSON.stringify(e);return a[E]||(a[E]=new IntersectionObserver(YK,{root:t,...e})),a[E]}function qK(t,e,i){const a=XK(e);return aC.set(t,i),a.observe(t),()=>{aC.delete(t),a.unobserve(t)}}const KK={some:0,all:1};class ZK extends Gd{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:i,margin:a,amount:E="some",once:p}=e,g={root:i?i.current:void 0,rootMargin:a,threshold:typeof E=="number"?E:KK[E]},y=f=>{const{isIntersecting:b}=f;if(this.isInView===b||(this.isInView=b,p&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),d=b?c:u;d&&d(f)};return qK(this.node.current,g,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:i}=this.node;["amount","margin","root"].some(JK(e,i))&&this.startObserver()}unmount(){}}function JK({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}const eZ={...zq,...{inView:{Feature:ZK},tap:{Feature:QK},focus:{Feature:GK},hover:{Feature:VK}},...PK,...{layout:{ProjectionNode:G6,MeasureLayout:g6}}},Y6=nq(eZ,pq),X6=({onEditTransformation:t,onDeleteTransformation:e})=>H.jsxs(Dp,{children:[H.jsx(Ji.Item,{children:({active:i})=>H.jsxs("button",{onClick:t,className:"boomi-menu-item","data-headlessui-state":i?"active":void 0,children:[H.jsx(sL,{className:"boomi-menu-icon"}),"Edit Transformation"]})}),H.jsx(Ji.Item,{children:({active:i})=>H.jsxs("button",{onClick:e,className:"boomi-menu-item","data-headlessui-state":i?"active":void 0,children:[H.jsx(Sd,{className:"boomi-menu-icon"}),"Delete Transformation"]})})]}),tZ=140,lC=0,nZ=Y.forwardRef(({sourceFields:t,targetFields:e,functions:i,mappings:a=[],onMappingChange:E,onTransformationUpdate:p,onEditTransformation:g,onDeleteTransformation:y,onAddTransformation:f},b)=>{const[c,u]=Y.useState(null),d=Y.useRef(null),h=Y.useRef(new Map),m=Y.useRef(new Map),S=Y.useRef(new Map),T=Y.useRef(new Map),A=Y.useRef({}),[N,D]=Y.useState(!1),[R,L]=Y.useState(!1),[C,$]=Y.useState(null),[F,U]=Y.useState(null),[j,X]=Y.useState(null),[P,B]=Y.useState(null),[k,M]=Y.useState(null),I=Y.useRef(null),W=()=>{u(null),X(null),B(null),M(null)},Q=(de,Ve)=>{de&&(A.current[Ve]=de)},J=(de,Ve)=>Re=>{Re&&de.set(Ve,Re)},K=(de,Ve,Re,qe)=>{if(a.find(mt=>mt.fromXPath===de&&mt.toXPath===Ve&&mt.toFunction===Re&&mt.fromFunction===qe))return;const et=[...a,{fromXPath:de,toXPath:Ve,toFunction:Re,fromFunction:qe}];E==null||E(et)},Z=(de,Ve)=>{const Re=a.filter(qe=>!(qe.fromXPath===de&&qe.toXPath===Ve));E==null||E(Re)},re=de=>{const Ve=a.filter(Re=>Re.fromXPath!==de);E==null||E(Ve)},te=de=>{U(de),L(!0)},ae=()=>{C&&(re(C),$(null)),D(!1)},se=()=>{F&&(y==null||y(F),U(null)),L(!1)},ie=()=>{U(null),$(null),D(!1)},ue=de=>{$(de),D(!0)},me=()=>{const de=d.current;if(!de)return;for(;de.firstChild;)de.removeChild(de.firstChild);let Ve=!1;a.forEach(Re=>{const qe=Re.fromXPath,et=Re.toXPath;if(!qe)return;const mt=Re.fromFunction?`${Re.fromFunction}.out.${Qa(qe)}`:Qa(qe),xt=Re.toFunction?`${Re.toFunction}.in.${Qa(et)}`:Qa(et),$t=Re.fromFunction?T.current.get(mt):h.current.get(mt),ze=Re.toFunction?S.current.get(xt):m.current.get(xt);if(!$t||!ze)return;const tt=$t.getBoundingClientRect(),ct=ze.getBoundingClientRect(),gt=de.getBoundingClientRect(),at={x:tt.left+tt.width/2-gt.left,y:tt.top+tt.height/2-gt.top},Le={x:ct.left+ct.width/2-gt.left,y:ct.top+ct.height/2-gt.top},je=Le.x-at.x,it=Le.y-at.y,rt=je/1.5,St=Math.min(12,Math.abs(it)/2),Nt=it>0?1:-1,an={x:at.x+rt,y:at.y-Nt*St},Ot={x:Le.x-rt,y:Le.y-Nt*St},_t=`M ${at.x} ${at.y} C ${an.x} ${an.y} ${Ot.x} ${Ot.y} ${Le.x} ${Le.y}`,Et=c&&Re.fromXPath===c||j&&Re.toXPath===j||P&&(Re.fromFunction===P||Re.toFunction===P),xe=document.createElementNS("http://www.w3.org/2000/svg","path");xe.setAttribute("d",_t),xe.setAttribute("fill","none"),xe.setAttribute("stroke-linejoin","round"),xe.setAttribute("stroke-linecap","round"),Et&&(xe.classList.add("is-highlighted"),Ve=!0),de.appendChild(xe)}),Ve?de.classList.add("has-selection"):de.classList.remove("has-selection")},ve=de=>{const Ve=a.some(Re=>Re.toXPath===de);if((c||k)&&Ve){X(de),u(null),B(null),M(null);return}if(c){K(c,de,void 0,void 0),u(null),M(null),B(null),X(de);return}if(k){K(k.outputKey.toString(),de,void 0,k.fnId),M(null),u(null),B(null),X(de);return}X(de),u(null),B(null)},[pe,ye]=Y.useState({});return Y.useEffect(()=>{const de={};let Ve=0;i.forEach(Re=>{const qe=typeof Re.y=="number"?Re.y:WT(Re.id)??Ve;de[Re.id]={x:Re.x??lC,y:qe},typeof Re.y!="number"&&(Ve+=tZ)}),ye(de)},[i]),Y.useLayoutEffect(()=>{const de=()=>{requestAnimationFrame(()=>{me()})};return de(),window.addEventListener("resize",de),()=>{window.removeEventListener("resize",de)}},[a,i,t,e,pe,c,j,P]),H.jsxs(H.Fragment,{children:[N&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Disconnecting these mappings cannot be undone.",showCancel:!0,confirmButtonText:"Yes, Disconnect All!",cancelButtonText:"No, cancel",onConfirm:ae,onCancel:ie}),R&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Deleting this transformation cannot be undone and will remove all mappings associated with it.",showCancel:!0,confirmButtonText:"Yes, Delete!",cancelButtonText:"No, cancel",onConfirm:se,onCancel:ie}),H.jsxs("div",{className:"boomi-map-canvas",onClick:de=>{const Ve=de.target;!Ve.closest(".boomi-map-card")&&!Ve.closest(".boomi-map-pin")&&W()},children:[H.jsx("svg",{ref:d,className:"boomi-map-svg"}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--sources",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Sources"}),t.map((de,Ve)=>{const Re=`${de.xpath}::${Ve}`,qe=a.some(et=>et.fromXPath===de.xpath);return H.jsxs("div",{className:`boomi-map-card boomi-map-card--source ${c===de.xpath?"is-selected":""} ${qe?"is-mapped":""} cursor-pointer`,onClick:()=>{u(de.xpath),X(null),B(null),M(null)},children:[H.jsx("div",{className:"boomi-map-card-title text-xs font-medium truncate",children:de.name}),H.jsx("div",{className:"text-[10px] font-thin text-gray-500 break-words whitespace-normal",children:de.xpath}),H.jsx("div",{ref:J(h.current,Qa(de.xpath)),className:`boomi-map-pin --source is-selectable ${c===de.xpath?"is-mappable":""}`,onClick:et=>{et.stopPropagation(),a.some(mt=>mt.fromXPath===de.xpath)&&ue(de.xpath)},children:a.some(et=>et.fromXPath===de.xpath)&&H.jsx("span",{className:"boomi-map-pin-badge",children:"×"})})]},Re)})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--functions",children:[H.jsxs("div",{className:"flex justify-between items-center mb-2",children:[H.jsx("h3",{className:"boomi-map-heading w-full text-center",children:"Transformations"}),H.jsx("div",{className:"flex-1 text-right",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"boomi-map-add-btn",showIcon:!0,label:"Add",icon:H.jsx(fv,{className:"w-4 h-4"}),onClick:()=>{const de={id:`temp-${Date.now()}`,name:"New Function",type:"custom",inputs:[],outputs:[]};f==null||f(de)}})})]}),H.jsx("div",{ref:I,className:"relative w-full max-w-md h-full",style:{minHeight:500,paddingTop:15,paddingBottom:15},children:i.map(de=>{const Ve=pe[de.id]||{x:lC,y:15};return H.jsxs(Y6.div,{ref:Re=>Q(Re,de.id),drag:"y",dragMomentum:!1,dragElastic:0,dragSnapToOrigin:!1,dragConstraints:I,className:`boomi-map-card boomi-map-card--function absolute w-full ${P===de.id?"is-selected":""}`,style:{left:Ve.x,y:Math.max(15,Ve.y),cursor:"grab"},onDrag:(Re,qe)=>{ye(et=>({...et,[de.id]:{...et[de.id],y:qe.delta.y}}))},onDragEnd:()=>{var et;const Re=gv(de.id),qe=A.current[de.id];if(qe){const mt=((et=qe.parentElement)==null?void 0:et.getBoundingClientRect().top)??0,xt=qe.getBoundingClientRect().top,$t=Math.round(xt-mt),ze=Math.max(15,$t),tt=sw(Re,ze),ct=i.map(gt=>gt.id===de.id&&gt.id!==tt?{...gt,newId:tt,x:gt.x??lC,y:ze}:gt);p==null||p(ct),requestAnimationFrame(()=>me())}},onClick:()=>{B(de.id),u(null),X(null)},children:[H.jsxs("div",{className:"flex justify-between items-center py-1",children:[H.jsx("div",{className:"boomi-map-card-title",children:"Transformation"}),H.jsx(X6,{onEditTransformation:()=>g==null?void 0:g(de),onDeleteTransformation:()=>te(de)})]}),H.jsx("div",{className:"boomi-map-card-subtitle text-xs",children:de.type}),H.jsxs("div",{className:"flex justify-between mt-4",children:[H.jsx("div",{className:"flex flex-col gap-1",children:de.inputs.map(Re=>{const qe=`${de.id}.in.${Re.key}`,et=a.some(xt=>xt.toFunction===de.id&&xt.toXPath===`${Re.key}`),mt=a.find(xt=>xt.toFunction===de.id&&xt.toXPath===`${Re.key}`);return H.jsxs("div",{className:"relative z-50",children:[H.jsx("div",{className:"text-xs pl-2 pb-2",children:Re.name}),H.jsx("div",{ref:J(S.current,qe),className:`boomi-map-pin --input is-selectable ${c&&!et?"is-mappable":""}`,onClick:xt=>{xt.stopPropagation(),c&&!et&&(K(c,Re.key.toString(),de.id),u(null))},children:et&&mt&&H.jsx("div",{className:"boomi-map-pin-badge",onClick:xt=>{xt.stopPropagation(),Z(mt.fromXPath??"",mt.toXPath??"")},children:"×"})})]},Re.key)})}),H.jsx("div",{className:"flex flex-col gap-1 items-end",children:de.outputs.map(Re=>{const qe=`${de.id}.out.${Re.key}`,et=(k==null?void 0:k.fnId)===de.id&&k.outputKey===Re.key;return H.jsxs("div",{className:"relative",children:[H.jsx("div",{className:"text-xs pr-2 pb-2",children:Re.name}),H.jsx("div",{ref:J(T.current,qe),className:`boomi-map-pin --output is-selectable ${et?"is-active-output":""}`,onClick:mt=>{mt.stopPropagation(),M({fnId:de.id,outputKey:Re.key}),B(de.id),u(null),X(null)}})]},Re.key)})})]})]},de.id)})})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--targets",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Targets"}),e.map((de,Ve)=>{const Re=`${de.xpath}::${Ve}`,qe=a.some(mt=>mt.toXPath===de.xpath),et=(!!c||!!k)&&!qe;return H.jsxs("div",{className:`boomi-map-card boomi-map-card--target ${j===de.xpath?"is-selected":""} ${qe?"is-mapped":""} cursor-pointer`,onClick:()=>ve(de.xpath),children:[H.jsx("div",{className:"flex justify-start items-center",children:H.jsx("div",{className:"flex-0",children:H.jsx("span",{className:"text-xs truncate pl-2",children:de.name})})}),H.jsx("div",{className:"flex justify-start items-center",children:H.jsx("div",{className:"flex-0",children:H.jsx("div",{className:"text-[10px] font-thin text-gray-500 break-words whitespace-normal",children:de.xpath})})}),H.jsx("div",{ref:J(m.current,Qa(de.xpath)),className:`boomi-map-pin --target is-selectable ${et?"is-mappable":""}`,onClick:mt=>{mt.stopPropagation(),ve(de.xpath)},children:qe&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:mt=>{mt.stopPropagation();const xt=a.find($t=>$t.toXPath===de.xpath);xt&&Z(xt.fromXPath??"",xt.toXPath??"")},children:"×"})})]},Re)})]})]})]})}),oZ=140,cC=0,qr=t=>(t||"").replace(/^\/+|\/+$/g,""),q6=t=>(t||"").replace(/^\/+|\/+$/g,"").split("/").filter(Boolean);function iZ(t){const e=q6(t),i=[];for(let a=1;a<=e.length;a++)i.push(e.slice(0,a).join("/"));return i}function K6(t){const e=new Map,i=(p,g,y,f)=>{let b=p.get(y);return b||(b={key:y,fullPath:f,name:y,children:[],isLeaf:!1,__childMap:new Map},p.set(y,b),g&&!g.children.includes(b)&&g.children.push(b)),b};for(const p of t){const g=q6(p.xpath||p.name||"");if(!g.length)continue;let y=e,f=null,b="";for(const c of g){b=b?`${b}/${c}`:c;const u=i(y,f,c,b);f=u,y=u.__childMap}f&&(f.node=p)}const a=Array.from(e.values()),E=p=>{p.isLeaf=p.children.length===0,p.children.forEach(g=>E(g))};return a.forEach(E),a}function Z6(t){const e=new Map,i=a=>{e.set(a.fullPath,a),a.children.forEach(i)};return t.forEach(i),e}function J6(t,e){let i=qr(t);for(;i;){const a=Qa(i);if(e.has(a))return i;const E=i.lastIndexOf("/");if(E<0)break;i=i.slice(0,E)}return null}const Ka=(t,e)=>!!t&&!!e&&(qr(t)===qr(e)||qr(t).startsWith(qr(e)+"/")),Pi=(t,e)=>qr(t)===qr(e),rZ=Y.forwardRef(({sourceFields:t,targetFields:e,functions:i,mappings:a=[],onMappingChange:E,onTransformationUpdate:p,onEditTransformation:g,onDeleteTransformation:y,onAddTransformation:f},b)=>{const[c,u]=Y.useState(null),[d,h]=Y.useState(null),[m,S]=Y.useState(null),[T,A]=Y.useState(null),N=Y.useRef(null),D=Y.useRef(new Map),R=Y.useRef(new Map),L=Y.useRef(new Map),C=Y.useRef(new Map),$=Y.useRef({}),F=Y.useRef(null),[U,j]=Y.useState(!1),[X,P]=Y.useState(!1),[B,k]=Y.useState(null),[M,I]=Y.useState(null),[W,Q]=Y.useState(new Set),[J,K]=Y.useState(new Set),[Z,re]=Y.useState({}),te=Y.useMemo(()=>K6(t),[t]),ae=Y.useMemo(()=>K6(e),[e]),se=Y.useMemo(()=>Z6(te),[te]),ie=Y.useMemo(()=>Z6(ae),[ae]),ue=Ce=>Ce==="source"?se:ie,me=Ce=>Ce==="source"?W:J,ve=(Ce,Ze)=>{Ce==="source"?Q(Ze):K(Ze)},pe=(Ce,Ze)=>{const ft=new Set(me(Ce));iZ(qr(Ze)).forEach(Tt=>ft.delete(Tt)),ve(Ce,ft)},ye=Ce=>{const Ze=new Set;ue(Ce).forEach(ft=>{ft.isLeaf||Ze.add(ft.fullPath)}),ve(Ce,Ze)},de=Ce=>ve(Ce,new Set),[Ve,Re]=Y.useState(""),[qe,et]=Y.useState(""),[mt,xt]=Y.useState([]),[$t,ze]=Y.useState([]),[tt,ct]=Y.useState(0),[gt,at]=Y.useState(0),Le=Y.useMemo(()=>new Set(mt),[mt]),je=Y.useMemo(()=>new Set($t),[$t]),it=()=>{u(null),h(null),S(null),A(null)},rt=(Ce,Ze)=>{Ce&&($.current[Ze]=Ce)},vt=(Ce,Ze)=>ft=>{ft?Ce.set(Ze,ft):Ce.delete(Ze)},St=(Ce,Ze,ft,Tt)=>{a.find(kt=>kt.fromXPath===Ce&&kt.toXPath===Ze&&kt.toFunction===ft&&kt.fromFunction===Tt)||E==null||E([...a,{fromXPath:Ce,toXPath:Ze,toFunction:ft,fromFunction:Tt}])},Nt=(Ce,Ze)=>{E==null||E(a.filter(ft=>!(ft.fromXPath===Ce&&ft.toXPath===Ze)))},an=(Ce,Ze)=>{E==null||E(a.filter(ft=>!(ft.fromFunction===Ce&&ft.fromXPath===String(Ze))))},Ot=Ce=>{E==null||E(a.filter(Ze=>Ze.fromXPath!==Ce))},_t=Ce=>{I(Ce),P(!0)},Et=()=>{B&&(Ot(B),k(null)),j(!1)},xe=()=>{M&&(y==null||y(M),I(null)),P(!1)},Ge=()=>{I(null),k(null),j(!1)},bt=Ce=>{const Ze=a.some(ft=>ft.toXPath===Ce);if((c||T)&&Ze){h(Ce),u(null),S(null),A(null);return}if(c){St(c,Ce,void 0,void 0),u(null),A(null),S(null),h(Ce);return}if(T){St(String(T.outputKey),Ce,void 0,T.fnId),A(null),u(null),S(null),h(Ce);return}h(Ce),u(null),S(null)};Y.useEffect(()=>{const Ce={};let Ze=0;i.forEach(ft=>{const Tt=typeof ft.y=="number"?ft.y:WT(ft.id)??Ze;Ce[ft.id]={x:ft.x??cC,y:Tt},typeof ft.y!="number"&&(Ze+=oZ)}),re(Ce)},[i]);const Mt=(Ce,Ze)=>{const ft=qr(Ze).toLowerCase();if(Ce==="source"?Re(Ze):et(Ze),!ft){Ce==="source"?(xt([]),ct(0)):(ze([]),at(0));return}const Tt=ue(Ce),kt=[];Tt.forEach(Gt=>{var Xt;const sn=qr(Gt.fullPath).toLowerCase(),On=Gt.isLeaf?qr((Xt=Gt.node)==null?void 0:Xt.xpath).toLowerCase():null;sn.includes(ft)?kt.push(qr(Gt.fullPath)):On&&On.includes(ft)&&kt.push(qr(Gt.node.xpath))});const tn=Array.from(new Set(kt));if(Ce==="source"?(xt(tn),ct(0)):(ze(tn),at(0)),tn.length>0){const Gt=tn[0];pe(Ce,Gt),requestAnimationFrame(()=>ut(Ce,Gt))}},ut=(Ce,Ze)=>{const Tt=(Ce==="source"?D:R).current.get(Qa(Ze));Tt&&Tt.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},yt=(Ce,Ze)=>{const ft=Ce==="source"?mt:$t;if(!ft.length)return;const kt=((Ce==="source"?tt:gt)+Ze+ft.length)%ft.length;Ce==="source"?ct(kt):at(kt);const tn=ft[kt];pe(Ce,tn),requestAnimationFrame(()=>ut(Ce,tn))},Ht=({side:Ce,nodes:Ze,collapsed:ft,setCollapsed:Tt,onLeafClick:kt,refMap:tn})=>{const Gt=Je=>{Tt(Vn=>{const Lt=new Set(Vn);return Lt.has(Je)?Lt.delete(Je):Lt.add(Je),Lt})},sn=Ce==="source"?Le:je,On=Ce==="source"?mt[tt]:$t[gt],Xt=Je=>{var ki,Lr;const Vn=ft.has(Je.fullPath),Lt=(ki=Je.node)==null?void 0:ki.xpath,ai=Je.isLeaf?Ce==="source"?a.some(nt=>Pi(nt.fromXPath,Lt)):a.some(nt=>Pi(nt.toXPath,Lt)):!1,Eo=c&&(Ce==="source"?Pi(Lt,c)||Ka(c,Lt)||Ka(Lt,c):a.some(nt=>(Pi(nt.fromXPath,c)||Ka(nt.fromXPath,c))&&(Je.isLeaf?Pi(nt.toXPath,Lt):Ka(nt.toXPath,Je.fullPath))))||d&&(Ce==="target"?Pi(Lt,d)||Ka(d,Lt)||Ka(Lt,d):a.some(nt=>(Pi(nt.toXPath,d)||Ka(nt.toXPath,d))&&(Je.isLeaf?Pi(nt.fromXPath,Lt):Ka(nt.fromXPath,Je.fullPath))))||m&&a.some(nt=>nt.fromFunction===m&&Ce==="source"&&(Je.isLeaf?Pi(nt.fromXPath,Lt):Ka(nt.fromXPath,Je.fullPath))||nt.toFunction===m&&Ce==="target"&&(Je.isLeaf?Pi(nt.toXPath,Lt):Ka(nt.toXPath,Je.fullPath))),qt=Ce==="target"&&Je.isLeaf&&(!!c||!!T)&&!a.some(nt=>Pi(nt.toXPath,Lt)),Gn=Je.isLeaf?qr(Lt):qr(Je.fullPath),Fo=sn.has(Gn),po=On&&Gn===On;return H.jsxs("div",{className:"boomi-tree-node",style:{marginBottom:6},children:[H.jsx("div",{className:["boomi-map-card",Ce==="source"?"boomi-map-card--source":"boomi-map-card--target",Je.isLeaf&&(Ce==="source"?Pi(c||"",Lt||"")?"is-selected":"":Pi(d||"",Lt||"")?"is-selected":""),ai?"is-mapped":"",Eo?"is-connected":"",Fo?"is-search-hit":"",po?"is-current-hit":"","cursor-pointer"].join(" "),onClick:nt=>{nt.stopPropagation(),Je.isLeaf&&Lt?Ce==="source"?(u(Lt),h(null),S(null),A(null)):kt(Lt):(Gt(Je.fullPath),requestAnimationFrame(jt))},children:H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsxs("div",{className:"flex items-center gap-1 flex-1 min-w-0",children:[!Je.isLeaf&&H.jsx("button",{className:"boomi-tree-toggle inline-flex items-center justify-center w-4 h-4 p-0 leading-none shrink-0",onClick:nt=>{nt.stopPropagation(),Gt(Je.fullPath),requestAnimationFrame(jt)},"aria-expanded":!Vn,"aria-label":Vn?"Expand":"Collapse",title:Vn?"Expand":"Collapse",children:Vn?H.jsx(lj,{size:12}):H.jsx(PT,{size:12})}),H.jsx("div",{className:"boomi-map-card-title text-xs font-medium leading-snug whitespace-normal break-words",style:{overflowWrap:"anywhere"},children:Je.isLeaf?((Lr=Je.node)==null?void 0:Lr.name)??Je.name:Je.name})]}),H.jsxs("div",{ref:vt(tn.current,Qa(Gn)),className:["boomi-map-pin",Ce==="source"?"--source":"--target","is-selectable",qt?"is-mappable":""].join(" "),onClick:nt=>{if(nt.stopPropagation(),!(!Je.isLeaf||!Lt)){if(Ce==="target"){kt(Lt);return}a.some(Ee=>Pi(Ee.fromXPath,Lt))?(k(Lt),j(!0)):(u(Lt),h(null),S(null),A(null))}},children:[Je.isLeaf&&ai&&Ce==="source"&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:nt=>{nt.stopPropagation(),k(Lt),j(!0)},title:"Disconnect",children:"×"}),Je.isLeaf&&ai&&Ce==="target"&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:nt=>{nt.stopPropagation();const Ee=a.find(Ke=>Pi(Ke.toXPath,Lt));Ee&&Nt(Ee.fromXPath??"",Ee.toXPath??"")},title:"Disconnect",children:"×"})]})]})}),!Je.isLeaf&&!Vn&&Je.children.length>0&&H.jsx("div",{className:"py-2 boomi-tree-children pl-3 border-l border-dashed border-gray-300",children:Je.children.map(Xt)})]},Je.fullPath)};return H.jsx("div",{className:"boomi-tree",style:{display:"flex",flexDirection:"column",gap:1},children:Ze.map(Xt)})},jt=()=>{const Ce=N.current;if(!Ce)return;for(;Ce.firstChild;)Ce.removeChild(Ce.firstChild);let Ze=!1;a.forEach(ft=>{const Tt=ft.fromXPath,kt=ft.toXPath;if(!Tt)return;const tn=ft.fromFunction?C.current.get(`${ft.fromFunction}.out.${Qa(String(Tt))}`)??null:(()=>{const on=J6(String(Tt),D.current);return on?D.current.get(Qa(on))??null:null})(),Gt=ft.toFunction?L.current.get(`${ft.toFunction}.in.${Qa(String(kt))}`)??null:(()=>{const on=J6(String(kt),R.current);return on?R.current.get(Qa(on))??null:null})();if(!tn||!Gt)return;const sn=tn.getBoundingClientRect(),On=Gt.getBoundingClientRect(),Xt=Ce.getBoundingClientRect(),Je={x:sn.left+sn.width/2-Xt.left,y:sn.top+sn.height/2-Xt.top},Vn={x:On.left+On.width/2-Xt.left,y:On.top+On.height/2-Xt.top},Lt=Vn.x-Je.x,ai=Vn.y-Je.y,Eo=Lt/1.5,Gn=Math.min(12,Math.abs(ai)/2),Fo=ai>0?1:-1,po={x:Je.x+Eo,y:Je.y-Fo*Gn},ki={x:Vn.x-Eo,y:Vn.y-Fo*Gn},Lr=`M ${Je.x} ${Je.y} C ${po.x} ${po.y} ${ki.x} ${ki.y} ${Vn.x} ${Vn.y}`,nt=c&&(Pi(ft.fromXPath,c)||Ka(ft.fromXPath,c))||m&&ft.fromFunction===m,Ee=d&&(Pi(ft.toXPath,d)||Ka(ft.toXPath,d))||m&&ft.toFunction===m,Ke=!!(nt||Ee),st=document.createElementNS("http://www.w3.org/2000/svg","path");st.setAttribute("d",Lr),st.setAttribute("fill","none"),st.setAttribute("stroke-linejoin","round"),st.setAttribute("stroke-linecap","round"),Ke&&(st.classList.add("is-highlighted"),c&&(Pi(ft.fromXPath,c)||Ka(ft.fromXPath,c))&&st.classList.add("is-danger"),Ze=!0),Ce.appendChild(st)}),Ze?Ce.classList.add("has-selection"):Ce.classList.remove("has-selection")};return Y.useLayoutEffect(()=>{const Ce=()=>requestAnimationFrame(jt);return Ce(),window.addEventListener("resize",Ce),()=>window.removeEventListener("resize",Ce)},[a,i,t,e,Z,c,d,m,W,J]),H.jsxs(H.Fragment,{children:[U&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Disconnecting these mappings cannot be undone.",showCancel:!0,confirmButtonText:"Yes, Disconnect All!",cancelButtonText:"No, cancel",onConfirm:Et,onCancel:Ge}),X&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Deleting this transformation cannot be undone and will remove all mappings associated with it.",showCancel:!0,confirmButtonText:"Yes, Delete!",cancelButtonText:"No, cancel",onConfirm:xe,onCancel:Ge}),H.jsxs("div",{className:"boomi-map-canvas",onClick:Ce=>{const Ze=Ce.target;!Ze.closest(".boomi-map-card")&&!Ze.closest(".boomi-map-pin")&&it()},children:[H.jsx("svg",{ref:N,className:"boomi-map-svg"}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--sources",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Sources"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Expand All",onClick:()=>{de("source"),requestAnimationFrame(jt)}}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Collapse All",onClick:()=>{ye("source"),requestAnimationFrame(jt)}})]})]}),H.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[H.jsx(Jv,{searchCallback:Ce=>Mt("source",Ce)}),H.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("source",-1),disabled:mt.length===0,title:"Previous result",children:"Prev"}),H.jsx("span",{className:"min-w-[56px] text-center",children:mt.length?`${tt+1} / ${mt.length}`:"0 / 0"}),H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("source",1),disabled:mt.length===0,title:"Next result",children:"Next"})]})]}),H.jsx(Ht,{side:"source",nodes:te,collapsed:W,setCollapsed:Q,onLeafClick:Ce=>{u(Ce),h(null),S(null),A(null)},refMap:D})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--functions",children:[H.jsxs("div",{className:"flex justify-between items-center mb-2",children:[H.jsx("h3",{className:"boomi-map-heading w-full text-center",children:"Transformations"}),H.jsx("div",{className:"flex-1 text-right",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"boomi-map-add-btn",showIcon:!0,label:"Add",icon:H.jsx(fv,{className:"w-4 h-4"}),onClick:()=>{const Ce={id:`temp-${Date.now()}`,name:"New Function",type:"custom",inputs:[],outputs:[]};f==null||f(Ce)}})})]}),H.jsx("div",{ref:F,className:"relative w-full max-w-md h-full",style:{minHeight:500,paddingTop:15,paddingBottom:15},children:i.map(Ce=>{Oe.debug("Rendering function:",Ce);const Ze=Z[Ce.id]||{x:cC,y:15},ft=Tt=>a.filter(kt=>kt.fromFunction===Ce.id&&kt.fromXPath===String(Tt));return H.jsxs(Y6.div,{ref:Tt=>rt(Tt,Ce.id),drag:"y",dragMomentum:!1,dragElastic:0,dragSnapToOrigin:!1,dragConstraints:F,className:`boomi-map-card boomi-map-card--function absolute w-full ${m===Ce.id?"is-selected":""}`,style:{left:Ze.x,y:Math.max(15,Ze.y),cursor:"grab"},onDrag:(Tt,kt)=>{re(tn=>({...tn,[Ce.id]:{...tn[Ce.id],y:kt.delta.y}}))},onDragEnd:()=>{var tn;const Tt=gv(Ce.id),kt=$.current[Ce.id];if(kt){const Gt=((tn=kt.parentElement)==null?void 0:tn.getBoundingClientRect().top)??0,sn=kt.getBoundingClientRect().top,On=Math.round(sn-Gt),Xt=Math.max(15,On),Je=sw(Tt,Xt),Vn=i.map(Lt=>Lt.id===Ce.id&&Lt.id!==Je?{...Lt,newId:Je,x:Lt.x??cC,y:Xt}:Lt);p==null||p(Vn),requestAnimationFrame(jt)}},onClick:()=>{S(Ce.id),u(null),h(null)},children:[H.jsxs("div",{className:"flex justify-between items-center py-1",children:[H.jsx("div",{className:"boomi-map-card-title",children:"Transformation"}),H.jsx(X6,{onEditTransformation:()=>g==null?void 0:g(Ce),onDeleteTransformation:()=>_t(Ce)})]}),H.jsx("div",{className:"boomi-map-card-subtitle text-xs",children:Ce.type}),H.jsxs("div",{className:"flex justify-between mt-4",children:[H.jsx("div",{className:"flex flex-col gap-1",children:Ce.inputs.map(Tt=>{const kt=`${Ce.id}.in.${Tt.key}`,tn=a.some(sn=>sn.toFunction===Ce.id&&sn.toXPath===`${Tt.key}`),Gt=a.find(sn=>sn.toFunction===Ce.id&&sn.toXPath===`${Tt.key}`);return H.jsxs("div",{className:"relative z-50",children:[H.jsx("div",{className:"text-xs pl-2 pb-2",children:Tt.name}),H.jsx("div",{ref:vt(L.current,kt),className:`boomi-map-pin --input is-selectable ${c&&!tn?"is-mappable":""}`,onClick:sn=>{sn.stopPropagation(),c&&!tn&&(St(c,Tt.key.toString(),Ce.id),u(null))},children:tn&&Gt&&H.jsx("div",{className:"boomi-map-pin-badge",onClick:sn=>{sn.stopPropagation(),Nt(Gt.fromXPath??"",Gt.toXPath??"")},title:"Disconnect",children:"×"})})]},Tt.key)})}),H.jsx("div",{className:"flex flex-col gap-1 items-end",children:Ce.outputs.map(Tt=>{const kt=`${Ce.id}.out.${Tt.key}`,tn=(T==null?void 0:T.fnId)===Ce.id&&T.outputKey===Tt.key,Gt=ft(Tt.key);return H.jsxs("div",{className:"relative",children:[H.jsx("div",{className:"text-xs pr-2 pb-2",children:Tt.name}),H.jsx("div",{ref:vt(C.current,kt),className:`boomi-map-pin --output is-selectable ${tn?"is-active-output":""}`,onClick:sn=>{sn.stopPropagation(),A({fnId:Ce.id,outputKey:Tt.key}),S(Ce.id),u(null),h(null)},children:Gt.length>0&&H.jsxs("div",{className:"boomi-map-pin-badge",onClick:sn=>{sn.stopPropagation(),an(Ce.id,Tt.key)},title:Gt.length>1?`Disconnect ${Gt.length} targets`:"Disconnect",children:["×",Gt.length>1?` ${Gt.length}`:""]})})]},Tt.key)})})]})]},Ce.id)})})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--targets",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Targets"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Expand All",onClick:()=>{de("target"),requestAnimationFrame(jt)}}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Collapse All",onClick:()=>{ye("target"),requestAnimationFrame(jt)}})]})]}),H.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[H.jsx(Jv,{searchCallback:Ce=>Mt("target",Ce)}),H.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("target",-1),disabled:$t.length===0,title:"Previous result",children:"Prev"}),H.jsx("span",{className:"min-w-[56px] text-center",children:$t.length?`${gt+1} / ${$t.length}`:"0 / 0"}),H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("target",1),disabled:$t.length===0,title:"Next result",children:"Next"})]})]}),H.jsx(Ht,{side:"target",nodes:ae,collapsed:J,setCollapsed:K,onLeafClick:bt,refMap:R})]})]})]})}),eU=Y.forwardRef(({candidates:t,formName:e="editMapCandidateForm"},i)=>{const{boomiConfig:a}=Fn(),E=Y.useMemo(()=>{const N={};for(const D of t)N[D.connectionId]||(N[D.connectionId]={connectionId:D.connectionId,connectionName:D.connectionName||D.connectionId,params:[]}),N[D.connectionId].params.includes(D.paramName)||N[D.connectionId].params.push(D.paramName);return N},[t]),[p,g]=Y.useState({}),[y,f]=Y.useState({}),b=Y.useCallback(N=>!!Object.values(y[N]??{}).find(D=>!!D),[y]);Y.useEffect(()=>{const N={},D={};for(const[R,L]of Object.entries(E)){N[R]=N[R]??{},D[R]=D[R]??{};for(const C of L.params){const $=t.find(F=>F.connectionId===R&&F.paramName===C);N[R][C]=($==null?void 0:$.paramValue)??"",D[R][C]=""}}g(N),f(D)},[E,t]);const c=Y.useCallback(N=>{var R,L,C;const D=((C=(L=(R=a==null?void 0:a.form)==null?void 0:R.editMapCandidateForm)==null?void 0:L[N])==null?void 0:C.validation)??null;if(!D)return null;try{const $=String(D).match(/^\/(.+)\/([a-z]*)$/i);return $?new RegExp($[1],$[2]):new RegExp(String(D))}catch{return null}},[a]),u=Y.useCallback((N,D,R)=>{if(!R||!R.trim())return"Required";const L=c(D);return L&&!L.test(R)?"Invalid format":""},[c]),d=Y.useCallback(()=>{var R;const N={};let D=!1;for(const[L,C]of Object.entries(E)){N[L]=N[L]??{};for(const $ of C.params){const F=((R=p[L])==null?void 0:R[$])??"",U=u(L,$,F);N[L][$]=U,U&&(D=!0)}}return f(N),!D},[E,p,u]),h=Y.useMemo(()=>{var N;for(const[D,R]of Object.entries(E))for(const L of R.params){const C=((N=p[D])==null?void 0:N[L])??"";if(!C||!C.trim())return!1;const $=c(L);if($&&!$.test(C))return!1}return!0},[E,p,c]),m=Y.useCallback(N=>{f(D=>{const R={...D};for(const[L,C]of Object.entries(N||{})){R[L]??(R[L]={});for(const[$,F]of Object.entries(C||{}))R[L][$]=F||"Invalid value"}return R})},[]),S=Y.useCallback((N,D="Please supply valid credentials and try again.")=>{var L;const R={};for(const C of N||[]){if(!(C!=null&&C.connectionId)||!(C!=null&&C.paramName))continue;const $=C.uiMessage||C.message||D;R[L=C.connectionId]??(R[L]={}),R[C.connectionId][C.paramName]=$}m(R)},[m]);Y.useImperativeHandle(i,()=>({validateAndSubmit:()=>d()?{candidates:t.map(L=>{var C;return{...L,paramValue:((C=p[L.connectionId])==null?void 0:C[L.paramName])??""}})}:null,isFormReady:()=>h,applyErrors:m,applyErrorsFromCandidates:S}));const T=Y.useCallback((N,D,R)=>{g(L=>({...L,[N]:{...L[N]??{},[D]:R}})),f(L=>({...L,[N]:{...L[N]??{},[D]:""}}))},[]),A=Y.useCallback((N,D)=>{var C;const R=((C=p[N])==null?void 0:C[D])??"",L=u(N,D,R);L&&f($=>({...$,[N]:{...$[N]??{},[D]:L}}))},[p,u]);return H.jsx("div",{className:"space-y-6",children:Object.values(E).map(N=>(b(N.connectionId),H.jsx("div",{className:"boomi-connector-group",children:H.jsxs("div",{className:"boomi-connector-section",children:[H.jsx("h3",{className:"boomi-connector-heading",children:N.connectionName}),H.jsx("div",{className:"grid grid-cols-1 gap-4",children:N.params.map(D=>{var F,U;const R=((F=p[N.connectionId])==null?void 0:F[D])??"",L=((U=y[N.connectionId])==null?void 0:U[D])??"",C=`${e}-${N.connectionId}-${D}`,$=D;return H.jsx(Ch,{formName:e,label:$,type:"password",required:!0,inputName:C,value:R,onChange:j=>T(N.connectionId,D,j.target.value),onBlur:()=>A(N.connectionId,D),error:L,placeholder:"Enter value",readOnly:!1},C)})})]})},N.connectionId)))})});eU.displayName="EditMapCandidateForm";const uC=({componentKey:t,active:e,wizard:i,integration:a,onBack:E,setIsLoading:p})=>{var $t,ze,tt,ct,gt,at,Le,je,it,rt,vt,St,Nt,an,Ot,_t,Et,xe,Ge,bt,Mt;const{boomiConfig:g,setPageIsLoading:y,renderComponent:f}=Fn(),{updateMapExtensions:b}=EW(),[c,u]=Y.useState(null),{maps:d,isLoading:h,hasCandidates:m,mapCandidates:S,fetchMapExtensions:T}=yW(),[A,N]=Y.useState(0),D=d[A],R=D==null?void 0:D.mapId,[L,C]=Y.useState({}),[$,F]=Y.useState({}),[U,j]=Y.useState(null),[X,P]=Y.useState(!1),B=Y.useRef(null),[k,M]=Y.useState(""),I=Y.useRef(null),[W,Q]=Y.useState(!1),{executeMapExtensions:J,updatedCandidates:K}=wW(),[Z,re]=Y.useState(!1),te=((tt=(ze=($t=D==null?void 0:D.Map)==null?void 0:$t.SourceProfile)==null?void 0:ze.Node)==null?void 0:tt.filter(ut=>ut.xpath))??[],ae=((at=(gt=(ct=D==null?void 0:D.Map)==null?void 0:ct.DestinationProfile)==null?void 0:gt.Node)==null?void 0:at.filter(ut=>ut.xpath))??[],se=((it=(je=(Le=g==null?void 0:g.components)==null?void 0:Le[t])==null?void 0:je.mapping)==null?void 0:it.useTreeMode)??!1,ie=async ut=>{p==null||p(!0),y==null||y(!0);try{return await ut()}finally{p==null||p(!1),y==null||y(!1)}},ue=ut=>{f==null||f({component:"Integrations",props:{componentKey:t||"integrationsMain"}})},me=()=>ue(),ve=()=>{y==null||y(!0),ue()},pe=async()=>ie(async()=>{var yt,Ht,jt;const ut=(yt=I.current)==null?void 0:yt.validateAndSubmit();if(!ut)return!1;try{const Ce=await J(ut.candidates);return Array.isArray(Ce)&&Ce.length>0?((Ht=I.current)==null||Ht.applyErrorsFromCandidates(Ce,"Please supply valid credentials and try again."),!1):(Q(!1),y==null||y(!0),await qe(),re(!0),!0)}catch{return K!=null&&K.length&&((jt=I.current)==null||jt.applyErrorsFromCandidates(K,"Authentication Failed. Please supply valid credentials and try again.")),!1}}),ye=async ut=>{await ie(async()=>{var ft,Tt,kt,tn;const yt={DestinationBrowse:{},SourceBrowse:{},containerId:void 0};if(!R||!D)return;const Ht=L[R]||[],{functions:jt}=o2(Ht),Ce={...D,Map:{...D==null?void 0:D.Map,BrowseSettings:yt,DestinationProfile:((ft=D==null?void 0:D.Map)==null?void 0:ft.DestinationProfile)??{Node:[]},DestinationProfileExtensions:((Tt=D==null?void 0:D.Map)==null?void 0:Tt.DestinationProfileExtensions)??{Node:[]},SourceProfile:((kt=D==null?void 0:D.Map)==null?void 0:kt.SourceProfile)??{Node:[]},SourceProfileExtensions:((tn=D==null?void 0:D.Map)==null?void 0:tn.SourceProfileExtensions)??{Node:[]},ExtendedFunctions:{Function:jt},ExtendedMappings:{Mapping:ut}}};await b(Ce),F(Gt=>({...Gt,[R]:ut}));const Ze=d.map(Gt=>Gt.mapId===Ce.mapId?Ce:Gt)}).catch(yt=>u((yt==null?void 0:yt.message)||"Failed to update functions"))},de=async(ut,yt)=>{await ie(async()=>{var Gt,sn,On,Xt;const Ht={DestinationBrowse:{},SourceBrowse:{},containerId:void 0};if(!R||!D)return;const jt=(yt==null?void 0:yt.mappingsOverride)??($[R]||[]),{functions:Ce,idMap:Ze}=o2(ut),ft=Je=>(Je==null?void 0:Je.id)??(Je==null?void 0:Je["@id"])??(Je==null?void 0:Je.FunctionId)??(Je==null?void 0:Je.functionId)??(Je==null?void 0:Je.Id),Tt=new Set((Array.isArray(Ce)?Ce:[]).map(ft).filter(Je=>Je!=null)),kt=jt.map(Je=>({...Je,...Je.fromFunction!=null&&(Ze==null?void 0:Ze[Je.fromFunction])!=null?{fromFunction:Ze[Je.fromFunction]}:{},...Je.toFunction!=null&&(Ze==null?void 0:Ze[Je.toFunction])!=null?{toFunction:Ze[Je.toFunction]}:{}})).filter(Je=>!(Je.fromFunction!=null&&!Tt.has(Je.fromFunction)||Je.toFunction!=null&&!Tt.has(Je.toFunction)||Je.fromFunction&&isNaN(Number(Je.fromXPath))||Je.toFunction&&isNaN(Number(Je.toXPath)))),tn={...D,Map:{...D==null?void 0:D.Map,BrowseSettings:Ht,DestinationProfile:((Gt=D==null?void 0:D.Map)==null?void 0:Gt.DestinationProfile)??{Node:[]},DestinationProfileExtensions:((sn=D==null?void 0:D.Map)==null?void 0:sn.DestinationProfileExtensions)??{Node:[]},SourceProfile:((On=D==null?void 0:D.Map)==null?void 0:On.SourceProfile)??{Node:[]},SourceProfileExtensions:((Xt=D==null?void 0:D.Map)==null?void 0:Xt.SourceProfileExtensions)??{Node:[]},ExtendedFunctions:{Function:Ce},ExtendedMappings:{Mapping:kt}}};await b(tn),C(Je=>({...Je,[R]:i2(Ce)})),F(Je=>({...Je,[R]:kt}))}).catch(Ht=>u((Ht==null?void 0:Ht.message)||"Failed to update functions"))},Ve=async ut=>{await ie(async()=>{const yt=L[R]||[],Ht=$[R]||[],jt=yt.filter(Ze=>Ze.id!==ut.id),Ce=Ht.filter(Ze=>Ze.fromFunction!==ut.id&&Ze.toFunction!==ut.id);await de(jt,{mappingsOverride:Ce})}).catch(yt=>u((yt==null?void 0:yt.message)||"Failed to delete functions"))},Re=async()=>{if(!B.current||!R)return!1;const ut=B.current.validateAndSubmit();if(!ut)return!1;const yt={id:(U==null?void 0:U.id)??"",newId:sw(ut.id,WT((U==null?void 0:U.id)??"")??0),name:ut.id,script:ut.script,inputs:ut.inputs.map(({name:jt,key:Ce,type:Ze})=>({name:jt,key:Ce,dataType:Ze})),outputs:ut.outputs.map(({name:jt,key:Ce})=>({name:jt,key:Ce})),type:"Custom Scripting"},Ht=U?(L[R]||[]).map(jt=>jt.id===U.id?yt:jt):[...L[R]||[],yt];try{await de(Ht),j(null),P(!1)}catch(jt){u(jt.message||"Failed to save transformation")}finally{p==null||p(!1)}return!0},qe=async()=>{try{Oe.debug("Fetching maps...",[],a.environmentId,a.id),await T(a.id||"",a.environmentId||"")}catch(ut){u("Failed to fetch maps."),Oe.error("Failed to fetch maps",ut)}};Y.useEffect(()=>{D&&(D!=null&&D.Map)&&R&&(C(ut=>{var yt,Ht;return{...ut,[R]:i2(((Ht=(yt=D.Map)==null?void 0:yt.ExtendedFunctions)==null?void 0:Ht.Function)??[])}}),F(ut=>{var yt,Ht;return{...ut,[R]:((Ht=(yt=D.Map)==null?void 0:yt.ExtendedMappings)==null?void 0:Ht.Mapping)??[]}}))},[e,D,R]),Y.useEffect(()=>{(e||!i)&&qe()},[e,i]),Y.useEffect(()=>{m&&Q(!0)},[m]);const et=((St=(vt=(rt=g==null?void 0:g.components)==null?void 0:rt[t])==null?void 0:vt.updateMaps)==null?void 0:St.showTitle)??!0,mt=((Ot=(an=(Nt=g==null?void 0:g.components)==null?void 0:Nt[t])==null?void 0:an.updateMaps)==null?void 0:Ot.showDescription)??!0,xt=H.jsxs(H.Fragment,{children:[Z&&H.jsx(bc,{type:"success",content:"Authentication Successful. Map has been updated."}),X&&H.jsx(Bd,{isOpen:X,title:"Transformation Editor",description:"Use this form to create or edit transformations.",onClose:()=>P(!1),onSubmit:Re,submitLabel:"Save",children:H.jsx(o5,{componentKey:t,ref:B,existingName:k,existingScript:(U==null?void 0:U.script)??"",existingInputs:(U==null?void 0:U.inputs.map(({key:ut,name:yt,dataType:Ht})=>({key:ut,name:yt,type:Ht})))??[],existingOutputs:(U==null?void 0:U.outputs.map(({key:ut,name:yt})=>({key:ut,name:yt})))??[]})}),m&&H.jsx(Bd,{isOpen:W,title:"Credentials required",description:"Re-enter your credentials to update the requested map(s).",onClose:()=>me(),onSubmit:pe,submitLabel:"Save",children:H.jsx(eU,{ref:I,candidates:S})}),h?H.jsx("div",{className:"flex justify-center items-center pt-6 m-6",children:H.jsx(Bi,{message:"Loading maps..."})}):d.length?H.jsxs("div",{className:`${i?"boomi-update-wizard":"boomi-update"}`,children:[et&&H.jsx("div",{className:"boomi-update-title",children:((xe=(Et=(_t=g==null?void 0:g.components)==null?void 0:_t[t])==null?void 0:Et.updateMaps)==null?void 0:xe.title)||"Map Fields"}),mt&&H.jsx("div",{className:"boomi-update-desc",children:((Mt=(bt=(Ge=g==null?void 0:g.components)==null?void 0:Ge[t])==null?void 0:bt.updateMaps)==null?void 0:Mt.description)||"Please map fields below."}),H.jsx("div",{className:"boomi-tabs",children:H.jsx("nav",{className:"boomi-tablist",children:d.map((ut,yt)=>{const Ht=A===yt;return H.jsx("button",{onClick:()=>N(yt),className:Sp("boomi-tab",Ht&&"boomi-tab--active"),type:"button",children:ut.name||`Map ${yt+1}`},ut.mapId)})})}),H.jsxs("div",{className:"boomi-update-content",children:[c&&H.jsx(sc,{error:{header:"Error Updating Maps",message:c,errorType:"error",onClose:()=>u(null)}}),se?H.jsx(rZ,{sourceFields:te,targetFields:ae,functions:L[R]||[],mappings:$[R]||[],onMappingChange:ye,onTransformationUpdate:de,onDeleteTransformation:Ve,onEditTransformation:ut=>{j(ut),M(gv(ut.name)),P(!0)},onAddTransformation:()=>{j(null),M(`script_${Date.now()}`),P(!0)}}):H.jsx(nZ,{sourceFields:te,targetFields:ae,functions:L[R]||[],mappings:$[R]||[],onMappingChange:ye,onTransformationUpdate:de,onDeleteTransformation:Ve,onEditTransformation:ut=>{j(ut),M(gv(ut.name)),P(!0)},onAddTransformation:()=>{j(null),M(`script_${Date.now()}`),P(!0)}})]}),!i&&H.jsxs("div",{className:"boomi-update-actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:me}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:ve})]})]}):H.jsx(sc,{error:{header:"No Maps Found",message:"No maps found for this integration.",errorType:"warning",onClose:E??(()=>{})}})]});return e||!i?i?xt:H.jsx(Ih,{componentKey:t,componentName:"updateMaps",isRootNavigation:!1,title:`Update Maps - ${a.integrationPackOverrideName}`,description:a.integrationPackDescription||"",headerContent:H.jsx(H.Fragment,{}),bodyContent:xt,footerContent:H.jsx(H.Fragment,{}),levelOne:"My Integrations",callbackOne:E}):null};uC.displayName="UpdateMaps";const dC=Y.forwardRef(({componentKey:t,integration:e,active:i,wizard:a,onSubmit:E,onBack:p,setIsLoading:g},y)=>{var me,ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t;const{boomiConfig:f,renderComponent:b}=Fn(),c=Y.useRef(null),{updateFromCombined:u,editedConnections:d}=u3(),{extensions:h,rawExtensions:m,isLoading:S,fetchEnvironmentExtensions:T}=d3(),[A,N]=Y.useState(null),[D,R]=Y.useState(null),{fetchOauth2Url:L}=f3(),{fetchEnvironmentExtensionConnectionStatus:C}=h3(),[$,F]=Y.useState({}),[U,j]=Y.useState({}),[X,P]=Y.useState({}),B=Y.useRef(null),k=Y.useRef({}),M=(ze,tt)=>`${ze}:${tt}`,I=async()=>{var ze;N(null);try{const tt=(ze=c.current)==null?void 0:ze.validateAndSubmit();return!tt||!e.environmentId?(Oe.warn("Connector form is invalid or missing environmentId"),!1):(g==null||g(!0),await u(m??[],tt??[],e.environmentId,e.id||""),g==null||g(!1),E==null||E(),!0)}catch(tt){return g==null||g(!1),N(tt.message||"Failed to update environment extensions"),Oe.error("Update error:",tt),!1}},W=ze=>{b==null||b({component:"Integrations",props:{componentKey:t||"integrationsMain"}})};Y.useImperativeHandle(y,()=>({submit:I}));const Q=()=>W(),J=async()=>{await I()&&W()},K=(ze,tt,ct)=>{const gt=M(ze,tt),at=k.current[gt];at!=null&&at.interval&&window.clearInterval(at.interval),at!=null&&at.timeout&&window.clearTimeout(at.timeout),at!=null&&at.watch&&window.clearInterval(at.watch);const Le=window.setTimeout(()=>{Z(gt,{success:!1,message:"Authentication timed out. Please try again.",closePopup:!0}),ct(!1)},12e4),je=window.setInterval(async()=>{try{const rt=await C(e.environmentId,e.id||"",ze,tt);if(!!(rt===!0||rt!=null&&rt.connected||(rt==null?void 0:rt.status)==="CONNECTED")){Z(gt,{success:!0,message:null,closePopup:!0});const St=e.installationType==="SINGLE"||!1;Oe.debug("Connection authorized, reloading extensions",{isSingle:St}),await T([],e.environmentId,e.id||"",St),ct(!0)}else P(St=>({...St,[gt]:"Waiting for connection to complete…"}))}catch(rt){Oe.warn("Polling error (connection status)",rt)}},5e3),it=window.setInterval(()=>{B.current&&B.current.closed&&(Z(gt,{success:!1,message:"Authorization window closed.",closePopup:!1}),ct(!1))},500);k.current[gt]={interval:je,timeout:Le,watch:it}},Z=(ze,{success:tt,message:ct,closePopup:gt=!0})=>{const at=k.current[ze];if(at!=null&&at.interval&&window.clearInterval(at.interval),at!=null&&at.timeout&&window.clearTimeout(at.timeout),at!=null&&at.watch&&window.clearInterval(at.watch),delete k.current[ze],F(Le=>({...Le,[ze]:!1})),j(Le=>({...Le,[ze]:tt})),ct!==void 0&&P(Le=>({...Le,[ze]:ct})),gt)try{B.current&&!B.current.closed&&B.current.close()}catch{}},re=async(ze,tt)=>{const ct=M(ze,tt);Oe.log("Authenticate connection:",{connectionId:ze,fieldId:tt}),F(rt=>({...rt,[ct]:!0})),j(rt=>({...rt,[ct]:!1})),P(rt=>({...rt,[ct]:"Opening authorization window…"}));const gt=600,at=750,Le=window.screenX+Math.max(0,(window.outerWidth-gt)/2),je=window.screenY+Math.max(0,(window.outerHeight-at)/2),it=window.open("","oauth2_auth",`width=${gt},height=${at},left=${Le},top=${je},resizable,scrollbars`);B.current=it??null;try{const rt=await L(e.id||"",e.environmentId,ze,tt);B.current?B.current.location.href=rt:window.location.assign(rt),P(vt=>({...vt,[ct]:"Please complete authentication in the new window…"})),K(ze,tt,vt=>{if(!vt)try{B.current&&!B.current.closed&&B.current.close()}catch{}})}catch(rt){B.current&&!B.current.closed&&B.current.close(),F(St=>({...St,[ct]:!1})),P(St=>({...St,[ct]:null}));const vt=(rt==null?void 0:rt.message)||"Failed to fetch OAuth2 URL";N(vt),Oe.error("Failed to fetch oauth2Url",rt)}};Y.useEffect(()=>{d&&d.length>0&&R(d)},[d]),Y.useEffect(()=>{h&&R(h)},[h]),Y.useEffect(()=>()=>{Object.values(k.current).forEach(({interval:ze,timeout:tt})=>{ze&&window.clearInterval(ze),tt&&window.clearTimeout(tt)}),B.current&&!B.current.closed&&B.current.close()},[]),Y.useEffect(()=>{!(e!=null&&e.environmentId)||!(e!=null&&e.id)||(i||!a)&&T([],e.environmentId,e.id).catch(ze=>{N(ze.message),Oe.error("Failed to fetch environment extensions",ze)})},[i,a,e.environmentId,e.id]);const te=((pe=(ve=(me=f==null?void 0:f.components)==null?void 0:me[t])==null?void 0:ve.updateConnections)==null?void 0:pe.showTitle)??!0,ae=((Ve=(de=(ye=f==null?void 0:f.components)==null?void 0:ye[t])==null?void 0:de.updateConnections)==null?void 0:Ve.title)??"Update Connections",se=((et=(qe=(Re=f==null?void 0:f.components)==null?void 0:Re[t])==null?void 0:qe.updateConnections)==null?void 0:et.showDescription)??!0,ie=(($t=(xt=(mt=f==null?void 0:f.components)==null?void 0:mt[t])==null?void 0:xt.updateConnections)==null?void 0:$t.description)??"Please provide the necessary information to make connections to your target systems.",ue=H.jsx(H.Fragment,{children:H.jsxs("div",{className:`${a?"boomi-update-wizard":"boomi-update"}`,children:[(te||se)&&H.jsxs("div",{className:"boomi-update-header",children:[te&&H.jsx("div",{className:"boomi-update-title",children:ae}),se&&H.jsx("div",{className:"boomi-update-desc",children:ie})]}),S&&!D?H.jsx("div",{className:"boomi-center pt-6 m-6",children:H.jsx(Bi,{message:"Retrieving Connection Information..."})}):H.jsxs("div",{className:"boomi-update-body",children:[A&&H.jsx(sc,{error:{header:"Error Updating Connections",message:A,errorType:"error"}}),H.jsx(hx,{ref:c,extensions:D||[],onAuthConnection:re,authBusy:$,authConnected:U,authMessage:X}),!a&&H.jsxs("div",{className:"boomi-update-actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:Q}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:J})]})]})]})});return a?H.jsx(H.Fragment,{children:ue}):H.jsx(H.Fragment,{children:H.jsx(Ih,{componentKey:t,componentName:"updateConnections",isRootNavigation:!1,title:`Update Connections ${e.integrationPackOverrideName??""}`,description:e.integrationPackDescription||"",headerContent:H.jsx(H.Fragment,{}),bodyContent:ue,footerContent:H.jsx(H.Fragment,{}),levelOne:"My Integrations",callbackOne:p})})});dC.displayName="UpdateConnections";function tU(){const t=lc();async function e(a){const{integrationPackInstanceId:E,environmentId:p,signal:g}=a;return Oe.debug("Fetching process schedules via service",a),t.get("/process-schedules",{signal:g,params:{integrationPackInstanceId:E,environmentId:p}})}async function i(a){const{integrationPackInstanceId:E,environmentId:p,schedules:g}=a;return Oe.debug("updating map extension via service",E,p),t.post("/process-schedules/update",{integrationPackInstanceId:E,environmentId:p,schedules:g})}return{getProcessSchedules:e,updateProcessSchedules:i}}/**
2344
+ */const xW=()=>{const[t,e]=Y.useState(null),[i,a]=Y.useState(!1),[E,p]=Y.useState(null),{buildAiTransformation:g}=AW();return{result:t,isLoading:i,error:E,fetchTransformation:async(f,b)=>{a(!0),p(null),e(null);try{Oe.debug("Requesting AI transformation for prompt:",f);const c=await g({id:b,userPrompt:f});return Oe.debug("Structured output:",c),e(c),c}catch(c){const u=(c==null?void 0:c.message)||"An unexpected error occurred.";Oe.error("AI transformation error:",u,c),p(u)}finally{a(!1)}}}};zw.config.set("basePath","https://cdn.jsdelivr.net/npm/ace-builds@1.4.3/src-noconflict/"),zw.config.setModuleUrl("ace/mode/javascript_worker","https://cdn.jsdelivr.net/npm/ace-builds@1.4.3/src-noconflict/worker-javascript.js");const _W=["CHARACTER","DATETIME","FLOAT","INTEGER"],o5=Y.forwardRef(({componentKey:t,existingName:e="",existingScript:i="",existingInputs:a=[],existingOutputs:E=[]},p)=>{var ve;const{boomiConfig:g}=Fn(),y=`custom_scripting_${Date.now()}`,[f,b]=Y.useState(()=>e?sw(e,0):y),[c,u]=Y.useState(i),[d,h]=Y.useState(a??[]),[m,S]=Y.useState(E??[]),[T,A]=Y.useState(""),[N,D]=Y.useState("CHARACTER"),[R,L]=Y.useState(""),[C,$]=Y.useState({outputField:"",script:""}),F=Y.useRef(null),[U,j]=Y.useState({}),[X,P]=Y.useState({}),[B,k]=Y.useState(null),[M,I]=Y.useState(""),{isLoading:W,error:Q,fetchTransformation:J}=xW(),K=(g==null?void 0:g.enableAi)||!1,Z=(ve=g==null?void 0:g.theme)!=null&&ve.darkModeTheme?"tomorrow_night_bright":"chrome",re=()=>{const pe=m.some(de=>{var Ve;return((Ve=de==null?void 0:de.name)==null?void 0:Ve.trim().toLowerCase())==="output"}),ye={outputField:m.length===0?"At least one output is required":pe?"Output name 'output' is not allowed":"",script:c.trim()?"":"Script is required"};return $(ye),ye};Y.useImperativeHandle(p,()=>({validateAndSubmit:()=>{const pe=re(),ye=Object.values(pe).some(Boolean);return Oe.debug("EditTransformationsForm.validateAndSubmit hasErrors?",pe),ye?null:(Oe.debug("EditTransformationsForm.validateAndSubmit",{id:f,script:c,inputs:d,outputs:m}),{id:f,script:c,inputs:d,outputs:m})},isFormReady:()=>{const pe=re();return!Object.values(pe).some(Boolean)}}));const te=()=>{$(pe=>({...pe,script:c.trim()?"":"Script is required"}))},ae=()=>{if(!T.trim())return;const ye=(d.length>0?Math.max(...d.map(de=>de.key)):0)+1;h([...d,{name:T.trim(),key:ye,type:N}]),A(""),D("CHARACTER")},se=()=>{if(!R.trim())return;const ye=(m.length>0?Math.max(...m.map(de=>de.key)):0)+1;S([...m,{name:R.trim(),key:ye}]),L("")},ie=pe=>{h(ye=>ye.filter((de,Ve)=>Ve!==pe))},ue=pe=>{S(ye=>ye.filter((de,Ve)=>Ve!==pe))},me=()=>{var ye,de;Oe.debug("Testing script with inputs:",d,"and values:",U);const pe={};d.forEach(Ve=>{const Re=U[Ve.key];let qe=Re;switch(Ve.type){case"FLOAT":qe=parseFloat(Re);break;case"INTEGER":qe=parseInt(Re,10);break;case"DATETIME":qe=new Date(Re);break}pe[Ve.name]=qe}),(de=(ye=F.current)==null?void 0:ye.contentWindow)==null||de.postMessage({script:c,inputs:pe},"*")};return Y.useEffect(()=>{const pe=ye=>{var de,Ve;if(((de=ye.data)==null?void 0:de.type)==="RESULT"){const Re=ye.data.result||{};typeof Re=="object"&&Re!==null&&(P({...Re}),k(null))}else if(((Ve=ye.data)==null?void 0:Ve.type)==="ERROR"){const Re=ye.data.error;if(Re==="No script provided or script is not a string")return;k(Re||"Unknown error"),Oe.error("Script Error:",Re)}};return window.addEventListener("message",pe),()=>window.removeEventListener("message",pe)},[]),H.jsxs("div",{className:"space-y-4 text-sm",children:[H.jsx("input",{type:"hidden",value:f}),H.jsx("iframe",{ref:F,src:TW(),sandbox:"allow-scripts",style:{display:"none"}}),K&&H.jsxs("div",{className:"space-y-2",children:[H.jsx("label",{className:"block font-semibold",children:"Ask AI to generate transformation"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx("textarea",{rows:2,value:M,onChange:pe=>I(pe.target.value),placeholder:"Describe your transformation...",className:"flex-1 border rounded px-2 py-1 resize-y"}),H.jsx("button",{type:"button",disabled:W||!M.trim(),onClick:async()=>{const pe=await J(M,f);pe&&(u(pe.Configuration.Scripting.Script),h(pe.Configuration.Scripting.Inputs.Input.map(ye=>({name:ye.name,key:Number(ye.index),type:ye.dataType}))),S(pe.Configuration.Scripting.Outputs.Output.map(ye=>({name:ye.name,key:Number(ye.index)}))),$({outputField:"",script:""}))},className:" boomi-btn-primary px-3 py-1 disabled:opacity-50",children:W?"Generating...":"Generate"})]}),Q&&H.jsx(sc,{error:{header:"Error Generating Transformation",message:Q,errorType:"error",onClose:()=>{}}})]}),H.jsxs("div",{children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Transformation Script"}),H.jsx("div",{className:`h-[200px] relative border rounded ${C.script?"border-red-500":""}`,children:H.jsx(ZI,{className:"flex-1 h-full w-full h-[200px]",placeholder:"",mode:"javascript",theme:Z,width:"100%",height:"100%",fontSize:12,lineHeight:17,showPrintMargin:!0,showGutter:!0,highlightActiveLine:!0,value:c,onChange:pe=>{u(pe),$(ye=>({...ye,script:""}))},onBlur:te,setOptions:{showLineNumbers:!0,tabSize:1}})}),H.jsx("div",{className:"flex justify-end mt-2",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"flex items-center gap-1 boomi-btn-secondary",showIcon:!1,label:"Test Script",onClick:me})}),C.script&&H.jsx("p",{className:"text-xs text-red-600 mt-1",children:C.script})]}),H.jsxs("div",{className:"flex gap-6 mt-4 overflow-x-hidden ",children:[H.jsxs("div",{className:`w-1/2 border-1 p-2 ${C.outputField?"border-red-500 border-2":""}`,children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Inputs"}),H.jsxs("div",{className:"flex gap-2 items-center mb-2 w-full",children:[H.jsx("input",{type:"text",value:T,onChange:pe=>A(pe.target.value),className:"border px-2 py-1 rounded w-full",placeholder:"Input name"}),H.jsx("select",{value:N,onChange:pe=>D(pe.target.value),className:"border px-2 py-1 rounded",children:_W.map(pe=>H.jsx("option",{value:pe,children:pe},pe))}),H.jsx("button",{type:"button",onClick:ae,className:"px-2 py-1 border boomi-btn-secondary",children:"Add"})]}),H.jsxs("div",{className:"border rounded max-h-44 overflow-y-auto",children:[H.jsxs("div",{className:"flex px-1 py-1.5 boomi-table-header",children:[H.jsx("div",{className:"flex-1",children:"Name"}),H.jsx("div",{className:"w-1/2 text-left",children:"Test Input"}),H.jsx("div",{className:"w-24 text-center",children:"Type"}),H.jsx("div",{className:"w-6"})]}),H.jsx("ul",{className:"space-y-1",children:d.map((pe,ye)=>H.jsxs("li",{className:"flex items-center text-xs boomi-table-row p-2",children:[H.jsx("div",{className:"flex-1 truncate",children:pe.name}),H.jsx("input",{type:"text",className:"border px-2 py-1 rounded w-1/2",value:U[pe.key]??"",onChange:de=>j({...U,[pe.key]:de.target.value})}),H.jsx("div",{className:"w-24 text-center",children:H.jsx("span",{className:"px-2 py-0.5 rounded-full font-medium",children:pe.type})}),H.jsx("button",{onClick:()=>ie(ye),className:"text-red-400 hover:text-red-600 transition ml-2",title:"Remove input",children:H.jsx(Sd,{size:14})})]},ye))})]})]}),H.jsxs("div",{className:`w-1/2 border-1 p-2 ${C.outputField?"border-red-500 border-2":""}`,children:[H.jsx("label",{className:"block mb-1 font-semibold",children:"Outputs"}),H.jsxs("div",{className:"flex gap-2 items-center mb-2",children:[H.jsx("input",{type:"text",value:R,onChange:pe=>L(pe.target.value),className:"border px-2 py-1 rounded w-full",placeholder:"Output name"}),H.jsx("button",{type:"button",onClick:se,className:"px-2 py-1 boomi-btn-secondary",children:"Add"})]}),H.jsxs("div",{className:"border rounded max-h-44 overflow-y-auto",children:[H.jsxs("div",{className:"flex px-1 py-1.5 boomi-table-header",children:[H.jsx("div",{className:"flex-1",children:"Name"}),H.jsx("div",{className:"w-1/2 text-left",children:"Test Output"}),H.jsx("div",{className:"w-6"})]}),H.jsx("ul",{className:"space-y-1",children:m.map((pe,ye)=>H.jsxs("li",{className:"flex items-center text-xs boomi-table-row p-2",children:[H.jsx("div",{className:"flex-1 truncate",children:pe.name}),H.jsx("span",{className:"font-mono text-green-700 text-left text-xs w-1/2 text-left",children:(X==null?void 0:X[pe.name])??""}),H.jsx("button",{onClick:()=>ue(ye),className:"text-red-400 hover:text-red-600 transition ml-2",title:"Remove output",children:H.jsx(Sd,{size:14})})]},ye))})]}),B&&H.jsxs("p",{className:"text-sm text-red-600 mt-2",children:["Test Error: ",B]}),C.outputField&&H.jsx("p",{className:"text-xs text-red-600 mt-1",children:C.outputField})]})]})]})});o5.displayName="EditTransformationsForm";const i5=Y.createContext({});function CW(t){const e=Y.useRef(null);return e.current===null&&(e.current=t()),e.current}const Wx=typeof window<"u",NW=Wx?Y.useLayoutEffect:Y.useEffect,Yx=Y.createContext(null);function Xx(t,e){t.indexOf(e)===-1&&t.push(e)}function qx(t,e){const i=t.indexOf(e);i>-1&&t.splice(i,1)}const fu=(t,e,i)=>i>e?e:i<t?t:i;function Kx(t,e){return e?`${t}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${e}`:t}let Fp=()=>{},hu=()=>{};process.env.NODE_ENV!=="production"&&(Fp=(t,e,i)=>{!t&&typeof console<"u"&&console.warn(Kx(e,i))},hu=(t,e,i)=>{if(!t)throw new Error(Kx(e,i))});const mu={},r5=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function a5(t){return typeof t=="object"&&t!==null}const s5=t=>/^0[^.\s]+$/u.test(t);function Zx(t){let e;return()=>(e===void 0&&(e=t()),e)}const Is=t=>t,LW=(t,e)=>i=>e(t(i)),e0=(...t)=>t.reduce(LW),t0=(t,e,i)=>{const a=e-t;return a===0?1:(i-t)/a};class Jx{constructor(){this.subscriptions=[]}add(e){return Xx(this.subscriptions,e),()=>qx(this.subscriptions,e)}notify(e,i,a){const E=this.subscriptions.length;if(E)if(E===1)this.subscriptions[0](e,i,a);else for(let p=0;p<E;p++){const g=this.subscriptions[p];g&&g(e,i,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Ol=t=>t*1e3,$s=t=>t/1e3;function l5(t,e){return e?t*(1e3/e):0}const c5=new Set;function e_(t,e,i){t||c5.has(e)||(console.warn(Kx(e,i)),c5.add(e))}const u5=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t,OW=1e-7,DW=12;function RW(t,e,i,a,E){let p,g,y=0;do g=e+(i-e)/2,p=u5(g,a,E)-t,p>0?i=g:e=g;while(Math.abs(p)>OW&&++y<DW);return g}function n0(t,e,i,a){if(t===e&&i===a)return Is;const E=p=>RW(p,0,1,t,i);return p=>p===0||p===1?p:u5(E(p),e,a)}const d5=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,f5=t=>e=>1-t(1-e),h5=n0(.33,1.53,.69,.99),t_=f5(h5),m5=d5(t_),p5=t=>(t*=2)<1?.5*t_(t):.5*(2-Math.pow(2,-10*(t-1))),n_=t=>1-Math.sin(Math.acos(t)),g5=f5(n_),b5=d5(n_),MW=n0(.42,0,1,1),kW=n0(0,0,.58,1),v5=n0(.42,0,.58,1),IW=t=>Array.isArray(t)&&typeof t[0]!="number",y5=t=>Array.isArray(t)&&typeof t[0]=="number",E5={linear:Is,easeIn:MW,easeInOut:v5,easeOut:kW,circIn:n_,circInOut:b5,circOut:g5,backIn:t_,backInOut:m5,backOut:h5,anticipate:p5},$W=t=>typeof t=="string",w5=t=>{if(y5(t)){hu(t.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[e,i,a,E]=t;return n0(e,i,a,E)}else if($W(t))return hu(E5[t]!==void 0,`Invalid easing type '${t}'`,"invalid-easing-type"),E5[t];return t},d1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function UW(t,e){let i=new Set,a=new Set,E=!1,p=!1;const g=new WeakSet;let y={delta:0,timestamp:0,isProcessing:!1};function f(c){g.has(c)&&(b.schedule(c),t()),c(y)}const b={schedule:(c,u=!1,d=!1)=>{const m=d&&E?i:a;return u&&g.add(c),m.has(c)||m.add(c),c},cancel:c=>{a.delete(c),g.delete(c)},process:c=>{if(y=c,E){p=!0;return}E=!0,[i,a]=[a,i],i.forEach(f),i.clear(),E=!1,p&&(p=!1,b.process(c))}};return b}const HW=40;function S5(t,e){let i=!1,a=!0;const E={delta:0,timestamp:0,isProcessing:!1},p=()=>i=!0,g=d1.reduce((D,R)=>(D[R]=UW(p),D),{}),{setup:y,read:f,resolveKeyframes:b,preUpdate:c,update:u,preRender:d,render:h,postRender:m}=g,S=()=>{const D=mu.useManualTiming?E.timestamp:performance.now();i=!1,mu.useManualTiming||(E.delta=a?1e3/60:Math.max(Math.min(D-E.timestamp,HW),1)),E.timestamp=D,E.isProcessing=!0,y.process(E),f.process(E),b.process(E),c.process(E),u.process(E),d.process(E),h.process(E),m.process(E),E.isProcessing=!1,i&&e&&(a=!1,t(S))},T=()=>{i=!0,a=!0,E.isProcessing||t(S)};return{schedule:d1.reduce((D,R)=>{const L=g[R];return D[R]=(C,$=!1,F=!1)=>(i||T(),L.schedule(C,$,F)),D},{}),cancel:D=>{for(let R=0;R<d1.length;R++)g[d1[R]].cancel(D)},state:E,steps:g}}const{schedule:ko,cancel:Fd,state:er,steps:o_}=S5(typeof requestAnimationFrame<"u"?requestAnimationFrame:Is,!0);let f1;function jW(){f1=void 0}const wa={now:()=>(f1===void 0&&wa.set(er.isProcessing||mu.useManualTiming?er.timestamp:performance.now()),f1),set:t=>{f1=t,queueMicrotask(jW)}},T5=t=>e=>typeof e=="string"&&e.startsWith(t),i_=T5("--"),zW=T5("var(--"),r_=t=>zW(t)?BW.test(t.split("/*")[0].trim()):!1,BW=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Pp={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},o0={...Pp,transform:t=>fu(0,1,t)},h1={...Pp,default:1},i0=t=>Math.round(t*1e5)/1e5,a_=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function FW(t){return t==null}const PW=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s_=(t,e)=>i=>!!(typeof i=="string"&&PW.test(i)&&i.startsWith(t)||e&&!FW(i)&&Object.prototype.hasOwnProperty.call(i,e)),A5=(t,e,i)=>a=>{if(typeof a!="string")return a;const[E,p,g,y]=a.match(a_);return{[t]:parseFloat(E),[e]:parseFloat(p),[i]:parseFloat(g),alpha:y!==void 0?parseFloat(y):1}},VW=t=>fu(0,255,t),l_={...Pp,transform:t=>Math.round(VW(t))},$h={test:s_("rgb","red"),parse:A5("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:a=1})=>"rgba("+l_.transform(t)+", "+l_.transform(e)+", "+l_.transform(i)+", "+i0(o0.transform(a))+")"};function GW(t){let e="",i="",a="",E="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),a=t.substring(5,7),E=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),a=t.substring(3,4),E=t.substring(4,5),e+=e,i+=i,a+=a,E+=E),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(a,16),alpha:E?parseInt(E,16)/255:1}}const c_={test:s_("#"),parse:GW,transform:$h.transform},r0=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Pd=r0("deg"),vc=r0("%"),Yt=r0("px"),QW=r0("vh"),WW=r0("vw"),x5={...vc,parse:t=>vc.parse(t)/100,transform:t=>vc.transform(t*100)},Vp={test:s_("hsl","hue"),parse:A5("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:a=1})=>"hsla("+Math.round(t)+", "+vc.transform(i0(e))+", "+vc.transform(i0(i))+", "+i0(o0.transform(a))+")"},bi={test:t=>$h.test(t)||c_.test(t)||Vp.test(t),parse:t=>$h.test(t)?$h.parse(t):Vp.test(t)?Vp.parse(t):c_.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?$h.transform(t):Vp.transform(t),getAnimatableNone:t=>{const e=bi.parse(t);return e.alpha=0,bi.transform(e)}},YW=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function XW(t){var e,i;return isNaN(t)&&typeof t=="string"&&(((e=t.match(a_))==null?void 0:e.length)||0)+(((i=t.match(YW))==null?void 0:i.length)||0)>0}const _5="number",C5="color",qW="var",KW="var(",N5="${}",ZW=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function a0(t){const e=t.toString(),i=[],a={color:[],number:[],var:[]},E=[];let p=0;const y=e.replace(ZW,f=>(bi.test(f)?(a.color.push(p),E.push(C5),i.push(bi.parse(f))):f.startsWith(KW)?(a.var.push(p),E.push(qW),i.push(f)):(a.number.push(p),E.push(_5),i.push(parseFloat(f))),++p,N5)).split(N5);return{values:i,split:y,indexes:a,types:E}}function L5(t){return a0(t).values}function O5(t){const{split:e,types:i}=a0(t),a=e.length;return E=>{let p="";for(let g=0;g<a;g++)if(p+=e[g],E[g]!==void 0){const y=i[g];y===_5?p+=i0(E[g]):y===C5?p+=bi.transform(E[g]):p+=E[g]}return p}}const JW=t=>typeof t=="number"?0:bi.test(t)?bi.getAnimatableNone(t):t;function eY(t){const e=L5(t);return O5(t)(e.map(JW))}const Vd={test:XW,parse:L5,createTransformer:O5,getAnimatableNone:eY};function u_(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function tY({hue:t,saturation:e,lightness:i,alpha:a}){t/=360,e/=100,i/=100;let E=0,p=0,g=0;if(!e)E=p=g=i;else{const y=i<.5?i*(1+e):i+e-i*e,f=2*i-y;E=u_(f,y,t+1/3),p=u_(f,y,t),g=u_(f,y,t-1/3)}return{red:Math.round(E*255),green:Math.round(p*255),blue:Math.round(g*255),alpha:a}}function m1(t,e){return i=>i>0?e:t}const zo=(t,e,i)=>t+(e-t)*i,d_=(t,e,i)=>{const a=t*t,E=i*(e*e-a)+a;return E<0?0:Math.sqrt(E)},nY=[c_,$h,Vp],oY=t=>nY.find(e=>e.test(t));function D5(t){const e=oY(t);if(Fp(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===Vp&&(i=tY(i)),i}const R5=(t,e)=>{const i=D5(t),a=D5(e);if(!i||!a)return m1(t,e);const E={...i};return p=>(E.red=d_(i.red,a.red,p),E.green=d_(i.green,a.green,p),E.blue=d_(i.blue,a.blue,p),E.alpha=zo(i.alpha,a.alpha,p),$h.transform(E))},f_=new Set(["none","hidden"]);function iY(t,e){return f_.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}function rY(t,e){return i=>zo(t,e,i)}function h_(t){return typeof t=="number"?rY:typeof t=="string"?r_(t)?m1:bi.test(t)?R5:lY:Array.isArray(t)?M5:typeof t=="object"?bi.test(t)?R5:aY:m1}function M5(t,e){const i=[...t],a=i.length,E=t.map((p,g)=>h_(p)(p,e[g]));return p=>{for(let g=0;g<a;g++)i[g]=E[g](p);return i}}function aY(t,e){const i={...t,...e},a={};for(const E in i)t[E]!==void 0&&e[E]!==void 0&&(a[E]=h_(t[E])(t[E],e[E]));return E=>{for(const p in a)i[p]=a[p](E);return i}}function sY(t,e){const i=[],a={color:0,var:0,number:0};for(let E=0;E<e.values.length;E++){const p=e.types[E],g=t.indexes[p][a[p]],y=t.values[g]??0;i[E]=y,a[p]++}return i}const lY=(t,e)=>{const i=Vd.createTransformer(e),a=a0(t),E=a0(e);return a.indexes.var.length===E.indexes.var.length&&a.indexes.color.length===E.indexes.color.length&&a.indexes.number.length>=E.indexes.number.length?f_.has(t)&&!E.values.length||f_.has(e)&&!a.values.length?iY(t,e):e0(M5(sY(a,E),E.values),i):(Fp(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),m1(t,e))};function k5(t,e,i){return typeof t=="number"&&typeof e=="number"&&typeof i=="number"?zo(t,e,i):h_(t)(t,e)}const cY=t=>{const e=({timestamp:i})=>t(i);return{start:(i=!0)=>ko.update(e,i),stop:()=>Fd(e),now:()=>er.isProcessing?er.timestamp:wa.now()}},I5=(t,e,i=10)=>{let a="";const E=Math.max(Math.round(e/i),2);for(let p=0;p<E;p++)a+=Math.round(t(p/(E-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},p1=2e4;function m_(t){let e=0;const i=50;let a=t.next(e);for(;!a.done&&e<p1;)e+=i,a=t.next(e);return e>=p1?1/0:e}function uY(t,e=100,i){const a=i({...t,keyframes:[0,e]}),E=Math.min(m_(a),p1);return{type:"keyframes",ease:p=>a.next(E*p).value/e,duration:$s(E)}}const dY=5;function $5(t,e,i){const a=Math.max(e-dY,0);return l5(i-t(a),e-a)}const Bo={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},p_=.001;function fY({duration:t=Bo.duration,bounce:e=Bo.bounce,velocity:i=Bo.velocity,mass:a=Bo.mass}){let E,p;Fp(t<=Ol(Bo.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let g=1-e;g=fu(Bo.minDamping,Bo.maxDamping,g),t=fu(Bo.minDuration,Bo.maxDuration,$s(t)),g<1?(E=b=>{const c=b*g,u=c*t,d=c-i,h=g_(b,g),m=Math.exp(-u);return p_-d/h*m},p=b=>{const u=b*g*t,d=u*i+i,h=Math.pow(g,2)*Math.pow(b,2)*t,m=Math.exp(-u),S=g_(Math.pow(b,2),g);return(-E(b)+p_>0?-1:1)*((d-h)*m)/S}):(E=b=>{const c=Math.exp(-b*t),u=(b-i)*t+1;return-p_+c*u},p=b=>{const c=Math.exp(-b*t),u=(i-b)*(t*t);return c*u});const y=5/t,f=mY(E,p,y);if(t=Ol(t),isNaN(f))return{stiffness:Bo.stiffness,damping:Bo.damping,duration:t};{const b=Math.pow(f,2)*a;return{stiffness:b,damping:g*2*Math.sqrt(a*b),duration:t}}}const hY=12;function mY(t,e,i){let a=i;for(let E=1;E<hY;E++)a=a-t(a)/e(a);return a}function g_(t,e){return t*Math.sqrt(1-e*e)}const pY=["duration","bounce"],gY=["stiffness","damping","mass"];function U5(t,e){return e.some(i=>t[i]!==void 0)}function bY(t){let e={velocity:Bo.velocity,stiffness:Bo.stiffness,damping:Bo.damping,mass:Bo.mass,isResolvedFromDuration:!1,...t};if(!U5(t,gY)&&U5(t,pY))if(t.visualDuration){const i=t.visualDuration,a=2*Math.PI/(i*1.2),E=a*a,p=2*fu(.05,1,1-(t.bounce||0))*Math.sqrt(E);e={...e,mass:Bo.mass,stiffness:E,damping:p}}else{const i=fY(t);e={...e,...i,mass:Bo.mass},e.isResolvedFromDuration=!0}return e}function g1(t=Bo.visualDuration,e=Bo.bounce){const i=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:a,restDelta:E}=i;const p=i.keyframes[0],g=i.keyframes[i.keyframes.length-1],y={done:!1,value:p},{stiffness:f,damping:b,mass:c,duration:u,velocity:d,isResolvedFromDuration:h}=bY({...i,velocity:-$s(i.velocity||0)}),m=d||0,S=b/(2*Math.sqrt(f*c)),T=g-p,A=$s(Math.sqrt(f/c)),N=Math.abs(T)<5;a||(a=N?Bo.restSpeed.granular:Bo.restSpeed.default),E||(E=N?Bo.restDelta.granular:Bo.restDelta.default);let D;if(S<1){const L=g_(A,S);D=C=>{const $=Math.exp(-S*A*C);return g-$*((m+S*A*T)/L*Math.sin(L*C)+T*Math.cos(L*C))}}else if(S===1)D=L=>g-Math.exp(-A*L)*(T+(m+A*T)*L);else{const L=A*Math.sqrt(S*S-1);D=C=>{const $=Math.exp(-S*A*C),F=Math.min(L*C,300);return g-$*((m+S*A*T)*Math.sinh(F)+L*T*Math.cosh(F))/L}}const R={calculatedDuration:h&&u||null,next:L=>{const C=D(L);if(h)y.done=L>=u;else{let $=L===0?m:0;S<1&&($=L===0?Ol(m):$5(D,L,C));const F=Math.abs($)<=a,U=Math.abs(g-C)<=E;y.done=F&&U}return y.value=y.done?g:C,y},toString:()=>{const L=Math.min(m_(R),p1),C=I5($=>R.next(L*$).value,L,30);return L+"ms "+C},toTransition:()=>{}};return R}g1.applyToOptions=t=>{const e=uY(t,100,g1);return t.ease=e.ease,t.duration=Ol(e.duration),t.type="keyframes",t};function b_({keyframes:t,velocity:e=0,power:i=.8,timeConstant:a=325,bounceDamping:E=10,bounceStiffness:p=500,modifyTarget:g,min:y,max:f,restDelta:b=.5,restSpeed:c}){const u=t[0],d={done:!1,value:u},h=F=>y!==void 0&&F<y||f!==void 0&&F>f,m=F=>y===void 0?f:f===void 0||Math.abs(y-F)<Math.abs(f-F)?y:f;let S=i*e;const T=u+S,A=g===void 0?T:g(T);A!==T&&(S=A-u);const N=F=>-S*Math.exp(-F/a),D=F=>A+N(F),R=F=>{const U=N(F),j=D(F);d.done=Math.abs(U)<=b,d.value=d.done?A:j};let L,C;const $=F=>{h(d.value)&&(L=F,C=g1({keyframes:[d.value,m(d.value)],velocity:$5(D,F,d.value),damping:E,stiffness:p,restDelta:b,restSpeed:c}))};return $(0),{calculatedDuration:null,next:F=>{let U=!1;return!C&&L===void 0&&(U=!0,R(F),$(F)),L!==void 0&&F>=L?C.next(F-L):(!U&&R(F),d)}}}function vY(t,e,i){const a=[],E=i||mu.mix||k5,p=t.length-1;for(let g=0;g<p;g++){let y=E(t[g],t[g+1]);if(e){const f=Array.isArray(e)?e[g]||Is:e;y=e0(f,y)}a.push(y)}return a}function yY(t,e,{clamp:i=!0,ease:a,mixer:E}={}){const p=t.length;if(hu(p===e.length,"Both input and output ranges must be the same length","range-length"),p===1)return()=>e[0];if(p===2&&e[0]===e[1])return()=>e[1];const g=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());const y=vY(e,a,E),f=y.length,b=c=>{if(g&&c<t[0])return e[0];let u=0;if(f>1)for(;u<t.length-2&&!(c<t[u+1]);u++);const d=t0(t[u],t[u+1],c);return y[u](d)};return i?c=>b(fu(t[0],t[p-1],c)):b}function EY(t,e){const i=t[t.length-1];for(let a=1;a<=e;a++){const E=t0(0,e,a);t.push(zo(i,1,E))}}function wY(t){const e=[0];return EY(e,t.length-1),e}function SY(t,e){return t.map(i=>i*e)}function TY(t,e){return t.map(()=>e||v5).splice(0,t.length-1)}function Gp({duration:t=300,keyframes:e,times:i,ease:a="easeInOut"}){const E=IW(a)?a.map(w5):w5(a),p={done:!1,value:e[0]},g=SY(i&&i.length===e.length?i:wY(e),t),y=yY(g,e,{ease:Array.isArray(E)?E:TY(e,E)});return{calculatedDuration:t,next:f=>(p.value=y(f),p.done=f>=t,p)}}const AY=t=>t!==null;function v_(t,{repeat:e,repeatType:i="loop"},a,E=1){const p=t.filter(AY),y=E<0||e&&i!=="loop"&&e%2===1?0:p.length-1;return!y||a===void 0?p[y]:a}const xY={decay:b_,inertia:b_,tween:Gp,keyframes:Gp,spring:g1};function H5(t){typeof t.type=="string"&&(t.type=xY[t.type])}class y_{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,i){return this.finished.then(e,i)}}const _Y=t=>t/100;class E_ extends y_{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var a,E;const{motionValue:i}=this.options;i&&i.updatedAt!==wa.now()&&this.tick(wa.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(E=(a=this.options).onStop)==null||E.call(a))},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;H5(e);const{type:i=Gp,repeat:a=0,repeatDelay:E=0,repeatType:p,velocity:g=0}=e;let{keyframes:y}=e;const f=i||Gp;process.env.NODE_ENV!=="production"&&f!==Gp&&hu(y.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${y}`,"spring-two-frames"),f!==Gp&&typeof y[0]!="number"&&(this.mixKeyframes=e0(_Y,k5(y[0],y[1])),y=[0,100]);const b=f({...e,keyframes:y});p==="mirror"&&(this.mirroredGenerator=f({...e,keyframes:[...y].reverse(),velocity:-g})),b.calculatedDuration===null&&(b.calculatedDuration=m_(b));const{calculatedDuration:c}=b;this.calculatedDuration=c,this.resolvedDuration=c+E,this.totalDuration=this.resolvedDuration*(a+1)-E,this.generator=b}updateTime(e){const i=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=i}tick(e,i=!1){const{generator:a,totalDuration:E,mixKeyframes:p,mirroredGenerator:g,resolvedDuration:y,calculatedDuration:f}=this;if(this.startTime===null)return a.next(0);const{delay:b=0,keyframes:c,repeat:u,repeatType:d,repeatDelay:h,type:m,onUpdate:S,finalKeyframe:T}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-E/this.speed,this.startTime)),i?this.currentTime=e:this.updateTime(e);const A=this.currentTime-b*(this.playbackSpeed>=0?1:-1),N=this.playbackSpeed>=0?A<0:A>E;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=E);let D=this.currentTime,R=a;if(u){const F=Math.min(this.currentTime,E)/y;let U=Math.floor(F),j=F%1;!j&&F>=1&&(j=1),j===1&&U--,U=Math.min(U,u+1),!!(U%2)&&(d==="reverse"?(j=1-j,h&&(j-=h/y)):d==="mirror"&&(R=g)),D=fu(0,1,j)*y}const L=N?{done:!1,value:c[0]}:R.next(D);p&&(L.value=p(L.value));let{done:C}=L;!N&&f!==null&&(C=this.playbackSpeed>=0?this.currentTime>=E:this.currentTime<=0);const $=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&C);return $&&m!==b_&&(L.value=v_(c,this.options,T,this.speed)),S&&S(L.value),$&&this.finish(),L}then(e,i){return this.finished.then(e,i)}get duration(){return $s(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$s(e)}get time(){return $s(this.currentTime)}set time(e){var i;e=Ol(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(i=this.driver)==null||i.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(wa.now());const i=this.playbackSpeed!==e;this.playbackSpeed=e,i&&(this.time=$s(this.currentTime))}play(){var E,p;if(this.isStopped)return;const{driver:e=cY,startTime:i}=this.options;this.driver||(this.driver=e(g=>this.tick(g))),(p=(E=this.options).onPlay)==null||p.call(E);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=i??a),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(wa.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,i;this.notifyFinished(),this.teardown(),this.state="finished",(i=(e=this.options).onComplete)==null||i.call(e)}cancel(){var e,i;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(i=(e=this.options).onCancel)==null||i.call(e)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var i;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(i=this.driver)==null||i.stop(),e.observe(this)}}function CY(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Uh=t=>t*180/Math.PI,w_=t=>{const e=Uh(Math.atan2(t[1],t[0]));return S_(e)},NY={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:w_,rotateZ:w_,skewX:t=>Uh(Math.atan(t[1])),skewY:t=>Uh(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},S_=t=>(t=t%360,t<0&&(t+=360),t),j5=w_,z5=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),B5=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),LY={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:z5,scaleY:B5,scale:t=>(z5(t)+B5(t))/2,rotateX:t=>S_(Uh(Math.atan2(t[6],t[5]))),rotateY:t=>S_(Uh(Math.atan2(-t[2],t[0]))),rotateZ:j5,rotate:j5,skewX:t=>Uh(Math.atan(t[4])),skewY:t=>Uh(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function T_(t){return t.includes("scale")?1:0}function A_(t,e){if(!t||t==="none")return T_(e);const i=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,E;if(i)a=LY,E=i;else{const y=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=NY,E=y}if(!E)return T_(e);const p=a[e],g=E[1].split(",").map(DY);return typeof p=="function"?p(g):g[p]}const OY=(t,e)=>{const{transform:i="none"}=getComputedStyle(t);return A_(i,e)};function DY(t){return parseFloat(t.trim())}const Qp=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wp=new Set(Qp),F5=t=>t===Pp||t===Yt,RY=new Set(["x","y","z"]),MY=Qp.filter(t=>!RY.has(t));function kY(t){const e=[];return MY.forEach(i=>{const a=t.getValue(i);a!==void 0&&(e.push([i,a.get()]),a.set(i.startsWith("scale")?1:0))}),e}const Hh={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>A_(e,"x"),y:(t,{transform:e})=>A_(e,"y")};Hh.translateX=Hh.x,Hh.translateY=Hh.y;const jh=new Set;let x_=!1,__=!1,C_=!1;function P5(){if(__){const t=Array.from(jh).filter(a=>a.needsMeasurement),e=new Set(t.map(a=>a.element)),i=new Map;e.forEach(a=>{const E=kY(a);E.length&&(i.set(a,E),a.render())}),t.forEach(a=>a.measureInitialState()),e.forEach(a=>{a.render();const E=i.get(a);E&&E.forEach(([p,g])=>{var y;(y=a.getValue(p))==null||y.set(g)})}),t.forEach(a=>a.measureEndState()),t.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}__=!1,x_=!1,jh.forEach(t=>t.complete(C_)),jh.clear()}function V5(){jh.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(__=!0)})}function IY(){C_=!0,V5(),P5(),C_=!1}class N_{constructor(e,i,a,E,p,g=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=i,this.name=a,this.motionValue=E,this.element=p,this.isAsync=g}scheduleResolve(){this.state="scheduled",this.isAsync?(jh.add(this),x_||(x_=!0,ko.read(V5),ko.resolveKeyframes(P5))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:i,element:a,motionValue:E}=this;if(e[0]===null){const p=E==null?void 0:E.get(),g=e[e.length-1];if(p!==void 0)e[0]=p;else if(a&&i){const y=a.readValue(i,g);y!=null&&(e[0]=y)}e[0]===void 0&&(e[0]=g),E&&p===void 0&&E.set(e[0])}CY(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),jh.delete(this)}cancel(){this.state==="scheduled"&&(jh.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const $Y=t=>t.startsWith("--");function UY(t,e,i){$Y(e)?t.style.setProperty(e,i):t.style[e]=i}const HY=Zx(()=>window.ScrollTimeline!==void 0),jY={};function zY(t,e){const i=Zx(t);return()=>jY[e]??i()}const G5=zY(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),s0=([t,e,i,a])=>`cubic-bezier(${t}, ${e}, ${i}, ${a})`,Q5={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:s0([0,.65,.55,1]),circOut:s0([.55,0,1,.45]),backIn:s0([.31,.01,.66,-.59]),backOut:s0([.33,1.53,.69,.99])};function W5(t,e){if(t)return typeof t=="function"?G5()?I5(t,e):"ease-out":y5(t)?s0(t):Array.isArray(t)?t.map(i=>W5(i,e)||Q5.easeOut):Q5[t]}function BY(t,e,i,{delay:a=0,duration:E=300,repeat:p=0,repeatType:g="loop",ease:y="easeOut",times:f}={},b=void 0){const c={[e]:i};f&&(c.offset=f);const u=W5(y,E);Array.isArray(u)&&(c.easing=u);const d={delay:a,duration:E,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:p+1,direction:g==="reverse"?"alternate":"normal"};return b&&(d.pseudoElement=b),t.animate(c,d)}function Y5(t){return typeof t=="function"&&"applyToOptions"in t}function FY({type:t,...e}){return Y5(t)&&G5()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class PY extends y_{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;const{element:i,name:a,keyframes:E,pseudoElement:p,allowFlatten:g=!1,finalKeyframe:y,onComplete:f}=e;this.isPseudoElement=!!p,this.allowFlatten=g,this.options=e,hu(typeof e.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const b=FY(e);this.animation=BY(i,a,E,b,p),b.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!p){const c=v_(E,this.options,y,this.speed);this.updateMotionValue?this.updateMotionValue(c):UY(i,a,c),this.animation.cancel()}f==null||f(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,i;(i=(e=this.animation).finish)==null||i.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,i;this.isPseudoElement||(i=(e=this.animation).commitStyles)==null||i.call(e)}get duration(){var i,a;const e=((a=(i=this.animation.effect)==null?void 0:i.getComputedTiming)==null?void 0:a.call(i).duration)||0;return $s(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$s(e)}get time(){return $s(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=Ol(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:i}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,e&&HY()?(this.animation.timeline=e,Is):i(this)}}const X5={anticipate:p5,backInOut:m5,circInOut:b5};function VY(t){return t in X5}function GY(t){typeof t.ease=="string"&&VY(t.ease)&&(t.ease=X5[t.ease])}const q5=10;class QY extends PY{constructor(e){GY(e),H5(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:i,onUpdate:a,onComplete:E,element:p,...g}=this.options;if(!i)return;if(e!==void 0){i.set(e);return}const y=new E_({...g,autoplay:!1}),f=Ol(this.finishedTime??this.time);i.setWithVelocity(y.sample(f-q5).value,y.sample(f).value,q5),y.stop()}}const K5=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Vd.test(t)||t==="0")&&!t.startsWith("url("));function WY(t){const e=t[0];if(t.length===1)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}function YY(t,e,i,a){const E=t[0];if(E===null)return!1;if(e==="display"||e==="visibility")return!0;const p=t[t.length-1],g=K5(E,e),y=K5(p,e);return Fp(g===y,`You are trying to animate ${e} from "${E}" to "${p}". "${g?p:E}" is not an animatable value.`,"value-not-animatable"),!g||!y?!1:WY(t)||(i==="spring"||Y5(i))&&a}function L_(t){t.duration=0,t.type="keyframes"}const XY=new Set(["opacity","clipPath","filter","transform"]),qY=Zx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function KY(t){var c;const{motionValue:e,name:i,repeatDelay:a,repeatType:E,damping:p,type:g}=t;if(!(((c=e==null?void 0:e.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:f,transformTemplate:b}=e.owner.getProps();return qY()&&i&&XY.has(i)&&(i!=="transform"||!b)&&!f&&!a&&E!=="mirror"&&p!==0&&g!=="inertia"}const ZY=40;class JY extends y_{constructor({autoplay:e=!0,delay:i=0,type:a="keyframes",repeat:E=0,repeatDelay:p=0,repeatType:g="loop",keyframes:y,name:f,motionValue:b,element:c,...u}){var m;super(),this.stop=()=>{var S,T;this._animation&&(this._animation.stop(),(S=this.stopTimeline)==null||S.call(this)),(T=this.keyframeResolver)==null||T.cancel()},this.createdAt=wa.now();const d={autoplay:e,delay:i,type:a,repeat:E,repeatDelay:p,repeatType:g,name:f,motionValue:b,element:c,...u},h=(c==null?void 0:c.KeyframeResolver)||N_;this.keyframeResolver=new h(y,(S,T,A)=>this.onKeyframesResolved(S,T,d,!A),f,b,c),(m=this.keyframeResolver)==null||m.scheduleResolve()}onKeyframesResolved(e,i,a,E){this.keyframeResolver=void 0;const{name:p,type:g,velocity:y,delay:f,isHandoff:b,onUpdate:c}=a;this.resolvedAt=wa.now(),YY(e,p,g,y)||((mu.instantAnimations||!f)&&(c==null||c(v_(e,a,i))),e[0]=e[e.length-1],L_(a),a.repeat=0);const d={startTime:E?this.resolvedAt?this.resolvedAt-this.createdAt>ZY?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:i,...a,keyframes:e},h=!b&&KY(d)?new QY({...d,element:d.motionValue.owner.current}):new E_(d);h.finished.then(()=>this.notifyFinished()).catch(Is),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(e,i){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),IY()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}}const eX=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function tX(t){const e=eX.exec(t);if(!e)return[,];const[,i,a,E]=e;return[`--${i??a}`,E]}const nX=4;function Z5(t,e,i=1){hu(i<=nX,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[a,E]=tX(t);if(!a)return;const p=window.getComputedStyle(e).getPropertyValue(a);if(p){const g=p.trim();return r5(g)?parseFloat(g):g}return r_(E)?Z5(E,e,i+1):E}function O_(t,e){return(t==null?void 0:t[e])??(t==null?void 0:t.default)??t}const J5=new Set(["width","height","top","left","right","bottom",...Qp]),oX={test:t=>t==="auto",parse:t=>t},e$=t=>e=>e.test(t),t$=[Pp,Yt,vc,Pd,WW,QW,oX],n$=t=>t$.find(e$(t));function iX(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||s5(t):!0}const rX=new Set(["brightness","contrast","saturate","opacity"]);function aX(t){const[e,i]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[a]=i.match(a_)||[];if(!a)return t;const E=i.replace(a,"");let p=rX.has(e)?1:0;return a!==i&&(p*=100),e+"("+p+E+")"}const sX=/\b([a-z-]*)\(.*?\)/gu,D_={...Vd,getAnimatableNone:t=>{const e=t.match(sX);return e?e.map(aX).join(" "):t}},o$={...Pp,transform:Math.round},R_={borderWidth:Yt,borderTopWidth:Yt,borderRightWidth:Yt,borderBottomWidth:Yt,borderLeftWidth:Yt,borderRadius:Yt,radius:Yt,borderTopLeftRadius:Yt,borderTopRightRadius:Yt,borderBottomRightRadius:Yt,borderBottomLeftRadius:Yt,width:Yt,maxWidth:Yt,height:Yt,maxHeight:Yt,top:Yt,right:Yt,bottom:Yt,left:Yt,padding:Yt,paddingTop:Yt,paddingRight:Yt,paddingBottom:Yt,paddingLeft:Yt,margin:Yt,marginTop:Yt,marginRight:Yt,marginBottom:Yt,marginLeft:Yt,backgroundPositionX:Yt,backgroundPositionY:Yt,...{rotate:Pd,rotateX:Pd,rotateY:Pd,rotateZ:Pd,scale:h1,scaleX:h1,scaleY:h1,scaleZ:h1,skew:Pd,skewX:Pd,skewY:Pd,distance:Yt,translateX:Yt,translateY:Yt,translateZ:Yt,x:Yt,y:Yt,z:Yt,perspective:Yt,transformPerspective:Yt,opacity:o0,originX:x5,originY:x5,originZ:Yt},zIndex:o$,fillOpacity:o0,strokeOpacity:o0,numOctaves:o$},lX={...R_,color:bi,backgroundColor:bi,outlineColor:bi,fill:bi,stroke:bi,borderColor:bi,borderTopColor:bi,borderRightColor:bi,borderBottomColor:bi,borderLeftColor:bi,filter:D_,WebkitFilter:D_},i$=t=>lX[t];function r$(t,e){let i=i$(t);return i!==D_&&(i=Vd),i.getAnimatableNone?i.getAnimatableNone(e):void 0}const cX=new Set(["auto","none","0"]);function uX(t,e,i){let a=0,E;for(;a<t.length&&!E;){const p=t[a];typeof p=="string"&&!cX.has(p)&&a0(p).values.length&&(E=t[a]),a++}if(E&&i)for(const p of e)t[p]=r$(i,E)}class dX extends N_{constructor(e,i,a,E,p){super(e,i,a,E,p,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:i,name:a}=this;if(!i||!i.current)return;super.readKeyframes();for(let f=0;f<e.length;f++){let b=e[f];if(typeof b=="string"&&(b=b.trim(),r_(b))){const c=Z5(b,i.current);c!==void 0&&(e[f]=c),f===e.length-1&&(this.finalKeyframe=b)}}if(this.resolveNoneKeyframes(),!J5.has(a)||e.length!==2)return;const[E,p]=e,g=n$(E),y=n$(p);if(g!==y)if(F5(g)&&F5(y))for(let f=0;f<e.length;f++){const b=e[f];typeof b=="string"&&(e[f]=parseFloat(b))}else Hh[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:i}=this,a=[];for(let E=0;E<e.length;E++)(e[E]===null||iX(e[E]))&&a.push(E);a.length&&uX(e,a,i)}measureInitialState(){const{element:e,unresolvedKeyframes:i,name:a}=this;if(!e||!e.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Hh[a](e.measureViewportBox(),window.getComputedStyle(e.current)),i[0]=this.measuredOrigin;const E=i[i.length-1];E!==void 0&&e.getValue(a,E).jump(E,!1)}measureEndState(){var y;const{element:e,name:i,unresolvedKeyframes:a}=this;if(!e||!e.current)return;const E=e.getValue(i);E&&E.jump(this.measuredOrigin,!1);const p=a.length-1,g=a[p];a[p]=Hh[i](e.measureViewportBox(),window.getComputedStyle(e.current)),g!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=g),(y=this.removedTransforms)!=null&&y.length&&this.removedTransforms.forEach(([f,b])=>{e.getValue(f).set(b)}),this.resolveNoneKeyframes()}}function fX(t,e,i){if(t instanceof EventTarget)return[t];if(typeof t=="string"){let a=document;const E=(i==null?void 0:i[t])??a.querySelectorAll(t);return E?Array.from(E):[]}return Array.from(t)}const a$=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function hX(t){return a5(t)&&"offsetHeight"in t}const s$=30,mX=t=>!isNaN(parseFloat(t));class pX{constructor(e,i={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var p;const E=wa.now();if(this.updatedAt!==E&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((p=this.events.change)==null||p.notify(this.current),this.dependents))for(const g of this.dependents)g.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=i.owner}setCurrent(e){this.current=e,this.updatedAt=wa.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=mX(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return process.env.NODE_ENV!=="production"&&e_(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,i){this.events[e]||(this.events[e]=new Jx);const a=this.events[e].add(i);return e==="change"?()=>{a(),ko.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,i){this.passiveEffect=e,this.stopPassiveEffect=i}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,i,a){this.set(i),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-a}jump(e,i=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,i&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=wa.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>s$)return 0;const i=Math.min(this.updatedAt-this.prevUpdatedAt,s$);return l5(parseFloat(this.current)-parseFloat(this.prevFrameValue),i)}start(e){return this.stop(),new Promise(i=>{this.hasAnimated=!0,this.animation=e(i),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,i;(e=this.dependents)==null||e.clear(),(i=this.events.destroy)==null||i.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Yp(t,e){return new pX(t,e)}const{schedule:M_}=S5(queueMicrotask,!1),Dl={x:!1,y:!1};function l$(){return Dl.x||Dl.y}function gX(t){return t==="x"||t==="y"?Dl[t]?null:(Dl[t]=!0,()=>{Dl[t]=!1}):Dl.x||Dl.y?null:(Dl.x=Dl.y=!0,()=>{Dl.x=Dl.y=!1})}function c$(t,e){const i=fX(t),a=new AbortController,E={passive:!0,...e,signal:a.signal};return[i,E,()=>a.abort()]}function u$(t){return!(t.pointerType==="touch"||l$())}function bX(t,e,i={}){const[a,E,p]=c$(t,i),g=y=>{if(!u$(y))return;const{target:f}=y,b=e(f,y);if(typeof b!="function"||!f)return;const c=u=>{u$(u)&&(b(u),f.removeEventListener("pointerleave",c))};f.addEventListener("pointerleave",c,E)};return a.forEach(y=>{y.addEventListener("pointerenter",g,E)}),p}const d$=(t,e)=>e?t===e?!0:d$(t,e.parentElement):!1,k_=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,vX=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function yX(t){return vX.has(t.tagName)||t.tabIndex!==-1}const b1=new WeakSet;function f$(t){return e=>{e.key==="Enter"&&t(e)}}function I_(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const EX=(t,e)=>{const i=t.currentTarget;if(!i)return;const a=f$(()=>{if(b1.has(i))return;I_(i,"down");const E=f$(()=>{I_(i,"up")}),p=()=>I_(i,"cancel");i.addEventListener("keyup",E,e),i.addEventListener("blur",p,e)});i.addEventListener("keydown",a,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",a),e)};function h$(t){return k_(t)&&!l$()}function wX(t,e,i={}){const[a,E,p]=c$(t,i),g=y=>{const f=y.currentTarget;if(!h$(y))return;b1.add(f);const b=e(f,y),c=(h,m)=>{window.removeEventListener("pointerup",u),window.removeEventListener("pointercancel",d),b1.has(f)&&b1.delete(f),h$(h)&&typeof b=="function"&&b(h,{success:m})},u=h=>{c(h,f===window||f===document||i.useGlobalTarget||d$(f,h.target))},d=h=>{c(h,!1)};window.addEventListener("pointerup",u,E),window.addEventListener("pointercancel",d,E)};return a.forEach(y=>{(i.useGlobalTarget?window:y).addEventListener("pointerdown",g,E),hX(y)&&(y.addEventListener("focus",b=>EX(b,E)),!yX(y)&&!y.hasAttribute("tabindex")&&(y.tabIndex=0))}),p}function m$(t){return a5(t)&&"ownerSVGElement"in t}function SX(t){return m$(t)&&t.tagName==="svg"}const Nr=t=>!!(t&&t.getVelocity),TX=[...t$,bi,Vd],AX=t=>TX.find(e$(t)),p$=Y.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function xX(t=!0){const e=Y.useContext(Yx);if(e===null)return[!0,null];const{isPresent:i,onExitComplete:a,register:E}=e,p=Y.useId();Y.useEffect(()=>{if(t)return E(p)},[t]);const g=Y.useCallback(()=>t&&a&&a(p),[p,a,t]);return!i&&a?[!1,g]:[!0]}const g$=Y.createContext({strict:!1}),b$={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xp={};for(const t in b$)Xp[t]={isEnabled:e=>b$[t].some(i=>!!e[i])};function _X(t){for(const e in t)Xp[e]={...Xp[e],...t[e]}}const CX=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function v1(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||CX.has(t)}let v$=t=>!v1(t);function NX(t){typeof t=="function"&&(v$=e=>e.startsWith("on")?!v1(e):t(e))}try{NX(require("@emotion/is-prop-valid").default)}catch{}function LX(t,e,i){const a={};for(const E in t)E==="values"&&typeof t.values=="object"||(v$(E)||i===!0&&v1(E)||!e&&!v1(E)||t.draggable&&E.startsWith("onDrag"))&&(a[E]=t[E]);return a}const y1=Y.createContext({});function E1(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function l0(t){return typeof t=="string"||Array.isArray(t)}const $_=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],U_=["initial",...$_];function w1(t){return E1(t.animate)||U_.some(e=>l0(t[e]))}function y$(t){return!!(w1(t)||t.variants)}function OX(t,e){if(w1(t)){const{initial:i,animate:a}=t;return{initial:i===!1||l0(i)?i:void 0,animate:l0(a)?a:void 0}}return t.inherit!==!1?e:{}}function DX(t){const{initial:e,animate:i}=OX(t,Y.useContext(y1));return Y.useMemo(()=>({initial:e,animate:i}),[E$(e),E$(i)])}function E$(t){return Array.isArray(t)?t.join(" "):t}const c0={};function RX(t){for(const e in t)c0[e]=t[e],i_(e)&&(c0[e].isCSSVariable=!0)}function w$(t,{layout:e,layoutId:i}){return Wp.has(t)||t.startsWith("origin")||(e||i!==void 0)&&(!!c0[t]||t==="opacity")}const MX={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},kX=Qp.length;function IX(t,e,i){let a="",E=!0;for(let p=0;p<kX;p++){const g=Qp[p],y=t[g];if(y===void 0)continue;let f=!0;if(typeof y=="number"?f=y===(g.startsWith("scale")?1:0):f=parseFloat(y)===0,!f||i){const b=a$(y,R_[g]);if(!f){E=!1;const c=MX[g]||g;a+=`${c}(${b}) `}i&&(e[g]=b)}}return a=a.trim(),i?a=i(e,E?"":a):E&&(a="none"),a}function H_(t,e,i){const{style:a,vars:E,transformOrigin:p}=t;let g=!1,y=!1;for(const f in e){const b=e[f];if(Wp.has(f)){g=!0;continue}else if(i_(f)){E[f]=b;continue}else{const c=a$(b,R_[f]);f.startsWith("origin")?(y=!0,p[f]=c):a[f]=c}}if(e.transform||(g||i?a.transform=IX(e,t.transform,i):a.transform&&(a.transform="none")),y){const{originX:f="50%",originY:b="50%",originZ:c=0}=p;a.transformOrigin=`${f} ${b} ${c}`}}const j_=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function S$(t,e,i){for(const a in e)!Nr(e[a])&&!w$(a,i)&&(t[a]=e[a])}function $X({transformTemplate:t},e){return Y.useMemo(()=>{const i=j_();return H_(i,e,t),Object.assign({},i.vars,i.style)},[e])}function UX(t,e){const i=t.style||{},a={};return S$(a,i,t),Object.assign(a,$X(t,e)),a}function HX(t,e){const i={},a=UX(t,e);return t.drag&&t.dragListener!==!1&&(i.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=a,i}const jX={offset:"stroke-dashoffset",array:"stroke-dasharray"},zX={offset:"strokeDashoffset",array:"strokeDasharray"};function BX(t,e,i=1,a=0,E=!0){t.pathLength=1;const p=E?jX:zX;t[p.offset]=Yt.transform(-a);const g=Yt.transform(e),y=Yt.transform(i);t[p.array]=`${g} ${y}`}function T$(t,{attrX:e,attrY:i,attrScale:a,pathLength:E,pathSpacing:p=1,pathOffset:g=0,...y},f,b,c){if(H_(t,y,b),f){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:u,style:d}=t;u.transform&&(d.transform=u.transform,delete u.transform),(d.transform||u.transformOrigin)&&(d.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),d.transform&&(d.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete u.transformBox),e!==void 0&&(u.x=e),i!==void 0&&(u.y=i),a!==void 0&&(u.scale=a),E!==void 0&&BX(u,E,p,g,!1)}const A$=()=>({...j_(),attrs:{}}),x$=t=>typeof t=="string"&&t.toLowerCase()==="svg";function FX(t,e,i,a){const E=Y.useMemo(()=>{const p=A$();return T$(p,e,x$(a),t.transformTemplate,t.style),{...p.attrs,style:{...p.style}}},[e]);if(t.style){const p={};S$(p,t.style,t),E.style={...p,...E.style}}return E}const PX=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function z_(t){return typeof t!="string"||t.includes("-")?!1:!!(PX.indexOf(t)>-1||/[A-Z]/u.test(t))}function VX(t,e,i,{latestValues:a},E,p=!1){const y=(z_(t)?FX:HX)(e,a,E,t),f=LX(e,typeof t=="string",p),b=t!==Y.Fragment?{...f,...y,ref:i}:{},{children:c}=e,u=Y.useMemo(()=>Nr(c)?c.get():c,[c]);return Y.createElement(t,{...b,children:u})}function _$(t){const e=[{},{}];return t==null||t.values.forEach((i,a)=>{e[0][a]=i.get(),e[1][a]=i.getVelocity()}),e}function B_(t,e,i,a){if(typeof e=="function"){const[E,p]=_$(a);e=e(i!==void 0?i:t.custom,E,p)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[E,p]=_$(a);e=e(i!==void 0?i:t.custom,E,p)}return e}function S1(t){return Nr(t)?t.get():t}function GX({scrapeMotionValuesFromProps:t,createRenderState:e},i,a,E){return{latestValues:QX(i,a,E,t),renderState:e()}}function QX(t,e,i,a){const E={},p=a(t,{});for(const d in p)E[d]=S1(p[d]);let{initial:g,animate:y}=t;const f=w1(t),b=y$(t);e&&b&&!f&&t.inherit!==!1&&(g===void 0&&(g=e.initial),y===void 0&&(y=e.animate));let c=i?i.initial===!1:!1;c=c||g===!1;const u=c?y:g;if(u&&typeof u!="boolean"&&!E1(u)){const d=Array.isArray(u)?u:[u];for(let h=0;h<d.length;h++){const m=B_(t,d[h]);if(m){const{transitionEnd:S,transition:T,...A}=m;for(const N in A){let D=A[N];if(Array.isArray(D)){const R=c?D.length-1:0;D=D[R]}D!==null&&(E[N]=D)}for(const N in S)E[N]=S[N]}}}return E}const C$=t=>(e,i)=>{const a=Y.useContext(y1),E=Y.useContext(Yx),p=()=>GX(t,e,a,E);return i?p():CW(p)};function F_(t,e,i){var p;const{style:a}=t,E={};for(const g in a)(Nr(a[g])||e.style&&Nr(e.style[g])||w$(g,t)||((p=i==null?void 0:i.getValue(g))==null?void 0:p.liveStyle)!==void 0)&&(E[g]=a[g]);return E}const WX=C$({scrapeMotionValuesFromProps:F_,createRenderState:j_});function N$(t,e,i){const a=F_(t,e,i);for(const E in t)if(Nr(t[E])||Nr(e[E])){const p=Qp.indexOf(E)!==-1?"attr"+E.charAt(0).toUpperCase()+E.substring(1):E;a[p]=t[E]}return a}const YX=C$({scrapeMotionValuesFromProps:N$,createRenderState:A$}),XX=Symbol.for("motionComponentSymbol");function qp(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function qX(t,e,i){return Y.useCallback(a=>{a&&t.onMount&&t.onMount(a),e&&(a?e.mount(a):e.unmount()),i&&(typeof i=="function"?i(a):qp(i)&&(i.current=a))},[e])}const P_=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),L$="data-"+P_("framerAppearId"),O$=Y.createContext({});function KX(t,e,i,a,E){var S,T;const{visualElement:p}=Y.useContext(y1),g=Y.useContext(g$),y=Y.useContext(Yx),f=Y.useContext(p$).reducedMotion,b=Y.useRef(null);a=a||g.renderer,!b.current&&a&&(b.current=a(t,{visualState:e,parent:p,props:i,presenceContext:y,blockInitialAnimation:y?y.initial===!1:!1,reducedMotionConfig:f}));const c=b.current,u=Y.useContext(O$);c&&!c.projection&&E&&(c.type==="html"||c.type==="svg")&&ZX(b.current,i,E,u);const d=Y.useRef(!1);Y.useInsertionEffect(()=>{c&&d.current&&c.update(i,y)});const h=i[L$],m=Y.useRef(!!h&&!((S=window.MotionHandoffIsComplete)!=null&&S.call(window,h))&&((T=window.MotionHasOptimisedAnimation)==null?void 0:T.call(window,h)));return NW(()=>{c&&(d.current=!0,window.MotionIsMounted=!0,c.updateFeatures(),c.scheduleRenderMicrotask(),m.current&&c.animationState&&c.animationState.animateChanges())}),Y.useEffect(()=>{c&&(!m.current&&c.animationState&&c.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var A;(A=window.MotionHandoffMarkAsComplete)==null||A.call(window,h)}),m.current=!1),c.enteringChildren=void 0)}),c}function ZX(t,e,i,a){const{layoutId:E,layout:p,drag:g,dragConstraints:y,layoutScroll:f,layoutRoot:b,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:D$(t.parent)),t.projection.setOptions({layoutId:E,layout:p,alwaysMeasureLayout:!!g||y&&qp(y),visualElement:t,animationType:typeof p=="string"?p:"both",initialPromotionConfig:a,crossfade:c,layoutScroll:f,layoutRoot:b})}function D$(t){if(t)return t.options.allowProjection!==!1?t.projection:D$(t.parent)}function V_(t,{forwardMotionProps:e=!1}={},i,a){i&&_X(i);const E=z_(t)?YX:WX;function p(y,f){let b;const c={...Y.useContext(p$),...y,layoutId:JX(y)},{isStatic:u}=c,d=DX(y),h=E(y,u);if(!u&&Wx){eq(c,i);const m=tq(c);b=m.MeasureLayout,d.visualElement=KX(t,h,c,a,m.ProjectionNode)}return H.jsxs(y1.Provider,{value:d,children:[b&&d.visualElement?H.jsx(b,{visualElement:d.visualElement,...c}):null,VX(t,y,qX(h,d.visualElement,f),h,u,e)]})}p.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const g=Y.forwardRef(p);return g[XX]=t,g}function JX({layoutId:t}){const e=Y.useContext(i5).id;return e&&t!==void 0?e+"-"+t:t}function eq(t,e){const i=Y.useContext(g$).strict;if(process.env.NODE_ENV!=="production"&&e&&i){const a="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";t.ignoreStrict?Fp(!1,a,"lazy-strict-mode"):hu(!1,a,"lazy-strict-mode")}}function tq(t){const{drag:e,layout:i}=Xp;if(!e&&!i)return{};const a={...e,...i};return{MeasureLayout:e!=null&&e.isEnabled(t)||i!=null&&i.isEnabled(t)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function nq(t,e){if(typeof Proxy>"u")return V_;const i=new Map,a=(p,g)=>V_(p,g,t,e),E=(p,g)=>(process.env.NODE_ENV!=="production"&&e_(!1,"motion() is deprecated. Use motion.create() instead."),a(p,g));return new Proxy(E,{get:(p,g)=>g==="create"?a:(i.has(g)||i.set(g,V_(g,void 0,t,e)),i.get(g))})}function R$({top:t,left:e,right:i,bottom:a}){return{x:{min:e,max:i},y:{min:t,max:a}}}function oq({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function iq(t,e){if(!e)return t;const i=e({x:t.left,y:t.top}),a=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:a.y,right:a.x}}function G_(t){return t===void 0||t===1}function Q_({scale:t,scaleX:e,scaleY:i}){return!G_(t)||!G_(e)||!G_(i)}function zh(t){return Q_(t)||M$(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function M$(t){return k$(t.x)||k$(t.y)}function k$(t){return t&&t!=="0%"}function T1(t,e,i){const a=t-i,E=e*a;return i+E}function I$(t,e,i,a,E){return E!==void 0&&(t=T1(t,E,a)),T1(t,i,a)+e}function W_(t,e=0,i=1,a,E){t.min=I$(t.min,e,i,a,E),t.max=I$(t.max,e,i,a,E)}function $$(t,{x:e,y:i}){W_(t.x,e.translate,e.scale,e.originPoint),W_(t.y,i.translate,i.scale,i.originPoint)}const U$=.999999999999,H$=1.0000000000001;function rq(t,e,i,a=!1){const E=i.length;if(!E)return;e.x=e.y=1;let p,g;for(let y=0;y<E;y++){p=i[y],g=p.projectionDelta;const{visualElement:f}=p.options;f&&f.props.style&&f.props.style.display==="contents"||(a&&p.options.layoutScroll&&p.scroll&&p!==p.root&&Zp(t,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),g&&(e.x*=g.x.scale,e.y*=g.y.scale,$$(t,g)),a&&zh(p.latestValues)&&Zp(t,p.latestValues))}e.x<H$&&e.x>U$&&(e.x=1),e.y<H$&&e.y>U$&&(e.y=1)}function Kp(t,e){t.min=t.min+e,t.max=t.max+e}function j$(t,e,i,a,E=.5){const p=zo(t.min,t.max,E);W_(t,e,i,p,a)}function Zp(t,e){j$(t.x,e.x,e.scaleX,e.scale,e.originX),j$(t.y,e.y,e.scaleY,e.scale,e.originY)}function z$(t,e){return R$(iq(t.getBoundingClientRect(),e))}function aq(t,e,i){const a=z$(t,i),{scroll:E}=e;return E&&(Kp(a.x,E.offset.x),Kp(a.y,E.offset.y)),a}const B$=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jp=()=>({x:B$(),y:B$()}),F$=()=>({min:0,max:0}),ri=()=>({x:F$(),y:F$()}),Y_={current:null},P$={current:!1};function sq(){if(P$.current=!0,!!Wx)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Y_.current=t.matches;t.addEventListener("change",e),e()}else Y_.current=!1}const lq=new WeakMap;function cq(t,e,i){for(const a in e){const E=e[a],p=i[a];if(Nr(E))t.addValue(a,E);else if(Nr(p))t.addValue(a,Yp(E,{owner:t}));else if(p!==E)if(t.hasValue(a)){const g=t.getValue(a);g.liveStyle===!0?g.jump(E):g.hasAnimated||g.set(E)}else{const g=t.getStaticValue(a);t.addValue(a,Yp(g!==void 0?g:E,{owner:t}))}}for(const a in i)e[a]===void 0&&t.removeValue(a);return e}const V$=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class uq{scrapeMotionValuesFromProps(e,i,a){return{}}constructor({parent:e,props:i,presenceContext:a,reducedMotionConfig:E,blockInitialAnimation:p,visualState:g},y={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=N_,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=wa.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,ko.render(this.render,!1,!0))};const{latestValues:f,renderState:b}=g;this.latestValues=f,this.baseTarget={...f},this.initialValues=i.initial?{...f}:{},this.renderState=b,this.parent=e,this.props=i,this.presenceContext=a,this.depth=e?e.depth+1:0,this.reducedMotionConfig=E,this.options=y,this.blockInitialAnimation=!!p,this.isControllingVariants=w1(i),this.isVariantNode=y$(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(i,{},this);for(const d in u){const h=u[d];f[d]!==void 0&&Nr(h)&&h.set(f[d])}}mount(e){var i;this.current=e,lq.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,E)=>this.bindToMotionValue(E,a)),P$.current||sq(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Y_.current,process.env.NODE_ENV!=="production"&&e_(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),(i=this.parent)==null||i.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;this.projection&&this.projection.unmount(),Fd(this.notifyUpdate),Fd(this.render),this.valueSubscriptions.forEach(i=>i()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this);for(const i in this.events)this.events[i].clear();for(const i in this.features){const a=this.features[i];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,i){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const a=Wp.has(e);a&&this.onBindTransform&&this.onBindTransform();const E=i.on("change",g=>{this.latestValues[e]=g,this.props.onUpdate&&ko.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let p;window.MotionCheckAppearSync&&(p=window.MotionCheckAppearSync(this,e,i)),this.valueSubscriptions.set(e,()=>{E(),p&&p(),i.owner&&i.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Xp){const i=Xp[e];if(!i)continue;const{isEnabled:a,Feature:E}=i;if(!this.features[e]&&E&&a(this.props)&&(this.features[e]=new E(this)),this.features[e]){const p=this.features[e];p.isMounted?p.update():(p.mount(),p.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ri()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,i){this.latestValues[e]=i}update(e,i){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=i;for(let a=0;a<V$.length;a++){const E=V$[a];this.propEventSubscriptions[E]&&(this.propEventSubscriptions[E](),delete this.propEventSubscriptions[E]);const p="on"+E,g=e[p];g&&(this.propEventSubscriptions[E]=this.on(E,g))}this.prevMotionValues=cq(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const i=this.getClosestVariantNode();if(i)return i.variantChildren&&i.variantChildren.add(e),()=>i.variantChildren.delete(e)}addValue(e,i){const a=this.values.get(e);i!==a&&(a&&this.removeValue(e),this.bindToMotionValue(e,i),this.values.set(e,i),this.latestValues[e]=i.get())}removeValue(e){this.values.delete(e);const i=this.valueSubscriptions.get(e);i&&(i(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,i){if(this.props.values&&this.props.values[e])return this.props.values[e];let a=this.values.get(e);return a===void 0&&i!==void 0&&(a=Yp(i===null?void 0:i,{owner:this}),this.addValue(e,a)),a}readValue(e,i){let a=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return a!=null&&(typeof a=="string"&&(r5(a)||s5(a))?a=parseFloat(a):!AX(a)&&Vd.test(i)&&(a=r$(e,i)),this.setBaseTarget(e,Nr(a)?a.get():a)),Nr(a)?a.get():a}setBaseTarget(e,i){this.baseTarget[e]=i}getBaseTarget(e){var p;const{initial:i}=this.props;let a;if(typeof i=="string"||typeof i=="object"){const g=B_(this.props,i,(p=this.presenceContext)==null?void 0:p.custom);g&&(a=g[e])}if(i&&a!==void 0)return a;const E=this.getBaseTargetFromProps(this.props,e);return E!==void 0&&!Nr(E)?E:this.initialValues[e]!==void 0&&a===void 0?void 0:this.baseTarget[e]}on(e,i){return this.events[e]||(this.events[e]=new Jx),this.events[e].add(i)}notify(e,...i){this.events[e]&&this.events[e].notify(...i)}scheduleRenderMicrotask(){M_.render(this.render)}}class G$ extends uq{constructor(){super(...arguments),this.KeyframeResolver=dX}sortInstanceNodePosition(e,i){return e.compareDocumentPosition(i)&2?1:-1}getBaseTargetFromProps(e,i){return e.style?e.style[i]:void 0}removeValueFromRenderState(e,{vars:i,style:a}){delete i[e],delete a[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Nr(e)&&(this.childSubscription=e.on("change",i=>{this.current&&(this.current.textContent=`${i}`)}))}}function Q$(t,{style:e,vars:i},a,E){const p=t.style;let g;for(g in e)p[g]=e[g];E==null||E.applyProjectionStyles(p,a);for(g in i)p.setProperty(g,i[g])}function dq(t){return window.getComputedStyle(t)}class fq extends G${constructor(){super(...arguments),this.type="html",this.renderInstance=Q$}readValueFromInstance(e,i){var a;if(Wp.has(i))return(a=this.projection)!=null&&a.isProjecting?T_(i):OY(e,i);{const E=dq(e),p=(i_(i)?E.getPropertyValue(i):E[i])||0;return typeof p=="string"?p.trim():p}}measureInstanceViewportBox(e,{transformPagePoint:i}){return z$(e,i)}build(e,i,a){H_(e,i,a.transformTemplate)}scrapeMotionValuesFromProps(e,i,a){return F_(e,i,a)}}const W$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function hq(t,e,i,a){Q$(t,e,void 0,a);for(const E in e.attrs)t.setAttribute(W$.has(E)?E:P_(E),e.attrs[E])}class mq extends G${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ri}getBaseTargetFromProps(e,i){return e[i]}readValueFromInstance(e,i){if(Wp.has(i)){const a=i$(i);return a&&a.default||0}return i=W$.has(i)?i:P_(i),e.getAttribute(i)}scrapeMotionValuesFromProps(e,i,a){return N$(e,i,a)}build(e,i,a){T$(e,i,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(e,i,a,E){hq(e,i,a,E)}mount(e){this.isSVGTag=x$(e.tagName),super.mount(e)}}const pq=(t,e)=>z_(t)?new mq(e):new fq(e,{allowProjection:t!==Y.Fragment});function eg(t,e,i){const a=t.getProps();return B_(a,e,i!==void 0?i:a.custom,t)}const X_=t=>Array.isArray(t);function gq(t,e,i){t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,Yp(i))}function bq(t){return X_(t)?t[t.length-1]||0:t}function vq(t,e){const i=eg(t,e);let{transitionEnd:a={},transition:E={},...p}=i||{};p={...p,...a};for(const g in p){const y=bq(p[g]);gq(t,g,y)}}function yq(t){return!!(Nr(t)&&t.add)}function q_(t,e){const i=t.getValue("willChange");if(yq(i))return i.add(e);if(!i&&mu.WillChange){const a=new mu.WillChange("auto");t.addValue("willChange",a),a.add(e)}}function Y$(t){return t.props[L$]}const Eq=t=>t!==null;function wq(t,{repeat:e,repeatType:i="loop"},a){const E=t.filter(Eq),p=e&&i!=="loop"&&e%2===1?0:E.length-1;return E[p]}const Sq={type:"spring",stiffness:500,damping:25,restSpeed:10},Tq=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Aq={type:"keyframes",duration:.8},xq={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},_q=(t,{keyframes:e})=>e.length>2?Aq:Wp.has(t)?t.startsWith("scale")?Tq(e[1]):Sq:xq;function Cq({when:t,delay:e,delayChildren:i,staggerChildren:a,staggerDirection:E,repeat:p,repeatType:g,repeatDelay:y,from:f,elapsed:b,...c}){return!!Object.keys(c).length}const K_=(t,e,i,a={},E,p)=>g=>{const y=O_(a,t)||{},f=y.delay||a.delay||0;let{elapsed:b=0}=a;b=b-Ol(f);const c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...y,delay:-b,onUpdate:d=>{e.set(d),y.onUpdate&&y.onUpdate(d)},onComplete:()=>{g(),y.onComplete&&y.onComplete()},name:t,motionValue:e,element:p?void 0:E};Cq(y)||Object.assign(c,_q(t,c)),c.duration&&(c.duration=Ol(c.duration)),c.repeatDelay&&(c.repeatDelay=Ol(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let u=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(L_(c),c.delay===0&&(u=!0)),(mu.instantAnimations||mu.skipAnimations)&&(u=!0,L_(c),c.delay=0),c.allowFlatten=!y.type&&!y.ease,u&&!p&&e.get()!==void 0){const d=wq(c.keyframes,y);if(d!==void 0){ko.update(()=>{c.onUpdate(d),c.onComplete()});return}}return y.isSync?new E_(c):new JY(c)};function Nq({protectedKeys:t,needsAnimating:e},i){const a=t.hasOwnProperty(i)&&e[i]!==!0;return e[i]=!1,a}function X$(t,e,{delay:i=0,transitionOverride:a,type:E}={}){let{transition:p=t.getDefaultTransition(),transitionEnd:g,...y}=e;a&&(p=a);const f=[],b=E&&t.animationState&&t.animationState.getState()[E];for(const c in y){const u=t.getValue(c,t.latestValues[c]??null),d=y[c];if(d===void 0||b&&Nq(b,c))continue;const h={delay:i,...O_(p||{},c)},m=u.get();if(m!==void 0&&!u.isAnimating&&!Array.isArray(d)&&d===m&&!h.velocity)continue;let S=!1;if(window.MotionHandoffAnimation){const A=Y$(t);if(A){const N=window.MotionHandoffAnimation(A,c,ko);N!==null&&(h.startTime=N,S=!0)}}q_(t,c),u.start(K_(c,u,d,t.shouldReduceMotion&&J5.has(c)?{type:!1}:h,t,S));const T=u.animation;T&&f.push(T)}return g&&Promise.all(f).then(()=>{ko.update(()=>{g&&vq(t,g)})}),f}function q$(t,e,i,a=0,E=1){const p=Array.from(t).sort((b,c)=>b.sortNodePosition(c)).indexOf(e),g=t.size,y=(g-1)*a;return typeof i=="function"?i(p,g):E===1?p*a:y-p*a}function Z_(t,e,i={}){var f;const a=eg(t,e,i.type==="exit"?(f=t.presenceContext)==null?void 0:f.custom:void 0);let{transition:E=t.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(E=i.transitionOverride);const p=a?()=>Promise.all(X$(t,a,i)):()=>Promise.resolve(),g=t.variantChildren&&t.variantChildren.size?(b=0)=>{const{delayChildren:c=0,staggerChildren:u,staggerDirection:d}=E;return Lq(t,e,b,c,u,d,i)}:()=>Promise.resolve(),{when:y}=E;if(y){const[b,c]=y==="beforeChildren"?[p,g]:[g,p];return b().then(()=>c())}else return Promise.all([p(),g(i.delay)])}function Lq(t,e,i=0,a=0,E=0,p=1,g){const y=[];for(const f of t.variantChildren)f.notify("AnimationStart",e),y.push(Z_(f,e,{...g,delay:i+(typeof a=="function"?0:a)+q$(t.variantChildren,f,a,E,p)}).then(()=>f.notify("AnimationComplete",e)));return Promise.all(y)}function Oq(t,e,i={}){t.notify("AnimationStart",e);let a;if(Array.isArray(e)){const E=e.map(p=>Z_(t,p,i));a=Promise.all(E)}else if(typeof e=="string")a=Z_(t,e,i);else{const E=typeof e=="function"?eg(t,e,i.custom):e;a=Promise.all(X$(t,E,i))}return a.then(()=>{t.notify("AnimationComplete",e)})}function K$(t,e){if(!Array.isArray(e))return!1;const i=e.length;if(i!==t.length)return!1;for(let a=0;a<i;a++)if(e[a]!==t[a])return!1;return!0}const Dq=U_.length;function Z$(t){if(!t)return;if(!t.isControllingVariants){const i=t.parent?Z$(t.parent)||{}:{};return t.props.initial!==void 0&&(i.initial=t.props.initial),i}const e={};for(let i=0;i<Dq;i++){const a=U_[i],E=t.props[a];(l0(E)||E===!1)&&(e[a]=E)}return e}const Rq=[...$_].reverse(),Mq=$_.length;function kq(t){return e=>Promise.all(e.map(({animation:i,options:a})=>Oq(t,i,a)))}function Iq(t){let e=kq(t),i=J$(),a=!0;const E=f=>(b,c)=>{var d;const u=eg(t,c,f==="exit"?(d=t.presenceContext)==null?void 0:d.custom:void 0);if(u){const{transition:h,transitionEnd:m,...S}=u;b={...b,...S,...m}}return b};function p(f){e=f(t)}function g(f){const{props:b}=t,c=Z$(t.parent)||{},u=[],d=new Set;let h={},m=1/0;for(let T=0;T<Mq;T++){const A=Rq[T],N=i[A],D=b[A]!==void 0?b[A]:c[A],R=l0(D),L=A===f?N.isActive:null;L===!1&&(m=T);let C=D===c[A]&&D!==b[A]&&R;if(C&&a&&t.manuallyAnimateOnMount&&(C=!1),N.protectedKeys={...h},!N.isActive&&L===null||!D&&!N.prevProp||E1(D)||typeof D=="boolean")continue;const $=$q(N.prevProp,D);let F=$||A===f&&N.isActive&&!C&&R||T>m&&R,U=!1;const j=Array.isArray(D)?D:[D];let X=j.reduce(E(A),{});L===!1&&(X={});const{prevResolvedValues:P={}}=N,B={...P,...X},k=W=>{F=!0,d.has(W)&&(U=!0,d.delete(W)),N.needsAnimating[W]=!0;const Q=t.getValue(W);Q&&(Q.liveStyle=!1)};for(const W in B){const Q=X[W],J=P[W];if(h.hasOwnProperty(W))continue;let K=!1;X_(Q)&&X_(J)?K=!K$(Q,J):K=Q!==J,K?Q!=null?k(W):d.add(W):Q!==void 0&&d.has(W)?k(W):N.protectedKeys[W]=!0}N.prevProp=D,N.prevResolvedValues=X,N.isActive&&(h={...h,...X}),a&&t.blockInitialAnimation&&(F=!1);const M=C&&$;F&&(!M||U)&&u.push(...j.map(W=>{const Q={type:A};if(typeof W=="string"&&a&&!M&&t.manuallyAnimateOnMount&&t.parent){const{parent:J}=t,K=eg(J,W);if(J.enteringChildren&&K){const{delayChildren:Z}=K.transition||{};Q.delay=q$(J.enteringChildren,t,Z)}}return{animation:W,options:Q}}))}if(d.size){const T={};if(typeof b.initial!="boolean"){const A=eg(t,Array.isArray(b.initial)?b.initial[0]:b.initial);A&&A.transition&&(T.transition=A.transition)}d.forEach(A=>{const N=t.getBaseTarget(A),D=t.getValue(A);D&&(D.liveStyle=!0),T[A]=N??null}),u.push({animation:T})}let S=!!u.length;return a&&(b.initial===!1||b.initial===b.animate)&&!t.manuallyAnimateOnMount&&(S=!1),a=!1,S?e(u):Promise.resolve()}function y(f,b){var u;if(i[f].isActive===b)return Promise.resolve();(u=t.variantChildren)==null||u.forEach(d=>{var h;return(h=d.animationState)==null?void 0:h.setActive(f,b)}),i[f].isActive=b;const c=g(f);for(const d in i)i[d].protectedKeys={};return c}return{animateChanges:g,setActive:y,setAnimateFunction:p,getState:()=>i,reset:()=>{i=J$(),a=!0}}}function $q(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!K$(e,t):!1}function Bh(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function J$(){return{animate:Bh(!0),whileInView:Bh(),whileHover:Bh(),whileTap:Bh(),whileDrag:Bh(),whileFocus:Bh(),exit:Bh()}}class Gd{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Uq extends Gd{constructor(e){super(e),e.animationState||(e.animationState=Iq(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();E1(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:i}=this.node.prevProps||{};e!==i&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)==null||e.call(this)}}let Hq=0;class jq extends Gd{constructor(){super(...arguments),this.id=Hq++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:i}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===a)return;const E=this.node.animationState.setActive("exit",!e);i&&!e&&E.then(()=>{i(this.id)})}mount(){const{register:e,onExitComplete:i}=this.node.presenceContext||{};i&&i(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const zq={animation:{Feature:Uq},exit:{Feature:jq}};function u0(t,e,i,a={passive:!0}){return t.addEventListener(e,i,a),()=>t.removeEventListener(e,i)}function d0(t){return{point:{x:t.pageX,y:t.pageY}}}const Bq=t=>e=>k_(e)&&t(e,d0(e));function f0(t,e,i,a){return u0(t,e,Bq(i),a)}const e6=1e-4,Fq=1-e6,Pq=1+e6,t6=.01,Vq=0-t6,Gq=0+t6;function Xr(t){return t.max-t.min}function Qq(t,e,i){return Math.abs(t-e)<=i}function n6(t,e,i,a=.5){t.origin=a,t.originPoint=zo(e.min,e.max,t.origin),t.scale=Xr(i)/Xr(e),t.translate=zo(i.min,i.max,t.origin)-t.originPoint,(t.scale>=Fq&&t.scale<=Pq||isNaN(t.scale))&&(t.scale=1),(t.translate>=Vq&&t.translate<=Gq||isNaN(t.translate))&&(t.translate=0)}function h0(t,e,i,a){n6(t.x,e.x,i.x,a?a.originX:void 0),n6(t.y,e.y,i.y,a?a.originY:void 0)}function o6(t,e,i){t.min=i.min+e.min,t.max=t.min+Xr(e)}function Wq(t,e,i){o6(t.x,e.x,i.x),o6(t.y,e.y,i.y)}function i6(t,e,i){t.min=e.min-i.min,t.max=t.min+Xr(e)}function m0(t,e,i){i6(t.x,e.x,i.x),i6(t.y,e.y,i.y)}function Us(t){return[t("x"),t("y")]}const r6=({current:t})=>t?t.ownerDocument.defaultView:null,a6=(t,e)=>Math.abs(t-e);function Yq(t,e){const i=a6(t.x,e.x),a=a6(t.y,e.y);return Math.sqrt(i**2+a**2)}class s6{constructor(e,i,{transformPagePoint:a,contextWindow:E=window,dragSnapToOrigin:p=!1,distanceThreshold:g=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=eC(this.lastMoveEventInfo,this.history),h=this.startEvent!==null,m=Yq(d.offset,{x:0,y:0})>=this.distanceThreshold;if(!h&&!m)return;const{point:S}=d,{timestamp:T}=er;this.history.push({...S,timestamp:T});const{onStart:A,onMove:N}=this.handlers;h||(A&&A(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),N&&N(this.lastMoveEvent,d)},this.handlePointerMove=(d,h)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=J_(h,this.transformPagePoint),ko.update(this.updatePoint,!0)},this.handlePointerUp=(d,h)=>{this.end();const{onEnd:m,onSessionEnd:S,resumeAnimation:T}=this.handlers;if(this.dragSnapToOrigin&&T&&T(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const A=eC(d.type==="pointercancel"?this.lastMoveEventInfo:J_(h,this.transformPagePoint),this.history);this.startEvent&&m&&m(d,A),S&&S(d,A)},!k_(e))return;this.dragSnapToOrigin=p,this.handlers=i,this.transformPagePoint=a,this.distanceThreshold=g,this.contextWindow=E||window;const y=d0(e),f=J_(y,this.transformPagePoint),{point:b}=f,{timestamp:c}=er;this.history=[{...b,timestamp:c}];const{onSessionStart:u}=i;u&&u(e,eC(f,this.history)),this.removeListeners=e0(f0(this.contextWindow,"pointermove",this.handlePointerMove),f0(this.contextWindow,"pointerup",this.handlePointerUp),f0(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Fd(this.updatePoint)}}function J_(t,e){return e?{point:e(t.point)}:t}function l6(t,e){return{x:t.x-e.x,y:t.y-e.y}}function eC({point:t},e){return{point:t,delta:l6(t,c6(e)),offset:l6(t,Xq(e)),velocity:qq(e,.1)}}function Xq(t){return t[0]}function c6(t){return t[t.length-1]}function qq(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,a=null;const E=c6(t);for(;i>=0&&(a=t[i],!(E.timestamp-a.timestamp>Ol(e)));)i--;if(!a)return{x:0,y:0};const p=$s(E.timestamp-a.timestamp);if(p===0)return{x:0,y:0};const g={x:(E.x-a.x)/p,y:(E.y-a.y)/p};return g.x===1/0&&(g.x=0),g.y===1/0&&(g.y=0),g}function Kq(t,{min:e,max:i},a){return e!==void 0&&t<e?t=a?zo(e,t,a.min):Math.max(t,e):i!==void 0&&t>i&&(t=a?zo(i,t,a.max):Math.min(t,i)),t}function u6(t,e,i){return{min:e!==void 0?t.min+e:void 0,max:i!==void 0?t.max+i-(t.max-t.min):void 0}}function Zq(t,{top:e,left:i,bottom:a,right:E}){return{x:u6(t.x,i,E),y:u6(t.y,e,a)}}function d6(t,e){let i=e.min-t.min,a=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,a]=[a,i]),{min:i,max:a}}function Jq(t,e){return{x:d6(t.x,e.x),y:d6(t.y,e.y)}}function eK(t,e){let i=.5;const a=Xr(t),E=Xr(e);return E>a?i=t0(e.min,e.max-a,t.min):a>E&&(i=t0(t.min,t.max-E,e.min)),fu(0,1,i)}function tK(t,e){const i={};return e.min!==void 0&&(i.min=e.min-t.min),e.max!==void 0&&(i.max=e.max-t.min),i}const tC=.35;function nK(t=tC){return t===!1?t=0:t===!0&&(t=tC),{x:f6(t,"left","right"),y:f6(t,"top","bottom")}}function f6(t,e,i){return{min:h6(t,e),max:h6(t,i)}}function h6(t,e){return typeof t=="number"?t:t[e]||0}const oK=new WeakMap;class iK{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ri(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:i=!1,distanceThreshold:a}={}){const{presenceContext:E}=this.visualElement;if(E&&E.isPresent===!1)return;const p=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),i&&this.snapToCursor(d0(u).point)},g=(u,d)=>{const{drag:h,dragPropagation:m,onDragStart:S}=this.getProps();if(h&&!m&&(this.openDragLock&&this.openDragLock(),this.openDragLock=gX(h),!this.openDragLock))return;this.latestPointerEvent=u,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Us(A=>{let N=this.getAxisMotionValue(A).get()||0;if(vc.test(N)){const{projection:D}=this.visualElement;if(D&&D.layout){const R=D.layout.layoutBox[A];R&&(N=Xr(R)*(parseFloat(N)/100))}}this.originPoint[A]=N}),S&&ko.postRender(()=>S(u,d)),q_(this.visualElement,"transform");const{animationState:T}=this.visualElement;T&&T.setActive("whileDrag",!0)},y=(u,d)=>{this.latestPointerEvent=u,this.latestPanInfo=d;const{dragPropagation:h,dragDirectionLock:m,onDirectionLock:S,onDrag:T}=this.getProps();if(!h&&!this.openDragLock)return;const{offset:A}=d;if(m&&this.currentDirection===null){this.currentDirection=rK(A),this.currentDirection!==null&&S&&S(this.currentDirection);return}this.updateAxis("x",d.point,A),this.updateAxis("y",d.point,A),this.visualElement.render(),T&&T(u,d)},f=(u,d)=>{this.latestPointerEvent=u,this.latestPanInfo=d,this.stop(u,d),this.latestPointerEvent=null,this.latestPanInfo=null},b=()=>Us(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)==null?void 0:d.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new s6(e,{onSessionStart:p,onStart:g,onMove:y,onSessionEnd:f,resumeAnimation:b},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:a,contextWindow:r6(this.visualElement)})}stop(e,i){const a=e||this.latestPointerEvent,E=i||this.latestPanInfo,p=this.isDragging;if(this.cancel(),!p||!E||!a)return;const{velocity:g}=E;this.startAnimation(g);const{onDragEnd:y}=this.getProps();y&&ko.postRender(()=>y(a,E))}cancel(){this.isDragging=!1;const{projection:e,animationState:i}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),i&&i.setActive("whileDrag",!1)}updateAxis(e,i,a){const{drag:E}=this.getProps();if(!a||!A1(e,E,this.currentDirection))return;const p=this.getAxisMotionValue(e);let g=this.originPoint[e]+a[e];this.constraints&&this.constraints[e]&&(g=Kq(g,this.constraints[e],this.elastic[e])),p.set(g)}resolveConstraints(){var p;const{dragConstraints:e,dragElastic:i}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(p=this.visualElement.projection)==null?void 0:p.layout,E=this.constraints;e&&qp(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&a?this.constraints=Zq(a.layoutBox,e):this.constraints=!1,this.elastic=nK(i),E!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Us(g=>{this.constraints!==!1&&this.getAxisMotionValue(g)&&(this.constraints[g]=tK(a.layoutBox[g],this.constraints[g]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!qp(e))return!1;const a=e.current;hu(a!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:E}=this.visualElement;if(!E||!E.layout)return!1;const p=aq(a,E.root,this.visualElement.getTransformPagePoint());let g=Jq(E.layout.layoutBox,p);if(i){const y=i(oq(g));this.hasMutatedConstraints=!!y,y&&(g=R$(y))}return g}startAnimation(e){const{drag:i,dragMomentum:a,dragElastic:E,dragTransition:p,dragSnapToOrigin:g,onDragTransitionEnd:y}=this.getProps(),f=this.constraints||{},b=Us(c=>{if(!A1(c,i,this.currentDirection))return;let u=f&&f[c]||{};g&&(u={min:0,max:0});const d=E?200:1e6,h=E?40:1e7,m={type:"inertia",velocity:a?e[c]:0,bounceStiffness:d,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...p,...u};return this.startAxisValueAnimation(c,m)});return Promise.all(b).then(y)}startAxisValueAnimation(e,i){const a=this.getAxisMotionValue(e);return q_(this.visualElement,e),a.start(K_(e,a,0,i,this.visualElement,!1))}stopAnimation(){Us(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Us(e=>{var i;return(i=this.getAxisMotionValue(e).animation)==null?void 0:i.pause()})}getAnimationState(e){var i;return(i=this.getAxisMotionValue(e).animation)==null?void 0:i.state}getAxisMotionValue(e){const i=`_drag${e.toUpperCase()}`,a=this.visualElement.getProps(),E=a[i];return E||this.visualElement.getValue(e,(a.initial?a.initial[e]:void 0)||0)}snapToCursor(e){Us(i=>{const{drag:a}=this.getProps();if(!A1(i,a,this.currentDirection))return;const{projection:E}=this.visualElement,p=this.getAxisMotionValue(i);if(E&&E.layout){const{min:g,max:y}=E.layout.layoutBox[i];p.set(e[i]-zo(g,y,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:i}=this.getProps(),{projection:a}=this.visualElement;if(!qp(i)||!a||!this.constraints)return;this.stopAnimation();const E={x:0,y:0};Us(g=>{const y=this.getAxisMotionValue(g);if(y&&this.constraints!==!1){const f=y.get();E[g]=eK({min:f,max:f},this.constraints[g])}});const{transformTemplate:p}=this.visualElement.getProps();this.visualElement.current.style.transform=p?p({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),Us(g=>{if(!A1(g,e,null))return;const y=this.getAxisMotionValue(g),{min:f,max:b}=this.constraints[g];y.set(zo(f,b,E[g]))})}addListeners(){if(!this.visualElement.current)return;oK.set(this.visualElement,this);const e=this.visualElement.current,i=f0(e,"pointerdown",f=>{const{drag:b,dragListener:c=!0}=this.getProps();b&&c&&this.start(f)}),a=()=>{const{dragConstraints:f}=this.getProps();qp(f)&&f.current&&(this.constraints=this.resolveRefConstraints())},{projection:E}=this.visualElement,p=E.addEventListener("measure",a);E&&!E.layout&&(E.root&&E.root.updateScroll(),E.updateLayout()),ko.read(a);const g=u0(window,"resize",()=>this.scalePositionWithinConstraints()),y=E.addEventListener("didUpdate",(({delta:f,hasLayoutChanged:b})=>{this.isDragging&&b&&(Us(c=>{const u=this.getAxisMotionValue(c);u&&(this.originPoint[c]+=f[c].translate,u.set(u.get()+f[c].translate))}),this.visualElement.render())}));return()=>{g(),i(),p(),y&&y()}}getProps(){const e=this.visualElement.getProps(),{drag:i=!1,dragDirectionLock:a=!1,dragPropagation:E=!1,dragConstraints:p=!1,dragElastic:g=tC,dragMomentum:y=!0}=e;return{...e,drag:i,dragDirectionLock:a,dragPropagation:E,dragConstraints:p,dragElastic:g,dragMomentum:y}}}function A1(t,e,i){return(e===!0||e===t)&&(i===null||i===t)}function rK(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}class aK extends Gd{constructor(e){super(e),this.removeGroupControls=Is,this.removeListeners=Is,this.controls=new iK(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Is}unmount(){this.removeGroupControls(),this.removeListeners()}}const m6=t=>(e,i)=>{t&&ko.postRender(()=>t(e,i))};class sK extends Gd{constructor(){super(...arguments),this.removePointerDownListener=Is}onPointerDown(e){this.session=new s6(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r6(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:i,onPan:a,onPanEnd:E}=this.node.getProps();return{onSessionStart:m6(e),onStart:m6(i),onMove:a,onEnd:(p,g)=>{delete this.session,E&&ko.postRender(()=>E(p,g))}}}mount(){this.removePointerDownListener=f0(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const x1={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function p6(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const p0={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(Yt.test(t))t=parseFloat(t);else return t;const i=p6(t,e.target.x),a=p6(t,e.target.y);return`${i}% ${a}%`}},lK={correct:(t,{treeScale:e,projectionDelta:i})=>{const a=t,E=Vd.parse(t);if(E.length>5)return a;const p=Vd.createTransformer(t),g=typeof E[0]!="number"?1:0,y=i.x.scale*e.x,f=i.y.scale*e.y;E[0+g]/=y,E[1+g]/=f;const b=zo(y,f,.5);return typeof E[2+g]=="number"&&(E[2+g]/=b),typeof E[3+g]=="number"&&(E[3+g]/=b),p(E)}};let nC=!1;class cK extends Y.Component{componentDidMount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:a,layoutId:E}=this.props,{projection:p}=e;RX(uK),p&&(i.group&&i.group.add(p),a&&a.register&&E&&a.register(p),nC&&p.root.didUpdate(),p.addEventListener("animationComplete",()=>{this.safeToRemove()}),p.setOptions({...p.options,onExitComplete:()=>this.safeToRemove()})),x1.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:i,visualElement:a,drag:E,isPresent:p}=this.props,{projection:g}=a;return g&&(g.isPresent=p,nC=!0,E||e.layoutDependency!==i||i===void 0||e.isPresent!==p?g.willUpdate():this.safeToRemove(),e.isPresent!==p&&(p?g.promote():g.relegate()||ko.postRender(()=>{const y=g.getStack();(!y||!y.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),M_.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:i,switchLayoutGroup:a}=this.props,{projection:E}=e;nC=!0,E&&(E.scheduleCheckAfterUnmount(),i&&i.group&&i.group.remove(E),a&&a.deregister&&a.deregister(E))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function g6(t){const[e,i]=xX(),a=Y.useContext(i5);return H.jsx(cK,{...t,layoutGroup:a,switchLayoutGroup:Y.useContext(O$),isPresent:e,safeToRemove:i})}const uK={borderRadius:{...p0,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:p0,borderTopRightRadius:p0,borderBottomLeftRadius:p0,borderBottomRightRadius:p0,boxShadow:lK};function dK(t,e,i){const a=Nr(t)?t:Yp(t);return a.start(K_("",a,e,i)),a.animation}const fK=(t,e)=>t.depth-e.depth;class hK{constructor(){this.children=[],this.isDirty=!1}add(e){Xx(this.children,e),this.isDirty=!0}remove(e){qx(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(fK),this.isDirty=!1,this.children.forEach(e)}}function mK(t,e){const i=wa.now(),a=({timestamp:E})=>{const p=E-i;p>=e&&(Fd(a),t(p-e))};return ko.setup(a,!0),()=>Fd(a)}const b6=["TopLeft","TopRight","BottomLeft","BottomRight"],pK=b6.length,v6=t=>typeof t=="string"?parseFloat(t):t,y6=t=>typeof t=="number"||Yt.test(t);function gK(t,e,i,a,E,p){E?(t.opacity=zo(0,i.opacity??1,bK(a)),t.opacityExit=zo(e.opacity??1,0,vK(a))):p&&(t.opacity=zo(e.opacity??1,i.opacity??1,a));for(let g=0;g<pK;g++){const y=`border${b6[g]}Radius`;let f=E6(e,y),b=E6(i,y);if(f===void 0&&b===void 0)continue;f||(f=0),b||(b=0),f===0||b===0||y6(f)===y6(b)?(t[y]=Math.max(zo(v6(f),v6(b),a),0),(vc.test(b)||vc.test(f))&&(t[y]+="%")):t[y]=b}(e.rotate||i.rotate)&&(t.rotate=zo(e.rotate||0,i.rotate||0,a))}function E6(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const bK=w6(0,.5,g5),vK=w6(.5,.95,Is);function w6(t,e,i){return a=>a<t?0:a>e?1:i(t0(t,e,a))}function S6(t,e){t.min=e.min,t.max=e.max}function Hs(t,e){S6(t.x,e.x),S6(t.y,e.y)}function T6(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function A6(t,e,i,a,E){return t-=e,t=T1(t,1/i,a),E!==void 0&&(t=T1(t,1/E,a)),t}function yK(t,e=0,i=1,a=.5,E,p=t,g=t){if(vc.test(e)&&(e=parseFloat(e),e=zo(g.min,g.max,e/100)-g.min),typeof e!="number")return;let y=zo(p.min,p.max,a);t===p&&(y-=e),t.min=A6(t.min,e,i,y,E),t.max=A6(t.max,e,i,y,E)}function x6(t,e,[i,a,E],p,g){yK(t,e[i],e[a],e[E],e.scale,p,g)}const EK=["x","scaleX","originX"],wK=["y","scaleY","originY"];function _6(t,e,i,a){x6(t.x,e,EK,i?i.x:void 0,a?a.x:void 0),x6(t.y,e,wK,i?i.y:void 0,a?a.y:void 0)}function C6(t){return t.translate===0&&t.scale===1}function N6(t){return C6(t.x)&&C6(t.y)}function L6(t,e){return t.min===e.min&&t.max===e.max}function SK(t,e){return L6(t.x,e.x)&&L6(t.y,e.y)}function O6(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function D6(t,e){return O6(t.x,e.x)&&O6(t.y,e.y)}function R6(t){return Xr(t.x)/Xr(t.y)}function M6(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class TK{constructor(){this.members=[]}add(e){Xx(this.members,e),e.scheduleRender()}remove(e){if(qx(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const i=this.members[this.members.length-1];i&&this.promote(i)}}relegate(e){const i=this.members.findIndex(E=>e===E);if(i===0)return!1;let a;for(let E=i;E>=0;E--){const p=this.members[E];if(p.isPresent!==!1){a=p;break}}return a?(this.promote(a),!0):!1}promote(e,i){const a=this.lead;if(e!==a&&(this.prevLead=a,this.lead=e,e.show(),a)){a.instance&&a.scheduleRender(),e.scheduleRender(),e.resumeFrom=a,i&&(e.resumeFrom.preserveOpacity=!0),a.snapshot&&(e.snapshot=a.snapshot,e.snapshot.latestValues=a.animationValues||a.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:E}=e.options;E===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:i,resumingFrom:a}=e;i.onExitComplete&&i.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function AK(t,e,i){let a="";const E=t.x.translate/e.x,p=t.y.translate/e.y,g=(i==null?void 0:i.z)||0;if((E||p||g)&&(a=`translate3d(${E}px, ${p}px, ${g}px) `),(e.x!==1||e.y!==1)&&(a+=`scale(${1/e.x}, ${1/e.y}) `),i){const{transformPerspective:b,rotate:c,rotateX:u,rotateY:d,skewX:h,skewY:m}=i;b&&(a=`perspective(${b}px) ${a}`),c&&(a+=`rotate(${c}deg) `),u&&(a+=`rotateX(${u}deg) `),d&&(a+=`rotateY(${d}deg) `),h&&(a+=`skewX(${h}deg) `),m&&(a+=`skewY(${m}deg) `)}const y=t.x.scale*e.x,f=t.y.scale*e.y;return(y!==1||f!==1)&&(a+=`scale(${y}, ${f})`),a||"none"}const oC=["","X","Y","Z"],xK=1e3;let _K=0;function iC(t,e,i,a){const{latestValues:E}=e;E[t]&&(i[t]=E[t],e.setStaticValue(t,0),a&&(a[t]=0))}function k6(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const i=Y$(e);if(window.MotionHasOptimisedAnimation(i,"transform")){const{layout:E,layoutId:p}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",ko,!(E||p))}const{parent:a}=t;a&&!a.hasCheckedOptimisedAppear&&k6(a)}function I6({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:a,resetTransform:E}){return class{constructor(g={},y=e==null?void 0:e()){this.id=_K++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(LK),this.nodes.forEach(MK),this.nodes.forEach(kK),this.nodes.forEach(OK)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=g,this.root=y?y.root||y:this,this.path=y?[...y.path,y]:[],this.parent=y,this.depth=y?y.depth+1:0;for(let f=0;f<this.path.length;f++)this.path[f].shouldResetTransform=!0;this.root===this&&(this.nodes=new hK)}addEventListener(g,y){return this.eventHandlers.has(g)||this.eventHandlers.set(g,new Jx),this.eventHandlers.get(g).add(y)}notifyListeners(g,...y){const f=this.eventHandlers.get(g);f&&f.notify(...y)}hasListeners(g){return this.eventHandlers.has(g)}mount(g){if(this.instance)return;this.isSVG=m$(g)&&!SX(g),this.instance=g;const{layoutId:y,layout:f,visualElement:b}=this.options;if(b&&!b.current&&b.mount(g),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(f||y)&&(this.isLayoutDirty=!0),t){let c,u=0;const d=()=>this.root.updateBlockedByResize=!1;ko.read(()=>{u=window.innerWidth}),t(g,()=>{const h=window.innerWidth;h!==u&&(u=h,this.root.updateBlockedByResize=!0,c&&c(),c=mK(d,250),x1.hasAnimatedSinceResize&&(x1.hasAnimatedSinceResize=!1,this.nodes.forEach(H6)))})}y&&this.root.registerSharedNode(y,this),this.options.animate!==!1&&b&&(y||f)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:u,hasRelativeLayoutChanged:d,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||b.getDefaultTransition()||jK,{onLayoutAnimationStart:S,onLayoutAnimationComplete:T}=b.getProps(),A=!this.targetLayout||!D6(this.targetLayout,h),N=!u&&d;if(this.options.layoutRoot||this.resumeFrom||N||u&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const D={...O_(m,"layout"),onPlay:S,onComplete:T};(b.shouldReduceMotion||this.options.layoutRoot)&&(D.delay=0,D.type=!1),this.startAnimation(D),this.setAnimationOrigin(c,N)}else u||H6(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const g=this.getStack();g&&g.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Fd(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(IK),this.animationId++)}getTransformTemplate(){const{visualElement:g}=this.options;return g&&g.getProps().transformTemplate}willUpdate(g=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&k6(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const u=this.path[c];u.shouldResetTransform=!0,u.updateScroll("snapshot"),u.options.layoutRoot&&u.willUpdate(!1)}const{layoutId:y,layout:f}=this.options;if(y===void 0&&!f)return;const b=this.getTransformTemplate();this.prevTransformTemplateValue=b?b(this.latestValues,""):void 0,this.updateSnapshot(),g&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($6);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(U6);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(RK),this.nodes.forEach(CK),this.nodes.forEach(NK)):this.nodes.forEach(U6),this.clearAllSnapshots();const y=wa.now();er.delta=fu(0,1e3/60,y-er.timestamp),er.timestamp=y,er.isProcessing=!0,o_.update.process(er),o_.preRender.process(er),o_.render.process(er),er.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,M_.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(DK),this.sharedNodes.forEach($K)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ko.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ko.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Xr(this.snapshot.measuredBox.x)&&!Xr(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let f=0;f<this.path.length;f++)this.path[f].updateScroll();const g=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ri(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:y}=this.options;y&&y.notify("LayoutMeasure",this.layout.layoutBox,g?g.layoutBox:void 0)}updateScroll(g="measure"){let y=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===g&&(y=!1),y&&this.instance){const f=a(this.instance);this.scroll={animationId:this.root.animationId,phase:g,isRoot:f,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:f}}}resetTransform(){if(!E)return;const g=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,y=this.projectionDelta&&!N6(this.projectionDelta),f=this.getTransformTemplate(),b=f?f(this.latestValues,""):void 0,c=b!==this.prevTransformTemplateValue;g&&this.instance&&(y||zh(this.latestValues)||c)&&(E(this.instance,b),this.shouldResetTransform=!1,this.scheduleRender())}measure(g=!0){const y=this.measurePageBox();let f=this.removeElementScroll(y);return g&&(f=this.removeTransform(f)),zK(f),{animationId:this.root.animationId,measuredBox:y,layoutBox:f,latestValues:{},source:this.id}}measurePageBox(){var b;const{visualElement:g}=this.options;if(!g)return ri();const y=g.measureViewportBox();if(!(((b=this.scroll)==null?void 0:b.wasRoot)||this.path.some(BK))){const{scroll:c}=this.root;c&&(Kp(y.x,c.offset.x),Kp(y.y,c.offset.y))}return y}removeElementScroll(g){var f;const y=ri();if(Hs(y,g),(f=this.scroll)!=null&&f.wasRoot)return y;for(let b=0;b<this.path.length;b++){const c=this.path[b],{scroll:u,options:d}=c;c!==this.root&&u&&d.layoutScroll&&(u.wasRoot&&Hs(y,g),Kp(y.x,u.offset.x),Kp(y.y,u.offset.y))}return y}applyTransform(g,y=!1){const f=ri();Hs(f,g);for(let b=0;b<this.path.length;b++){const c=this.path[b];!y&&c.options.layoutScroll&&c.scroll&&c!==c.root&&Zp(f,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),zh(c.latestValues)&&Zp(f,c.latestValues)}return zh(this.latestValues)&&Zp(f,this.latestValues),f}removeTransform(g){const y=ri();Hs(y,g);for(let f=0;f<this.path.length;f++){const b=this.path[f];if(!b.instance||!zh(b.latestValues))continue;Q_(b.latestValues)&&b.updateSnapshot();const c=ri(),u=b.measurePageBox();Hs(c,u),_6(y,b.latestValues,b.snapshot?b.snapshot.layoutBox:void 0,c)}return zh(this.latestValues)&&_6(y,this.latestValues),y}setTargetDelta(g){this.targetDelta=g,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(g){this.options={...this.options,...g,crossfade:g.crossfade!==void 0?g.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==er.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(g=!1){var d;const y=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=y.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=y.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=y.isSharedProjectionDirty);const f=!!this.resumingFrom||this!==y;if(!(g||f&&this.isSharedProjectionDirty||this.isProjectionDirty||(d=this.parent)!=null&&d.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:u}=this.options;if(!(!this.layout||!(c||u))){if(this.resolvedRelativeTargetAt=er.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ri(),this.relativeTargetOrigin=ri(),m0(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),Hs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=ri(),this.targetWithTransforms=ri()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Wq(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Hs(this.target,this.layout.layoutBox),$$(this.target,this.targetDelta)):Hs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ri(),this.relativeTargetOrigin=ri(),m0(this.relativeTargetOrigin,this.target,h.target),Hs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Q_(this.parent.latestValues)||M$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var m;const g=this.getLead(),y=!!this.resumingFrom||this!==g;let f=!0;if((this.isProjectionDirty||(m=this.parent)!=null&&m.isProjectionDirty)&&(f=!1),y&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(f=!1),this.resolvedRelativeTargetAt===er.timestamp&&(f=!1),f)return;const{layout:b,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(b||c))return;Hs(this.layoutCorrected,this.layout.layoutBox);const u=this.treeScale.x,d=this.treeScale.y;rq(this.layoutCorrected,this.treeScale,this.path,y),g.layout&&!g.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(g.target=g.layout.layoutBox,g.targetWithTransforms=ri());const{target:h}=g;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(T6(this.prevProjectionDelta.x,this.projectionDelta.x),T6(this.prevProjectionDelta.y,this.projectionDelta.y)),h0(this.projectionDelta,this.layoutCorrected,h,this.latestValues),(this.treeScale.x!==u||this.treeScale.y!==d||!M6(this.projectionDelta.x,this.prevProjectionDelta.x)||!M6(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(g=!0){var y;if((y=this.options.visualElement)==null||y.scheduleRender(),g){const f=this.getStack();f&&f.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Jp(),this.projectionDelta=Jp(),this.projectionDeltaWithTransform=Jp()}setAnimationOrigin(g,y=!1){const f=this.snapshot,b=f?f.latestValues:{},c={...this.latestValues},u=Jp();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!y;const d=ri(),h=f?f.source:void 0,m=this.layout?this.layout.source:void 0,S=h!==m,T=this.getStack(),A=!T||T.members.length<=1,N=!!(S&&!A&&this.options.crossfade===!0&&!this.path.some(HK));this.animationProgress=0;let D;this.mixTargetDelta=R=>{const L=R/1e3;j6(u.x,g.x,L),j6(u.y,g.y,L),this.setTargetDelta(u),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(m0(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),UK(this.relativeTarget,this.relativeTargetOrigin,d,L),D&&SK(this.relativeTarget,D)&&(this.isProjectionDirty=!1),D||(D=ri()),Hs(D,this.relativeTarget)),S&&(this.animationValues=c,gK(c,b,this.latestValues,L,N,A)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=L},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(g){var y,f,b;this.notifyListeners("animationStart"),(y=this.currentAnimation)==null||y.stop(),(b=(f=this.resumingFrom)==null?void 0:f.currentAnimation)==null||b.stop(),this.pendingAnimation&&(Fd(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ko.update(()=>{x1.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Yp(0)),this.currentAnimation=dK(this.motionValue,[0,1e3],{...g,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),g.onUpdate&&g.onUpdate(c)},onStop:()=>{},onComplete:()=>{g.onComplete&&g.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const g=this.getStack();g&&g.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(xK),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const g=this.getLead();let{targetWithTransforms:y,target:f,layout:b,latestValues:c}=g;if(!(!y||!f||!b)){if(this!==g&&this.layout&&b&&V6(this.options.animationType,this.layout.layoutBox,b.layoutBox)){f=this.target||ri();const u=Xr(this.layout.layoutBox.x);f.x.min=g.target.x.min,f.x.max=f.x.min+u;const d=Xr(this.layout.layoutBox.y);f.y.min=g.target.y.min,f.y.max=f.y.min+d}Hs(y,f),Zp(y,c),h0(this.projectionDeltaWithTransform,this.layoutCorrected,y,c)}}registerSharedNode(g,y){this.sharedNodes.has(g)||this.sharedNodes.set(g,new TK),this.sharedNodes.get(g).add(y);const b=y.options.initialPromotionConfig;y.promote({transition:b?b.transition:void 0,preserveFollowOpacity:b&&b.shouldPreserveFollowOpacity?b.shouldPreserveFollowOpacity(y):void 0})}isLead(){const g=this.getStack();return g?g.lead===this:!0}getLead(){var y;const{layoutId:g}=this.options;return g?((y=this.getStack())==null?void 0:y.lead)||this:this}getPrevLead(){var y;const{layoutId:g}=this.options;return g?(y=this.getStack())==null?void 0:y.prevLead:void 0}getStack(){const{layoutId:g}=this.options;if(g)return this.root.sharedNodes.get(g)}promote({needsReset:g,transition:y,preserveFollowOpacity:f}={}){const b=this.getStack();b&&b.promote(this,f),g&&(this.projectionDelta=void 0,this.needsReset=!0),y&&this.setOptions({transition:y})}relegate(){const g=this.getStack();return g?g.relegate(this):!1}resetSkewAndRotation(){const{visualElement:g}=this.options;if(!g)return;let y=!1;const{latestValues:f}=g;if((f.z||f.rotate||f.rotateX||f.rotateY||f.rotateZ||f.skewX||f.skewY)&&(y=!0),!y)return;const b={};f.z&&iC("z",g,b,this.animationValues);for(let c=0;c<oC.length;c++)iC(`rotate${oC[c]}`,g,b,this.animationValues),iC(`skew${oC[c]}`,g,b,this.animationValues);g.render();for(const c in b)g.setStaticValue(c,b[c]),this.animationValues&&(this.animationValues[c]=b[c]);g.scheduleRender()}applyProjectionStyles(g,y){if(!this.instance||this.isSVG)return;if(!this.isVisible){g.visibility="hidden";return}const f=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,g.visibility="",g.opacity="",g.pointerEvents=S1(y==null?void 0:y.pointerEvents)||"",g.transform=f?f(this.latestValues,""):"none";return}const b=this.getLead();if(!this.projectionDelta||!this.layout||!b.target){this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=S1(y==null?void 0:y.pointerEvents)||""),this.hasProjected&&!zh(this.latestValues)&&(g.transform=f?f({},""):"none",this.hasProjected=!1);return}g.visibility="";const c=b.animationValues||b.latestValues;this.applyTransformsToTarget();let u=AK(this.projectionDeltaWithTransform,this.treeScale,c);f&&(u=f(c,u)),g.transform=u;const{x:d,y:h}=this.projectionDelta;g.transformOrigin=`${d.origin*100}% ${h.origin*100}% 0`,b.animationValues?g.opacity=b===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:g.opacity=b===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const m in c0){if(c[m]===void 0)continue;const{correct:S,applyTo:T,isCSSVariable:A}=c0[m],N=u==="none"?c[m]:S(c[m],b);if(T){const D=T.length;for(let R=0;R<D;R++)g[T[R]]=N}else A?this.options.visualElement.renderState.vars[m]=N:g[m]=N}this.options.layoutId&&(g.pointerEvents=b===this?S1(y==null?void 0:y.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(g=>{var y;return(y=g.currentAnimation)==null?void 0:y.stop()}),this.root.nodes.forEach($6),this.root.sharedNodes.clear()}}}function CK(t){t.updateLayout()}function NK(t){var i;const e=((i=t.resumeFrom)==null?void 0:i.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:E}=t.layout,{animationType:p}=t.options,g=e.source!==t.layout.source;p==="size"?Us(u=>{const d=g?e.measuredBox[u]:e.layoutBox[u],h=Xr(d);d.min=a[u].min,d.max=d.min+h}):V6(p,e.layoutBox,a)&&Us(u=>{const d=g?e.measuredBox[u]:e.layoutBox[u],h=Xr(a[u]);d.max=d.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[u].max=t.relativeTarget[u].min+h)});const y=Jp();h0(y,a,e.layoutBox);const f=Jp();g?h0(f,t.applyTransform(E,!0),e.measuredBox):h0(f,a,e.layoutBox);const b=!N6(y);let c=!1;if(!t.resumeFrom){const u=t.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:d,layout:h}=u;if(d&&h){const m=ri();m0(m,e.layoutBox,d.layoutBox);const S=ri();m0(S,a,h.layoutBox),D6(m,S)||(c=!0),u.options.layoutRoot&&(t.relativeTarget=S,t.relativeTargetOrigin=m,t.relativeParent=u)}}}t.notifyListeners("didUpdate",{layout:a,snapshot:e,delta:f,layoutDelta:y,hasLayoutChanged:b,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:a}=t.options;a&&a()}t.options.transition=void 0}function LK(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function OK(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function DK(t){t.clearSnapshot()}function $6(t){t.clearMeasurements()}function U6(t){t.isLayoutDirty=!1}function RK(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function H6(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function MK(t){t.resolveTargetDelta()}function kK(t){t.calcProjection()}function IK(t){t.resetSkewAndRotation()}function $K(t){t.removeLeadSnapshot()}function j6(t,e,i){t.translate=zo(e.translate,0,i),t.scale=zo(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function z6(t,e,i,a){t.min=zo(e.min,i.min,a),t.max=zo(e.max,i.max,a)}function UK(t,e,i,a){z6(t.x,e.x,i.x,a),z6(t.y,e.y,i.y,a)}function HK(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const jK={duration:.45,ease:[.4,0,.1,1]},B6=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),F6=B6("applewebkit/")&&!B6("chrome/")?Math.round:Is;function P6(t){t.min=F6(t.min),t.max=F6(t.max)}function zK(t){P6(t.x),P6(t.y)}function V6(t,e,i){return t==="position"||t==="preserve-aspect"&&!Qq(R6(e),R6(i),.2)}function BK(t){var e;return t!==t.root&&((e=t.scroll)==null?void 0:e.wasRoot)}const FK=I6({attachResizeListener:(t,e)=>u0(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),rC={current:void 0},G6=I6({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rC.current){const t=new FK({});t.mount(window),t.setOptions({layoutScroll:!0}),rC.current=t}return rC.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),PK={pan:{Feature:sK},drag:{Feature:aK,ProjectionNode:G6,MeasureLayout:g6}};function Q6(t,e,i){const{props:a}=t;t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",i==="Start");const E="onHover"+i,p=a[E];p&&ko.postRender(()=>p(e,d0(e)))}class VK extends Gd{mount(){const{current:e}=this.node;e&&(this.unmount=bX(e,(i,a)=>(Q6(this.node,a,"Start"),E=>Q6(this.node,E,"End"))))}unmount(){}}class GK extends Gd{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=e0(u0(this.node.current,"focus",()=>this.onFocus()),u0(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function W6(t,e,i){const{props:a}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&a.whileTap&&t.animationState.setActive("whileTap",i==="Start");const E="onTap"+(i==="End"?"":i),p=a[E];p&&ko.postRender(()=>p(e,d0(e)))}class QK extends Gd{mount(){const{current:e}=this.node;e&&(this.unmount=wX(e,(i,a)=>(W6(this.node,a,"Start"),(E,{success:p})=>W6(this.node,E,p?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const aC=new WeakMap,sC=new WeakMap,WK=t=>{const e=aC.get(t.target);e&&e(t)},YK=t=>{t.forEach(WK)};function XK({root:t,...e}){const i=t||document;sC.has(i)||sC.set(i,{});const a=sC.get(i),E=JSON.stringify(e);return a[E]||(a[E]=new IntersectionObserver(YK,{root:t,...e})),a[E]}function qK(t,e,i){const a=XK(e);return aC.set(t,i),a.observe(t),()=>{aC.delete(t),a.unobserve(t)}}const KK={some:0,all:1};class ZK extends Gd{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:i,margin:a,amount:E="some",once:p}=e,g={root:i?i.current:void 0,rootMargin:a,threshold:typeof E=="number"?E:KK[E]},y=f=>{const{isIntersecting:b}=f;if(this.isInView===b||(this.isInView=b,p&&!b&&this.hasEnteredView))return;b&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",b);const{onViewportEnter:c,onViewportLeave:u}=this.node.getProps(),d=b?c:u;d&&d(f)};return qK(this.node.current,g,y)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:i}=this.node;["amount","margin","root"].some(JK(e,i))&&this.startObserver()}unmount(){}}function JK({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}const eZ={...zq,...{inView:{Feature:ZK},tap:{Feature:QK},focus:{Feature:GK},hover:{Feature:VK}},...PK,...{layout:{ProjectionNode:G6,MeasureLayout:g6}}},Y6=nq(eZ,pq),X6=({onEditTransformation:t,onDeleteTransformation:e})=>H.jsxs(Dp,{children:[H.jsx(Ji.Item,{children:({active:i})=>H.jsxs("button",{onClick:t,className:"boomi-menu-item","data-headlessui-state":i?"active":void 0,children:[H.jsx(sL,{className:"boomi-menu-icon"}),"Edit Transformation"]})}),H.jsx(Ji.Item,{children:({active:i})=>H.jsxs("button",{onClick:e,className:"boomi-menu-item","data-headlessui-state":i?"active":void 0,children:[H.jsx(Sd,{className:"boomi-menu-icon"}),"Delete Transformation"]})})]}),tZ=140,lC=0,nZ=Y.forwardRef(({sourceFields:t,targetFields:e,functions:i,mappings:a=[],onMappingChange:E,onTransformationUpdate:p,onEditTransformation:g,onDeleteTransformation:y,onAddTransformation:f},b)=>{const[c,u]=Y.useState(null),d=Y.useRef(null),h=Y.useRef(new Map),m=Y.useRef(new Map),S=Y.useRef(new Map),T=Y.useRef(new Map),A=Y.useRef({}),[N,D]=Y.useState(!1),[R,L]=Y.useState(!1),[C,$]=Y.useState(null),[F,U]=Y.useState(null),[j,X]=Y.useState(null),[P,B]=Y.useState(null),[k,M]=Y.useState(null),I=Y.useRef(null),W=()=>{u(null),X(null),B(null),M(null)},Q=(de,Ve)=>{de&&(A.current[Ve]=de)},J=(de,Ve)=>Re=>{Re&&de.set(Ve,Re)},K=(de,Ve,Re,qe)=>{if(a.find(mt=>mt.fromXPath===de&&mt.toXPath===Ve&&mt.toFunction===Re&&mt.fromFunction===qe))return;const et=[...a,{fromXPath:de,toXPath:Ve,toFunction:Re,fromFunction:qe}];E==null||E(et)},Z=(de,Ve)=>{const Re=a.filter(qe=>!(qe.fromXPath===de&&qe.toXPath===Ve));E==null||E(Re)},re=de=>{const Ve=a.filter(Re=>Re.fromXPath!==de);E==null||E(Ve)},te=de=>{U(de),L(!0)},ae=()=>{C&&(re(C),$(null)),D(!1)},se=()=>{F&&(y==null||y(F),U(null)),L(!1)},ie=()=>{U(null),$(null),D(!1)},ue=de=>{$(de),D(!0)},me=()=>{const de=d.current;if(!de)return;for(;de.firstChild;)de.removeChild(de.firstChild);let Ve=!1;a.forEach(Re=>{const qe=Re.fromXPath,et=Re.toXPath;if(!qe)return;const mt=Re.fromFunction?`${Re.fromFunction}.out.${Qa(qe)}`:Qa(qe),xt=Re.toFunction?`${Re.toFunction}.in.${Qa(et)}`:Qa(et),$t=Re.fromFunction?T.current.get(mt):h.current.get(mt),ze=Re.toFunction?S.current.get(xt):m.current.get(xt);if(!$t||!ze)return;const nt=$t.getBoundingClientRect(),ct=ze.getBoundingClientRect(),gt=de.getBoundingClientRect(),at={x:nt.left+nt.width/2-gt.left,y:nt.top+nt.height/2-gt.top},Le={x:ct.left+ct.width/2-gt.left,y:ct.top+ct.height/2-gt.top},je=Le.x-at.x,ot=Le.y-at.y,tt=je/1.5,St=Math.min(12,Math.abs(ot)/2),Nt=ot>0?1:-1,an={x:at.x+tt,y:at.y-Nt*St},Ot={x:Le.x-tt,y:Le.y-Nt*St},_t=`M ${at.x} ${at.y} C ${an.x} ${an.y} ${Ot.x} ${Ot.y} ${Le.x} ${Le.y}`,Et=c&&Re.fromXPath===c||j&&Re.toXPath===j||P&&(Re.fromFunction===P||Re.toFunction===P),xe=document.createElementNS("http://www.w3.org/2000/svg","path");xe.setAttribute("d",_t),xe.setAttribute("fill","none"),xe.setAttribute("stroke-linejoin","round"),xe.setAttribute("stroke-linecap","round"),Et&&(xe.classList.add("is-highlighted"),Ve=!0),de.appendChild(xe)}),Ve?de.classList.add("has-selection"):de.classList.remove("has-selection")},ve=de=>{const Ve=a.some(Re=>Re.toXPath===de);if((c||k)&&Ve){X(de),u(null),B(null),M(null);return}if(c){K(c,de,void 0,void 0),u(null),M(null),B(null),X(de);return}if(k){K(k.outputKey.toString(),de,void 0,k.fnId),M(null),u(null),B(null),X(de);return}X(de),u(null),B(null)},[pe,ye]=Y.useState({});return Y.useEffect(()=>{const de={};let Ve=0;i.forEach(Re=>{const qe=typeof Re.y=="number"?Re.y:WT(Re.id)??Ve;de[Re.id]={x:Re.x??lC,y:qe},typeof Re.y!="number"&&(Ve+=tZ)}),ye(de)},[i]),Y.useLayoutEffect(()=>{const de=()=>{requestAnimationFrame(()=>{me()})};return de(),window.addEventListener("resize",de),()=>{window.removeEventListener("resize",de)}},[a,i,t,e,pe,c,j,P]),H.jsxs(H.Fragment,{children:[N&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Disconnecting these mappings cannot be undone.",showCancel:!0,confirmButtonText:"Yes, Disconnect All!",cancelButtonText:"No, cancel",onConfirm:ae,onCancel:ie}),R&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Deleting this transformation cannot be undone and will remove all mappings associated with it.",showCancel:!0,confirmButtonText:"Yes, Delete!",cancelButtonText:"No, cancel",onConfirm:se,onCancel:ie}),H.jsxs("div",{className:"boomi-map-canvas",onClick:de=>{const Ve=de.target;!Ve.closest(".boomi-map-card")&&!Ve.closest(".boomi-map-pin")&&W()},children:[H.jsx("svg",{ref:d,className:"boomi-map-svg"}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--sources",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Sources"}),t.map((de,Ve)=>{const Re=`${de.xpath}::${Ve}`,qe=a.some(et=>et.fromXPath===de.xpath);return H.jsxs("div",{className:`boomi-map-card boomi-map-card--source ${c===de.xpath?"is-selected":""} ${qe?"is-mapped":""} cursor-pointer`,onClick:()=>{u(de.xpath),X(null),B(null),M(null)},children:[H.jsx("div",{className:"boomi-map-card-title text-xs font-medium truncate",children:de.name}),H.jsx("div",{className:"text-[10px] font-thin text-gray-500 break-words whitespace-normal",children:de.xpath}),H.jsx("div",{ref:J(h.current,Qa(de.xpath)),className:`boomi-map-pin --source is-selectable ${c===de.xpath?"is-mappable":""}`,onClick:et=>{et.stopPropagation(),a.some(mt=>mt.fromXPath===de.xpath)&&ue(de.xpath)},children:a.some(et=>et.fromXPath===de.xpath)&&H.jsx("span",{className:"boomi-map-pin-badge",children:"×"})})]},Re)})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--functions",children:[H.jsxs("div",{className:"flex justify-between items-center mb-2",children:[H.jsx("h3",{className:"boomi-map-heading w-full text-center",children:"Transformations"}),H.jsx("div",{className:"flex-1 text-right",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"boomi-map-add-btn",showIcon:!0,label:"Add",icon:H.jsx(fv,{className:"w-4 h-4"}),onClick:()=>{const de={id:`temp-${Date.now()}`,name:"New Function",type:"custom",inputs:[],outputs:[]};f==null||f(de)}})})]}),H.jsx("div",{ref:I,className:"relative w-full max-w-md h-full",style:{minHeight:500,paddingTop:15,paddingBottom:15},children:i.map(de=>{const Ve=pe[de.id]||{x:lC,y:15};return H.jsxs(Y6.div,{ref:Re=>Q(Re,de.id),drag:"y",dragMomentum:!1,dragElastic:0,dragSnapToOrigin:!1,dragConstraints:I,className:`boomi-map-card boomi-map-card--function absolute w-full ${P===de.id?"is-selected":""}`,style:{left:Ve.x,y:Math.max(15,Ve.y),cursor:"grab"},onDrag:(Re,qe)=>{ye(et=>({...et,[de.id]:{...et[de.id],y:qe.delta.y}}))},onDragEnd:()=>{var et;const Re=gv(de.id),qe=A.current[de.id];if(qe){const mt=((et=qe.parentElement)==null?void 0:et.getBoundingClientRect().top)??0,xt=qe.getBoundingClientRect().top,$t=Math.round(xt-mt),ze=Math.max(15,$t),nt=sw(Re,ze),ct=i.map(gt=>gt.id===de.id&&gt.id!==nt?{...gt,newId:nt,x:gt.x??lC,y:ze}:gt);p==null||p(ct),requestAnimationFrame(()=>me())}},onClick:()=>{B(de.id),u(null),X(null)},children:[H.jsxs("div",{className:"flex justify-between items-center py-1",children:[H.jsx("div",{className:"boomi-map-card-title",children:"Transformation"}),H.jsx(X6,{onEditTransformation:()=>g==null?void 0:g(de),onDeleteTransformation:()=>te(de)})]}),H.jsx("div",{className:"boomi-map-card-subtitle text-xs",children:de.type}),H.jsxs("div",{className:"flex justify-between mt-4",children:[H.jsx("div",{className:"flex flex-col gap-1",children:de.inputs.map(Re=>{const qe=`${de.id}.in.${Re.key}`,et=a.some(xt=>xt.toFunction===de.id&&xt.toXPath===`${Re.key}`),mt=a.find(xt=>xt.toFunction===de.id&&xt.toXPath===`${Re.key}`);return H.jsxs("div",{className:"relative z-50",children:[H.jsx("div",{className:"text-xs pl-2 pb-2",children:Re.name}),H.jsx("div",{ref:J(S.current,qe),className:`boomi-map-pin --input is-selectable ${c&&!et?"is-mappable":""}`,onClick:xt=>{xt.stopPropagation(),c&&!et&&(K(c,Re.key.toString(),de.id),u(null))},children:et&&mt&&H.jsx("div",{className:"boomi-map-pin-badge",onClick:xt=>{xt.stopPropagation(),Z(mt.fromXPath??"",mt.toXPath??"")},children:"×"})})]},Re.key)})}),H.jsx("div",{className:"flex flex-col gap-1 items-end",children:de.outputs.map(Re=>{const qe=`${de.id}.out.${Re.key}`,et=(k==null?void 0:k.fnId)===de.id&&k.outputKey===Re.key;return H.jsxs("div",{className:"relative",children:[H.jsx("div",{className:"text-xs pr-2 pb-2",children:Re.name}),H.jsx("div",{ref:J(T.current,qe),className:`boomi-map-pin --output is-selectable ${et?"is-active-output":""}`,onClick:mt=>{mt.stopPropagation(),M({fnId:de.id,outputKey:Re.key}),B(de.id),u(null),X(null)}})]},Re.key)})})]})]},de.id)})})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--targets",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Targets"}),e.map((de,Ve)=>{const Re=`${de.xpath}::${Ve}`,qe=a.some(mt=>mt.toXPath===de.xpath),et=(!!c||!!k)&&!qe;return H.jsxs("div",{className:`boomi-map-card boomi-map-card--target ${j===de.xpath?"is-selected":""} ${qe?"is-mapped":""} cursor-pointer`,onClick:()=>ve(de.xpath),children:[H.jsx("div",{className:"flex justify-start items-center",children:H.jsx("div",{className:"flex-0",children:H.jsx("span",{className:"text-xs truncate pl-2",children:de.name})})}),H.jsx("div",{className:"flex justify-start items-center",children:H.jsx("div",{className:"flex-0",children:H.jsx("div",{className:"text-[10px] font-thin text-gray-500 break-words whitespace-normal",children:de.xpath})})}),H.jsx("div",{ref:J(m.current,Qa(de.xpath)),className:`boomi-map-pin --target is-selectable ${et?"is-mappable":""}`,onClick:mt=>{mt.stopPropagation(),ve(de.xpath)},children:qe&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:mt=>{mt.stopPropagation();const xt=a.find($t=>$t.toXPath===de.xpath);xt&&Z(xt.fromXPath??"",xt.toXPath??"")},children:"×"})})]},Re)})]})]})]})}),oZ=140,cC=0,qr=t=>(t||"").replace(/^\/+|\/+$/g,""),q6=t=>(t||"").replace(/^\/+|\/+$/g,"").split("/").filter(Boolean);function iZ(t){const e=q6(t),i=[];for(let a=1;a<=e.length;a++)i.push(e.slice(0,a).join("/"));return i}function K6(t){const e=new Map,i=(p,g,y,f)=>{let b=p.get(y);return b||(b={key:y,fullPath:f,name:y,children:[],isLeaf:!1,__childMap:new Map},p.set(y,b),g&&!g.children.includes(b)&&g.children.push(b)),b};for(const p of t){const g=q6(p.xpath||p.name||"");if(!g.length)continue;let y=e,f=null,b="";for(const c of g){b=b?`${b}/${c}`:c;const u=i(y,f,c,b);f=u,y=u.__childMap}f&&(f.node=p)}const a=Array.from(e.values()),E=p=>{p.isLeaf=p.children.length===0,p.children.forEach(g=>E(g))};return a.forEach(E),a}function Z6(t){const e=new Map,i=a=>{e.set(a.fullPath,a),a.children.forEach(i)};return t.forEach(i),e}function J6(t,e){let i=qr(t);for(;i;){const a=Qa(i);if(e.has(a))return i;const E=i.lastIndexOf("/");if(E<0)break;i=i.slice(0,E)}return null}const Ka=(t,e)=>!!t&&!!e&&(qr(t)===qr(e)||qr(t).startsWith(qr(e)+"/")),Pi=(t,e)=>qr(t)===qr(e),rZ=Y.forwardRef(({sourceFields:t,targetFields:e,functions:i,mappings:a=[],onMappingChange:E,onTransformationUpdate:p,onEditTransformation:g,onDeleteTransformation:y,onAddTransformation:f},b)=>{const[c,u]=Y.useState(null),[d,h]=Y.useState(null),[m,S]=Y.useState(null),[T,A]=Y.useState(null),N=Y.useRef(null),D=Y.useRef(new Map),R=Y.useRef(new Map),L=Y.useRef(new Map),C=Y.useRef(new Map),$=Y.useRef({}),F=Y.useRef(null),[U,j]=Y.useState(!1),[X,P]=Y.useState(!1),[B,k]=Y.useState(null),[M,I]=Y.useState(null),[W,Q]=Y.useState(new Set),[J,K]=Y.useState(new Set),[Z,re]=Y.useState({}),te=Y.useMemo(()=>K6(t),[t]),ae=Y.useMemo(()=>K6(e),[e]),se=Y.useMemo(()=>Z6(te),[te]),ie=Y.useMemo(()=>Z6(ae),[ae]),ue=Ce=>Ce==="source"?se:ie,me=Ce=>Ce==="source"?W:J,ve=(Ce,Ze)=>{Ce==="source"?Q(Ze):K(Ze)},pe=(Ce,Ze)=>{const ft=new Set(me(Ce));iZ(qr(Ze)).forEach(Tt=>ft.delete(Tt)),ve(Ce,ft)},ye=Ce=>{const Ze=new Set;ue(Ce).forEach(ft=>{ft.isLeaf||Ze.add(ft.fullPath)}),ve(Ce,Ze)},de=Ce=>ve(Ce,new Set),[Ve,Re]=Y.useState(""),[qe,et]=Y.useState(""),[mt,xt]=Y.useState([]),[$t,ze]=Y.useState([]),[nt,ct]=Y.useState(0),[gt,at]=Y.useState(0),Le=Y.useMemo(()=>new Set(mt),[mt]),je=Y.useMemo(()=>new Set($t),[$t]),ot=()=>{u(null),h(null),S(null),A(null)},tt=(Ce,Ze)=>{Ce&&($.current[Ze]=Ce)},vt=(Ce,Ze)=>ft=>{ft?Ce.set(Ze,ft):Ce.delete(Ze)},St=(Ce,Ze,ft,Tt)=>{a.find(kt=>kt.fromXPath===Ce&&kt.toXPath===Ze&&kt.toFunction===ft&&kt.fromFunction===Tt)||E==null||E([...a,{fromXPath:Ce,toXPath:Ze,toFunction:ft,fromFunction:Tt}])},Nt=(Ce,Ze)=>{E==null||E(a.filter(ft=>!(ft.fromXPath===Ce&&ft.toXPath===Ze)))},an=(Ce,Ze)=>{E==null||E(a.filter(ft=>!(ft.fromFunction===Ce&&ft.fromXPath===String(Ze))))},Ot=Ce=>{E==null||E(a.filter(Ze=>Ze.fromXPath!==Ce))},_t=Ce=>{I(Ce),P(!0)},Et=()=>{B&&(Ot(B),k(null)),j(!1)},xe=()=>{M&&(y==null||y(M),I(null)),P(!1)},Ge=()=>{I(null),k(null),j(!1)},bt=Ce=>{const Ze=a.some(ft=>ft.toXPath===Ce);if((c||T)&&Ze){h(Ce),u(null),S(null),A(null);return}if(c){St(c,Ce,void 0,void 0),u(null),A(null),S(null),h(Ce);return}if(T){St(String(T.outputKey),Ce,void 0,T.fnId),A(null),u(null),S(null),h(Ce);return}h(Ce),u(null),S(null)};Y.useEffect(()=>{const Ce={};let Ze=0;i.forEach(ft=>{const Tt=typeof ft.y=="number"?ft.y:WT(ft.id)??Ze;Ce[ft.id]={x:ft.x??cC,y:Tt},typeof ft.y!="number"&&(Ze+=oZ)}),re(Ce)},[i]);const Mt=(Ce,Ze)=>{const ft=qr(Ze).toLowerCase();if(Ce==="source"?Re(Ze):et(Ze),!ft){Ce==="source"?(xt([]),ct(0)):(ze([]),at(0));return}const Tt=ue(Ce),kt=[];Tt.forEach(Gt=>{var Xt;const sn=qr(Gt.fullPath).toLowerCase(),On=Gt.isLeaf?qr((Xt=Gt.node)==null?void 0:Xt.xpath).toLowerCase():null;sn.includes(ft)?kt.push(qr(Gt.fullPath)):On&&On.includes(ft)&&kt.push(qr(Gt.node.xpath))});const tn=Array.from(new Set(kt));if(Ce==="source"?(xt(tn),ct(0)):(ze(tn),at(0)),tn.length>0){const Gt=tn[0];pe(Ce,Gt),requestAnimationFrame(()=>ut(Ce,Gt))}},ut=(Ce,Ze)=>{const Tt=(Ce==="source"?D:R).current.get(Qa(Ze));Tt&&Tt.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},yt=(Ce,Ze)=>{const ft=Ce==="source"?mt:$t;if(!ft.length)return;const kt=((Ce==="source"?nt:gt)+Ze+ft.length)%ft.length;Ce==="source"?ct(kt):at(kt);const tn=ft[kt];pe(Ce,tn),requestAnimationFrame(()=>ut(Ce,tn))},Ht=({side:Ce,nodes:Ze,collapsed:ft,setCollapsed:Tt,onLeafClick:kt,refMap:tn})=>{const Gt=Je=>{Tt(Vn=>{const Lt=new Set(Vn);return Lt.has(Je)?Lt.delete(Je):Lt.add(Je),Lt})},sn=Ce==="source"?Le:je,On=Ce==="source"?mt[nt]:$t[gt],Xt=Je=>{var ki,Lr;const Vn=ft.has(Je.fullPath),Lt=(ki=Je.node)==null?void 0:ki.xpath,ai=Je.isLeaf?Ce==="source"?a.some(it=>Pi(it.fromXPath,Lt)):a.some(it=>Pi(it.toXPath,Lt)):!1,Eo=c&&(Ce==="source"?Pi(Lt,c)||Ka(c,Lt)||Ka(Lt,c):a.some(it=>(Pi(it.fromXPath,c)||Ka(it.fromXPath,c))&&(Je.isLeaf?Pi(it.toXPath,Lt):Ka(it.toXPath,Je.fullPath))))||d&&(Ce==="target"?Pi(Lt,d)||Ka(d,Lt)||Ka(Lt,d):a.some(it=>(Pi(it.toXPath,d)||Ka(it.toXPath,d))&&(Je.isLeaf?Pi(it.fromXPath,Lt):Ka(it.fromXPath,Je.fullPath))))||m&&a.some(it=>it.fromFunction===m&&Ce==="source"&&(Je.isLeaf?Pi(it.fromXPath,Lt):Ka(it.fromXPath,Je.fullPath))||it.toFunction===m&&Ce==="target"&&(Je.isLeaf?Pi(it.toXPath,Lt):Ka(it.toXPath,Je.fullPath))),qt=Ce==="target"&&Je.isLeaf&&(!!c||!!T)&&!a.some(it=>Pi(it.toXPath,Lt)),Gn=Je.isLeaf?qr(Lt):qr(Je.fullPath),Fo=sn.has(Gn),po=On&&Gn===On;return H.jsxs("div",{className:"boomi-tree-node",style:{marginBottom:6},children:[H.jsx("div",{className:["boomi-map-card",Ce==="source"?"boomi-map-card--source":"boomi-map-card--target",Je.isLeaf&&(Ce==="source"?Pi(c||"",Lt||"")?"is-selected":"":Pi(d||"",Lt||"")?"is-selected":""),ai?"is-mapped":"",Eo?"is-connected":"",Fo?"is-search-hit":"",po?"is-current-hit":"","cursor-pointer"].join(" "),onClick:it=>{it.stopPropagation(),Je.isLeaf&&Lt?Ce==="source"?(u(Lt),h(null),S(null),A(null)):kt(Lt):(Gt(Je.fullPath),requestAnimationFrame(jt))},children:H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsxs("div",{className:"flex items-center gap-1 flex-1 min-w-0",children:[!Je.isLeaf&&H.jsx("button",{className:"boomi-tree-toggle inline-flex items-center justify-center w-4 h-4 p-0 leading-none shrink-0",onClick:it=>{it.stopPropagation(),Gt(Je.fullPath),requestAnimationFrame(jt)},"aria-expanded":!Vn,"aria-label":Vn?"Expand":"Collapse",title:Vn?"Expand":"Collapse",children:Vn?H.jsx(lj,{size:12}):H.jsx(PT,{size:12})}),H.jsx("div",{className:"boomi-map-card-title text-xs font-medium leading-snug whitespace-normal break-words",style:{overflowWrap:"anywhere"},children:Je.isLeaf?((Lr=Je.node)==null?void 0:Lr.name)??Je.name:Je.name})]}),H.jsxs("div",{ref:vt(tn.current,Qa(Gn)),className:["boomi-map-pin",Ce==="source"?"--source":"--target","is-selectable",qt?"is-mappable":""].join(" "),onClick:it=>{if(it.stopPropagation(),!(!Je.isLeaf||!Lt)){if(Ce==="target"){kt(Lt);return}a.some(Ee=>Pi(Ee.fromXPath,Lt))?(k(Lt),j(!0)):(u(Lt),h(null),S(null),A(null))}},children:[Je.isLeaf&&ai&&Ce==="source"&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:it=>{it.stopPropagation(),k(Lt),j(!0)},title:"Disconnect",children:"×"}),Je.isLeaf&&ai&&Ce==="target"&&H.jsx("span",{className:"boomi-map-pin-badge",onClick:it=>{it.stopPropagation();const Ee=a.find(Ke=>Pi(Ke.toXPath,Lt));Ee&&Nt(Ee.fromXPath??"",Ee.toXPath??"")},title:"Disconnect",children:"×"})]})]})}),!Je.isLeaf&&!Vn&&Je.children.length>0&&H.jsx("div",{className:"py-2 boomi-tree-children pl-3 border-l border-dashed border-gray-300",children:Je.children.map(Xt)})]},Je.fullPath)};return H.jsx("div",{className:"boomi-tree",style:{display:"flex",flexDirection:"column",gap:1},children:Ze.map(Xt)})},jt=()=>{const Ce=N.current;if(!Ce)return;for(;Ce.firstChild;)Ce.removeChild(Ce.firstChild);let Ze=!1;a.forEach(ft=>{const Tt=ft.fromXPath,kt=ft.toXPath;if(!Tt)return;const tn=ft.fromFunction?C.current.get(`${ft.fromFunction}.out.${Qa(String(Tt))}`)??null:(()=>{const on=J6(String(Tt),D.current);return on?D.current.get(Qa(on))??null:null})(),Gt=ft.toFunction?L.current.get(`${ft.toFunction}.in.${Qa(String(kt))}`)??null:(()=>{const on=J6(String(kt),R.current);return on?R.current.get(Qa(on))??null:null})();if(!tn||!Gt)return;const sn=tn.getBoundingClientRect(),On=Gt.getBoundingClientRect(),Xt=Ce.getBoundingClientRect(),Je={x:sn.left+sn.width/2-Xt.left,y:sn.top+sn.height/2-Xt.top},Vn={x:On.left+On.width/2-Xt.left,y:On.top+On.height/2-Xt.top},Lt=Vn.x-Je.x,ai=Vn.y-Je.y,Eo=Lt/1.5,Gn=Math.min(12,Math.abs(ai)/2),Fo=ai>0?1:-1,po={x:Je.x+Eo,y:Je.y-Fo*Gn},ki={x:Vn.x-Eo,y:Vn.y-Fo*Gn},Lr=`M ${Je.x} ${Je.y} C ${po.x} ${po.y} ${ki.x} ${ki.y} ${Vn.x} ${Vn.y}`,it=c&&(Pi(ft.fromXPath,c)||Ka(ft.fromXPath,c))||m&&ft.fromFunction===m,Ee=d&&(Pi(ft.toXPath,d)||Ka(ft.toXPath,d))||m&&ft.toFunction===m,Ke=!!(it||Ee),st=document.createElementNS("http://www.w3.org/2000/svg","path");st.setAttribute("d",Lr),st.setAttribute("fill","none"),st.setAttribute("stroke-linejoin","round"),st.setAttribute("stroke-linecap","round"),Ke&&(st.classList.add("is-highlighted"),c&&(Pi(ft.fromXPath,c)||Ka(ft.fromXPath,c))&&st.classList.add("is-danger"),Ze=!0),Ce.appendChild(st)}),Ze?Ce.classList.add("has-selection"):Ce.classList.remove("has-selection")};return Y.useLayoutEffect(()=>{const Ce=()=>requestAnimationFrame(jt);return Ce(),window.addEventListener("resize",Ce),()=>window.removeEventListener("resize",Ce)},[a,i,t,e,Z,c,d,m,W,J]),H.jsxs(H.Fragment,{children:[U&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Disconnecting these mappings cannot be undone.",showCancel:!0,confirmButtonText:"Yes, Disconnect All!",cancelButtonText:"No, cancel",onConfirm:Et,onCancel:Ge}),X&&H.jsx(Mh,{type:"warning",title:"Are you sure?",description:"Deleting this transformation cannot be undone and will remove all mappings associated with it.",showCancel:!0,confirmButtonText:"Yes, Delete!",cancelButtonText:"No, cancel",onConfirm:xe,onCancel:Ge}),H.jsxs("div",{className:"boomi-map-canvas",onClick:Ce=>{const Ze=Ce.target;!Ze.closest(".boomi-map-card")&&!Ze.closest(".boomi-map-pin")&&ot()},children:[H.jsx("svg",{ref:N,className:"boomi-map-svg"}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--sources",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Sources"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Expand All",onClick:()=>{de("source"),requestAnimationFrame(jt)}}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Collapse All",onClick:()=>{ye("source"),requestAnimationFrame(jt)}})]})]}),H.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[H.jsx(Jv,{searchCallback:Ce=>Mt("source",Ce)}),H.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("source",-1),disabled:mt.length===0,title:"Previous result",children:"Prev"}),H.jsx("span",{className:"min-w-[56px] text-center",children:mt.length?`${nt+1} / ${mt.length}`:"0 / 0"}),H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("source",1),disabled:mt.length===0,title:"Next result",children:"Next"})]})]}),H.jsx(Ht,{side:"source",nodes:te,collapsed:W,setCollapsed:Q,onLeafClick:Ce=>{u(Ce),h(null),S(null),A(null)},refMap:D})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--functions",children:[H.jsxs("div",{className:"flex justify-between items-center mb-2",children:[H.jsx("h3",{className:"boomi-map-heading w-full text-center",children:"Transformations"}),H.jsx("div",{className:"flex-1 text-right",children:H.jsx(Hn,{toggle:!1,primary:!1,viewLoc:"field-mapping-add-transformation",buttonClass:"ml-2",onClass:"boomi-map-add-btn",showIcon:!0,label:"Add",icon:H.jsx(fv,{className:"w-4 h-4"}),onClick:()=>{const Ce={id:`temp-${Date.now()}`,name:"New Function",type:"custom",inputs:[],outputs:[]};f==null||f(Ce)}})})]}),H.jsx("div",{ref:F,className:"relative w-full max-w-md h-full",style:{minHeight:500,paddingTop:15,paddingBottom:15},children:i.map(Ce=>{Oe.debug("Rendering function:",Ce);const Ze=Z[Ce.id]||{x:cC,y:15},ft=Tt=>a.filter(kt=>kt.fromFunction===Ce.id&&kt.fromXPath===String(Tt));return H.jsxs(Y6.div,{ref:Tt=>tt(Tt,Ce.id),drag:"y",dragMomentum:!1,dragElastic:0,dragSnapToOrigin:!1,dragConstraints:F,className:`boomi-map-card boomi-map-card--function absolute w-full ${m===Ce.id?"is-selected":""}`,style:{left:Ze.x,y:Math.max(15,Ze.y),cursor:"grab"},onDrag:(Tt,kt)=>{re(tn=>({...tn,[Ce.id]:{...tn[Ce.id],y:kt.delta.y}}))},onDragEnd:()=>{var tn;const Tt=gv(Ce.id),kt=$.current[Ce.id];if(kt){const Gt=((tn=kt.parentElement)==null?void 0:tn.getBoundingClientRect().top)??0,sn=kt.getBoundingClientRect().top,On=Math.round(sn-Gt),Xt=Math.max(15,On),Je=sw(Tt,Xt),Vn=i.map(Lt=>Lt.id===Ce.id&&Lt.id!==Je?{...Lt,newId:Je,x:Lt.x??cC,y:Xt}:Lt);p==null||p(Vn),requestAnimationFrame(jt)}},onClick:()=>{S(Ce.id),u(null),h(null)},children:[H.jsxs("div",{className:"flex justify-between items-center py-1",children:[H.jsx("div",{className:"boomi-map-card-title",children:"Transformation"}),H.jsx(X6,{onEditTransformation:()=>g==null?void 0:g(Ce),onDeleteTransformation:()=>_t(Ce)})]}),H.jsx("div",{className:"boomi-map-card-subtitle text-xs",children:Ce.type}),H.jsxs("div",{className:"flex justify-between mt-4",children:[H.jsx("div",{className:"flex flex-col gap-1",children:Ce.inputs.map(Tt=>{const kt=`${Ce.id}.in.${Tt.key}`,tn=a.some(sn=>sn.toFunction===Ce.id&&sn.toXPath===`${Tt.key}`),Gt=a.find(sn=>sn.toFunction===Ce.id&&sn.toXPath===`${Tt.key}`);return H.jsxs("div",{className:"relative z-50",children:[H.jsx("div",{className:"text-xs pl-2 pb-2",children:Tt.name}),H.jsx("div",{ref:vt(L.current,kt),className:`boomi-map-pin --input is-selectable ${c&&!tn?"is-mappable":""}`,onClick:sn=>{sn.stopPropagation(),c&&!tn&&(St(c,Tt.key.toString(),Ce.id),u(null))},children:tn&&Gt&&H.jsx("div",{className:"boomi-map-pin-badge",onClick:sn=>{sn.stopPropagation(),Nt(Gt.fromXPath??"",Gt.toXPath??"")},title:"Disconnect",children:"×"})})]},Tt.key)})}),H.jsx("div",{className:"flex flex-col gap-1 items-end",children:Ce.outputs.map(Tt=>{const kt=`${Ce.id}.out.${Tt.key}`,tn=(T==null?void 0:T.fnId)===Ce.id&&T.outputKey===Tt.key,Gt=ft(Tt.key);return H.jsxs("div",{className:"relative",children:[H.jsx("div",{className:"text-xs pr-2 pb-2",children:Tt.name}),H.jsx("div",{ref:vt(C.current,kt),className:`boomi-map-pin --output is-selectable ${tn?"is-active-output":""}`,onClick:sn=>{sn.stopPropagation(),A({fnId:Ce.id,outputKey:Tt.key}),S(Ce.id),u(null),h(null)},children:Gt.length>0&&H.jsxs("div",{className:"boomi-map-pin-badge",onClick:sn=>{sn.stopPropagation(),an(Ce.id,Tt.key)},title:Gt.length>1?`Disconnect ${Gt.length} targets`:"Disconnect",children:["×",Gt.length>1?` ${Gt.length}`:""]})})]},Tt.key)})})]})]},Ce.id)})})]}),H.jsxs("div",{className:"boomi-map-col boomi-map-col--targets",children:[H.jsxs("div",{className:"flex items-center justify-between",children:[H.jsx("h3",{className:"boomi-map-heading",children:"Targets"}),H.jsxs("div",{className:"flex gap-2",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Expand All",onClick:()=>{de("target"),requestAnimationFrame(jt)}}),H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Collapse All",onClick:()=>{ye("target"),requestAnimationFrame(jt)}})]})]}),H.jsxs("div",{className:"mt-2 flex items-center gap-2",children:[H.jsx(Jv,{searchCallback:Ce=>Mt("target",Ce)}),H.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("target",-1),disabled:$t.length===0,title:"Previous result",children:"Prev"}),H.jsx("span",{className:"min-w-[56px] text-center",children:$t.length?`${gt+1} / ${$t.length}`:"0 / 0"}),H.jsx("button",{type:"button",className:"px-2 py-1 rounded border boomi-btn-xs",onClick:()=>yt("target",1),disabled:$t.length===0,title:"Next result",children:"Next"})]})]}),H.jsx(Ht,{side:"target",nodes:ae,collapsed:J,setCollapsed:K,onLeafClick:bt,refMap:R})]})]})]})}),eU=Y.forwardRef(({candidates:t,formName:e="editMapCandidateForm"},i)=>{const{boomiConfig:a}=Fn(),E=Y.useMemo(()=>{const N={};for(const D of t)N[D.connectionId]||(N[D.connectionId]={connectionId:D.connectionId,connectionName:D.connectionName||D.connectionId,params:[]}),N[D.connectionId].params.includes(D.paramName)||N[D.connectionId].params.push(D.paramName);return N},[t]),[p,g]=Y.useState({}),[y,f]=Y.useState({}),b=Y.useCallback(N=>!!Object.values(y[N]??{}).find(D=>!!D),[y]);Y.useEffect(()=>{const N={},D={};for(const[R,L]of Object.entries(E)){N[R]=N[R]??{},D[R]=D[R]??{};for(const C of L.params){const $=t.find(F=>F.connectionId===R&&F.paramName===C);N[R][C]=($==null?void 0:$.paramValue)??"",D[R][C]=""}}g(N),f(D)},[E,t]);const c=Y.useCallback(N=>{var R,L,C;const D=((C=(L=(R=a==null?void 0:a.form)==null?void 0:R.editMapCandidateForm)==null?void 0:L[N])==null?void 0:C.validation)??null;if(!D)return null;try{const $=String(D).match(/^\/(.+)\/([a-z]*)$/i);return $?new RegExp($[1],$[2]):new RegExp(String(D))}catch{return null}},[a]),u=Y.useCallback((N,D,R)=>{if(!R||!R.trim())return"Required";const L=c(D);return L&&!L.test(R)?"Invalid format":""},[c]),d=Y.useCallback(()=>{var R;const N={};let D=!1;for(const[L,C]of Object.entries(E)){N[L]=N[L]??{};for(const $ of C.params){const F=((R=p[L])==null?void 0:R[$])??"",U=u(L,$,F);N[L][$]=U,U&&(D=!0)}}return f(N),!D},[E,p,u]),h=Y.useMemo(()=>{var N;for(const[D,R]of Object.entries(E))for(const L of R.params){const C=((N=p[D])==null?void 0:N[L])??"";if(!C||!C.trim())return!1;const $=c(L);if($&&!$.test(C))return!1}return!0},[E,p,c]),m=Y.useCallback(N=>{f(D=>{const R={...D};for(const[L,C]of Object.entries(N||{})){R[L]??(R[L]={});for(const[$,F]of Object.entries(C||{}))R[L][$]=F||"Invalid value"}return R})},[]),S=Y.useCallback((N,D="Please supply valid credentials and try again.")=>{var L;const R={};for(const C of N||[]){if(!(C!=null&&C.connectionId)||!(C!=null&&C.paramName))continue;const $=C.uiMessage||C.message||D;R[L=C.connectionId]??(R[L]={}),R[C.connectionId][C.paramName]=$}m(R)},[m]);Y.useImperativeHandle(i,()=>({validateAndSubmit:()=>d()?{candidates:t.map(L=>{var C;return{...L,paramValue:((C=p[L.connectionId])==null?void 0:C[L.paramName])??""}})}:null,isFormReady:()=>h,applyErrors:m,applyErrorsFromCandidates:S}));const T=Y.useCallback((N,D,R)=>{g(L=>({...L,[N]:{...L[N]??{},[D]:R}})),f(L=>({...L,[N]:{...L[N]??{},[D]:""}}))},[]),A=Y.useCallback((N,D)=>{var C;const R=((C=p[N])==null?void 0:C[D])??"",L=u(N,D,R);L&&f($=>({...$,[N]:{...$[N]??{},[D]:L}}))},[p,u]);return H.jsx("div",{className:"space-y-6",children:Object.values(E).map(N=>(b(N.connectionId),H.jsx("div",{className:"boomi-connector-group",children:H.jsxs("div",{className:"boomi-connector-section",children:[H.jsx("h3",{className:"boomi-connector-heading",children:N.connectionName}),H.jsx("div",{className:"grid grid-cols-1 gap-4",children:N.params.map(D=>{var F,U;const R=((F=p[N.connectionId])==null?void 0:F[D])??"",L=((U=y[N.connectionId])==null?void 0:U[D])??"",C=`${e}-${N.connectionId}-${D}`,$=D;return H.jsx(Ch,{formName:e,label:$,type:"password",required:!0,inputName:C,value:R,onChange:j=>T(N.connectionId,D,j.target.value),onBlur:()=>A(N.connectionId,D),error:L,placeholder:"Enter value",readOnly:!1},C)})})]})},N.connectionId)))})});eU.displayName="EditMapCandidateForm";const uC=({componentKey:t,active:e,wizard:i,integration:a,onBack:E,setIsLoading:p})=>{var $t,ze,nt,ct,gt,at,Le,je,ot,tt,vt,St,Nt,an,Ot,_t,Et,xe,Ge,bt,Mt;const{boomiConfig:g,setPageIsLoading:y,renderComponent:f}=Fn(),{updateMapExtensions:b}=EW(),[c,u]=Y.useState(null),{maps:d,isLoading:h,hasCandidates:m,mapCandidates:S,fetchMapExtensions:T}=yW(),[A,N]=Y.useState(0),D=d[A],R=D==null?void 0:D.mapId,[L,C]=Y.useState({}),[$,F]=Y.useState({}),[U,j]=Y.useState(null),[X,P]=Y.useState(!1),B=Y.useRef(null),[k,M]=Y.useState(""),I=Y.useRef(null),[W,Q]=Y.useState(!1),{executeMapExtensions:J,updatedCandidates:K}=wW(),[Z,re]=Y.useState(!1),te=((nt=(ze=($t=D==null?void 0:D.Map)==null?void 0:$t.SourceProfile)==null?void 0:ze.Node)==null?void 0:nt.filter(ut=>ut.xpath))??[],ae=((at=(gt=(ct=D==null?void 0:D.Map)==null?void 0:ct.DestinationProfile)==null?void 0:gt.Node)==null?void 0:at.filter(ut=>ut.xpath))??[],se=((ot=(je=(Le=g==null?void 0:g.components)==null?void 0:Le[t])==null?void 0:je.mapping)==null?void 0:ot.useTreeMode)??!1,ie=async ut=>{p==null||p(!0),y==null||y(!0);try{return await ut()}finally{p==null||p(!1),y==null||y(!1)}},ue=ut=>{f==null||f({component:"Integrations",props:{componentKey:t||"integrationsMain"}})},me=()=>ue(),ve=()=>{y==null||y(!0),ue()},pe=async()=>ie(async()=>{var yt,Ht,jt;const ut=(yt=I.current)==null?void 0:yt.validateAndSubmit();if(!ut)return!1;try{const Ce=await J(ut.candidates);return Array.isArray(Ce)&&Ce.length>0?((Ht=I.current)==null||Ht.applyErrorsFromCandidates(Ce,"Please supply valid credentials and try again."),!1):(Q(!1),y==null||y(!0),await qe(),re(!0),!0)}catch{return K!=null&&K.length&&((jt=I.current)==null||jt.applyErrorsFromCandidates(K,"Authentication Failed. Please supply valid credentials and try again.")),!1}}),ye=async ut=>{await ie(async()=>{var ft,Tt,kt,tn;const yt={DestinationBrowse:{},SourceBrowse:{},containerId:void 0};if(!R||!D)return;const Ht=L[R]||[],{functions:jt}=o2(Ht),Ce={...D,Map:{...D==null?void 0:D.Map,BrowseSettings:yt,DestinationProfile:((ft=D==null?void 0:D.Map)==null?void 0:ft.DestinationProfile)??{Node:[]},DestinationProfileExtensions:((Tt=D==null?void 0:D.Map)==null?void 0:Tt.DestinationProfileExtensions)??{Node:[]},SourceProfile:((kt=D==null?void 0:D.Map)==null?void 0:kt.SourceProfile)??{Node:[]},SourceProfileExtensions:((tn=D==null?void 0:D.Map)==null?void 0:tn.SourceProfileExtensions)??{Node:[]},ExtendedFunctions:{Function:jt},ExtendedMappings:{Mapping:ut}}};await b(Ce),F(Gt=>({...Gt,[R]:ut}));const Ze=d.map(Gt=>Gt.mapId===Ce.mapId?Ce:Gt)}).catch(yt=>u((yt==null?void 0:yt.message)||"Failed to update functions"))},de=async(ut,yt)=>{await ie(async()=>{var Gt,sn,On,Xt;const Ht={DestinationBrowse:{},SourceBrowse:{},containerId:void 0};if(!R||!D)return;const jt=(yt==null?void 0:yt.mappingsOverride)??($[R]||[]),{functions:Ce,idMap:Ze}=o2(ut),ft=Je=>(Je==null?void 0:Je.id)??(Je==null?void 0:Je["@id"])??(Je==null?void 0:Je.FunctionId)??(Je==null?void 0:Je.functionId)??(Je==null?void 0:Je.Id),Tt=new Set((Array.isArray(Ce)?Ce:[]).map(ft).filter(Je=>Je!=null)),kt=jt.map(Je=>({...Je,...Je.fromFunction!=null&&(Ze==null?void 0:Ze[Je.fromFunction])!=null?{fromFunction:Ze[Je.fromFunction]}:{},...Je.toFunction!=null&&(Ze==null?void 0:Ze[Je.toFunction])!=null?{toFunction:Ze[Je.toFunction]}:{}})).filter(Je=>!(Je.fromFunction!=null&&!Tt.has(Je.fromFunction)||Je.toFunction!=null&&!Tt.has(Je.toFunction)||Je.fromFunction&&isNaN(Number(Je.fromXPath))||Je.toFunction&&isNaN(Number(Je.toXPath)))),tn={...D,Map:{...D==null?void 0:D.Map,BrowseSettings:Ht,DestinationProfile:((Gt=D==null?void 0:D.Map)==null?void 0:Gt.DestinationProfile)??{Node:[]},DestinationProfileExtensions:((sn=D==null?void 0:D.Map)==null?void 0:sn.DestinationProfileExtensions)??{Node:[]},SourceProfile:((On=D==null?void 0:D.Map)==null?void 0:On.SourceProfile)??{Node:[]},SourceProfileExtensions:((Xt=D==null?void 0:D.Map)==null?void 0:Xt.SourceProfileExtensions)??{Node:[]},ExtendedFunctions:{Function:Ce},ExtendedMappings:{Mapping:kt}}};await b(tn),C(Je=>({...Je,[R]:i2(Ce)})),F(Je=>({...Je,[R]:kt}))}).catch(Ht=>u((Ht==null?void 0:Ht.message)||"Failed to update functions"))},Ve=async ut=>{await ie(async()=>{const yt=L[R]||[],Ht=$[R]||[],jt=yt.filter(Ze=>Ze.id!==ut.id),Ce=Ht.filter(Ze=>Ze.fromFunction!==ut.id&&Ze.toFunction!==ut.id);await de(jt,{mappingsOverride:Ce})}).catch(yt=>u((yt==null?void 0:yt.message)||"Failed to delete functions"))},Re=async()=>{if(!B.current||!R)return!1;const ut=B.current.validateAndSubmit();if(!ut)return!1;const yt={id:(U==null?void 0:U.id)??"",newId:sw(ut.id,WT((U==null?void 0:U.id)??"")??0),name:ut.id,script:ut.script,inputs:ut.inputs.map(({name:jt,key:Ce,type:Ze})=>({name:jt,key:Ce,dataType:Ze})),outputs:ut.outputs.map(({name:jt,key:Ce})=>({name:jt,key:Ce})),type:"Custom Scripting"},Ht=U?(L[R]||[]).map(jt=>jt.id===U.id?yt:jt):[...L[R]||[],yt];try{await de(Ht),j(null),P(!1)}catch(jt){u(jt.message||"Failed to save transformation")}finally{p==null||p(!1)}return!0},qe=async()=>{try{Oe.debug("Fetching maps...",[],a.environmentId,a.id),await T(a.id||"",a.environmentId||"")}catch(ut){u("Failed to fetch maps."),Oe.error("Failed to fetch maps",ut)}};Y.useEffect(()=>{D&&(D!=null&&D.Map)&&R&&(C(ut=>{var yt,Ht;return{...ut,[R]:i2(((Ht=(yt=D.Map)==null?void 0:yt.ExtendedFunctions)==null?void 0:Ht.Function)??[])}}),F(ut=>{var yt,Ht;return{...ut,[R]:((Ht=(yt=D.Map)==null?void 0:yt.ExtendedMappings)==null?void 0:Ht.Mapping)??[]}}))},[e,D,R]),Y.useEffect(()=>{(e||!i)&&qe()},[e,i]),Y.useEffect(()=>{m&&Q(!0)},[m]);const et=((St=(vt=(tt=g==null?void 0:g.components)==null?void 0:tt[t])==null?void 0:vt.updateMaps)==null?void 0:St.showTitle)??!0,mt=((Ot=(an=(Nt=g==null?void 0:g.components)==null?void 0:Nt[t])==null?void 0:an.updateMaps)==null?void 0:Ot.showDescription)??!0,xt=H.jsxs(H.Fragment,{children:[Z&&H.jsx(bc,{type:"success",content:"Authentication Successful. Map has been updated."}),X&&H.jsx(Bd,{isOpen:X,title:"Transformation Editor",description:"Use this form to create or edit transformations.",onClose:()=>P(!1),onSubmit:Re,submitLabel:"Save",children:H.jsx(o5,{componentKey:t,ref:B,existingName:k,existingScript:(U==null?void 0:U.script)??"",existingInputs:(U==null?void 0:U.inputs.map(({key:ut,name:yt,dataType:Ht})=>({key:ut,name:yt,type:Ht})))??[],existingOutputs:(U==null?void 0:U.outputs.map(({key:ut,name:yt})=>({key:ut,name:yt})))??[]})}),m&&H.jsx(Bd,{isOpen:W,title:"Credentials required",description:"Re-enter your credentials to update the requested map(s).",onClose:()=>me(),onSubmit:pe,submitLabel:"Save",children:H.jsx(eU,{ref:I,candidates:S})}),h?H.jsx("div",{className:"flex justify-center items-center pt-6 m-6",children:H.jsx(Bi,{message:"Loading maps..."})}):d.length?H.jsxs("div",{className:`${i?"boomi-update-wizard":"boomi-update"}`,children:[et&&H.jsx("div",{className:"boomi-update-title",children:((xe=(Et=(_t=g==null?void 0:g.components)==null?void 0:_t[t])==null?void 0:Et.updateMaps)==null?void 0:xe.title)||"Map Fields"}),mt&&H.jsx("div",{className:"boomi-update-desc",children:((Mt=(bt=(Ge=g==null?void 0:g.components)==null?void 0:Ge[t])==null?void 0:bt.updateMaps)==null?void 0:Mt.description)||"Please map fields below."}),H.jsx("div",{className:"boomi-tabs",children:H.jsx("nav",{className:"boomi-tablist",children:d.map((ut,yt)=>{const Ht=A===yt;return H.jsx("button",{onClick:()=>N(yt),className:Sp("boomi-tab",Ht&&"boomi-tab--active"),type:"button",children:ut.name||`Map ${yt+1}`},ut.mapId)})})}),H.jsxs("div",{className:"boomi-update-content",children:[c&&H.jsx(sc,{error:{header:"Error Updating Maps",message:c,errorType:"error",onClose:()=>u(null)}}),se?H.jsx(rZ,{sourceFields:te,targetFields:ae,functions:L[R]||[],mappings:$[R]||[],onMappingChange:ye,onTransformationUpdate:de,onDeleteTransformation:Ve,onEditTransformation:ut=>{j(ut),M(gv(ut.name)),P(!0)},onAddTransformation:()=>{j(null),M(`script_${Date.now()}`),P(!0)}}):H.jsx(nZ,{sourceFields:te,targetFields:ae,functions:L[R]||[],mappings:$[R]||[],onMappingChange:ye,onTransformationUpdate:de,onDeleteTransformation:Ve,onEditTransformation:ut=>{j(ut),M(gv(ut.name)),P(!0)},onAddTransformation:()=>{j(null),M(`script_${Date.now()}`),P(!0)}})]}),!i&&H.jsxs("div",{className:"boomi-update-actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:me}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:ve})]})]}):H.jsx(sc,{error:{header:"No Maps Found",message:"No maps found for this integration.",errorType:"warning",onClose:E??(()=>{})}})]});return e||!i?i?xt:H.jsx(Ih,{componentKey:t,componentName:"updateMaps",isRootNavigation:!1,title:`Update Maps - ${a.integrationPackOverrideName}`,description:a.integrationPackDescription||"",headerContent:H.jsx(H.Fragment,{}),bodyContent:xt,footerContent:H.jsx(H.Fragment,{}),levelOne:"My Integrations",callbackOne:E}):null};uC.displayName="UpdateMaps";const dC=Y.forwardRef(({componentKey:t,integration:e,active:i,wizard:a,onSubmit:E,onBack:p,setIsLoading:g},y)=>{var me,ve,pe,ye,de,Ve,Re,qe,et,mt,xt,$t;const{boomiConfig:f,renderComponent:b}=Fn(),c=Y.useRef(null),{updateFromCombined:u,editedConnections:d}=u3(),{extensions:h,rawExtensions:m,isLoading:S,fetchEnvironmentExtensions:T}=d3(),[A,N]=Y.useState(null),[D,R]=Y.useState(null),{fetchOauth2Url:L}=f3(),{fetchEnvironmentExtensionConnectionStatus:C}=h3(),[$,F]=Y.useState({}),[U,j]=Y.useState({}),[X,P]=Y.useState({}),B=Y.useRef(null),k=Y.useRef({}),M=(ze,nt)=>`${ze}:${nt}`,I=async()=>{var ze;N(null);try{const nt=(ze=c.current)==null?void 0:ze.validateAndSubmit();return!nt||!e.environmentId?(Oe.warn("Connector form is invalid or missing environmentId"),!1):(g==null||g(!0),await u(m??[],nt??[],e.environmentId,e.id||""),g==null||g(!1),E==null||E(),!0)}catch(nt){return g==null||g(!1),N(nt.message||"Failed to update environment extensions"),Oe.error("Update error:",nt),!1}},W=ze=>{b==null||b({component:"Integrations",props:{componentKey:t||"integrationsMain"}})};Y.useImperativeHandle(y,()=>({submit:I}));const Q=()=>W(),J=async()=>{await I()&&W()},K=(ze,nt,ct)=>{const gt=M(ze,nt),at=k.current[gt];at!=null&&at.interval&&window.clearInterval(at.interval),at!=null&&at.timeout&&window.clearTimeout(at.timeout),at!=null&&at.watch&&window.clearInterval(at.watch);const Le=window.setTimeout(()=>{Z(gt,{success:!1,message:"Authentication timed out. Please try again.",closePopup:!0}),ct(!1)},12e4),je=window.setInterval(async()=>{try{const tt=await C(e.environmentId,e.id||"",ze,nt);if(!!(tt===!0||tt!=null&&tt.connected||(tt==null?void 0:tt.status)==="CONNECTED")){Z(gt,{success:!0,message:null,closePopup:!0});const St=e.installationType==="SINGLE"||!1;Oe.debug("Connection authorized, reloading extensions",{isSingle:St}),await T([],e.environmentId,e.id||"",St),ct(!0)}else P(St=>({...St,[gt]:"Waiting for connection to complete…"}))}catch(tt){Oe.warn("Polling error (connection status)",tt)}},5e3),ot=window.setInterval(()=>{B.current&&B.current.closed&&(Z(gt,{success:!1,message:"Authorization window closed.",closePopup:!1}),ct(!1))},500);k.current[gt]={interval:je,timeout:Le,watch:ot}},Z=(ze,{success:nt,message:ct,closePopup:gt=!0})=>{const at=k.current[ze];if(at!=null&&at.interval&&window.clearInterval(at.interval),at!=null&&at.timeout&&window.clearTimeout(at.timeout),at!=null&&at.watch&&window.clearInterval(at.watch),delete k.current[ze],F(Le=>({...Le,[ze]:!1})),j(Le=>({...Le,[ze]:nt})),ct!==void 0&&P(Le=>({...Le,[ze]:ct})),gt)try{B.current&&!B.current.closed&&B.current.close()}catch{}},re=async(ze,nt)=>{const ct=M(ze,nt);Oe.log("Authenticate connection:",{connectionId:ze,fieldId:nt}),F(tt=>({...tt,[ct]:!0})),j(tt=>({...tt,[ct]:!1})),P(tt=>({...tt,[ct]:"Opening authorization window…"}));const gt=600,at=750,Le=window.screenX+Math.max(0,(window.outerWidth-gt)/2),je=window.screenY+Math.max(0,(window.outerHeight-at)/2),ot=window.open("","oauth2_auth",`width=${gt},height=${at},left=${Le},top=${je},resizable,scrollbars`);B.current=ot??null;try{const tt=await L(e.id||"",e.environmentId,ze,nt);B.current?B.current.location.href=tt:window.location.assign(tt),P(vt=>({...vt,[ct]:"Please complete authentication in the new window…"})),K(ze,nt,vt=>{if(!vt)try{B.current&&!B.current.closed&&B.current.close()}catch{}})}catch(tt){B.current&&!B.current.closed&&B.current.close(),F(St=>({...St,[ct]:!1})),P(St=>({...St,[ct]:null}));const vt=(tt==null?void 0:tt.message)||"Failed to fetch OAuth2 URL";N(vt),Oe.error("Failed to fetch oauth2Url",tt)}};Y.useEffect(()=>{d&&d.length>0&&R(d)},[d]),Y.useEffect(()=>{h&&R(h)},[h]),Y.useEffect(()=>()=>{Object.values(k.current).forEach(({interval:ze,timeout:nt})=>{ze&&window.clearInterval(ze),nt&&window.clearTimeout(nt)}),B.current&&!B.current.closed&&B.current.close()},[]),Y.useEffect(()=>{!(e!=null&&e.environmentId)||!(e!=null&&e.id)||(i||!a)&&T([],e.environmentId,e.id).catch(ze=>{N(ze.message),Oe.error("Failed to fetch environment extensions",ze)})},[i,a,e.environmentId,e.id]);const te=((pe=(ve=(me=f==null?void 0:f.components)==null?void 0:me[t])==null?void 0:ve.updateConnections)==null?void 0:pe.showTitle)??!0,ae=((Ve=(de=(ye=f==null?void 0:f.components)==null?void 0:ye[t])==null?void 0:de.updateConnections)==null?void 0:Ve.title)??"Update Connections",se=((et=(qe=(Re=f==null?void 0:f.components)==null?void 0:Re[t])==null?void 0:qe.updateConnections)==null?void 0:et.showDescription)??!0,ie=(($t=(xt=(mt=f==null?void 0:f.components)==null?void 0:mt[t])==null?void 0:xt.updateConnections)==null?void 0:$t.description)??"Please provide the necessary information to make connections to your target systems.",ue=H.jsx(H.Fragment,{children:H.jsxs("div",{className:`${a?"boomi-update-wizard":"boomi-update"}`,children:[(te||se)&&H.jsxs("div",{className:"boomi-update-header",children:[te&&H.jsx("div",{className:"boomi-update-title",children:ae}),se&&H.jsx("div",{className:"boomi-update-desc",children:ie})]}),S&&!D?H.jsx("div",{className:"boomi-center pt-6 m-6",children:H.jsx(Bi,{message:"Retrieving Connection Information..."})}):H.jsxs("div",{className:"boomi-update-body",children:[A&&H.jsx(sc,{error:{header:"Error Updating Connections",message:A,errorType:"error"}}),H.jsx(hx,{ref:c,extensions:D||[],onAuthConnection:re,authBusy:$,authConnected:U,authMessage:X}),!a&&H.jsxs("div",{className:"boomi-update-actions",children:[H.jsx(Hn,{toggle:!1,primary:!1,showIcon:!1,label:"Cancel",onClick:Q}),H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:"Save",onClick:J})]})]})]})});return a?H.jsx(H.Fragment,{children:ue}):H.jsx(H.Fragment,{children:H.jsx(Ih,{componentKey:t,componentName:"updateConnections",isRootNavigation:!1,title:`Update Connections ${e.integrationPackOverrideName??""}`,description:e.integrationPackDescription||"",headerContent:H.jsx(H.Fragment,{}),bodyContent:ue,footerContent:H.jsx(H.Fragment,{}),levelOne:"My Integrations",callbackOne:p})})});dC.displayName="UpdateConnections";function tU(){const t=lc();async function e(a){const{integrationPackInstanceId:E,environmentId:p,signal:g}=a;return Oe.debug("Fetching process schedules via service",a),t.get("/process-schedules",{signal:g,params:{integrationPackInstanceId:E,environmentId:p}})}async function i(a){const{integrationPackInstanceId:E,environmentId:p,schedules:g}=a;return Oe.debug("updating map extension via service",E,p),t.post("/process-schedules/update",{integrationPackInstanceId:E,environmentId:p,schedules:g})}return{getProcessSchedules:e,updateProcessSchedules:i}}/**
2345
2345
  * @file useFetchProcessSchedules.tsx
2346
2346
  * @function useFetchProcessSchedules
2347
2347
  * @license BSD-2-Clause
@@ -2375,7 +2375,7 @@ https://sweetalert2.github.io/#ajax-request`),fG(t),typeof t.title=="string"&&(t
2375
2375
  *
2376
2376
  * Deletes a tenant's CORS configuration. Tracks loading/error state so UI
2377
2377
  * flows can match other admin mutation hooks.
2378
- */const bZ=()=>{const[t,e]=Y.useState(!1),[i,a]=Y.useState(null),{deleteCorsConfig:E}=hC(),p=Y.useCallback(async g=>{e(!0),a(null);try{await E(g),Oe.debug("[useDeleteCors] deleted config",{primaryAccountId:g.primaryAccountId})}catch(y){const f=(y==null?void 0:y.message)||"Failed to delete CORS configuration";throw Oe.error({err:y},"[useDeleteCors] failed"),a(f),y}finally{e(!1)}},[E]);return Y.useMemo(()=>({deleteCors:p,isDeleting:t,error:i}),[p,i,t])},vZ=({isOpen:t,onClose:e,onSubmit:i,isSaving:a})=>{const[E,p]=Y.useState(""),[g,y]=Y.useState(null);Y.useEffect(()=>{t&&(p(""),y(null))},[t]);const f=async()=>{const b=E.trim();if(!b){y("Origin is required");return}y(null),await i(b)};return H.jsx(Bd,{isOpen:t,title:"Add Allowed Origin",description:"Add a new origin to the allowed list for this tenant.",onClose:e,onSubmit:f,submitLabel:a?"Saving...":"Add Origin",showSaveButton:!a,children:H.jsx(Ch,{formName:"corsAdd",label:"Origin",required:!0,inputName:"origin",readOnly:!1,value:E,onChange:b=>p(b.target.value),placeholder:"https://app.example.com",error:g||void 0})})},yZ=({isOpen:t,origin:e,onClose:i,onSubmit:a,isSaving:E})=>{const[p,g]=Y.useState(e??""),[y,f]=Y.useState(null);Y.useEffect(()=>{t&&(g(e??""),f(null))},[t,e]);const b=async()=>{const c=p.trim();if(!c){f("Origin is required");return}f(null),await a(c)};return H.jsx(Bd,{isOpen:t,title:"Edit Allowed Origin",description:"Update the selected origin for this tenant.",onClose:i,onSubmit:b,submitLabel:E?"Saving...":"Save Changes",showSaveButton:!E,children:H.jsx(Ch,{formName:"corsEdit",label:"Origin",required:!0,inputName:"origin",readOnly:!1,value:p,onChange:c=>g(c.target.value),placeholder:"https://app.example.com",error:y||void 0})})},EZ=({isOpen:t,origin:e,onClose:i,onConfirm:a,isDeleting:E})=>H.jsx(Bd,{isOpen:t,title:"Delete Allowed Origin",description:"Remove this origin from the allowed list for this tenant.",onClose:i,onSubmit:a,submitLabel:E?"Deleting...":"Delete",showSaveButton:!E,children:H.jsxs("p",{className:"text-sm",children:["Are you sure you want to remove"," ",H.jsx("span",{className:"font-semibold",children:e})," from the allowed origins?"]})}),mC=12,aU=({componentKey:t,primaryAccountId:e})=>{var xt,$t,ze,tt,ct,gt,at;const{boomiConfig:i,tenantId:a,setPageIsLoading:E}=Fn(),p=e??a??(i==null?void 0:i.tenantId),g=`cors-view:${t}`,y=($t=(xt=i==null?void 0:i.components)==null?void 0:xt[t])==null?void 0:$t.cors,f=((ze=y==null?void 0:y.search)==null?void 0:ze.show)??!0,b=((tt=y==null?void 0:y.addButton)==null?void 0:tt.show)??!0,c=((ct=y==null?void 0:y.viewTypeButton)==null?void 0:ct.show)??!0,{allowedOrigins:u,refetch:d,isLoading:h,error:m}=pZ({primaryAccountId:p,auto:!!p}),{updateCors:S,isUpdating:T,error:A}=gZ(),{deleteCors:N,isDeleting:D,error:R}=bZ(),[L,C]=Y.useState([]),[$,F]=Y.useState(""),[U,j]=Y.useState(1),[X,P]=Y.useState("off"),[B,k]=Y.useState(!1),[M,I]=Y.useState(!1),[W,Q]=Y.useState(!1),[J,K]=Y.useState(null),[Z,re]=Y.useState(null),[te,ae]=Y.useState({add:!1,edit:!1,delete:!1});Y.useEffect(()=>{try{const Le=localStorage.getItem(g);(Le==="on"||Le==="off")&&P(Le)}catch{}},[g]),Y.useEffect(()=>{C(u)},[u]);const se=Y.useMemo(()=>{const Le=$.trim().toLowerCase();return Le?L.filter(je=>je.toLowerCase().includes(Le)):L},[L,$]),ie=Math.max(1,Math.ceil(se.length/mC)),ue=se.slice((U-1)*mC,U*mC),me=Le=>{ae(je=>({...je,[Le]:!0})),setTimeout(()=>ae(je=>({...je,[Le]:!1})),3e3)},ve=()=>p||(re("primaryAccountId is required to manage CORS."),null),pe=Y.useCallback(()=>{P(Le=>{const je=Le==="on"?"off":"on";try{localStorage.setItem(g,je)}catch{}return je})},[g]),ye=async Le=>{const je=ve();if(!je)return;const it=Array.from(new Set([...L,Le]));E(!0);try{const rt=await S({primaryAccountId:je,allowedOrigins:it});C(rt.allowedOrigins),k(!1),me("add"),await d()}catch(rt){Oe.error({err:rt},"[Cors] add failed")}finally{E(!1)}},de=async Le=>{if(!J)return;const je=ve();if(!je)return;const it=L.map(vt=>vt===J?Le:vt),rt=Array.from(new Set(it));E(!0);try{const vt=await S({primaryAccountId:je,allowedOrigins:rt});C(vt.allowedOrigins),I(!1),K(null),me("edit"),await d()}catch(vt){Oe.error({err:vt},"[Cors] edit failed")}finally{E(!1)}},Ve=async()=>{if(!J)return;const Le=ve();if(!Le)return;const je=L.filter(it=>it!==J);E(!0);try{if(je.length===0)await N({primaryAccountId:Le}),C([]);else{const it=await S({primaryAccountId:Le,allowedOrigins:je});C(it.allowedOrigins)}Q(!1),K(null),me("delete"),await d()}catch(it){Oe.error({err:it},"[Cors] delete failed")}finally{E(!1)}},Re=H.jsxs(H.Fragment,{children:[f&&H.jsx("div",{className:"flex-none pr-6 pt-4 pb-4",children:H.jsx(Jv,{searchCallback:Le=>{F(Le),j(1)}})}),b&&H.jsx("div",{className:"flex-1 pr-4 pt-4",children:H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!0,label:(gt=y==null?void 0:y.addButton)==null?void 0:gt.label,icon:H.jsx(fv,{className:"h-5 w-5"}),onClick:()=>k(!0)})}),c&&H.jsx("div",{className:"flex-none pt-4 pr-4",children:H.jsx(Hn,{toggle:!0,primary:!1,viewLoc:g,onClass:"flex w-full justify-center rounded-md px-2 py-2 text-xs font-semibold leading-6 shadow-md transition-colors duration-100",showIcon:!0,label:(at=y==null?void 0:y.viewTypeButton)==null?void 0:at.label,icon:H.jsx(cL,{className:"h-5 w-5"}),onIcon:H.jsx(iL,{className:"h-5 w-5"}),onClick:pe})})]}),qe=({origin:Le})=>H.jsxs(Dp,{children:[H.jsx(Ji.Item,{children:({active:je})=>H.jsxs("button",{onClick:()=>{K(Le),I(!0)},className:"boomi-menu-item","data-headlessui-state":je?"active":void 0,children:[H.jsx(sL,{className:"boomi-menu-icon"}),"Edit"]})}),H.jsx("div",{className:"boomi-menu-divider"}),H.jsx(Ji.Item,{children:({active:je})=>H.jsxs("button",{onClick:()=>{K(Le),Q(!0)},className:"boomi-menu-item boomi-menu-item--danger","data-headlessui-state":je?"active":void 0,children:[H.jsx(Sd,{className:"boomi-menu-icon"}),"Delete"]})})]}),et=X==="off"?H.jsxs(H.Fragment,{children:[H.jsx("ul",{role:"list",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-6 gap-y-8",children:h?H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx(Bi,{})}):ue.length>0?ue.map(Le=>{var je;return H.jsxs("li",{className:"boomi-card boomi-cors-card",children:[H.jsx("div",{className:"flex gap-4 p-4",children:H.jsxs("div",{className:"flex flex-col w-full",children:[H.jsx("h3",{className:"text-base font-semibold break-words truncate overflow-hidden pr-2",children:Le}),H.jsx("p",{className:"text-xs mt-1 line-clamp-2 break-words overflow-hidden",children:"Origin allowed for this tenant."})]})}),H.jsxs("div",{className:"flex w-full p-2 justify-end items-center gap-x-2 relative overflow-visible",children:[H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:((je=y==null?void 0:y.editButton)==null?void 0:je.label)??"Edit",onClick:()=>{K(Le),I(!0)}}),H.jsx(qe,{origin:Le})]})]},Le)}):H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No allowed origins found."})})}),!h&&ie>1&&H.jsx(Zv,{currentPage:U,totalPages:ie,onPageChange:Le=>j(Le)})]}):H.jsxs("div",{className:"",children:[H.jsxs("table",{className:"w-full table-auto rounded-lg shadow-sm",children:[H.jsx("thead",{className:"boomi-table-header",children:H.jsxs("tr",{children:[H.jsx("th",{className:"py-3 px-4 text-left text-sm font-semibold w-3/4",children:"Origin"}),H.jsx("th",{className:"py-3 px-4 text-right text-sm font-semibold w-1/4",children:"Actions"})]})}),H.jsx("tbody",{className:"divide-y",children:h?H.jsx("tr",{children:H.jsx("td",{colSpan:2,children:H.jsx("div",{className:"flex justify-center items-center py-6",children:H.jsx(Bi,{})})})}):ue.length>0?ue.map(Le=>H.jsxs("tr",{className:"boomi-table-row",children:[H.jsx("td",{className:"py-4 pl-4 pr-3 text-xs sm:pl-2 max-w-md break-words",children:Le}),H.jsx("td",{className:"py-4 pl-4 pr-3 text-xs sm:pl-2",children:H.jsx("div",{className:"flex justify-end",children:H.jsx(qe,{origin:Le})})})]},Le)):H.jsx("tr",{children:H.jsx("td",{colSpan:2,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No allowed origins found."})})})})})]}),!h&&ie>1&&H.jsx("div",{className:"mt-4 flex justify-end",children:H.jsx(Zv,{currentPage:U,totalPages:ie,onPageChange:j})})]}),mt=Z||m||A||R||null;return H.jsxs(H.Fragment,{children:[te.add&&H.jsx(bc,{type:"success",content:"Origin added."}),te.edit&&H.jsx(bc,{type:"success",content:"Origin updated."}),te.delete&&H.jsx(bc,{type:"success",content:"Origin deleted."}),H.jsx(vZ,{isOpen:B,onClose:()=>k(!1),onSubmit:ye,isSaving:T}),H.jsx(yZ,{isOpen:M,origin:J,onClose:()=>{I(!1),K(null)},onSubmit:de,isSaving:T}),H.jsx(EZ,{isOpen:W,origin:J,onClose:()=>{Q(!1),K(null)},onConfirm:Ve,isDeleting:D}),H.jsx(Ih,{componentKey:t,componentName:"cors",isRootNavigation:!0,title:"CORS Configuration",description:"Manage allowed origins for this tenant.",headerContent:Re,bodyContent:et,error:mt?{header:"Error",message:mt,errorType:"error"}:void 0})]})},sU={Integrations:n5,Agent:TG,RunAgent:U4,ConfigureIntegration:dZ,ExecutionHistory:mZ,UpdateConnections:dC,UpdateMaps:uC,UpdateSchedules:fC,AdminLayout:({componentKey:t,primaryAccountId:e,logo:i,logoSrc:a,logoText:E="EmbedKit Admin",onLogout:p})=>{var u;const g=Y.useMemo(()=>[{id:"cors",label:"CORS",icon:H.jsx(ej,{className:"h-5 w-5"}),render:()=>H.jsx(aU,{componentKey:`${t}:cors`,primaryAccountId:e})}],[t,e]),[y,f]=Y.useState(((u=g[0])==null?void 0:u.id)??"");Y.useEffect(()=>{var d;g.find(h=>h.id===y)||f(((d=g[0])==null?void 0:d.id)??"")},[g,y]);const b=g.find(d=>d.id===y)??g[0],c=async()=>{try{(await Promise.resolve().then(()=>NZ)).DestroyPlugin({clearAuth:!0,removeHost:!0})}catch(d){console.error("Failed to destroy plugin",d)}try{p==null||p()}catch(d){console.error("AdminLayout onLogout callback failed",d)}};return H.jsxs("div",{className:"boomi-admin-shell",children:[H.jsxs("aside",{className:"boomi-admin-sidebar",children:[H.jsx("div",{className:"boomi-admin-logo",children:i||(a?H.jsx("img",{src:a,alt:E,className:"max-h-10 w-auto mx-auto"}):H.jsx("span",{className:"boomi-admin-logo-text",children:E}))}),H.jsx("nav",{className:"boomi-admin-nav",children:g.map(d=>{const h=d.id===y;return H.jsxs("button",{type:"button",onClick:()=>f(d.id),className:`boomi-admin-nav-button ${h?"is-active":""}`,children:[H.jsx("span",{className:"boomi-admin-nav-icon",children:d.icon}),H.jsx("span",{className:"boomi-admin-nav-label",children:d.label})]},d.id)})}),H.jsx("div",{className:"boomi-admin-logout",children:H.jsxs("button",{type:"button",onClick:c,className:"boomi-admin-logout-button",children:[H.jsx(xj,{className:"h-5 w-5"}),H.jsx("span",{children:"Logout"})]})})]}),H.jsx("main",{className:"boomi-admin-main",children:H.jsx("div",{className:"boomi-admin-main-inner",children:b==null?void 0:b.render()})})]})},Cors:aU};let tr=null;const js={};async function wZ(){await wd.get().ensureReady()}function lU(t,e="--boomi-show-"){const i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return`${e}${i}`}function SZ(t,e,i){var m,S;if(!e)return;const a=[];let E="";const p=e.components??{};for(const[T,A]of Object.entries(p))typeof A=="boolean"&&(E+=`${lU(T)}:${A?"1":"0"};`);const g=e.cssVars??{};for(const[T,A]of Object.entries(g))String(T).startsWith("--")&&(E+=`${T}:${String(A)};`);E&&a.push(`:host{${E}}`);const y=e.cssVarsByTheme??{};for(const[T,A]of Object.entries(y)){const N=Object.entries(A).filter(([D])=>String(D).startsWith("--")).map(([D,R])=>`${D}:${String(R)};`).join("");N&&a.push(`:host([data-theme="${T}"]){${N}}`)}const b=(e.cssVarsByKey??{})[i]??{},c=((m=e.componentsByKey)==null?void 0:m[i])??{},u=(S=e.components)==null?void 0:S[i],d=u==null?void 0:u.modalOffset;let h="";for(const[T,A]of Object.entries(c))typeof A=="boolean"&&(h+=`${lU(T)}:${A?"1":"0"};`);for(const[T,A]of Object.entries(b))String(T).startsWith("--")&&(h+=`${T}:${String(A)};`);if(d){const T=D=>typeof D=="number"&&Number.isFinite(D)?`${D}px`:typeof D=="string"&&D.trim().length>0?D:null,A=T(d.offsetX??d.x??null),N=T(d.offsetY??d.y??null);A&&(h+=`--boomi-modal-offset-x:${A};`),N&&(h+=`--boomi-modal-offset-y:${N};`)}if(h&&a.push(`:host{${h}}`),a.length){t.querySelectorAll("style[data-boomi-vars]").forEach(A=>A.remove());const T=document.createElement("style");T.setAttribute("data-boomi-vars","true"),T.textContent=a.join(`
2378
+ */const bZ=()=>{const[t,e]=Y.useState(!1),[i,a]=Y.useState(null),{deleteCorsConfig:E}=hC(),p=Y.useCallback(async g=>{e(!0),a(null);try{await E(g),Oe.debug("[useDeleteCors] deleted config",{primaryAccountId:g.primaryAccountId})}catch(y){const f=(y==null?void 0:y.message)||"Failed to delete CORS configuration";throw Oe.error({err:y},"[useDeleteCors] failed"),a(f),y}finally{e(!1)}},[E]);return Y.useMemo(()=>({deleteCors:p,isDeleting:t,error:i}),[p,i,t])},vZ=({isOpen:t,onClose:e,onSubmit:i,isSaving:a})=>{const[E,p]=Y.useState(""),[g,y]=Y.useState(null);Y.useEffect(()=>{t&&(p(""),y(null))},[t]);const f=async()=>{const b=E.trim();if(!b){y("Origin is required");return}y(null),await i(b)};return H.jsx(Bd,{isOpen:t,title:"Add Allowed Origin",description:"Add a new origin to the allowed list for this tenant.",onClose:e,onSubmit:f,submitLabel:a?"Saving...":"Add Origin",showSaveButton:!a,children:H.jsx(Ch,{formName:"corsAdd",label:"Origin",required:!0,inputName:"origin",readOnly:!1,value:E,onChange:b=>p(b.target.value),placeholder:"https://app.example.com",error:g||void 0})})},yZ=({isOpen:t,origin:e,onClose:i,onSubmit:a,isSaving:E})=>{const[p,g]=Y.useState(e??""),[y,f]=Y.useState(null);Y.useEffect(()=>{t&&(g(e??""),f(null))},[t,e]);const b=async()=>{const c=p.trim();if(!c){f("Origin is required");return}f(null),await a(c)};return H.jsx(Bd,{isOpen:t,title:"Edit Allowed Origin",description:"Update the selected origin for this tenant.",onClose:i,onSubmit:b,submitLabel:E?"Saving...":"Save Changes",showSaveButton:!E,children:H.jsx(Ch,{formName:"corsEdit",label:"Origin",required:!0,inputName:"origin",readOnly:!1,value:p,onChange:c=>g(c.target.value),placeholder:"https://app.example.com",error:y||void 0})})},EZ=({isOpen:t,origin:e,onClose:i,onConfirm:a,isDeleting:E})=>H.jsx(Bd,{isOpen:t,title:"Delete Allowed Origin",description:"Remove this origin from the allowed list for this tenant.",onClose:i,onSubmit:a,submitLabel:E?"Deleting...":"Delete",showSaveButton:!E,children:H.jsxs("p",{className:"text-sm",children:["Are you sure you want to remove"," ",H.jsx("span",{className:"font-semibold",children:e})," from the allowed origins?"]})}),mC=12,aU=({componentKey:t,primaryAccountId:e})=>{var xt,$t,ze,nt,ct,gt,at;const{boomiConfig:i,tenantId:a,setPageIsLoading:E}=Fn(),p=e??a??(i==null?void 0:i.tenantId),g=`cors-view:${t}`,y=($t=(xt=i==null?void 0:i.components)==null?void 0:xt[t])==null?void 0:$t.cors,f=((ze=y==null?void 0:y.search)==null?void 0:ze.show)??!0,b=((nt=y==null?void 0:y.addButton)==null?void 0:nt.show)??!0,c=((ct=y==null?void 0:y.viewTypeButton)==null?void 0:ct.show)??!0,{allowedOrigins:u,refetch:d,isLoading:h,error:m}=pZ({primaryAccountId:p,auto:!!p}),{updateCors:S,isUpdating:T,error:A}=gZ(),{deleteCors:N,isDeleting:D,error:R}=bZ(),[L,C]=Y.useState([]),[$,F]=Y.useState(""),[U,j]=Y.useState(1),[X,P]=Y.useState("off"),[B,k]=Y.useState(!1),[M,I]=Y.useState(!1),[W,Q]=Y.useState(!1),[J,K]=Y.useState(null),[Z,re]=Y.useState(null),[te,ae]=Y.useState({add:!1,edit:!1,delete:!1});Y.useEffect(()=>{try{const Le=localStorage.getItem(g);(Le==="on"||Le==="off")&&P(Le)}catch{}},[g]),Y.useEffect(()=>{C(u)},[u]);const se=Y.useMemo(()=>{const Le=$.trim().toLowerCase();return Le?L.filter(je=>je.toLowerCase().includes(Le)):L},[L,$]),ie=Math.max(1,Math.ceil(se.length/mC)),ue=se.slice((U-1)*mC,U*mC),me=Le=>{ae(je=>({...je,[Le]:!0})),setTimeout(()=>ae(je=>({...je,[Le]:!1})),3e3)},ve=()=>p||(re("primaryAccountId is required to manage CORS."),null),pe=Y.useCallback(()=>{P(Le=>{const je=Le==="on"?"off":"on";try{localStorage.setItem(g,je)}catch{}return je})},[g]),ye=async Le=>{const je=ve();if(!je)return;const ot=Array.from(new Set([...L,Le]));E(!0);try{const tt=await S({primaryAccountId:je,allowedOrigins:ot});C(tt.allowedOrigins),k(!1),me("add"),await d()}catch(tt){Oe.error({err:tt},"[Cors] add failed")}finally{E(!1)}},de=async Le=>{if(!J)return;const je=ve();if(!je)return;const ot=L.map(vt=>vt===J?Le:vt),tt=Array.from(new Set(ot));E(!0);try{const vt=await S({primaryAccountId:je,allowedOrigins:tt});C(vt.allowedOrigins),I(!1),K(null),me("edit"),await d()}catch(vt){Oe.error({err:vt},"[Cors] edit failed")}finally{E(!1)}},Ve=async()=>{if(!J)return;const Le=ve();if(!Le)return;const je=L.filter(ot=>ot!==J);E(!0);try{if(je.length===0)await N({primaryAccountId:Le}),C([]);else{const ot=await S({primaryAccountId:Le,allowedOrigins:je});C(ot.allowedOrigins)}Q(!1),K(null),me("delete"),await d()}catch(ot){Oe.error({err:ot},"[Cors] delete failed")}finally{E(!1)}},Re=H.jsxs(H.Fragment,{children:[f&&H.jsx("div",{className:"flex-none pr-6 pt-4 pb-4",children:H.jsx(Jv,{searchCallback:Le=>{F(Le),j(1)}})}),b&&H.jsx("div",{className:"flex-1 pr-4 pt-4",children:H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!0,label:(gt=y==null?void 0:y.addButton)==null?void 0:gt.label,icon:H.jsx(fv,{className:"h-5 w-5"}),onClick:()=>k(!0)})}),c&&H.jsx("div",{className:"flex-none pt-4 pr-4",children:H.jsx(Hn,{toggle:!0,primary:!1,viewLoc:g,onClass:"flex w-full justify-center rounded-md px-2 py-2 text-xs font-semibold leading-6 shadow-md transition-colors duration-100",showIcon:!0,label:(at=y==null?void 0:y.viewTypeButton)==null?void 0:at.label,icon:H.jsx(cL,{className:"h-5 w-5"}),onIcon:H.jsx(iL,{className:"h-5 w-5"}),onClick:pe})})]}),qe=({origin:Le})=>H.jsxs(Dp,{children:[H.jsx(Ji.Item,{children:({active:je})=>H.jsxs("button",{onClick:()=>{K(Le),I(!0)},className:"boomi-menu-item","data-headlessui-state":je?"active":void 0,children:[H.jsx(sL,{className:"boomi-menu-icon"}),"Edit"]})}),H.jsx("div",{className:"boomi-menu-divider"}),H.jsx(Ji.Item,{children:({active:je})=>H.jsxs("button",{onClick:()=>{K(Le),Q(!0)},className:"boomi-menu-item boomi-menu-item--danger","data-headlessui-state":je?"active":void 0,children:[H.jsx(Sd,{className:"boomi-menu-icon"}),"Delete"]})})]}),et=X==="off"?H.jsxs(H.Fragment,{children:[H.jsx("ul",{role:"list",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-x-6 gap-y-8",children:h?H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx(Bi,{})}):ue.length>0?ue.map(Le=>{var je;return H.jsxs("li",{className:"boomi-card boomi-cors-card",children:[H.jsx("div",{className:"flex gap-4 p-4",children:H.jsxs("div",{className:"flex flex-col w-full",children:[H.jsx("h3",{className:"text-base font-semibold break-words truncate overflow-hidden pr-2",children:Le}),H.jsx("p",{className:"text-xs mt-1 line-clamp-2 break-words overflow-hidden",children:"Origin allowed for this tenant."})]})}),H.jsxs("div",{className:"flex w-full p-2 justify-end items-center gap-x-2 relative overflow-visible",children:[H.jsx(Hn,{toggle:!1,primary:!0,showIcon:!1,label:((je=y==null?void 0:y.editButton)==null?void 0:je.label)??"Edit",onClick:()=>{K(Le),I(!0)}}),H.jsx(qe,{origin:Le})]})]},Le)}):H.jsx("div",{className:"col-span-full flex justify-center items-center",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No allowed origins found."})})}),!h&&ie>1&&H.jsx(Zv,{currentPage:U,totalPages:ie,onPageChange:Le=>j(Le)})]}):H.jsxs("div",{className:"",children:[H.jsxs("table",{className:"w-full table-auto rounded-lg shadow-sm",children:[H.jsx("thead",{className:"boomi-table-header",children:H.jsxs("tr",{children:[H.jsx("th",{className:"py-3 px-4 text-left text-sm font-semibold w-3/4",children:"Origin"}),H.jsx("th",{className:"py-3 px-4 text-right text-sm font-semibold w-1/4",children:"Actions"})]})}),H.jsx("tbody",{className:"divide-y",children:h?H.jsx("tr",{children:H.jsx("td",{colSpan:2,children:H.jsx("div",{className:"flex justify-center items-center py-6",children:H.jsx(Bi,{})})})}):ue.length>0?ue.map(Le=>H.jsxs("tr",{className:"boomi-table-row",children:[H.jsx("td",{className:"py-4 pl-4 pr-3 text-xs sm:pl-2 max-w-md break-words",children:Le}),H.jsx("td",{className:"py-4 pl-4 pr-3 text-xs sm:pl-2",children:H.jsx("div",{className:"flex justify-end",children:H.jsx(qe,{origin:Le})})})]},Le)):H.jsx("tr",{children:H.jsx("td",{colSpan:2,children:H.jsx("div",{className:"flex justify-center items-center py-4",children:H.jsx("p",{className:"text-gray-500 text-xs",children:"No allowed origins found."})})})})})]}),!h&&ie>1&&H.jsx("div",{className:"mt-4 flex justify-end",children:H.jsx(Zv,{currentPage:U,totalPages:ie,onPageChange:j})})]}),mt=Z||m||A||R||null;return H.jsxs(H.Fragment,{children:[te.add&&H.jsx(bc,{type:"success",content:"Origin added."}),te.edit&&H.jsx(bc,{type:"success",content:"Origin updated."}),te.delete&&H.jsx(bc,{type:"success",content:"Origin deleted."}),H.jsx(vZ,{isOpen:B,onClose:()=>k(!1),onSubmit:ye,isSaving:T}),H.jsx(yZ,{isOpen:M,origin:J,onClose:()=>{I(!1),K(null)},onSubmit:de,isSaving:T}),H.jsx(EZ,{isOpen:W,origin:J,onClose:()=>{Q(!1),K(null)},onConfirm:Ve,isDeleting:D}),H.jsx(Ih,{componentKey:t,componentName:"cors",isRootNavigation:!0,title:"CORS Configuration",description:"Manage allowed origins for this tenant.",headerContent:Re,bodyContent:et,error:mt?{header:"Error",message:mt,errorType:"error"}:void 0})]})},sU={Integrations:n5,Agent:TG,RunAgent:U4,ConfigureIntegration:dZ,ExecutionHistory:mZ,UpdateConnections:dC,UpdateMaps:uC,UpdateSchedules:fC,AdminLayout:({componentKey:t,primaryAccountId:e,logo:i,logoSrc:a,logoText:E="EmbedKit Admin",onLogout:p})=>{var u;const g=Y.useMemo(()=>[{id:"cors",label:"CORS",icon:H.jsx(ej,{className:"h-5 w-5"}),render:()=>H.jsx(aU,{componentKey:`${t}:cors`,primaryAccountId:e})}],[t,e]),[y,f]=Y.useState(((u=g[0])==null?void 0:u.id)??"");Y.useEffect(()=>{var d;g.find(h=>h.id===y)||f(((d=g[0])==null?void 0:d.id)??"")},[g,y]);const b=g.find(d=>d.id===y)??g[0],c=async()=>{try{(await Promise.resolve().then(()=>NZ)).DestroyPlugin({clearAuth:!0,removeHost:!0})}catch(d){console.error("Failed to destroy plugin",d)}try{p==null||p()}catch(d){console.error("AdminLayout onLogout callback failed",d)}};return H.jsxs("div",{className:"boomi-admin-shell",children:[H.jsxs("aside",{className:"boomi-admin-sidebar",children:[H.jsx("div",{className:"boomi-admin-logo",children:i||(a?H.jsx("img",{src:a,alt:E,className:"max-h-10 w-auto mx-auto"}):H.jsx("span",{className:"boomi-admin-logo-text",children:E}))}),H.jsx("nav",{className:"boomi-admin-nav",children:g.map(d=>{const h=d.id===y;return H.jsxs("button",{type:"button",onClick:()=>f(d.id),className:`boomi-admin-nav-button ${h?"is-active":""}`,children:[H.jsx("span",{className:"boomi-admin-nav-icon",children:d.icon}),H.jsx("span",{className:"boomi-admin-nav-label",children:d.label})]},d.id)})}),H.jsx("div",{className:"boomi-admin-logout",children:H.jsxs("button",{type:"button",onClick:c,className:"boomi-admin-logout-button",children:[H.jsx(xj,{className:"h-5 w-5"}),H.jsx("span",{children:"Logout"})]})})]}),H.jsx("main",{className:"boomi-admin-main",children:H.jsx("div",{className:"boomi-admin-main-inner",children:b==null?void 0:b.render()})})]})},Cors:aU};let tr=null;const js={};async function wZ(){await wd.get().ensureReady()}function lU(t,e="--boomi-show-"){const i=t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return`${e}${i}`}function SZ(t,e,i){var m,S;if(!e)return;const a=[];let E="";const p=e.components??{};for(const[T,A]of Object.entries(p))typeof A=="boolean"&&(E+=`${lU(T)}:${A?"1":"0"};`);const g=e.cssVars??{};for(const[T,A]of Object.entries(g))String(T).startsWith("--")&&(E+=`${T}:${String(A)};`);E&&a.push(`:host{${E}}`);const y=e.cssVarsByTheme??{};for(const[T,A]of Object.entries(y)){const N=Object.entries(A).filter(([D])=>String(D).startsWith("--")).map(([D,R])=>`${D}:${String(R)};`).join("");N&&a.push(`:host([data-theme="${T}"]){${N}}`)}const b=(e.cssVarsByKey??{})[i]??{},c=((m=e.componentsByKey)==null?void 0:m[i])??{},u=(S=e.components)==null?void 0:S[i],d=u==null?void 0:u.modalOffset;let h="";for(const[T,A]of Object.entries(c))typeof A=="boolean"&&(h+=`${lU(T)}:${A?"1":"0"};`);for(const[T,A]of Object.entries(b))String(T).startsWith("--")&&(h+=`${T}:${String(A)};`);if(d){const T=D=>typeof D=="number"&&Number.isFinite(D)?`${D}px`:typeof D=="string"&&D.trim().length>0?D:null,A=T(d.offsetX??d.x??null),N=T(d.offsetY??d.y??null);A&&(h+=`--boomi-modal-offset-x:${A};`),N&&(h+=`--boomi-modal-offset-y:${N};`)}if(h&&a.push(`:host{${h}}`),a.length){t.querySelectorAll("style[data-boomi-vars]").forEach(A=>A.remove());const T=document.createElement("style");T.setAttribute("data-boomi-vars","true"),T.textContent=a.join(`
2379
2379
  `),t.appendChild(T)}}function TZ(t,e){var a;if(!t)return"base";const i=(a=t.boomiConfig)==null?void 0:a.theme;return!i||(i==null?void 0:i.allowThemes)===!1?"base":(Oe.debug("Determining theme for key:",e,"with config theme:",i),i.defaultTheme||"base")}function AZ(t){if(t.querySelector("style[data-boomi-base]"))return;const e=document.createElement("style");e.setAttribute("data-boomi-base","true"),e.textContent=`
2380
2380
  ${dj}
2381
2381
  /* Ensure the shadow host and mount can actually fill */