PageSourceSearch

https://kids.org.pl/_next/static/chunks/pages/projects-a7f20deee5548100.js

js kids.org.pl collected 2026-10-07 02:59:10 UTC 12,679 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[327],{7268:function(e,t,n){"use strict";var i=n(2109),r=n(4230);i({target:"String",proto:!0,forced:n(3429)("small")},{small:function(){return r(this,"small","","")}})},7152:function(e,t,n){"use strict";var i=n(1664),r=n(500),o=n(7379),a=n(4680),s=n(1786),l=n(4914),c=n(8932),d=n(5893),u=o.default.h5.withConfig({displayName:"ImageTile__Title",componentId:"sc-1ust3ql-0"})(["font-family:Inter;font-weight:600;color:",";margin-top:0.5rem;min-height:2.5em;white-space:pre-wrap;"],a.r.palette.grayScale.gray900),p=o.default.div.withConfig({displayName:"ImageTile__TileContainer",componentId:"sc-1ust3ql-1"})(["padding-bottom:",";&:hover{box-shadow:20px 40px 60px rgba(0,0,0,0.08);text-decoration:none;","{color:",";}}"],(0,s.ht)(10),u,a.r.palette.brand.primary500),h=o.default.img.withConfig({displayName:"ImageTile__Image",componentId:"sc-1ust3ql-2"})(["width:100%;display:block;margin-bottom:",";max-height:",";object-fit:cover;"],(0,s.ht)(8),(0,s.ht)(260)),f=o.default.div.withConfig({displayName:"ImageTile__ImageWrapper",componentId:"sc-1ust3ql-3"})(["position:relative;"]),m=(0,o.default)(c.Pm).withConfig({displayName:"ImageTile__Label",componentId:"sc-1ust3ql-4"})(["position:absolute;z-index:10;top:",";left:",";padding:"," ",";color:",";background-color:",";"],(0,s.ht)(8),(0,s.ht)(8),(0,s.ht)(4),(0,s.ht)(8),a.r.palette.grayScale.white,a.r.palette.brand.secondary500);t.Z=function(e){var t=e.className,n=e.title,o=e.image,a=e.label,s=e.children,c=e.href,v=e.asHref,g=(0,d.jsxs)(p,{className:"col-md-4".concat(t?" ".concat(t):""),as:c?"a":void 0,children:[(0,d.jsx)(l.Z,{bottomRight:!0,size:40,children:(0,d.jsxs)(f,{children:[(0,d.jsx)(h,{src:o,alt:"image"}),a&&(0,d.jsx)(m,{children:a})]})}),n&&(0,d.jsx)(u,{children:(0,d.jsx)(r.Z,{lines:2,ellipsis:(0,d.jsx)("span",{children:"..."}),children:n})}),s]});return c?(0,d.jsx)(i.default,{href:c,as:v,passHref:!0,children:g}):g}},5762:function(e,t,n){"use strict";n(1249);var i=n(4623),r=n(726),o=n(568),a=n(6881),s=n(2579),l=n(8932),c=(n(7294),n(3155)),d=n(7379),u=n(511),p=n(4680),h=n(1786),f=n(6543),m=n(1209),v=n(5893),g=(0,d.default)(s.n).withConfig({displayName:"SupportsUs__LastTile",componentId:"sc-1i7kp00-0"})(["display:block;background-color:",";"],(0,f.E)(p.r.palette.brand.primary500,.1)),y=d.default.h5.withConfig({displayName:"SupportsUs__CanHelp",componentId:"sc-1i7kp00-1"})(["color:",";@media (max-width:","){font-size:",";line-height:",";}"],p.r.palette.grayScale.black,u.E.sm,(0,h.ht)(16),(0,h.ht)(20)),j=d.default.div.withConfig({displayName:"SupportsUs__SeeHow",componentId:"sc-1i7kp00-2"})(["display:flex;align-items:center;justify-content:space-between;"]),x=(0,d.default)(l.Pm).withConfig({displayName:"SupportsUs__Text",componentId:"sc-1i7kp00-3"})(["margin:0;color:",";@media (max-width:","){font-size:",";}"],p.r.palette.brand.primary500,u.E.sm,(0,h.ht)(12));t.Z=function(e){var t=e.companies;return(0,v.jsxs)(r.Z,{children:[(0,v.jsx)(o.Z,{extras:(0,v.jsx)(i.Z,{href:"/partners",children:"Zobacz wszystkie firmy"}),children:"Wspieraj\u0105 nas"}),(0,v.jsxs)(s.Z,{children:[t.map((function(e,t){return(0,v.jsx)(m.Z,{company:e},t)})),(0,v.jsxs)(g,{href:c._.other.partners.to,children:[(0,v.jsx)(y,{children:"Twoja firma mo\u017ce nam pom\xf3c?"}),(0,v.jsxs)(j,{children:[(0,v.jsx)(x,{children:"Dowiedz sie jak"}),(0,v.jsx)(a.G8,{})]})]})]})]})}},2978:function(e,t,n){"use strict";var i=n(7152),r=n(6923),o=n(5833),a=(n(7294),n(7379)),s=n(1786),l=n(3121),c=n(5893),d=(0,a.default)(i.Z).withConfig({displayName:"ProjectTile__ProjectTileContainer",componentId:"e3732h-0"})(["margin-bottom:",";"],(0,s.ht)(20));t.Z=function(e){var t,n,i,a,s=e.project,u=s.raised_money&&s.project_goal?s.raised_money/s.project_goal:0;return(0,c.jsx)(d,{title:s.title?o.RichText.asText(s.title):void 0,image:null!==(t=null===(n=s.main_image)||void 0===n?void 0:n.url)&&void 0!==t?t:"",asHref:(null===(i=s._meta)||void 0===i?void 0:i.uid)?"/projects/".concat(s._meta.uid):void 0,href:(null===(a=s._meta)||void 0===a?void 0:a.uid)?"/projects/[projectId]":void 0,children:(0,c.jsx)(r.Z,{small:!0,dark:!0,progress:u,info:s.raised_money?"".concat((0,l.l)(s.raised_money)," z\u0142 zebrane"):void 0,secondaryInfo:s.donations_count?"".concat(s.donations_count," wspieraj\u0105cych"):void 0})})}},2862:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return j},default:function(){return x}});n(1249),n(7042);var i=n(8785),r=n(2978),o=n(726),a=n(5762),s=n(9008),l=(n(7294),n(4051)),c=n(7379),d=n(4680),u=n(1664),p=n(5893),h=c.default.h2.withConfig({displayName:"StatusFilter__Title",componentId:"akp3fm-0"})(["margin-bottom:2rem;"]),f=c.default.div.withConfig({displayName:"StatusFilter__StatusWrapper",componentId:"akp3fm-1"})(["display:flex;>:not(:first-child){margin-left:1rem;}"]),m=c.default.a.withConfig({displayName:"StatusFilter__Status",componentId:"akp3fm-2"})(["padding:1rem 1.5rem;text-decoration:none;background:",";color:",";font-size:1.25rem;font-weight:600;border-radius:2px;&:hover{color:",";text-decoration:none;}"],(function(e){return e.active?d.r.palette.brand.primary500:"white"}),(function(e){return e.active?"white":d.r.palette.brand.primary500}),(function(e){return e.active?"white":d.r.palette.brand.primary500})),v=function(e){var t=e.status;return(0,p.jsxs)("div",{children:[(0,p.jsx)(h,{children:"Projekty"}),(0,p.jsxs)(f,{children:[(0,p.jsx)(u.default,{href:"/projects",passHref:!0,children:(0,p.jsx)(m,{active:"in_progress"===t,children:"Trwaj\u0105ce projekty"})}),(0,p.jsx)(u.default,{href:"/projects?completed=true",passHref:!0,children:(0,p.jsx)(m,{active:"completed"===t,children:"Sukcesy"})})]})]})},g=n(1163),y=c.default.div.withConfig({displayName:"projects__Root",componentId:"sc-63djaa-0"})([""]),j=!0,x=function(e){var t=e.supporters,n=e.mainProjects,c=e.f
1inishedProjects,d=e.ongoingProjects,u="true"===(0,g.useRouter)().query.completed,h=u?c:d;return(0,p.jsxs)(y,{children:[(0,p.jsx)(s.default,{children:(0,p.jsx)("title",{children:"Fundacja K.I.D.S. - Projekty"})}),(0,p.jsx)(o.Z,{children:(0,p.jsx)(v,{status:u?"completed":"in_progress"})}),!u&&n.map((function(e,t){var n,r,a,s;return(0,p.jsx)(o.Z,{children:(0,p.jsx)(i.Z,{project:e,subHeader:"G\u0142\xf3wny projekt",asHref:(null===(a=e._meta)||void 0===a?void 0:a.uid)?"/projects/".concat(e._meta.uid):void 0,href:(null===(s=e._meta)||void 0===s?void 0:s.uid)?"/projects/[projectId]":void 0})},null!==(n=null===(r=e._meta)||void 0===r?void 0:r.id)&&void 0!==n?n:t)})),(0,p.jsx)(o.Z,{children:(0,p.jsx)(l.Z,{children:h.slice(0,3).map((function(e,t){var n,i;return(0,p.jsx)(r.Z,{project:e},null!==(n=null===(i=e._meta)||void 0===i?void 0:i.id)&&void 0!==n?n:t)}))})}),(0,p.jsx)(a.Z,{companies:t}),(0,p.jsx)(o.Z,{children:(0,p.jsx)(l.Z,{children:h.slice(3).map((function(e,t){var n,i;return(0,p.jsx)(r.Z,{project:e},null!==(n=null===(i=e._meta)||void 0===i?void 0:i.id)&&void 0!==n?n:t)}))})})]})}},953:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/projects",function(){return n(2862)}])},9008:function(e,t,n){e.exports=n(2717)},500:function(e,t,n){"use strict";var i=n(7294),r=n(5697),o=n.n(r),a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}var d=function(e){function t(){var e;l(this,t);for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=c(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i)));return o.state={},o.styles={ellipsis:{position:"fixed",visibility:"hidden",top:0,left:0}},o.elements={},o.onResize=o.onResize.bind(o),o.onTruncate=o.onTruncate.bind(o),o.calcTargetWidth=o.calcTargetWidth.bind(o),o.measureWidth=o.measureWidth.bind(o),o.getLines=o.getLines.bind(o),o.renderLine=o.renderLine.bind(o),o}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){var e=this.elements.text,t=this.calcTargetWidth,n=this.onResize,i=document.createElement("canvas");this.canvasContext=i.getContext("2d"),t((function(){e&&e.parentNode.removeChild(e)})),window.addEventListener("resize",n)}},{key:"componentDidUpdate",value:function(e){this.props.children!==e.children&&this.forceUpdate(),this.props.width!==e.width&&this.calcTargetWidth()}},{key:"componentWillUnmount",value:function(){var e=this.elements.ellipsis,t=this.onResize,n=this.timeout;e.parentNode.removeChild(e),window.removeEventListener("resize",t),window.cancelAnimationFrame(n)}},{key:"innerText",value:function(e){var t=document.createElement("div"),n="innerText"in window.HTMLElement.prototype?"innerText":"textContent";t.innerHTML=e.innerHTML.replace(/\r\n|\r|\n/g," ");var i=t[n],r=document.createElement("div");return r.innerHTML="foo<br/>bar","foo\nbar"!==r[n].replace(/\r\n|\r/g,"\n")&&(t.innerHTML=t.innerHTML.replace(/<br.*?[\/]?>/gi,"\n"),i=t[n]),i}},{key:"onResize",value:function(){this.calcTargetWidth()}},{key:"onTruncate",value:function(e){var t=this.props.onTruncate;"function"===typeof t&&(this.timeout=window.requestAnimationFrame((function(){t(e)})))}},{key:"calcTargetWidth",value:function(e){var t=this.elements.target,n=this.calcTargetWidth,i=this.canvasContext,r=this.props.width;if(t){var o=r||Math.floor(t.parentNode.getBoundingClientRect().width);if(!o)return window.requestAnimationFrame((function(){return n(e)}));var a=window.getComputedStyle(t),s=[a["font-weight"],a["font-style"],a["font-size"],a["font-family"]].join(" ");i.font=s,this.setState({targetWidth:o},e)}}},{key:"measureWidth",value:function(e){return this.canvasContext.measureText(e).width}},{key:"ellipsisWidth",value:function(e){return e.offsetWidth}},{key:"trimRight",value:function(e){return e.replace(/\s+$/,"")}},{key:"getLines",value:function(){for(var e=this.elements,t=this.props,n=t.lines,r=t.ellipsis,o=t.trimWhitespace,a=this.state.targetWidth,s=this.innerText,l=this.measureWidth,c=this.onTruncate,d=this.trimRight,u=[],p=s(e.text).split("\n").map((function(e){return e.split(" ")})),h=!0,f=this.ellipsisWidth(this.elements.ellipsis),m=1;m<=n;m++){var v=p[0];if(0!==v.length){var g=v.join(" ");if(l(g)<=a&&1===p.length){h=!1,u.push(g);break}if(m===n){for(var y=v.join(" "),j=0,x=y.length-1;j<=x;){var w=Math.floor((j+x)/2);l(y.slice(0,w+1))+f<=a?j=w+1:x=w-1}var _=y.slice(0,j);if(o)for(_=d(_);!_.length&&u.length;){_=d(u.pop())}g=i.createElement("span",null,_,r)}else{for(var b=0,T=v.length-1;b<=T;){var k=Math.floor((b+T)/2);l(v.slice(0,k+1).join(" "))<=a?b=k+1:T=k-1}if(0===b){m=n-1;continue}g=v.slice(0,b).join(" "),p[0].splice(0,b)}u.push(g)}else u.push(),p.shift(),m--}return c(h),u}},{key:"renderLine",value:function(e,t,n){if(t===n.length-1)return i.createElement("span",{key:t},e);var r=i.createElement("br",{key:t+"br"});return e?[i.createElement("span",{key:t},e),r]:r}},{key:"render",value:function(){var e=this,t=this.elements.target,n=this.props,r=n.children,o=n.ellipsis,s=n.lines,l=function(e,t){var n={};for(var i in e)t.indexOf(i)>=0||Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i]);return n}(n,["children","ellipsis","lines"]),c=this.state.targetWidth,d=this.getLines,u=this.renderLine,p=this.onTruncate,h=void 0;return"undefined"!==typeof window&&!(!t||!c)&&(s>0?h=d().map(u):(h=r,p(!1))),delete l.onTruncate,delete l.trimWhitespace,i.createElement("span",a({},l,{ref:function(t){e.elements.target=t}}),i.createElement("span",null,h),i.createElement("span",{ref:function(t){e.elements.text=t}},r),i.createElement("span",{ref:function(t){e.elements.ellipsis=t},style:this.styles.ellipsis},o))}}]),t}(i.Component);d.propTypes={children:o().node,ellipsis:o().node,lines:o().oneOfType([o().oneOf([!1]),o().number]),trimWhitespace:o().bool,width:o().number,onTruncate:o().func},d.defaultProps={children:"",ellipsis:"\u2026",lines:1,trimWhitespace:!1,width:0},t.Z=d}},function(e){e.O(0,[180,329,774,888,179],(function(){return t=953,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.