PageSourceSearch

https://www.kitzanzeiger.at/_next/static/chunks/6427.5d2f17f1b4c02402.js

js kitzanzeiger.at collected 2026-09-24 23:36:32 UTC 8,843 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6427],{12161:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(95155),n=a(2821),s=a(98710),i=a.n(s);let o=e=>{let{className:t}=e;return(0,r.jsx)("div",{className:(0,n.A)(i().preloader,t),children:(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 200 200",children:[(0,r.jsxs)("radialGradient",{id:"a1",cx:".66",fx:".66",cy:".3125",fy:".3125",gradientTransform:"scale(1.5)",children:[(0,r.jsx)("stop",{offset:"0",stopColor:"#CC071E"}),(0,r.jsx)("stop",{offset:".3",stopColor:"#CC071E",stopOpacity:".9"}),(0,r.jsx)("stop",{offset:".6",stopColor:"#CC071E",stopOpacity:".6"}),(0,r.jsx)("stop",{offset:".8",stopColor:"#CC071E",stopOpacity:".3"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#CC071E",stopOpacity:"0"})]}),(0,r.jsx)("circle",{transformOrigin:"center",fill:"none",stroke:"url(#a1)",strokeWidth:"15",strokeLinecap:"round",strokeDasharray:"200 1000",strokeDashoffset:"0",cx:"100",cy:"100",r:"70",children:(0,r.jsx)("animateTransform",{type:"rotate",attributeName:"transform",calcMode:"spline",dur:"2",values:"360;0",keyTimes:"0;1",keySplines:"0 0 1 1",repeatCount:"indefinite"})}),(0,r.jsx)("circle",{transformOrigin:"center",fill:"none",opacity:".2",stroke:"#CC071E",strokeWidth:"15",strokeLinecap:"round",cx:"100",cy:"100",r:"70"})]})})}},17683:e=>{e.exports={footer:"Footer_footer__te7z8"}},19787:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=({formData:e,url:t})=>{let a=Array.from(e.entries()).reduce((e,[t,a])=>(e.has(t)?e.get(t).push(a):e.set(t,[a]),e),new Map),r=new URLSearchParams;a.forEach((e,t)=>{r.append(t,e.join(","))});let n=new URL(t);return n.search=r,n.href}},54176:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(12115);let n=e=>{(0,r.useEffect)(()=>{let t=()=>{e&&e()};return window.addEventListener("popstate",t),()=>{window.removeEventListener("popstate",t)}},[])}},62656:e=>{e.exports={list:"ListTeaser_list__1LEmx",item:"ListTeaser_item__RG6ZR",title:"ListTeaser_title__9lTYk",teaser:"ListTeaser_teaser___H6VM",content:"ListTeaser_content__YQbsW",button:"ListTeaser_button__Mv9Fi",noResult:"ListTeaser_noResult__Sm9i6"}},85545:e=>{e.exports={pagination:"Pagination_pagination__fBM1A",pages:"Pagination_pages__m3mu1",page:"Pagination_page__V_H68",currentPage:"Pagination_currentPage__LHnc1",icon:"Pagination_icon__qkHj3",iconDisabled:"Pagination_iconDisabled__r5qnW"}},91176:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=e=>{let t=new URL(e);return t.pathname+t.search}},96427:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>S});var r=a(95155),n=a(12115),s=a(20063),i=a(68329),o=a(62874),l=a(4302),c=a(73379),d=a(19787),p=a(91176);let u=function(e,t){let a,r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,s=parseInt(e),i=parseInt(t),o=Math.ceil(parseInt(n)/i);if(o<=5)a=1,r=o;else{let e=Math.floor(2.5);s<=e?(a=1,r=5):s+e>=o?(a=o-5+1,r=o):(a=s-e,r=s+e)}return{pages:Array.from({length:r-a+1},(e,t)=>a+t),hasPreviousPage:s>1,hasNextPage:s<o}};var h=a(54176),m=a(2301),g=a(39219),f=a(2821),v=a(5078),x=a(85545),_=a.n(x);let b=e=>{let{className:t,currentPage:a,hasPreviousPage:n,hasNextPage:s,lang:i,onClick:o,pages:l}=e;return(null==l?void 0:l.length)===1?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)("nav",{className:(0,f.A)(t,_().pagination),"aria-label":"de"===i?"Seitennavigation":"Page navigation",children:[(0,r.jsx)(g.A,{className:(0,f.A)(_().icon,{[_().iconDisabled]:!n}),disabled:!n,onClick:()=>o(parseInt(a)-1),size:"small",type:"button",variant:"outlined","aria-label":"Vorherige Seite",children:(0,r.jsx)(v.A,{file:"
1chevron-left",size:24})}),(0,r.jsx)("ul",{className:_().pages,children:null==l?void 0:l.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(g.A,{className:(0,f.A)(_().page,{[_().currentPage]:parseInt(a)===e}),onClick:()=>o(e),size:"small",type:"button",variant:"outlined","aria-current":parseInt(a)===e?"page":void 0,"aria-label":"Seite ".concat(e),children:e})},e))}),(0,r.jsx)(g.A,{className:(0,f.A)(_().icon,{[_().iconDisabled]:!s}),disabled:!s,onClick:()=>o(parseInt(a)+1),size:"small",type:"button",variant:"outlined","aria-label":"N\xe4chste Seite",children:(0,r.jsx)(v.A,{file:"chevron-right",size:24})})]})};var j=a(17683),w=a.n(j);let y=e=>{let{hasNextPage:t,hasPreviousPage:a,handlePageChange:n,page:s,pages:i}=e;return(0,r.jsx)("div",{className:w().footer,children:(0,r.jsx)(b,{currentPage:s,hasPreviousPage:a,hasNextPage:t,onClick:n,pages:i})})};var k=a(71560),A=a(45197),C=a(37242),N=a(32811),E=a(12161),P=a(62656),L=a.n(P);let S=e=>{let{API_LIST:t,className:a,defaultURLParams:f,fetchedData:v,formRef:x,isLoggedIn:_,isProtected:b,lang:j,orderAboLink:w,page:P,pageSize:S}=e,{data:F,forceFetchFromURL:T,paginationObj:z,submitForm:D}=(e=>{let{api:t,dateFrom:a,dateTo:r,fetchOnStart:s=!1,form:i,page:o=1,pageSize:l=12,pagination:h=!1,serverFetchedData:m={}}=e,[g,f]=(0,n.useState)(m),[v,x]=(0,n.useState)(!0),[_,b]=(0,n.useState)({});(0,n.useEffect)(()=>{s&&j(o)},[]),(0,n.useEffect)(()=>{if(h){let{entries:e}=g,t=Math.ceil(e/parseInt(l)),{pages:a,hasPreviousPage:r,hasNextPage:n}=u(o,l,e);b({countPages:t,hasPreviousPage:r,hasNextPage:n,pages:a})}},[g,o,l,h]);let j=async e=>{try{let n=(e=>{let{api:t,dateFrom:a,dateTo:r,folderNames:n,form:s,page:i,pageSize:o,types:l}=e,c=new FormData(s.current);return c.append("page",i),c.append("pageSize",o),a&&c.append("dateFrom",a),r&&c.append("dateTo",r),(0,d.A)({formData:c,url:t})})({api:t,dateFrom:a,dateTo:r,form:i,page:e,pageSize:l}),{data:s}=await (0,c.A)(n).get();f(s)}finally{x(!1)}};return{forceFetchFromURL:async e=>{let a="".concat(t,"?").concat(null==e?void 0:e.replace(/^\?/,""));f((await (0,c.A)(a).get()).data)},data:g,loading:v,paginationObj:_,refresh:()=>{j(o)},submitForm:async e=>{let t=new FormData(i.current),n=e||1;t.append("page",n),t.append("pageSize",l),a&&t.append("dateFrom",a),r&&t.append("dateTo",r);let s=(0,d.A)({formData:t,url:window.location.href});return await j(n),(0,p.A)(s)}}})({api:t,form:x,page:P,pageSize:S,pagination:!0,serverFetchedData:v}),{entries:R,items:I=[]}=F||{},M=(0,n.useRef)({}),{hasPreviousPage:O,hasNextPage:W,pages:H}=z,q=(0,s.useRouter)(),[U,V]=(0,n.useState)(!1),[B,G]=(0,n.useState)(!1);(0,h.A)(()=>{T(window.location.search||f)}),(0,n.useEffect)(()=>{let e=x.current;return e&&e.addEventListener("submit",Y),()=>{e&&e.removeEventListener("submit",Y)}},[]);let Y=async e=>{"object"==typeof e&&e.preventDefault(),await D(),K()},J=async e=>{let t=await D(e);q.push(t),K()},K=()=>{let e=document.querySelector(".mco-media-list-teaser");e&&setTimeout(()=>{e.scrollIntoView({behavior:"smooth"})},500)},Q=async e=>{let t="".concat("https://www.kitzanzeiger.at/micadoapi","/Micado.WebEngine/Micado.WebEngine.Plugin.Media/RegisterDownload.api?ID=").concat(e),a=await (0,l.A)();try{let e=await fetch(t,{headers:{Authorization:"Bearer ".concat(a)}}),r=await e.json();if((null==r?void 0:r.state)===0&&(null==r?void 0:r.info)){let e=r.info,t=document.createElement("a");t.href=e,document.body.appendChild(t),t.click(),document.body.removeChild(t)}else console.error("error in download request",r)}catch(e){console.error("fetch error",e)}};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("section",{className:a,children:[(0,r.jsx)(i.N,{children:(0,r.jsxs)(o.m.div,{"aria-live":"polite",className:L().list,initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},children:[I.map(e=>{var t;let{fields:a,id:s,media:i,title:o}=e||{};M.current[s]||(M.current[s]=n.createRef());let l=(null==a||null==(t=a.find(e=>{let{title:t}=e;return"als Download verf\xfcgbar"===t}))?void 0:t.value)==="1";return(0,r.jsx)("div",{className:L().item,"data-id":s,children:(0,r.jsxs)(A.A,{background:"#F6F6F4",download:!!l,id:s,lang:j,mediaIdentifiers:{desktop:"ebook",mobile:"ebook",thumbnail:"ebook-thumb"},ref:M.current[s],theme:"dark",onEbookOpen:()=>G(!1),children:[(0,r.jsxs)("button",{className:L().teaser,onClick:()=>(e=>{if(!_&&b)return void V(!0);let t=M.current[e];t&&t.current&&(t.current.open(),G(!0))})(s),type:"button",children:[o&&(0,r.jsx)("div",{className:L().title,dangerouslySetInnerHTML:{__html:o}}),(0,r.jsx)("div",{className:L().image,children:(0,r.jsx)(k.default,{media:i,mediaFormats:{xs:"ebook-teaser"},path:"https://www.kitzanzeiger.at"})})]}),(0,r.jsx)("div",{className:L().content,children:_&&l&&(0,r.jsx)(g.A,{className:L().button,type:"button",onClick:()=>Q(s),children:"Downloaden"})})]})},s)}),(null==I?void 0:I.length)===0&&(0,r.jsx)(m.A,{className:L().noResult,severity:"error",children:"Keine Eintr\xe4ge gefunden"})]},JSON.stringify(F))}),(0,r.jsx)(y,{entries:R,handlePageChange:J,hasNextPage:W,hasPreviousPage:O,lang:j,page:P,pages:H})]}),B&&(0,r.jsx)(E.A,{className:L().preloader}),U&&(0,r.jsx)(N.A,{blur:!0,className:L().overlay,mode:"html",setOpen:V,size:"small",children:(0,r.jsx)(C.A,{lang:j,orderAboLink:w,title:"Einloggen"})})]})}},98710:e=>{e.exports={preloader:"Preloader_preloader__CR56X"}}}]);

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.