1var Se=Object.defineProperty;var ke=(e,t,n)=>t in e?Se(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var y=(e,t,n)=>ke(e,typeof t!="symbol"?t+"":t,n);import{py as Re,pz as he,jW as Ce,r as Oe,nQ as we,fY as Ne,j as Ae,as as Pe}from"./index-CpeGhXo5.js";import{r as Me}from"./index-CdIa_f5c.js";var M={},B={},I={},U={},ee;function Ie(){if(ee)return U;ee=1;const e=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"].reduce((t,n)=>(t[n.toLowerCase()]=n,t),{});return U.CASE_SENSITIVE_TAG_NAMES_MAP=e,U}var E;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(E||(E={}));function De(e){return e.type===E.Tag||e.type===E.Script||e.type===E.Style}E.Root;E.Text;E.Directive;E.Comment;E.Script;E.Style;E.Tag;E.CDATA;E.Doctype;class ${constructor(){y(this,"parent",null);y(this,"prev",null);y(this,"next",null);y(this,"startIndex",null);y(this,"endIndex",null)}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return J(this,t)}}class j extends ${constructor(n){super();y(this,"data");this.data=n}get nodeValue(){return this.data}set nodeValue(n){this.data=n}}class F extends j{constructor(){super(...arguments);y(this,"type",E.Text)}get nodeType(){return 3}}class W extends j{constructor(){super(...arguments);y(this,"type",E.Comment)}get nodeType(){return 8}}class Y extends j{constructor(n,o){super(o);y(this,"type",E.Directive);y(this,"name");y(this,"x-name");y(this,"x-publicId");y(this,"x-systemId");this.name=n}get nodeType(){return 1}}class z extends ${constructor(n){super();y(this,"children");this.children=n}get firstChild(){return this.children[0]??null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(n){this.children=n}}class Z extends z{constructor(){super(...arguments);y(this,"type",E.CDATA)}get nodeType(){return 4}}class q extends z{constructor(){super(...arguments);y(this,"type",E.Root)}get nodeType(){return 9}}class K extends z{constructor(n,o,l=[],g=n==="script"?E.Script:n==="style"?E.Style:E.Tag){super(l);y(this,"name");y(this,"attribs");y(this,"type");y(this,"namespace");y(this,"x-attribsNamespace");y(this,"x-attribsPrefix");this.name=n,this.attribs=o,this.type=g}get nodeType(){return 1}get tagName(){return this.name}set tagName(n){this.name=n}get attributes(){return Object.keys(this.attribs).map(n=>({name:n,value:this.attribs[n],namespace:this["x-attribsNamespace"]?.[n],prefix:this["x-attribsPrefix"]?.[n]}))}}function me(e){return De(e)}function ge(e){return e.type===E.CDATA}function ye(e){return e.type===E.Text}function Ee(e){return e.type===E.Comment}function _e(e){return e.type===E.Directive}function xe(e){return e.type===E.Root}function Le(e){return Object.hasOwn(e,"children")}function J(e,t=!1){let n;if(ye(e))n=new F(e.data);else if(Ee(e))n=new W(e.data);else if(me(e)){const o=t?V(e.children):[],l=new K(e.name,{...e.attribs},o);for(const g of o)g.parent=l;e.namespace!=null&&(l.namespace=e.namespace),e["x-attribsNamespace"]&&(l["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(l["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=l}else if(ge(e)){const o=t?V(e.children):[],l=new Z(o);for(const g of o)g.parent=l;n=l}else if(xe(e)){const o=t?V(e.children):[],l=new q(o);for(const g of o)g.parent=l;e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else if(_e(e)){const o=new Y(e.name,e.data);e["x-name"]!=null&&(o["x-name"]=e["x-name"],o["x-publicId"]=e["x-publicId"],o["x-systemId"]=e["x-systemId"]),n=o}else throw new Error(`Not implemented yet: ${e.type}`);return n.startIndex=e.startIndex,n.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function V(e){const t=e.map(n=>J(n,!0));for(let n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}const te={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};
1class ne{constructor(t,n,o){y(this,"dom",[]);y(this,"root",new q(this.dom));y(this,"callback");y(this,"options");y(this,"elementCB");y(this,"done",!1);y(this,"tagStack",[this.root]);y(this,"lastNode",null);y(this,"parser",null);typeof n=="function"&&(o=n,n=te),typeof t=="object"&&(n=t,t=void 0),this.callback=t??null,this.options=n??te,this.elementCB=o??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new q(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;const t=this.tagStack.pop();this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,n){const o=this.options.xmlMode?E.Tag:void 0,l=new K(t,n,void 0,o);this.addNode(l),this.tagStack.push(l)}ontext(t){const{lastNode:n}=this;if(n&&n.type===E.Text)n.data+=t,this.options.withEndIndices&&this.parser&&(n.endIndex=this.parser.endIndex);else{const o=new F(t);this.addNode(o),this.lastNode=o}}oncomment(t){if(this.lastNode&&this.lastNode.type===E.Comment){this.lastNode.data+=t;return}const n=new W(t);this.addNode(n),this.lastNode=n}oncommentend(){this.lastNode=null}oncdatastart(){const t=new F(""),n=new Z([t]);this.addNode(n),t.parent=n,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,n){const o=new Y(t,n);this.addNode(o)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){const n=this.tagStack[this.tagStack.length-1],o=n.children[n.children.length-1];this.options.withStartIndices&&this.parser&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&this.parser&&(t.endIndex=this.parser.endIndex),n.children.push(t),o&&(t.prev=o,o.next=t),t.parent=n,this.lastNode=null}}const He=Object.freeze(Object.defineProperty({__proto__:null,CDATA:Z,Comment:W,DataNode:j,Document:q,DomHandler:ne,Element:K,Node:$,NodeWithChildren:z,ProcessingInstruction:Y,Text:F,cloneNode:J,default:ne,hasChildren:Le,isCDATA:ge,isComment:Ee,isDirective:_e,isDocument:xe,isTag:me,isText:ye},Symbol.toStringTag,{value:"Module"})),Q=Re(He);var re;function Te(){if(re)return I;re=1;const e=Ie();let t=Q;const n="\r",o=new RegExp(n,"g"),l=`__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_${Date.now().toString()}__`,g=new RegExp(l,"g");function v(a){return e.CASE_SENSITIVE_TAG_NAMES_MAP[a]}function x(a){const c={};let h=0;const d=a.length;for(;h<d;h++){const p=a[h];c[p.name]=p.value}return c}function u(a){a=a.toLowerCase();const c=v(a);return c||a}function i(a,c){const h="<"+c,d=a.toLowerCase().indexOf(h);if(d===-1)return!1;const p=a[d+h.length];return p===">"||p===" "||p===" "||p===` 2`||p==="\r"||p==="/"}function s(a){return a.replace(o,l)}function _(a){return a.replace(g,n)}function k(a,c=null,h){const d=[];let p,C=0;const f=a.length;for(;C<f;C++){const T=a[C];switch(T.nodeType){case 1:{const m=u(T.nodeName);p=new t.Element(m,x(T.attributes)),p.children=k(m==="template"?T.content.childNodes:T.childNodes,p);break}case 3:p=new t.Text(_(T.nodeValue??""));break;case 8:p=new t.Comment(T.nodeValue??"");break;default:continue}const r=d[C-1]??null;r&&(r.next=p),p.parent=c,p.prev=r,p.next=null,d.push(p)}return h&&(p=new t.ProcessingInstruction(h.substring(0,h.indexOf(" ")).toLowerCase(),h),p.next=d[0]??null,p.parent=c,d.unshift(p),d[1]&&(d[1].prev=d[0])),d}return I.escapeSpecialCharacters=s,I.formatDOM=k,I.hasOpenTag=i,I}var G={},ie;function Fe(){if(ie)return G;ie=1;const e=Te(),t="html",n="head",o="body",l=/<([a-zA-Z]+[0-9]?)/;function g(a,c){return c?c.createHTML(a):a}let v=(a,c,h)=>{throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},x=(a,c,h)=>{throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};const u=typeof window=="object"&&window.DOMParser;if(typeof u=="function"){const a=new u,c="text/html";x=(h,d,p)=>(d&&(h=`<${d}>${h}</${d}>`),a.parseFromString(h,c)),v=x}if(typeof document=="object"&&document.implementation){const a=document.implementation.createHTMLDocument();v=function(c,h,d){if(h){const p=a.documentElement.querySelector(h);return p&&(p.innerHTML=g(c,d)),a}return a.documentElement.innerHTML=g(c,d),a}}const i=typeof document=="object"&&document.createElement("template");let s;
2i&&i.content&&(s=(a,c)=>(i.innerHTML=g(a,c),i.content.childNodes));const _=()=>document.createDocumentFragment().childNodes;function k(a,c){a=e.escapeSpecialCharacters(a);const h=l.exec(a)?.[1]?.toLowerCase();switch(h){case t:{const d=x(a);if(!e.hasOpenTag(a,n)){const p=d.querySelector(n);p?.parentNode?.removeChild(p)}if(!e.hasOpenTag(a,o)){const p=d.querySelector(o);p?.parentNode?.removeChild(p)}return d.querySelectorAll(t)}case n:case o:{const d=v(a,void 0,c).querySelectorAll(h);return e.hasOpenTag(a,o)&&e.hasOpenTag(a,n)?d[0].parentNode?.childNodes??_():d}default:return s?s(a,c):v(a,o,c).querySelector(o)?.childNodes??_()}}return G.default=k,G}var oe;function qe(){return oe||(oe=1,(function(e){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=Te(),n=Fe(),o=/<(![a-zA-Z\s]+)>/;function l(g,v){if(typeof g!="string")throw new TypeError("First argument must be a string");if(!g)return[];const x=o.exec(g),u=x?x[1]:void 0;return t.formatDOM(n.default(g,v?.trustedTypePolicy),null,u)}e.default=l})(B)),B}var H={},O={},D={},ae;function je(){if(ae)return D;ae=1;var e=0;D.SAME=e;var t=1;return D.CAMELCASE=t,D.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
2-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1},D}var se;function ze(){if(se)return O;se=1;
2const e=0,t=1,n=2,o=3,l=4,g=5,v=6;function x(r){return i.hasOwnProperty(r)?i[r]:null}function u(r,m,S,b,w,R,A){this.acceptsBooleans=m===n||m===o||m===l,this.attributeName=b,this.attributeNamespace=w,this.mustUseProperty=S,this.propertyName=r,this.type=m,this.sanitizeURL=R,this.removeEmptyString=A}const i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(r=>{i[r]=new u(r,e,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([r,m])=>{i[r]=new u(r,t,!1,m,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(r=>{i[r]=new u(r,n,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(r=>{i[r]=new u(r,n,!1,r,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(r=>{i[r]=new u(r,o,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(r=>{i[r]=new u(r,o,!0,r,null,!1,!1)}),["capture","download"].forEach(r=>{i[r]=new u(r,l,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(r=>{i[r]=new u(r,v,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(r=>{i[r]=new u(r,g,!1,r.toLowerCase(),null,!1,!1)});const _=/[\-\:]([a-z])/g,k=r=>r[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(r=>{const m=r.replace(_,k);i[m]=new u(m,t,!1,r,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(r=>{const m=r.replace(_,k);i[m]=new u(m,t,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(r=>{const m=r.replace(_,k);i[m]=new u(m,t,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(r=>{i[r]=new u(r,t,!1,r.toLowerCase(),null,!1,!1)});const a="xlinkHref";i[a]=new u("xlinkHref",t,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(r=>{i[r]=new u(r,t,!1,r.toLowerCase(),null,!0,!0)});const{CAMELCASE:c,SAME:h,possibleStandardNames:d}=je(),C=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD"+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",f=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+C+"]*$")),T=Object.keys(d).reduce((r,m)=>{const S=d[m];return S===h?r[m]=m:S===c?r[m.toLowerCase()]=m:r[m]=S,r},{});return O.BOOLEAN=o,O.BOOLEANISH_STRING=n,O.NUMERIC=g,O.OVERLOADED_BOOLEAN=l,O.POSITIVE_NUMERIC=v,O.RESERVED=e,O.STRING=t,O.getPropertyInfo=x,O.isCustomAttribute=f,O.possibleStandardNames=T,O}var L={},X,le;function Be(){if(le)return X;le=1;var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,v=(f,T,r,m)=>{if(T&&typeof T=="object"||typeof T=="function")for(var S=o(T),b=0,w=S.length,R;b<w;b++)R=S[b],!g.call(f,R)&&R!==r&&t(f,R,{get:(A=>T[A]).bind(null,R),enumerable:!(m=n(T,R))||m.enumerable});return f},x=(f,T,r)=>(r=f!=null?e(l(f)):{}
2,v(!f||!f.__esModule?t(r,"default",{value:f,enumerable:!0}):r,f));let u=Me();u=x(u);const i=/^--[a-zA-Z0-9_-]+$/,s=/-([a-z])/g,_=/^[^-]+$/,k=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,c=f=>!f||_.test(f)||i.test(f),h=(f,T)=>T.toUpperCase(),d=(f,T)=>`${T}-`,p=(f,T={})=>c(f)?f:(f=f.toLowerCase(),T.reactCompat?f=f.replace(a,d):f=f.replace(k,d),f.replace(s,h));function C(f,T){const r={};return!f||typeof f!="string"||(0,u.default)(f,(m,S)=>{m&&S&&(r[p(m,T)]=S)}),r}return X=C,X}var ce;function be(){return ce||(ce=1,(function(e){var t=L&&L.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0}),e.returnFirstArg=e.canTextBeChildOfNode=e.ELEMENTS_WITH_NO_TEXT_CHILDREN=e.PRESERVE_CUSTOM_ATTRIBUTES=void 0,e.isCustomComponent=g,e.setStyleProp=x;const n=he(),o=t(Be()),l=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function g(s,_){return s.includes("-")?!l.has(s):!!(_&&typeof _.is=="string")}const v={reactCompat:!0};function x(s,_){if(typeof s=="string"){if(!s.trim()){_.style={};return}try{_.style=(0,o.default)(s,v)}catch{_.style={}}}}e.PRESERVE_CUSTOM_ATTRIBUTES=Number(n.version.split(".")[0])>=16,e.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);const u=s=>!e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(s.name);e.canTextBeChildOfNode=u;const i=s=>s;e.returnFirstArg=i})(L)),L}var ue;function ve(){if(ue)return H;ue=1,Object.defineProperty(H,"__esModule",{value:!0}),H.default=g;const e=ze(),t=be(),n=["checked","value"],o=["input","select","textarea"],l={reset:!0,submit:!0};function g(x={},u){const i={},s=!!(x.type&&l[x.type]);for(const _ in x){const k=x[_];if((0,e.isCustomAttribute)(_)){i[_]=k;continue}const a=_.toLowerCase();let c=v(a);if(c){const h=(0,e.getPropertyInfo)(c);switch(n.includes(c)&&o.includes(u)&&!s&&(c=v("default"+a)),i[c]=k,h?.type){case e.BOOLEAN:i[c]=!0;break;case e.OVERLOADED_BOOLEAN:k===""&&(i[c]=!0);break}continue}t.PRESERVE_CUSTOM_ATTRIBUTES&&(i[_]=k)}return(0,t.setStyleProp)(x.style,i),i}function v(x){return e.possibleStandardNames[x]}return H}var P={},de;function Ue(){if(de)return P;de=1;var e=P&&P.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(P,"__esModule",{value:!0}),P.default=v;const t=Q,n=he(),o=e(ve()),l=be(),g={cloneElement:n.cloneElement,createElement:n.createElement,isValidElement:n.isValidElement};function v(i,s={}){var _,k,a,c,h;const d=[],p=typeof s.replace=="function",C=(_=s.transform)!==null&&_!==void 0?_:l.returnFirstArg,{cloneElement:f,createElement:T,isValidElement:r}=(k=s.library)!==null&&k!==void 0?k:g,m=i.length;x(i);for(let S=0;S<m;S++){const b=i[S];if(p){let N=(a=s.replace)===null||a===void 0?void 0:a.call(s,b,S);if(r(N)){m>1&&(N=f(N,{key:(c=N.key)!==null&&c!==void 0?c:S})),d.push(C(N,b,S));continue}}if(b.type==="text"){const N=!b.data.trim().length;if(N&&b.parent&&!(0,l.canTextBeChildOfNode)(b.parent)||s.trim&&N)continue;d.push(C(b.data,b,S));continue}const w=b;let R={};u(w)?((0,l.setStyleProp)(w.attribs.style,w.attribs),R=w.attribs):w.attribs&&(R=(0,o.default)(w.attribs,w.name));let A;switch(b.type){case"script":case"style":b.children[0]&&(R.dangerouslySetInnerHTML={__html:b.children[0].data});break;case"tag":b.name==="textarea"&&b.children[0]?R.defaultValue=b.children[0].data:!((h=b.children)===null||h===void 0)&&h.length&&(A=v(b.children,s));break;default:continue}m>1&&(R.key=S),d.push(C(T(b.name,R,A),b,S))}return d.length===1?d[0]:d}function x(i){for(const s of i)(s.type==="tag"||s.type==="script"||s.type==="style")&&(Object.setPrototypeOf(s,t.Element.prototype),x(s.children))}function u(i){return l.PRESERVE_CUSTOM_ATTRIBUTES&&i.type==="tag"&&(0,l.isCustomComponent)(i.name,i.attribs)}return P}var pe;function Ve(){return pe||(pe=1,(function(e){var t=M&&M.__importDefault||function(u){return u&&u.__esModule?u:{default:u}};Object.defineProperty(e,"__esModule",{value:!0}),e.htmlToDOM=e.domToReact=e.attributesToProps=e.Text=e.ProcessingInstruction=e.Element=e.Comment=void 0,e.default=x;const n=t(qe());e.htmlToDOM=n.default;const o=t(ve());e.attributesToProps=o.default;const l=t(Ue());e.domToReact=l.default;var g=Q;Object.defineProperty(e,"Comment",{enumerable:!0,get:function(){return g.Comment}}),Object.defineProperty(e,"Element",{enumerable:!0,get:function(){return g.Element}}),Object.defineProperty(e,"ProcessingInstruction",{enumerable:!0,get:function(){return g.ProcessingInstruction}}),Object.defineProperty(e,"Text",{enumerable:!0,get:function(){return g.Text}});const v={lowerCaseAttributeNames:!1};function x(u,i){var s;if(typeof u!="string")throw new TypeError("First argument must be a string");if(!u)return[];const _=Object.assign(Object.assign({},(s=i?.htmlparser2)!==null&&s!==void 0?s:v),{trustedTypePolicy:i?.trustedTypePolicy});return(0,l.default)((0,n.default)(u,_),i)}})(M)),M}var Ge=Ve();const fe=Ce(Ge),Xe=fe.default||fe;function Ze({html:e,className:t}){const n=Oe.useMemo(()=>we(e),[e]);return Ne(e)?null:Ae.jsx("div",{className:Pe("rich-html-content prose prose-sm max-w-none text-foreground","[&_ul]:list-disc [&_ul]:pl-4 [&_ol]:list-decimal [&_ol]:pl-4","[&_p]:my-1 [&_li]:my-0.5","[&_pre]:text-xs [&_pre]:font-mono [&_pre]:bg-muted/50 [&_pre]:rounded-md [&_pre]:p-2 [&_pre]:overflow-x-auto [&_pre]:my-1.5 [&_pre]:whitespace-pre-wrap","[&_code]:text-xs [&_code]:font-mono","[&_pre_code]:bg-transparent [&_pre_code]:p-0","[&_mark]:bg-yellow-200 [&_mark]:rounded-[2px]",t),children:Xe(n)})}export{Ze as R};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.