1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B9yNwF2q.js","./B0b7E-V8.js","./DrctnP21.js","./CdHCLhiy.js","./swiper-vue.Bx4R_3Ti.css","./entry.Dd7FFic5.css","./iik6CYzq.js","./CE1G-McA.js"])))=>i.map(i=>d[i]); 2import{c4 as U,c5 as rn,c6 as an,ap as un,aj as sn}from"./DrctnP21.js";import{f as V,n as cn}from"./iik6CYzq.js";import{k as pn,l as H,h as P,a5 as dn,a6 as gn,K as q,T as mn,d as fn,a2 as hn,av as M,an as yn,W as vn,j as bn,e as Sn,c as Cn,u as k,n as kn,a as xn}from"./CdHCLhiy.js";class D{constructor(e,o,t){this.normal=o,this.property=e,t&&(this.space=t)}}D.prototype.normal={};D.prototype.property={};D.prototype.space=void 0;function K(n,e){const o={},t={};for(const r of n)Object.assign(o,r.property),Object.assign(t,r.normal);return new D(o,t,e)}function L(n){return n.toLowerCase()}class y{constructor(e,o){this.attribute=o,this.property=e}}y.prototype.attribute="";y.prototype.booleanish=!1;y.prototype.boolean=!1;y.prototype.commaOrSpaceSeparated=!1;y.prototype.commaSeparated=!1;y.prototype.defined=!1;y.prototype.mustUseProperty=!1;y.prototype.number=!1;y.prototype.overloadedBoolean=!1;y.prototype.property="";y.prototype.spaceSeparated=!1;y.prototype.space=void 0;let wn=0;const u=C(),f=C(),A=C(),l=C(),d=C(),S=C(),b=C();function C(){return 2**++wn}const E=Object.freeze(Object.defineProperty({__proto__:null,boolean:u,booleanish:f,commaOrSpaceSeparated:b,commaSeparated:S,number:l,overloadedBoolean:A,spaceSeparated:d},Symbol.toStringTag,{value:"Module"})),T=Object.keys(E);class z extends y{constructor(e,o,t,r){let a=-1;if(super(e,o),F(this,"space",r),typeof t=="number")for(;++a<T.length;){const c=T[a];F(this,T[a],(t&E[c])===E[c])}}}z.prototype.defined=!0;function F(n,e,o){o&&(n[e]=o)}function x(n){const e={},o={};for(const[t,r]of Object.entries(n.properties)){const a=new z(t,n.transform(n.attributes||{},t),r,n.space);n.mustUseProperty&&n.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),e[t]=a,o[L(t)]=t,o[L(a.attribute)]=t}return new D(e,o,n.space)}const W=x({properties:{ariaActiveDescendant:null,ariaAtomic:f,ariaAutoComplete:null,ariaBusy:f,ariaChecked:f,ariaColCount:l,ariaColIndex:l,ariaColSpan:l,ariaControls:d,ariaCurrent:null,ariaDescribedBy:d,ariaDetails:null,ariaDisabled:f,ariaDropEffect:d,ariaErrorMessage:null,ariaExpanded:f,ariaFlowTo:d,ariaGrabbed:f,ariaHasPopup:null,ariaHidden:f,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:d,ariaLevel:l,ariaLive:null,ariaModal:f,ariaMultiLine:f,ariaMultiSelectable:f,ariaOrientation:null,ariaOwns:d,ariaPlaceholder:null,ariaPosInSet:l,ariaPressed:f,ariaReadOnly:f,ariaRelevant:null,ariaRequired:f,ariaRoleDescription:d,ariaRowCount:l,ariaRowIndex:l,ariaRowSpan:l,ariaSelected:f,ariaSetSize:l,ariaSort:null,ariaValueMax:l,ariaValueMin:l,ariaValueNow:l,ariaValueText:null,role:null},transform(n,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function $(n,e){return e in n?n[e]:e}function X(n,e){return $(n,e.toLowerCase())}const On=x({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:S,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alpha:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:d,autoFocus:u,autoPlay:u,blocking:d,capture:null,charSet:null,checked:u,cite:null,className:d,closedBy:null,colorSpace:null,cols:l,colSpan:l,command:null,commandFor:null,content:null,contentEditable:f,controls:u,controlsList:d,coords:l|S,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:A,draggable:f,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:d,height:l,hidden:A,high:l,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:null,inert:u,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:d,itemRef:d,itemScope:u,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u,low:l,manifest:null,max:null,maxLength:l,media:null,method:null,min:null,minLength:l,multiple:u,muted:u,name:null,nonce:null,noModule:u,n
2oValidate:u,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:u,optimum:l,pattern:null,ping:d,placeholder:null,playsInline:u,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u,referrerPolicy:null,rel:d,required:u,reversed:u,rows:l,rowSpan:l,sandbox:d,scope:null,scoped:u,seamless:u,selected:u,shadowRootClonable:u,shadowRootCustomElementRegistry:u,shadowRootDelegatesFocus:u,shadowRootMode:null,shadowRootSerializable:u,shape:null,size:l,sizes:null,slot:null,span:l,spellCheck:f,src:null,
2srcDoc:null,srcLang:null,srcSet:null,start:l,step:null,style:null,tabIndex:l,target:null,title:null,translate:null,type:null,typeMustMatch:u,useMap:null,value:f,width:l,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:l,borderColor:null,bottomMargin:l,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:u,declare:u,event:null,face:null,frame:null,frameBorder:null,hSpace:l,leftMargin:l,link:null,longDesc:null,lowSrc:null,marginHeight:l,marginWidth:l,noResize:u,noHref:u,noShade:u,noWrap:u,object:null,profile:null,prompt:null,rev:null,rightMargin:l,rules:null,scheme:null,scrolling:f,standby:null,summary:null,text:null,topMargin:l,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:u,disablePictureInPicture:u,disableRemotePlayback:u,exportParts:S,part:d,prefix:null,property:null,results:l,security:null,unselectable:null},space:"html",transform:X}),Dn=x({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",maskType:"mask-type",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
2-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:b,accentHeight:l,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l,amplitude:l,arabicForm:null,ascent:l,attributeName:null,attributeType:null,azimuth:l,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l,by:null,calcMode:null,capHeight:l,className:d,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:l,diffuseConstant:l,direction:null,display:null,dur:null,divisor:l,dominantBaseline:null,download:u,dx:null,dy:null,edgeMode:null,editable:null,elevation:l,enableBackground:null,end:null,event:null,exponent:l,externalResourcesRequired:null,fill:null,fillOpacity:l,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:S,g2:S,glyphName:S,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l,horizOriginX:l,horizOriginY:l,id:null,ideographic:l,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l,k:l,k1:l,k2:l,k3:l,k4:l,kernelMatrix:b,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l,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,on
2Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l,overlineThickness:l,paintOrder:null,panose1:null,path:null,pathLength:l,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:d,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l,pointsAtY:l,pointsAtZ:l,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:b,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:b,rev:b,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:b,requiredFeatures:b,requiredFonts:b,requiredFormats:b,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:l,specularExponent:l,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l,strikethroughThickness:l,string:null,stroke:null,strokeDashArray:b,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l,strokeOpacity:l,strokeWidth:null,style:null,surfaceScale:l,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:b,tabIndex:l,tableValues:null,target:null,targetX:l,targetY:l,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:b,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l,underlineThickness:l,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l,values:null,vAlphabetic:l,vMathematical:l,vectorEffect:null,vHanging:l,vIdeographic:l,version:null,vertAdvY:l,vertOriginX:l,vertOriginY:l,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:$}),Y=x({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(n,e){return"xlink:"+e.slice(5).toLowerCase()}}),Z=x({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:X}),J=x({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,e){return"xml:"+e.slice(3).toLowerCase()}}),Pn=/[A-Z]/g,N=/-[a-z]/g,Mn=/^data[-\w.:]+$/i;function Rn(n,e){const o=L(e);let t=e,r=y;if(o in n.normal)return n.property[n.normal[o]];if(o.length>4&&o.slice(0,4)==="data"&&Mn.test(e)){if(e.charAt(4)==="-"){const a=e.slice(5).replace(N,Ln);t="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=e.slice(4);if(!N.test(a)){let c=a.replace(Pn,Tn);c.charAt(0)!=="-"&&(c="-"+c),e="data"+c}}r=z}return new r(t,e)}function Tn(n){return"-"+n.toLowerCase()}function Ln(n){return n.charAt(1).toUpperCase()}const An=K([W,On,Y,Z,J],"html");K([W,Dn,Y,Z,J],"svg");const En=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]);function _n(n,e){return e.reduce((o,t)=>{const r=Bn(n,t);return r!==void 0&&(o[t]=r),o},{})}function Bn(n,e){return e.split(".").reduce((o,t)=>o&&o[t],n)}const _="default",G=/^@|^v-on:/,Q=/^:|^v-bind:/,Un=/^v-model/,zn=["select","textarea","input"],jn=new Set(["math","svg"]),nn=new Set,In=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(n=>[n,`prose-${n}`])),Hn=["script","base"],Fn=pn({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(n){const o=mn()?.appContext?.app?.$nuxt,t=o?.$route||o?._route,{mdc:r}=o?.$config?.public||{},a=r?.components?.customElements||r?.components?.custom;a&&a.forEach(i=>
2nn.add(i));const c=P(()=>({...r?.components?.prose&&n.prose!==!1?In:{},...r?.components?.map||{},...dn(n.data?.mdc?.components||{}),...n.components})),m=P(()=>{const i=(n.body?.children||[]).map(s=>s.tag||s.type).filter(s=>!j(s));return Array.from(new Set(i)).sort().join(".")}),g=gn({...n.data});q(()=>n.data,i=>{Object.assign(g,i)}),await Gn(n.body,{tags:c.value});function p(i,s){const h=i.split(".").length-1;return i.split(".").reduce((v,w,O)=>O==h&&v?(v[w]=s,v[w]):typeof v=="object"?v[w]:void 0,g)}return{tags:c,contentKey:m,route:t,runtimeData:g,updateRuntimeData:p}},render(n){const{tags:e,tag:o,body:t,data:r,contentKey:a,route:c,unwrap:m,runtimeData:g,updateRuntimeData:p}=n;if(!t)return null;const i={...r,tags:e,$route:c,runtimeData:g,updateRuntimeData:p},s=o!==!1?B(o||i.component?.name||i.component||"div"):void 0;return s?H(s,{...i.component?.props,class:n.class,...this.$attrs,key:a},{default:h}):h?.();function h(){const v=en(t,H,{documentMeta:i,parentScope:i,resolveComponent:B});return v?.default?m?V(v.default(),typeof m=="string"?m.split(" "):["*"]):v.default():null}}});function Nn(n,e,o,t){const{documentMeta:r,parentScope:a,resolveComponent:c}=o;if(n.type==="text")return e(M,n.value);if(n.type==="comment")return e(yn,null,n.value);const m=n.tag,g=on(n,r.tags);if(n.tag==="binding")return Vn(n,e,r,a);const p=ln(g)?h=>h:c;if(Hn.includes(U(g).toLowerCase()))return e("pre",{class:"mdc-renderer-dangerous-tag"},"<"+g+">"+cn(n)+"</"+g+">");const i=p(g);typeof i=="object"&&(i.tag=m);const s=qn(n,r);return t&&(s.key=t),e(i,s,en(n,e,{documentMeta:r,parentScope:{...a,...s},resolveComponent:p}))}
2function en(n,e,o){const{documentMeta:t,parentScope:r,resolveComponent:a}=o,m=(n.children||[]).reduce((p,i)=>{if(!Zn(i))return p[_].children.push(i),p;const s=Yn(i);return p[s]=p[s]||{props:{},children:[]},i.type==="element"&&(p[s].props=i.props,p[s].children.push(...i.children||[])),p},{[_]:{props:{},children:[]}});return Object.entries(m).reduce((p,[i,{props:s,children:h}])=>(h.length&&(p[i]=(v={})=>{const w=_n(v,Object.keys(s||{}));let O=h.map((I,tn)=>Nn(I,e,{documentMeta:t,parentScope:{...r,...w},resolveComponent:a},String(I.props?.key||tn)));return s?.unwrap&&(O=V(O,s.unwrap)),Jn(O)}),p),{})}function Vn(n,e,o,t={}){const r={...o.runtimeData,...t,$document:o,$doc:o},a=/\.|\[(\d+)\]/,m=(n.props?.value.trim().split(a).filter(Boolean)).reduce((p,i)=>{if(p&&i in p)return typeof p[i]=="function"?p[i]():p[i]},r),g=n.props?.defaultValue;return e(M,m??g??"")}function qn(n,e){const{tag:o="",props:t={}}=n;return Object.keys(t).reduce(function(r,a){if(a==="__ignoreMap")return r;const c=t[a];if(Un.test(a))return Kn(a,c,r,e,{native:zn.includes(o)});if(a==="v-bind")return Wn(a,c,r,e);if(G.test(a))return $n(a,c,r,e);if(Q.test(a))return Xn(a,c,r,e);const{attribute:m}=Rn(An,a);return Array.isArray(c)&&c.every(g=>typeof g=="string")?(r[m]=c.join(" "),r):(r[m]=c,r)},{})}function Kn(n,e,o,t,{native:r}){const a=n.match(/^v-model:([^=]+)/)?.[1]||"modelValue",c=r?"value":a,m=r?"onInput":`onUpdate:${a}`;return o[c]=R(e,t.runtimeData),o[m]=g=>{t.updateRuntimeData(e,r?g.target?.value:g)},o}function Wn(n,e,o,t){const r=R(e,t);return o=Object.assign(o,r),o}function $n(n,e,o,t){return n=n.replace(G,""),o.on=o.on||{},o.on[n]=()=>R(e,t),o}function Xn(n,e,o,t){return n=n.replace(Q,""),o[n]=R(e,t),o}const B=n=>{if(typeof n=="string"){if(j(n))return n;const e=fn(U(n),!1);return!n||e?.name==="AsyncComponentWrapper"||typeof e=="string"?e:"setup"in e?hn(()=>new Promise(o=>o(e))):e}return n};function R(n,e){const o=n.split(".").reduce((t,r)=>typeof t=="object"?t[r]:void 0,e);return typeof o>"u"?an(n):o}function Yn(n){let e="";for(const o of Object.keys(n.props||{}))if(!(!o.startsWith("#")&&!o.startsWith("v-slot:"))){e=o.split(/[:#]/,2)[1];break}return e||_}function Zn(n){return n.tag==="template"}function ln(n){return jn.has(n)}function Jn(n){const e=[];for(const o of n){const t=e[e.length-1];o.type===M&&t?.type===M?t.children=t.children+o.children:e.push(o)}return e}async function Gn(n,e){if(!n)return;const o=Array.from(new Set(t(n,e)));await Promise.all(o.map(async r=>{if(r?.render||r?.ssrRender||r?.__ssrInlineRender)return;const a=B(r);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function t(r,a){const c=r.tag;if(r.type==="text"||c==="binding"||r.type==="comment")return[];const m=on(r,a.tags);if(ln(m))return[];const g=[];r.type!=="root"&&!j(m)&&g.push(m);for(const p of r.children||[])g.push(...t(p,a));return g}}function on(n,e){const o=n.tag;return!o||typeof n.props?.__ignoreMap<"u"?o:e[o]||e[U(o)]||e[rn(n.tag)]||o}function j(n){return(typeof n=="string"?nn.has(n):!1)||En.has(n)}const Qn=Object.assign(Fn,{__name:"MDCRenderer"}),oe={__name:"MDC",props:{tag:{type:[String,Boolean],default:"div"},value:{type:[String,Object],required:!0},excerpt:{type:Boolean,default:!1},parserOptions:{type:Object,default:()=>({})},class:{type:[String,Array,Object],default:""},unwrap:{type:[Boolean,String],default:!1},cacheKey:{type:String,default:void 0},partial:{type:Boolean,default:!0}},async setup(n){let e,o;const t=n,r=P(()=>t.cacheKey??p(t.value)),{data:a,refresh:c,error:m}=([e,o]=vn(async()=>un(r.value,async()=>{if(typeof t.value!="string")return t.value;const{parseMarkdown:i}=await sn(async()=>{const{parseMarkdown:s}=await import("./B9yNwF2q.js");return{parseMarkdown:s}},__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);return await i(t.value,{...t.parserOptions,toc:t.partial?!1:t.parserOptions?.toc,contentHeading:t.partial?!1:t.parserOptions?.contentHeading})})),e=await e,o(),e),g=P(()=>t.excerpt?a.value?.excerpt:a.value?.body);q(()=>t.value,()=>{c()});function p(i){typeof i!="string"&&(i=JSON.stringify(i||""));let s=0;for(let h=0;h<i.length;h++){const v=i.charCodeAt(h);s=(s<<6)-s+v,s=s&s}return`mdc-${s===0?"0000":s.toString(36)}-key`}return(i,s)=>{const h=Qn;return bn(i.$slots,"default",{data:k(a)?.data,body:k(a)?.body,toc:k(a)?.toc,excerpt:k(a)?.excerpt,error:k(m)},()=>[g.value?(Sn(),Cn(h,{key:0,tag:t.tag,class:kn(t.class),body:g.value,data:k(a)?.data,unwrap:t.unwrap},null,8,["tag","class","body","data","unwrap"])):xn("",!0)])}}};export{oe as _,Qn as a,En as h};
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.