PageSourceSearch

https://easycredit-bbl.de/_next/static/chunks/pages/suche/[searchTerm]-3d6c6df0f740eb7d.js

js easycredit-bbl.de collected 2026-10-02 05:09:34 UTC 5,824 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[179],{103:(e,s,a)=>{"use strict";a.r(s),a.d(s,{SearchPage:()=>_,__N_SSP:()=>S,default:()=>P});var l=a(6029),t=a(666),n=a(5759),r=a(7272),i=a(2887),c=a(4381),o=a(895),h=a(4371),u=a(6761),d=a(1460),p=a(8992),x=a(7898),g=a(5729);let m=e=>{let{postPreview:s}=e,a="page"!==s.postType;return(0,l.jsxs)("div",{className:"mt-10","data-testid":"search-result-entry",children:[(0,l.jsx)("p",{className:"text-orange uppercase font-bold mb-2",children:a?"News":"Seiten"}),(0,l.jsx)(x.N,{href:s.permalink,children:(0,l.jsx)("h4",{className:"".concat(a?"":"uppercase"," mb-2.5 text-navy hover:text-navy-secondary font-ultrablack"),children:s.postTitle})}),(0,l.jsx)("p",{className:"mb-12",children:s.postExcerpt}),(0,l.jsx)("hr",{className:"border-gray-light"})]})};var v=a(8535),f=a(1331),y=a(3065),j=a.n(y);let N=[{label:"Alle Ergebnisse",value:"all"},{label:"Nur News",value:"post"},{label:"Nur Seiten",value:"page"}],b=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(""===e)return[];N.find(e=>e.value===s)||(s="all");let l="all"===s?void 0:{postType:s,page:a,resultsPerPage:8};return n.$_.searchPosts(e,l)},w=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;j()(0!==s,"SeasonPlayersPages have 1-based indices");let a={currentPage:s,pageSize:4,search:e.split(/\s+/).filter(Boolean)},l=await n.su.getSeasonPlayers(a);return{players:l.items,hasMorePlayers:l.totalPages>s}};var S=!0;function _(e){var s;let{teamNavigatorData:a,initialPostSearchResults:n,initialSeasonPlayerSearchResults:x,initialSeasonTeams:y,hasInitiallyMoreSeasonPlayerAvailable:j,initialSearchTerm:S,initialPostSearchFilter:_,initialSearchTimestamp:P}=e,k=(0,v.useRouter)(),[E,F]=(0,g.useState)(P),[C,T]=(0,g.useState)(0),[A,H]=(0,g.useState)(1),[L,z]=(0,g.useState)(!1),[D,M]=(0,g.useState)(null!=(s=N.find(e=>e.value===_))?s:N[0]),[B,O]=(0,g.useState)(n),[I,K]=(0,g.useState)(S),[R,X]=(0,g.useState)(8===n.length),[$,q]=(0,g.useState)(j),[G,J]=(0,g.useState)(x),[Q]=(0,g.useState)(y);(0,g.useEffect)(()=>{P!==E&&(O(n),X(8===n.length),F(P),z(!1),J(x),q(j))});let U=async()=>{(I!==S||D.value!==_)&&(z(!0),await (null==k?void 0:k.push("".concat(p.zp,"/").concat(I,"?type=").concat(D.value),void 0,{scroll:!1}))),z(!1)},V=async e=>{z(!0);let s=C+1,a=await b(S,_,s);O(B.concat(a)),T(s),a.length<8&&X(!1),z(!1)},W=async()=>{z(!0);let e=A+1,s=await w(S,e);J(G.concat(s.players)),H(e),q(s.hasMorePlayers)},Y=B.map((e,s)=>(0,l.jsx)(m,{postPreview:e},s));return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.H,{teamNavigatorData:a,children:(0,l.jsxs)("div",{className:"container-responsive relative flex justify-start items-center pt-32 pb-20",children:[(0,l.jsx)("div",{className:"absolute top-4",children:(0,l.jsx)(r.BI,{type:i.Fi.SEARCH})}),(0,l.jsx)("h1",{className:"uppercase text-6xl w-full mb-4 text-white",children:"Suche"})]})}),(0,l.jsxs)("div",{className:"container-responsive relative -mt-28",children:[(0,l.jsx)("div",{className:"bg-gray-silver rounded-lg p-5 mb-15",children:(0,l.jsxs)("div",{className:"flex lg:flex-row flex-col h-full lg:space-x-2.5 space-y-2.5 lg:space-y-0 justify-center lg:items-center bg-opacity-0 relative z-20",children:[(0,l.jsxs)("div",{className:"grow relative",children:[(0,l.jsx)("span",{className:"absolute left-4 top-4",children:(0,l.jsx)(f.A,{className:"h-8 text-navy fill-current"})}),(0,l.jsx)("input",{type:"text",className:"rounded-lg h-15 py-3 pr-2 pl-13 w-full border-gray-light border bg-white font-semibold text-lg text-navy",value:I,placeholder:"Suchbegriff eingeben...",onChange:e=>K(e.target.value),onKeyDown:e=>{"Enter"===e.key&&U()}})]}),(0,l.jsx)("div",{"data-testid":"search-type-selector",className:"flex-none",children:(0,l.jsx)(c.T,{options:N,activeOption:D,onChange:M,className:"w-full sm:w-full md:w-full lg:w-80"})}),(0,l.jsx)(u.l,{"data-testid":"applyFilterButton",onClick:U,isLoading:L,children:"Suchen"})]})}),(0,l.jsx)(t.NF,{}),""!==S&&(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("h3",{className:"uppercase my-8 font-black",children:["Suchbegriff: ",S]})}),0!==G.length&&(0,l.jsx)("div",{className:"alignfull bg-offwhite bg-opacity-30 py-4",children:(0,l.jsxs)("div",{className:"container-responsive px-4",children:[(0,l.jsx)("h3",{className:"uppercase my-8 font-black",children:"Spieler:"}),(0,l.jsx)(d.H,{playersList:G,teams:Q,onLoadMoreClick:W,showLoadMore:$,showPlayerDetails:!0})]})}),Y.length>0&&(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{children:Y})}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h3",{className:"uppercase my-8 font-black",children:"Inhalte:"}),(0,l.jsx)("hr",{className:"border-gray-light"})]}),S&&!Y.length&&(0,l.jsx)("p",{className:"mt-10",children:"Keine Suchergebnisse gefunden"}),(0,l.jsx)("div",{className:"flex justify-center my-16",children:R&&(0,l.jsx)(h.s,{onClick:V,isLoading:L})}),(0,l.jsx)(t.NF,{className:"mb-16"})]})]})}let P=_},895:(e,s,a)=>{"use strict";a.d(s,{H:()=>c});var l=a(6029),t=a(7429),n=a(5145),r=a(5233),i=a(4707);
1function c(e){let{withoutBackground:s,background:a,children:c,teamNavigatorData:o,showAlways:h=!1,className:u="min-h-500px"}=e;return h||r.o.showHeaderAndFooter?(0,l.jsxs)(t.H,{teamNavigatorData:o,className:(0,n.x)(u,!s&&"text-white bg-navy"),showAlways:h,children:[s?null:null!=a?a:(0,l.jsx)(i.A,{className:"bg-transparent text-black fill-current opacity-20 absolute top-0 left-0 w-full h-full pointer-events-none z-0"}),c]}):(0,l.jsx)("div",{})}a(5729)},3967:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/suche/[searchTerm]",function(){return a(103)}])}},e=>{e.O(0,[697,578,636,593,792],()=>e(e.s=3967)),_N_E=e.O()}]);

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.