PageSourceSearch

https://korso.pl/_nuxt/RS2cSoQT.js

js korso.pl collected 2026-09-24 09:58:58 UTC 11,578 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cm2J8wJT.js","./Cw52Jb_b.js","./Dropzone.BkW6QGI3.css","./oPzPbeIq.js","./Dv5-W7ly.js","./entry.xg9melRb.css","./B6BOj63-.js","./ImageTileOverlay.BN-BtaCs.css","./D9eUBiJ1.js","./ImageTile.BbjNLOZT.css","./Bl4ZNu3Z.js","./NewsListingItem.B3pZK-ds.css","./CX1ll3KI.js","./ImageListingItem.TkF-zkKx.css","./BVhzHcoI.js","./B628rQtU.js","./DAhWPQ5I.js","./DOlVM7AS.js","./Pagination.Do8YMEFq.css","./DnnFqfvr.js","./SingleArticle.CMwLq38Q.css"])))=>i.map(i=>d[i]);
2import{d as t,a as e,b as s,e as a,c as i,f as o,i as r,j as n,l,k as c,_ as u}from"./Cm2J8wJT.js";import m from"./DAhWPQ5I.js";import{_ as p}from"./CIXxJGYT.js";import g from"./BXJDBrdV.js";import{u as d}from"./vNA1_wLl.js";import{u as h}from"./CxQZZs51.js";import{ah as _,ak as y,L as f,M as $,O as w,V as P,S as v,a4 as k,$ as b,aj as j,J as I,X as A,Q as L,_ as R}from"./Cw52Jb_b.js";import"./oPzPbeIq.js";import"./Dv5-W7ly.js";const D=t({name:"AuthorPage",setup:()=>({store:e(),config:c()}),components:{Ads:j((()=>u((()=>import("./Cm2J8wJT.js").then((t=>t.Q))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),LatestNews:j((()=>u((()=>import("./Cm2J8wJT.js").then((t=>t.V))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),NewsList:j((()=>u((()=>import("./Cm2J8wJT.js").then((t=>t.U))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),ImageTileOverlay:j((()=>u((()=>import("./B6BOj63-.js")),__vite__mapDeps([6,0,1,2,3,4,5,7]),import.meta.url))),ImageTile:j((()=>u((()=>import("./D9eUBiJ1.js")),__vite__mapDeps([8,0,1,2,3,4,5,9]),import.meta.url))),NewsListingItem:j((()=>u((()=>import("./Bl4ZNu3Z.js")),__vite__mapDeps([10,0,1,2,3,4,5,11]),import.meta.url))),ImageListingItem:j((()=>u((()=>import("./CX1ll3KI.js")),__vite__mapDeps([12,0,1,2,3,4,5,13]),import.meta.url))),ImageListingList:j((()=>u((()=>import("./BVhzHcoI.js")),__vite__mapDeps([14,12,0,1,2,3,4,5,13]),import.meta.url))),HtmlBlock:j((()=>u((()=>import("./B628rQtU.js")),__vite__mapDeps([15,0,1,2,3,4,5]),import.meta.url))),AuthorBio:j((()=>u((()=>import("./DAhWPQ5I.js")),__vite__mapDeps([16,1,2]),import.meta.url))),Pagination:j((()=>u((()=>import("./DOlVM7AS.js")),__vite__mapDeps([17,0,1,2,3,4,5,18]),import.meta.url))),SingleArticle:j((()=>u((()=>import("./DnnFqfvr.js")),__vite__mapDeps([19,0,1,2,3,4,5,20]),import.meta.url)))},asyncData:async()=>{var t,n,l,u,m,p,g;let _,y;const f=s(),$=e(),w=c(),P=d();let v=P.searchParams.get("page")?P.searchParams.get("page"):1;const k=f.params.uid;let b={};try{const e=([_,y]=a((()=>i(`author-details-${k}`,(()=>$fetch(`/api/author/${k}?page=${v}&limit=10`))))),_=await _,y(),_).data.value;if(!e||!e.status||200!=e.status)throw o({statusCode:e.status,message:"Autor nie został odnaleziony"});if(null==e.author||!(null==(t=null==e?void 0:e.author)?void 0:t.display_name)&&!(null==(n=null==e?void 0:e.author)?void 0:n.name)){const t=h();return sendRedirect(t,"/",301)}{const{title:t,shorttitle:s}=$.settings;let o=w.public.portalUrl&&""!=w.public.portalUrl?w.public.portalUrl:P.origin;!o||o.startsWith("http://")||o.startsWith("https://")||(o=`https://${o}`);const n=`${o}/autor/${k}`,c=$&&$.metaDefaults?$.metaDefaults:{meta:[],link:[]};let d=e.author;b.author=e.author,b.contentID=k,b.portalUrl=o;const f=e.list;let R=2e3;b.helpers={currentPage:v,perPage:20,totalRows:e.maxRows>R?R:e.maxRows??0,currentRows:f,pageData:f};var j=(null==(l=d.cover)?void 0:l.url)??"",I=s||t,A=e.author.display_name??e.author.name,L=[{name:"name",content:`${A} - ${I}`},{name:"description",content:d.description??`Profil autora ${A} na portalu ${I}, specjalizującego się w lokalnych wiadomościach i analizach.`},{name:"robots",content:j?"index, follow, max-image-preview:large":"noindex, nofollow"},{property:"og:title",content:`${A} - ${I}`},{property:"og:description",content:d.description??`Poznaj profil ${A}, autora artykułów na portalu ${I}.`},{property:"og:image",content:j},{property:"og:url",content:n},{property:"og:type",content:"profile"},{property:"og:site_name",content:`${I}`},{name:"twitter:card",content:"summary_large_image"},{name:"twitter:site",content:`@${I}`.replace(/ /g,"")},{name:"twitter:creator",content:`@${A}`.replace(/ /g,"")},{name:"twitter:title",content:`${A} - ${I}`},{name:"twitter:image",content:j},{name:"twitter:description",content:`${A} - profil autora artykułów na portalu ${I}.`},{name:"twitter:domain",content:w.public.portalUrl}];L=L.concat(c.meta.filter((t=>!L.find((e=>e.name===t.name)))));JSON.stringify({"@context":"https://schema.org","@graph":[{"@type":"NewsMediaOrganization","@id":`https://${$.settings.url}/#organization`,url:`https://${$.settings.url}`,name:$.settings.title,legalName:$.settings.shorttitle,alternateName:"Lokalne Wiadomości",description:$.settings.description,logo:{"@type":"ImageObject","@id":`https://${$.settings.url}/#logo`,url:$.settings.logo,width:$.settings.logo_width??1200,height:$.settings.logo_height??675},sameAs:["###"!==$.settings.facebook?$.settings.facebook:"https://www.facebook.com/"],address:{"@type":"PostalAddress",addressLocality:$.settings.city,addressRegion:$.settings.voivodeship,postalCode:$.settings.postalCode,addressCountry:"PL"}},{"@type":"WebSite","@id":`https://${$.settings.url}/#website`,url:`https://${$.settings.url}`,name:$.settings.title,publisher:{"@id":`https://${$.settings.url}/#organization`}},{"@type":"Person","@id":`${o}/autor/${k}#person`,name:d.display_name||d.name,url:`${o}/autor/${k}`,image:(null==(u=d.cover)?void 0:u.url)||"",description:d.description||`Profil autora ${d.display_name||d.name} na portalu ${I}
2, specjalizującego się w lokalnych wiadomościach i analizach.`,jobTitle:d.subtitle||"Dziennikarz",worksFor:{"@id":`https://${$.settings.url}/#organization`}},{"@type":"ProfilePage","@id":`${o}/autor/${k}`,url:`${o}/autor/${k}`,name:d.display_name||d.name,description:d.description||`Profil autora ${d.display_name||d.name} na portalu ${I}, specjalizującego się w lokalnych wiadomościach i analizach.`,isPartOf:{"@id":`${o}/#website`},primaryImageOfPage:{"@type":"ImageObject","@id":`${o}/autor/${k}#image`,url:(null==(m=d.cover)?void 0:m.url)||""},publisher:{"@id":`${o}/#organization`},mainEntity:{"@id":`${o}/autor/${k}#person`},hasPart:{"@type":"ItemList",itemListElement:b.helpers.pageData.map(((t,e)=>{var s;return{"@type":"ListItem",position:e+1,url:`${o}/${null==(s=t.category)?void 0:s.join("/")}/${t.slug}/${t.id}`}}))}}]});if(r({...c,title:`${A} - Dziennikarz Portalu ${I}`,meta:[...L],link:[...c.link,{rel:"canonical",href:n}],script:[]}),v>100){v=100;const t=h(),e=`${o}/autor/${k}?page=${v}`;return sendRedirect(t,e,301)}b.articles={pending:!1,error:{status:!1,messageClient:"",messageTech:""},list:f};const D=([_,y]=a((()=>i("latest-articles",(()=>$fetch("/api/article/list/latest"))))),_=await _,y(),_).data.value;if(D.status&&200==D.status&&(b.latest={pending:!1,error:{status:!1,messageClient:"",messageTech:""},list:D.articles}),(null==(g=null==(p=null==D?void 0:D.articles)?void 0:p.list)?void 0:g.length)<=0){const t=h(),e=`${o}/autor/${k}`;return sendRedirect(t,e,301)}}}catch(R){h()}return b},data:()=>({articles:!1,author:null,portalUrl:"",helpers:{pending:!1,currentRows:20,currentPage:1,perPage:20,totalRows:100,pageData:null,isMobile:!1,thumbnails:null,modal:!0,list:[]},latest:{pending:!0,error:{status:!1,messageClient:"",messageTech:""},list:[]}}),computed:{settings(){return this.store.settings},ads(){return this.store.ads},sidebarConfig(){if(!(this.store&&this.store.settings&&this.store.settings.sidebar_config))return null;try{return this.store.settings.sidebar_config}catch(t){return null}},categories(){return this.store.categories},user(){return this.store.user},rows(){return this.helpers.currentRows},placements(){return this.store&&this.store.placements}},watch:{"helpers.currentPage":{handler(){const{currentPage:t,perPage:e}=this.helpers,s=t*e;this.helpers.pageData=this.articles.list.slice(s-this.helpers.perPage,s),window.scrollTo(0,0)}}},mounted(){window&&(this.helpers.isMobile=window.innerWidth<1290)},methods:{getSlicedArticlesForQuery(t,e,s=!1){if(!e||!t)return[];const{skip:a,limit:i,query:o,category:r}=e,n=a,l=a+(i||1);let c=[];if(o)if("category"==o){const e=r.split(":");c=t.filter((t=>t[e[0]].includes(e[2])))}else if("tag"==o)e.hasOwnProperty("selectedTag")&&(c=t.filter((t=>t.tags.includes(e.selectedTag))));else{const e=o.split(":"),s="true"===e[2]||"false"===e[2]?"true"===e[2]:decodeURIComponent(e[2]),a={key:e[0],condition:e[1],value:1==s?1:0==s?0:s};c=t.filter((t=>"=="===a.condition?t[a.key]===a.value:t[a.key].includes(a.value)))}else c=t.filter((t=>!(t.featured||t.locked||t.premium||t.recommended||t.sponsored)));const u=c.slice(n,l);return s?u[0]:u},isSkyContainer:t=>t&&t.code&&t.code.indexOf("wtg__sky")>-1}},"$cjVhbD35Wu"),E={itemscope:"",itemtype:"https://schema.org/Article"},O={class:"category my-3 my-lg-4"},T={class:"container-custom"},z={class:"row"},V={class:"col-custom-12 text-center"},C={class:"row"},S={class:"col-custom-9 col-custom-mid-12 col-custom-mobile-12"},x={class:"row"},U={class:L(["col-custom-12","mb-4"])},N={class:"col-custom-12 mt-2 mb-5 mt-md-3 mb-md-3"},Q={class:"d-custom-block col-custom-3 col-custom-mid-12 col-custom-mobile-12"},W={class:"row"},B={class:"col-custom-12"};const F=_(D,[["render",function(t,e,s,a,i,o){const r=n,c=m,u=p,d=y("SingleArticle"),h=g,_=l;return I(),f("section",E,[$("section",O,[$("div",T,[$("div",z,[$("div",V,[t.placements?(I(),w(r,{key:0,placement:t.placements.category.slot_under_logo},null,8,["placement"])):P("",!0)])]),$("div",C,[$("div",S,[t.author?(I(),w(c,{key:0,author:t.author},null,8,["author"])):P("",!0),e[0]||(e[0]=$("div",{class:"row"},[$("div",{class:"authorPage__title pt-3 pb-3 col-custom-12"},"Zobacz inne teksty tego autora / autorki:")],-1)),$("div",x,[(I(!0),f(v,null,k(t.helpers.pageData,((e,s
2)=>(I(),f("div",U,[s%4==0&&t.settings&&t.settings.programmatic&&t.ads?(I(),w(u,{key:0},{default:A((()=>[b(r,{placement:t.placements.category["slot_cat_"+(s/4+1)]},null,8,["placement"])])),_:2},1024)):P("",!0),b(d,{content:e,featured:(s+1)%2==0},null,8,["content","featured"])])))),256)),$("div",N,[b(h,{currentPage:parseInt(t.helpers.currentPage),maxRows:parseInt(t.helpers.totalRows),perPage:parseInt(t.helpers.perPage),baseUrl:`${t.portalUrl}/autor/${t.contentID}`},null,8,["currentPage","maxRows","perPage","baseUrl"])])])]),$("aside",Q,[t.sidebarConfig?(I(!0),f(v,{key:0},k(t.sidebarConfig,((e,s)=>(I(),f("div",{class:L(["mb-3",t.isSkyContainer(e.config)?"sky__container":""])},["DynamicAd"===e.type&&t.ads&&t.settings.programmatic?(I(),w(R(e.type),{key:0,content:e.config},null,8,["content"])):P("",!0),e&&e.config&&"List"===e.type?(I(),w(R(e.config.type||"NewsList"),{key:1,content:t.getSlicedArticlesForQuery(t.latest.list,e.config)},null,8,["content"])):P("",!0),e&&e.config&&"Article"===e.type?(I(),w(R("ImageTileOverlay"),{key:2,content:t.getSlicedArticlesForQuery(t.latest.list,e.config,!0)},null,8,["content"])):P("",!0),e&&e.config&&"Advert"===e.type?(I(),w(R("Ads"),{key:3,content:e.config},null,8,["content"])):P("",!0),e&&e.config&&"HtmlBlock"===e.type?(I(),w(u,{key:4},{default:A((()=>[(I(),w(R("HtmlBlock"),{content:e.config},null,8,["content"]))])),_:2},1024)):P("",!0),e&&e.config&&"AdPlacement"===e.type?(I(),w(u,{key:5},{default:A((()=>[b(r,{placement:t.placements[e.config.slot_view][e.config.slot_id]},null,8,["placement"])])),_:2},1024)):P("",!0)],2)))),256)):P("",!0)])]),$("div",W,[$("div",B,[e[1]||(e[1]=$("hr",{class:"divider--bold"},null,-1)),b(_,{content:t.latest.list.slice(0,4)},null,8,["content"])])])])])])}]]);export{F 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.