PageSourceSearch

https://readshark.com/_nuxt/ClMuUcKo.js

js readshark.com collected 2026-10-04 23:20:43 UTC 2,355 bytes, 1 lines download raw bytes

1import{d as Y,o as a,a as l,F as c,a2 as u,g as v,n as y,b,r as x,w as N,k as t,_ as z}from"./CNB_PrB2.js";import{b as A}from"./zc4jajfm.js";import"./CfpK_-GB.js";import"./45iaEE0C.js";import"./DUHz7PzY.js";import"./CHp6OlW2.js";import"./CnCX04Bg.js";import"./DcuSmGIr.js";import"./CMsKDPNV.js";import"./Dt2GHrS1.js";import"./Stjfq0Lv.js";import"./CtWdB5h5.js";import"./CjKu3G7G.js";const F=["onClick"],G=["data-count"],g=33,_=8,w=6,P=Y({__name:"ColumnsSwitcher",props:{modelValue:{},options:{},alwaysVisible:{type:Boolean},offsetY:{},offsetX:{},anchor:{}},emits:["update:modelValue","changeEnd"],setup(p,{emit:V}){const o=p,d=V,n=t(()=>o.options??[1,2,3,4]),h=t(()=>o.alwaysVisible===!0),r=t(()=>typeof o.offsetY=="number"?o.offsetY:-10),i=t(()=>typeof o.offsetX=="number"?o.offsetX:0),k=t(()=>o.anchor==="top-left"?"anchor-top-left":"anchor-top-right"),C=t(()=>{const e=Math.max(0,n.value.findIndex(s=>s===o.modelValue));return{transform:`translateX(${w+e*(g+_)}px)`}}),$=t(()=>{const e={top:`${r.value}px`};return o.anchor==="top-left"?e.left=`${i.value}px`:e.right=`${i.value}px`,e}),S=t(()=>e=>({1:"first-child",2:"second-child",3:"third-child",4:"fourth-child"})[e]||"");function X(e){d("update:modelValue",e),d("changeEnd",e)}const B=t(()=>r.value<0&&!h.value),I=t(()=>w*2+g*n.value.length+_*Math.max(0,n.value.length-1)),M=t(()=>({top:`${r.value}px`,width:`${I.value}px`,height:`${Math.abs(r.value)}px`,right:o.anchor==="top-right"?`${i.value}px`:"auto",left:o.anchor==="top-left"?`${i.value}px`:"auto"})),D=A(),m=t(()=>D.value>=1024);return(e,E)=>(a(),l(c,null,[m.value&&B.value?(a(),l("div",{key:0,class:"hover-bridge",style:u(M.value),"aria-hidden":"true"},null,4)):v("",!0),m.value?(a(),l("div",{key:1,class:y(["columns-switcher-overlay",[k.value,{visible:h.value}]]),style:u($.value),role:"group","aria-label":"Columns switcher"},[b("div",{class:"switcher-indicator",style:u(C.value),"aria-hidden":"true"},null,4),(a(!0),l(c,null,x(n.value,s=>(a(),l("button",{key:"cols-"+s,class:y(["switcher-item",[{active:s===p.modelValue},S.value(s)]]),type:"button",onClick:N(f=>X(s),["stop","prevent"])},[b("span",{class:"cols-icon","data-count":s,"data-controls-section":"none"},[(a(!0),l(c,null,x(s,f=>(a(),l("i",{key:f,class:"bar"}))),128))],8,G)],10,F))),128))],6)):v("",!0)],64))}}),ee=z(P,[["__scopeId","data-v-1b59a284"]]);export{ee 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.