PageSourceSearch

https://newvision.ge/_nuxt/COlQW6nc.js

js newvision.ge collected 2026-10-02 18:38:22 UTC 6,724 bytes, 1 lines download raw bytes

1import{_ as ce}from"./DPoi4Umt.js";import{_ as pe}from"./DWGGuB5l.js";import{_ as ue}from"./B5hp115a.js";import{_ as me}from"./CvoBuYNx.js";import{_ as de}from"./Dd331yRE.js";import{_ as fe}from"./fCb1r-_3.js";import{aP as _e,aQ as ge,aR as ve,b0 as be,aH as k,b1 as ye,aS as x,bc as he,c1 as ke,az as a,aA as i,aU as r,aB as p,aX as X,aY as u,aC as w,aV as xe,aW as we,aD as _,b2 as Te}from"./BLR8F0yZ.js";import De from"./CsSNwdm2.js";import{u as Ie,D as Le}from"./DgVlxQo4.js";import{u as $e}from"./B5CoA0_7.js";import{u as Y}from"./_qzMZLk3.js";import{_ as Be}from"./DhTbjJlp.js";import"./DY5Qfe93.js";import"./DN583Hra.js";import"./Cn0Ur0wr.js";import"./BOoVkJ3C.js";import"./D7fe1cP2.js";import"./Dndb8PY0.js";import"./BWSt4F4O.js";import"./CGHX8oSZ.js";/* empty css        */import"./C-lVmlJ6.js";import"./BcJwA6Yc.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new m.Error().stack;f&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[f]="3356154c-18f3-4514-9996-69aa42ed9453",m._sentryDebugIdIdentifier="sentry-dbid-3356154c-18f3-4514-9996-69aa42ed9453")}catch{}})();const Re={key:0,class:"pt-8 md:pt-0 mt-4 px-8 xl:px-0 max-w-[980px] mx-auto"},Fe={class:"mt-8"},Ue={class:"grid md:grid-cols-12 grid-cols-1 gap-x-6"},Ge={key:0,class:"md:col-start-1 md:col-span-12 col-span-1 mb-8"},Ae={class:"block text-black-700 text-base text-left font-medium"},Ve=["innerHTML"],Ee=["innerHTML"],Se={key:1,class:"mt-8"},He={key:2,class:"mt-8"},Me={class:"font-bold text-xl text-black-950 mt-8"},Ce={key:3,class:"mt-8"},Ne={key:4,class:"mt-8"},Pe={key:5,class:"mt-8"},je={key:0,class:"mt-8"},ze={key:1,class:"mt-8"},qe={key:1},We=_e({__name:"[...slug]",async setup(m){var L,$,B,R,F,U,G,A,V,E,S,H,M,C,N,P,j,z,q,W,K,O,Q;let f,y;const d=Te(),J=ge();$e();const{locale:T}=ve(),{formatDate:Z}=Ie(),ee=be(),e=k(null),D=k(null),h=k(null),te=o=>o.content.properties.galleryPhotos.map(s=>({id:s.id,src:`https://api.newvision.ge/${s.url}`,thumbnail:`https://api.newvision.ge/${s.url}?width=100`})),oe=async o=>{var l;const{data:t,error:s}=await Y(`umbraco/forms/api/v1/definitions/${o}`,{method:"GET",query:{culture:T.value==="en"?"en-US":"ka"},headers:{"Api-Key":"kasrakargibichia"}});s.value||(l=t.value)!=null&&l.id&&(D.value=t.value)},re=async()=>{var s,l,c;const{data:o,error:t}=await Y(`umbraco/delivery/api/v1/content/item/${ee.params.slug.join("/")}`,{method:"GET",query:{expand:"all"}});if(t.value){h.value=t.value;return}e.value=o.value,(c=(l=(s=e.value)==null?void 0:s.properties)==null?void 0:l.form)!=null&&c.id&&await oe(e.value.properties.form.id)};[f,y]=ye(()=>re()),await f,y();const se=x(()=>{var o,t;return Z((t=(o=e.value)==null?void 0:o.properties)==null?void 0:t.publishDate,Le)}),I=x(()=>{var o,t,s,l,c,g,v,b;if(e.value)return(t=(o=e.value.properties)==null?void 0:o.coverImage)!=null&&t.url?d.public.baseURL+((l=(s=e.value.properties)==null?void 0:s.coverImage)==null?void 0:l.url):(g=(c=e.value.properties)==null?void 0:c.image)!=null&&g.url?d.public.baseURL+((b=(v=e.value.properties)==null?void 0:v.image)==null?void 0:b.url):null});he(()=>{setTimeout(()=>{window.scroll({top:0,left:0})},0)});const ne=o=>o.items.map(t=>({title:t.content.properties.title,description:t.content.properties.text.markup,open:!1})),ae=x(()=>{var o,t,s;return(s=(t=(o=e.value)==null?void 0:o.properties)==null?void 0:t.file)==null?void 0:s.map(l=>({fileName:l.name,fileUrl:`https://api.newvision.ge${l.url}`}))}),ie=o=>typeof o=="string"?o.replaceAll('src="/media',`src="${d.public.baseURL}/media`):"";return ke({title:(L=e.value)==null?void 0:L.name,image:(R=(B=($=e.value)==null?void 0:$.properties)==null?void 0:B.image)!=null&&R.url?d.public.baseURL+((G=(U=(F=e.value)==null?void 0:F.properties)==null?void 0:U.image)==null?void 0:G.url):null,ogImage:(E=(V=(A=e.value)==null?void 0:A.properties)==null?void 0:V.image)!=null&&E.url?d.public.baseURL+((M=(H=(S=e.value)==null?void 0:S.properties)==null?void 0:H.image)==null?void 0:M.url):null,twitterImage:(P=(N=(C=e.value)==null?void 0:C.properties)==null?void 0:N.image)!=null&&P.url?d.public.baseURL+((q=(z=(j=e.value)==null?void 0:j.properties)==null?void 0:z.image)==null?void 0:q.url):null,lang:T.value,url:J.value,type:"article",ogType:"article",article:{publishedTime:(K=(W=e.value)==null?void 0:W.properties)==null?void 0:K.publishDate,modifiedTime:(Q=(O=e.value)==null?void 0:O.properties)==null?void 0:Q.updateDate}}),(o,t)=>{const s=ce,l=pe,c=ue,g=me,v=de,b=fe;return a(),i("div",null,[r(e)?(a(),i("div",Re,[t[1]||(t[1]=p("div",{class:"flex flex-col font-notoSansGeorgian"},null,-1)),r(I)?(a(),X(s,{key:0,alt:"",preload:"",src:r(I),class:"w-full object-cover object-center rounded-lg w-full aspect-video"},null,8,["src"])):u("",!0),p("div",Fe,[p("div",Ue,[r(e).properties.contentGrid?(a(),i("div",Ge,[p("span",Ae,w(r(se)),1),p("h1",{class:"blog mt-[18px] font-bold md:text-5xl text-3xl text-black-950",innerHTML:r(e).name},null,8,Ve),(a(!0),i(xe,null,we(r(e).properties.contentGrid.items,(n,le)=>(a(),i("div",{key:"Blog-Grid-"+le,class:"mt-8 md:mt-16 text-xl"},[n.content.contentType==="umbBlockGridDemoRichTextBlock"?(a(),i("div",{key:0,class:"blog-markup blog-markup-new whitespace-pre-wrap break-words max-w-full overflow-hidden",innerHTML:ie(n.content.properties.richText.markup)},null,8,Ee)):n.content.contentType==="event"?(a(),i("div",Se,[_(l,{title:n.content.properties.title,de
1scription:n.content.properties.description.markup,"button-text":n.content.properties.eventLink[0].title},null,8,["title","description","button-text"])])):n.content.contentType==="umbBlockGridDemoHeadlineBlock"?(a(),i("div",He,[p("h2",Me,w(n.content.properties.headline),1)])):n.content.contentType==="gridFileUpload"?(a(),i("div",Ce,[n.content.properties.gridFile[0]?(a(),X(c,{key:0,"file-name":n.content.properties.gridFile[0].name,"file-url":`https://api.newvision.ge${n.content.properties.gridFile[0].url}`},null,8,["file-name","file-url"])):u("",!0)])):n.content.contentType==="gallery"?(a(),i("div",Ne,[_(De,{"gallery-images":te(n)},null,8,["gallery-images"])])):n.content.contentType==="accordion"?(a(),i("div",Pe,[_(g,{"accordion-items":ne(n.content.properties.accordionItem)},null,8,["accordion-items"])])):u("",!0)]))),128)),r(e).properties.form&&r(e).properties.form.form?(a(),i("div",je,[_(v,{item:r(D),deadline:r(e).properties.formDeadline?r(e).properties.formDeadline:null},null,8,["item","deadline"])])):u("",!0),t[0]||(t[0]=p("div",{class:"flex"},null,-1))])):u("",!0),r(e).properties.file&&r(e).properties.file.length>0?(a(),i("div",ze,[_(b,{files:r(ae)},null,8,["files"])])):u("",!0)])])])):r(h)?(a(),i("div",qe,w(r(h)),1)):u("",!0)])}}}),gt=Be(We,[["__scopeId","data-v-4ea3c834"]]);export{gt 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.