PageSourceSearch

https://www.aygaz.com.tr/_next/static/chunks/pages/index-ba5b7fd6c2a23a50.js

js aygaz.com.tr collected 2026-10-02 18:21:44 UTC 27,219 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3332],{2596:e=>{e.exports={"fullpage-banner":"style_fullpage-banner__NifXy"}},4380:(e,t,a)=>{"use strict";a.d(t,{S:()=>s});var i=a(4232),n=a(3797);let s=(e,t,a)=>{let[s,r]=(0,i.useState)(void 0),[l,o]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{(0,n.OO)(e.toString(),e=>{let i=e.filter(e=>e.IsActive);if((i?.length??0)>0){let e=i.find(e=>e.RegionCode===t),n=i.find(e=>e.RegionCode===a);r(e??void 0),o(n??void 0)}})},[e]),{headerMessage:s,footerMessage:l}}},5318:e=>{e.exports={halfBanner:"style_halfBanner__stSmq",halfBannerContainer:"style_halfBannerContainer__kBbX4",halfBannerBackground:"style_halfBannerBackground__L7T1d",halfBannerImage:"style_halfBannerImage__ALTvk",halfBannerContent:"style_halfBannerContent__EJ6pl",halfBannerTop:"style_halfBannerTop__Bc6Y7",halfBannerLogos:"style_halfBannerLogos__pyW7g",halfBannerLogosItem:"style_halfBannerLogosItem__hB1_T",halfBannerBottomLink:"style_halfBannerBottomLink__n_NtJ",halfBannerFullTitle:"style_halfBannerFullTitle__PRxbK"}},5603:e=>{e.exports={wrapper:"style_wrapper__KnBfJ",container:"style_container__LJipm",categoryContainer:"style_categoryContainer__yrt9S",swiperTitle:"style_swiperTitle__L7arB",swiperTitleText:"style_swiperTitleText__oriLd",swiperTitleLink:"style_swiperTitleLink__8Ft4F",categorySwiper:"style_categorySwiper__knWRy",swiper:"style_swiper__V8B7Q","swiper-slide":"style_swiper-slide__dhObS",categorySwiperSlider:"style_categorySwiperSlider__7Muz6",activeSlide:"style_activeSlide__9wrPR",productSwiper:"style_productSwiper__HQ7UO"}},6018:e=>{e.exports={pageMessage:"style_pageMessage__5lo6_",pageMessageBlack:"style_pageMessageBlack__rB4Dv",pageMessageTitle:"style_pageMessageTitle__GPqB4"}},6367:e=>{e.exports={videoWrapper:"style_videoWrapper__fBjkU",videoFrame:"style_videoFrame__H8hFf",videoOverlay:"style_videoOverlay__tMKZf",videoCover:"style_videoCover__Sn72L"}},6587:(e,t,a)=>{"use strict";a.d(t,{x:()=>c});var i=a(7876),n=a(8768),s=a(3176),r=a(1695),l=a(6018),o=a.n(l);let c=e=>(0,i.jsx)("div",{className:e.noContainer?"":"container",children:(0,i.jsxs)("div",{className:(0,r.ph)(o().pageMessage,e.MessageTypeID===s.Go.Black&&o().pageMessageBlack),children:[(0,i.jsx)(n.h,{fs:"14",color:"white",fw:"700",classNames:o().pageMessageTitle,children:e.Title}),(0,i.jsx)(n.h,{fs:"13",color:"white",fw:"300",classNames:o().pageMessageText,children:e.Message})]})})},6760:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return a(9983)}])},7513:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var i=a(7876),n=a(4232),s=a(2797);function r(e){let[t,a]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{requestIdleCallback?requestIdleCallback(()=>a(!0)):setTimeout(()=>a(!0),2e3)},[]),t)?(0,i.jsx)(s.Zc,{...e}):null}},8024:(e,t,a)=>{"use strict";a.d(t,{L:()=>l});var i=a(7876),n=a(4232),s=a(6367),r=a.n(s);function l(e){let{item:t,isActive:a,thumbnailOnly:s=!1}=e,l=(0,n.useRef)(null),[o,c]=(0,n.useState)(!1),d=function(e){let t=e.match(/(?:youtube\.com\/(?:watch\?v=|embed\/|shorts\/)|youtu\.be\/)([^?&/]+)/);return t?.[1]??null}(t.VideoLink);if(s)return d?(0,i.jsx)("div",{className:r().videoWrapper,children:(0,i.jsx)("img",{src:`https://img.youtube.com/vi/${d}/hqdefault.jpg`,alt:t.Title,className:r().videoCover,loading:"lazy"})}):null;let m=t.VideoLink.split("?")[0],p=`${m}?controls=1&rel=0&fs=1&enablejsapi=1&playsinline=1&vq=hd1440`,g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];l.current?.contentWindow?.postMessage(JSON.stringify({event:"command",func:e,args:t}),"*")};(0,n.useEffect)(()=>{let e=e=>{if(e.source===l.current?.contentWindow)try{let t="string"==typeof e.data?JSON.parse(e.data):e.data;if(t?.event==="onStateChange"&&t?.info===2||t?.event==="infoDelivery"&&t?.info?.playerState===2)return void c(!1);t?.event==="onStateChange"&&t?.info===0&&c(!1)}catch{}};return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}},[]),(0,n.useEffect)(()=>{a||(c(!1),g("pauseVideo"))},[a]);let h=()=>{c(!0),requestAnimationFrame(()=>{g("playVideo")})};return(0,i.jsxs)("div",{className:r().videoWrapper,children:[(0,i.jsx)("iframe",{ref:l,title:t.Title,src:p,onLoad:()=>{l.current?.contentWindow?.postMessage(JSON.stringify({event:"listening",id:t.Title}),"*")},allow:"autoplay; encrypted-media; picture-in-picture; fullscreen",allowFullScreen:!0,className:r().videoFrame}),!o&&(0,i.jsx)("div",{className:r().videoOverlay,role:"button",tabIndex:0,"aria-label":`${t.Title} videosunu oynat`,onClick:h,onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),h())}})]})}},8146:e=>{e.exports={"main-slider":"style_main-slider__hKf_A"}},8506:e=>{e.exports={"large-boxes":"style_large-boxes__Eh__P"}},9516:e=>{e.exports={"campaign-banner":"style_campaign-banner__3pDzR","campaign-banner-content":"style_campaign-banner-content__Rhrru","campaign-banner-content-left":"style_campaign-banner-content-left___S_H_","campaign-banner-content-left-link":"style_campaign-banner-content-left-link__Egplk","campaign-banner-content-right":"style_campaign-banner-content-right__qLXSu","campaign-banner-content-right-logo":"style_campaign-banner-content-right-logo__BINER","campaign-banner-content-right-sep":"style_campaign-banner-content-right-sep__dL0_N","campaign-banner-image":"style_campaign-banner-image__5V7kp"}},9595:e=>{e.exports={promotion:"style_promotion__zPc2J",promotionImage:"style_promotionImage__9475q",promotionImageContainer:"style_promotionImageContainer__slDEC"}},9983:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>et});var i=a(7876),n=a(7328),s=a.n(n),r=a(4232),l=a(3797),o=a(6399),c=a(4043),d=a(8768),m=a(3980),p=a(2797),g=a(9516),h=a.n(g);let u=()=>{let e=(0,p.lW)(),t=(0,i.jsxs)(d.h,{fs:"16",mfs:"12",fw:"400",color:"white",href:m.f.CampaignList,classNames:h()["campaign-banner-content-left-link"],children:["T\xfcm kampanyalarımızı g\xf6r\xfcnt\xfcleyin",(0,i.jsx)(p.Zc,{source:"/assets/icons/arrow_forward-white.svg",alt:"T\xfcm Kampanyalar",width:24,height:24})]});return(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:h()["campaign-banner"],children:[(0,i.jsxs)("div",{className:h()["campaign-banner-content"],style:{backgroundImage:"url('/assets/uploads/campaign-background.png')"},children:[(0,i.jsxs)("div",{className:h()["campaign-banner-content-left"],children:[(0,i.jsx)(d.h,{fs:"36",mfs:"20",fw:"700",color:"white",children:"AYGAZ’DAN SİZE \xd6ZEL KAMPANYALAR"}),!e.isMobile&&t]}),(0,i.jsxs)("div",{className:h()["campaign-banner-content-right"],children:[(0,i.jsx)("div",{className:h()["campaign-banner-content-right-logo"],children:(0,i.jsx)(p.Zc,{source:"/assets/uploads/campaign-aygaz-logo.png",width:100,height:23,alt:"Aygaz Logo"})}),(0,i.jsx)("div",{className:h()["campaign-banner-content-right-sep"]}),(0,i.jsx)("div",{className:h()["campaign-banner-content-right-logo"],children:(0,i.jsx)(p.Zc,{source:"/assets/uploads/campaign-aygaz-otogaz-logo.png",width:100,height:34,alt:"Aygaz 100 Oktan Logo"})})]}),e.isMobile&&t]}),e.width>1050&&(0,i.jsx)("div",{className:h()["campaign-banner-image"],children:(0,i.jsx)(p.Zc,{source:"/assets/uploads/campaign-phone.png",width:215,height:352,alt:"Kampanya"})})]})})};var y=a(8230),_=a.n(y),x=a(1695);a(5318);var v=a(6587),f=a(4380),w=a(9839),I=a(3176),j=a(6504),k=a(7542),C=a(8506),D=a.n(C);let T={0:{width:682,height:600},1:{width:499,height:600},2:{width:499,height:290}},b=e=>(0,i.jsx)("section",{className:(0,x.ph)("large-boxes",D()["large-boxes"]),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsx)("div",{className:"items",children:e.cols.map((e,t)=>(0,i.jsx)("div",{className:"col",children:e.items.map((a,n)=>(0,i.jsxs)("div",{className:(0,x.ph)("item",e.items.length>1&&"small"),children:[(0,i.jsx)(p.Zc,{source:a.image,className:"background-image",width:T[t]?.width||682,height:T[t]?.height||600,alt:a.title??"Aygaz"}),(0,i.jsxs)("div",{className:(0,x.ph)("content",a.button&&"has-button"),children:[(0,i.jsx)(d.h,{fs:"36",mfs:"24",fw:"700",color:"white",classNames:"title",children:a.title}),a.text&&(0,i.jsx)(d.h,{fs:"16",fw:"300",color:"white",classNames:"text",children:a.text}),a.button&&(0,i.jsx)(j.$,{href:a.button.href,style:"navy",size:"small",event:()=>{(0,k.p1)({button_name:a.title,event:"view_our_products_click"})},children:a.button.title})]})]},"item-"+n))},"col-"+t))})})});var N=a(7888),z=a(9595),S=a.n(z);let L=e=>(0,i.jsxs)(_(),{href:e.link,className:S().promotion,children:[(0,i.jsx)(d.h,{fs:"12",fw:"700",color:"navy",children:e.title}),(0,i.jsx)("div",{className:S().promotionImageContainer}),(0,i.jsx)(p.Zc,{source:e.image,width:267,height:150,alt:e.title,className:S().promotionImage}),(0,i.jsx)(d.h,{fs:"12",fw:"700",color:"blue",children:e.linkText})]});var P=a(9099),M=a(2596),B=a.n(M);let A=e=>{let t=(0,p.lW)(),a=(0,P.useRouter)();return(0,i.jsx)("section",{className:(0,x.ph)("fullpage-banner",B()["fullpage-banner"]),children:(0,i.jsx)("div",{className:"container",children:(0,i.jsxs)("div",{className:"banner-container",onClick:()=>{t.isMobile&&((0,k.p1)({button_name:e.title,event:"view_our_products_click"}),a.push(e.button.href))},children:[e.image&&(0,i.jsx)(p.Zc,{source:e.image,width:1200,height:440,alt:e.title??"Aygaz",className:"bg-image"}),(0,i.jsxs)("div",{className:"wrapper",children:[(0,i.jsx)(d.h,{fs:"32",fw:"700",color:"white",classNames:"title",children:e.title}),(0,i.jsx)(d.h,{fs:"12",fw:"300",color:"white",classNames:"text",children:e.text}),e.button&&(0,i.jsx)(j.$,{href:e.button.href,style:"blue",event:()=>{(0,k.p1)({button_name:e.title,event:"view_our_products_click"})},children:e.button.title})]})]})})})};var R=a(624),E=a(4196),V=a(6419),G=a(5603),Z=a.n(G);let F=e=>
1{let[t,a]=(0,r.useState)(),[n,s]=(0,r.useState)(),[l,o]=(0,r.useState)([]),[c,m]=(0,r.useState)(0),g=(0,V.P)(e=>e.address);(0,r.useEffect)(()=>{let t=[],a=0;for(let i of e.categories){let e=a+i.ProductList.length-1;t.push({start:a,end:e,categoryId:i.CategoryID}),a=e+1}o(t)},[e.categories]),(0,r.useEffect)(()=>(window.addEventListener("scroll",h,!1),()=>{window.removeEventListener("scroll",h,!1)}),[]);let h=()=>{let t=e.categories.map(e=>e.ProductList).flat();t&&(0,k.b9)(t,e.pageName??"","Home","L001")},u=()=>{let t=e.categories?.[0]?.ProductBoxViewType;return"xsmall"===t?7:"small"===t?6:"normal"===t||"large"===t?5:4};return(0,i.jsxs)("div",{className:(0,x.ph)(Z().wrapper,"container"),children:[(0,i.jsxs)("div",{className:Z().swiperTitle,children:[(0,i.jsx)(d.h,{classNames:Z().swiperTitleText,fs:"18",fw:"700",color:"navy",children:e.mainCategoryTitle}),(0,i.jsx)(d.h,{classNames:Z().swiperTitleLink,fs:"12",fw:"700",color:"blue",href:(0,x.K)(e.mainCategoryTitle,e.mainCategoryId),children:"T\xfcm\xfcn\xfc G\xf6r\xfcnt\xfcle"})]}),(0,i.jsx)("div",{className:(0,x.ph)(Z().container,Z().categoryContainer),children:(0,i.jsx)(N.RC,{onSwiper:e=>a(e),slidesPerView:"auto",spaceBetween:12,pagination:{clickable:!0},freeMode:!0,className:Z().categorySwiper,children:e.categories.map((e,t)=>(0,i.jsxs)(N.qr,{className:(0,x.ph)(Z().categorySwiperSlider,c===t&&Z().activeSlide),onClick:()=>(e=>{let t=l.find(t=>t.categoryId===e);m(l.indexOf(t)),t&&n.slideTo(t.start)})(e.CategoryID),children:[(0,i.jsx)(p.Zc,{source:e.ProductList?.[0].Images?.[0]?.FileLink,alt:e.CategoryTitle,width:24,height:24}),(0,i.jsx)(d.h,{fs:"14",color:"navy",fw:"700",children:e.CategoryTitle})]},"swiper-slide-category-"+e.CategoryID))},"category-swiper-"+e.mainCategoryId)}),(0,i.jsx)("div",{className:Z().container,children:(0,i.jsx)(N.RC,{onSwiper:e=>s(e),slidesPerView:(()=>{let t=e.categories?.[0]?.ProductBoxViewType;if("xsmall"===t)return 2;if("small"===t)return 1.8;if("normal"===t||"large"===t);else if("xlarge"===t)return 1.2;return 1.4})(),breakpoints:{650:{slidesPerView:2},900:{slidesPerView:3},1024:{slidesPerView:u()>4?u()-2:u()-1},1140:{slidesPerView:u()>4?u()-1:u()},1280:{slidesPerView:u()}},spaceBetween:12,freeMode:!0,className:Z().swiper,navigation:!0,modules:[R.A],onSlideChange:()=>{let e=n.activeIndex,a=l.find(t=>t.start<=e&&t.end>=e);if(a){let e=l.indexOf(a);t.slideTo(e),m(e)}},children:e.categories.filter(e=>0===e.DisplayModeID&&e.ProductList).map((t,a)=>(0,i.jsx)(r.Fragment,{children:t.ProductList.map((n,s)=>{let r=(t=>{let a=e.startIndex;if(t>=1)for(let i=0;i<t;i++)a+=e.categories.filter(e=>0===e.DisplayModeID&&e.ProductList)[i].ProductList.length;return a})(a);return(0,i.jsx)(N.qr,{className:Z().productSwiper,children:(0,i.jsx)(E.A,{...n,datalayerIndex:r+s,isAddress:!!g&&0!==g.TownId&&0!==g.ProvinceID,cardSize:e.categories?.[0]?.ProductBoxViewType??"normal",category:t.CategoryID?{Title:t.CategoryTitle,CategoryID:t.CategoryID,ImageLink:""}:void 0,onPressItem:e.onPressItem})},"slider-item-"+n.ProductID+"-"+(a+s))})},"slider-item-container"+t.CategoryID+"-"+a))},"category-swiper-"+e.mainCategoryId)})]})},O=e=>{let t=(0,V.P)(e=>e.address),[a,n]=(0,r.useState)([]),s=(0,r.useRef)(!1),l=async()=>{await (0,o.e1)(e=>{c(e)})},c=e=>{let t=[];for(let a of e)if(0===a.DisplayModeID&&a.ProductList){let e=a.ProductList[0];t.some(t=>t.MainCategoryId===e.MainCategoryID)?t.filter(t=>t.MainCategoryId===e.MainCategoryID)[0].Categories.push(a):t.push({MainCategoryId:e.MainCategoryID,MainCategoryTitle:e.MainCategoryTitle,MainCategoryImage:e.Images?.[0]?.FileLink,Categories:[a],Index:0,DisplayMode:0})}else 1===a.DisplayModeID?t.push({Categories:[a],Index:0,DisplayMode:1}):2===a.DisplayModeID&&t.push({Index:a.CategorySequence,DisplayMode:2,Campaigns:a.CampaignList});t.forEach((e,t)=>{e.Index=e.Categories?.sort((e,t)=>e.CategorySequence-t.CategorySequence)[0]?.CategorySequence??e.Index}),n(t)};return(0,r.useEffect)(()=>{c(e.campaigns)},[e.campaigns]),(0,r.useEffect)(()=>{s.current&&l(),s.current=!0},[t]),(0,i.jsx)(i.Fragment,{children:a?.sort((e,t)=>e.Index-t.Index).map((e,t)=>{if(0===e.DisplayMode)return(0,i.jsx)(F,{pageName:"Homepage",categories:e.Categories,mainCategoryId:e.MainCategoryId,mainCategoryTitle:e.MainCategoryTitle,mainCategoryImage:e.MainCategoryImage,startIndex:(e=>{let t=0;if(e>=1)for(let i=0;i<e;i++){let e=a[i];2!==e.DisplayMode&&(t+=e.Categories.filter(e=>0===e.DisplayModeID&&e.ProductList).map(e=>e.ProductList.length).reduce((e,t)=>
1e+t,0))}return t})(t)},"homepage-products-slider-"+t);if(1===e.DisplayMode){let a=e.Categories[0];return(0,i.jsx)(A,{title:a.CategoryTitle,text:a.Description,image:a.ImageLink,button:{title:"\xdcr\xfcnlerimizi G\xf6r\xfcnt\xfcleyin",href:(0,k.K)(a.CategoryTitle,a.CategoryID)}},"homepage-products-banner-"+t)}return 2===e.DisplayMode?(0,i.jsx)("div",{className:"container",children:(0,i.jsx)(N.RC,{slidesPerView:1.2,breakpoints:{650:{slidesPerView:2},900:{slidesPerView:3},1140:{slidesPerView:4}},spaceBetween:12,freeMode:!0,children:e.Campaigns.map((e,t)=>(0,i.jsx)(N.qr,{children:(0,i.jsx)(L,{title:e.title,image:e.image,link:m.f.CampaignDetail.replace(":campaignslug",(0,k._J)(e.campaignName)+"-cmp-"+e.campaignCode),linkText:"Detayları İncele"},`home-campaign-card-${t}`)},`home-campaign-${t}`))},"homepage-campaign-slider-"+t)}):(0,i.jsx)(i.Fragment,{})})})};var K=a(4085);a(346),a(1937);var q=a(6222),Y=a(2597),$=a(7513);let J=e=>{let t=e.Data?JSON.parse(e.Data):null;if(2===e.SliderContentTypeID)return(0,i.jsx)(j.$,{href:(0,k.Qj)({ProductID:parseInt(t.ProductID)??0,CategoryID:t.CategoryID,ProductTitle:t.ProductName,MainCategoryTitle:t.MainCategoryName,CategoryTitle:t.CategoryName,MainCategoryID:t.MainCategoryID}),event:()=>{(0,k.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Popup System",location_id:e.Id,index:e.Id}}),e.onClick?.()},children:e.ButtonTitle});if(3===e.SliderContentTypeID||4===e.SliderContentTypeID)return(0,i.jsx)(j.$,{href:(0,k.K)(t.MainCategoryName,parseInt(t.MainCategoryID)??0),event:()=>{(0,k.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Popup System",location_id:e.Id,index:e.Id}}),e.onClick?.()},children:e.ButtonTitle});if(5===e.SliderContentTypeID)return(0,i.jsx)(j.$,{href:m.f.CampaignDetail.replace(":campaignslug",(0,k._J)(e.Title)+"-cmp-"+e.RelatedDataID),event:()=>{(0,k.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Popup System",location_id:e.Id,index:e.Id}}),e.onClick?.()},children:e.ButtonTitle});if(6===e.SliderContentTypeID)return(0,i.jsx)(j.$,{href:e.UrlLink,event:()=>{(0,k.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Popup System",location_id:e.Id,index:e.Id}}),e.onClick?.()},children:e.ButtonTitle});if(7===e.SliderContentTypeID)return(0,i.jsx)(j.$,{href:`${m.f.CampaignList}?section=2`,event:()=>{(0,k.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Popup System",location_id:e.Id,index:e.Id}}),e.onClick?.()},children:e.ButtonTitle});return null};var W=a(8024),H=a(8146),U=a.n(H);let Q=e=>{let t=(0,p.lW)(),[a,n]=(0,r.useState)(0),s=(0,P.useRouter)(),l=e=>{2===e.SliderContentTypeID&&e.RelatedDataID?(s.push((0,x.Qj)({ProductID:parseInt(e.RelatedDataID)??0,ProductTitle:e.Title,MainCategoryTitle:void 0,MainCategoryID:0})),(0,x.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Home Page",location_id:e.Id,index:e.Id}})):(3===e.SliderContentTypeID||4===e.SliderContentTypeID)&&e.RelatedDataID?(s.push((0,x.K)(e.Title,parseInt(e.RelatedDataID)??0).toString()),(0,x.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Home Page",location_id:e.Id,index:e.Id}})):5===e.SliderContentTypeID&&e.RelatedDataID?(s.push(m.f.CampaignDetail.replace(":campaignslug",(0,x._J)(e.Title)+"-cmp-"+e.RelatedDataID)),(0,x.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Home Page",location_id:e.Id,index:e.Id}})):6===e.SliderContentTypeID&&e.UrlLink&&(window.location.href=e.UrlLink,(0,x.p1)({event:"select_promotion",ecommerce:{promotion_id:e.RelatedDataID,creative_name:e.Title,creative_slot:"Home Page",location_id:e.Id,index:e.Id}}))};return(0,i.jsxs)("section",{className:(0,x.ph)("main-slider",U()["main-slider"]),children:[(0,i.jsxs)("div",{className:"main-slider-wrapper",children:[!t.isMobile&&(0,i.jsx)($.A,{className:"main-slider-wrapper-bg",source:"/assets/uploads/sl
1ider-bg-3.jpg",width:1140,height:621,alt:"Slider Background",priority:!1,loading:"lazy"}),(0,i.jsx)("div",{className:"container container-center",children:e.items&&e.items.length>0&&(0,i.jsx)("div",{className:"slider-wrapper",children:t.isMobile?(0,i.jsx)(N.RC,{slidesPerView:1,modules:[q.A,R.A],navigation:{enabled:!0},pagination:{enabled:!0,bulletActiveClass:"active",bulletClass:"bullet",dynamicBullets:!0,dynamicMainBullets:5,clickable:!0},onSlideChange:t=>{let a=e.items[t.realIndex];n(t.realIndex),(0,x.p1)({event:"view_promotion",ecommerce:{promotion_id:a.RelatedDataID,creative_name:a.Title,creative_slot:"Home Page",location_id:t.activeIndex,index:t.activeIndex}})},slidesPerGroup:1,spaceBetween:20,loop:!0,children:e.items.map((t,n)=>(0,i.jsxs)(N.qr,{onClick:()=>t.VideoLink?void 0:l(t),children:[(0,i.jsxs)("div",{className:"content",onClick:()=>t.VideoLink?l(t):void 0,children:[(0,i.jsx)(d.h,{fs:"24",mfs:"18",color:"white",fw:"700",classNames:"title",children:t.Title}),t.Description&&(0,i.jsxs)(d.h,{fs:"12",classNames:"text",children:[t.Description.substring(0,200)," ",t.Description.length>200?"...":""]})]}),(0,i.jsx)("div",{className:"view-wrapper",children:(0,i.jsx)("div",{className:"image",children:t.VideoLink?(0,i.jsx)(W.L,{item:{VideoLink:t.VideoLink,Title:t.Title??""},isActive:n===a}):(0,i.jsx)(p.Zc,{source:t.ImageLink,width:792,height:495,alt:t.Title,priority:0===n||n===e.items.length-1,loading:0===n||n===e.items.length-1?"eager":"lazy"})})})]},`mobile-swiper-slider-${n}`))},"mobile-slider"):(0,i.jsx)(N.RC,{slidesPerView:1,onInit:()=>{},loop:!0,onSlideChange:t=>{n(t.realIndex);let a=e.items[t.realIndex];(0,x.p1)({event:"view_promotion",ecommerce:{promotion_id:a.RelatedDataID,creative_name:a.Title,creative_slot:"Home Page",location_id:t.activeIndex,index:t.activeIndex}})},pagination:{enabled:!0,bulletActiveClass:"active",bulletClass:"bullet",dynamicBullets:!0,dynamicMainBullets:5,clickable:!0},spaceBetween:20,modules:[q.A],children:e.items.map((t,n)=>(0,i.jsxs)(N.qr,{children:[(0,i.jsxs)("div",{className:"content",children:[(0,i.jsx)(d.h,{fs:"32",color:"navy",fw:"700",classNames:"title",children:t.Title}),(0,i.jsx)(d.h,{fs:"14",classNames:"text",children:t.Description}),(0,i.jsx)("div",{className:"button-wrapper",children:(0,i.jsx)(J,{Id:t.Id,Title:t.Title,SliderContentTypeID:t.SliderContentTypeID,UrlLink:t.UrlLink,RelatedDataID:t.RelatedDataID,Data:t.Data,ButtonTitle:"KEŞFEDİN"})})]}),(0,i.jsx)("div",{className:"image",children:t.VideoLink?(0,i.jsx)(W.L,{item:{VideoLink:t.VideoLink,Title:t.Title??""},isActive:n===a}):(0,i.jsx)(p.Zc,{source:t.ImageLink,width:792,height:495,alt:t.Title,priority:0===n||n===e.items.length-1,loading:0===n||n===e.items.length-1?"eager":"lazy"})})]},`swiper-slider-${n}`))},"desktop-slider")})})]}),(0,i.jsx)("div",{className:"product-groups",children:(0,i.jsx)("div",{className:"container",children:e.homeLinks&&(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(N.RC,{className:"product-groups-swiper",scrollbar:{hide:!1,dragSize:135,horizontalClass:"product-groups-scrollbar",dragClass:"product-groups-scrollbar-drag"},modules:[Y.A,R.A],slidesPerView:3,breakpoints:{300:{slidesPerView:4},500:{slidesPerView:5},750:{slidesPerView:6},900:{slidesPerView:"auto"}},spaceBetween:K.Fr?8:14,navigation:{enabled:!0,prevEl:".product-groups-prev",nextEl:".product-groups-next"},children:[(0,i.jsx)(N.qr,{children:(0,i.jsxs)(_(),{href:m.f.ProductSearch,className:"product-groups-item",title:"T\xfcm \xdcr\xfcnler",children:[(0,i.jsx)("div",{className:"product-groups-item-image product-groups-item-image--all",children:(0,i.jsx)(p.Zc,{source:"/assets/uploads/aygaz-category-logo.png",width:K.Fr?64:114,height:K.Fr?64:114,alt:"T\xfcm \xdcr\xfcnler"})}),(0,i.jsx)(d.h,{fs:"12",mfs:"10",fw:"700",color:"navy",children:"T\xfcm \xdcr\xfcnler"})]},"group-item-all")}),e.homeLinks.map((e,t)=>(0,i.jsx)(N.qr,{children:(0,i.jsxs)(_(),{href:(0,x.K)(e.Title,e.CategoryId,e.ParentTitle??void 0,e.ParentId??void 0),className:"product-groups-item",title:e.Title,onClick:()=>{(0,x.p1)({event:"category_click",button_name:e.Title})},children:[(0,i.jsx)("div",{className:"product-groups-item-image",children:e.ImageLink&&e.ImageLink.length>0?(0,i.jsx)(p.Zc,{source:e.ImageLink,width:K.Fr?64:114,height:K.Fr?64:114,alt:e.Title}):(0,i.jsx)(p.Zc,{source:"/assets/uploads/tum-urunler.png",width:K.Fr?64:114,height:K.Fr?64:114,alt:e.Title})}),(0,i.jsx)(d.h,{fs:"12",mfs:"10",fw:"700",color:"navy",children:e.Title?.toString().capitalize().replaceAll(" Ve "," ve ")})]},"group-item-"+t)},t)),(0,i.jsx)("div",{className:"product-groups-prev",children:(0,i.jsx)(p.Zc,{source:"/assets/icons/chevron_left-navy.svg",width:24,height:24,alt:"Geri"})}),(0,i.jsx)("div",{className:"product-groups-next",children:(0,i.jsx)(p.Zc,{source:"/assets/icons/chevron_right-navy.svg",width:24,height:24,alt:"İleri"})})]})})})})]})},X={cols:[{items:[{title:"Yeni Barbek\xfclerimiz ve Barbek\xfc Aksesuarlarımız Satışta",image:"/assets/uploads/main-where-is-aygaz.png",button:{title:"\xdcR\xdcNLERİMİZE G\xd6Z ATIN",href:"/urunler/barbeku-ve-aksesuarlari-kid-159"}}]},{items:[{title:"Keyifli Sohbetlerinize Dış Mekan Isıtıcılarımız Eşlik Etsin",text:"Aygaz Dış Mekan Isıtıcıları Aygaz t\xfcpleriyle g\xfcvenli ve şık bir şekilde kullanabilir; sohbetlerinizde sıcacık ortamların keyfini \xe7ıkarabilirsiniz.",image:"/assets/uploads/main-where-is-aygaz-2.png",button:{title:"\xdcR\xdcNLERİMİZE G\xd6Z ATIN",href:"/urunler/isiticilar-ve-kiliflar-kid-160/dis-mekan-isiticilar-kid-132"}}]},{items:[{title:"Aygaz Kart Avantajlar D\xfcnyası",text:"Aygaz Kart ile \xfcye olduÄ
1Ÿu Paro sistemi sayesinde Paro \xfcyesi şirketlerde de Paropuan ve kampanya fırsatlarından faydalanabilirsiniz.",image:"/assets/uploads/main-where-is-aygaz-3.png"},{title:"Aygaz D\xf6n\xfcş\xfcmc\xfc Kul\xfcb\xfc",text:"Aygaz Kart ile \xfcye olduğu Paro sistemi sayesinde Paro \xfcyesi şirketlerde de Paropuan ve kampanya fırsatlarından faydalanabilirsiniz.",image:"/assets/uploads/main-where-is-aygaz-4.png"}]},{items:[{title:"Y\xfcksek Oktanlı Yakıt LPG Eski Performansınızı Aratmaz",text:"Otogaz, benzine g\xf6re daha y\xfcksek oktan değerine sahiptir. Bu sayede t\xfcm ara\xe7larda daha verimli yanma ve daha y\xfcksek motor g\xfcc\xfc \xfcretimi sağlar.",image:"/assets/uploads/main-where-is-aygaz-5.png"}]}]};function ee(e){let{headerMessage:t,footerMessage:a}=(0,f.S)(I.Nf.Index,I.TG.IndexHeader,I.TG.IndexFooter);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(s(),{children:[(0,i.jsx)("title",{children:"AYGAZ | T\xfcp - LPG - Otogaz - T\xfcpgaz - Doğalgaz - D\xf6kme Gaz"}),(0,i.jsx)("meta",{name:"title",content:"AYGAZ | T\xfcp - LPG - Otogaz - T\xfcpgaz - Doğalgaz - D\xf6kme Gaz"}),(0,i.jsx)("meta",{name:"description",content:"AYGAZ Resmi Sitesi. Doğalgaz, LPG, T\xfcp, Otogaz, T\xfcpgaz, D\xf6kme Gaz ve Cihaz fiyatları ve \xf6zellikleri, Kampanyalar, Satış Noktaları, Yatırımcı İlişkileri."}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:site_name",content:"Aygaz"}),(0,i.jsx)("meta",{name:"og:title",content:"AYGAZ | T\xfcp - LPG - Otogaz - T\xfcpgaz - Doğalgaz - D\xf6kme Gaz"}),(0,i.jsx)("meta",{name:"og:description",content:"AYGAZ Resmi Sitesi. Doğalgaz, LPG, T\xfcp, Otogaz, T\xfcpgaz, D\xf6kme Gaz ve Cihaz fiyatları ve \xf6zellikleri, Kampanyalar, Satış Noktaları, Yatırımcı İlişkileri."}),(0,i.jsx)("meta",{name:"twitter:title",content:"AYGAZ | T\xfcp - LPG - Otogaz - T\xfcpgaz - Doğalgaz - D\xf6kme Gaz"}),(0,i.jsx)("meta",{name:"twitter:description",content:"AYGAZ Resmi Sitesi. Doğalgaz, LPG, T\xfcp, Otogaz, T\xfcpgaz, D\xf6kme Gaz ve Cihaz fiyatları ve \xf6zellikleri, Kampanyalar, Satış Noktaları, Yatırımcı İlişkileri."}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,i.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1586550270, app-argument=https://aygaz.com.tr"}),(0,i.jsx)("link",{rel:"canonical",href:"https://www.aygaz.com.tr/"}),(0,i.jsx)("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"Organization",name:"Aygaz",alternateName:"https://www.aygaz.com.tr/",url:"https://www.aygaz.com.tr/",logo:"https://www.aygaz.com.tr/assets/icons/aygaz-logo.svg"})})]}),(0,i.jsx)(Q,{items:e.mainSliders,homeLinks:e.homeLinks}),t&&(0,i.jsx)(v.x,{...t}),(0,i.jsx)(u,{}),(0,i.jsx)(O,{campaigns:e.campaignCategories}),(0,i.jsx)(b,{...X}),a&&(0,i.jsx)(v.x,{...a})]})}m.f.CampaignList,ee.getInitialProps=async e=>{let t=e.InitialContext,a=[],i=[],n=[];return await Promise.all([(0,o.e1)(e=>{e&&(a=e)},void 0,t),(0,l.vQ)(e=>{e&&(i=e)},t),(0,c.FW)(e=>{e&&(n=e)},t)]),{campaignCategories:a,mainSliders:i,homeLinks:n}};let et=ee;ee.getLayout=e=>(0,i.jsx)(w.si,{children:e})}},e=>{e.O(0,[8450,4085,6222,5387,4196,636,6593,8792],()=>e(e.s=6760)),_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.