PageSourceSearch

https://eventuallycoding.com/_nuxt/B5D3hI6v.js

js eventuallycoding.com collected 2026-09-25 20:20:09 UTC 3,001 bytes, 1 lines download raw bytes

1import{ad as w,S as v,ae as h,aO as I,aP as T,o as p,v as f,w as r,f as e,x as m,O as B,b as x,a2 as n,y as O,p as C,ah as d,aB as P,d as y,j as S,t as _,ay as k}from"./CbmoqRZ0.js";import{C as D,a as $,b as L}from"./CSfXjRJ6.js";import"./DfOvvkJy.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="a0edcad6-74b3-4019-9129-df3278781f0d",s._sentryDebugIdIdentifier="sentry-dbid-a0edcad6-74b3-4019-9129-df3278781f0d")}catch{}})();const j={slots:{root:"",content:"data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"}},N={__name:"UCollapsible",props:{as:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(s,{emit:t}){const a=s,i=t,o=w(),l=v(),u=h("collapsible",a),g=I(T(a,"as","defaultOpen","open","disabled","unmountOnHide"),i),c=C(()=>d({extend:d(j),...l.ui?.collapsible||{}})());return(b,V)=>(p(),f(e(L),O(e(g),{"data-slot":"root",class:c.value.root({class:[e(u)?.root,a.class]})}),{default:r(({open:q})=>[o.default?(p(),f(e(D),{key:0,"as-child":""},{default:r(()=>[m(b.$slots,"default",{open:q})]),_:2},1024)):B("",!0),x(e($),{"data-slot":"content",class:n(c.value.content({class:e(u)?.content}))},{default:r(()=>[m(b.$slots,"content")]),_:3},8,["class"])]),_:3},16,["class"]))}},U={slots:{root:"my-5",trigger:["group relative rounded-xs inline-flex items-center gap-1.5 text-muted hover:text-default text-sm focus-visible:ring-2 focus-visible:ring-primary focus:outline-none","transition-colors"],triggerIcon:"size-4 shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",triggerLabel:"truncate",content:"*:first:mt-2.5 *:last:mb-0 *:my-1.5"}},A={__name:"ProseCollapsible",props:{icon:{type:null,required:!1},name:{type:String,required:!1},openText:{type:String,required:!1},closeText:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(s){const t=s,{t:a}=P(),i=v(),o=h("prose.collapsible",t),l=C(()=>d({extend:d(U),...i.ui?.prose?.collapsible||{}})());return(u,g)=>(p(),f(N,{"unmount-on-hide":!1,class:n(t.class),ui:e(k)(l.value,e(o))},{default:r(({open:c})=>[y("button",{class:n(l.value.trigger({class:e(o)?.trigger}))},[x(S,{name:s.icon||e(i).ui.icons.chevronDown,class:n(l.value.triggerIcon({class:e(o)?.triggerIcon}))},null,8,["name","class"]),y("span",{class:n(l.value.triggerLabel({class:e(o)?.triggerLabel}))},_(c?t.closeText||e(a)("prose.collapsible.closeText"):t.openText||e(a)("prose.collapsible.openText"))+" "+_(t.name||e(a)("prose.collapsible.name")),3)],2)]),content:r(()=>[m(u.$slots,"default")]),_:3},8,["class","ui"]))}};export{A 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.