PageSourceSearch

https://da88.boo/_nuxt/ZdWCXiyU.js

js da88.boo collected 2026-10-09 22:59:04 UTC 4,278 bytes, 1 lines download raw bytes

1import{d as c,bD as f,b as h,k as w,h as g,S as m,ac as x,ad as S,e as i,dC as A,ab as v,dD as j,c as P,g as B,X as _,m as y,F as O,ds as k,l as $,dy as R,v as E,d_ as X,dr as Y}from"./DVTJeQcM.js";function G(t,r){const e=typeof t=="string"&&!r?`${t}Context`:r,n=Symbol(e);return[o=>{const s=R(n,o);if(s||s===null)return s;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},o=>(Y(n,o),o)]}function N(t){let r=!1,e;const n=X(!0);return(...o)=>(r||(e=n.run(()=>t(...o)),r=!0),e)}function I(t){return typeof t=="function"?t():i(t)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;function M(t){var r;const e=I(t);return(r=e?.$el)!=null?r:e}function C(t){return t?t.flatMap(r=>r.type===O?C(r.children):[r]):[]}function b(){const t=k(),r=$(),e=y(()=>{var a,l;return["#text","#comment"].includes((a=r.value)==null?void 0:a.$el.nodeName)?(l=r.value)==null?void 0:l.$el.nextElementSibling:M(r)}),n=Object.assign({}
1,t.exposed),o={};for(const a in t.props)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>t.props[a]});if(Object.keys(n).length>0)for(const a in n)Object.defineProperty(o,a,{enumerable:!0,configurable:!0,get:()=>n[a]});Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=o;function s(a){r.value=a,a&&(Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),t.exposed=o)}return{forwardRef:s,currentRef:r,currentElement:e}}const V=c({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:r,slots:e}){return()=>{var n,o;if(!e.default)return null;const s=C(e.default()),a=s.findIndex(d=>d.type!==A);if(a===-1)return s;const l=s[a];(n=l.props)==null||delete n.ref;const p=l.props?v(r,l.props):r;r.class&&(o=l.props)!=null&&o.class&&delete l.props.class;const u=j(l,p);for(const d in p)d.startsWith("on")&&(u.props||(u.props={}),u.props[d]=p[d]);return s.length===1?u:(s[a]=u,s)}}}),W=c({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:r,slots:e}){const n=t.asChild?"template":t.as;return typeof n=="string"&&["area","img","input"].includes(n)?()=>f(n,r):n!=="template"?()=>f(t.as,r,{default:e.default}):()=>f(V,r,{default:e.default})}});N(()=>$([]));const[z]=G("PopperContent"),D=E("polygon",{points:"0,0 30,0 15,10"},null,-1),F=c({__name:"Arrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const r=t;return b(),(e,n)=>(h(),w(i(W),v(r,{width:e.width,height:e.height,viewBox:e.asChild?void 0:"0 0 30 10",preserveAspectRatio:e.asChild?void 0:"none"}),{default:g(()=>[m(e.$slots,"default",{},()=>[D])]),_:3},16,["width","height","viewBox","preserveAspectRatio"]))}}),T={top:"bottom",right:"left",bottom:"top",left:"right"},q=c({inheritAttrs:!1,__name:"PopperArrow",props:{width:{},height:{},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const{forwardRef:r}=b(),e=z(),n=y(()=>T[e.placedSide.value]);return(o,s)=>{var a,l,p,u;return h(),P("span",{ref:d=>{i(e).onArrowChange(d)},style:_({position:"absolute",left:(a=i(e).arrowX)!=null&&a.value?`${(l=i(e).arrowX)==null?void 0:l.value}px`:void 0,top:(p=i(e).arrowY)!=null&&p.value?`${(u=i(e).arrowY)==null?void 0:u.value}px`:void 0,[n.value]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i(e).placedSide.value],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i(e).placedSide.value],visibility:i(e).shouldHideArrow.value?"hidden":void 0})},[B(F,v(o.$attrs,{ref:i(r),style:{display:"block"},as:o.as,"as-child":o.asChild,width:o.width,height:o.height}),{default:g(()=>[m(o.$slots,"default")]),_:3},16,["as","as-child","width","height"])],4)}}});function H(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}H();const Z=c({__name:"TooltipArrow",props:{width:{default:10},height:{default:5},asChild:{type:Boolean},as:{default:"svg"}},setup(t){const r=t;return b(),(e,n)=>(h(),w(i(q),x(S(r)),{default:g(()=>[m(e.$slots,"default")]),_:3},16))}});export{Z as G,W as O};

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.