PageSourceSearch

https://staybright.ai/_nuxt/CXUQ7Lq8.js

js staybright.ai collected 2026-10-04 14:30:47 UTC 1,185 bytes, 1 lines download raw bytes

1import{c as t}from"./BEHD0UYf.js";import{S as u,f as p,g as f}from"./DTBO2sEn.js";import{d as m,j as g,g as b,o as h,w as r,e as k,u as e,s as _,h as w,m as v}from"./BbWie7Ce.js";const x=m({__name:"Switch",props:{defaultChecked:{type:Boolean},checked:{type:Boolean},disabled:{type:Boolean},required:{type:Boolean},name:{},id:{},value:{},asChild:{type:Boolean},as:{},class:{}},emits:["update:checked"],setup(n,{emit:c}){const s=n,i=c,l=g(()=>{const{class:a,...o}=s;return o}),d=u(l,i);return(a,o)=>(h(),b(e(f),v(e(d),{class:e(t)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",s.class)}),{default:r(()=>[k(e(p),{class:_(e(t)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5"))},{default:r(()=>[w(a.$slots,"thumb")]),_:3},8,["class"])]),_:3},16,["class"]))}});export{x as _};

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.