-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathjsx-runtime.js
More file actions
2 lines (2 loc) · 28.7 KB
/
jsx-runtime.js
File metadata and controls
2 lines (2 loc) · 28.7 KB
1
2
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.apprun=e():n.apprun=e()}(this,(()=>(()=>{"use strict";var n={593:(n,e,l)=>{l.d(e,{FK:()=>$,n:()=>Y,t_:()=>Q,cJ:()=>J});var t={};l.r(t),l.d(t,{boolean:()=>i,booleanish:()=>u,commaOrSpaceSeparated:()=>g,commaSeparated:()=>d,number:()=>c,overloadedBoolean:()=>s,spaceSeparated:()=>p});var o=l(741);class r{constructor(n,e){this.attribute=e,this.property=n}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0;let a=0;const i=f(),u=f(),s=f(),c=f(),p=f(),d=f(),g=f();function f(){return 2**++a}const h=Object.keys(t);class m extends r{constructor(n,e,l,o){let r=-1;if(super(n,e),y(this,"space",o),"number"==typeof l)for(;++r<h.length;){const n=h[r];y(this,h[r],(l&t[n])===t[n])}}}function y(n,e,l){l&&(n[e]=l)}function v(n){return n.toLowerCase()}m.prototype.defined=!0;const b=/[A-Z]/g,k=/-[a-z]/g,S=/^data[-\w.:]+$/i;function C(n){return"-"+n.toLowerCase()}function w(n){return n.charAt(1).toUpperCase()}class x{constructor(n,e,l){this.normal=e,this.property=n,l&&(this.space=l)}}function P(n,e){const l={},t={};for(const e of n)Object.assign(l,e.property),Object.assign(t,e.normal);return new x(l,t,e)}function A(n){const e={},l={};for(const[t,o]of Object.entries(n.properties)){const r=new m(t,n.transform(n.attributes||{},t),o,n.space);n.mustUseProperty&&n.mustUseProperty.includes(t)&&(r.mustUseProperty=!0),e[t]=r,l[v(t)]=t,l[v(r.attribute)]=t}return new x(e,l,n.space)}x.prototype.normal={},x.prototype.property={},x.prototype.space=void 0;const O=A({properties:{ariaActiveDescendant:null,ariaAtomic:u,ariaAutoComplete:null,ariaBusy:u,ariaChecked:u,ariaColCount:c,ariaColIndex:c,ariaColSpan:c,ariaControls:p,ariaCurrent:null,ariaDescribedBy:p,ariaDetails:null,ariaDisabled:u,ariaDropEffect:p,ariaErrorMessage:null,ariaExpanded:u,ariaFlowTo:p,ariaGrabbed:u,ariaHasPopup:null,ariaHidden:u,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:p,ariaLevel:c,ariaLive:null,ariaModal:u,ariaMultiLine:u,ariaMultiSelectable:u,ariaOrientation:null,ariaOwns:p,ariaPlaceholder:null,ariaPosInSet:c,ariaPressed:u,ariaReadOnly:u,ariaRelevant:null,ariaRequired:u,ariaRoleDescription:p,ariaRowCount:c,ariaRowIndex:c,ariaRowSpan:c,ariaSelected:u,ariaSetSize:c,ariaSort:null,ariaValueMax:c,ariaValueMin:c,ariaValueNow:c,ariaValueText:null,role:null},transform:(n,e)=>"role"===e?e:"aria-"+e.slice(4).toLowerCase()});function L(n,e){return e in n?n[e]:e}function M(n,e){return L(n,e.toLowerCase())}const E=A({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:p,accessKey:p,action:null,allow:null,allowFullScreen:i,allowPaymentRequest:i,allowUserMedia:i,alt:null,as:null,async:i,autoCapitalize:null,autoComplete:p,autoFocus:i,autoPlay:i,blocking:p,capture:null,charSet:null,checked:i,cite:null,className:p,cols:c,colSpan:null,content:null,contentEditable:u,controls:i,controlsList:p,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:i,defer:i,dir:null,dirName:null,disabled:i,download:s,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:i,formTarget:null,headers:p,height:c,hidden:s,high:c,href:null,hrefLang:null,htmlFor:p,httpEquiv:p,id:null,imageSizes:null,imageSrcSet:null,inert:i,inputMode:null,integrity:null,is:null,isMap:i,itemId:null,itemProp:p,itemRef:p,itemScope:i,itemType:p,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:i,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:i,muted:i,name:null,nonce:null,noModule:i,noValidate:i,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:i,optimum:c,pattern:null,ping:p,placeholder:null,playsInline:i,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:i,referrerPolicy:null,rel:p,required:i,reversed:i,rows:c,rowSpan:c,sandbox:p,scope:null,scoped:i,seamless:i,selected:i,shadowRootClonable:i,shadowRootDelegatesFocus:i,shadowRootMode:null,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:i,useMap:null,value:u,width:c,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:p,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:i,declare:i,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:i,noHref:i,noShade:i,noWrap:i,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:i,disableRemotePlayback:i,prefix:null,property:null,results:c,security:null,unselectable:null},space:"html",transform:M}),T=A({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"},properties:{about:g,accentHeight:c,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:c,amplitude:c,arabicForm:null,ascent:c,attributeName:null,attributeType:null,azimuth:c,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:c,by:null,calcMode:null,capHeight:c,className:p,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:c,diffuseConstant:c,direction:null,display:null,dur:null,divisor:c,dominantBaseline:null,download:i,dx:null,dy:null,edgeMode:null,editable:null,elevation:c,enableBackground:null,end:null,event:null,exponent:c,externalResourcesRequired:null,fill:null,fillOpacity:c,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:d,g2:d,glyphName:d,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:c,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:c,horizOriginX:c,horizOriginY:c,id:null,ideographic:c,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:c,k:c,k1:c,k2:c,k3:c,k4:c,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:c,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:c,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:c,overlineThickness:c,paintOrder:null,panose1:null,path:null,pathLength:c,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:p,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:c,pointsAtY:c,pointsAtZ:c,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,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:c,specularExponent:c,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:c,strikethroughThickness:c,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:c,strokeOpacity:c,strokeWidth:null,style:null,surfaceScale:c,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:c,tableValues:null,target:null,targetX:c,targetY:c,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:c,underlineThickness:c,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:c,values:null,vAlphabetic:c,vMathematical:c,vectorEffect:null,vHanging:c,vIdeographic:c,version:null,vertAdvY:c,vertOriginX:c,vertOriginY:c,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:c,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:L}),D=A({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(n,e)=>"xlink:"+e.slice(5).toLowerCase()}),R=A({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),U=A({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(n,e)=>"xml:"+e.slice(3).toLowerCase()}),j=P([O,E,D,R,U],"html"),B=P([O,T,D,R,U],"svg"),_="_props",z=new Map;function N(n,e,l){!function(n){return null!=n&&!1!==n&&""!==n&&(!0===n||("string"==typeof n?"false"!==n.toLowerCase()&&"0"!==n:Boolean(n)))}(l)?n.removeAttribute(e):n.setAttribute(e,e)}function H(n,e,l){try{n[e]=l}catch(t){I(n,e,l,!1)}}function I(n,e,l,t){if(null==l)return void n.removeAttribute(e);const o=String(l);if(t&&e.includes(":")){const[l]=e.split(":");"xlink"===l?n.setAttributeNS("http://www.w3.org/1999/xlink",e,o):n.setAttribute(e,o)}else n.setAttribute(e,o)}function F(n,e,l,t){if(o=n,a=e,document.activeElement===o?["selectionStart","selectionEnd","selectionDirection"].includes(a):"scrollTop"===a||"scrollLeft"===a||o instanceof HTMLMediaElement&&["currentTime","paused","playbackRate","volume"].includes(a))return;var o,a;if("style"===e){if(n.style.cssText&&(n.style.cssText=""),"string"==typeof l)n.style.cssText=l;else if(l&&"object"==typeof l)for(const e in l)n.style[e]!==l[e]&&(n.style[e]=l[e]);return}if("key"===e)return void(null!=l&&(n.key=l));if(e.startsWith("data-"))return void function(n,e,l){const t=(o=e.slice(5)).length<=1?o.toLowerCase():o.split("-").map(((n,e)=>0===e?n.toLowerCase():n.charAt(0).toUpperCase()+n.slice(1).toLowerCase())).join("");var o;null==l?delete n.dataset[t]:n.dataset[t]=String(l)}(n,e,l);if(e.startsWith("on"))return void function(n,e,l){e.startsWith("on")&&(l&&"function"!=typeof l?"string"==typeof l&&(l?n.setAttribute(e,l):n.removeAttribute(e)):n[e]=l)}(n,e,l);if(!("INPUT"!==n.tagName&&"TEXTAREA"!==n.tagName&&"SELECT"!==n.tagName||"value"!==e&&"selected"!==e&&"selectedIndex"!==e))return void H(n,e,l);if("INPUT"===n.tagName&&"checked"===e)return H(n,e,l),void N(n,e,l);const i=function(n,e){const l=`${n}:${e}`;let t=z.get(l);return void 0===t&&(t=function(n,e){const l=v(e);let t=e,o=r;if(l in n.normal)return n.property[n.normal[l]];if(l.length>4&&"data"===l.slice(0,4)&&S.test(e)){if("-"===e.charAt(4)){const n=e.slice(5).replace(k,w);t="data"+n.charAt(0).toUpperCase()+n.slice(1)}else{const n=e.slice(4);if(!k.test(n)){let l=n.replace(b,C);"-"!==l.charAt(0)&&(l="-"+l),e="data"+l}}o=m}return new o(t,e)}(e?B:j,n)||null,z.set(l,t)),t}(e,t);i?i.boolean||i.overloadedBoolean?N(n,i.attribute,l):i.mustUseProperty&&!t?H(n,i.property,l):I(n,i.attribute,l,t):e.startsWith("aria-")||"role"===e?I(n,e,l,t):e in n||void 0!==n[e]?H(n,e,l):I(n,e,l,t)}function V(n){return/^[a-zA-Z_:][\w\-:.]*$/.test(n)&&!n.includes("<")&&!n.includes(">")&&!n.includes('"')&&!n.includes("'")}function W(n,e,l){const t=function(n,e){if(e&&(e.class=e.class||e.className,delete e.className),!n||0===Object.keys(n).length)return e||{};if(!e||0===Object.keys(e).length){const e={};return Object.keys(n).forEach((n=>e[n]=null)),e}const l={};return Object.keys(n).forEach((n=>{n in e||(l[n]=null)})),Object.keys(e).forEach((n=>l[n]=e[n])),l}(n[_]||{},e);n[_]=e||{},function(n,e,l,t){for(const l in e)V(l)&&F(n,l,e[l],t);e&&"function"==typeof e.ref&&window.requestAnimationFrame((()=>e.ref(n)))}(n,t,0,l)}function $(n,...e){return q(e)}function q(n){const e=[],l=n=>{null!=n&&""!==n&&!1!==n&&e.push("function"==typeof n||"object"==typeof n?n:`${n}`)};return n&&n.forEach((n=>{Array.isArray(n)?n.forEach((n=>l(n))):l(n)})),e}const K={};let X=0;function Y(n,e,...l){const t=q(l);if("string"==typeof n)return{tag:n,props:e,children:t};if(Array.isArray(n))return n;if(void 0===n&&l)return t;if(Object.getPrototypeOf(n).__isAppRunComponent)return{tag:n,props:e,children:t};if("function"==typeof n)return n(e,t);throw new Error(`Unknown tag in vdom ${n}`)}const J=(n,e,l={})=>{null!=e&&!1!==e&&function(n,e,l={}){if(null==e||!1===e)return;if(e=ln(e,l),!n)return;const t="SVG"===n.nodeName;Array.isArray(e)?G(n,e,t):G(n,[e],t)}("string"==typeof n&&n?document.getElementById(n)||document.querySelector(n):n,e=(0,o.A)(e,l),l)};function Z(n,e,l){l=l||"svg"===e.tag,function(n,e){const l=n.nodeName,t=`${e.tag||""}`;return l.toUpperCase()===t.toUpperCase()}(n,e)?(G(n,e.children,l),W(n,e.props,l)):n.parentNode.replaceChild(en(e,l),n)}function G(n,e,l){const t=n.childNodes?.length||0,o=e?.length||0,r=Math.min(t,o);for(let t=0;t<r;t++){const o=e[t],r=n.childNodes[t];if("string"==typeof o)r.textContent!==o&&(3===r.nodeType?r.nodeValue=o:n.replaceChild(nn(o),r));else if(o instanceof HTMLElement||o instanceof SVGElement)n.insertBefore(o,r);else{const e=o.props&&o.props.key;if(e)if(r.key===e)Z(n.childNodes[t],o,l);else{const a=K[e];a?(n.insertBefore(a,r),Z(n.childNodes[t],o,l)):n.replaceChild(en(o,l),r)}else Z(n.childNodes[t],o,l)}}let a=n.childNodes?.length||0;for(;a>r;)n.removeChild(n.lastChild),a--;if(o>r){const t=document.createDocumentFragment();for(let n=r;n<e.length;n++)t.appendChild(en(e[n],l));n.appendChild(t)}}const Q=n=>{const e=document.createElement("section");return e.insertAdjacentHTML("afterbegin",n),Array.from(e.children)};function nn(n){if(0===n?.indexOf("_html:")){const e=document.createElement("div");return e.insertAdjacentHTML("afterbegin",n.substring(6)),e}return document.createTextNode(n??"")}function en(n,e){if(n instanceof HTMLElement||n instanceof SVGElement)return n;if("string"==typeof n)return nn(n);if(!n.tag||"function"==typeof n.tag)return nn(JSON.stringify(n));const l=(e=e||"svg"===n.tag)?document.createElementNS("http://www.w3.org/2000/svg",n.tag):document.createElement(n.tag);return W(l,n.props,e),n.children&&n.children.forEach((n=>l.appendChild(en(n,e)))),n.props&&void 0!==n.props.key&&(l.key=n.props.key,K[n.props.key]=l,++X>=500&&(function(){if(!(Object.keys(K).length<=1e3))for(const[n,e]of Object.entries(K))e.isConnected||delete K[n]}(),X=0)),l}function ln(n,e,l=0){if("string"==typeof n)return n;if(Array.isArray(n))return n.map((n=>ln(n,e,l++)));let t=n;if(n&&"function"==typeof n.tag&&Object.getPrototypeOf(n.tag).__isAppRunComponent&&(t=function(n,e,l){const{tag:t,props:o,children:r}=n;let a=`_${l}`,i=o&&o.id;i?a=i:i=`_${l}${Date.now()}`;let u="section";o&&o.as&&(u=o.as,delete o.as),e.__componentCache||(e.__componentCache={});let s=e.__componentCache[a];if(s&&s instanceof t&&s.element)s.renderState(s.state);else{const n=document.createElement(u);s=e.__componentCache[a]=new t({...o,children:r}).mount(n,{render:!0})}if(s.mounted){const n=s.mounted(o,r,s.state);void 0!==n&&s.setState(n)}return W(s.element,o,!1),s.element}(n,e,l)),t&&Array.isArray(t.children)){const n=t.props?._component;if(n){let e=0;t.children=t.children.map((l=>ln(l,n,e++)))}else t.children=t.children.map((n=>ln(n,e,l++)))}return t}},634:(n,e,l)=>{function t(n){return n?.target instanceof HTMLElement?n.target:null}l.d(e,{PB:()=>t})},672:(n,e,l)=>{l.d(e,{C:()=>t});const t="AppRun-3.38.0"},741:(n,e,l)=>{l.d(e,{A:()=>s});var t=l(859),o=l(634);const r=n=>{if(!n)return[];const e=[];let l="",t=!1,o="";for(let r=0;r<n.length;r++){const a=n[r];"["!==a||t?"]"===a&&t?(o?l=l.slice(1,-1):/^\d+$/.test(l)&&(l=parseInt(l,10)),e.push(l),l="",t=!1,o=""):'"'!==a&&"'"!==a||!t?"."!==a||t?l+=a:l&&(e.push(l),l=""):(o?a===o&&(o=""):o=a,l+=a):(l&&(e.push(l),l=""),t=!0)}return l&&e.push(l),e},a=(n,e)=>{if(!e)return n.state||"";const l=r(e),t=((n,e)=>{let l=n;for(const n of e){if(null==l)return;l=l[n]}return l})(n.state,l);return void 0!==t?t:""},i=(n,e,l)=>{if(!e)return void n.setState(l);const t=r(e),o=((n,e,l)=>{if(0===e.length)return l;const t={...n};let o=t;for(let n=0;n<e.length-1;n++){const l=e[n],t=e[n+1];null==o[l]?o[l]="number"==typeof t?[]:{}:Array.isArray(o[l])?o[l]=[...o[l]]:"object"==typeof o[l]&&(o[l]={...o[l]}),o=o[l]}return o[e[e.length-1]]=l,t})(n.state||{},t,l);n.setState(o)},u=(n,e)=>{if(Array.isArray(n))return n.map((n=>u(n,e)));{let{type:l,tag:r,props:s,children:c}=n;return r=r||l,c=c||s?.children,s&&Object.keys(s).forEach((n=>{n.startsWith("$")&&(((n,e,l,r)=>{if(n.startsWith("$on")){const l=e[n];if(n=n.substring(1),"boolean"==typeof l)e[n]=e=>r.run?r.run(n,e):t.A.run(n,e);else if("string"==typeof l)e[n]=n=>r.run?r.run(l,n):t.A.run(l,n);else if("function"==typeof l)e[n]=n=>r.setState(l(r.state,n));else if(Array.isArray(l)){const[o,...a]=l;"string"==typeof o?e[n]=n=>r.run?r.run(o,...a,n):t.A.run(o,...a,n):"function"==typeof o&&(e[n]=n=>r.setState(o(r.state,...a,n)))}}else if("$bind"===n){const t=e.type||"text",u="string"==typeof e[n]?e[n]:e.name;if("input"===l)switch(t){case"checkbox":e.checked=a(r,u),e.onclick=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,e.checked)};break;case"radio":e.checked=a(r,u)===e.value,e.onclick=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,e.value)};break;case"number":case"range":e.value=a(r,u),e.oninput=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,Number(e.value))};break;default:e.value=a(r,u),e.oninput=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,e.value)}}else"select"===l?(e.value=a(r,u),e.onchange=n=>{const e=(0,o.PB)(n);e&&!e.multiple&&i(r,u||e.name,e.value)}):"option"===l?(e.selected=a(r,u),e.onclick=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,e.selected)}):"textarea"===l&&(e.innerHTML=a(r,u),e.oninput=n=>{const e=(0,o.PB)(n);e&&i(r,u||e.name,e.value)})}else t.A.run("$",{key:n,tag:l,props:e,component:r})})(n,s,r,e),delete s[n])})),c&&u(c,e),n}},s=u},859:(n,e,l)=>{l.d(e,{A:()=>i});var t=l(672);const o=t.C;let r;const a="undefined"!=typeof window?window:void 0!==l.g?l.g:"undefined"!=typeof self?self:{};a.app&&a._AppRunVersions?r=a.app:(r=new class{constructor(){this._events={}}on(n,e,l={}){this._events[n]=this._events[n]||[],this._events[n].push({fn:e,options:l})}off(n,e){const l=this._events[n]||[];this._events[n]=l.filter((n=>n.fn!==e))}find(n){return this._events[n]}run(n,...e){const l=this.getSubscribers(n,this._events);return console.assert(l&&l.length>0,"No subscriber for event: "+n),l.forEach((l=>{const{fn:t,options:o}=l;if(!t||"function"!=typeof t)return console.error(`AppRun event handler for '${n}' is not a function:`,t),!1;if(o.delay)this.delay(n,t,e,o);else try{Object.keys(o).length>0?t.apply(this,[...e,o]):t.apply(this,e)}catch(e){console.error(`Error in event handler for '${n}':`,e)}return!l.options.once})),l.length}once(n,e,l={}){this.on(n,e,{...l,once:!0})}delay(n,e,l,t){t._t&&clearTimeout(t._t),t._t=setTimeout((()=>{clearTimeout(t._t);try{Object.keys(t).length>0?e.apply(this,[...l,t]):e.apply(this,l)}catch(e){console.error(`Error in delayed event handler for '${n}':`,e)}}),t.delay)}runAsync(n,...e){const l=this.getSubscribers(n,this._events);console.assert(l&&l.length>0,"No subscriber for event: "+n);const t=l.map((l=>{const{fn:t,options:o}=l;if(!t||"function"!=typeof t)return console.error(`AppRun async event handler for '${n}' is not a function:`,t),Promise.resolve(null);try{return Object.keys(o).length>0?t.apply(this,[...e,o]):t.apply(this,e)}catch(e){return console.error(`Error in async event handler for '${n}':`,e),Promise.reject(e)}}));return Promise.all(t)}query(n,...e){return console.warn("app.query() is deprecated. Use app.runAsync() instead."),this.runAsync(n,...e)}getSubscribers(n,e){const l=e[n]||[];return e[n]=l.filter((n=>!n.options.once)),Object.keys(e).filter((e=>e.endsWith("*")&&n.startsWith(e.replace("*","")))).sort(((n,e)=>e.length-n.length)).forEach((t=>l.push(...e[t].map((e=>({...e,options:{...e.options,event:n}})))))),l}},a.app=r,a._AppRunVersions=o);const i=r}},e={};function l(t){var o=e[t];if(void 0!==o)return o.exports;var r=e[t]={exports:{}};return n[t](r,r.exports,l),r.exports}l.d=(n,e)=>{for(var t in e)l.o(e,t)&&!l.o(n,t)&&Object.defineProperty(n,t,{enumerable:!0,get:e[t]})},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),l.o=(n,e)=>Object.prototype.hasOwnProperty.call(n,e),l.r=n=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})};var t={};l.r(t),l.d(t,{Fragment:()=>o.FK,createElement:()=>o.n,jsx:()=>o.n,jsxs:()=>o.n,render:()=>o.cJ,safeHTML:()=>o.t_});var o=l(593);return t})()));
//# sourceMappingURL=jsx-runtime.js.map