PageSourceSearch

https://www.mogo.ee/_nuxt/BMN9owY-.js

js mogo.ee collected 2026-10-01 15:21:55 UTC 4,307 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`07e8b23`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:web20-front":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9f01b744-01fa-4136-97c1-06a98d3d50e6`,e._sentryDebugIdIdentifier=`sentry-dbid-9f01b744-01fa-4136-97c1-06a98d3d50e6`)}catch{}})();import{Lt as e}from"./KApEwNia.js";import{A as t,D as n,F as r,Ft as i,I as a,O as o,Ot as s,Qt as c,R as l,Tn as u,i as d,j as f,k as p,lt as m,mt as h,on as g,ot as _,q as v,x as y}from"./_GBHlJZO.js";import{n as b}from"./Ckg72f8W.js";import{P as x}from"#entry";import{t as S}from"./CmXBbMf12.js";import{n as C}from"./CcBSbrPr2.js";import{t as w}from"./Dpg8VQ962.js";import{t as T}from"./BElvKXRg.js";import{t as E}from"./D-g01IQc2.js";import{t as D}from"./DqCQ-jJS.js";import{t as O}from"./YgnNH1Tg2.js";v(),i(),g();var k={class:`group/carousel relative`},A={class:`flex items-start gap-4 sm:gap-6`},j=[`src`],M={class:`flex items-center justify-between`},N={key:0,class:`rounded-lg bg-ds2-surface-decor-blue-subtle px-2 py-1 text-ds2-caption text-ds2-text-primary`},P={class:`text-ds2-caption text-ds2-text-secondary`},F={class:`line-clamp-2 min-h-12 text-ds2-subtitle-medium text-ds2-text-primary group-hover:underline sm:min-h-14`},I=[`innerHTML`],L={class:`text-ds2-caption text-ds2-text-secondary`},R=[`aria-label`,`disabled`],z=[`aria-label`,`disabled`],B={key:0,class:`flex justify-start pt-6 sm:justify-center sm:pt-10`},V=Object.assign(l({__name:`MogoNewsV2`,props:{section:{}},setup(i){let l=x(),{t:g}=b(),[v,V]=d({loop:!1,align:`start`}),{scrollPrev:H,scrollNext:U,canScrollPrev:W,canScrollNext:G,updateAvailability:K}=O(V),q=n(()=>i.section.articles.length>3);_(()=>{K()});let J=n(()=>l(`news`));function Y(e){return D(e)}return(n,l)=>{let d=E,_=w,b=S,x=C,D=T;return m(),p(D,null,{default:s(()=>[a(d,{title:i.section.title,description:i.section.description},null,8,[`title`,`description`]),o(`div`,k,[o(`div`,{ref_key:`emblaRef`,ref:v,class:`-mx-4 overflow-hidden px-4 sm:mx-0 sm:px-0`},[o(`div`,A,[(m(!0),f(y,null,h(i.section.articles,e=>(m(),p(_,{key:e.id,to:`news-single-post-${e.id}`,class:`group flex w-[300px] shrink-0 grow-0 basis-[300px] flex-col gap-3 sm:w-auto sm:basis-[calc((100%-24px)/2)] lg:basis-[calc((100%-48px)/3)]`},{default:s(()=>[o(`img`,{src:e.image,alt:``,class:`h-59 w-full rounded-2xl object-cover`,loading:`lazy`},null,8,j),o(`div`,M,[e.tags[0]?(m(),f(`span`,N,u(e.tags[0]),1)):t(``,!0),o(`span`,P,u(e.read_time_minutes)+` `+u(c(g)(`news.min_read`)),1)]),o(`h3`,F,u(e.title),1),o(`p`,{class:`line-clamp-2 text-ds2-body text-ds2-text-secondary`,innerHTML:e.excerpt},null,8,I),o(`p`,L,u(c(g)(`news.published`))+`: `+u(Y(e.published_at)),1)]),_:2},1032,[`to`]))),128))])],512),c(q)?(m(),f(y,{key:0},[o(`button`,{type:`button`,"aria-label":c(g)(`common.previous`),class:`absolute left-2 top-[94px] z-10 hidden size-12 cursor-pointer items-center justify-center rounded-full bg-white/95 text-ds2-text-primary opacity-0 shadow-[0_2px_8px_0_rgba(0,0,0,0.18)] transition-opacity group-hover/carousel:opacity-100 disabled:text-ds2-text-disabled lg:flex`,disabled:!c(W),onClick:l[0]||=(...e)=>c(H)&&c(H)(...e)},[a(b,{name:`lucide:arrow-left`,class:`size-8`})],8,R),o(`button`,{type:`button`,"aria-label":c(g)(`common.next`),class:`absolute right-2 top-[94px] z-10 hidden size-12 cursor-pointer items-center justify-center rounded-full bg-white/95 text-ds2-text-primary opacity-0 shadow-[0_2px_8px_0_rgba(0,0,0,0.18)] transition-opacity group-hover/carousel:opacity-100 disabled:text-ds2-text-disabled lg:flex`,disabled:!c(G),onClick:l[1]||=(...e)=>c(U)&&c(U)(...e)},[a(b,{name:`lucide:arrow-right`,class:`size-8`})],8,z)],64)):t(``,!0)]),c(J)?(m(),f(`div`,B,[a(x,{variant:`secondary`,onClick:l[2]||=t=>(`navigateTo`in n?n.navigateTo:c(e))(c(J))},{default:s(()=>[r(u(i.section.cta.title),1)]),_:1})])):t(``,!0)]),_:1})}}}),{__name:`MogoNewsV2`});export{V 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.