PageSourceSearch

https://lttt.life/_nuxt/4KXv_53Y.js

js lttt.life collected 2026-10-04 08:56:59 UTC 2,237 bytes, 1 lines download raw bytes

1import{n as e}from"./hePW80VL.js";import{At as t,F as n,_ as r,at as i,d as a,f as o,l as s,o as c,p as l,pt as u,q as d,u as f,z as p}from"./Yy4BraKF.js";import{t as m}from"./BRauu-Cr.js";import{t as h}from"./LT-aINKq.js";import{t as g}from"./BDNMzG2s.js";var _=e({default:()=>x}),v=[`data-side`],y=[`id`,`aria-label`,`aria-labelledby`,`data-side`],b={class:`drawer-body flex flex-col flex-1 min-h-0`},x=g({__name:`Drawer`,props:{open:{type:Boolean,default:!1},label:{type:String,default:`Dialog`},labelledBy:{type:String,default:null},side:{type:String,default:`left`,validator:e=>[`left`,`right`,`top`,`bottom`].includes(e)},id:{type:String,default:null},panelClass:{type:String,default:``},backdrop:{type:Boolean,default:!0}},emits:[`close`,`opened`,`closed`],setup(e,{emit:g}){let _=e,x=g,S=i(null),C=s(()=>_.open),w=s(()=>{switch(_.side){case`right`:return`inset-y-0 right-0 h-screen`;case`top`:return`inset-x-0 top-0 w-screen`;case`bottom`:return`inset-x-0 bottom-0 w-screen`;default:return`inset-y-0 left-0 h-screen`}}),T=s(()=>[`drawer-panel fixed z-50 flex flex-col gap-4 p-4 bg-white border-current overflow-y-auto outline-none`,w.value,_.panelClass]);h({open:C,onClose:()=>{_.open&&x(`close`)},dialogRef:S});function E(){x(`close`)}function D(){x(`opened`)}function O(){x(`closed`)}return(i,s)=>(n(),a(c,{to:`body`},[r(m,{name:`drawer-${e.side}`,duration:{enter:350,leave:250},onAfterEnter:D,onAfterLeave:O},{default:d(()=>[e.open?(n(),l(`div`,{key:0,class:`drawer-root relative z-50`,"data-side":e.side},[e.backdrop?(n(),l(`div`,{key:0,class:`drawer-backdrop fixed inset-0 z-40 cursor-pointer bg-black/20`,"aria-hidden":`true`,onClick:E})):o(``,!0),f(`div`,{id:e.id||void 0,ref_key:`panel`,ref:S,role:`dialog`,"aria-modal":`true`,"aria-label":e.labelledBy?void 0:e.label,"aria-labelledby":e.labelledBy||void 0,tabindex:`-1`,class:t(u(T)),"data-side":e.side},[f(`button`,{type:`button`,class:`drawer-close self-end sticky top-0 z-10 cursor-pointer bg-transparent border-0 p-0 flex flex-col`,onClick:E},[...s[0]||=[f(`span`,null,`Close`,-1),f(`span`,null,`閉じる`,-1)]]),f(`div`,b,[p(i.$slots,`default`,{},void 0,!0)])],10,y)],8,v)):o(``,!0)]),_:3},8,[`name`])]))}},[[`__scopeId`,`data-v-7a3b5b67`]]);export{_ as n,x as t};

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.