PageSourceSearch

https://historyexplorer.com/_nuxt/D7AVsDjo.js

js historyexplorer.com collected 2026-10-02 21:46:27 UTC 3,962 bytes, 1 lines download raw bytes

1import{At as e,Ct as t,F as n,Ht as r,It as i,J as a,M as o,Nt as s,Q as c,U as l,X as u,Y as d,Z as f,bt as p,gn as m,it as h,lt as g,nt as _,qt as v,tn as y,tt as b,vt as x,xn as S}from"./D8h7U3se.js";import{t as C}from"#entry";import{t as w}from"./Feliq3_M.js";import{t as T}from"./DYed0DOv.js";import{r as E,t as D}from"./EDAiwtq6.js";import{l as O}from"./ClYY36Mh.js";i(),g(),o(),y();var k={class:`ts-expandable`},A=[`aria-expanded`],j=Object.assign(C(h({__name:`TsExpandableText`,props:{text:{},collapsedLines:{default:8}},setup(t){n(e=>({v5f8d7dbb:e.collapsedLines}));let i=t,a=r(!1),o=r(!1),s=r(null),l=()=>{if(!s.value||a.value)return;let{scrollHeight:e,clientHeight:t}=s.value;o.value=e>t+1};return x(l),e(()=>i.text,l,{flush:`post`}),E(s,l),(e,n)=>{let r=w;return p(),c(`div`,k,[d(`p`,{ref_key:`content`,ref:s,class:m([`ts-expandable__text`,{"ts-expandable__text--collapsed":!v(a)}])},S(t.text),3),v(o)?(p(),c(`button`,{key:0,type:`button`,class:`ts-expandable__toggle`,"aria-expanded":v(a),onClick:n[0]||=e=>a.value=!v(a)},[_(r,{name:v(a)?`bi:chevron-up`:`bi:chevron-down`,size:`18`},null,8,[`name`]),b(` `+S(v(a)?`Show less`:`Read more`),1)],8,A)):f(``,!0)])}}}),[[`__scopeId`,`data-v-2ff3f15f`]]),{__name:`TsExpandableText`});i(),g(),y();var M={key:0,class:`ts-gallery`},N=[`aria-label`,`onClick`],P={class:`ts-gallery__lightbox`},F={key:3,class:`ts-gallery__counter`},I=Object.assign(C(h({__name:`TsGallery`,props:{images:{},alt:{}},setup(e){let n=e,i=r(null),o=a(()=>i.value!==null),m=a(()=>i.value===null?null:n.images[i.value]),h=e=>{if(i.value===null)return;let t=n.images.length;i.value=(i.value+e+t)%t};return D(`ArrowLeft`,()=>o.value&&h(-1)),D(`ArrowRight`,()=>o.value&&h(1)),(n,r)=>{let a=T,g=w,y=O;return e.images.length?(p(),c(`div`,M,[(p(!0),c(l,null,t(e.images,(t,n)=>(p(),c(`button`,{key:t,type:`button`,class:`ts-gallery__item`,"aria-label":`Open photo ${n+1} of ${e.images.length}`,onClick:e=>i.value=n},[_(a,{src:t,alt:e.alt,width:`240`,height:`160`,fit:`cover`,format:`webp`,loading:`lazy`},null,8,[`src`,`alt`])],8,N))),128)),_(y,{open:v(o),label:e.alt,onClose:r[2]||=e=>i.value=null},{default:s(()=>[d(`div`,P,[e.images.length>1?(p(),c(`button`,{key:0,type:`button`,class:`ts-gallery__nav ts-gallery__nav--prev`,"aria-label":`Previous photo`,onClick:r[0]||=e=>h(-1)},[_(g,{name:`bi:chevron-left`,size:`28`})])):f(``,!0),v(m)?(p(),u(a,{key:1,src:v(m),alt:e.alt,width:`1600`,format:`webp`},null,8,[`src`,`alt`])):f(``,!0),e.images.length>1?(p(),c(`button`,{key:2,type:`button`,class:`ts-gallery__nav ts-gallery__nav--next`,"aria-label":`Next photo`,onClick:r[1]||=e=>h(1)},[_(g,{name:`bi:chevron-right`,size:`28`})])):f(``,!0),e.images.length>1?(p(),c(`p`,F,S((v(i)??0)+1)+` / `+S(e.images.length),1)):f(``,!0)])]),_:1},8,[`open`,`label`])])):f(``,!0)}}}),[[`__scopeId`,`data-v-6d30c098`]]),{__name:`TsGallery`});g(),y(),i();var L={class:`ts-written-review`},R={class:`ts-written-review__author`},z={class:`ts-written-review__meta`},B={class:`ts-written-review__name`},V={key:0,class:`ts-written-review__location`},H=Object.assign(C(h({__name:`TsWrittenReview`,props:{review:{}},setup(e){let t=e,n=a(()=>(t.review.gallery??[]).map(e=>e.directus_files_id).filter(Boolean));return(t,r)=>{let i=T,a=w,o=j,s=I;return p(),c(`article`,L,[d(`header`,R,[e.review.avatar?(p(),u(i,{key:0,class:`ts-written-review__avatar`,src:e.review.avatar,alt:e.review.name,width:`90`,height:`90`,fit:`cover`,format:`webp`,loading:`lazy`},null,8,[`src`,`alt`])):(p(),u(a,{key:1,class:`ts-written-review__avatar ts-written-review__avatar--placeholder`,name:`bi:person-fill`,size:`90`})),d(`div`,z,[d(`p`,B,S(e.review.name),1),e.review.location?(p(),c(`p`,V,S(e.review.location),1)):f(``,!0)])]),_(o,{text:e.review.comment},null,8,[`text`]),v(n).length?(p(),u(s,{key:0,images:v(n),alt:`Photos from the tour shared by ${e.review.name}`},null,8,[`images`,`alt`])):f(``,!0)])}}}),[[`__scopeId`,`data-v-ca011b52`]]),{__name:`TsWrittenReview`});export{H as t};

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.