@pipedream/connect-react 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,21 +1,21 @@
1
- (function(H,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],O):(H=typeof globalThis<"u"?globalThis:H||self,O(H["connect-react"]={},H["react/jsx-runtime"],H.React,H["@emotion/react"],H.ReactDOM))})(this,function(H,O,P,J,$r){"use strict";var fu=H=>{throw TypeError(H)};var go=(H,O,P)=>O.has(H)||fu("Cannot "+P);var C=(H,O,P)=>(go(H,O,"read from private field"),P?P.call(H):O.get(H)),ee=(H,O,P)=>O.has(H)?fu("Cannot add the same private member more than once"):O instanceof WeakSet?O.add(H):O.set(H,P),j=(H,O,P,J)=>(go(H,O,"write to private field"),J?J.call(H,P):O.set(H,P),P),pe=(H,O,P)=>(go(H,O,"access private method"),P);var Qr=(H,O,P,J)=>({set _($r){j(H,O,$r,P)},get _(){return C(H,O,J)}});var Kt,Dt,Cn,Jl,xn,Vt,An,Yl,en,_l,wn,Sn,ot,Me,$n,tn,dt,Bt,Ul,vt,ql,It,Ze,nn,Ct,Jt,Ql,et,Kn,$l,Ge,Nt,Lt,En,kn,Rt,Fn,Pn,Kl,_e,de,er,je,rn,Gn,Mt,xt,tr,Bn,Tn,on,sn,Xt,On,ve,ar,mo,bo,yo,vo,Io,Co,xo,hu,eu;function gu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ne=gu(P);function Fy(){}function Py(){}function mu(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const bu=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,yu=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,vu={};function Ao(e,t){return(vu.jsx?yu:bu).test(e)}const Iu=/[ \t\n\f\r]/g;function Cu(e){return typeof e=="object"?e.type==="text"?wo(e.value):!1:wo(e)}function wo(e){return e.replace(Iu,"")===""}class Nn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Nn.prototype.property={},Nn.prototype.normal={},Nn.prototype.space=null;function So(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Nn(n,r,t)}function Kr(e){return e.toLowerCase()}class nt{constructor(t,n){this.property=t,this.attribute=n}}nt.prototype.space=null,nt.prototype.boolean=!1,nt.prototype.booleanish=!1,nt.prototype.overloadedBoolean=!1,nt.prototype.number=!1,nt.prototype.commaSeparated=!1,nt.prototype.spaceSeparated=!1,nt.prototype.commaOrSpaceSeparated=!1,nt.prototype.mustUseProperty=!1,nt.prototype.defined=!1;let xu=0;const re=Yt(),Te=Yt(),Eo=Yt(),R=Yt(),Ce=Yt(),pn=Yt(),Qe=Yt();function Yt(){return 2**++xu}const ei=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:Te,commaOrSpaceSeparated:Qe,commaSeparated:pn,number:R,overloadedBoolean:Eo,spaceSeparated:Ce},Symbol.toStringTag,{value:"Module"})),ti=Object.keys(ei);class ni extends nt{constructor(t,n,r,i){let o=-1;if(super(t,n),ko(this,"space",i),typeof r=="number")for(;++o<ti.length;){const s=ti[o];ko(this,ti[o],(r&ei[s])===ei[s])}}}ni.prototype.defined=!0;function ko(e,t,n){n&&(e[t]=n)}const Au={}.hasOwnProperty;function fn(e){const t={},n={};let r;for(r in e.properties)if(Au.call(e.properties,r)){const i=e.properties[r],o=new ni(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Kr(r)]=r,n[Kr(o.attribute)]=r}return new Nn(t,n,e.space)}const Fo=fn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Po=fn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Go(e,t){return t in e?e[t]:t}function Bo(e,t){return Go(e,t.toLowerCase())}const To=fn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Bo,properties:{xmlns:null,xmlnsXLink:null}}),Oo=fn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Te,ariaAutoComplete:null,ariaBusy:Te,ariaChecked:Te,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Ce,ariaCurrent:null,ariaDescribedBy:Ce,ariaDetails:null,ariaDisabled:Te,ariaDropEffect:Ce,ariaErrorMessage:null,ariaExpanded:Te,ariaFlowTo:Ce,ariaGrabbed:Te,ariaHasPopup:null,ariaHidden:Te,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ce,ariaLevel:R,ariaLive:null,ariaModal:Te,ariaMultiLine:Te,ariaMultiSelectable:Te,ariaOrientation:null,ariaOwns:Ce,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:Te,ariaReadOnly:Te,ariaRelevant:null,ariaRequired:Te,ariaRoleDescription:Ce,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:Te,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null}}),wu=fn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Bo,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pn,acceptCharset:Ce,accessKey:Ce,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:Ce,autoFocus:re,autoPlay:re,blocking:Ce,capture:null,charSet:null,checked:re,cite:null,className:Ce,cols:R,colSpan:null,content:null,contentEditable:Te,controls:re,controlsList:Ce,coords:R|pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:Eo,draggable:Te,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:Ce,height:R,hidden:re,high:R,href:null,hrefLang:null,htmlFor:Ce,httpEquiv:Ce,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:Ce,itemRef:Ce,itemScope:re,itemType:Ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:R,pattern:null,ping:Ce,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:Ce,required:re,reversed:re,rows:R,rowSpan:R,sandbox:Ce,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:Te,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:Te,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ce,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:Te,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:R,security:null,unselectable:null}}),Su=fn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Go,properties:{about:Qe,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Ce,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pn,g2:pn,glyphName:pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:Qe,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Qe,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Qe,rev:Qe,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Qe,requiredFeatures:Qe,requiredFonts:Qe,requiredFormats:Qe,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:Qe,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Qe,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Qe,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Eu=/^data[-\w.:]+$/i,Do=/-[a-z]/g,ku=/[A-Z]/g;function Fu(e,t){const n=Kr(t);let r=t,i=nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Eu.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Do,Gu);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Do.test(o)){let s=o.replace(ku,Pu);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=ni}return new i(r,t)}function Pu(e){return"-"+e.toLowerCase()}function Gu(e){return e.charAt(1).toUpperCase()}const Bu={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Tu=So([Po,Fo,To,Oo,wu],"html"),ri=So([Po,Fo,To,Oo,Su],"svg");function Ou(e){return e.join(" ").trim()}var hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var No={},Lo=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Du=/\n/g,Vu=/^\s*/,Nu=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Lu=/^:\s*/,Ru=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Mu=/^[;\s]*/,Xu=/^\s+|\s+$/g,Hu=`
2
- `,Ro="/",Mo="*",_t="",zu="comment",Wu="declaration",Zu=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var g=b.match(Du);g&&(n+=g.length);var I=b.lastIndexOf(Hu);r=~I?b.length-I:r+b.length}function o(){var b={line:n,column:r};return function(g){return g.position=new s(b),u(),g}}function s(b){this.start=b,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function a(b){var g=new Error(t.source+":"+n+":"+r+": "+b);if(g.reason=b,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(b){var g=b.exec(e);if(g){var I=g[0];return i(I),e=e.slice(I.length),g}}function u(){l(Vu)}function c(b){var g;for(b=b||[];g=d();)g!==!1&&b.push(g);return b}function d(){var b=o();if(!(Ro!=e.charAt(0)||Mo!=e.charAt(1))){for(var g=2;_t!=e.charAt(g)&&(Mo!=e.charAt(g)||Ro!=e.charAt(g+1));)++g;if(g+=2,_t===e.charAt(g-1))return a("End of comment missing");var I=e.slice(2,g-2);return r+=2,i(I),e=e.slice(g),r+=2,b({type:zu,comment:I})}}function f(){var b=o(),g=l(Nu);if(g){if(d(),!l(Lu))return a("property missing ':'");var I=l(Ru),v=b({type:Wu,property:Xo(g[0].replace(Lo,_t)),value:I?Xo(I[0].replace(Lo,_t)):_t});return l(Mu),v}}function p(){var b=[];c(b);for(var g;g=f();)g!==!1&&(b.push(g),c(b));return b}return u(),p()};function Xo(e){return e?e.replace(Xu,_t):_t}var ju=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(No,"__esModule",{value:!0});var Ho=No.default=Yu,Ju=ju(Zu);function Yu(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Ju.default)(e),i=typeof t=="function";return r.forEach(function(o){if(o.type==="declaration"){var s=o.property,a=o.value;i?t(s,a,o):a&&(n=n||{},n[s]=a)}}),n}const _u=Ho.default||Ho,zo=Wo("end"),ii=Wo("start");function Wo(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Uu(e){const t=ii(e),n=zo(e);if(t&&n)return{start:t,end:n}}function Ln(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Zo(e.position):"start"in e||"end"in e?Zo(e):"line"in e||"column"in e?oi(e):""}function oi(e){return jo(e&&e.line)+":"+jo(e&&e.column)}function Zo(e){return oi(e&&e.start)+"-"+oi(e&&e.end)}function jo(e){return e&&typeof e=="number"?e:1}class Re extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Ln(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Re.prototype.file="",Re.prototype.name="",Re.prototype.reason="",Re.prototype.message="",Re.prototype.stack="",Re.prototype.column=void 0,Re.prototype.line=void 0,Re.prototype.ancestors=void 0,Re.prototype.cause=void 0,Re.prototype.fatal=void 0,Re.prototype.place=void 0,Re.prototype.ruleId=void 0,Re.prototype.source=void 0;const si={}.hasOwnProperty,qu=new Map,Qu=/[A-Z]/g,$u=/-([a-z])/g,Ku=new Set(["table","tbody","thead","tfoot","tr"]),ec=new Set(["td","th"]),Jo="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tc(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=uc(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=lc(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ri:Tu,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=Yo(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function Yo(e,t,n){if(t.type==="element")return nc(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return rc(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return oc(e,t,n);if(t.type==="mdxjsEsm")return ic(e,t);if(t.type==="root")return sc(e,t,n);if(t.type==="text")return ac(e,t)}function nc(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ri,e.schema=i),e.ancestors.push(t);const o=Uo(e,t.tagName,!1),s=cc(e,t);let a=li(e,t);return Ku.has(t.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!Cu(l):!0})),_o(e,s,o,t),ai(s,a),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function rc(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Rn(e,t.position)}function ic(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Rn(e,t.position)}function oc(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ri,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:Uo(e,t.name,!0),s=dc(e,t),a=li(e,t);return _o(e,s,o,t),ai(s,a),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function sc(e,t,n){const r={};return ai(r,li(e,t)),e.create(t,e.Fragment,r,n)}function ac(e,t){return t.value}function _o(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ai(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function lc(e,t,n){return r;function r(i,o,s,a){const u=Array.isArray(s.children)?n:t;return a?u(o,s,a):u(o,s)}}function uc(e,t){return n;function n(r,i,o,s){const a=Array.isArray(o.children),l=ii(r);return t(i,o,s,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function cc(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&si.call(t.properties,i)){const o=pc(e,i,t.properties[i]);if(o){const[s,a]=o;e.tableCellAlignToStyle&&s==="align"&&typeof a=="string"&&ec.has(t.tagName)?r=a:n[s]=a}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function dc(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const s=o.expression;s.type;const a=s.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Rn(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Rn(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function li(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:qu;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){const u=i.get(l)||0;s=l+"-"+u,i.set(l,u+1)}}const a=Yo(e,o,s);a!==void 0&&n.push(a)}return n}function pc(e,t,n){const r=Fu(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?mu(n):Ou(n)),r.property==="style"){let i=typeof n=="object"?n:fc(e,String(n));return e.stylePropertyNameCase==="css"&&(i=hc(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Bu[r.property]||r.property:r.attribute,n]}}function fc(e,t){const n={};try{_u(t,r)}catch(i){if(!e.ignoreInvalidStyle){const o=i,s=new Re("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Jo+"#cannot-parse-style-attribute",s}}return n;function r(i,o){let s=i;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace($u,mc)),n[s]=o}}function Uo(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,s;for(;++o<i.length;){const a=Ao(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};s=s?{type:"MemberExpression",object:s,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=s}else r=Ao(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return si.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Rn(e)}function Rn(e,t){const n=new Re("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Jo+"#cannot-handle-mdx-estrees-without-createevaluater",n}function hc(e){const t={};let n;for(n in e)si.call(e,n)&&(t[gc(n)]=e[n]);return t}function gc(e){let t=e.replace(Qu,bc);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function mc(e,t){return t.toUpperCase()}function bc(e){return"-"+e.toLowerCase()}const ui={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},yc={};function vc(e,t){const n=yc,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return qo(e,r,i)}function qo(e,t,n){if(Ic(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Qo(e.children,t,n)}return Array.isArray(e)?Qo(e,t,n):""}function Qo(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=qo(e[i],t,n);return r.join("")}function Ic(e){return!!(e&&typeof e=="object")}const lr={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
- `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Cc={}.hasOwnProperty;function $o(e){return Cc.call(lr,e)?lr[e]:!1}function gt(e,t,n,r){const i=e.length;let o=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function rt(e,t){return e.length>0?(gt(e,e.length,0,t),e):t}const Ko={}.hasOwnProperty;function xc(e){const t={};let n=-1;for(;++n<e.length;)Ac(t,e[n]);return t}function Ac(e,t){let n;for(n in t){const i=(Ko.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let s;if(o)for(s in o){Ko.call(i,s)||(i[s]=[]);const a=o[s];wc(i[s],Array.isArray(a)?a:a?[a]:[])}}}function wc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);gt(e,0,0,r)}function es(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function gn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const mt=Tt(/[A-Za-z]/),$e=Tt(/[\dA-Za-z]/),Sc=Tt(/[#-'*+\--9=?A-Z^-~]/);function ci(e){return e!==null&&(e<32||e===127)}const di=Tt(/\d/),Ec=Tt(/[\dA-Fa-f]/),kc=Tt(/[!-/:-@[-`{-~]/);function $(e){return e!==null&&e<-2}function Je(e){return e!==null&&(e<0||e===32)}function ye(e){return e===-2||e===-1||e===32}const Fc=Tt(new RegExp("\\p{P}|\\p{S}","u")),Pc=Tt(/\s/);function Tt(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function mn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(o===37&&$e(e.charCodeAt(n+1))&&$e(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function xe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(l){return ye(l)?(e.enter(n),a(l)):t(l)}function a(l){return ye(l)&&o++<i?(e.consume(l),a):(e.exit(n),t(l))}}const Gc={tokenize:Bc};function Bc(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),xe(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return $(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),s)}}const Tc={tokenize:Oc},ts={tokenize:Dc};function Oc(e){const t=this,n=[];let r=0,i,o,s;return a;function a(w){if(r<n.length){const k=n[r];return t.containerState=k[1],e.attempt(k[0].continuation,l,u)(w)}return u(w)}function l(w){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&S();const k=t.events.length;let B=k,A;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){A=t.events[B][1].end;break}v(r);let L=k;for(;L<t.events.length;)t.events[L][1].end={...A},L++;return gt(t.events,B+1,0,t.events.slice(k)),t.events.length=L,u(w)}return a(w)}function u(w){if(r===n.length){if(!i)return f(w);if(i.currentConstruct&&i.currentConstruct.concrete)return b(w);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ts,c,d)(w)}function c(w){return i&&S(),v(r),f(w)}function d(w){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,b(w)}function f(w){return t.containerState={},e.attempt(ts,p,b)(w)}function p(w){return r++,n.push([t.currentConstruct,t.containerState]),f(w)}function b(w){if(w===null){i&&S(),v(0),e.consume(w);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),g(w)}function g(w){if(w===null){I(e.exit("chunkFlow"),!0),v(0),e.consume(w);return}return $(w)?(e.consume(w),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(w),g)}function I(w,k){const B=t.sliceStream(w);if(k&&B.push(null),w.previous=o,o&&(o.next=w),o=w,i.defineSkip(w.start),i.write(B),t.parser.lazy[w.start.line]){let A=i.events.length;for(;A--;)if(i.events[A][1].start.offset<s&&(!i.events[A][1].end||i.events[A][1].end.offset>s))return;const L=t.events.length;let E=L,V,D;for(;E--;)if(t.events[E][0]==="exit"&&t.events[E][1].type==="chunkFlow"){if(V){D=t.events[E][1].end;break}V=!0}for(v(r),A=L;A<t.events.length;)t.events[A][1].end={...D},A++;gt(t.events,E+1,0,t.events.slice(L)),t.events.length=A}}function v(w){let k=n.length;for(;k-- >w;){const B=n[k];t.containerState=B[1],B[0].exit.call(t,e)}n.length=w}function S(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Dc(e,t,n){return xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ns(e){if(e===null||Je(e)||Pc(e))return 1;if(Fc(e))return 2}function pi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const fi={name:"attention",resolveAll:Vc,tokenize:Nc};function Vc(e,t){let n=-1,r,i,o,s,a,l,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},f={...e[n][1].start};rs(d,-l),rs(f,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...s.start},end:{...a.end}},e[r][1].end={...s.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=rt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=rt(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",o,t]]),u=rt(u,pi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=rt(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=rt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,gt(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Nc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=ns(r);let o;return s;function s(l){return o=l,e.enter("attentionSequence"),a(l)}function a(l){if(l===o)return e.consume(l),a;const u=e.exit("attentionSequence"),c=ns(l),d=!c||c===2&&i||n.includes(l),f=!i||i===2&&c||n.includes(r);return u._open=!!(o===42?d:d&&(i||!f)),u._close=!!(o===42?f:f&&(c||!d)),t(l)}}function rs(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Lc={name:"autolink",tokenize:Rc};function Rc(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return mt(p)?(e.consume(p),s):p===64?n(p):u(p)}function s(p){return p===43||p===45||p===46||$e(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||$e(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||ci(p)?n(p):(e.consume(p),l)}function u(p){return p===64?(e.consume(p),c):Sc(p)?(e.consume(p),u):n(p)}function c(p){return $e(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||$e(p))&&r++<63){const b=p===45?f:d;return e.consume(p),b}return n(p)}}const ur={partial:!0,tokenize:Mc};function Mc(e,t,n){return r;function r(o){return ye(o)?xe(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||$(o)?t(o):n(o)}}const is={continuation:{tokenize:Hc},exit:zc,name:"blockQuote",tokenize:Xc};function Xc(e,t,n){const r=this;return i;function i(s){if(s===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return ye(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Hc(e,t,n){const r=this;return i;function i(s){return ye(s)?xe(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(is,t,n)(s)}}function zc(e){e.exit("blockQuote")}const os={name:"characterEscape",tokenize:Wc};function Wc(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return kc(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const ss={name:"characterReference",tokenize:Zc};function Zc(e,t,n){const r=this;let i=0,o,s;return a;function a(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,s=$e,c(d))}function u(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=Ec,c):(e.enter("characterReferenceValue"),o=7,s=di,c(d))}function c(d){if(d===59&&i){const f=e.exit("characterReferenceValue");return s===$e&&!$o(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&i++<o?(e.consume(d),c):n(d)}}const as={partial:!0,tokenize:Jc},ls={concrete:!0,name:"codeFenced",tokenize:jc};function jc(e,t,n){const r=this,i={partial:!0,tokenize:B};let o=0,s=0,a;return l;function l(A){return u(A)}function u(A){const L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,a=A,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(A)}function c(A){return A===a?(s++,e.consume(A),c):s<3?n(A):(e.exit("codeFencedFenceSequence"),ye(A)?xe(e,d,"whitespace")(A):d(A))}function d(A){return A===null||$(A)?(e.exit("codeFencedFence"),r.interrupt?t(A):e.check(as,g,k)(A)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(A))}function f(A){return A===null||$(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(A)):ye(A)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),xe(e,p,"whitespace")(A)):A===96&&A===a?n(A):(e.consume(A),f)}function p(A){return A===null||$(A)?d(A):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(A))}function b(A){return A===null||$(A)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(A)):A===96&&A===a?n(A):(e.consume(A),b)}function g(A){return e.attempt(i,k,I)(A)}function I(A){return e.enter("lineEnding"),e.consume(A),e.exit("lineEnding"),v}function v(A){return o>0&&ye(A)?xe(e,S,"linePrefix",o+1)(A):S(A)}function S(A){return A===null||$(A)?e.check(as,g,k)(A):(e.enter("codeFlowValue"),w(A))}function w(A){return A===null||$(A)?(e.exit("codeFlowValue"),S(A)):(e.consume(A),w)}function k(A){return e.exit("codeFenced"),t(A)}function B(A,L,E){let V=0;return D;function D(z){return A.enter("lineEnding"),A.consume(z),A.exit("lineEnding"),T}function T(z){return A.enter("codeFencedFence"),ye(z)?xe(A,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):N(z)}function N(z){return z===a?(A.enter("codeFencedFenceSequence"),q(z)):E(z)}function q(z){return z===a?(V++,A.consume(z),q):V>=s?(A.exit("codeFencedFenceSequence"),ye(z)?xe(A,ie,"whitespace")(z):ie(z)):E(z)}function ie(z){return z===null||$(z)?(A.exit("codeFencedFence"),L(z)):E(z)}}}function Jc(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const hi={name:"codeIndented",tokenize:_c},Yc={partial:!0,tokenize:Uc};function _c(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),xe(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?l(u):$(u)?e.attempt(Yc,s,l)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||$(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),a)}function l(u){return e.exit("codeIndented"),t(u)}}function Uc(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):$(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):xe(e,o,"linePrefix",5)(s)}function o(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):$(s)?i(s):n(s)}}const qc={name:"codeText",previous:$c,resolve:Qc,tokenize:Kc};function Qc(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function $c(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kc(e,t,n){let r=0,i,o;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),a(d)}function a(d){return d===96?(e.consume(d),r++,a):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(o=e.enter("codeTextSequence"),i=0,c(d)):$(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||$(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),u)}function c(d){return d===96?(e.consume(d),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(o.type="codeTextData",u(d))}}class ed{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mn(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Mn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Mn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Mn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Mn(this.left,n.reverse())}}}function Mn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function us(e){const t={};let n=-1,r,i,o,s,a,l,u;const c=new ed(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,td(c,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(s=c.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=o);i&&(r[1].end={...c.get(i)[1].start},a=c.slice(i,n),a.unshift(r),c.splice(i,n-i+1,a))}}return gt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function td(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,l=[],u={};let c,d,f=-1,p=n,b=0,g=0;const I=[g];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<a.length;)a[f][0]==="exit"&&a[f-1][0]==="enter"&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(g=f+1,I.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),f=I.length;f--;){const v=a.slice(I[f],I[f+1]),S=o.pop();l.push([S,S+v.length-1]),e.splice(S,2,v)}for(l.reverse(),f=-1;++f<l.length;)u[b+l[f][0]]=b+l[f][1],b+=l[f][1]-l[f][0]-1;return u}const nd={resolve:id,tokenize:od},rd={partial:!0,tokenize:sd};function id(e){return us(e),e}function od(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):$(a)?e.check(rd,s,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function sd(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),xe(e,o,"linePrefix")}function o(s){if(s===null||$(s))return n(s);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function cs(e,t,n,r,i,o,s,a,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),f):v===null||v===32||v===41||ci(v)?n(v):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(v))}function f(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(a),f(v)):v===null||v===60||$(v)?n(v):(e.consume(v),v===92?b:p)}function b(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function g(v){return!c&&(v===null||v===41||Je(v))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(v)):c<u&&v===40?(e.consume(v),c++,g):v===41?(e.consume(v),c--,g):v===null||v===32||v===40||ci(v)?n(v):(e.consume(v),v===92?I:g)}function I(v){return v===40||v===41||v===92?(e.consume(v),g):g(v)}}function ds(e,t,n,r,i,o){const s=this;let a=0,l;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),c}function c(p){return a>999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):$(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||$(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),l||(l=!ye(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),a++,d):d(p)}}function ps(e,t,n,r,i,o){let s;return a;function a(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),s=f===40?41:f,l):n(f)}function l(f){return f===s?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(o),u(f))}function u(f){return f===s?(e.exit(o),l(s)):f===null?n(f):$(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),xe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===s||f===null||$(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?d:c)}function d(f){return f===s||f===92?(e.consume(f),c):c(f)}}function Xn(e,t){let n;return r;function r(i){return $(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ye(i)?xe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const ad={name:"definition",tokenize:ud},ld={partial:!0,tokenize:cd};function ud(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),s(p)}function s(p){return ds.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return Je(p)?Xn(e,u)(p):u(p)}function u(p){return cs(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(ld,d,d)(p)}function d(p){return ye(p)?xe(e,f,"whitespace")(p):f(p)}function f(p){return p===null||$(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function cd(e,t,n){return r;function r(a){return Je(a)?Xn(e,i)(a):n(a)}function i(a){return ps(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return ye(a)?xe(e,s,"whitespace")(a):s(a)}function s(a){return a===null||$(a)?t(a):n(a)}}const dd={name:"hardBreakEscape",tokenize:pd};function pd(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return $(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const fd={name:"headingAtx",resolve:hd,tokenize:gd};function hd(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},gt(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function gd(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&r++<6?(e.consume(c),s):c===null||Je(c)?(e.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||$(c)?(e.exit("atxHeading"),t(c)):ye(c)?xe(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||Je(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const md=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],fs=["pre","script","style","textarea"],bd={concrete:!0,name:"htmlFlow",resolveTo:Id,tokenize:Cd},yd={partial:!0,tokenize:Ad},vd={partial:!0,tokenize:xd};function Id(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Cd(e,t,n){const r=this;let i,o,s,a,l;return u;function u(m){return c(m)}function c(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),d}function d(m){return m===33?(e.consume(m),f):m===47?(e.consume(m),o=!0,g):m===63?(e.consume(m),i=3,r.interrupt?t:y):mt(m)?(e.consume(m),s=String.fromCharCode(m),I):n(m)}function f(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,a=0,b):mt(m)?(e.consume(m),i=4,r.interrupt?t:y):n(m)}function p(m){return m===45?(e.consume(m),r.interrupt?t:y):n(m)}function b(m){const me="CDATA[";return m===me.charCodeAt(a++)?(e.consume(m),a===me.length?r.interrupt?t:N:b):n(m)}function g(m){return mt(m)?(e.consume(m),s=String.fromCharCode(m),I):n(m)}function I(m){if(m===null||m===47||m===62||Je(m)){const me=m===47,te=s.toLowerCase();return!me&&!o&&fs.includes(te)?(i=1,r.interrupt?t(m):N(m)):md.includes(s.toLowerCase())?(i=6,me?(e.consume(m),v):r.interrupt?t(m):N(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?S(m):w(m))}return m===45||$e(m)?(e.consume(m),s+=String.fromCharCode(m),I):n(m)}function v(m){return m===62?(e.consume(m),r.interrupt?t:N):n(m)}function S(m){return ye(m)?(e.consume(m),S):D(m)}function w(m){return m===47?(e.consume(m),D):m===58||m===95||mt(m)?(e.consume(m),k):ye(m)?(e.consume(m),w):D(m)}function k(m){return m===45||m===46||m===58||m===95||$e(m)?(e.consume(m),k):B(m)}function B(m){return m===61?(e.consume(m),A):ye(m)?(e.consume(m),B):w(m)}function A(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),l=m,L):ye(m)?(e.consume(m),A):E(m)}function L(m){return m===l?(e.consume(m),l=null,V):m===null||$(m)?n(m):(e.consume(m),L)}function E(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||Je(m)?B(m):(e.consume(m),E)}function V(m){return m===47||m===62||ye(m)?w(m):n(m)}function D(m){return m===62?(e.consume(m),T):n(m)}function T(m){return m===null||$(m)?N(m):ye(m)?(e.consume(m),T):n(m)}function N(m){return m===45&&i===2?(e.consume(m),U):m===60&&i===1?(e.consume(m),ue):m===62&&i===4?(e.consume(m),ce):m===63&&i===3?(e.consume(m),y):m===93&&i===5?(e.consume(m),Ie):$(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(yd,se,q)(m)):m===null||$(m)?(e.exit("htmlFlowData"),q(m)):(e.consume(m),N)}function q(m){return e.check(vd,ie,se)(m)}function ie(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),z}function z(m){return m===null||$(m)?q(m):(e.enter("htmlFlowData"),N(m))}function U(m){return m===45?(e.consume(m),y):N(m)}function ue(m){return m===47?(e.consume(m),s="",fe):N(m)}function fe(m){if(m===62){const me=s.toLowerCase();return fs.includes(me)?(e.consume(m),ce):N(m)}return mt(m)&&s.length<8?(e.consume(m),s+=String.fromCharCode(m),fe):N(m)}function Ie(m){return m===93?(e.consume(m),y):N(m)}function y(m){return m===62?(e.consume(m),ce):m===45&&i===2?(e.consume(m),y):N(m)}function ce(m){return m===null||$(m)?(e.exit("htmlFlowData"),se(m)):(e.consume(m),ce)}function se(m){return e.exit("htmlFlow"),t(m)}}function xd(e,t,n){const r=this;return i;function i(s){return $(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):n(s)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Ad(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ur,t,n)}}const wd={name:"htmlText",tokenize:Sd};function Sd(e,t,n){const r=this;let i,o,s;return a;function a(y){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(y),l}function l(y){return y===33?(e.consume(y),u):y===47?(e.consume(y),B):y===63?(e.consume(y),w):mt(y)?(e.consume(y),E):n(y)}function u(y){return y===45?(e.consume(y),c):y===91?(e.consume(y),o=0,b):mt(y)?(e.consume(y),S):n(y)}function c(y){return y===45?(e.consume(y),p):n(y)}function d(y){return y===null?n(y):y===45?(e.consume(y),f):$(y)?(s=d,ue(y)):(e.consume(y),d)}function f(y){return y===45?(e.consume(y),p):d(y)}function p(y){return y===62?U(y):y===45?f(y):d(y)}function b(y){const ce="CDATA[";return y===ce.charCodeAt(o++)?(e.consume(y),o===ce.length?g:b):n(y)}function g(y){return y===null?n(y):y===93?(e.consume(y),I):$(y)?(s=g,ue(y)):(e.consume(y),g)}function I(y){return y===93?(e.consume(y),v):g(y)}function v(y){return y===62?U(y):y===93?(e.consume(y),v):g(y)}function S(y){return y===null||y===62?U(y):$(y)?(s=S,ue(y)):(e.consume(y),S)}function w(y){return y===null?n(y):y===63?(e.consume(y),k):$(y)?(s=w,ue(y)):(e.consume(y),w)}function k(y){return y===62?U(y):w(y)}function B(y){return mt(y)?(e.consume(y),A):n(y)}function A(y){return y===45||$e(y)?(e.consume(y),A):L(y)}function L(y){return $(y)?(s=L,ue(y)):ye(y)?(e.consume(y),L):U(y)}function E(y){return y===45||$e(y)?(e.consume(y),E):y===47||y===62||Je(y)?V(y):n(y)}function V(y){return y===47?(e.consume(y),U):y===58||y===95||mt(y)?(e.consume(y),D):$(y)?(s=V,ue(y)):ye(y)?(e.consume(y),V):U(y)}function D(y){return y===45||y===46||y===58||y===95||$e(y)?(e.consume(y),D):T(y)}function T(y){return y===61?(e.consume(y),N):$(y)?(s=T,ue(y)):ye(y)?(e.consume(y),T):V(y)}function N(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),i=y,q):$(y)?(s=N,ue(y)):ye(y)?(e.consume(y),N):(e.consume(y),ie)}function q(y){return y===i?(e.consume(y),i=void 0,z):y===null?n(y):$(y)?(s=q,ue(y)):(e.consume(y),q)}function ie(y){return y===null||y===34||y===39||y===60||y===61||y===96?n(y):y===47||y===62||Je(y)?V(y):(e.consume(y),ie)}function z(y){return y===47||y===62||Je(y)?V(y):n(y)}function U(y){return y===62?(e.consume(y),e.exit("htmlTextData"),e.exit("htmlText"),t):n(y)}function ue(y){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),fe}function fe(y){return ye(y)?xe(e,Ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):Ie(y)}function Ie(y){return e.enter("htmlTextData"),s(y)}}const gi={name:"labelEnd",resolveAll:Pd,resolveTo:Gd,tokenize:Bd},Ed={tokenize:Td},kd={tokenize:Od},Fd={tokenize:Dd};function Pd(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&gt(e,0,e.length,n),e}function Gd(e,t){let n=e.length,r=0,i,o,s,a;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const l={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[s][1].end}},c={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[s-2][1].start}};return a=[["enter",l,t],["enter",u,t]],a=rt(a,e.slice(o+1,o+r+3)),a=rt(a,[["enter",c,t]]),a=rt(a,pi(t.parser.constructs.insideSpan.null,e.slice(o+r+4,s-3),t)),a=rt(a,[["exit",c,t],e[s-2],e[s-1],["exit",u,t]]),a=rt(a,e.slice(s+1)),a=rt(a,[["exit",l,t]]),gt(e,o,e.length,a),e}function Bd(e,t,n){const r=this;let i=r.events.length,o,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(f){return o?o._inactive?d(f):(s=r.parser.defined.includes(gn(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):n(f)}function l(f){return f===40?e.attempt(Ed,c,s?c:d)(f):f===91?e.attempt(kd,c,s?u:d)(f):s?c(f):d(f)}function u(f){return e.attempt(Fd,c,d)(f)}function c(f){return t(f)}function d(f){return o._balanced=!0,n(f)}}function Td(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Je(d)?Xn(e,o)(d):o(d)}function o(d){return d===41?c(d):cs(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Je(d)?Xn(e,l)(d):c(d)}function a(d){return n(d)}function l(d){return d===34||d===39||d===40?ps(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function u(d){return Je(d)?Xn(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function Od(e,t,n){const r=this;return i;function i(a){return ds.call(r,e,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function Dd(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const Vd={name:"labelStartImage",resolveAll:gi.resolveAll,tokenize:Nd};function Nd(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),s):n(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Ld={name:"labelStartLink",resolveAll:gi.resolveAll,tokenize:Rd};function Rd(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const mi={name:"lineEnding",tokenize:Md};function Md(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),xe(e,t,"linePrefix")}}const cr={name:"thematicBreak",tokenize:Xd};function Xd(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),s(u)}function s(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),l(u)):r>=3&&(u===null||$(u))?(e.exit("thematicBreak"),t(u)):n(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),ye(u)?xe(e,a,"whitespace")(u):a(u))}}const Ye={continuation:{tokenize:Zd},exit:Jd,name:"list",tokenize:Wd},Hd={partial:!0,tokenize:Yd},zd={partial:!0,tokenize:jd};function Wd(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(p){const b=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:di(p)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(cr,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return di(p)&&++s<10?(e.consume(p),l):(!r.interrupt||s<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(ur,r.interrupt?n:c,e.attempt(Hd,f,d))}function c(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return ye(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Zd(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ur,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,xe(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!ye(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(zd,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,xe(e,e.attempt(Ye,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function jd(e,t,n){const r=this;return xe(e,i,"listItemIndent",r.containerState.size+1);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Jd(e){e.exit(this.containerState.type)}function Yd(e,t,n){const r=this;return xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const s=r.events[r.events.length-1];return!ye(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const hs={name:"setextUnderline",resolveTo:_d,tokenize:Ud};function _d(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const s={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",s,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function Ud(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),ye(u)?xe(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||$(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const qd={tokenize:Qd};function Qd(e){const t=this,n=e.attempt(ur,r,e.attempt(this.parser.constructs.flowInitial,i,xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(nd,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const $d={resolveAll:ms()},Kd=gs("string"),ep=gs("text");function gs(e){return{resolveAll:ms(e==="text"?tp:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,s,a);return s;function s(c){return u(c)?o(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),l)}function u(c){if(c===null)return!0;const d=i[c];let f=-1;if(d)for(;++f<d.length;){const p=d[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function ms(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function tp(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,s=-1,a=0,l;for(;o--;){const u=i[o];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(u===-2)l=!0,a++;else if(u!==-1){o++;break}}if(a){const u={type:n===e.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:r.start._bufferIndex+s,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const np=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:ad},disable:{null:[]},document:{42:Ye,43:Ye,45:Ye,48:Ye,49:Ye,50:Ye,51:Ye,52:Ye,53:Ye,54:Ye,55:Ye,56:Ye,57:Ye,62:is},flow:{35:fd,42:cr,45:[hs,cr],60:bd,61:hs,95:cr,96:ls,126:ls},flowInitial:{[-2]:hi,[-1]:hi,32:hi},insideSpan:{null:[fi,$d]},string:{38:ss,92:os},text:{[-5]:mi,[-4]:mi,[-3]:mi,33:Vd,38:ss,42:fi,60:[Lc,wd],91:Ld,92:[dd,os],93:gi,95:fi,96:qc}},Symbol.toStringTag,{value:"Module"}));function rp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let s=[],a=[];const l={attempt:L(B),check:L(A),consume:S,enter:w,exit:k,interrupt:L(A,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:b,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d};let c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(T){return s=rt(s,T),I(),s[s.length-1]!==null?[]:(E(t,0),u.events=pi(o,u.events,u),u.events)}function f(T,N){return op(p(T),N)}function p(T){return ip(s,T)}function b(){const{_bufferIndex:T,_index:N,line:q,column:ie,offset:z}=r;return{_bufferIndex:T,_index:N,line:q,column:ie,offset:z}}function g(T){i[T.line]=T.column,D()}function I(){let T;for(;r._index<s.length;){const N=s[r._index];if(typeof N=="string")for(T=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===T&&r._bufferIndex<N.length;)v(N.charCodeAt(r._bufferIndex));else v(N)}}function v(T){c=c(T)}function S(T){$(T)?(r.line++,r.column=1,r.offset+=T===-3?2:1,D()):T!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=T}function w(T,N){const q=N||{};return q.type=T,q.start=b(),u.events.push(["enter",q,u]),a.push(q),q}function k(T){const N=a.pop();return N.end=b(),u.events.push(["exit",N,u]),N}function B(T,N){E(T,N.from)}function A(T,N){N.restore()}function L(T,N){return q;function q(ie,z,U){let ue,fe,Ie,y;return Array.isArray(ie)?se(ie):"tokenize"in ie?se([ie]):ce(ie);function ce(he){return De;function De(ge){const Xe=ge!==null&&he[ge],Ue=ge!==null&&he.null,st=[...Array.isArray(Xe)?Xe:Xe?[Xe]:[],...Array.isArray(Ue)?Ue:Ue?[Ue]:[]];return se(st)(ge)}}function se(he){return ue=he,fe=0,he.length===0?U:m(he[fe])}function m(he){return De;function De(ge){return y=V(),Ie=he,he.partial||(u.currentConstruct=he),he.name&&u.parser.constructs.disable.null.includes(he.name)?te():he.tokenize.call(N?Object.assign(Object.create(u),N):u,l,me,te)(ge)}}function me(he){return T(Ie,y),z}function te(he){return y.restore(),++fe<ue.length?m(ue[fe]):U}}}function E(T,N){T.resolveAll&&!o.includes(T)&&o.push(T),T.resolve&&gt(u.events,N,u.events.length-N,T.resolve(u.events.slice(N),u)),T.resolveTo&&(u.events=T.resolveTo(u.events,u))}function V(){const T=b(),N=u.previous,q=u.currentConstruct,ie=u.events.length,z=Array.from(a);return{from:ie,restore:U};function U(){r=T,u.previous=N,u.currentConstruct=q,u.events.length=ie,a=z,D()}}function D(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ip(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function op(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
1
+ (function(H,P){typeof exports=="object"&&typeof module<"u"?P(exports,require("react/jsx-runtime"),require("react"),require("@emotion/react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","@emotion/react","react-dom"],P):(H=typeof globalThis<"u"?globalThis:H||self,P(H["connect-react"]={},H["react/jsx-runtime"],H.React,H["@emotion/react"],H.ReactDOM))})(this,function(H,P,G,J,$r){"use strict";var yu=H=>{throw TypeError(H)};var mo=(H,P,G)=>P.has(H)||yu("Cannot "+G);var x=(H,P,G)=>(mo(H,P,"read from private field"),G?G.call(H):P.get(H)),ee=(H,P,G)=>P.has(H)?yu("Cannot add the same private member more than once"):P instanceof WeakSet?P.add(H):P.set(H,G),j=(H,P,G,J)=>(mo(H,P,"write to private field"),J?J.call(H,G):P.set(H,G),G),pe=(H,P,G)=>(mo(H,P,"access private method"),G);var Qr=(H,P,G,J)=>({set _($r){j(H,P,$r,G)},get _(){return x(H,P,J)}});var Kt,Vt,Cn,Ql,xn,Nt,An,$l,en,Kl,wn,Sn,ot,Me,$n,tn,dt,Tt,eu,vt,tu,It,je,nn,Ct,Yt,nu,et,Kn,ru,Ge,Lt,Rt,En,kn,Mt,Fn,Pn,iu,Ue,de,er,Je,rn,Gn,Xt,xt,tr,Bn,Tn,on,sn,Ht,On,ve,ar,bo,yo,vo,Io,Co,xo,Ao,vu,ou;function Iu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ne=Iu(G);function Ny(){}function Ly(){}function Cu(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xu=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Au=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wu={};function wo(e,t){return(wu.jsx?Au:xu).test(e)}const Su=/[ \t\n\f\r]/g;function Eu(e){return typeof e=="object"?e.type==="text"?So(e.value):!1:So(e)}function So(e){return e.replace(Su,"")===""}class Nn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Nn.prototype.property={},Nn.prototype.normal={},Nn.prototype.space=null;function Eo(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new Nn(n,r,t)}function Kr(e){return e.toLowerCase()}class nt{constructor(t,n){this.property=t,this.attribute=n}}nt.prototype.space=null,nt.prototype.boolean=!1,nt.prototype.booleanish=!1,nt.prototype.overloadedBoolean=!1,nt.prototype.number=!1,nt.prototype.commaSeparated=!1,nt.prototype.spaceSeparated=!1,nt.prototype.commaOrSpaceSeparated=!1,nt.prototype.mustUseProperty=!1,nt.prototype.defined=!1;let ku=0;const re=_t(),Te=_t(),ko=_t(),R=_t(),Ce=_t(),pn=_t(),$e=_t();function _t(){return 2**++ku}const ei=Object.freeze(Object.defineProperty({__proto__:null,boolean:re,booleanish:Te,commaOrSpaceSeparated:$e,commaSeparated:pn,number:R,overloadedBoolean:ko,spaceSeparated:Ce},Symbol.toStringTag,{value:"Module"})),ti=Object.keys(ei);class ni extends nt{constructor(t,n,r,i){let o=-1;if(super(t,n),Fo(this,"space",i),typeof r=="number")for(;++o<ti.length;){const s=ti[o];Fo(this,ti[o],(r&ei[s])===ei[s])}}}ni.prototype.defined=!0;function Fo(e,t,n){n&&(e[t]=n)}const Fu={}.hasOwnProperty;function fn(e){const t={},n={};let r;for(r in e.properties)if(Fu.call(e.properties,r)){const i=e.properties[r],o=new ni(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Kr(r)]=r,n[Kr(o.attribute)]=r}return new Nn(t,n,e.space)}const Po=fn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),Go=fn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bo(e,t){return t in e?e[t]:t}function To(e,t){return Bo(e,t.toLowerCase())}const Oo=fn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:To,properties:{xmlns:null,xmlnsXLink:null}}),Do=fn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Te,ariaAutoComplete:null,ariaBusy:Te,ariaChecked:Te,ariaColCount:R,ariaColIndex:R,ariaColSpan:R,ariaControls:Ce,ariaCurrent:null,ariaDescribedBy:Ce,ariaDetails:null,ariaDisabled:Te,ariaDropEffect:Ce,ariaErrorMessage:null,ariaExpanded:Te,ariaFlowTo:Ce,ariaGrabbed:Te,ariaHasPopup:null,ariaHidden:Te,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ce,ariaLevel:R,ariaLive:null,ariaModal:Te,ariaMultiLine:Te,ariaMultiSelectable:Te,ariaOrientation:null,ariaOwns:Ce,ariaPlaceholder:null,ariaPosInSet:R,ariaPressed:Te,ariaReadOnly:Te,ariaRelevant:null,ariaRequired:Te,ariaRoleDescription:Ce,ariaRowCount:R,ariaRowIndex:R,ariaRowSpan:R,ariaSelected:Te,ariaSetSize:R,ariaSort:null,ariaValueMax:R,ariaValueMin:R,ariaValueNow:R,ariaValueText:null,role:null}}),Pu=fn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:To,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pn,acceptCharset:Ce,accessKey:Ce,action:null,allow:null,allowFullScreen:re,allowPaymentRequest:re,allowUserMedia:re,alt:null,as:null,async:re,autoCapitalize:null,autoComplete:Ce,autoFocus:re,autoPlay:re,blocking:Ce,capture:null,charSet:null,checked:re,cite:null,className:Ce,cols:R,colSpan:null,content:null,contentEditable:Te,controls:re,controlsList:Ce,coords:R|pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:re,defer:re,dir:null,dirName:null,disabled:re,download:ko,draggable:Te,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:re,formTarget:null,headers:Ce,height:R,hidden:re,high:R,href:null,hrefLang:null,htmlFor:Ce,httpEquiv:Ce,id:null,imageSizes:null,imageSrcSet:null,inert:re,inputMode:null,integrity:null,is:null,isMap:re,itemId:null,itemProp:Ce,itemRef:Ce,itemScope:re,itemType:Ce,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:re,low:R,manifest:null,max:null,maxLength:R,media:null,method:null,min:null,minLength:R,multiple:re,muted:re,name:null,nonce:null,noModule:re,noValidate:re,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:re,optimum:R,pattern:null,ping:Ce,placeholder:null,playsInline:re,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:re,referrerPolicy:null,rel:Ce,required:re,reversed:re,rows:R,rowSpan:R,sandbox:Ce,scope:null,scoped:re,seamless:re,selected:re,shadowRootClonable:re,shadowRootDelegatesFocus:re,shadowRootMode:null,shape:null,size:R,sizes:null,slot:null,span:R,spellCheck:Te,src:null,srcDoc:null,srcLang:null,srcSet:null,start:R,step:null,style:null,tabIndex:R,target:null,title:null,translate:null,type:null,typeMustMatch:re,useMap:null,value:Te,width:R,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ce,axis:null,background:null,bgColor:null,border:R,borderColor:null,bottomMargin:R,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:re,declare:re,event:null,face:null,frame:null,frameBorder:null,hSpace:R,leftMargin:R,link:null,longDesc:null,lowSrc:null,marginHeight:R,marginWidth:R,noResize:re,noHref:re,noShade:re,noWrap:re,object:null,profile:null,prompt:null,rev:null,rightMargin:R,rules:null,scheme:null,scrolling:Te,standby:null,summary:null,text:null,topMargin:R,valueType:null,version:null,vAlign:null,vLink:null,vSpace:R,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:re,disableRemotePlayback:re,prefix:null,property:null,results:R,security:null,unselectable:null}}),Gu=fn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",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",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",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",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",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",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Bo,properties:{about:$e,accentHeight:R,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:R,amplitude:R,arabicForm:null,ascent:R,attributeName:null,attributeType:null,azimuth:R,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:R,by:null,calcMode:null,capHeight:R,className:Ce,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:R,diffuseConstant:R,direction:null,display:null,dur:null,divisor:R,dominantBaseline:null,download:re,dx:null,dy:null,edgeMode:null,editable:null,elevation:R,enableBackground:null,end:null,event:null,exponent:R,externalResourcesRequired:null,fill:null,fillOpacity:R,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pn,g2:pn,glyphName:pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:R,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:R,horizOriginX:R,horizOriginY:R,id:null,ideographic:R,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:R,k:R,k1:R,k2:R,k3:R,k4:R,kernelMatrix:$e,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:R,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:R,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:R,overlineThickness:R,paintOrder:null,panose1:null,path:null,pathLength:R,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ce,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:R,pointsAtY:R,pointsAtZ:R,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$e,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$e,rev:$e,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$e,requiredFeatures:$e,requiredFonts:$e,requiredFormats:$e,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:R,specularExponent:R,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:R,strikethroughThickness:R,string:null,stroke:null,strokeDashArray:$e,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:R,strokeOpacity:R,strokeWidth:null,style:null,surfaceScale:R,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$e,tabIndex:R,tableValues:null,target:null,targetX:R,targetY:R,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$e,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:R,underlineThickness:R,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:R,values:null,vAlphabetic:R,vMathematical:R,vectorEffect:null,vHanging:R,vIdeographic:R,version:null,vertAdvY:R,vertOriginX:R,vertOriginY:R,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:R,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Bu=/^data[-\w.:]+$/i,Vo=/-[a-z]/g,Tu=/[A-Z]/g;function Ou(e,t){const n=Kr(t);let r=t,i=nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Bu.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(Vo,Vu);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Vo.test(o)){let s=o.replace(Tu,Du);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}i=ni}return new i(r,t)}function Du(e){return"-"+e.toLowerCase()}function Vu(e){return e.charAt(1).toUpperCase()}const Nu={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},Lu=Eo([Go,Po,Oo,Do,Pu],"html"),ri=Eo([Go,Po,Oo,Do,Gu],"svg");function Ru(e){return e.join(" ").trim()}var hn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Lo={},Ro=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Mu=/\n/g,Xu=/^\s*/,Hu=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,zu=/^:\s*/,Wu=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Zu=/^[;\s]*/,ju=/^\s+|\s+$/g,Ju=`
2
+ `,Mo="/",Xo="*",Ut="",Yu="comment",_u="declaration",Uu=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(b){var g=b.match(Mu);g&&(n+=g.length);var I=b.lastIndexOf(Ju);r=~I?b.length-I:r+b.length}function o(){var b={line:n,column:r};return function(g){return g.position=new s(b),u(),g}}function s(b){this.start=b,this.end={line:n,column:r},this.source=t.source}s.prototype.content=e;function a(b){var g=new Error(t.source+":"+n+":"+r+": "+b);if(g.reason=b,g.filename=t.source,g.line=n,g.column=r,g.source=e,!t.silent)throw g}function l(b){var g=b.exec(e);if(g){var I=g[0];return i(I),e=e.slice(I.length),g}}function u(){l(Xu)}function c(b){var g;for(b=b||[];g=d();)g!==!1&&b.push(g);return b}function d(){var b=o();if(!(Mo!=e.charAt(0)||Xo!=e.charAt(1))){for(var g=2;Ut!=e.charAt(g)&&(Xo!=e.charAt(g)||Mo!=e.charAt(g+1));)++g;if(g+=2,Ut===e.charAt(g-1))return a("End of comment missing");var I=e.slice(2,g-2);return r+=2,i(I),e=e.slice(g),r+=2,b({type:Yu,comment:I})}}function f(){var b=o(),g=l(Hu);if(g){if(d(),!l(zu))return a("property missing ':'");var I=l(Wu),v=b({type:_u,property:Ho(g[0].replace(Ro,Ut)),value:I?Ho(I[0].replace(Ro,Ut)):Ut});return l(Zu),v}}function p(){var b=[];c(b);for(var g;g=f();)g!==!1&&(b.push(g),c(b));return b}return u(),p()};function Ho(e){return e?e.replace(ju,Ut):Ut}var qu=hn&&hn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Lo,"__esModule",{value:!0});var zo=Lo.default=$u,Qu=qu(Uu);function $u(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Qu.default)(e),i=typeof t=="function";return r.forEach(function(o){if(o.type==="declaration"){var s=o.property,a=o.value;i?t(s,a,o):a&&(n=n||{},n[s]=a)}}),n}const Ku=zo.default||zo,Wo=Zo("end"),ii=Zo("start");function Zo(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function ec(e){const t=ii(e),n=Wo(e);if(t&&n)return{start:t,end:n}}function Ln(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?jo(e.position):"start"in e||"end"in e?jo(e):"line"in e||"column"in e?oi(e):""}function oi(e){return Jo(e&&e.line)+":"+Jo(e&&e.column)}function jo(e){return oi(e&&e.start)+"-"+oi(e&&e.end)}function Jo(e){return e&&typeof e=="number"?e:1}class Re extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},s=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(s=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?o.ruleId=r:(o.source=r.slice(0,l),o.ruleId=r.slice(l+1))}if(!o.place&&o.ancestors&&o.ancestors){const l=o.ancestors[o.ancestors.length-1];l&&(o.place=l.position)}const a=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=a?a.line:void 0,this.name=Ln(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=s&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}Re.prototype.file="",Re.prototype.name="",Re.prototype.reason="",Re.prototype.message="",Re.prototype.stack="",Re.prototype.column=void 0,Re.prototype.line=void 0,Re.prototype.ancestors=void 0,Re.prototype.cause=void 0,Re.prototype.fatal=void 0,Re.prototype.place=void 0,Re.prototype.ruleId=void 0,Re.prototype.source=void 0;const si={}.hasOwnProperty,tc=new Map,nc=/[A-Z]/g,rc=/-([a-z])/g,ic=new Set(["table","tbody","thead","tfoot","tr"]),oc=new Set(["td","th"]),Yo="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function sc(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=hc(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=fc(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?ri:Lu,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=_o(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function _o(e,t,n){if(t.type==="element")return ac(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return lc(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return cc(e,t,n);if(t.type==="mdxjsEsm")return uc(e,t);if(t.type==="root")return dc(e,t,n);if(t.type==="text")return pc(e,t)}function ac(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=ri,e.schema=i),e.ancestors.push(t);const o=qo(e,t.tagName,!1),s=gc(e,t);let a=li(e,t);return ic.has(t.tagName)&&(a=a.filter(function(l){return typeof l=="string"?!Eu(l):!0})),Uo(e,s,o,t),ai(s,a),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function lc(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Rn(e,t.position)}function uc(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Rn(e,t.position)}function cc(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=ri,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:qo(e,t.name,!0),s=mc(e,t),a=li(e,t);return Uo(e,s,o,t),ai(s,a),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}function dc(e,t,n){const r={};return ai(r,li(e,t)),e.create(t,e.Fragment,r,n)}function pc(e,t){return t.value}function Uo(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ai(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function fc(e,t,n){return r;function r(i,o,s,a){const u=Array.isArray(s.children)?n:t;return a?u(o,s,a):u(o,s)}}function hc(e,t){return n;function n(r,i,o,s){const a=Array.isArray(o.children),l=ii(r);return t(i,o,s,a,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function gc(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&si.call(t.properties,i)){const o=bc(e,i,t.properties[i]);if(o){const[s,a]=o;e.tableCellAlignToStyle&&s==="align"&&typeof a=="string"&&oc.has(t.tagName)?r=a:n[s]=a}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function mc(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const s=o.expression;s.type;const a=s.properties[0];a.type,Object.assign(n,e.evaluater.evaluateExpression(a.argument))}else Rn(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const a=r.value.data.estree.body[0];a.type,o=e.evaluater.evaluateExpression(a.expression)}else Rn(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function li(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:tc;for(;++r<t.children.length;){const o=t.children[r];let s;if(e.passKeys){const l=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(l){const u=i.get(l)||0;s=l+"-"+u,i.set(l,u+1)}}const a=_o(e,o,s);a!==void 0&&n.push(a)}return n}function bc(e,t,n){const r=Ou(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Cu(n):Ru(n)),r.property==="style"){let i=typeof n=="object"?n:yc(e,String(n));return e.stylePropertyNameCase==="css"&&(i=vc(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?Nu[r.property]||r.property:r.attribute,n]}}function yc(e,t){const n={};try{Ku(t,r)}catch(i){if(!e.ignoreInvalidStyle){const o=i,s=new Re("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:o,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=Yo+"#cannot-parse-style-attribute",s}}return n;function r(i,o){let s=i;s.slice(0,2)!=="--"&&(s.slice(0,4)==="-ms-"&&(s="ms-"+s.slice(4)),s=s.replace(rc,Cc)),n[s]=o}}function qo(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,s;for(;++o<i.length;){const a=wo(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};s=s?{type:"MemberExpression",object:s,property:a,computed:!!(o&&a.type==="Literal"),optional:!1}:a}r=s}else r=wo(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return si.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Rn(e)}function Rn(e,t){const n=new Re("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=Yo+"#cannot-handle-mdx-estrees-without-createevaluater",n}function vc(e){const t={};let n;for(n in e)si.call(e,n)&&(t[Ic(n)]=e[n]);return t}function Ic(e){let t=e.replace(nc,xc);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Cc(e,t){return t.toUpperCase()}function xc(e){return"-"+e.toLowerCase()}const ui={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Ac={};function wc(e,t){const n=Ac,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Qo(e,r,i)}function Qo(e,t,n){if(Sc(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return $o(e.children,t,n)}return Array.isArray(e)?$o(e,t,n):""}function $o(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=Qo(e[i],t,n);return r.join("")}function Sc(e){return!!(e&&typeof e=="object")}const lr={AElig:"Æ",AMP:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
3
+ `,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acirc:"â",acute:"´",acy:"а",aelig:"æ",af:"⁡",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedil:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacute:"í",ic:"⁣",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacute:"ó",oast:"⊛",ocir:"⊚",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslash:"ø",osol:"⊘",otilde:"õ",otimes:"⊗",otimesas:"⨶",ouml:"ö",ovbar:"⌽",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thorn:"þ",tilde:"˜",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},Ec={}.hasOwnProperty;function Ko(e){return Ec.call(lr,e)?lr[e]:!1}function gt(e,t,n,r){const i=e.length;let o=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)s=Array.from(r),s.unshift(t,n),e.splice(...s);else for(n&&e.splice(t,n);o<r.length;)s=r.slice(o,o+1e4),s.unshift(t,0),e.splice(...s),o+=1e4,t+=1e4}function rt(e,t){return e.length>0?(gt(e,e.length,0,t),e):t}const es={}.hasOwnProperty;function kc(e){const t={};let n=-1;for(;++n<e.length;)Fc(t,e[n]);return t}function Fc(e,t){let n;for(n in t){const i=(es.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let s;if(o)for(s in o){es.call(i,s)||(i[s]=[]);const a=o[s];Pc(i[s],Array.isArray(a)?a:a?[a]:[])}}}function Pc(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);gt(e,0,0,r)}function ts(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function gn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const mt=Ot(/[A-Za-z]/),Ke=Ot(/[\dA-Za-z]/),Gc=Ot(/[#-'*+\--9=?A-Z^-~]/);function ci(e){return e!==null&&(e<32||e===127)}const di=Ot(/\d/),Bc=Ot(/[\dA-Fa-f]/),Tc=Ot(/[!-/:-@[-`{-~]/);function $(e){return e!==null&&e<-2}function Ye(e){return e!==null&&(e<0||e===32)}function ye(e){return e===-2||e===-1||e===32}const Oc=Ot(new RegExp("\\p{P}|\\p{S}","u")),Dc=Ot(/\s/);function Ot(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function mn(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let s="";if(o===37&&Ke(e.charCodeAt(n+1))&&Ke(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(s=String.fromCharCode(o));else if(o>55295&&o<57344){const a=e.charCodeAt(n+1);o<56320&&a>56319&&a<57344?(s=String.fromCharCode(o,a),i=1):s="�"}else s=String.fromCharCode(o);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+i+1,s=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function xe(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return s;function s(l){return ye(l)?(e.enter(n),a(l)):t(l)}function a(l){return ye(l)&&o++<i?(e.consume(l),a):(e.exit(n),t(l))}}const Vc={tokenize:Nc};function Nc(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),xe(e,t,"linePrefix")}function i(a){return e.enter("paragraph"),o(a)}function o(a){const l=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=l),n=l,s(a)}function s(a){if(a===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(a);return}return $(a)?(e.consume(a),e.exit("chunkText"),o):(e.consume(a),s)}}const Lc={tokenize:Rc},ns={tokenize:Mc};function Rc(e){const t=this,n=[];let r=0,i,o,s;return a;function a(A){if(r<n.length){const S=n[r];return t.containerState=S[1],e.attempt(S[0].continuation,l,u)(A)}return u(A)}function l(A){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&E();const S=t.events.length;let k=S,C;for(;k--;)if(t.events[k][0]==="exit"&&t.events[k][1].type==="chunkFlow"){C=t.events[k][1].end;break}v(r);let L=S;for(;L<t.events.length;)t.events[L][1].end={...C},L++;return gt(t.events,k+1,0,t.events.slice(S)),t.events.length=L,u(A)}return a(A)}function u(A){if(r===n.length){if(!i)return f(A);if(i.currentConstruct&&i.currentConstruct.concrete)return b(A);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(ns,c,d)(A)}function c(A){return i&&E(),v(r),f(A)}function d(A){return t.parser.lazy[t.now().line]=r!==n.length,s=t.now().offset,b(A)}function f(A){return t.containerState={},e.attempt(ns,p,b)(A)}function p(A){return r++,n.push([t.currentConstruct,t.containerState]),f(A)}function b(A){if(A===null){i&&E(),v(0),e.consume(A);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),g(A)}function g(A){if(A===null){I(e.exit("chunkFlow"),!0),v(0),e.consume(A);return}return $(A)?(e.consume(A),I(e.exit("chunkFlow")),r=0,t.interrupt=void 0,a):(e.consume(A),g)}function I(A,S){const k=t.sliceStream(A);if(S&&k.push(null),A.previous=o,o&&(o.next=A),o=A,i.defineSkip(A.start),i.write(k),t.parser.lazy[A.start.line]){let C=i.events.length;for(;C--;)if(i.events[C][1].start.offset<s&&(!i.events[C][1].end||i.events[C][1].end.offset>s))return;const L=t.events.length;let F=L,V,D;for(;F--;)if(t.events[F][0]==="exit"&&t.events[F][1].type==="chunkFlow"){if(V){D=t.events[F][1].end;break}V=!0}for(v(r),C=L;C<t.events.length;)t.events[C][1].end={...D},C++;gt(t.events,F+1,0,t.events.slice(L)),t.events.length=C}}function v(A){let S=n.length;for(;S-- >A;){const k=n[S];t.containerState=k[1],k[0].exit.call(t,e)}n.length=A}function E(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Mc(e,t,n){return xe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function rs(e){if(e===null||Ye(e)||Dc(e))return 1;if(Oc(e))return 2}function pi(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const fi={name:"attention",resolveAll:Xc,tokenize:Hc};function Xc(e,t){let n=-1,r,i,o,s,a,l,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const d={...e[r][1].end},f={...e[n][1].start};is(d,-l),is(f,l),s={type:l>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},a={type:l>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:f},o={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:l>1?"strong":"emphasis",start:{...s.start},end:{...a.end}},e[r][1].end={...s.start},e[n][1].start={...a.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=rt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=rt(u,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",o,t]]),u=rt(u,pi(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=rt(u,[["exit",o,t],["enter",a,t],["exit",a,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=rt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,gt(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Hc(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=rs(r);let o;return s;function s(l){return o=l,e.enter("attentionSequence"),a(l)}function a(l){if(l===o)return e.consume(l),a;const u=e.exit("attentionSequence"),c=rs(l),d=!c||c===2&&i||n.includes(l),f=!i||i===2&&c||n.includes(r);return u._open=!!(o===42?d:d&&(i||!f)),u._close=!!(o===42?f:f&&(c||!d)),t(l)}}function is(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const zc={name:"autolink",tokenize:Wc};function Wc(e,t,n){let r=0;return i;function i(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(p){return mt(p)?(e.consume(p),s):p===64?n(p):u(p)}function s(p){return p===43||p===45||p===46||Ke(p)?(r=1,a(p)):u(p)}function a(p){return p===58?(e.consume(p),r=0,l):(p===43||p===45||p===46||Ke(p))&&r++<32?(e.consume(p),a):(r=0,u(p))}function l(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||ci(p)?n(p):(e.consume(p),l)}function u(p){return p===64?(e.consume(p),c):Gc(p)?(e.consume(p),u):n(p)}function c(p){return Ke(p)?d(p):n(p)}function d(p){return p===46?(e.consume(p),r=0,c):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):f(p)}function f(p){if((p===45||Ke(p))&&r++<63){const b=p===45?f:d;return e.consume(p),b}return n(p)}}const ur={partial:!0,tokenize:Zc};function Zc(e,t,n){return r;function r(o){return ye(o)?xe(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||$(o)?t(o):n(o)}}const os={continuation:{tokenize:Jc},exit:Yc,name:"blockQuote",tokenize:jc};function jc(e,t,n){const r=this;return i;function i(s){if(s===62){const a=r.containerState;return a.open||(e.enter("blockQuote",{_container:!0}),a.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),o}return n(s)}function o(s){return ye(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Jc(e,t,n){const r=this;return i;function i(s){return ye(s)?xe(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):o(s)}function o(s){return e.attempt(os,t,n)(s)}}function Yc(e){e.exit("blockQuote")}const ss={name:"characterEscape",tokenize:_c};function _c(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return Tc(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const as={name:"characterReference",tokenize:Uc};function Uc(e,t,n){const r=this;let i=0,o,s;return a;function a(d){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),l}function l(d){return d===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(d),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,s=Ke,c(d))}function u(d){return d===88||d===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(d),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,s=Bc,c):(e.enter("characterReferenceValue"),o=7,s=di,c(d))}function c(d){if(d===59&&i){const f=e.exit("characterReferenceValue");return s===Ke&&!Ko(r.sliceSerialize(f))?n(d):(e.enter("characterReferenceMarker"),e.consume(d),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(d)&&i++<o?(e.consume(d),c):n(d)}}const ls={partial:!0,tokenize:Qc},us={concrete:!0,name:"codeFenced",tokenize:qc};function qc(e,t,n){const r=this,i={partial:!0,tokenize:k};let o=0,s=0,a;return l;function l(C){return u(C)}function u(C){const L=r.events[r.events.length-1];return o=L&&L[1].type==="linePrefix"?L[2].sliceSerialize(L[1],!0).length:0,a=C,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(C)}function c(C){return C===a?(s++,e.consume(C),c):s<3?n(C):(e.exit("codeFencedFenceSequence"),ye(C)?xe(e,d,"whitespace")(C):d(C))}function d(C){return C===null||$(C)?(e.exit("codeFencedFence"),r.interrupt?t(C):e.check(ls,g,S)(C)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),f(C))}function f(C){return C===null||$(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(C)):ye(C)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),xe(e,p,"whitespace")(C)):C===96&&C===a?n(C):(e.consume(C),f)}function p(C){return C===null||$(C)?d(C):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(C))}function b(C){return C===null||$(C)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(C)):C===96&&C===a?n(C):(e.consume(C),b)}function g(C){return e.attempt(i,S,I)(C)}function I(C){return e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),v}function v(C){return o>0&&ye(C)?xe(e,E,"linePrefix",o+1)(C):E(C)}function E(C){return C===null||$(C)?e.check(ls,g,S)(C):(e.enter("codeFlowValue"),A(C))}function A(C){return C===null||$(C)?(e.exit("codeFlowValue"),E(C)):(e.consume(C),A)}function S(C){return e.exit("codeFenced"),t(C)}function k(C,L,F){let V=0;return D;function D(z){return C.enter("lineEnding"),C.consume(z),C.exit("lineEnding"),O}function O(z){return C.enter("codeFencedFence"),ye(z)?xe(C,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(z):N(z)}function N(z){return z===a?(C.enter("codeFencedFenceSequence"),q(z)):F(z)}function q(z){return z===a?(V++,C.consume(z),q):V>=s?(C.exit("codeFencedFenceSequence"),ye(z)?xe(C,ie,"whitespace")(z):ie(z)):F(z)}function ie(z){return z===null||$(z)?(C.exit("codeFencedFence"),L(z)):F(z)}}}function Qc(e,t,n){const r=this;return i;function i(s){return s===null?n(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}const hi={name:"codeIndented",tokenize:Kc},$c={partial:!0,tokenize:ed};function Kc(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),xe(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(u):n(u)}function s(u){return u===null?l(u):$(u)?e.attempt($c,s,l)(u):(e.enter("codeFlowValue"),a(u))}function a(u){return u===null||$(u)?(e.exit("codeFlowValue"),s(u)):(e.consume(u),a)}function l(u){return e.exit("codeIndented"),t(u)}}function ed(e,t,n){const r=this;return i;function i(s){return r.parser.lazy[r.now().line]?n(s):$(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):xe(e,o,"linePrefix",5)(s)}function o(s){const a=r.events[r.events.length-1];return a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):$(s)?i(s):n(s)}}const td={name:"codeText",previous:rd,resolve:nd,tokenize:id};function nd(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function rd(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function id(e,t,n){let r=0,i,o;return s;function s(d){return e.enter("codeText"),e.enter("codeTextSequence"),a(d)}function a(d){return d===96?(e.consume(d),r++,a):(e.exit("codeTextSequence"),l(d))}function l(d){return d===null?n(d):d===32?(e.enter("space"),e.consume(d),e.exit("space"),l):d===96?(o=e.enter("codeTextSequence"),i=0,c(d)):$(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(d))}function u(d){return d===null||d===32||d===96||$(d)?(e.exit("codeTextData"),l(d)):(e.consume(d),u)}function c(d){return d===96?(e.consume(d),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(d)):(o.type="codeTextData",u(d))}}class od{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&Mn(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),Mn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Mn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);Mn(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Mn(this.left,n.reverse())}}}function Mn(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function cs(e){const t={};let n=-1,r,i,o,s,a,l,u;const c=new od(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(l=r[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,sd(c,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--&&(s=c.get(o),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),s[1].type="lineEnding",i=o);i&&(r[1].end={...c.get(i)[1].start},a=c.slice(i,n),a.unshift(r),c.splice(i,n-i+1,a))}}return gt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function sd(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[],s=n._tokenizer||r.parser[n.contentType](n.start),a=s.events,l=[],u={};let c,d,f=-1,p=n,b=0,g=0;const I=[g];for(;p;){for(;e.get(++i)[1]!==p;);o.push(i),p._tokenizer||(c=r.sliceStream(p),p.next||c.push(null),d&&s.defineSkip(p.start),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),p._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=p,p=p.next}for(p=n;++f<a.length;)a[f][0]==="exit"&&a[f-1][0]==="enter"&&a[f][1].type===a[f-1][1].type&&a[f][1].start.line!==a[f][1].end.line&&(g=f+1,I.push(g),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(s.events=[],p?(p._tokenizer=void 0,p.previous=void 0):I.pop(),f=I.length;f--;){const v=a.slice(I[f],I[f+1]),E=o.pop();l.push([E,E+v.length-1]),e.splice(E,2,v)}for(l.reverse(),f=-1;++f<l.length;)u[b+l[f][0]]=b+l[f][1],b+=l[f][1]-l[f][0]-1;return u}const ad={resolve:ud,tokenize:cd},ld={partial:!0,tokenize:dd};function ud(e){return cs(e),e}function cd(e,t){let n;return r;function r(a){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(a)}function i(a){return a===null?o(a):$(a)?e.check(ld,s,o)(a):(e.consume(a),i)}function o(a){return e.exit("chunkContent"),e.exit("content"),t(a)}function s(a){return e.consume(a),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function dd(e,t,n){const r=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),xe(e,o,"linePrefix")}function o(s){if(s===null||$(s))return n(s);const a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&a[1].type==="linePrefix"&&a[2].sliceSerialize(a[1],!0).length>=4?t(s):e.interrupt(r.parser.constructs.flow,n,t)(s)}}function ds(e,t,n,r,i,o,s,a,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return d;function d(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),f):v===null||v===32||v===41||ci(v)?n(v):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),g(v))}function f(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(v))}function p(v){return v===62?(e.exit("chunkString"),e.exit(a),f(v)):v===null||v===60||$(v)?n(v):(e.consume(v),v===92?b:p)}function b(v){return v===60||v===62||v===92?(e.consume(v),p):p(v)}function g(v){return!c&&(v===null||v===41||Ye(v))?(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(v)):c<u&&v===40?(e.consume(v),c++,g):v===41?(e.consume(v),c--,g):v===null||v===32||v===40||ci(v)?n(v):(e.consume(v),v===92?I:g)}function I(v){return v===40||v===41||v===92?(e.consume(v),g):g(v)}}function ps(e,t,n,r,i,o){const s=this;let a=0,l;return u;function u(p){return e.enter(r),e.enter(i),e.consume(p),e.exit(i),e.enter(o),c}function c(p){return a>999||p===null||p===91||p===93&&!l||p===94&&!a&&"_hiddenFootnoteSupport"in s.parser.constructs?n(p):p===93?(e.exit(o),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):$(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(p))}function d(p){return p===null||p===91||p===93||$(p)||a++>999?(e.exit("chunkString"),c(p)):(e.consume(p),l||(l=!ye(p)),p===92?f:d)}function f(p){return p===91||p===92||p===93?(e.consume(p),a++,d):d(p)}}function fs(e,t,n,r,i,o){let s;return a;function a(f){return f===34||f===39||f===40?(e.enter(r),e.enter(i),e.consume(f),e.exit(i),s=f===40?41:f,l):n(f)}function l(f){return f===s?(e.enter(i),e.consume(f),e.exit(i),e.exit(r),t):(e.enter(o),u(f))}function u(f){return f===s?(e.exit(o),l(s)):f===null?n(f):$(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),xe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(f){return f===s||f===null||$(f)?(e.exit("chunkString"),u(f)):(e.consume(f),f===92?d:c)}function d(f){return f===s||f===92?(e.consume(f),c):c(f)}}function Xn(e,t){let n;return r;function r(i){return $(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ye(i)?xe(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const pd={name:"definition",tokenize:hd},fd={partial:!0,tokenize:gd};function hd(e,t,n){const r=this;let i;return o;function o(p){return e.enter("definition"),s(p)}function s(p){return ps.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function a(p){return i=gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return Ye(p)?Xn(e,u)(p):u(p)}function u(p){return ds(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function c(p){return e.attempt(fd,d,d)(p)}function d(p){return ye(p)?xe(e,f,"whitespace")(p):f(p)}function f(p){return p===null||$(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function gd(e,t,n){return r;function r(a){return Ye(a)?Xn(e,i)(a):n(a)}function i(a){return fs(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(a)}function o(a){return ye(a)?xe(e,s,"whitespace")(a):s(a)}function s(a){return a===null||$(a)?t(a):n(a)}}const md={name:"hardBreakEscape",tokenize:bd};function bd(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return $(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const yd={name:"headingAtx",resolve:vd,tokenize:Id};function vd(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},gt(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function Id(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&r++<6?(e.consume(c),s):c===null||Ye(c)?(e.exit("atxHeadingSequence"),a(c)):n(c)}function a(c){return c===35?(e.enter("atxHeadingSequence"),l(c)):c===null||$(c)?(e.exit("atxHeading"),t(c)):ye(c)?xe(e,a,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function l(c){return c===35?(e.consume(c),l):(e.exit("atxHeadingSequence"),a(c))}function u(c){return c===null||c===35||Ye(c)?(e.exit("atxHeadingText"),a(c)):(e.consume(c),u)}}const Cd=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],hs=["pre","script","style","textarea"],xd={concrete:!0,name:"htmlFlow",resolveTo:Sd,tokenize:Ed},Ad={partial:!0,tokenize:Fd},wd={partial:!0,tokenize:kd};function Sd(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Ed(e,t,n){const r=this;let i,o,s,a,l;return u;function u(m){return c(m)}function c(m){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(m),d}function d(m){return m===33?(e.consume(m),f):m===47?(e.consume(m),o=!0,g):m===63?(e.consume(m),i=3,r.interrupt?t:y):mt(m)?(e.consume(m),s=String.fromCharCode(m),I):n(m)}function f(m){return m===45?(e.consume(m),i=2,p):m===91?(e.consume(m),i=5,a=0,b):mt(m)?(e.consume(m),i=4,r.interrupt?t:y):n(m)}function p(m){return m===45?(e.consume(m),r.interrupt?t:y):n(m)}function b(m){const me="CDATA[";return m===me.charCodeAt(a++)?(e.consume(m),a===me.length?r.interrupt?t:N:b):n(m)}function g(m){return mt(m)?(e.consume(m),s=String.fromCharCode(m),I):n(m)}function I(m){if(m===null||m===47||m===62||Ye(m)){const me=m===47,te=s.toLowerCase();return!me&&!o&&hs.includes(te)?(i=1,r.interrupt?t(m):N(m)):Cd.includes(s.toLowerCase())?(i=6,me?(e.consume(m),v):r.interrupt?t(m):N(m)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(m):o?E(m):A(m))}return m===45||Ke(m)?(e.consume(m),s+=String.fromCharCode(m),I):n(m)}function v(m){return m===62?(e.consume(m),r.interrupt?t:N):n(m)}function E(m){return ye(m)?(e.consume(m),E):D(m)}function A(m){return m===47?(e.consume(m),D):m===58||m===95||mt(m)?(e.consume(m),S):ye(m)?(e.consume(m),A):D(m)}function S(m){return m===45||m===46||m===58||m===95||Ke(m)?(e.consume(m),S):k(m)}function k(m){return m===61?(e.consume(m),C):ye(m)?(e.consume(m),k):A(m)}function C(m){return m===null||m===60||m===61||m===62||m===96?n(m):m===34||m===39?(e.consume(m),l=m,L):ye(m)?(e.consume(m),C):F(m)}function L(m){return m===l?(e.consume(m),l=null,V):m===null||$(m)?n(m):(e.consume(m),L)}function F(m){return m===null||m===34||m===39||m===47||m===60||m===61||m===62||m===96||Ye(m)?k(m):(e.consume(m),F)}function V(m){return m===47||m===62||ye(m)?A(m):n(m)}function D(m){return m===62?(e.consume(m),O):n(m)}function O(m){return m===null||$(m)?N(m):ye(m)?(e.consume(m),O):n(m)}function N(m){return m===45&&i===2?(e.consume(m),U):m===60&&i===1?(e.consume(m),ue):m===62&&i===4?(e.consume(m),ce):m===63&&i===3?(e.consume(m),y):m===93&&i===5?(e.consume(m),Ie):$(m)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Ad,se,q)(m)):m===null||$(m)?(e.exit("htmlFlowData"),q(m)):(e.consume(m),N)}function q(m){return e.check(wd,ie,se)(m)}function ie(m){return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),z}function z(m){return m===null||$(m)?q(m):(e.enter("htmlFlowData"),N(m))}function U(m){return m===45?(e.consume(m),y):N(m)}function ue(m){return m===47?(e.consume(m),s="",fe):N(m)}function fe(m){if(m===62){const me=s.toLowerCase();return hs.includes(me)?(e.consume(m),ce):N(m)}return mt(m)&&s.length<8?(e.consume(m),s+=String.fromCharCode(m),fe):N(m)}function Ie(m){return m===93?(e.consume(m),y):N(m)}function y(m){return m===62?(e.consume(m),ce):m===45&&i===2?(e.consume(m),y):N(m)}function ce(m){return m===null||$(m)?(e.exit("htmlFlowData"),se(m)):(e.consume(m),ce)}function se(m){return e.exit("htmlFlow"),t(m)}}function kd(e,t,n){const r=this;return i;function i(s){return $(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):n(s)}function o(s){return r.parser.lazy[r.now().line]?n(s):t(s)}}function Fd(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(ur,t,n)}}const Pd={name:"htmlText",tokenize:Gd};function Gd(e,t,n){const r=this;let i,o,s;return a;function a(y){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(y),l}function l(y){return y===33?(e.consume(y),u):y===47?(e.consume(y),k):y===63?(e.consume(y),A):mt(y)?(e.consume(y),F):n(y)}function u(y){return y===45?(e.consume(y),c):y===91?(e.consume(y),o=0,b):mt(y)?(e.consume(y),E):n(y)}function c(y){return y===45?(e.consume(y),p):n(y)}function d(y){return y===null?n(y):y===45?(e.consume(y),f):$(y)?(s=d,ue(y)):(e.consume(y),d)}function f(y){return y===45?(e.consume(y),p):d(y)}function p(y){return y===62?U(y):y===45?f(y):d(y)}function b(y){const ce="CDATA[";return y===ce.charCodeAt(o++)?(e.consume(y),o===ce.length?g:b):n(y)}function g(y){return y===null?n(y):y===93?(e.consume(y),I):$(y)?(s=g,ue(y)):(e.consume(y),g)}function I(y){return y===93?(e.consume(y),v):g(y)}function v(y){return y===62?U(y):y===93?(e.consume(y),v):g(y)}function E(y){return y===null||y===62?U(y):$(y)?(s=E,ue(y)):(e.consume(y),E)}function A(y){return y===null?n(y):y===63?(e.consume(y),S):$(y)?(s=A,ue(y)):(e.consume(y),A)}function S(y){return y===62?U(y):A(y)}function k(y){return mt(y)?(e.consume(y),C):n(y)}function C(y){return y===45||Ke(y)?(e.consume(y),C):L(y)}function L(y){return $(y)?(s=L,ue(y)):ye(y)?(e.consume(y),L):U(y)}function F(y){return y===45||Ke(y)?(e.consume(y),F):y===47||y===62||Ye(y)?V(y):n(y)}function V(y){return y===47?(e.consume(y),U):y===58||y===95||mt(y)?(e.consume(y),D):$(y)?(s=V,ue(y)):ye(y)?(e.consume(y),V):U(y)}function D(y){return y===45||y===46||y===58||y===95||Ke(y)?(e.consume(y),D):O(y)}function O(y){return y===61?(e.consume(y),N):$(y)?(s=O,ue(y)):ye(y)?(e.consume(y),O):V(y)}function N(y){return y===null||y===60||y===61||y===62||y===96?n(y):y===34||y===39?(e.consume(y),i=y,q):$(y)?(s=N,ue(y)):ye(y)?(e.consume(y),N):(e.consume(y),ie)}function q(y){return y===i?(e.consume(y),i=void 0,z):y===null?n(y):$(y)?(s=q,ue(y)):(e.consume(y),q)}function ie(y){return y===null||y===34||y===39||y===60||y===61||y===96?n(y):y===47||y===62||Ye(y)?V(y):(e.consume(y),ie)}function z(y){return y===47||y===62||Ye(y)?V(y):n(y)}function U(y){return y===62?(e.consume(y),e.exit("htmlTextData"),e.exit("htmlText"),t):n(y)}function ue(y){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),fe}function fe(y){return ye(y)?xe(e,Ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(y):Ie(y)}function Ie(y){return e.enter("htmlTextData"),s(y)}}const gi={name:"labelEnd",resolveAll:Dd,resolveTo:Vd,tokenize:Nd},Bd={tokenize:Ld},Td={tokenize:Rd},Od={tokenize:Md};function Dd(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&gt(e,0,e.length,n),e}function Vd(e,t){let n=e.length,r=0,i,o,s,a;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(s=n);const l={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[s][1].end}},c={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[s-2][1].start}};return a=[["enter",l,t],["enter",u,t]],a=rt(a,e.slice(o+1,o+r+3)),a=rt(a,[["enter",c,t]]),a=rt(a,pi(t.parser.constructs.insideSpan.null,e.slice(o+r+4,s-3),t)),a=rt(a,[["exit",c,t],e[s-2],e[s-1],["exit",u,t]]),a=rt(a,e.slice(s+1)),a=rt(a,[["exit",l,t]]),gt(e,o,e.length,a),e}function Nd(e,t,n){const r=this;let i=r.events.length,o,s;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return a;function a(f){return o?o._inactive?d(f):(s=r.parser.defined.includes(gn(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelEnd"),l):n(f)}function l(f){return f===40?e.attempt(Bd,c,s?c:d)(f):f===91?e.attempt(Td,c,s?u:d)(f):s?c(f):d(f)}function u(f){return e.attempt(Od,c,d)(f)}function c(f){return t(f)}function d(f){return o._balanced=!0,n(f)}}function Ld(e,t,n){return r;function r(d){return e.enter("resource"),e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),i}function i(d){return Ye(d)?Xn(e,o)(d):o(d)}function o(d){return d===41?c(d):ds(e,s,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(d)}function s(d){return Ye(d)?Xn(e,l)(d):c(d)}function a(d){return n(d)}function l(d){return d===34||d===39||d===40?fs(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(d):c(d)}function u(d){return Ye(d)?Xn(e,c)(d):c(d)}function c(d){return d===41?(e.enter("resourceMarker"),e.consume(d),e.exit("resourceMarker"),e.exit("resource"),t):n(d)}}function Rd(e,t,n){const r=this;return i;function i(a){return ps.call(r,e,o,s,"reference","referenceMarker","referenceString")(a)}function o(a){return r.parser.defined.includes(gn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(a):n(a)}function s(a){return n(a)}}function Md(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const Xd={name:"labelStartImage",resolveAll:gi.resolveAll,tokenize:Hd};function Hd(e,t,n){const r=this;return i;function i(a){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(a),e.exit("labelImageMarker"),o}function o(a){return a===91?(e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelImage"),s):n(a)}function s(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const zd={name:"labelStartLink",resolveAll:gi.resolveAll,tokenize:Wd};function Wd(e,t,n){const r=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),o}function o(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const mi={name:"lineEnding",tokenize:Zd};function Zd(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),xe(e,t,"linePrefix")}}const cr={name:"thematicBreak",tokenize:jd};function jd(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),s(u)}function s(u){return i=u,a(u)}function a(u){return u===i?(e.enter("thematicBreakSequence"),l(u)):r>=3&&(u===null||$(u))?(e.exit("thematicBreak"),t(u)):n(u)}function l(u){return u===i?(e.consume(u),r++,l):(e.exit("thematicBreakSequence"),ye(u)?xe(e,a,"whitespace")(u):a(u))}}const _e={continuation:{tokenize:Ud},exit:Qd,name:"list",tokenize:_d},Jd={partial:!0,tokenize:$d},Yd={partial:!0,tokenize:qd};function _d(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return a;function a(p){const b=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:di(p)){if(r.containerState.type||(r.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(cr,n,u)(p):u(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return di(p)&&++s<10?(e.consume(p),l):(!r.interrupt||s<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),u(p)):n(p)}function u(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(ur,r.interrupt?n:c,e.attempt(Jd,f,d))}function c(p){return r.containerState.initialBlankLine=!0,o++,f(p)}function d(p){return ye(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),f):n(p)}function f(p){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Ud(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(ur,i,o);function i(a){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,xe(e,t,"listItemIndent",r.containerState.size+1)(a)}function o(a){return r.containerState.furtherBlankLines||!ye(a)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,s(a)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Yd,t,s)(a))}function s(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,xe(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}function qd(e,t,n){const r=this;return xe(e,i,"listItemIndent",r.containerState.size+1);function i(o){const s=r.events[r.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===r.containerState.size?t(o):n(o)}}function Qd(e){e.exit(this.containerState.type)}function $d(e,t,n){const r=this;return xe(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const s=r.events[r.events.length-1];return!ye(o)&&s&&s[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const gs={name:"setextUnderline",resolveTo:Kd,tokenize:ep};function Kd(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const s={type:"setextHeading",start:{...e[i][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",s,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=s,e.push(["exit",s,t]),e}function ep(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,d;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){d=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||d)?(e.enter("setextHeadingLine"),i=u,s(u)):n(u)}function s(u){return e.enter("setextHeadingLineSequence"),a(u)}function a(u){return u===i?(e.consume(u),a):(e.exit("setextHeadingLineSequence"),ye(u)?xe(e,l,"lineSuffix")(u):l(u))}function l(u){return u===null||$(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const tp={tokenize:np};function np(e){const t=this,n=e.attempt(ur,r,e.attempt(this.parser.constructs.flowInitial,i,xe(e,e.attempt(this.parser.constructs.flow,i,e.attempt(ad,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const rp={resolveAll:bs()},ip=ms("string"),op=ms("text");function ms(e){return{resolveAll:bs(e==="text"?sp:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,s,a);return s;function s(c){return u(c)?o(c):a(c)}function a(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),l}function l(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),l)}function u(c){if(c===null)return!0;const d=i[c];let f=-1;if(d)for(;++f<d.length;){const p=d[f];if(!p.previous||p.previous.call(r,r.previous))return!0}return!1}}}function bs(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function sp(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,s=-1,a=0,l;for(;o--;){const u=i[o];if(typeof u=="string"){for(s=u.length;u.charCodeAt(s-1)===32;)a++,s--;if(s)break;s=-1}else if(u===-2)l=!0,a++;else if(u!==-1){o++;break}}if(a){const u={type:n===e.length||l||a<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:r.start._bufferIndex+s,_index:r.start._index+o,line:r.end.line,column:r.end.column-a,offset:r.end.offset-a},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}const ap=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:pd},disable:{null:[]},document:{42:_e,43:_e,45:_e,48:_e,49:_e,50:_e,51:_e,52:_e,53:_e,54:_e,55:_e,56:_e,57:_e,62:os},flow:{35:yd,42:cr,45:[gs,cr],60:xd,61:gs,95:cr,96:us,126:us},flowInitial:{[-2]:hi,[-1]:hi,32:hi},insideSpan:{null:[fi,rp]},string:{38:as,92:ss},text:{[-5]:mi,[-4]:mi,[-3]:mi,33:Xd,38:as,42:fi,60:[zc,Pd],91:zd,92:[md,ss],93:gi,95:fi,96:td}},Symbol.toStringTag,{value:"Module"}));function lp(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let s=[],a=[];const l={attempt:L(k),check:L(C),consume:E,enter:A,exit:S,interrupt:L(C,{interrupt:!0})},u={code:null,containerState:{},defineSkip:g,events:[],now:b,parser:e,previous:null,sliceSerialize:f,sliceStream:p,write:d};let c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(O){return s=rt(s,O),I(),s[s.length-1]!==null?[]:(F(t,0),u.events=pi(o,u.events,u),u.events)}function f(O,N){return cp(p(O),N)}function p(O){return up(s,O)}function b(){const{_bufferIndex:O,_index:N,line:q,column:ie,offset:z}=r;return{_bufferIndex:O,_index:N,line:q,column:ie,offset:z}}function g(O){i[O.line]=O.column,D()}function I(){let O;for(;r._index<s.length;){const N=s[r._index];if(typeof N=="string")for(O=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===O&&r._bufferIndex<N.length;)v(N.charCodeAt(r._bufferIndex));else v(N)}}function v(O){c=c(O)}function E(O){$(O)?(r.line++,r.column=1,r.offset+=O===-3?2:1,D()):O!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=O}function A(O,N){const q=N||{};return q.type=O,q.start=b(),u.events.push(["enter",q,u]),a.push(q),q}function S(O){const N=a.pop();return N.end=b(),u.events.push(["exit",N,u]),N}function k(O,N){F(O,N.from)}function C(O,N){N.restore()}function L(O,N){return q;function q(ie,z,U){let ue,fe,Ie,y;return Array.isArray(ie)?se(ie):"tokenize"in ie?se([ie]):ce(ie);function ce(he){return De;function De(ge){const Xe=ge!==null&&he[ge],qe=ge!==null&&he.null,st=[...Array.isArray(Xe)?Xe:Xe?[Xe]:[],...Array.isArray(qe)?qe:qe?[qe]:[]];return se(st)(ge)}}function se(he){return ue=he,fe=0,he.length===0?U:m(he[fe])}function m(he){return De;function De(ge){return y=V(),Ie=he,he.partial||(u.currentConstruct=he),he.name&&u.parser.constructs.disable.null.includes(he.name)?te():he.tokenize.call(N?Object.assign(Object.create(u),N):u,l,me,te)(ge)}}function me(he){return O(Ie,y),z}function te(he){return y.restore(),++fe<ue.length?m(ue[fe]):U}}}function F(O,N){O.resolveAll&&!o.includes(O)&&o.push(O),O.resolve&&gt(u.events,N,u.events.length-N,O.resolve(u.events.slice(N),u)),O.resolveTo&&(u.events=O.resolveTo(u.events,u))}function V(){const O=b(),N=u.previous,q=u.currentConstruct,ie=u.events.length,z=Array.from(a);return{from:ie,restore:U};function U(){r=O,u.previous=N,u.currentConstruct=q,u.events.length=ie,a=z,D()}}function D(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function up(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let s;if(n===i)s=[e[n].slice(r,o)];else{if(s=e.slice(n,i),r>-1){const a=s[0];typeof a=="string"?s[0]=a.slice(r):s.shift()}o>0&&s.push(e[i].slice(0,o))}return s}function cp(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let s;if(typeof o=="string")s=o;else switch(o){case-5:{s="\r";break}case-4:{s=`
4
4
  `;break}case-3:{s=`\r
5
- `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(o)}i=o===-2,r.push(s)}return r.join("")}function sp(e){const r={constructs:xc([np,...(e||{}).extensions||[]]),content:i(Gc),defined:[],document:i(Tc),flow:i(qd),lazy:{},string:i(Kd),text:i(ep)};return r;function i(o){return s;function s(a){return rp(r,o,a)}}}function ap(e){for(;!us(e););return e}const bs=/[\0\t\n\r]/g;function lp(){let e=1,t="",n=!0,r;return i;function i(o,s,a){const l=[];let u,c,d,f,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),d=0,t="",n&&(o.charCodeAt(0)===65279&&d++,n=void 0);d<o.length;){if(bs.lastIndex=d,u=bs.exec(o),f=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(f),!u){t=o.slice(d);break}if(p===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(o.slice(d,f)),e+=f-d),p){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const up={}.hasOwnProperty;function cp(e){return up.call(lr,e)?lr[e]:!1}const dp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function pp(e){return e.replace(dp,fp)}function fp(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return es(n.slice(o?2:1),o?16:10)}return cp(n)||e}const ys={}.hasOwnProperty;function hp(e,t,n){return typeof t!="string"&&(n=t,t=void 0),gp(n)(ap(sp(n).document().write(lp()(e,t,!0))))}function gp(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(He),autolinkProtocol:V,autolinkEmail:V,atxHeading:o(Z),blockQuote:o(Ue),characterEscape:V,characterReference:V,codeFenced:o(st),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(st,s),codeText:o(at,s),codeTextData:V,data:V,codeFlowValue:V,definition:o(Ht),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(X),hardBreakEscape:o(Q),hardBreakTrailing:o(Q),htmlFlow:o(be,s),htmlFlowData:V,htmlText:o(be,s),htmlTextData:V,image:o(Oe),label:s,link:o(He),listItem:o(nr),listItemValue:f,listOrdered:o(Dn,d),listUnordered:o(Dn),paragraph:o(ke),reference:m,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(Z),strong:o(Ae),thematicBreak:o(Ee)},exit:{atxHeading:l(),atxHeadingSequence:B,autolink:l(),autolinkEmail:Xe,autolinkProtocol:ge,blockQuote:l(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:te,characterReferenceMarkerNumeric:te,characterReferenceValue:he,characterReference:De,codeFenced:l(I),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:b,codeFlowValue:D,codeIndented:l(v),codeText:l(z),codeTextData:D,data:D,definition:l(),definitionDestinationString:k,definitionLabelString:S,definitionTitleString:w,emphasis:l(),hardBreakEscape:l(N),hardBreakTrailing:l(N),htmlFlow:l(q),htmlFlowData:D,htmlText:l(ie),htmlTextData:D,image:l(ue),label:Ie,labelText:fe,lineEnding:T,link:l(U),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:me,resourceDestinationString:y,resourceTitleString:ce,resource:se,setextHeading:l(E),setextHeadingLineSequence:L,setextHeadingText:A,strong:l(),thematicBreak:l()}};vs(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(F){let M={type:"root",children:[]};const K={stack:[M],tokenStack:[],config:t,enter:a,exit:u,buffer:s,resume:c,data:n},ae=[];let le=-1;for(;++le<F.length;)if(F[le][1].type==="listOrdered"||F[le][1].type==="listUnordered")if(F[le][0]==="enter")ae.push(le);else{const qe=ae.pop();le=i(F,qe,le)}for(le=-1;++le<F.length;){const qe=t[F[le][0]];ys.call(qe,F[le][1].type)&&qe[F[le][1].type].call(Object.assign({sliceSerialize:F[le][2].sliceSerialize},K),F[le][1])}if(K.tokenStack.length>0){const qe=K.tokenStack[K.tokenStack.length-1];(qe[1]||Is).call(K,void 0,qe[0])}for(M.position={start:Ot(F.length>0?F[0][1].start:{line:1,column:1,offset:0}),end:Ot(F.length>0?F[F.length-2][1].end:{line:1,column:1,offset:0})},le=-1;++le<t.transforms.length;)M=t.transforms[le](M)||M;return M}function i(F,M,K){let ae=M-1,le=-1,qe=!1,At,pt,zt,wt;for(;++ae<=K;){const ze=F[ae];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?le++:le--,wt=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(At&&!wt&&!le&&!zt&&(zt=ae),wt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:wt=void 0}if(!le&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||le===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(At){let Ft=ae;for(pt=void 0;Ft--;){const ft=F[Ft];if(ft[1].type==="lineEnding"||ft[1].type==="lineEndingBlank"){if(ft[0]==="exit")continue;pt&&(F[pt][1].type="lineEndingBlank",qe=!0),ft[1].type="lineEnding",pt=Ft}else if(!(ft[1].type==="linePrefix"||ft[1].type==="blockQuotePrefix"||ft[1].type==="blockQuotePrefixWhitespace"||ft[1].type==="blockQuoteMarker"||ft[1].type==="listItemIndent"))break}zt&&(!pt||zt<pt)&&(At._spread=!0),At.end=Object.assign({},pt?F[pt][1].start:ze[1].end),F.splice(pt||ae,0,["exit",At,ze[2]]),ae++,K++}if(ze[1].type==="listItemPrefix"){const Ft={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};At=Ft,F.splice(ae,0,["enter",Ft,ze[2]]),ae++,K++,zt=void 0,wt=!0}}}return F[M][1]._spread=qe,K}function o(F,M){return K;function K(ae){a.call(this,F(ae),ae),M&&M.call(this,ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(F,M,K){this.stack[this.stack.length-1].children.push(F),this.stack.push(F),this.tokenStack.push([M,K||void 0]),F.position={start:Ot(M.start),end:void 0}}function l(F){return M;function M(K){F&&F.call(this,K),u.call(this,K)}}function u(F,M){const K=this.stack.pop(),ae=this.tokenStack.pop();if(ae)ae[0].type!==F.type&&(M?M.call(this,F,ae[0]):(ae[1]||Is).call(this,F,ae[0]));else throw new Error("Cannot close `"+F.type+"` ("+Ln({start:F.start,end:F.end})+"): it’s not open");K.position.end=Ot(F.end)}function c(){return vc(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(F){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(F),10),this.data.expectingFirstListItemValue=void 0}}function p(){const F=this.resume(),M=this.stack[this.stack.length-1];M.lang=F}function b(){const F=this.resume(),M=this.stack[this.stack.length-1];M.meta=F}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const F=this.resume(),M=this.stack[this.stack.length-1];M.value=F.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const F=this.resume(),M=this.stack[this.stack.length-1];M.value=F.replace(/(\r?\n|\r)$/g,"")}function S(F){const M=this.resume(),K=this.stack[this.stack.length-1];K.label=M,K.identifier=gn(this.sliceSerialize(F)).toLowerCase()}function w(){const F=this.resume(),M=this.stack[this.stack.length-1];M.title=F}function k(){const F=this.resume(),M=this.stack[this.stack.length-1];M.url=F}function B(F){const M=this.stack[this.stack.length-1];if(!M.depth){const K=this.sliceSerialize(F).length;M.depth=K}}function A(){this.data.setextHeadingSlurpLineEnding=!0}function L(F){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(F).codePointAt(0)===61?1:2}function E(){this.data.setextHeadingSlurpLineEnding=void 0}function V(F){const K=this.stack[this.stack.length-1].children;let ae=K[K.length-1];(!ae||ae.type!=="text")&&(ae=Se(),ae.position={start:Ot(F.start),end:void 0},K.push(ae)),this.stack.push(ae)}function D(F){const M=this.stack.pop();M.value+=this.sliceSerialize(F),M.position.end=Ot(F.end)}function T(F){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=M.children[M.children.length-1];K.position.end=Ot(F.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(V.call(this,F),D.call(this,F))}function N(){this.data.atHardBreak=!0}function q(){const F=this.resume(),M=this.stack[this.stack.length-1];M.value=F}function ie(){const F=this.resume(),M=this.stack[this.stack.length-1];M.value=F}function z(){const F=this.resume(),M=this.stack[this.stack.length-1];M.value=F}function U(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=M,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function ue(){const F=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";F.type+="Reference",F.referenceType=M,delete F.url,delete F.title}else delete F.identifier,delete F.label;this.data.referenceType=void 0}function fe(F){const M=this.sliceSerialize(F),K=this.stack[this.stack.length-2];K.label=pp(M),K.identifier=gn(M).toLowerCase()}function Ie(){const F=this.stack[this.stack.length-1],M=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const ae=F.children;K.children=ae}else K.alt=M}function y(){const F=this.resume(),M=this.stack[this.stack.length-1];M.url=F}function ce(){const F=this.resume(),M=this.stack[this.stack.length-1];M.title=F}function se(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function me(F){const M=this.resume(),K=this.stack[this.stack.length-1];K.label=M,K.identifier=gn(this.sliceSerialize(F)).toLowerCase(),this.data.referenceType="full"}function te(F){this.data.characterReferenceType=F.type}function he(F){const M=this.sliceSerialize(F),K=this.data.characterReferenceType;let ae;K?(ae=es(M,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ae=$o(M);const le=this.stack[this.stack.length-1];le.value+=ae}function De(F){const M=this.stack.pop();M.position.end=Ot(F.end)}function ge(F){D.call(this,F);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(F)}function Xe(F){D.call(this,F);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(F)}function Ue(){return{type:"blockquote",children:[]}}function st(){return{type:"code",lang:null,meta:null,value:""}}function at(){return{type:"inlineCode",value:""}}function Ht(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function Z(){return{type:"heading",depth:0,children:[]}}function Q(){return{type:"break"}}function be(){return{type:"html",value:""}}function Oe(){return{type:"image",title:null,url:"",alt:null}}function He(){return{type:"link",title:null,url:"",children:[]}}function Dn(F){return{type:"list",ordered:F.type==="listOrdered",start:null,spread:F._spread,children:[]}}function nr(F){return{type:"listItem",spread:F._spread,checked:null,children:[]}}function ke(){return{type:"paragraph",children:[]}}function Ae(){return{type:"strong",children:[]}}function Se(){return{type:"text",value:""}}function Ee(){return{type:"thematicBreak"}}}function Ot(e){return{line:e.line,column:e.column,offset:e.offset}}function vs(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?vs(e,r):mp(e,r)}}function mp(e,t){let n;for(n in t)if(ys.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Is(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ln({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ln({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ln({start:t.start,end:t.end})+") is still open")}function bp(e){const t=this;t.parser=n;function n(r){return hp(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function yp(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function vp(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
6
- `}]}function Ip(e,t){const n=t.value?t.value+`
7
- `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Cp(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function xp(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Ap(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=mn(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=o+1,a+=1,e.footnoteCounts.set(r,a);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function wp(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Sp(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Cs(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function Ep(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Cs(e,t);const i={src:mn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function kp(e,t){const n={src:mn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Fp(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Pp(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Cs(e,t);const i={href:mn(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Gp(e,t){const n={href:mn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bp(e,t,n){const r=e.all(t),i=n?Tp(n):xs(t),o={},s=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const c=r[a];(i||a!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
5
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(o)}i=o===-2,r.push(s)}return r.join("")}function dp(e){const r={constructs:kc([ap,...(e||{}).extensions||[]]),content:i(Vc),defined:[],document:i(Lc),flow:i(tp),lazy:{},string:i(ip),text:i(op)};return r;function i(o){return s;function s(a){return lp(r,o,a)}}}function pp(e){for(;!cs(e););return e}const ys=/[\0\t\n\r]/g;function fp(){let e=1,t="",n=!0,r;return i;function i(o,s,a){const l=[];let u,c,d,f,p;for(o=t+(typeof o=="string"?o.toString():new TextDecoder(s||void 0).decode(o)),d=0,t="",n&&(o.charCodeAt(0)===65279&&d++,n=void 0);d<o.length;){if(ys.lastIndex=d,u=ys.exec(o),f=u&&u.index!==void 0?u.index:o.length,p=o.charCodeAt(f),!u){t=o.slice(d);break}if(p===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(o.slice(d,f)),e+=f-d),p){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return a&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}const hp={}.hasOwnProperty;function gp(e){return hp.call(lr,e)?lr[e]:!1}const mp=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function bp(e){return e.replace(mp,yp)}function yp(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return ts(n.slice(o?2:1),o?16:10)}return gp(n)||e}const vs={}.hasOwnProperty;function vp(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Ip(n)(pp(dp(n).document().write(fp()(e,t,!0))))}function Ip(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(He),autolinkProtocol:V,autolinkEmail:V,atxHeading:o(Z),blockQuote:o(qe),characterEscape:V,characterReference:V,codeFenced:o(st),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:o(st,s),codeText:o(at,s),codeTextData:V,data:V,codeFlowValue:V,definition:o(zt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:o(X),hardBreakEscape:o(Q),hardBreakTrailing:o(Q),htmlFlow:o(be,s),htmlFlowData:V,htmlText:o(be,s),htmlTextData:V,image:o(Oe),label:s,link:o(He),listItem:o(nr),listItemValue:f,listOrdered:o(Dn,d),listUnordered:o(Dn),paragraph:o(ke),reference:m,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:o(Z),strong:o(Ae),thematicBreak:o(Ee)},exit:{atxHeading:l(),atxHeadingSequence:k,autolink:l(),autolinkEmail:Xe,autolinkProtocol:ge,blockQuote:l(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:te,characterReferenceMarkerNumeric:te,characterReferenceValue:he,characterReference:De,codeFenced:l(I),codeFencedFence:g,codeFencedFenceInfo:p,codeFencedFenceMeta:b,codeFlowValue:D,codeIndented:l(v),codeText:l(z),codeTextData:D,data:D,definition:l(),definitionDestinationString:S,definitionLabelString:E,definitionTitleString:A,emphasis:l(),hardBreakEscape:l(N),hardBreakTrailing:l(N),htmlFlow:l(q),htmlFlowData:D,htmlText:l(ie),htmlTextData:D,image:l(ue),label:Ie,labelText:fe,lineEnding:O,link:l(U),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:me,resourceDestinationString:y,resourceTitleString:ce,resource:se,setextHeading:l(F),setextHeadingLineSequence:L,setextHeadingText:C,strong:l(),thematicBreak:l()}};Is(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(B){let M={type:"root",children:[]};const K={stack:[M],tokenStack:[],config:t,enter:a,exit:u,buffer:s,resume:c,data:n},ae=[];let le=-1;for(;++le<B.length;)if(B[le][1].type==="listOrdered"||B[le][1].type==="listUnordered")if(B[le][0]==="enter")ae.push(le);else{const Qe=ae.pop();le=i(B,Qe,le)}for(le=-1;++le<B.length;){const Qe=t[B[le][0]];vs.call(Qe,B[le][1].type)&&Qe[B[le][1].type].call(Object.assign({sliceSerialize:B[le][2].sliceSerialize},K),B[le][1])}if(K.tokenStack.length>0){const Qe=K.tokenStack[K.tokenStack.length-1];(Qe[1]||Cs).call(K,void 0,Qe[0])}for(M.position={start:Dt(B.length>0?B[0][1].start:{line:1,column:1,offset:0}),end:Dt(B.length>0?B[B.length-2][1].end:{line:1,column:1,offset:0})},le=-1;++le<t.transforms.length;)M=t.transforms[le](M)||M;return M}function i(B,M,K){let ae=M-1,le=-1,Qe=!1,At,pt,Wt,wt;for(;++ae<=K;){const ze=B[ae];switch(ze[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{ze[0]==="enter"?le++:le--,wt=void 0;break}case"lineEndingBlank":{ze[0]==="enter"&&(At&&!wt&&!le&&!Wt&&(Wt=ae),wt=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:wt=void 0}if(!le&&ze[0]==="enter"&&ze[1].type==="listItemPrefix"||le===-1&&ze[0]==="exit"&&(ze[1].type==="listUnordered"||ze[1].type==="listOrdered")){if(At){let Pt=ae;for(pt=void 0;Pt--;){const ft=B[Pt];if(ft[1].type==="lineEnding"||ft[1].type==="lineEndingBlank"){if(ft[0]==="exit")continue;pt&&(B[pt][1].type="lineEndingBlank",Qe=!0),ft[1].type="lineEnding",pt=Pt}else if(!(ft[1].type==="linePrefix"||ft[1].type==="blockQuotePrefix"||ft[1].type==="blockQuotePrefixWhitespace"||ft[1].type==="blockQuoteMarker"||ft[1].type==="listItemIndent"))break}Wt&&(!pt||Wt<pt)&&(At._spread=!0),At.end=Object.assign({},pt?B[pt][1].start:ze[1].end),B.splice(pt||ae,0,["exit",At,ze[2]]),ae++,K++}if(ze[1].type==="listItemPrefix"){const Pt={type:"listItem",_spread:!1,start:Object.assign({},ze[1].start),end:void 0};At=Pt,B.splice(ae,0,["enter",Pt,ze[2]]),ae++,K++,Wt=void 0,wt=!0}}}return B[M][1]._spread=Qe,K}function o(B,M){return K;function K(ae){a.call(this,B(ae),ae),M&&M.call(this,ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function a(B,M,K){this.stack[this.stack.length-1].children.push(B),this.stack.push(B),this.tokenStack.push([M,K||void 0]),B.position={start:Dt(M.start),end:void 0}}function l(B){return M;function M(K){B&&B.call(this,K),u.call(this,K)}}function u(B,M){const K=this.stack.pop(),ae=this.tokenStack.pop();if(ae)ae[0].type!==B.type&&(M?M.call(this,B,ae[0]):(ae[1]||Cs).call(this,B,ae[0]));else throw new Error("Cannot close `"+B.type+"` ("+Ln({start:B.start,end:B.end})+"): it’s not open");K.position.end=Dt(B.end)}function c(){return wc(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function f(B){if(this.data.expectingFirstListItemValue){const M=this.stack[this.stack.length-2];M.start=Number.parseInt(this.sliceSerialize(B),10),this.data.expectingFirstListItemValue=void 0}}function p(){const B=this.resume(),M=this.stack[this.stack.length-1];M.lang=B}function b(){const B=this.resume(),M=this.stack[this.stack.length-1];M.meta=B}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const B=this.resume(),M=this.stack[this.stack.length-1];M.value=B.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const B=this.resume(),M=this.stack[this.stack.length-1];M.value=B.replace(/(\r?\n|\r)$/g,"")}function E(B){const M=this.resume(),K=this.stack[this.stack.length-1];K.label=M,K.identifier=gn(this.sliceSerialize(B)).toLowerCase()}function A(){const B=this.resume(),M=this.stack[this.stack.length-1];M.title=B}function S(){const B=this.resume(),M=this.stack[this.stack.length-1];M.url=B}function k(B){const M=this.stack[this.stack.length-1];if(!M.depth){const K=this.sliceSerialize(B).length;M.depth=K}}function C(){this.data.setextHeadingSlurpLineEnding=!0}function L(B){const M=this.stack[this.stack.length-1];M.depth=this.sliceSerialize(B).codePointAt(0)===61?1:2}function F(){this.data.setextHeadingSlurpLineEnding=void 0}function V(B){const K=this.stack[this.stack.length-1].children;let ae=K[K.length-1];(!ae||ae.type!=="text")&&(ae=Se(),ae.position={start:Dt(B.start),end:void 0},K.push(ae)),this.stack.push(ae)}function D(B){const M=this.stack.pop();M.value+=this.sliceSerialize(B),M.position.end=Dt(B.end)}function O(B){const M=this.stack[this.stack.length-1];if(this.data.atHardBreak){const K=M.children[M.children.length-1];K.position.end=Dt(B.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(M.type)&&(V.call(this,B),D.call(this,B))}function N(){this.data.atHardBreak=!0}function q(){const B=this.resume(),M=this.stack[this.stack.length-1];M.value=B}function ie(){const B=this.resume(),M=this.stack[this.stack.length-1];M.value=B}function z(){const B=this.resume(),M=this.stack[this.stack.length-1];M.value=B}function U(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=M,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function ue(){const B=this.stack[this.stack.length-1];if(this.data.inReference){const M=this.data.referenceType||"shortcut";B.type+="Reference",B.referenceType=M,delete B.url,delete B.title}else delete B.identifier,delete B.label;this.data.referenceType=void 0}function fe(B){const M=this.sliceSerialize(B),K=this.stack[this.stack.length-2];K.label=bp(M),K.identifier=gn(M).toLowerCase()}function Ie(){const B=this.stack[this.stack.length-1],M=this.resume(),K=this.stack[this.stack.length-1];if(this.data.inReference=!0,K.type==="link"){const ae=B.children;K.children=ae}else K.alt=M}function y(){const B=this.resume(),M=this.stack[this.stack.length-1];M.url=B}function ce(){const B=this.resume(),M=this.stack[this.stack.length-1];M.title=B}function se(){this.data.inReference=void 0}function m(){this.data.referenceType="collapsed"}function me(B){const M=this.resume(),K=this.stack[this.stack.length-1];K.label=M,K.identifier=gn(this.sliceSerialize(B)).toLowerCase(),this.data.referenceType="full"}function te(B){this.data.characterReferenceType=B.type}function he(B){const M=this.sliceSerialize(B),K=this.data.characterReferenceType;let ae;K?(ae=ts(M,K==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ae=Ko(M);const le=this.stack[this.stack.length-1];le.value+=ae}function De(B){const M=this.stack.pop();M.position.end=Dt(B.end)}function ge(B){D.call(this,B);const M=this.stack[this.stack.length-1];M.url=this.sliceSerialize(B)}function Xe(B){D.call(this,B);const M=this.stack[this.stack.length-1];M.url="mailto:"+this.sliceSerialize(B)}function qe(){return{type:"blockquote",children:[]}}function st(){return{type:"code",lang:null,meta:null,value:""}}function at(){return{type:"inlineCode",value:""}}function zt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function Z(){return{type:"heading",depth:0,children:[]}}function Q(){return{type:"break"}}function be(){return{type:"html",value:""}}function Oe(){return{type:"image",title:null,url:"",alt:null}}function He(){return{type:"link",title:null,url:"",children:[]}}function Dn(B){return{type:"list",ordered:B.type==="listOrdered",start:null,spread:B._spread,children:[]}}function nr(B){return{type:"listItem",spread:B._spread,checked:null,children:[]}}function ke(){return{type:"paragraph",children:[]}}function Ae(){return{type:"strong",children:[]}}function Se(){return{type:"text",value:""}}function Ee(){return{type:"thematicBreak"}}}function Dt(e){return{line:e.line,column:e.column,offset:e.offset}}function Is(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?Is(e,r):Cp(e,r)}}function Cp(e,t){let n;for(n in t)if(vs.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Cs(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ln({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ln({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ln({start:t.start,end:t.end})+") is still open")}function xp(e){const t=this;t.parser=n;function n(r){return vp(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Ap(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function wp(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
6
+ `}]}function Sp(e,t){const n=t.value?t.value+`
7
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function Ep(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function kp(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fp(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=mn(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);a===void 0?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=o+1,a+=1,e.footnoteCounts.set(r,a);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function Pp(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gp(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function xs(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const s=i[i.length-1];return s&&s.type==="text"?s.value+=r:i.push({type:"text",value:r}),i}function Bp(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xs(e,t);const i={src:mn(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function Tp(e,t){const n={src:mn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Op(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Dp(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return xs(e,t);const i={href:mn(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function Vp(e,t){const n={href:mn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Np(e,t,n){const r=e.all(t),i=n?Lp(n):As(t),o={},s=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const c=r[a];(i||a!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
8
8
  `}),c.type==="element"&&c.tagName==="p"&&!i?s.push(...c.children):s.push(c)}const l=r[r.length-1];l&&(i||l.type!=="element"||l.tagName!=="p")&&s.push({type:"text",value:`
9
- `});const u={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,u),e.applyData(t,u)}function Tp(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=xs(n[r])}return t}function xs(e){const t=e.spread;return t??e.children.length>1}function Op(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function Dp(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Vp(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Np(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Lp(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=ii(t.children[1]),l=zo(t.children[t.children.length-1]);a&&l&&(s.position={start:a,end:l}),i.push(s)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Rp(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,a=s?s.length:t.children.length;let l=-1;const u=[];for(;++l<a;){const d=t.children[l],f={},p=s?s[l]:void 0;p&&(f.align=p);let b={type:"element",tagName:o,properties:f,children:[]};d&&(b.children=e.all(d),e.patch(d,b),b=e.applyData(d,b)),u.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function Mp(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const As=9,ws=32;function Xp(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Ss(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Ss(t.slice(i),i>0,!1)),o.join("")}function Ss(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===As||o===ws;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===As||o===ws;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Hp(e,t){const n={type:"text",value:Xp(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function zp(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Wp={blockquote:yp,break:vp,code:Ip,delete:Cp,emphasis:xp,footnoteReference:Ap,heading:wp,html:Sp,imageReference:Ep,image:kp,inlineCode:Fp,linkReference:Pp,link:Gp,listItem:Bp,list:Op,paragraph:Dp,root:Vp,strong:Np,table:Lp,tableCell:Mp,tableRow:Rp,text:Hp,thematicBreak:zp,toml:dr,yaml:dr,definition:dr,footnoteDefinition:dr};function dr(){}const Es=-1,pr=0,fr=1,hr=2,bi=3,yi=4,vi=5,Ii=6,ks=7,Fs=8,Ps=typeof self=="object"?self:globalThis,Zp=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,s]=t[i];switch(o){case pr:case Es:return n(s,i);case fr:{const a=n([],i);for(const l of s)a.push(r(l));return a}case hr:{const a=n({},i);for(const[l,u]of s)a[r(l)]=r(u);return a}case bi:return n(new Date(s),i);case yi:{const{source:a,flags:l}=s;return n(new RegExp(a,l),i)}case vi:{const a=n(new Map,i);for(const[l,u]of s)a.set(r(l),r(u));return a}case Ii:{const a=n(new Set,i);for(const l of s)a.add(r(l));return a}case ks:{const{name:a,message:l}=s;return n(new Ps[a](l),i)}case Fs:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new Ps[o](s),i)};return r},Gs=e=>Zp(new Map,e)(0),bn="",{toString:jp}={},{keys:Jp}=Object,Hn=e=>{const t=typeof e;if(t!=="object"||!e)return[pr,t];const n=jp.call(e).slice(8,-1);switch(n){case"Array":return[fr,bn];case"Object":return[hr,bn];case"Date":return[bi,bn];case"RegExp":return[yi,bn];case"Map":return[vi,bn];case"Set":return[Ii,bn]}return n.includes("Array")?[fr,n]:n.includes("Error")?[ks,n]:[hr,n]},gr=([e,t])=>e===pr&&(t==="function"||t==="symbol"),Yp=(e,t,n,r)=>{const i=(s,a)=>{const l=r.push(s)-1;return n.set(a,l),l},o=s=>{if(n.has(s))return n.get(s);let[a,l]=Hn(s);switch(a){case pr:{let c=s;switch(l){case"bigint":a=Fs,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([Es],s)}return i([a,c],s)}case fr:{if(l)return i([l,[...s]],s);const c=[],d=i([a,c],s);for(const f of s)c.push(o(f));return d}case hr:{if(l)switch(l){case"BigInt":return i([l,s.toString()],s);case"Boolean":case"Number":case"String":return i([l,s.valueOf()],s)}if(t&&"toJSON"in s)return o(s.toJSON());const c=[],d=i([a,c],s);for(const f of Jp(s))(e||!gr(Hn(s[f])))&&c.push([o(f),o(s[f])]);return d}case bi:return i([a,s.toISOString()],s);case yi:{const{source:c,flags:d}=s;return i([a,{source:c,flags:d}],s)}case vi:{const c=[],d=i([a,c],s);for(const[f,p]of s)(e||!(gr(Hn(f))||gr(Hn(p))))&&c.push([o(f),o(p)]);return d}case Ii:{const c=[],d=i([a,c],s);for(const f of s)(e||!gr(Hn(f)))&&c.push(o(f));return d}}const{message:u}=s;return i([a,{name:l,message:u}],s)};return o},Bs=(e,{json:t,lossy:n}={})=>{const r=[];return Yp(!(t||n),!!t,new Map,r)(e),r},mr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Gs(Bs(e,t)):structuredClone(e):(e,t)=>Gs(Bs(e,t));function _p(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function Up(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function qp(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||_p,r=e.options.footnoteBackLabel||Up,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let l=-1;for(;++l<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[l]);if(!u)continue;const c=e.all(u),d=String(u.identifier).toUpperCase(),f=mn(d.toLowerCase());let p=0;const b=[],g=e.footnoteCounts.get(d);for(;g!==void 0&&++p<=g;){b.length>0&&b.push({type:"text",value:" "});let S=typeof n=="string"?n:n(l,p);typeof S=="string"&&(S={type:"text",value:S}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(S)?S:[S]})}const I=c[c.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const S=I.children[I.children.length-1];S&&S.type==="text"?S.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...b)}else c.push(...b);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(c,!0)};e.patch(u,v),a.push(v)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...mr(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
9
+ `});const u={type:"element",tagName:"li",properties:o,children:s};return e.patch(t,u),e.applyData(t,u)}function Lp(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=As(n[r])}return t}function As(e){const t=e.spread;return t??e.children.length>1}function Rp(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const s=r[i];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function Mp(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Xp(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function Hp(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function zp(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],s),i.push(s)}if(n.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=ii(t.children[1]),l=Wo(t.children[t.children.length-1]);a&&l&&(s.position={start:a,end:l}),i.push(s)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function Wp(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",s=n&&n.type==="table"?n.align:void 0,a=s?s.length:t.children.length;let l=-1;const u=[];for(;++l<a;){const d=t.children[l],f={},p=s?s[l]:void 0;p&&(f.align=p);let b={type:"element",tagName:o,properties:f,children:[]};d&&(b.children=e.all(d),e.patch(d,b),b=e.applyData(d,b)),u.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function Zp(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ws=9,Ss=32;function jp(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Es(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Es(t.slice(i),i>0,!1)),o.join("")}function Es(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===ws||o===Ss;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===ws||o===Ss;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function Jp(e,t){const n={type:"text",value:jp(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Yp(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const _p={blockquote:Ap,break:wp,code:Sp,delete:Ep,emphasis:kp,footnoteReference:Fp,heading:Pp,html:Gp,imageReference:Bp,image:Tp,inlineCode:Op,linkReference:Dp,link:Vp,listItem:Np,list:Rp,paragraph:Mp,root:Xp,strong:Hp,table:zp,tableCell:Zp,tableRow:Wp,text:Jp,thematicBreak:Yp,toml:dr,yaml:dr,definition:dr,footnoteDefinition:dr};function dr(){}const ks=-1,pr=0,fr=1,hr=2,bi=3,yi=4,vi=5,Ii=6,Fs=7,Ps=8,Gs=typeof self=="object"?self:globalThis,Up=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,s]=t[i];switch(o){case pr:case ks:return n(s,i);case fr:{const a=n([],i);for(const l of s)a.push(r(l));return a}case hr:{const a=n({},i);for(const[l,u]of s)a[r(l)]=r(u);return a}case bi:return n(new Date(s),i);case yi:{const{source:a,flags:l}=s;return n(new RegExp(a,l),i)}case vi:{const a=n(new Map,i);for(const[l,u]of s)a.set(r(l),r(u));return a}case Ii:{const a=n(new Set,i);for(const l of s)a.add(r(l));return a}case Fs:{const{name:a,message:l}=s;return n(new Gs[a](l),i)}case Ps:return n(BigInt(s),i);case"BigInt":return n(Object(BigInt(s)),i)}return n(new Gs[o](s),i)};return r},Bs=e=>Up(new Map,e)(0),bn="",{toString:qp}={},{keys:Qp}=Object,Hn=e=>{const t=typeof e;if(t!=="object"||!e)return[pr,t];const n=qp.call(e).slice(8,-1);switch(n){case"Array":return[fr,bn];case"Object":return[hr,bn];case"Date":return[bi,bn];case"RegExp":return[yi,bn];case"Map":return[vi,bn];case"Set":return[Ii,bn]}return n.includes("Array")?[fr,n]:n.includes("Error")?[Fs,n]:[hr,n]},gr=([e,t])=>e===pr&&(t==="function"||t==="symbol"),$p=(e,t,n,r)=>{const i=(s,a)=>{const l=r.push(s)-1;return n.set(a,l),l},o=s=>{if(n.has(s))return n.get(s);let[a,l]=Hn(s);switch(a){case pr:{let c=s;switch(l){case"bigint":a=Ps,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);c=null;break;case"undefined":return i([ks],s)}return i([a,c],s)}case fr:{if(l)return i([l,[...s]],s);const c=[],d=i([a,c],s);for(const f of s)c.push(o(f));return d}case hr:{if(l)switch(l){case"BigInt":return i([l,s.toString()],s);case"Boolean":case"Number":case"String":return i([l,s.valueOf()],s)}if(t&&"toJSON"in s)return o(s.toJSON());const c=[],d=i([a,c],s);for(const f of Qp(s))(e||!gr(Hn(s[f])))&&c.push([o(f),o(s[f])]);return d}case bi:return i([a,s.toISOString()],s);case yi:{const{source:c,flags:d}=s;return i([a,{source:c,flags:d}],s)}case vi:{const c=[],d=i([a,c],s);for(const[f,p]of s)(e||!(gr(Hn(f))||gr(Hn(p))))&&c.push([o(f),o(p)]);return d}case Ii:{const c=[],d=i([a,c],s);for(const f of s)(e||!gr(Hn(f)))&&c.push(o(f));return d}}const{message:u}=s;return i([a,{name:l,message:u}],s)};return o},Ts=(e,{json:t,lossy:n}={})=>{const r=[];return $p(!(t||n),!!t,new Map,r)(e),r},mr=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Bs(Ts(e,t)):structuredClone(e):(e,t)=>Bs(Ts(e,t));function Kp(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function ef(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function tf(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||Kp,r=e.options.footnoteBackLabel||ef,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let l=-1;for(;++l<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[l]);if(!u)continue;const c=e.all(u),d=String(u.identifier).toUpperCase(),f=mn(d.toLowerCase());let p=0;const b=[],g=e.footnoteCounts.get(d);for(;g!==void 0&&++p<=g;){b.length>0&&b.push({type:"text",value:" "});let E=typeof n=="string"?n:n(l,p);typeof E=="string"&&(E={type:"text",value:E}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+f+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(E)?E:[E]})}const I=c[c.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const E=I.children[I.children.length-1];E&&E.type==="text"?E.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...b)}else c.push(...b);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+f},children:e.wrap(c,!0)};e.patch(u,v),a.push(v)}if(a.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...mr(s),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:`
10
10
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:`
11
- `}]}}const Ts=function(e){if(e==null)return ef;if(typeof e=="function")return br(e);if(typeof e=="object")return Array.isArray(e)?Qp(e):$p(e);if(typeof e=="string")return Kp(e);throw new Error("Expected function, string, or object as test")};function Qp(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ts(e[n]);return br(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function $p(e){const t=e;return br(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Kp(e){return br(t);function t(n){return n&&n.type===e}}function br(e){return t;function t(n,r,i){return!!(tf(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function ef(){return!0}function tf(e){return e!==null&&typeof e=="object"&&"type"in e}function My(e){return e}const Os=[],nf=!0,Ds=!1,rf="skip";function of(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Ts(i),s=r?-1:1;a(e,void 0,[])();function a(l,u,c){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=Os,b,g,I;if((!t||o(l,u,c[c.length-1]||void 0))&&(p=sf(n(l,c)),p[0]===Ds))return p;if("children"in l&&l.children){const v=l;if(v.children&&p[0]!==rf)for(g=(r?v.children.length:-1)+s,I=c.concat(v);g>-1&&g<v.children.length;){const S=v.children[g];if(b=a(S,g,I)(),b[0]===Ds)return b;g=typeof b[1]=="number"?b[1]:g+s}}return p}}}function sf(e){return Array.isArray(e)?e:typeof e=="number"?[nf,e]:e==null?Os:[e]}function Vs(e,t,n,r){let i,o,s;typeof t=="function"&&typeof n!="function"?(o=void 0,s=t,i=n):(o=t,s=n,i=r),of(e,o,a,i);function a(l,u){const c=u[u.length-1],d=c?c.children.indexOf(l):void 0;return s(l,d,c)}}const Ci={}.hasOwnProperty,af={};function lf(e,t){const n=t||af,r=new Map,i=new Map,o=new Map,s={...Wp,...n.handlers},a={all:u,applyData:cf,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:n,patch:uf,wrap:pf};return Vs(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const d=c.type==="definition"?r:i,f=String(c.identifier).toUpperCase();d.has(f)||d.set(f,c)}}),a;function l(c,d){const f=c.type,p=a.handlers[f];if(Ci.call(a.handlers,f)&&p)return p(a,c,d);if(a.options.passThrough&&a.options.passThrough.includes(f)){if("children"in c){const{children:g,...I}=c,v=mr(I);return v.children=a.all(c),v}return mr(c)}return(a.options.unknownHandler||df)(a,c,d)}function u(c){const d=[];if("children"in c){const f=c.children;let p=-1;for(;++p<f.length;){const b=a.one(f[p],c);if(b){if(p&&f[p-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Ns(b.value)),!Array.isArray(b)&&b.type==="element")){const g=b.children[0];g&&g.type==="text"&&(g.value=Ns(g.value))}Array.isArray(b)?d.push(...b):d.push(b)}}}return d}}function uf(e,t){e.position&&(t.position=Uu(e))}function cf(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&o&&Object.assign(n.properties,mr(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function df(e,t){const n=t.data||{},r="value"in t&&!(Ci.call(n,"hProperties")||Ci.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function pf(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
11
+ `}]}}const Os=function(e){if(e==null)return sf;if(typeof e=="function")return br(e);if(typeof e=="object")return Array.isArray(e)?nf(e):rf(e);if(typeof e=="string")return of(e);throw new Error("Expected function, string, or object as test")};function nf(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Os(e[n]);return br(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function rf(e){const t=e;return br(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function of(e){return br(t);function t(n){return n&&n.type===e}}function br(e){return t;function t(n,r,i){return!!(af(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function sf(){return!0}function af(e){return e!==null&&typeof e=="object"&&"type"in e}function Yy(e){return e}const Ds=[],lf=!0,Vs=!1,uf="skip";function cf(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=Os(i),s=r?-1:1;a(e,void 0,[])();function a(l,u,c){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const p=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+(l.type+(p?"<"+p+">":""))+")"})}return f;function f(){let p=Ds,b,g,I;if((!t||o(l,u,c[c.length-1]||void 0))&&(p=df(n(l,c)),p[0]===Vs))return p;if("children"in l&&l.children){const v=l;if(v.children&&p[0]!==uf)for(g=(r?v.children.length:-1)+s,I=c.concat(v);g>-1&&g<v.children.length;){const E=v.children[g];if(b=a(E,g,I)(),b[0]===Vs)return b;g=typeof b[1]=="number"?b[1]:g+s}}return p}}}function df(e){return Array.isArray(e)?e:typeof e=="number"?[lf,e]:e==null?Ds:[e]}function Ns(e,t,n,r){let i,o,s;typeof t=="function"&&typeof n!="function"?(o=void 0,s=t,i=n):(o=t,s=n,i=r),cf(e,o,a,i);function a(l,u){const c=u[u.length-1],d=c?c.children.indexOf(l):void 0;return s(l,d,c)}}const Ci={}.hasOwnProperty,pf={};function ff(e,t){const n=t||pf,r=new Map,i=new Map,o=new Map,s={..._p,...n.handlers},a={all:u,applyData:gf,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:s,one:l,options:n,patch:hf,wrap:bf};return Ns(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const d=c.type==="definition"?r:i,f=String(c.identifier).toUpperCase();d.has(f)||d.set(f,c)}}),a;function l(c,d){const f=c.type,p=a.handlers[f];if(Ci.call(a.handlers,f)&&p)return p(a,c,d);if(a.options.passThrough&&a.options.passThrough.includes(f)){if("children"in c){const{children:g,...I}=c,v=mr(I);return v.children=a.all(c),v}return mr(c)}return(a.options.unknownHandler||mf)(a,c,d)}function u(c){const d=[];if("children"in c){const f=c.children;let p=-1;for(;++p<f.length;){const b=a.one(f[p],c);if(b){if(p&&f[p-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=Ls(b.value)),!Array.isArray(b)&&b.type==="element")){const g=b.children[0];g&&g.type==="text"&&(g.value=Ls(g.value))}Array.isArray(b)?d.push(...b):d.push(b)}}}return d}}function hf(e,t){e.position&&(t.position=ec(e))}function gf(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const s="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:s}}n.type==="element"&&o&&Object.assign(n.properties,mr(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function mf(e,t){const n=t.data||{},r="value"in t&&!(Ci.call(n,"hProperties")||Ci.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function bf(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
12
12
  `});++r<e.length;)r&&n.push({type:"text",value:`
13
13
  `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
14
- `}),n}function Ns(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ls(e,t){const n=lf(e,t),r=n.one(e,void 0),i=qp(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
15
- `},i),o}function ff(e,t){return e&&"run"in e?async function(n,r){const i=Ls(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Ls(n,{file:r,...e||t})}}function Rs(e){if(e)throw e}var yr=Object.prototype.hasOwnProperty,Ms=Object.prototype.toString,Xs=Object.defineProperty,Hs=Object.getOwnPropertyDescriptor,zs=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Ms.call(t)==="[object Array]"},Ws=function(t){if(!t||Ms.call(t)!=="[object Object]")return!1;var n=yr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&yr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||yr.call(t,i)},Zs=function(t,n){Xs&&n.name==="__proto__"?Xs(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},js=function(t,n){if(n==="__proto__")if(yr.call(t,n)){if(Hs)return Hs(t,n).value}else return;return t[n]},hf=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<u;++l)if(t=arguments[l],t!=null)for(n in t)r=js(a,n),i=js(t,n),a!==i&&(c&&i&&(Ws(i)||(o=zs(i)))?(o?(o=!1,s=r&&zs(r)?r:[]):s=r&&Ws(r)?r:{},Zs(a,{name:n,newValue:e(c,s,i)})):typeof i<"u"&&Zs(a,{name:n,newValue:i}));return a};const xi=Vo(hf);function Ai(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function gf(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(l,...u){const c=e[++o];let d=-1;if(l){s(l);return}for(;++d<i.length;)(u[d]===null||u[d]===void 0)&&(u[d]=i[d]);i=u,c?mf(c,a)(...u):s(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function mf(e,t){let n;return r;function r(...s){const a=e.length>s.length;let l;a&&s.push(i);try{l=e.apply(this,s)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(s,...a){n||(n=!0,t(s,...a))}function o(s){i(null,s)}}const bt={basename:bf,dirname:yf,extname:vf,join:If,sep:"/"};function bf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zn(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function yf(e){if(zn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function vf(e){zn(e);let t=e.length,n=-1,r=0,i=-1,o=0,s;for(;t--;){const a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function If(...e){let t=-1,n;for(;++t<e.length;)zn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Cf(n)}function Cf(e){zn(e);const t=e.codePointAt(0)===47;let n=xf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function xf(e,t){let n="",r=0,i=-1,o=0,s=-1,a,l;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,o=0}else a===46&&o>-1?o++:o=-1}return n}function zn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Af={cwd:wf};function wf(){return"/"}function wi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Sf(e){if(typeof e=="string")e=new URL(e);else if(!wi(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Ef(e)}function Ef(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Si=["history","path","basename","stem","extname","dirname"];class Js{constructor(t){let n;t?wi(t)?n={path:t}:typeof t=="string"||kf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Af.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Si.length;){const o=Si[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Si.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?bt.basename(this.path):void 0}set basename(t){ki(t,"basename"),Ei(t,"basename"),this.path=bt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?bt.dirname(this.path):void 0}set dirname(t){Ys(this.basename,"dirname"),this.path=bt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?bt.extname(this.path):void 0}set extname(t){if(Ei(t,"extname"),Ys(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=bt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){wi(t)&&(t=Sf(t)),ki(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?bt.basename(this.path,this.extname):void 0}set stem(t){ki(t,"stem"),Ei(t,"stem"),this.path=bt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Re(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ei(e,t){if(e&&e.includes(bt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+bt.sep+"`")}function ki(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Ys(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function kf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Ff=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},Pf={}.hasOwnProperty;class Fi extends Ff{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=gf()}copy(){const t=new Fi;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(xi(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Bi("data",this.frozen),this.namespace[t]=n,this):Pf.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Bi("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=vr(t),r=this.parser||this.Parser;return Pi("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pi("process",this.parser||this.Parser),Gi("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){const a=vr(t),l=r.parse(a);r.run(l,a,function(c,d,f){if(c||!d||!f)return u(c);const p=d,b=r.stringify(p,f);Tf(b)?f.value=b:f.result=b,u(c,f)});function u(c,d){c||!d?s(c):o?o(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),Pi("processSync",this.parser||this.Parser),Gi("processSync",this.compiler||this.Compiler),this.process(t,i),Us("processSync","process",n),r;function i(o,s){n=!0,Rs(o),r=s}}run(t,n,r){_s(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,a){const l=vr(n);i.run(t,l,u);function u(c,d,f){const p=d||t;c?a(c):s?s(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),Us("runSync","run",r),i;function o(s,a){Rs(s),i=a,r=!0}}stringify(t,n){this.freeze();const r=vr(n),i=this.compiler||this.Compiler;return Gi("stringify",i),_s(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Bi("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...d]=u;l(c,d)}else s(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function s(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=xi(!0,i.settings,u.settings))}function a(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const d=u[c];o(d)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===u){f=d;break}if(f===-1)r.push([u,...c]);else if(c.length>0){let[p,...b]=c;const g=r[f][1];Ai(g)&&Ai(p)&&(p=xi(!0,g,p)),r[f]=[u,p,...b]}}}}const Gf=new Fi().freeze();function Pi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Gi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Bi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function _s(e){if(!Ai(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Us(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vr(e){return Bf(e)?e:new Js(e)}function Bf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Tf(e){return typeof e=="string"||Of(e)}function Of(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Df="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",qs=[],Qs={allowDangerousHtml:!0},Vf=/^(https?|ircs?|mailto|xmpp)$/i,Nf=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function $s(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,a=e.rehypePlugins||qs,l=e.remarkPlugins||qs,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Qs}:Qs,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||Lf,p=Gf().use(bp).use(l).use(ff,u).use(a),b=new Js;typeof r=="string"&&(b.value=r);for(const S of Nf)Object.hasOwn(e,S.from)&&(""+S.from+(S.to?"use `"+S.to+"` instead":"remove it")+Df+S.id,void 0);const g=p.parse(b);let I=p.runSync(g,b);return i&&(I={type:"element",tagName:"div",properties:{className:i},children:I.type==="root"?I.children:[I]}),Vs(I,v),tc(I,{Fragment:O.Fragment,components:o,ignoreInvalidStyle:!0,jsx:O.jsx,jsxs:O.jsxs,passKeys:!0,passNode:!0});function v(S,w,k){if(S.type==="raw"&&k&&typeof w=="number")return c?k.children.splice(w,1):k.children[w]={type:"text",value:S.value},w;if(S.type==="element"){let B;for(B in ui)if(Object.hasOwn(ui,B)&&Object.hasOwn(S.properties,B)){const A=S.properties[B],L=ui[B];(L===null||L.includes(S.tagName))&&(S.properties[B]=f(String(A||""),B,S))}}if(S.type==="element"){let B=t?!t.includes(S.tagName):s?s.includes(S.tagName):!1;if(!B&&n&&typeof w=="number"&&(B=!n(S,w,k)),B&&k&&typeof w=="number")return d&&S.children?k.children.splice(w,1,...S.children):k.children.splice(w,1),w}}}function Lf(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||Vf.test(e.slice(0,t))?e:""}function Ir({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},n={...t,background:"#fff3cd"},r={...t,background:"#d1ecf1"},i={...t,background:"#f8d7da"},o={...t,background:"#fffff2"};let s={};switch(e.alertType){case"info":s=r;break;case"neutral":s=o;break;case"warning":s=n;break;case"error":s=i;break;default:s=t}return O.jsx("div",{className:`pd-alert-${e.alertType}`,style:s,children:O.jsx($s,{components:{a:({...a})=>O.jsx("a",{...a,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var Cr={exports:{}};Cr.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,a="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",b="[object GeneratorFunction]",g="[object Map]",I="[object Number]",v="[object Null]",S="[object Object]",w="[object Promise]",k="[object Proxy]",B="[object RegExp]",A="[object Set]",L="[object String]",E="[object Symbol]",V="[object Undefined]",D="[object WeakMap]",T="[object ArrayBuffer]",N="[object DataView]",q="[object Float32Array]",ie="[object Float64Array]",z="[object Int8Array]",U="[object Int16Array]",ue="[object Int32Array]",fe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",y="[object Uint16Array]",ce="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,me=/^(?:0|[1-9]\d*)$/,te={};te[q]=te[ie]=te[z]=te[U]=te[ue]=te[fe]=te[Ie]=te[y]=te[ce]=!0,te[a]=te[l]=te[T]=te[c]=te[N]=te[d]=te[f]=te[p]=te[g]=te[I]=te[S]=te[B]=te[A]=te[L]=te[D]=!1;var he=typeof hn=="object"&&hn&&hn.Object===Object&&hn,De=typeof self=="object"&&self&&self.Object===Object&&self,ge=he||De||Function("return this")(),Xe=t&&!t.nodeType&&t,Ue=Xe&&!0&&e&&!e.nodeType&&e,st=Ue&&Ue.exports===Xe,at=st&&he.process,Ht=function(){try{return at&&at.binding&&at.binding("util")}catch{}}(),X=Ht&&Ht.isTypedArray;function Z(h,x){for(var G=-1,W=h==null?0:h.length,we=0,oe=[];++G<W;){var Be=h[G];x(Be,G,h)&&(oe[we++]=Be)}return oe}function Q(h,x){for(var G=-1,W=x.length,we=h.length;++G<W;)h[we+G]=x[G];return h}function be(h,x){for(var G=-1,W=h==null?0:h.length;++G<W;)if(x(h[G],G,h))return!0;return!1}function Oe(h,x){for(var G=-1,W=Array(h);++G<h;)W[G]=x(G);return W}function He(h){return function(x){return h(x)}}function Dn(h,x){return h.has(x)}function nr(h,x){return h==null?void 0:h[x]}function ke(h){var x=-1,G=Array(h.size);return h.forEach(function(W,we){G[++x]=[we,W]}),G}function Ae(h,x){return function(G){return h(x(G))}}function Se(h){var x=-1,G=Array(h.size);return h.forEach(function(W){G[++x]=W}),G}var Ee=Array.prototype,F=Function.prototype,M=Object.prototype,K=ge["__core-js_shared__"],ae=F.toString,le=M.hasOwnProperty,qe=function(){var h=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),At=M.toString,pt=RegExp("^"+ae.call(le).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=st?ge.Buffer:void 0,wt=ge.Symbol,ze=ge.Uint8Array,Ft=M.propertyIsEnumerable,ft=Ee.splice,an=wt?wt.toStringTag:void 0,tu=Object.getOwnPropertySymbols,Tb=zt?zt.isBuffer:void 0,Ob=Ae(Object.keys,Object),lo=Vn(ge,"DataView"),rr=Vn(ge,"Map"),uo=Vn(ge,"Promise"),co=Vn(ge,"Set"),po=Vn(ge,"WeakMap"),ir=Vn(Object,"create"),Db=cn(lo),Vb=cn(rr),Nb=cn(uo),Lb=cn(co),Rb=cn(po),nu=wt?wt.prototype:void 0,fo=nu?nu.valueOf:void 0;function ln(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var W=h[x];this.set(W[0],W[1])}}function Mb(){this.__data__=ir?ir(null):{},this.size=0}function Xb(h){var x=this.has(h)&&delete this.__data__[h];return this.size-=x?1:0,x}function Hb(h){var x=this.__data__;if(ir){var G=x[h];return G===r?void 0:G}return le.call(x,h)?x[h]:void 0}function zb(h){var x=this.__data__;return ir?x[h]!==void 0:le.call(x,h)}function Wb(h,x){var G=this.__data__;return this.size+=this.has(h)?0:1,G[h]=ir&&x===void 0?r:x,this}ln.prototype.clear=Mb,ln.prototype.delete=Xb,ln.prototype.get=Hb,ln.prototype.has=zb,ln.prototype.set=Wb;function Pt(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var W=h[x];this.set(W[0],W[1])}}function Zb(){this.__data__=[],this.size=0}function jb(h){var x=this.__data__,G=Jr(x,h);if(G<0)return!1;var W=x.length-1;return G==W?x.pop():ft.call(x,G,1),--this.size,!0}function Jb(h){var x=this.__data__,G=Jr(x,h);return G<0?void 0:x[G][1]}function Yb(h){return Jr(this.__data__,h)>-1}function _b(h,x){var G=this.__data__,W=Jr(G,h);return W<0?(++this.size,G.push([h,x])):G[W][1]=x,this}Pt.prototype.clear=Zb,Pt.prototype.delete=jb,Pt.prototype.get=Jb,Pt.prototype.has=Yb,Pt.prototype.set=_b;function un(h){var x=-1,G=h==null?0:h.length;for(this.clear();++x<G;){var W=h[x];this.set(W[0],W[1])}}function Ub(){this.size=0,this.__data__={hash:new ln,map:new(rr||Pt),string:new ln}}function qb(h){var x=Yr(this,h).delete(h);return this.size-=x?1:0,x}function Qb(h){return Yr(this,h).get(h)}function $b(h){return Yr(this,h).has(h)}function Kb(h,x){var G=Yr(this,h),W=G.size;return G.set(h,x),this.size+=G.size==W?0:1,this}un.prototype.clear=Ub,un.prototype.delete=qb,un.prototype.get=Qb,un.prototype.has=$b,un.prototype.set=Kb;function jr(h){var x=-1,G=h==null?0:h.length;for(this.__data__=new un;++x<G;)this.add(h[x])}function ey(h){return this.__data__.set(h,r),this}function ty(h){return this.__data__.has(h)}jr.prototype.add=jr.prototype.push=ey,jr.prototype.has=ty;function Wt(h){var x=this.__data__=new Pt(h);this.size=x.size}function ny(){this.__data__=new Pt,this.size=0}function ry(h){var x=this.__data__,G=x.delete(h);return this.size=x.size,G}function iy(h){return this.__data__.get(h)}function oy(h){return this.__data__.has(h)}function sy(h,x){var G=this.__data__;if(G instanceof Pt){var W=G.__data__;if(!rr||W.length<n-1)return W.push([h,x]),this.size=++G.size,this;G=this.__data__=new un(W)}return G.set(h,x),this.size=G.size,this}Wt.prototype.clear=ny,Wt.prototype.delete=ry,Wt.prototype.get=iy,Wt.prototype.has=oy,Wt.prototype.set=sy;function ay(h,x){var G=_r(h),W=!G&&xy(h),we=!G&&!W&&ho(h),oe=!G&&!W&&!we&&du(h),Be=G||W||we||oe,Ve=Be?Oe(h.length,String):[],Le=Ve.length;for(var Fe in h)le.call(h,Fe)&&!(Be&&(Fe=="length"||we&&(Fe=="offset"||Fe=="parent")||oe&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||by(Fe,Le)))&&Ve.push(Fe);return Ve}function Jr(h,x){for(var G=h.length;G--;)if(au(h[G][0],x))return G;return-1}function ly(h,x,G){var W=x(h);return _r(h)?W:Q(W,G(h))}function or(h){return h==null?h===void 0?V:v:an&&an in Object(h)?gy(h):Cy(h)}function ru(h){return sr(h)&&or(h)==a}function iu(h,x,G,W,we){return h===x?!0:h==null||x==null||!sr(h)&&!sr(x)?h!==h&&x!==x:uy(h,x,G,W,iu,we)}function uy(h,x,G,W,we,oe){var Be=_r(h),Ve=_r(x),Le=Be?l:Zt(h),Fe=Ve?l:Zt(x);Le=Le==a?S:Le,Fe=Fe==a?S:Fe;var tt=Le==S,ht=Fe==S,We=Le==Fe;if(We&&ho(h)){if(!ho(x))return!1;Be=!0,tt=!1}if(We&&!tt)return oe||(oe=new Wt),Be||du(h)?ou(h,x,G,W,we,oe):fy(h,x,Le,G,W,we,oe);if(!(G&i)){var lt=tt&&le.call(h,"__wrapped__"),ut=ht&&le.call(x,"__wrapped__");if(lt||ut){var jt=lt?h.value():h,Gt=ut?x.value():x;return oe||(oe=new Wt),we(jt,Gt,G,W,oe)}}return We?(oe||(oe=new Wt),hy(h,x,G,W,we,oe)):!1}function cy(h){if(!cu(h)||vy(h))return!1;var x=lu(h)?pt:m;return x.test(cn(h))}function dy(h){return sr(h)&&uu(h.length)&&!!te[or(h)]}function py(h){if(!Iy(h))return Ob(h);var x=[];for(var G in Object(h))le.call(h,G)&&G!="constructor"&&x.push(G);return x}function ou(h,x,G,W,we,oe){var Be=G&i,Ve=h.length,Le=x.length;if(Ve!=Le&&!(Be&&Le>Ve))return!1;var Fe=oe.get(h);if(Fe&&oe.get(x))return Fe==x;var tt=-1,ht=!0,We=G&o?new jr:void 0;for(oe.set(h,x),oe.set(x,h);++tt<Ve;){var lt=h[tt],ut=x[tt];if(W)var jt=Be?W(ut,lt,tt,x,h,oe):W(lt,ut,tt,h,x,oe);if(jt!==void 0){if(jt)continue;ht=!1;break}if(We){if(!be(x,function(Gt,dn){if(!Dn(We,dn)&&(lt===Gt||we(lt,Gt,G,W,oe)))return We.push(dn)})){ht=!1;break}}else if(!(lt===ut||we(lt,ut,G,W,oe))){ht=!1;break}}return oe.delete(h),oe.delete(x),ht}function fy(h,x,G,W,we,oe,Be){switch(G){case N:if(h.byteLength!=x.byteLength||h.byteOffset!=x.byteOffset)return!1;h=h.buffer,x=x.buffer;case T:return!(h.byteLength!=x.byteLength||!oe(new ze(h),new ze(x)));case c:case d:case I:return au(+h,+x);case f:return h.name==x.name&&h.message==x.message;case B:case L:return h==x+"";case g:var Ve=ke;case A:var Le=W&i;if(Ve||(Ve=Se),h.size!=x.size&&!Le)return!1;var Fe=Be.get(h);if(Fe)return Fe==x;W|=o,Be.set(h,x);var tt=ou(Ve(h),Ve(x),W,we,oe,Be);return Be.delete(h),tt;case E:if(fo)return fo.call(h)==fo.call(x)}return!1}function hy(h,x,G,W,we,oe){var Be=G&i,Ve=su(h),Le=Ve.length,Fe=su(x),tt=Fe.length;if(Le!=tt&&!Be)return!1;for(var ht=Le;ht--;){var We=Ve[ht];if(!(Be?We in x:le.call(x,We)))return!1}var lt=oe.get(h);if(lt&&oe.get(x))return lt==x;var ut=!0;oe.set(h,x),oe.set(x,h);for(var jt=Be;++ht<Le;){We=Ve[ht];var Gt=h[We],dn=x[We];if(W)var pu=Be?W(dn,Gt,We,x,h,oe):W(Gt,dn,We,h,x,oe);if(!(pu===void 0?Gt===dn||we(Gt,dn,G,W,oe):pu)){ut=!1;break}jt||(jt=We=="constructor")}if(ut&&!jt){var Ur=h.constructor,qr=x.constructor;Ur!=qr&&"constructor"in h&&"constructor"in x&&!(typeof Ur=="function"&&Ur instanceof Ur&&typeof qr=="function"&&qr instanceof qr)&&(ut=!1)}return oe.delete(h),oe.delete(x),ut}function su(h){return ly(h,Sy,my)}function Yr(h,x){var G=h.__data__;return yy(x)?G[typeof x=="string"?"string":"hash"]:G.map}function Vn(h,x){var G=nr(h,x);return cy(G)?G:void 0}function gy(h){var x=le.call(h,an),G=h[an];try{h[an]=void 0;var W=!0}catch{}var we=At.call(h);return W&&(x?h[an]=G:delete h[an]),we}var my=tu?function(h){return h==null?[]:(h=Object(h),Z(tu(h),function(x){return Ft.call(h,x)}))}:Ey,Zt=or;(lo&&Zt(new lo(new ArrayBuffer(1)))!=N||rr&&Zt(new rr)!=g||uo&&Zt(uo.resolve())!=w||co&&Zt(new co)!=A||po&&Zt(new po)!=D)&&(Zt=function(h){var x=or(h),G=x==S?h.constructor:void 0,W=G?cn(G):"";if(W)switch(W){case Db:return N;case Vb:return g;case Nb:return w;case Lb:return A;case Rb:return D}return x});function by(h,x){return x=x??s,!!x&&(typeof h=="number"||me.test(h))&&h>-1&&h%1==0&&h<x}function yy(h){var x=typeof h;return x=="string"||x=="number"||x=="symbol"||x=="boolean"?h!=="__proto__":h===null}function vy(h){return!!qe&&qe in h}function Iy(h){var x=h&&h.constructor,G=typeof x=="function"&&x.prototype||M;return h===G}function Cy(h){return At.call(h)}function cn(h){if(h!=null){try{return ae.call(h)}catch{}try{return h+""}catch{}}return""}function au(h,x){return h===x||h!==h&&x!==x}var xy=ru(function(){return arguments}())?ru:function(h){return sr(h)&&le.call(h,"callee")&&!Ft.call(h,"callee")},_r=Array.isArray;function Ay(h){return h!=null&&uu(h.length)&&!lu(h)}var ho=Tb||ky;function wy(h,x){return iu(h,x)}function lu(h){if(!cu(h))return!1;var x=or(h);return x==p||x==b||x==u||x==k}function uu(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=s}function cu(h){var x=typeof h;return h!=null&&(x=="object"||x=="function")}function sr(h){return h!=null&&typeof h=="object"}var du=X?He(X):dy;function Sy(h){return Ay(h)?ay(h):py(h)}function Ey(){return[]}function ky(){return!1}e.exports=wy}(Cr,Cr.exports);var Rf=Cr.exports;const Ks=Vo(Rf);var Wn=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ut=typeof window>"u"||"Deno"in globalThis;function it(){}function Mf(e,t){return typeof e=="function"?e(t):e}function Ti(e){return typeof e=="number"&&e>=0&&e!==1/0}function ea(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yn(e,t){return typeof e=="function"?e(t):e}function ct(e,t){return typeof e=="function"?e(t):e}function ta(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Oi(s,t.options))return!1}else if(!jn(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function na(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Zn(t.options.mutationKey)!==Zn(o))return!1}else if(!jn(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Oi(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zn)(e)}function Zn(e){return JSON.stringify(e,(t,n)=>Ni(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function jn(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!jn(e[n],t[n])):!1}function Di(e,t){if(e===t)return e;const n=ra(e)&&ra(t);if(n||Ni(e)&&Ni(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u<s;u++){const c=n?u:o[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=Di(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return i===s&&l===i?e:a}return t}function Vi(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function ra(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ni(e){if(!ia(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!ia(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function ia(e){return Object.prototype.toString.call(e)==="[object Object]"}function Xf(e){return new Promise(t=>{setTimeout(t,e)})}function Li(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Di(e,t)}catch(r){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`)}return Di(e,t)}return t}function Hf(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function zf(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var xr=Symbol();function oa(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===xr&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===xr?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Wf=(Jl=class extends Wn{constructor(){super();ee(this,Kt);ee(this,Dt);ee(this,Cn);j(this,Cn,t=>{if(!Ut&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,Dt)||this.setEventListener(C(this,Cn))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Dt))==null||t.call(this),j(this,Dt,void 0))}setEventListener(t){var n;j(this,Cn,t),(n=C(this,Dt))==null||n.call(this),j(this,Dt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,Kt)!==t&&(j(this,Kt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,Kt)=="boolean"?C(this,Kt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Kt=new WeakMap,Dt=new WeakMap,Cn=new WeakMap,Jl),Ri=new Wf,Zf=(Yl=class extends Wn{constructor(){super();ee(this,xn,!0);ee(this,Vt);ee(this,An);j(this,An,t=>{if(!Ut&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,Vt)||this.setEventListener(C(this,An))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Vt))==null||t.call(this),j(this,Vt,void 0))}setEventListener(t){var n;j(this,An,t),(n=C(this,Vt))==null||n.call(this),j(this,Vt,t(this.setOnline.bind(this)))}setOnline(t){C(this,xn)!==t&&(j(this,xn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,xn)}},xn=new WeakMap,Vt=new WeakMap,An=new WeakMap,Yl),Ar=new Zf;function Mi(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function jf(e){return Math.min(1e3*2**e,3e4)}function sa(e){return(e??"online")==="online"?Ar.isOnline():!0}var aa=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Xi(e){return e instanceof aa}function la(e){let t=!1,n=0,r=!1,i;const o=Mi(),s=g=>{var I;r||(f(new aa(g)),(I=e.abort)==null||I.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ri.isFocused()&&(e.networkMode==="always"||Ar.isOnline())&&e.canRun(),c=()=>sa(e.networkMode)&&e.canRun(),d=g=>{var I;r||(r=!0,(I=e.onSuccess)==null||I.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var I;r||(r=!0,(I=e.onError)==null||I.call(e,g),i==null||i(),o.reject(g))},p=()=>new Promise(g=>{var I;i=v=>{(r||u())&&g(v)},(I=e.onPause)==null||I.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(r)return;let g;const I=n===0?e.initialPromise:void 0;try{g=I??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(d).catch(v=>{var A;if(r)return;const S=e.retry??(Ut?0:3),w=e.retryDelay??jf,k=typeof w=="function"?w(n,v):w,B=S===!0||typeof S=="number"&&n<S||typeof S=="function"&&S(n,v);if(t||!B){f(v);return}n++,(A=e.onFail)==null||A.call(e,n,v),Xf(k).then(()=>u()?void 0:p()).then(()=>{t?f(v):b()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?b():p().then(b),o)}}function Jf(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ne=Jf(),ua=(_l=class{constructor(){ee(this,en)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ti(this.gcTime)&&j(this,en,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ut?1/0:5*60*1e3))}clearGcTimeout(){C(this,en)&&(clearTimeout(C(this,en)),j(this,en,void 0))}},en=new WeakMap,_l),Yf=(Ul=class extends ua{constructor(t){super();ee(this,dt);ee(this,wn);ee(this,Sn);ee(this,ot);ee(this,Me);ee(this,$n);ee(this,tn);j(this,tn,!1),j(this,$n,t.defaultOptions),this.setOptions(t.options),this.observers=[],j(this,ot,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,j(this,wn,_f(this.options)),this.state=t.state??C(this,wn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Me))==null?void 0:t.promise}setOptions(t){this.options={...C(this,$n),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,ot).remove(this)}setData(t,n){const r=Li(this.state.data,t,this.options);return pe(this,dt,Bt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){pe(this,dt,Bt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=C(this,Me))==null?void 0:r.promise;return(i=C(this,Me))==null||i.cancel(t),n?n.then(it).catch(it):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,wn))}isActive(){return this.observers.some(t=>ct(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!ea(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Me))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Me))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,ot).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Me)&&(C(this,tn)?C(this,Me).cancel({revert:!0}):C(this,Me).cancelRetry()),this.scheduleGc()),C(this,ot).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||pe(this,dt,Bt).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Me))return C(this,Me).continueRetry(),C(this,Me).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(j(this,tn,!0),r.signal)})},o=()=>{const d=oa(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),j(this,tn,!1),this.options.persister?this.options.persister(d,f,this):d(f)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(s),(l=this.options.behavior)==null||l.onFetch(s,this),j(this,Sn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&pe(this,dt,Bt).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const a=d=>{var f,p,b,g;Xi(d)&&d.silent||pe(this,dt,Bt).call(this,{type:"error",error:d}),Xi(d)||((p=(f=C(this,ot).config).onError)==null||p.call(f,d,this),(g=(b=C(this,ot).config).onSettled)==null||g.call(b,this.state.data,d,this)),this.scheduleGc()};return j(this,Me,la({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,p,b,g;if(d===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(I){a(I);return}(p=(f=C(this,ot).config).onSuccess)==null||p.call(f,d,this),(g=(b=C(this,ot).config).onSettled)==null||g.call(b,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{pe(this,dt,Bt).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{pe(this,dt,Bt).call(this,{type:"pause"})},onContinue:()=>{pe(this,dt,Bt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),C(this,Me).start()}},wn=new WeakMap,Sn=new WeakMap,ot=new WeakMap,Me=new WeakMap,$n=new WeakMap,tn=new WeakMap,dt=new WeakSet,Bt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ca(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Xi(i)&&i.revert&&C(this,Sn)?{...C(this,Sn),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ne.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,ot).notify({query:this,type:"updated",action:t})})},Ul);function ca(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:sa(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function _f(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Uf=(ql=class extends Wn{constructor(t={}){super();ee(this,vt);this.config=t,j(this,vt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Oi(i,n);let s=this.get(o);return s||(s=new Yf({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){C(this,vt).has(t.queryHash)||(C(this,vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,vt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ne.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,vt).get(t)}getAll(){return[...C(this,vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ta(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>ta(t,r)):n}notify(t){Ne.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ne.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ne.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},vt=new WeakMap,ql),qf=(Ql=class extends ua{constructor(t){super();ee(this,Ct);ee(this,It);ee(this,Ze);ee(this,nn);this.mutationId=t.mutationId,j(this,Ze,t.mutationCache),j(this,It,[]),this.state=t.state||Qf(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,It).includes(t)||(C(this,It).push(t),this.clearGcTimeout(),C(this,Ze).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){j(this,It,C(this,It).filter(n=>n!==t)),this.scheduleGc(),C(this,Ze).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,It).length||(this.state.status==="pending"?this.scheduleGc():C(this,Ze).remove(this))}continue(){var t;return((t=C(this,nn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,d,f,p,b,g,I,v,S,w,k,B,A,L;j(this,nn,la({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,V)=>{pe(this,Ct,Jt).call(this,{type:"failed",failureCount:E,error:V})},onPause:()=>{pe(this,Ct,Jt).call(this,{type:"pause"})},onContinue:()=>{pe(this,Ct,Jt).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Ze).canRun(this)}));const n=this.state.status==="pending",r=!C(this,nn).canStart();try{if(!n){pe(this,Ct,Jt).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=C(this,Ze).config).onMutate)==null?void 0:o.call(i,t,this));const V=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));V!==this.state.context&&pe(this,Ct,Jt).call(this,{type:"pending",context:V,variables:t,isPaused:r})}const E=await C(this,nn).start();return await((u=(l=C(this,Ze).config).onSuccess)==null?void 0:u.call(l,E,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,E,t,this.state.context)),await((p=(f=C(this,Ze).config).onSettled)==null?void 0:p.call(f,E,null,this.state.variables,this.state.context,this)),await((g=(b=this.options).onSettled)==null?void 0:g.call(b,E,null,t,this.state.context)),pe(this,Ct,Jt).call(this,{type:"success",data:E}),E}catch(E){try{throw await((v=(I=C(this,Ze).config).onError)==null?void 0:v.call(I,E,t,this.state.context,this)),await((w=(S=this.options).onError)==null?void 0:w.call(S,E,t,this.state.context)),await((B=(k=C(this,Ze).config).onSettled)==null?void 0:B.call(k,void 0,E,this.state.variables,this.state.context,this)),await((L=(A=this.options).onSettled)==null?void 0:L.call(A,void 0,E,t,this.state.context)),E}finally{pe(this,Ct,Jt).call(this,{type:"error",error:E})}}finally{C(this,Ze).runNext(this)}}},It=new WeakMap,Ze=new WeakMap,nn=new WeakMap,Ct=new WeakSet,Jt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ne.batch(()=>{C(this,It).forEach(r=>{r.onMutationUpdate(t)}),C(this,Ze).notify({mutation:this,type:"updated",action:t})})},Ql);function Qf(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var $f=($l=class extends Wn{constructor(t={}){super();ee(this,et);ee(this,Kn);this.config=t,j(this,et,new Map),j(this,Kn,Date.now())}build(t,n,r){const i=new qf({mutationCache:this,mutationId:++Qr(this,Kn)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=wr(t),r=C(this,et).get(n)??[];r.push(t),C(this,et).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=wr(t);if(C(this,et).has(n)){const i=(r=C(this,et).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?C(this,et).delete(n):C(this,et).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=C(this,et).get(wr(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=C(this,et).get(wr(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ne.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...C(this,et).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>na(n,r))}findAll(t={}){return this.getAll().filter(n=>na(t,n))}notify(t){Ne.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ne.batch(()=>Promise.all(t.map(n=>n.continue().catch(it))))}},et=new WeakMap,Kn=new WeakMap,$l);function wr(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function da(e){return{onFetch:(t,n)=>{var c,d,f,p,b;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const I=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=oa(t.options,t.fetchOptions),S=async(w,k,B)=>{if(g)return Promise.reject();if(k==null&&w.pages.length)return Promise.resolve(w);const A={queryKey:t.queryKey,pageParam:k,direction:B?"backward":"forward",meta:t.options.meta};I(A);const L=await v(A),{maxPages:E}=t.options,V=B?zf:Hf;return{pages:V(w.pages,L,E),pageParams:V(w.pageParams,k,E)}};if(i&&o.length){const w=i==="backward",k=w?Kf:pa,B={pages:o,pageParams:s},A=k(r,B);a=await S(B,A,w)}else{const w=e??o.length;do{const k=l===0?s[0]??r.initialPageParam:pa(r,a);if(l>0&&k==null)break;a=await S(a,k),l++}while(l<w)}return a};t.options.persister?t.fetchFn=()=>{var g,I;return(I=(g=t.options).persister)==null?void 0:I.call(g,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function pa(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Kf(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var eh=(Kl=class{constructor(e={}){ee(this,Ge);ee(this,Nt);ee(this,Lt);ee(this,En);ee(this,kn);ee(this,Rt);ee(this,Fn);ee(this,Pn);j(this,Ge,e.queryCache||new Uf),j(this,Nt,e.mutationCache||new $f),j(this,Lt,e.defaultOptions||{}),j(this,En,new Map),j(this,kn,new Map),j(this,Rt,0)}mount(){Qr(this,Rt)._++,C(this,Rt)===1&&(j(this,Fn,Ri.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Ge).onFocus())})),j(this,Pn,Ar.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Ge).onOnline())})))}unmount(){var e,t;Qr(this,Rt)._--,C(this,Rt)===0&&((e=C(this,Fn))==null||e.call(this),j(this,Fn,void 0),(t=C(this,Pn))==null||t.call(this),j(this,Pn,void 0))}isFetching(e){return C(this,Ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Nt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=C(this,Ge).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(yn(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return C(this,Ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=C(this,Ge).get(r.queryHash),o=i==null?void 0:i.state.data,s=Mf(t,o);if(s!==void 0)return C(this,Ge).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ne.batch(()=>C(this,Ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Ge);Ne.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Ge),r={type:"active",...e};return Ne.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ne.batch(()=>C(this,Ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(it).catch(it)}invalidateQueries(e={},t={}){return Ne.batch(()=>{if(C(this,Ge).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Ne.batch(()=>C(this,Ge).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(it)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(it)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Ge).build(this,t);return n.isStaleByTime(yn(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(it).catch(it)}fetchInfiniteQuery(e){return e.behavior=da(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(it).catch(it)}ensureInfiniteQueryData(e){return e.behavior=da(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ar.isOnline()?C(this,Nt).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Ge)}getMutationCache(){return C(this,Nt)}getDefaultOptions(){return C(this,Lt)}setDefaultOptions(e){j(this,Lt,e)}setQueryDefaults(e,t){C(this,En).set(Zn(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,En).values()];let n={};return t.forEach(r=>{jn(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){C(this,kn).set(Zn(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,kn).values()];let n={};return t.forEach(r=>{jn(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,Lt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Oi(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===xr&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,Lt).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Ge).clear(),C(this,Nt).clear()}},Ge=new WeakMap,Nt=new WeakMap,Lt=new WeakMap,En=new WeakMap,kn=new WeakMap,Rt=new WeakMap,Fn=new WeakMap,Pn=new WeakMap,Kl),th=(eu=class extends Wn{constructor(t,n){super();ee(this,ve);ee(this,_e);ee(this,de);ee(this,er);ee(this,je);ee(this,rn);ee(this,Gn);ee(this,Mt);ee(this,xt);ee(this,tr);ee(this,Bn);ee(this,Tn);ee(this,on);ee(this,sn);ee(this,Xt);ee(this,On,new Set);this.options=n,j(this,_e,t),j(this,xt,null),j(this,Mt,Mi()),this.options.experimental_prefetchInRender||C(this,Mt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,de).addObserver(this),fa(C(this,de),this.options)?pe(this,ve,ar).call(this):this.updateResult(),pe(this,ve,vo).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Hi(C(this,de),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Hi(C(this,de),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,ve,Io).call(this),pe(this,ve,Co).call(this),C(this,de).removeObserver(this)}setOptions(t,n){const r=this.options,i=C(this,de);if(this.options=C(this,_e).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ct(this.options.enabled,C(this,de))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");pe(this,ve,xo).call(this),C(this,de).setOptions(this.options),r._defaulted&&!Vi(this.options,r)&&C(this,_e).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,de),observer:this});const o=this.hasListeners();o&&ha(C(this,de),i,this.options,r)&&pe(this,ve,ar).call(this),this.updateResult(n),o&&(C(this,de)!==i||ct(this.options.enabled,C(this,de))!==ct(r.enabled,C(this,de))||yn(this.options.staleTime,C(this,de))!==yn(r.staleTime,C(this,de)))&&pe(this,ve,mo).call(this);const s=pe(this,ve,bo).call(this);o&&(C(this,de)!==i||ct(this.options.enabled,C(this,de))!==ct(r.enabled,C(this,de))||s!==C(this,Xt))&&pe(this,ve,yo).call(this,s)}getOptimisticResult(t){const n=C(this,_e).getQueryCache().build(C(this,_e),t),r=this.createResult(n,t);return rh(this,r)&&(j(this,je,r),j(this,Gn,this.options),j(this,rn,C(this,de).state)),r}getCurrentResult(){return C(this,je)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){C(this,On).add(t)}getCurrentQuery(){return C(this,de)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,_e).defaultQueryOptions(t),r=C(this,_e).getQueryCache().build(C(this,_e),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,ve,ar).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,je)))}createResult(t,n){var E;const r=C(this,de),i=this.options,o=C(this,je),s=C(this,rn),a=C(this,Gn),u=t!==r?t.state:C(this,er),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const V=this.hasListeners(),D=!V&&fa(t,n),T=V&&ha(t,r,n,i);(D||T)&&(d={...d,...ca(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:b,errorUpdatedAt:g,status:I}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===C(this,tr))p=C(this,Bn);else try{j(this,tr,n.select),p=n.select(d.data),p=Li(o==null?void 0:o.data,p,n),j(this,Bn,p),j(this,xt,null)}catch(V){j(this,xt,V)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&I==="pending"){let V;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))V=o.data;else if(V=typeof n.placeholderData=="function"?n.placeholderData((E=C(this,Tn))==null?void 0:E.state.data,C(this,Tn)):n.placeholderData,n.select&&V!==void 0)try{V=n.select(V),j(this,xt,null)}catch(D){j(this,xt,D)}V!==void 0&&(I="success",p=Li(o==null?void 0:o.data,V,n),f=!0)}C(this,xt)&&(b=C(this,xt),p=C(this,Bn),g=Date.now(),I="error");const v=d.fetchStatus==="fetching",S=I==="pending",w=I==="error",k=S&&v,B=p!==void 0,L={status:I,fetchStatus:d.fetchStatus,isPending:S,isSuccess:I==="success",isError:w,isInitialLoading:k,isLoading:k,data:p,dataUpdatedAt:d.dataUpdatedAt,error:b,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:v,isRefetching:v&&!S,isLoadingError:w&&!B,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&B,isStale:zi(t,n),refetch:this.refetch,promise:C(this,Mt)};if(this.options.experimental_prefetchInRender){const V=N=>{L.status==="error"?N.reject(L.error):L.data!==void 0&&N.resolve(L.data)},D=()=>{const N=j(this,Mt,L.promise=Mi());V(N)},T=C(this,Mt);switch(T.status){case"pending":t.queryHash===r.queryHash&&V(T);break;case"fulfilled":(L.status==="error"||L.data!==T.value)&&D();break;case"rejected":(L.status!=="error"||L.error!==T.reason)&&D();break}}return L}updateResult(t){const n=C(this,je),r=this.createResult(C(this,de),this.options);if(j(this,rn,C(this,de).state),j(this,Gn,this.options),C(this,rn).data!==void 0&&j(this,Tn,C(this,de)),Vi(r,n))return;j(this,je,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!C(this,On).size)return!0;const l=new Set(a??C(this,On));return this.options.throwOnError&&l.add("error"),Object.keys(C(this,je)).some(u=>{const c=u;return C(this,je)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,ve,hu).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,ve,vo).call(this)}},_e=new WeakMap,de=new WeakMap,er=new WeakMap,je=new WeakMap,rn=new WeakMap,Gn=new WeakMap,Mt=new WeakMap,xt=new WeakMap,tr=new WeakMap,Bn=new WeakMap,Tn=new WeakMap,on=new WeakMap,sn=new WeakMap,Xt=new WeakMap,On=new WeakMap,ve=new WeakSet,ar=function(t){pe(this,ve,xo).call(this);let n=C(this,de).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(it)),n},mo=function(){pe(this,ve,Io).call(this);const t=yn(this.options.staleTime,C(this,de));if(Ut||C(this,je).isStale||!Ti(t))return;const r=ea(C(this,je).dataUpdatedAt,t)+1;j(this,on,setTimeout(()=>{C(this,je).isStale||this.updateResult()},r))},bo=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,de)):this.options.refetchInterval)??!1},yo=function(t){pe(this,ve,Co).call(this),j(this,Xt,t),!(Ut||ct(this.options.enabled,C(this,de))===!1||!Ti(C(this,Xt))||C(this,Xt)===0)&&j(this,sn,setInterval(()=>{(this.options.refetchIntervalInBackground||Ri.isFocused())&&pe(this,ve,ar).call(this)},C(this,Xt)))},vo=function(){pe(this,ve,mo).call(this),pe(this,ve,yo).call(this,pe(this,ve,bo).call(this))},Io=function(){C(this,on)&&(clearTimeout(C(this,on)),j(this,on,void 0))},Co=function(){C(this,sn)&&(clearInterval(C(this,sn)),j(this,sn,void 0))},xo=function(){const t=C(this,_e).getQueryCache().build(C(this,_e),this.options);if(t===C(this,de))return;const n=C(this,de);j(this,de,t),j(this,er,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},hu=function(t){Ne.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,je))}),C(this,_e).getQueryCache().notify({query:C(this,de),type:"observerResultsUpdated"})})},eu);function nh(e,t){return ct(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function fa(e,t){return nh(e,t)||e.state.data!==void 0&&Hi(e,t,t.refetchOnMount)}function Hi(e,t,n){if(ct(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&zi(e,t)}return!1}function ha(e,t,n,r){return(e!==t||ct(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&zi(e,n)}function zi(e,t){return ct(t.enabled,e)!==!1&&e.isStaleByTime(yn(t.staleTime,e))}function rh(e,t){return!Vi(e.getCurrentResult(),t)}var ga=ne.createContext(void 0),ih=e=>{const t=ne.useContext(ga);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},oh=({client:e,children:t})=>(ne.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),O.jsx(ga.Provider,{value:e,children:t})),ma=ne.createContext(!1),sh=()=>ne.useContext(ma);ma.Provider;function ah(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var lh=ne.createContext(ah()),uh=()=>ne.useContext(lh);function ch(e,t){return typeof e=="function"?e(...t):!!e}function ba(){}var dh=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},ph=e=>{ne.useEffect(()=>{e.clearReset()},[e])},fh=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&ch(n,[e.error,r]),hh=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},gh=(e,t)=>e.isLoading&&e.isFetching&&!t,mh=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,ya=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function bh(e,t,n){var c,d,f,p,b;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=ih(),i=sh(),o=uh(),s=r.defaultQueryOptions(e);(d=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||d.call(c,s),s._optimisticResults=i?"isRestoring":"optimistic",hh(s),dh(s,o),ph(o);const a=!r.getQueryCache().get(s.queryHash),[l]=ne.useState(()=>new t(r,s)),u=l.getOptimisticResult(s);if(ne.useSyncExternalStore(ne.useCallback(g=>{const I=i?ba:l.subscribe(Ne.batchCalls(g));return l.updateResult(),I},[l,i]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),ne.useEffect(()=>{l.setOptions(s,{listeners:!1})},[s,l]),mh(s,u))throw ya(s,l,o);if(fh({result:u,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw u.error;if((p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||p.call(f,s,u),s.experimental_prefetchInRender&&!Ut&&gh(u,i)){const g=a?ya(s,l,o):(b=r.getQueryCache().get(s.queryHash))==null?void 0:b.promise;g==null||g.catch(ba).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?u:l.trackResult(u)}function qt(e,t){return bh(e,th)}const va=P.createContext(void 0),St=()=>{const e=P.useContext(va);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},yh=({children:e,client:t})=>{const n=new eh({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return O.jsx(oh,{client:n,children:O.jsx(va.Provider,{value:t,children:e})})};function Ia(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function vh(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,n=[];for(const r of t)if(typeof r=="object"&&r&&"emitValue"in r){const i=r.emitValue;typeof i=="object"&&i&&"__lv"in i?n.push(i.__lv.value):n.push(i)}else return[];return n}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function Ih(e){const t=vh(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function Ch(e){const t=Ia(e.value);if(t==null||typeof t>"u")return["required"]}function xh(e){const{prop:t,value:n}=e,r=Ia(n);if(!t.default&&(r==null||typeof r>"u"))return["required"];const i=typeof r=="number"?r:parseInt(String(r));if(Number.isNaN(i))return["not a number"];const o=[];return typeof t.min=="number"&&i<t.min&&o.push("number too small"),typeof t.max=="number"&&i>t.max&&o.push("number too big"),o}function Ah(e){const{prop:t,value:n}=e;if(!t.default&&(n==null||typeof n>"u"))return["required"]}function wh(e){const t=e.auth_type==="oauth",n=JSON.parse(e.custom_fields_json||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const r=(e.extracted_custom_fields_names||[]).map(i=>({name:i}));n.push(...r)}return n.map(r=>({...r,optional:r.optional||t}))}function Sh(e){const{app:t,value:n}=e;if(!t)return["app field not registered"];if(!n)return["no app configured"];if(typeof n!="object")return["not an app"];const r=n;if("authProvisionId"in r&&!r.authProvisionId&&t.auth_type){const i=[];if(t.auth_type==="oauth"&&!r.oauth_access_token&&i.push("missing oauth token"),t.auth_type==="oauth"||t.auth_type==="keys"){const o=wh(t),s=r;for(const a of o)!a.optional&&!s[a.name]&&i.push(`missing custom field: ${a.name}`)}return t.auth_type!=="none"&&i.push("no auth provision configured"),i}}const Jn=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer"],Wi=P.createContext(void 0),Sr=()=>{const e=P.useContext(Wi);if(!e)throw new Error("Must be used inside provider");return e},Ca=({children:e,props:t})=>{const n=St(),r=P.useId(),{component:i,configuredProps:o,propNames:s,userId:a,sdkResponse:l,enableDebugging:u}=t,c=i.key,[d,f]=P.useState(0),[p,b]=P.useState({}),[g,I]=P.useState(!1),[v,S]=P.useState({}),[w,k]=P.useState([]),[B,A]=P.useState({});P.useEffect(()=>{A({})},[i.key]);const L=X=>B[X.name];let E=o||{};const[V,D]=P.useState(E),T=t.onUpdateConfiguredProps||D;t.onUpdateConfiguredProps||(E=V);const[N,q]=P.useState(),[ie,z]=P.useState(),U={userId:a,componentId:c,configuredProps:E,dynamicPropsId:N==null?void 0:N.id},ue={...U},{isFetching:fe}=qt({queryKey:["dynamicProps",ue],queryFn:async()=>{var Oe;const X=await n.reloadComponentProps(U),{dynamicProps:Z,observations:Q,errors:be}=X;return Q&&Q.filter(He=>He.k==="error").length>0?at(Q):at(be),Z&&((Oe=t.onUpdateDynamicProps)==null||Oe.call(t,Z),q(Z)),z(void 0),[]},enabled:ie!=null}),[Ie,y]=P.useState([]);P.useEffect(()=>{Ue()},[E]);let ce=(N==null?void 0:N.configurableProps)||t.component.configurable_props||[];if(s!=null&&s.length){const X=[];for(const Z of ce)s.findIndex(Q=>Z.name===Q)>=0&&X.push(Z);ce=X}ie!=null&&(ce=ce.slice(0,ie+1));const se=(X,Z)=>{const Q=[];if(X.optional||X.hidden||X.disabled||Jn.includes(X.type))return[];if(X.type==="app"){const be=p[X.name];if(be){const Oe=be.extra.app;Q.push(...Sh({prop:X,value:Z,app:Oe})??[])}else Q.push("field not registered")}else X.type==="boolean"?Q.push(...Ch({prop:X,value:Z})??[]):X.type==="integer"?Q.push(...xh({prop:X,value:Z})??[]):X.type==="string"?Q.push(...Ah({prop:X,value:Z})??[]):X.type==="string[]"&&Q.push(...Ih({prop:X,value:Z})??[]);return Q},m=X=>{let Z;for(let Q=0;Q<ce.length;Q++){const be=ce[Q];if(be.hidden||be.optional&&!L(be))continue;if(X[be.name]===void 0&&Z==null&&(be.type==="app"||be.remoteOptions)){Z=Q;break}}f(Z)},me=X=>{T(X),m(X),te(X)},te=X=>{const Z={};for(let Q=0;Q<ce.length;Q++){const be=ce[Q],Oe=X[be.name],He=se(be,Oe);He.length&&(Z[be.name]=He)}S(Z)};P.useEffect(()=>{m(V)},[V]),P.useEffect(()=>{te(E)},[E,ie,d]),P.useEffect(()=>{at(l)},[l]),P.useEffect(()=>{const X={};for(const Z of ce){if(Z.hidden||Jn.includes(Z.type)||Z.optional&&!L(Z))continue;const Q=E[Z.name];Q===void 0?"default"in Z&&Z.default!=null&&(X[Z.name]=Z.default):Z.type==="integer"&&typeof Q!="number"?delete X[Z.name]:X[Z.name]=Q}Ks(X,E)||me(X)},[ce]);const[he,De]=P.useState(a);P.useEffect(()=>{he!==a&&(me({}),De(a))},[a]);const ge=(X,Z)=>{const Q=ce[X],be={...E};Z===void 0?delete be[Q.name]:be[Q.name]=Z,T(be),Q.reloadProps&&z(X),(Q.type==="app"||Q.remoteOptions)&&m(be);const Oe=se(Q,Z),He={...v};Oe.length?He[Q.name]=Oe:delete He[Q.name],S(He)},Xe=(X,Z)=>{const Q={...B};Z?Q[X.name]=!0:delete Q[X.name];const be=ce.findIndex(Oe=>Oe.name===X.name);Z?(o==null?void 0:o[X.name])!==void 0?ge(be,o[X.name]):"default"in X&&X.default!=null&&ge(be,X.default):ge(be,void 0),A(Q)},Ue=()=>{const X=[];for(const Z of ce){if(!Z||Z.optional||Z.hidden||Jn.includes(Z.type))continue;const Q=E[Z.name];se(Z,Q).length&&X.push(Z.name)}X&&Ie&&Ks(X,Ie)||y(X)},st=X=>{b(Z=>(Z[X.prop.name]=X,Z)),Ue()},at=X=>{if(!X)return;let Z=[...w];const Q=(ke,Ae)=>{try{const Se=JSON.parse(ke),Ee={name:Se.name,message:Se.message};Ee.name&&Ee.message&&Ae.push(Ee)}catch{}},be=(ke,Ae)=>{const Se={name:ke.name,message:ke.message};Se.name&&Se.message&&Ae.push(Se)},Oe=(ke,Ae)=>{var Ee,F;const Se={name:(Ee=ke.err)==null?void 0:Ee.name,message:(F=ke.err)==null?void 0:F.message};Se.name&&Se.message&&Ae.push(Se)},He=(ke,Ae)=>{const Se=ke.os||ke.observations;if(Array.isArray(Se)&&Se.length>0)for(let Ee=0;Ee<Se.length;Ee++)Se[Ee].k==="error"&&Oe(Se[Ee],Ae)},Dn=(ke,Ae)=>{Ae.push({name:ke.error,message:JSON.stringify(ke.details)})},nr=(ke,Ae)=>{var Se;try{const Ee=(Se=JSON.parse(ke.message))==null?void 0:Se.data;Ee&&"observations"in Ee?He(Ee,Ae):Ee&&"error"in Ee&&"details"in Ee&&Dn(Ee,Ae)}catch{}};if(Array.isArray(X)&&X.length>0)for(let ke=0;ke<X.length;ke++){const Ae=X[ke];typeof Ae=="string"?Q(Ae,Z):typeof Ae=="object"&&"name"in Ae&&"message"in Ae?be(Ae,Z):typeof Ae=="object"&&Ae.k==="error"&&Oe(Ae,Z)}else typeof X=="object"&&"os"in X||"observations"in X?He(X,Z):typeof X=="object"&&"message"in X?nr(X,Z):Z=[];k(Z)},Ht={id:r,isValid:!Object.keys(v).length,props:t,userId:a,component:i,configurableProps:ce,configuredProps:E,dynamicProps:N,dynamicPropsQueryIsFetching:fe,errors:v,fields:p,optionalPropIsEnabled:L,optionalPropSetEnabled:Xe,propsNeedConfiguring:Ie,queryDisabledIdx:d,registerField:st,setConfiguredProp:ge,setSubmitting:I,submitting:g,sdkErrors:w,enableDebugging:u};return O.jsx(Wi.Provider,{value:Ht,children:e})};function Qt(e){"@babel/helpers - typeof";return Qt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qt(e)}function Eh(e,t){if(Qt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Qt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function xa(e){var t=Eh(e,"string");return Qt(t)=="symbol"?t:t+""}function Yn(e,t,n){return(t=xa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Aa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Aa(Object(n),!0).forEach(function(r){Yn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kh(e){if(Array.isArray(e))return e}function Fh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,a=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function wa(e,t){if(e){if(typeof e=="string")return Zi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zi(e,t):void 0}}function Ph(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(e,t){return kh(e)||Fh(e,t)||wa(e,t)||Ph()}function Gh(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function yt(e,t){if(e==null)return{};var n,r,i=Gh(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Bh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Sa(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,o=e.defaultValue,s=o===void 0?null:o,a=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,b=yt(e,Bh),g=P.useState(a!==void 0?a:n),I=Et(g,2),v=I[0],S=I[1],w=P.useState(l!==void 0?l:i),k=Et(w,2),B=k[0],A=k[1],L=P.useState(p!==void 0?p:s),E=Et(L,2),V=E[0],D=E[1],T=P.useCallback(function(fe,Ie){typeof u=="function"&&u(fe,Ie),D(fe)},[u]),N=P.useCallback(function(fe,Ie){var y;typeof c=="function"&&(y=c(fe,Ie)),S(y!==void 0?y:fe)},[c]),q=P.useCallback(function(){typeof f=="function"&&f(),A(!0)},[f]),ie=P.useCallback(function(){typeof d=="function"&&d(),A(!1)},[d]),z=a!==void 0?a:v,U=l!==void 0?l:B,ue=p!==void 0?p:V;return Y(Y({},b),{},{inputValue:z,menuIsOpen:U,onChange:T,onInputChange:N,onMenuClose:ie,onMenuOpen:q,value:ue})}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}function Th(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ea(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xa(r.key),r)}}function Oh(e,t,n){return t&&Ea(e.prototype,t),n&&Ea(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ji(e,t){return ji=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ji(e,t)}function Dh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ji(e,t)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Er(e)}function ka(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(ka=function(){return!!e})()}function Vh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nh(e,t){if(t&&(Qt(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Vh(e)}function Lh(e){var t=ka();return function(){var n,r=Er(e);if(t){var i=Er(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Nh(this,n)}}function Rh(e){if(Array.isArray(e))return Zi(e)}function Mh(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Xh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vn(e){return Rh(e)||Mh(e)||wa(e)||Xh()}function Hh(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const zh=Math.min,Wh=Math.max,kr=Math.round,Fr=Math.floor,Pr=e=>({x:e,y:e});function Zh(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Gr(){return typeof window<"u"}function Fa(e){return Ga(e)?(e.nodeName||"").toLowerCase():"#document"}function kt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Pa(e){var t;return(t=(Ga(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ga(e){return Gr()?e instanceof Node||e instanceof kt(e).Node:!1}function jh(e){return Gr()?e instanceof Element||e instanceof kt(e).Element:!1}function Ji(e){return Gr()?e instanceof HTMLElement||e instanceof kt(e).HTMLElement:!1}function Ba(e){return!Gr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof kt(e).ShadowRoot}function Ta(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Yi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Jh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yh(e){return["html","body","#document"].includes(Fa(e))}function Yi(e){return kt(e).getComputedStyle(e)}function _h(e){if(Fa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ba(e)&&e.host||Pa(e);return Ba(t)?t.host:t}function Oa(e){const t=_h(e);return Yh(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ji(t)&&Ta(t)?t:Oa(t)}function Br(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Oa(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=kt(i);if(o){const a=_i(s);return t.concat(s,s.visualViewport||[],Ta(i)?i:[],a&&n?Br(a):[])}return t.concat(i,Br(i,[],n))}function _i(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Uh(e){const t=Yi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ji(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=kr(n)!==o||kr(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Ui(e){return jh(e)?e:e.contextElement}function Da(e){const t=Ui(e);if(!Ji(t))return Pr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Uh(t);let s=(o?kr(n.width):n.width)/r,a=(o?kr(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const qh=Pr(0);function Qh(e){const t=kt(e);return!Jh()||!t.visualViewport?qh:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function $h(e,t,n){return!1}function Va(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=Ui(e);let s=Pr(1);t&&(s=Da(e));const a=$h()?Qh(o):Pr(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=kt(o),p=r;let b=f,g=_i(b);for(;g&&r&&p!==b;){const I=Da(g),v=g.getBoundingClientRect(),S=Yi(g),w=v.left+(g.clientLeft+parseFloat(S.paddingLeft))*I.x,k=v.top+(g.clientTop+parseFloat(S.paddingTop))*I.y;l*=I.x,u*=I.y,c*=I.x,d*=I.y,l+=w,u+=k,b=kt(g),g=_i(b)}}return Zh({width:c,height:d,x:l,y:u})}function Kh(e,t){let n=null,r;const i=Pa(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;const p=Fr(c),b=Fr(i.clientWidth-(u+d)),g=Fr(i.clientHeight-(c+f)),I=Fr(u),S={rootMargin:-p+"px "+-b+"px "+-g+"px "+-I+"px",threshold:Wh(0,zh(1,l))||1};let w=!0;function k(B){const A=B[0].intersectionRatio;if(A!==l){if(!w)return s();A?s(!1,A):r=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(k,{...S,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,S)}n.observe(e)}return s(!0),o}function eg(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Ui(e),c=i||o?[...u?Br(u):[],...Br(t)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const d=u&&a?Kh(u,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(v=>{let[S]=v;S&&S.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let b,g=l?Va(e):null;l&&I();function I(){const v=Va(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,b=requestAnimationFrame(I)}return n(),()=>{var v;c.forEach(S=>{i&&S.removeEventListener("scroll",n),o&&S.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,l&&cancelAnimationFrame(b)}}var qi=P.useLayoutEffect,tg=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tr=function(){};function ng(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function rg(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(ng(e,s)));return o.filter(function(a){return a}).map(function(a){return String(a).trim()}).join(" ")}var Or=function(t){return pg(t)?t.filter(Boolean):Qt(t)==="object"&&t!==null?[t]:[]},Na=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=yt(t,tg);return Y({},n)},Pe=function(t,n,r){var i=t.cx,o=t.getStyles,s=t.getClassNames,a=t.className;return{css:o(n,t),className:i(r??{},s(n,t),a)}};function Dr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ig(e){return Dr(e)?window.innerHeight:e.clientHeight}function La(e){return Dr(e)?window.pageYOffset:e.scrollTop}function Vr(e,t){if(Dr(e)){window.scrollTo(0,t);return}e.scrollTop=t}function og(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function sg(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Nr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Tr,i=La(e),o=t-i,s=10,a=0;function l(){a+=s;var u=sg(a,i,o,n);Vr(e,u),a<n?window.requestAnimationFrame(l):r(e)}l()}function Ra(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Vr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Vr(e,Math.max(t.offsetTop-i,0))}function ag(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Ma(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function lg(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Xa=!1,ug={get passive(){return Xa=!0}},Lr=typeof window<"u"?window:{};Lr.addEventListener&&Lr.removeEventListener&&(Lr.addEventListener("p",Tr,ug),Lr.removeEventListener("p",Tr,!1));var cg=Xa;function dg(e){return e!=null}function pg(e){return Array.isArray(e)}function _n(e,t,n){return e?t:n}function Xy(e){return e}function Hy(e){return e}var fg=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=Object.entries(t).filter(function(s){var a=Et(s,1),l=a[0];return!r.includes(l)});return o.reduce(function(s,a){var l=Et(a,2),u=l[0],c=l[1];return s[u]=c,s},{})},hg=["children","innerProps"],gg=["children","innerProps"];function mg(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=og(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),p=f.bottom,b=f.height,g=f.top,I=n.offsetParent.getBoundingClientRect(),v=I.top,S=s?window.innerHeight:ig(l),w=La(l),k=parseInt(getComputedStyle(n).marginBottom,10),B=parseInt(getComputedStyle(n).marginTop,10),A=v-B,L=S-g,E=A+w,V=d-w-g,D=p-S+w+k,T=w+g-B,N=160;switch(i){case"auto":case"bottom":if(L>=b)return{placement:"bottom",maxHeight:t};if(V>=b&&!s)return o&&Nr(l,D,N),{placement:"bottom",maxHeight:t};if(!s&&V>=r||s&&L>=r){o&&Nr(l,D,N);var q=s?L-k:V-k;return{placement:"bottom",maxHeight:q}}if(i==="auto"||s){var ie=t,z=s?A:E;return z>=r&&(ie=Math.min(z-k-a,t)),{placement:"top",maxHeight:ie}}if(i==="bottom")return o&&Vr(l,D),{placement:"bottom",maxHeight:t};break;case"top":if(A>=b)return{placement:"top",maxHeight:t};if(E>=b&&!s)return o&&Nr(l,T,N),{placement:"top",maxHeight:t};if(!s&&E>=r||s&&A>=r){var U=t;return(!s&&E>=r||s&&A>=r)&&(U=s?A-B:E-B),o&&Nr(l,T,N),{placement:"top",maxHeight:U}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function bg(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ha=function(t){return t==="auto"?"bottom":t},yg=function(t,n){var r,i=t.placement,o=t.theme,s=o.borderRadius,a=o.spacing,l=o.colors;return Y((r={label:"menu"},Yn(r,bg(i),"100%"),Yn(r,"position","absolute"),Yn(r,"width","100%"),Yn(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},za=P.createContext(null),vg=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,s=t.menuPosition,a=t.menuShouldScrollIntoView,l=t.theme,u=P.useContext(za)||{},c=u.setPortalPlacement,d=P.useRef(null),f=P.useState(i),p=Et(f,2),b=p[0],g=p[1],I=P.useState(null),v=Et(I,2),S=v[0],w=v[1],k=l.spacing.controlHeight;return qi(function(){var B=d.current;if(B){var A=s==="fixed",L=a&&!A,E=mg({maxHeight:i,menuEl:B,minHeight:r,placement:o,shouldScroll:L,isFixedPosition:A,controlHeight:k});g(E.maxHeight),w(E.placement),c==null||c(E.placement)}},[i,o,s,a,r,c,k]),n({ref:d,placerProps:Y(Y({},t),{},{placement:S||Ha(o),maxHeight:b})})},Ig=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return J.jsx("div",_({},Pe(t,"menu",{menu:!0}),{ref:r},i),n)},Cg=Ig,xg=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Y({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Ag=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return J.jsx("div",_({},Pe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},Wa=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return Y({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},wg=Wa,Sg=Wa,Eg=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=yt(t,hg);return J.jsx("div",_({},Pe(Y(Y({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},kg=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=yt(t,gg);return J.jsx("div",_({},Pe(Y(Y({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Fg=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Pg=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,s=t.menuPlacement,a=t.menuPosition,l=P.useRef(null),u=P.useRef(null),c=P.useState(Ha(s)),d=Et(c,2),f=d[0],p=d[1],b=P.useMemo(function(){return{setPortalPlacement:p}},[]),g=P.useState(null),I=Et(g,2),v=I[0],S=I[1],w=P.useCallback(function(){if(i){var L=ag(i),E=a==="fixed"?0:window.pageYOffset,V=L[f]+E;(V!==(v==null?void 0:v.offset)||L.left!==(v==null?void 0:v.rect.left)||L.width!==(v==null?void 0:v.rect.width))&&S({offset:V,rect:L})}},[i,a,f,v==null?void 0:v.offset,v==null?void 0:v.rect.left,v==null?void 0:v.rect.width]);qi(function(){w()},[w]);var k=P.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&l.current&&(u.current=eg(i,l.current,w,{elementResize:"ResizeObserver"in window}))},[i,w]);qi(function(){k()},[k]);var B=P.useCallback(function(L){l.current=L,k()},[k]);if(!n&&a!=="fixed"||!v)return null;var A=J.jsx("div",_({ref:B},Pe(Y(Y({},t),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),r);return J.jsx(za.Provider,{value:b},n?$r.createPortal(A,n):A)},Gg=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Bg=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return J.jsx("div",_({},Pe(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Tg=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,s=t.selectProps.controlShouldRenderValue;return Y({alignItems:"center",display:i&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Og=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return J.jsx("div",_({},Pe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},Dg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Vg=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"indicatorsContainer",{indicators:!0}),r),n)},Za,Ng=["size"],Lg=["innerProps","isRtl","size"];function Rg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Mg=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBA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W5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Rg},ja=function(t){var n=t.size,r=yt(t,Ng);return J.jsx("svg",_({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Mg},r))},Qi=function(t){return J.jsx(ja,_({size:20},t),J.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ja=function(t){return J.jsx(ja,_({size:20},t),J.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Ya=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:o*2,":hover":{color:r?s.neutral80:s.neutral40}})},Xg=Ya,Hg=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||J.jsx(Ja,null))},zg=Ya,Wg=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||J.jsx(Qi,null))},Zg=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},jg=function(t){var n=t.innerProps;return J.jsx("span",_({},n,Pe(t,"indicatorSeparator",{"indicator-separator":!0})))},Jg=J.keyframes(Za||(Za=Hh([`
14
+ `}),n}function Ls(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Rs(e,t){const n=ff(e,t),r=n.one(e,void 0),i=tf(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:`
15
+ `},i),o}function yf(e,t){return e&&"run"in e?async function(n,r){const i=Rs(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Rs(n,{file:r,...e||t})}}function Ms(e){if(e)throw e}var yr=Object.prototype.hasOwnProperty,Xs=Object.prototype.toString,Hs=Object.defineProperty,zs=Object.getOwnPropertyDescriptor,Ws=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Xs.call(t)==="[object Array]"},Zs=function(t){if(!t||Xs.call(t)!=="[object Object]")return!1;var n=yr.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&yr.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||yr.call(t,i)},js=function(t,n){Hs&&n.name==="__proto__"?Hs(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Js=function(t,n){if(n==="__proto__")if(yr.call(t,n)){if(zs)return zs(t,n).value}else return;return t[n]},vf=function e(){var t,n,r,i,o,s,a=arguments[0],l=1,u=arguments.length,c=!1;for(typeof a=="boolean"&&(c=a,a=arguments[1]||{},l=2),(a==null||typeof a!="object"&&typeof a!="function")&&(a={});l<u;++l)if(t=arguments[l],t!=null)for(n in t)r=Js(a,n),i=Js(t,n),a!==i&&(c&&i&&(Zs(i)||(o=Ws(i)))?(o?(o=!1,s=r&&Ws(r)?r:[]):s=r&&Zs(r)?r:{},js(a,{name:n,newValue:e(c,s,i)})):typeof i<"u"&&js(a,{name:n,newValue:i}));return a};const xi=No(vf);function Ai(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function If(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const s=i.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);a(null,...i);function a(l,...u){const c=e[++o];let d=-1;if(l){s(l);return}for(;++d<i.length;)(u[d]===null||u[d]===void 0)&&(u[d]=i[d]);i=u,c?Cf(c,a)(...u):s(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function Cf(e,t){let n;return r;function r(...s){const a=e.length>s.length;let l;a&&s.push(i);try{l=e.apply(this,s)}catch(u){const c=u;if(a&&n)throw c;return i(c)}a||(l&&l.then&&typeof l.then=="function"?l.then(o,i):l instanceof Error?i(l):o(l))}function i(s,...a){n||(n=!0,t(s,...a))}function o(s){i(null,s)}}const bt={basename:xf,dirname:Af,extname:wf,join:Sf,sep:"/"};function xf(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');zn(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else s<0&&(o=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(r=i):(a=-1,r=s));return n===r?r=s:r<0&&(r=e.length),e.slice(n,r)}function Af(e){if(zn(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function wf(e){zn(e);let t=e.length,n=-1,r=0,i=-1,o=0,s;for(;t--;){const a=e.codePointAt(t);if(a===47){if(s){r=t+1;break}continue}n<0&&(s=!0,n=t+1),a===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function Sf(...e){let t=-1,n;for(;++t<e.length;)zn(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Ef(n)}function Ef(e){zn(e);const t=e.codePointAt(0)===47;let n=kf(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function kf(e,t){let n="",r=0,i=-1,o=0,s=-1,a,l;for(;++s<=e.length;){if(s<e.length)a=e.codePointAt(s);else{if(a===47)break;a=47}if(a===47){if(!(i===s-1||o===1))if(i!==s-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=s,o=0;continue}}else if(n.length>0){n="",r=0,i=s,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1;i=s,o=0}else a===46&&o>-1?o++:o=-1}return n}function zn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Ff={cwd:Pf};function Pf(){return"/"}function wi(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Gf(e){if(typeof e=="string")e=new URL(e);else if(!wi(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return Bf(e)}function Bf(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const Si=["history","path","basename","stem","extname","dirname"];class Ys{constructor(t){let n;t?wi(t)?n={path:t}:typeof t=="string"||Tf(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":Ff.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Si.length;){const o=Si[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)Si.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?bt.basename(this.path):void 0}set basename(t){ki(t,"basename"),Ei(t,"basename"),this.path=bt.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?bt.dirname(this.path):void 0}set dirname(t){_s(this.basename,"dirname"),this.path=bt.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?bt.extname(this.path):void 0}set extname(t){if(Ei(t,"extname"),_s(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=bt.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){wi(t)&&(t=Gf(t)),ki(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?bt.basename(this.path,this.extname):void 0}set stem(t){ki(t,"stem"),Ei(t,"stem"),this.path=bt.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new Re(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Ei(e,t){if(e&&e.includes(bt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+bt.sep+"`")}function ki(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function _s(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Tf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Of=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},Df={}.hasOwnProperty;class Fi extends Of{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=If()}copy(){const t=new Fi;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(xi(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Bi("data",this.frozen),this.namespace[t]=n,this):Df.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Bi("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=vr(t),r=this.parser||this.Parser;return Pi("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Pi("process",this.parser||this.Parser),Gi("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,s){const a=vr(t),l=r.parse(a);r.run(l,a,function(c,d,f){if(c||!d||!f)return u(c);const p=d,b=r.stringify(p,f);Lf(b)?f.value=b:f.result=b,u(c,f)});function u(c,d){c||!d?s(c):o?o(d):n(void 0,d)}}}processSync(t){let n=!1,r;return this.freeze(),Pi("processSync",this.parser||this.Parser),Gi("processSync",this.compiler||this.Compiler),this.process(t,i),qs("processSync","process",n),r;function i(o,s){n=!0,Ms(o),r=s}}run(t,n,r){Us(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(s,a){const l=vr(n);i.run(t,l,u);function u(c,d,f){const p=d||t;c?a(c):s?s(p):r(void 0,p,f)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),qs("runSync","run",r),i;function o(s,a){Ms(s),i=a,r=!0}}stringify(t,n){this.freeze();const r=vr(n),i=this.compiler||this.Compiler;return Gi("stringify",i),Us(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(Bi("use",this.frozen),t!=null)if(typeof t=="function")l(t,n);else if(typeof t=="object")Array.isArray(t)?a(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")l(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...d]=u;l(c,d)}else s(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function s(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(u.plugins),u.settings&&(i.settings=xi(!0,i.settings,u.settings))}function a(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const d=u[c];o(d)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function l(u,c){let d=-1,f=-1;for(;++d<r.length;)if(r[d][0]===u){f=d;break}if(f===-1)r.push([u,...c]);else if(c.length>0){let[p,...b]=c;const g=r[f][1];Ai(g)&&Ai(p)&&(p=xi(!0,g,p)),r[f]=[u,p,...b]}}}}const Vf=new Fi().freeze();function Pi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Gi(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Bi(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Us(e){if(!Ai(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function qs(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function vr(e){return Nf(e)?e:new Ys(e)}function Nf(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Lf(e){return typeof e=="string"||Rf(e)}function Rf(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Mf="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Qs=[],$s={allowDangerousHtml:!0},Xf=/^(https?|ircs?|mailto|xmpp)$/i,Hf=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Ks(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,o=e.components,s=e.disallowedElements,a=e.rehypePlugins||Qs,l=e.remarkPlugins||Qs,u=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...$s}:$s,c=e.skipHtml,d=e.unwrapDisallowed,f=e.urlTransform||zf,p=Vf().use(xp).use(l).use(yf,u).use(a),b=new Ys;typeof r=="string"&&(b.value=r);for(const E of Hf)Object.hasOwn(e,E.from)&&(""+E.from+(E.to?"use `"+E.to+"` instead":"remove it")+Mf+E.id,void 0);const g=p.parse(b);let I=p.runSync(g,b);return i&&(I={type:"element",tagName:"div",properties:{className:i},children:I.type==="root"?I.children:[I]}),Ns(I,v),sc(I,{Fragment:P.Fragment,components:o,ignoreInvalidStyle:!0,jsx:P.jsx,jsxs:P.jsxs,passKeys:!0,passNode:!0});function v(E,A,S){if(E.type==="raw"&&S&&typeof A=="number")return c?S.children.splice(A,1):S.children[A]={type:"text",value:E.value},A;if(E.type==="element"){let k;for(k in ui)if(Object.hasOwn(ui,k)&&Object.hasOwn(E.properties,k)){const C=E.properties[k],L=ui[k];(L===null||L.includes(E.tagName))&&(E.properties[k]=f(String(C||""),k,E))}}if(E.type==="element"){let k=t?!t.includes(E.tagName):s?s.includes(E.tagName):!1;if(!k&&n&&typeof A=="number"&&(k=!n(E,A,S)),k&&S&&typeof A=="number")return d&&E.children?S.children.splice(A,1,...E.children):S.children.splice(A,1),A}}}function zf(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||Xf.test(e.slice(0,t))?e:""}function Ir({prop:e}){const t={width:"100%",background:"#e2e3e5",borderRadius:"5px",paddingTop:"2px",paddingLeft:"10px",paddingRight:"10px",paddingBottom:"2px"},n={...t,background:"#fff3cd"},r={...t,background:"#d1ecf1"},i={...t,background:"#f8d7da"},o={...t,background:"#fffff2"};let s={};switch(e.alertType){case"info":s=r;break;case"neutral":s=o;break;case"warning":s=n;break;case"error":s=i;break;default:s=t}return P.jsx("div",{className:`pd-alert-${e.alertType}`,style:s,children:P.jsx(Ks,{components:{a:({...a})=>P.jsx("a",{...a,target:"_blank",rel:"noopener noreferrer"})},children:e.content})})}var Cr={exports:{}};Cr.exports,function(e,t){var n=200,r="__lodash_hash_undefined__",i=1,o=2,s=9007199254740991,a="[object Arguments]",l="[object Array]",u="[object AsyncFunction]",c="[object Boolean]",d="[object Date]",f="[object Error]",p="[object Function]",b="[object GeneratorFunction]",g="[object Map]",I="[object Number]",v="[object Null]",E="[object Object]",A="[object Promise]",S="[object Proxy]",k="[object RegExp]",C="[object Set]",L="[object String]",F="[object Symbol]",V="[object Undefined]",D="[object WeakMap]",O="[object ArrayBuffer]",N="[object DataView]",q="[object Float32Array]",ie="[object Float64Array]",z="[object Int8Array]",U="[object Int16Array]",ue="[object Int32Array]",fe="[object Uint8Array]",Ie="[object Uint8ClampedArray]",y="[object Uint16Array]",ce="[object Uint32Array]",se=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,me=/^(?:0|[1-9]\d*)$/,te={};te[q]=te[ie]=te[z]=te[U]=te[ue]=te[fe]=te[Ie]=te[y]=te[ce]=!0,te[a]=te[l]=te[O]=te[c]=te[N]=te[d]=te[f]=te[p]=te[g]=te[I]=te[E]=te[k]=te[C]=te[L]=te[D]=!1;var he=typeof hn=="object"&&hn&&hn.Object===Object&&hn,De=typeof self=="object"&&self&&self.Object===Object&&self,ge=he||De||Function("return this")(),Xe=t&&!t.nodeType&&t,qe=Xe&&!0&&e&&!e.nodeType&&e,st=qe&&qe.exports===Xe,at=st&&he.process,zt=function(){try{return at&&at.binding&&at.binding("util")}catch{}}(),X=zt&&zt.isTypedArray;function Z(h,w){for(var T=-1,W=h==null?0:h.length,we=0,oe=[];++T<W;){var Be=h[T];w(Be,T,h)&&(oe[we++]=Be)}return oe}function Q(h,w){for(var T=-1,W=w.length,we=h.length;++T<W;)h[we+T]=w[T];return h}function be(h,w){for(var T=-1,W=h==null?0:h.length;++T<W;)if(w(h[T],T,h))return!0;return!1}function Oe(h,w){for(var T=-1,W=Array(h);++T<h;)W[T]=w(T);return W}function He(h){return function(w){return h(w)}}function Dn(h,w){return h.has(w)}function nr(h,w){return h==null?void 0:h[w]}function ke(h){var w=-1,T=Array(h.size);return h.forEach(function(W,we){T[++w]=[we,W]}),T}function Ae(h,w){return function(T){return h(w(T))}}function Se(h){var w=-1,T=Array(h.size);return h.forEach(function(W){T[++w]=W}),T}var Ee=Array.prototype,B=Function.prototype,M=Object.prototype,K=ge["__core-js_shared__"],ae=B.toString,le=M.hasOwnProperty,Qe=function(){var h=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||"");return h?"Symbol(src)_1."+h:""}(),At=M.toString,pt=RegExp("^"+ae.call(le).replace(se,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Wt=st?ge.Buffer:void 0,wt=ge.Symbol,ze=ge.Uint8Array,Pt=M.propertyIsEnumerable,ft=Ee.splice,an=wt?wt.toStringTag:void 0,su=Object.getOwnPropertySymbols,Xb=Wt?Wt.isBuffer:void 0,Hb=Ae(Object.keys,Object),uo=Vn(ge,"DataView"),rr=Vn(ge,"Map"),co=Vn(ge,"Promise"),po=Vn(ge,"Set"),fo=Vn(ge,"WeakMap"),ir=Vn(Object,"create"),zb=cn(uo),Wb=cn(rr),Zb=cn(co),jb=cn(po),Jb=cn(fo),au=wt?wt.prototype:void 0,ho=au?au.valueOf:void 0;function ln(h){var w=-1,T=h==null?0:h.length;for(this.clear();++w<T;){var W=h[w];this.set(W[0],W[1])}}function Yb(){this.__data__=ir?ir(null):{},this.size=0}function _b(h){var w=this.has(h)&&delete this.__data__[h];return this.size-=w?1:0,w}function Ub(h){var w=this.__data__;if(ir){var T=w[h];return T===r?void 0:T}return le.call(w,h)?w[h]:void 0}function qb(h){var w=this.__data__;return ir?w[h]!==void 0:le.call(w,h)}function Qb(h,w){var T=this.__data__;return this.size+=this.has(h)?0:1,T[h]=ir&&w===void 0?r:w,this}ln.prototype.clear=Yb,ln.prototype.delete=_b,ln.prototype.get=Ub,ln.prototype.has=qb,ln.prototype.set=Qb;function Gt(h){var w=-1,T=h==null?0:h.length;for(this.clear();++w<T;){var W=h[w];this.set(W[0],W[1])}}function $b(){this.__data__=[],this.size=0}function Kb(h){var w=this.__data__,T=Jr(w,h);if(T<0)return!1;var W=w.length-1;return T==W?w.pop():ft.call(w,T,1),--this.size,!0}function ey(h){var w=this.__data__,T=Jr(w,h);return T<0?void 0:w[T][1]}function ty(h){return Jr(this.__data__,h)>-1}function ny(h,w){var T=this.__data__,W=Jr(T,h);return W<0?(++this.size,T.push([h,w])):T[W][1]=w,this}Gt.prototype.clear=$b,Gt.prototype.delete=Kb,Gt.prototype.get=ey,Gt.prototype.has=ty,Gt.prototype.set=ny;function un(h){var w=-1,T=h==null?0:h.length;for(this.clear();++w<T;){var W=h[w];this.set(W[0],W[1])}}function ry(){this.size=0,this.__data__={hash:new ln,map:new(rr||Gt),string:new ln}}function iy(h){var w=Yr(this,h).delete(h);return this.size-=w?1:0,w}function oy(h){return Yr(this,h).get(h)}function sy(h){return Yr(this,h).has(h)}function ay(h,w){var T=Yr(this,h),W=T.size;return T.set(h,w),this.size+=T.size==W?0:1,this}un.prototype.clear=ry,un.prototype.delete=iy,un.prototype.get=oy,un.prototype.has=sy,un.prototype.set=ay;function jr(h){var w=-1,T=h==null?0:h.length;for(this.__data__=new un;++w<T;)this.add(h[w])}function ly(h){return this.__data__.set(h,r),this}function uy(h){return this.__data__.has(h)}jr.prototype.add=jr.prototype.push=ly,jr.prototype.has=uy;function Zt(h){var w=this.__data__=new Gt(h);this.size=w.size}function cy(){this.__data__=new Gt,this.size=0}function dy(h){var w=this.__data__,T=w.delete(h);return this.size=w.size,T}function py(h){return this.__data__.get(h)}function fy(h){return this.__data__.has(h)}function hy(h,w){var T=this.__data__;if(T instanceof Gt){var W=T.__data__;if(!rr||W.length<n-1)return W.push([h,w]),this.size=++T.size,this;T=this.__data__=new un(W)}return T.set(h,w),this.size=T.size,this}Zt.prototype.clear=cy,Zt.prototype.delete=dy,Zt.prototype.get=py,Zt.prototype.has=fy,Zt.prototype.set=hy;function gy(h,w){var T=_r(h),W=!T&&Gy(h),we=!T&&!W&&go(h),oe=!T&&!W&&!we&&mu(h),Be=T||W||we||oe,Ve=Be?Oe(h.length,String):[],Le=Ve.length;for(var Fe in h)le.call(h,Fe)&&!(Be&&(Fe=="length"||we&&(Fe=="offset"||Fe=="parent")||oe&&(Fe=="buffer"||Fe=="byteLength"||Fe=="byteOffset")||Sy(Fe,Le)))&&Ve.push(Fe);return Ve}function Jr(h,w){for(var T=h.length;T--;)if(pu(h[T][0],w))return T;return-1}function my(h,w,T){var W=w(h);return _r(h)?W:Q(W,T(h))}function or(h){return h==null?h===void 0?V:v:an&&an in Object(h)?Ay(h):Py(h)}function lu(h){return sr(h)&&or(h)==a}function uu(h,w,T,W,we){return h===w?!0:h==null||w==null||!sr(h)&&!sr(w)?h!==h&&w!==w:by(h,w,T,W,uu,we)}function by(h,w,T,W,we,oe){var Be=_r(h),Ve=_r(w),Le=Be?l:jt(h),Fe=Ve?l:jt(w);Le=Le==a?E:Le,Fe=Fe==a?E:Fe;var tt=Le==E,ht=Fe==E,We=Le==Fe;if(We&&go(h)){if(!go(w))return!1;Be=!0,tt=!1}if(We&&!tt)return oe||(oe=new Zt),Be||mu(h)?cu(h,w,T,W,we,oe):Cy(h,w,Le,T,W,we,oe);if(!(T&i)){var lt=tt&&le.call(h,"__wrapped__"),ut=ht&&le.call(w,"__wrapped__");if(lt||ut){var Jt=lt?h.value():h,Bt=ut?w.value():w;return oe||(oe=new Zt),we(Jt,Bt,T,W,oe)}}return We?(oe||(oe=new Zt),xy(h,w,T,W,we,oe)):!1}function yy(h){if(!gu(h)||ky(h))return!1;var w=fu(h)?pt:m;return w.test(cn(h))}function vy(h){return sr(h)&&hu(h.length)&&!!te[or(h)]}function Iy(h){if(!Fy(h))return Hb(h);var w=[];for(var T in Object(h))le.call(h,T)&&T!="constructor"&&w.push(T);return w}function cu(h,w,T,W,we,oe){var Be=T&i,Ve=h.length,Le=w.length;if(Ve!=Le&&!(Be&&Le>Ve))return!1;var Fe=oe.get(h);if(Fe&&oe.get(w))return Fe==w;var tt=-1,ht=!0,We=T&o?new jr:void 0;for(oe.set(h,w),oe.set(w,h);++tt<Ve;){var lt=h[tt],ut=w[tt];if(W)var Jt=Be?W(ut,lt,tt,w,h,oe):W(lt,ut,tt,h,w,oe);if(Jt!==void 0){if(Jt)continue;ht=!1;break}if(We){if(!be(w,function(Bt,dn){if(!Dn(We,dn)&&(lt===Bt||we(lt,Bt,T,W,oe)))return We.push(dn)})){ht=!1;break}}else if(!(lt===ut||we(lt,ut,T,W,oe))){ht=!1;break}}return oe.delete(h),oe.delete(w),ht}function Cy(h,w,T,W,we,oe,Be){switch(T){case N:if(h.byteLength!=w.byteLength||h.byteOffset!=w.byteOffset)return!1;h=h.buffer,w=w.buffer;case O:return!(h.byteLength!=w.byteLength||!oe(new ze(h),new ze(w)));case c:case d:case I:return pu(+h,+w);case f:return h.name==w.name&&h.message==w.message;case k:case L:return h==w+"";case g:var Ve=ke;case C:var Le=W&i;if(Ve||(Ve=Se),h.size!=w.size&&!Le)return!1;var Fe=Be.get(h);if(Fe)return Fe==w;W|=o,Be.set(h,w);var tt=cu(Ve(h),Ve(w),W,we,oe,Be);return Be.delete(h),tt;case F:if(ho)return ho.call(h)==ho.call(w)}return!1}function xy(h,w,T,W,we,oe){var Be=T&i,Ve=du(h),Le=Ve.length,Fe=du(w),tt=Fe.length;if(Le!=tt&&!Be)return!1;for(var ht=Le;ht--;){var We=Ve[ht];if(!(Be?We in w:le.call(w,We)))return!1}var lt=oe.get(h);if(lt&&oe.get(w))return lt==w;var ut=!0;oe.set(h,w),oe.set(w,h);for(var Jt=Be;++ht<Le;){We=Ve[ht];var Bt=h[We],dn=w[We];if(W)var bu=Be?W(dn,Bt,We,w,h,oe):W(Bt,dn,We,h,w,oe);if(!(bu===void 0?Bt===dn||we(Bt,dn,T,W,oe):bu)){ut=!1;break}Jt||(Jt=We=="constructor")}if(ut&&!Jt){var Ur=h.constructor,qr=w.constructor;Ur!=qr&&"constructor"in h&&"constructor"in w&&!(typeof Ur=="function"&&Ur instanceof Ur&&typeof qr=="function"&&qr instanceof qr)&&(ut=!1)}return oe.delete(h),oe.delete(w),ut}function du(h){return my(h,Oy,wy)}function Yr(h,w){var T=h.__data__;return Ey(w)?T[typeof w=="string"?"string":"hash"]:T.map}function Vn(h,w){var T=nr(h,w);return yy(T)?T:void 0}function Ay(h){var w=le.call(h,an),T=h[an];try{h[an]=void 0;var W=!0}catch{}var we=At.call(h);return W&&(w?h[an]=T:delete h[an]),we}var wy=su?function(h){return h==null?[]:(h=Object(h),Z(su(h),function(w){return Pt.call(h,w)}))}:Dy,jt=or;(uo&&jt(new uo(new ArrayBuffer(1)))!=N||rr&&jt(new rr)!=g||co&&jt(co.resolve())!=A||po&&jt(new po)!=C||fo&&jt(new fo)!=D)&&(jt=function(h){var w=or(h),T=w==E?h.constructor:void 0,W=T?cn(T):"";if(W)switch(W){case zb:return N;case Wb:return g;case Zb:return A;case jb:return C;case Jb:return D}return w});function Sy(h,w){return w=w??s,!!w&&(typeof h=="number"||me.test(h))&&h>-1&&h%1==0&&h<w}function Ey(h){var w=typeof h;return w=="string"||w=="number"||w=="symbol"||w=="boolean"?h!=="__proto__":h===null}function ky(h){return!!Qe&&Qe in h}function Fy(h){var w=h&&h.constructor,T=typeof w=="function"&&w.prototype||M;return h===T}function Py(h){return At.call(h)}function cn(h){if(h!=null){try{return ae.call(h)}catch{}try{return h+""}catch{}}return""}function pu(h,w){return h===w||h!==h&&w!==w}var Gy=lu(function(){return arguments}())?lu:function(h){return sr(h)&&le.call(h,"callee")&&!Pt.call(h,"callee")},_r=Array.isArray;function By(h){return h!=null&&hu(h.length)&&!fu(h)}var go=Xb||Vy;function Ty(h,w){return uu(h,w)}function fu(h){if(!gu(h))return!1;var w=or(h);return w==p||w==b||w==u||w==S}function hu(h){return typeof h=="number"&&h>-1&&h%1==0&&h<=s}function gu(h){var w=typeof h;return h!=null&&(w=="object"||w=="function")}function sr(h){return h!=null&&typeof h=="object"}var mu=X?He(X):vy;function Oy(h){return By(h)?gy(h):Iy(h)}function Dy(){return[]}function Vy(){return!1}e.exports=Ty}(Cr,Cr.exports);var Wf=Cr.exports;const ea=No(Wf);var Wn=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},qt=typeof window>"u"||"Deno"in globalThis;function it(){}function Zf(e,t){return typeof e=="function"?e(t):e}function Ti(e){return typeof e=="number"&&e>=0&&e!==1/0}function ta(e,t){return Math.max(e+(t||0)-Date.now(),0)}function yn(e,t){return typeof e=="function"?e(t):e}function ct(e,t){return typeof e=="function"?e(t):e}function na(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Oi(s,t.options))return!1}else if(!jn(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||i&&i!==t.state.fetchStatus||o&&!o(t))}function ra(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Zn(t.options.mutationKey)!==Zn(o))return!1}else if(!jn(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Oi(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zn)(e)}function Zn(e){return JSON.stringify(e,(t,n)=>Ni(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function jn(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!jn(e[n],t[n])):!1}function Di(e,t){if(e===t)return e;const n=ia(e)&&ia(t);if(n||Ni(e)&&Ni(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),s=o.length,a=n?[]:{};let l=0;for(let u=0;u<s;u++){const c=n?u:o[u];(!n&&r.includes(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,l++):(a[c]=Di(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&l++)}return i===s&&l===i?e:a}return t}function Vi(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function ia(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Ni(e){if(!oa(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!oa(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function oa(e){return Object.prototype.toString.call(e)==="[object Object]"}function jf(e){return new Promise(t=>{setTimeout(t,e)})}function Li(e,t,n){if(typeof n.structuralSharing=="function")return n.structuralSharing(e,t);if(n.structuralSharing!==!1){if(process.env.NODE_ENV!=="production")try{return Di(e,t)}catch(r){console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${r}`)}return Di(e,t)}return t}function Jf(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Yf(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var xr=Symbol();function sa(e,t){return process.env.NODE_ENV!=="production"&&e.queryFn===xr&&console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`),!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===xr?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var _f=(Ql=class extends Wn{constructor(){super();ee(this,Kt);ee(this,Vt);ee(this,Cn);j(this,Cn,t=>{if(!qt&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){x(this,Vt)||this.setEventListener(x(this,Cn))}onUnsubscribe(){var t;this.hasListeners()||((t=x(this,Vt))==null||t.call(this),j(this,Vt,void 0))}setEventListener(t){var n;j(this,Cn,t),(n=x(this,Vt))==null||n.call(this),j(this,Vt,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){x(this,Kt)!==t&&(j(this,Kt,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof x(this,Kt)=="boolean"?x(this,Kt):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Kt=new WeakMap,Vt=new WeakMap,Cn=new WeakMap,Ql),Ri=new _f,Uf=($l=class extends Wn{constructor(){super();ee(this,xn,!0);ee(this,Nt);ee(this,An);j(this,An,t=>{if(!qt&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){x(this,Nt)||this.setEventListener(x(this,An))}onUnsubscribe(){var t;this.hasListeners()||((t=x(this,Nt))==null||t.call(this),j(this,Nt,void 0))}setEventListener(t){var n;j(this,An,t),(n=x(this,Nt))==null||n.call(this),j(this,Nt,t(this.setOnline.bind(this)))}setOnline(t){x(this,xn)!==t&&(j(this,xn,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return x(this,xn)}},xn=new WeakMap,Nt=new WeakMap,An=new WeakMap,$l),Ar=new Uf;function Mi(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function qf(e){return Math.min(1e3*2**e,3e4)}function aa(e){return(e??"online")==="online"?Ar.isOnline():!0}var la=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Xi(e){return e instanceof la}function ua(e){let t=!1,n=0,r=!1,i;const o=Mi(),s=g=>{var I;r||(f(new la(g)),(I=e.abort)==null||I.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ri.isFocused()&&(e.networkMode==="always"||Ar.isOnline())&&e.canRun(),c=()=>aa(e.networkMode)&&e.canRun(),d=g=>{var I;r||(r=!0,(I=e.onSuccess)==null||I.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var I;r||(r=!0,(I=e.onError)==null||I.call(e,g),i==null||i(),o.reject(g))},p=()=>new Promise(g=>{var I;i=v=>{(r||u())&&g(v)},(I=e.onPause)==null||I.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),b=()=>{if(r)return;let g;const I=n===0?e.initialPromise:void 0;try{g=I??e.fn()}catch(v){g=Promise.reject(v)}Promise.resolve(g).then(d).catch(v=>{var C;if(r)return;const E=e.retry??(qt?0:3),A=e.retryDelay??qf,S=typeof A=="function"?A(n,v):A,k=E===!0||typeof E=="number"&&n<E||typeof E=="function"&&E(n,v);if(t||!k){f(v);return}n++,(C=e.onFail)==null||C.call(e,n,v),jf(S).then(()=>u()?void 0:p()).then(()=>{t?f(v):b()})})};return{promise:o,cancel:s,continue:()=>(i==null||i(),o),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?b():p().then(b),o)}}function Qf(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=a=>setTimeout(a,0);const o=a=>{t?e.push(a):i(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{o(()=>{a(...l)})},schedule:o,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ne=Qf(),ca=(Kl=class{constructor(){ee(this,en)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Ti(this.gcTime)&&j(this,en,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(qt?1/0:5*60*1e3))}clearGcTimeout(){x(this,en)&&(clearTimeout(x(this,en)),j(this,en,void 0))}},en=new WeakMap,Kl),$f=(eu=class extends ca{constructor(t){super();ee(this,dt);ee(this,wn);ee(this,Sn);ee(this,ot);ee(this,Me);ee(this,$n);ee(this,tn);j(this,tn,!1),j(this,$n,t.defaultOptions),this.setOptions(t.options),this.observers=[],j(this,ot,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,j(this,wn,Kf(this.options)),this.state=t.state??x(this,wn),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=x(this,Me))==null?void 0:t.promise}setOptions(t){this.options={...x(this,$n),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&x(this,ot).remove(this)}setData(t,n){const r=Li(this.state.data,t,this.options);return pe(this,dt,Tt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){pe(this,dt,Tt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=x(this,Me))==null?void 0:r.promise;return(i=x(this,Me))==null||i.cancel(t),n?n.then(it).catch(it):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(x(this,wn))}isActive(){return this.observers.some(t=>ct(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===xr||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!ta(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=x(this,Me))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=x(this,Me))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),x(this,ot).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(x(this,Me)&&(x(this,tn)?x(this,Me).cancel({revert:!0}):x(this,Me).cancelRetry()),this.scheduleGc()),x(this,ot).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||pe(this,dt,Tt).call(this,{type:"invalidate"})}fetch(t,n){var l,u,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(x(this,Me))return x(this,Me).continueRetry(),x(this,Me).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}process.env.NODE_ENV!=="production"&&(Array.isArray(this.options.queryKey)||console.error("As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"));const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(j(this,tn,!0),r.signal)})},o=()=>{const d=sa(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),j(this,tn,!1),this.options.persister?this.options.persister(d,f,this):d(f)},s={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(s),(l=this.options.behavior)==null||l.onFetch(s,this),j(this,Sn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((u=s.fetchOptions)==null?void 0:u.meta))&&pe(this,dt,Tt).call(this,{type:"fetch",meta:(c=s.fetchOptions)==null?void 0:c.meta});const a=d=>{var f,p,b,g;Xi(d)&&d.silent||pe(this,dt,Tt).call(this,{type:"error",error:d}),Xi(d)||((p=(f=x(this,ot).config).onError)==null||p.call(f,d,this),(g=(b=x(this,ot).config).onSettled)==null||g.call(b,this.state.data,d,this)),this.scheduleGc()};return j(this,Me,ua({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,p,b,g;if(d===void 0){process.env.NODE_ENV!=="production"&&console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`),a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(I){a(I);return}(p=(f=x(this,ot).config).onSuccess)==null||p.call(f,d,this),(g=(b=x(this,ot).config).onSettled)==null||g.call(b,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{pe(this,dt,Tt).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{pe(this,dt,Tt).call(this,{type:"pause"})},onContinue:()=>{pe(this,dt,Tt).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),x(this,Me).start()}},wn=new WeakMap,Sn=new WeakMap,ot=new WeakMap,Me=new WeakMap,$n=new WeakMap,tn=new WeakMap,dt=new WeakSet,Tt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...da(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Xi(i)&&i.revert&&x(this,Sn)?{...x(this,Sn),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ne.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),x(this,ot).notify({query:this,type:"updated",action:t})})},eu);function da(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:aa(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Kf(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var eh=(tu=class extends Wn{constructor(t={}){super();ee(this,vt);this.config=t,j(this,vt,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Oi(i,n);let s=this.get(o);return s||(s=new $f({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){x(this,vt).has(t.queryHash)||(x(this,vt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=x(this,vt).get(t.queryHash);n&&(t.destroy(),n===t&&x(this,vt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ne.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return x(this,vt).get(t)}getAll(){return[...x(this,vt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>na(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>na(t,r)):n}notify(t){Ne.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ne.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ne.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},vt=new WeakMap,tu),th=(nu=class extends ca{constructor(t){super();ee(this,Ct);ee(this,It);ee(this,je);ee(this,nn);this.mutationId=t.mutationId,j(this,je,t.mutationCache),j(this,It,[]),this.state=t.state||nh(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){x(this,It).includes(t)||(x(this,It).push(t),this.clearGcTimeout(),x(this,je).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){j(this,It,x(this,It).filter(n=>n!==t)),this.scheduleGc(),x(this,je).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){x(this,It).length||(this.state.status==="pending"?this.scheduleGc():x(this,je).remove(this))}continue(){var t;return((t=x(this,nn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,s,a,l,u,c,d,f,p,b,g,I,v,E,A,S,k,C,L;j(this,nn,ua({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(F,V)=>{pe(this,Ct,Yt).call(this,{type:"failed",failureCount:F,error:V})},onPause:()=>{pe(this,Ct,Yt).call(this,{type:"pause"})},onContinue:()=>{pe(this,Ct,Yt).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>x(this,je).canRun(this)}));const n=this.state.status==="pending",r=!x(this,nn).canStart();try{if(!n){pe(this,Ct,Yt).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=x(this,je).config).onMutate)==null?void 0:o.call(i,t,this));const V=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));V!==this.state.context&&pe(this,Ct,Yt).call(this,{type:"pending",context:V,variables:t,isPaused:r})}const F=await x(this,nn).start();return await((u=(l=x(this,je).config).onSuccess)==null?void 0:u.call(l,F,t,this.state.context,this)),await((d=(c=this.options).onSuccess)==null?void 0:d.call(c,F,t,this.state.context)),await((p=(f=x(this,je).config).onSettled)==null?void 0:p.call(f,F,null,this.state.variables,this.state.context,this)),await((g=(b=this.options).onSettled)==null?void 0:g.call(b,F,null,t,this.state.context)),pe(this,Ct,Yt).call(this,{type:"success",data:F}),F}catch(F){try{throw await((v=(I=x(this,je).config).onError)==null?void 0:v.call(I,F,t,this.state.context,this)),await((A=(E=this.options).onError)==null?void 0:A.call(E,F,t,this.state.context)),await((k=(S=x(this,je).config).onSettled)==null?void 0:k.call(S,void 0,F,this.state.variables,this.state.context,this)),await((L=(C=this.options).onSettled)==null?void 0:L.call(C,void 0,F,t,this.state.context)),F}finally{pe(this,Ct,Yt).call(this,{type:"error",error:F})}}finally{x(this,je).runNext(this)}}},It=new WeakMap,je=new WeakMap,nn=new WeakMap,Ct=new WeakSet,Yt=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Ne.batch(()=>{x(this,It).forEach(r=>{r.onMutationUpdate(t)}),x(this,je).notify({mutation:this,type:"updated",action:t})})},nu);function nh(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var rh=(ru=class extends Wn{constructor(t={}){super();ee(this,et);ee(this,Kn);this.config=t,j(this,et,new Map),j(this,Kn,Date.now())}build(t,n,r){const i=new th({mutationCache:this,mutationId:++Qr(this,Kn)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=wr(t),r=x(this,et).get(n)??[];r.push(t),x(this,et).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=wr(t);if(x(this,et).has(n)){const i=(r=x(this,et).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?x(this,et).delete(n):x(this,et).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=x(this,et).get(wr(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=x(this,et).get(wr(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){Ne.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...x(this,et).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>ra(n,r))}findAll(t={}){return this.getAll().filter(n=>ra(t,n))}notify(t){Ne.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ne.batch(()=>Promise.all(t.map(n=>n.continue().catch(it))))}},et=new WeakMap,Kn=new WeakMap,ru);function wr(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function pa(e){return{onFetch:(t,n)=>{var c,d,f,p,b;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((p=t.state.data)==null?void 0:p.pages)||[],s=((b=t.state.data)==null?void 0:b.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const I=A=>{Object.defineProperty(A,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},v=sa(t.options,t.fetchOptions),E=async(A,S,k)=>{if(g)return Promise.reject();if(S==null&&A.pages.length)return Promise.resolve(A);const C={queryKey:t.queryKey,pageParam:S,direction:k?"backward":"forward",meta:t.options.meta};I(C);const L=await v(C),{maxPages:F}=t.options,V=k?Yf:Jf;return{pages:V(A.pages,L,F),pageParams:V(A.pageParams,S,F)}};if(i&&o.length){const A=i==="backward",S=A?ih:fa,k={pages:o,pageParams:s},C=S(r,k);a=await E(k,C,A)}else{const A=e??o.length;do{const S=l===0?s[0]??r.initialPageParam:fa(r,a);if(l>0&&S==null)break;a=await E(a,S),l++}while(l<A)}return a};t.options.persister?t.fetchFn=()=>{var g,I;return(I=(g=t.options).persister)==null?void 0:I.call(g,u,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function fa(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function ih(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var oh=(iu=class{constructor(e={}){ee(this,Ge);ee(this,Lt);ee(this,Rt);ee(this,En);ee(this,kn);ee(this,Mt);ee(this,Fn);ee(this,Pn);j(this,Ge,e.queryCache||new eh),j(this,Lt,e.mutationCache||new rh),j(this,Rt,e.defaultOptions||{}),j(this,En,new Map),j(this,kn,new Map),j(this,Mt,0)}mount(){Qr(this,Mt)._++,x(this,Mt)===1&&(j(this,Fn,Ri.subscribe(async e=>{e&&(await this.resumePausedMutations(),x(this,Ge).onFocus())})),j(this,Pn,Ar.subscribe(async e=>{e&&(await this.resumePausedMutations(),x(this,Ge).onOnline())})))}unmount(){var e,t;Qr(this,Mt)._--,x(this,Mt)===0&&((e=x(this,Fn))==null||e.call(this),j(this,Fn,void 0),(t=x(this,Pn))==null||t.call(this),j(this,Pn,void 0))}isFetching(e){return x(this,Ge).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return x(this,Lt).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=x(this,Ge).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=x(this,Ge).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(yn(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return x(this,Ge).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=x(this,Ge).get(r.queryHash),o=i==null?void 0:i.state.data,s=Zf(t,o);if(s!==void 0)return x(this,Ge).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Ne.batch(()=>x(this,Ge).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=x(this,Ge).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=x(this,Ge);Ne.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=x(this,Ge),r={type:"active",...e};return Ne.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=Ne.batch(()=>x(this,Ge).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(it).catch(it)}invalidateQueries(e={},t={}){return Ne.batch(()=>{if(x(this,Ge).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=Ne.batch(()=>x(this,Ge).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(it)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(it)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=x(this,Ge).build(this,t);return n.isStaleByTime(yn(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(it).catch(it)}fetchInfiniteQuery(e){return e.behavior=pa(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(it).catch(it)}ensureInfiniteQueryData(e){return e.behavior=pa(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ar.isOnline()?x(this,Lt).resumePausedMutations():Promise.resolve()}getQueryCache(){return x(this,Ge)}getMutationCache(){return x(this,Lt)}getDefaultOptions(){return x(this,Rt)}setDefaultOptions(e){j(this,Rt,e)}setQueryDefaults(e,t){x(this,En).set(Zn(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...x(this,En).values()];let n={};return t.forEach(r=>{jn(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){x(this,kn).set(Zn(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...x(this,kn).values()];let n={};return t.forEach(r=>{jn(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...x(this,Rt).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Oi(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===xr&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...x(this,Rt).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){x(this,Ge).clear(),x(this,Lt).clear()}},Ge=new WeakMap,Lt=new WeakMap,Rt=new WeakMap,En=new WeakMap,kn=new WeakMap,Mt=new WeakMap,Fn=new WeakMap,Pn=new WeakMap,iu),sh=(ou=class extends Wn{constructor(t,n){super();ee(this,ve);ee(this,Ue);ee(this,de);ee(this,er);ee(this,Je);ee(this,rn);ee(this,Gn);ee(this,Xt);ee(this,xt);ee(this,tr);ee(this,Bn);ee(this,Tn);ee(this,on);ee(this,sn);ee(this,Ht);ee(this,On,new Set);this.options=n,j(this,Ue,t),j(this,xt,null),j(this,Xt,Mi()),this.options.experimental_prefetchInRender||x(this,Xt).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(x(this,de).addObserver(this),ha(x(this,de),this.options)?pe(this,ve,ar).call(this):this.updateResult(),pe(this,ve,Io).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Hi(x(this,de),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Hi(x(this,de),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,pe(this,ve,Co).call(this),pe(this,ve,xo).call(this),x(this,de).removeObserver(this)}setOptions(t,n){const r=this.options,i=x(this,de);if(this.options=x(this,Ue).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof ct(this.options.enabled,x(this,de))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");pe(this,ve,Ao).call(this),x(this,de).setOptions(this.options),r._defaulted&&!Vi(this.options,r)&&x(this,Ue).getQueryCache().notify({type:"observerOptionsUpdated",query:x(this,de),observer:this});const o=this.hasListeners();o&&ga(x(this,de),i,this.options,r)&&pe(this,ve,ar).call(this),this.updateResult(n),o&&(x(this,de)!==i||ct(this.options.enabled,x(this,de))!==ct(r.enabled,x(this,de))||yn(this.options.staleTime,x(this,de))!==yn(r.staleTime,x(this,de)))&&pe(this,ve,bo).call(this);const s=pe(this,ve,yo).call(this);o&&(x(this,de)!==i||ct(this.options.enabled,x(this,de))!==ct(r.enabled,x(this,de))||s!==x(this,Ht))&&pe(this,ve,vo).call(this,s)}getOptimisticResult(t){const n=x(this,Ue).getQueryCache().build(x(this,Ue),t),r=this.createResult(n,t);return lh(this,r)&&(j(this,Je,r),j(this,Gn,this.options),j(this,rn,x(this,de).state)),r}getCurrentResult(){return x(this,Je)}trackResult(t,n){const r={};return Object.keys(t).forEach(i=>{Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(i),n==null||n(i),t[i])})}),r}trackProp(t){x(this,On).add(t)}getCurrentQuery(){return x(this,de)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=x(this,Ue).defaultQueryOptions(t),r=x(this,Ue).getQueryCache().build(x(this,Ue),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return pe(this,ve,ar).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),x(this,Je)))}createResult(t,n){var F;const r=x(this,de),i=this.options,o=x(this,Je),s=x(this,rn),a=x(this,Gn),u=t!==r?t.state:x(this,er),{state:c}=t;let d={...c},f=!1,p;if(n._optimisticResults){const V=this.hasListeners(),D=!V&&ha(t,n),O=V&&ga(t,r,n,i);(D||O)&&(d={...d,...da(c.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:b,errorUpdatedAt:g,status:I}=d;if(n.select&&d.data!==void 0)if(o&&d.data===(s==null?void 0:s.data)&&n.select===x(this,tr))p=x(this,Bn);else try{j(this,tr,n.select),p=n.select(d.data),p=Li(o==null?void 0:o.data,p,n),j(this,Bn,p),j(this,xt,null)}catch(V){j(this,xt,V)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&I==="pending"){let V;if(o!=null&&o.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))V=o.data;else if(V=typeof n.placeholderData=="function"?n.placeholderData((F=x(this,Tn))==null?void 0:F.state.data,x(this,Tn)):n.placeholderData,n.select&&V!==void 0)try{V=n.select(V),j(this,xt,null)}catch(D){j(this,xt,D)}V!==void 0&&(I="success",p=Li(o==null?void 0:o.data,V,n),f=!0)}x(this,xt)&&(b=x(this,xt),p=x(this,Bn),g=Date.now(),I="error");const v=d.fetchStatus==="fetching",E=I==="pending",A=I==="error",S=E&&v,k=p!==void 0,L={status:I,fetchStatus:d.fetchStatus,isPending:E,isSuccess:I==="success",isError:A,isInitialLoading:S,isLoading:S,data:p,dataUpdatedAt:d.dataUpdatedAt,error:b,errorUpdatedAt:g,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:v,isRefetching:v&&!E,isLoadingError:A&&!k,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:A&&k,isStale:zi(t,n),refetch:this.refetch,promise:x(this,Xt)};if(this.options.experimental_prefetchInRender){const V=N=>{L.status==="error"?N.reject(L.error):L.data!==void 0&&N.resolve(L.data)},D=()=>{const N=j(this,Xt,L.promise=Mi());V(N)},O=x(this,Xt);switch(O.status){case"pending":t.queryHash===r.queryHash&&V(O);break;case"fulfilled":(L.status==="error"||L.data!==O.value)&&D();break;case"rejected":(L.status!=="error"||L.error!==O.reason)&&D();break}}return L}updateResult(t){const n=x(this,Je),r=this.createResult(x(this,de),this.options);if(j(this,rn,x(this,de).state),j(this,Gn,this.options),x(this,rn).data!==void 0&&j(this,Tn,x(this,de)),Vi(r,n))return;j(this,Je,r);const i={},o=()=>{if(!n)return!0;const{notifyOnChangeProps:s}=this.options,a=typeof s=="function"?s():s;if(a==="all"||!a&&!x(this,On).size)return!0;const l=new Set(a??x(this,On));return this.options.throwOnError&&l.add("error"),Object.keys(x(this,Je)).some(u=>{const c=u;return x(this,Je)[c]!==n[c]&&l.has(c)})};(t==null?void 0:t.listeners)!==!1&&o()&&(i.listeners=!0),pe(this,ve,vu).call(this,{...i,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&pe(this,ve,Io).call(this)}},Ue=new WeakMap,de=new WeakMap,er=new WeakMap,Je=new WeakMap,rn=new WeakMap,Gn=new WeakMap,Xt=new WeakMap,xt=new WeakMap,tr=new WeakMap,Bn=new WeakMap,Tn=new WeakMap,on=new WeakMap,sn=new WeakMap,Ht=new WeakMap,On=new WeakMap,ve=new WeakSet,ar=function(t){pe(this,ve,Ao).call(this);let n=x(this,de).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(it)),n},bo=function(){pe(this,ve,Co).call(this);const t=yn(this.options.staleTime,x(this,de));if(qt||x(this,Je).isStale||!Ti(t))return;const r=ta(x(this,Je).dataUpdatedAt,t)+1;j(this,on,setTimeout(()=>{x(this,Je).isStale||this.updateResult()},r))},yo=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(x(this,de)):this.options.refetchInterval)??!1},vo=function(t){pe(this,ve,xo).call(this),j(this,Ht,t),!(qt||ct(this.options.enabled,x(this,de))===!1||!Ti(x(this,Ht))||x(this,Ht)===0)&&j(this,sn,setInterval(()=>{(this.options.refetchIntervalInBackground||Ri.isFocused())&&pe(this,ve,ar).call(this)},x(this,Ht)))},Io=function(){pe(this,ve,bo).call(this),pe(this,ve,vo).call(this,pe(this,ve,yo).call(this))},Co=function(){x(this,on)&&(clearTimeout(x(this,on)),j(this,on,void 0))},xo=function(){x(this,sn)&&(clearInterval(x(this,sn)),j(this,sn,void 0))},Ao=function(){const t=x(this,Ue).getQueryCache().build(x(this,Ue),this.options);if(t===x(this,de))return;const n=x(this,de);j(this,de,t),j(this,er,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},vu=function(t){Ne.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(x(this,Je))}),x(this,Ue).getQueryCache().notify({query:x(this,de),type:"observerResultsUpdated"})})},ou);function ah(e,t){return ct(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function ha(e,t){return ah(e,t)||e.state.data!==void 0&&Hi(e,t,t.refetchOnMount)}function Hi(e,t,n){if(ct(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&zi(e,t)}return!1}function ga(e,t,n,r){return(e!==t||ct(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&zi(e,n)}function zi(e,t){return ct(t.enabled,e)!==!1&&e.isStaleByTime(yn(t.staleTime,e))}function lh(e,t){return!Vi(e.getCurrentResult(),t)}var ma=ne.createContext(void 0),uh=e=>{const t=ne.useContext(ma);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},ch=({client:e,children:t})=>(ne.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),P.jsx(ma.Provider,{value:e,children:t})),ba=ne.createContext(!1),dh=()=>ne.useContext(ba);ba.Provider;function ph(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var fh=ne.createContext(ph()),hh=()=>ne.useContext(fh);function gh(e,t){return typeof e=="function"?e(...t):!!e}function ya(){}var mh=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},bh=e=>{ne.useEffect(()=>{e.clearReset()},[e])},yh=({result:e,errorResetBoundary:t,throwOnError:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&gh(n,[e.error,r]),vh=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},Ih=(e,t)=>e.isLoading&&e.isFetching&&!t,Ch=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,va=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function xh(e,t,n){var c,d,f,p,b;if(process.env.NODE_ENV!=="production"&&(typeof e!="object"||Array.isArray(e)))throw new Error('Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object');const r=uh(),i=dh(),o=hh(),s=r.defaultQueryOptions(e);(d=(c=r.getDefaultOptions().queries)==null?void 0:c._experimental_beforeQuery)==null||d.call(c,s),s._optimisticResults=i?"isRestoring":"optimistic",vh(s),mh(s,o),bh(o);const a=!r.getQueryCache().get(s.queryHash),[l]=ne.useState(()=>new t(r,s)),u=l.getOptimisticResult(s);if(ne.useSyncExternalStore(ne.useCallback(g=>{const I=i?ya:l.subscribe(Ne.batchCalls(g));return l.updateResult(),I},[l,i]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),ne.useEffect(()=>{l.setOptions(s,{listeners:!1})},[s,l]),Ch(s,u))throw va(s,l,o);if(yh({result:u,errorResetBoundary:o,throwOnError:s.throwOnError,query:r.getQueryCache().get(s.queryHash)}))throw u.error;if((p=(f=r.getDefaultOptions().queries)==null?void 0:f._experimental_afterQuery)==null||p.call(f,s,u),s.experimental_prefetchInRender&&!qt&&Ih(u,i)){const g=a?va(s,l,o):(b=r.getQueryCache().get(s.queryHash))==null?void 0:b.promise;g==null||g.catch(ya).finally(()=>{l.updateResult()})}return s.notifyOnChangeProps?u:l.trackResult(u)}function Qt(e,t){return xh(e,sh)}const Ia=G.createContext(void 0),St=()=>{const e=G.useContext(Ia);if(!e)throw new Error("Must be used inside FrontendClientProvider");return e},Ah=({children:e,client:t})=>{const n=new oh({defaultOptions:{queries:{staleTime:36e5,refetchOnWindowFocus:!1}}});return P.jsx(ch,{client:n,children:P.jsx(Ia.Provider,{value:t,children:e})})};function Ca(e){return typeof e=="object"&&e&&"__lv"in e?e.__lv.value:e}function wh(e){if(typeof e=="object"&&e&&"selectedOptions"in e&&Array.isArray(e.selectedOptions)){const t=e.selectedOptions,n=[];for(const r of t)if(typeof r=="object"&&r&&"emitValue"in r){const i=r.emitValue;typeof i=="object"&&i&&"__lv"in i?n.push(i.__lv.value):n.push(i)}else return[];return n}return e&&typeof e=="object"&&Array.isArray(e.__lv)?e.__lv:Array.isArray(e)?e:[]}function Sh(e){const t=wh(e.value);if(!e.prop.default&&typeof t>"u")return["required"];if(!e.prop.default&&Array.isArray(t)&&!t.length)return["empty array"]}function Eh(e){const t=Ca(e.value);if(t==null||typeof t>"u")return["required"]}function kh(e){const{prop:t,value:n}=e,r=Ca(n);if(!t.default&&(r==null||typeof r>"u"))return["required"];const i=typeof r=="number"?r:parseInt(String(r));if(Number.isNaN(i))return["not a number"];const o=[];return typeof t.min=="number"&&i<t.min&&o.push("number too small"),typeof t.max=="number"&&i>t.max&&o.push("number too big"),o}function Fh(e){const{prop:t,value:n}=e;if(!t.default&&(n==null||typeof n>"u"))return["required"]}function Ph(e){const t=e.auth_type==="oauth",n=JSON.parse(e.custom_fields_json||"[]");if("extracted_custom_fields_names"in e&&e.extracted_custom_fields_names){const r=(e.extracted_custom_fields_names||[]).map(i=>({name:i}));n.push(...r)}return n.map(r=>({...r,optional:r.optional||t}))}function Gh(e){const{app:t,value:n}=e;if(!t)return["app field not registered"];if(!n)return["no app configured"];if(typeof n!="object")return["not an app"];const r=n;if("authProvisionId"in r&&!r.authProvisionId&&t.auth_type){const i=[];if(t.auth_type==="oauth"&&!r.oauth_access_token&&i.push("missing oauth token"),t.auth_type==="oauth"||t.auth_type==="keys"){const o=Ph(t),s=r;for(const a of o)!a.optional&&!s[a.name]&&i.push(`missing custom field: ${a.name}`)}return t.auth_type!=="none"&&i.push("no auth provision configured"),i}}const Jn=["$.service.db","$.interface.http","$.interface.apphook","$.interface.timer"],Wi=G.createContext(void 0),Sr=()=>{const e=G.useContext(Wi);if(!e)throw new Error("Must be used inside provider");return e},xa=({children:e,props:t})=>{const n=St(),r=G.useId(),{component:i,configuredProps:o,propNames:s,userId:a,sdkResponse:l,enableDebugging:u}=t,c=i.key,[d,f]=G.useState(0),[p,b]=G.useState({}),[g,I]=G.useState(!1),[v,E]=G.useState({}),[A,S]=G.useState([]),[k,C]=G.useState({});G.useEffect(()=>{C({})},[i.key]);const L=X=>k[X.name];let F=o||{};const[V,D]=G.useState(F),O=t.onUpdateConfiguredProps||D;t.onUpdateConfiguredProps||(F=V);const[N,q]=G.useState(),[ie,z]=G.useState(),U={userId:a,componentId:c,configuredProps:F,dynamicPropsId:N==null?void 0:N.id},ue={...U},{isFetching:fe}=Qt({queryKey:["dynamicProps",ue],queryFn:async()=>{var Oe;const X=await n.reloadComponentProps(U),{dynamicProps:Z,observations:Q,errors:be}=X;return Q&&Q.filter(He=>He.k==="error").length>0?at(Q):at(be),Z&&((Oe=t.onUpdateDynamicProps)==null||Oe.call(t,Z),q(Z)),z(void 0),[]},enabled:ie!=null}),[Ie,y]=G.useState([]);G.useEffect(()=>{qe()},[F]);let ce=(N==null?void 0:N.configurableProps)||t.component.configurable_props||[];if(s!=null&&s.length){const X=[];for(const Z of ce)s.findIndex(Q=>Z.name===Q)>=0&&X.push(Z);ce=X}ie!=null&&(ce=ce.slice(0,ie+1));const se=(X,Z)=>{const Q=[];if(X.optional||X.hidden||X.disabled||Jn.includes(X.type))return[];if(X.type==="app"){const be=p[X.name];if(be){const Oe=be.extra.app;Q.push(...Gh({prop:X,value:Z,app:Oe})??[])}else Q.push("field not registered")}else X.type==="boolean"?Q.push(...Eh({prop:X,value:Z})??[]):X.type==="integer"?Q.push(...kh({prop:X,value:Z})??[]):X.type==="string"?Q.push(...Fh({prop:X,value:Z})??[]):X.type==="string[]"&&Q.push(...Sh({prop:X,value:Z})??[]);return Q},m=X=>{let Z;for(let Q=0;Q<ce.length;Q++){const be=ce[Q];if(be.hidden||be.optional&&!L(be))continue;if(X[be.name]===void 0&&Z==null&&(be.type==="app"||be.remoteOptions)){Z=Q;break}}f(Z)},me=X=>{O(X),m(X),te(X)},te=X=>{const Z={};for(let Q=0;Q<ce.length;Q++){const be=ce[Q],Oe=X[be.name],He=se(be,Oe);He.length&&(Z[be.name]=He)}E(Z)};G.useEffect(()=>{m(V)},[V]),G.useEffect(()=>{te(F)},[F,ie,d]),G.useEffect(()=>{at(l)},[l]),G.useEffect(()=>{const X={};for(const Z of ce){if(Z.hidden||Jn.includes(Z.type)||Z.optional&&!L(Z))continue;const Q=F[Z.name];Q===void 0?"default"in Z&&Z.default!=null&&(X[Z.name]=Z.default):Z.type==="integer"&&typeof Q!="number"?delete X[Z.name]:X[Z.name]=Q}ea(X,F)||me(X)},[ce]);const[he,De]=G.useState(a);G.useEffect(()=>{he!==a&&(me({}),De(a))},[a]);const ge=(X,Z)=>{const Q=ce[X],be={...F};Z===void 0?delete be[Q.name]:be[Q.name]=Z,O(be),Q.reloadProps&&z(X),(Q.type==="app"||Q.remoteOptions)&&m(be);const Oe=se(Q,Z),He={...v};Oe.length?He[Q.name]=Oe:delete He[Q.name],E(He)},Xe=(X,Z)=>{const Q={...k};Z?Q[X.name]=!0:delete Q[X.name];const be=ce.findIndex(Oe=>Oe.name===X.name);Z?(o==null?void 0:o[X.name])!==void 0?ge(be,o[X.name]):"default"in X&&X.default!=null&&ge(be,X.default):ge(be,void 0),C(Q)},qe=()=>{const X=[];for(const Z of ce){if(!Z||Z.optional||Z.hidden||Jn.includes(Z.type))continue;const Q=F[Z.name];se(Z,Q).length&&X.push(Z.name)}X&&Ie&&ea(X,Ie)||y(X)},st=X=>{b(Z=>(Z[X.prop.name]=X,Z)),qe()},at=X=>{if(!X)return;let Z=[...A];const Q=(ke,Ae)=>{try{const Se=JSON.parse(ke),Ee={name:Se.name,message:Se.message};Ee.name&&Ee.message&&Ae.push(Ee)}catch{}},be=(ke,Ae)=>{const Se={name:ke.name,message:ke.message};Se.name&&Se.message&&Ae.push(Se)},Oe=(ke,Ae)=>{var Ee,B;const Se={name:(Ee=ke.err)==null?void 0:Ee.name,message:(B=ke.err)==null?void 0:B.message};Se.name&&Se.message&&Ae.push(Se)},He=(ke,Ae)=>{const Se=ke.os||ke.observations;if(Array.isArray(Se)&&Se.length>0)for(let Ee=0;Ee<Se.length;Ee++)Se[Ee].k==="error"&&Oe(Se[Ee],Ae)},Dn=(ke,Ae)=>{Ae.push({name:ke.error,message:JSON.stringify(ke.details)})},nr=(ke,Ae)=>{var Se;try{const Ee=(Se=JSON.parse(ke.message))==null?void 0:Se.data;Ee&&"observations"in Ee?He(Ee,Ae):Ee&&"error"in Ee&&"details"in Ee&&Dn(Ee,Ae)}catch{}};if(Array.isArray(X)&&X.length>0)for(let ke=0;ke<X.length;ke++){const Ae=X[ke];typeof Ae=="string"?Q(Ae,Z):typeof Ae=="object"&&"name"in Ae&&"message"in Ae?be(Ae,Z):typeof Ae=="object"&&Ae.k==="error"&&Oe(Ae,Z)}else typeof X=="object"&&"os"in X||"observations"in X?He(X,Z):typeof X=="object"&&"message"in X?nr(X,Z):Z=[];S(Z)},zt={id:r,isValid:!Object.keys(v).length,props:t,userId:a,component:i,configurableProps:ce,configuredProps:F,dynamicProps:N,dynamicPropsQueryIsFetching:fe,errors:v,fields:p,optionalPropIsEnabled:L,optionalPropSetEnabled:Xe,propsNeedConfiguring:Ie,queryDisabledIdx:d,registerField:st,setConfiguredProp:ge,setSubmitting:I,submitting:g,sdkErrors:A,enableDebugging:u};return P.jsx(Wi.Provider,{value:zt,children:e})};function $t(e){"@babel/helpers - typeof";return $t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$t(e)}function Bh(e,t){if($t(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if($t(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Aa(e){var t=Bh(e,"string");return $t(t)=="symbol"?t:t+""}function Yn(e,t,n){return(t=Aa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wa(Object(n),!0).forEach(function(r){Yn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Th(e){if(Array.isArray(e))return e}function Oh(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,s,a=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&n.return!=null&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}function Zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Sa(e,t){if(e){if(typeof e=="string")return Zi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zi(e,t):void 0}}function Dh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
16
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Et(e,t){return Th(e)||Oh(e,t)||Sa(e,t)||Dh()}function Vh(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function yt(e,t){if(e==null)return{};var n,r,i=Vh(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Nh=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function Ea(e){var t=e.defaultInputValue,n=t===void 0?"":t,r=e.defaultMenuIsOpen,i=r===void 0?!1:r,o=e.defaultValue,s=o===void 0?null:o,a=e.inputValue,l=e.menuIsOpen,u=e.onChange,c=e.onInputChange,d=e.onMenuClose,f=e.onMenuOpen,p=e.value,b=yt(e,Nh),g=G.useState(a!==void 0?a:n),I=Et(g,2),v=I[0],E=I[1],A=G.useState(l!==void 0?l:i),S=Et(A,2),k=S[0],C=S[1],L=G.useState(p!==void 0?p:s),F=Et(L,2),V=F[0],D=F[1],O=G.useCallback(function(fe,Ie){typeof u=="function"&&u(fe,Ie),D(fe)},[u]),N=G.useCallback(function(fe,Ie){var y;typeof c=="function"&&(y=c(fe,Ie)),E(y!==void 0?y:fe)},[c]),q=G.useCallback(function(){typeof f=="function"&&f(),C(!0)},[f]),ie=G.useCallback(function(){typeof d=="function"&&d(),C(!1)},[d]),z=a!==void 0?a:v,U=l!==void 0?l:k,ue=p!==void 0?p:V;return Y(Y({},b),{},{inputValue:z,menuIsOpen:U,onChange:O,onInputChange:N,onMenuClose:ie,onMenuOpen:q,value:ue})}function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}function Lh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ka(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Aa(r.key),r)}}function Rh(e,t,n){return t&&ka(e.prototype,t),n&&ka(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ji(e,t){return ji=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},ji(e,t)}function Mh(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ji(e,t)}function Er(e){return Er=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Er(e)}function Fa(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Fa=function(){return!!e})()}function Xh(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hh(e,t){if(t&&($t(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Xh(e)}function zh(e){var t=Fa();return function(){var n,r=Er(e);if(t){var i=Er(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Hh(this,n)}}function Wh(e){if(Array.isArray(e))return Zi(e)}function Zh(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function jh(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
17
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vn(e){return Wh(e)||Zh(e)||Sa(e)||jh()}function Jh(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Yh=Math.min,_h=Math.max,kr=Math.round,Fr=Math.floor,Pr=e=>({x:e,y:e});function Uh(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Gr(){return typeof window<"u"}function Pa(e){return Ba(e)?(e.nodeName||"").toLowerCase():"#document"}function kt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ga(e){var t;return(t=(Ba(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ba(e){return Gr()?e instanceof Node||e instanceof kt(e).Node:!1}function qh(e){return Gr()?e instanceof Element||e instanceof kt(e).Element:!1}function Ji(e){return Gr()?e instanceof HTMLElement||e instanceof kt(e).HTMLElement:!1}function Ta(e){return!Gr()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof kt(e).ShadowRoot}function Oa(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Yi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function Qh(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $h(e){return["html","body","#document"].includes(Pa(e))}function Yi(e){return kt(e).getComputedStyle(e)}function Kh(e){if(Pa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Ta(e)&&e.host||Ga(e);return Ta(t)?t.host:t}function Da(e){const t=Kh(e);return $h(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ji(t)&&Oa(t)?t:Da(t)}function Br(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Da(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),s=kt(i);if(o){const a=_i(s);return t.concat(s,s.visualViewport||[],Oa(i)?i:[],a&&n?Br(a):[])}return t.concat(i,Br(i,[],n))}function _i(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eg(e){const t=Yi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ji(e),o=i?e.offsetWidth:n,s=i?e.offsetHeight:r,a=kr(n)!==o||kr(r)!==s;return a&&(n=o,r=s),{width:n,height:r,$:a}}function Ui(e){return qh(e)?e:e.contextElement}function Va(e){const t=Ui(e);if(!Ji(t))return Pr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eg(t);let s=(o?kr(n.width):n.width)/r,a=(o?kr(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const tg=Pr(0);function ng(e){const t=kt(e);return!Qh()||!t.visualViewport?tg:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rg(e,t,n){return!1}function Na(e,t,n,r){t===void 0&&(t=!1);const i=e.getBoundingClientRect(),o=Ui(e);let s=Pr(1);t&&(s=Va(e));const a=rg()?ng(o):Pr(0);let l=(i.left+a.x)/s.x,u=(i.top+a.y)/s.y,c=i.width/s.x,d=i.height/s.y;if(o){const f=kt(o),p=r;let b=f,g=_i(b);for(;g&&r&&p!==b;){const I=Va(g),v=g.getBoundingClientRect(),E=Yi(g),A=v.left+(g.clientLeft+parseFloat(E.paddingLeft))*I.x,S=v.top+(g.clientTop+parseFloat(E.paddingTop))*I.y;l*=I.x,u*=I.y,c*=I.x,d*=I.y,l+=A,u+=S,b=kt(g),g=_i(b)}}return Uh({width:c,height:d,x:l,y:u})}function ig(e,t){let n=null,r;const i=Ga(e);function o(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),o();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;const p=Fr(c),b=Fr(i.clientWidth-(u+d)),g=Fr(i.clientHeight-(c+f)),I=Fr(u),E={rootMargin:-p+"px "+-b+"px "+-g+"px "+-I+"px",threshold:_h(0,Yh(1,l))||1};let A=!0;function S(k){const C=k[0].intersectionRatio;if(C!==l){if(!A)return s();C?s(!1,C):r=setTimeout(()=>{s(!1,1e-7)},1e3)}A=!1}try{n=new IntersectionObserver(S,{...E,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,E)}n.observe(e)}return s(!0),o}function og(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=Ui(e),c=i||o?[...u?Br(u):[],...Br(t)]:[];c.forEach(v=>{i&&v.addEventListener("scroll",n,{passive:!0}),o&&v.addEventListener("resize",n)});const d=u&&a?ig(u,n):null;let f=-1,p=null;s&&(p=new ResizeObserver(v=>{let[E]=v;E&&E.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var A;(A=p)==null||A.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let b,g=l?Na(e):null;l&&I();function I(){const v=Na(e);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&n(),g=v,b=requestAnimationFrame(I)}return n(),()=>{var v;c.forEach(E=>{i&&E.removeEventListener("scroll",n),o&&E.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,l&&cancelAnimationFrame(b)}}var qi=G.useLayoutEffect,sg=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Tr=function(){};function ag(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function lg(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var s in t)t.hasOwnProperty(s)&&t[s]&&o.push("".concat(ag(e,s)));return o.filter(function(a){return a}).map(function(a){return String(a).trim()}).join(" ")}var Or=function(t){return bg(t)?t.filter(Boolean):$t(t)==="object"&&t!==null?[t]:[]},La=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=yt(t,sg);return Y({},n)},Pe=function(t,n,r){var i=t.cx,o=t.getStyles,s=t.getClassNames,a=t.className;return{css:o(n,t),className:i(r??{},s(n,t),a)}};function Dr(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function ug(e){return Dr(e)?window.innerHeight:e.clientHeight}function Ra(e){return Dr(e)?window.pageYOffset:e.scrollTop}function Vr(e,t){if(Dr(e)){window.scrollTo(0,t);return}e.scrollTop=t}function cg(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}function dg(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Nr(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Tr,i=Ra(e),o=t-i,s=10,a=0;function l(){a+=s;var u=dg(a,i,o,n);Vr(e,u),a<n?window.requestAnimationFrame(l):r(e)}l()}function Ma(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Vr(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Vr(e,Math.max(t.offsetTop-i,0))}function pg(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Xa(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function fg(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Ha=!1,hg={get passive(){return Ha=!0}},Lr=typeof window<"u"?window:{};Lr.addEventListener&&Lr.removeEventListener&&(Lr.addEventListener("p",Tr,hg),Lr.removeEventListener("p",Tr,!1));var gg=Ha;function mg(e){return e!=null}function bg(e){return Array.isArray(e)}function _n(e,t,n){return e?t:n}function _y(e){return e}function Uy(e){return e}var yg=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];var o=Object.entries(t).filter(function(s){var a=Et(s,1),l=a[0];return!r.includes(l)});return o.reduce(function(s,a){var l=Et(a,2),u=l[0],c=l[1];return s[u]=c,s},{})},vg=["children","innerProps"],Ig=["children","innerProps"];function Cg(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,s=e.isFixedPosition,a=e.controlHeight,l=cg(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c=l.getBoundingClientRect(),d=c.height,f=n.getBoundingClientRect(),p=f.bottom,b=f.height,g=f.top,I=n.offsetParent.getBoundingClientRect(),v=I.top,E=s?window.innerHeight:ug(l),A=Ra(l),S=parseInt(getComputedStyle(n).marginBottom,10),k=parseInt(getComputedStyle(n).marginTop,10),C=v-k,L=E-g,F=C+A,V=d-A-g,D=p-E+A+S,O=A+g-k,N=160;switch(i){case"auto":case"bottom":if(L>=b)return{placement:"bottom",maxHeight:t};if(V>=b&&!s)return o&&Nr(l,D,N),{placement:"bottom",maxHeight:t};if(!s&&V>=r||s&&L>=r){o&&Nr(l,D,N);var q=s?L-S:V-S;return{placement:"bottom",maxHeight:q}}if(i==="auto"||s){var ie=t,z=s?C:F;return z>=r&&(ie=Math.min(z-S-a,t)),{placement:"top",maxHeight:ie}}if(i==="bottom")return o&&Vr(l,D),{placement:"bottom",maxHeight:t};break;case"top":if(C>=b)return{placement:"top",maxHeight:t};if(F>=b&&!s)return o&&Nr(l,O,N),{placement:"top",maxHeight:t};if(!s&&F>=r||s&&C>=r){var U=t;return(!s&&F>=r||s&&C>=r)&&(U=s?C-k:F-k),o&&Nr(l,O,N),{placement:"top",maxHeight:U}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return u}function xg(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var za=function(t){return t==="auto"?"bottom":t},Ag=function(t,n){var r,i=t.placement,o=t.theme,s=o.borderRadius,a=o.spacing,l=o.colors;return Y((r={label:"menu"},Yn(r,xg(i),"100%"),Yn(r,"position","absolute"),Yn(r,"width","100%"),Yn(r,"zIndex",1),r),n?{}:{backgroundColor:l.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},Wa=G.createContext(null),wg=function(t){var n=t.children,r=t.minMenuHeight,i=t.maxMenuHeight,o=t.menuPlacement,s=t.menuPosition,a=t.menuShouldScrollIntoView,l=t.theme,u=G.useContext(Wa)||{},c=u.setPortalPlacement,d=G.useRef(null),f=G.useState(i),p=Et(f,2),b=p[0],g=p[1],I=G.useState(null),v=Et(I,2),E=v[0],A=v[1],S=l.spacing.controlHeight;return qi(function(){var k=d.current;if(k){var C=s==="fixed",L=a&&!C,F=Cg({maxHeight:i,menuEl:k,minHeight:r,placement:o,shouldScroll:L,isFixedPosition:C,controlHeight:S});g(F.maxHeight),A(F.placement),c==null||c(F.placement)}},[i,o,s,a,r,c,S]),n({ref:d,placerProps:Y(Y({},t),{},{placement:E||za(o),maxHeight:b})})},Sg=function(t){var n=t.children,r=t.innerRef,i=t.innerProps;return J.jsx("div",_({},Pe(t,"menu",{menu:!0}),{ref:r},i),n)},Eg=Sg,kg=function(t,n){var r=t.maxHeight,i=t.theme.spacing.baseUnit;return Y({maxHeight:r,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},n?{}:{paddingBottom:i,paddingTop:i})},Fg=function(t){var n=t.children,r=t.innerProps,i=t.innerRef,o=t.isMulti;return J.jsx("div",_({},Pe(t,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:i},r),n)},Za=function(t,n){var r=t.theme,i=r.spacing.baseUnit,o=r.colors;return Y({textAlign:"center"},n?{}:{color:o.neutral40,padding:"".concat(i*2,"px ").concat(i*3,"px")})},Pg=Za,Gg=Za,Bg=function(t){var n=t.children,r=n===void 0?"No options":n,i=t.innerProps,o=yt(t,vg);return J.jsx("div",_({},Pe(Y(Y({},o),{},{children:r,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),r)},Tg=function(t){var n=t.children,r=n===void 0?"Loading...":n,i=t.innerProps,o=yt(t,Ig);return J.jsx("div",_({},Pe(Y(Y({},o),{},{children:r,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),r)},Og=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Dg=function(t){var n=t.appendTo,r=t.children,i=t.controlElement,o=t.innerProps,s=t.menuPlacement,a=t.menuPosition,l=G.useRef(null),u=G.useRef(null),c=G.useState(za(s)),d=Et(c,2),f=d[0],p=d[1],b=G.useMemo(function(){return{setPortalPlacement:p}},[]),g=G.useState(null),I=Et(g,2),v=I[0],E=I[1],A=G.useCallback(function(){if(i){var L=pg(i),F=a==="fixed"?0:window.pageYOffset,V=L[f]+F;(V!==(v==null?void 0:v.offset)||L.left!==(v==null?void 0:v.rect.left)||L.width!==(v==null?void 0:v.rect.width))&&E({offset:V,rect:L})}},[i,a,f,v==null?void 0:v.offset,v==null?void 0:v.rect.left,v==null?void 0:v.rect.width]);qi(function(){A()},[A]);var S=G.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),i&&l.current&&(u.current=og(i,l.current,A,{elementResize:"ResizeObserver"in window}))},[i,A]);qi(function(){S()},[S]);var k=G.useCallback(function(L){l.current=L,S()},[S]);if(!n&&a!=="fixed"||!v)return null;var C=J.jsx("div",_({ref:k},Pe(Y(Y({},t),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),o),r);return J.jsx(Wa.Provider,{value:b},n?$r.createPortal(C,n):C)},Vg=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":void 0,pointerEvents:n?"none":void 0,position:"relative"}},Ng=function(t){var n=t.children,r=t.innerProps,i=t.isDisabled,o=t.isRtl;return J.jsx("div",_({},Pe(t,"container",{"--is-disabled":i,"--is-rtl":o}),r),n)},Lg=function(t,n){var r=t.theme.spacing,i=t.isMulti,o=t.hasValue,s=t.selectProps.controlShouldRenderValue;return Y({alignItems:"center",display:i&&o&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},n?{}:{padding:"".concat(r.baseUnit/2,"px ").concat(r.baseUnit*2,"px")})},Rg=function(t){var n=t.children,r=t.innerProps,i=t.isMulti,o=t.hasValue;return J.jsx("div",_({},Pe(t,"valueContainer",{"value-container":!0,"value-container--is-multi":i,"value-container--has-value":o}),r),n)},Mg=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Xg=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"indicatorsContainer",{indicators:!0}),r),n)},ja,Hg=["size"],zg=["innerProps","isRtl","size"];function Wg(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Zg=process.env.NODE_ENV==="production"?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0Jzt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IwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:Wg},Ja=function(t){var n=t.size,r=yt(t,Hg);return J.jsx("svg",_({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Zg},r))},Qi=function(t){return J.jsx(Ja,_({size:20},t),J.jsx("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Ya=function(t){return J.jsx(Ja,_({size:20},t),J.jsx("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},_a=function(t,n){var r=t.isFocused,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorContainer",display:"flex",transition:"color 150ms"},n?{}:{color:r?s.neutral60:s.neutral20,padding:o*2,":hover":{color:r?s.neutral80:s.neutral40}})},jg=_a,Jg=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),r),n||J.jsx(Ya,null))},Yg=_a,_g=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),r),n||J.jsx(Qi,null))},Ug=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing.baseUnit,s=i.colors;return Y({label:"indicatorSeparator",alignSelf:"stretch",width:1},n?{}:{backgroundColor:r?s.neutral10:s.neutral20,marginBottom:o*2,marginTop:o*2})},qg=function(t){var n=t.innerProps;return J.jsx("span",_({},n,Pe(t,"indicatorSeparator",{"indicator-separator":!0})))},Qg=J.keyframes(ja||(ja=Jh([`
18
18
  0%, 80%, 100% { opacity: 0; }
19
19
  40% { opacity: 1; }
20
- `]))),Yg=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,s=o.colors,a=o.spacing.baseUnit;return Y({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:a*2})},$i=function(t){var n=t.delay,r=t.offset;return J.jsx("span",{css:J.css({animation:"".concat(Jg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi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i,s=yt(t,Lg);return J.jsx("div",_({},Pe(Y(Y({},s),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),J.jsx($i,{delay:0,offset:r}),J.jsx($i,{delay:160,offset:!0}),J.jsx($i,{delay:320,offset:!r}))},Ug=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,s=o.colors,a=o.borderRadius,l=o.spacing;return Y({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},qg=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,s=t.innerProps,a=t.menuIsOpen;return J.jsx("div",_({ref:o},Pe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":a}),s,{"aria-disabled":r||void 0}),n)},Qg=qg,$g=["data"],Kg=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},em=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,s=t.Heading,a=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return J.jsx("div",_({},Pe(t,"group",{group:!0}),l),J.jsx(s,_({},a,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),u),J.jsx("div",null,n))},tm=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return Y({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},nm=function(t){var n=Na(t);n.data;var r=yt(n,$g);return J.jsx("div",_({},Pe(t,"groupHeading",{"group-heading":!0}),r))},rm=em,im=["innerRef","isDisabled","isHidden","inputClassName"],om=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,s=o.spacing,a=o.colors;return Y(Y({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},sm),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:a.neutral80})},_a={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},sm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Y({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},_a)},am=function(t){return Y({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},_a)},lm=function(t){var n=t.cx,r=t.value,i=Na(t),o=i.innerRef,s=i.isDisabled,a=i.isHidden,l=i.inputClassName,u=yt(i,im);return J.jsx("div",_({},Pe(t,"input",{"input-container":!0}),{"data-value":r||""}),J.jsx("input",_({className:n({input:!0},l),ref:o,style:am(a),disabled:s},u)))},um=lm,cm=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors;return Y({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},dm=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,s=t.cropWithEllipsis;return Y({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},pm=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors,a=t.isFocused;return Y({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:a?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Ua=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",r,n)},fm=Ua,hm=Ua;function gm(e){var t=e.children,n=e.innerProps;return J.jsx("div",_({role:"button"},n),t||J.jsx(Qi,{size:14}))}var mm=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,s=t.isDisabled,a=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return J.jsx(u,{data:i,innerProps:Y(Y({},Pe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:l},J.jsx(c,{data:i,innerProps:Y({},Pe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),J.jsx(d,{data:i,innerProps:Y(Y({},Pe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},a),selectProps:l}))},bm=mm,ym=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.theme,a=s.spacing,l=s.colors;return Y({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?l.primary:i?l.primary25:"transparent",color:r?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?l.primary:l.primary50}})},vm=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.innerRef,a=t.innerProps;return J.jsx("div",_({},Pe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:s,"aria-disabled":r},a),n)},Im=vm,Cm=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return Y({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},xm=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"placeholder",{placeholder:!0}),r),n)},Am=xm,wm=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,s=i.colors;return Y({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},Sm=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return J.jsx("div",_({},Pe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Em=Sm,Un={ClearIndicator:Wg,Control:Qg,DropdownIndicator:Hg,DownChevron:Ja,CrossIcon:Qi,Group:rm,GroupHeading:nm,IndicatorsContainer:Vg,IndicatorSeparator:jg,Input:um,LoadingIndicator:_g,Menu:Cg,MenuList:Ag,MenuPortal:Pg,LoadingMessage:kg,NoOptionsMessage:Eg,MultiValue:bm,MultiValueContainer:fm,MultiValueLabel:hm,MultiValueRemove:gm,Option:Im,Placeholder:Am,SelectContainer:Bg,SingleValue:Em,ValueContainer:Og},km=function(t){return Y(Y({},Un),t.components)},qa=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Fm(e,t){return!!(e===t||qa(e)&&qa(t))}function Pm(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Fm(e[n],t[n]))return!1;return!0}function Gm(e,t){t===void 0&&(t=Pm);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}function Bm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Tm=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Bm},Om=function(t){return J.jsx("span",_({css:Tm},t))},Qa=Om,Dm={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,o=t.context,s=t.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,o=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,s=o===void 0?"":o,a=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(g,I){return g&&g.length?"".concat(g.indexOf(I)+1," of ").concat(g.length):""};if(n==="value"&&a)return"value ".concat(s," focused, ").concat(d(a,r),".");if(n==="menu"&&c){var f=l?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(s).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Vm=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,s=t.isFocused,a=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,b=l.isMulti,g=l.isOptionDisabled,I=l.isSearchable,v=l.menuIsOpen,S=l.options,w=l.screenReaderStatus,k=l.tabSelectsValue,B=l.isLoading,A=l["aria-label"],L=l["aria-live"],E=P.useMemo(function(){return Y(Y({},Dm),d||{})},[d]),V=P.useMemo(function(){var z="";if(n&&E.onChange){var U=n.option,ue=n.options,fe=n.removedValue,Ie=n.removedValues,y=n.value,ce=function(ge){return Array.isArray(ge)?null:ge},se=fe||U||ce(y),m=se?f(se):"",me=ue||Ie||void 0,te=me?me.map(f):[],he=Y({isDisabled:se&&g(se,a),label:m,labels:te},n);z=E.onChange(he)}return z},[n,E,g,a,f]),D=P.useMemo(function(){var z="",U=r||i,ue=!!(r&&a&&a.includes(r));if(U&&E.onFocus){var fe={focused:U,label:f(U),isDisabled:g(U,a),isSelected:ue,options:o,context:U===r?"menu":"value",selectValue:a,isAppleDevice:c};z=E.onFocus(fe)}return z},[r,i,f,g,E,o,a,c]),T=P.useMemo(function(){var z="";if(v&&S.length&&!B&&E.onFilter){var U=w({count:o.length});z=E.onFilter({inputValue:p,resultsMessage:U})}return z},[o,p,v,E,S,w,B]),N=(n==null?void 0:n.action)==="initial-input-focus",q=P.useMemo(function(){var z="";if(E.guidance){var U=i?"value":v?"menu":"input";z=E.guidance({"aria-label":A,context:U,isDisabled:r&&g(r,a),isMulti:b,isSearchable:I,tabSelectsValue:k,isInitialFocus:N})}return z},[A,r,i,b,g,I,v,E,a,k,N]),ie=J.jsx(P.Fragment,null,J.jsx("span",{id:"aria-selection"},V),J.jsx("span",{id:"aria-focused"},D),J.jsx("span",{id:"aria-results"},T),J.jsx("span",{id:"aria-guidance"},q));return J.jsx(P.Fragment,null,J.jsx(Qa,{id:u},N&&ie),J.jsx(Qa,{"aria-live":L,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!N&&ie))},Nm=Vm,Ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Lm=new RegExp("["+Ki.map(function(e){return e.letters}).join("")+"]","g"),$a={},eo=0;eo<Ki.length;eo++)for(var to=Ki[eo],no=0;no<to.letters.length;no++)$a[to.letters[no]]=to.base;var Ka=function(t){return t.replace(Lm,function(n){return $a[n]})},Rm=Gm(Ka),el=function(t){return t.replace(/^\s+|\s+$/g,"")},Mm=function(t){return"".concat(t.label," ").concat(t.value)},Xm=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Y({ignoreCase:!0,ignoreAccents:!0,stringify:Mm,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,s=i.ignoreAccents,a=i.stringify,l=i.trim,u=i.matchFrom,c=l?el(r):r,d=l?el(a(n)):a(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=Rm(c),d=Ka(d)),u==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Hm=["innerRef"];function zm(e){var t=e.innerRef,n=yt(e,Hm),r=fg(n,"onExited","in","enter","exit","appear");return J.jsx("input",_({ref:t},r,{css:J.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var Wm=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Zm(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=P.useRef(!1),a=P.useRef(!1),l=P.useRef(0),u=P.useRef(null),c=P.useCallback(function(I,v){if(u.current!==null){var S=u.current,w=S.scrollTop,k=S.scrollHeight,B=S.clientHeight,A=u.current,L=v>0,E=k-B-w,V=!1;E>v&&s.current&&(r&&r(I),s.current=!1),L&&a.current&&(o&&o(I),a.current=!1),L&&v>E?(n&&!s.current&&n(I),A.scrollTop=k,V=!0,s.current=!0):!L&&-v>w&&(i&&!a.current&&i(I),A.scrollTop=0,V=!0,a.current=!0),V&&Wm(I)}},[n,r,i,o]),d=P.useCallback(function(I){c(I,I.deltaY)},[c]),f=P.useCallback(function(I){l.current=I.changedTouches[0].clientY},[]),p=P.useCallback(function(I){var v=l.current-I.changedTouches[0].clientY;c(I,v)},[c]),b=P.useCallback(function(I){if(I){var v=cg?{passive:!1}:!1;I.addEventListener("wheel",d,v),I.addEventListener("touchstart",f,v),I.addEventListener("touchmove",p,v)}},[p,f,d]),g=P.useCallback(function(I){I&&(I.removeEventListener("wheel",d,!1),I.removeEventListener("touchstart",f,!1),I.removeEventListener("touchmove",p,!1))},[p,f,d]);return P.useEffect(function(){if(t){var I=u.current;return b(I),function(){g(I)}}},[t,b,g]),function(I){u.current=I}}var tl=["boxSizing","height","overflow","paddingRight","position"],nl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function rl(e){e.cancelable&&e.preventDefault()}function il(e){e.stopPropagation()}function ol(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function sl(){return"ontouchstart"in window||navigator.maxTouchPoints}var al=!!(typeof window<"u"&&window.document&&window.document.createElement),qn=0,In={capture:!1,passive:!1};function jm(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=P.useRef({}),o=P.useRef(null),s=P.useCallback(function(l){if(al){var u=document.body,c=u&&u.style;if(r&&tl.forEach(function(b){var g=c&&c[b];i.current[b]=g}),r&&qn<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(nl).forEach(function(b){var g=nl[b];c&&(c[b]=g)}),c&&(c.paddingRight="".concat(p,"px"))}u&&sl()&&(u.addEventListener("touchmove",rl,In),l&&(l.addEventListener("touchstart",ol,In),l.addEventListener("touchmove",il,In))),qn+=1}},[r]),a=P.useCallback(function(l){if(al){var u=document.body,c=u&&u.style;qn=Math.max(qn-1,0),r&&qn<1&&tl.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),u&&sl()&&(u.removeEventListener("touchmove",rl,In),l&&(l.removeEventListener("touchstart",ol,In),l.removeEventListener("touchmove",il,In)))}},[r]);return P.useEffect(function(){if(t){var l=o.current;return s(l),function(){a(l)}}},[t,s,a]),function(l){o.current=l}}function Jm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Ym=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},_m=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgf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G4gICk7XG59XG4iXX0= */",toString:Jm};function Um(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,a=e.onTopArrive,l=e.onTopLeave,u=Zm({isEnabled:i,onBottomArrive:o,onBottomLeave:s,onTopArrive:a,onTopLeave:l}),c=jm({isEnabled:n}),d=function(p){u(p),c(p)};return J.jsx(P.Fragment,null,n&&J.jsx("div",{onClick:Ym,css:_m}),t(d))}function qm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Qm=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:qm},$m=function(t){var n=t.name,r=t.onFocus;return J.jsx("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:Qm,value:"",onChange:function(){}})},Km=$m;function ro(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function eb(){return ro(/^iPhone/i)}function ll(){return ro(/^Mac/i)}function tb(){return ro(/^iPad/i)||ll()&&navigator.maxTouchPoints>1}function nb(){return eb()||tb()}function rb(){return ll()||nb()}var ib=function(t){return t.label},ul=function(t){return t.label},cl=function(t){return t.value},ob=function(t){return!!t.isDisabled},sb={clearIndicator:zg,container:Gg,control:Ug,dropdownIndicator:Xg,group:Kg,groupHeading:tm,indicatorsContainer:Dg,indicatorSeparator:Zg,input:om,loadingIndicator:Yg,loadingMessage:Sg,menu:yg,menuList:xg,menuPortal:Fg,multiValue:cm,multiValueLabel:dm,multiValueRemove:pm,noOptionsMessage:wg,option:ym,placeholder:Cm,singleValue:wm,valueContainer:Tg};function ab(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Y({},e);return Object.keys(t).forEach(function(r){var i=r;e[i]?n[i]=function(o,s){return t[i](e[i](o,s),s)}:n[i]=t[i]}),n}var lb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},ub=4,dl=4,cb=38,db=dl*2,pb={baseUnit:dl,controlHeight:cb,menuGutter:db},Qn={borderRadius:ub,colors:lb,spacing:pb},fb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Ma(),captureMenuScroll:!Ma(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Xm(),formatGroupLabel:ib,getOptionLabel:ul,getOptionValue:cl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:ob,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!lg(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function pl(e,t,n,r){var i=bl(e,t,n),o=yl(e,t,n),s=ml(e,t),a=Mr(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:s,value:a,index:r}}function Rr(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,a){return pl(e,s,t,a)}).filter(function(s){return gl(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=pl(e,n,t,r);return gl(e,o)?o:void 0}).filter(dg)}function fl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,vn(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function hl(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,vn(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function hb(e,t){return fl(Rr(e,t))}function gl(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!Il(e)||!o)&&vl(e,{label:s,value:a,data:i},r)}function gb(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function mb(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var io=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},ml=function(t,n){return t.getOptionLabel(n)},Mr=function(t,n){return t.getOptionValue(n)};function bl(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function yl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Mr(e,t);return n.some(function(i){return Mr(e,i)===r})}function vl(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Il=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},bb=1,oo=function(e){Dh(n,e);var t=Lh(n);function n(r){var i;if(Th(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=rb(),i.controlRef=null,i.getControlRef=function(l){i.controlRef=l},i.focusedOptionRef=null,i.getFocusedOptionRef=function(l){i.focusedOptionRef=l},i.menuListRef=null,i.getMenuListRef=function(l){i.menuListRef=l},i.inputRef=null,i.getInputRef=function(l){i.inputRef=l},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(l,u){var c=i.props,d=c.onChange,f=c.name;u.name=f,i.ariaOnChange(l,u),d(l,u)},i.setValue=function(l,u,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,b=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(l,{action:u,option:c})},i.selectOption=function(l){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,f=u.name,p=i.state.selectValue,b=d&&i.isOptionSelected(l,p),g=i.isOptionDisabled(l,p);if(b){var I=i.getOptionValue(l);i.setValue(p.filter(function(v){return i.getOptionValue(v)!==I}),"deselect-option",l)}else if(!g)d?i.setValue([].concat(vn(p),[l]),"select-option",l):i.setValue(l,"select-option");else{i.ariaOnChange(l,{action:"select-option",option:l,name:f});return}c&&i.blurInput()},i.removeValue=function(l){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(l),f=c.filter(function(b){return i.getOptionValue(b)!==d}),p=_n(u,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:l}),i.focusInput()},i.clearValue=function(){var l=i.state.selectValue;i.onChange(_n(i.props.isMulti,[],null),{action:"clear",removedValues:l})},i.popValue=function(){var l=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),f=_n(l,d,d[0]||null);c&&i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(l){return io(i.state.focusableOptionsWithIds,l)},i.getFocusableOptionsWithIds=function(){return hl(Rr(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return rg.apply(void 0,[i.props.classNamePrefix].concat(u))},i.getOptionLabel=function(l){return ml(i.props,l)},i.getOptionValue=function(l){return Mr(i.props,l)},i.getStyles=function(l,u){var c=i.props.unstyled,d=sb[l](u,c);d.boxSizing="border-box";var f=i.props.styles[l];return f?f(d,u):d},i.getClassNames=function(l,u){var c,d;return(c=(d=i.props.classNames)[l])===null||c===void 0?void 0:c.call(d,u)},i.getElementId=function(l){return"".concat(i.state.instancePrefix,"-").concat(l)},i.getComponents=function(){return km(i.props)},i.buildCategorizedOptions=function(){return Rr(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return fl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(l,u){i.setState({ariaSelection:Y({value:l},u)})},i.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(l){i.blockOptionHover=!1},i.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&i.onMenuClose():u&&i.openMenu("first"):(u&&(i.openAfterFocus=!0),i.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},i.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!i.props.isDisabled){var u=i.props,c=u.isMulti,d=u.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),l.preventDefault()}},i.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(i.clearValue(),l.preventDefault(),i.openAfterFocus=!1,l.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(l){typeof i.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&Dr(l.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(l)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),f=Math.abs(c.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(l){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(l.target)&&i.menuListRef&&!i.menuListRef.contains(l.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(l){i.userIsDragging||i.onControlMouseDown(l)},i.onClearIndicatorTouchEnd=function(l){i.userIsDragging||i.onClearIndicatorMouseDown(l)},i.onDropdownIndicatorTouchEnd=function(l){i.userIsDragging||i.onDropdownIndicatorMouseDown(l)},i.handleInputChange=function(l){var u=i.props.inputValue,c=l.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(l){i.props.onFocus&&i.props.onFocus(l),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(l){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(l),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(l){if(!(i.blockOptionHover||i.state.focusedOption===l)){var u=i.getFocusableOptions(),c=u.indexOf(l);i.setState({focusedOption:l,focusedOptionId:c>-1?i.getFocusedOptionId(l):null})}},i.shouldHideSelectedOptions=function(){return Il(i.props)},i.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),i.focus()},i.onKeyDown=function(l){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,b=u.isClearable,g=u.isDisabled,I=u.menuIsOpen,v=u.onKeyDown,S=u.tabSelectsValue,w=u.openMenuOnFocus,k=i.state,B=k.focusedOption,A=k.focusedValue,L=k.selectValue;if(!g&&!(typeof v=="function"&&(v(l),l.defaultPrevented))){switch(i.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(A)i.removeValue(A);else{if(!d)return;c?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||l.shiftKey||!I||!S||!B||w&&i.isOptionSelected(B,L))return;i.selectOption(B);break;case"Enter":if(l.keyCode===229)break;if(I){if(!B||i.isComposing)return;i.selectOption(B);break}return;case"Escape":I?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):b&&f&&i.clearValue();break;case" ":if(p)return;if(!I){i.openMenu("first");break}if(!B)return;i.selectOption(B);break;case"ArrowUp":I?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":I?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!I)return;i.focusOption("pageup");break;case"PageDown":if(!I)return;i.focusOption("pagedown");break;case"Home":if(!I)return;i.focusOption("first");break;case"End":if(!I)return;i.focusOption("last");break;default:return}l.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++bb),i.state.selectValue=Or(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),a=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=s[a],i.state.focusedOptionId=io(o,s[a])}return i}return Oh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ra(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isDisabled,a=o.menuIsOpen,l=this.state.isFocused;(l&&!s&&i.isDisabled||l&&a&&!i.menuIsOpen)&&this.focusInput(),l&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ra(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,s=this.state,a=s.selectValue,l=s.isFocused,u=this.buildFocusableOptions(),c=i==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(a[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,s=o.selectValue,a=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=s.indexOf(a);a||(l=-1);var u=s.length-1,c=-1;if(s.length){switch(i){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,s=this.state.focusedOption,a=this.getFocusableOptions();if(a.length){var l=0,u=a.indexOf(s);s||(u=-1),i==="up"?l=u>0?u-1:a.length-1:i==="down"?l=(u+1)%a.length:i==="pageup"?(l=u-o,l<0&&(l=0)):i==="pagedown"?(l=u+o,l>a.length-1&&(l=a.length-1)):i==="last"&&(l=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(a[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qn):Y(Y({},Qn),this.props.theme):Qn}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,s=this.getStyles,a=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,b=d.options,g=this.hasValue();return{clearValue:i,cx:o,getStyles:s,getClassNames:a,getValue:l,hasValue:g,isMulti:f,isRtl:p,options:b,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,s=i.isMulti;return o===void 0?s:o}},{key:"isOptionDisabled",value:function(i,o){return bl(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return yl(this.props,i,o)}},{key:"filterOption",value:function(i,o){return vl(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:s,selectValue:a})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,o=i.isDisabled,s=i.isSearchable,a=i.inputId,l=i.inputValue,u=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),b=p.Input,g=this.state,I=g.inputIsHidden,v=g.ariaSelection,S=this.commonProps,w=a||this.getElementId("input"),k=Y(Y(Y({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?(v==null?void 0:v.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?ne.createElement(b,_({},S,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:w,innerRef:this.getInputRef,isDisabled:o,isHidden:I,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},k)):ne.createElement(zm,_({id:w,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tr,onFocus:this.onInputFocus,disabled:o,tabIndex:u,inputMode:"none",form:c,value:""},k))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),s=o.MultiValue,a=o.MultiValueContainer,l=o.MultiValueLabel,u=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,f=this.commonProps,p=this.props,b=p.controlShouldRenderValue,g=p.isDisabled,I=p.isMulti,v=p.inputValue,S=p.placeholder,w=this.state,k=w.selectValue,B=w.focusedValue,A=w.isFocused;if(!this.hasValue()||!b)return v?null:ne.createElement(d,_({},f,{key:"placeholder",isDisabled:g,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),S);if(I)return k.map(function(E,V){var D=E===B,T="".concat(i.getOptionLabel(E),"-").concat(i.getOptionValue(E));return ne.createElement(s,_({},f,{components:{Container:a,Label:l,Remove:u},isFocused:D,isDisabled:g,key:T,index:V,removeProps:{onClick:function(){return i.removeValue(E)},onTouchEnd:function(){return i.removeValue(E)},onMouseDown:function(q){q.preventDefault()}},data:E}),i.formatOptionLabel(E,"value"))});if(v)return null;var L=k[0];return ne.createElement(c,_({},f,{data:L,isDisabled:g}),this.formatOptionLabel(L,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!o||!u)return null;var d={"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,s=i.IndicatorSeparator;if(!o||!s)return null;var a=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return ne.createElement(s,_({},a,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var s=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:u,isDisabled:a,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),s=o.Group,a=o.GroupHeading,l=o.Menu,u=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,f=o.NoOptionsMessage,p=o.Option,b=this.commonProps,g=this.state.focusedOption,I=this.props,v=I.captureMenuScroll,S=I.inputValue,w=I.isLoading,k=I.loadingMessage,B=I.minMenuHeight,A=I.maxMenuHeight,L=I.menuIsOpen,E=I.menuPlacement,V=I.menuPosition,D=I.menuPortalTarget,T=I.menuShouldBlockScroll,N=I.menuShouldScrollIntoView,q=I.noOptionsMessage,ie=I.onMenuScrollToTop,z=I.onMenuScrollToBottom;if(!L)return null;var U=function(m,me){var te=m.type,he=m.data,De=m.isDisabled,ge=m.isSelected,Xe=m.label,Ue=m.value,st=g===he,at=De?void 0:function(){return i.onOptionHover(he)},Ht=De?void 0:function(){return i.selectOption(he)},X="".concat(i.getElementId("option"),"-").concat(me),Z={id:X,onClick:Ht,onMouseMove:at,onMouseOver:at,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:ge};return ne.createElement(p,_({},b,{innerProps:Z,data:he,isDisabled:De,isSelected:ge,key:X,label:Xe,type:te,value:Ue,isFocused:st,innerRef:st?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(m.data,"menu"))},ue;if(this.hasOptions())ue=this.getCategorizedOptions().map(function(se){if(se.type==="group"){var m=se.data,me=se.options,te=se.index,he="".concat(i.getElementId("group"),"-").concat(te),De="".concat(he,"-heading");return ne.createElement(s,_({},b,{key:he,data:m,options:me,Heading:a,headingProps:{id:De,data:se.data},label:i.formatGroupLabel(se.data)}),se.options.map(function(ge){return U(ge,"".concat(te,"-").concat(ge.index))}))}else if(se.type==="option")return U(se,"".concat(se.index))});else if(w){var fe=k({inputValue:S});if(fe===null)return null;ue=ne.createElement(d,b,fe)}else{var Ie=q({inputValue:S});if(Ie===null)return null;ue=ne.createElement(f,b,Ie)}var y={minMenuHeight:B,maxMenuHeight:A,menuPlacement:E,menuPosition:V,menuShouldScrollIntoView:N},ce=ne.createElement(vg,_({},b,y),function(se){var m=se.ref,me=se.placerProps,te=me.placement,he=me.maxHeight;return ne.createElement(l,_({},b,y,{innerRef:m,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:w,placement:te}),ne.createElement(Um,{captureEnabled:v,onTopArrive:ie,onBottomArrive:z,lockEnabled:T},function(De){return ne.createElement(u,_({},b,{innerRef:function(Xe){i.getMenuListRef(Xe),De(Xe)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:w,maxHeight:he,focusedOption:g}),ue)}))});return D||V==="fixed"?ne.createElement(c,_({},b,{appendTo:D,controlElement:this.controlRef,menuPlacement:E,menuPosition:V}),ce):ce}},{key:"renderFormField",value:function(){var i=this,o=this.props,s=o.delimiter,a=o.isDisabled,l=o.isMulti,u=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!a)return ne.createElement(Km,{name:u,onFocus:this.onValueInputFocus});if(!(!u||a))if(l)if(s){var f=d.map(function(g){return i.getOptionValue(g)}).join(s);return ne.createElement("input",{name:u,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,I){return ne.createElement("input",{key:"i-".concat(I),name:u,type:"hidden",value:i.getOptionValue(g)})}):ne.createElement("input",{name:u,type:"hidden",value:""});return ne.createElement("div",null,p)}else{var b=d[0]?this.getOptionValue(d[0]):"";return ne.createElement("input",{name:u,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,s=o.ariaSelection,a=o.focusedOption,l=o.focusedValue,u=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return ne.createElement(Nm,_({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:a,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,s=i.IndicatorsContainer,a=i.SelectContainer,l=i.ValueContainer,u=this.props,c=u.className,d=u.id,f=u.isDisabled,p=u.menuIsOpen,b=this.state.isFocused,g=this.commonProps=this.getCommonProps();return ne.createElement(a,_({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:b}),this.renderLiveRegion(),ne.createElement(o,_({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:b,menuIsOpen:p}),ne.createElement(l,_({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),ne.createElement(s,_({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var s=o.prevProps,a=o.clearFocusValueOnUpdate,l=o.inputIsHiddenAfterUpdate,u=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,f=o.instancePrefix,p=i.options,b=i.value,g=i.menuIsOpen,I=i.inputValue,v=i.isMulti,S=Or(b),w={};if(s&&(b!==s.value||p!==s.options||g!==s.menuIsOpen||I!==s.inputValue)){var k=g?hb(i,S):[],B=g?hl(Rr(i,S),"".concat(f,"-option")):[],A=a?gb(o,S):null,L=mb(o,k),E=io(B,L);w={selectValue:S,focusedOption:L,focusedOptionId:E,focusableOptionsWithIds:B,focusedValue:A,clearFocusValueOnUpdate:!1}}var V=l!=null&&i!==s?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},D=u,T=c&&d;return c&&!T&&(D={value:_n(v,S,S[0]||null),options:S,action:"initial-input-focus"},T=!d),(u==null?void 0:u.action)==="initial-input-focus"&&(D=null),Y(Y(Y({},w),V),{},{prevProps:i,ariaSelection:D,prevWasFocused:T})}}]),n}(P.Component);oo.defaultProps=fb;var yb=P.forwardRef(function(e,t){var n=Sa(e);return ne.createElement(oo,_({ref:t},n))}),Xr=yb;const vb=Qn,Hr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},Cl={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function xl(e){if(!e)return Qn;const t=typeof e=="function"?e(Hr):e,{colors:n,spacing:r,borderRadius:i}=zr(vb,t);return{borderRadius:i,colors:n,spacing:r}}function zr(e,...t){const n={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const r of t)r&&(n.borderRadius=r.borderRadius??n.borderRadius,Object.assign(n.boxShadow,r.boxShadow),Object.assign(n.colors,r.colors),Object.assign(n.spacing,r.spacing));return n}function Al(e){const{field:t,markdown:n}=e,{prop:r}=t,{getClassNames:i,getStyles:o,theme:s}=Ke(),a={color:s.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"};return r.type==="app"?O.jsx("p",{className:i("description",e),style:o("description",a,e),children:"Credentials are encrypted."}):r.description?O.jsxs("div",{className:i("description",e),style:o("description",a,e),children:[" ",O.jsx($s,{components:{a:({...l})=>O.jsx("a",{...l,target:"_blank",rel:"noopener noreferrer"})},children:n})]}):null}function wl(e){const{field:t}=e,{errors:n={},prop:r={},enableDebugging:i}=t;if(!i||!n[r.name])return null;const o=n[r.name].map(l=>({type:"alert",alertType:"error",content:l})),s={display:"grid",gridTemplateColumns:"max-content"},a=()=>O.jsx(O.Fragment,{children:o.map((l,u)=>O.jsx(Ir,{prop:l},u))});return O.jsx("div",{className:"pd-errors",style:s,children:O.jsx(a,{})})}function Sl(e){const{text:t,field:n}=e,{id:r}=n,{getProps:i,theme:o}=Ke(),s={color:o.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return O.jsx("label",{htmlFor:r,...i("label",s,e),children:t})}const El=e=>{const{prop:t,enabled:n,onClick:r}=e,{getProps:i,theme:o}=Ke(),s={color:o.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${o.spacing.baseUnit}px ${o.spacing.baseUnit*1.5}px ${o.spacing.baseUnit}px ${o.spacing.baseUnit*2.5}px`,border:`1px solid ${o.colors.neutral30}`,borderRadius:o.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:o.spacing.baseUnit*2,textWrap:"nowrap"};return O.jsxs("button",{onClick:r,type:"button",...i("optionalFieldButton",s,e),children:[O.jsx("span",{children:n?"-":"+"}),O.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},kl=e=>{const{onChange:t}=e,{getProps:n,theme:r}=Ke(),i={backgroundColor:r.colors.primary,borderRadius:r.borderRadius,border:"solid 1px",borderColor:r.colors.primary25,color:r.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return O.jsx("button",{onClick:t,type:"button",...n("loadMoreButton",i,e),children:"Load More"})},Fl={Description:Al,Errors:wl,Label:Sl,OptionalFieldButton:El,Button:kl},Wr=P.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:Hr,unstyled:!1});function Ib(){const e=P.useContext(Wr)??{},t=xl(e.theme??{});function n(){return e.classNamePrefix??""}function r(a){var c;const l=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${a}`,u={...((c=e.classNames)==null?void 0:c[a])??{}};return typeof(u==null?void 0:u.container)=="function"&&(u.container=typeof(u==null?void 0:u.container)=="function"?(...d)=>{var f;return[(f=u==null?void 0:u.container)==null?void 0:f.call(u,...d),l].join(" ")}:()=>l),u}function i(a,l){var u;return{...Un,...l??{},...((u=e==null?void 0:e.components)==null?void 0:u[a])??{}}}function o(a,l){var u;return ab(((u=e.styles)==null?void 0:u[a])??{},l??{})}function s(a,l){return{classNamePrefix:n(),classNames:r(a),components:i(a,l==null?void 0:l.components),styles:o(a,l==null?void 0:l.styles),theme:t}}return{getClassNamePrefix:n,getClassNames:r,getComponents:i,getProps:s,getStyles:o,theme:t}}function Ke(){const e=P.useContext(Wr)??{},t=e.theme,n=e.unstyled?Cl:Hr,r=typeof t=="function"?zr(n,t(n)):zr(n,t);function i(l,u){var f;const c=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${l.toLowerCase()}`,d=(f=e.classNames)==null?void 0:f[l];if(typeof d=="function"){const p=d,b={...u??{},theme:r};return[c,p(b)].filter(Boolean).join(" ")}return[c,d].filter(Boolean).join(" ")}function o(){return{...Fl,...(e==null?void 0:e.components)??{}}}function s(l,u,c){var f;const d=(f=e.styles)==null?void 0:f[l];if(typeof d=="function"){const p=d,b={...c??{},theme:r};return p(u,b)}return d?{...u,...d}:u}function a(l,u,c){return{className:i(l,c),style:s(l,u,c)}}return{getClassNames:i,getComponents:o,getProps:a,getStyles:s,select:Ib(),theme:r}}const Cb=({children:e,...t})=>O.jsx(Wr.Provider,{value:t,children:e}),so=P.createContext(void 0),$t=()=>{const e=P.useContext(so);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Pl=(e,t)=>{var i;const n=St(),r=qt({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>n.getAccounts(e)});return{...r,accounts:((i=r.data)==null?void 0:i.data)||[]}},xb=e=>O.jsx(Un.Option,{...e,children:e.data.name});function Gl({app:e}){const t=St(),n=$t(),{id:r,prop:i,value:o,onChange:s}=n,{getProps:a,select:l,theme:u}=Ke(),c={color:u.colors.neutral60,gridArea:"control"},d={backgroundColor:u.colors.primary,borderRadius:u.borderRadius,border:"solid 1px",borderColor:u.colors.primary25,color:u.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},f={components:{Option:xb},styles:{control:k=>({...k,gridArea:"control",boxShadow:u.boxShadow.input})}},p=l.getProps("controlAppSelect",f),b=void 0,{isLoading:g,accounts:I,refetch:v}=Pl({app:e.name_slug,oauth_app_id:b},{useQueryOpts:{enabled:!!e,suspense:!!e}}),S=async()=>{t.connectAccount({app:i.app,oauthAppId:b,onSuccess:async k=>{await v(),s({authProvisionId:k.id})},onError:()=>{}})},w=P.useMemo(()=>{let k=o;if(k!=null){for(const B of I)if(k.authProvisionId===B.id){k=B;break}}return k},[I,o]);return O.jsx("div",{...a("controlApp",c,{app:e,...n}),children:g?`Loading ${e.name} accounts...`:I.length?O.jsx(Xr,{instanceId:r,value:w,options:[...I,{id:"_new",name:`Connect new ${e.name} account...`}],...p,required:!0,placeholder:`Select ${e.name} account...`,isLoading:g,isClearable:!0,isSearchable:!0,getOptionLabel:k=>k.name,getOptionValue:k=>k.id,onChange:k=>{k?k.id==="_new"?S():s({authProvisionId:k.id}):s(void 0)}}):O.jsxs("button",{type:"button",...a("connectButton",d,{app:e,...n}),onClick:()=>S(),children:["Connect ",e.name]})})}function Bl(){const e=$t(),{id:t,value:n,onChange:r}=e,{getProps:i}=Ke(),o={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return O.jsx("input",{id:t,type:"checkbox",...i("controlBoolean",o,e),checked:n??!1,onChange:s=>r(s.target.checked)})}function Tl(){const e=$t(),{id:t,onChange:n,prop:r,value:i}=e,{getProps:o,theme:s}=Ke(),a={color:s.colors.neutral60,display:"block",border:"1px solid",borderColor:s.colors.neutral20,padding:6,width:"100%",borderRadius:s.borderRadius,gridArea:"control",boxShadow:s.boxShadow.input};let l="off",u="text",c=d=>d;switch(r.type){case"string":break;case"integer":u="number",c=d=>d?parseInt(d):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+r.type)}return"secret"in r&&r.secret&&(u="password",l="new-password"),O.jsx("input",{id:t,type:u,name:r.name,value:i??"",onChange:d=>n(c(d.target.value)),...o("controlInput",a,e),min:"min"in r?r.min:void 0,max:"max"in r?r.max:void 0,autoComplete:l,"data-lpignore":"true","data-1p-ignore":"true",required:!r.optional})}var Ab=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Ol=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),o=String(r.getOptionValue(n)).toLowerCase(),s=String(r.getOptionLabel(n)).toLowerCase();return o===i||s===i},ao={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(o){return Ol(t,o,i)})||r.some(function(o){return Ol(t,o,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function wb(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,o=e.formatCreateLabel,s=o===void 0?ao.formatCreateLabel:o,a=e.isValidNewOption,l=a===void 0?ao.isValidNewOption:a,u=e.getNewOptionData,c=u===void 0?ao.getNewOptionData:u,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,b=e.onChange,g=yt(e,Ab),I=g.getOptionValue,v=I===void 0?cl:I,S=g.getOptionLabel,w=S===void 0?ul:S,k=g.inputValue,B=g.isLoading,A=g.isMulti,L=g.value,E=g.name,V=P.useMemo(function(){return l(k,Or(L),p,{getOptionValue:v,getOptionLabel:w})?c(k,s(k)):void 0},[s,c,w,v,k,l,p,L]),D=P.useMemo(function(){return(n||!B)&&V?i==="first"?[V].concat(vn(p)):[].concat(vn(p),[V]):p},[n,i,B,V,p]),T=P.useCallback(function(N,q){if(q.action!=="select-option")return b(N,q);var ie=Array.isArray(N)?N:[N];if(ie[ie.length-1]===V){if(d)d(k);else{var z=c(k,k),U={action:"create-option",name:E,option:z};b(_n(A,[].concat(vn(Or(L)),[z]),z),U)}return}b(N,q)},[c,k,A,E,V,d,b,L]);return Y(Y({},g),{},{options:D,onChange:T})}var Sb=P.forwardRef(function(e,t){var n=Sa(e),r=wb(n);return ne.createElement(oo,_({ref:t},r))}),Eb=Sb;function Zr({isCreatable:e,options:t,selectProps:n,showLoadMoreButton:r,onLoadMore:i}){const o=$t(),{id:s,prop:a,value:l,onChange:u}=o,{select:c,theme:d}=Ke(),[f,p]=P.useState(t),[b,g]=P.useState(l);P.useEffect(()=>{p(t)},[t]),P.useEffect(()=>{g(l)},[l]);const I={styles:{container:E=>({...E,gridArea:"control",boxShadow:d.boxShadow.input})}},v=P.useMemo(()=>{let E=b;if(E!=null)if(Array.isArray(E)){if(typeof E[0]!="object"){const V=[];for(const D of E){let T={label:D,value:D};for(const N of f)if(N.value===D){T=N;break}V.push(T)}E=V}}else if(typeof E!="object")if((f==null?void 0:f[0])&&typeof f[0]=="object"){for(const D of f)if(D.value===b){E=D;break}}else E={label:b,value:b};else E.__lv&&(E=E.__lv);return E},[b,f]),S=({children:E,...V})=>O.jsxs(Un.MenuList,{...V,children:[E,O.jsx("div",{className:"pt-4",children:O.jsx(kl,{onChange:i})})]}),w=c.getProps("controlSelect",I);r&&(w.components={...w.components,MenuList:S});const k=E=>{const V=q=>typeof q=="object"?q:{label:q,value:q},D=V(E);let T=D;const N=f?[D,...f]:[D];p(N),a.type.endsWith("[]")&&(Array.isArray(b)?T=[...b.map(V),D]:T=[D]),g(T),B(T)},B=E=>{if(E)if(Array.isArray(E))typeof E[0]=="object"&&"value"in E[0]?u({__lv:E}):u(E);else if(typeof E=="object"&&"value"in E)u({__lv:E});else throw new Error("unhandled option type");else u(void 0)},A={onCreateOption:a.remoteOptions?k:void 0},L=e?Eb:Xr;return O.jsx(L,{inputId:s,instanceId:s,options:f,value:v,isMulti:a.type.endsWith("[]"),isClearable:!0,required:!a.optional,...w,...n,...A,onChange:B})}function Dl({queryEnabled:e}){const t=St(),{userId:n,component:r,configurableProps:i,configuredProps:o,dynamicProps:s,props:{disableQueryDisabling:a}}=Sr(),{idx:l,prop:u}=$t(),[c,d]=P.useState(""),[f,p]=P.useState(0),[b,g]=P.useState(!0),[I,v]=P.useState(void 0),[S,w]=P.useState({page:0,prevContext:{},data:[],values:new Set}),k={};for(let z=0;z<l;z++){const U=i[z];k[U.name]=o[U.name]}const B={userId:n,page:f,prevContext:I,componentId:r.key,propName:u.name,configuredProps:k,dynamicPropsId:s==null?void 0:s.id};u.useQuery&&(B.query=c||"");const A={...B};delete A.dynamicPropsId;const[L,E]=P.useState(),V=()=>{p(S.page),v(S.prevContext),w({...S,prevContext:{}})},{isFetching:D,refetch:T}=qt({queryKey:["componentConfigure",A],queryFn:async()=>{E(void 0);const z=await t.componentConfigure(B),{options:U,stringOptions:ue,errors:fe}=z;if(fe!=null&&fe.length){try{E(JSON.parse(fe[0]))}catch{E({name:"Error",message:fe[0]})}return[]}let Ie=[];if(U!=null&&U.length&&(Ie=U),ue!=null&&ue.length){const m=[];for(const me of ue)m.push({label:me,value:me});Ie=m}const y=[],ce=new Set(S.values);for(const m of Ie||[]){const me=typeof m=="string"?m:m.value;ce.has(me)||(ce.add(me),y.push(m))}let se=S.data;return y.length?(se=[...S.data,...y],w({page:f+1,prevContext:z.context,data:se,values:ce})):g(!1),se},enabled:!!e}),N=()=>!D&&!L&&b,q=L?L.message:a?"Click to configure":e?void 0:"Configure props above first",ie=a?!1:!e;return O.jsx(Zr,{isCreatable:!0,showLoadMoreButton:N(),onLoadMore:V,options:S.data,selectProps:{isLoading:D,placeholder:q,isDisabled:ie,inputValue:u.useQuery?c:void 0,onInputChange(z){u.useQuery&&(d(z),T())},onMenuOpen(){a&&!e&&T()}}})}function Vl(e){const{field:t,form:n}=e,{queryDisabledIdx:r}=n,{prop:i,idx:o}=t,s="app"in t.extra?t.extra.app:void 0;if(i.remoteOptions||i.type==="$.discord.channel")return O.jsx(Dl,{queryEnabled:r==null||r>=o});if("options"in i&&i.options){let a=i.options;return typeof a[0]!="object"&&(a=a.map(l=>({label:l,value:l}))),O.jsx(Zr,{options:a,components:{IndicatorSeparator:()=>null}})}if(i.type.endsWith("[][]"))throw new Error("Unsupported property type: "+i.type);if(i.type.endsWith("[]"))return O.jsx(Zr,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(i.type){case"app":return O.jsx(Gl,{app:s});case"boolean":return O.jsx(Bl,{});case"string":case"integer":return O.jsx(Tl,{});default:throw new Error("Unsupported property type: "+i.type)}}function Nl(e){const{form:t,field:n}=e,{prop:r}=n,{getProps:i,getComponents:o}=Ke(),s={display:"grid",gridTemplateAreas:n.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:a,Description:l,Errors:u}=o(),c="app"in n.extra?n.extra.app:void 0;if(c&&!c.auth_type)return null;let d=r.label||r.name;return c&&(d=`Connect ${c.name} account`),O.jsxs("div",{...i("field",s,e),children:[O.jsx(a,{text:d,field:n,form:t}),O.jsx(Vl,{field:n,form:t}),O.jsx(l,{markdown:r.description,field:n,form:t}),O.jsx(u,{field:n,form:t})]})}const Ll=(e,t)=>{var i;const n=St(),r=qt({queryKey:["app",e],queryFn:()=>n.app(e),...t==null?void 0:t.useQueryOpts});return{...r,app:(i=r.data)==null?void 0:i.data}};function Rl({prop:e,idx:t}){const n=Sr(),{id:r,configuredProps:i,registerField:o,setConfiguredProp:s,errors:a,enableDebugging:l}=n,u=e.type==="app"&&"app"in e?e.app:void 0,{app:c}=Ll(u||"",{useQueryOpts:{enabled:!!u,suspense:!!u}}),f={id:`pd${r}${e.name}`,prop:e,idx:t,value:i[e.name],onChange(p){s(t,p)},extra:{app:c},errors:a,enableDebugging:l};return P.useEffect(()=>o(f),[f]),O.jsx(so.Provider,{value:f,children:O.jsx(Nl,{field:f,form:n})})}class Ml extends P.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function Xl(e){const{form:t}=e,{propsNeedConfiguring:n,submitting:r}=t,{getProps:i,theme:o}=Ke(),s=a=>{var l;return{width:"fit-content",textTransform:"capitalize",backgroundColor:a?o.colors.neutral10:o.colors.primary,color:a?o.colors.neutral40:o.colors.neutral0,padding:`${o.spacing.baseUnit*1.75}px ${o.spacing.baseUnit*16}px`,borderRadius:o.borderRadius,boxShadow:(l=o.boxShadow)==null?void 0:l.button,cursor:"pointer",fontSize:"0.875rem",opacity:r?.5:void 0,margin:"0.5rem 0 0 0"}};return O.jsx("input",{type:"submit",value:r?"Submitting...":"Submit",...i("controlSubmit",s(n.length||r),e),disabled:n.length||r})}const kb=["ConfigurationError"];function Hl(){const e=Sr(),{configurableProps:t,dynamicPropsQueryIsFetching:n,isValid:r,optionalPropIsEnabled:i,optionalPropSetEnabled:o,props:s,setSubmitting:a,sdkErrors:l,submitting:u,enableDebugging:c}=e,d=c||l.filter(D=>kb.includes(D.name)).length>0,{hideOptionalProps:f,onSubmit:p}=s,[b,g]=P.useState([]);P.useEffect(()=>{u?g([]):l&&l.length&&g(l.map(D=>({type:"alert",alertType:"error",content:`# ${D.name}
21
- ${D.message}`})))},[l,u]);const{getComponents:I,getProps:v,theme:S}=Ke(),{OptionalFieldButton:w}=I(),k={display:"flex",flexDirection:"column",gap:"1.5rem"},B={display:"flex",flexWrap:"wrap",gap:"0.375rem"},A={fontWeight:600,textTransform:"capitalize",color:S.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},L=async D=>{if(p&&(D.preventDefault(),r)){a(!0);try{await p(e)}finally{a(!1)}}},E=[],V=[];for(let D=0;D<t.length;D++){const T=t[D];if(!T.hidden&&!Jn.includes(T.type)){if(T.optional){const N=i(T);if(V.push([T,N]),!N)continue}E.push([T,D])}}return O.jsx(Ml,{fallback:D=>O.jsxs("p",{style:{color:"red"},children:["Error: ",D&&typeof D=="object"&&"message"in D&&typeof D.message=="string"?D.message:"Unknown"]}),children:O.jsx(P.Suspense,{fallback:O.jsx("p",{children:"Loading form..."}),children:O.jsxs("form",{...v("componentForm",k,s),onSubmit:L,children:[E.map(([D,T])=>D.type==="alert"?O.jsx(Ir,{prop:D},D.name):O.jsx(Rl,{prop:D,idx:T},D.name)),n&&O.jsx("p",{children:"Loading dynamic props..."}),!f&&V.length?O.jsxs("div",{children:[O.jsx("div",{...v("heading",A,s),children:"Optional Props"}),O.jsx("div",{...v("optionalFields",B,s),children:V.map(([D,T])=>O.jsx(w,{prop:D,enabled:T,onClick:()=>o(D,!T)},D.name))})]}):null,d&&(b==null?void 0:b.map((D,T)=>O.jsx(Ir,{prop:D},T))),p&&O.jsx(Xl,{form:e})]})})})}function zl(e){return O.jsx(Ca,{props:e,children:O.jsx(Hl,{})})}const Wl=({key:e},t)=>{var i;const n=St(),r=qt({queryKey:["component",e],queryFn:()=>n.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...r,component:(i=r.data)==null?void 0:i.data}};function Fb(e){const{isLoading:t,error:n,component:r}=Wl({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?O.jsx("p",{children:"Loading..."}):n?O.jsxs("p",{children:["Error: ",n.message]}):r?O.jsx(zl,{component:r,...e}):O.jsx("p",{children:"Component not found"})}function Pb(){const e=$t(),{id:t,onChange:n,value:r}=e,{getProps:i,theme:o}=Ke(),s={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:o.boxShadow.input};let a=r;return typeof a=="object"&&(a=JSON.stringify(a)),O.jsx("textarea",{id:t,value:a,onChange:l=>n(l.target.value),...i("controlAny",s,e)})}const Zl=e=>{var r;const t=St(),n=qt({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...n,apps:((r=n.data)==null?void 0:r.data)||[]}};function Gb({value:e,onChange:t}){const[n,r]=P.useState(""),i=P.useId(),{isLoading:o,apps:s}=Zl({q:n}),{Option:a,SingleValue:l}=Un,u=(s==null?void 0:s.find(c=>c.name_slug===(e==null?void 0:e.name_slug)))||null;return O.jsx(Xr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:c=>O.jsx(a,{...c,children:O.jsxs("div",{style:{display:"flex",gap:10},children:[O.jsx("img",{src:`https://pipedream.com/s.v0/${c.data.id}/logo/48`,style:{height:24,width:24},alt:c.data.name}),O.jsx("span",{style:{whiteSpace:"nowrap"},children:c.data.name})]})}),SingleValue:c=>O.jsx(l,{...c,children:O.jsxs("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[O.jsx("img",{src:`https://pipedream.com/s.v0/${c.data.id}/logo/48`,style:{height:24,width:24},alt:c.data.name}),O.jsx("span",{style:{whiteSpace:"nowrap"},children:c.data.name})]})}),IndicatorSeparator:()=>null},options:s||[],getOptionLabel:c=>c.name||c.name_slug,getOptionValue:c=>c.name_slug,value:u,onChange:c=>t==null?void 0:t(c||void 0),onInputChange:c=>{c&&r(c)},isLoading:o})}const jl=e=>{var r;const t=St(),n=qt({queryKey:["components",e],queryFn:()=>t.components(e)});return{...n,components:((r=n.data)==null?void 0:r.data)||[]}};function Bb({app:e,componentType:t,value:n,onChange:r}){const i=P.useId(),{isLoading:o,components:s}=jl({app:e==null?void 0:e.name_slug,componentType:t}),a=(s==null?void 0:s.find(l=>l.key===(n==null?void 0:n.key)))||null;return O.jsx(Xr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",options:s,getOptionLabel:l=>l.name||l.key,getOptionValue:l=>l.key,value:a,onChange:l=>r==null?void 0:r(l||void 0),isLoading:o,components:{IndicatorSeparator:()=>null}})}H.Alert=Ir,H.ComponentForm=zl,H.ComponentFormContainer=Fb,H.Control=Vl,H.ControlAny=Pb,H.ControlApp=Gl,H.ControlBoolean=Bl,H.ControlInput=Tl,H.ControlSelect=Zr,H.ControlSubmit=Xl,H.CustomizationContext=Wr,H.CustomizeProvider=Cb,H.Description=Al,H.ErrorBoundary=Ml,H.Errors=wl,H.Field=Nl,H.FormContext=Wi,H.FormContextProvider=Ca,H.FormFieldContext=so,H.FrontendClientProvider=yh,H.InternalComponentForm=Hl,H.InternalField=Rl,H.Label=Sl,H.OptionalFieldButton=El,H.RemoteOptionsContainer=Dl,H.SelectApp=Gb,H.SelectComponent=Bb,H.defaultComponents=Fl,H.defaultTheme=Hr,H.getReactSelectTheme=xl,H.mergeTheme=zr,H.skippablePropTypes=Jn,H.unstyledTheme=Cl,H.useAccounts=Pl,H.useApp=Ll,H.useApps=Zl,H.useComponent=Wl,H.useComponents=jl,H.useCustomize=Ke,H.useFormContext=Sr,H.useFormFieldContext=$t,H.useFrontendClient=St,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})});
20
+ `]))),$g=function(t,n){var r=t.isFocused,i=t.size,o=t.theme,s=o.colors,a=o.spacing.baseUnit;return Y({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:i,lineHeight:1,marginRight:i,textAlign:"center",verticalAlign:"middle"},n?{}:{color:r?s.neutral60:s.neutral20,padding:a*2})},$i=function(t){var n=t.delay,r=t.offset;return J.jsx("span",{css:J.css({animation:"".concat(Qg," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb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vZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Kg=function(t){var n=t.innerProps,r=t.isRtl,i=t.size,o=i===void 0?4:i,s=yt(t,zg);return J.jsx("div",_({},Pe(Y(Y({},s),{},{innerProps:n,isRtl:r,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),n),J.jsx($i,{delay:0,offset:r}),J.jsx($i,{delay:160,offset:!0}),J.jsx($i,{delay:320,offset:!r}))},em=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.theme,s=o.colors,a=o.borderRadius,l=o.spacing;return Y({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},n?{}:{backgroundColor:r?s.neutral5:s.neutral0,borderColor:r?s.neutral10:i?s.primary:s.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:i?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:i?s.primary:s.neutral30}})},tm=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.innerRef,s=t.innerProps,a=t.menuIsOpen;return J.jsx("div",_({ref:o},Pe(t,"control",{control:!0,"control--is-disabled":r,"control--is-focused":i,"control--menu-is-open":a}),s,{"aria-disabled":r||void 0}),n)},nm=tm,rm=["data"],im=function(t,n){var r=t.theme.spacing;return n?{}:{paddingBottom:r.baseUnit*2,paddingTop:r.baseUnit*2}},om=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.getClassNames,s=t.Heading,a=t.headingProps,l=t.innerProps,u=t.label,c=t.theme,d=t.selectProps;return J.jsx("div",_({},Pe(t,"group",{group:!0}),l),J.jsx(s,_({},a,{selectProps:d,theme:c,getStyles:i,getClassNames:o,cx:r}),u),J.jsx("div",null,n))},sm=function(t,n){var r=t.theme,i=r.colors,o=r.spacing;return Y({label:"group",cursor:"default",display:"block"},n?{}:{color:i.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},am=function(t){var n=La(t);n.data;var r=yt(n,rm);return J.jsx("div",_({},Pe(t,"groupHeading",{"group-heading":!0}),r))},lm=om,um=["innerRef","isDisabled","isHidden","inputClassName"],cm=function(t,n){var r=t.isDisabled,i=t.value,o=t.theme,s=o.spacing,a=o.colors;return Y(Y({visibility:r?"hidden":"visible",transform:i?"translateZ(0)":""},dm),n?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:a.neutral80})},Ua={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},dm={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Y({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ua)},pm=function(t){return Y({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},Ua)},fm=function(t){var n=t.cx,r=t.value,i=La(t),o=i.innerRef,s=i.isDisabled,a=i.isHidden,l=i.inputClassName,u=yt(i,um);return J.jsx("div",_({},Pe(t,"input",{"input-container":!0}),{"data-value":r||""}),J.jsx("input",_({className:n({input:!0},l),ref:o,style:pm(a),disabled:s},u)))},hm=fm,gm=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors;return Y({label:"multiValue",display:"flex",minWidth:0},n?{}:{backgroundColor:s.neutral10,borderRadius:o/2,margin:i.baseUnit/2})},mm=function(t,n){var r=t.theme,i=r.borderRadius,o=r.colors,s=t.cropWithEllipsis;return Y({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},n?{}:{borderRadius:i/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},bm=function(t,n){var r=t.theme,i=r.spacing,o=r.borderRadius,s=r.colors,a=t.isFocused;return Y({alignItems:"center",display:"flex"},n?{}:{borderRadius:o/2,backgroundColor:a?s.dangerLight:void 0,paddingLeft:i.baseUnit,paddingRight:i.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},qa=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",r,n)},ym=qa,vm=qa;function Im(e){var t=e.children,n=e.innerProps;return J.jsx("div",_({role:"button"},n),t||J.jsx(Qi,{size:14}))}var Cm=function(t){var n=t.children,r=t.components,i=t.data,o=t.innerProps,s=t.isDisabled,a=t.removeProps,l=t.selectProps,u=r.Container,c=r.Label,d=r.Remove;return J.jsx(u,{data:i,innerProps:Y(Y({},Pe(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),o),selectProps:l},J.jsx(c,{data:i,innerProps:Y({},Pe(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:l},n),J.jsx(d,{data:i,innerProps:Y(Y({},Pe(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(n||"option")},a),selectProps:l}))},xm=Cm,Am=function(t,n){var r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.theme,a=s.spacing,l=s.colors;return Y({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},n?{}:{backgroundColor:o?l.primary:i?l.primary25:"transparent",color:r?l.neutral20:o?l.neutral0:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),":active":{backgroundColor:r?void 0:o?l.primary:l.primary50}})},wm=function(t){var n=t.children,r=t.isDisabled,i=t.isFocused,o=t.isSelected,s=t.innerRef,a=t.innerProps;return J.jsx("div",_({},Pe(t,"option",{option:!0,"option--is-disabled":r,"option--is-focused":i,"option--is-selected":o}),{ref:s,"aria-disabled":r},a),n)},Sm=wm,Em=function(t,n){var r=t.theme,i=r.spacing,o=r.colors;return Y({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},n?{}:{color:o.neutral50,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},km=function(t){var n=t.children,r=t.innerProps;return J.jsx("div",_({},Pe(t,"placeholder",{placeholder:!0}),r),n)},Fm=km,Pm=function(t,n){var r=t.isDisabled,i=t.theme,o=i.spacing,s=i.colors;return Y({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n?{}:{color:r?s.neutral40:s.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},Gm=function(t){var n=t.children,r=t.isDisabled,i=t.innerProps;return J.jsx("div",_({},Pe(t,"singleValue",{"single-value":!0,"single-value--is-disabled":r}),i),n)},Bm=Gm,Un={ClearIndicator:_g,Control:nm,DropdownIndicator:Jg,DownChevron:Ya,CrossIcon:Qi,Group:lm,GroupHeading:am,IndicatorsContainer:Xg,IndicatorSeparator:qg,Input:hm,LoadingIndicator:Kg,Menu:Eg,MenuList:Fg,MenuPortal:Dg,LoadingMessage:Tg,NoOptionsMessage:Bg,MultiValue:xm,MultiValueContainer:ym,MultiValueLabel:vm,MultiValueRemove:Im,Option:Sm,Placeholder:Fm,SelectContainer:Ng,SingleValue:Bm,ValueContainer:Rg},Tm=function(t){return Y(Y({},Un),t.components)},Qa=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Om(e,t){return!!(e===t||Qa(e)&&Qa(t))}function Dm(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Om(e[n],t[n]))return!1;return!0}function Vm(e,t){t===void 0&&(t=Dm);var n=null;function r(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var s=e.apply(this,i);return n={lastResult:s,lastArgs:i,lastThis:this},s}return r.clear=function(){n=null},r}function Nm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Lm=process.env.NODE_ENV==="production"?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:Nm},Rm=function(t){return J.jsx("span",_({css:Lm},t))},$a=Rm,Mm={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.tabSelectsValue,o=t.context,s=t.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,o=t.labels,s=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return s?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=t.options,o=t.label,s=o===void 0?"":o,a=t.selectValue,l=t.isDisabled,u=t.isSelected,c=t.isAppleDevice,d=function(g,I){return g&&g.length?"".concat(g.indexOf(I)+1," of ").concat(g.length):""};if(n==="value"&&a)return"value ".concat(s," focused, ").concat(d(a,r),".");if(n==="menu"&&c){var f=l?" disabled":"",p="".concat(u?" selected":"").concat(f);return"".concat(s).concat(p,", ").concat(d(i,r),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},Xm=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,s=t.isFocused,a=t.selectValue,l=t.selectProps,u=t.id,c=t.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,p=l.inputValue,b=l.isMulti,g=l.isOptionDisabled,I=l.isSearchable,v=l.menuIsOpen,E=l.options,A=l.screenReaderStatus,S=l.tabSelectsValue,k=l.isLoading,C=l["aria-label"],L=l["aria-live"],F=G.useMemo(function(){return Y(Y({},Mm),d||{})},[d]),V=G.useMemo(function(){var z="";if(n&&F.onChange){var U=n.option,ue=n.options,fe=n.removedValue,Ie=n.removedValues,y=n.value,ce=function(ge){return Array.isArray(ge)?null:ge},se=fe||U||ce(y),m=se?f(se):"",me=ue||Ie||void 0,te=me?me.map(f):[],he=Y({isDisabled:se&&g(se,a),label:m,labels:te},n);z=F.onChange(he)}return z},[n,F,g,a,f]),D=G.useMemo(function(){var z="",U=r||i,ue=!!(r&&a&&a.includes(r));if(U&&F.onFocus){var fe={focused:U,label:f(U),isDisabled:g(U,a),isSelected:ue,options:o,context:U===r?"menu":"value",selectValue:a,isAppleDevice:c};z=F.onFocus(fe)}return z},[r,i,f,g,F,o,a,c]),O=G.useMemo(function(){var z="";if(v&&E.length&&!k&&F.onFilter){var U=A({count:o.length});z=F.onFilter({inputValue:p,resultsMessage:U})}return z},[o,p,v,F,E,A,k]),N=(n==null?void 0:n.action)==="initial-input-focus",q=G.useMemo(function(){var z="";if(F.guidance){var U=i?"value":v?"menu":"input";z=F.guidance({"aria-label":C,context:U,isDisabled:r&&g(r,a),isMulti:b,isSearchable:I,tabSelectsValue:S,isInitialFocus:N})}return z},[C,r,i,b,g,I,v,F,a,S,N]),ie=J.jsx(G.Fragment,null,J.jsx("span",{id:"aria-selection"},V),J.jsx("span",{id:"aria-focused"},D),J.jsx("span",{id:"aria-results"},O),J.jsx("span",{id:"aria-guidance"},q));return J.jsx(G.Fragment,null,J.jsx($a,{id:u},N&&ie),J.jsx($a,{"aria-live":L,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!N&&ie))},Hm=Xm,Ki=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],zm=new RegExp("["+Ki.map(function(e){return e.letters}).join("")+"]","g"),Ka={},eo=0;eo<Ki.length;eo++)for(var to=Ki[eo],no=0;no<to.letters.length;no++)Ka[to.letters[no]]=to.base;var el=function(t){return t.replace(zm,function(n){return Ka[n]})},Wm=Vm(el),tl=function(t){return t.replace(/^\s+|\s+$/g,"")},Zm=function(t){return"".concat(t.label," ").concat(t.value)},jm=function(t){return function(n,r){if(n.data.__isNew__)return!0;var i=Y({ignoreCase:!0,ignoreAccents:!0,stringify:Zm,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,s=i.ignoreAccents,a=i.stringify,l=i.trim,u=i.matchFrom,c=l?tl(r):r,d=l?tl(a(n)):a(n);return o&&(c=c.toLowerCase(),d=d.toLowerCase()),s&&(c=Wm(c),d=el(d)),u==="start"?d.substr(0,c.length)===c:d.indexOf(c)>-1}},Jm=["innerRef"];function Ym(e){var t=e.innerRef,n=yt(e,Jm),r=yg(n,"onExited","in","enter","exit","appear");return J.jsx("input",_({ref:t},r,{css:J.css({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uI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AgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var _m=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function Um(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,s=G.useRef(!1),a=G.useRef(!1),l=G.useRef(0),u=G.useRef(null),c=G.useCallback(function(I,v){if(u.current!==null){var E=u.current,A=E.scrollTop,S=E.scrollHeight,k=E.clientHeight,C=u.current,L=v>0,F=S-k-A,V=!1;F>v&&s.current&&(r&&r(I),s.current=!1),L&&a.current&&(o&&o(I),a.current=!1),L&&v>F?(n&&!s.current&&n(I),C.scrollTop=S,V=!0,s.current=!0):!L&&-v>A&&(i&&!a.current&&i(I),C.scrollTop=0,V=!0,a.current=!0),V&&_m(I)}},[n,r,i,o]),d=G.useCallback(function(I){c(I,I.deltaY)},[c]),f=G.useCallback(function(I){l.current=I.changedTouches[0].clientY},[]),p=G.useCallback(function(I){var v=l.current-I.changedTouches[0].clientY;c(I,v)},[c]),b=G.useCallback(function(I){if(I){var v=gg?{passive:!1}:!1;I.addEventListener("wheel",d,v),I.addEventListener("touchstart",f,v),I.addEventListener("touchmove",p,v)}},[p,f,d]),g=G.useCallback(function(I){I&&(I.removeEventListener("wheel",d,!1),I.removeEventListener("touchstart",f,!1),I.removeEventListener("touchmove",p,!1))},[p,f,d]);return G.useEffect(function(){if(t){var I=u.current;return b(I),function(){g(I)}}},[t,b,g]),function(I){u.current=I}}var nl=["boxSizing","height","overflow","paddingRight","position"],rl={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function il(e){e.cancelable&&e.preventDefault()}function ol(e){e.stopPropagation()}function sl(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function al(){return"ontouchstart"in window||navigator.maxTouchPoints}var ll=!!(typeof window<"u"&&window.document&&window.document.createElement),qn=0,In={capture:!1,passive:!1};function qm(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=G.useRef({}),o=G.useRef(null),s=G.useCallback(function(l){if(ll){var u=document.body,c=u&&u.style;if(r&&nl.forEach(function(b){var g=c&&c[b];i.current[b]=g}),r&&qn<1){var d=parseInt(i.current.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,p=window.innerWidth-f+d||0;Object.keys(rl).forEach(function(b){var g=rl[b];c&&(c[b]=g)}),c&&(c.paddingRight="".concat(p,"px"))}u&&al()&&(u.addEventListener("touchmove",il,In),l&&(l.addEventListener("touchstart",sl,In),l.addEventListener("touchmove",ol,In))),qn+=1}},[r]),a=G.useCallback(function(l){if(ll){var u=document.body,c=u&&u.style;qn=Math.max(qn-1,0),r&&qn<1&&nl.forEach(function(d){var f=i.current[d];c&&(c[d]=f)}),u&&al()&&(u.removeEventListener("touchmove",il,In),l&&(l.removeEventListener("touchstart",sl,In),l.removeEventListener("touchmove",ol,In)))}},[r]);return G.useEffect(function(){if(t){var l=o.current;return s(l),function(){a(l)}}},[t,s,a]),function(l){o.current=l}}function Qm(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var $m=function(t){var n=t.target;return n.ownerDocument.activeElement&&n.ownerDocument.activeElement.blur()},Km=process.env.NODE_ENV==="production"?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3Mi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gIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Qm};function eb(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,s=e.onBottomLeave,a=e.onTopArrive,l=e.onTopLeave,u=Um({isEnabled:i,onBottomArrive:o,onBottomLeave:s,onTopArrive:a,onTopLeave:l}),c=qm({isEnabled:n}),d=function(p){u(p),c(p)};return J.jsx(G.Fragment,null,n&&J.jsx("div",{onClick:$m,css:Km}),t(d))}function tb(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var nb=process.env.NODE_ENV==="production"?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:tb},rb=function(t){var n=t.name,r=t.onFocus;return J.jsx("input",{required:!0,name:n,tabIndex:-1,"aria-hidden":"true",onFocus:r,css:nb,value:"",onChange:function(){}})},ib=rb;function ro(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function ob(){return ro(/^iPhone/i)}function ul(){return ro(/^Mac/i)}function sb(){return ro(/^iPad/i)||ul()&&navigator.maxTouchPoints>1}function ab(){return ob()||sb()}function lb(){return ul()||ab()}var ub=function(t){return t.label},cl=function(t){return t.label},dl=function(t){return t.value},cb=function(t){return!!t.isDisabled},db={clearIndicator:Yg,container:Vg,control:em,dropdownIndicator:jg,group:im,groupHeading:sm,indicatorsContainer:Mg,indicatorSeparator:Ug,input:cm,loadingIndicator:$g,loadingMessage:Gg,menu:Ag,menuList:kg,menuPortal:Og,multiValue:gm,multiValueLabel:mm,multiValueRemove:bm,noOptionsMessage:Pg,option:Am,placeholder:Em,singleValue:Pm,valueContainer:Lg};function pb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Y({},e);return Object.keys(t).forEach(function(r){var i=r;e[i]?n[i]=function(o,s){return t[i](e[i](o,s),s)}:n[i]=t[i]}),n}var fb={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},hb=4,pl=4,gb=38,mb=pl*2,bb={baseUnit:pl,controlHeight:gb,menuGutter:mb},Qn={borderRadius:hb,colors:fb,spacing:bb},yb={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Xa(),captureMenuScroll:!Xa(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:jm(),formatGroupLabel:ub,getOptionLabel:cl,getOptionValue:dl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:cb,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!fg(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function fl(e,t,n,r){var i=yl(e,t,n),o=vl(e,t,n),s=bl(e,t),a=Mr(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:s,value:a,index:r}}function Rr(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(s,a){return fl(e,s,t,a)}).filter(function(s){return ml(e,s)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=fl(e,n,t,r);return ml(e,o)?o:void 0}).filter(mg)}function hl(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,vn(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function gl(e,t){return e.reduce(function(n,r){return r.type==="group"?n.push.apply(n,vn(r.options.map(function(i){return{data:i.data,id:"".concat(t,"-").concat(r.index,"-").concat(i.index)}}))):n.push({data:r.data,id:"".concat(t,"-").concat(r.index)}),n},[])}function vb(e,t){return hl(Rr(e,t))}function ml(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,s=t.label,a=t.value;return(!Cl(e)||!o)&&Il(e,{label:s,value:a,data:i},r)}function Ib(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function Cb(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var io=function(t,n){var r,i=(r=t.find(function(o){return o.data===n}))===null||r===void 0?void 0:r.id;return i||null},bl=function(t,n){return t.getOptionLabel(n)},Mr=function(t,n){return t.getOptionValue(n)};function yl(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function vl(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=Mr(e,t);return n.some(function(i){return Mr(e,i)===r})}function Il(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Cl=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},xb=1,oo=function(e){Mh(n,e);var t=zh(n);function n(r){var i;if(Lh(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.isAppleDevice=lb(),i.controlRef=null,i.getControlRef=function(l){i.controlRef=l},i.focusedOptionRef=null,i.getFocusedOptionRef=function(l){i.focusedOptionRef=l},i.menuListRef=null,i.getMenuListRef=function(l){i.menuListRef=l},i.inputRef=null,i.getInputRef=function(l){i.inputRef=l},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(l,u){var c=i.props,d=c.onChange,f=c.name;u.name=f,i.ariaOnChange(l,u),d(l,u)},i.setValue=function(l,u,c){var d=i.props,f=d.closeMenuOnSelect,p=d.isMulti,b=d.inputValue;i.onInputChange("",{action:"set-value",prevInputValue:b}),f&&(i.setState({inputIsHiddenAfterUpdate:!p}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(l,{action:u,option:c})},i.selectOption=function(l){var u=i.props,c=u.blurInputOnSelect,d=u.isMulti,f=u.name,p=i.state.selectValue,b=d&&i.isOptionSelected(l,p),g=i.isOptionDisabled(l,p);if(b){var I=i.getOptionValue(l);i.setValue(p.filter(function(v){return i.getOptionValue(v)!==I}),"deselect-option",l)}else if(!g)d?i.setValue([].concat(vn(p),[l]),"select-option",l):i.setValue(l,"select-option");else{i.ariaOnChange(l,{action:"select-option",option:l,name:f});return}c&&i.blurInput()},i.removeValue=function(l){var u=i.props.isMulti,c=i.state.selectValue,d=i.getOptionValue(l),f=c.filter(function(b){return i.getOptionValue(b)!==d}),p=_n(u,f,f[0]||null);i.onChange(p,{action:"remove-value",removedValue:l}),i.focusInput()},i.clearValue=function(){var l=i.state.selectValue;i.onChange(_n(i.props.isMulti,[],null),{action:"clear",removedValues:l})},i.popValue=function(){var l=i.props.isMulti,u=i.state.selectValue,c=u[u.length-1],d=u.slice(0,u.length-1),f=_n(l,d,d[0]||null);c&&i.onChange(f,{action:"pop-value",removedValue:c})},i.getFocusedOptionId=function(l){return io(i.state.focusableOptionsWithIds,l)},i.getFocusableOptionsWithIds=function(){return gl(Rr(i.props,i.state.selectValue),i.getElementId("option"))},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var l=arguments.length,u=new Array(l),c=0;c<l;c++)u[c]=arguments[c];return lg.apply(void 0,[i.props.classNamePrefix].concat(u))},i.getOptionLabel=function(l){return bl(i.props,l)},i.getOptionValue=function(l){return Mr(i.props,l)},i.getStyles=function(l,u){var c=i.props.unstyled,d=db[l](u,c);d.boxSizing="border-box";var f=i.props.styles[l];return f?f(d,u):d},i.getClassNames=function(l,u){var c,d;return(c=(d=i.props.classNames)[l])===null||c===void 0?void 0:c.call(d,u)},i.getElementId=function(l){return"".concat(i.state.instancePrefix,"-").concat(l)},i.getComponents=function(){return Tm(i.props)},i.buildCategorizedOptions=function(){return Rr(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return hl(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(l,u){i.setState({ariaSelection:Y({value:l},u)})},i.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(l){i.blockOptionHover=!1},i.onControlMouseDown=function(l){if(!l.defaultPrevented){var u=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&i.onMenuClose():u&&i.openMenu("first"):(u&&(i.openAfterFocus=!0),i.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()}},i.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!i.props.isDisabled){var u=i.props,c=u.isMulti,d=u.menuIsOpen;i.focusInput(),d?(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()):i.openMenu("first"),l.preventDefault()}},i.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(i.clearValue(),l.preventDefault(),i.openAfterFocus=!1,l.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(l){typeof i.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&Dr(l.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(l)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(l){var u=l.touches,c=u&&u.item(0);c&&(i.initialTouchX=c.clientX,i.initialTouchY=c.clientY,i.userIsDragging=!1)},i.onTouchMove=function(l){var u=l.touches,c=u&&u.item(0);if(c){var d=Math.abs(c.clientX-i.initialTouchX),f=Math.abs(c.clientY-i.initialTouchY),p=5;i.userIsDragging=d>p||f>p}},i.onTouchEnd=function(l){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(l.target)&&i.menuListRef&&!i.menuListRef.contains(l.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(l){i.userIsDragging||i.onControlMouseDown(l)},i.onClearIndicatorTouchEnd=function(l){i.userIsDragging||i.onClearIndicatorMouseDown(l)},i.onDropdownIndicatorTouchEnd=function(l){i.userIsDragging||i.onDropdownIndicatorMouseDown(l)},i.handleInputChange=function(l){var u=i.props.inputValue,c=l.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(c,{action:"input-change",prevInputValue:u}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(l){i.props.onFocus&&i.props.onFocus(l),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(l){var u=i.props.inputValue;if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(l),i.onInputChange("",{action:"input-blur",prevInputValue:u}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(l){if(!(i.blockOptionHover||i.state.focusedOption===l)){var u=i.getFocusableOptions(),c=u.indexOf(l);i.setState({focusedOption:l,focusedOptionId:c>-1?i.getFocusedOptionId(l):null})}},i.shouldHideSelectedOptions=function(){return Cl(i.props)},i.onValueInputFocus=function(l){l.preventDefault(),l.stopPropagation(),i.focus()},i.onKeyDown=function(l){var u=i.props,c=u.isMulti,d=u.backspaceRemovesValue,f=u.escapeClearsValue,p=u.inputValue,b=u.isClearable,g=u.isDisabled,I=u.menuIsOpen,v=u.onKeyDown,E=u.tabSelectsValue,A=u.openMenuOnFocus,S=i.state,k=S.focusedOption,C=S.focusedValue,L=S.selectValue;if(!g&&!(typeof v=="function"&&(v(l),l.defaultPrevented))){switch(i.blockOptionHover=!0,l.key){case"ArrowLeft":if(!c||p)return;i.focusValue("previous");break;case"ArrowRight":if(!c||p)return;i.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(C)i.removeValue(C);else{if(!d)return;c?i.popValue():b&&i.clearValue()}break;case"Tab":if(i.isComposing||l.shiftKey||!I||!E||!k||A&&i.isOptionSelected(k,L))return;i.selectOption(k);break;case"Enter":if(l.keyCode===229)break;if(I){if(!k||i.isComposing)return;i.selectOption(k);break}return;case"Escape":I?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close",prevInputValue:p}),i.onMenuClose()):b&&f&&i.clearValue();break;case" ":if(p)return;if(!I){i.openMenu("first");break}if(!k)return;i.selectOption(k);break;case"ArrowUp":I?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":I?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!I)return;i.focusOption("pageup");break;case"PageDown":if(!I)return;i.focusOption("pagedown");break;case"Home":if(!I)return;i.focusOption("first");break;case"End":if(!I)return;i.focusOption("last");break;default:return}l.preventDefault()}},i.state.instancePrefix="react-select-"+(i.props.instanceId||++xb),i.state.selectValue=Or(r.value),r.menuIsOpen&&i.state.selectValue.length){var o=i.getFocusableOptionsWithIds(),s=i.buildFocusableOptions(),a=s.indexOf(i.state.selectValue[0]);i.state.focusableOptionsWithIds=o,i.state.focusedOption=s[a],i.state.focusedOptionId=io(o,s[a])}return i}return Rh(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Ma(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(i){var o=this.props,s=o.isDisabled,a=o.menuIsOpen,l=this.state.isFocused;(l&&!s&&i.isDisabled||l&&a&&!i.menuIsOpen)&&this.focusInput(),l&&s&&!i.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!l&&!s&&i.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ma(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,s=this.state,a=s.selectValue,l=s.isFocused,u=this.buildFocusableOptions(),c=i==="first"?0:u.length-1;if(!this.props.isMulti){var d=u.indexOf(a[0]);d>-1&&(c=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,s=o.selectValue,a=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var l=s.indexOf(a);a||(l=-1);var u=s.length-1,c=-1;if(s.length){switch(i){case"previous":l===0?c=0:l===-1?c=u:c=l-1;break;case"next":l>-1&&l<u&&(c=l+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,s=this.state.focusedOption,a=this.getFocusableOptions();if(a.length){var l=0,u=a.indexOf(s);s||(u=-1),i==="up"?l=u>0?u-1:a.length-1:i==="down"?l=(u+1)%a.length:i==="pageup"?(l=u-o,l<0&&(l=0)):i==="pagedown"?(l=u+o,l>a.length-1&&(l=a.length-1)):i==="last"&&(l=a.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:a[l],focusedValue:null,focusedOptionId:this.getFocusedOptionId(a[l])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Qn):Y(Y({},Qn),this.props.theme):Qn}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,s=this.getStyles,a=this.getClassNames,l=this.getValue,u=this.selectOption,c=this.setValue,d=this.props,f=d.isMulti,p=d.isRtl,b=d.options,g=this.hasValue();return{clearValue:i,cx:o,getStyles:s,getClassNames:a,getValue:l,hasValue:g,isMulti:f,isRtl:p,options:b,selectOption:u,selectProps:d,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,s=i.isMulti;return o===void 0?s:o}},{key:"isOptionDisabled",value:function(i,o){return yl(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return vl(this.props,i,o)}},{key:"filterOption",value:function(i,o){return Il(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,a=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:s,selectValue:a})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,o=i.isDisabled,s=i.isSearchable,a=i.inputId,l=i.inputValue,u=i.tabIndex,c=i.form,d=i.menuIsOpen,f=i.required,p=this.getComponents(),b=p.Input,g=this.state,I=g.inputIsHidden,v=g.ariaSelection,E=this.commonProps,A=a||this.getElementId("input"),S=Y(Y(Y({"aria-autocomplete":"list","aria-expanded":d,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":f,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},d&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?(v==null?void 0:v.action)==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?ne.createElement(b,_({},E,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:A,innerRef:this.getInputRef,isDisabled:o,isHidden:I,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:l},S)):ne.createElement(Ym,_({id:A,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Tr,onFocus:this.onInputFocus,disabled:o,tabIndex:u,inputMode:"none",form:c,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),s=o.MultiValue,a=o.MultiValueContainer,l=o.MultiValueLabel,u=o.MultiValueRemove,c=o.SingleValue,d=o.Placeholder,f=this.commonProps,p=this.props,b=p.controlShouldRenderValue,g=p.isDisabled,I=p.isMulti,v=p.inputValue,E=p.placeholder,A=this.state,S=A.selectValue,k=A.focusedValue,C=A.isFocused;if(!this.hasValue()||!b)return v?null:ne.createElement(d,_({},f,{key:"placeholder",isDisabled:g,isFocused:C,innerProps:{id:this.getElementId("placeholder")}}),E);if(I)return S.map(function(F,V){var D=F===k,O="".concat(i.getOptionLabel(F),"-").concat(i.getOptionValue(F));return ne.createElement(s,_({},f,{components:{Container:a,Label:l,Remove:u},isFocused:D,isDisabled:g,key:O,index:V,removeProps:{onClick:function(){return i.removeValue(F)},onTouchEnd:function(){return i.removeValue(F)},onMouseDown:function(q){q.preventDefault()}},data:F}),i.formatOptionLabel(F,"value"))});if(v)return null;var L=S[0];return ne.createElement(c,_({},f,{data:L,isDisabled:g}),this.formatOptionLabel(L,"value"))}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||l||!this.hasValue()||u)return null;var d={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:d,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,s=this.commonProps,a=this.props,l=a.isDisabled,u=a.isLoading,c=this.state.isFocused;if(!o||!u)return null;var d={"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:d,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,s=i.IndicatorSeparator;if(!o||!s)return null;var a=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return ne.createElement(s,_({},a,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var s=this.commonProps,a=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ne.createElement(o,_({},s,{innerProps:u,isDisabled:a,isFocused:l}))}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),s=o.Group,a=o.GroupHeading,l=o.Menu,u=o.MenuList,c=o.MenuPortal,d=o.LoadingMessage,f=o.NoOptionsMessage,p=o.Option,b=this.commonProps,g=this.state.focusedOption,I=this.props,v=I.captureMenuScroll,E=I.inputValue,A=I.isLoading,S=I.loadingMessage,k=I.minMenuHeight,C=I.maxMenuHeight,L=I.menuIsOpen,F=I.menuPlacement,V=I.menuPosition,D=I.menuPortalTarget,O=I.menuShouldBlockScroll,N=I.menuShouldScrollIntoView,q=I.noOptionsMessage,ie=I.onMenuScrollToTop,z=I.onMenuScrollToBottom;if(!L)return null;var U=function(m,me){var te=m.type,he=m.data,De=m.isDisabled,ge=m.isSelected,Xe=m.label,qe=m.value,st=g===he,at=De?void 0:function(){return i.onOptionHover(he)},zt=De?void 0:function(){return i.selectOption(he)},X="".concat(i.getElementId("option"),"-").concat(me),Z={id:X,onClick:zt,onMouseMove:at,onMouseOver:at,tabIndex:-1,role:"option","aria-selected":i.isAppleDevice?void 0:ge};return ne.createElement(p,_({},b,{innerProps:Z,data:he,isDisabled:De,isSelected:ge,key:X,label:Xe,type:te,value:qe,isFocused:st,innerRef:st?i.getFocusedOptionRef:void 0}),i.formatOptionLabel(m.data,"menu"))},ue;if(this.hasOptions())ue=this.getCategorizedOptions().map(function(se){if(se.type==="group"){var m=se.data,me=se.options,te=se.index,he="".concat(i.getElementId("group"),"-").concat(te),De="".concat(he,"-heading");return ne.createElement(s,_({},b,{key:he,data:m,options:me,Heading:a,headingProps:{id:De,data:se.data},label:i.formatGroupLabel(se.data)}),se.options.map(function(ge){return U(ge,"".concat(te,"-").concat(ge.index))}))}else if(se.type==="option")return U(se,"".concat(se.index))});else if(A){var fe=S({inputValue:E});if(fe===null)return null;ue=ne.createElement(d,b,fe)}else{var Ie=q({inputValue:E});if(Ie===null)return null;ue=ne.createElement(f,b,Ie)}var y={minMenuHeight:k,maxMenuHeight:C,menuPlacement:F,menuPosition:V,menuShouldScrollIntoView:N},ce=ne.createElement(wg,_({},b,y),function(se){var m=se.ref,me=se.placerProps,te=me.placement,he=me.maxHeight;return ne.createElement(l,_({},b,y,{innerRef:m,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:A,placement:te}),ne.createElement(eb,{captureEnabled:v,onTopArrive:ie,onBottomArrive:z,lockEnabled:O},function(De){return ne.createElement(u,_({},b,{innerRef:function(Xe){i.getMenuListRef(Xe),De(Xe)},innerProps:{role:"listbox","aria-multiselectable":b.isMulti,id:i.getElementId("listbox")},isLoading:A,maxHeight:he,focusedOption:g}),ue)}))});return D||V==="fixed"?ne.createElement(c,_({},b,{appendTo:D,controlElement:this.controlRef,menuPlacement:F,menuPosition:V}),ce):ce}},{key:"renderFormField",value:function(){var i=this,o=this.props,s=o.delimiter,a=o.isDisabled,l=o.isMulti,u=o.name,c=o.required,d=this.state.selectValue;if(c&&!this.hasValue()&&!a)return ne.createElement(ib,{name:u,onFocus:this.onValueInputFocus});if(!(!u||a))if(l)if(s){var f=d.map(function(g){return i.getOptionValue(g)}).join(s);return ne.createElement("input",{name:u,type:"hidden",value:f})}else{var p=d.length>0?d.map(function(g,I){return ne.createElement("input",{key:"i-".concat(I),name:u,type:"hidden",value:i.getOptionValue(g)})}):ne.createElement("input",{name:u,type:"hidden",value:""});return ne.createElement("div",null,p)}else{var b=d[0]?this.getOptionValue(d[0]):"";return ne.createElement("input",{name:u,type:"hidden",value:b})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,s=o.ariaSelection,a=o.focusedOption,l=o.focusedValue,u=o.isFocused,c=o.selectValue,d=this.getFocusableOptions();return ne.createElement(Hm,_({},i,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:a,focusedValue:l,isFocused:u,selectValue:c,focusableOptions:d,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,s=i.IndicatorsContainer,a=i.SelectContainer,l=i.ValueContainer,u=this.props,c=u.className,d=u.id,f=u.isDisabled,p=u.menuIsOpen,b=this.state.isFocused,g=this.commonProps=this.getCommonProps();return ne.createElement(a,_({},g,{className:c,innerProps:{id:d,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:b}),this.renderLiveRegion(),ne.createElement(o,_({},g,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:b,menuIsOpen:p}),ne.createElement(l,_({},g,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),ne.createElement(s,_({},g,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(i,o){var s=o.prevProps,a=o.clearFocusValueOnUpdate,l=o.inputIsHiddenAfterUpdate,u=o.ariaSelection,c=o.isFocused,d=o.prevWasFocused,f=o.instancePrefix,p=i.options,b=i.value,g=i.menuIsOpen,I=i.inputValue,v=i.isMulti,E=Or(b),A={};if(s&&(b!==s.value||p!==s.options||g!==s.menuIsOpen||I!==s.inputValue)){var S=g?vb(i,E):[],k=g?gl(Rr(i,E),"".concat(f,"-option")):[],C=a?Ib(o,E):null,L=Cb(o,S),F=io(k,L);A={selectValue:E,focusedOption:L,focusedOptionId:F,focusableOptionsWithIds:k,focusedValue:C,clearFocusValueOnUpdate:!1}}var V=l!=null&&i!==s?{inputIsHidden:l,inputIsHiddenAfterUpdate:void 0}:{},D=u,O=c&&d;return c&&!O&&(D={value:_n(v,E,E[0]||null),options:E,action:"initial-input-focus"},O=!d),(u==null?void 0:u.action)==="initial-input-focus"&&(D=null),Y(Y(Y({},A),V),{},{prevProps:i,ariaSelection:D,prevWasFocused:O})}}]),n}(G.Component);oo.defaultProps=yb;var Ab=G.forwardRef(function(e,t){var n=Ea(e);return ne.createElement(oo,_({ref:t},n))}),Xr=Ab;const wb=Qn,Hr={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},boxShadow:{button:"rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px",card:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",dropdown:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",input:"0 1px 2px 0 rgb(0 0 0 / 0.05)"},spacing:{baseUnit:4,controlHeight:32,menuGutter:8}},xl={colors:{},spacing:{baseUnit:4,controlHeight:32,menuGutter:8},boxShadow:{button:"none",input:"none",card:"none",dropdown:"none"}};function Al(e){if(!e)return Qn;const t=typeof e=="function"?e(Hr):e,{colors:n,spacing:r,borderRadius:i}=zr(wb,t);return{borderRadius:i,colors:n,spacing:r}}function zr(e,...t){const n={borderRadius:e.borderRadius,colors:{...e.colors},spacing:{...e.spacing},boxShadow:{...e.boxShadow}};for(const r of t)r&&(n.borderRadius=r.borderRadius??n.borderRadius,Object.assign(n.boxShadow,r.boxShadow),Object.assign(n.colors,r.colors),Object.assign(n.spacing,r.spacing));return n}const Sb=({...e})=>{const[t,n]=G.useState(!1),r={textDecoration:"underline",textUnderlineOffset:"3px",color:"inherit",transition:"opacity 0.2s ease",opacity:t?.7:1};return P.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:"2px"},children:[P.jsx("a",{...e,target:"_blank",rel:"noopener noreferrer",style:r,onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1)}),P.jsx("span",{style:{fontSize:"0.7em",opacity:.7},children:"↗"})]})};function wl(e){const{field:t,markdown:n}=e,{prop:r}=t,{getClassNames:i,getStyles:o,theme:s}=Ze(),a=G.useMemo(()=>({color:s.colors.neutral50,fontWeight:400,fontSize:"0.75rem",gridArea:"description",textWrap:"balance",lineHeight:"1.5"}),[s.colors.neutral50]),l=G.useMemo(()=>({a:Sb}),[]),u=e;return r.type==="app"?P.jsx("p",{className:i("description",u),style:o("description",a,u),children:"Credentials are encrypted."}):r.description?P.jsxs("div",{className:i("description",u),style:o("description",a,u),children:[" ",P.jsx(Ks,{components:l,children:n})]}):null}function Sl(e){const{field:t}=e,{errors:n={},prop:r={},enableDebugging:i}=t;if(!i||!n[r.name])return null;const o=n[r.name].map(l=>({type:"alert",alertType:"error",content:l})),s={display:"grid",gridTemplateColumns:"max-content"},a=()=>P.jsx(P.Fragment,{children:o.map((l,u)=>P.jsx(Ir,{prop:l},u))});return P.jsx("div",{className:"pd-errors",style:s,children:P.jsx(a,{})})}function El(e){const{text:t,field:n}=e,{id:r}=n,{getProps:i,theme:o}=Ze(),s={color:o.colors.neutral90,fontWeight:450,gridArea:"label",lineHeight:"1.5"};return P.jsx("label",{htmlFor:r,...i("label",s,e),children:t})}const kl=e=>{const{prop:t,enabled:n,onClick:r}=e,{getProps:i,theme:o}=Ze(),s={color:o.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${o.spacing.baseUnit}px ${o.spacing.baseUnit*1.5}px ${o.spacing.baseUnit}px ${o.spacing.baseUnit*2.5}px`,border:`1px solid ${o.colors.neutral30}`,borderRadius:o.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:o.spacing.baseUnit*2,textWrap:"nowrap"};return P.jsxs("button",{onClick:r,type:"button",...i("optionalFieldButton",s,e),children:[P.jsx("span",{children:n?"-":"+"}),P.jsx("span",{style:{marginRight:8},children:t.label||t.name})]})},Fl=e=>{const{onChange:t}=e,{getProps:n,theme:r}=Ze(),i={backgroundColor:r.colors.primary,borderRadius:r.borderRadius,border:"solid 1px",borderColor:r.colors.primary25,color:r.colors.primary25,padding:"0.5rem",fontSize:"0.8125rem",fontWeight:"450",gridArea:"control",cursor:"pointer",width:"100%"};return P.jsx("button",{onClick:t,type:"button",...n("loadMoreButton",i,e),children:"Load More"})},Pl={Description:wl,Errors:Sl,Label:El,OptionalFieldButton:kl,Button:Fl},Wr=G.createContext({classNames:{},classNamePrefix:"",components:{},styles:{},theme:Hr,unstyled:!1});function Eb(){const e=G.useContext(Wr)??{},t=Al(e.theme??{});function n(){return e.classNamePrefix??""}function r(a){var c;const l=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${a}`,u={...((c=e.classNames)==null?void 0:c[a])??{}};return typeof(u==null?void 0:u.container)=="function"&&(u.container=typeof(u==null?void 0:u.container)=="function"?(...d)=>{var f;return[(f=u==null?void 0:u.container)==null?void 0:f.call(u,...d),l].join(" ")}:()=>l),u}function i(a,l){var u;return{...Un,...l??{},...((u=e==null?void 0:e.components)==null?void 0:u[a])??{}}}function o(a,l){var u;return pb(((u=e.styles)==null?void 0:u[a])??{},l??{})}function s(a,l){return{classNamePrefix:n(),classNames:r(a),components:i(a,l==null?void 0:l.components),styles:o(a,l==null?void 0:l.styles),theme:t}}return{getClassNamePrefix:n,getClassNames:r,getComponents:i,getProps:s,getStyles:o,theme:t}}function Ze(){const e=G.useContext(Wr)??{},t=e.theme,n=e.unstyled?xl:Hr,r=typeof t=="function"?zr(n,t(n)):zr(n,t);function i(l,u){var f;const c=`${(e==null?void 0:e.classNamePrefix)??"pd-"}${l.toLowerCase()}`,d=(f=e.classNames)==null?void 0:f[l];if(typeof d=="function"){const p=d,b={...u??{},theme:r};return[c,p(b)].filter(Boolean).join(" ")}return[c,d].filter(Boolean).join(" ")}function o(){return{...Pl,...(e==null?void 0:e.components)??{}}}function s(l,u,c){var f;const d=(f=e.styles)==null?void 0:f[l];if(typeof d=="function"){const p=d,b={...c??{},theme:r};return p(u,b)}return d?{...u,...d}:u}function a(l,u,c){return{className:i(l,c),style:s(l,u,c)}}return{getClassNames:i,getComponents:o,getProps:a,getStyles:s,select:Eb(),theme:r}}const kb=({children:e,...t})=>P.jsx(Wr.Provider,{value:t,children:e}),so=G.createContext(void 0),Ft=()=>{const e=G.useContext(so);if(!e)throw new Error("Must be used inside FormFieldContext.Provider");return e},Gl=(e,t)=>{var i;const n=St(),r=Qt({...t==null?void 0:t.useQueryOpts,queryKey:["accounts",e],queryFn:()=>n.getAccounts(e)});return{...r,accounts:((i=r.data)==null?void 0:i.data)||[]}},Fb=e=>P.jsx(Un.Option,{...e,children:e.data.name});function Bl({app:e}){const t=St(),n=Ft(),{id:r,prop:i,value:o,onChange:s}=n,{getProps:a,select:l,theme:u}=Ze(),c={color:u.colors.neutral60,gridArea:"control"},d={backgroundColor:u.colors.primary,borderRadius:u.borderRadius,border:"solid 1px",borderColor:u.colors.primary25,color:u.colors.primary25,padding:"0.25rem 0.5rem",gridArea:"control"},f={components:{Option:Fb},styles:{control:S=>({...S,gridArea:"control",boxShadow:u.boxShadow.input})}},p=l.getProps("controlAppSelect",f),b=void 0,{isLoading:g,accounts:I,refetch:v}=Gl({app:e.name_slug,oauth_app_id:b},{useQueryOpts:{enabled:!!e,suspense:!!e}}),E=async()=>{t.connectAccount({app:i.app,oauthAppId:b,onSuccess:async S=>{await v(),s({authProvisionId:S.id})},onError:()=>{}})},A=G.useMemo(()=>{let S=o;if(S!=null){for(const k of I)if(S.authProvisionId===k.id){S=k;break}}return S},[I,o]);return P.jsx("div",{...a("controlApp",c,{app:e,...n}),children:g?`Loading ${e.name} accounts...`:I.length?P.jsx(Xr,{instanceId:r,value:A,options:[...I,{id:"_new",name:`Connect new ${e.name} account...`}],...p,required:!0,placeholder:`Select ${e.name} account...`,isLoading:g,isClearable:!0,isSearchable:!0,getOptionLabel:S=>S.name,getOptionValue:S=>S.id,onChange:S=>{S?S.id==="_new"?E():s({authProvisionId:S.id}):s(void 0)}}):P.jsxs("button",{type:"button",...a("connectButton",d,{app:e,...n}),onClick:()=>E(),children:["Connect ",e.name]})})}const Tl=e=>({color:e.colors.neutral60,border:"1px solid",borderColor:e.colors.neutral20,padding:6,borderRadius:e.borderRadius,boxShadow:e.boxShadow.input,flex:1}),ao=e=>({color:e.colors.neutral60,display:"inline-flex",alignItems:"center",padding:`${e.spacing.baseUnit}px ${e.spacing.baseUnit*1.5}px ${e.spacing.baseUnit}px ${e.spacing.baseUnit*2.5}px`,border:`1px solid ${e.colors.neutral30}`,borderRadius:e.borderRadius,cursor:"pointer",fontSize:"0.8125rem",fontWeight:450,gap:e.spacing.baseUnit*2,textWrap:"nowrap",backgroundColor:"white"}),Ol=e=>({...ao(e),flex:"0 0 auto",padding:"6px 8px"}),Dl=()=>({gridArea:"control",display:"flex",flexDirection:"column",gap:"0.5rem"}),Vl=()=>({display:"flex",gap:"0.5rem",alignItems:"center"});function Pb(){var A;const e=Ft(),{onChange:t,prop:n,value:r}=e,{getProps:i,theme:o}=Ze(),s=()=>{if(!r||!Array.isArray(r))return[""];const S=r.map(k=>typeof k=="string"?k:JSON.stringify(k));return S.length>0?S:[""]},[a,l]=G.useState(s);G.useEffect(()=>{l(s())},[r]);const u=S=>{const k=S.filter(C=>C.trim()!=="");if(k.length===0){t(void 0);return}t(k)},c=(S,k)=>{const C=[...a];C[S]=k,l(C),u(C)},d=()=>{const S=[...a,""];l(S)},f=S=>{const k=a.filter((C,L)=>L!==S);l(k.length>0?k:[""]),u(k)},p=Dl(),b=Vl(),g=Tl(o),I=ao(o),v=Ol(o),E=((A=a[a.length-1])==null?void 0:A.trim())||a.length>1;return P.jsxs("div",{...i("controlArray",p,e),children:[a.map((S,k)=>P.jsxs("div",{style:b,children:[P.jsx("input",{type:"text",value:S,onChange:C=>c(k,C.target.value),placeholder:"",style:g,required:!n.optional&&k===0}),a.length>1&&P.jsx("button",{type:"button",onClick:()=>f(k),style:v,"aria-label":"Remove value",children:"×"})]},k)),E&&P.jsxs("button",{type:"button",onClick:d,style:{...I,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[P.jsx("span",{children:"+"}),P.jsx("span",{children:"Add more"})]})]})}function Nl(){const e=Ft(),{id:t,value:n,onChange:r}=e,{getProps:i}=Ze(),o={width:"16px",height:"16px",gridArea:"control",margin:"0 0.5rem 0 0"};return P.jsx("input",{id:t,type:"checkbox",...i("controlBoolean",o,e),checked:n??!1,onChange:s=>r(s.target.checked)})}function Ll(){const e=Ft(),{id:t,onChange:n,prop:r,value:i}=e,{getProps:o,theme:s}=Ze(),a={color:s.colors.neutral60,display:"block",border:"1px solid",borderColor:s.colors.neutral20,padding:6,width:"100%",borderRadius:s.borderRadius,gridArea:"control",boxShadow:s.boxShadow.input};let l="off",u="text",c=d=>d;switch(r.type){case"string":break;case"integer":u="number",c=d=>d?parseInt(d):void 0;break;default:throw new Error("unexpected prop.type for ControlInput: "+r.type)}return"secret"in r&&r.secret&&(u="password",l="new-password"),P.jsx("input",{id:t,type:u,name:r.name,value:i??"",onChange:d=>n(c(d.target.value)),...o("controlInput",a,e),min:"min"in r?r.min:void 0,max:"max"in r?r.max:void 0,autoComplete:l,"data-lpignore":"true","data-1p-ignore":"true",required:!r.optional})}function Gb(){const e=Ft(),{onChange:t,prop:n,value:r}=e,{getProps:i,theme:o}=Ze(),s=A=>{if(A===null||typeof A!="object"||A instanceof Date||A instanceof Function||A instanceof RegExp)return!1;const S=Object.getPrototypeOf(A);return S===Object.prototype||S===null},a=()=>{if(!r||typeof r!="object"||Array.isArray(r))return[{key:"",value:""}];if(!s(r))return[{key:"",value:""}];const A=Object.entries(r).map(([S,k])=>({key:S,value:typeof k=="string"?k:(()=>{try{return JSON.stringify(k)}catch{return String(k)}})()}));return A.length>0?A:[{key:"",value:""}]},[l,u]=G.useState(a);G.useEffect(()=>{if(!r||typeof r!="object"||Array.isArray(r)){u([{key:"",value:""}]);return}if(!s(r)){u([{key:"",value:""}]);return}const A=Object.entries(r).map(([S,k])=>({key:S,value:typeof k=="string"?k:(()=>{try{return JSON.stringify(k)}catch{return String(k)}})()}));u(A.length>0?A:[{key:"",value:""}])},[r]);const c=A=>{const S=A.filter(C=>C.key.trim()!=="");if(S.length===0){t(void 0);return}const k={};S.forEach(C=>{if(C.key.trim())try{k[C.key]=JSON.parse(C.value)}catch{k[C.key]=C.value}}),t(k)},d=(A,S,k)=>{const C=[...l];C[A]={...C[A],[S]:k},u(C),c(C)},f=()=>{const A=[...l,{key:"",value:""}];u(A)},p=A=>{const S=l.filter((k,C)=>C!==A);u(S.length>0?S:[{key:"",value:""}]),c(S)},b=Dl(),g=Vl(),I=Tl(o),v=ao(o),E=Ol(o);return P.jsxs("div",{...i("controlObject",b,e),children:[l.map((A,S)=>P.jsxs("div",{style:g,children:[P.jsx("input",{type:"text",value:A.key,onChange:k=>d(S,"key",k.target.value),placeholder:"Key",style:I,required:!n.optional&&S===0}),P.jsx("input",{type:"text",value:A.value,onChange:k=>d(S,"value",k.target.value),placeholder:"Value",style:I}),l.length>1&&P.jsx("button",{type:"button",onClick:()=>p(S),style:E,"aria-label":"Remove pair",children:"×"})]},S)),P.jsxs("button",{type:"button",onClick:f,style:{...v,alignSelf:"flex-start",paddingRight:`${o.spacing.baseUnit*2}px`},children:[P.jsx("span",{children:"+"}),P.jsx("span",{children:"Add more"})]})]})}var Bb=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],Rl=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=String(t).toLowerCase(),o=String(r.getOptionValue(n)).toLowerCase(),s=String(r.getOptionLabel(n)).toLowerCase();return o===i||s===i},lo={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r,i){return!(!t||n.some(function(o){return Rl(t,o,i)})||r.some(function(o){return Rl(t,o,i)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}};function Tb(e){var t=e.allowCreateWhileLoading,n=t===void 0?!1:t,r=e.createOptionPosition,i=r===void 0?"last":r,o=e.formatCreateLabel,s=o===void 0?lo.formatCreateLabel:o,a=e.isValidNewOption,l=a===void 0?lo.isValidNewOption:a,u=e.getNewOptionData,c=u===void 0?lo.getNewOptionData:u,d=e.onCreateOption,f=e.options,p=f===void 0?[]:f,b=e.onChange,g=yt(e,Bb),I=g.getOptionValue,v=I===void 0?dl:I,E=g.getOptionLabel,A=E===void 0?cl:E,S=g.inputValue,k=g.isLoading,C=g.isMulti,L=g.value,F=g.name,V=G.useMemo(function(){return l(S,Or(L),p,{getOptionValue:v,getOptionLabel:A})?c(S,s(S)):void 0},[s,c,A,v,S,l,p,L]),D=G.useMemo(function(){return(n||!k)&&V?i==="first"?[V].concat(vn(p)):[].concat(vn(p),[V]):p},[n,i,k,V,p]),O=G.useCallback(function(N,q){if(q.action!=="select-option")return b(N,q);var ie=Array.isArray(N)?N:[N];if(ie[ie.length-1]===V){if(d)d(S);else{var z=c(S,S),U={action:"create-option",name:F,option:z};b(_n(C,[].concat(vn(Or(L)),[z]),z),U)}return}b(N,q)},[c,S,C,F,V,d,b,L]);return Y(Y({},g),{},{options:D,onChange:O})}var Ob=G.forwardRef(function(e,t){var n=Ea(e),r=Tb(n);return ne.createElement(oo,_({ref:t},r))}),Db=Ob;function Zr({isCreatable:e,options:t,selectProps:n,showLoadMoreButton:r,onLoadMore:i}){const o=Ft(),{id:s,prop:a,value:l,onChange:u}=o,{select:c,theme:d}=Ze(),[f,p]=G.useState(t),[b,g]=G.useState(l);G.useEffect(()=>{p(t)},[t]),G.useEffect(()=>{g(l)},[l]);const I={styles:{container:F=>({...F,gridArea:"control",boxShadow:d.boxShadow.input})}},v=G.useMemo(()=>{let F=b;if(F!=null)if(Array.isArray(F)){if(typeof F[0]!="object"){const V=[];for(const D of F){let O={label:D,value:D};for(const N of f)if(N.value===D){O=N;break}V.push(O)}F=V}}else if(typeof F!="object")if((f==null?void 0:f[0])&&typeof f[0]=="object"){for(const D of f)if(D.value===b){F=D;break}}else F={label:b,value:b};else F.__lv&&(F=F.__lv);return F},[b,f]),E=({children:F,...V})=>P.jsxs(Un.MenuList,{...V,children:[F,P.jsx("div",{className:"pt-4",children:P.jsx(Fl,{onChange:i})})]}),A=c.getProps("controlSelect",I);r&&(A.components={...A.components,MenuList:E});const S=F=>{const V=q=>typeof q=="object"?q:{label:q,value:q},D=V(F);let O=D;const N=f?[D,...f]:[D];p(N),a.type.endsWith("[]")&&(Array.isArray(b)?O=[...b.map(V),D]:O=[D]),g(O),k(O)},k=F=>{if(F)if(Array.isArray(F))typeof F[0]=="object"&&"value"in F[0]?u({__lv:F}):u(F);else if(typeof F=="object"&&"value"in F)u({__lv:F});else throw new Error("unhandled option type");else u(void 0)},C={onCreateOption:a.remoteOptions?S:void 0},L=e?Db:Xr;return P.jsx(L,{inputId:s,instanceId:s,options:f,value:v,isMulti:a.type.endsWith("[]"),isClearable:!0,required:!a.optional,...A,...n,...C,onChange:k})}function Ml({queryEnabled:e}){const t=St(),{userId:n,component:r,configurableProps:i,configuredProps:o,dynamicProps:s,props:{disableQueryDisabling:a}}=Sr(),{idx:l,prop:u}=Ft(),[c,d]=G.useState(""),[f,p]=G.useState(0),[b,g]=G.useState(!0),[I,v]=G.useState(void 0),[E,A]=G.useState({page:0,prevContext:{},data:[],values:new Set}),S={};for(let z=0;z<l;z++){const U=i[z];S[U.name]=o[U.name]}const k={userId:n,page:f,prevContext:I,componentId:r.key,propName:u.name,configuredProps:S,dynamicPropsId:s==null?void 0:s.id};u.useQuery&&(k.query=c||"");const C={...k};delete C.dynamicPropsId;const[L,F]=G.useState(),V=()=>{p(E.page),v(E.prevContext),A({...E,prevContext:{}})},{isFetching:D,refetch:O}=Qt({queryKey:["componentConfigure",C],queryFn:async()=>{F(void 0);const z=await t.componentConfigure(k),{options:U,stringOptions:ue,errors:fe}=z;if(fe!=null&&fe.length){try{F(JSON.parse(fe[0]))}catch{F({name:"Error",message:fe[0]})}return[]}let Ie=[];if(U!=null&&U.length&&(Ie=U),ue!=null&&ue.length){const m=[];for(const me of ue)m.push({label:me,value:me});Ie=m}const y=[],ce=new Set(E.values);for(const m of Ie||[]){const me=typeof m=="string"?m:m.value;ce.has(me)||(ce.add(me),y.push(m))}let se=E.data;return y.length?(se=[...E.data,...y],A({page:f+1,prevContext:z.context,data:se,values:ce})):g(!1),se},enabled:!!e}),N=()=>!D&&!L&&b,q=L?L.message:a?"Click to configure":e?void 0:"Configure props above first",ie=a?!1:!e;return P.jsx(Zr,{isCreatable:!0,showLoadMoreButton:N(),onLoadMore:V,options:E.data,selectProps:{isLoading:D,placeholder:q,isDisabled:ie,inputValue:u.useQuery?c:void 0,onInputChange(z){u.useQuery&&(d(z),O())},onMenuOpen(){a&&!e&&O()}}})}function Xl(e){const{field:t,form:n}=e,{queryDisabledIdx:r}=n,{prop:i,idx:o}=t,s="app"in t.extra?t.extra.app:void 0;if(i.remoteOptions||i.type==="$.discord.channel")return P.jsx(Ml,{queryEnabled:r==null||r>=o});if("options"in i&&i.options){let a=i.options;return typeof a[0]!="object"&&(a=a.map(l=>({label:l,value:l}))),P.jsx(Zr,{options:a,components:{IndicatorSeparator:()=>null}})}if(i.type.endsWith("[][]"))throw new Error("Unsupported property type: "+i.type);if(i.type.endsWith("[]"))return!("options"in i)||!i.options?P.jsx(Pb,{}):P.jsx(Zr,{isCreatable:!0,options:[],components:{IndicatorSeparator:()=>null}});switch(i.type){case"app":return P.jsx(Bl,{app:s});case"boolean":return P.jsx(Nl,{});case"string":case"integer":return P.jsx(Ll,{});case"object":return P.jsx(Gb,{});default:throw new Error("Unsupported property type: "+i.type)}}function Hl(e){const{form:t,field:n}=e,{prop:r}=n,{getProps:i,getComponents:o}=Ze(),s={display:"grid",gridTemplateAreas:n.prop.type=="boolean"?'"control label" "description description" "error error"':'"label label" "control control" "description description" "error error"',gridTemplateColumns:"min-content auto",gap:"0.25rem 0",alignItems:"center",fontSize:"0.875rem"},{Label:a,Description:l,Errors:u}=o(),c="app"in n.extra?n.extra.app:void 0;if(c&&!c.auth_type)return null;let d=r.label||r.name;return c&&(d=`Connect ${c.name} account`),P.jsxs("div",{...i("field",s,e),children:[P.jsx(a,{text:d,field:n,form:t}),P.jsx(Xl,{field:n,form:t}),P.jsx(l,{markdown:r.description,field:n,form:t}),P.jsx(u,{field:n,form:t})]})}const zl=(e,t)=>{var i;const n=St(),r=Qt({queryKey:["app",e],queryFn:()=>n.app(e),...t==null?void 0:t.useQueryOpts});return{...r,app:(i=r.data)==null?void 0:i.data}};function Wl({prop:e,idx:t}){const n=Sr(),{id:r,configuredProps:i,registerField:o,setConfiguredProp:s,errors:a,enableDebugging:l}=n,u=e.type==="app"&&"app"in e?e.app:void 0,{app:c}=zl(u||"",{useQueryOpts:{enabled:!!u,suspense:!!u}}),f={id:`pd${r}${e.name}`,prop:e,idx:t,value:i[e.name],onChange(p){s(t,p)},extra:{app:c},errors:a,enableDebugging:l};return G.useEffect(()=>o(f),[f]),P.jsx(so.Provider,{value:f,children:P.jsx(Hl,{field:f,form:n})})}class Zl extends G.Component{constructor(){super(...arguments),this.state={err:void 0}}static getDerivedStateFromError(t){return{err:t}}render(){const{err:t}=this.state;return t?this.props.fallback(t):this.props.children}}function jl(e){const{form:t}=e,{propsNeedConfiguring:n,submitting:r}=t,{getProps:i,theme:o}=Ze(),s=a=>{var l;return{width:"fit-content",textTransform:"capitalize",backgroundColor:a?o.colors.neutral10:o.colors.primary,color:a?o.colors.neutral40:o.colors.neutral0,padding:`${o.spacing.baseUnit*1.75}px ${o.spacing.baseUnit*16}px`,borderRadius:o.borderRadius,boxShadow:(l=o.boxShadow)==null?void 0:l.button,cursor:"pointer",fontSize:"0.875rem",opacity:r?.5:void 0,margin:"0.5rem 0 0 0"}};return P.jsx("input",{type:"submit",value:r?"Submitting...":"Submit",...i("controlSubmit",s(n.length||r),e),disabled:n.length||r})}const Vb=["ConfigurationError"];function Jl(){const e=Sr(),{configurableProps:t,dynamicPropsQueryIsFetching:n,isValid:r,optionalPropIsEnabled:i,optionalPropSetEnabled:o,props:s,setSubmitting:a,sdkErrors:l,submitting:u,enableDebugging:c}=e,d=c||l.filter(D=>Vb.includes(D.name)).length>0,{hideOptionalProps:f,onSubmit:p}=s,[b,g]=G.useState([]);G.useEffect(()=>{u?g([]):l&&l.length&&g(l.map(D=>({type:"alert",alertType:"error",content:`# ${D.name}
21
+ ${D.message}`})))},[l,u]);const{getComponents:I,getProps:v,theme:E}=Ze(),{OptionalFieldButton:A}=I(),S={display:"flex",flexDirection:"column",gap:"1.5rem"},k={display:"flex",flexWrap:"wrap",gap:"0.375rem"},C={fontWeight:600,textTransform:"capitalize",color:E.colors.neutral60,fontSize:"0.875rem",lineHeight:"1.375",margin:"0 0 0.5rem 0"},L=async D=>{if(p&&(D.preventDefault(),r)){a(!0);try{await p(e)}finally{a(!1)}}},F=[],V=[];for(let D=0;D<t.length;D++){const O=t[D];if(!O.hidden&&!Jn.includes(O.type)){if(O.optional){const N=i(O);if(V.push([O,N]),!N)continue}F.push([O,D])}}return P.jsx(Zl,{fallback:D=>P.jsxs("p",{style:{color:"red"},children:["Error: ",D&&typeof D=="object"&&"message"in D&&typeof D.message=="string"?D.message:"Unknown"]}),children:P.jsx(G.Suspense,{fallback:P.jsx("p",{children:"Loading form..."}),children:P.jsxs("form",{...v("componentForm",S,s),onSubmit:L,children:[F.map(([D,O])=>D.type==="alert"?P.jsx(Ir,{prop:D},D.name):P.jsx(Wl,{prop:D,idx:O},D.name)),n&&P.jsx("p",{children:"Loading dynamic props..."}),!f&&V.length?P.jsxs("div",{children:[P.jsx("div",{...v("heading",C,s),children:"Optional Props"}),P.jsx("div",{...v("optionalFields",k,s),children:V.map(([D,O])=>P.jsx(A,{prop:D,enabled:O,onClick:()=>o(D,!O)},D.name))})]}):null,d&&(b==null?void 0:b.map((D,O)=>P.jsx(Ir,{prop:D},O))),p&&P.jsx(jl,{form:e})]})})})}function Yl(e){return P.jsx(xa,{props:e,children:P.jsx(Jl,{})})}const _l=({key:e},t)=>{var i;const n=St(),r=Qt({queryKey:["component",e],queryFn:()=>n.component({key:e}),enabled:!!e,...t==null?void 0:t.useQueryOpts});return{...r,component:(i=r.data)==null?void 0:i.data}};function Nb(e){const{isLoading:t,error:n,component:r}=_l({key:e.componentKey});if(!e.componentKey)throw new Error("componentKey required");return t?P.jsx("p",{children:"Loading..."}):n?P.jsxs("p",{children:["Error: ",n.message]}):r?P.jsx(Yl,{component:r,...e}):P.jsx("p",{children:"Component not found"})}function Lb(){const e=Ft(),{id:t,onChange:n,value:r}=e,{getProps:i,theme:o}=Ze(),s={display:"block",gridArea:"control",width:"100%",fontSize:"0.875rem",boxShadow:o.boxShadow.input};let a=r;return typeof a=="object"&&(a=JSON.stringify(a)),P.jsx("textarea",{id:t,value:a,onChange:l=>n(l.target.value),...i("controlAny",s,e)})}const Ul=e=>{var r;const t=St(),n=Qt({queryKey:["apps",e],queryFn:()=>t.apps(e)});return{...n,apps:((r=n.data)==null?void 0:r.data)||[]}};function Rb({value:e,onChange:t}){const[n,r]=G.useState(""),i=G.useId(),{isLoading:o,apps:s}=Ul({q:n}),{Option:a,SingleValue:l}=Un,u=(s==null?void 0:s.find(c=>c.name_slug===(e==null?void 0:e.name_slug)))||null;return P.jsx(Xr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",components:{Option:c=>P.jsx(a,{...c,children:P.jsxs("div",{style:{display:"flex",gap:10},children:[P.jsx("img",{src:`https://pipedream.com/s.v0/${c.data.id}/logo/48`,style:{height:24,width:24},alt:c.data.name}),P.jsx("span",{style:{whiteSpace:"nowrap"},children:c.data.name})]})}),SingleValue:c=>P.jsx(l,{...c,children:P.jsxs("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[P.jsx("img",{src:`https://pipedream.com/s.v0/${c.data.id}/logo/48`,style:{height:24,width:24},alt:c.data.name}),P.jsx("span",{style:{whiteSpace:"nowrap"},children:c.data.name})]})}),IndicatorSeparator:()=>null},options:s||[],getOptionLabel:c=>c.name||c.name_slug,getOptionValue:c=>c.name_slug,value:u,onChange:c=>t==null?void 0:t(c||void 0),onInputChange:c=>{c&&r(c)},isLoading:o})}const ql=e=>{var r;const t=St(),n=Qt({queryKey:["components",e],queryFn:()=>t.components(e)});return{...n,components:((r=n.data)==null?void 0:r.data)||[]}};function Mb({app:e,componentType:t,value:n,onChange:r}){const i=G.useId(),{isLoading:o,components:s}=ql({app:e==null?void 0:e.name_slug,componentType:t}),a=(s==null?void 0:s.find(l=>l.key===(n==null?void 0:n.key)))||null;return P.jsx(Xr,{instanceId:i,className:"react-select-container text-sm",classNamePrefix:"react-select",options:s,getOptionLabel:l=>l.name||l.key,getOptionValue:l=>l.key,value:a,onChange:l=>r==null?void 0:r(l||void 0),isLoading:o,components:{IndicatorSeparator:()=>null}})}H.Alert=Ir,H.ComponentForm=Yl,H.ComponentFormContainer=Nb,H.Control=Xl,H.ControlAny=Lb,H.ControlApp=Bl,H.ControlBoolean=Nl,H.ControlInput=Ll,H.ControlSelect=Zr,H.ControlSubmit=jl,H.CustomizationContext=Wr,H.CustomizeProvider=kb,H.Description=wl,H.ErrorBoundary=Zl,H.Errors=Sl,H.Field=Hl,H.FormContext=Wi,H.FormContextProvider=xa,H.FormFieldContext=so,H.FrontendClientProvider=Ah,H.InternalComponentForm=Jl,H.InternalField=Wl,H.Label=El,H.OptionalFieldButton=kl,H.RemoteOptionsContainer=Ml,H.SelectApp=Rb,H.SelectComponent=Mb,H.defaultComponents=Pl,H.defaultTheme=Hr,H.getReactSelectTheme=Al,H.mergeTheme=zr,H.skippablePropTypes=Jn,H.unstyledTheme=xl,H.useAccounts=Gl,H.useApp=zl,H.useApps=Ul,H.useComponent=_l,H.useComponents=ql,H.useCustomize=Ze,H.useFormContext=Sr,H.useFormFieldContext=Ft,H.useFrontendClient=St,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})});