PageSourceSearch

https://turkjorthod.org/_nuxt/BIKTLFKN.js

js turkjorthod.org collected 2026-09-25 06:51:27 UTC 9,862 bytes, 1 lines download raw bytes

1import{s as N,c as A,b as Y,m as J,_ as z,n as ee,y as te,h as V,v as se,o as oe,w as ne,P as H,z as ae}from"./9JYzwI1J.js";import{_ as re}from"./Kg3baYXJ.js";import{_ as O}from"./WFAqPvgT.js";import{d as M,a as E,m as C,c as I,o as d,f as a,t as y,k as i,j,u as e,w as x,l as U,i as P,b as K,S as le,J as ie,N as ce,P as ue,F as de,q as pe,K as _e,n as Q,v as ve}from"./BC1fSk-i.js";import{u as G}from"./tew4WMd_.js";import{u as X,_ as me}from"./DXRTD1dx.js";import{_ as Z}from"./DlAUqK2U.js";import{u as fe}from"./DXqUtDiP.js";import"./XMkg9UG9.js";const he={class:"volumeinfo"},ge={class:"head"},ye={class:"image-wrapper"},$e={class:"image-container group"},be={key:0,class:"hover-item group-hover:opacity-100 duration-500"},we={class:"foot relative"},xe={class:"px-2"},ke={class:"text-gray-600 font-semibold"},Ie={key:0},Se={key:1},Te=M({__name:"VolumeInfo",setup(L){const{currentIssue:t}=N(G()),{journalId:l,currentIssueId:g}=N(A()),{hideIssueMonth:v}=N(A()),$=E(!1),m=E(window==null?void 0:window.location.origin),p=C(()=>$.value?"auto":"issue"),o=C(()=>{var h,w;if($.value||!((h=g.value)==null?void 0:h.split("-")))return"no-issue.jpg";if((w=t.value)!=null&&w.coverImage){let _=t.value.coverImage;return _.includes("/")&&(_=_.split("/").pop()||_),_.endsWith(".jpg")||(_=`${_}.jpg`),_}return`${g.value}.jpg`}),c=()=>{$.value=!0},{locale:s}=Y(),n=C(()=>{var r,h,w,_,S,T,k;if((r=t.value)!=null&&r.pdf&&((h=t.value)!=null&&h.pdf[s.value])){if((w=t.value)!=null&&w.pdf[s.value].includes("/")){const f=(_=t.value)==null?void 0:_.pdf[s.value].split("/").pop();return f!=null&&f.endsWith(".pdf")?`/pdf/${l.value}/issues/${f}`:`/pdf/${l.value}/issues/${f}.pdf`}return(S=t.value)!=null&&S.pdf[s.value].endsWith(".pdf")?`/pdf/${l.value}/issues/${(T=t.value)==null?void 0:T.pdf[s.value]}`:`/pdf/${l.value}/issues/${(k=t.value)==null?void 0:k.pdf[s.value]}.pdf`}}),u=C(()=>{var r,h,w,_,S,T,k;if((r=t.value)!=null&&r.coverPdf&&((h=t.value)!=null&&h.coverPdf[s.value])){if((w=t.value)!=null&&w.coverPdf[s.value].includes("/")){const f=(_=t.value)==null?void 0:_.coverPdf[s.value].split("/").pop();return f!=null&&f.endsWith(".pdf")?`/pdf/${l.value}/issues/${f}`:`/pdf/${l.value}/issues/${f}.pdf`}return(S=t.value)!=null&&S.coverPdf[s.value].endsWith(".pdf")?`/pdf/${l.value}/issues/${(T=t.value)==null?void 0:T.coverPdf[s.value]}`:`/pdf/${l.value}/issues/${(k=t.value)==null?void 0:k.coverPdf[s.value]}.pdf`}}),b=C(()=>{var r,h;return((r=t.value)==null?void 0:r.updatedAt)||((h=t.value)==null?void 0:h.id)||g.value||""});return(r,h)=>{var k,f,B,W,D,R,q,F;const w=J,_=z,S=re,T=O;return d(),I("div",he,[a("div",ge,y(r.$t("currentIssue")),1),a("div",ye,[a("div",$e,[i(w,{type:e(p),path:e(o),"cache-buster":e(b),alt:"Current Issue Cover","fallback-text":"No cover available",onError:c},null,8,["type","path","cache-buster"]),e(n)||e(u)?(d(),I("div",be,[i(_,{to:`${e(n)||e(u)}${e(b)?`?v=${e(b)}`:""}`,target:"_blank"},{default:x(()=>[U(y(e(n)?r.$t("downloadIssue"):r.$t("downloadCoverPdf")),1)]),_:1},8,["to"])])):j("",!0)])]),a("div",we,[a("div",xe,[a("div",ke,[a("span",null,y(r.$t("volume"))+" "+y((k=e(t))==null?void 0:k.volume)+", ",1),a("span",null,y((f=e(t))!=null&&f.issueType&&((B=e(t))==null?void 0:B.issueType)!="issue"?r.$t((W=e(t))==null?void 0:W.issueType):r.$t("issue"))+" "+y((D=e(t))==null?void 0:D.issueNumber),1)]),e(v)?(d(),I("div",Se,y((F=e(t))==null?void 0:F.year),1)):(d(),I("div",Ie,y(("monthText"in r?r.monthText:e(ee))((R=e(t))==null?void 0:R.year,(q=e(t))==null?void 0:q.month)),1))]),i(T,null,{default:x(()=>[e(n)||e(u)?(d(),P(S,{key:0,value:`${e(m)}${e(n)||e(u)}${e(b)?`?v=${e(b)}`:""}`,height:50,class:"rounded-ee-xl"},null,8,["value"])):j("",!0)]),_:1})])])}}}),Pe={class:"swiper-item"},Ce={class:"prev left-0 absolute z-20 top-0 bottom-0 w-12 text-gray-400 hover:text-cyan-700"},je={class:"next right-0 absolute z-20 top-0 bottom-0 w-12 text-gray-400 hover:text-cyan-700"},Le=M({__name:"Slider",async setup(L){const t=te(),{setUrl:l}=X(),{slides:g}=N(t);return K(async()=>{(!g.value||g.value.length===0)&&await t.fetchSlides()}),(v,$)=>{const m=J,p=z,o=_e,c=V,s=le,n=O;return d(),P(n,null,{default:x(()=>
1[i(s,{modules:["SwiperAutoplay"in v?v.SwiperAutoplay:e(ie),"SwiperNavigation"in v?v.SwiperNavigation:e(ce),"SwiperPagination"in v?v.SwiperPagination:e(ue)],"slides-per-view":1,loop:!0,class:"rounded-xl shadow-lg",pagination:!0,navigation:{nextEl:".next",prevEl:".prev"},autoplay:{delay:5e3,disableOnInteraction:!1},"grab-cursor":!0,"watch-overflow":!0},{default:x(()=>[(d(!0),I(de,null,pe(e(g),(u,b)=>(d(),P(o,{key:b},{default:x(()=>{var r;return[a("div",Pe,[u.link?(d(),P(p,{key:0,to:e(l)(u.link),target:(r=u.link)==null?void 0:r.target},{default:x(()=>[i(m,{path:u.src,"cache-buster":Date.now(),"image-class":"object-cover w-full max-h-[400px]","show-fallback":!1},null,8,["path","cache-buster"])]),_:2},1032,["to","target"])):(d(),P(m,{key:1,path:u.src,"cache-buster":Date.now(),"image-class":"object-cover w-full max-h-[400px]","show-fallback":!1},null,8,["path","cache-buster"]))])]}),_:2},1024))),128)),a("button",Ce,[i(c,{name:"material-symbols:arrow-back-ios-rounded",class:"text-2xl"})]),a("button",je,[i(c,{name:"material-symbols:arrow-forward-ios-rounded",class:"text-2xl"})])]),_:1},8,["modules"])]),_:1})}}}),Ne={},Be={class:"flex items-stretch justify-stretch gap-6"},Ee={class:"md:w-1/4 w-full"},Me={class:"w-3/4 hidden md:block"};function Ue(L,t){const l=Te,g=Le;return d(),I("div",Be,[a("div",Ee,[i(l)]),a("div",Me,[i(g)])])}const Ae=Z(Ne,[["render",Ue]]),Ve={class:"text-center text-gray-400"},ze={class:"text-xs font-semibold"},Oe={class:"text-center text-gray-400"},We={class:"text-xs font-semibold"},De=M({__name:"MobileBottomMenu",setup(L){const t=E(!0);let l=300;const{setUrl:g}=X();K(()=>{window.addEventListener("scroll",()=>{const o=window.scrollY||document.documentElement.scrollTop;o>l?t.value=!1:t.value=!0,l=o<=300?300:o})});const{sidebar:v}=N(se()),$=o=>{var c;return o?{...o,to:o.linkItem?g(o.linkItem):o.url,target:((c=o.linkItem)==null?void 0:c.target)??o.target}:null},m=C(()=>{var o,c,s,n,u;return $((u=(n=(s=(c=(o=v.value)==null?void 0:o.cornerItems)==null?void 0:c.items)==null?void 0:s[0])==null?void 0:n.submenu)==null?void 0:u[0])}),p=C(()=>{var o,c,s,n,u;return $((u=(n=(s=(c=(o=v.value)==null?void 0:o.cornerItems)==null?void 0:c.items)==null?void 0:s[1])==null?void 0:n.submenu)==null?void 0:u[0])});return(o,c)=>{const s=V,n=oe;return d(),I("div",{class:Q(["sm:hidden fixed bottom-0 left-0 right-0 bg-gray-200  shadow-lg flex justify-evenly items-center transition-transform duration-300 rounded-t-xl z-50",e(t)?"translate-y-0":"translate-y-full"])},[e(m)?(d(),P(n,{key:0,to:e(m).to,target:e(m).target,class:"bg-gray-100 flex-1 py-2 px-4 rounded-tl-xl hover:bg-gray-200"},{default:x(()=>[a("div",Ve,[e(m).icon?(d(),P(s,{key:0,name:e(m).icon,class:"text-sm"},null,8,["name"])):j("",!0),a("div",ze,y(e(m).title),1)])]),_:1},8,["to","target"])):j("",!0),c[0]||(c[0]=a("div",{class:"w-0.5 h-8"},null,-1)),e(p)?(d(),P(n,{key:1,to:e(p).to,target:e(p).target,class:"bg-gray-100 flex-1 py-2 px-4 rounded-tr-xl hover:bg-gray-200"},{default:x(()=>[a("div",Oe,[e(p).icon?(d(),P(s,{key:0,name:e(p).icon,class:"text-sm"},null,8,["name"])):j("",!0),a("div",We,y(e(p).title),1)])]),_:1},8,["to","target"])):j("",!0)],2)}}}),Re=Z(De,[["__scopeId","data-v-55c446a9"]]),qe=M({__name:"ScrollToTop",props:{top:Number},setup(L){const t=L,l=E(),g=()=>{window.scrollTo({top:t.top??0,behavior:"smooth"})},v=()=>{var m,p,o,c,s,n,u,b;window.scrollY>=800?((p=(m=l.value)==null?void 0:m.classList)==null||p.add("visible"),(c=(o=l.value)==null?void 0:o.classList)==null||c.remove("invisible")):((n=(s=l.value)==null?void 0:s.classList)==null||n.add("invisible"),(b=(u=l.value)==null?void 0:u.classList)==null||b.remove("visible"))};return window.addEventListener("scroll",v),($,m)=>{const p=V;return d(),I("div",{ref_key:"scrollTopButton",ref:l,class:"invisible sticky flex w-full justify-end bottom-5 duration-500 items-center transition-all"},[a("button",{onClick:g,class:"rounded-full w-8 h-8 transition bg-black hover:bg-primary-800 opacity-25 flex items-center justify-center"},[i(p,{name:"fa6-solid:arrow-up",class:"text-lg text-white"})])],512)}}}),Fe={class:"min-h-screen"},He={class:"bg-primary-800 py-7"},Ye={class:"container p-4"},Je={class:"flex-1",ref:"contentStart"},Ke={class:"container flex py-7 px-4 gap-8"},Qe={class:"flex-1 w-3/4"},Ge={key:0,class:"home-tabs"},Xe={class:"w-1/4 hidden lg:block overflow-hidden"},it=M({__name:"index",async setup(L){let t,l;const{homeConfig:g}=A(),v=ne(),$=E(),m=G(),{journalId:p,currentIssueId:o}=N(A()),{locale:c}=Y(),{data:s}=([t,l]=ve(()=>fe(`currentissue-${p.value}-${o.value}`,()=>$fetch(`/api/journal-content/${p.value}/issues/${o.value}`,{query:{lang:c.value}}))),t=await t,l(),t);return s.value&&m.setCurrentIssue(s.value),(n,u)=>{var f,B;const b=Ae,r=V,h=z,w=ae,_=Re,S=O,T=qe,k=me;return d(),I("div",Fe,[a("div",He,[a("div",Ye,[i(b)])]),a("div",Je,[a("div",Ke,[a("div",Qe,[a("div",{class:"min-h-screen",ref_key:"topto",ref:$},[((f=e(g))==null?void 0:f.showTabs)??!0?(d(),I("div",Ge,[i(h,{to:e(v)("index"),"exact-active-class":"active"},{default:x(()=>[i(r,{name:"heroicons:newspaper-solid"}),U(" "+y(n.$t("currentIssue")),1)]),_:1},8,["to"]),i(h,{to:e(v)("/ahead-of-print"),"exact-active-class":"active"},{default:x(()=>[i(r,{name:"iconoir:journal-page"}),U(" "+y(n.$t("aheadOfPrint")),1)]),_:1},8,["to"]),i(h,{to:e(v)("/archive"),"exact-active-class":"active"},{default:x(()=>[i(r,{name:"ph:archive-fill"}),U(" "+y(n.$t("archives")),1)]),_:1},8,["to"])])):j("",!0),i(w),i(S,null,{default:x(()=>[i(_)]),_:1}),i(T,{top:(((B=e($))==null?void 0:B.offsetTop)??0)-10,class:Q({hidden:(n._.provides[H]||n.$route).path=="/archive"||(n._.provides[H]||n.$route).path=="/tr/arsiv"})},null,8,["top","class"])],512)]),a("div",Xe,[i(k)])])],512)])}}});
1export{it 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.