PageSourceSearch

https://www.koc.com.tr/_next/static/chunks/pages/Koc.InvestorRelationsCalendar-9c5ab96aa8ab585a.js

js koc.com.tr collected 2026-09-24 18:59:51 UTC 17,073 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1066],{14227:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var a=s(37876),n=s(14232),i=s(65533),r=s(57507),l=s(60553),c=s(33968),o=s(82851),h=s.n(o);let d={slidesPerView:1.2,spaceBetween:0,watchOverflow:!0};function m(){$(".primary-table-slider").each(function(e,t){var s=0,a=0,n=$(t).find(".t-row.heading"),i=$(t).find(".t-row:not(.heading)");n.css("min-height","inherit"),i.css("min-height","inherit"),i.each(function(){var e=$(this).height();e>s&&(s=e)}),n.each(function(){var e=$(this).height();e>a&&(a=e)}),n.height(a),i.height(s)})}i.A.use([r.A]);class p extends n.Component{renderTableItems(e){return e.map((e,t)=>(0,a.jsxs)("tr",{className:!0===e.IsLastItem?"t-row t-row-footer "+e.BackgroundColor:"t-row "+e.BackgroundColor,children:[(0,a.jsx)("td",{className:"t-col",children:e.Title}),e.Rows.map((e,t)=>(0,a.jsx)("td",{className:void 0===e.Position?"t-col":"t-col "+e.Position,children:void 0===e.Name?e:e.Name},t))]},t))}renderTableSliderItems(e){let t=e.Columns.map((t,s)=>({key:t,data:e.TableItems.map((e,t)=>void 0===e.Rows[s].Name?e.Rows[s]:e.Rows[s].Name)}));return h().chunk(t,1).map((t,s)=>(0,a.jsx)(l.q,{children:(0,a.jsxs)("div",{className:"primary-table",children:[(0,a.jsx)("div",{className:"t-row heading",children:t.map((e,t)=>(0,a.jsx)("div",{className:"t-col",children:e.key},t))}),e.TableItems.map((e,s)=>(0,a.jsx)("div",{className:"t-row",children:t.map((e,t)=>(0,a.jsx)("div",{className:"t-col",children:e.data[s]},t))},s))]})},s))}renderTables(){let e=this.props.data;return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsx)("table",{className:this.props.customClassName?"table primary-table d-lg-table d-none ".concat(this.props.customClassName," ").concat(e.TablePosition):"table primary-table d-lg-table d-none  ".concat(e.TablePosition),children:(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{className:"t-row heading",children:[(0,a.jsx)("td",{className:"t-col",children:e.Title}),e.Columns.map((e,t)=>(0,a.jsx)("td",{className:"t-col",children:e},t))]}),this.renderTableItems(e.TableItems)]})}),(0,a.jsxs)("div",{className:"primary-table-slider d-flex d-lg-none",children:[(0,a.jsx)("div",{style:{width:"52%"},children:(0,a.jsxs)("div",{className:"primary-table",children:[(0,a.jsx)("div",{className:"t-row heading",children:(0,a.jsx)("div",{className:"t-col",children:e.Title})}),e.TableItems.map((e,t)=>(0,a.jsx)("div",{className:"t-row",children:(0,a.jsx)("div",{className:"t-col",children:e.Title})},t))]})}),(0,a.jsx)(c.R,{...d,pagination:{clickable:!0},style:{width:"57%"},children:this.renderTableSliderItems(e)})]})]})}componentDidMount(){window.addEventListener("resize",m),m()}componentWillUnmount(){window.removeEventListener("resize",m)}componentDidUpdate(e,t,s){m()}render(){return(0,a.jsx)(a.Fragment,{children:this.renderTables()})}}},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=[];
1if(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),c=s(47580),o=s(56720),h=s(15558),d=s.n(h),m=s(75409);let p=(0,m.withTranslation)("common")(function(e){let{t}=e,[s,i]=(0,n.useState)(!1),[l,h]=(0,n.useState)(!1),m=(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:m,id:"clipboardPageUrl","data-clipboard-action":"copy","data-clipboard-text":l,className:"icon icon-hyperlink-circle"})})}),(0,a.jsx)(c.A,{target:m.current,show:s,placement:"bottom",children:e=>(0,a.jsx)(o.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)(p,{}),(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,m.withTranslation)("common")(u)},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"})}}},69582:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>P});var a=s(37876),n=s(76311),i=s(55280),r=s(3860),l=s(75409),c=s(2171),o=s(65962),h=s(14232),d=s(77328),m=s.n(d),p=s(962),u=s(58642),g=s(56631),x=s(69637),j=s(30630),N=s(14227);let v=e=>(0,a.jsx)(u.F.DropdownIndicator,{...e,children:(0,a.jsx)("i",{className:"icon icon-caret-down"})});class b extends h.Component{setDefaultActiveKey(e){this.setState({defaultActiveKey:e})}handleFilter(){let e=[];
1if(this.state.selectedOptionDate.value?e=this.state.showingData.Table.FolderItems.find(e=>e.Year==this.state.selectedOptionDate.value).Folders:this.state.showingData.Table.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)})}setShowingData(e){let t=e.Table.FolderItems.map(e=>({value:e.Year,label:e.Year})),s=[{label:this.props.data.AllText,value:""},...t],a=[];e.Table.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)})}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})}changeTab(e){this.setState({currentTabIndex:e}),this.setShowingData(this.props.data.CalendarItems[e]),setTimeout(()=>{window.location.hash=this.props.data.CalendarItems[e].Name})}getTabList(){return(0,a.jsx)("div",{className:"tab-slider nav",children:this.props.data.CalendarItems.map((e,t)=>(0,a.jsx)("div",{className:"nav-item",children:(0,a.jsx)("a",{onClick:e=>{e.preventDefault(),this.changeTab(t)},href:"#",className:"nav-link"+(this.state.currentTabIndex===t?" active":""),children:e.Title})},t))})}renderList(){if(!this.state.showingItems.length)return null;let e=this.state.showingData,t=this.state.showingItems,s={Columns:e.Table.Columns,TableItems:t,Title:e.Table.Title};return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(N.A,{data:s})})}componentDidMount(){let e=this.props.data.CalendarItems.filter(e=>e.Table.FolderItems.length).map((e,t)=>({value:e.Name,label:e.Title}));if(window.location.hash){let t=window.location.hash.replace("#","");e.map((s,a)=>{t===s.value&&this.setState({tabList:e,selectedOption:s,currentTabIndex:a})}),this.props.data.CalendarItems.map((e,s)=>{t===e.Name&&this.setShowingData(e)})}else this.setState({tabList:e,selectedOption:e[0]}),this.setShowingData(this.props.data.CalendarItems[0])}render(){let{data:e}=this.props,{selectedOption:t,selectedOptionDate:s}=this.state;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("section",{className:"section dynamic-table-section",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsx)("div",{className:"row justify-content-center",children:(0,a.jsx)("div",{className:"col-lg-20",children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)("div",{className:"col-lg-12",children:(0,a.jsx)("div",{className:"section-header",children:(0,a.jsx)("h2",{className:"section-title",children:e.Title})})}),(0,a.jsxs)("div",{className:"col-lg-12",children:[(0,a.jsx)(g.Ay,{instanceId:"select1",id:"select1",className:"dropdown-transparent bg-white d-lg-none",classNamePrefix:"dropdown-transparent",value:t,onChange:this.handleChange,components:{DropdownIndicator:v},options:this.state.tabList,isSearchable:!1}),(0,a.jsx)(g.Ay,{instanceId:"select2",id:"select2",className:"dropdown-transparent",classNamePrefix:"dropdown-transparent",value:s,showingItemsData:!0,onChange:this.handleChangeDate,components:{DropdownIndicator:v},options:this.state.dateOptions,isSearchable:!1})]}),(0,a.jsxs)(x.A.Container,{activeKey:this.state.defaultActiveKey,onSelect:e=>{this.setDefaultActiveKey(e)},children:[(0,a.jsx)("div",{className:"col-xxl-6 col-lg-7 d-none d-lg-block",children:(0,a.jsx)("div",{className:"primary-tab vertical",children:this.getTabList()})}),(0,a.jsx)("div",{className:"col-lg-17 offset-xxl-1",children:(0,a.jsxs)("div",{className:"tab-content",children:[(0,a.jsx)("div",{className:"fade tab-pane active show",children:(0,a.jsx)("div",{className:"equal-columns",children:this.renderList()})}),(0,a.jsx)(j.A,{currentPage:this.state.currentPage,totalPage:this.state.totalPage,handler:this.handlePagination.bind(this)})]})})]})]})})})})})})}constructor(...e){super(...e),this.state={tabList:[],defaultActiveKey:"tab1",selectedOption:[],selectedOptionDate:[],showingTable:null,showingData:[],showingItemsData:[],showingItems:[],currentTabIndex:0,dateOptions:[],itemPerPage:20,currentPage:1,totalPage:0},this.handleChange=e=>{let t;this.setState({selectedOption:e}),this.props.data.CalendarItems.find((s,a)=>
1{if(s.Name===e.value)return t=a,!0}),this.changeTab(t)},this.handleChangeDate=e=>{this.setState({selectedOptionDate:e},this.handleFilter)}}}var f=s(75849);class w extends h.Component{componentDidMount(){this.props.investorCalendar||this.props.investorCalendarAction(p.e[l.i18n.language].key),this.setState({liveUrl:window.location.href})}renderModules(){return this.props.investorCalendar.Sections.map((e,t)=>{switch(e.ClassName){case"Koc.InvestorRelationsCalendar":return(0,a.jsx)(b,{data:e},e.ClassName+t);case"Koc.RelatedPage":return(0,a.jsx)(f.A,{data:e},e.ClassName+t)}})}render(){if(!this.props.investorCalendar)return(0,a.jsx)(o.A,{});let{Page:e,BreadCrumbs:t,MetaData:s}=this.props.investorCalendar;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)("section",{className:"sub-page-banner center has-overlay",style:{backgroundImage:"url('"+e.Image+"')"},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 col-24",children:[(0,a.jsx)("h5",{className:"sub-title",children:e.SubTitle}),(0,a.jsx)("h1",{className:"banner-title",children:e.Title})]})})})}),this.renderModules()]})}constructor(...e){super(...e),this.state={liveUrl:""}}}let P=(0,l.withTranslation)("common")((0,c.Ng)(function(e){let{investorCalendar:t}=e;return{investorCalendar:t}},{investorCalendarAction:r.$N})(w))},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))}render(){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()})]})})}}},93064:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Koc.InvestorRelationsCalendar",function(){return s(69582)}])}},e=>{e.O(0,[6853,5533,7976,6631,7359,636,6593,8792],()=>e(e.s=93064)),_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.