PageSourceSearch

https://calckeymusic.social/assets/pages-BaPNO1S3.js

js calckeymusic.social collected 2026-10-07 16:10:46 UTC 2,901 bytes, 1 lines download raw bytes

1import{a as R,V as T,S as _}from"./virtual-DneFW2x3.js";import{M as k}from"./MkPagePreview-Dirrlh-7.js";import{M as h}from"./MkPagination-CAPpZebZ.js";import{aM as A,c as d,a as u,aU as K,d as x,A as L,M as U,_ as q}from"./app-CCl49sF4.js";import{d as z,a as E,w as F,c as v,o as G,B as y,f as t,g as l,h as e,k as r,y as a,t as p,q as w,H as M,G as b,u as J,J as W,K as Q}from"./vue-tSx3lnP8.js";import"./info-DLbPkRH3.js";const X={class:"rknalgpo"},Y={class:"rknalgpo liked"},Z={class:"rknalgpo my"},ee={class:"buttoncontainer"},te=z({__name:"pages",setup(ae){const P=A(),c=E("featured"),g=["featured","liked","my"];F(c,()=>f(g.indexOf(c.value)));const C={endpoint:"pages/featured",limit:10},V={endpoint:"i/page-likes",limit:10},B={endpoint:"i/pages",limit:10};function S(){P.push("/pages/new")}const N=v(()=>[{icon:`${d("ph-plus")}`,text:u.ts.create,handler:S}]),$=v(()=>[{key:"featured",title:u.ts._pages.featured,icon:`${d("ph-fire-simple")}`},{key:"liked",title:u.ts._pages.liked,icon:`${d("ph-heart")}`},{key:"my",title:u.ts._pages.my,icon:`${d("ph-crown-simple")}`}]);K(v(()=>({title:u.ts.pages,icon:`${d("ph-file-text ph-dir")}`})));let m=null;function O(o){m=o,f(g.indexOf(c.value));const i=getComputedStyle(o.el);o.changeLanguageDirection(i.direction),i["writing-mode"].startsWith("vertical")&&o.changeDirection("vertical")}function D(){c.value=g[m.activeIndex]}function f(o){m.slideTo(o)}return G(()=>{f(g.indexOf(m.activeIndex))}),(o,i)=>{const j=y("MkPageHeader"),H=y("MkSpacer"),I=y("MkStickyContainer");return t(),l(I,null,{header:e(()=>[r(j,{tab:c.value,"onUpdate:tab":i[0]||(i[0]=n=>c.value=n),actions:N.value,tabs:$.value},null,8,["tab","actions","tabs"])]),default:e(()=>[r(H,{"content-max":700},{default:e(()=>[r(a(R),{"round-lengths":!0,"touch-angle":25,threshold:10,"centered-slides":!0,modules:[a(T)],"space-between":20,virtual:!0,"allow-touch-move":a(x).state.swipeOnMobile&&(a(L)!=="desktop"||a(x).state.swipeOnDesktop),onSwiper:O,onSlideChange:D},{default:e(()=>[(t(),l(a(_),{key:0},{default:e(()=>[p("div",X,[r(h,{pagination:C},{default:e(({items:n})=>[(t(!0),w(b,null,M(n,s=>(t(),l(k,{key:s.id,class:"ckltabjg",page:s},null,8,["page"]))),128))]),_:1})])]),_:1})),(t(),l(a(_),{key:1},{default:e(()=>[p("div",Y,[r(h,{pagination:V},{default:e(({items:n})=>[(t(!0),w(b,null,M(n,s=>(t(),l(k,{key:s.page.id,class:"ckltabjg",page:s.page},null,8,["page"]))),128))]),_:1})])]),_:1})),(t(),l(a(_),{key:2},{default:e(()=>[p("div",Z,[p("div",ee,[r(U,{class:"new primary",onClick:i[1]||(i[1]=n=>S())},{default:e(()=>[p("i",{class:J(a(d)("ph-plus"))},null,2),W(" "+Q(a(u).ts._pages.newPage),1)]),_:1})]),r(h,{pagination:B},{default:e(({items:n})=>[(t(!0),w(b,null,M(n,s=>(t(),l(k,{key:s.id,class:"ckltabjg",page:s},null,8,["page"]))),128))]),_:1})])]),_:1}))]),_:1},8,["modules","allow-touch-move"])]),_:1})]),_:1})}}}),ce=q(te,[["__scopeId","data-v-b144a324"]]);export{ce 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.