PageSourceSearch

https://tulodz.pl/_nuxt/C4PpJZzj.js

js tulodz.pl collected 2026-09-24 22:39:06 UTC 5,603 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","./kFDO-5Vb.js","./HeroImage.CqMAn0o4.css","./B4g8dFoE.js","./HeroImageOverlay.37sIHfUw.css","./B6BOj63-.js","./ImageTileOverlay.BN-BtaCs.css","./D9eUBiJ1.js","./ImageTile.BbjNLOZT.css","./Clz2v0Ma.js","./SectionTitle.Dqa-MZgM.css","./Bl4ZNu3Z.js","./NewsListingItem.B3pZK-ds.css","./DOlVM7AS.js","./Pagination.Do8YMEFq.css"])))=>i.map(i=>d[i]);
2import{d as e,a as t,b as s,e as a,c as r,i as o,w as l,l as i,k as c,_ as n,m}from"./Cm2J8wJT.js";import u from"./B4g8dFoE.js";import p from"./Bl4ZNu3Z.js";import h from"./BXJDBrdV.js";import{u as d}from"./vNA1_wLl.js";import{ah as g,L as _,M as P,T as y,U as w,S as j,a4 as v,$ as R,aj as k,J as E,Q as I,O as b,_ as f,V as D}from"./Cw52Jb_b.js";import"./oPzPbeIq.js";import"./Dv5-W7ly.js";const T=e({name:"SearchPage",setup:()=>({store:t(),config:c()}),components:{Ads:k((()=>n((()=>import("./Cm2J8wJT.js").then((e=>e.Q))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),LatestNews:k((()=>n((()=>import("./Cm2J8wJT.js").then((e=>e.V))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),HeroImage:k((()=>n((()=>import("./kFDO-5Vb.js")),__vite__mapDeps([6,0,1,2,3,4,5,7]),import.meta.url))),HeroImageOverlay:k((()=>n((()=>import("./B4g8dFoE.js")),__vite__mapDeps([8,0,1,2,3,4,5,9]),import.meta.url))),NewsList:k((()=>n((()=>import("./Cm2J8wJT.js").then((e=>e.U))),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url))),ImageTileOverlay:k((()=>n((()=>import("./B6BOj63-.js")),__vite__mapDeps([10,0,1,2,3,4,5,11]),import.meta.url))),ImageTile:k((()=>n((()=>import("./D9eUBiJ1.js")),__vite__mapDeps([12,0,1,2,3,4,5,13]),import.meta.url))),SectionTitle:k((()=>n((()=>import("./Clz2v0Ma.js")),__vite__mapDeps([14,0,1,2,3,4,5,15]),import.meta.url))),NewsListingItem:k((()=>n((()=>import("./Bl4ZNu3Z.js")),__vite__mapDeps([16,0,1,2,3,4,5,17]),import.meta.url))),Pagination:k((()=>n((()=>import("./DOlVM7AS.js")),__vite__mapDeps([18,0,1,2,3,4,5,19]),import.meta.url)))},asyncData:async()=>{let e,l;const i=t(),n=c(),m=s(),u=d(),p=u.searchParams.get("page")??1,h=m.params.query,g=([e,l]=a((()=>r("latest-articles",(()=>$fetch("/api/article/list/latest"))))),e=await e,l(),e).data.value,_={headers:{Authorization:n.authKey}},P=`/api/search/${encodeURIComponent(h)}?page=${p}`,y=([e,l]=a((()=>r(`search-${encodeURIComponent(h)}`,(()=>$fetch(P,_))))),e=await e,l(),e).data.value,{title:w,shorttitle:j}=i.settings,v=i&&i.metaDefaults?i.metaDefaults:{meta:[],link:[]};return o({...v,title:`Znajdź na portalu - ${j||w}`,meta:[...v.meta,{name:"robots",content:"noindex, nofollow, max-image-preview:large"}],link:[...v.link]}),{fullQuery:`${decodeURIComponent(u.href).replace(/ /g,"%20")}`,searchPhrase:h,latest:{pending:!1,error:{status:!1,messageClient:"",messageTech:""},list:g.articles},helpers:{pending:!1,currentPage:p,perPage:20,totalRows:y?y.maxRows:0,pageData:y?y.articles:[]},articles:{list:y?y.articles:[]}}},data:()=>({searchPhrase:null,helpers:{pending:!1,currentPage:1,perPage:20,totalRows:0,pageData:null},articles:{pending:!0,error:{status:!1,messageClient:"",messageTech:""},list:[]}}),computed:{settings(){return this.store.settings},categories(){return this.store.categories},user(){return this.store.user}},watch:{"helpers.currentPage":{handler(){const{currentPage:e}=this.helpers,t=`/szukaj/${this.searchPhrase}`;window.location=t+(e>1?`?page=${this.helpers.currentPage}`:"")}}},methods:{getSearchWords(){return this.searchPhrase.split("-").join(" ")},getGridClass:e=>e>0&&e<5?"col-custom-6 col-custom-xl-6 mb-4":"col-custom-12 mb-4"}},"$12FIPxL8fR"),L={class:"category my-3 my-lg-4"},$={class:"container-custom"},O={key:0,class:"row"},A={class:"col-custom-9 col-custom-mid-12 col-custom-mobile-12"},V={class:"category__title mb-4 mb-lg-5 mt-2 mt-lg-3"},x={class:"color-primary"},U={class:"row"},C={key:0},S={key:1},z={key:2},N={key:0,class:"mb-5"},Q={class:"d-custom-block d-custom-mid-none d-custom-mobile-none col-custom-3 col-custom-mid-12 col-custom-mobile-12"},W={class:"col-custom-12 mt-2 mb-5 mt-md-3 mb-md-3"},G={key:1,class:"row"},H={class:"row"},q={class:"col-custom-12"};const B=g(T,[["render",function(e,t,s,a,r,o){const c=u,n=m,d=p,g=l,k=h,T=i;return E(),_("section",L,[P("div",$,[e.articles&&e.articles.list&&e.articles.list.length?(E(),_("div",O,[P("div",A,[P("h2",V,[t[0]||(t[0]=y(" Wyniki wyszukiwania: ")),P("span",x,w(e.getSearchWords())+" "+w(`(${e.helpers.totalRows})`),1)]),P("div",U,[(E(!0),_(j,null,v(e.helpers.pageData,((t,s)=>(E(),_("div",{class:I(e.getGridClass(s))},[0===s?(E(),_("div",C,[R(c,{content:t},null,8,["content"])])):s<5?(E(),_("div",S,[(E(),b(f(t.style),{content:t},null,8,["content"]))])):(E(),_("div",z,[s%5==0?(E(),_("div",N,[s%10==0?(E(),b(n,{key:0,content:{placement:300,height:0,header:!0}}
2)):(E(),b(n,{key:1,content:{placement:200,height:0,header:!0}}))])):D("",!0),R(d,{content:t},null,8,["content"])]))],2)))),256))])]),P("aside",Q,[R(g,{content:e.latest.list.slice(0,5)},null,8,["content"])]),P("div",W,[R(k,{currentPage:parseInt(e.helpers.currentPage),maxRows:e.helpers.totalRows,baseUrl:`${e.config.public.portalUrl}/szukaj/${e.searchPhrase}`},null,8,["currentPage","maxRows","baseUrl"])])])):(E(),_("div",G,t[1]||(t[1]=[P("div",{class:"col-custom-12 text-center my-5"},[P("h2",{class:"category__title d-inline-block py-4"}," Brak wyników :( ")],-1)]))),P("div",H,[P("div",q,[t[2]||(t[2]=P("hr",{class:"divider divider--bold"},null,-1)),R(T,{content:e.latest.list.slice(0,4)},null,8,["content"])])])])])}]]);export{B 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.