1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5359],{10517:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(37876),n=s(14232),i=s(15153),r=s(70014),l=s(3860);class c extends n.Component{renderSectionButton(e){switch(e){case"rectangle":return this.rectangleButtons();case"horizontal":return this.horizontalButtons();case"vertical":return this.verticalButtons();case"link":return this.linkButtons();default:return null}}sectionClassList(){let{data:e}=this.props;console.log(e);let t=["standard-section"];return e.Shifted&&t.push(e.Shifted),e.HasShape&&t.push(e.HasShape),e.ShapePosition&&t.push(e.ShapePosition),e.ShapeMobilePosition&&t.push(e.ShapeMobilePosition),e.ImagePositionMobile&&t.push(e.ImagePositionMobile),e.ImagePositionDesktop&&t.push(e.ImagePositionDesktop),e.BackgroundColor&&t.push(e.BackgroundColor),t.join(" ")}getShapeItem(){let{data:e}=this.props;return e.HasShape?(0,a.jsx)("div",{className:"section-shape "+e.ShapeColor}):""}horizontalButtons(){return(0,a.jsx)("div",{className:"row btn-list",children:this.props.data.Buttons.map((e,t)=>(0,a.jsx)("div",{className:"col-md-12 list-item",children:(0,a.jsx)(i.A,{href:e.Link,children:(0,a.jsxs)("a",{className:"btn btn-media-bordered "+e.Theme,title:"",target:e.Target,children:[(0,a.jsx)("i",{className:"icon "+e.Icon}),(0,a.jsxs)("span",{className:"btn-content",children:[(0,a.jsx)("span",{className:"text",children:e.Title}),(0,a.jsx)("i",{className:"icon icon-arrow-right"})]})]})})},t))})}verticalButtons(){return(0,a.jsx)("div",{className:"row",children:(0,a.jsx)("div",{className:"col-lg-15",children:(0,a.jsx)("div",{className:"vertical-list",children:this.props.data.Buttons.map((e,t)=>(0,a.jsx)("div",{className:"list-item",children:(0,a.jsx)(i.A,{href:e.Link,children:(0,a.jsxs)("a",{className:"btn btn-media-bordered type2 horizontal "+e.Theme,title:"",target:e.Target,children:[(0,a.jsx)("i",{className:"icon "+e.Icon}),(0,a.jsxs)("span",{className:"btn-content",children:[(0,a.jsx)("span",{className:"text",children:e.Title}),(0,a.jsx)("i",{className:"icon icon-arrow-right"})]})]})})},t))})})})}linkButtons(){return(0,a.jsx)("div",{className:"row btn-list",children:this.props.data.Buttons.map((e,t)=>(0,a.jsx)("div",{className:"col-md-12 list-item",children:(0,a.jsx)(i.A,{href:e.Link,children:(0,a.jsxs)("a",{className:"btn-link medium",title:"",target:e.Target,children:[(0,a.jsx)("span",{children:e.Title}),(0,a.jsx)("i",{className:"icon icon-arrow-right"})]})})},t))})}flipModalHide(){this.setState({flipModalStatus:!1})}openFlipbook(e){(0,l.CI)({type:"read",url:e,page:window.location.href}),this.setState({flipModalStatus:!0},()=>{$(this.bookRef.current).flipBook({pdfUrl:e})})}rectangleButtons(){return(0,a.jsx)("div",{className:"d-flex flex-column align-items-start",children:this.props.data.Buttons.map((e,t)=>"_flipbook"===e.Target?(0,a.jsx)("a",{title:"",className:"btn btn-general bg-sunset-orange mt-3 mt-md-5",onClick:()=>{this.openFlipbook(e.Link)},style:{cursor:"pointer",color:"#fff"},children:e.Title},t):(0,a.jsx)(i.A,{href:e.Link,children:(0,a.jsx)("a",{title:"",target:e.Target,className:"btn btn-general bg-sunset-orange mt-3 mt-md-5",children:e.Title})},t))})}render(){let{data:e}=this.props;return(0,a.jsxs)(n.Fragment,{children:[(0,a.jsxs)("section",{className:this.sectionClassList(),children:[(0,a.jsx)("div",{className:"section-item item-bg",children:(0,a.jsx)("div",{className:"section-bg",style:{backgroundImage:"url(' "+e.Image+" ')"},children:this.getShapeItem()})}),(0,a.jsx)("div",{className:"section-item item-content",children:(0,a.jsxs)("div",{className:"section-content",children:[(0,a.jsx)("h2",{className:"section-title "+e.TitleSize,dangerouslySetInnerHTML:{__html:e.Title}}),(0,a.jsx)("div",{className:"text",dangerouslySetInnerHTML:{__html:e.Description}}),this.renderSectionButton(e.ButtonType)]})})]}),(0,a.jsxs)(r.A,{className:"pdf-modal",backdropClassName:"dark",show:this.state.flipModalStatus,onHide:()=>{this.flipModalHide()},centered:!0,animation:!0,children:[(0,a.jsx)(r.A.Header,{closeButton:!0}),(0,a.jsx)(r.A.Body,{children:(0,a.jsx)("div",{ref:this.bookRef})})]})]})}constructor(...e){super(...e),this.state={flipModalStatus:!1},this.bookRef=n.createRef()}}},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:"âº"})})})]})}}},49003:(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(962),d=s(77328),h=s.n(d),m=s(14232),p=s(61579),u=s(10517),g=s(75849),x=s(58642),j=s(56631),N=s(15153),f=s(30630);let b=e=>(0,a.jsx)(x.F.DropdownIndicator,{...e,children:(0,a.jsx)("i",{className:"icon icon-caret-down"})});class v extends m.Component{componentDidMount(){let{data:e}=this.props,t=e.CompanyDropdownData.map(e=>({value:e.Key,label:e.Title})),s=e.SectorDropdownData.map(e=>({value:e.Key,label:e.Title})),a=e.CompanyData;this.setState({sectorOptions:t,companyOptions:s,selectedOptionSector:t[0],selectedOptionCompany:s[0],showingItems:a.slice(0,this.state.itemPerPage),totalPage:Math.ceil(a.length/this.state.itemPerPage),data:a}),window.addEventListener("resize",this.cardHeightCheck),this.cardHeightCheck()}filter(e){e&&e.preventDefault();let{selectedOptionCompany:t,selectedOptionSector:s}=this.state,a=this.props.data.CompanyData.filter(e=>(!t.value||-1!==e.Sector.indexOf(t.value))&&(!s.value||e.Guid===s.value)&&(!this.state.keyword||-1!==e.Title.toLocaleLowerCase("tr").indexOf(this.state.keyword.toLocaleLowerCase("tr"))));this.setState({showingItems:a.slice(0,this.state.itemPerPage),totalPage:Math.ceil(a.length/this.state.itemPerPage),data:a,currentPage:1}),this.cardHeightCheck()}handlePagination(e){e<1||e>this.state.totalPage||(this.setState({showingItems:this.state.data.slice((e-1)*this.state.itemPerPage,this.state.itemPerPage*e),currentPage:e}),this.cardHeightCheck(),$("html,body").animate({scrollTop:$("[data-toggle=paginationReset]").offset().top-$("header").height()}))}search(e){this.setState({keyword:e.target.value})}cardHeightCheck(){setTimeout(()=>{let e=0,t=$(".logo-card .card-content");t.removeAttr("style"),t.each((t,s)=>{let a=$(s);a.outerHeight()>=e&&(e=a.outerHeight())}),t.css("min-height",e)})}getDomain(e){if(e)return new URL(e).hostname.replace("www.","")}renderList(){return this.state.showingItems.map((e,t)=>(0,a.jsx)("div",{className:"col-lg-8 col-md-12 d-flex flex-column",children:(0,a.jsxs)("div",{className:"card logo-card secondary type-row",children:[(0,a.jsxs)("div",{className:"card-content",children:[(0,a.jsx)("div",{className:"card-media",children:(0,a.jsx)("img",{className:"img-fluid",src:e.Image,alt:""})}),(0,a.jsx)("div",{className:"card-body",children:(0,a.jsx)("h2",{className:"card-title",children:e.Title})})]}),(0,a.jsx)("div",{className:"card-footer",children:(0,a.jsxs)("div",{className:"desc",children:[(0,a.jsx)("p",{children:e.BrandList.join(", ")}),e.WebAddress&&(0,a.jsx)(N.A,{href:e.WebAddress,children:(0,a.jsx)("a",{target:"_blank",className:"footer-link",title:"",children:this.getDomain(e.WebAddress)})})]})})]})},t))}render(){let{selectedOptionSector:e}=this.state,{selectedOptionCompany:t}=this.state,{data:s}=this.props;return(0,a.jsx)("div",{className:"section card-section bg-pampas","data-toggle":"paginationReset",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"section-header bordered",children:(0,a.jsx)("form",{className:"search-form",action:"",method:"post",onSubmit:e=>{this.filter(e)},children:(0,a.jsxs)("div",{className:"row align-items-lg-center",children:[(0,a.jsx)("div",{className:"col-lg-6",children:(0,a.jsx)(j.Ay,{name:"selectedOptionSector",id:"select1",instanceId:"select1",className:"dropdown-transparent bg-white",classNamePrefix:"dropdown-transparent",value:e,onCh
1ange:this.handleChange,components:{DropdownIndicator:b},options:this.state.sectorOptions,isSearchable:!1})}),(0,a.jsx)("div",{className:"col-xxl-8 col-lg-7",children:(0,a.jsx)(j.Ay,{name:"selectedOptionCompany",id:"select2",instanceId:"select2",className:"dropdown-transparent bg-white",classNamePrefix:"dropdown-transparent",value:t,onChange:this.handleChange,components:{DropdownIndicator:b},options:this.state.companyOptions,isSearchable:!1})}),(0,a.jsx)("div",{className:"col-xxl-6 col-lg-7",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:s.SearchText})})}),(0,a.jsx)("div",{className:"col-lg-4",children:(0,a.jsx)("button",{type:"submit",className:"btn btn-general",title:"",children:s.Button})})]})})}),(0,a.jsxs)("div",{className:"row",children:[this.renderList(),(0,a.jsx)("div",{className:"col-24",children:(0,a.jsx)(f.A,{currentPage:this.state.currentPage,totalPage:this.state.totalPage,handler:this.handlePagination.bind(this)})})]})]})})}constructor(...e){super(...e),this.state={data:[],sectorOptions:[],companyOptions:[],selectedOptionSector:[],selectedOptionCompany:[],showingItems:[],keyword:"",itemPerPage:9,currentPage:1,totalPage:0},this.handleChange=(e,t)=>
1{this.setState({[t.name]:e})}}}var k=s(65962);class w extends m.Component{componentDidMount(){this.props.companiesIndexData||this.props.getCompaniesAction(o.e[l.i18n.language].key),this.setState({liveUrl:window.location.href})}renderModules(){return this.props.companiesIndexData?this.props.companiesIndexData.Sections.map((e,t)=>{switch(e.ClassName){case"Koc.GeneralImageSection":return(0,a.jsx)(u.A,{data:e},e.ClassName+t);case"Koc.CompanySection":return(0,a.jsx)(v,{data:e},e.ClassName+t);case"Koc.RelatedPage":return(0,a.jsx)(g.A,{data:e},e.ClassName+t);default:return null}}):null}render(){if(!this.props.companiesIndexData)return(0,a.jsx)(k.A,{});let{Page:e,BreadCrumbs:t,MetaData:s}=this.props.companiesIndexData;return(0,a.jsxs)(n.A,{children:[(0,a.jsxs)(h(),{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)(p.A,{data:e}),(0,a.jsx)("section",{className:"section general-section size-middle",children:(0,a.jsxs)("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:"row",children:(0,a.jsx)("div",{className:"offset-md-4 col-md-16 col-24",children:(0,a.jsx)("div",{className:"desc fluid",dangerouslySetInnerHTML:{__html:e.Description}})})})]}),(0,a.jsx)("div",{className:"separator mb-0"})]})}),this.renderModules()]})}constructor(...e){super(...e),this.state={liveUrl:""}}}let P=(0,l.withTranslation)("common")((0,c.Ng)(function(e){let{companiesIndexData:t}=e;return{companiesIndexData:t}},{getCompaniesAction:r.Oc})(w))},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),d=s(15558),h=s.n(d),m=s(75409);let p=(0,m.withTranslation)("common")(function(e){let{t}=e,[s,i]=(0,n.useState)(!1),[l,d]=(0,n.useState)(!1),m=(0,n.useRef)(null);return(0,n.useEffect)(()=>{new(h())("#clipboardPageUrl").on("success",function(e){i(!0),setTimeout(function(){i(!1)},500)}),d(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)},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"})}}},66194:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/Koc.CompaniesPage",function(){return s(49
1003)}])},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()})]})})}}}},e=>{e.O(0,[6853,6631,636,6593,8792],()=>e(e.s=66194)),_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.