PageSourceSearch

https://www.enercity.de/_next/static/chunks/744.ffcb6fb60a668397.js

js enercity.de collected 2026-09-24 19:58:44 UTC 3,715 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[744],{20744:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>u});var r=l(49222),a=l(46730),n=l(20476),o=l(25311),d=l(34449),i=l(77766);function s(e,t,l){return e.slice(t,l).map(e=>e instanceof HTMLElement?e.outerHTML:null).filter(Boolean).join("")}let u=({table:e,...t})=>{let l=(0,n.A)();try{var u;let a,n,c;if(!l&&"string"==typeof e)return null;let m="string"==typeof e?(u=e,(a=new DOMParser().parseFromString(u,"text/html")).querySelectorAll("figure").forEach(e=>{let t=e.querySelector("table");t&&e.replaceWith(t)}),n=Array.from(a.body.childNodes),(c=Array.from(a.querySelectorAll("table"))).map((e,t)=>{let l,r,a,o=n.indexOf(e),d=0===t?s(n,0,o):"",i=n.indexOf(c[t+1]),u=s(n,o+1,-1===i?n.length:i);return{htmlBefore:d,htmlAfter:u,tableData:(l=Array.from(e.querySelectorAll("thead th")).map(e=>e.textContent?.trim()||""),r=Array.from(e.querySelectorAll("tbody tr")).map(e=>Array.from(e.querySelectorAll("th, td")).map(e=>({content:e.innerHTML.trim(),type:e.nodeName.toLowerCase()})).filter(e=>"th"===e.type||"td"===e.type)),a=e.querySelector("caption")?.textContent?.trim()||"",{head:l,body:r,...a&&{caption:a}})}})):e;return m?.map(({htmlBefore:e,htmlAfter:l,tableData:a})=>{if(!a)return null;let n=a.head?.join("")+a.body.join("").substring(0,20);return(0,r.jsxs)(i.Fragment,{children:[e&&(0,r.jsx)(o.default,{children:e}),(0,r.jsx)(d.A,{tableData:a,...t}),l&&(0,r.jsx)(o.default,{children:l})]},n)})}catch(e){return a.v.error(e),null}}},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,l)=>{"use strict";l.d(t,{A:()=>s});var r=l(49222),a=l(83824),n=l(3638),o=l(93690),d=l(32806),i=l.n(d);let s=({tableData:e,layout:t="auto",color:l="blue",alternateColumns:d=!1})=>{let s=e=>(0,o.A)(e.replace("#titel","")),u=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,n.A)(i().base,i()[l],{[i().hasAdditionalHeadline]:u,[i().hasHeadColumn]:c});return(0,r.jsx)("div",{className:m,children:(0,r.jsxs)("table",{className:i()[t],children:[e.caption&&(0,r.jsx)("caption",{children:e.caption}),!!e.head?.length&&(0,r.jsx)("thead",{children:(0,r.jsx)("tr",{className:(0,n.A)({[i().additionalHeadlineRow]:e.head[0]?.includes("#titel"),[i().alternateColumns]:d}),children:e.head.map((e,t)=>(0,r.jsx)("th",{...(0,a.E)(s(e))},t))})}),e.body&&(0,r.jsx)("tbody",{children:e.body.map((e,t)=>{let l=e.map(e=>"string"==typeof e?{content:e,type:"td"}:e);return(0,r.jsx)("tr",{className:(0,n.A)({[i().additionalHeadlineRow]:l[0].content.includes("#titel"),[i().alternateColumns]:d}),children:l.map((e,t)=>(0,r.jsx)(e.type,{children:(0,r.jsx)("div",{...(0,a.E)(s(e.content))})},t))},t)})})]})})}},93690:(e,t,l)=>{"use strict";l.d(t,{A:()=>a});let r={strong:[/\*\*(.+?)(\*\*)/gm,'<strong class="strong-surrogate">$1</strong>'],italic:[/_([^_]+?)(_)/gm,"<em>$1</em>"],underline:[/~([^~]+?)(~)/gm,"<u>$1</u>"],breakLine:[/(\\n)|(\n)/gm,"<br/>"]};function a(e,{breakLineTag:t="br"}={}){let l=Object.values(r).reduce((e,t)=>e.replace(...t),e);return"p"===t?l.split("<br/>").filter(e=>""!==e.trim()).reduce((e,t)=>`${e}<p>${t}</p>`,""):l}}}]);
2//# sourceMappingURL=744.ffcb6fb60a668397.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.