PageSourceSearch

https://www.koc.com.tr/_next/static/chunks/pages/Koc.SustainabilityReportPage-44d17ec3955bfdf3.js

js koc.com.tr collected 2026-09-24 19:00:17 UTC 14,154 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2641],{16268:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Koc.SustainabilityReportPage",function(){return s(21975)}])},21975:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>y});var a=s(37876),n=s(76311),i=s(55280),r=s(2171),l=s(83219),o=s(75409),c=s(89099),h=s(3860),d=s(15153);s(45516);var p=s(77328),m=s.n(p),u=s(14232);s(962);var g=s(61579),x=s(58642),j=s(56631),N=s(30630);let f=e=>(0,a.jsx)(x.F.DropdownIndicator,{...e,children:(0,a.jsx)("i",{className:"icon icon-caret-down"})});class P extends u.Component{handlePagination(e){e<1||e>this.state.totalPage||this.setState({showingItems:this.state.showingItemsData.slice((e-1)*this.state.itemPerPage,this.state.itemPerPage*e),currentPage:e})}setShowingData(e){let t=e.FolderItems.map(e=>({value:e.Year,label:e.Year})),s=[{label:e.AllText,value:""},...t],a=[];e.FolderItems.forEach(e=>{a.push(...e.Folders)}),this.setState({showingData:e,showingItemsData:a,dateOptions:s,selectedOptionDate:s[0],showingItems:a.slice(0,this.state.itemPerPage),currentPage:1,totalPage:Math.ceil(a.length/this.state.itemPerPage)})}componentDidMount(){this.setShowingData(this.props.data)}renderTableItems(){return this.state.showingItems.map((e,t)=>(0,a.jsxs)("div",{className:"t-row",children:[(0,a.jsx)("div",{className:"t-col main",children:e.Title}),(0,a.jsx)("div",{className:"t-col justify-content-md-end",children:(0,a.jsx)(d.A,{href:e.PDFLink,children:(0,a.jsxs)("a",{className:"btn btn-download",title:"",target:"_blank",children:[(0,a.jsx)("i",{className:"icon icon-download"}),(0,a.jsx)("span",{children:e.PDFText})]})})})]},t))}handleFilter(){let e=[];
1if(this.state.selectedOptionDate.value?e=this.state.showingData.FolderItems.find(e=>e.Year==this.state.selectedOptionDate.value).Folders:this.state.showingData.FolderItems.forEach(t=>{e.push(...t.Folders)}),this.state.keyword){let t=e.filter(e=>-1!==e.Title.toLocaleLowerCase("tr").indexOf(this.state.keyword.toLocaleLowerCase("tr")));this.setState({showingItemsData:t,showingItems:t.slice(0,this.state.itemPerPage),currentPage:1,totalPage:Math.ceil(t.length/this.state.itemPerPage)})}else this.setState({showingItemsData:e,showingItems:e.slice(0,this.state.itemPerPage),currentPage:1,totalPage:Math.ceil(e.length/this.state.itemPerPage)})}search(e){this.setState({keyword:e.target.value},this.handleFilter)}render(){let{data:e}=this.props,{selectedOptionDate:t}=this.state;return(0,a.jsx)("section",{className:"section general-section bg-gray border-bottom-red-thin",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsxs)("div",{className:"col-lg-20",children:[(0,a.jsx)("div",{className:"section-header text-center",children:(0,a.jsx)("h2",{className:"section-title",children:this.props.data.Title})}),(0,a.jsxs)("div",{className:"table-control-wrap",children:[(0,a.jsx)("div",{className:"controls",children:(0,a.jsx)("form",{className:"search-form table-search",action:"",method:"post",onSubmit:e=>{e.preventDefault()},children:(0,a.jsx)("label",{className:"form-group",children:(0,a.jsx)("input",{value:this.state.keyword,onChange:e=>{this.search(e)},type:"text",className:"form-control",name:"",placeholder:e.SearchPlaceHolder})})})}),(0,a.jsx)("div",{className:"buttons",children:(0,a.jsx)(j.Ay,{instanceId:"select2",id:"select2",className:"dropdown-transparent",classNamePrefix:"dropdown-transparent",value:t,showingItemsData:!0,onChange:this.handleChangeDate,components:{DropdownIndicator:f},options:this.state.dateOptions,isSearchable:!1})})]}),(0,a.jsx)("div",{className:"primary-table type2",children:this.renderTableItems()}),(0,a.jsx)(N.A,{currentPage:this.state.currentPage,totalPage:this.state.totalPage,handler:this.handlePagination.bind(this)})]})})})})}constructor(...e){super(...e),this.state={selectedOptionDate:[],itemPerPage:20,currentPage:1,totalPage:0,showingData:[],showingItemsData:[],showingItems:[],dateOptions:[]},this.handleChangeDate=e=>{this.setState({selectedOptionDate:e},this.handleFilter)}}}var b=s(75849),v=s(65962);class w extends u.Component{componentDidMount(){if(!this.props.SustainabilityReportPageData){let e=(0,l.Tp)(this.props.router.asPath);this.props.SustainabilityReportPageAction({nodeGUID:e.NodeGUID,culture:e.Culture})}this.setState({liveUrl:window.location.href})}componentDidUpdate(e){if(e.router.asPath!==this.props.router.asPath){let e=(0,l.Tp)(this.props.router.asPath);this.props.SustainabilityReportPageAction({nodeGUID:e.NodeGUID,culture:e.Culture}),this.setState({liveUrl:window.location.href})}}renderModules(){return this.props.SustainabilityReportPageData.Sections.map((e,t)=>{switch(e.ClassName){case"Koc.SustainabilityReportSection":return(0,a.jsx)(P,{data:e},e.ClassName+t);case"Koc.RelatedPage":return(0,a.jsx)(b.A,{data:e},e.ClassName+t);default:return null}})}render(){if(!this.props.SustainabilityReportPageData)return(0,a.jsx)(v.A,{});let{Page:e,BreadCrumbs:t,MetaData:s}=this.props.SustainabilityReportPageData;return(0,a.jsxs)(n.A,{children:[(0,a.jsxs)(m(),{children:[(0,a.jsx)("title",{children:s.MetaTitle.replace(/(<([^>]+)>)/ig,"")}),(0,a.jsx)("meta",{name:"description",content:s.MetaDescription}),(0,a.jsx)("meta",{name:"keywords",content:s.MetaKeywords}),(0,a.jsx)("meta",{property:"og:type",content:"article"}),(0,a.jsx)("meta",{property:"og:url",content:this.state.liveUrl}),(0,a.jsx)("meta",{property:"og:title",content:s.DocumentOGTitle}),(0,a.jsx)("meta",{property:"og:description",content:s.DocumentOGDescription}),(0,a.jsx)("meta",{property:"og:image",content:s.DocumentOGImage}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:site",content:this.state.liveUrl}),(0,a.jsx)("meta",{name:"twitter:title",content:s.DocumentOGTitle}),(0,a.jsx)("meta",{name:"twitter:description",content:s.DocumentOGDescription}),(0,a.jsx)("meta",{name:"twitter:image",content:s.DocumentOGImage})]}),(0,a.jsx)(i.A,{data:t}),(0,a.jsx)(g.A,{data:e}),(0,a.jsx)("section",{className:"section general-section size-middle",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"section-header text-center",children:[(0,a.jsx)("h2",{className:"section-title small",children:e.PromotionTitle}),(0,a.jsx)("div",{className:"desc",dangerouslySetInnerHTML:{__html:e.PromotionDescription}})]})})}),this.renderModules()]})}constructor(...e){super(...e),this.state={liveUrl:""}}
1}let D=(0,r.Ng)(function(e){let{SustainabilityReportPageData:t}=e;return{SustainabilityReportPageData:t}},{SustainabilityReportPageAction:h.NR})(w),y=(0,o.withTranslation)("common")(function(e){let t=(0,c.useRouter)();return(0,a.jsx)(D,{...e,router:t})})},30630:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(37876),n=s(14232);class i extends n.Component{renderList(){let e=[];if(this.props.currentPage>4&&e.push((0,a.jsx)("li",{className:"center-line page-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(this.props.currentPage-1)},className:"page-link",role:"button",href:"#",children:(0,a.jsx)("span",{"aria-hidden":"true",children:"…"})})},0)),this.props.currentPage<4)for(let t=1;t<this.props.currentPage;t++)e.push((0,a.jsx)("li",{className:"page-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(t)},className:"page-link",role:"button",href:"#",children:t})},t));else for(let t=this.props.currentPage-3;t<this.props.currentPage;t++)e.push((0,a.jsx)("li",{className:"page-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(t)},className:"page-link",role:"button",href:"#",children:t})},t));for(let t=this.props.currentPage;t<=this.props.totalPage&&t<=this.props.currentPage+3;t++)t===this.props.currentPage?e.push((0,a.jsx)("li",{className:"page-item active",children:(0,a.jsx)("a",{className:"page-link",role:"button",href:"",onClick:e=>{e.preventDefault()},children:t})},t)):e.push((0,a.jsx)("li",{className:"page-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(t)},className:"page-link",role:"button",href:"#",children:t})},t));return this.props.currentPage+3<this.props.totalPage&&e.push((0,a.jsx)("li",{className:"center-line page-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(this.props.currentPage+1)},className:"page-link",role:"button",href:"#",children:(0,a.jsx)("span",{"aria-hidden":"true",children:"…"})})},this.props.totalPage+1)),e}render(){return this.props.totalPage<2?null:(0,a.jsxs)("ul",{className:"primary-pagination pagination ".concat(this.props.marginStatus?"has-mb":""),children:[(0,a.jsx)("li",{className:"page-item"+(this.props.currentPage<2?" disabled":""),children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(this.props.currentPage-1)},className:"page-link",role:"button",href:"#",children:(0,a.jsx)("span",{className:"page-link",children:(0,a.jsx)("span",{"aria-hidden":"true",children:"‹"})})})}),this.renderList(),(0,a.jsx)("li",{className:"page-item"+(this.props.currentPage===this.props.totalPage?" disabled":""),children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.props.handler(this.props.currentPage+1)},className:"page-link",role:"button",href:"#",children:(0,a.jsx)("span",{children:"›"})})})]})}}},55280:(e,t,s)=>{"use strict";s.d(t,{A:()=>g});var a=s(37876),n=s(14232),i=s(87530),r=s(15153),l=s(83219),o=s(47580),c=s(56720),h=s(15558),d=s.n(h),p=s(75409);let m=(0,p.withTranslation)("common")(function(e){let{t}=e,[s,i]=(0,n.useState)(!1),[l,h]=(0,n.useState)(!1),p=(0,n.useRef)(null);return(0,n.useEffect)(()=>{new(d())("#clipboardPageUrl").on("success",function(e){i(!0),setTimeout(function(){i(!1)},500)}),h(window.location.href)}),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.A,{href:"#",children:(0,a.jsx)("a",{onClick:e=>e.preventDefault(),className:"menu-icon",title:t("Linki kopyala"),children:(0,a.jsx)("i",{ref:p,id:"clipboardPageUrl","data-clipboard-action":"copy","data-clipboard-text":l,className:"icon icon-hyperlink-circle"})})}),(0,a.jsx)(o.A,{target:p.current,show:s,placement:"bottom",children:e=>(0,a.jsx)(c.A,{id:"overlay-example",...e,children:t("Kopyalandı")})})]})});s(3860);class u extends n.Component{componentDidMount(){this.changeFontSize()}renderListItem(e,t,s){return s?(0,a.jsx)("li",{className:"breadcrumb-item active",dangerouslySetInnerHTML:{__html:e.Title}},e.URL):(0,a.jsx)("li",{className:"breadcrumb-item",children:(0,a.jsx)(r.A,{as:e.URL,href:"/".concat((0,l.j_)(e.URL)),children:(0,a.jsx)("a",{title:e.Title,dangerouslySetInnerHTML:{__html:e.Title}})})},e.URL)}renderList(){let{data:e}=this.props;return e.map((t,s)=>this.renderListItem(t,s,e.length-1===s))}render(){return this.props.data?(0,a.jsx)("section",{className:"section top-menu-section bg-sunset-orange",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"top-menu",children:[(0,a.jsx)("div",{className:"breadcrumb-wrap",children:(0,a.jsx)(i.A,{children:this.renderList()})}),(0,a.jsxs)("div",{className:"menu-items",children:[(0,a.jsx)("a",{href:"",className:"menu-icon change-font big",title:this.props.t("Yazı b\xfcy\xfct k\xfc\xe7\xfclt"),children:(0,a.jsx)("i",{className:"icon icon-increase-font-single"})}),(0,a.jsx)("a",{href:"",className:"menu-icon change-font medium",title:this.props.t("Yazı b\xfcy\xfct k\xfc\xe7\xfclt"),children:(0,a.jsx)("i",{className:"icon icon-increase-font-single"})}),(0,a.jsx)("a",{href:"",className:"menu-icon change-font small",title:this.props.t("Yazı b\xfcy\xfct k\xfc\xe7\xfclt"),children:(0,a.jsx)("i",{className:"icon icon-increase-font-single"})}),(0,a.jsx)(m,{}),(0,a.jsx)("a",{href:"",className:"menu-icon",title:this.props.t("Yazdır"),onClick:e=>{e.preventDefault(),window.print()},children:(0,a.jsx)("i",{className:"icon icon-print"})})]})]})})}):null}constructor(...e){super(...e),this.state={},this.changeFontSize=()=>{let e=$("body"),t=parseInt(e.css("font-size")),s=t+2,a=t-2,n=$(".change-font.medium"),i=$(".change-font.big"),r=$(".change-font.small");i.click(t=>{t.preventDefault(),e.css("font-size",s+"px")}),r.click(t=>{t.preventDefault(),e.css("font-size",a+"px")}),n.click(a=>{a.preventDefault(),t=s-2,e.css("font-size",t+"px")})}}}u.getInitialProps=async e=>({namespacesRequired:["common"]});let g=(0,p.withTranslation)("common")(u)},61579:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(37876),n=s(14232);class i extends n.Component{render(){let{data:e}=this.props;return(0,a.jsxs)("section",{className:"sub-page-banner center has-overlay",children:[(0,a.jsx)("div",{className:"banner-bg d-none d-lg-block",style:{backgroundImage:"url('"+e.Image+"')"}}),(0,a.jsx)("div",{className:"banner-bg d-lg-none",style:{backgroundImage:"url('"+e.MobileImage+"')"}}),(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsxs)("div",{className:"col-lg-20 col-24",children:[(0,a.jsx)("h5",{className:"sub-title",children:e.SubTitle}),(0,a.jsx)("h1",{className:"banner-title",children:e.Title})]})})})]})}}},65962:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(37876),n=s(14232);class i extends n.Component{render(){return(0,a.jsx)("div",{className:"placeholder-item"})}}},75849:(e,t,s)=>{"use strict";s.d(t,{A:()=>r});var a=s(37876),n=s(14232),i=s(15153);class r extends n.Component{renderLinks(){return this.props.data.RelatedPageItems.map((e,t)=>(0,a.jsx)("li",{className:"list-item",children:(0,a.jsx)(i.A,{href:e.Link?e.Link:"javascript:void(0)",children:(0,a.jsxs)("a",{className:"btn btn-addon",target:e.Target,title:e.Title,children:[(0,a.jsx)("span",{children:e.Title}),(0,a.jsx)("i",{className:"icon icon-arrow-right"})]})})},t))}
1render(){if(!this.props.data)return null;let{data:e}=this.props;return(0,a.jsx)("section",{className:"section "+e.BGClass,children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"section-header text-center",children:(0,a.jsx)("h2",{className:"section-title small",children:e.Title})}),(0,a.jsx)("ul",{className:"btn-addon-list",children:this.renderLinks()})]})})}}}},e=>{e.O(0,[6853,6631,636,6593,8792],()=>e(e.s=16268)),_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.