PageSourceSearch

https://www.enercity-erneuerbare.de/_next/static/chunks/424.1a85866c758a462b.js

js enercity-erneuerbare.de collected 2026-10-08 06:46:58 UTC 8,137 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[424],{8868:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var n=a(77766);let l=(e=991)=>{let[t,a]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{{let t=()=>{a(window.innerWidth<e)};return t(),window.addEventListener("resize",t,{passive:!0}),()=>{window.removeEventListener("resize",t)}}},[e]),t}},11701:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var n=a(49222),l=a(8868),r=a(84752),s=a(3638),i=a(77766),o=a(19792),u=a(72568),d=a.n(u);let c=({items:e,initialItem:t,alignNavItems:a="left",noShadow:u=!1})=>{let c=(0,i.useMemo)(()=>e.map(e=>e.navItem),[e]),m=(0,i.useMemo)(()=>e.map(e=>e.content),[e]),b=(0,i.useMemo)(()=>c.map(()=>i.createRef()),[c]),h=(0,i.useRef)(null),v=(0,i.useMemo)(()=>t&&e.includes(t)?e.indexOf(t):0,[]),[p,f]=(0,i.useState)(v),g=(0,i.useRef)(p),[x,N]=(0,i.useState)(0),T=(0,l.A)(),j=m.find((e,t)=>t===p&&e),[y,A]=(0,i.useState)(!1),[w,C]=(0,i.useState)(!1);(0,i.useEffect)(()=>{N(b[p].current?.offsetWidth??0)},[b,p]);let E=(0,i.useCallback)(e=>e?b[e].current?.offsetLeft??0:b[p].current?.offsetLeft??0,[b,p]);(0,i.useEffect)(()=>{if(h.current&&(!T||t))if(0===p)h.current.scrollLeft=0;else if(c.length-1===p)h.current.scrollLeft=0x3b9ac9ff;else{let e=b[p].current?.offsetWidth??0;h.current.scrollLeft=T?E(p):E(p)-.25*e}},[E,T,b,c.length,p,t]);let I=(0,i.useCallback)(()=>{A(!h.current||h.current?.scrollWidth<=Math.ceil(h.current?.scrollLeft+h.current?.getBoundingClientRect().width)),C(h.current?.scrollLeft===0)},[]);(0,i.useEffect)(()=>{let e,t=t=>{clearTimeout(e),e=setTimeout(()=>{I(),T&&b.forEach((e,t)=>{if(h.current&&e.current){let{x:a,width:n}=e.current.getBoundingClientRect(),{x:l,width:r}=h.current.getBoundingClientRect(),s=l+r/2;a<=s&&a+n>=s&&(g.current=p,f(t))}})},100)},a=h.current;return a&&(a.addEventListener("scroll",t),I()),()=>{a&&a.removeEventListener("scroll",t)}},[I,b,T,p]);let S=(0,r.pn)(j,{from:{transform:`translateX(${g.current<p?"":"-"}${T?18:36}px)`,opacity:0,position:"relative"},enter:{transform:"translateX(0px)",opacity:1},leave:{transform:`translateX(${g.current<p?"-":""}${T?18:36}px)`,opacity:0,position:"absolute"},config:{duration:250,...r.$W.gentle},trail:250,order:["leave","enter","update"]}),k=c.map((e,t)=>(0,n.jsxs)("button",{ref:b[t],className:(0,s.A)(d().tabNavItem,{[d().tabNavItemSelected]:t===p}),onClick:e=>{e.preventDefault(),e.stopPropagation(),g.current=p,f(t)},children:[e.icon&&(0,n.jsx)("div",{className:d().tabNavItemIcon,children:(0,n.jsx)(o.default,{variant:e.icon,size:"iconSize24",isOutlined:!1})}),(0,n.jsx)("div",{className:d().tabNavItemHeadline,children:e.headline})]},t));return(0,n.jsxs)("div",{className:(0,s.A)(d().tabs,{[d().tabsNoShadow]:u}),children:[(0,n.jsxs)("div",{className:d().tabNavWrapper,children:[(0,n.jsxs)("div",{className:(0,s.A)(d().tabNav,{[d().tabNavAlignRight]:"right"===a}),ref:h,tabIndex:-1,children:[k,(0,n.jsx)("div",{className:d().tabBar,style:{left:`${E()}px`,width:x},role:"none"})]}),(0,n.jsx)("button",{type:"button","aria-label":"Zeige vorherigeren Tab",className:(0,s.A)(d().navButton,d().prev),onClick:()=>{T&&(g.current=p,f(e=>e<=0?c.length-1:e-1)),h.current?.scrollBy({left:-(b[p-1]?.current?.offsetWidth??100),top:0})},disabled:w,children:(0,n.jsx)(o.default,{variant:"action/chevron-left",size:"iconSize24",isOutlined:!0})}),(0,n.jsx)("button",{type:"button","aria-label":"Zeige n\xe4chsten Tab",className:(0,s.A)(d().navButton,d().next),onClick:()=>{T&&(g.current=p,f(e=>(e+1)%c.length)),h.current?.scrollBy({left:b[p+1]?.current?.offsetWidth??100,top:0})},disabled:y,children:(0,n.jsx)(o.default,{variant:"action/chevron-right",size:"iconSize24",isOutlined:!0})})]}),(0,n.jsx)("div",{className:d().tabContent,children:S(({position:e,...t},a)=>(0,n.jsx)(r.CS.div,{style:{position:e,...t},className:d().tabContentAnimationWrapper,children:a}))})]})}},32806:e=>{e.exports={base:"Table-module-base",hasAdditionalHeadline:"Table-module-has-additional-headline",additionalHeadlineRow:"Table-module-additional-headline-row",hasHeadColumn:"Table-module-has-head-column",auto:"Table-module-auto",fixed:"Table-module-fixed",alternateColumns:"Table-module-alternate-columns",blue:"Table-module-blue",red:"Table-module-red",green:"Table-module-green",violet:"Table-module-violet",orange:"Table-module-orange",surrogate:"Table-module-surrogate"}},34449:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var n=a(49222),l=a(83824),r=a(3638),s=a(93690),i=a(32806),o=a.n(i);let u=({tableData:e,layout:t="auto",color:a="blue",alternateColumns:i=!1})=>{let u=e=>(0,s.A)(e.replace("#titel","")),d=e.body.some(e=>"string"==typeof e[0]?e[0].includes("#titel"):e[0].content.includes("#titel"))||!!e.head&&e.head[0]?.includes("#titel"),c="string"!=typeof e.body[0][0]&&"th"===e.body[0][0].type,m=(0,r.A)(o().base,o()[a],{[o().hasAdditionalHeadline]:d,[o().hasHeadColumn]:c});return(0,n.jsx)("div",{className:m,children:(0,n.jsxs)("table",{className:o()[t],children:[e.caption&&(0,n.jsx)("caption",{children:e.caption}),!!e.head?.length&&(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{className:(0,r.A)({[o().additionalHeadlineRow]:e.head[0]?.includes("#titel"),[o().alternateColumns]:i}),children:e.head.map((e,t)=>(0,n.jsx)("th",{...(0,l.E)(u(e))},t))})}),e.body&&(0,n.jsx)("tbody",{children:e.body.map((e,t)=>{let a=e.map(e=>"string"==typeof e?{content:e,type:"td"}:e);return(0,n.jsx)("tr",{className:(0,r.A)({[o().additionalHeadlineRow]:a[0].content.includes("#titel"),[o().alternateColumns]:i}),children:a.map((e,t)=>(0,n.jsx)(e.type,{children:(0,n.jsx)("div",{...(0,l.E)(u(e.content))})},t))},t)})})]})})}},40424:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>v});var n=a(49222),l=a(52640),r=a(46730),s=a(83195);function i(e){let t=["Datum","Einlagerung (kWh)","Auslagerung (kWh)","Arbeitsgasvolumen F\xfcllstand (kWh)"];if(!e)return;let a=e.split("\r\n").filter(e=>""!==e).slice(3).map(e=>{let a=e.split(";");return a.splice(1,4),t.map((e,t)=>{let n=a[t];
1return n?isNaN(Number(n))?n:Number(n).toLocaleString("de-DE"):""})});return{head:t,body:a}}var o=a(34449),u=a(11701);let d=({currentMonthData:e,lastMonthData:t})=>{let a={navItem:{headline:"Aktueller Monat"},content:e?(0,n.jsx)(o.A,{tableData:e,color:"surrogate",layout:"auto"}):null},l={navItem:{headline:"Letzter Monat"},content:t?(0,n.jsx)(o.A,{tableData:t,color:"surrogate",layout:"auto"}):null};return(0,n.jsx)(u.A,{items:[l,a],initialItem:a,alignNavItems:"right",noShadow:!0})};var c=a(99835),m=a(25527);let b="https://assets.aws-prod.enercity.de/gasstoragelevel",h={lastMonth:`${b}/eSG-vormonat.txt`,currentMonth:`${b}/eSG-vorlaeufig.txt`},v=()=>{var e,t;let{data:a,isError:o,isPending:u}=(e=h.currentMonth,t=h.lastMonth,(0,s.I)({queryKey:["esg-movement-data"],queryFn:async()=>{try{let[a,n]=await Promise.all([l.q4(e),l.q4(t)]);return{currentMonthData:i(a),lastMonthData:i(n)}}catch(e){r.v.log("getEsgMovementData",e)}}}));return o?(0,n.jsx)(c.A,{children:"Die Komponente konnte nicht angezeigt werden"}):u?(0,n.jsx)(m.A,{handleEnterFrame:0}):(0,n.jsx)(d,{...a})}},72568:e=>{e.exports={tabs:"Tabs-module-tabs",tabsNoShadow:"Tabs-module-tabs-no-shadow",tabNav:"Tabs-module-tab-nav",tabNavAlignRight:"Tabs-module-tab-nav-align-right",tabNavItem:"Tabs-module-tab-nav-item",tabNavItemIcon:"Tabs-module-tab-nav-item-icon",tabNavItemHeadline:"Tabs-module-tab-nav-item-headline",tabNavItemSelected:"Tabs-module-tab-nav-item-selected",tabNavMobile:"Tabs-module-tab-nav-mobile",tabBar:"Tabs-module-tab-bar",tabContent:"Tabs-module-tab-content",tabContentAnimationWrapper:"Tabs-module-tab-content-animation-wrapper",tabNavWrapper:"Tabs-module-tab-nav-wrapper",navButton:"Tabs-module-nav-button",next:"Tabs-module-next",prev:"Tabs-module-prev"}},93690:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let n={strong:[/\*\*(.+?)(\*\*)/gm,'<strong class="strong-surrogate">$1</strong>'],italic:[/_([^_]+?)(_)/gm,"<em>$1</em>"],underline:[/~([^~]+?)(~)/gm,"<u>$1</u>"],breakLine:[/(\\n)|(\n)/gm,"<br/>"]};function l(e,{breakLineTag:t="br"}={}){let a=Object.values(n).reduce((e,t)=>e.replace(...t),e);return"p"===t?a.split("<br/>").filter(e=>""!==e.trim()).reduce((e,t)=>`${e}<p>${t}</p>`,""):a}}}]);
2//# sourceMappingURL=424.1a85866c758a462b.js.map

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.