PageSourceSearch

https://turkjanaesthesiolreanim.org/_nuxt/C50LTWkI.js

js turkjanaesthesiolreanim.org collected 2026-09-25 02:39:42 UTC 42,282 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BITrvVhX.js","./9JYzwI1J.js","./BC1fSk-i.js","./swiper-vue.D4uxgglP.css","./Index.DANIogMp.css"])))=>i.map(i=>d[i]);
2import{_ as Je}from"./Kg3baYXJ.js";import{_ as zt}from"./WFAqPvgT.js";import{h as Ot,s as H,q as G,_ as wt,D as Ct,u as Qe,c as Vt,E as Ze,F as tn,n as en,t as nn,b as ye,G as on,H as sn,p as rn,l as ln,e as an,f as cn,I as un,o as dn,J as fn,g as mn}from"./9JYzwI1J.js";import{d as N,c as x,o as g,k as $,Z as pn,_ as hn,f as _,t as w,a as I,w as Y,u as a,n as P,x as be,m as U,$ as we,F as z,q as it,l as B,B as qt,i as ot,j as S,E as gn,I as _n,v as $e,b as me,e as vn}from"./BC1fSk-i.js";import{n as yt,_ as xn,a as yn}from"./DsR0EJ2T.js";import{u as ke}from"./DXqUtDiP.js";const bn={class:"text-center text-gray-300 px-3 py-2 rounded bg-black bg-opacity-10 border-0 border-b-0 border-gray-200 min-w-16 hover:bg-opacity-50 hover:text-white cursor-pointer"},wn=N({__name:"ToolButton",props:{iconName:{type:String,required:!0},text:{type:String,required:!0},showText:{type:Boolean,default:!0}},setup(t){return(e,n)=>{const o=Ot;return g(),x("div",bn,[$(o,{name:t.iconName,class:"text-xl mb-2"},null,8,["name"]),pn(_("div",{class:"text-xs"},w(t.text),513),[[hn,t.showText]])])}}}),$n={class:"flex items-end gap-1"},Ae=N({__name:"ActionButtons",setup(t){const{pdfUrl:e,articleId:n}=H(G()),o=l=>{l=="cite"&&s(),l=="share"&&Ct().open()},s=()=>{Qe().open()},r=I(window==null?void 0:window.location.origin),i=I(`${r.value}/articles/doi/${n.value}`);return(l,u)=>{const d=Je,p=zt,f=wn,h=wt;return g(),x("div",$n,[$(p,null,{default:Y(()=>[$(d,{value:a(i),height:"65",class:"bg-primary-900 p-2 hidden md:block"},null,8,["value"])]),_:1}),$(h,{to:a(e),target:"_blank"},{default:Y(()=>[$(f,{iconName:"material-symbols:cloud-download-rounded",text:"PDF"})]),_:1},8,["to"]),$(f,{iconName:"bi:chat-left-quote",text:l.$t("cite"),onClick:u[0]||(u[0]=c=>o("cite"))},null,8,["text"]),$(f,{iconName:"material-symbols-light:share",text:l.$t("share"),onClick:u[1]||(u[1]=c=>o("share"))},null,8,["text"]),$(h,{to:"https://www.galenos.com.tr/form-permission",target:"_blank"},{default:Y(()=>[$(f,{iconName:"material-symbols:lock-open-right",text:l.$t("request")},null,8,["text"])]),_:1})])}}}),kn={class:"container article-detail p-4 text-white md:max-h-32 max-h-fit"},An={class:"block md:flex items-center justify-between gap-2"},Tn={class:"lg:text-lg text-ellipsis overflow-hidden text-wrap w-full line-clamp-2"},Dn=["innerHTML"],Cn=N({__name:"Sticky",props:{isSticked:{type:Boolean,required:!0}},setup(t){const{title:e}=H(G());return(n,o)=>{const s=Ae;return g(),x("div",{class:P(["fixed z-10 top-0 w-full transition-all bg-primary-800",t.isSticked?"translate-y-190 shadow-lg":"-translate-y-full"])},[_("div",kn,[_("div",An,[_("div",Tn,[_("span",{innerHTML:a(e)},null,8,Dn)]),$(s,{class:"mt-4 md:mt-0"})])])],2)}}}),Rn={class:"py-3 opacity-85"},Sn={class:"mb-1"},Ln={class:"font-semibold me-1"},On=N({__name:"Affiliations",props:{show:{type:Boolean,required:!0}},setup(t){const e=t,{affiliations:n}=H(G()),o=I(null),s=I("0px");be(()=>e.show,async i=>{await qt(),o.value&&(i?s.value=o.value.scrollHeight+"px":s.value="0px")},{immediate:!0});const r=U(()=>({height:s.value,opacity:e.show?1:0,transform:e.show?"translateY(0)":"translateY(-6px)"}));return(i,l)=>(g(),x("div",{ref_key:"container",ref:o,class:"text-sm overflow-hidden transition-all duration-300 ease-in-out px-6",style:we(r.value)},[_("div",Rn,[(g(!0),x(z,null,it(a(n),(u,d)=>(g(),x("div",{key:d},[_("div",Sn,[_("span",Ln,w(d+1)+".",1),B(" "+w(u),1)])]))),128))])],4))}}),En={class:"py-3 opacity-85"},In=N({__name:"Copyright",props:{show:{type:Boolean,required:!0}},setup(t){return(e,n)=>(g(),x("div",{class:P(["text-sm overflow-hidden transition-all duration-300 ease-in-out -translate-y-6 opacity-0 max-h-0 px-6",{"opacity-100 translate-y-0 max-h-96":t.show}])},[_("div",En,w(e.$t("noInformation"))+".",1)],2))}}),Pn={class:"py-3 opacity-85"},Mn=N({__name:"Disclaimer",props:{show:{type:Boolean,required:!0}},setup(t){return(e,n)=>(g(),x("div",{class:P(["text-sm overflow-hidden transition-all duration-300 ease-in-out -translate-y-6 opacity-0 max-h-0 px-6",{"opacity-100 translate-y-0 max-h-96":t.
2show}])},[_("div",Pn,w(e.$t("noInformation")),1)],2))}}),Bn={class:"text-xs font-normal opacity-75"},Nn={class:"flex"},Fn={key:1,class:"me-5"},Hn={class:"font-semibold"},jn={key:2,class:"me-5"},zn={class:"font-semibold"},Vn={key:3,class:"me-5"},qn={class:"font-semibold"},Wn={key:4,class:"me-5"},Un={class:"font-semibold"},Yn={key:5,class:"me-5"},Xn={class:"font-semibold"},Gn=N({__name:"Dates",setup(t){const{receivedDate:e,acceptedDate:n,onlineDate:o,publishDate:s,epubDate:r}=H(G());return(i,l)=>{const u=Ot;return g(),x("div",Bn,[_("div",Nn,[a(e)||a(n)||a(o)||a(s)||a(r)?(g(),ot(u,{key:0,name:"fa6-solid:calendar-days",class:"me-1"})):S("",!0),a(e)?(g(),x("div",Fn,[B(w(i.$t("receivedDate"))+": ",1),_("span",Hn,w(("normalizeDate"in i?i.normalizeDate:a(yt))(a(e))),1)])):S("",!0),a(n)?(g(),x("div",jn,[B(w(i.$t("acceptedDate"))+": ",1),_("span",zn,w(("normalizeDate"in i?i.normalizeDate:a(yt))(a(n))),1)])):S("",!0),a(o)?(g(),x("div",Vn,[B(w(i.$t("onlineDate"))+": ",1),_("span",qn,w(("normalizeDate"in i?i.normalizeDate:a(yt))(a(o))),1)])):S("",!0),a(s)?(g(),x("div",Wn,[B(w(i.$t("publishDate"))+": ",1),_("span",Un,w(("normalizeDate"in i?i.normalizeDate:a(yt))(a(s))),1)])):S("",!0),a(r)?(g(),x("div",Yn,[B(w(i.$t("epubDate"))+": ",1),_("span",Xn,w(("normalizeDate"in i?i.normalizeDate:a(yt))(a(r))),1)])):S("",!0)])])}}}),Kn={class:"flex items-center gap-2 text-xs mb-1"},Jn={class:"lg:text-md md:text-base text-sm font-light"},Qn={key:0,class:"head-top-info-btns"},Zn={class:"head-top-info-btns"},to={class:"head-top-info-btns"},eo=["innerHTML"],no={class:"block md:flex items-center text-xs text-primary-50 gap-6 md:gap-10"},oo={key:0},so={class:"block md:flex items-end justify-between"},io={class:"mt-6"},ro={class:"block md:flex items-center text-xs gap-4"},lo=N({__name:"Index",setup(t){const{abbreviation:e,hideIssueMonth:n}=H(Vt()),{title:o,articleType:s,pages:r,issueId:i,issue:l,abbreviation:u,doi:d,authors:p,pdfUrl:f,epubDate:h}=H(G()),c=U(()=>h.value&&tn(h.value)?Ze(h.value,!1):""),m=I(""),y=v=>{m.value===v?m.value="":m.value=v};return(v,b)=>{var V,et,j,nt,O;const k=wt,A=xn,R=Ot,C=On,F=In,L=Mn,K=Gn,J=Ae;return g(),x(z,null,[_("div",Kn,[_("div",Jn,w(a(s)),1),((V=a(l))==null?void 0:V.id)=="e-pub"?(g(),x(z,{key:0},[$(k,{class:"head-top-info-btns underline hover:text-yellow-300 text-yellow-400",to:"/ahead-of-print"},{default:Y(()=>[B(w(v.$t("E-PUB")),1)]),_:1}),a(h)?(g(),x("div",Qn,w(a(c)),1)):S("",!0)],64)):(g(),x(z,{key:1},[$(k,{class:"head-top-info-btns underline hover:text-yellow-300 text-yellow-400",to:`/archives/${a(i)}`},{default:Y(()=>{var M,E;return[B(w(v.$t("VOLUME"))+": "+w((M=a(l))==null?void 0:M.volume)+" "+w(v.$t("ISSUE"))+": "+w((E=a(l))==null?void 0:E.issueNumber),1)]}),_:1},8,["to"]),_("div",Zn,"P: "+w(a(r)),1),_("div",to,w(a(n)?(nt=a(l))==null?void 0:nt.year:("monthText"in v?v.monthText:a(en))((et=a(l))==null?void 0:et.year,(j=a(l))==null?void 0:j.month)),1)],64))]),_("h1",{class:"md:text-2xl lg:text-3xl text-xl mb-4 font-light",innerHTML:a(o)},null,8,eo),_("div",no,[_("div",null,w(a(u)),1),a(d)?(g(),x("div",oo,[_("span",null,[b[3]||(b[3]=B(" DOI: ")),$(k,{to:`https://doi.org/${a(d)}`,class:"hover:text-white transition-colors duration-150",target:"_blank"},{default:Y(()=>[B(w(a(d)),1)]),_:1},8,["to"])])])):S("",!0)]),a(p)?(g(),ot(A,{key:0,authors:a(p),"is-in-article-detail":!0,class:"mt-6 px-1 text-gray-100"},null,8,["authors"])):S("",!0),_("div",so,[_("div",io,[_("div",ro,[(((O=a(p))==null?void 0:O.length)??0)>0?(g(),x("button",{key:0,class:P(["flex items-center",a(m)=="affiliations"?"opacity-100 text-yellow-200":"opacity-75"]),onClick:b[0]||(b[0]=M=>y("affiliations"))},[$(R,{name:"material-symbols:arrow-right-rounded",class:P(["text-xl rotate-0 transition-all duration-300 ease-in-out",{"rotate-90":a(m)=="affiliations"}])},null,8,["class"]),B(" "+w(v.$t("authorInformation")),1)],2)):S("",!0),_("button",{class:P(["flex items-center",a(m)=="cc"?"opacity-100 text-yellow-200":"opacity-75"]),onClick:b[1]||(b[1]=M=>y("cc"))},[$(R,{name:"material-symbols:arrow-right-rounded",class:P(["text-xl",{"rotate-90":a(m)=="cc"}])},null,8,["class"]),B(" "+w(v.$t("copyrightLicenceInformation")),1)],2),_("button",{class:P(["flex items-center",a(m)=="disclaimer"?"opacity-100 text-yellow-200":"opacity-75"]),onClick:b[2]||(b[2]=M=>y("disclaimer"))},[$(R,{name:"material-symbols:arrow-right-rounded",class:P(["text-xl",{"rotate-90":a(m)=="disclaimer"}])},null,8,["class"]),B(" Galenos & "+w(a(e))+" "+w(v.$t("disclaimer")),1)],2)]),$(C,{show:a(m)=="affiliations"},null,8,["show"]),$(F,{show:a(m)=="disclaimer"},null,8,["show"]),$(L,{show:a(m)=="cc"},null,8,["show"]),$(K,{class:"mt-6"})]),$(J,{class:"mt-4 md:mt-0"})])],64)}}}),ao={key:0,class:"sticky max-w-48 top-0 px-3"},co=["innerHTML"],uo=N({__name:"LeftNav",props:{activeId:{type:String,required:!0},isSticked:{type:Boolean,required:!0}},setup(t){const{sectionMenuItems:e}=H(G());return(n,o)=>{const s=wt;return a(e).length>1?(g(),x("div",ao,[_("div",{class:P(["pt-32 overflow-hidden transition-all min-h-screen",t.isSticked?"pt-32":"pt-5"])},[_("div",null,[(g(!0),x(z,null,it(a(e),r=>(g(),ot(s,{onClick:i=>n.$emit("scrollTo",r.hash),class:P(["flex relative cursor-pointer text-gray-600 text-sm font-semibold mb-5",t.activeId==r.hash?"text-sky-600":""])},{default:Y(()=>[_("div",{class:"-mt-0.5 ms-6",innerHTML:r.title},null,8,co),_("div",{class:P(["absolute left-0 w-4 h-4 border-4 rounded-full border-gray-400",t.activeId==r.hash?"border-sky-600":""])},null,2)]),_:2},1032,["onClick","class"]))),256))])],2)])):S("",!0)}}}),fo={class:"py-2"},mo={key:0,class:"mb-1"},po=["innerHTML"],ho=N({__name:"Footnotes",setup(t){const{fnItems:e}=H(G());return(n,o)=>(g(!0),x(z,null,it(a(e),s=>(g(),x("div",fo,[s.title&&s.title!=""?(g(),x("h3",mo,w(s.title),1)):S("",!0),_("div",{class:P({"mb-4":s.title&&s.title!=""})},[(g(!0),x(z,null,it(s.contents,r=>(g(),x("div",{innerHTML:r},null,8,po))),256))],2)]))),256))}}),go={class:"flex items-start gap-3"},_o={key:0,id:"refnum",class:"refnum font-semibold text-gray-700"},vo={class:"flex-1"},xo=["innerHTML"],yo={class:"flex flex-wrap gap-4 mt-1 text-xs text-gray-500"},bo=["href"],wo=["href"],$o=["href"],Te=N({__name:"Line",props:{showNumber:{type:Boolean,default:!0},data:{type:Object,required:!0}},setup(t){const e=t,n=U(()=>
2{if(e.data.pmId)return e.data.pmId;if(e.data.pubmed&&e.data.pubmed.uid)return e.data.pubmed.uid;if(e.data.crossref&&e.data.crossref.pmId)return e.data.crossref.pmId;const s=e.data.text.match(/PMID:\s*(\d+)/);if(s&&s.length>1)return s[1]}),o=U(()=>e.data.text);return(s,r)=>(g(),x("div",go,[t.showNumber?(g(),x("span",_o,w(t.data.index+1),1)):S("",!0),_("div",vo,[_("div",{class:"break-words text-gray-800 leading-relaxed",innerHTML:a(o),style:{"overflow-wrap":"anywhere"}},null,8,xo),_("div",yo,[t.data.doi?(g(),x("a",{key:0,href:`https://dx.doi.org/${t.data.doi}`,target:"_blank"}," CrossRef ",8,bo)):S("",!0),a(n)?(g(),x("a",{key:1,href:`https://pubmed.ncbi.nlm.nih.gov/${a(n)}`,target:"_blank"}," PubMed ",8,wo)):S("",!0),t.data.doi&&a(n)?(g(),x("a",{key:2,href:`https://scholar.google.com/scholar_lookup?doi=${t.data.doi}&pmid=${a(n)}`,target:"_blank"}," Google Scholar ",8,$o)):S("",!0)])])]))}}),ko={class:"mb-3"},Ao={class:"flex flex-col gap-4"},To={class:"flex items-baseline ref-list border-b border-gray-100 pb-3"},Do=N({__name:"Index",setup(t){const{references:e}=H(G());return(n,o)=>{const s=Te;return g(),x("div",null,[_("h1",ko,w(n.$t("References")),1),_("div",Ao,[(g(!0),x(z,null,it(a(e),r=>(g(),x("div",null,[_("div",To,[$(s,{data:r},null,8,["data"])])]))),256))])])}}}),_t=Math.min,ft=Math.max,Rt=Math.round,Dt=Math.floor,st=t=>({x:t,y:t}),Co={left:"right",right:"left",bottom:"top",top:"bottom"},Ro={start:"end",end:"start"};function Ft(t,e,n){return ft(t,_t(e,n))}function $t(t,e){return typeof t=="function"?t(e):t}function mt(t){return t.split("-")[0]}function kt(t){return t.split("-")[1]}function De(t){return t==="x"?"y":"x"}function Wt(t){return t==="y"?"height":"width"}const So=new Set(["top","bottom"]);function at(t){return So.has(mt(t))?"y":"x"}function Ut(t){return De(at(t))}function Lo(t,e,n){n===void 0&&(n=!1);const o=kt(t),s=Ut(t),r=Wt(s);let i=s==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(i=St(i)),[i,St(i)]}function Oo(t){const e=St(t);return[Ht(t),e,Ht(e)]}function Ht(t){return t.replace(/start|end/g,e=>Ro[e])}const pe=["left","right"],he=["right","left"],Eo=["top","bottom"],Io=["bottom","top"];function Po(t,e,n){switch(t){case"top":case"bottom":return n?e?he:pe:e?pe:he;case"left":case"right":return e?Eo:Io;default:return[]}}function Mo(t,e,n,o){const s=kt(t);let r=Po(mt(t),n==="start",o);return s&&(r=r.map(i=>i+"-"+s),e&&(r=r.concat(r.map(Ht)))),r}function St(t){return t.replace(/left|right|bottom|top/g,e=>Co[e])}function Bo(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ce(t){return typeof t!="number"?Bo(t):{top:t,right:t,bottom:t,left:t}}function Lt(t){const{x:e,y:n,width:o,height:s}=t;return{width:o,height:s,top:n,left:e,right:e+o,bottom:n+s,x:e,y:n}}function ge(t,e,n){let{reference:o,floating:s}=t;const r=at(e),i=Ut(e),l=Wt(i),u=mt(e),d=r==="y",p=o.x+o.width/2-s.width/2,f=o.y+o.height/2-s.height/2,h=o[l]/2-s[l]/2;let c;switch(u){case"top":c={x:p,y:o.y-s.height};break;case"bottom":c={x:p,y:o.y+o.height};break;case"right":c={x:o.x+o.width,y:f};break;case"left":c={x:o.x-s.width,y:f};break;default:c={x:o.x,y:o.y}}switch(kt(e)){case"start":c[i]-=h*(n&&d?-1:1);break;case"end":c[i]+=h*(n&&d?-1:1);break}return c}const No=async(t,e,n)=>{const{placement:o="bottom",strategy:s="absolute",middleware:r=[],platform:i}=n,l=r.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let d=await i.getElementRects({reference:t,floating:e,strategy:s}),{x:p,y:f}=ge(d,o,u),h=o,c={},m=0;for(let y=0;y<l.length;y++){const{name:v,fn:b}=l[y],{x:k,y:A,data:R,reset:C}=await b({x:p,y:f,initialPlacement:o,placement:h,strategy:s,middlewareData:c,rects:d,platform:i,elements:{reference:t,floating:e}});p=k??p,f=A??f,c={...c,[v]:{...c[v],...R}},C&&m<=50&&(m++,typeof C=="object"&&(C.placement&&(h=C.placement),C.rects&&(d=C.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:s}):C.rects),{x:p,y:f}=ge(d,h,u)),y=-1)}return{x:p,y:f,placement:h,strategy:s,middlewareData:c}};async function Re(t,e){var n;e===void 0&&(e={});const{x:o,y:s,platform:r,rects:i,elements:l,strategy:u}=t,{boundary:d="clippingAncestors",rootBoundary:p="viewport",elementContext:f="floating",altBoundary:h=!1,padding:c=0}=$t(e,t),m=Ce(c),v=l[h?f==="floating"?"reference":"floating":f],b=Lt(await r.getClippingRect
2({element:(n=await(r.isElement==null?void 0:r.isElement(v)))==null||n?v:v.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:d,rootBoundary:p,strategy:u})),k=f==="floating"?{x:o,y:s,width:i.floating.width,height:i.floating.height}:i.reference,A=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),R=await(r.isElement==null?void 0:r.isElement(A))?await(r.getScale==null?void 0:r.getScale(A))||{x:1,y:1}:{x:1,y:1},C=Lt(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:A,strategy:u}):k);return{top:(b.top-C.top+m.top)/R.y,bottom:(C.bottom-b.bottom+m.bottom)/R.y,left:(b.left-C.left+m.left)/R.x,right:(C.right-b.right+m.right)/R.x}}const Fo=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:s,rects:r,platform:i,elements:l,middlewareData:u}=e,{element:d,padding:p=0}=$t(t,e)||{};if(d==null)return{};const f=Ce(p),h={x:n,y:o},c=Ut(s),m=Wt(c),y=await i.getDimensions(d),v=c==="y",b=v?"top":"left",k=v?"bottom":"right",A=v?"clientHeight":"clientWidth",R=r.reference[m]+r.reference[c]-h[c]-r.floating[m],C=h[c]-r.reference[c],F=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let L=F?F[A]:0;(!L||!await(i.isElement==null?void 0:i.isElement(F)))&&(L=l.floating[A]||r.floating[m]);const K=R/2-C/2,J=L/2-y[m]/2-1,V=_t(f[b],J),et=_t(f[k],J),j=V,nt=L-y[m]-et,O=L/2-y[m]/2+K,M=Ft(j,O,nt),E=!u.arrow&&kt(s)!=null&&O!==M&&r.reference[m]/2-(O<j?V:et)-y[m]/2<0,q=E?O<j?O-j:O-nt:0;return{[c]:h[c]+q,data:{[c]:M,centerOffset:O-M-q,...E&&{alignmentOffset:q}},reset:E}}}),Ho=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:s,middlewareData:r,rects:i,initialPlacement:l,platform:u,elements:d}=e,{mainAxis:p=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:c="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...v}=$t(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const b=mt(s),k=at(l),A=mt(l)===l,R=await(u.isRTL==null?void 0:u.isRTL(d.floating)),C=h||(A||!y?[St(l)]:Oo(l)),F=m!=="none";!h&&F&&C.push(...Mo(l,y,m,R));const L=[l,...C],K=await Re(e,v),J=[];let V=((o=r.flip)==null?void 0:o.overflows)||[];if(p&&J.push(K[b]),f){const O=Lo(s,i,R);J.push(K[O[0]],K[O[1]])}if(V=[...V,{placement:s,overflows:J}],!J.every(O=>O<=0)){var et,j;const O=(((et=r.flip)==null?void 0:et.index)||0)+1,M=L[O];
2if(M&&(!(f==="alignment"?k!==at(M):!1)||V.every(W=>W.overflows[0]>0&&at(W.placement)===k)))return{data:{index:O,overflows:V},reset:{placement:M}};let E=(j=V.filter(q=>q.overflows[0]<=0).sort((q,W)=>q.overflows[1]-W.overflows[1])[0])==null?void 0:j.placement;if(!E)switch(c){case"bestFit":{var nt;const q=(nt=V.filter(W=>{if(F){const Q=at(W.placement);return Q===k||Q==="y"}return!0}).map(W=>[W.placement,W.overflows.filter(Q=>Q>0).reduce((Q,Mt)=>Q+Mt,0)]).sort((W,Q)=>W[1]-Q[1])[0])==null?void 0:nt[0];q&&(E=q);break}case"initialPlacement":E=l;break}if(s!==E)return{reset:{placement:E}}}return{}}}},jo=new Set(["left","top"]);async function zo(t,e){const{placement:n,platform:o,elements:s}=t,r=await(o.isRTL==null?void 0:o.isRTL(s.floating)),i=mt(n),l=kt(n),u=at(n)==="y",d=jo.has(i)?-1:1,p=r&&u?-1:1,f=$t(e,t);let{mainAxis:h,crossAxis:c,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(c=l==="end"?m*-1:m),u?{x:c*p,y:h*d}:{x:h*d,y:c*p}}const Vo=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:s,y:r,placement:i,middlewareData:l}=e,u=await zo(e,t);return i===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:s+u.x,y:r+u.y,data:{...u,placement:i}}}}},qo=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:s}=e,{mainAxis:r=!0,crossAxis:i=!1,limiter:l={fn:v=>{let{x:b,y:k}=v;return{x:b,y:k}}},...u}=$t(t,e),d={x:n,y:o},p=await Re(e,u),f=at(mt(s)),h=De(f);let c=d[h],m=d[f];if(r){const v=h==="y"?"top":"left",b=h==="y"?"bottom":"right",k=c+p[v],A=c-p[b];c=Ft(k,c,A)}if(i){const v=f==="y"?"top":"left",b=f==="y"?"bottom":"right",k=m+p[v],A=m-p[b];m=Ft(k,m,A)}const y=l.fn({...e,[h]:c,[f]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[h]:r,[f]:i}}}}}};function Et(){return typeof window<"u"}function xt(t){return Se(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function lt(t){var e;return(e=(Se(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Se(t){return Et()?t instanceof Node||t instanceof X(t).Node:!1}function Z(t){return Et()?t instanceof Element||t instanceof X(t).Element:!1}function rt(t){return Et()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function _e(t){return!Et()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}const Wo=new Set(["inline","contents"]);function At(t){const{overflow:e,overflowX:n,overflowY:o,display:s}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Wo.has(s)}const Uo=new Set(["table","td","th"]);function Yo(t){return Uo.has(xt(t))}const Xo=[":popover-open",":modal"];function It(t){return Xo.some(e=>{try{return t.matches(e)}catch{return!1}})}const Go=["transform","translate","scale","rotate","perspective"],Ko=["transform","translate","scale","rotate","perspective","filter"],Jo=["paint","layout","strict","content"];function Yt(t){const e=Xt(),n=Z(t)?tt(t):t;return Go.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||Ko.some(o=>(n.willChange||"").includes(o))||Jo.some(o=>(n.contain||"").includes(o))}function Qo(t){let e=ct(t);for(;rt(e)&&!vt(e);){if(Yt(e))return e;if(It(e))return null;e=ct(e)}return null}function Xt(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Zo=new Set(["html","body","#document"]);function vt(t){return Zo.has(xt(t))}function tt(t){return X(t).getComputedStyle(t)}function Pt(t){return Z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ct(t){if(xt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_e(t)&&t.host||lt(t);return _e(e)?e.host:e}function Le(t){const e=ct(t);return vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:rt(e)&&At(e)?e:Le(e)}function bt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=Le(t),r=s===((o=t.ownerDocument)==null?void 0:o.body),i=X(s);if(r){const l=jt(i);
2return e.concat(i,i.visualViewport||[],At(s)?s:[],l&&n?bt(l):[])}return e.concat(s,bt(s,[],n))}function jt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Oe(t){const e=tt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const s=rt(t),r=s?t.offsetWidth:n,i=s?t.offsetHeight:o,l=Rt(n)!==r||Rt(o)!==i;return l&&(n=r,o=i),{width:n,height:o,$:l}}function Gt(t){return Z(t)?t:t.contextElement}function gt(t){const e=Gt(t);if(!rt(e))return st(1);const n=e.getBoundingClientRect(),{width:o,height:s,$:r}=Oe(e);let i=(r?Rt(n.width):n.width)/o,l=(r?Rt(n.height):n.height)/s;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const ts=st(0);function Ee(t){const e=X(t);return!Xt()||!e.visualViewport?ts:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function es(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function pt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const s=t.getBoundingClientRect(),r=Gt(t);let i=st(1);e&&(o?Z(o)&&(i=gt(o)):i=gt(t));const l=es(r,n,o)?Ee(r):st(0);let u=(s.left+l.x)/i.x,d=(s.top+l.y)/i.y,p=s.width/i.x,f=s.height/i.y;if(r){const h=X(r),c=o&&Z(o)?X(o):o;let m=h,y=jt(m);for(;y&&o&&c!==m;){const v=gt(y),b=y.getBoundingClientRect(),k=tt(y),A=b.left+(y.clientLeft+parseFloat(k.paddingLeft))*v.x,R=b.top+(y.clientTop+parseFloat(k.paddingTop))*v.y;u*=v.x,d*=v.y,p*=v.x,f*=v.y,u+=A,d+=R,m=X(y),y=jt(m)}}return Lt({width:p,height:f,x:u,y:d})}function Kt(t,e){const n=Pt(t).scrollLeft;return e?e.left+n:pt(lt(t)).left+n}function Ie(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),s=o.left+e.scrollLeft-(n?0:Kt(t,o)),r=o.top+e.scrollTop;return{x:s,y:r}}function ns(t){let{elements:e,rect:n,offsetParent:o,strategy:s}=t;const r=s==="fixed",i=lt(o),l=e?It(e.floating):!1;if(o===i||l&&r)return n;let u={scrollLeft:0,scrollTop:0},d=st(1);const p=st(0),f=rt(o);if((f||!f&&!r)&&((xt(o)!=="body"||At(i))&&(u=Pt(o)),rt(o))){const c=pt(o);d=gt(o),p.x=c.x+o.clientLeft,p.y=c.y+o.clientTop}const h=i&&!f&&!r?Ie(i,u,!0):st(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-u.scrollLeft*d.x+p.x+h.x,y:n.y*d.y-u.scrollTop*d.y+p.y+h.y}}function os(t){return Array.from(t.getClientRects())}function ss(t){const e=lt(t),n=Pt(t),o=t.ownerDocument.body,s=ft(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=ft(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+Kt(t);const l=-n.scrollTop;return tt(o).direction==="rtl"&&(i+=ft(e.clientWidth,o.clientWidth)-s),{width:s,height:r,x:i,y:l}}function is(t,e){const n=X(t),o=lt(t),s=n.visualViewport;let r=o.clientWidth,i=o.clientHeight,l=0,u=0;if(s){r=s.width,i=s.height;const d=Xt();(!d||d&&e==="fixed")&&(l=s.offsetLeft,u=s.offsetTop)}return{width:r,height:i,x:l,y:u}}const rs=new Set(["absolute","fixed"]);function ls(t,e){const n=pt(t,!0,e==="fixed"),o=n.top+t.clientTop,s=n.left+t.clientLeft,r=rt(t)?gt(t):st(1),i=t.clientWidth*r.x,l=t.clientHeight*r.y,u=s*r.x,d=o*r.y;return{width:i,height:l,x:u,y:d}}function ve(t,e,n){let o;if(e==="viewport")o=is(t,n);else if(e==="document")o=ss(lt(t));else if(Z(e))o=ls(e,n);else{const s=Ee(t);o={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return Lt(o)}function Pe(t,e){const n=ct(t);return n===e||!Z(n)||vt(n)?!1:tt(n).position==="fixed"||Pe(n,e)}function as(t,e){const n=e.get(t);if(n)return n;let o=bt(t,[],!1).filter(l=>Z(l)&&xt(l)!=="body"),s=null;const r=tt(t).position==="fixed";let i=r?ct(t):t;for(;Z(i)&&!vt(i);){const l=tt(i),u=Yt(i);!u&&l.position==="fixed"&&(s=null),(r?!u&&!s:!u&&l.position==="static"&&!!s&&rs.has(s.position)||At(i)&&!u&&Pe(t,i))?o=o.filter(p=>p!==i):s=l,i=ct(i)}return e.set(t,o),o}function cs(t){let{element:e,boundary:n,rootBoundary:o,strategy:s}=t;const i=[...n==="clippingAncestors"?It(e)?[]:as(e,this._c):[].concat(n),o],l=i[0],u=i.reduce((d,p)=>{const f=ve(e,p,s);return d.top=ft(f.top,d.top),d.right=_t(f.right,d.right),d.bottom=_t(f.bottom,d.bottom),d.left=ft(f.left,d.left),d},ve(e,l,s));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function us(t){const{width:e,height:n}=Oe(t);return{width:e,height:n}}function ds(t,e,n){const o=rt(e),s=lt(e),r=n==="fixed",i=pt(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const u=st(0);function d(){u.x=Kt(s)}if(o||!o&&!r)if((xt(e)!=="body"||At(s))&&(l=Pt(e)),o){const c=pt(e,!0,r,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else s&&d();r&&!o&&s&&d();const p=s&&!o&&!r?Ie(s,l):st(0),f=i.left+l.scrollLeft-u.x-p.x,h=i.top+l.scrollTop-u.y-p.y;return{x:f,y:h,width:i.width,height:i.height}}function Nt(t){return tt(t).position==="static"}function xe(t,e){if(!rt(t)||tt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return lt(t)===n&&(n=n.ownerDocument.body),n}function Me(t,e){const n=X(t);if(It(t))return n;if(!rt(t)){let s=ct(t);for(;s&&!vt(s);){if(Z(s)&&!Nt(s))return s;s=ct(s)}return n}let o=xe(t,e);for(;
2o&&Yo(o)&&Nt(o);)o=xe(o,e);return o&&vt(o)&&Nt(o)&&!Yt(o)?n:o||Qo(t)||n}const fs=async function(t){const e=this.getOffsetParent||Me,n=this.getDimensions,o=await n(t.floating);return{reference:ds(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function ms(t){return tt(t).direction==="rtl"}const ps={convertOffsetParentRelativeRectToViewportRelativeRect:ns,getDocumentElement:lt,getClippingRect:cs,getOffsetParent:Me,getElementRects:fs,getClientRects:os,getDimensions:us,getScale:gt,isElement:Z,isRTL:ms};function Be(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function hs(t,e){let n=null,o;const s=lt(t);function r(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function i(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),r();const d=t.getBoundingClientRect(),{left:p,top:f,width:h,height:c}=d;if(l||e(),!h||!c)return;const m=Dt(f),y=Dt(s.clientWidth-(p+h)),v=Dt(s.clientHeight-(f+c)),b=Dt(p),A={rootMargin:-m+"px "+-y+"px "+-v+"px "+-b+"px",threshold:ft(0,_t(1,u))||1};let R=!0;function C(F){const L=F[0].intersectionRatio;if(L!==u){if(!R)return i();L?i(!1,L):o=setTimeout(()=>{i(!1,1e-7)},1e3)}L===1&&!Be(d,t.getBoundingClientRect())&&i(),R=!1}try{n=new IntersectionObserver(C,{...A,root:s.ownerDocument})}catch{n=new IntersectionObserver(C,A)}n.observe(t)}return i(!0),r}function gs(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,d=Gt(t),p=s||r?[...d?bt(d):[],...bt(e)]:[];p.forEach(b=>{s&&b.addEventListener("scroll",n,{passive:!0}),r&&b.addEventListener("resize",n)});const f=d&&l?hs(d,n):null;let h=-1,c=null;i&&(c=new ResizeObserver(b=>{let[k]=b;k&&k.target===d&&c&&(c.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var A;(A=c)==null||A.observe(e)})),n()}),d&&!u&&c.observe(d),c.observe(e));let m,y=u?pt(t):null;u&&v();function v(){const b=pt(t);y&&!Be(y,b)&&n(),y=b,m=requestAnimationFrame(v)}return n(),()=>{var b;p.forEach(k=>{s&&k.removeEventListener("scroll",n),r&&k.removeEventListener("resize",n)}),f==null||f(),(b=c)==null||b.disconnect(),c=null,u&&cancelAnimationFrame(m)}}const _s=Vo,vs=qo,xs=Ho,ys=Fo,bs=(t,e,n)=>{const o=new Map,s={platform:ps,...n},r={...s.platform,_c:o};return No(t,e,{...s,platform:r})},ws={class:"text-xs text-gray-400 mb-2"},$s={key:0},ks={key:1},As={class:"max-h-96 overflow-y-auto space-y-2"},Ts=N({__name:"Popover",props:{activeRef:Number,references:{type:Array,required:!0},referenceEl:{type:Object,default:null}},emits:["close"],setup(t,{emit:e}){const n=t,o=I(null),s=I(null),r=I({x:0,y:0});I({x:0,y:0});const i=I("bottom");let l=null;const u=U(()=>{switch(i.value.split("-")[0]){case"top":return"border-r border-b";case"bottom":return"border-l border-t";case"left":return"border-t border-r";case"right":return"border-l border-b";default:return"border-l border-t"}}),d=U(()=>{var f,h;if(!n.activeRef||!n.references)return[];const p=(h=(f=n.referenceEl)==null?void 0:f.dataset)==null?void 0:h.target;if(!p)return[];if(p.includes("-")){const[c,m]=p.split("-").map(y=>parseInt(y.trim()));return!c||!m?[]:n.references.filter(y=>y.index+1>=c&&y.index+1<=m)}else{const c=n.references.find(m=>m.index+1===n.activeRef);return c?[c]:[]}});return be([()=>n.activeRef,()=>n.referenceEl],async([p,f])=>{l&&(l(),l=null),p!==null&&f&&(await qt(),o.value&&(l=gs(f,o.value,()=>{!f||!o.value||bs(f,o.value,{placement:"bottom",middleware:[_s(12),xs({fallbackPlacements:["top","right","left","bottom"]}),vs(),ys({element:s.value})]}).then(({x:h,y:c,placement:m,middlewareData:y})=>{r.value={x:h,y:c},i.value=m;const v=y.arrow;if(v&&s.value){const b={top:"bottom",right:"left",bottom:"top",left:"right"}[m.split("-")[0]];Object.assign(s.value.style,{left:"",right:"",top:"",bottom:""}),v.x!=null&&(s.value.style.left=`${v.x}px`),v.y!=null&&(s.value.style.top=`${v.y}px`),b&&(s.value.style[b]="-12px")}})})))},{immediate:!0}),gn(()=>{l&&l()}),(p,f)=>{const h=Te;return n.activeRef!==null&&n.referenceEl?(g(),x("div",{key:0,ref_key:"popoverEl",ref:o,class:"absolute bg-white border rounded-lg shadow-lg p-6 z-50 max-w-md w-full",style:we({left:`${a(r).x}px`,top:`${a(r).y}px`})},[_("div",{ref_key:"popoverArrow",ref:s,class:P(["absolute w-6 h-6 bg-white rotate-45 border-gray-200",a(u)])},null,2),_("button",{onClick:f[0]||(f[0]=c=>p.$emit("close")),class:"text-sm text-gray-500 float-right"}," ✕ "),_("div",ws,[a(d).length===1?(g(),x("span",$s,w(p.$t("Reference"))+" "+w(a(d)[0].index+1),1)):(g(),x("span",ks,w(p.$t("References"))+" "+w(a(d)[0].index+1)+"-"+w(a(d)[a(d).length-1].index+1),1))]),_("div",As,[(g(!0),x(z,null,it(a(d),c=>(g(),x("div",{key:c.index,class:P(["mb-2",{"border-b border-gray-200 pb-2":a(d).length>1&&c!==a(d)[a(d).length-1]}])},[$(h,{data:c,"show-number":a(d).length>1},null,8,["data","show-number"])],2))),128))])],4)):S("",!0)}}}),Ds=_n(()=>nn(()=>import("./BITrvVhX.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(t=>t.default||t)),Cs={key:0},Rs={class:"mb-3"},Ss=N({__name:"Supplements",setup(t){const{tables:e,xrefs:n}=H(G()),o=U(()=>e.value.filter(l=>l.isSupplement)),s=U(()=>n.value.filter(l=>l.isSupplement)),r=U(()=>[...s.value,...o.value]),i=U(()=>r.value.length>0);return(l,u)=>{const d=Ds,p=zt;return a(i)?(g(),x("div",Cs,[_("h1",Rs,w(l.$t("suplementaryMaterials")),1),$(p,null,{default:Y(()=>[$(d,{data:a(r)},null,8,["data"])]),_:1})])):S("",!0)}}}),Ls={class:"flex items-center justify-between py-2 px-4 border-b border-gray-200"},Os={class:"text-sm font-medium text-gray-900 dark:text-gray-100 first-letter:uppercase"},Es=["innerHTML"],Is={class:"flex items-center gap-2"},Ps={class:"flex items-center"},Ms=N({__name:"TypeIndex",async setup(t){let e,n;
2const o=G(),{journalId:s,articleId:r,indexArticleSettings:i}=H(o),{locale:l}=ye(),{data:u}=([e,n]=$e(()=>ke("indice",()=>{var p,f,h;return $fetch(`/api/journal-content/${s.value}/indices`,{query:{lang:((p=i.value)==null?void 0:p.type)==="author"?"en":l.value,type:(f=i.value)==null?void 0:f.type,year:(h=i.value)==null?void 0:h.year}})})),e=await e,n(),e),d=U(()=>{var p,f,h;return((p=i.value)==null?void 0:p.order)==="last_name"?(f=u.value)==null?void 0:f.sort((c,m)=>{const y=c.title.replace(/<[^>]*>?/gm,"").trim().split(" ")[c.title.trim().split(" ").length-1],v=m.title.replace(/<[^>]*>?/gm,"").trim().split(" ")[m.title.trim().split(" ").length-1];return y.localeCompare(v)}):(h=u.value)==null?void 0:h.sort((c,m)=>c.title.replace(/<[^>]*>?/gm,"").trim().localeCompare(m.title.replace(/<[^>]*>?/gm,"").trim()))});return(p,f)=>{const h=wt;return g(!0),x(z,null,it(a(d),c=>(g(),x("div",null,[_("div",Ls,[_("div",Os,[_("span",{innerHTML:c.title},null,8,Es)]),_("div",Is,[(g(!0),x(z,null,it(c.data,(m,y)=>(g(),x("div",Ps,[$(h,{to:`/articles/doi/${m.articleId}`,class:"text-blue-500 hover:underline"},{default:Y(()=>[B(w(m.page),1)]),_:2},1032,["to"]),B(" "+w(y!=c.data.length-1?",":""),1)]))),256))])])]))),256)}}}),Bs={class:"flex flex-wrap gap-2 mb-7"},Ns=["onClick"],Fs={class:"text-xs ms-1"}
2,Hs={key:0,class:"text-xs ms-1"},js={key:1,class:"text-xs ms-1"},zs=N({__name:"Share",setup(t){const{isOpen:e}=Ct();on();const{domain:n,journalTitle:o,journalId:s}=H(Vt()),{articleId:r,title:i}=H(G()),l=`https://${n.value}/articles/doi/${r.value}`,u=I(!1),d=h=>{let c="";switch(h){case"Facebook":c=`https://www.facebook.com/sharer/sharer.php?u=${l}`;break;case"Twitter":c=`https://twitter.com/share?ref_src=twsrc%5Etfw&url=${l}&text=${i==null?void 0:i.value} - ${o.value}`;break;case"LinkedIn":c=`https://www.linkedin.com/shareArticle?mini=true&url=${l}`;break;case"WhatsApp":c=`https://api.whatsapp.com/send?text=${l}`;break;case"Telegram":c=`https://t.me/share/url?url=${l}`;break}const m=600,y=600;var v=screen.width/2-m/2,b=screen.height/2-y/2;window.open(c,"","menubar=no,toolbar=no,resizable=yes,scrollbars=yes,width="+m+",height="+y+",top="+b+",left="+v)},p=()=>{var h=l;navigator.clipboard&&navigator.clipboard.writeText(h).then(function(){u.value=!0}).catch(function(){})},f=I([{name:"Facebook",icon:"fa6-brands:square-facebook",color:"text-[#1877f2]"},{name:"Twitter",icon:"fa6-brands:square-x-twitter",color:"text-black"},{name:"LinkedIn",icon:"fa6-brands:linkedin",color:"text-[#0077b5]"},{name:"WhatsApp",icon:"fa6-brands:square-whatsapp",color:"text-[#25d366]"},{name:"Telegram",icon:"fa6-brands:telegram",color:"text-[#0088cc]"}]);
2return(h,c)=>{const m=Ot,y=wt,v=sn;return g(),ot(v,{isOpen:a(e),onClose:("useShareModal"in h?h.useShareModal:a(Ct))().close,title:"Share Article",subtitle:"Share this article with your friends and colleagues"},{body:Y(()=>[_("div",Bs,[(g(!0),x(z,null,it(a(f),b=>(g(),x("div",{class:"group p-2 border border-gray-200 hover:bg-gray-200 cursor-pointer rounded-lg flex items-center",onClick:k=>d(b.name)},[$(m,{name:b.icon,class:P(["text-2xl group-hover:text-black",b.color])},null,8,["name","class"]),_("div",Fs,w(b.name),1)],8,Ns))),256)),$(y,{to:`mailto:?subject=Check this out&body=${l}`,class:"group p-2 border border-gray-200 hover:bg-gray-200 cursor-pointer rounded-lg flex items-center"},{default:Y(()=>[$(m,{name:"fa6-solid:envelope",class:"text-2xl group-hover:text-black text-gray-700"}),c[0]||(c[0]=_("div",{class:"text-xs ms-1"},"Email",-1))]),_:1,__:[0]},8,["to"]),_("div",{class:P(["group p-2 border border-gray-200 hover:bg-gray-200 cursor-pointer rounded-lg flex items-center",a(u)?"text-green-500":"text-gray-700  group-hover:text-black"]),onClick:p},[$(m,{name:a(u)?"fa6-solid:check":"fa6-solid:link",class:"text-2xl"},null,8,["name"]),a(u)?(g(),x("div",js,"Copied")):(g(),x("div",Hs,"Copy Link"))],2)])]),_:1},8,["isOpen","onClose"])}}}),Vs={class:"bg-primary-800 py-4 mb-3"},qs={class:"container article-detail p-4 text-white"},Ws={key:0,class:"py-8"},Us={key:1,class:"flex gap-4"},Ys={class:"hidden lg:block"},Xs={key:0,class:"flex-1 text-gray-600 article border border-gray-200 px-6 py-8 my-4 max-w-full overflow-hidden"},Gs={key:1,class:"flex items-baseline gap-2 mb-6 keywords"},Ks={class:"font-semibold"},Js={class:""},Qs=["innerHTML"],Zs={key:1,class:"flex-1 text-gray-600 article border border-gray-200 px-6 py-8 my-4"},li=N({__name:"[...slug]",async setup(t){var Qt,Zt,te,ee,ne,oe,se,ie,re,le,ae,ce,ue;let e,n;const o=rn(),s=I(""),r=I(!1),i=I(null),{journalId:l,journalTitle:u,issn:d,eIssn:p,domain:f,abbreviation:h}=H(Vt()),{getLogoUrl:c}=ln(),m=G(),{t:y,locale:v}=ye(),b=o.params.slug[o.params.slug.length-1],{isOpen:k}=Ct(),{title:A,authors:R,publishDate:C,doi:F,keywords:L,abstract:K,fullText:J,footnotes:V,fnItems:et,references:j,indexArticleSettings:nt,isOnlyPdf:O,pdfUrl:M}=H(m),{data:E}=([e,n]=$e(()=>ke("article",()=>$fetch(`/api/journal-content/${l.value}/articles/${b}`,{query:{lang:v.value}}))),e=await e,n(),e);E.value&&m.setArticle(E.value);const q=U(()=>{var T,D;return(D=(T=K.value)==null?void 0:T.contents)==null?void 0:D.length}),W=T=>{const D=document.getElementById(T);D&&window.scrollTo({top:D.offsetTop-120,behavior:"smooth"})},Q=I(null),Mt={threshold:.2,rootMargin:"0px 0px -110px 0px"},Jt=()=>{const T=i.value;if(T){const D=T.getBoundingClientRect();r.value=D.top<=0&&D.bottom>=0}},ut=I(null),Tt=I(null),Ne=(T,D)=>{ut.value===T?(ut.value=null,Tt.value=null,qt(()=>{ut.value=T,Tt.value=D})):(ut.value=T,Tt.value=D)};me(()=>{window.addEventListener("scroll",Jt),Q.value=new IntersectionObserver(T=>{T.forEach(D=>{D.isIntersecting&&(s.value=D.target.id)})},Mt),document.querySelectorAll(".section").forEach(T=>{var D;(D=Q.value)==null||D.observe(T)}),document.querySelectorAll("a.xref[data-type='ref']").forEach(T=>{T.addEventListener("click",D=>{D.preventDefault();const ht=D.currentTarget.dataset.target;ht&&Ne(parseInt(ht),D.currentTarget)})})}),vn(()=>{window.removeEventListener("scroll",Jt)});const Fe=U(()=>{var T;return((T=R.value)==null?void 0:T.map((D,ht)=>({name:`citation_author${ht+1}`,content:D.full_name??""})))??[]}),Bt=`https://${f.value}/${v.value==="tr"?"tr/makaleler":"articles"}/${(Qt=E.value)==null?void 0:Qt.slug}/${b}`,He=`https://${f.value}/${M.value}`;return an({titleTemplate:"%s",meta:[{name:"citation_title",content:(Zt=A.value)==null?void 0:Zt.replace(/<[^>]*>?/gm,"")},{name:"citation_journal_title",content:u.value},...Fe.value,{name:"citation_keywords",content:((te=L.value)==null?void 0:te.join(", "))||""},{name:"citation_publication_date",content:C.value},{name:"citation_doi",content:F.value},{name:"citation_pdf_url",content:`https://${f.value}/${M.value}`},{name:"citation_issn",content:d.value||p.value},{name:"dc.title",content:(ee=A.value)==null?void 0:ee.replace(/<[^>]*>?/gm,"")},{name:"dc.creator",content:(ne=R.value)==null?void 0:ne.map(T=>T.full_name??"").join(", ")},{name:"dc.publisher",content:u.value},{name:"dc.date",content:C.value},{name:"dc.type",content:"Text"},{name:"dc.format",content:"text/html"},{name:"dc.identifier",content:`doi:${F.value}`},{name:"dc.identifier",content:`doi:${F.value}`},{name:"twitter:image",content:c()},{name:"twitter:card",content:"summary"},{name:"twitter:title",content:(oe=A.value)==null?void 0:oe.replace(/<[^>]*>?/gm,"")}],link:[{rel:"canonical",href:Bt},{rel:"alternate",type:"application/pdf",href:He}],script:[{src:"https://crossmark-cdn.crossref.org/widget/v2.0/widget.js",async:!0}]}),cn({title:`${(se=A.value)==null?void 0:se.replace(/<[^>]*>?/gm,"")} - ${u.value}`,ogTitle:`${(ie=A.value)==null?void 0:ie.replace(/<[^>]*>?/gm,"")} - ${u.value}`,description:`${(re=A.value)==null?void 0:re.replace(/<[^>]*>?/gm,"")} - ${u.value}`,ogDescription:`${(le=A.value)==null?void 0:le.replace(/<[^>]*>?/gm,"")} - ${u.value}`,keywords:(ae=L.value)==null?void 0:ae.join(", "),articleAuthor:(ce=R.value)==null?void 0:ce.map(T=>T.full_name??""),articleTag:L.value,ogImage:c(),twitterImage:c(),twitterCard:"summary",twitterTitle:`${(ue=A.value)==null?void 0:ue.replace(/<[^>]*>?/gm,"")}`}),me(async()=>{un({customEvent:()=>{var T,D;return{name:"page_view",params:{page_title:mn().title,page_location:Bt,page_path:new URL(Bt).pathname,article_type:(T=E.value)==null?void 0:T.articleType,doi:(D=E.value)==null?void 0:D.doi,journalAbbreviation:h.value,journalId:l.value,language:v.value}}}})}),(T,D)=>{var fe;const ht=Cn,je=lo,ze=dn,Ve=uo,de=yn,qe=ho,We=Do,Ue=Ts,Ye=Ss,Xe=Ms,Ge=zs,Ke=zt;return g(),x(z,null,[$(ht,{"is-sticked":a(r)},null,8,["is-sticked"]),_("div",Vs,[_("div",qs,[$(je)])]),_("div",null,[_("div",{class:"container mx-auto max-w-screen-xl p-4 min-h-screen",id:"content",ref_key:"content",ref:i},[a(O)?(g(),x("div",Ws,[B(w(a(y)("articleDetailIsOnlyPdf"))+" ",1),$(ze,{to:a(M),class:"ms-4 border border-gray-200 text-sky-600 rounded-md px-4 py-2 hover:bg-primary-600 hover:text-white transition-colors",target:"_blank"},{default:Y(()=>[B(w(a(y)("showPDF")),1)]),_:1},8,["to"])])):(g(),x("div",Us,[_("div",Ys,[$(Ve,{activeId:a(s),"is-sticked":a(r),onScrollTo:W},null,8,["activeId","is-sticked"])]),a(nt)?(g(),x("div",Zs,[$(Xe)])):(g(),x("div",Xs,[a(K)?(g(),ot(de,{key:0,section:a(K),id:"abstract",class:"section"},null,8,["section"])):S("",!0),(g(!0),x(z,null,it(a(J),(dt,ti)=>(g(),ot(de,{id:dt.subType!=null&&dt.subType!=""?a(fn)(dt.subType,{lower:!0,strict:!0}
2):`s${dt.index}`,section:dt,class:P(["section",{"bg-gray-100 p-4":dt.boxed}])},null,8,["id","section","class"]))),256)),!a(q)&&a(L)&&a(L).length>0?(g(),x("div",Gs,[_("div",Ks,w(T.$t("Keywords"))+":",1),_("div",Js,[_("span",{innerHTML:(fe=a(L))==null?void 0:fe.join(", ")},null,8,Qs)])])):S("",!0),a(et)?(g(),ot(qe,{key:2})):S("",!0),a(j)&&a(j).length>0?(g(),ot(We,{key:3,id:"references",class:"section mt-6"})):S("",!0),a(ut)!==null?(g(),ot(Ue,{key:4,activeRef:a(ut),references:a(j),referenceEl:a(Tt),onClose:D[0]||(D[0]=dt=>ut.value=null)},null,8,["activeRef","references","referenceEl"])):S("",!0),$(Ye,{id:"supplementary-materials",class:"section mt-6"})]))]))],512)]),$(Ke,null,{default:Y(()=>[a(k)?(g(),ot(Ge,{key:0})):S("",!0)]),_:1})],64)}}});export{li 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.