PageSourceSearch

https://ditheritv3.netlify.app/_nuxt/U-fIW0Pu.js

js ditheritv3.netlify.app collected 2026-10-03 10:39:49 UTC 29,327 bytes, 1 lines download raw bytes

1import{e as nn,i as Z,j as kn,k as xn,l as wn,m as w,n as en,p as F,T as B,C as Dn,q as On,s as ln,v as Tn,o as A,x as on,y as j,z as Mn,A as Rn,f as Ln,B as _n,c as z,F as An,r as En,D as Un,a as U,t as G,b as Bn,E as jn}from"./BYXglTKb.js";import{f as tn,n as In}from"./BN_7HF1G.js";import{_ as zn}from"./BfJwa2QR.js";import{q as Hn}from"./DMuegXrT.js";const Fn=/\d/,Nn=["-","_","/","."];function Vn(n=""){if(!Fn.test(n))return n!==n.toLowerCase()}function rn(n,l){const e=Nn,r=[];if(!n||typeof n!="string")return r;let t="",a,i;for(const g of n){const d=e.includes(g);if(d===!0){r.push(t),t="",a=void 0;continue}const c=Vn(g);if(i===!1){if(a===!1&&c===!0){r.push(t),t=g,a=c;continue}if(a===!0&&c===!1&&t.length>1){const p=t.at(-1);r.push(t.slice(0,Math.max(0,t.length-1))),t=p+g,a=c;continue}}t+=g,a=c,i=d}return r.push(t),r}function qn(n){return n?n[0].toUpperCase()+n.slice(1):""}function T(n,l){return n?(Array.isArray(n)?n:rn(n)).map(e=>qn(e)).join(""):""}function an(n,l){return n?(Array.isArray(n)?n:rn(n)).map(e=>e.toLowerCase()).join("-"):""}const N=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"]);class E{constructor(l,e,r){this.normal=e,this.property=l,r&&(this.space=r)}}E.prototype.normal={};E.prototype.property={};E.prototype.space=void 0;function un(n,l){const e={},r={};for(const t of n)Object.assign(e,t.property),Object.assign(r,t.normal);return new E(e,r,l)}function V(n){return n.toLowerCase()}class b{constructor(l,e){this.attribute=e,this.property=l}}b.prototype.attribute="";b.prototype.booleanish=!1;b.prototype.boolean=!1;b.prototype.commaOrSpaceSeparated=!1;b.prototype.commaSeparated=!1;b.prototype.defined=!1;b.prototype.mustUseProperty=!1;b.prototype.number=!1;b.prototype.overloadedBoolean=!1;b.prototype.property="";b.prototype.spaceSeparated=!1;b.prototype.space=void 0;let Wn=0;const u=M(),y=M(),q=M(),o=M(),f=M(),L=M(),S=M();function M(){return 2**++Wn}const W=Object.freeze(Object.defineProperty({__proto__:null,boolean:u,booleanish:y,commaOrSpaceSeparated:S,commaSeparated:L,number:o,overloadedBoolean:q,spaceSeparated:f},Symbol.toStringTag,{value:"Module"})),H=Object.keys(W);class X extends b{constructor(l,e,r,t){let a=-1;if(super(l,e),J(this,"space",t),typeof r=="number")for(;++a<H.length;){const i=H[a];J(this,H[a],(r&W[i])===W[i])}}}X.prototype.defined=!0;function J(n,l,e){e&&(n[l]=e)}function _(n){const l={},e={};for(const[r,t]of Object.entries(n.properties)){const a=new X(r,n.transform(n.attributes||{},r),t,n.space);n.mustUseProperty&&n.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),l[r]=a,e[V(r)]=r,e[V(a.attribute)]=r}return new E(l,e,n.space)}const sn=_({properties:{ariaActiveDescendant:null,ariaAtomic:y,ariaAutoComplete:null,ariaBusy:y,ariaChecked:y,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:f,ariaCurrent:null,ariaDescribedBy:f,ariaDetails:null,ariaDisabled:y,ariaDropEffect:f,ariaErrorMessage:null,ariaExpanded:y,ariaFlowTo:f,ariaGrabbed:y,ariaHasPopup:null,ariaHidden:y,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:f,ariaLevel:o,ariaLive:null,ariaModal:y,ariaMultiLine:y,ariaMultiSelectable:y,ariaOrientation:null,ariaOwns:f,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:y,ariaReadOnly:y,ariaRelevant:null,ariaRequired:y,ariaRoleDescription:f,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:y,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null},transform(n,l){return l==="role"?l:"aria-"+l.slice(4).toLowerCase()}});function cn(n,l){return l in n?n[l]:l}function pn(n,l){return cn(n,l.toLowerCase())}const $n=_({attributes:{acceptcharset:"accept-charset",classname:"
1class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:L,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:u,allowPaymentRequest:u,allowUserMedia:u,alt:null,as:null,async:u,autoCapitalize:null,autoComplete:f,autoFocus:u,autoPlay:u,blocking:f,capture:null,charSet:null,checked:u,cite:null,className:f,cols:o,colSpan:null,content:null,contentEditable:y,controls:u,controlsList:f,coords:o|L,crossOrigin:null,data:null,dateTime:null,decoding:null,default:u,defer:u,dir:null,dirName:null,disabled:u,download:q,draggable:y,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:u,formTarget:null,headers:f,height:o,hidden:q,high:o,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:u,inputMode:null,integrity:null,is:null,isMap:u,itemId:null,itemProp:f,itemRef:f,itemScope:u,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:u,low:o,manifest:null,max:null,maxLength:o,media:null,method:null,min:null,minLength:o,multiple:u,muted:u,name:null,nonce:null,noModule:u,noValidate: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:o,pattern:null,ping:f,placeholder:null,playsInline:u,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:u,referrerPolicy:null,rel:f,required:u,reversed:u,rows:o,rowSpan:o,sandbox:f,scope:null,scoped:u,seamless:u,selected:u,shadowRootClonable:u,shadowRootDelegatesFocus:u,shadowRootMode:null,shape:null,size:o,sizes:null,slot:null,span:o,spellCheck:y,src:null,srcDoc:null,srcLang:null,srcSet:null,start:o,step:null,style:null,tabIndex:o,target:null,title:null,translate:null,type:null,typeMustMatch:u,useMap:null,value:y,width:o,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:o,borderColor:null,bottomMargin:o,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:o,leftMargin:o,link:null,longDesc:null,lowSrc:null,marginHeight:o,marginWidth:o,noResize:u,noHref:u,noShade:u,noWrap:u,object:null,profile:null,prompt:null,rev:null,rightMargin:o,rules:null,scheme:null,scrolling:y,standby:null,summary:null,text:null,topMargin:o,valueType:null,version:null,vAlign:null,vLink:null,vSpace:o,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:u,disableRemotePlayback:u,prefix:null,property:null,results:o,security:null,unselectable:null},space:"html",transform:pn}),Kn=_({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",colorRen
1dering:"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:S,accentHeight:o,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:o,amplitude:o,arabicForm:null,ascent:o,attributeName:null,attributeType:null,azimuth:o,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:o,by:null,calcMode:null,capHeight:o,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
1dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:o,diffuseConstant:o,direction:null,display:null,dur:null,divisor:o,dominantBaseline:null,download:u,dx:null,dy:null,edgeMode:null,editable:null,elevation:o,enableBackground:null,end:null,event:null,exponent:o,externalResourcesRequired:null,fill:null,fillOpacity:o,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:L,g2:L,glyphName:L,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:o,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:o,horizOriginX:o,horizOriginY:o,id:null,ideographic:o,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:o,k:o,k1:o,k2:o,k3:o,k4:o,kernelMatrix:S,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:o,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:o,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:o,overlineThickness:o,paintOrder:null,panose1:null,path:null,pathLength:o,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:o,pointsAtY:o,pointsAtZ:o,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:S,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:S,rev:S,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:S,requiredFeatures:S,requiredFonts:S,requiredFormats:S,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:o,specularExponent:o,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:o,strikethroughThickness:o,string:null,stroke:null,strokeDashArray:S,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:o,strokeOpacity:o,strokeWidth:null,style:null,surfaceScale:o,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:S,tabIndex:o,tableValues:null,target:null,targetX:o,targetY:o,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:S,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:o,underlineThickness:o,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:o,values:null,vAlphabetic:o,vMathematical:o,vectorEffect:null,vHanging:o,vIdeographic:o,version:null,vertAdvY:o,vertOriginX:o,vertOriginY:o,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:o,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:cn}),dn=_({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
1,space:"xlink",transform(n,l){return"xlink:"+l.slice(5).toLowerCase()}}),gn=_({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:pn}),fn=_({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(n,l){return"xml:"+l.slice(3).toLowerCase()}}),Xn=/[A-Z]/g,Q=/-[a-z]/g,Yn=/^data[-\w.:]+$/i;function Zn(n,l){const e=V(l);let r=l,t=b;if(e in n.normal)return n.property[n.normal[e]];if(e.length>4&&e.slice(0,4)==="data"&&Yn.test(l)){if(l.charAt(4)==="-"){const a=l.slice(5).replace(Q,Jn);r="data"+a.charAt(0).toUpperCase()+a.slice(1)}else{const a=l.slice(4);if(!Q.test(a)){let i=a.replace(Xn,Gn);i.charAt(0)!=="-"&&(i="-"+i),l="data"+i}}t=X}return new t(r,l)}function Gn(n){return"-"+n.toLowerCase()}function Jn(n){return n.charAt(1).toUpperCase()}const Qn=un([sn,$n,dn,gn,fn],"html");un([sn,Kn,dn,gn,fn],"svg");function ne(n,l){return l.reduce((e,r)=>{const t=ee(n,r);return t!==void 0&&(e[r]=t),e},{})}function ee(n,l){return l.split(".").reduce((e,r)=>e&&e[r],n)}const $="default",mn=/^@|^v-on:/,hn=/^:|^v-bind:/,le=/^v-model/,oe=["select","textarea","input"],te=new Set(["math","svg"]),yn=new Set,re=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}`])),ae=["script","base"],ue=nn({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 e=kn()?.appContext?.app?.$nuxt,r=e?.$route||e?._route,{mdc:t}=e?.$config?.public||{},a=t?.components?.customElements||t?.components?.custom;a&&a.forEach(p=>yn.add(p));const i=w(()=>({...t?.components?.prose&&n.prose!==!1?re:{},...t?.components?.map||{},...ln(n.data?.mdc?.components||{}),...n.components})),g=w(()=>{const p=(n.body?.children||[]).map(m=>m.tag||m.type).filter(m=>!Y(m));return Array.from(new Set(p)).sort().join(".")}),d=xn({...n.data});wn(()=>n.data,p=>{Object.assign(d,p)}),await ve(n.body,{tags:i.value});function c(p,m){const P=p.split(".").length-1;return p.split(".").reduce((C,x,D)=>D==P&&C?(C[x]=m,C[x]):typeof C=="object"?C[x]:void 0,d)}return{tags:i,contentKey:g,route:r,runtimeData:d,updateRuntimeData:c}},render(n){const{tags:l,tag:e,body:r,data:t,contentKey:a,route:i,unwrap:g,runtimeData:d,updateRuntimeData:c}=n;if(!r)return null;const p={...t,tags:l,$route:i,runtimeData:d,updateRuntimeData:c},m=e!==!1?K(e||p.component?.name||p.component||"div"):void 0;return m?Z(m,{...p.component?.props,class:n.class,...this.$attrs,key:a},{default:P}):P?.();function P(){const C=vn(r,Z,{documentMeta:p,parentScope:p,resolveComponent:K});return C?.default?g?tn(C.default(),typeof g=="string"?g.split(" "):["*"]):C.default():null}}});function ie(n,l,e,r){const{documentMeta:t,parentScope:a,resolveComponent:i}=e;if(n.type==="text")return l(B,n.value);if(n.type==="comment")return l(Dn,null,n.value);const g=n.tag,d=Cn(n,t.tags);if(n.tag==="binding")return se(n,l,t,a);const c=bn(d)?P=>P:i;if(ae.includes(T(d).toLowerCase()))return l("pre",{class:"mdc-renderer-dangerous-tag"},"<"+d+">"+In(n)+"</"+d+">");const p=c(d);typeof p=="object"&&(p.tag=g);const m=ce(n,t);return r&&(m.key=r),l(p,m,vn(n,l,{documentMeta:t,parentScope:{...a,...m},resolveComponent:c}))}function vn(n,l,e){const{documentMeta:r,parentScope:t,resolveComponent:a}=e,g=(n.children||[]).reduce((c,p)=>{if(!he(p))return c[$].children.push(p),c;const m=me(p);return c[m]=c[m]||{props:{},children:[]},p.type==="element"&&(c[m].props=p.props,c[m].children.push(...p.children||[])),c},{[$]:{props:{},children:[]}});return Object.entries(g).reduce((c,[p,{props:m,children:P}])=>(P.length&&(c[p]=(C={})=>{const x=ne(C,Object.keys(m||{}));let D=P.map((s,h)=>ie(s,l,{documentMeta:r,parentScope:{...t,...x},resolveComponent:a},String(s.props?.key||h)));return m?.unwrap&&(D=tn(D,m.unwrap)),ye(D)}),c),{})}function se(n,l,e,r={}){const t={...e.runtimeData,...r,$document:e,$doc:e}
1,a=/\.|\[(\d+)\]/,g=(n.props?.value.trim().split(a).filter(Boolean)).reduce((c,p)=>{if(c&&p in c)return typeof c[p]=="function"?c[p]():c[p]},t),d=n.props?.defaultValue;return l(B,g??d??"")}function ce(n,l){const{tag:e="",props:r={}}=n;return Object.keys(r).reduce(function(t,a){if(a==="__ignoreMap")return t;const i=r[a];if(le.test(a))return pe(a,i,t,l,{native:oe.includes(e)});if(a==="v-bind")return de(a,i,t,l);if(mn.test(a))return ge(a,i,t,l);if(hn.test(a))return fe(a,i,t,l);const{attribute:g}=Zn(Qn,a);return Array.isArray(i)&&i.every(d=>typeof d=="string")?(t[g]=i.join(" "),t):(t[g]=i,t)},{})}function pe(n,l,e,r,{native:t}){const a=n.match(/^v-model:([^=]+)/)?.[1]||"modelValue",i=t?"value":a,g=t?"onInput":`onUpdate:${a}`;return e[i]=I(l,r.runtimeData),e[g]=d=>{r.updateRuntimeData(l,t?d.target?.value:d)},e}function de(n,l,e,r){const t=I(l,r);return e=Object.assign(e,t),e}function ge(n,l,e,r){return n=n.replace(mn,""),e.on=e.on||{},e.on[n]=()=>I(l,r),e}function fe(n,l,e,r){return n=n.replace(hn,""),e[n]=I(l,r),e}const K=n=>{if(typeof n=="string"){if(Y(n))return n;const l=en(T(n),!1);return!n||l?.name==="AsyncComponentWrapper"||typeof l=="string"?l:"setup"in l?F(()=>new Promise(e=>e(l))):l}return n};function I(n,l){const e=n.split(".").reduce((r,t)=>typeof r=="object"?r[t]:void 0,l);return typeof e>"u"?On(n):e}function me(n){let l="";for(const e of Object.keys(n.props||{}))if(!(!e.startsWith("#")&&!e.startsWith("v-slot:"))){l=e.split(/[:#]/,2)[1];break}return l||$}function he(n){return n.tag==="template"}function bn(n){return te.has(n)}function ye(n){const l=[];for(const e of n){const r=l[l.length-1];e.type===B&&r?.type===B?r.children=r.children+e.children:l.push(e)}return l}async function ve(n,l){if(!n)return;const e=Array.from(new Set(r(n,l)));await Promise.all(e.map(async t=>{if(t?.render||t?.ssrRender||t?.__ssrInlineRender)return;const a=K(t);a?.__asyncLoader&&!a.__asyncResolved&&await a.__asyncLoader()}));function r(t,a){const i=t.tag;if(t.type==="text"||i==="binding"||t.type==="comment")return[];const g=Cn(t,a.tags);if(bn(g))return[];const d=[];t.type!=="root"&&!Y(g)&&d.push(g);for(const c of t.children||[])d.push(...r(c,a));return d}}function Cn(n,l){const e=n.tag;return!e||typeof n.props?.__ignoreMap<"u"?e:l[e]||l[T(e)]||l[an(n.tag)]||e}function Y(n){return(typeof n=="string"?yn.has(n):!1)||N.has(n)}const be=Object.assign(ue,{__name:"MDCRenderer"});function Ce(n){return{type:"root",children:n.value.map(Sn)}}function Sn(n){if(typeof n=="string")return{type:"text",value:n};const[l,e,...r]=n;return{type:"element",tag:l,props:e,children:r.map(Sn)}}const Se={},Pe=["ProseA","ProseAccordion","ProseAccordionItem","ProseBadge","ProseBlockquote","ProseCallout","ProseCard","ProseCardGroup","ProseCode","ProseCodeCollapse","ProseCodeGroup","ProseCodeIcon","ProseCodePreview","ProseCodeTree","ProseCollapsible","ProseEm","ProseField","ProseFieldGroup","ProseH1","ProseH2","ProseH3","ProseH4","ProseHr","ProseIcon","ProseImg","ProseKbd","ProseLi","ProseOl","ProseP","ProsePre","ProseScript","ProseSteps","ProseStrong","ProseTable","ProseTabs","ProseTabsItem","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl","ProseCaution","ProseNote","ProseTip","ProseWarning","ProseH5","ProseH6","Icon"],ke=[],xe={__name:"ContentRenderer",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})},prose:{type:Boolean,default:void 0},class:{type:[String,Object],default:void 0},unwrap:{type:[Boolean,String],default:!1}},setup(n){const l=["render","ssrRender","__ssrInlineRender"],e=n,r=import.meta.preview,t=w(()=>{let s=e.value.body||e.value;return e.excerpt&&e.value.excerpt&&(s=e.value.excerpt),s.type==="minimal"||s.type==="minimark"?Ce({value:s.value}):s}),a=w(()=>!t.value?.children?.length),i=w(()=>{const{body:s,excerpt:h,...v}=e.value;return{...v,...e.data}}),g=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(s=>[s,`prose-${s}`])),{mdc:d}=Tn().public||{},c=w(()=>e.data.mdc),p=w(()=>({...d?.components?.prose&&e.prose!==!1?g:{},...d?.components?.map||{},...ln(c.value?.components||{}),...e.components})),m=w(()=>t.value?C(t.value,{tags:p.value}):{});function P(s){let h=s;if(typeof s=="string"){if(N.has(s))return s;if(Pe.includes(T(s)))h=en(s,!1);else if(ke.includes(T(s))){const k=Se[T(s)];h=k?F(k):void 0}if(typeof h=="string")return h}if(!h)return h;const v=h;return"__asyncLoader"in v?v:"setup"in v?F(()=>Promise.resolve(v)):v}function C(s,h){if(!s)return;const v=Array.from(new Set(x(s,h))),k={};for(const[O,R]of v)if(!k[O]){if(typeof R=="object"&&l.some(Pn=>Object.hasOwnProperty.call(R,Pn))){k[O]=R;continue}k[O]=P(R)}return k}function x(s,h){const v=s.tag;if(s.type==="text"||v==="binding"||s.type==="comment")return[];const k=D(s,h.tags),O=[];s.type!=="root"&&!N.has(k)&&O.push([v,k]);for(const R of s.children||[])O.push(...x(R,h));return O}function D(s,h){const v=s.tag;return!v||typeof s.props?.__ignoreMap<"u"?v:h[v]||h[T(v)]||h[an(s.tag)]||v}return(s,h)=>a.value?Rn(s.$slots,"empty",{key:1,body:t.value,data:i.value,dataContentId:j(r)?n.value.id:void 0}):(A(),on(be,{key:0,body:t.value,data:i.value,class:Mn(e.class),tag:e.tag,prose:e.prose,unwrap:e.unwrap,components:m.value,"data-content-id":j(r)?n.value.id:void 0},null,8,["body","data","class","tag","prose","unwrap","components","data-content-id"]))}},we=Object.assign(xe,{__name:"ContentRenderer"}),De={class:"space-y-10"},Oe={class:"text-lg font-semibold text-gray-800 dark:text-gray-100"},Te={class:"text-sm text-gray-500"},Me={class:"prose prose-gray dark:prose-invert max-w-none"},Ee=nn({__name:"index",async setup(n){let l,e;Ln({title:"Blog — Dither it!"});const{data:r}=([l,e]=_n(()=>Un("blog",()=>Hn("blog").where("draft","<>","true").order("date","DESC").all())),l=await l,e(),l);return(t,a)=>{const i=we,g=zn;return A(),z("div",De,[(A(!0),z(An,null,En(j(r),(d,c)=>(A(),z("article",{key:d.path,class:"space-y-3"},[U("div",null,[U("h2",Oe,G(d.title),1),U("p",Te,G(new Date(d.date).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",timeZone:"UTC"})),1)]),U("div",Me,[Bn(i,{value:d},null,8,["value"])]),c<(j(r)?.length??0)-1?(A(),on(g,{key:0,class:"pt-4"})):jn("",!0)]))),128))])}}});
1export{Ee as default};

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.