PageSourceSearch

https://archaeolog.ru/_nuxt/Cb2SdXnR.js

js archaeolog.ru collected 2026-10-02 04:47:16 UTC 3,771 bytes, 1 lines download raw bytes

1import{l as O,_ as U,U as Q,j,h as q,p as z,k as F}from"./BuECa_23.js";import{k as M,b as R,G as W,L as i,M as d,$ as T,u as e,a5 as k,P as N,a8 as Y,a9 as Z,U as B,Z as v,_ as D,a3 as E,R as I,a0 as H,l as L,T as $,a6 as J}from"./DR3LjU1Z.js";import{A as K}from"./ByMXN55k.js";import{a as X}from"./BNELU3II.js";const ee={class:"mobile-left-side-drop"},oe=["onClick"],te=M({__name:"MobileLeftSideBar",props:{isAnchors:{type:Boolean},activeLink:{},items:{},code:{},path:{}},emits:["goTo"],setup(g,{emit:w}){const b=w,c=g,o=R(!1),r=R({name:"Разделы",link:"",code:""});W(()=>{(c.code||c.path)&&(r.value=c.items.find(l=>l.code===c.code||l.link===c.path)||{name:"Разделы",link:"",code:""})});const s=l=>{r.value=l,b("goTo",l.link),o.value=!1};return(l,_)=>{const h=O;return l.items&&l.items.length?(i(),d("div",{key:0,class:v(["mobile-left-side-bar",{__opened:e(o)}])},[T("div",{class:"mobile-left-side-value",onClick:_[0]||(_[0]=n=>o.value=!e(o))},[(i(),d("div",{class:"mobile-left-side__name",key:e(r)?e(r).name:"1"},k(e(r)?e(r).name:""),1)),N(e(K),{width:"12",height:"7"})]),Y(T("div",ee,[N(h,{tag:"aside",options:{wheelPropagation:!1}},{default:B(()=>[(i(!0),d(E,null,I(c.items,(n,S)=>(i(),d("div",{key:S,class:v(["mobile-left-sidebar__link",{__active:n.link===`#${c.activeLink}`||n.code===c.code||n.link===c.path}]),onClick:H(y=>s(n),["prevent"])},k(n.name),11,oe))),128))]),_:1})],512),[[Z,e(o)]])],2)):D("",!0)}}}),se=U(te,[["__scopeId","data-v-9b7b2fa9"]]),ne={key:0,class:"left-sidebar"},ae={class:"left-sidebar__list"},ce=["href"],ie=M({__name:"LeftSideBar",props:{isAnchors:{type:Boolean},activeLink:{},forSections:{type:Boolean},items:{}},emits:["changeActiveLink"],setup(g,{emit:w}){var C,x,A,P;const b=Q(),c=j(),o=q(),r=w,s=g,l=L(()=>b.isSmallScreen),_=typeof o.params.code=="string"?o.params.code:((x=(C=o.params)==null?void 0:C.code)==null?void 0:x.length)>0?o.params.code[0]:"",h=typeof o.params.code=="string"?o.params.code:((P=(A=o.params)==null?void 0:A.code)==null?void 0:P.length)>1?o.params.code[1]:"",n=L(()=>{if(o.fullPath.includes("page")){const a=new URL(o.fullPath,window.location.origin),m={};a.searchParams.forEach((p,u)=>{u!=="page"&&(m[u]=decodeURIComponent(p))});const f=new URLSearchParams(m);return`${a.pathname}?${f}`}else return o.fullPath});L(()=>s.forSections?n.includes(item.link):!1);const S=(a,m,f)=>{const p=document.querySelector(a);if(p){const u=p.getBoundingClientRect().top+pageYOffset-f;X({targets:window.document.scrollingElement||window.document.body||window.document.documentElement,scrollTop:u,duration:m,easing:"easeInOutQuad"})}else return!1},y=async a=>{s.isAnchors?r("changeActiveLink",a):a.includes("http")?window.open(a,"_blank"):(await c.push(a),a.includes("#")||setTimeout(()=>{S(".left-menu-page",300,0)},200))},V=a=>a.startsWith("/3d/vtours/");return(a,m)=>{var u;const f=F,p=z;return(u=s.items)!=null&&u.length?(i(),d("nav",ne,[e(l)?(i(),$(se,{key:0,items:s.items,code:e(_),path:e(n),"is-anchors":s.isAnchors,"active-link":s.activeLink,onGoTo:y},null,8,["items","code","path","is-anchors","active-link"])):(i(),$(p,{key:1},{default:B(()=>[T("ul",ae,[(i(!0),d(E,null,I(s.items,(t,G)=>(i(),d("li",{key:G,class:"left-sidebar__item"},[V(t.link)?(i(),d("a",{key:0,href:t.link,class:v(["left-sidebar__link",{__active:t.link===`#${s.activeLink}`||t.code&&t.code===e(_)&&!e(h)||t.link===e(n)||s.forSections&&e(n).includes(t.link)}])},k(t.name),11,ce)):(i(),$(f,{key:1,class:v(["left-sidebar__link",{__active:t.link===`#${s.activeLink}`||t.code&&t.code===e(_)&&!e(h)||t.link===e(n)||s.forSections&&e(n).includes(t.link)}]),onClick:le=>y(t.link)},{default:B(()=>[J(k(t.name),1)]),_:2},1032,["class","onClick"]))]))),128))])]),_:1}))])):D("",!0)}}}),pe=U(ie,[["__scopeId","data-v-003e6639"]]);export{pe as L};

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.