PageSourceSearch

https://isic.fr/_nuxt/D-fTV-R0.js

js isic.fr collected 2026-09-24 12:06:45 UTC 934 bytes, 1 lines download raw bytes

1import{e as r,i as u,c,a as t,x as s,g as p,v as m,a0 as f,o as b}from"./BwpL3H6q.js";const _={class:"inline-flex gap-2 items-center w-fit"},y=["disabled"],g={class:"text-sm font-bold text-wrap leading-4"},w=r({__name:"switch",props:{modelValue:{type:Boolean},altStyle:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:o}){const n=o,e=a,d=u(()=>e.altStyle?e.modelValue?"bg-valid-300":"bg-slate-400":"bg-slate-700");return(i,l)=>(b(),c("div",_,[t("button",{onClick:l[0]||(l[0]=m(x=>!e.disabled&&n("update:modelValue",!e.modelValue),["prevent"])),class:s(["rounded-lg bg-slate-200 px-2 w-14 h-8 inline-flex items-center transition",[e.modelValue?"justify-end":"justify-start",e.disabled?"cursor-not-allowed opacity-50":""]]),disabled:e.disabled},[t("span",{class:s(["rounded-full size-5 inline-block",p(d)])},null,2)],10,y),t("span",g,[f(i.$slots,"default")])]))}});export{w 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.