PageSourceSearch

http://www.siyerkitap.com/_nuxt/954899f.js

js siyerkitap.com collected 2026-09-25 08:45:09 UTC 1,601,568 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[,,,function(t,e,r){"use strict";r.r(e);var o={name:"wrap-footer",computed:{component(){var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme||this.$store.state.firmAppMode||0,e="b2b";return"5"==t&&(e="dergah"),()=>r(633)("./"+e+".vue")}}},l=r(0),component=Object(l.a)(o,function(){return(0,this._self._c)(this.component,{tag:"component"})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"headerWrap",data(){return{metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleAdsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAdsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID,this.googleAdsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);Array.isArray(f)&&f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null},component(){var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.headerTheme||0;return t=this.$device.isDesktop?"t"+t:"mobile/b2b",()=>r(637)("./"+t+".vue")}},methods:{getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n              {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n              n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n              if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n              n.queue=[];t=b.createElement(e);t.async=!0;\n              t.src=v;s=b.getElementsByTagName(e)[0];\n              s.parentNode.insertBefore(t,s)}(window, document,'script',\n              'https://connect.facebook.net/en_US/fbevents.js');\n              fbq('init', '".concat(t,"');\n              fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:(t,e)=>
1t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n                window.dataLayer = window.dataLayer || [];\n                function gtag(){dataLayer.push(arguments);}\n                gtag('js', new Date());\n\n                gtag('config', '".concat(t,"');\n                ").concat(e?"gtag('config', '".concat(e,"');"):"","\n              ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n                new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n                j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n                'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n                })(window,document,'script','dataLayer','".concat(t,"');")}}}},d=r(0),component=Object(d.a)(c,function(){return(0,this._self._c)(this.component,{tag:"component"})},[],!1,null,null,null);e.default=component.exports},,function(t,e,r){"use strict";r.r(e);var o={name:"paginationCard",props:{pageData:Object,sizes:{type:Array,default:function(){return[20,40,80,100]}},showUrl:{type:Boolean,default:!0}},watch:{pageData:{deep:!0,handler:function(t,e){this.dataList=t}}},data:()=>({dataList:null}),created(){this.dataList=this.pageData},methods:{handleSizeChange(t){this.dataList.pageCount=t,this.showUrl&&this.$router.push({query:Object.assign({},this.$route.query,{size:t,page:this.dataList.pageNo})}),this.returnPagination()},handleCurrentChange(t){this.dataList.pageNo=t,this.showUrl&&this.$router.push({query:Object.assign({},this.$route.query,{size:this.dataList.pageCount,page:t})}),this.returnPagination()},selectChange(t){this.dataList.pageNo=1,this.dataList.pageCount=t,this.showUrl&&this.$router.push({query:Object.assign({},this.$route.query,{size:t,page:this.dataList.pageNo})}),this.returnPagination()},inputChange(){this.dataList.pageNo=this.dataList.pageNo,this.showUrl&&this.$router.push({query:Object.assign({},this.$route.query,{size:this.dataList.pageCount,page:this.dataList.pageNo})}),this.returnPagination()},returnPagination(){this.$emit("paginationData",this.dataList)}}},l=(r(515),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"fr my5"},[e("span",{staticClass:"pageCount fl mr10 fs-15 fw-b ln-36"},[t._v(t._s(t.dataList.dataCount))]),t._v(" "),e("el-pagination",{class:"fl p0",attrs:{background:"",layout:"prev","page-sizes":t.sizes,"current-page":parseInt(t.dataList.pageNo),"page-size":parseInt(t.dataList.pageCount),total:parseInt(t.dataList.dataCount)},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}}),t._v(" "),e("el-input",{staticClass:"paginationInput w70 h30 fl ta-c",attrs:{size:"medium",onfocus:"this.select();"},on:{change:t.inputChange},scopedSlots:t._u([{key:"prepend",fn:function(){return[e("el-select",{staticClass:"fl",attrs:{size:"medium"},on:{change:t.selectChange},model:{value:t.dataList.pageCount,callback:function(e){t.$set(t.dataList,"pageCount",e)},expression:"dataList.pageCount"}},t._l(t.sizes,function(t){return e("el-option",{key:t,attrs:{label:t,value:t}})}),1)]},proxy:!0},{key:"append",fn:function(){return[t._v("\r\n        "+t._s(Math.ceil(t.dataList.dataCount/t.dataList.pageCount))+"\r\n      ")]},proxy:!0}]),model:{value:t.dataList.pageNo,callback:function(e){t.$set(t.dataList,"pageNo",e)},expression:"dataList.pageNo"}}),t._v(" "),e("el-pagination",{class:"fl p0",attrs:{background:"",layout:"next","page-sizes":t.sizes,"current-page":parseInt(t.dataList.pageNo),"page-size":parseInt(t.dataList.pageCount),total:parseInt(t.dataList.dataCount)},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1)},[],!1,null,null,null);e.default=component.exports},,,,,function(t,e,r){"use strict";r.r(e);var o=r(12),l=r(13),n={name:"prodCard",components:{basketInput:o.default,stokView:l.default},props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,favoriteLoading:!1,favList:[],badgeList:[]}},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.item.product_json)&&void 0!==t&&t.variant_master_stokcins?this.item.product_json.variant_master_stokcins:this.item.product_json.stokcins}},mounted(){localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.item.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.item.product_json.tags[i].id];e&&t.push(e.image)}return t}},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.item.product_json.id,barcode:this.item.product_json.barkod,quantity:this.favList.includes(this.item.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.item.product_json.seo_link)},getBaseCurrency(t){var e="",r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.product_json.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.product_json.sahaf:"2"==this.sepetCalismaMod?"0"==t.product_json.sahaf:"3"==this.sepetCalismaMod&&("0"==t.product_json.sahaf||"1"==t.product_json.sahaf&&t.product_json.smiktar>0)}}},c=n,d=r(0),component=Object(d.a)(c,function(){var t,e=this,r=e._self._c;return r("div",{staticClass:"dp-f fd-c ItemShadow ww fl mb30 pos-r bg-white",staticStyle:{height:"calc(100% - 30px)"}},[r("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z3 ta-o fd-c"},e._l(e.badgeList,function(t,e){return r("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),e._v(" "),r("div",{staticClass:"Scol ww fl ta-o pos-r of-h",staticStyle:{height:"260px","border-radius":"3px 3px 0 0"}},[e.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?r("el-button",{staticClass:"w40 h40 m5 p0 pos-a tp-0 rg-0 z9 ta-o fs-20 cr-p rr bg-white",staticStyle:{border:"none!important"},attrs:{title:e.$t(e.favList.includes(e.item.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:e.favoriteLoading},on:{click:e.addToFavorite}},[e.favoriteLoading?r("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[e.favList.includes(e.item.product_json.id)?r("svg",{staticClass:"fl",attrs:{width:"24",height:"24",fill:"var(--error)",viewBox:"0 0 256 256"}},[r("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):r("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):e._e(),e._v(" "),r("router-link",{class:"ww hh fl",attrs:{to:e.localePath("/urun/"+e.item.product_json.seo_link)}},[e.item.product_json.files.length>0?r("img",{staticClass:"ww hh fl rds5 object-contain z1 pos-a tp-0 lf-0 bg-white",staticStyle:{"object-position":"top"},attrs:{width:"220",onerror:'this.style.display = "none"',loading:"lazy",src:((null===(t=e.item.product_json.files[0].w200)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.file_url)||e.item.product_json.files[0].fl_url)+"?width=220&height=263",alt:e.item.search_text||e.item.stokcins}}):e._e(),e._v(" "),r("div",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o fs-63 el-icon-picture-outline bg-light txt-dark"})])],1),e._v(" "),r("div",{class:"dp-f fd-c pos-r p10",staticStyle:{flex:"1"}},[r("nuxt-link",{class:"ww fl",attrs:{to:e.localePath("/urun/"+e.item.product_json.seo_link)}},[r("h5",{staticClass:"ww h30 fl mb5 dp-b fs-13 ta-c fw-5 ln-15 ellipsis-multi",attrs:{title:e.productStokCins}},[e._v(e._s(e.productStokCins))])]),e._v(" "),e.firmSetting.b2bProductCardShowCode?r("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h"},[e._v(e._s(e.item.product_json.kod))]):e._e(),e._v(" "),e.firmSetting.b2bProductCardHideYazar?e._e():[e.item.product_json.authors.length>0?r("div",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h",domProps:{innerHTML:e._s(e.getYazarLinkList(e.item.product_json.authors))}}):r("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20"},[e._v("-")])],e._v(" "),e.firmSetting.b2bHidePublisher?e._e():[null!=e.item.product_json.uretici?[r("nuxt-link",{class:"ww fl",attrs:{to:e.localePath(e.getMakeSeoLink(e.item.product_json.uretici,"uretici"))}},[r("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r txt-2 ta-c fs-13 ln-20",attrs:{title:e.item.product_json.uretici.ureticiad}},[e._v("\n                        "+e._s(e.item.product_json.uretici.ureticiad)+"\n                    ")])])]:r("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20"},[e._v("-")])],e._v(" "),!e.pricebarShow&&e.homepageShowPrice?r("p",{staticClass:"ww fl my5"},[r("span",{staticClass:"ww fl ln-20 fs-18 fw-9 txt-error ta-o"},[r("span",{staticClass:"fl ln-9 fs-18"},[e._v(e._s(e.getPriceCode(e.item)))]),e._v("\n                "+e._s(e.$currencyFormat(e.getPrice(e.item,"kfiyat_proc"),e.getCurrency(e.item)))+"\n            ")])]):e._e(),e._v(" "),e.item.product_json.ebook?r("div",{staticClass:"pt30",staticStyle:{"margin-top":"auto"}},[r("router-link",{attrs:{to:e.localePath("/urun/"+e.item.product_json.seo_link)}},[r("el-button",{staticClass:"ww fl fs-13 fw-4 ta-o",attrs:{type:"primary",size:"medium",icon:"icon-book mr10",round:""}},[e._v("\n                    "+e._s(e.$t("E-Kitap Görüntüle"))+"\n                ")])],1)],1):e.pricebarShow?r("div",{staticClass:"dp-f fd-c",staticStyle:{flex:"1"}},[e.showPrice?r("div",{},[r("div",{staticClass:"ww h40 fl"},[r("stokView",{attrs:{item:e.item,cardType:"card"}})],1),e._v(" "),r("div",{staticClass:"clr"}),e._v(" "),(e.item.product_json.kisk||0)>0?r("el-row",{staticClass:"h60",class:!e.firmSetting.b2bShowDiscountAndListPrice&&"ta-o",attrs:{gutter:0}},[r("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[r("p",{staticClass:"ww fl mt5"},[e.firmSetting.b2bShowDiscountAndListPrice?r("span",{staticClass:"ww fl ln-14 fs-14 dp-f fw-9 txt-sub td-lt mb5 ai-b"},[r("span",{staticClass:"fl mt5 ln-8 fs-14"},[e._v(e._s(e.getPriceCode(e.item)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.item,"kfiyat"),e.getCurrency(e.item)))+"\n                            ")]):e._e(
1),e._v(" "),r("span",{class:e.firmSetting.b2bShowDiscountAndListPrice?"ww fl dp-f ai-b ln-24 fs-20 fw-9 txt-error":"ww fl ln-20 fs-16 fw-9 txt-error"},[r("span",{staticClass:"fl mt5 ln-11 fs-16"},[e._v(e._s(e.getPriceCode(e.item)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.item,"kfiyat_proc"),e.getCurrency(e.item)))+"\n                            ")])])]),e._v(" "),r("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[r("p",{class:"ww h20 fl my5 ta-o rds30 bg-warning fw-b "+(e.$device.isMobile?"ta-ol":"ta-or")},[r("span",{staticClass:"ww fl ta-c discount txt-dark fs-12"},[e._v("%"+e._s(e.item.product_json.kisk||0))])])])],1):r("div",{staticClass:"ww fl",class:e.$device.isMobile?"h80":"h60"},[r("span",{staticClass:"ww fl ln-30 fs-18 fw-9 txt-error ta-o"},[r("span",{staticClass:"fl ln-11 fs-18"},[e._v(e._s(e.getPriceCode(e.item)))]),e._v("\n                        "+e._s(e.$currencyFormat(e.getPrice(e.item,"kfiyat_proc"),e.getCurrency(e.item)))+"\n                    ")])]),e._v(" "),e.item&&e.item.currencyPriceList&&e.firmSetting.b2bShowBaseCurrency?r("div",{staticClass:"ww h20 fl",domProps:{innerHTML:e._s(e.getBaseCurrency(e.item))}}):e._e()],1):e._e(),e._v(" "),r("div",{staticClass:"ww fl dp-f",staticStyle:{"align-items":"end",flex:"1"}},[e.showBasket?r("div",{staticClass:"ww fl"},[e.isBasketShow(e.item)?r("basketInput",{attrs:{inputData:{id:e.item.product_json.id,barkod:e.item.product_json.barkod,quantity:1,attribute_text:e.item.product_json.attribute_text,stokcins:e.item.product_json.stokcins,uretici:e.item.product_json.uretici,kategori:e.item.product_json.kategori,kfiyat_proc:e.item.product_json.kfiyat_proc,kkdv:e.item.product_json.kkdv,kbbars:e.item.product_json.kbbars,stokbirim:e.item.product_json.stokbirim}}}):e._e()],1):e._e()])]):e._e()],2)])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(86),l=r(49),n={name:"basketInput",props:{inputData:Object,showInput:{type:Boolean,default:!0},sizeInput:{type:String,default:"medium"}},data(){return{loginDialogShow:!1,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,userData:this.$cookies.get("b2bUserInfo")||null,buttonLoad:!1,isBasket:0,quantity:1,varyantDialogShow:!1,varyantGroup:{},varyantGroupModal:{},ekBarkodList:[],ekBarkodSTokBirim:0,ekBarkodSelectedItem:null}},created(){this.quantity=this.inputData.quantity,this.isBasket=this.firmSetting.b2bShowBasket||!1},mounted(){this.firmSetting.b2bEkBarkodKirtasiye&&this.calcEkBarkodList()},computed:{calculatedQuantity(){var t;return this.ekBarkodSelectedItem&&null!==(t=this.ekBarkodSelectedItem)&&void 0!==t&&t.br_miktar?this.quantity*this.ekBarkodSelectedItem.br_miktar:this.quantity}},methods:{googleAddToCart:o.googleAddToCart,metaAddToCart:l.metaAddToCart,handleAddToBasket(){try{this.inputData.attribute_text?!Object.keys(this.varyantGroup).length>0?this.getVaryantGroup():this.varyantDialogShow=!0:this.isLogin()}catch(t){console.log(t)}},handleVaryantIsSet(){var t=[];for(var e in this.varyantGroupModal)""==this.varyantGroupModal[e]&&t.push(e);t.length>0?this.$message({message:"("+t.join(", ")+") "+this.$t("Bu Alan Boş Olamaz"),type:"error"}):this.isLogin()},isLogin(){this.userData?this.getBasket():this.loginDialogShow=!0},loginDialogClose(){this.loginDialogShow=!1},sendReDirect(path){this.$router.push({path:"/auth/"+path+"?redirect=".concat(this.$route.fullPath)})},getAutoLogin(){var t;this.inputData.attribute_text&&(t=Object.values(this.varyantGroupModal).join("-"));var e=this.quantity;this.ekBarkodSelectedItem&&(e=this.calculatedQuantity);var path="/auth/autoLogin?redirect="+this.$route.fullPath+"&loginToken="+this.firmSetting.b2bAutomaticLoginCode+"&productId="+this.inputData.id+"&productBarcode="+this.inputData.barkod+"&qty="+e+"&optionsId="+(t||"");this.$router.push({path:this.localePath(path)})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getBasket(){var t;this.buttonLoad=!0,this.inputData.attribute_text&&(t=Object.values(this.varyantGroupModal).join(";"));var e=this.calculatedQuantity;this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"add",product:[{id:this.inputData.id,barcode:this.inputData.barkod,quantity:e,optionId:t||""}]}).then(t=>{this.buttonLoad=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"});var e=this.firmSetting,r=e.metaPixelID,o=e.metaConversionAccessToken;if(r){var l=o?{metaPixelID:r,metaConversionAccessToken:o}:null;this.metaAddToCart(this.inputData,"TRY",this.quantity,l)}this.firmSetting.googleAnalyticsID&&this.googleAddToCart(this.inputData,"TRY",this.quantity),this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var n=0;t.data.KiboApp.Response.data.basketCart.stokinout.forEach(t=>{var e;n+=null!==(e=t.stok)&&void 0!==e&&e.ebook?1:parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",n,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",n),this.$nuxt.$emit("newBasketTrigger",n),this.varyantDialogShow=!1}).catch(t=>{this.buttonLoad=!1,this.varyantDialogShow=!1,401!=t.response.data.KiboApp.Response.pageStatus&&this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getVaryantGroup(){if(this.inputData.attribute_text){var t=JSON.parse(this.inputData.attribute_text),e={},r={};t.forEach(t=>{e[t.variant_name]||(e[t.variant_name]=[],r[t.variant_name]=""),e[t.variant_name].push(t)}),this.varyantGroup=e,this.varyantGroupModal=r,this.varyantDialogShow=!0}},calcEkBarkodList(){var t,e,r,o=(null===(t=this.inputData)||void 0===t?void 0:t.kbbars)||[],l=null===(e=this.inputData)||void 0===e?void 0:e.barkod,n=null===(r=this.inputData)||void 0===r?void 0:r.stokbirim;if(!l||!n||o.length<1)return this.ekBarkodList=[],void(this.ekBarkodSelectedItem=null);var c=o.filter(t=>{var e;return(t.br_miktar>1||t.br_barkod===l)&&(null===(e=t.stokbirim)||void 0===e?void 0:e.ad)}),d=[{id:"main",br_barkod:l,br_miktar:1,stokbirim:n},...c];this.ekBarkodSelectedItem=d[0],this.ekBarkodList=d},handleEkBarkodStokBirimChange(t){this.quantity=1,this.ekBarkodSelectedItem=this.ekBarkodList[t]}}},c=(r(492),r(0)),component=Object(c.a)(n,function(){var t,e=this,r=e._self._c;return"1"==e.isBasket?r("div",{staticClass:"basketInput ww fl"},[e.ekBarkodSelectedItem?r("div",{staticClass:"cq-row cq-gap-10"},[r("div",{staticClass:"cq-col-lg-24 cq-col-md-24 cq-col-sm-24 cq-col-xs-24"},[r("div",{staticClass:"ta-o mb5",staticStyle:{gap:"10px"}},[r("el-select",{staticStyle:{flex:"1"},attrs:{size:"mini"},on:{change:e.handleEkBarkodStokBirimChange},model:{value:e.ekBarkodSTokBirim,callback:function(t){e.ekBarkodSTokBirim=t},expression:"ekBarkodSTokBirim"}},e._l(e.ekBarkodList,function(t,e){return r("el-option",{key:t.id+"-"+e,attrs:{label:"".concat(t.stokbirim?t.stokbirim.ad:"-"," ").concat(0===e?"":"(".concat(t.br_miktar||1,")")),value:e}})}),1),e._v(" "),e.ekBarkodSelectedItem.stokbirim&&"ADET"!=e.ekBarkodSelectedItem.stokbirim.ad?r("el-tag",{attrs:{size:"mini",type:"info"}},[e._v(e._s(e.calculatedQuantity)+" "+e._s(null===(t=e.inputData.stokbirim)||void 0===t?void 0:t.ad))]):e._e(
1)],1)])]):e._e(),e._v(" "),r("div",{staticClass:"cq-row cq-gap-10"},[r("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-8"},[r("input",{directives:[{name:"model",rawName:"v-model",value:e.quantity,expression:"quantity"}],staticClass:"el-input__inner ww fl rr ta-c",staticStyle:{height:"auto"},attrs:{size:e.sizeInput,"aria-label":e.$t("Miktar")},domProps:{value:e.quantity},on:{input:function(t){t.target.composing||(e.quantity=t.target.value)}}})]),e._v(" "),r("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-16"},[r("el-button",{staticClass:"ww fl fs-13 fw-4 ta-o",attrs:{loading:e.buttonLoad,disabled:e.buttonLoad,type:e.buttonLoad?"warning":"primary",round:"",size:e.sizeInput},on:{click:e.handleAddToBasket}},[e._v(e._s(e.$t("add_to_basket")))])],1)]),e._v(" "),r("el-dialog",{attrs:{"destroy-on-close":"","append-to-body":"",center:"",title:e.$t("please_login"),visible:e.loginDialogShow,"before-close":e.loginDialogClose,width:e.$device.isMobile?"80%":"460px"},on:{"update:visible":function(t){e.loginDialogShow=t}}},[r("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[e._v(e._s(e.$t("Oturum açmadınız veya sonlanmış olabilir")))]),e._v(" "),r("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=e.firmSetting.b2bShowRegisterButton?r("el-button",{on:{click:function(t){return e.sendReDirect("uyeol")}}},[e._v(e._s(e.$t("signup")))]):e._e(),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.sendReDirect("giris")}}},[e._v(e._s(e.$t("login")))]),e._v(" "),r("div",{staticClass:"clr"}),e._v(" "),e.firmSetting.b2bAutomaticLoginCode?r("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:e.getAutoLogin}},[e._v(e._s(e.$t("Üye Olmadan Alışverişe Devam Et")))]):e._e()],1)]),e._v(" "),r("el-dialog",{attrs:{"destroy-on-close":"","append-to-body":"",center:"",title:e.$t("Seç"),visible:e.varyantDialogShow,width:e.$device.isMobile?"80%":"380px"},on:{"update:visible":function(t){e.varyantDialogShow=t}}},[e._l(e.varyantGroup,function(t,o){return r("div",{key:o,staticClass:"mt10"},[r("p",{staticClass:"fs-15 fw-b pb5 ta-c"},[e._v(e._s(o))]),e._v(" "),r("el-select",{staticStyle:{width:"100%"},model:{value:e.varyantGroupModal[o],callback:function(t){e.$set(e.varyantGroupModal,o,t)},expression:"varyantGroupModal[key]"}},e._l(t,function(t){return r("el-option",{key:t.id,attrs:{label:t.option_name,value:t.id}})}),1)],1)}),e._v(" "),r("span",{attrs:{slot:"footer"},slot:"footer"},[r("el-button",{on:{click:function(t){e.varyantDialogShow=!1}}},[e._v(e._s(e.$t("İptal")))]),e._v(" "),r("el-button",{attrs:{type:"primary"},on:{click:e.handleVaryantIsSet}},[e._v(e._s(e.$t("Tamam")))])],1)],2)],1):e._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"stokView",props:{item:{type:Object,default:function(){return{}}},className:{type:String,default:function(){return"ww fl mt10 pos-r"}},cardType:{type:String,default:function(){return"list"}}},data(){return{stokView:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bStokQuantityView||"1",sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",stokShowOnlyUser:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowStokMiktarOnlyUser||!1}},methods:{calcBetween:t=>t<=0?t:t>=1&&t<=10?"1+":t>=10&&t<=50?"10+":t>=50&&t<=100?"50+":t>=100&&t<=250?"100+":t>=250&&t<=500?"250+":t>=500&&t<=750?"500+":t>=750&&t<=1e3?"750+":t>1e3?"1000+":void 0}},l=(r(493),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return!t.stokShowOnlyUser||this.$cookies.get("web_login_access_token")?e("div",[0==t.sepetCalismaMod?[e("div",{class:t.className},["1"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t(t.item.smiktar>0?"Stokta Var":"sold_out"))+"\n      ")]):"2"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t("stock")+" : "+(t.item.smiktar>=0?t.item.smiktar:0))+"\n      ")]):"3"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t("stock")+" : "+t.calcBetween(t.item.smiktar))+"\n      ")]):t._e()])]:2==t.sepetCalismaMod?[e("div",{class:t.className},[t.item.sahaf>0?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-error ta-ol fw-4 rds30 fs-12"},[e("i",{staticClass:"icon-stok-1 mr5 fs-20"}),t._v(t._s(t.$t("sold_out"))+"\n      ")]):"1"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t(t.item.smiktar>0?"Stokta Var":"sold_out"))+"\n      ")]):"2"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t("stock")+" : "+(t.item.smiktar>=0?t.item.smiktar:0))+"\n      ")]):"3"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t("stock")+" : "+t.calcBetween(t.item.smiktar))+"\n      ")]):t._e()])]:3==t.sepetCalismaMod?[e("div",{class:t.className},["1"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t(t.item.smiktar>0?"Stokta Var":"sold_out"))+"\n      ")]):"2"==t.stokView?e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"},[t._v("\n          "+t._s(t.$t("stock")+" : "+(t.item.smiktar>=0?t.item.smiktar:0))+"\n      ")]):"3"==t.stokView?[e("span",{class:"fl mr10 mb5 px15 stok-tag stok-tag-"+(t.item.smiktar>0?"success":"error")+" ta-ol fw-4 rds30 fs-12"+(0==t.item.smiktar?" stok-tag-zero":"")},[t._v("\n          "+t._s(t.$t("stock")+" : "+t.calcBetween(t.item.smiktar))+"\n        ")]),t._v(" "),0===t.item.smiktar&&t.item.sahaf>0?e("span",{staticClass:"fl mr10 mb5 px15 stok-tag stok-tag-error ta-ol fw-4 rds30 fs-12 stok-tag-baski",staticStyle:{display:"none"}},[t._v("\n            "+t._s(t.$t("Baskısı Yok"))+"\n        ")]):t._e()]:t._e()],2)]:t._e(),t._v(" "),"card"!=t.cardType&&(t.item.kisk||0)>0?e("p",{staticClass:"discount-tag"},[t._v("\n      "+t._s(t.$t("discount",{val:t.item.kisk||0}))+"\n  ")]):t._e()],2):t._e()},[],!1,null,"61390b3c",null);e.default=component.exports},,function(t,e,r){"use strict";r.r(e);var o=r(27),l=r.n(o),n={name:"inputPage",data:()=>({logo:l.a})},c=(r(503),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticStyle:{position:"relative","z-index":"-1"}},[e("div",{staticClass:"squareBox"}),t._v(" "),e("div",{staticClass:"squareBox2"}),t._v(" "),e("div",{staticClass:"circleBox"}),t._v(" "),e("div",{staticClass:"bodyBg ww hh pos-f tp-0 lf-0"}),t._v(" "),e("a",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0 z1",attrs:{href:"#",target:"_blank"}},[e("img",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0",staticStyle:{transform:"rotate(-90deg)"},attrs:{src:t.logo,alt:"Kibo Logo"}})]),t._v(" "),e("span",{staticClass:"pos-f bt-0 lf-0 bdrB z1",staticStyle:{width:"calc(100% - 60px)","margin-bottom":"38px","border-color":"#1d1a355e"}})])},[],!1,null,null,null);e.default=component.exports},,,,function(t,e,r){"use strict";r.r(e);var o={name:"alertCard",props:{message:{type:String,default:function(){return""}},done:{type:String,default:function(){return""}}},watch:{message:{deep:!0,handler:function(t,e){this.label=t}},done:{deep:!0,handler:function(t,e){this.status=t}}},data:()=>({status:null,label:null}),created(){this.status=this.done,this.label=this.message},methods:{handleSizeChange(t){this.dataList.pageCount=t,this.$router.push({query:Object.assign({},this.$route.query,{size:t,page:this.dataList.pageNo})}),this.returnPagination()}}},l=(r(504),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return"success"==t.status?e("div",{staticClass:"ww fl"},[e("svg",{staticClass:"result",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 130.2 130.2"}},[e("circle",{staticClass:"path circle",attrs:{fill:"none",stroke:"#73AF55","stroke-width":"6","stroke-miterlimit":"10",cx:"65.1",cy:"65.1",r:"62.1"}}),t._v(" "),e("polyline",{staticClass:"path check",attrs:{fill:"none",stroke:"#73AF55","stroke-width":"6","stroke-linecap":"round","stroke-miterlimit":"10",points:"100.2,40.2 51.5,88.8 29.8,67.5 "}})]),t._v(" "),e("p",{staticClass:"alertMessage success"},[t._v(t._s(t.label))])]):"error"==t.status?e("div",{staticClass:"ww fl"},[e("svg",{staticClass:"result",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 130.2 130.2"}},[e("circle",{staticClass:"path circle",attrs:{fill:"none",stroke:"#D06079","stroke-width":"6","stroke-miterlimit":"10",cx:"65.1",cy:"65.1",r:"62.1"}}),t._v(" "),e("line",{staticClass:"path line",attrs:{fill:"none",stroke:"#D06079","stroke-width":"6","stroke-linecap":"round","stroke-miterlimit":"10",x1:"34.4",y1:"37.9",x2:"95.8",y2:"92.3"}}),t._v(" "),e("line",{staticClass:"path line",attrs:{fill:"none",stroke:"#D06079","stroke-width":"6","stroke-linecap":"round","stroke-miterlimit":"10",x1:"95.8",y1:"38",x2:"34.4",y2:"92.2"}})]),t._v(" "),e("p",{staticClass:"alertMessage error"},[t._v(t._s(t.label))])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);
1var o=r(12),l=r(13),n={name:"itemListCard",components:{basketInput:o.default,stokView:l.default},props:{itemList:{type:Array,default:function(){return[]}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,stokView:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bStokQuantityView||"1",showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,isToken:this.$cookies.get("user-token")||!1}},methods:{getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-18 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-18 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww fl of-h to-e ws-n pos-r ta-l fs-12" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.sahaf:"2"==this.sepetCalismaMod?"0"==t.sahaf:"3"==this.sepetCalismaMod&&("0"==t.sahaf||"1"==t.sahaf&&t.smiktar>0)}}},c=n,d=r(0),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("el-row",{attrs:{gutter:20}},t._l(t.itemList,function(r,o){return e("el-col",{key:r.product_json.id+"_"+o,attrs:{title:r.product_json.name,name:r.product_json.id,lg:24}},[e("div",{staticClass:"mezatListItem ItemShadow ww fl mb20 pos-r bg-white"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("div",{staticClass:"Scol ww fl ta-o pos-r of-h",staticStyle:{height:"270px","border-radius":"5px 0 0 5px"}},[e("router-link",{class:"ww hh fl",attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"ww fl",staticStyle:{width:"100%",height:"100%"},attrs:{src:r.product_json.files[0].fl_url,alt:r.search_text,"preview-src-list_":[r.product_json.files[0].fl_url],fit:"contain","append-to-body":"","hide-on-click-modal":"",lazy:""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-40"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:18,md:18,sm:18,xs:24}},[e("div",{class:"ww fl pos-r py10"},[e("router-link",{class:"ww fl",attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[e("h5",{staticClass:"ww fl dp-b fs-14 ta-l fw-6 ellipsis-multi",attrs:{title:r.product_json.stokcins}},[t._v(t._s(r.product_json.stokcins))])]),t._v(" "),r.product_json.authors.length>0?e("div",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h",domProps:{innerHTML:t._s(t.getYazarLinkList(r.product_json.authors))}}):e("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-l fs-13 ln-20"},[t._v("-")]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("router-link",{class:"ww fl",attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici"))}},[e("span",{staticClass:"ww fl mb5 of-h to-e ws-n pos-r txt-2 ta-l fs-13",attrs:{title:r.product_json.uretici.ureticiad}},[t._v("\n                                        "+t._s(r.product_json.uretici.ureticiad)+"\n                                    ")])])]:e("span",{staticClass:"ww h20 fl mb5 of-h to-e ws-n pos-r ta-l fs-13 ln-20"},[t._v("-")])],t._v(" "),r.product_json.ebook?e("div",{staticClass:"ww fl mt10"},[e("router-link",{attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[e("el-button",{staticClass:"fs-13 fw-4 ta-o",attrs:{type:"primary",size:"medium",icon:"icon-book mr10",round:""}},[t._v("\n                                    "+t._s(t.$t("E-Kitap Görüntüle"))+"\n                                ")])],1)],1):[t.showPrice?e("div",{staticClass:"ww fl mb10"},[e("stokView",{attrs:{item:r}}),t._v(" "),(r.kisk||0)>0?e("div",{staticClass:"ww fl pos-r"},[e("p",{staticClass:"fl my5 ta-ol"},[e("span",{staticClass:"fl fs-13"},[t._v(t._s(t.$t("list_price"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 px10 ln-20"},[e("span",{staticClass:"fs-13 fw-6"},[t._v("\n                                                "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat"),t.getCurrency(r)))+"\n                                            ")])])]),t._v(" "),e("p",{staticClass:"fl my5 ta-ol"},[e("span",{staticClass:"fl fs-13"},[t._v(t._s(t.$t("Kazancınız"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 px10 ln-20"},[e("span",{staticClass:"fs-13 fw-6"},[t._v("\n                                                "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat")-t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                                            ")])])])]):t._e(),t._v(" "),e("span",{staticClass:"ww fl ln-20 fs-20 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-13 fs-18 txt-error"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                                    "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                                ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()],1):t._e(),t._v(" "),t.showBasket?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[t.isBasketShow(r)?e("basketInput",{attrs:{inputData:{id:r.product_json.id,barkod:r.product_json.barkod,quantity:1,attribute_text:r.product_json.attribute_text,stokcins:r.product_json.stokcins,uretici:r.product_json.uretici,kategori:r.product_json.kategori,kfiyat_proc:r.product_json.kfiyat_proc,kkdv:r.product_json.kkdv}}}):t._e()],1)],1)],1):t._e()]],2)])],1)],1)])}),1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);
1var o=r(12),l=r(13),n={name:"itemRowCard",components:{basketInput:o.default,stokView:l.default},props:{itemList:{type:Array,default:function(){return[]}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,isToken:this.$cookies.get("user-token")||!1}},methods:{getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww fl of-h to-e ws-n pos-r ta-l fs-12" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.sahaf:"2"==this.sepetCalismaMod?"0"==t.sahaf:"3"==this.sepetCalismaMod&&("0"==t.sahaf||"1"==t.sahaf&&t.smiktar>0)}}},c=n,d=(r(512),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("div",t._l(t.itemList,function(r,o){return e("div",{key:r.product_json.id+"_"+o,staticClass:"mezatListItem ItemShadow ww fl mb5 pos-r bg-white"},[e("el-row",{class:t.$device.isMobile?"":"equalHeight",attrs:{gutter:20}},[e("el-col",{attrs:{lg:2,md:2,sm:2,xs:24}},[e("div",{staticClass:"ww fl ta-o pos-r of-h",staticStyle:{height:"100%","border-radius":"5px 0 0 5px"}},[e("router-link",{class:"ww hh fl",attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"ww fl",staticStyle:{width:"100%",height:"100%"},attrs:{src:r.product_json.files[0].fl_url,alt:r.search_text,fit:"contain","append-to-body":"","hide-on-click-modal":"",lazy:""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-40"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:11,md:11,sm:11,xs:24}},[e("div",{staticClass:"ww fl",class:t.$device.isMobile?"px10":""},[e("router-link",{class:"ww fl pos-r pt5",attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[e("h5",{staticClass:"ww fl dp-b fs-13 ta-l fw-6 ellipsis-multi",attrs:{title:r.product_json.stokcins}},[t._v(t._s(r.product_json.stokcins))])]),t._v(" "),r.product_json.ebook?e("div",{staticClass:"ww fl mt20"},[e("router-link",{attrs:{to:t.localePath("/urun/"+r.product_json.seo_link)}},[e("el-button",{attrs:{type:"primary",size:"mini",icon:"icon-book mr10",round:""}},[t._v("\n                                "+t._s(t.$t("E-Kitap Görüntüle"))+"\n                            ")])],1)],1):[t.showPrice?e("div",{staticClass:"ww fl"},[(r.kisk||0)>0?e("div",{staticClass:"ww fl pos-r"},[e("p",{staticClass:"fl ta-ol"},[e("span",{staticClass:"fl fs-12"},[t._v(t._s(t.$t("list_price"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 px10 ln-15"},[e("span",{staticClass:"fs-12 fw-6"},[t._v("\n                                            "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat"),t.getCurrency(r)))+"\n                                        ")])])]),t._v(" "),e("p",{staticClass:"fl ta-ol"},[e("span",{staticClass:"fl fs-12"},[t._v(t._s(t.$t("Kazancınız"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 px10 ln-15"},[e("span",{staticClass:"fs-12 fw-6"},[t._v("\n                                            "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat")-t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                                        ")])])])]):t._e(),t._v(" "),e("div",{staticClass:"ww fl mt5 mb5"},[e("div",{staticClass:"ww fl"},[e("stokView",{attrs:{item:r,className:"ww fl pos-r"}})],1),t._v(" "),e("span",{staticClass:"fl mr10 ln-20 fs-14 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-10 fs-13"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                                    "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                                ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()])]):t._e(),t._v(" "),t.showBasket?e("div",{staticClass:"ww fl mb10"},[e("basketInput",{attrs:{inputData:{id:r.product_json.id,barkod:r.product_json.barkod,quantity:1,attribute_text:r.product_json.attribute_text,stokcins:r.product_json.stokcins,uretici:r.product_json.uretici,kategori:r.product_json.kategori,kfiyat_proc:r.product_json.kfiyat_proc,kkdv:r.product_json.kkdv},sizeInput:"mini"}})],1):t._e()]],2)]),t._v(" "),e("el-col",{attrs:{lg:11,md:11,sm:11,xs:24}},[e("div",{staticClass:"ww fl py10 pos-r",class:t.$device.isMobile?"px10":""},[r.product_json.authors.length>0?e("div",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h",domProps:{innerHTML:t._s(t.getYazarLinkList(r.product_json.authors))}}):e("span",{staticClass:"ww fl of-h to-e ws-n pos-r ta-l fs-12 ln-15"},[t._v("-")]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("router-link",{class:"ww fl",attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici"))}},[e("span",{staticClass:"ww fl of-h to-e ws-n pos-r txt-2 ta-l fs-12",attrs:{title:r.product_json.uretici.ureticiad}},[t._v("\n                                    "+t._s(r.product_json.uretici.ureticiad)+"\n                                ")])])]:e("span",{staticClass:"ww fl of-h to-e ws-n pos-r ta-l fs-12 ln-15"},[t._v("-")])]],2)])],1)],1)}),0)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"itemGridCard",props:{itemList:{type:Array,default:function(){return[]}}},data(){return{view:{2:12,4:6,6:4}
1,productColumnSort:this.$store.state.firm.settings.b2bUiSettings.settings.data.productColumnSort||4}},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))},calcRowSize(){for(var t=this.itemList,e=[],r=this.$device.isMobile?2:Number(this.productColumnSort),i=0;i<t.length;i+=r)e.push(t.slice(i,i+r));return e}}},l=(r(513),r(514),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",t._l(t.calcRowSize,function(r,o){return e("div",{key:o,staticClass:"cq-row cq-gap-15"},t._l(r,function(r,o){return e("div",{key:r.id+"_"+o,class:"cq-col-lg-"+t.view[t.productColumnSort]+" cq-col-md-12 cq-col-sm-12 cq-col-xs-12"},[e(t.cardComponent,{tag:"component",style:t.$device.isMobile?{marginBottom:"10px"}:{},attrs:{item:r}})],1)}),0)}),0)},[],!1,null,"23c042b8",null);e.default=component.exports},,,,,,function(t,e,r){"use strict";var o={props:["error"],layout:"error"},l=(r(355),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"number"},[t._v(t._s(t.error.statusCode))]),t._v(" "),404===t.error.statusCode?e("div",{staticClass:"text"},[e("span",[t._v("Ooops")]),t._v(t._s(t.$t("page_not_found")))]):e("div",{staticClass:"text"},[e("span",[t._v("Ooops")]),t._v(t._s(t.error.message))]),t._v(" "),404===t.error.statusCode?e("NuxtLink",{staticClass:"py10 px15 txt-white bg-info rds fs-13",attrs:{to:"/"}},[t._v(t._s(t.$t("Anasayfa")))]):t._e()],1)},[],!1,null,"41c453a0",null);e.a=component.exports},,,,,,,,,,,,,,,,,,function(t,e,r){t.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";(function(t){var r={id:1,user_ip:"/172.17.0.1",paytr_token:"5u3u08ksbGJbtOUkvGG9slJr+DXArIXdy0hcgRy40sE=",payment_type:"card",name:"Paytr Poss",merchant_id:"252484",user_name:"[email protected]",email:"[email protected]",user_basket:'[["10414",278.1,1]]',installment_count:0,merchant_oid:"5436",payment_amount:"278.1",cargoTotal:0,orderTotal:278.1,debug_on:"1",test_mode:"0",non_3d:"0",post_url:"https://www.paytr.com/odeme",currency:"TL"};e.a={name:"creditForm",props:{},data(){return{currency:this.$store.state.firmBaseCurrency||"TRY",posInfo:r,basarili:null,basarisiz:null,firstname:"",surname:"",code1:"",code2:"",code3:"",code4:"",mounth:1,year:21,ccv:"",cartType:"",codeError:!1,firstnameError:!1,surnameError:!1,ccvError:!1,isInputFocused:!1}},computed:{years(){var t=new Date;return this.year=t.getFullYear().toString().substr(-2),this.mounth=t.getMonth()+1,Array.from({length:11},(e,r)=>parseInt(t.getFullYear().toString().substr(-2))+r)}},created(){this.$nuxt.$on("currency",t=>this.currency=t),this.basarili=t.env.VUE_APP_ROOT+this.localePath("/uye/order/basarili"),this.basarisiz=t.env.VUE_APP_ROOT+this.localePath("/uye/order/basarisiz")},methods:{cardType(){getCardType(this.code1+""+this.code2).then(t=>{this.cartType=t.data}).catch(t=>{})},getTaksitList(){this.listLoading=!0,TaksitToplam({pageNo:1,pageCount:25,total:this.posInfo.payment_amount}).then(t=>{t.data.list.length>0&&(this.selectedTaksit=t.data.list[0].id),this.taksitList=t.data.list})},tabChange(t){var e=document.querySelectorAll(".otpInput");if(""!=e[t-1].value&&!Number.isInteger(parseInt(e[t-1].value)))return this["code"+t]="",!1;""!=e[t-1].value&&e[t-1].maxLength==e[t-1].value.length&&null!=e[t]&&e[t].focus(),6==(this.code1+""+this.code2).length&&this.cardType()},submitForm(){""==this.code1||""==this.code2||""==this.code3||""==this.code4?(console.log("kart no girin"),this.codeError=!0):""==this.firstname?(console.log("isim girin"),this.firstnameError=!0):""==this.surname?(this.surnameError=!0,console.log("soyisim girin")):""==this.ccv?(this.ccvError=!0,console.log("ccv girin")):document.getElementById("orderForm").submit()}}}}).call(this,r(31))},,,,function(t,e,r){"use strict";r.r(e);var o=r(10),l=r.n(o),n={props:{beforeUpload:Function,onSuccess:Function},data:()=>({loading:!1,excelData:{header:null,results:null}}),methods:{generateData(t){var header=t.header,e=t.results;this.excelData.header=header,this.excelData.results=e,this.onSuccess&&this.onSuccess(this.excelData)},handleDrop(t){if(t.stopPropagation(),t.preventDefault(),!this.loading){var e=t.dataTransfer.files;if(1===e.length){var r=e[0];if(!this.isExcel(r))return this.$message.error("Only supports upload .xlsx, .xls, .csv suffix files"),!1;this.upload(r),t.stopPropagation(),t.preventDefault()}else this.$message.error("Only support uploading one file!")}},handleDragover(t){t.stopPropagation(),t.preventDefault(),t.dataTransfer.dropEffect="copy"},handleUpload(){this.$refs["excel-upload-input"].click()},handleClick(t){var e=t.target.files[0];e&&this.upload(e)},upload(t){(this.$refs["excel-upload-input"].value=null,this.beforeUpload)?this.beforeUpload(t)&&this.readerData(t):this.readerData(t)},readerData(t){return this.loading=!0,new Promise((e,r)=>{var o=new FileReader;o.onload=t=>{var data=t.target.result,r=l.a.read(data,{type:"array"}),o=r.SheetNames[0],n=r.Sheets[o],header=this.getHeaderRow(n),c=l.a.utils.sheet_to_json(n);this.generateData({header:header,results:c}),this.loading=!1,e()},o.readAsArrayBuffer(t)})},getHeaderRow(t){var e,r=[],o=l.a.utils.decode_range(t["!ref"]),n=o.s.r;for(e=o.s.c;e<=o.e.c;++e){var c=t[l.a.utils.encode_cell({c:e,r:n})],d="UNKNOWN "+e;c&&c.t&&(d=l.a.utils.format_cell(c)),r.push(d)}return r},isExcel:t=>/\.(xlsx|xls|csv)$/.test(t.name)}},c=(r(495),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl"},[e("input",{ref:"excel-upload-input",staticClass:"excel-upload-input",attrs:{type:"file",accept:".xlsx, .xls"},on:{change:t.handleClick}}),t._v(" "),e("div",{staticClass:"drop",on:{drop:t.handleDrop,dragover:t.handleDragover,dragenter:t.handleDragover}},[t._v("\n    Excel dosyasını sürükle veya\n    "),e("el-button",{staticStyle:{"margin-left":"16px"},attrs:{loading:t.loading,type:"primary"},on:{click:t.handleUpload}},[t._v("\n      Gözat\n    ")])],1)])},[],!1,null,"3e199280",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={name:"OrderResult",components:{headerWrap:header.default,footerWrap:footer.default},props:{orderForm:Object,paymentDetails:Object,customerInfo:Object,currentBank:Object,odemeMesaj:String,isPhoneCodeTurkey:Boolean,everyItemIsEbook:Boolean},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",currency:"TRY",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,isEbook:this.everyItemIsEbook,isGuestLogin:0}},computed:{formattedPhone(){return this.customerInfo.ceptel?this.isPhoneCodeTurkey?this.customerInfo.ceptel.substring(0,10):this.customerInfo.ceptel:"-"}},created(){this.isGuestLogin=this.$cookies.get("isGuestLogin"),this.everyItemIsEbook&&this.setEbookIdList()},methods:{getPriceCode(){var t=this.firmBaseCurrency;return this.currencySymbolList[t]},setEbookIdList(){var t=this.$cookies.get("userId");this.$apis.get("api/ebook/myLibrary?limit=100&page=1").then(e=>{var r=e.data.KiboApp.Response.data.list.map(t=>
1t.id);localStorage.setItem("".concat(t,"_ebookIdList"),JSON.stringify(r))}).catch(e=>{localStorage.removeItem("".concat(t,"_ebookIdList"))})}}},l=r(0),component=Object(l.a)(o,function(){var t,e,r,o,l,n,c,d=this,m=d._self._c;return m("div",[m("headerWrap"),d._v(" "),d.orderForm?m("div",{staticClass:"filterBar ww fl bg-white"},[m("div",{staticClass:"wrapper mrau"},[m("div",{staticClass:"filterWrap ww fl my5 px5"},[m("div",{staticClass:"p30 my20 bdr rds5"},[m("div",{class:(d.$device.isMobile,"")},[m("div",[m("h1",{staticClass:"fs-24 ln-32 fw-b txt-primary dp-f ai-c"},[m("i",{staticClass:"el-alert__icon el-icon-success txt-primary is-big mr5 dp-f",staticStyle:{"font-size":"50px",width:"50px"}}),d._v("\n                "+d._s(d.$t("Sipariş")+" "+d.$t("Oluşturuldu"))+"\n              ")])]),d._v(" "),m("div",{staticClass:"fs-13 mt15 dp-f fd-c",staticStyle:{gap:"20px"}},[m("p",{staticClass:"txt-sub"},[d._v("\n                "+d._s(d.$t("Siparişiniz ile ilgili detaylar"))+"\n                "),m("strong",[d._v(d._s(d.customerInfo.eposta))]),d._v("\n                "+d._s(d.$t("mail adresine gönderildi"))+"\n              ")]),d._v(" "),d.everyItemIsEbook?[m("p",{staticClass:"txt-sub"},[d._v("\n                  Kiraladığınız e-kitaplara E-Kitaplarım bölümünden\n                  erişebilirsiniz\n                ")]),d._v(" "),d.everyItemIsEbook?m("nuxt-link",{attrs:{to:"/uye/ekitaplarim"}},[m("el-button",{attrs:{size:"mini"}},[d._v(d._s(d.$t("E-Kitaplarım")))])],1):d._e()]:d._e(),d._v(" "),4==d.orderForm.payment_id?[d.odemeMesaj?m("div",[m("div",{staticClass:"dp-ib"},[m("el-alert",{staticClass:"customAlert",attrs:{type:"info","show-icon":"",closable:!1}},[m("template",{slot:"title"},[m("span",{staticClass:"fw-b"},[d._v(d._s(d.odemeMesaj))])])],2)],1)]):d._e(),d._v(" "),m("article",{staticClass:"pr5 pos-r bg-white"},[m("div",{staticClass:"px20 py10 dp-ib bdr"},[m("el-image",{staticClass:"h40 w100",attrs:{src:null===(t=d.currentBank)||void 0===t||null===(t=t.tbanks)||void 0===t?void 0:t.bank_logo,fit:"contain"},scopedSlots:d._u([{key:"error",fn:function(){return[m("div",{staticClass:"ww hh ta-o"},[m("i",{staticClass:"el-icon-picture-outline fs-40"})])]},proxy:!0}],null,!1,3585906173)}),d._v(" "),m("div",[m("div",{staticClass:"fs-13"},[m("strong",[d._v(d._s(d.$t("bank")+" "+d.$t("name")))]),d._v(" :\n                        "),m("span",{staticClass:"fw-b fs-13"},[d._v(d._s(null===(e=d.currentBank)||void 0===e||null===(e=e.tbanks)||void 0===e?void 0:e.bnk_fullname))])]),d._v(" "),m("div",{staticClass:"fs-13"},[m("strong",[d._v(d._s(d.$t("account")+" "+d.$t("name")))]),d._v("\n                        :\n                        "+d._s((null===(r=d.currentBank)||void 0===r?void 0:r.bnc_accname)||"-")+"\n                      ")]),d._v(" "),m("div",{staticClass:"fs-13"},[m("strong",[d._v(d._s(d.$t("Şube")+" ("+d.$t("Şube")+" "+d.$t("Kod")+")"))]),d._v("\n                        :\n                        "),m("span",[d._v("\n                          "+d._s(((null===(o=d.currentBank)||void 0===o?void 0:o.bnc_bnd_name)||"-")+" ("+d.$t("Kod")+": "+((null===(l=d.currentBank)||void 0===l?void 0:l.bnc_bnd_code)||"-")+")")+"\n                        ")])]),d._v(" "),m("div",{staticClass:"fs-13"},[m("strong",[d._v(d._s(d.$t("account")+" "+d.$t("No")))]),d._v("\n                        :\n                        "+d._s((null===(n=d.currentBank)||void 0===n?void 0:n.bnc_accnum)||"-")+"\n                      ")]),d._v(" "),m("div",{staticClass:"fs-13"},[m("strong",[d._v(d._s(d.$t("iban")))]),d._v(" :\n                        "+d._s((null===(c=d.currentBank)||void 0===c?void 0:c.bnc_iban)||"-")+"\n                      ")])])],1)])]:d._e()],2),d._v(" "),m("el-row",{class:4==d.orderForm.payment_id?"my20":"my50",attrs:{gutter:20}},[m("el-col",{attrs:{lg:6,sm:6,xs:24}},[m("h2",{staticClass:"fs-14 ln-20 txt-primary fw-b mb10 tt-u"},[d._v("\n                  "+d._s(d.$t("Sipariş Takip")+" "+d.$t("No"))+"\n                ")]),d._v(" "),m("p",{staticClass:"fs-25 ln-30 fw-b pr20"},[d._v("\n                  "+d._s(d.paymentDetails.fattakipno)+"\n                ")]),d._v(" "),m("div",{staticClass:"mt10"},[d.isGuestLogin?d._e():m("nuxt-link",{attrs:{to:"/uye/siparis"}},[m("el-button",{attrs:{size:"mini",type:"primary"}}
1,[d._v(d._s(d.$t("my_orders")))])],1),d._v(" "),m("nuxt-link",{attrs:{to:"/siparisTakip?firmaeposta=".concat(d.customerInfo.eposta,"&fattakipno=").concat(d.paymentDetails.fattakipno)}},[m("el-button",{attrs:{size:"mini"}},[d._v(d._s(d.$t("Sipariş Takip")))])],1),d._v(" "),d.$device.isMobile?m("nuxt-link",{attrs:{to:"/"}},[m("el-button",{attrs:{size:"mini"}},[d._v(d._s(d.$t("Alışverişe Devam Et")))])],1):d._e()],1)]),d._v(" "),m("el-col",{attrs:{lg:6,sm:6,xs:24}},[m("div",[m("h2",{staticClass:"fs-14 ln-20 txt-primary fw-b mb10 tt-u",class:d.$device.isMobile?"mt10":""},[d._v("\n                    "+d._s(d.$t("bill")+" "+d.$t("Bilgilerim"))+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13 fw-b"},[d._v(d._s(d.customerInfo.firma))]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-mobile"}),d._v(" "+d._s(d.formattedPhone)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-mail"}),d._v(" "+d._s(d.customerInfo.eposta)+"\n                  ")]),d._v(" "),d.customerInfo.vdaire||d.customerInfo.vergino?m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-info"}),d._v("\n                    "+d._s(d.customerInfo.vdaire?d.customerInfo.vdaire+" - ":"")+"\n                    "+d._s(d.customerInfo.vergino)+"\n                  ")]):d._e(),d._v(" "),m("p",{staticClass:"ww fl fs-13 mt5"},[m("i",{staticClass:"icon-harita"}),d._v("\n                    "+d._s(d.customerInfo.ilce?d.customerInfo.ilce+" / ":"")+"\n                    "+d._s(d.customerInfo.il)+" - "+d._s(d.customerInfo.ulke)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[d._v(d._s(d.customerInfo.adres))])])]),d._v(" "),m("el-col",{attrs:{lg:6,sm:6,xs:24}},[m("h2",{staticClass:"fs-14 ln-20 txt-primary fw-b mb10 tt-u",class:d.$device.isMobile?"mt10":""},[d._v("\n                  "+d._s(d.$t("delivery")+" "+d.$t("Bilgilerim"))+"\n                ")]),d._v(" "),1==d.customerInfo.shc_adresid?[m("p",{staticClass:"ww fl fs-13 fw-b"},[d._v(d._s(d.customerInfo.shc_firma))]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-mobile"}),d._v(" "+d._s(d.customerInfo.shc_ceptel)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-harita"}),d._v(" "+d._s(d.customerInfo.shc_ilce)+" /\n                    "+d._s(d.customerInfo.shc_il)+" - "+d._s(d.customerInfo.shc_ulke)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[d._v(d._s(d.customerInfo.shc_adres))])]:[m("p",{staticClass:"ww fl fs-13 fw-b"},[d._v(d._s(d.customerInfo.firma))]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[m("i",{staticClass:"icon-mobile"}),d._v(" "+d._s(d.formattedPhone)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13 mt5"},[m("i",{staticClass:"icon-harita"}),d._v("\n                    "+d._s(d.customerInfo.ilce)+" / "+d._s(d.customerInfo.il)+" -\n                    "+d._s(d.customerInfo.ulke)+"\n                  ")]),d._v(" "),m("p",{staticClass:"ww fl fs-13"},[d._v(d._s(d.customerInfo.adres))])]],2),d._v(" "),m("el-col",{attrs:{lg:6,sm:6,xs:24}},[m("h2",{staticClass:"fs-14 ln-20 txt-primary fw-b mb10 tt-u"},[d._v("\n                  "+d._s(d.$t("amount"))+"\n                ")]),d._v(" "),m("p",{staticClass:"fs-25 ln-30 fw-b pr20"},[d._v("\n                  "+d._s(d.getPriceCode()+d.paymentDetails.borctl)+"\n                ")])])],1)],1)])])])]):d._e(),d._v(" "),m("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={props:{modelValue:{type:String,required:!0},label:{type:String,required:!0},prop:{type:String,required:!0},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"(5xx) xxx xx xx"},isPhoneCode:{type:Boolean,default:!1},phoneCodeValue:{type:Number},required:{type:Boolean,default:!1}},watch:{phoneCodeValue:{deep:!0,handler(t){this.phoneCode=t||90}},modelValue:{deep:!0,handler(t){t||(this.inputValue="")}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,inputValue:this.modelValue,phoneCode:this.phoneCodeValue,phoneCodeList:[],requiredInputRule:{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"},requiredTurkishPhoneNumberRule:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateTurkishPhoneNumber,trigger:"change"}]}},created(){this.phoneCodeValue?this.phoneCode=this.phoneCodeValue:this.phoneCode=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){90==this.phoneCode&&this.formatTurkishPhoneNumber(this.inputValue,!0),this.phoneCodeList=r(30).default},methods:{formatTurkishPhoneNumber(t,e){var path="(___) ___ __ __",r=t.replace(/[^0-9]+/gim,"");if(r.startsWith(0)&&(r=this.inputValue.slice(1)),this.inputValue=r,this.inputValue&&!this.inputValue.includes("(")){var o=0;for(var l of this.inputValue)o=(path=path.replace("_",l)).indexOf("_");this.inputValue=path,e||(this.handleUpdatePhoneNumber(),this.setCursorPosition(o))}},setCursorPosition(t){this.$nextTick(()=>{var e,r=null===(e=this.$refs)||void 0===e||null===(e=e.myInput)||void 0===e||null===(e=e.$refs)||void 0===e?void 0:e.input;r&&(r.setSelectionRange(t,t),r.focus())})},handleKeyDown(t){var e;t.key.match(/[0-9]/)||["Backspace","Tab"].includes(t.key)||t.preventDefault();var r=null===(e=this.$refs.myInput)||void 0===e||null===(e=e.$refs)||void 0===e?void 0:e.input;if(r){var o=r.selectionStart;if("Backspace"===t.key){var l=this.inputValue[o-1];if(("("===l||")"===l||"_"===l)&&(t.preventDefault(),"("===l||"_"===l&&this.checkPhoneNumber(this.inputValue,0)))return;/\D/.test(this.inputValue[o-1])&&(t.preventDefault(),this.inputValue=this.inputValue.substring(0,o-1)+this.inputValue.substring(o),this.setCursorPosition(o-1))}}},checkPhoneNumber(t,e){var r=t.replace(/[^\d]/g,""),o=r.length===e;return!this.$cookies.get("isGuestLogin")&&r.length>10&&(o=!0),o},validateTurkishPhoneNumber(t,e,r){this.checkPhoneNumber(e,10)?r():r(new Error(this.$t("must_be_digit",{val:10})))},handleUpdatePhoneNumber(){this.$emit("updated-phoneNumber",this.inputValue?this.inputValue.replace(/[^\d]/g,""):"")},handleUpdatePhoneCode(){this.inputValue="",this.$emit("updated-phoneCode",this.phoneCode),this.handleUpdatePhoneNumber()}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form-item",{attrs:{label:t.label,prop:t.prop,rules:t.required?90==t.phoneCode?t.requiredTurkishPhoneNumberRule:t.requiredInputRule:{}}},[90==t.phoneCode?e("el-input",{ref:"myInput",attrs:{type:"text",placeholder:t.placeholder,disabled:t.disabled,"suffix-icon":"el-icon-phone"},on:{input:function(e){return t.formatTurkishPhoneNumber(e,!1)}},nativeOn:{keydown:function(e){return t.handleKeyDown(e)}},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}},[t.isPhoneCode?[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},on:{change:t.handleUpdatePhoneCode},slot:"prepend",model:{value:t.phoneCode,callback:function(e){t.phoneCode=e},expression:"phoneCode"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n          ")])})],2)]:t._e()],2):e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},on:{input:t.handleUpdatePhoneNumber},model:{value:t.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}},[t.isPhoneCode?[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},on:{change:t.handleUpdatePhoneCode},slot:"prepend",model:{value:t.phoneCode,callback:function(e){t.phoneCode=e},expression:"phoneCode"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n          ")])})],2)]:t._e()],2)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"biyografiCard",props:{yazar:{type:Object,default:function(){return{}}},limit:{type:Number,default:function(){return 1e6}},size:{type:Number,default:function(){return 0}}},data:()=>({imageSize:[6,4,2],textSize:[18,20,22]}),methods:{handleSizeChange(t){this.dataList.pageCount=t,this.$router.push({query:Object.assign({},this.$route.query,{size:t,page:this.dataList.pageNo})}),this.returnPagination()}}},l=(r(539),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.yazar).length>0?e("div",{staticClass:"ww fl mt15"},[t.yazar.at_about&&t.yazar.at_about.length>0?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:t.imageSize[t.size],md:t.imageSize[t.size],sm:t.imageSize[t.size],xs:24}},[e("nuxt-link",{staticClass:"ww fl",attrs:{to:t.localePath("/biyografi/"+t.y
1azar.id)}},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[t.yazar.files&&t.yazar.files.length>0?e("div",{staticClass:"ww hh pos-a tp-0 lf-0"},[e("el-image",{staticStyle:{width:"100%",height:"100%","border-radius":"5px",overflow:"hidden"},attrs:{src:t.yazar.files[0].fl_url,fit:"contain"}})],1):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o icon-user fs-63 bdr rds"})])])],1),t._v(" "),e("el-col",{attrs:{lg:t.textSize[t.size],md:t.textSize[t.size],sm:t.textSize[t.size],xs:24}},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"ww h30 fl ln-20 ta-ol fs-14 fw-6",attrs:{to:t.localePath("/kisi/"+t.yazar.seo_link+"?author_seo_link="+t.yazar.seo_link+"&at_who="+t.yazar.at_who)}},[e("h1",{staticClass:"ww fl ln-22 fs-24 fw-b"},[t._v(t._s(t.yazar.at_name))])]),t._v(" "),t.limit&&t.yazar.at_about?e("div",{staticClass:"ww fl mt5"},[e("div",{staticClass:"ww fl fs-15",domProps:{innerHTML:t._s(t.yazar.at_about.slice(0,t.limit)+(t.yazar.at_about.length>t.limit?"...":""))}}),t._v(" "),t.yazar.at_about.length>t.limit?e("nuxt-link",{staticClass:"ww fl mb10 fs-13 txt-info",attrs:{to:t.localePath("/biyografi/"+t.y
1azar.id)}},[t._v(t._s(t.$t("read_more")))]):t._e()],1):e("div",{staticClass:"ww fl fs-15",domProps:{innerHTML:t._s(t.yazar.at_about)}})],1)])],1):t._e()],1):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"sartStep",data(){return{campaignInfoModal:!1,membershipModal:!1,kvkkModal:!1,membershipAgreement:!1,agreeDetailTitle:null,agreeDetail:null,campaignInfo:!1,formData:{kvkk:"",sozlesme:1},rules:{campaignInfo:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],membershipAgreement:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}]}}},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(t=>{this.agreeDetailTitle=null,this.agreeDetail=null})},getCahngeKVKK(){this.formData.kvkk?(this.formData.sozlesme=1,this.formData.kvkk=!0):(this.formData.sozlesme=0,this.formData.kvkk="")}}},l=(r(549),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl"},[e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t("franchise_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\r\n            ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\r\n          ")],1)],1)],1)],1),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}})])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"categorySlider",props:{dataList:{type:Array,default:[]},themeColor:{type:String,default:"txt-white"}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,swiperOption:{spaceBetween:this.$device.isMobile?5:20,slidesPerView:this.$device.isMobile?3:this.$device.isTablet?4:6,autoplay:{delay:4e3},navigation:{nextEl:".nextImgCat",prevEl:".prevImgCat"}}}}},n=(r(560),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"catSliderWrap ww fl pos-r",class:t.$device.isDesktop?"px40":""},[t.$device.isDesktop?e("div",{staticClass:"nextImgCat catSliderButton w40 hh cr-p ta-o pos-a tp-0 rg-0 fs-20",class:t.themeColor},[e("svg",{style:"fill:"+("txt-white"==t.themeColor?"#fff":"#000"),attrs:{height:"40px",width:"40px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"prevImgCat catSliderButton w40 hh cr-p ta-o pos-a tp-0 lf-0 fs-20",class:t.themeColor},[e("svg",{style:"fill:"+("txt-white"==t.themeColor?"#fff":"#000"),attrs:{height:"40px",width:"40px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])]):t._e(),t._v(" "),e("swiper",{ref:"swiperkutular",staticClass:"swiper",attrs:{options:t.swiperOption}},t._l(t.dataList,function(r,o){return e("swiper-slide",{key:"box_"+o},[e("a",{staticClass:"catSliderItem ww fl",attrs:{href:r.url}},[e("img",{staticClass:"h80 mrau dp-b",style:"filter: brightness(0)"+("txt-white"==t.themeColor?" invert(1)":"")+";",attrs:{src:r.img,alt:r.name}}),t._v(" "),e("span",{staticClass:"ww fl mt10 ta-c fw-b fs-12",class:t.themeColor},[t._v(t._s(r.name))])])])}),1)],1):t._e()},[],!1,null,"4077005c",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(72).a,l=(r(520),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl"},[e("el-form",{ref:"form",attrs:{id:"orderForm","label-position":"top",action:t.posInfo.post_url,method:"post"},nativeOn:{submit:function(e){return e.preventDefault(),t.submitForm.apply(null,arguments)}},model:{value:t.posInfo,callback:function(e){t.posInfo=e},expression:"posInfo"}},[e("input",{attrs:{type:"hidden",name:"paytr_token"},domProps:{value:t.posInfo.paytr_token}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"merchant_id"},domProps:{value:t.posInfo.merchant_id}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"merchant_oid"},domProps:{value:t.posInfo.merchant_oid}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"user_ip"},domProps:{value:t.posInfo.user_ip}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"user_basket"},domProps:{value:t.posInfo.user_basket}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"user_address",value:"test test test"}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"user_phone",value:"
105555555555"}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"user_name"},domProps:{value:t.posInfo.user_name}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"email"},domProps:{value:t.posInfo.email}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"payment_type"},domProps:{value:t.posInfo.payment_type}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"payment_amount"},domProps:{value:t.posInfo.payment_amount}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"currency"},domProps:{value:t.posInfo.currency}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"debug_on"},domProps:{value:t.posInfo.debug_on}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"non3d_test_failed"},domProps:{value:0}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"installment_count"},domProps:{value:t.posInfo.installment_count}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"card_type"},domProps:{value:t.cartType}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"test_mode"},domProps:{value:t.posInfo.test_mode}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"non_3d"},domProps:{value:t.posInfo.non_3d}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"merchant_ok_url"},domProps:{value:t.basarili}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"merchant_fail_url"},domProps:{value:t.basarisiz}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"no_installment",value:"0"}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"max_installment",value:"0"}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"cc_owner"},domProps:{value:t.firstname+" "+t.surname}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"card_number"},domProps:{value:t.code1+""+t.code2+t.code3+t.code4}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"expiry_month"},domProps:{value:t.mounth}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"expiry_year"},domProps:{value:t.year}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"cvv"},domProps:{value:t.ccv}}),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"ww fl pos-r"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,sm:6,xs:12}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.code1,expression:"code1"}],class:"otpInput ww h40 fl mb20 p10 bdr"+(t.codeError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:"####",maxlength:"4"},domProps:{value:t.code1},on:{keyup:function(e){return t.tabChange(1)},input:function(e){e.target.composing||(t.code1=e.target.value)}}})]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:12}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.code2,expression:"code2"}],class:"otpInput ww h40 fl mb20 p10 bdr"+(t.codeError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:"####",maxlength:"4"},domProps:{value:t.code2},on:{keyup:function(e){return t.tabChange(2)},input:function(e){e.target.composing||(t.code2=e.target.value)}}})]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:12}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.code3,expression:"code3"}],class:"otpInput ww h40 fl mb20 p10 bdr"+(t.codeError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:"####",maxlength:"4"},domProps:{value:t.code3},on:{keyup:function(e){return t.tabChange(3)},input:function(e){e.target.composing||(t.code3=e.target.value)}}})]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:12}},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.code4,expression:"code4"}],class:"otpInput ww h40 fl mb20 p10 bdr"+(t.codeError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:"####",maxlength:"4"},domProps:{value:t.code4},on:{keyup:function(e){return t.tabChange(4)},input:function(e){e.target.composing||(t.code4=e.target.value)}}})])],1),t._v(" "),t.codeError?e("span",{staticClass:"pos-a tp-100 lf-0 txt-error fs-12"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()],1)]),t._v(" "),e("el-col",{attrs:{lg:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl mb20 pos-r"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.firstname,expression:"firstname"}],class:"ww h40 fl p10 bdr"+(t.firstnameError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:t.$t("name")},domProps:{value:t.firstname},on:{input:function(e){e.target.composing||(t.firstname=e.target.value)}}}),t._v(" "),t.firstnameError?e("span",{staticClass:"pos-a tp-100 lf-0 txt-error fs-12"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl mb20 pos-r"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.surname,expression:"surname"}],class:"ww h40 fl p10 bdr"+(t.surnameError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:t.$t("surname")},domProps:{value:t.surname},on:{input:function(e){e.target.composing||(t.surname=e.target.value)}}}),t._v(" "),t.surnameError?e("span",{staticClass:"pos-a tp-100 lf-0 txt-error fs-12"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:8,sm:8,xs:8}},[e("el-select",{staticClass:"mb20",attrs:{placeholder:t.$t("mounth")},model:{value:t.mounth,callback:function(e){t.mounth=e},expression:"mounth"}},t._l(12,function(t){return e("el-option",{key:t,attrs:{label:("0"+t).slice(-2),value:t}})}),1)],1),t._v(" "),e("el-col",{attrs:{lg:8,sm:8,xs:8}},[e("el-select",{staticClass:"mb20",attrs:{placeholder:t.$t("year")},model:{value:t.year,callback:function(e){t.year=e},expression:"year"}},t._l(99,function(t){return e("el-option",{key:t,attrs:{value:t}})}),1)],1),t._v(" "),e("el-col",{attrs:{lg:8,sm:8,xs:8}},[e("div",{staticClass:"ww fl mb30 pos-r"},[e("el-form-item",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.ccv,expression:"ccv"}],class:"ww h40 fl p10 bdr"+(t.ccvError?" isEror":""),staticStyle:{"border-radius":"4px"},attrs:{placeholder:"CCV",maxlength:"3",onkeyup:"this.value=this.value.replace(/[^0-9\\.]/g,'')"},domProps:{value:t.ccv},on:{input:function(e){e.target.composing||(t.ccv=e.target.value)}}}),t._v(" "),t.ccvError?e("span",{staticClass:"pos-a tp-100 lf-0 txt-error fs-12"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])],1)]),t._v(" "),e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:24}},[e("span",{staticClass:"ww h50 fl ta-or fs-20 fw-6"},[t._v("\r\n                            "+t._s(t.$currencyFormat(parseFloat(t.posInfo.payment_amount),t.currency))+"\r\n                          ")])]),t._v(" "),e("el-col",{attrs:{lg:12,sm:12,xs:24}},[e("el-button",{staticClass:"ww h50 fl mb20 ta-o",attrs:{"native-type":"submit",type:"primary"}}
1,[t._v(t._s(t.$t("pay")))])],1)],1)],1)],1)],1)],1)])])},[],!1,null,null,null);e.default=component.exports},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},,,,,,,,,function(t,e,r){"use strict";r.r(e);var o=r(76),l=r(10),n=r.n(l),c=r(11),d=r(5);function m(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function h(t){return function(){var e=this,r=arguments;
1return new Promise(function(o,l){var a=t.apply(e,r);function n(t){m(a,o,l,n,c,"next",t)}function c(t){m(a,o,l,n,c,"throw",t)}n(void 0)})}}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){v(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function v(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var w={components:{UploadExcelComponent:o.default,Swiper:d.Swiper,SwiperSlide:d.SwiperSlide,prodCard:c.default,shareButton:()=>r.e(0).then(r.bind(null,800))},watch:{tableData:{deep:!0,handler(t){this.tableData=t,this.tableData.length<1&&(this.noData=!0)}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,currency:this.$store.state.firmBaseCurrency||"TRY",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,basketLoad:!1,xlsxLoading:!1,importLoading:!1,loading:!1,noData:!1,removeLoad:!1,showExcel:!1,formType:"",showDiscount:!1,hideImport:!1,aktarilamayanData:[],detailLoading:!1,faildOrderTableData:[],orderListTitle:this.$t("order")+" "+this.$t("list"),orderTakeDrawer:!1,orderList:null,cargoFreeSlider:null,campaingSlider:null,allSetting:this.$store.state.firm,cargoFreeCollection:this.$store.state.firm.settings.b2bCargoFreeCollection,isCancelCampaing:!1,cancelItemBarcode:"",campaingList:[],sepetBaremCampaign:{},xyCampaign:{},basketShareUrl:"",basketShareLoading:!1,activeModules:{mod_ebook_seller:0,mod_b2bpublic:0},everyItemIsEbook:!1,basketData:null,tableData:[],faildShow:0,headerTitle:[this.$t("Barkod"),this.$t("Miktar")],excelHeader:null,excelData:null,dataMessage:null,orderTotal:0,loginDialogShow:!1,googleModule:null,initialQuantity:0,debounceTimer:null}},created(){this.checkModules(),this.getList(),this.$nuxt.$on("currency",t=>this.currency=t),this.formType=this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFormType,this.faildShow=this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFaildOrderShow,this.hideImport=this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideBasketImport,this.getUrunSlider({cargoFreeSlider:!0}),1!=this.faildShow||this.$cookies.get("isGuestLogin")||this.getFaildOrderList(),this.$nuxt.$on("newBasketTrigger",t=>{this.getList()})},mounted(){this.checkBasketOrderLink(),this.googleContent()},computed:{activeCampaign(){return this.campaingList.find(t=>t.discountHasApply)},nextCampaignDetail(){if(!this.sepetBaremCampaign||!this.sepetBaremCampaign.pr_params)return{};var t=0;for(var e of this.tableData){if(e.stok&&Array.isArray(e.stok.tags))e.stok.tags.find(t=>t.id==this.sepetBaremCampaign.pr_urundeger)&&(t+=parseFloat(e.net_tutar))}this.sepetBaremCampaign.currentDiscountAmount&&1==this.sepetBaremCampaign.discountHasApply&&(t+=parseFloat(this.sepetBaremCampaign.currentDiscountAmount));var r=this.sepetBaremCampaign.pr_params.basketLimit.find(e=>parseFloat(e.limit)>t);if(!r)return{};var o=parseFloat(r.limit)-t;return _(_({},r),{},{differentFromNextPrice:o})},calcPriceCode(){if(!this.basketData)return this.$cookies.get("currency")||"TRY";for(var t=JSON.parse(this.basketData.dvzkur_sets),e="TRY",i=0;i<t.length;i++)t[i].id==this.basketData.dvzkur&&(e=t[i].birim);return e}},methods:{getPriceCode(code){return this.currencySymbolList[code||this.firmBaseCurrency]},getList(){this.basketLoad=!0,this.$apis.get("api/basket/cart?id="+this.isUserBasketId()).then(t=>{this.basketLoad=!1,this.noData=!1,this.basketData=t.data.KiboApp.Response.data,this.tableData=t.data.KiboApp.Response.data.stokinout,this.orderTotalCalc(),this.getCampaignList(),this.checkAllItemsEBooks(this.basketData.stokinout),this.isCancelCampaing&&this.cancelCampaign()}).catch(t=>{this.basketData=null,this.tableData=[],this.basketLoad=!1,this.noData=!0,this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0),401==t.response.status&&(this.loginDialogShow=!0)})},getFaildOrderList(){this.$apis.get("api/user/order/list?limit=3&belgedurum=0&pay_status=0&muhislemko
1d=2&kk_failed_show=1&page=1").then(t=>{this.faildOrderTableData=t.data.KiboApp.Response.data.list}).catch(t=>{this.faildOrderTableData=[]})},getBasketTotal(data){var t=0;data.forEach(e=>{var r;t+=null!==(r=e.stok)&&void 0!==r&&r.ebook?1:parseFloat(e.out_miktar)}),this.getCampaignList(),this.$cookies.set("basketCount",t,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",t)},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},removeItem(t){this.removeLoad=!0,this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"update",product:[{id:t.stok_id,barcode:0,quantity:0}]}).then(e=>{this.removeLoad=!1,this.$message({message:e.data.KiboApp.Response.kiboMessage,type:"warning"});var r=e.data.KiboApp.Response.data.basketCart;this.basketData=r,this.tableData=r.stokinout,this.googleModule&&this.googleModule.googleRemoveFromCart(t,"TRY",t.out_miktar),this.getBasketTotal(r.stokinout)}).catch(t=>{console.log(t),this.removeLoad=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},clearAllItem(){this.removeLoad=!0,this.$apis.get("api/basket/cartClear?id="+this.isUserBasketId()).then(t=>{this.removeLoad=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.basketData=null,this.tableData=[],this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$cookies.remove("orderName",{path:"/"}),this.$cookies.remove("userBasketId",{path:"/"}),this.$nuxt.$emit("basketCount",0),this.noData=!0}).catch(t=>{this.removeLoad=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},updateItem(t,e){var r=this;return h(function*(){var o=t.stok_id,l=t.stok_kod,n=t.out_miktar;return r.removeLoad=!0,yield r.$apis.post("api/basket/add",{basketId:r.isUserBasketId(),basketTransMod:"update",product:[{id:o,barcode:l,quantity:n}]}).then(o=>{r.removeLoad=!1,r.isCancelCampaing||r.$message({message:o.data.KiboApp.Response.kiboMessage,type:"success"}),r.basketData=o.data.KiboApp.Response.data.basketCart,r.tableData=o.data.KiboApp.Response.data.basketCart.stokinout,r.orderTotalCalc(),r.getBasketTotal(o.data.KiboApp.Response.data.basketCart.stokinout),r.googleModule&&!r.isCancelCampaing&&(e>0?r.googleModule.googleAddToCart(t,"TRY",e):r.googleModule.googleRemoveFromCart(t,"TRY",Math.abs(e)))}).catch(t=>{r.isCancelCampaing&&(r.isCancelCampaing=!1,r.basketLoad=!1),r.removeLoad=!1,r.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})})()},debouncedUpdateItem(t,e,r){this.initialQuantity||(this.initialQuantity=e);var o=t-this.initialQuantity;clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{this.updateItem(r,o),this.initialQuantity=0},200)},importItem(){if(null!=this.excelData){this.showExcel=!1;var t=[];console.log(this.excelData),this.excelData.map(e=>{t.push({id:0,barcode:e.Barkod,quantity:e.Miktar})}),this.basketLoad=!0,this.noData=!1,this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"add",product:t}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"});var e=t.data.KiboApp.Response.data.basketCart;this.basketData=e,this.tableData=e.stokinout,this.orderTotalCalc(),this.getBasketTotal(e.stokinout),this.basketLoad=!1,""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400})}).catch(t=>{if(t.response.data.KiboApp.Response.data){var e=t.response.data.KiboApp.Response.data.basketCart;this.basketData=e,this.tableData=e.stokinout,this.orderTotalCalc(),this.getBasketTotal(e.stokinout),this.aktarilamayanData=t.response.data.KiboApp.Response.data.addErrorProcs}this.basketLoad=!1,this.$message({showClose:!0,message:t.response.data.KiboApp.Response.kiboMessage,type:"error",duration:0})})}else this.$message({message:this.$t("please_add_file"),type:"error"})},getExcelImport(){this.showExcel=!0,this.excelHeader=null,this.excelData=null},downXlsx(){var t=n.a.utils.book_new(),e=n.a.utils.json_to_sheet([],{header:[this.$t("Barkod"),this.$t("Miktar")]});t.SheetNames.push("Test"),t.Sheets.Test=e,n.a.writeFile(t,this.$t("taslak")+"-".concat((new Date).toLocaleDateString(),".xl
1sx"))},beforeUpload(t){return t.size/1024/1024<1?(this.importLoading=!0,!0):(this.$message({message:"Please do not upload files larger than 1m in size.",type:"warning"}),!1)},handleSuccess(t){var e=t.results,header=t.header;if(e.length>1250)this.$message.error(this.$t("fis_satiri_1250_adetten_fazla_olamaz")),this.importLoading=!1;else{for(var r=[],o=this.headerTitle,i=0;i<header.length;i++)o.includes(header[i])||r.push(header[i]);r.length>0?(this.$alert('<b>"'+r.join(",")+'"</b> Böyle bir kolon bulunmamaktadır',"Hatalı Kolon Var!",{dangerouslyUseHTMLString:!0,confirmButtonText:"Tamam",center:!0,type:"error"}),this.importLoading=!1):(this.DataList=[],this.ErrorList=[],this.isSubmit=!0,this.excelData=e,this.ErrorList.length>0&&this.$alert(this.ErrorList.join("<br> "),"Excel Dosyasında Hata Var!",{dangerouslyUseHTMLString:!0,confirmButtonText:"Tamam",center:!0,type:"error"}),this.excelHeader=header,this.importLoading=!1)}},orderTotalCalc(){for(var t=0,i=0;i<this.tableData.length;i++)this.tableData[i].out_miktar=Math.round(this.tableData[i].out_miktar),t+=parseFloat(this.tableData[i].list_fiyat_dahil)*parseFloat(this.tableData[i].out_miktar);this.orderTotal=t},handleDownload(){var t=[[this.$t("Barkod"),this.$t("Miktar"),this.$t("mesaj")]],e=n.a.utils.book_new(),r=n.a.utils.json_to_sheet([]);n.a.utils.sheet_add_aoa(r,t);var o=this.aktarilamayanData,data=this.formatJson(["barcode","quantity","message"],o);n.a.utils.sheet_add_json(r,data,{origin:"A2",skipHeader:!0}),n.a.utils.book_append_sheet(e,r,"Sheet1");var l=(new Date).toLocaleString("tr-TR").split(" "),time=l[0].split("."),c=this.aktarilamayanData.length+"_"+this.$t("aktarilamayan")+"_"+this.$t("urun")+"_";c+=time[2]+"_"+time[1]+"_"+time[0]+"_"+l[1].replaceAll(":","_"),n.a.writeFile(e,c+".xlsx")},formatJson:(t,e)=>e.map(e=>t.map(t=>e[t].toString())),getTakeOrder(t,title){this.detailLoading=!0,this.$apis.get("api/user/order/take/"+t).then(t=>{this.orderTakeDrawer=!0,this.detailLoading=!1,this.orderListTitle=title,this.orderList=t.data.KiboApp.Response.data.stokinout}).catch(t=>{this.detailLoading=!1,this.isEmpty=!0,this.listLoading=!1})},getClearAndRebuild(t){this.$apis.get("api/basket/cartClear?id="+this.isUserBasketId()).then(e=>{this.postCartRebuild(t)}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0)})},getRebuild(t){this.$apis.post("api/basket/cartRebuild",{basketId:this.isUserBasketId(),orderId:t}).then(t=>{this.$message({message:this.$t("Sepet")+" "+this.$t("Oluşturuldu"),type:"success"}),this.orderTotalCalc(),this.getBasketTotal(t.data.KiboApp.Response.data.basketCart.stokinout),this.getList(),""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400})}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0)})},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},getUrunSlider(t,e){var r;if(t.cargoFreeSlider){if(!this.cargoFreeCollection||""==this.cargoFreeCollection.tagId)return;r=this.cargoFreeCollection.tagId}if(t.campaingSlider&&(r=e),r){var o=this.activeModules.mod_b2bpublic?"public/":"";this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":o)+"product/search?&tag_id="+r+"&limit=18&page=1").then(r=>{var o=r.data.KiboApp.Response.data.list;t.cargoFreeSlider?this.cargoFreeSlider=o:t.campaingSlider&&(this.campaingSlider=_(_({},this.campaingSlider),{},{[e]:o}))}).catch(()=>{t.cargoFreeSlider?this.cargoFreeSlider=null:this.campaingSlider=null})}},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}},getCampaignList(){var t=!!this.activeCampaign&&1==this.activeCampaign.discountHasApply;this.$apis.get("api/basket/campaignList?basketId="+this.isUserBasketId()).then(e=>{var r=e.data.KiboApp.Response.data;this.campaingList=r;var o=r.find(t=>5==t.pr_type),l=r.find(t=>7==t.pr_type);o&&(this.sepetBaremCampaign=_(_({},o),{},{pr_params:JSON.parse(o.pr_params)})),l&&(this.xyCampaign=_(_({},l),{},{pr_params:JSON.parse(l.pr_params)})),this.campaingSlider||(o&&this.getUrunSlider({campaingSlider:!0},o.pr_urundeger),l&&this.getUrunSlider({campaingSlider:!0},l.pr_urundeger)),t&&!this.activeCampaign&&(this.getList(),this.$message({message:"Kampanya tanımı iptal edildi, lütfen tekrar uygulayın",type:"error"}))}).catch(t=>{this.sepetBaremCampaign=null})},handleCampaign(t){if(null!=t&&t.discountHasApply)this.cancelCampaign();
1else{var data={basketId:this.isUserBasketId(),campaignId:t.id};this.$apis.post("api/basket/campaignApply",data).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.getList()}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}},cancelCampaign(){var t=this;return h(function*(){t.basketLoad=!0;var e=t.tableData.find(t=>0!==Number(t.net_tutar));if(t.isCancelCampaing){var r=_(_({},e),{},{out_miktar:e.out_miktar+1});yield t.updateItem(r),t.isCancelCampaing=!1,t.basketLoad=!1}else{var o=_(_({},e),{},{out_miktar:e.out_miktar-1});t.updateItem(o),t.isCancelCampaing=!0}})()},checkBasketOrderLink(){var t=this;return h(function*(){var e=t.$route.query,r=e.orderId,o=e.payload,l=e.sign;r&&o&&l&&((yield t.postCartRebuild({orderId:r,payload:o,sign:l}))&&t.$router.replace({path:t.$route.path,query:{}}))})()},sendReDirect(path){var t=encodeURIComponent(this.$route.fullPath);this.$router.push({path:"/auth/"+path+"?redirect=".concat(t)})},getAutoLogin(){var t=encodeURIComponent(this.$route.fullPath),path="/auth/autoLogin?redirect=".concat(t,"&loginToken=").concat(this.firmSetting.b2bAutomaticLoginCode);this.$router.push({path:this.localePath(path)})},postCartRebuild(t){var e=this;return h(function*(){var r=t.orderId,o=t.payload,l=t.sign;try{var data={basketId:e.isUserBasketId(),orderId:r,payload:o,sign:l};e.basketLoad=!0;var n=yield e.$apis.post("api/basket/cartRebuild",data),c=n.data.KiboApp.Response.data.basketCart;return e.$message({message:n.data.KiboApp.Response.kiboMessage,type:"success"}),e.$cookies.set("userBasketId",c.id,{path:"/",maxAge:86400}),e.getList(),e.getBasketTotal(n.data.KiboApp.Response.data.basketCart.stokinout),!0}catch(t){return e.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),e.basketLoad=!1,!1}})()},googleContent(){this.firmSetting.googleAnalyticsID&&Promise.resolve().then(r.bind(null,86)).then(t=>{this.googleModule=t}).catch(t=>{console.error("function 'googleViewItem' import error:",t)})},handleBasketShare(){this.basketShareLoading=!0,this.$apis.get("api/basket/cartShare?id="+this.isUserBasketId()).then(t=>{var e=t.data.KiboApp.Response.data,r=e.orderId,o=e.payload,l=e.sign;this.basketShareUrl="".concat(this.localePath("/koleksiyon"),"?orderId=").concat(r,"&payload=").concat(o,"&sign=").concat(l),this.reAddToBasket()}).catch(()=>{this.basketShareLoading=!1})},reAddToBasket(){this.basketLoad=!0;var t=this.tableData.map(t=>({id:t.stok_id,barcode:t.stok_kod,quantity:t.out_miktar}));this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"update",product:t}).then(t=>{this.getList(),this.basketShareUrl="",this.basketShareLoading=!1}).catch(t=>{this.basketLoad=!1,this.basketShareLoading=!1,this.basketShareUrl=""})},checkAllItemsEBooks(t){this.everyItemIsEbook=t.every(t=>{var e;return null===(e=t.stok)||void 0===e?void 0:e.ebook})},checkModules(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];if("1"!=t.md_status)return;"mod_ebook_seller"==t.md_name&&(this.activeModules.mod_ebook_seller=1),"mod_b2bpublic"==t.md_name&&(this.activeModules.mod_b2bpublic=1)}}}},y=w,k=(r(496),r(0)),component=Object(k.a)(y,function(){var t,e,r,o,l,n=this,c=n._self._c;return c("main",[c("aside",{staticClass:"ww fl"},[c("div",{staticClass:"wrapper mrau px10"},[c("div",{staticClass:"ww fl py5"},[c("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[c("el-breadcrumb-item",{attrs:{to:{path:n.localePath("/")}}},[n._v(n._s(n.$t("Anasayfa")))]),n._v(" "),c("el-breadcrumb-item",[n._v(n._s(n.$t("basket")))])],1)],1)])]),n._v(" "),c("section",{directives:[{name:"loading",rawName:"v-loading",value:n.basketLoad,expression:"basketLoad"}],staticClass:"ww fl mt30 mb50"},[c("div",{staticClass:"wrapper mrau px10"},[n.$cookies.get("isGuestLogin")||1!=n.faildShow?n._e():c("div",{staticClass:"ww fl mb30"},[n.faildOrderTableData.length>0?c("div",{staticClass:"ww fl"},[c("el-alert",{attrs:{title:n.$t("Kredi kartı ile ödenemeyen veya Ödenmesi beklenen siparişler"),type:"error","show-icon":"",closable:!1}}),n._v(" "),c("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:n.faildOrderTableData,stripe:""}},[c("el-table-column",{attrs:{label:n.$t("date"),"min-width":"130"},scopedSlots:n._u([{key:"default",fn:function(t){return[c("p",{staticClass:"fs-13 fw-6 mb5"},[n._v(" "+n._s(n.ParseStamp(t.row.tarih)))]),n._v(" "),c("el-button",{attrs:{loading:n.detailLoa
1ding,icon:"el-icon-zoom-in fs-14",size:"mini"},on:{click:function(e){n.getTakeOrder(t.row.id,t.row.aciklama||"-")}}},[n._v(n._s(n.$t("Detay")))])]}}],null,!1,904269588)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("order_number"),"min-width":"100"},scopedSlots:n._u([{key:"default",fn:function(t){return[n._v("\r\n                            "+n._s(t.row.fattakipno)+"\r\n                        ")]}}],null,!1,24562664)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("description"),"min-width":"150"},scopedSlots:n._u([{key:"default",fn:function(t){return[n._v("\r\n                            "+n._s(t.row.aciklama||"-")+"\r\n                        ")]}}],null,!1,338192273)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Durum")},scopedSlots:n._u([{key:"default",fn:function(t){return[c("span",{class:"fs-12 fw-6"},[n._v(n._s(null!=t.row.siparis_durum?t.row.siparis_durum.tanimad:"-"))])]}}],null,!1,994749939)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("payment"),"min-width":"100"},scopedSlots:n._u([{key:"default",fn:function(t){return[0==t.row.pay_status?c("a",{attrs:{href:t.row.payGatewayUrl,target:"_blank"}},[c("el-tag",{attrs:{type:0!=t.row.pay_status?"success":"danger","disable-transitions":""}},[n._v("\r\n                                "+n._s(n.$t("pay"))+"\r\n                            ")])],1):c("el-tag",{attrs:{type:"success","disable-transitions":""}},[n._v("\r\n                            "+n._s(n.$t("paid"))+"\r\n                            ")])]}}],null,!1,960969500)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("amount"),align:"right"},scopedSlots:n._u([{key:"default",fn:function(t){return[c("span",{staticClass:"ta-r fs-16 fw-7 ls-1"},[n._v(n._s(n.$currencyFormat(t.row.borctl,n.currency)))])]}}],null,!1,860127187)}),n._v(" "),c("el-table-column",{attrs:{label:"",width:"150"},scopedSlots:n._u([{key:"default",fn:function(t){return[t.row.b2bBasketCartRebuild&&t.row.b2bBasketCartRebuild.orderId?c("div",{staticClass:"dp-f fd-c",staticStyle:{gap:"5px"}},[c("el-popconfirm",{staticClass:"fr",attrs:{"popper-class":"isEmptyClass","confirm-button-text":n.$t("Evet"),"cancel-button-text":n.$t("Hayır"),icon:"el-icon-info","icon-color":"red",title:n.$t("Sipariş Sepete Eklenmeden Önce Sepete Boşaltılsın Mı")},on:{confirm:function(e){return n.getClearAndRebuild(t.row.b2bBasketCartRebuild)},cancel:function(e){return n.postCartRebuild(t.row.b2bBasketCartRebuild)}}},[c("el-button",{staticStyle:{width:"100%"},attrs:{slot:"reference",id:t.row.id,size:"small",icon:"el-icon-goods"},slot:"reference"},[n._v(n._s(n.$t("add_to_basket")))])],1),n._v(" "),c("shareButton",{attrs:{url:"/sepet?orderId=".concat(t.row.b2bBasketCartRebuild.orderId,"&payload=").concat(t.row.b2bBasketCartRebuild.payload,"&sign=").concat(t.row.b2bBasketCartRebuild.sign),title:"Sepet",size:"small"}})],1):n._e()]}}],null,!1,3476469234)})],1)],1):n._e()]),n._v(" "),c("div",{staticClass:"clr"}),n._v(" "),c("div",{staticClass:"ww fl"},[n.tableData.length>0?c("el-row",{staticClass:"orderList bdrB",attrs:{gutter:5}},[c("el-col",{attrs:{lg:8,md:8,sm:8,xs:6}},[c("div",{staticClass:"ww fl py5 fw-b ta-l pos-r",class:n.$device.isMobile?"fs-9":"pl50 fs-13"},[n._v(n._s(n.$t("description")))])]),n._v(" "),c("el-col",{attrs:{lg:3,md:3,sm:3,xs:3}},[n.firmSetting.b2bHidePublisher?c("p",{staticClass:"txt-white"},[n._v("-")]):c("div",{staticClass:"ww fl py5 fw-b ta-l pos-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v(n._s(n.$t("Üretici")))])]),n._v(" "),2!=n.formType?c("el-col",{attrs:{lg:2,md:2,sm:2,xs:3}},[c("div",{staticClass:"ww fl py5 fw-b ta-r pos-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v(n._s(n.$t("İndirim")))])]):n._e(),n._v(" "),c("el-col",{attrs:{lg:3,md:3,sm:3,xs:4}},[c("div",{staticClass:"ww fl py5 fw-b ta-r pos-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v(n._s(n.$t("price")))])]),n._v(" "),n.$device.isDesktop?c("el-col",{attrs:{lg:4,md:4,sm:4,xs:4}},[c("div",{staticClass:"ww fl py5 fw-b ta-c pos-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v(n._s(n.$t("Miktar")))])]):n._e(),n._v(" "),c("el-col",{attrs:{lg:4,md:4,sm:n.$device.isDesktop?4:8,xs:n.$device.isDesktop?4:8}},[c("div",{staticClass:"ww fl py5 fw-b ta-r pos-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v(n._s(n.$device.isMobile?n.$t("Miktar")+" & "+n.$t("amount"):n.$t("amount")))])])],1
1):n._e(),n._v(" "),n._l(n.tableData,function(t,e){var r,o,l,d,m;return c("el-row",{key:e,staticClass:"orderList bdrB",attrs:{gutter:5}},[c("el-col",{attrs:{lg:8,md:8,sm:8,xs:6}},[c("div",{staticClass:"ww fl py5 pos-r",class:n.$device.isMobile?"pl20":"pl50"},[c("span",{staticClass:"h40 my10 pos-a tp-0 lf-0",class:n.$device.isMobile?"w20":"w50"},[t.stok.files.length>0?c("el-image",{class:"bg-light",staticStyle:{width:"100%",height:"100%"},attrs:{src:t.stok.files[0].fl_url,"preview-src-list":[t.stok.files[0].fl_url],fit:"contain","append-to-body":"","hide-on-click-modal":""},scopedSlots:n._u([{key:"error",fn:function(){return[c("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-20"})]},proxy:!0}],null,!0)}):c("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-20"})],1),n._v(" "),c("nuxt-link",{staticClass:"ww fl mt5 mr5 pl5 ln-20",class:n.$device.isMobile?"fs-9":"fs-13",attrs:{to:n.localePath("/urun/"+t.stok.seo_link)}},[n._v(n._s(t.aciklama||t.stok.stokcins))]),n._v(" "),2!=n.formType?[null!=t.stok.ttur?c("el-tag",{staticClass:"fl mt5 mb10 ml5",class:n.$device.isMobile?"fs-9":"",attrs:{size:"mini",type:"info"}},[n._v(n._s(t.stok.ttur.ad))]):n._e()]:n._e()],2)]),n._v(" "),c("el-col",{attrs:{lg:3,md:3,sm:3,xs:3}},[n.firmSetting.b2bHidePublisher?c("p",{staticClass:"txt-white"},[n._v("-")]):c("div",{staticClass:"ww fl pos-r"},[null!=t.stok.uretici?c("nuxt-link",{staticClass:"ww fl ln-15 ta-ol",class:n.$device.isMobile?"fs-9 my10":"h50 fs-12 ",attrs:{to:n.localePath(n.getMakeSeoLink(t.stok.uretici,"uretici"))}},[n._v(n._s(t.stok.uretici.ureticiad))]):c("span",{staticClass:"ww h50 fl ta-ol fs-13"},[n._v("-")])],1)]),n._v(" "),2!=n.formType?c("el-col",{attrs:{lg:2,md:2,sm:2,xs:3}},[c("div",{staticClass:"ww fl mt5 py5"},[c("p",{staticClass:"ww fl ln-40 ta-r",class:n.$device.isMobile?"fs-9":"fs-13"},[n._v("%"+n._s(t.iskonto))])])]):n._e(),n._v(" "),c("el-col",{attrs:{lg:3,md:3,sm:3,xs:4}},[c("div",{staticClass:"ww fl mt5 py5"},[null!==(r=t.stok)&&void 0!==r&&r.ebook?[c("p",{staticClass:"ww fl ta-r ln-20",class:n.$device.isMobile?"fs-10":" fs-13"},[c("span",{staticClass:"ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                                "+n._s(n.$currencyFormat(t.net_tutar,n.currency))+"\r\n                            ")])]:[c("p",{class:"ww fl ta-r"+(2!=n.formType?" ln-20":" ln-40")+(n.$device.isMobile?" fs-10":" fs-13")},[c("span",{staticClass:"ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                                "+n._s(n.$currencyFormat(t.birim_fiyat_dahil,n.currency))+"\r\n                            ")]),n._v(" "),2!=n.formType?c("p",{staticClass:"ww fl ln-10 ta-r",class:n.$device.isMobile?"fs-9":" fs-10"},[c("span",{staticClass:"ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                                "+n._s(n.$currencyFormat(t.list_fiyat_dahil,n.currency))+"\r\n                            ")]):n._e()]],2)]),n._v(" "),n.$device.isDesktop?c("el-col",{attrs:{lg:4,md:4,sm:4,xs:4}},[c("div",{staticClass:"ta-o mt5 py5"},[null!==(o=t.stok)&&void 0!==o&&o.ebook?c("p",{staticClass:"ln-20",class:n.$device.isMobile?"fs-10":"fs-13"},[n._v(n._s(Number(t.out_miktar)+" "+n.$t("Gün")))]):c("el-input-number",{attrs:{min:1,max:(null===(l=t.stok)||void 0===l?void 0:l.sepet_miktar)||999999,size:"small"},on:{change:(e,r)=>n.debouncedUpdateItem(e,r,t)},nativeOn:{keydown:function(t){if(!t.type.indexOf("key")&&n._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}},model:{value:t.out_miktar,callback:function(e){n.$set(t,"out_miktar",e)},expression:"row.out_miktar"}})],1)]):n._e(),n._v(" "),c("el-col",{attrs:{lg:4,md:4,sm:n.$device.isDesktop?4:8,xs:n.$device.isDesktop?4:8}},[c("div",{staticClass:"ww fl mt5 ta-or",class:n.$device.isMobile?"pt5":"py5"},[c("p",{staticClass:"ww fr ta-r ln-40 fw-b",class:n.$device.isMobile?"fs-10":"fs-15"},[c("span",{staticClass:"ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                            "+n._s(n.$currencyFormat(t.net_tutar,n.currency))+"\r\n                        ")]),n._v(" "),c("el-button",{staticClass:"fr ml10",attrs:{loading:n.removeLoad,type:"danger",size:"mini",icon:"el-icon-delete ".concat(n.$device.isMobile?"fs-12":"fs-16"),circle:""},on:{click:function(e){return n.removeItem(t)}}})],1),n._v(" "),n.$device.isDesktop?n._e():c("div",{staticClass:"ww fl mb5 dp-f",staticStyle:{"justify-content":"end"}},[null!==(d=t.stok)&&void 0!==d&&d.ebook?c("p",{staticClass:"ln-20",class:n.$device.isMobile?"fs-10":"fs-13"},[n._v(n._s(Number(t.out_miktar)+" "+n.$t("Gün")))]):c("el-input-number",{attrs:{min:1,max:(null===(m=t.stok)||void 0===m?void 0:m.sepet_miktar)||999999,size:"small"},on:{change:(e,r)=>n.debouncedUpdateItem(e,r,t)},nativeOn:{keydown:function(t){if(!t.type.indexOf("key")&&n._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}},model:{value:t.out_miktar,callback:function(e){n.$set(t,"out_miktar",e)}
1,expression:"row.out_miktar"}})],1)])],1)}),n._v(" "),n.noData?c("div",{staticClass:"ww fl pt10 pb20 fs-20 txt-error ta-c"},[n._v("\r\n                "+n._s(n.$t("empty_basket"))+"\r\n            ")]):n._e(),n._v(" "),n.aktarilamayanData.length>0?c("div",{staticClass:"ww fl my20"},[c("h4",{staticClass:"ww fl py5 mt20"},[n._v("\r\n                    "+n._s(n.aktarilamayanData.length+" "+n.$t("aktarilamayan")+" "+n.$t("urun"))+"\r\n                ")]),n._v(" "),c("el-button",{staticClass:"fl mt10 mb20",attrs:{loading:n.xlsxLoading,type:"primary"},on:{click:n.handleDownload}},[n._v("\r\n                    "+n._s(n.$t("download"))+"\r\n                ")]),n._v(" "),c("el-table",{attrs:{data:n.aktarilamayanData,border:"",height:240,size:"mini"}},[c("el-table-column",{attrs:{label:n.$t("Barkod"),width:"110px"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("div",{domProps:{innerHTML:n._s(e.barcode)}})]}}],null,!1,524830538)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Miktar"),width:"110px"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("div",{domProps:{innerHTML:n._s(e.quantity)}})]}}],null,!1,3817335725)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("mesaj"),"min-width":"360px"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("div",{domProps:{innerHTML:n._s(e.message)}})]}}],null,!1,2190260317)})],1)],1):n._e(),n._v(" "),null!=n.basketData?c("div",{staticClass:"ww fl mt15"},[2!=n.formType?c("div",{staticClass:"ww fl"},[n.noData?n._e():c("el-row",{attrs:{gutter:5}},[c("el-col",{attrs:{lg:19,md:19,sm:19,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fs-14"},[n._v("\r\n                                "+n._s(n.$t("list_price"))+" :\r\n                            ")])]),n._v(" "),c("el-col",{attrs:{lg:5,md:5,sm:5,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fs-16"},[c("span",{staticClass:"ln-11 fs-15"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                                "+n._s(n.$currencyFormat(parseFloat(n.basketData.borctl)+parseFloat(n.basketData.indtutar),n.currency))+"\r\n                            ")])])],1)],1):n._e(),n._v(" "),n.noData?n._e():[n.activeCampaign&&1==n.activeCampaign.discountHasApply?c("el-row",{attrs:{gutter:5}},[c("el-col",{attrs:{lg:19,md:19,sm:19,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fs-14"},[n._v("\r\n                                "+n._s(n.$t("Kampanya Katkısı"))+" :\r\n                            ")])]),n._v(" "),c("el-col",{attrs:{lg:5,md:5,sm:5,xs:24}},[c("p",{staticClass:"txt-success ww fl py5 ta-r fw-b fs-16"},[n._v("\r\n                                -"+n._s(n.$currencyFormat(n.activeCampaign.currentDiscountAmount,n.currency))+"\r\n                            ")])])],1):n._e()],n._v(" "),n.noData?n._e():c("el-row",{attrs:{gutter:5}},[c("el-col",{attrs:{lg:19,md:19,sm:19,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fs-14"},[n._v("\r\n                            "+n._s(n.$t("discounted_price"))+" :\r\n                        ")])]),n._v(" "),c("el-col",{attrs:{lg:5,md:5,sm:5,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fw-b fs-16"},[c("span",{staticClass:"ln-11 fs-15"},[n._v(n._s(n.getPriceCode()))]),n._v("\r\n                            "+n._s(n.$currencyFormat(n.basketData.borctl,n.currency))+"\r\n                        ")])])],1),n._v(" "),n.noData?n._e():c("el-row",{attrs:{gutter:5}},[c("el-col",{attrs:{lg:19,md:19,sm:19,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fs-14"},[n._v("\r\n                            "+n._s(n.$t("Miktar")+"/"+n.$t("Çeşit"))+" :\r\n                        ")])]),n._v(" "),c("el-col",{attrs:{lg:5,md:5,sm:5,xs:24}},[c("p",{staticClass:"ww fl py5 ta-r fw-b fs-16"},[n._v("\r\n                            "+n._s(n.$cookies.get("basketCount")+" / "+this.tableData.length)+"\r\n                        ")])])],1)],2):n._e(),n._v(" "),c("div",{staticClass:"ww fl mt15 pt20 bdrT"},[n.everyItemIsEbook?n._e():[n.activeCampaign&&5!=n.activeCampaign.pr_type?n._e():c("el-row",[null!==(t=n.nextCampaignDetail)&&void 0!==t&&t.differentFromNextPrice?c("div",{staticClass:"pb10 mb10 ww fr ta-r"},[1==(null===(e=n.sepetBaremCampaign)||void 0===e?void 0:e.pr_disctype)?c("div",[c("span",{staticClass:"txt-primary fw-b ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v(" "),c("b",{staticClass:"txt-primary"},[n._v(n._s(n.$currencyFormat(n.nextCampaignDetail.differentFromNextPrice,n.currency))+" ")]),n._v(" "),c("span",[n._v(n._s(n.$t("tutarında")))]),n._v(" "),c("nuxt-link",{attrs:{to:n.localePath("/et
1iket/?tag_id="+n.sepetBaremCampaign.pr_urundeger)}},[c("u",{staticClass:"txt-primary"},[n._v("kampanyalı")])]),n._v(" "),c("span",[n._v(n._s(n.$t("ürün ekle")))]),n._v(" "),c("b",{staticClass:"txt-primary"},[n._v(n._s(n.nextCampaignDetail.disc)+" ")]),n._v(" "),c("span",[n._v(n._s(n.$t("tutarında indirim kazan")))])],1):c("div",[c("span",{staticClass:"txt-primary fw-b ln-11 fs-13"},[n._v(n._s(n.getPriceCode()))]),n._v(" "),c("b",{staticClass:"txt-primary"},[n._v(n._s(n.$currencyFormat(n.nextCampaignDetail.differentFromNextPrice,n.currency))+" ")]),n._v(" "),c("span",[n._v(n._s(n.$t("tutarında")))]),n._v(" "),c("nuxt-link",{attrs:{to:n.localePath("/etiket/?tag_id="+n.sepetBaremCampaign.pr_urundeger)}},[c("u",{staticClass:"txt-primary"},[n._v("kampanyalı")])]),n._v(" "),c("span",[n._v(n._s(n.$t("ürün ekle")))]),n._v(" "),c("b",{staticClass:"txt-primary"},[n._v(n._s(n.nextCampaignDetail.disc)+"% ")]),n._v(" "),c("span",[n._v(n._s(n.$t("indirim kazan")))])],1)]):n._e()]),n._v(" "),c("el-row",[c("div",{staticClass:"ww fr ta-r",class:n.$device.isMobile?"mb10":"mb20"},[(null===(r=n.sepetBaremCampaign)||void 0===r?void 0:r.currentDiscountAmount)>0&&(!n.activeCampaign||n.activeCampaign.pr_type==n.sepetBaremCampaign.pr_type)?c("el-button",{staticClass:"fr ml10 ta-o",attrs:{size:"small",type:n.activeCampaign?"danger":"success",icon:"".concat(n.activeCampaign?"el-icon-close":"el-icon-check"," mr5 fs-16")},on:{click:function(t){return n.handleCampaign(n.sepetBaremCampaign)}}},[n._v("\r\n                                "+n._s("Sepet Baremli - "+n.$t("Kampanya")+" ".concat(n.activeCampaign?n.$t("İptal"):n.$t("Uygula")," (-").concat(n.$currencyFormat(n.sepetBaremCampaign.currentDiscountAmount,n.currency),")"))+"\r\n                            ")]):n._e(),n._v(" "),(null===(o=n.xyCampaign)||void 0===o?void 0:o.currentDiscountAmount)>0&&(!n.activeCampaign||n.activeCampaign.pr_type==n.xyCampaign.pr_type)?c("el-button",{staticClass:"fr ml10 ta-o",class:n.$device.isMobile?"mt10":"",attrs:{size:"small",type:n.xyCampaign.discountHasApply?"danger":"success",icon:"".concat(n.xyCampaign.discountHasApply?"el-icon-close":"el-icon-check"," mr5 fs-16")},on:{click:function(t){return n.handleCampaign(n.xyCampaign)}}},[n._v(" \r\n                                "+n._s("".concat(n.xyCampaign.pr_params.x," Al ").concat(n.xyCampaign.pr_params.y," Öde - "))+"  "+n._s(n.$t("Kampanya")+" ".concat(n.activeCampaign?n.$t("İptal"):n.$t("Uygula")," (-").concat(n.$currencyFormat(n.xyCampaign.currentDiscountAmount,n.currency),")"))+"\r\n                            ")]):n._e()],1)])],n._v(" "),c("el-row",{attrs:{gutter:5}},[c("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[n.hideImport?n._e():[n.$device.isMobile?n._e():c("el-button",{attrs:{size:"medium",type:"info"},on:{click:n.getExcelImport}},[n._v(n._s(n.$t("import")))])],n._v(" "),(null===(l=this.tableData)||void 0===l?void 0:l.length)>0?c("div",{class:n.$device.isMobile?"ww fr ta-r mb10":"dp-i"},[c("shareButton",{staticStyle:{display:"none"},attrs:{triggerShare:n.basketShareUrl.length>0,url:n.basketShareUrl,title:n.$t("Sepeti Paylaş"),size:"small"}}),n._v(" "),c("el-popconfirm",{attrs:{"confirm-button-text":n.$t("Evet"),"cancel-button-text":n.$t("Hayır"),icon:"el-icon-info","icon-color":"red",title:n.$t("basket_share_info")},on:{confirm:n.handleBasketShare}},[c("el-button",{directives:[{name:"loading",rawName:"v-loading",value:n.basketShareLoading,expression:"basketShareLoading"}],attrs:{slot:"reference",size:n.$device.isMobile?"small":"medium",icon:"el-icon-share"},slot:"reference"},[n._v(" \r\n                                        "+n._s(n.$t("Sepeti Paylaş"))+"\r\n                                ")])],1)],1):n._e()],2),n._v(" "),!n.noData&&n.tableData.length>0?c("el-col",{attrs:{lg:18,md:18,sm:18,xs:24}},[n.hideImport?n._e():[n.$device.isMobile?c("span",{staticClass:"w40 h50 fl bdr rds5",attrs:{tooltip:n.$t("import"),placement:"right"}},[c("i",{staticClass:"w40 h50 ta-o fs-20 el-icon-upload2"})]):n._e()],n._v(" "),c("nuxt-link",{attrs:{to:n.localePath("/uye/odeme")}},[c("el-button",{staticClass:"h50 fr ml10 ta-o",attrs:{type:"primary",size:"large",icon:"icon-tik mr5 fs-16"}}
1,[n._v(n._s(n.$t("checkout")))])],1),n._v(" "),c("el-popconfirm",{attrs:{"confirm-button-text":n.$t("Evet"),"cancel-button-text":n.$t("Hayır"),icon:"el-icon-info","icon-color":"red",title:n.$t("isleme_devam_edilsin_mi")},on:{confirm:n.clearAllItem}},[c("el-button",{staticClass:"h50 fr ta-o",attrs:{slot:"reference",type:"danger",plain:""},slot:"reference"},[n._v(n._s(n.$t("Sepeti Boşalt")))])],1)],2):n._e()],1)],2),n._v(" "),c("div",{staticClass:"ww fl mt40"},[c("div",{staticClass:"wrapper mrau px10"},[n.campaingSlider?n._l(n.campaingList,function(t,e){return c("div",{key:e,staticClass:"ww fl"},[c("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:n.localePath("/etiket/?tag_id="+t.pr_urundeger)}},[c("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),n._v("  "+n._s(t.pr_name)+"\r\n                            ")]),n._v(" "),n.$device.isDesktop?c("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[c("div",{staticClass:"w40 h40 cr-p ta-o fs-20 icon-arrow-left",class:"prevImgcampaingSlider_".concat(e),staticStyle:{float:"left"}}),n._v(" "),c("div",{staticClass:"w40 h40 cr-p ta-o fs-20 icon-arrow-right",class:"nextImgcampaingSlider_".concat(e),staticStyle:{float:"right"}})]):n._e(),n._v(" "),c("div",{staticClass:"clr"}),n._v(" "),c("div",{staticClass:"ww fl pb15 pos-r"},[c("swiper",{ref:"swipercampaingSlider_".concat(e),refInFor:!0,staticClass:"swiper",attrs:{options:n.sliderOption({key:"campaingSlider_"+e,view:6,delay:4e3})}},n._l(n.campaingSlider[t.pr_urundeger],function(t,e){return c("swiper-slide",{key:e},[c("prodCard",{attrs:{item:t,"pricebar-show":!0,lazyImage:!1}})],1)}),1)],1)],1)}):n._e(),n._v(" "),n.cargoFreeSlider?c("div",{staticClass:"ww fl"},[c("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:n.localePath("/etiket/"+n.$seolink(n.cargoFreeCollection.tagName)+"?tag_id="+n.cargoFreeCollection.tagId)}},[c("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),n._v("  "+n._s(n.cargoFreeCollection.infoText[n.$i18n.locale])+"\r\n                        ")]),n._v(" "),n.$device.isDesktop?c("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[c("div",{staticClass:"prevImgcargoFreeSlider w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),n._v(" "),c("div",{staticClass:"nextImgcargoFreeSlider w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):n._e(),n._v(" "),c("div",{staticClass:"clr"}),n._v(" "),c("div",{staticClass:"ww fl pb15 pos-r"},[c("swiper",{ref:"swipercargoFreeSlider",staticClass:"swiper",attrs:{options:n.sliderOption({key:"cargoFreeSlider",view:6,delay:4e3})}},n._l(n.cargoFreeSlider,function(t,e){return c("swiper-slide",{key:e},[c("prodCard",{attrs:{item:t,"pricebar-show":!0,lazyImage:!1}})],1)}),1)],1)],1):n._e()],2)])],2)])]),n._v(" "),c("el-dialog",{attrs:{title:n.$t("import"),visible:n.showExcel,width:"96%","custom-class":"excelImport"},on:{"update:visible":function(t){n.showExcel=t}}},[c("div",{directives:[{name:"loading",rawName:"v-loading",value:n.importLoading,expression:"importLoading"}],staticClass:"ww hh fl px15 pb15 pos-r ofy-a",staticStyle:{"max-height":"100vh"}},[c("upload-excel-component",{attrs:{"on-success":n.handleSuccess,"before-upload":n.beforeUpload}}),n._v(" "),null!=n.excelData?c("el-table",{attrs:{data:n.excelData,border:"",height:240,size:"mini"}},[c("el-table-column",{attrs:{label:"#",type:"index",width:"50"}}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Barkod"),"min-width":"360px"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{domProps:{innerHTML:n._s(e.Barkod)}})]}}],null,!1,1446705168)}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Miktar"),width:"110px"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{domProps:{innerHTML:n._s(e.Miktar)}})]}}],null,!1,2917525609)})],1):n._e()],1),n._v(" "),c("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[c("el-button",{attrs:{type:"success"},on:{click:n.downXlsx}},[n._v(n._s(n.$t("taslak")))]),n._v(" "),c("el-button",{on:{click:function(t){n.showExcel=!1}}},[n._v(n._s(n.$t("İptal")))]),n._v(" "),c("el-button",{attrs:{type:"primary"},on:{click:n.importItem}}
1,[n._v(n._s(n.$t("Tamam")))])],1)]),n._v(" "),c("el-drawer",{attrs:{title:n.orderListTitle,size:(n.$device.isMobile?100:50)+"%","custom-class":"orderList",visible:n.orderTakeDrawer},on:{"update:visible":function(t){n.orderTakeDrawer=t}}},[c("el-table",{staticStyle:{width:"100%"},attrs:{data:n.orderList,height:"100%"}},[c("el-table-column",{attrs:{label:n.$t("description"),width:"200"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[n._v(n._s(e.stok.stokcins))]),n._v(" "),c("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[n._v(n._s(e.stok.barkod))])]}}])}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Durum"),"min-width":"120"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{staticClass:"fs-13"},[n._v(n._s(null!=e.tedarik_islem?e.tedarik_islem.tanimad:"-"))])]}}])}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Üretici"),"min-width":"120"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{staticClass:"fs-13"},[n._v(n._s(null!=e.stok&&null!=e.stok.uretici?e.stok.uretici.ureticiad:"-"))])]}}])}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("Miktar"),align:"right"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{staticClass:"fs-13"},[n._v(n._s(Math.round(e.out_miktar)))])]}}])}),n._v(" "),c("el-table-column",{attrs:{label:n.$t("price"),align:"right"},scopedSlots:n._u([{key:"default",fn:function(t){var e=t.row;return[c("span",{staticClass:"fs-13 fw-6 ls-1"},[n._v(n._s(n.$currencyFormat(e.net_tutar,n.currency)))])]}}])})],1)],1),n._v(" "),c("el-dialog",{attrs:{title:n.$t("please_login"),visible:n.loginDialogShow,width:n.$device.isMobile?"80%":"460px",center:""},on:{"update:visible":function(t){n.loginDialogShow=t}}},[c("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[n._v(n._s(n.$t("Oturum açmadınız veya sonlanmış olabilir")))]),n._v(" "),c("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=n.firmSetting.b2bShowRegisterButton?c("el-button",{on:{click:function(t){return n.sendReDirect("uyeol")}}},[n._v(n._s(n.$t("signup")))]):n._e(),n._v(" "),c("el-button",{attrs:{type:"primary"},on:{click:function(t){return n.sendReDirect("giris")}}},[n._v(n._s(n.$t("login")))]),n._v(" "),c("div",{staticClass:"clr"}),n._v(" "),n.firmSetting.b2bAutomaticLoginCode?c("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:n.getAutoLogin}},[n._v(n._s(n.$t("Üye Olmadan Alışverişe Devam Et")))]):n._e()],1)])],1)},[],!1,null,"d1d31cbe",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={watch:{basketList:{deep:!0,handler(t){this.basketList=t;for(var e=0,i=0;i<t.length;i++){var r=t[i];e+=parseFloat(r.out_miktar)}this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",e)}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,isQuantityPlus:this.$store.state.firm.settings.b2bBasketProtectedRowQuantityChange||"0",currency:this.$store.state.firmBaseCurrency||"TRY",loading:!1,noData:!1,removeLoad:!1,showExcel:!1,headNote:null,setListDrawer:!1,setList:null,allChecked:!0,labelList:[],colorList:["FFCE54","76BA99","8067B7","FC6E51","D8334A","EC87C0","5D9CEC","48CFAD","876445"],basketData:null,basketList:{},indirimTutar:"",tableData:[],tableDataCompareList:[],headerTitle:["Barkod","Miktar"],excelHeader:null,excelData:null,dataMessage:null,orderTotal:0,itemCount:0,orderBaseTotal:0}},created(){this.getList(),this.$nuxt.$on("currency",t=>this.currency=t),this.headNote=this.$cookies.get("corpNote"),this.$nuxt.$on("basketCount",t=>{this.getList()})},methods:{isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getList(){this.$apis.get("api/basket/cart?id="+this.isUserBasketId()).then(t=>{this.loading=!1,this.noData=!1,this.basketData=t.data.KiboApp.Response.data,this.tableData=t.data.KiboApp.Response.data.stokinout,this.indirimTutar=Number(t.data.KiboApp.Response.data.indtutar),this.tableData.length<1?this.noData=!0:1==this.isQuantityPlus?this.tableDataCompareList=t.data.KiboApp.Response.data.stokinout.map(t=>({id:t.stok_id,barcode:t.stok_kod,quantity:Math.floor(Number(t.out_miktar))})):this.tableDataCompareList=t.data.KiboApp.Response.data.stokinout.filter(t=>!t.row_protected).map(t=>({id:t.stok_id,barcode:t.stok_kod,quantity:Math.floor(Number(t.out_miktar))})),this.orderTotalCalc(),this.tableDataCheckList()}).catch(t=>{t.response&&(this.basketData=t.response.data.KiboApp.Response.data),this.loading=!1,this.noData=!0,this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.indirimTutar=""})},tableDataCheckList(){this.tableData.map((t,e)=>{this.tableData[e].isChecked=!0})},selectColor(t,e){if(null!=t){var r=this.$seolink(t);return this.labelList[r]||(this.labelList[r]=this.colorList[e]),this.labelList[r]}},updateQuantity(t,e){this.tableData[t].out_miktar=e,this.orderTotalCalc()},isCheckedItem(t){this.tableData[t].out_miktar=this.tableData[t].isChecked?1:0,this.tableData[t].isChecked=!!this.tableData[t].isChecked,this.orderTotalCalc()},updateAllItem(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this.removeLoad=!0,this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"update",product:t}).then(t=>{this.removeLoad=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:e}),this.basketData=t.data.KiboApp.Response.data,this.tableData=t.data.KiboApp.Response.data.basketCart.stokinout,this.tableData.length<1&&(this.noData=!0),this.orderTotalCalc(),this.tableDataCheckList();var o=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{o+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",o,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",t.data.KiboApp.Response.data.basketCart.stokinout.length),""!=r&&setTimeout(()=>{location.href=r},500)}).catch(t=>{this.removeLoad=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},clearAllItem(){this.removeLoad=!0,this.$apis.get("api/basket/cartClear?id="+this.isUserBasketId()).then(t=>{this.removeLoad=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.basketData=null,this.tableData=[],this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$cookies.remove("orderName",{path:"/"}),this.noData=!0}).catch(t=>{this.removeLoad=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},updateItem(t,e,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"success";this.updateAllItem([{id:t,barcode:e,quantity:r}],o)},allCheck(){this.allChecked=!this.allChecked,this.tableData.map((t,e)=>{"1"!=t.row_protected&&(this.tableData[e].isChecked=this.allChecked,this.tableData[e].out_miktar=this.allChecked?1:0)}),this.orderTotalCalc()},updateAndPay(){for(var t=this,e=[],i=0;i<this.tableData.length;i++)1!=this.isQuantityPlus&&this.tableData[i].row_protected||e.push({id:this.tableData[i].stok_id,barcode:this.tableData[i].stok_kod,quantity:this.tableData[i].out_miktar});for(var r=[],o=function(o){var l=e.find(e=>e.id===t.tableDataCompareList[o].id);l.quantity!=t.tableDataCompareList[o].quantity&&r.push(l)},l=0;l<this.tableDataCompareList.length;l++)o(l);r.length>0?this.updateAllItem(r,"success",this.localePath("/uye/odeme")):location.href=this.localePath("/uye/odeme")},getSetDetail(data){this.setListDrawer=!0,this.setList=data},orderTotalCalc(){var t=0,e=0,r=0;this.tableData.map(o=>{var l=parseFloat(o.birim_fiyat_dahil)*parseFloat(o.out_miktar),n=parseFloat(o.birim_fiyat)*parseFloat(o.out_miktar);e+=l,r+=l>n?l:n,parseFloat(o.out_miktar)>0&&(t+=parseFloat(o.out_miktar))}),this.itemCount=t,this.orderTotal=e,this.orderBaseTotal=r}}},l=o,n=(r(497),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("main",[e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("basket")))])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[null!=t.headNote?e("h4",{staticClass:"ww fl mb20 p10 bdrT bdrB ta-c ln-30 fs-20"},[t.$cookies.get("orderName")?e("span",{staticClass:"fw-7"},[t._v(t._s(t.$cookies.get("orderName")))]):t._e(),t._v("\r\n            "+t._s(t.headNote)+"\r\n        ")]):t.$cookies.get("orderName")?e("h4",{staticClass:"ww fl mb20 p10 bdrT bdrB ta-c ln-30 fs-20"},[t._v(t._s(t.$cookies.get("orderName")))]):t._e(),t._v(" "),e("div",{staticClass:"wrapper-48em mrau"},[e("div",{staticClass:"ww fl px10"},[t.noData||null==t.basketData?t._e():e("el-row",{class:"orderList mt15 pb15 bdrB "+(t.$device.isMobile?" ":""),attrs:{gutter:5}},[e("el-col",{attrs:{lg:3,md:3,sm:3,xs:3}},[e("div",{class:"ww fl py5 ta-ol "+(t.$device.isMobile,"h30")},[e("el-button",{staticClass:"w30 h30 fl p0 ta-o",attrs:{type:t.allChecked?"danger":"warning",icon:"fs-24 el-icon-"+(t.allChecked?"close":"check")},on:{click:t.allCheck}})],1)]),t._v(" "),t.$device.isMobile?e("el-col",{attrs:{lg:5,md:5,sm:5,xs:4}},[e("span",{staticClass:"ww h30 fl fs-14 ta-o pos-r"},[t._v("\r\n                            "+t._s(t.$t("image"))+"\r\n                        ")])]):e("el-col",{attrs:{lg:2,md:2,sm:2,xs:2}},[e("div",{staticClass:"ww h30 fl ta-o fs-14 pos-r"},[t._v("\r\n                            "+t._s(t.$t("image"))+"\r\n                        ")])]),t._v(" "),e("el-col",{attrs:{lg:11,md:11,sm:11,xs:6}},[e("div",{staticClass:"ww h30 fl fs-14 pr15 pl5 ta-ol pos-r"},[t._v("\r\n                            "+t._s(t.$t("description"))+"\r\n                        ")])]),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:5}},[e("div",{class:"ww fl py5 fs-14 ta-o "+(t.$device.isMobile,"h30")},[t._v("\r\n                            "+t._s(t.$t("Miktar"))+"\r\n                        ")])]),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:6}},[e("div",{class:"ww fl py5 ta-or "+(t.$device.isMobile,"h30")},[e("p",{staticClass:"fr ta-r ln-30 fw-b fs-14 pos-r"},[t._v("\r\n                                "+t._s(t.$t("price"))+"  \r\n                            ")])])])],1),t._v(" "),t._l(t.tableData,function(r,o){return e("el-row",{key:o,class:"orderList mt15 pb15 bdrB "+(t.$device.isMobile,""),attrs:{gutter:5}},[e("el-col",{attrs:{lg:3,md:3,sm:3,xs:3}},[e("div",{class:"ww fl py5 ta-ol "+(t.$device.isMobile?"h30 mt15":"h80")},[e("span",{staticClass:"basketCheckbox w40 h40 ta-ol"},[e("el-checkbox",{staticClass:"w30 h30 p0 ta-o",attrs:{border:"",disabled:"1"==r.row_protected},on:{change:function(e){return t.isCheckedItem(o)}},model:{value:r.isChecked,callback:function(e){t.$set(r,"isChecked",e)},expression:"row.isChecked"}})],1)])]),t._v(" "),t.$device.isMobile?e("el-col",{attrs:{lg:4,md:4,sm:4,xs:4}},[e("span",{staticClass:"ww h60 fl ta-ol pos-r"},[r.stok.files.length>0?e("el-image",{class:"ww p5 bdr rds",attrs:{src:r.stok.files[0].fl_url,"preview-src-list":[r.stok.files[0].fl_url],fit:"contain","append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"ww bdr rds ta-o el-icon-picture-outline fs-30",staticStyle:{height:"50px"}})]},proxy:!0}],null,!0)}):e("i",{staticClass:"ww bdr rds ta-o el-icon-picture-outline fs-30",staticStyle:{height:"50px"}})],1)]):e("el-col",{attrs:{lg:2,md:2,sm:2,xs:2}},[e("div",{staticClass:"ww h80 fl ta-ol pos-r"},[e("span",{staticClass:"fl txt-white fs-14 ln-23 rds px10",style:"margin-left:-45px;transform: rotate(-90deg);background-color:#"+t.selectColor(null!=r.stok.ttur?r.stok.ttur.ad:null,o)},[t._v("\r\n                                "+t._s(null!=r.stok.ttur?r.stok.ttur.ad:" ")+"\r\n                            ")]),t._v(" "),e("span",{staticClass:"ww"},[r.stok.files.length>0?e("el-image",{class:"hh p5 bdr rds pos-a tp-0 lf-0",staticStyle:{width:"100%"},attrs:{src:r.stok.files[0].fl_url,"preview-src-list":[r.stok.files[0].fl_url],fit:"contain","append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"ww hh pos-a tp-0 lf-0 bdr rds ta-o el-icon-picture-outline fs-30"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 bdr rds ta-o el-icon-picture-outline fs-30"})],1)])]),t._v(" "),e("el-col",{attrs:{lg:11,md:11,sm:11,xs:17}},[e("div",{staticClass:"ww h80 fl pr15 pl5 ta-ol pos-r"},[e("div",{staticClass:"ww fl"},[t.firmSetting.setProductDetailShow&&r.kbsets.length>0?e("el-button",{staticClass:"h30 fl mr10 mb5 ta-ol",attrs:{icon:"el-icon-zoom-in fs-20",size:"mini"},on:{click:function(e){return t.getSetDetail(r.kbsets)}}},[t._v(t._s(t.$t("urun")+" "+t.$t("Detay")))]):t._e(),t._v(" "),t.$device.isMobile&&null!=r.stok.ttur?e("span",{staticClass:"fl txt-white fs-13 ln-20 rds px10",style:"background-color:#"+t.selectColor(null!=r.stok.ttur?r.stok.ttur.ad:null,o)},[t._v("\r\n                                    "+t._s(null!=r.stok.ttur?r.stok.ttur.ad:" ")+"\r\n                                ")]):t._e(),t._v(" "),e("nuxt-link",{class:"ww fl ln-20 fs-"+(t.$device.isMobileOrTablet?"12":"14"),staticStyle:{overflow:"hidden","text-overflow":"ellipsis",display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical"},attrs:{to:t.localePath("/urun/"+r.stok.seo_link)}},[t._v("\r\n                                    "+t._s(r.stok.stokcins)+"\r\n                                ")]),t._v(" "),r.stok.ozet?e("p",{staticClass:"ww fl fs-12"},[t._v("\r\n                                    "+t._s(r.stok.ozet.substring(0,40))+"\r\n                                ")]):t._e(),t._v(" "),null!=r.stok.uretici?e("span",{staticClass:"fl mb5 ln-20 fs-12 txt-info fw-6"},[t._v(t._s(r.stok.uretici.ureticiad))]):t._e()],1)])]),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:10}
1},[e("div",{class:"ww fl py5 ta-or "+(t.$device.isMobile?"h30":"h80")},[e("el-input-number",{staticClass:"baseketInput",attrs:{disabled:"0"==t.isQuantityPlus&&"1"==r.row_protected,min:r.row_protected,size:"small"},on:{change:function(e){return t.updateQuantity(o,r.out_miktar)}},model:{value:r.out_miktar,callback:function(e){t.$set(r,"out_miktar",e)},expression:"row.out_miktar"}})],1)]),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:14}},[e("div",{class:"ww fl py5 ta-or pos-r "+(t.$device.isMobile?"h30":"h80")},[t.firmSetting.b2bShowBasePrice&&r.birim_fiyat>r.birim_fiyat_dahil?e("span",{staticClass:"ww fr mt15 ta-r td-lt fs-12 txt-sub pos-a tp-0 rg-0"},[t._v(t._s(t.$currencyFormat(r.birim_fiyat,t.currency))+"  ")]):t._e(),t._v(" "),e("p",{staticClass:"ww fr ta-r ln-20 fw-b fs-15 pos-r"},[t._v("\r\n                                "+t._s(t.$currencyFormat(r.birim_fiyat_dahil,t.currency))+"  \r\n                            ")])])])],1)}),t._v(" "),t.noData?e("div",{staticClass:"ww fl pt10 pb20 fs-20 txt-error ta-c"},[t._v("\r\n                    "+t._s(t.$t("empty_basket"))+"\r\n                ")]):t._e(),t._v(" "),t.noData||null==t.basketData?t._e():e("div",{staticClass:"ww fl mt30 py10 pr10 pl10 z9 bdr rds",staticStyle:{position:"sticky",bottom:"0",background:"var(--white)"}},[e("el-row",{attrs:{gutter:5}},[e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[t.$device.isMobile?t._e():e("el-button",{staticClass:"h50 fl ta-o",attrs:{type:"danger"},on:{click:t.clearAllItem}},[t._v(t._s(t.$t("Sepeti Boşalt")))]),t._v(" "),t.$device.isMobile?t._e():e("el-button",{staticClass:"h50 fr ta-o",attrs:{type:"primary"},on:{click:t.updateAndPay}},[t._v(t._s(t.$t("checkout")))]),t._v(" "),e("div",{class:"fr pl20 fs-20 fw-b pos-r ta-r"+(t.$device.isMobile?"":" pr10")+(t.indirimTutar?"":" ln-50")},[t.indirimTutar?e("span",{class:"fr mt5 ln-18 pl20 fw-5 fs-16 pos-r ta-r td-lt"},[t._v(t._s(t.$currencyFormat(t.orderTotal+parseFloat(t.indirimTutar||0),t.currency)))]):t._e(),t._v(" "),t.firmSetting.b2bShowBasePrice&&t.orderBaseTotal>t.orderTotal?e("span",{class:"fr mt5 mr10 pl20 txt-sub fs-12 pos-a tp-0 rg-0 ln-10 ta-r td-lt"},[t._v(t._s(t.$currencyFormat(t.orderBaseTotal,t.currency)))]):t._e(),t._v("\r\n                                "+t._s(t.$currencyFormat(t.orderTotal,t.currency))+"\r\n                            ")]),t._v(" "),e("div",{class:"ta-"+(t.$device.isMobile?"l fl":"r fr pr10")},[e("span",{staticClass:"ww fl fs-14 fw-b ln-22"},[t._v(t._s(t.$t("total")))]),t._v(" "),e("span",{staticClass:"ww fl fs-16 fw-b ln-28"},[t._v(t._s(t.itemCount+" "+t.$t("urun")))])]),t._v(" "),t.$device.isMobile?e("div",{staticClass:"ww fl pb5"},[e("el-button",{staticClass:"h50 fl ta-o",attrs:{type:"danger"},on:{click:t.clearAllItem}},[t._v(t._s(t.$t("Sepeti Boşalt")))]),t._v(" "),e("el-button",{staticClass:"h50 fr ta-o",attrs:{type:"primary"},on:{click:t.updateAndPay}},[t._v(t._s(t.$t("checkout")))])],1):t._e()],1)],1)],1)],2)])]),t._v(" "),e("el-drawer",{attrs:{title:t.$t("urun")+" "+t.$t("Detay"),size:"40%","custom-class":"orderList",visible:t.setListDrawer},on:{"update:visible":function(e){t.setListDrawer=e}}},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.setList,height:"100%"}},[e("el-table-column",{attrs:{label:t.$t("Miktar"),align:"center",width:"80"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(Math.round(o.miktar))+" X ")])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("description"),"min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[t._v(t._s(o.stok.stokcins))]),t._v(" "),e("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[t._v(t._s(o.stok.barkod))])]}}])})],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",props:{dataList:{type:Array,default:[]},showItem:{type:Number,default:7}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{haberSwiperOption:{autoplay:{delay:4e3},loopedSlides:1,spaceBetween:10,slidesPerView:this.showItem,navigation:{nextEl:".nextHaber",prevEl:".prevHaber"}}}}},n=(r(542),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl pos-r"},[e("div",{staticClass:"haberSwiperWrap wrapper mrau px40 pos-r"},[e("swiper",{staticClass:"swiperHaber",attrs:{options:t.haberSwiperOption}},t._l(t.dataList,function(r,o){return e("swiper-slide",{key:o,staticClass:"slide"},[e("a",{staticClass:"ItemShadow ww fl mb10 p10 pos-r bg-white ln-20 fs-14 rds5",staticStyle:{"box-shadow":"0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"},attrs:{href:r.url}},[e("img",{staticClass:"object-contain ww fl rds5",style:"height:120px",attrs:{src:r.img,alt:r.title}}
1),t._v(" "),e("span",{staticClass:"ww h40 fl ln-20 fs-12 ellipsis-multi ta-c"},[t._v(t._s(r.title))])])])}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 rg-0 z1 ta-o"},[e("div",{staticClass:"nextHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 lf-0 z1 ta-o"},[e("div",{staticClass:"prevHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}})]):t._e()],1)])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"sirketStep",directives:{facade:r(343).facade},data(){return{formData:{firma:"",ad:"",soyad:"",eposta:"",sifre:"",passwordConfirm:"",ceptel:"",tel:""},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],soyad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],password_confirmation:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}]}}},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+" "+t.$t("title"),prop:"firma"}},[e("el-input",{attrs:{placeholder:t.$t("firm")+" "+t.$t("title"),autocomplete:"off"},model:{value:t.formData.firma,callback:function(e){t.$set(t.formData,"firma",e)},expression:"formData.firma"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"ad"}},[e("el-input",{attrs:{placeholder:t.$t("name"),autocomplete:"off"},model:{value:t.formData.ad,callback:function(e){t.$set(t.formData,"ad",e)},expression:"formData.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("surname"),prop:"soyad"}},[e("el-input",{attrs:{placeholder:t.$t("surname"),autocomplete:"off"},model:{value:t.formData.soyad,callback:function(e){t.$set(t.formData,"soyad",e)},expression:"formData.soyad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{placeholder:"(###) ### ## ##",autocomplete:"off"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",t._n(e))},expression:"formData.ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("land_phone")}},[e("el-input",{attrs:{placeholder:"(###) ### ## ##",autocomplete:"off"},model:{value:t.formData.tel,callback:function(e){t.$set(t.formData,"tel",e)},expression:"formData.tel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"adresStep",data(){return{city_filter:"",town_filter:"",cityLoading:!1,formData:{vdaire:"",vergino:"",pkod:"",ulke_id:2,il_id:"",ilce_id:"",adres:""},countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],shc_countryList:[],shc_cityList:[],shc_cityListTemp:[],shc_townList:[],shc_townListTemp:[],rules:{vdaire:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],vergino:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],adres:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],il_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],ilce_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}]}}},mounted(){this.getCountry(2),this.getCity(2)},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})},getCountry(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCity(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})}
1,getTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.formData.ilce_id=""}).catch(()=>{})},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getCountrySevk(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.shc_countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCitySevk(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.shc_cityList=t.data.KiboApp.Response.data.list,this.shc_cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},getTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list,this.formData.shc_ilce_id=""}).catch(()=>{})},CityFilterSevk(t){t&&(this.shc_cityList=this.shc_cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilterSevk(t){t&&(this.shc_townList=this.shc_townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_office"),prop:"vdaire"}},[e("el-input",{attrs:{placeholder:t.$t("tax_office")},model:{value:t.formData.vdaire,callback:function(e){t.$set(t.formData,"vdaire",e)},expression:"formData.vdaire"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_number"),prop:"vergino"}},[e("el-input",{attrs:{placeholder:t.$t("tax_number")},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{placeholder:t.$t("zip_code"),onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"",placeholder:t.$t("country"),loading:t.cityLoading},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:"il_id"}},[t.cityList.length>0?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.city_filter=e,loading:t.cityLoading},on:{change:e=>{t.getTown(e),t.city_filter=""}},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},[t._l(t.cityList,function(r,o){return[String(t.$seolink(r.cty_name)).indexOf(t.$seolink(t.city_filter))>
1-1?e("el-option",{key:o,attrs:{label:r.cty_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("city"),autocomplete:"off"},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"ilce_id"}},[t.townList.length>0?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.town_filter=e,loading:t.cityLoading},on:{change:function(e){t.town_filter=""}},model:{value:t.formData.ilce_id,callback:function(e){t.$set(t.formData,"ilce_id",e)},expression:"formData.ilce_id"}},[t._l(t.townList,function(r,o){return[String(t.$seolink(r.cny_name)).indexOf(t.$seolink(t.town_filter))>-1?e("el-option",{key:o,attrs:{label:r.cny_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("district"),autocomplete:"off"},model:{value:t.formData.ilce,callback:function(e){t.$set(t.formData,"ilce",e)},expression:"formData.ilce"}})],1)],1)],1),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"sirketYurtdisi",data(){return{formData:{firma:"",ad:"",soyad:"",eposta:"",sifre:"",passwordConfirm:"",ceptel:"",ceptel_kod:"",tel:""},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],soyad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],password_confirmation:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}]},phoneCodeList:[]}},mounted(){this.phoneCodeList=r(30).default},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})}}},l=(r(550),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",staticClass:"abroadForm",attrs:{model:t.formData,rules:t.rules,"label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+" "+t.$t("title"),prop:"firma"}},[e("el-input",{attrs:{placeholder:t.$t("firm")+" "+t.$t("title"),autocomplete:"off"},model:{value:t.formData.firma,callback:function(e){t.$set(t.formData,"firma",e)},expression:"formData.firma"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"ad"}},[e("el-input",{attrs:{placeholder:t.$t("name"),autocomplete:"off"},model:{value:t.formData.ad,callback:function(e){t.$set(t.formData,"ad",e)},expression:"formData.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("surname"),prop:"soyad"}},[e("el-input",{attrs:{placeholder:t.$t("surname"),autocomplete:"off"},model:{value:t.formData.soyad,callback:function(e){t.$set(t.formData,"soyad",e)},expression:"formData.soyad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}},[e("el-select",{staticClass:"w90 pos-r",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.formData.ceptel_kod,callback:function(e){t.$set(t.formData,"ceptel_kod",e)},expression:"formData.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n              ")])})],2)],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("land_phone")}},[e("el-input",{attrs:{placeholder:"(###) ### ## ##",autocomplete:"off",onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:t.formData.tel,callback:function(e){t.$set(t.formData,"tel",e)},expression:"formData.tel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"adresYurtdisiStep",data(){return{cityLoading:!1,formData:{vdaire:"",vergino:"",pkod:"",ulke_id:172,il:"",ilce:"",adres:""},countryList:null,cityList:null,cityListTemp:null,townList:null,townListTemp:null,shc_countryList:null,shc_cityList:null,shc_cityListTemp:null,shc_townList:null,shc_townListTemp:null,rules:{pkod:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],adres:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},mounted(){this.getCountry()},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})},getCountry(){this.countryList=[{id:172,cnt_name:"Deutschland",cnt_status:1,cnt_langid:0,cnt_sort:0},{id:180,cnt_name:"France",cnt_status:1,cnt_langid:0,cnt_sort:0}],window.location.hostname.includes("malatyapazari")&&this.$apis.get("api/country/list?cnt_nameSort=asc&id=").then(t=>{this.countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},TownFilter(t){t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getCountrySevk(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.shc_countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCitySevk(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.shc_cityList=t.data.KiboApp.Response.data.list,this.shc_cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})}
1,getTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list,this.formData.shc_ilce_id=""}).catch(()=>{})},CityFilterSevk(t){t&&(this.shc_cityList=this.shc_cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilterSevk(t){t&&(this.shc_townList=this.shc_townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_office")}},[e("el-input",{attrs:{placeholder:t.$t("tax_office")},model:{value:t.formData.vdaire,callback:function(e){t.$set(t.formData,"vdaire",e)},expression:"formData.vdaire"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_number")}},[e("el-input",{attrs:{placeholder:t.$t("tax_number")},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code"),prop:"pkod"}},[e("el-input",{attrs:{placeholder:t.$t("zip_code"),onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww",attrs:{filterable:"",remote:"","reserve-keyword":"",placeholder:t.$t("country"),loading:t.cityLoading},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city")}},[e("el-input",{attrs:{placeholder:t.$t("city")},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1)],1),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"DropdownMenu",props:{child:{type:Array,default:()=>[]}},data:()=>({openIndexes:[]}),methods:{toggle(t,e){window.innerWidth<=768&&(this.openIndexes.includes(t)?this.openIndexes=this.openIndexes.filter(i=>i!==t):this.openIndexes.push(t))},isOpen(t){return window.innerWidth>768||this.openIndexes.includes(t)},isInternalUrl(t){if(!t)return!1;try{return new URL(t).hostname===window.location.hostname}catch(e){return!t.startsWith("http")}},getLinkComponent(t){return this.isInternalUrl(t)?"nuxt-link":"a"},getLinkProps(t){if(this.isInternalUrl(t))try{var e=new URL(t);return{to:e.pathname+e.search+e.hash}}catch(e){return{to:t}}return{href:t,target:"_blank",rel:"noopener noreferrer"}}}},l=(r(561),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"megaMenuDropDown p10"},[e("ul",{staticClass:"menu-list"},t._l(t.child,function(r,o){return e("li",{key:o,staticClass:"menu-item",class:{open:t.openIndexes.includes(o)}},[r.child&&r.child.length?e(t.getLinkComponent(r.url),t._b({tag:"component",staticClass:"menu-link",on:{mouseover:function(e){return t.toggle(o,r)}}},"component",t.getLinkProps(r.url),!1),[t._v("\n            "+t._s(t.$t(r.name))+"\n            "),r.child&&r.child.length?e("span",{staticClass:"arrow"},[t._v("\n        "+t._s(t.isOpen(o)?"▼":"▶")+"\n      ")]):t._e()]):e("a",{staticClass:"menu-link",attrs:{href:r.url||"#"}},[t._v(t._s(t.$t(r.name)))]),t._v(" "),r.child&&r.child.length?e("ul",{staticClass:"submenu"},t._l(r.child,function(sub,r){return e("li",{key:r},[e(t.getLinkComponent(sub.url),t._b({tag:"component",staticClass:"menu-link"},"component",t.getLinkProps(sub.url),!1),[t._v("\n            "+t._s(t.$t(sub.name))+"\n          ")])],1)}),0):t._e()],1)}),0)])},[],!1,null,"3a437ec2",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"megaMenu",props:{child:{type:Array,default:function(){return[]}},url:{type:String,default:""}},data:()=>({list:["A","B","C","Ç","D","E","F","G","H","I","İ","J","K","L","M","N","O","Ö","P","Q","R","S","Ş","T","U","Ü","V","W","X","Y","Z"]})},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticStyle:{width:"600px",padding:"20px"}},[e("div",{staticClass:"ww fl mt5 mb20 px10"},[e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.list,function(r){return e("div",{key:r,staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-4"},[e("nuxt-link",{attrs:{to:t.localePath("/list/"+t.url+"/"+r)}},[e("el-button",{staticClass:"ww h40 fl ta-o"},[t._v("\n                        "+t._s(r)+"\n                    ")])],1)],1)}),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("nuxt-link",{attrs:{to:t.localePath("/list/"+t.url)}},[e("el-button",{staticClass:"ww h40 fl ta-o"},[t._v("\n                        "+t._s(t.$t("Hepsi"))+"\n                    ")])],1)],1)],2)])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"filterbar",props:{filterList:{type:Object,default:function(){return{}}},filterDataList:{type:Object,default:function(){return{}}}},computed:{component(){var t="main";return"3"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="bilab"),1==this.$store.state.firm.settings.b2bUiSettings.settings.data.filterTheme&&(t="secondary"),()=>r(663)("./"+t+".vue")}},methods:{filterCall(t,e){this.$emit("filterCallBack",t,e)}}},l=r(0),component=Object(l.a)(o,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{filterList:t.filterList,filterDataList:t.filterDataList},on:{filterCallBack:t.filterCall}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),{name:"slider-card",props:{item:{type:Object,default:function(){return{}}}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data:()=>({swiperActiveIndex:0,imageList:[],imageListModal:[],swiperOption:{autoplay:!1,loop:!1,loopedSlides:1,spaceBetween:10,slidesPerView:1},swiperOptionThumbs:{autoplay:!1,loop:!1,loopedSlides:4,spaceBetween:10,slidesPerView:4}}),created(){for(var i=0;i<this.item.files.length;i++)[null,"image/jpeg","image/jpg","image/png"].includes(this.item.files[i].mime_type)&&(this.imageList.push(this.item.files[i]),this.imageListModal.push(this.item.files[i].fl_url))},methods:{nav(t){this.$refs.slider.$swiper["slide"+t](),this.swiperActiveIndex+1<this.imageList.length?"Next"==t?this.swiperActiveIndex++:this.swiperActiveIndex>0&&this.swiperActiveIndex--:(this.swiperActiveIndex=0,this.$refs.slider.$swiper.slideTo(0))},goto(t){console.log(t),this.$refs.slider.$swiper.slideTo(t)}}}),n=(r(581),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",{staticClass:"sliderWrap ww fl pos-r"},[e("div",{staticClass:"controlButton prevImg w30 h40 pos-a z9 lf-0 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{to
1p:"calc( 50% - 70px )"},on:{click:function(e){return t.nav("Prev")}}}),t._v(" "),e("div",{staticClass:"controlButton nextImg w30 h40 pos-a z9 rg-0 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{top:"calc( 50% - 70px )"},on:{click:function(e){return t.nav("Next")}}}),t._v(" "),e("swiper",{ref:"slider",staticClass:"swiper",attrs:{options:t.swiperOption}},t._l(t.imageList,function(r,o){return e("swiper-slide",{key:"s_"+o,staticClass:"ww fl bg-light rds"},[[null,"image/jpeg","image/jpg","image/png"].includes(r.mime_type)?e("el-image",{staticClass:"ww",staticStyle:{height:"auto"},attrs:{src:r.fl_url,alt:t.item.search_text,"preview-src-list":t.imageListModal}}):t._e()],1)}),1),t._v(" "),e("div",{staticClass:"ww fl ta-o"},t._l(t.imageList,function(r,o){return e("a",{key:"s_"+o,staticClass:"cr-p",staticStyle:{width:"5px",height:"5px",margin:"5px",opacity:".5","-webkit-border-radius":"20px","-moz-border-radius":"20px","border-radius":"20px",background:"#828282"},on:{click:function(e){return t.goto(o)}}})}),0)],1)},[],!1,null,"561efe84",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=[null,"image/jpeg","image/jpg","image/png"],l={name:"slider-bilab-card",props:{item:{type:Object,default:()=>({})},isZoom:{type:Boolean,default:!1}},data:()=>({zoomOptions:null,swiperActiveIndex:0,thumbOffset:0,visibleCount:4.5,imageList:[],imageListModal:[],touchStartX:0}),computed:{filteredImages(){return this.imageList.filter(t=>o.includes(null==t?void 0:t.mime_type))},currentImage(){return this.filteredImages[this.swiperActiveIndex]||null}},watch:{swiperActiveIndex(t){if(this.$device.isDesktop){var e=document.querySelector(".js-image-zoom__zoomed-image");if(e){var r,o=null===(r=this.filteredImages[t])||void 0===r?void 0:r.fl_url;o&&(e.style.backgroundImage="url('".concat(o,"')"))}}var l=Math.floor(this.visibleCount);t<this.thumbOffset?this.thumbOffset=t:t>=this.thumbOffset+l&&(this.thumbOffset=t-l+1)}},created(){for(var i=0;i<this.item.files.length;i++){var t,e=this.item.files[i];if(o.includes(null==e?void 0:e.mime_type))this.imageList.push(e),this.imageListModal.push((null===(t=e.w0)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.file_url)||e.fl_url)}},mounted(){this.isZoom&&this.$device.isDesktop&&(this.zoomOptions={width:this.$refs.wrapSize?this.$refs.wrapSize.offsetHeight:515,height:580,offset:{vertical:0,horizontal:0,scale:1},zoomLens:{width:90,height:90}},setTimeout(()=>{new this.$Zoomy(document.getElementById("img-container"),this.zoomOptions);var t=document.querySelector(".js-image-zoom__zoomed-area");t&&(t.style.pointerEvents="auto",t.addEventListener("click",()=>{document.querySelector("#previewImage").click()}))},100))},methods:{onWheel(t){var e=Math.max(0,this.filteredImages.length-Math.floor(this.visibleCount));t.deltaY>0?this.thumbOffset=Math.min(e,this.thumbOffset+1):this.thumbOffset=Math.max(0,this.thumbOffset-1)},nav(t){var e=this.filteredImages.length;this.swiperActiveIndex="Next"===t?this.swiperActiveIndex+1<e?this.swiperActiveIndex+1:0:this.swiperActiveIndex>0?this.swiperActiveIndex-1:e-1},onTouchStart(t){this.touchStartX=t.changedTouches[0].clientX},onTouchEnd(t){var e=t.changedTouches[0].clientX-this.touchStartX;Math.abs(e)<40||(e<0?this.nav("Next"):this.nav("Prev"))}}},n=(r(582),r(583),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",{ref:"wrapSize",staticClass:"pos-r",staticStyle:{display:"flex","flex-direction":"row",gap:"15px"},attrs:{id:"img-container"}},[t.filteredImages.length>0&&!t.$device.isMobile?e("div",{staticClass:"thumb-col"},[e("div",{ref:"thumbViewport",staticClass:"thumb-viewport",on:{wheel:function(e){return e.preventDefault(),t.onWheel.apply(null,arguments)}}},[e("div",{staticClass:"fade-top",style:{opacity:t.thumbOffset>0?1:0}}),t._v(" "),e("div",{staticClass:"thumb-track",style:{transform:"translateY(-".concat(111*t.thumbOffset,"px)")}},t._l(t.filteredImages,function(r,o){var l;return e("div",{key:"s_"+o,staticClass:"thumb-item bdr rds10 bg-light rds cr-p",class:o===t.swiperActiveIndex?"active-thumb":"inactive-thumb",on:{click:function(e){t.swiperActiveIndex=o}}},[e("el-image",{staticStyle:{width:"88px",height:"110px"},attrs:{src:(null===(l=r.w200)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.file_url)||r.fl_url,fit:"
1contain",alt:t.item.search_text}},[e("div",{staticClass:"img-placeholder img-placeholder--thumb",attrs:{slot:"error"},slot:"error"},[e("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.2"}},[e("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2"}}),t._v(" "),e("circle",{attrs:{cx:"8.5",cy:"8.5",r:"1.5"}}),t._v(" "),e("path",{attrs:{d:"M21 15l-5-5L5 21"}})])])])],1)}),0),t._v(" "),e("div",{staticClass:"fade-bottom",style:{opacity:t.thumbOffset<t.filteredImages.length-t.visibleCount?1:0}})])]):t._e(),t._v(" "),e("div",{staticStyle:{flex:"1","min-width":"0",position:"relative"},on:{touchstart:t.onTouchStart,touchend:t.onTouchEnd}},[t.currentImage?e("el-image",{staticClass:"bdr rds",staticStyle:{width:"100%","aspect-ratio":"1080 / 1350",display:"block",overflow:"hidden"},attrs:{id:"previewImage",src:t.currentImage.fl_url,fit:"cover","preview-src-list":t.imageListModal,"initial-index":t.swiperActiveIndex,alt:t.item.search_text}},[e("div",{staticClass:"img-placeholder img-placeholder--main",attrs:{slot:"error"},slot:"error"},[e("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"}},[e("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2"}}),t._v(" "),e("circle",{attrs:{cx:"8.5",cy:"8.5",r:"1.5"}}),t._v(" "),e("path",{attrs:{d:"M21 15l-5-5L5 21"}})]),t._v(" "),e("span",[t._v("Görsel yüklenemedi")])])]):e("div",{staticClass:"img-placeholder img-placeholder--main",staticStyle:{height:"580px",width:"100%"}},[e("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"}},[e("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2"}}),t._v(" "),e("circle",{attrs:{cx:"8.5",cy:"8.5",r:"1.5"}}),t._v(" "),e("path",{attrs:{d:"M21 15l-5-5L5 21"}})])]),t._v(" "),t.$device.isMobile&&t.filteredImages.length>1?e("div",{staticClass:"dot-container"},t._l(t.filteredImages,function(r,i){return e("span",{key:i,staticClass:"dot",class:{"dot-active":i===t.swiperActiveIndex},on:{click:function(e){t.swiperActiveIndex=i}}})}),0):t._e()],1)])},[],!1,null,"53f65f42",null);e.default=component.exports},function(t,e,r){"use strict";var o={name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),clearTimeout(this._hide),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout(()=>this.startTimer(),this.throttle):this.startTimer(),this},set(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get(){return this.percent},increase(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),this._hide=setTimeout(()=>{this.show=!1,this.$nextTick(()=>{this.percent=0,this.reversed=!1})},500),this},fail(t){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval(()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100||this.percent<=0)&&(this.skipTimerCount=1,this.reversed=!this.reversed))},100)}},render(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}},l=(r(356),r(0)),component=Object(l.a)(o,void 0,void 0,!1,null,null,null);e.a=component.exports},function(t,e,r){"use strict";var o=r(0),component=Object(o.a)({},function(){return(0,this._self._c)("Nuxt")},[],!1,null,null,null);e.a=component.exports},,,,,,,,,,,,,,,,function(t,e,r){"use strict";r(124)},function(t,e,r){"use strict";r(125)},function(t,e,r){t.exports={}},,function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},function(t,e,r){t.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,r){"use strict";r(178)},function(t,e,r){"use strict";r(179)},function(t,e,r){"use strict";r(180)},function(t,e,r){"use strict";r(181)},function(t,e,r){"use strict";r(182)},function(t,e,r){"use strict";r(183)},function(t,e,r){"use strict";r(184)},function(t,e,r){"use strict";r(185)},function(t,e,r){"use strict";r(186)},function(t,e,r){"use strict";r(187)},function(t,e,r){"use strict";r(188)},,,,function(t,e,r){"use strict";r(189)},function(t,e,r){"use strict";r(190)},function(t,e,r){"use strict";r(191)},function(t,e,r){"use strict";r(192)},function(t,e,r){"use strict";r(193)},function(t,e,r){"use strict";r(194)},function(t,e,r){"use strict";r(195)},function(t,e,r){"use strict";r(196)},function(t,e,r){"use strict";r(197)},function(t,e,r){"use strict";r(198)},function(t,e,r){"use strict";r(199)},function(t,e,r){"use strict";r(200)},function(t,e,r){"use strict";r(201)},function(t,e,r){"use strict";r(202)}
1,function(t,e,r){"use strict";r(203)},function(t,e,r){"use strict";r(204)},function(t,e,r){"use strict";r(205)},function(t,e,r){"use strict";r(206)},function(t,e,r){"use strict";r(207)},function(t,e,r){"use strict";r(208)},function(t,e,r){"use strict";r(209)},function(t,e,r){"use strict";r(210)},function(t,e,r){"use strict";r(211)},function(t,e,r){"use strict";r(212)},function(t,e,r){"use strict";r(213)},function(t,e,r){"use strict";r(214)},function(t,e,r){"use strict";r(215)},function(t,e,r){"use strict";r(216)},function(t,e,r){"use strict";r(217)},function(t,e,r){"use strict";r(218)},function(t,e,r){"use strict";r(219)},function(t,e,r){"use strict";r(220)},function(t,e,r){"use strict";r(221)},function(t,e,r){"use strict";r(222)},function(t,e,r){"use strict";r(223)},function(t,e,r){"use strict";r(224)},function(t,e,r){"use strict";r(225)},function(t,e,r){"use strict";r(226)},function(t,e,r){"use strict";r(227)},function(t,e,r){"use strict";r(228)},function(t,e,r){"use strict";r(229)},function(t,e,r){"use strict";r(230)},function(t,e,r){"use strict";r(231)},function(t,e,r){"use strict";r(232)},function(t,e,r){"use strict";r(233)},function(t,e,r){"use strict";r(234)},function(t,e,r){"use strict";r(235)},function(t,e,r){"use strict";r(237)},function(t,e,r){"use strict";r(238)},function(t,e,r){"use strict";r(239)},function(t,e,r){"use strict";r(240)},function(t,e,r){"use strict";r(241)},function(t,e,r){"use strict";r(242)},function(t,e,r){"use strict";r(243)},function(t,e,r){"use strict";r(244)},function(t,e,r){"use strict";r(245)},function(t,e,r){"use strict";r(246)},function(t,e,r){"use strict";r(247)},function(t,e,r){"use strict";r(248)},function(t,e,r){"use strict";r(249)},function(t,e,r){"use strict";r(250)},function(t,e,r){"use strict";r(251)},function(t,e,r){"use strict";r(252)},function(t,e,r){"use strict";r(253)},function(t,e,r){"use strict";r(254)},function(t,e,r){"use strict";r(255)},function(t,e,r){"use strict";r(256)},function(t,e,r){"use strict";r(257)},function(t,e,r){"use strict";r(258)},,function(t,e,r){"use strict";r(259)},function(t,e,r){"use strict";r(260)},function(t,e,r){"use strict";r(261)},function(t,e,r){"use strict";r(262)},function(t,e,r){"use strict";r(263)},function(t,e,r){"use strict";r(264)},function(t,e,r){"use strict";r(265)},function(t,e,r){"use strict";r(266)},function(t,e,r){"use strict";r(267)},function(t,e,r){"use strict";r(268)},function(t,e,r){"use strict";r(269)},function(t,e,r){"use strict";r(270)},function(t,e,r){"use strict";r(271)},function(t,e,r){"use strict";r(272)},function(t,e,r){"use strict";r(273)},function(t,e,r){"use strict";r(274)},function(t,e,r){"use strict";r(275)},function(t,e,r){"use strict";r(276)},function(t,e,r){"use strict";r(277)},function(t,e,r){"use strict";r(278)},function(t,e,r){"use strict";r(279)},function(t,e,r){"use strict";r(280)},function(t,e,r){"use strict";r(281)},function(t,e,r){"use strict";r(282)},function(t,e,r){"use strict";r(283)},function(t,e,r){"use strict";r(284)},function(t,e,r){"use strict";r(285)},function(t,e,r){"use strict";r(286)},function(t,e,r){"use strict";r(287)},function(t,e,r){"use strict";r(288)},function(t,e,r){"use strict";r(289)},function(t,e,r){"use strict";r(290)},function(t,e,r){"use strict";r(291)},function(t,e,r){"use strict";r(292)},function(t,e,r){"use strict";r(293)},function(t,e,r){"use strict";r(294)},,function(t,e,r){"use strict";r(295)},function(t,e,r){"use strict";r(296)},function(t,e,r){"use strict";r(297)},function(t,e,r){"use strict";r(298)},function(t,e,r){"use strict";r(299)},function(t,e,r){"use strict";r(300)},function(t,e,r){"use strict";r(301)},function(t,e,r){"use strict";r(302)},function(t,e,r){"use strict";r(303)},function(t,e,r){"use strict";r(304)},function(t,e,r){"use strict";r(305)},function(t,e,r){"use strict";r(306)},function(t,e,r){"use strict";r(307)},function(t,e,r){"use strict";r(308)},function(t,e,r){"use strict";r(309)},function(t,e,r){"use strict";r(310)},function(t,e,r){"use strict";r(311)},function(t,e,r){"use strict";r(312)},function(t,e,r){"use strict";r(313)},function(t,e,r){"use strict";r(314)},function(t,e,r){"use strict";r(315)},function(t,e,r){"use strict";r(316)},function(t,e,r){"use strict";r(317)},,,function(t,e,r){"use strict";r.r(e);var o={name:"wrap-footer",components:{getPay:()=>r.e(0).then(r.bind(null,805))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!1,showBulletin:!1,showBulletinForm:!1,showPopup:!1,popupImgLoading:!0,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,menuItems:null,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]},phoneCodeList:[]}}
1,computed:{remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},isValiMail(){return this.aboneMail?this.validateEmail(this.aboneMail)?"1px solid var(--success)":"1px solid var(--error)":"1px solid #ffffff63"},calcFooterSize(){for(var t=this.firmMenu.footer,e=[],i=0;i<t.length;i+=4)e.push(t.slice(i,i+4));return e}},created(){this.$nuxt.$on("payShow",t=>this.payStatus(t)),this.PageTop(),this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){if(this.phoneCodeList=r(30).default,this.firmSetting.b2bPopupImage&&Object.keys(this.firmSetting.b2bPopupImage).length>0&&"1"!=this.$cookies.get("web_popup")&&this.loadPopUp(),this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie(),!this.$cookies.get("web_cookieAccept")){var t=r(25).default,e=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=t[this.$i18n.locale][e],this.cookieText&&setTimeout(()=>{this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept")},2e3)}},methods:{submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")}
1,validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(this.$t(t.name))+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(this.$t(t.name)))),e},closed_popup(){this.showPopup=!1,this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},payStatus(t){this.payShow=t},getPageTop(){window.scrollY>1&&window.scrollTo({top:0,behavior:"smooth"})},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})},loadPopUp(){if("/sepet"!=this.$route.path){var img=new Image;img.src=this.firmSetting.b2bPopupImage.img,img.onload=()=>{this.showPopup=!0},img.onerror=()=>{this.showPopup=!1}}}}},l=(r(596),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("footer",{staticClass:"clr"},[t.remainingDay<6?e("div",{staticClass:"ww p10 dp-b",style:"background:color-mix(in srgb, var(--error), white 77%);"},[e("div",{staticClass:"wrapper mrau ta-c fw-b fs-16 txt-error"},[t._v(t._s(t.$t("Kesintisiz kullanım için lütfen destek ekibimizle iletişime geçiniz (Site yöneticileri içindir)")))])]):t._e(),t._v(" "),t.firmSetting.b2baboneKartTipId>0&&t.firmSetting.b2baboneEtiket?e("div",{staticClass:"ww py10 WrapGutter dp-b",style:"background:color-mix(in srgb, "+t.firmSetting.b2bColor+", black 63%);"},[e("div",{staticClass:"wrapper mrau WrapGutter"},[e("div",{staticClass:"cq-row cq-gap-10"},[e("div",{staticClass:"cq-col-lg-20 cq-col-md-20 cq-col-sm-20 cq-col-xs-24"},[e("span",{class:"ww h30 fl fw-b txt-white fs-"+(t.$device.isMobile?14:18)},[t._v(t._s(t.$t("E-Bülten")+" "+t.$t("Kayıt")))]),t._v(" "),e("p",{class:"ww h20 fl txt-white fs-"+(t.$device.isMobile?11:14)},[t._v(t._s(t.$t("Güncel bilgiler için kayıt olunuz")))])]),t._v(" "),e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-24"},[e("el-button",{staticClass:"ww ta-o",class:t.$device.isMobile?"fl":"fr mt5",attrs:{size:"small",type:"info",icon:"mr5 fs-18 icon-mail",round:""},on:{click:function(e){t.showBulletin=!0}}},[t._v(t._s(t.$t("Kaydol")))])],1)])])]):t._e(),t._v(" "),e("el-dialog",{attrs:{visible:t.showBulletin,top:"5vh","show-close":!1},on:{"update:visible":function(e){t.showBulletin=e},closed:t.closed_bulletin}},[e("div",{staticClass:"ww px15"},[e("span",{class:"ww fl mb5 fw-b fs-"+(t.$device.isMobile?14:18)},[t._v(t._s(t.$t("E-Bülten")+" "+t.$t("Kayıt")))]),t._v(" "),e("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.aboneButtonLoading,expression:"aboneButtonLoading"}],ref:"bulletinForm",attrs:{model:t.bulletinForm,rules:t.rules,"label-position":"top"}},[e("el-form-item",{attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"firma"}},[e("el-input",{model:{value:t.bulletinForm.firma,callback:function(e){t.$set(t.bulletinForm,"firma",e)},expression:"bulletinForm.firma"}})],1),t._v(" "),[0,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{model:{value:t.bulletinForm.eposta,callback:function(e){t.$set(t.bulletinForm,"eposta",e)},expression:"bulletinForm.eposta"}})],1):t._e(),t._v(" "),[1,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.bulletinForm.ceptel,callback:function(e){t.$set(t.bulletinForm,"ceptel",e)},expression:"bulletinForm.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.bulletinForm.ceptel_kod,callback:function(e){t.$set(t.bulletinForm,"ceptel_kod",e)},expression:"bulletinForm.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:"ph_"+o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n\t\t\t\t\t\t\t")])})],2)],1)],1):t._e(),t._v(" "),e("el-form-item",{attrs:{label:t.$t("Tip")}
1},[e("el-radio-group",{model:{value:t.bulletinForm.type,callback:function(e){t.$set(t.bulletinForm,"type",e)},expression:"bulletinForm.type"}},[e("el-radio",{attrs:{label:0}},[t._v(t._s(t.$t("email")))]),t._v(" "),e("el-radio",{attrs:{label:1}},[t._v(t._s(t.$t("Cep Telefonu")))]),t._v(" "),e("el-radio",{attrs:{label:2}},[t._v(t._s(t.$t("email")+"&"+t.$t("Cep Telefonu")))])],1)],1),t._v(" "),e("el-form-item",[t.showBulletinForm?e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitBulletin()}}},[t._v(t._s(t.$t("Kaydol")))]):e("div",{staticClass:"ww h40 fl py5 fs-15 of-h z1"},[e("div",{staticClass:"reCAPTCHA fl",attrs:{id:"reCAPTCHA"},on:{click:t.get_reCAPTCHA_form}},[e("span",[t._v(" ")])]),t._v(" "),e("div",{staticClass:"fl px10 ln-30"},[t._v(t._s(t.$t("Ben Robot Değilim")))])])],1)],1)],1)]),t._v(" "),e("div",{staticClass:"footerWrap ww fl pos-r z1",style:"background-color:"+t.firmSetting.b2bColor+"10!important"},[e("div",{staticClass:"wrapper mrau mt10 pt5 WrapGutter"},[e("el-row",{class:t.$device.isDesktop?"dp-f":"",attrs:{gutter:10}},[e("el-col",{attrs:{lg:8,md:8,sm:12,xs:24}},[e("div",{staticClass:"ww fl pr15 ta-ol"},[e("a",{attrs:{href:t.firmSetting.b2bEtbisImage?t.firmSetting.b2bEtbisImage.url:t.localePath("/")}},[""!=t.web_logo_foter?e("img",{staticClass:"footerLogo fl mr10 mb15 rds5 object-contain z1",class:t.web_footer_head_title||t.web_footer_title?"w120":"w200",attrs:{width:t.web_footer_head_title||t.web_footer_title?120:200,height:t.web_footer_head_title||t.web_footer_title?120:200,onerror:'this.style.display = "none"',loading:"lazy",src:t.web_logo_foter,alt:t.web_logo_foter}}):t._e()]),t._v(" "),e("div",{staticClass:"ww fl pl10 companyInfo"},[e("h3",{staticClass:"ww fl mt5 fs-15 fw-7 ln-20"},[t._v(t._s(t.web_footer_head_title))]),t._v(" "),e("p",{staticClass:"ww fl mt5 fs-14 fw-5 ln-18"},[t._v(t._s(t.web_footer_title))])])]),t._v(" "),t.web_footer_address?e("p",{staticClass:"ww fl mt15 mb30 pr15 fs-14",domProps:{innerHTML:t._s(t.web_footer_address)}}):t._e()]),t._v(" "),t.firmMenu.footer?e("el-col",{attrs:{lg:16,md:16,sm:12,xs:24}},[t._l(t.firmMenu.footer,function(r,i){return[r.id&&"dropdown"!=r.id&&["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:t.getMakeUrl(r)}},[t._v(t._s(t.$t(r.name)))]):"dropdown"!=r.id?e("a",{key:"dd_tag_"+i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))]):t._e()]}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl mb10"}),t._v(" "),t._l(t.calcFooterSize,function(r,o){return e("el-row",{key:o,attrs:{gutter:10}},[t._l(r,function(r,i){return["dropdown"==r.id?e("el-col",{key:i,staticClass:"mb20",attrs:{lg:t.firmMenu.footer.length>3?6:8,md:t.firmMenu.footer.length>3?6:8,sm:24,xs:24}},[e("h3",{staticClass:"ww fl mb5 fw-7 fs-15"},[t._v(t._s(t.$t(r.name)))]),t._v(" "),r.child&&r.child.length>0?e("ul",{staticClass:"ww dp-b"},t._l(r.child,function(r,o){var l,n;return e("li",{key:o,staticClass:"ln-24 fs-13"},[e("a",{attrs:{href:null!==(l=r.url)&&void 0!==l&&l.startsWith("h")||null!==(n=r.url)&&void 0!==n&&n.startsWith("/")?r.url:"/"+(r.url||"")}},[t._v(t._s(t.$t(r.name)))])])}),0):t._e()]):t._e()]})],2)})],2):t._e()],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"FooterBand ww py10 WrapGutter dp-b",style:"background-color:"+t.firmSetting.b2bColor+"!important"},[e("div",{staticClass:"wrapper mrau WrapGutter"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[t.web_email?e("p",{class:"fl mt5 mr15 txt-white ta-"+(t.isMobile?"o ww":"ol")},[e("i",{staticClass:"w30 h30 icon-mail ta-o fs-18 txt-white"}),t._v(" "),e("span",{staticClass:"fl"},[t._v(t._s(t.web_email))])]):t._e(),t._v(" "),t.web_phone?e("p",{class:"fl mt5 txt-white  ta-"+(t.isMobile?"o ww":"ol")},[e("i",{staticClass:"w30 h30 icon-mobile ta-o fs-18 txt-white"}),t._v(" "),e("span",{staticClass:"fl",staticStyle:{direction:"ltr"}},[t._v(t._s(t.web_phone))])]):t._e()]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{class:"ww fr ta-"+(t.isMobile?"o my5":"or")},[null!=t.firmSetting.b2bFacebook?e("a",{attrs:{href:t.firmSetting.b2bFacebook,title:"Facebook"}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-facebook fs-20 ta-o txt-white"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{attrs:{href:t.firmSetting.b2bTwitter,title:"X"}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-twitter-x fs-20 ta-o txt-white"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{attrs:{href:t.firmSetting.b2bInstagram,title:"Instagram"}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-instagram fs-20 ta-o txt-white"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{attrs:{href:t.firmSetting.b2bYoutube,title:"Youtube"}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-youtube fs-20 ta-o txt-white"}
1)]):t._e()])])],1)],1)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl WrapGutter"},[e("div",{staticClass:"ww fl mb50"},[e("div",{staticClass:"wrapper mrau WrapGutter"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,xs:24}},[e("p",{class:"ww fl"+(t.isMobile?" ta-c":"")},[t._v(t._s(t.firmSetting.b2bCopyright))])]),t._v(" "),e("el-col",{attrs:{lg:8,xs:24}},[null!=t.gizlilikMenuItems?e("ul",{staticClass:"ww dp-b"},t._l(t.gizlilikMenuItems,function(r,o){return e("li",{key:o,staticClass:"fr p5 txt-light ln-24 fs-14"},[e("nuxt-link",{staticClass:"txt-light",attrs:{to:t.localePath("/sayfa/"+r.url)}},[t._v(t._s(r.name))])],1)}),0):t._e()])],1),t._v(" "),"2"!=t.appMode?e("div",{staticClass:"ww fl my10 ta-o fs-12"},[t._v("Tasarım & Uygulama "),e("a",{staticClass:"px5 fw-b fs-13",attrs:{href:"https://www.onsobilisim.com/"}},[t._v("ONSO")])]):e("p",{staticClass:"ww fl my10 ta-o fs-12"},[t._v("Tasarım & Uygulama "),e("a",{staticClass:"px5 fw-b fs-13"},[t._v("ONSO")])])],1)])])]),t._v(" "),e("getPay",{attrs:{openPay:t.payShow}}),t._v(" "),t.showPageTopButton?e("button",{attrs:{id:"goTop"},on:{click:t.getPageTop}},[e("i",{staticClass:"icon-arrow-up"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("a",{staticClass:"pr15 pl5 txt-white ta-ol",style:"position: fixed; z-index: 999; bottom:15px; right:"+(t.showPageTopButton?70:15)+"px;background: #16BE45;border-radius: 40px",attrs:{href:t.chatLink,target:"_blank"}},[e("i",{staticClass:"icon-whatsapp w40 h40 ta-o fs-25"}),t._v(t._s(t.$t("Bize Yazın"))+"\n\t\t")]):t._e(),t._v(" "),e("el-dialog",{attrs:{"append-to-body":"",visible:t.showPopup,width:t.popupImgLoading?"25%":"","custom-class":t.isMobile||t.popupImgLoading?t.popupImgLoading?"popupWrap":"mobilePopUp popupWrap":"desktopPopUp popupWrap ta-o","close-on-click-modal":!t.popupImgLoading,"show-close":!1},on:{"update:visible":function(e){t.showPopup=e}
1,closed:t.closed_popup}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.popupImgLoading,expression:"popupImgLoading"}],staticClass:"ww ta-o cr-p pos-r",staticStyle:{"min-width":"50px","min-height":"100px",background:"transparent!important"}},[t.popupImgLoading?t._e():e("span",{staticClass:"w40 h40 pos-a ta-o bg-error rds txt-white el-icon-close z9 cr-p fs-24",staticStyle:{top:"-10px",right:"-10px"},on:{click:t.closed_popup}}),t._v(" "),t.firmSetting.b2bPopupImage?e("a",{on:{click:function(e){return t.getPopupLink()}}},[e("el-image",{staticClass:"ww p5 rds",attrs:{src:t.firmSetting.b2bPopupImage.img},on:{load:function(e){t.popupImgLoading=!1}}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"})])])],1):t._e()])]),t._v(" "),t.cookieAccept?e("div",{staticClass:"ww fl p15 bg-white ItemShadow",staticStyle:{"max-width":"320px",position:"fixed","z-index":"9999",bottom:"20px",left:"20px","border-radius":"10px"}},[e("span",{staticClass:"fl px10 ln-20 fs-24 fw-b txt-dark"},[t._v(t._s(t.$t("cookies")))]),t._v(" "),e("span",{staticClass:"fr ln-20 ta-o cr-p icon-x fs-18 txt-error",on:{click:function(e){t.cookieAccept=!1}}}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl px10 py20"},[t._v(t._s(t.cookieText))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl px10 pt20 bdrT"},[e("div",{staticClass:"cq-row cq-gap-10"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("el-button",{staticClass:"ww fr mb10",attrs:{type:"info",round:"",size:"medium"},on:{click:function(e){return t.cookieAccept_action(0)}}},[t._v(t._s(t.$t("İçeriği İncele")))])],1),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("el-button",{staticClass:"ww fr mb10",attrs:{type:"success",round:"",size:"medium"},on:{click:function(e){return t.cookieAccept_action(1)}}},[t._v(t._s(t.$t("Kabul Et")))])],1)])])]):t._e(),t._v(" "),e("script",{tag:"component"},[t._v(t._s(t.firmSetting.jsCode))]),t._v(" "),e("style",{tag:"component"},[t._v(t._s(t.firmSetting.cssCode))])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wrap-footer",components:{getPay:()=>r.e(0).then(r.bind(null,805))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!0,showBulletin:!1,showBulletinForm:!1,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,menuItems:null,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]},phoneCodeList:[]}},computed:{remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},isValiMail(){return this.aboneMail?this.validateEmail(this.aboneMail)?"1px solid var(--success)":"1px solid var(--error)":"1px solid #ffffff63"}},created(){this.$nuxt.$on("payShow",t=>this.payStatus(t)),this.PageTop(),this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){if(this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie(),!this.$cookies.get("web_cookieAccept")){var t=r(25).default,e=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=t[this.$i18n.locale][e],this.cookieText&&(this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept"))}this.phoneCodeList=r(30).default},methods:{submitBulletin(){this.$refs.bulletinForm.validate(t=>
1{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")},validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(this.$t(t.name))+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(this.$t(t.name)))),e},closed_popup(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},payStatus(t){this.payShow=t},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},l=(r(597),r(598),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("footer",{staticClass:"clr"},[t.remainingDay<8?e("div",{staticClass:"ww p20 dp-b",style:"background:color-mix(in srgb, var(--error), white 77%);"},[e("div",{staticClass:"wrapper-1140 mrau ta-c fw-b fs-16 txt-error"},[t._v(t._s(t.$t("Kullanım süreniz bitmek üzere")))])]):t._e(),t._v(" "),e("el-dialog",{attrs:{visible:t.showBulletin,top:"5vh","
1show-close":!1},on:{"update:visible":function(e){t.showBulletin=e},closed:t.closed_bulletin}},[e("div",{staticClass:"ww px15"},[e("span",{class:"ww fl mb5 fw-b fs-"+(t.$device.isMobile?14:18)},[t._v(t._s(t.$t("E-Bülten")+" "+t.$t("Kayıt")))]),t._v(" "),e("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.aboneButtonLoading,expression:"aboneButtonLoading"}],ref:"bulletinForm",attrs:{model:t.bulletinForm,rules:t.rules,"label-position":"top"}},[e("el-form-item",{attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"firma"}},[e("el-input",{model:{value:t.bulletinForm.firma,callback:function(e){t.$set(t.bulletinForm,"firma",e)},expression:"bulletinForm.firma"}})],1),t._v(" "),[0,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{model:{value:t.bulletinForm.eposta,callback:function(e){t.$set(t.bulletinForm,"eposta",e)},expression:"bulletinForm.eposta"}})],1):t._e(),t._v(" "),[1,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.bulletinForm.ceptel,callback:function(e){t.$set(t.bulletinForm,"ceptel",e)},expression:"bulletinForm.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.bulletinForm.ceptel_kod,callback:function(e){t.$set(t.bulletinForm,"ceptel_kod",e)},expression:"bulletinForm.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n\t\t\t\t\t\t")])})],2)],1)],1):t._e(),t._v(" "),e("el-form-item",{attrs:{label:t.$t("Tip")}},[e("el-radio-group",{model:{value:t.bulletinForm.type,callback:function(e){t.$set(t.bulletinForm,"type",e)},expression:"bulletinForm.type"}},[e("el-radio",{attrs:{label:0}},[t._v(t._s(t.$t("email")))]),t._v(" "),e("el-radio",{attrs:{label:1}},[t._v(t._s(t.$t("Cep Telefonu")))]),t._v(" "),e("el-radio",{attrs:{label:2}},[t._v(t._s(t.$t("email")+"&"+t.$t("Cep Telefonu")))])],1)],1),t._v(" "),e("el-form-item",[t.showBulletinForm?e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitBulletin()}}},[t._v(t._s(t.$t("Kaydol")))]):e("div",{staticClass:"ww h40 fl py5 fs-15 of-h z1"},[e("div",{staticClass:"reCAPTCHA fl",attrs:{id:"reCAPTCHA"},on:{click:t.get_reCAPTCHA_form}},[e("span",[t._v(" ")])]),t._v(" "),e("div",{staticClass:"fl px10 ln-30"},[t._v(t._s(t.$t("Ben Robot Değilim")))])])],1)],1)],1)]),t._v(" "),e("div",{staticClass:"footerWrap ww fl pb30 pos-r z1",style:"background-color:#000000!important"},[e("div",{staticClass:"wrapper-1140 mrau mt10 py20 WrapGutter"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl pt50"},[e("h6",{staticClass:"fw-b fs-30",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#ffbb00"}},[t._v("İLETİŞİM BİLGİLERİMİZ")]),t._v(" "),t.web_footer_address?e("p",{staticClass:"ww fl mt15 mb30 ln-30",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#666666"},domProps:{innerHTML:t._s(t.web_footer_address)}}):t._e()])]),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl",class:t.$device.isMobile?"py20":"py50"},[e("div",{staticClass:"ww fl ta-o"},[e("nuxt-link",{staticClass:"p15 mb10 ta-o fs-14 rds",staticStyle:{border:"1px solid white",color:"white !important"},attrs:{to:t.localePath("/iletisim"),target:"_blank"}},[e("i",{staticClass:"icon-harita fs-16"}),t._v(" Ofisimize Bekleriz\n\t\t\t\t\t\t\t")])],1),t._v(" "),t.firmSetting.b2bWhatsappChat?e("a",{staticClass:"ww fl ta-o fs-24 txt-white",attrs:{href:"tel:"+t.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,""),target:"_blank"}},[e("i",{staticClass:"icon-phone w40 h40 ta-o fs-25"}),t._v(t._s(t.firmSetting.b2bPhone)+"\n\t\t\t\t\t\t")]):t._e()])])]),t._v(" "),e("div",{staticClass:"ww fl mb10",staticStyle:{"border-bottom":"1px solid #222"}})]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"wrapper-1140 mrau mt10 mb30 pt5 WrapGutter"},[e("el-row",{class:t.$device.isDesktop?"dp-f":"",attrs:{gutter:10}},[t.firmMenu.footer?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[t._l(t.firmMenu.footer,function(r,i){return[r.id&&"dropdown"!=r.id&&["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:t.getMakeUrl(r)}},[t._v(t._s(t.$t(r.name)))]):"dropdown"!=r.id?e("a",{key:i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))]):t._e()]}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl mb10"}),t._v(" "),e("el-row",{attrs:{gutter:10}},[t._l(t.firmMenu.footer,function(r,i){return["dropdown"==r.id?e("el-col",{key:i,staticClass:"mb20",attrs:{lg:8,md:8,sm:12,xs:24}},[e("h6",{staticClass:"ww fl mb5 fs-20 fw-7",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#cc9600"}},[t._v(t._s(t.$t(r.name)))]),t._v(" "),r.child&&r.child.length>0?e("ul",{staticClass:"ww dp-b"},t._l(r.child,function(r,o){return e("li",{key:o,staticClass:"ln-24 fs-16"},[e("a",{class:t.$device.isMobile?"ww fl ta-c":"",staticStyle:{color:"#666666"},attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))])])}),0):t._e()]):t._e()]})],2)],2):t._e(),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww py10 WrapGutter dp-b"},[e("div",{staticClass:"wrapper-1140 mrau WrapGutter"},[e("h6",{staticClass:"fw-b fs-20",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#ffbb00"}}
1,[t._v("BÜLTENİMİZE KAYDOLUN")]),t._v(" "),e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:18,md:18,sm:18,xs:24}},[e("p",{staticClass:"ww fl mt15 mb30 ln-24",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#666666"}},[t._v("Aylık kampanyalarda ve ürünlerimizden haberdar olmak için email adresiniz ile bültenimize kaydolun.")])]),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-button",{staticClass:"ww mt20 ta-o",class:t.$device.isMobile?"fl":"fr mt5",attrs:{size:"small",type:"warning",icon:"mr5 fs-18 icon-mail",round:""},on:{click:function(e){t.showBulletin=!0}}},[t._v(t._s(t.$t("Kaydol")))])],1)],1)],1)])])],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"FooterBand ww py10 WrapGutter dp-b"},[e("div",{staticClass:"wrapper-1140 mrau WrapGutter"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl txt-sub ln-40",class:t.$device.isMobile?"ta-c":""},[e("span",{staticClass:"fs-12 txt-sub"},[t._v("Asansör Bakım Modernizasyon")]),t._v("   | "),e("span",{staticClass:"fs-12 txt-sub"},[t._v("Asansör Yedek Parça")]),t._v("   |   "),e("span",{staticClass:"fs-12 txt-sub"},[t._v("Asansör Ürünleri")])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{class:"ww fr ta-"+(t.isMobile?"o my5":"or")},[null!=t.firmSetting.b2bFacebook?e("a",{attrs:{href:t.firmSetting.b2bFacebook}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-facebook fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{attrs:{href:t.firmSetting.b2bTwitter}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-twitter-x fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{attrs:{href:t.firmSetting.b2bInstagram}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-instagram fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{attrs:{href:t.firmSetting.b2bYoutube}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-youtube fs-20 ta-o txt-sub"})]):t._e()])])],1)],1)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl py30 WrapGutter"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-1140 mrau WrapGutter"},[e("p",{class:"ww fl fs-12 ta-c"},[t._v(t._s(t.firmSetting.b2bCopyright))])])])]),t._v(" "),t._m(0)]),t._v(" "),t.showPageTopButton?e("button",{attrs:{id:"goTop"},on:{click:t.getPageTop}},[e("i",{staticClass:"icon-arrow-up"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("a",{staticClass:"icon-whatsapp w40 h40 m10 ta-o fs-25 txt-white z999 pos-f bt-0 rg-0",staticStyle:{background:"#16BE45","border-radius":"40px"},attrs:{href:t.chatLink,target:"_blank"}}):t._e(),t._v(" "),e("script",{tag:"component"},[t._v(t._s(t.firmSetting.jsCode))]),t._v(" "),e("style",{tag:"component"},[t._v(t._s(t.firmSetting.cssCode))])],1)},[function(){var t=this._self._c;return t("div",{staticClass:"onsoBrand ww fl pos-r"},[t("a",{staticClass:"fl px10 fw-b fs-12",attrs:{href:"https://www.onsobilisim.com/"}},[this._v("ONSO")])])}],!1,null,"6ad05243",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wrap-footer",components:{getPay:()=>r.e(0).then(r.bind(null,805))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!0,showBulletin:!1,showBulletinForm:!1,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,menuItems:null,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]},phoneCodeList:[]}}
1,computed:{remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},isValiMail(){return this.aboneMail?this.validateEmail(this.aboneMail)?"1px solid var(--success)":"1px solid var(--error)":"1px solid #ffffff63"}},created(){this.$nuxt.$on("payShow",t=>this.payStatus(t)),this.PageTop(),this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){if(this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie(),!this.$cookies.get("web_cookieAccept")){var t=r(25).default,e=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=t[this.$i18n.locale][e],this.cookieText&&(this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept"))}this.phoneCodeList=r(30).default},methods:{submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")}
1,validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(this.$t(t.name))+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(this.$t(t.name)))),e},closed_popup(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},payStatus(t){this.payShow=t},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},l=(r(599),r(600),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("footer",{staticClass:"clr"},[t.remainingDay<8?e("div",{staticClass:"ww p20 dp-b",style:"background:color-mix(in srgb, var(--error), white 77%);"},[e("div",{staticClass:"wrapper-1140 mrau ta-c fw-b fs-16 txt-error"},[t._v(t._s(t.$t("Kullanım süreniz bitmek üzere")))])]):t._e(),t._v(" "),e("el-dialog",{attrs:{visible:t.showBulletin,top:"5vh","show-close":!1},on:{"update:visible":function(e){t.showBulletin=e},closed:t.closed_bulletin}},[e("div",{staticClass:"ww px15"},[e("span",{class:"ww fl mb5 fw-b fs-"+(t.$device.isMobile?14:18)},[t._v(t._s(t.$t("E-Bülten")+" "+t.$t("Kayıt")))]),t._v(" "),e("el-form",{directives:[{name:"loading",rawName:"v-loading",value:t.aboneButtonLoading,expression:"aboneButtonLoading"}],ref:"bulletinForm",attrs:{model:t.bulletinForm,rules:t.rules,"label-position":"top"}},[e("el-form-item",{attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"firma"}},[e("el-input",{model:{value:t.bulletinForm.firma,callback:function(e){t.$set(t.bulletinForm,"firma",e)},expression:"bulletinForm.firma"}})],1),t._v(" "),[0,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{model:{value:t.bulletinForm.eposta,callback:function(e){t.$set(t.bulletinForm,"eposta",e)},expression:"bulletinForm.eposta"}})],1):t._e(),t._v(" "),[1,2].includes(t.bulletinForm.type)?e("el-form-item",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.bulletinForm.ceptel,callback:function(e){t.$set(t.bulletinForm,"ceptel",e)},expression:"bulletinForm.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.bulletinForm.ceptel_kod,callback:function(e){t.$set(t.bulletinForm,"ceptel_kod",e)},expression:"bulletinForm.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n\t\t\t\t\t\t")])})],2)],1)],1):t._e(),t._v(" "),e("el-form-item",{attrs:{label:t.$t("Tip")}},[e("el-radio-group",{model:{value:t.bulletinForm.type,callback:function(e){t.$set(t.bulletinForm,"type",e)},expression:"bulletinForm.type"}},[e("el-radio",{attrs:{label:0}},[t._v(t._s(t.$t("email")))]),t._v(" "),e("el-radio",{attrs:{label:1}},[t._v(t._s(t.$t("Cep Telefonu")))]),t._v(" "),e("el-radio",{attrs:{label:2}}
1,[t._v(t._s(t.$t("email")+"&"+t.$t("Cep Telefonu")))])],1)],1),t._v(" "),e("el-form-item",[t.showBulletinForm?e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitBulletin()}}},[t._v(t._s(t.$t("Kaydol")))]):e("div",{staticClass:"ww h40 fl py5 fs-15 of-h z1"},[e("div",{staticClass:"reCAPTCHA fl",attrs:{id:"reCAPTCHA"},on:{click:t.get_reCAPTCHA_form}},[e("span",[t._v(" ")])]),t._v(" "),e("div",{staticClass:"fl px10 ln-30"},[t._v(t._s(t.$t("Ben Robot Değilim")))])])],1)],1)],1)]),t._v(" "),e("div",{staticClass:"footerWrap ww fl pb30 pos-r z1",style:"background-color:#000000!important"},[e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"wrapper mrau mt50 mb30 pt5 WrapGutter"},[e("el-row",{class:t.$device.isDesktop?"dp-f":"",attrs:{gutter:10}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("h6",{staticClass:"fw-5 ln-40 fs-36 ff-fraunces",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#ffffff"}},[t._v("BÜLTENİMİZE KAYDOLUN")]),t._v(" "),e("p",{staticClass:"ww fl mt15 mb20 ln-24",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#666666"}},[t._v("Aylık kampanyalarda ve ürünlerimizden haberdar olmak için email adresiniz ile bültenimize kaydolun.")]),t._v(" "),e("el-button",{staticClass:"w140 fl mt5 ta-o",attrs:{size:"small",icon:"mr5 fs-18 icon-mail",round:""},on:{click:function(e){t.showBulletin=!0}}},[t._v(t._s(t.$t("Kaydol")))])],1),t._v(" "),t.firmMenu.footer?e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl px20"},[t._l(t.firmMenu.footer,function(r,i){return[r.id&&"dropdown"!=r.id&&["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:t.getMakeUrl(r)}},[t._v(t._s(t.$t(r.name)))]):"dropdown"!=r.id?e("a",{key:i,staticClass:"fl mr10 mb5 fs-13 fw-6",attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))]):t._e()]}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:10}},[t._l(t.firmMenu.footer,function(r,i){return["dropdown"==r.id?e("el-col",{key:i,staticClass:"mb20",attrs:{lg:8,md:8,sm:12,xs:24}},[e("h6",{staticClass:"ww fl mb5 fs-14 fw-6 ff-fraunces",class:t.$device.isMobile?"ta-c":"",staticStyle:{color:"#ffffff"}},[t._v(t._s(t.$t(r.name)))]),t._v(" "),r.child&&r.child.length>0?e("ul",{staticClass:"ww dp-b"},t._l(r.child,function(r,o){return e("li",{key:o,staticClass:"ln-24 fs-13"},[e("a",{class:t.$device.isMobile?"ww fl ta-c":"",staticStyle:{color:"#666666"},attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))])])}),0):t._e()]):t._e()]}
1)],2)],2)]):t._e()],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"FooterBand ww py10 WrapGutter dp-b"},[e("div",{staticClass:"wrapper mrau WrapGutter"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("svg",{staticClass:"fl",attrs:{fill:"#fff",width:"120",viewBox:"0 0 290 150"}},[e("path",{attrs:{d:"M94,109.1H83.4V6.7H0l0.2,102.6l13.1,0V37.5h35.8l14.9,14.9v41.5l-15.3,15.3h34.5v1.8h1.2v29.9h-1.2v1.8H94\n\t\t\t\t\t\t\tc10.6,0,16.9-6.3,16.9-16.8c0-5.2-1.6-9.4-4.5-12.3C103.6,110.6,99.3,109.1,94,109.1z M109,126c0,9.3-5.6,14.9-15,14.9h-7.7v-29.9\n\t\t\t\t\t\t\tH94c4.7,0,8.4,1.3,11,4C107.7,117.5,109,121.3,109,126z M119.8,109.1h19.9v3h-1.8v-1.2h-14.9v13.9h14.9v-1.2h1.8v4.2h-1.8v-1.2\n\t\t\t\t\t\t\th-14.9v14.2h14.9v-1.2h1.8v3h-19.9v-1.8h1.2v-29.9h-1.2V109.1z M163,130.2l7.6,10.6h2.2v1.8h-3.4l-9.7-13.6h-0.6l0.8-0.8l0.1,0.2\n\t\t\t\t\t\t\th0.8c2.3,0,6.2,0,8.2-2c1.9-2,2.7-4.1,2.7-6.8c0-3-1.5-5.9-3.8-7.4c-1.9-1.2-4.2-1.3-8.1-1.3H154v31.8h-3.2v-1.8h1.2v-29.9h-1.2\n\t\t\t\t\t\t\tv-1.8h9c5.4,0,7.4,0.5,8.9,1.4c2.8,1.4,4.9,5.2,4.9,9c0.1,2.4-0.7,5-2.2,6.9C169.2,129.6,166.4,130.1,163,130.2z M198,128.1H218\n\t\t\t\t\t\t\tl0,0.3c-0.2,1.7-0.7,3.4-1.5,5c-2.9,6-9.3,9.8-16.4,9.8c-9.9,0-17.4-7.5-17.4-17.4c0-9.9,7.5-17.4,17.4-17.4c6.3,0,12.3,3.2,15.2,8\n\t\t\t\t\t\t\tl0.3,0.5h-2.3l-0.1-0.1c-1.3-1.7-2.9-3.1-4.5-4.2c-2.5-1.6-5.4-2.4-8.6-2.4c-8.7,0-15.5,6.8-15.5,15.5s6.8,15.5,15.5,15.5\n\t\t\t\t\t\t\tc3.8,0,7.5-1.3,10.5-3.7c2.6-2.1,4.5-5,5.1-7.8H198V128.1z M242.7,109.3l-0.1-0.2h-2.1l-13.6,31.8h-1.6v1.8h2.9l4.9-11.5H250\n\t\t\t\t\t\t\tl4.9,11.5h2.9v-1.8h-1.6L242.7,109.3z M249.1,129.4H234l7.5-17.9L249.1,129.4z M234.9,107.2h-3.1l9-5.8h1.4l9.1,5.8h-3.1l-6.6-4.2\n\t\t\t\t\t\t\tL234.9,107.2z M288.8,110.9v29.9h1.2v1.8h-4.4v-1.8h1.2v-14.2H269v14.2h1.2v1.8h-4.4v-1.8h1.2v-29.9h-1.2v-1.8h4.4v1.8H269v13.9\n\t\t\t\t\t\t\th17.8v-13.9h-1.2v-1.8h4.4v1.8H288.8z"}})]),t._v(" "),e("div",{class:"fl mx30 mt30 ta-"+(t.isMobile?"o my5":"or")},[null!=t.firmSetting.b2bFacebook?e("a",{attrs:{href:t.firmSetting.b2bFacebook}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-facebook fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{attrs:{href:t.firmSetting.b2bTwitter}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-twitter-x fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{attrs:{href:t.firmSetting.b2bInstagram}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-instagram fs-20 ta-o txt-sub"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{attrs:{href:t.firmSetting.b2bYoutube}},[e("i",{staticClass:"w30 h30 my5 mx10-hover icon-youtube fs-20 ta-o txt-sub"})]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("p",{class:"fr mt40 fs-12 "+(t.isMobile?"ww ta-o":"ta-c")}
1,[t._v(t._s(t.firmSetting.b2bCopyright))])])],1)],1)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t._m(0)]),t._v(" "),t.showPageTopButton?e("button",{attrs:{id:"goTop"},on:{click:t.getPageTop}},[e("i",{staticClass:"icon-arrow-up"})]):t._e(),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("a",{staticClass:"icon-whatsapp w40 h40 m10 ta-o fs-25 txt-white z999 pos-f bt-0 rg-0",staticStyle:{background:"#16BE45","border-radius":"40px"},attrs:{href:t.chatLink,target:"_blank"}}):t._e(),t._v(" "),t.cookieAccept?e("div",{staticClass:"ww fl p30 ItemShadow",staticStyle:{background:"#e5dfd7","max-width":"320px",position:"fixed","z-index":"9999",bottom:"30px",right:"30px","border-radius":"10px"}},[e("span",{staticClass:"ww fl mt10 ln-20 fs-24 fw-b txt-dark ta-c"},[t._v(t._s(t.$t("cookies")))]),t._v(" "),e("div",{staticClass:"ww fl py20 fs-12 ln-18 ta-c"},[t._v(t._s(t.cookieText))]),t._v(" "),e("div",{staticClass:"ww fl ta-o"},[e("a",{staticClass:"px40 py10 fs-13 txt-white bg-success rds30 cr-p",on:{click:function(e){return t.cookieAccept_action(1)}}},[t._v(t._s(t.$t("Kabul Et")))])]),t._v(" "),e("div",{staticClass:"ww fl my10 ta-o"},[e("a",{staticClass:"fs-13 td-u cr-p",on:{click:function(e){return t.cookieAccept_action(0)}}},[t._v(t._s(t.$t("İçeriği İncele")))])])]):t._e(),t._v(" "),e("script",{tag:"component"},[t._v(t._s(t.firmSetting.jsCode))]),t._v(" "),e("style",{tag:"component"},[t._v(t._s(t.firmSetting.cssCode))])],1)},[function(){var t=this._self._c;return t("div",{staticClass:"onsoBrand ww fl pos-r"},[t("a",{staticClass:"fl px10 fw-b fs-12",attrs:{href:"https://www.onsobilisim.com/"}},[this._v("ONSO")])])}],!1,null,"4f6ccdaa",null);e.default=component.exports},,function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"headerWrap",props:{logoColor:{type:String,default:"#000"}},components:{megaMenu:()=>r.e(0).then(r.bind(null,334)),MainMenu:()=>r.e(0).then(r.bind(null,796))},data(){return{activeMenuIndex:null,activeMenuPosition:0,drawer:!1,allSetting:this.$store.state.firm,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,showSearchInput:!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",basketCount:this.$cookies.get("basketCount")||0,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],sliderActiveIndex:0,metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,menu:[],HasFixed:!1,pageColor:this.logoColor}},directives:{outclick:{bind(t,e){t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null}},mounted(){var t=document.getElementById("headerWrap");document.getElementById("headerPlaceholder")&&(document.getElementById("headerPlaceholder").style.height=t.offsetHeight+"px"),window.addEventListener("scroll",()=>{this.HasFixed=window.scrollY>60,this.HasFixed?this.pageColor="#fff":this.pageColor=this.logoColor})},created(){this.createMenu(),this.$nuxt.$on("basketCount",t=>{this.basketCount=t})},methods:{toggleDropdown(t,e,r){var rect=t.target.getBoundingClientRect();this.activeMenuPosition=({dropdownMenu:320,megaMenu:600}[r.component||"dropdownMenu"]-Math.ceil(rect.width))/2*-1||0,this.activeMenuIndex=e},closeDropdown(){this.activeMenuIndex=null},GetClose(t){this.drawer=t},getSearchClear(){this.completeData=[],this.showSearchInput=!1,this.completeLoading=!1,this.completeCount=0,this.completeData=null,this.completeTime=null,this.query="",this.getAutoCompleteWrap=!1},getSearch(){this.query?this.completeLoading||(location.href=this.localePath({path:"/ara",query:{search_text:encodeURIComponent(this.query)}})):this.$refs.searchInput.focus()},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterS
1ort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '".concat(t,"');\n            fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:t=>
1t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){dataLayer.push(arguments);}\n              gtag('js', new Date());\n\n              gtag('config', '".concat(t,"');\n            ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n              new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n              'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n              })(window,document,'script','dataLayer','".concat(t,"');")}}}},d=c,m=r(0),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"ww fl",attrs:{id:"headerPlaceholder"}}),t._v(" "),e("div",{staticClass:"ww fl px15 z99",class:t.HasFixed?"pos-f tp-0 bg-black z99 ta-o":"pos-f",attrs:{id:"headerWrap"}},[t.showSearchInput?e("div",{staticClass:"ww hh px10 pos-a tp-0 lf-0 ta-o bg-white z999"},[e("div",{staticClass:"wrapper-64em mrau pos-r"},["2"!=t.appMode?e("div",{staticClass:"ww fl p5 pos-r of-h rds30",style:"height: 54px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 150px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})]),t._v(" "),e("span",{staticClass:"w40 h40 fr rds30 ta-o cr-p txt-error",attrs:{title:t.$t("Sil")},on:{click:t.getSearchClear}},[e("i",{staticClass:"ww hh ta-o el-icon-close fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("div",{staticClass:"mt5 mx20 pos-a tp-100 lf-0 bg-white rds5 z9",staticStyle:{width:"calc(100% - 40px)","box-shadow":"0 0 7px 1px #ececec"}},[e("div",{staticClass:"ww fl bdrT ofy-a",staticStyle:{height:"420px"}},[t._l(t.completeData,function(r,o){var l,n;return e("a",{key:o,staticClass:"acItem ww fl p10 pos-r",staticStyle:{"border-bottom":"1px solid #f1f1f1"},attrs:{href:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"fl",staticStyle:{width:"50px",height:"60px"}
1,attrs:{src:r.product_json.files[0].fl_url,fit:"contain","preview-src-list_":[r.product_json.files[0].fl_url],"append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"}),t._v(" "),e("div",{staticClass:"fl",staticStyle:{width:"calc( 100% - 50px)"}},[e("p",{staticClass:"ww fl ta-l ln-17 fs-13 fw-b pos-r"},[t._v(" "+t._s("0"==(null===(l=t.allSetting.settings)||void 0===l?void 0:l.b2bSearchPrdVariantChildListStatus)&&(null===(n=r.product_json)||void 0===n?void 0:n.variant_master_stokcins)||r.product_json.stokcins))]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("div",{staticClass:"ww fl of-h ta-l to-e ws-n pos-r txt-2 fs-12 ln-15"},[e("router-link",{attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici")),title:r.product_json.uretici.ureticiad}},[t._v("\n                              "+t._s(r.product_json.uretici.ureticiad)+"\n                            ")])],1)]:e("span",{staticClass:"ww fl of-h to-e ws-n pos-r fs-12 ln-15"},[t._v("-")])],t._v(" "),t.showPrice?e("div",{staticClass:"ww fl"},[(r.product_json.kisk||0)>0?e("div",{staticClass:"ww fl"},[e("p",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl ta-l ln-17 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-9 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                              "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                            ")])]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()]):e("div",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl mt5 ta-l ln-16 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl ln-16 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                            "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                          ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()])]):t._e()],2)],1)}),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"ww fl px10 bdrT"},[e("a",{staticClass:"fl ln-30 txt-info fs-14 cr-p",on:{click:t.getSearch}},[t._v("\n                      "+t._s(t.$t("Aranan İfade"))+" : \n                      "),e("span",{staticClass:"fw-b"},[t._v(t._s(t.query))]),t._v("\n                      "+t._s(t.$t("Tüm sonuçları göster"))+"\n                    ")])])],2)]):t._e()]:t._e()],2)]):t._e(),t._v(" "),e("div",{staticClass:"wrapper mrau z99 pos-r",class:t.HasFixed?"":t.$device.isDesktop?"my10 pt30 pb10":""},[t.HasFixed?t._e():e("div",{staticClass:"cq-row cq-gap-20"},[t.$device.isDesktop?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"}):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-12",class:t.$device.isDesktop?"ta-o":""},[e("a",{attrs:{href:"/"}},[e("svg",{style:"height:"+(t.$device.isDesktop?"99px":"40px;margin-top:5px")+";enable-background:new 0 0 290 150;",attrs:{fill:t.pageColor,x:"0px",y:"0px",viewBox:"0 0 290 150"}},[e("path",{staticClass:"st1",attrs:{d:"m3e-7 15.736v67.953h12.64v12.648h-12.64v37.927h15.41v-37.14h17.378c9.0871 0 13.435 4.3507 13.435 14.623v22.517h15.41v-23.706c0-13.433-6.3246-20.937-18.968-24.493 0.79019-0.79019 3.1607-2.3736 5.9264-7.1148 0.79019-1.9755 2.7672-4.3445 5.5328-8.2954l10.672-18.173h-16.992l-13.435 24.493c-2.7656 4.346-6.3184 6.3199-12.64 6.3199h-6.3199v-67.559zm116.55 0v67.953h15.41v-67.953zm-27.263 9.8773c-6.3215 0-9.0902 2.7687-9.0902 9.0902 0 2.7656 0.79482 4.3445 2.7703 6.32 1.9755 1.9755 3.5543 2.7626 6.32 2.7626 6.3215 0 9.0902-2.761 9.0902-9.0825 0-2.7656-0.79482-4.3522-2.7703-6.3277-0.79018-1.9755-3.5543-2.7626-6.3199-2.7626zm70.723 25.288c-8.297 0-16.203 1.977-22.525 5.5328v15.402c7.1117-4.346 13.436-7.107 20.943-7.107 8.297 0 14.618 2.7641 19.755 8.2954 4.346 5.5313 7.1148 11.853 7.1148 19.755 0 7.9019-2.7687 15.409-7.1148 19.755-4.346 5.5313-11.853 8.2954-19.755 8.2954-9.0871 0-15.409-3.5558-19.755-9.8773-2.7657-4.346-4.3476-9.0887-5.5329-15.41h-15.41c0.79019 10.668 4.346 18.971 9.8773 26.082 7.1117 9.0871 17.39 12.64 30.033 12.64s22.516-4.343 30.813-12.64c8.297-8.2969 11.853-18.964 11.853-31.607 0-10.668-3.5558-20.946-11.853-28.058-7.5068-7.5068-16.591-11.058-28.444-11.058zm87.708 0c-11.853 0-21.729 4.346-30.026 11.853-5.5313 5.5313-9.0841 12.638-10.
1664 20.935h16.197c0.79018-3.5558 2.7641-7.1086 6.32-10.664 4.346-5.5313 11.856-8.2954 18.968-8.2954s14.614 2.7641 18.96 8.2954c4.346 5.5313 7.1148 11.853 7.1148 19.755 0 7.9019-2.7687 14.618-7.1148 19.755-5.5313 5.5313-11.853 8.2954-19.755 8.2954s-14.614-2.7641-18.96-8.2954c-4.346-4.346-6.3246-10.669-7.1148-17.386h-15.41c0.79018 10.668 4.346 19.756 11.853 27.263 8.297 8.297 18.173 11.853 30.026 11.853 11.853 0 21.736-4.346 30.033-11.853 8.297-8.297 11.853-18.173 11.853-30.026-0.79019-11.458-4.3522-21.335-12.254-29.632-8.297-8.297-18.173-11.853-30.026-11.853zm-165.55 1.9755v81.388h15.41v-81.388z"}})])])]),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-12"},[e("div",{staticClass:"ww fl",class:t.$device.isDesktop?"ta-o":"p10 dp-f jc-sb ai-c"},[t.$device.isDesktop?t._e():e("a",{staticClass:"NavMenuIcon w32 h40 fr m5 ta-o fs-24 pos-r z1 cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"el-icon-menu txt-black"})]),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",style:"color:"+t.pageColor,on:{click:function(e){t.showSearchInput=!0}}}),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-user fs-22 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/auth/giris")}}),t._v(" "),"2"!=t.appMode?e("el-badge",{attrs:{value:t.basketCount,type:"danger"}},[e("a",{staticClass:"w32 h30 mx5 icon-basket fs-22 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/sepet")}})]):t._e()],1)])]),t._v(" "),t.menu.length>0?e("div",{staticClass:"navMenu z99",class:t.HasFixed?"dp-f jc-sb ai-c":"ww fl pt10 ta-o"},[t.HasFixed?e("a",{attrs:{href:"/"}},[e("svg",{style:"height:63px;enable-background:new 0 0 290 150;",attrs:{fill:t.pageColor,x:"0px",y:"0px",viewBox:"0 0 290 150"}},[e("path",{staticClass:"st1",attrs:{d:"m3e-7 15.736v67.953h12.64v12.648h-12.64v37.927h15.41v-37.14h17.378c9.0871 0 13.435 4.3507 13.435 14.623v22.517h15.41v-23.706c0-13.433-6.3246-20.937-18.968-24.493 0.79019-0.79019 3.1607-2.3736 5.9264-7.1148 0.79019-1.9755 2.7672-4.3445 5.5328-8.2954l10.672-18.173h-16.992l-13.435 24.493c-2.7656 4.346-6.3184 6.3199-12.64 6.3199h-6.3199v-67.559zm116.55 0v67.953h15.41v-67.953zm-27.263 9.8773c-6.3215 0-9.0902 2.7687-9.0902 9.0902 0 2.7656 0.79482 4.3445 2.7703 6.32 1.9755 1.9755 3.5543 2.7626 6.32 2.7626 6.3215 0 9.0902-2.761 9.0902-9.0825 0-2.7656-0.79482-4.3522-2.7703-6.3277-0.79018-1.9755-3.5543-2.7626-6.3199-2.7626zm70.723 25.288c-8.297 0-16.203 1.977-22.525 5.5328v15.402c7.1117-4.346 13.436-7.107 20.943-7.107 8.297 0 14.618 2.7641 19.755 8.2954 4.346 5.5313 7.1148 11.853 7.1148 19.755 0 7.9019-2.7687 15.409-7.1148 19.755-4.346 5.5313-11.853 8.2954-19.755 8.2954-9.0871 0-15.409-3.5558-19.755-9.8773-2.7657-4.346-4.3476-9.0887-5.5329-15.41h-15.41c0.79019 10.668 4.346 18.971 9.8773 26.082 7.1117 9.0871 17.39 12.64 30.033 12.64s22.516-4.343 30.813-12.64c8.297-8.2969 11.853-18.964 11.853-31.607 0-10.668-3.5558-20.946-11.853-28.058-7.5068-7.5068-16.591-11.058-28.444-11.058zm87.708 0c-11.853 0-21.729 4.346-30.026 11.853-5.5313 5.5313-9.0841 12.638-10.664 20.935h16.197c0.79018-3.5558 2.7641-7.1086 6.32-10.664 4.346-5.5313 11.856-8.2954 18.968-8.2954s14.614 2.7641 18.96 8.2954c4.346 5.5313 7.1148 11.853 7.1148 19.755 0 7.9019-2.7687 14.618-7.1148 19.755-5.5313 5.5313-11.853 8.2954-19.755 8.2954s-14.614-2.7641-18.96-8.2954c-4.346-4.346-6.3246-10.669-7.1148-17.386h-15.41c0.79018 10.668 4.346 19.756 11.853 27.263 8.297 8.297 18.173 11.853 30.026 11.853 11.853 0 21.736-4.346 30.033-11.853 8.297-8.297 11.853-18.173 11.853-30.026-0.79019-11.458-4.3522-21.335-12.254-29.632-8.297-8.297-18.173-11.853-30.026-11.853zm-165.55 1.9755v81.388h15.41v-81.388z"}})])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"ww px10 dp-b pos-r"},[t.menu.length>0?e("div",{directives:[{name:"outclick",rawName:"v-outclick",value:t.closeDropdown,expression:"closeDropdown"}],staticClass:"ww fl pos-r",style:"display:flex;justify-content:"+t.firmSetting.menuKonum+";"},t._l(t.menu,function(r,o){return e("div",{key:o},[e("div",{staticClass:"pos-r z9"},[r.attributes?[r.attributes.to?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.to}},[t._v(t._s(r.title))]):r.attributes.href?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]):t._e()]:e("span",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",on:{click:function(e){return t.toggleDropdown(e,o,r)}}},[t._v(t._s(r.title))]),t._v(" "),t.activeMenuIndex==o?e("div",{staticClass:"bg-white of-h_ pos-a rds5 tp-100 z9",style:"transform: translateX("+t.activeMenuPosition+"px);box-shadow:0 15px 40px 0 rgba(0,0,0,.15),0 -13px 40px -25px rgba(0,0,0,.2);"},[e("div",{staticClass:"menuArrow"}),t._v(" "),e(r.component,{tag:"component",attrs:{child:r.child,url:r.url}})],1):t._e()],2)])}),0):t._e()]):t._e(),t._v(" "),t.HasFixed?e("div",{staticClass:"fl ta-o"},[t.$device.isDesktop?t._e():e("a",{staticClass:"NavMenuIcon w32 h40 fr m5 ta-o fs-24 pos-r z1 cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"el-icon-menu txt-white"})]),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",style:"color:"+t.pageColor,on:{click:function(e){t.showSearchInput=!0}}}),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-user fs-20 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/auth/giris")}}),t._v(" "),"2"!=t.appMode?e("el-badge",{attrs:{value:t.basketCount,type:"danger"}},[e("a",{staticClass:"w32 h30 mx5 icon-basket fs-22 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/sepet")}})]):t._e()],1):t._e()]):t._e()])]),t._v(" "),e("MainMenu",{attrs:{GetOpen:t.drawer},on:{GetClose:t.GetClose}})],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(2),l={name:"navbarDesktopT0",components:{userMenu:()=>r.e(0).then(r.bind(null,786)),langSwitcher:()=>r.e(0).then(r.bind(null,785)),currencySwitcher:()=>r.e(0).then(r.bind(null,784)),mainMenu:()=>r.e(0).then(r.bind(null,803)),menuRightBar:()=>r.e(0).then(r.bind(null,798)),autocompleteList:()=>r.e(0).then(r.bind(null,795))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,siteLogo:"",appMode:this.$store.state.firmAppMode||"0",b2bMultiLang:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bMultiLang||null,b2bCurrencyList:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bCurrencyList||null,HasFixed:!1,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",colorFromScript:"",getAutoCompleteWrap:!1,metaModule:null,googleModule:null}}
1,mounted(){this.getMetaModule(),this.getGoogleModule()},created(){this.colorFromScript="#ffffff",window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},500)},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))),e},handleScroll(){this.HasFixed=window.scrollY>=105},getSearch(){this.query?this.completeLoading||(clearTimeout(this.completeTime),this.getAutoCompleteWrap=!1,location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getMetaModule(){this.firmSetting.metaPixelID&&r.e(6).then(r.bind(null,49)).then(t=>{this.metaModule=t}).catch(t=>{console.error("function 'metaModule' import error:",t)})},getGoogleModule(){this.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(t=>{this.googleModule=t}).catch(t=>{console.error("function 'googleModule' import error:",t)})}}},n=()=>{Object(o.useCssVars)((t,e)=>({dfb1b09e:t.colorFromScript}))},c=l.setup;l.setup=c?(t,e)=>(n(),c(t,e)):n;var d=l,m=(r(589),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("header",{staticClass:"ww fl pos-r z99 bg-white",attrs:{id:"header"}},[e("aside",{staticClass:"ww fl bdrB"},[e("div",{staticClass:"wrapper mrau pos-r"},[e("ul",{staticClass:"ww fl px10"},[t._l(t.firmSettingMenu.toolbar,function(r,o){var l,n;return["1"==r.status?e("li",{key:o,staticClass:"fl"},[["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+o,staticClass:"fl mx5 py5 fs-12",attrs:{href:t.getMakeUrl(r)}},[t._v(t._s(t.$t(r.name)))]):e("a",{key:o,staticClass:"fl mx5 py5 fs-12",attrs:{href:null!==(l=r.url)&&void 0!==l&&l.startsWith("h")||null!==(n=r.url)&&void 0!==n&&n.startsWith("/")?r.url:"/"+(r.url||"")}},[t._v(t._s(r.name)+" ")])]):"dropdown"==r.id?e("el-dropdown",{key:"dd_"+o,staticClass:"fl",attrs:{size:"medium",placement:"bottom-start",trigger:"click"},scopedSlots:t._u([{key:"dropdown",fn:function(){return[e("el-dropdown-menu",{staticStyle:{width:"200px"}},t._l(r.child,function(r,o){var l,n;return e("a",{key:o,attrs:{href:null!==(l=r.url)&&void 0!==l&&l.startsWith("h")||null!==(n=r.url)&&void 0!==n&&n.startsWith("/")?r.url:"/"+(r.url||"")}},[e("el-dropdown-item",[t._v(t._s(r.name))])],1)}),0)]},proxy:!0}],null,!0)},[e("span",{staticClass:"fl mx5 py5 fs-12 cr-p"},[t._v(t._s(t.$t(r.name))),e("i",{staticClass:"el-icon-arrow-down"})])]):t._e()]}),t._v(" "),t.b2bCurrencyList&&t.b2bCurrencyList.length>0?e("li",{staticClass:"fr"},[e("currencySwitcher")],1):t._e(),t._v(" "),e("li",{staticClass:"fr"},[e("langSwitcher")],1)],2)])]),t._v(" "),[e("nav",{class:"ww fl z99"+(t.HasFixed?" fixed-nav":""),attrs:{id:"navigation"}},[e("div",{staticClass:"wrapper mrau pos-r"},[e("div",{staticClass:"ww px10 dp-b pos-r"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-xs-8 cq-col-sm-6 cq-col-md-6 cq-col-lg-6 dp-f ai-c"},[e("a",{staticClass:"fl ta-o",attrs:{href:t.localePath("/"+("2"==t.appMode?"uye":"")),title:"Logo"}},[t.siteLogo?e("nuxt-img",{staticClass:"fl rds5 z1",attrs:{src:t.siteLogo,format:"webp",height:"70",fetchpriority:"high",fit:"contain",alt:"Logo"}}):t._e()],1)]),t._v(" "),e("div",{staticClass:"cq-col-xs-8 cq-col-sm-12 cq-col-md-12 cq-col-lg-12 dp-f ai-c"},[e("div",{staticClass:"ww fl px10 pos-r rds5 z9"},["2"!=t.appMode?e("div",{staticClass:"ww fl pos-r of-h rds30",style:"height: 44px;margin-top: 0px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 90px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("autocomplete-list",{attrs:{getAutoCompleteWrap:t.getAutoCompleteWrap,completeData:t.completeData,completeLoading:t.completeLoading,query:t.query}}):t._e()]:t._e()],2)]),t._v(" "),e("div",{staticClass:"cq-col-xs-8 cq-col-sm-6 cq-col-md-6 cq-col-lg-6 dp-f ai-c"},[e("menuRightBar",{attrs:{"show-search":!1}})],1)])])])]),t._v(" "),t.firmSettingMenu&&t.firmSettingMenu.header&&t.firmSettingMenu.header.length>0?e("div",{staticClass:"navMenu ww fl",style:"background-color:"+t.firmSetting.b2bColor+"10!important"},[e("div",{staticClass:"wrapper mrau pos-r"},[e("mainMenu")],1)]):t._e()]],2)},[],!1,null,"1a47f4a1",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"navbarDesktopT1",components:{megaMenu:()=>r.e(0).then(r.bind(null,334)),menuRightBar:()=>r.e(0).then(r.bind(null,798)),autocompleteList:()=>r.e(0).then(r.bind(null,795))},data(){return{activeMenuIndex:null,activeMenuPosition:0,allSetting:this.$store.state.firm,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,showSearchInput:!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],sliderActiveIndex:0,metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,menu:[],HasFixed:!1,siteLogo:"",siteFavicon:""}},directives:{outclick:{bind(t,e){t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null}},mounted(){var t=document.getElementById("headerWrap");document.getElementById("headerPlaceholder")&&(document.getElementById("headerPlaceholder").style.height=t.offsetHeight+"px")},created(){this.createMenu(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.siteFavicon=this.$cookies.get("web_logo")||this.firmSetting.b2bFavicon||this.firmSetting.b2bLogo,this.$nuxt.$on("getShowSearchInput",t=>{this.showSearchInput=t})},methods:{toggleDropdown(t,e,r){var rect=t.target.getBoundingClientRect();this.activeMenuPosition=({dropdownMenu:320,megaMenu:600}[r.component||"dropdownMenu"]-Math.ceil(rect.width))/2*-1||0,this.activeMenuIndex=e},closeDropdown(){this.activeMenuIndex=null},getSearchClear(){this.completeData=[],this.showSearchInput=!1,this.completeLoading=!1,this.completeCount=0,this.completeData=null,this.completeTime=null,this.query="",this.getAutoCompleteWrap=!1},getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterS
1ort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '".concat(t,"');\n            fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:t=>t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){dataLayer.push(arguments);}\n              gtag('js', new Date());\n\n              gtag('config', '".concat(t,"');\n            ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n              new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n              'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n              })(window,document,'script','dataLayer','".concat(t,"');")}}}},d=(r(590),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"ww fl px15 z99 bg-white",class:t.HasFixed?"pos-f tp-0 ta-o itemShadow":"",attrs:{id:"headerWrap"}},[t.showSearchInput?e("div",{staticClass:"ww hh pos-f tp-0 lf-0 px10 ta-o bg-white z999"},[e("div",{staticClass:"wrapper-64em mrau pos-r"},["2"!=t.appMode?e("div",{staticClass:"ww fl p5 pos-r of-h rds30",style:"height: 54px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 150px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})]),t._v(" "),e("span",{staticClass:"w40 h40 fr rds30 ta-o cr-p txt-error",attrs:{title:t.$t("Sil")},on:{click:t.getSearchClear}},[e("i",{staticClass:"ww hh ta-o el-icon-close fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("autocomplete-list",{attrs:{getAutoCompleteWrap:t.getAutoCompleteWrap,completeData:t.completeData,completeLoading:t.completeLoading,query:t.query}}):t._e()]:t._e()],2)]):t._e(),t._v(" "),e("div",{staticClass:"wrapper mrau z99 pos-r",class:t.HasFixed?"":t.$device.isDesktop?"my10 pb10":""},[t.HasFixed?t._e():e("div",{staticClass:"cq-row cq-gap-20"},[t.$device.isDesktop?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"}):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-12",class:t.$device.isDesktop?"ta-o":""},[e("a",{attrs:{href:"/"}},[e("img",{staticClass:"fl rds5 object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-12 ta-o"},[e("menuRightBar")],1)]),t._v(" "),t.menu.length>0?e("div",{staticClass:"navMenu z99",class:t.HasFixed?"dp-f jc-sb ai-c":"ww fl pt10 ta-o"},[t.HasFixed?e("a",{attrs:{href:"/"}},[e("img",{staticClass:"h40 fl rds5 object-contain z1",attrs:{src:t.siteFavicon,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"ww px10 dp-b pos-r"},[t.menu.length>0?e("div",{directives:[{name:"outclick",rawName:"v-outclick",value:t.closeDropdown,expression:"closeDropdown"}],staticClass:"ww fl pos-r",style:"display:flex;justify-content:"+t.firmSetting.menuKonum+";"},t._l(t.menu,function(r,o){return e("div",{key:o},[e("div",{staticClass:"pos-r z9"},[r.attributes?[r.attributes.to?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.to}},[t._v(t._s(r.title))]):r.attributes.href?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]):t._e()]:e("span",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",on:{click:function(e){return t.toggleDropdown(e,o,r)}}},[t._v(t._s(r.title))]),t._v(" "),t.activeMenuIndex==o?e("div",{staticClass:"bg-white of-h_ pos-a rds5 tp-100 z9",style:"transform: translateX("+t.activeMenuPosition+"px);box-shadow:0 15px 40px 0 rgba(0,0,0,.15),0 -13px 40px -25px rgba(0,0,0,.2);"},[e("div",{staticClass:"menuArrow"}),t._v(" "),e(r.component,{tag:"component",attrs:{child:r.child,url:r.url}})],1):t._e()],2)])}),0):t._e()]):t._e()]):t._e()])])])},[],!1,null,"645b022a",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(2),l={name:"navbarDesktopT2",components:{userMenu:()=>r.e(0).then(r.bind(null,786)),langSwitcher:()=>r.e(0).then(r.bind(null,785)),currencySwitcher:()=>r.e(0).then(r.bind(null,784)),mainMenu:()=>r.e(0).then(r.bind(null,803)),menuRightBar:()=>r.e(0).then(r.bind(null,798)),autocompleteList:()=>r.e(0).then(r.bind(null,795))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,appMode:this.$store.state.firmAppMode||"0",b2bMultiLang:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bMultiLang||null,b2bCurrencyList:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bCurrencyList||null,HasFixed:!1,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",colorFromScript:"",getAutoCompleteWrap:!1,metaModule:null,googleModule:null,activeMenuIndex:null,activeMenuPosition:0,siteLogo:"",siteFavicon:""}},directives:{outclick:{bind(t,e,r){var o=r.context;t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r),(t===r.target.parentElement||t.contains(r.target.parentElement))&&(o.hiddenIndexesShow=!1)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}}
1,mounted(){this.getMetaModule(),this.getGoogleModule()},beforeDestroy(){this.resizeObserver&&this.resizeObserver.disconnect()},created(){window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.siteFavicon=this.$cookies.get("web_logo")||this.firmSetting.b2bFavicon||this.firmSetting.b2bLogo,this.colorFromScript="#ffffff"},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},500)},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))),e},handleScroll(){this.HasFixed=window.scrollY>=105},getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getMetaModule(){this.firmSetting.metaPixelID&&r.e(6).then(r.bind(null,49)).then(t=>{this.metaModule=t}).catch(t=>{console.error("function 'metaModule' import error:",t)})},getGoogleModule(){this.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(t=>{this.googleModule=t}).catch(t=>{console.error("function 'googleModule' import error:",t)})}}},n=()=>{Object(o.useCssVars)((t,e)=>({"6415590a":t.colorFromScript}))},c=l.setup;l.setup=c?(t,e)=>(n(),c(t,e)):n;var d=l,m=(r(591),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("header",{staticClass:"ww fl pos-r z99 bg-white",attrs:{id:"header"}},[e("aside",{staticClass:"ww fl bdrB"},[e("div",{staticClass:"wrapper mrau pos-r"},[e("ul",{staticClass:"ww fl px10"},[t._l(t.firmSettingMenu.toolbar,function(r,o){var l,n;return["1"==r.status?e("li",{key:o,staticClass:"fl"},[["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+o,staticClass:"fl mx5 py5 fs-12",attrs:{href:t.getMakeUrl(r)}},[t._v(t._s(t.$t(r.name)))]):e("a",{key:o,staticClass:"fl mx5 py5 fs-12",attrs:{href:null!==(l=r.url)&&void 0!==l&&l.startsWith("h")||null!==(n=r.url)&&void 0!==n&&n.startsWith("/")?r.url:"/"+(r.url||"")}},[t._v(t._s(r.name)+" ")])]):"dropdown"==r.id?e("el-dropdown",{key:"dd_"+o,staticClass:"fl",attrs:{size:"medium",placement:"bottom-start",trigger:"click"},scopedSlots:t._u([{key:"dropdown",fn:function(){return[e("el-dropdown-menu",{staticStyle:{width:"200px"}},t._l(r.child,function(r,o){var l,n;return e("a",{key:o,attrs:{href:null!==(l=r.url)&&void 0!==l&&l.startsWith("h")||null!==(n=r.url)&&void 0!==n&&n.startsWith("/")?r.url:"/"+(r.url||"")}},[e("el-dropdown-item",[t._v(t._s(r.name))])],1)}),0)]},proxy:!0}],null,!0)},[e("span",{staticClass:"fl mx5 py5 fs-12 cr-p"},[t._v(t._s(t.$t(r.name))),e("i",{staticClass:"el-icon-arrow-down"})])]):t._e()]}),t._v(" "),t.b2bCurrencyList&&t.b2bCurrencyList.length>0?e("li",{staticClass:"fr"},[e("currencySwitcher")],1):t._e(),t._v(" "),e("li",{staticClass:"fr"},[e("langSwitcher")],1)],2)])]),t._v(" "),[e("nav",{class:"ww fl z99"+(t.HasFixed?" fixed-nav":""),attrs:{id:"navigation"}},[e("div",{staticClass:"wrapper mrau pos-r"},[e("div",{staticClass:"ww p10 dp-b pos-r"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-xs-8 cq-col-sm-6 cq-col-md-6 cq-col-lg-6 dp-f ai-c"},[e("div",{staticClass:"ww fl pos-r rds5 z9"},["2"!=t.appMode?e("div",{staticClass:"ww fl pos-r of-h",style:"height: 44px;margin-top: 0px;border-radius:30px !important;background-color:"+t.firmSetting.b2bColor+"05!important;border:1px solid #ddd;"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b",attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w50 hh fr ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("autocomplete-list",{attrs:{getAutoCompleteWrap:t.getAutoCompleteWrap,completeData:t.completeData,completeLoading:t.completeLoading,query:t.query}}):t._e()]:t._e()],2)]),t._v(" "),e("div",{staticClass:"cq-col-xs-8 cq-col-sm-12 cq-col-md-12 cq-col-lg-12 ta-o"},[e("a",{staticClass:"fl px15",attrs:{href:t.localePath("/"+("2"==t.appMode?"uye":"")),title:"Logo"}},[e("img",{staticClass:"fl rds5 object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})])]),t._v(" "),e("div",{staticClass:"cq-col-xs-8 cq-col-sm-6 cq-col-md-6 cq-col-lg-6 dp-f ai-c"},[e("menuRightBar",{attrs:{"show-search":!1}})],1)])])])]),t._v(" "),e("div",{staticClass:"navMenu ww fl",style:"background-color:"+t.firmSetting.b2bColor+"10!important"},[e("div",{staticClass:"wrapper mrau pos-r"},[e("mainMenu")],1)])]],2)},[],!1,null,"0c9b932c",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bilab",data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,siteLogo:"",appMode:this.$store.state.firmAppMode||"0",userData:null,isShowSearch:!1,drawer:!1,signLogo:!1,HasFixed:!1,get
1SearchShow:!1,query:"",menu:[]}},created(){this.createMenu(),window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},destroyed(){window.removeEventListener("scroll",this.handleScroll)},mounted(){var t=document.getElementById("menu"),e=document.getElementById("burger");e&&e.addEventListener("click",()=>{t.classList.toggle("is-active"),e.classList.toggle("is-active")});var r=document.querySelectorAll(".dropdown");r.forEach(t=>{var e=t.querySelector(".dropdown-toggle");e&&e.addEventListener("click",()=>{var e=document.querySelector(".dropdown-show");o(t),e&&e!=t&&o(e)})});var o=t=>{var e=t.querySelector(".dropdown-content");t.classList.contains("dropdown-show")?(e.removeAttribute("style"),t.classList.remove("dropdown-show")):(e.style.height=e.scrollHeight+"px",t.classList.add("dropdown-show"))};window.addEventListener("resize",()=>{window.innerWidth>992&&(document.querySelectorAll(".dropdown-content").forEach(t=>{t.removeAttribute("style")}),r.forEach(t=>{t.classList.remove("dropdown-show")}))}),window.addEventListener("resize",()=>{window.innerWidth>992&&t.classList.contains("is-active")&&(t.classList.remove("is-active"),e.classList.remove("is-active"))})},methods:{createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,description:t.description||"",dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))),e},HasScroll(t){this.signLogo=t,this.HasFixed=t},handleScroll(){this.HasFixed=window.scrollY>=100},getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()}}},l=(r(592),r(593),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("header",{staticClass:"headerWrap",attrs:{id:"header"}},[e("div",{staticClass:"subWrap mrau px5 pos-r"},[t.$device.isDesktop?e("div",{staticClass:"ww fl",staticStyle:{"border-bottom":"1px solid rgba(255, 255, 255, 0.2)"}},[null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w30 h30 mt5 fr icon-facebook fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w30 h30 mt5 fr icon-twitter-x fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w30 h30 mt5 fr icon-instagram fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w30 h30 mt5 fr icon-youtube fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bYoutube}}):t._e(),t._v(" "),e("div",{staticClass:"h30 fr mx10 my5 p5 pos-r of-h rds30",style:"background-color:"+t.firmSetting.b2bColor+"05!important;border:1px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h20 fl px20 py10 fs-14 fw-b rds30 txt-white",style:"width: calc(100% - 50px);background-color:transparent!important;",attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),e("a",{staticClass:"getSearch h20 fr ta-o cr-p",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-20",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";"})])])]):t._e()]),t._v(" "),e("nav",{class:"ww fl"+(t.HasFixed?" fixed-nav":""),attrs:{id:"navigation"}},[e("div",{staticClass:"navbar subWrap mrau px5 pos-r"},[t.$device.isDesktop?t._e():e("div",{staticClass:"ww fl py5",staticStyle:{"border-bottom":"1px solid rgba(255, 255, 255, 0.2)"}},[t.getSearchShow?e("div",{staticClass:"h40 m5 z1 pos-a tp-0 lf-0 rds5",style:"width: calc( 100% - 10px
1);margin-top: 60px;background-color:#222;border:1px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"araInput h40 fl p10 fs-14 fw-b rds30",style:"width:calc(100% - 40px);background-color:transparent!important;",attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),e("a",{staticClass:"w90 h36 mrau mt10 ta-o pos-a tp-100 bg-error txt-white rds cr-p",attrs:{title:"Kapat"},on:{click:function(e){t.getSearchShow=!1}}},[t._v("Kapat")]),t._v(" "),e("a",{staticClass:"w36 h40 fr ta-o cr-p",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-20",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";"})])]):t._e(),t._v(" "),e("a",{staticClass:"fl my5 ta-o",attrs:{href:t.localePath("/")}},[e("img",{staticClass:"h40 fl my10 rds5 object-contain z1 pos-a tp-0 lf-0",attrs:{height:"40",src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})]),t._v(" "),t._m(0),t._v(" "),e("a",{staticClass:"w36 h50 fr ta-o cr-p",attrs:{title:t.$t("find")},on:{click:function(e){t.getSearchShow=!0}}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-20",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";"})]),t._v(" "),null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w36 h50 fr icon-facebook fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w36 h50 fr icon-twitter-x fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w36 h50 fr icon-instagram fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w36 h50 fr icon-youtube fs-16 ta-o",style:"color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()]),t._v(" "),t.$device.isDesktop?e("a",{staticClass:"h60 fl ta-o",attrs:{href:t.localePath("/")}},[e("img",{staticClass:"h40 fl my10 rds5 object-contain z1 pos-a tp-0 lf-0",attrs:{height:"40",src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})]):t._e(),t._v(" "),t.menu.length>0?e("div",{staticClass:"navbar-block fr",attrs:{id:"menu"}},[e("ul",{staticClass:"menu txt-white"},t._l(t.menu,function(r,o){return e("li",{key:o+"_ddm",staticClass:"menu-item",class:r.child?"dropdown":""},[r.child?e("span",{staticClass:"dropdown-toggle menu-link"},[t._v("\n\t\t\t\t\t\t\t\t\t  "+t._s(r.title)+"\n\t\t\t\t\t\t\t\t\t  "),e("span",{staticClass:"downArrow ta-o"},[e("svg",{attrs:{fill:"#"+(t.$device.isDesktop?"ffffff":"000000"),"enable-background":"new 0 0 32 32",viewBox:"0 0 32 32",width:"12px"}},[e("path",{attrs:{d:"M14.77,23.795L5.185,14.21c-0.879-0.879-0.879-2.317,0-3.195l0.8-0.801c0.877-0.878,2.316-0.878,3.194,0  l7.315,7.315l7.316-7.315c0.878-0.878,2.317-0.878,3.194,0l0.8,0.801c0.879,0.878,0.879,2.316,0,3.195l-9.587,9.585  c-0.471,0.472-1.104,0.682-1.723,0.647C15.875,24.477,15.243,24.267,14.77,23.795z"}})])])]):e("a",{staticClass:"menu-link",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]),t._v(" "),r.child?e("div",{staticClass:"dropdown-content"},[e("div",{staticClass:"cq-row"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24",style:"background-color:rgba(0, 0, 0, 0.9)!important"},[e("div",{staticClass:"ww fl p30 ta-l"},[e("span",{staticClass:"ww fl mb30 txt-white fs-21 fw-b"},[t._v(t._s(r.title))]),t._v(" "),e("p",{staticClass:"ww fl mb10 txt-white fs-15 fw-6"},[t._v(t._s(r.description))])])]),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-24",style:"background-color:"+(t.$device.isDesktop?t.firmSetting.b2bColor:"#121212")+"!important"},[e("div",{staticClass:"ww fl p30"},[e("div",{staticClass:"cq-row"},t._l(r.child,function(r,i){return e("div",{key:"ddm_c_"+i,staticClass:"p5 ta-l cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-12"},[r.id&&"dropdown"!=r.id&&["yazar","uretici","kategori","etiket","sayfa"].includes(r.url)?e("a",{key:"tag_"+i,staticClass:"ww fl ln-28 fs-13 fw-6 txt-white",staticStyle:{"border-bottom":"1px solid #ffc933"},attrs:{href:t.getMakeUrl(r),title:t.$t(r.name)}},[t._v(t._s(t.$t(r.name)))]):"dropdown"!=r.id?e("a",{key:i,staticClass:"ww fl ln-28 fs-13 fw-6 txt-white",staticStyle:{"border-bottom":"1px solid #ffc933"},attrs:{href:r.url,title:t.$t(r.name)}},[t._v(t._s(t.$t(r.name)))]):t._e()])}),0)])])])]):t._e()])}),0)]):t._e()])])])},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"w40 h50 fr ta-o"},[e("div",{staticClass:"burger",attrs:{id:"burger"}},[e("span",{staticClass:"burger-line"}),t._v(" "),e("span",{staticClass:"burger-line"}),t._v(" "),e("span",{staticClass:"burger-line"})])])}],!1,null,"77558fe7",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"navbarDesktopT4",components:{mainMenu:()=>r.e(0).then(r.bind(null,803)),userMenu:()=>r.e(0).then(r.bind(null,786)),menuRightBar:()=>r.e(0).then(r.bind(null,798)),autocompleteList:()=>r.e(0).then(r.bind(null,795))},data(){return{activeMenuIndex:null,activeMenuPosition:0,drawer:!1,allSetting:this.$store.state.firm,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,showSearchInput:!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],sliderActiveIndex:0,metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList,HasFixed:!1,siteLogo:"",siteFavicon:""}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null}},mounted(){var t=document.getElementById("headerWrap");document.getElementById("headerPlaceholder")&&(document.getElementById("headerPlaceholder").style.height=t.offsetHeight+"px")},created(){this.colorFromScript="#ffffff",window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.siteFavicon=this.$cookies.get("web_logo")||this.firmSetting.b2bFavicon||this.firmSetting.b2bLogo,this.$nuxt.$on("getShowSearchInput",t=>{this.showSearchInput=t})},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{getSearchClear(){this.completeData=[],this.showSearchInput=!1,this.completeLoading=!1,this.completeCount=0,this.completeData=null,this.completeTime=null,this.query="",this.getAutoCompleteWrap=!1},getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterS
1ort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '".concat(t,"');\n            fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:t=>t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){dataLayer.push(arguments);}\n              gtag('js', new Date());\n\n              gtag('config', '".concat(t,"');\n            ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n              new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n              'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n              })(window,document,'script','dataLayer','".concat(t,"');")}},handleScroll(){this.HasFixed=window.scrollY>=105}}},d=c,m=(r(594),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"ww fl z99 bg-white",class:t.HasFixed?"pos-f tp-0 ta-o itemShadow":"pos-r",attrs:{id:"headerWrap"}},[e("div",{staticClass:"wrapper mrau px10 z99 pos-r"},[t.HasFixed?e("div",{staticClass:"navMenu dp-f jc-sb ai-c z99"},[e("a",{attrs:{href:"/"}},[e("img",{staticClass:"h50 fl object-contain z1",attrs:{src:t.siteFavicon,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})]),t._v(" "),t.HasFixed&&t.$device.isDesktop?e("div",{staticClass:"ww px10 dp-b pos-r"},[e("mainMenu")],1):t._e()]):e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-6"},[e("a",{attrs:{href:"/"}},[e("img",{staticClass:"fl rds5 object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})])]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"cq-col-lg-14 cq-col-md-14 cq-col-sm-14 cq-col-xs-12",class:t.$device.isDesktop?"ta-o":""},[e("div",{staticClass:"ww px10 dp-b pos-r"},[e("mainMenu")],1)]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-6 ta-o"},[e("menuRightBar")],1)])]),t._v(" "),t.showSearchInput?e("div",{staticClass:"ww h100 pos-a tp-100 lf-0 px10 ta-o bg-white z999"},[e("div",{staticClass:"wrapper-64em mrau pos-r"},["2"!=t.appMode?e("div",{staticClass:"ww fl p5 pos-r of-h rds30",style:"height: 54px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 150px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})]),t._v(" "),e("span",{staticClass:"w40 h40 fr rds30 ta-o cr-p txt-error",attrs:{title:t.$t("Sil")},on:{click:t.getSearchClear}},[e("i",{staticClass:"ww hh ta-o el-icon-close fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("autocomplete-list",{attrs:{getAutoCompleteWrap:t.getAutoCompleteWrap,completeData:t.completeData}}):t._e()]:t._e()],2)]):t._e()])])},[],!1,null,"294df940",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
1(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"headerWrap",props:{logoColor:{type:String,default:"#000"}},components:{megaMenu:()=>r.e(0).then(r.bind(null,334)),MainMenu:()=>r.e(0).then(r.bind(null,796))},data(){return{activeMenuIndex:null,activeMenuPosition:0,drawer:!1,allSetting:this.$store.state.firm,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,showSearchInput:!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",basketCount:this.$cookies.get("basketCount")||0,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],sliderActiveIndex:0,metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,menu:[],HasFixed:!1,pageColor:this.logoColor}},directives:{outclick:{bind(t,e){t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null}},mounted(){var t=document.getElementById("headerWrap");document.getElementById("headerPlaceholder")&&(document.getElementById("headerPlaceholder").style.height=t.offsetHeight+"px"),window.addEventListener("scroll",()=>{this.HasFixed=window.scrollY>60,this.HasFixed?this.pageColor="#fff":this.pageColor=this.logoColor})},created(){this.createMenu(),this.$nuxt.$on("basketCount",t=>{this.basketCount=t})},methods:{toggleDropdown(t,e,r){var rect=t.target.getBoundingClientRect();this.activeMenuPosition=({dropdownMenu:320,megaMenu:600}[r.component||"dropdownMenu"]-Math.ceil(rect.width))/2*-1||0,this.activeMenuIndex=e},closeDropdown(){this.activeMenuIndex=null},GetClose(t){this.drawer=t},getSearchClear(){this.completeData=[],this.showSearchInput=!1,this.completeLoading=!1,this.completeCount=0,this.completeData=null,this.completeTime=null,this.query="",this.getAutoCompleteWrap=!1},getSearch(){this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query)))},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterS
1ort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '".concat(t,"');\n            fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:t=>
1t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){dataLayer.push(arguments);}\n              gtag('js', new Date());\n\n              gtag('config', '".concat(t,"');\n            ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n              new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n              'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n              })(window,document,'script','dataLayer','".concat(t,"');")}}}},d=c,m=r(0),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"ww fl",attrs:{id:"headerPlaceholder"}}),t._v(" "),e("div",{staticClass:"ww fl px15 z99",class:t.HasFixed?"pos-f tp-0 bg-black z99 ta-o":"pos-f",attrs:{id:"headerWrap"}},[t.showSearchInput?e("div",{staticClass:"ww hh px10 pos-a tp-0 lf-0 ta-o bg-white z999"},[e("div",{staticClass:"wrapper-64em mrau pos-r"},["2"!=t.appMode?e("div",{staticClass:"ww fl p5 pos-r of-h rds30",style:"height: 54px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 150px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})]),t._v(" "),e("span",{staticClass:"w40 h40 fr rds30 ta-o cr-p txt-error",attrs:{title:t.$t("Sil")},on:{click:t.getSearchClear}},[e("i",{staticClass:"ww hh ta-o el-icon-close fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("div",{staticClass:"mt5 mx20 pos-a tp-100 lf-0 bg-white rds5 z9",staticStyle:{width:"calc(100% - 40px)","box-shadow":"0 0 7px 1px #ececec"}},[e("div",{staticClass:"ww fl bdrT ofy-a",staticStyle:{height:"420px"}},[t._l(t.completeData,function(r,o){var l,n;return e("a",{key:o,staticClass:"acItem ww fl p10 pos-r",staticStyle:{"border-bottom":"1px solid #f1f1f1"},attrs:{href:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"fl",staticStyle:{width:"50px",height:"60px"}
1,attrs:{src:r.product_json.files[0].fl_url,fit:"contain","preview-src-list_":[r.product_json.files[0].fl_url],"append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"}),t._v(" "),e("div",{staticClass:"fl",staticStyle:{width:"calc( 100% - 50px)"}},[e("p",{staticClass:"ww fl ta-l ln-17 fs-13 fw-b pos-r"},[t._v(" "+t._s("0"==(null===(l=t.allSetting.settings)||void 0===l?void 0:l.b2bSearchPrdVariantChildListStatus)&&(null===(n=r.product_json)||void 0===n?void 0:n.variant_master_stokcins)||r.product_json.stokcins))]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("div",{staticClass:"ww fl of-h ta-l to-e ws-n pos-r txt-2 fs-12 ln-15"},[e("router-link",{attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici")),title:r.product_json.uretici.ureticiad}},[t._v("\n                              "+t._s(r.product_json.uretici.ureticiad)+"\n                            ")])],1)]:e("span",{staticClass:"ww fl of-h to-e ws-n pos-r fs-12 ln-15"},[t._v("-")])],t._v(" "),t.showPrice?e("div",{staticClass:"ww fl"},[(r.product_json.kisk||0)>0?e("div",{staticClass:"ww fl"},[e("p",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl ta-l ln-17 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-9 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                              "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                            ")])]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()]):e("div",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl mt5 ta-l ln-16 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl ln-16 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                            "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                          ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()])]):t._e()],2)],1)}),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"ww fl px10 bdrT"},[e("a",{staticClass:"fl ln-30 txt-info fs-14 cr-p",on:{click:t.getSearch}},[t._v("\n                      "+t._s(t.$t("Aranan İfade"))+" : \n                      "),e("span",{staticClass:"fw-b"},[t._v(t._s(t.query))]),t._v("\n                      "+t._s(t.$t("Tüm sonuçları göster"))+"\n                    ")])])],2)]):t._e()]:t._e()],2)]):t._e(),t._v(" "),e("div",{staticClass:"wrapper mrau z99 pos-r",class:t.HasFixed?"":t.$device.isDesktop?"my10 pt30 pb10":""},[t.HasFixed?t._e():e("div",{staticClass:"cq-row cq-gap-20"},[t.$device.isDesktop?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"}):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-12",class:t.$device.isDesktop?"ta-o":""},[e("a",{attrs:{href:"/"}},[e("svg",{style:"height:"+(t.$device.isDesktop?"99px":"40px;margin-top:5px")+";enable-background:new 0 0 290 150;",attrs:{fill:t.pageColor,x:"0px",y:"0px",viewBox:"0 0 290 150"}},[e("path",{attrs:{d:"M94,109.1H83.4V6.7H0l0.2,102.6l13.1,0V37.5h35.8l14.9,14.9v41.5l-15.3,15.3h34.5v1.8h1.2v29.9h-1.2v1.8H94\n                    c10.6,0,16.9-6.3,16.9-16.8c0-5.2-1.6-9.4-4.5-12.3C103.6,110.6,99.3,109.1,94,109.1z M109,126c0,9.3-5.6,14.9-15,14.9h-7.7v-29.9\n                    H94c4.7,0,8.4,1.3,11,4C107.7,117.5,109,121.3,109,126z M119.8,109.1h19.9v3h-1.8v-1.2h-14.9v13.9h14.9v-1.2h1.8v4.2h-1.8v-1.2\n                    h-14.9v14.2h14.9v-1.2h1.8v3h-19.9v-1.8h1.2v-29.9h-1.2V109.1z M163,130.2l7.6,10.6h2.2v1.8h-3.4l-9.7-13.6h-0.6l0.8-0.8l0.1,0.2\n                    h0.8c2.3,0,6.2,0,8.2-2c1.9-2,2.7-4.1,2.7-6.8c0-3-1.5-5.9-3.8-7.4c-1.9-1.2-4.2-1.3-8.1-1.3H154v31.8h-3.2v-1.8h1.2v-29.9h-1.2\n                    v-1.8h9c5.4,0,7.4,0.5,8.9,1.4c2.8,1.4,4.9,5.2,4.9,9c0.1,2.4-0.7,5-2.2,6.9C169.2,129.6,166.4,130.1,163,130.2z M198,128.1H218\n                    l0,0.3c-0.2,1.7-0.7,3.4-1.5,5c-2.9,6-9.3,9.8-16.4,9.8c-9.9,0-17.4-7.5-17.4-1
17.4c0-9.9,7.5-17.4,17.4-17.4c6.3,0,12.3,3.2,15.2,8\n                    l0.3,0.5h-2.3l-0.1-0.1c-1.3-1.7-2.9-3.1-4.5-4.2c-2.5-1.6-5.4-2.4-8.6-2.4c-8.7,0-15.5,6.8-15.5,15.5s6.8,15.5,15.5,15.5\n                    c3.8,0,7.5-1.3,10.5-3.7c2.6-2.1,4.5-5,5.1-7.8H198V128.1z M242.7,109.3l-0.1-0.2h-2.1l-13.6,31.8h-1.6v1.8h2.9l4.9-11.5H250\n                    l4.9,11.5h2.9v-1.8h-1.6L242.7,109.3z M249.1,129.4H234l7.5-17.9L249.1,129.4z M234.9,107.2h-3.1l9-5.8h1.4l9.1,5.8h-3.1l-6.6-4.2\n                    L234.9,107.2z M288.8,110.9v29.9h1.2v1.8h-4.4v-1.8h1.2v-14.2H269v14.2h1.2v1.8h-4.4v-1.8h1.2v-29.9h-1.2v-1.8h4.4v1.8H269v13.9\n                    h17.8v-13.9h-1.2v-1.8h4.4v1.8H288.8z"}})])])]),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-12"},[e("div",{staticClass:"ww fl",class:t.$device.isDesktop?"ta-o":"p10 dp-f jc-sb ai-c"},[t.$device.isDesktop?t._e():e("a",{staticClass:"NavMenuIcon w32 h40 fr m5 ta-o fs-24 pos-r z1 cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"el-icon-menu txt-black"})]),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",style:"color:"+t.pageColor,on:{click:function(e){t.showSearchInput=!0}}}),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-user fs-22 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/auth/giris")}}),t._v(" "),"2"!=t.appMode?e("el-badge",{attrs:{value:t.basketCount,type:"danger"}},[e("a",{staticClass:"w32 h30 mx5 icon-basket fs-22 ta-o",style:"color:"+t.pageColor,attrs:{href:t.localePath("/sepet")}})]):t._e()],1)])]),t._v(" "),t.menu.length>0?e("div",{staticClass:"navMenu z99",class:t.HasFixed?"dp-f jc-sb ai-c":"ww fl pt10 ta-o"},[t.HasFixed?e("a",{attrs:{href:"/"}},[e("svg",{style:"height:63px;enable-background:new 0 0 290 150;",attrs:{fill:t.pageColor,x:"0px",y:"0px",viewBox:"0 0 290 150"}},[e("path",{attrs:{d:"M94,109.1H83.4V6.7H0l0.2,102.6l13.1,0V37.5h35.8l14.9,14.9v41.5l-15.3,15.3h34.5v1.8h1.2v29.9h-1.2v1.8H94\n                  c10.6,0,16.9-6.3,16.9-16.8c0-5.2-1.6-9.4-4.5-12.3C103.6,110.6,99.3,109.1,94,109.1z M109,126c0,9.3-5.6,14.9-15,14.9h-7.7v-29.9\n                  H94c4.7,0,8.4,1.3,11,4C107.7,117.5,109,121.3,109,126z M119.8,109.1h19.9v3h-1.8v-1.2h-14.9v13.9h14.9v-1.2h1.8v4.2h-1.8v-1.2\n                  h-14.9v14.2h14.9v-1.2h1.8v3h-19.9v-1.8h1.2v-29.9h-1.2V109.1z M163,130.2l7.6,10.6h2.2v1.8h-3.4l-9.7-13.6h-0.6l0.8-0.8l0.1,0.2\n                  h0.8c2.3,0,6.2,0,8.2-2c1.9-2,2.7-4.1,2.7-6.8c0-3-1.5-5.9-3.8-7.4c-1.9-1.2-4.2-1.3-8.1-1.3H154v31.8h-3.2v-1.8h1.2v-29.9h-1.2\n                  v-1.8h9c5.4,0,7.4,0.5,8.9,1.4c2.8,1.4,4.9,5.2,4.9,9c0.1,2.4-0.7,5-2.2,6.9C169.2,129.6,166.4,130.1,163,130.2z M198,128.1H218\n                  l0,0.3c-0.2,1.7-0.7,3.4-1.5,5c-2.9,6-9.3,9.8-16.4,9.8c-9.9,0-17.4-7.5-17.4-17.4c0-9.9,7.5-17.4,17.4-17.4c6.3,0,12.3,3.2,15.2,8\n                  l0.3,0.5h-2.3l-0.1-0.1c-1.3-1.7-2.9-3.1-4.5-4.2c-2.5-1.6-5.4-2.4-8.6-2.4c-8.7,0-15.5,6.8-15.5,15.5s6.8,15.5,15.5,15.5\n                  c3.8,0,7.5-1.3,10.5-3.7c2.6-2.1,4.5-5,5.1-7.8H198V128.1z M242.7,109.3l-0.1-0.2h-2.1l-13.6,31.8h-1.6v1.8h2.9l4.9-11.5H250\n                  l4.9,11.5h2.9v-1.8h-1.6L242.7,109.3z M249.1,129.4H234l7.5-17.9L249.1,129.4z M234.9,107.2h-3.1l9-5.8h1.4l9.1,5.8h-3.1l-6.6-4.2\n                  L234.9,107.2z M288.8,110.9v29.9h1.2v1.8h-4.4v-1.8h1.2v-14.2H269v14.2h1.2v1.8h-4.4v-1.8h1.2v-29.9h-1.2v-1.8h4.4v1.8H269v13.9\n                  h17.8v-13.9h-1.2v-1.8h4.4v1.8H288.8z"}})])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"ww px10 dp-b pos-r"},[t.menu.length>0?e("div",{directives:[{name:"outclick",rawName:"v-outclick",value:t.closeDropdown,expression:"closeDropdown"}],staticClass:"ww fl pos-r",style:"display:flex;justify-content:"+t.firmSetting.menuKonum+";"},t._l(t.menu,function(r,o){return e("div",{key:o},[e("div",{staticClass:"pos-r z9"},[r.attributes?[r.attributes.to?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.to}},[t._v(t._s(r.title))]):r.attributes.href?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]):t._e()]:e("span",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",on:{click:function(e){return t.toggleDropdown(e,o,r)}}},[t._v(t._s(r.title))]),t._v(" "),t.activeMenuIndex==o?e("div",{staticClass:"bg-white of-h_ pos-a rds5 tp-100 z9",style:"transform: translateX("+t.activeMenuPosition+"px);box-shadow:0 15px 40px 0 rgba(0,0,0,.15),0 -13px 40px -25px rgba(0,0,0,.2);"},[e("div",{staticClass:"menuArrow"}),t._v(" "),e(r.component,{tag:"component",attrs:{child:r.child,url:r.url}})],1):t._e()],2)])}),0):t._e()]):t._e(),t._v(" "),t.HasFixed?e("div",{staticClass:"fl ta-o"},[e("div",{staticClass:"ww fr"},[!t.firmSetting.b2bHideLoginGiris||t.firmSetting.b2bShowUserLoginGiris||t.$cookies.get("userName")?e("div",{staticClass:"fr mt10 dp-f"},[t.$device.isDesktop?t._e():e("a",{staticClass:"NavMenuIcon w32 h40 fr m5 ta-o fs-24 pos-r z1 cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"el-icon-menu"})]),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",on:{click:function(e){t.showSearchInput=!0}}}),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-user fs-20 ta-o",attrs:{href:t.localePath("/auth/giris")}}),t._v(" "),"2"!=t.appMode?e("el-badge",{attrs:{value:t.basketCount,type:"danger"}},[e("a",{staticClass:"w32 h30 mx5 icon-basket fs-22 ta-o",attrs:{href:t.localePath("/sepet")}})]):t._e()],1):e("div",{staticClass:"fr mt10 dp-f"},[null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w32 h40 mx10-hover icon-facebook fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w32 h40 mx10-hover icon-twitter-x fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w32 h40 mx10-hover icon-instagram fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w32 h40 mx10-hover icon-youtube fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()])])]):t._e()]):t._e()])]),t._v(" "),e("MainMenu",{attrs:{GetOpen:t.drawer},on:{GetClose:t.GetClose}})],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={name:"headerWrap",props:{logoColor:{type:String,default:"#000"}},components:{userMenu:()=>r.e(0).then(r.bind(null,786)),mainMenu:()=>r.e(0).then(r.bind(null,803))},data(){return{activeMenuIndex:null,activeMenuPosition:0,drawer:!1,allSetting:this.$store.state.firm,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,showSearchInput:!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",basketCount:this.$cookies.get("basketCount")||0,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],sliderActiveIndex:0,metaPixelID:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaPixelID,googleAnalyticsID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleAnalyticsID,googleTagManagerID:this.$store.state.firm.settings.b2bUiSettings.settings.data.googleTagManagerID,mainColor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bColor,jsCodeHeadArea:this.$store.state.firm.settings.b2bUiSettings.settings.data.jsCodeHeadArea,metaTagList:this.$store.state.firm.settings.b2bUiSettings.settings.data.metaTagList,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,menu:[],HasFixed:!1,pageColor:this.logoColor,siteLogo:"",hiddenIndexes:[],resizeObserver:null,hiddenIndexesShow:!1}},directives:{outclick:{bind(t,e){t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},head(){if(this.headObject)return this.headObject},computed:{headObject(){var t={},e=[],r=[],o=[];if(this.jsCodeHeadArea&&(e=this.jsCodeHeadArea),this.metaPixelID){var n=this.getMetaPixelScript(this.metaPixelID);e=[...e,n];var c={innerHTML:'<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id='.concat(this.metaPixelID,'&ev=PageView&noscript=1"/>'),body:!0};r.push(c)}if(this.googleAnalyticsID){var d=this.getGoogleAnalyticsScripts(this.googleAnalyticsID);e=[...e,...d]}if(this.googleTagManagerID){var m=this.getGoogleTagManagerScript(this.googleTagManagerID);e=[...e,m];var h={innerHTML:'<iframe src="https://www.googletagmanager.com/ns.html?id='.concat(this.googleTagManagerID,'" height="0" width="0" style="display:none;visibility:hidden"></iframe>'),body:!0};r.push(h)}if(this.metaTagList)try{var f=JSON.parse(this.metaTagList);f.length>0&&(o=f)}catch(t){console.error("Meta tag list parsing error:",t)}return e.length>0&&(t={script:e,__dangerouslyDisableSanitizers:["script","noscript"]}),o.length>0&&(t=l(l({},t),{},{meta:o})),r.length>0&&(t=l(l({},t),{},{noscript:r})),Object.keys(t).length>0?l({},t):null},getLoginButtons(){return'<a href="'.concat(this.localePath("/"+(this.$cookies.get("web_login_access_token")?"uye":"auth/giris")),'" class="w32 h40 mx5 icon-user fs-22 ta-o" title="').concat(this.$t("login"),'"></a>')}},mounted(){var t=document.getElementById("headerWrap");document.getElementById("headerPlaceholder")&&(document.getElementById("headerPlaceholder").style.height=t.offsetHeight+"px"),window.addEventListener("scroll",()=>{this.HasFixed=window.scrollY>200,this.HasFixed?this.pageColor="#fff":this.pageColor=this.logoColor}),this.setupResizeObserver()},beforeDestroy(){this.resizeObserver&&this.resizeObserver.disconnect()},created(){this.createMenu(),window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.colorFromScript="#ffffff",this.$nuxt.$on("basketCount",t=>{this.basketCount=t})},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{toggleMenu(t){this.menu.slice(this.menu.length-this.hiddenIndexes.length,this.menu.length).forEac
1h((e,i)=>{e.showChild=i===t&&!e.showChild}),this.menu=[...this.menu]},hiddinListShow(){console.log("hiddinListShow"),this.menu.forEach(t=>{t.showChild=!1}),this.hiddenIndexesShow=!this.hiddenIndexesShow},setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{this.safeCheckOverflow()}),this.$refs.nav&&this.resizeObserver.observe(this.$refs.nav)},safeCheckOverflow(){this.$refs.nav&&this.$refs.menu&&this.$nextTick(()=>{requestAnimationFrame(()=>{var t=this.$refs.nav.getBoundingClientRect(),e=Array.from(this.$refs.menu.children),r=[];e.forEach((e,o)=>{e.getBoundingClientRect().right>t.right&&r.push(o)}),this.hiddenIndexes=r})})},toggleDropdown(t,e,r){var rect=t.target.getBoundingClientRect();this.activeMenuPosition=({dropdownMenu:320,megaMenu:600}[r.component||"dropdownMenu"]-Math.ceil(rect.width))/2*-1||0,this.activeMenuIndex=e},closeDropdown(){this.activeMenuIndex=null},GetClose(t){this.drawer=t},getSearchClear(){this.completeData=[],this.showSearchInput=!1,this.completeLoading=!1,this.completeCount=0,this.completeData=null,this.completeTime=null,this.query="",this.getAutoCompleteWrap=!1},getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.completeData=[],this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e}
1,createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMetaPixelScript:t=>t?{innerHTML:"!function(f,b,e,v,n,t,s)\n            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n            n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n            n.queue=[];t=b.createElement(e);t.async=!0;\n            t.src=v;s=b.getElementsByTagName(e)[0];\n            s.parentNode.insertBefore(t,s)}(window, document,'script',\n            'https://connect.facebook.net/en_US/fbevents.js');\n            fbq('init', '".concat(t,"');\n            fbq('track', 'PageView');")}:{},getGoogleAnalyticsScripts:t=>t?[{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)},{innerHTML:"\n              window.dataLayer = window.dataLayer || [];\n              function gtag(){dataLayer.push(arguments);}\n              gtag('js', new Date());\n\n              gtag('config', '".concat(t,"');\n            ")}]:[],getGoogleTagManagerScript(t){if(t)return{innerHTML:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n              new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n              'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n              })(window,document,'script','dataLayer','".concat(t,"');")}}}},d=c,m=(r(595),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl z99 pos-r",class:t.HasFixed?"pos-f tp-0 ta-o itemShadow bg-white":"",staticStyle:{"margin-bottom":"-100%"},attrs:{id:"headerWrap"}},[t.showSearchInput?e("div",{staticClass:"ww hh pos-f tp-0 lf-0 px10 ta-o bg-white z999"},[e("div",{staticClass:"wrapper-64em mrau pos-r"},["2"!=t.appMode?e("div",{staticClass:"ww fl p5 pos-r of-h rds30",style:"height: 54px;background-color:"+t.firmSetting.b2bColor+"05!important;border:2px solid "+t.firmSetting.b2bColor+";"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"searchInput",staticClass:"araInput h40 fl px20 py10 fs-14 fw-b rds30",staticStyle:{width:"calc(100% - 150px)","background-color":"transparent!important"},attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t.completeLoading?e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w40 h40 fr rr of-h ta-o"}):e("span",{staticClass:"getSearch w80 h40 fr rds30 ta-o cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})]),t._v(" "),e("span",{staticClass:"w40 h40 fr rds30 ta-o cr-p txt-error",attrs:{title:t.$t("Sil")},on:{click:t.getSearchClear}},[e("i",{staticClass:"ww hh ta-o el-icon-close fs-25"})])]):t._e(),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("div",{staticClass:"mt5 mx20 pos-a tp-100 lf-0 bg-white rds5 z9",staticStyle:{width:"calc(100% - 40px)","box-shadow":"0 0 7px 1px #ececec"}},[e("div",{staticClass:"ww fl bdrT ofy-a",staticStyle:{height:"420px"}},[t._l(t.completeData,function(r,o){var l,n;return e("a",{key:o,staticClass:"acItem ww fl p10 pos-r",staticStyle:{"border-bottom":"1px solid #f1f1f1"},attrs:{href:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"fl",staticStyle:{width:"50px",height:"60px"}
1,attrs:{src:r.product_json.files[0].fl_url,fit:"contain","preview-src-list_":[r.product_json.files[0].fl_url],"append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"}),t._v(" "),e("div",{staticClass:"fl",staticStyle:{width:"calc( 100% - 50px)"}},[e("p",{staticClass:"ww fl ta-l ln-17 fs-13 fw-b pos-r"},[t._v(" "+t._s("0"==(null===(l=t.allSetting.settings)||void 0===l?void 0:l.b2bSearchPrdVariantChildListStatus)&&(null===(n=r.product_json)||void 0===n?void 0:n.variant_master_stokcins)||r.product_json.stokcins))]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("div",{staticClass:"ww fl of-h ta-l to-e ws-n pos-r txt-2 fs-12 ln-15"},[e("router-link",{attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici")),title:r.product_json.uretici.ureticiad}},[t._v("\n                        "+t._s(r.product_json.uretici.ureticiad)+"\n                      ")])],1)]:e("span",{staticClass:"ww fl of-h to-e ws-n pos-r fs-12 ln-15"},[t._v("-")])],t._v(" "),t.showPrice?e("div",{staticClass:"ww fl"},[(r.product_json.kisk||0)>0?e("div",{staticClass:"ww fl"},[e("p",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl ta-l ln-17 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-9 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                        "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                      ")])]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()]):e("div",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl mt5 ta-l ln-16 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl ln-16 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                      "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n                    ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()])]):t._e()],2)],1)}),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"ww fl px10 bdrT"},[e("a",{staticClass:"fl ln-30 txt-info fs-14 cr-p",on:{click:t.getSearch}},[t._v("\n                "+t._s(t.$t("Aranan İfade"))+" : \n                "),e("span",{staticClass:"fw-b"},[t._v(t._s(t.query))]),t._v("\n                "+t._s(t.$t("Tüm sonuçları göster"))+"\n              ")])])],2)]):t._e()]:t._e()],2)]):t._e(),t._v(" "),e("div",{staticClass:"wrapper mrau px15 z99 pos-r"},[t.HasFixed?t._e():e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-6"},[e("a",{attrs:{href:"/"}},[e("img",{staticClass:"fl rds5 object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})])]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-12",class:t.$device.isDesktop?"ta-o":""},[e("div",{staticClass:"ww px10 dp-b pos-r"},[t.menu.length>0?e("mainMenu"):t._e()],1)]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-6 ta-o"},[e("div",{staticClass:"ww fl",class:t.$device.isDesktop?"ta-o":"p10 dp-f jc-sb ai-c"},[t.$device.isDesktop?t._e():e("a",{staticClass:"NavMenuIcon w32 h40 fr m5 ta-o fs-24 pos-r z1 cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"el-icon-menu txt-black"})]),t._v(" "),e("a",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",on:{click:function(e){t.showSearchInput=!0}}}),t._v(" "),e("div",{staticClass:"fr pos-r",domProps:{innerHTML:t._s(t.getLoginButtons)}}),t._v(" "),"2"!=t.appMode?e("el-badge",{attrs:{value:t.basketCount,type:"danger"}},[e("a",{staticClass:"w32 h30 mx5 icon-basket fs-22 ta-o",attrs:{href:t.localePath("/sepet")}})]):t._e()],1)])]),t._v(" "),t.menu.length>0?e("div",{staticClass:"navMenu z99",class:t.HasFixed?"dp-f jc-sb ai-c":"ww fl pt10 ta-o"},[t.HasFixed?e("a",{attrs:{href:"/"}},[e("img",{staticClass:"h50 fl object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"},on:{error:function(e){e.target.src=t.$store.state.noPhoto}}})]):t._e(),t._v(" "),t.HasFixed&&t.$device.isDesktop?e("div",{staticClass:"ww px10 dp-b pos-r"},[e("mainMenu")],1):t._e()]):t._e()])])},[],!1,null,"7180e8a2",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(122),l={name:"navbarMobile",components:{MainMenu:()=>r.e(0).then(r.bind(null,796)),menuRightBar:()=>r.e(0).then(r.bind(null,798)),autocompleteList:()=>r.e(0).then(r.bind(null,795))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",appMode:this.$store.state.firmAppMode||"0",userData:null,isShowSearch:!1,drawer:!1,HasFixed:!1,query:"",cameraShow:!1,isCameraLive:!1,cameraBarcodeScanner:new o.BrowserMultiFormatReader,isMediaStreamAPISupported:!1,selectedDeviceId:"",cameraLoading:!1,showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,getAutoCompleteWrap:!1,metaModule:null,googleModule:null}},created(){window.addEventListener("scroll",this.handleScroll),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.$nuxt.$on("getShowSearchInput",t=>{this.isShowSearch=t,this.$nextTick(()=>{this.$refs.siteArama.focus()})})}
1,mounted(){this.getMetaModule(),this.getGoogleModule(),this.isMediaStreamAPISupported=navigator&&navigator.mediaDevices&&"enumerateDevices"in navigator.mediaDevices},destroyed(){window.removeEventListener("scroll",this.handleScroll)},methods:{getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&e.getList(t.target.value),e.getAutoCompleteWrap=!0},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},completeClose(){this.completeLoading=!1,this.completeData=null,this.completeTime=null,this.completeCount=0},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount;var e=this.firmSetting,r=e.metaPixelID,o=e.googleAnalyticsID,l=e.metaConversionAccessToken;if(r){var n=l?{metaPixelID:r,metaConversionAccessToken:l}:null;this.metaModule.metaSearch(this.completeData,"TRY",text,n)}o&&this.googleModule.googleSearch(this.completeData,"TRY",text)}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getCameraShow(){if(this.cameraShow=!0,this.cameraLoading=!0,!this.isMediaStreamAPISupported)throw new o.Exception("Media Stream API is not supported");this.getCameraStart()},getCameraStart(){this.cameraBarcodeScanner.listVideoInputDevices().then(t=>{var e=t[t.length-1];this.selectedDeviceId=e.deviceId,this.$refs.cameraBarcodeScannerItem.oncanplay=()=>{this.isCameraLive=!0,this.cameraLoading=!1}}),this.cameraBarcodeScanner.decodeFromVideoDevice(this.selectedDeviceId,"video",(t,e)=>{t&&(this.query=t.text,this.getCameraReset(),this.getSearch()),!e||e instanceof o.Exception||console.error(e)})},getCameraReset(){this.$refs.cameraBarcodeScannerItem.srcObject.getTracks().forEach(track=>track.stop()),this.cameraShow=!1,this.isCameraLive=!1,this.cameraLoading=!1},GetClose(t){this.drawer=t},HasScroll(t){this.HasFixed=t},handleScroll(){this.HasFixed=window.scrollY>=100},getSearch(){location.href=this.localePath({path:"/ara",query:{search_text:this.query}})},getMetaModule(){this.firmSetting.metaPixelID&&r.e(6).then(r.bind(null,49)).then(t=>{this.metaModule=t}).catch(t=>{console.error("function 'metaModule' import error:",t)})},getGoogleModule(){this.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(t=>{this.googleModule=t}).catch(t=>{console.error("function 'googleModule' import error:",t)})}}},n=l,c=(r(615),r(616),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("header",{staticClass:"ww h60 fl pos-r z999 bg-white"},[t.firmSetting.b2bShowCamera&&t.cameraShow?e("div",{staticClass:"scanner-container"},[e("video",{ref:"cameraBarcodeScannerItem",attrs:{muted:"",autoplay:"",id:"video"},domProps:{muted:!0}}),t._v(" "),t.isCameraLive?[e("div",{staticClass:"overlay-element"}),t._v(" "),e("div",{staticClass:"laser"}),t._v(" "),e("div",{staticClass:"ww mb15 pos-f bt-0 lf-0 ta-o z9"},[e("el-button",{attrs:{type:"danger"},on:{click:t.getCameraReset}},[t._v(t._s(t.$t("İptal")))])],1)]:t._e()],2):t._e(),t._v(" "),e("nav",{class:"ww h60 fl pos-r z9 bg-white mobile-nav",attrs:{id:"navigation"}},[e("div",{staticClass:"ww hh pos-a tp-0 lf-0"}),t._v(" "),t.isShowSearch?e("div",{staticClass:"ww fl bg-white dp-b pos-a tp-0 lf-0 z9"},["2"!=t.appMode?e("div",{staticClass:"wrapper mrau pos-r"},[e("div",{staticClass:"ww h50 fl pl30 pos-r"},[e("a",{staticClass:"w50 hh fl mt5 ta-o fs-20 txt-error pos-a tp-0 lf-0 z1 cr-p icon-x",on:{click:function(e){t.isShowSearch=!t.isShowSearch}}}),t._v(" "),e("div",{staticClass:"ww h60 fl px10 pos-r of-h rds5"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],ref:"siteArama",staticClass:"araInput ww h50 fl mt5 p10 fs-14 fw-b rds30 bg-light",attrs:{placeholder:t.firmSetting.b2bInputPlaceholder||t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},domProps:{value:t.query},on:{keyup:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)},t.getAutoComplete],focusin:function(e){return t.focusEvent(!0)},focusout:function(e){return t.focusEvent(!1)},input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),e("a",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"w80 h40 mt10 mr15 pos-a tp-0 rg-0 rds30 cr-p txt-white",style:"background-color:"+(t.firmSetting?t.firmSetting.b2bColor:"")+";",attrs:{title:t.$t("find")},on:{click:t.getSearch}},[e("i",{staticClass:"ww hh ta-o el-icon-search fs-25"})])]),t._v(" "),t.showAutocomplete?[t.getAutoCompleteWrap&&t.completeData?e("autocomplete-list",{attrs:{getAutoCompleteWrap:t.getAutoCompleteWrap,completeData:t.completeData}}):t._e()]:t._e()],2)]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"ww px10 dp-b pos-r"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-8"},[e("div",{staticClass:"dp-f ai-c"},[e("a",{staticClass:"w40 h50 my5 mr5 ta-o fs-27 pos-r z1 cr-p cr-p",on:{click:function(e){t.drawer=!0}}},[e("i",{staticClass:"icon-menu"})]),t._v(" "),""!=t.siteLogo?e("a",{staticClass:"h50 my5 ta-o",attrs:{href:t.localePath("/"+("2"==t.appMode?"uye":""))}},[e("img",{staticClass:"ww h40",staticStyle:{"object-fit":"contain"},attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e()])]),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-16 dp-f ai-c",staticStyle:{"justify-content":"end"}},[t.firmSetting.b2bShowCamera?e("a",{class:"w40 h50 m5 ta-o txt-sub cr-p fs-23 "+(t.cameraLoading?"el-icon-loading":"icon-camera"),on:{click:t.getCameraShow}}):t._e(),t._v(" "),e("menuRightBar")],1)])])]),t._v(" "),e("MainMenu",{attrs:{GetOpen:t.drawer},on:{GetClose:t.GetClose}})],1)},[],!1,null,"11f850ff",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(12),l=r(13);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"prodCard",components:{basketInput:o.default,stokView:l.default},props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,varianWrapShow:!1,isHover:!1,cardLoading:!1,cardItem:null,variantList:{},favoriteLoading:!1,favList:[],badgeList:[]}},created(){this.cardItem=this.item},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.cardItem.product_json)&&void 0!==t&&t.variant_master_stokcins?this.cardItem.product_json.variant_master_stokcins:this.cardItem.product_json.stokcins},productDetailUrl(){return this.localePath("/urun/"+this.cardItem.product_json.seo_link)},showDataLength(){var t=4;return Object.keys(this.variantList).length>4&&(t=3),this.$device.isMobile&&(t=2),t}},mounted(){localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.cardItem.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.cardItem.product_json.tags[i].id];e&&t.push(e.image)}return t}},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.cardItem.product_json.id,barcode:this.cardItem.product_json.barkod,quantity:this.favList.includes(this.cardItem.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.cardItem.product_json.seo_link)},getDetailLink(t){this.$device.isDesktop?this.$router.push(this.productDetailUrl):this.cardItem=c({},t)},getCardDetail(){this.$device.isDesktop&&(this.varianWrapShow=!0,this.isHover||0==Object.keys(this.variantList).length&&this.getCardDetailApi())},getVarianWrapShow(){this.isHover||0==Object.keys(this.variantList).length&&(this.getCardDetailApi(),this.varianWrapShow=!0)},mouseOut(){this.varianWrapShow=!1},getCardDetailApi(){for(var t="",i=0;i<this.$store.state.firm.modules.length;i++){var e=this.$store.state.firm.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(t="public/")}this.cardLoading=!0,this.isHover=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":t)+"product/detailBySeoLink/"+encodeURIComponent(this.cardItem.product_json.seo_link)).then(t=>{try{for(var e=0;e<t.data.KiboApp.Response.data.variant_list.length;e++){var r=t.data.KiboApp.Response.data.variant_list[e].product_json;
1if(r.stok_variant_options.length>0)for(var o=0;o<r.stok_variant_options.length;o++){var element=r.stok_variant_options[o];"Renk"==element.variants.variant_name&&(this.variantList[element.variant_options.option_name]||(this.variantList[element.variant_options.option_name]=t.data.KiboApp.Response.data.variant_list[e]))}}this.variantList=c({},this.variantList),this.cardLoading=!1}catch(t){console.log(t),this.cardLoading=!1}}).catch(()=>{this.cardLoading=!1})},changeCardItem(t){this.$device.isDesktop&&(this.cardItem=c({},t))},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="ww h20 fl ta-o">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.product_json.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.product_json.sahaf:"2"==this.sepetCalismaMod?"0"==t.product_json.sahaf:"3"==this.sepetCalismaMod&&("0"==t.product_json.sahaf||"1"==t.product_json.sahaf&&t.product_json.smiktar>0)}}},h=m,f=(r(627),r(0)),component=Object(f.a)(h,function(){var t,e=this,r=e._self._c;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.cardLoading,expression:"cardLoading"}],staticClass:"cardItem ww fl mb30 pos-r bg-white",on:{mouseleave:e.mouseOut}},[r("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z3 ta-o fd-c"},e._l(e.badgeList,function(t,e){return r("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),e._v(" "),r("div",{staticClass:"Scol ww fl ta-o pos-r of-h",staticStyle:{height:"280px_","padding-top":"163%","border-radius":"10px 10px 0 0"}},[e.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?r("el-button",{staticClass:"w40 h40 m5 p0 pos-a tp-0 rg-0 z9 ta-o fs-20 cr-p rr bg-white",staticStyle:{border:"none!important"},attrs:{title:e.$t(e.favList.includes(e.item.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:e.favoriteLoading},on:{click:e.addToFavorite}},[e.favoriteLoading?r("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[e.favList.includes(e.item.product_json.id)?r("svg",{staticClass:"fl",attrs:{width:"24",height:"24",fill:"var(--error)",viewBox:"0 0 256 256"}},[r("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):r("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):e._e(),e._v(" "),r("router-link",{class:"ww hh pos-a tp-0 lf-0",attrs:{to:e.productDetailUrl}},[e.cardItem.product_json.files.length>0?r("img",{staticClass:"ww hh fl rds5 object-cover z1 pos-a tp-0 lf-0 bg-white",staticStyle:{"object-position":"top"},attrs:{width:"330",onerror:'this.style.display = "none"',loading:"lazy",src:((null===(t=e.cardItem.product_json.files[0].w0)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.file_url)||e.cardItem.product_json.files[0].fl_url)+"?width=200&height=243",alt:e.cardItem.search_text||e.cardItem.stokcins}}):e._e(),e._v(" "),r("div",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o fs-63 el-icon-picture-outline bg-light txt-sub"}),e._v(" "),e.cardItem.product_json.stok_variant_options&&e.cardItem.product_json.stok_variant_options.length>0&&e.$device.isDesktop?r("div",{staticClass:"colorPalette h24 m5 p5 pos-a bt-0 rg-0 ta-o z1 bg-white rds20 fs-12",on:{mouseover:e.getCardDetail}},[r("span",{staticClass:"color-wheel"}),Object.keys(e.variantList).length>0?r("span",[e._v(" "+e._s(Object.keys(e.variantList).length))]):e._e()]):e._e()]),e._v(" "),Object.keys(e.variantList).length>0&&e.varianWrapShow?r("div",{staticClass:"varianWrap ww p5 pos-a bt-0 lf-0 z9 bdrB"},[r("div",{staticClass:"cq-row cq-gap-5"},[e._l(Object.values(e.variantList).slice(0,e.showDataLength),function(t,o){var l;return r("div",{key:o,staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-8 cr-p pos-r",on:{click:function(r){return e.getDetailLink(t)},mouseover:function(r){return e.changeCardItem(t)},mouseout:function(t){return e.changeCardItem(e.item)}}},[t.product_json.files.length>0?r("img",{staticClass:"variantItem ww h50 fl rds10 object-cover z1 pos-a tp-0 lf-0 bg-white",attrs:{onerror:'this.style.display = "none"',src:(null===(l=t.product_json.files[0].w200)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.file_url)||t.product_json.files[0].fl_url}}):e._e(),e._v(" "),r("span",{staticClass:"variantItem ww h50 fl ta-o fs-20 el-icon-picture-outline bg-white txt-sub rds10"})])}),e._v(" "),Object.keys(e.variantList).length>(e.$device.isMobile?2:4)?r("router-link",{staticClass:"variantItem cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-8 bg-white pos-r rds10 ta-o fw-9",attrs:{to:e.productDetailUrl}},[e._v("\n                    +"+e._s(Object.keys(e.variantList).length-(e.$device.isMobile?2:3))+"\n                ")]):e._e()],2)]):e._e()],1),e._v(" "),r("div",{class:"ww fl pos-r p10"},[!e.$device.isDesktop&&Object.keys(e.variantList).length>0?r("div",{staticClass:"ww h24 fl mb5",on:{click:e.getVarianWrapShow}},[e.varianWrapShow?e._e():r("div",{staticClass:"ww fl pos-r ta-o z1 fs-12 cr-p"},[r("span",{staticClass:"color-wheel"}),e._v(" "+e._s(e.$t("Renkleri Göster"))+"\n            ")])]):e._e(),e._v(" "),r("router-link",{class:"ww fl",attrs:{to:e.localePath("/urun/"+e.cardItem.product_json.seo_link)}},[e.firmSetting.b2bHidePublisher||null==e.cardItem.product_json.uretici?e._e():r("span",{staticClass:"ww h24 fl of-h to-e ws-n pos-r fs-12 fw-9 ln-20",attrs:{title:e.cardItem.product_json.uretici.ureticiad}},[e._v("\n                "+e._s(e.cardItem.product_json.uretici.ureticiad)+"\n            ")]),e._v(" "),r("h5",{staticClass:"ww h28 fl dp-b fs-11 fw-6 ln-13 ellipsis-multi",attrs:{title:e.productStokCins}},[e._v(e._s(e.productStokCins))])]),e._v(" "),!e.pricebarShow&&e.homepageShowPrice?r("p",{staticClass:"ww fl my5"},[r("span",{staticClass:"ww fl ln-20 fs-18 fw-9 txt-error ta-o"},[r("span",{staticClass:"fl ln-9 fs-18"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n            ")])]):e._e(
1),e._v(" "),e.pricebarShow?r("div",{staticClass:"ww fl h90"},[e.showPrice?r("div",{staticClass:"ww fl h60"},[r("stokView",{attrs:{item:e.cardItem,cardType:"card","class-name":"ww h24 fl ta-o pos-r"}}),e._v(" "),(e.cardItem.product_json.kisk||0)>0?r("el-row",{staticClass:"ww h60",class:!e.firmSetting.b2bShowDiscountAndListPrice&&"ta-o",attrs:{gutter:0}},[r("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[r("p",{staticClass:"ww fl"},[e.firmSetting.b2bShowDiscountAndListPrice?r("span",{staticClass:"ww fl ln-14 fs-14 dp-f fw-9 txt-sub td-lt mb5 ai-b"},[r("span",{staticClass:"fl mt5 ln-8 fs-14"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat"),e.getCurrency(e.cardItem)))+"\n                            ")]):e._e(),e._v(" "),r("span",{class:e.firmSetting.b2bShowDiscountAndListPrice?"ww fl dp-f ai-b ln-24 fs-20 fw-9 txt-error":"ww fl ln-20 fs-16 fw-9 txt-error"},[r("span",{staticClass:"fl mt5 ln-11 fs-16"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                            ")])])]),e._v(" "),r("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[r("p",{class:"ww h20 fl mb5 ta-o rds30 bg-warning fw-b "+(e.$device.isMobile?"ta-ol":"ta-or")},[r("span",{staticClass:"ww fl ta-c discount txt-dark fs-12"},[e._v("%"+e._s(e.cardItem.product_json.kisk||0))])])])],1):r("span",{staticClass:"ww h40 fl ln-40 fs-16 ta-o"},[r("span",{staticClass:"fl ln-11"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                    "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                ")]),e._v(" "),e.cardItem&&e.cardItem.currencyPriceList&&e.firmSetting.b2bShowBaseCurrency?r("div",{staticClass:"ww fl",domProps:{innerHTML:e._s(e.getBaseCurrency(e.cardItem))}}):e._e()],1):e._e()]):e._e()],1)])},[],!1,null,"003b1cf2",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(12),l=r(13);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"prodCard",components:{basketInput:o.default,stokView:l.default},props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,varianWrapShow:!1,isHover:!1,cardLoading:!1,cardItem:null,variantList:{},favoriteLoading:!1,favList:[],badgeList:[]}},created(){this.cardItem=this.item},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.cardItem.product_json)&&void 0!==t&&t.variant_master_stokcins?this.cardItem.product_json.variant_master_stokcins:this.cardItem.product_json.stokcins},productDetailUrl(){return this.localePath("/urun/"+this.cardItem.product_json.seo_link)},showDataLength(){var t=4;return Object.keys(this.variantList).length>4&&(t=3),this.$device.isMobile&&(t=2),t}},mounted(){localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.cardItem.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.cardItem.product_json.tags[i].id];e&&t.push(e.image)}return t}},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.cardItem.product_json.id,barcode:this.cardItem.product_json.barkod,quantity:this.favList.includes(this.cardItem.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.cardItem.product_json.seo_link)},getDetailLink(t){this.$device.isDesktop?this.$router.push(this.productDetailUrl):this.cardItem=c({},t)},getCardDetail(){this.$device.isDesktop&&(this.varianWrapShow=!0,this.isHover||0==Object.keys(this.variantList).length&&this.getCardDetailApi())},getVarianWrapShow(){this.isHover||0==Object.keys(this.variantList).length&&(this.getCardDetailApi(),this.varianWrapShow=!0)},mouseOut(){this.varianWrapShow=!1},getCardDetailApi(){for(var t="",i=0;i<this.$store.state.firm.modules.length;i++){var e=this.$store.state.firm.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(t="public/")}this.cardLoading=!0,this.isHover=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":t)+"product/detailBySeoLink/"+encodeURIComponent(this.cardItem.product_json.seo_link)).then(t=>{try{for(var e=0;e<t.data.KiboApp.Response.data.variant_list.length;e++){var r=t.data.KiboApp.Response.data.variant_list[e].product_json;
1if(r.stok_variant_options.length>0)for(var o=0;o<r.stok_variant_options.length;o++){var element=r.stok_variant_options[o];"Renk"==element.variants.variant_name&&(this.variantList[element.variant_options.option_name]||(this.variantList[element.variant_options.option_name]=t.data.KiboApp.Response.data.variant_list[e]))}}this.variantList=c({},this.variantList),this.cardLoading=!1}catch(t){console.log(t),this.cardLoading=!1}}).catch(()=>{this.cardLoading=!1})},changeCardItem(t){this.$device.isDesktop&&(this.cardItem=c({},t))},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="ww fl mb5 ln-16 ta-o fs-12 fw-b txt-info">\n                                '.concat(element.birim," ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.product_json.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.product_json.sahaf:"2"==this.sepetCalismaMod?"0"==t.product_json.sahaf:"3"==this.sepetCalismaMod&&("0"==t.product_json.sahaf||"1"==t.product_json.sahaf&&t.product_json.smiktar>0)}}},h=m,f=(r(628),r(0)),component=Object(f.a)(h,function(){var t,e=this,r=e._self._c;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.cardLoading,expression:"cardLoading"}],staticClass:"cardItem ww fl mb30 pos-r bg-white",on:{mouseleave:e.mouseOut}},[r("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z3 ta-o fd-c"},e._l(e.badgeList,function(t,e){return r("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),e._v(" "),r("div",{staticClass:"Scol ww fl ta-o pos-r of-h",staticStyle:{height:"280px_","padding-top":"150%","border-radius":"10px 10px 0 0"}},[e.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?r("el-button",{staticClass:"w40 h40 m5 p0 pos-a tp-0 rg-0 z9 ta-o fs-20 cr-p rr bg-white",staticStyle:{border:"none!important"},attrs:{title:e.$t(e.favList.includes(e.item.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:e.favoriteLoading},on:{click:e.addToFavorite}},[e.favoriteLoading?r("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[e.favList.includes(e.item.product_json.id)?r("svg",{staticClass:"fl",attrs:{width:"24",height:"24",fill:"var(--error)",viewBox:"0 0 256 256"}},[r("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):r("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):e._e(),e._v(" "),r("router-link",{class:"ww hh pos-a tp-0 lf-0",attrs:{to:e.productDetailUrl}},[e.cardItem.product_json.files.length>0?r("img",{staticClass:"ww hh fl rds5 object-cover z1 pos-a tp-0 lf-0 bg-white",staticStyle:{"object-position":"top"},attrs:{width:"280",onerror:'this.style.display = "none"',loading:"lazy",src:((null===(t=e.cardItem.product_json.files[0].w0)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.file_url)||e.cardItem.product_json.files[0].fl_url)+"?width=200&height=243",alt:e.cardItem.search_text||e.cardItem.stokcins}}):e._e(),e._v(" "),r("div",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o fs-63 el-icon-picture-outline bg-light txt-sub"}),e._v(" "),e.cardItem.product_json.stok_variant_options&&e.cardItem.product_json.stok_variant_options.length>0&&e.$device.isDesktop?r("div",{staticClass:"colorPalette h24 m5 p5 pos-a bt-0 rg-0 ta-o z1 bg-white rds20 fs-12",on:{mouseover:e.getCardDetail}},[r("span",{staticClass:"color-wheel"}),Object.keys(e.variantList).length>0?r("span",[e._v(" "+e._s(Object.keys(e.variantList).length))]):e._e()]):e._e()])],1),e._v(" "),r("div",{class:"ww fl p5 pos-a bt-0 rg-0 z1"},[r("div",{staticClass:"ww fl px10 bg-white rds10"},[!e.pricebarShow&&e.homepageShowPrice?r("p",{staticClass:"ww fl my5"},[r("span",{staticClass:"ww fl ln-20 fs-18 fw-9 txt-error ta-o"},[r("span",{staticClass:"fl ln-9 fs-18"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                    "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                ")])]):e._e(),e._v(" "),e.pricebarShow?r("div",{staticClass:"ww fl"},[e.showPrice?r("div",{staticClass:"ww fl"},[(e.cardItem.product_json.kisk||0)>0?r("div",{staticClass:"ww fl",class:!e.firmSetting.b2bShowDiscountAndListPrice&&"ta-o"},[r("div",{staticClass:"cq-row ww mt5"},[r("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-24"},[r("p",{staticClass:"ww fl mt5"},[e.firmSetting.b2bShowDiscountAndListPrice?r("span",{staticClass:"ww fl ln-14 fs-14 dp-f fw-9 txt-sub td-lt mb5 ai-b"},[r("span",{staticClass:"fl mt5 ln-8 fs-14"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                        "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat"),e.getCurrency(e.cardItem)))+"\n                                    ")]):e._e(),e._v(" "),r("span",{class:e.firmSetting.b2bShowDiscountAndListPrice?"ww fl mb5 dp-f ai-b ln-24 fs-20 fw-9 txt-error":"ww fl ln-20 fs-16 fw-9 txt-error"},[r("span",{staticClass:"fl mt5 ln-11 fs-16"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                        "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                                    ")])])]),e._v(" "),r("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[r("p",{class:"ww h20 fl my5 ta-o rds30 bg-warning fw-b "+(e.$device.isMobile?"ta-ol":"ta-or")},[r("span",{staticClass:"ww fl ta-c discount txt-dark fs-12"},[e._v("%"+e._s(e.cardItem.product_json.kisk||0))])])])])]):r("div",{staticClass:"ww fl"},[r("span",{staticClass:"ww h40 fl ln-40 fs-17 fw-7 txt-dark ta-o"},[r("span",{staticClass:"fl ln-11"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                            "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                        ")])]),e._v(" "),e.cardItem&&e.cardItem.currencyPriceList&&e.firmSetting.b2bShowBaseCurrency?r("div",{staticClass:"ww fl",domProps:{innerHTML:e._s(e.getBaseCurrency(e.cardItem))}}
1):e._e()]):e._e()]):e._e()])])])},[],!1,null,"3748e7ad",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(12),l=r(13);function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"prodCard",components:{basketInput:o.default,stokView:l.default},props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,varianWrapShow:!1,isHover:!1,cardLoading:!1,cardItem:null,variantList:{},favoriteLoading:!1,favList:[],badgeList:[]}},created(){this.cardItem=this.item},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.cardItem.product_json)&&void 0!==t&&t.variant_master_stokcins?this.cardItem.product_json.variant_master_stokcins:this.cardItem.product_json.stokcins},productDetailUrl(){return this.localePath("/urun/"+this.cardItem.product_json.seo_link)},showDataLength(){var t=4;return Object.keys(this.variantList).length>4&&(t=3),this.$device.isMobile&&(t=2),t}},mounted(){localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.cardItem.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.cardItem.product_json.tags[i].id];e&&t.push(e.image)}return t}},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.cardItem.product_json.id,barcode:this.cardItem.product_json.barkod,quantity:this.favList.includes(this.cardItem.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.cardItem.product_json.seo_link)},getDetailLink(t){this.$device.isDesktop?this.$router.push(this.productDetailUrl):this.cardItem=c({},t)},getCardDetail(){this.$device.isDesktop&&(this.varianWrapShow=!0,this.isHover||0==Object.keys(this.variantList).length&&this.getCardDetailApi())},getVarianWrapShow(){this.isHover||0==Object.keys(this.variantList).length&&(this.getCardDetailApi(),this.varianWrapShow=!0)},mouseOut(){this.varianWrapShow=!1},getCardDetailApi(){for(var t="",i=0;i<this.$store.state.firm.modules.length;i++){var e=this.$store.state.firm.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(t="public/")}this.cardLoading=!0,this.isHover=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":t)+"product/detailBySeoLink/"+encodeURIComponent(this.cardItem.product_json.seo_link)).then(t=>{try{for(var e=0;e<t.data.KiboApp.Response.data.variant_list.length;e++){var r=t.data.KiboApp.Response.data.variant_list[e].product_json;
1if(r.stok_variant_options.length>0)for(var o=0;o<r.stok_variant_options.length;o++){var element=r.stok_variant_options[o];"Renk"==element.variants.variant_name&&(this.variantList[element.variant_options.option_name]||(this.variantList[element.variant_options.option_name]=t.data.KiboApp.Response.data.variant_list[e]))}}this.variantList=c({},this.variantList),this.cardLoading=!1}catch(t){console.log(t),this.cardLoading=!1}}).catch(()=>{this.cardLoading=!1})},changeCardItem(t){this.$device.isDesktop&&(this.cardItem=c({},t))},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="ww h20 fl ta-o">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.product_json.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.product_json.sahaf:"2"==this.sepetCalismaMod?"0"==t.product_json.sahaf:"3"==this.sepetCalismaMod&&("0"==t.product_json.sahaf||"1"==t.product_json.sahaf&&t.product_json.smiktar>0)}}},h=m,f=(r(629),r(630),r(0)),component=Object(f.a)(h,function(){var t,e=this,r=e._self._c;return r("div",{directives:[{name:"loading",rawName:"v-loading",value:e.cardLoading,expression:"cardLoading"}],staticClass:"cardItemUI ww fl mb30 pos-r bg-white",on:{mouseleave:e.mouseOut}},[r("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z3 ta-o fd-c"},e._l(e.badgeList,function(t,e){return r("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),e._v(" "),r("div",{staticClass:"ww fl ta-o pos-r of-h",staticStyle:{height:"280px_","padding-top":"163%"}},[e.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?r("el-button",{staticClass:"w40 h40 m5 p0 pos-a tp-0 rg-0 z9 ta-o fs-20 cr-p rr bg-white",staticStyle:{border:"none!important"},attrs:{title:e.$t(e.favList.includes(e.item.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:e.favoriteLoading},on:{click:e.addToFavorite}},[e.favoriteLoading?r("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[e.favList.includes(e.item.product_json.id)?r("svg",{staticClass:"fl",attrs:{width:"24",height:"24",fill:"var(--error)",viewBox:"0 0 256 256"}},[r("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):r("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):e._e(),e._v(" "),r("router-link",{class:"ww hh pos-a tp-0 lf-0",attrs:{to:e.productDetailUrl}},[e.cardItem.product_json.files.length>0?r("img",{staticClass:"ww hh fl object-cover z1 rds pos-a tp-0 lf-0 bg-white",staticStyle:{"object-position":"top"},attrs:{width:"330",onerror:'this.style.display = "none"',loading:"lazy",src:((null===(t=e.cardItem.product_json.files[0].w0)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.file_url)||e.cardItem.product_json.files[0].fl_url)+"?width=200&height=243",alt:e.cardItem.search_text||e.cardItem.stokcins}}):e._e(),e._v(" "),r("div",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o fs-63 el-icon-picture-outline bg-light txt-sub"}),e._v(" "),e.cardItem.product_json.stok_variant_options&&e.cardItem.product_json.stok_variant_options.length>0&&e.$device.isDesktop?r("div",{staticClass:"colorPalette h24 m5 p5 pos-a bt-0 rg-0 ta-o z1 bg-white rds20 fs-12",on:{mouseover:e.getCardDetail}},[r("span",{staticClass:"prodColorItem1 fl rr"}),e._v(" "),r("span",{staticClass:"prodColorItem2 fl rr"}),e._v(" "),Object.keys(e.variantList).length>0?r("span",[e._v(" "+e._s(Object.keys(e.variantList).length))]):e._e()]):e._e()]),e._v(" "),Object.keys(e.variantList).length>0&&e.varianWrapShow?r("div",{staticClass:"varianWrap ww p5 pos-a bt-0 lf-0 z9 bdrB"},[r("div",{staticClass:"cq-row cq-gap-5"},[e._l(Object.values(e.variantList).slice(0,e.showDataLength),function(t,o){var l;return r("div",{key:o,staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-8 cr-p pos-r",on:{click:function(r){return e.getDetailLink(t)},mouseover:function(r){return e.changeCardItem(t)},mouseout:function(t){return e.changeCardItem(e.item)}}},[t.product_json.files.length>0?r("img",{staticClass:"variantItem ww h50 fl rds10 object-cover z1 pos-a tp-0 lf-0 bg-white",attrs:{onerror:'this.style.display = "none"',src:(null===(l=t.product_json.files[0].w200)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.file_url)||t.product_json.files[0].fl_url}}):e._e(),e._v(" "),r("span",{staticClass:"variantItem ww h50 fl ta-o fs-20 el-icon-picture-outline bg-white txt-sub rds10"})])}),e._v(" "),Object.keys(e.variantList).length>(e.$device.isMobile?2:4)?r("router-link",{staticClass:"variantItem cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-8 bg-white pos-r rds10 ta-o fw-9",attrs:{to:e.productDetailUrl}},[e._v("\n                    +"+e._s(Object.keys(e.variantList).length-(e.$device.isMobile?2:3))+"\n                ")]):e._e()],2)]):e._e()],1),e._v(" "),r("div",{class:"ww fl pos-r p10"},[!e.$device.isDesktop&&Object.keys(e.variantList).length>0?r("div",{staticClass:"ww h24 fl mb5",on:{click:e.getVarianWrapShow}},[e.varianWrapShow?e._e():r("div",{staticClass:"ww fl pos-r ta-o z1 fs-12 cr-p"},[r("span",{staticClass:"prodColorItem1 fl rr"}),e._v(" "),r("span",{staticClass:"prodColorItem2 fl rr"}),e._v(" "),e._v("\n                 "+e._s(e.$t("Renkleri Göster"))+"\n            ")])]):e._e(),e._v(" "),r("router-link",{class:"ww fl",attrs:{to:e.localePath("/urun/"+e.cardItem.product_json.seo_link)}},[e.firmSetting.b2bHidePublisher||null==e.cardItem.product_json.uretici?e._e():r("span",{staticClass:"ww h24 fl of-h to-e ws-n pos-r fs-12 fw-9 ln-20",attrs:{title:e.cardItem.product_json.uretici.ureticiad}},[e._v("\n                "+e._s(e.cardItem.product_json.uretici.ureticiad)+"\n            ")]),e._v(" "),r("h5",{staticClass:"ww h28 fl dp-b fs-11 fw-6 ln-13 ellipsis-multi",attrs:{title:e.productStokCins}},[e._v(e._s(e.productStokCins))])]),e._v(" "),!e.pricebarShow&&e.homepageShowPrice?r("p",{staticClass:"ww fl my5"}
1,[r("span",{staticClass:"ww fl ln-20 fs-18 fw-9 txt-dark ta-o"},[r("span",{staticClass:"fl ln-9 fs-18"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n            ")])]):e._e(),e._v(" "),e.pricebarShow?r("div",{staticClass:"ww fl h90"},[e.showPrice?r("div",{staticClass:"ww fl h60"},[r("stokView",{attrs:{item:e.cardItem,cardType:"card","class-name":"ww h24 fl ta-o pos-r"}}),e._v(" "),(e.cardItem.product_json.kisk||0)>0?r("el-row",{staticClass:"ww h60",class:!e.firmSetting.b2bShowDiscountAndListPrice&&"ta-o",attrs:{gutter:0}},[r("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[r("p",{staticClass:"ww fl"},[e.firmSetting.b2bShowDiscountAndListPrice?r("span",{staticClass:"ww fl ln-14 fs-14 dp-f fw-9 txt-sub td-lt mb5 ai-b"},[r("span",{staticClass:"fl mt5 ln-8 fs-14"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat"),e.getCurrency(e.cardItem)))+"\n                            ")]):e._e(),e._v(" "),r("span",{class:e.firmSetting.b2bShowDiscountAndListPrice?"ww fl dp-f ai-b ln-24 fs-20 fw-9 txt-dark":"ww fl ln-20 fs-16 fw-9 txt-error"},[r("span",{staticClass:"fl mt5 ln-11 fs-16"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                                "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                            ")])])]),e._v(" "),r("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[r("p",{class:"ww h20 fl mb5 ta-o rds30 bg-warning fw-b "+(e.$device.isMobile?"ta-ol":"ta-or")},[r("span",{staticClass:"ww fl ta-c discount txt-dark fs-12"},[e._v("%"+e._s(e.cardItem.product_json.kisk||0))])])])],1):r("span",{staticClass:"ww h40 fl ln-40 fs-16 ta-o"},[r("span",{staticClass:"fl ln-11"},[e._v(e._s(e.getPriceCode(e.cardItem)))]),e._v("\n                    "+e._s(e.$currencyFormat(e.getPrice(e.cardItem,"kfiyat_proc"),e.getCurrency(e.cardItem)))+"\n                ")]),e._v(" "),e.cardItem&&e.cardItem.currencyPriceList&&e.firmSetting.b2bShowBaseCurrency?r("div",{staticClass:"ww fl",domProps:{innerHTML:e._s(e.getBaseCurrency(e.cardItem))}}):e._e()],1):e._e()]):e._e()],1)])},[],!1,null,"049845dd",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(12),l=r(13),n={name:"prodCard",components:{basketInput:o.default,stokView:l.default},props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{showDetail:!1,b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,badgeList:[]}},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.item.product_json)&&void 0!==t&&t.variant_master_stokcins?this.item.product_json.variant_master_stokcins:this.item.product_json.stokcins}},mounted(){this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.item.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.item.product_json.tags[i].id];e&&t.push(e.image)}return t}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html+='<a class="ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.product_json.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.product_json.sahaf:"2"==this.sepetCalismaMod?"0"==t.product_json.sahaf:"3"==this.sepetCalismaMod&&("0"==t.product_json.sahaf||"1"==t.product_json.sahaf&&t.product_json.smiktar>0)}}},c=n,d=r(0),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl mb30 pos-r",staticStyle:{"max-width":"315px"}},[e("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z3 ta-o fd-c"},t._l(t.badgeList,function(t,r){return e("img",{key:r,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),t._v(" "),e("div",{staticClass:"Scol ww fl pb15 ta-o pos-r of-h",staticStyle:{"border-radius":"3px 3px 0 0"},on:{mouseover:function(e){t.showDetail=!0},mouseleave:function(e){t.showDetail=!1}}},[e("router-link",{class:"fl pos-r bg-info",staticStyle:{width:"75%","padding-top":"100%","box-shadow":"0 4px 4px #00000040"},attrs:{to:t.localePath("/urun/"+t.item.product_json.seo_link)}},[t.showDetail?e("div",{staticClass:"ww hh p15 pos-a tp-0 lf-0 z1 bg-white fs-12"},[e("p",{staticClass:"ww hh px15 py10 pos-r of-h tp-0 lf-0 z1 bg-white fs-12"},[t._v("\n                    "+t._s(t.item.product_json.ozet)+"\n                ")])]):t._e(),t._v(" "),e("img",{staticClass:"ww hh pos-a tp-0",staticStyle:{"object-fit":"cover"},attrs:{src:t.item.product_json.files[0].fl_url,alt:t.item.search_text}})])],1),t._v(" "),e("div",{class:"ww fl pos-r px10 pb10"},[e("router-link",{class:"ww fl",attrs:{to:t.localePath("/urun/"+t.item.product_json.seo_link)}},[e("h5",{staticClass:"ww h30 fl mb5 dp-b fs-13 ta-c fw-5 ln-15 ellipsis-multi",attrs:{title:t.productStokCins}},[t._v(t._s(t.productStokCins))])]),t._v(" "),t.firmSetting.b2bProductCardShowCode?e("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h"},[t._v(t._s(t.item.product_json.kod))]):t._e(),t._v(" "),t.firmSetting.b2bProductCardHideYazar?t._e():[t.item.product_json.authors.length>0?e("div",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20 of-h",domProps:{innerHTML:t._s(t.getYazarLinkList(t.item.product_json.authors))}}):e("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20"},[t._v("-")])],t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=t.item.product_json.uretici?[e("router-link",{class:"ww fl",attrs:{to:t.localePath(t.getMakeSeoLink(t.item.product_json.uretici,"uretici"))}},[e("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r txt-2 ta-c fs-13 ln-20",attrs:{title:t.item.product_json.uretici.ureticiad}},[t._v("\n                        "+t._s(t.item.product_json.uretici.ureticiad)+"\n                    ")])])]:e("span",{staticClass:"ww h20 fl of-h to-e ws-n pos-r ta-c fs-13 ln-20"},[t._v("-")])],t._v(" "),!t.pricebarShow&&t.homepageShowPrice?e("p",{staticClass:"ww fl my5"},[e("span",{staticClass:"ww fl ln-20 fs-18 fw-9 txt-error ta-o"},[e("span",{staticClass:"fl ln-9 fs-18"},[t._v(t._s(t.getPriceCode(t.item)))]),t._v("\n                "+t._s(t.$currencyFormat(t.getPrice(t.item,"kfiyat_proc"),t.getCurrency(t.item)))+"\n            ")])]):t._e(),t._v(" "),t.pricebarShow?e("div",{staticClass:"ww fl"},[t.showPrice?e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww h30 fl"},[e("stokView",{attrs:{item:t.item,cardType:"card"}})],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),(t.item.product_json.kisk||0)>0?e("el-row",{staticClass:"h60",class:!t.firmSetting.b2bShowDiscountAndListPrice&&"ta-o",attrs:{gutter:0}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("p",{staticClass:"ww fl mt5"},[t.firmSetting.b2bShowDiscountAndListPrice?e("span",{staticClass:"ww fl ln-14 fs-14 dp-f fw-9 txt-sub td-lt mb5 ai-b"},[e("span",{staticClass:"fl mt5 ln-8 fs-14"},[t._v(t._s(t.getPriceCode(t.item)))]),t._v("\n                                "+t._s(t.$currencyFormat(t.getPrice(t.item,"kfiyat"),t.getCurrency(t.item)))+"\n                            ")]):t._e(),t._v(" "),e("span",{class:t.firmSetting.b2bShowDiscountAndListPrice?"ww fl dp-f ai-b ln-24 fs-20 fw-9 txt-error":"ww fl ln-20 fs-16 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-11 fs-16"},[t._v(t._s(t.getPriceCode(t.item)))]),t._v("\n                                "+t._s(t.$currencyFormat(t.getPrice(t.item,"kfiyat_proc"),t.getCurrency(t.item)))+"\n                            ")])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("p",{class:"ww h20 fl my5 ta-o rds30 bg-warning fw-b "+(t.$device.isMobile?"ta-ol":"ta-or")},[e("span",{staticClass:"ww fl ta-c discount txt-dark fs-12"},[t._v("%"+t._s(t.item.product_json.kisk||0))])])])],1):e("div",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl ln-30 fs-18 fw-9 txt-error ta-o h60"},[e("span",{staticClass:"fl ln-11 fs-18"},[t._v(t._s(t.getPriceCode(t.item)))]),t._v("\n                        "+t._s(t.$currencyFormat(t.getPrice(t.item,"kfiyat_proc"),t.getCurrency(t.item)))+"\n                    ")])]),t._v(" "),t.item&&t.item.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww h20 fl",domProps:{innerHTML:t._s(t.getBaseCurrency(t.item))}}):t._e()],1):t._e(),t._v(" "),e("div",{staticClass:"ww h40 fl"},[t.showBasket?e("div",{staticClass:"ww fl"},[t.isBasketShow(t.item)?e("basketInput",{attrs:{inputData:{id:t.item.product_json.id,barkod:t.
1item.product_json.barkod,quantity:1,attribute_text:t.item.product_json.attribute_text,stokcins:t.item.product_json.stokcins,uretici:t.item.product_json.uretici,kategori:t.item.product_json.kategori,kfiyat_proc:t.item.product_json.kfiyat_proc,kkdv:t.item.product_json.kkdv}}}):t._e()],1):t._e()])]):t._e()],2)])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"prodCard6",props:{item:{type:Object,default:function(){return{}}},pricebarShow:{type:Boolean,default:!0},lazyImage:{type:Boolean,default:!1}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,favoriteLoading:!1,favList:[],badgeList:[]}},computed:{productStokCins(){var t;return"0"==this.b2bSearchPrdVariantChildListStatus&&null!==(t=this.item.product_json)&&void 0!==t&&t.variant_master_stokcins?this.item.product_json.variant_master_stokcins:this.item.product_json.stokcins}},methods:{getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}}}},l=o,n=(r(631),r(0)),component=Object(n.a)(l,function(){var t,e,r,o,l,n,c=this,d=c._self._c;return d("nuxt-link",{staticClass:"product-card mb10",attrs:{to:c.localePath("/urun/"+c.item.product_json.seo_link)}},[3===c.item.product_json.reltype?d("div",{staticClass:"ribbon"},[d("span",{staticStyle:{"background-color":"var(--text)"}},[c._v("Replaced")])]):c._e(),c._v(" "),d("div",{staticClass:"img-wrapper"},[(null!==(t=null===(e=c.item.product_json)||void 0===e||null===(e=e.files)||void 0===e||null===(e=e[0])||void 0===e||null===(e=e.w0)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.file_url)&&void 0!==t?t:null===(r=c.item.product_json)||void 0===r||null===(r=r.files)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.fl_url)?d("img",{attrs:{src:null!==(o=null===(l=c.item.product_json)||void 0===l||null===(l=l.files)||void 0===l||null===(l=l[0])||void 0===l||null===(l=l.w0)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.file_url)&&void 0!==o?o:null===(n=c.item.product_json)||void 0===n||null===(n=n.files)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.fl_url}}):d("div",{staticClass:"img-placeholder"},[d("svg",{attrs:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"}},[d("rect",{attrs:{x:"3",y:"3",width:"18",height:"18",rx:"2"}}),c._v(" "),d("circle",{attrs:{cx:"8.5",cy:"8.5",r:"1.5"}}),c._v(" "),d("path",{attrs:{d:"M21 15l-5-5L5 21"}})])])]),c._v(" "),d("div",{staticClass:"p-info"},[d("div",{staticClass:"p-header-row"},[d("div",{staticClass:"p-stock"},[c._v("STOKTA")]),c._v(" "),d("div",{staticClass:"p-labels"},[c._l(c.item.product_json.tags.slice(0,c.$device.isMobile?1:2),function(t,e){return d("nuxt-link",{key:t.id,staticClass:"dp-f",attrs:{to:c.localePath(c.getMakeSeoLink(c.item.product_json.tags[e],"etiket"))}},[d("span",{staticClass:"p-tag"},[c._v(c._s(t.prcg_name))])])}),c._v(" "),c.item.product_json.tags.length>(c.$device.isMobile?1:2)?d("span",{staticClass:"p-tag-more"},[c._v("+"+c._s(c.item.product_json.tags.length-(c.$device.isMobile?1:2)))]):c._e()],2)]),c._v(" "),d("div",{staticClass:"p-ref"},[c._v(c._s(c.item.product_json.kod))]),c._v(" "),d("h4",{staticClass:"p-title",attrs:{title:c.productStokCins}},[c._v(c._s(c.productStokCins))])])])},[],!1,null,"4204ad1e",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"mainSlider",components:{rowSlider:()=>r.e(0).then(r.bind(null,808))},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain}},computed:{sliderData(){return Object.values(this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain).filter(t=>["0",void 0,null,!1,""].includes(t.device)||!0===this.$device[t.device])}},mounted(){document.querySelectorAll(".sliderWrap img").forEach(image=>{image.getAttribute("data-src")&&(image.setAttribute("src",image.getAttribute("data-src")),image.setAttribute("width",image.clientWidth),image.setAttribute("height",image.clientHeight),image.removeAttribute("data-src"))})}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"sliderWrap ww fl pos-r"},[e("div",{staticClass:"wrapper mrau mainSwiperWrap px10 pos-r"},[e("rowSlider",{attrs:{"data-list":t.sliderData,"per-item":1,"item-step":1,animation:"instant"},scopedSlots:t._u([{key:"item",fn:function(r){var o=r.item,l=r.index;return[o.url?e("a",{staticClass:"ww hh z1",attrs:{href:o.url,target:"_blank",title:o.img}},[o.img?e("nuxt-img",{staticClass:"rds5",staticStyle:{width:"100%"},attrs:{src:o.img,fit:"contain",fetchpriority:0==l?"high":"auto",loading:0!==l?"lazy":"eager",height:"530",alt:o.img}}):t._e()],1):t._e()]}},{key:"nextButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow w50 h40 fl cr-p pos-a rds30 bg- z2 ta-o",staticStyle:{to
1p:"10px",right:"10px","background-color":"rgba(255,255,255, 0.7) !important"}},[e("i",{staticClass:"icon-arrow-right txt-dark fs-20"})]):t._e()]},proxy:!0},{key:"prevButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow w50 h40 fl cr-p pos-a rds30 bg- z2 ta-o",staticStyle:{top:"10px",right:"60px","background-color":"rgba(255,255,255, 0.7) !important"}},[e("i",{staticClass:"icon-arrow-left txt-dark fs-20"})]):t._e()]},proxy:!0}],null,!1,1301776228)})],1)]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],mainSwiperOption:{navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},loop:!0,speed:800,autoplay:{delay:3e3},centeredSlides:!0,effect:"cube",cubeEffect:{shadow:!0,slideShadows:!1,shadowOffset:3,shadowScale:.9}},haberSwiperOption:{autoplay:{delay:4e3},loopedSlides:1,spaceBetween:this.$device.isMobile?5:10,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?3:7,navigation:{nextEl:".nextHaber",prevEl:".prevHaber"}}}},computed:{sliderData(){return Object.values(this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain).filter(t=>["0",void 0,null,!1,""].includes(t.device)||!0===this.$device[t.device])}}},n=(r(617),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"ww fl pos-r of-h"},[e("div",{staticClass:"mainSliderWrap wrapper mrau px15 pos-r"},[t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 rg-0 z9 ta-o"},[e("span",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-right rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 lf-0 z9 ta-o"},[e("span",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-left rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"auto"),attrs:{options:t.mainSwiperOption}},[t._l(t.sliderData,function(r,o){return[r.url?e("swiper-slide",{key:o},[e("a",{staticClass:"ww fl z1",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"object-contain fl rds5",staticStyle:{width:"100%"},attrs:{src:r.img,alt:r.name}})])]):t._e()]})],2)],1),t._v(" "),t.haberSlider.length>0?e("div",{staticClass:"ww fl mt50 bg-white pos-r"},[e("div",{staticClass:"haberSwiperWrap wrapper mrau pos-r",class:t.$device.isMobile?"px10":"px40"},[e("swiper",{staticClass:"swiperHaber",attrs:{options:t.haberSwiperOption}},t._l(t.haberSlider,function(r,o){return e("swiper-slide",{key:o,staticClass:"slide"},[e("a",{staticClass:"ItemShadow ww fl mb10 p10 pos-r bg-white ln-20 fs-14",attrs:{href:t.localePath("/sayfa/"+r.url)}},[e("img",{staticClass:"object-contain ww fl rds5",style:"height:120px",attrs:{src:"https://onsobilisim.com/view/index/svg/onso_isletme.svg",alt:r.name}}),t._v(" "),e("span",{staticClass:"ww h40 fl ln-20 fs-12 ellipsis-multi ta-c"},[t._v(t._s(r.name))])])])}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 rg-0 z1 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"nextHaber w40 h40 mt5 cr-p ta-o fs-18 icon-arrow-right",staticStyle:{float:"right"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 lf-0 z1 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevHaber w40 h40 mt5 cr-p ta-o fs-18 icon-arrow-left",staticStyle:{float:"left"}})]):t._e()],1)]):t._e()]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],mainSwiperOption:{navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},loop:!0,speed:800,autoplay:{delay:3e3},centeredSlides:!0,cubeEffect:{shadow:!0,slideShadows:!1,shadowOffset:3,shadowScale:.9}}}},computed:{sliderData(){return Object.values(this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain).filter(t=>["0",void 0,null,!1,""].includes(t.device)||!0===this.$device[t.device])}}},n=(r(618),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"ww fl pos-r of-h"},[e("div",{staticClass:"mainSliderWrap wrapper mrau px15 pos-r"},[t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 rg-0 z9 ta-o"},[e("span",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-right rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 lf-0 z9 ta-o"},[e("span",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-left rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"auto"),attrs:{options:t.mainSwiperOption}},[t._l(t.sliderData,function(r,o){return[r.url?e("swiper-slide",{key:o},[e("a",{staticClass:"ww fl z1",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"object-contain fl rds5",staticStyle:{width:"100%"},attrs:{src:r.img,alt:r.name}})])]):t._e()]})],2)],1)]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],mainSwiperOption:{loop:!0,speed:800,autoplay:{delay:3e3},centeredSlides:!0,effect:"coverflow",coverflowEffect:{rotate:0,stretch:0,depth:50,modifier:7,slideShadows:!0},grabCursor:!0,parallax:!0,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},breakpoints:{1023:{slidesPerView:1,spaceBetween:0}
1}}}},computed:{sliderData(){return Object.values(this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain).filter(t=>["0",void 0,null,!1,""].includes(t.device)||!0===this.$device[t.device])}}},n=(r(619),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"mainSliderWrap ww fl pos-r of-h"},[e("div",{staticClass:"cq-row"},[e("div",{staticClass:"cq-col-lg-2 cq-col-md-2 cq-col-sm-2 cq-col-xs-2"}),t._v(" "),e("div",{staticClass:"cq-col-lg-20 cq-col-md-20 cq-col-sm-20 cq-col-xs-20"},[e("div",{staticClass:"ww fl pos-r"},[t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 rg-0 z9 ta-o m15"},[e("span",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-right rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 lf-0 z9 ta-o m15"},[e("span",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-left rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"auto"),attrs:{options:t.mainSwiperOption}},[t._l(t.sliderData,function(r,o){return[r.url?e("swiper-slide",{key:o},[e("a",{staticClass:"ww fl z1",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"object-contain fl rds5",staticStyle:{width:"100%"},attrs:{src:r.img,alt:r.name}})])]):t._e()]})],2)],1)]),t._v(" "),e("div",{staticClass:"cq-col-lg-2 cq-col-md-2 cq-col-sm-2 cq-col-xs-2"})])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],mainSwiperOption:{navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},loop:!0,speed:800,autoplay:{delay:3e3},centeredSlides:!0,cubeEffect:{shadow:!0,slideShadows:!1,shadowOffset:3,shadowScale:.9}}}},computed:{sliderData(){return Object.values(this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain).filter(t=>["0",void 0,null,!1,""].includes(t.device)||!0===this.$device[t.device])}}},n=(r(620),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"mainSliderWrap ww fl pos-r of-h"},[t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 rg-0 z9 ta-o"},[e("span",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-right rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 lf-0 z9 ta-o"},[e("span",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-18 icon-arrow-left rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop?"calc(100vh - 60px)":"auto"),attrs:{options:t.mainSwiperOption}},[t._l(t.sliderData,function(r,o){return[r.url?e("swiper-slide",{key:o},[e("a",{staticClass:"ww fl z1",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"object-cover fl rds5",style:"width: 100vw;height:".concat(t.$device.isMobile?"auto":"100vh",";"),attrs:{src:r.img,alt:r.name}})])]):t._e()]})],2)],1):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme0",props:{item:{type:Object,default:function(){return{}}},urlPath:{type:String,default:function(){return"haberler"}}},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",quantity:1,favoriteLoading:!1,favList:[],badgeList:[]}},mounted(){},methods:{dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]}}},l=(r(621),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"shadowHover ww fl pos-r rds10",attrs:{to:t.localePath("/"+t.urlPath+"/"+t.item.seo_link)}},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"125%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover rds10",attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("span",{staticClass:"ww h30 fl mb15 px15 fs-12"},[e("i",{staticClass:"w30 h30 fl ta-o bdr rr icon-takvim"}),t._v("  "+t._s(t.dateFormat(t.item.created_at)))]),t._v(" "),e("div",{staticClass:"ww fl px15 pb15"},[e("h3",{staticClass:"ww h60 fl ln-20 txt-of-line-2 fw-7 fs-15 td-ul"},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"ww fl"},t._l(t.item.tags,function(r,o){return e("span",{key:o,staticClass:"h30 fl mr5 mb5 px10 fw-6 fs-11 bdr rds30"},[t._v(t._s(r.prcg_name))])}),0),t._v(" "),e("span",{staticClass:"fr bg-primary rr txt-white"},[e("i",{staticClass:"w30 h30 fl fs-12 ta-o icon-link"})])])])])},[],!1,null,"323a2dfe",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme1",props:{item:{type:Object,default:function(){return{}}},urlPath:{type:String,default:function(){return"haberler"}}},methods:{dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]}}},l=(r(622),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"shadowHover ww fl pos-r rds10",attrs:{to:t.localePath("/"+t.urlPath+"/"+t.item.seo_link)}},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"100%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover rds10",attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("div",{staticClass:"card-content"},[e("span",{staticClass:"ww h30 fl mb15 fs-12"},[e("i",{staticClass:"w30 h30 fl ta-o bdr rr icon-takvim"}),t._v("  "+t._s(t.dateFormat(t.item.created_at)))]),t._v(" "),e("h3",{staticClass:"ww h60 fl ln-20 txt-of-line-2 fw-7 fs-15 td-ul txt-white"},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"ww fl"},t._l(t.item.tags,function(r,o){return e("span",{key:o,staticClass:"h30 fl mr5 mb5 px10 fw-6 fs-11 txt-white bdr rds30"},[t._v(t._s(r.prcg_name))])}),0)])])])},[],!1,null,"23636ad6",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme2",props:{item:{type:Object,default:function(){return{}}}}},l=(r(623),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"shadowHover ww fl my20 pos-r rds10 bdr"},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"140%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover rds10",
1staticStyle:{opacity:"0.3"},attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("div",{staticClass:"card-content"},[e("div",{staticClass:"ww hh fl pos-r"},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"110%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-contain rds10",attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("h3",{staticClass:"ww h60 fl ln-20 txt-of-line-2 fw-7 fs-14 ta-c"},[t._v(t._s(t.item.content_title))])])])])},[],!1,null,"13ace07c",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme2",props:{item:{type:Object,default:function(){return{}}},urlPath:{type:String,default:function(){return"haberler"}}}},l=(r(624),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"shadowHover ww fl pos-r rds10"},[e("nuxt-link",{staticClass:"ww fl",attrs:{to:t.localePath("/"+t.urlPath+"/"+t.item.seo_link)}},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"110%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover rds10",staticStyle:{opacity:"0.3"},attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("div",{staticClass:"card-content"},[e("div",{staticClass:"ww hh fl pos-r"},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"90%"}},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"ww hh mt10 pos-a tp-0 lf-0 object-contain rds10",attrs:{src:t.item.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("h3",{staticClass:"ww h50 fl mt20 ln-20 txt-of-line-2 fw-7 fs-14 ta-c"},[t._v(t._s(t.item.content_title))])])])])],1)},[],!1,null,"39f0518e",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme4",props:{item:{type:Object,default:function(){return{}}}},methods:{truncateText:(text,t)=>text?text.length>t?text.slice(0,t)+"...":text:""}},l=(r(625),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"cq-row cq-gap-10 shadowHover scale_1_2-wrap bg-white"},[t.item.files&&t.item.files.length>0?e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24 pos-r ta-o"},[t.item.files&&t.item.files.length>0?e("div",{staticClass:"ww fl mb5 pos-r",style:"padding-top:".concat(t.$device.isMobile?"40%":"100%",";")},[e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-contain rr",staticStyle:{opacity:"0.3"},attrs:{src:t.item.files[0].fl_url}}),t._v(" "),e("div",{staticClass:"ww fl mb5 pos-a tp-0 lf-0",style:"padding-top:".concat(t.$device.isMobile?"40%":"100%",";")},[t.item.files&&t.item.files.length>0?e("img",{staticClass:"scale_1_2-item ww hh pos-a tp-0 lf-0 object-contain",attrs:{src:t.item.files[0].fl_url}}):t._e()])]):t._e()]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-24 pos-r px15"},[e("h4",{staticClass:"ww fl fw-7 ta-c",class:"".concat(t.$device.isMobile?"mt20 mb10 fs-25 ln-30":"mt40 mb20 fs-50 ln-55")},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww h80 fl fs-14 pos-r of-h",domProps:{innerHTML:t._s(t.truncateText(t.item.content_text,199))}}),t._v(" "),e("nuxt-link",{staticClass:"ww fl mt10 mb30 fs-13 td-ul",attrs:{to:t.localePath("/sayfa/"+t.item.seo_link)}},[t._v(t._s(t.$t("read_more")))])],1)])},[],!1,null,"e61c9070",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"newsCardTheme5",props:{item:{type:Object,default:function(){return{}}}},methods:{truncateText:(text,t)=>text?text.length>t?text.slice(0,t)+"...":text:""}},l=(r(626),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl p10"},[e("h4",{staticClass:"ww fl mt10 mb20 fw-7 ta-c",class:"".concat(t.$device.isMobile?"fs-25 ln-30":"fs-50 ln-55")},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww fl fs-14 pos-r of-h",domProps:{innerHTML:t._s(t.truncateText(t.item.content_text,751))}}),t._v(" "),e("nuxt-link",{staticClass:"ww fl mt10 mb30 fs-13 td-ul",attrs:{to:t.localePath("/sayfa/"+t.item.seo_link)}}
1,[t._v(t._s(t.$t("read_more")))])],1)},[],!1,null,"b24c86e2",null);e.default=component.exports},,function(t,e,r){"use strict";r.r(e);var o={name:"b2b",props:{layout:{type:Array,default:[]}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),rowSlider:()=>r.e(0).then(r.bind(null,808))},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],b2bToolbarImage:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bToolbarImage||[],firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1,lazyLoadImage:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomapageLazyLoadImageClose||!0,scrollTimeout:null,scrollDeflection:this.$device.isDesktop?50:this.$device.isTablet?300:622,loadIndex:2,infinityLoading:!1}},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))},mainSliderTheme(){return()=>r(693)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.mainSliderTheme||0,".vue"))},blogTheme:()=>()=>Promise.all([r.e(0),r.e(15)]).then(r.bind(null,672)),priceTheme:()=>()=>r.e(0).then(r.bind(null,681))},mounted(){window.addEventListener("scroll",()=>{this.loadIndex>=this.layout.length||(this.infinityLoading=!0,clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.loadIndex+=3,this.infinityLoading=!1)},50),document.querySelectorAll("#infinite-list img").forEach(image=>{image.getAttribute("data-src")&&(image.setAttribute("src",image.getAttribute("data-src")),image.setAttribute("width",image.clientWidth),image.setAttribute("height",image.clientHeight),image.removeAttribute("data-src"))}))}),this.$lazyLoadImage().lazy("img")},methods:{getList(){loading||(loading=!0,loadingElm.style.visibility="",window.setTimeout(function(){loading=!1;for(var i=0;i<20;i++){var t=document.createElement("div");t.innerText="Item "+nextItem++,listElm.insertBefore(t,loadingElm),loading=!1,loadingElm.style.visibility="hidden"}},1e3))},getPer(t,e){return this.$device.isMobile?2:this.$device.isTablet?4:24==e?t||6:t||3}}},l=(r(559),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[Object.keys(t.b2bToolbarImage).length>0?e("a",{class:"ww fl",attrs:{href:t.b2bToolbarImage.url}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{width:"auto",height:"auto",loading:"lazy",src:t.b2bToolbarImage.img,alt:t.$t("Resim")}})]):t._e(),t._v(" "),e("headerWrap"),t._v(" "),t.firmSettingSlider.length>0&&t.mainSliderTheme?e(t.mainSliderTheme,{tag:"component"}):t._e(),t._v(" "),t.firmSettingReklam.length>0?e("div",{staticClass:"wrapper mrau px10 py15"},[e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.firmSettingReklam,function(r,o){return e("a",{key:"image_"+o,class:"pb15 pos-r cq-col-lg-6 cq-col-md-6 cq-col-sm-12 cq-col-xs-24",attrs:{href:r.url}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{width:"auto",height:"auto",loading:"lazy","data-src":r.img,alt:t.$t("Resim")}})])}),0)]):t._e(),t._v(" "),e("section",{staticClass:"ww fl",staticStyle:{"background-color":"#fbfbfb"},attrs:{id:"infinite-list"}},[e("div",{staticClass:"wrapper mrau px10 py15"},[e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.layout,function(r,o){return[r.id&&"image"==r.type?e("a",{key:"image_"+o,class:"pb15 pos-r cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24",attrs:{href:r.href}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{width:"auto",height:"auto",loading:"lazy","data-src":r.url,alt:t.$t("Resim")}})]):["static_tag","tag"].includes(r.type)&&r.list&&r.list.length>0?e("div",{key:"tag_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("div",{staticClass:"ww fl mb15 pos-r"},["static_tag"==r.type&&"0"==r.sort_type?e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/yenicikanlar")}},[t._v(t._s(t.$t("Yeni Çıkanlar")))]):"static_tag"==r.type&&"6"==r.sort_type?e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/soneklenenler")}},[t._v(t._s(t.$t("Son Eklenenler")))]):e("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/et
1iket/"+t.$seolink(r.name)+"?tag_id=".concat(r.id,"&sort_type=").concat(r.sort_type||""))}},[t._v(t._s(t.$t(r.name)))]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}}):t._e(),t._v(" "),e("rowSlider",{attrs:{"data-list":r.list,"per-item":t.getPer(r.itemCount,r.size),"item-step":t.getPer(r.itemCount,r.size)},scopedSlots:t._u([{key:"item",fn:function(r){var o=r.item;return[e(t.cardComponent,{tag:"component",attrs:{item:o,"pricebar-show":t.homepageShowBasket,lazyImage:t.lazyLoadImage}})]}},{key:"nextButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow prevItem w40 h40 fl cr-p pos-a rds30 z1 ta-o"},[e("i",{staticClass:"icon-arrow-right txt-dark fs-20"})]):t._e()]},proxy:!0},{key:"prevButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow nextItem w40 h40 fl cr-p pos-a rds30 z1 ta-o"},[e("i",{staticClass:"icon-arrow-left txt-dark fs-20"})]):t._e()]},proxy:!0}],null,!0)})],1)]):t._e()]})],2)])]),t._v(" "),t._l(t.layout,function(r,o){return[["news","prod"].includes(r.bar_type)?e(t.blogTheme,{key:"rs_"+r.showType+o,tag:"component",attrs:{row:r,"bar-theme":r.showType,"bar-type":r.bar_type||"news"}}):"price"==r.bar_type?e(t.priceTheme,{key:"bar_type_"+r.showType+o,tag:"component",attrs:{row:r,"bar-theme":r.showType,"bar-type":r.bar_type}}):t._e()]}),t._v(" "),e("footerWrap")],2)},[],!1,null,"293c2cce",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(11),l=r(81),n=r(5),c=r(25),d=r(333),m=r(334),h={name:"b2bPage",props:{layout:{type:Array,default:[]}},components:{headerWrap:header.default,bilab:footer.default,dropdownMenu:d.default,megaMenu:m.default,Swiper:n.Swiper,SwiperSlide:n.SwiperSlide,categorySlider:l.default,prodCard:o.default},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,paralaxImage:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage?this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage.img:"",firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],mainSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"}},query:"",menu:[],showAutocomplete:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAutocomplete||!1,completeLoading:!1,completeCount:0,completeData:null,completeTime:null,query:"",menu:[],colorFromScript:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!0,showBulletin:!1,showBulletinForm:!1,showPopup:!1,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,menuItems:null,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]},HasFixed:!1}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.PageTop(),this.showPopup=this.firmSetting.b2bPopupImage&&Object.keys(this.firmSetting.b2bPopupImage).length>0&&"1"!=this.$cookies.get("web_popup"),this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept");var t=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=c.default[this.$i18n.locale][t],this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie()},methods:{getAutoComplete(t){if(this.showAutocomplete){var e=this;clearTimeout(this.completeTime),this.completeTime=setTimeout(function(){t.target.value.length>1&&(e.getList(t.target.value),e.getAutoCompleteWrap=!0)},1e3)}},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},handleScroll(){this.HasFixed=window.scrollY>=100,this.HasFixed?this.colorFromScript="#1b1b1b":this.colorFromScript="#ffffff"},getSearch(){location.href=this.localePath({path:"/ara",query:{search_text:encodeURIComponent(this.query)}})},remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")}
1,validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},closed_popup(){this.showPopup=!1,this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},f=(r(562),r(563),r(0)),component=Object(f.a)(h,function(){var t=this,e=t._self._c;return e("main",[e("div",{staticClass:"homepage ww fl pos-a tp-0 z99"},[e("headerWrap")],1),t._v(" "),t.firmSettingSlider.length>0?e("div",{staticClass:"ww fl pos-r of-h"},[e("div",{staticClass:"mainSliderWrap ww fl"},[t.$device.isDesktop?e("span",{staticClass:"nextImgMain sliderButton w50 hh mr20 pos-a tp-0 rg-0 txt-white cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#ffffff",height:"50px",width:"50px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])]):t._e(),t._v(" "),t.$device.isDesktop?e("span",{staticClass:"prevImgMain sliderButton w50 hh ml20 pos-a tp-0 lf-0 txt-white cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#ffffff",height:"50px",width:"50px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"100vh"),attrs:{options:t.mainSwiperOption}},t._l(t.firmSettingSlider,function(r,o){return e("swiper-slide",{key:o},[e("a",{staticClass:"ww fl pos-r of-h",style:"height:"+(t.$device.isDesktop,"100vh;background-image:url(")+r.img+");background-position: center center;background-size: cover;"})])}),1)],1),t._v(" "),e("div",{class:"ww mb30 pos-a bt-0 z1",style:t.$device.isDesktop?"":"margin-top:-77px"},[e("div",{staticClass:"wrapper-1240 mrau pos-r"},[e("categorySlider",{attrs:{dataList:t.firmSettingReklam}})],1)])]):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl pb50",staticStyle:{"background-color":"#EEEEEE"}},[e("div",{staticClass:"wrapper-1140 mrau"},[e("div",{staticClass:"ww fl px15 pb15"},[e("h2",{staticClass:"ww fl mt50 mb15 ta-c txt-head fs-30 fw-9"},[t._v("ÜRÜN GRUPLARIMIZ")]),t._v(" "),e("p",{staticClass:"ww fl mb50 ta-c txt-sub fs-18"},[t._v("Aşağıdaki kategoriler üzerinden hızlı bir şekilde ürünlere ulaşabilirsiniz.")]),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.firmSettingReklam,function(r,o){return e("div",{key:"box_"+o,staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-12"},[e("a",{staticClass:"ItemShadow ww fl mb20 pb15 bg-white pos-r rds5",attrs:{href:r.url}},[e("img",{staticClass:"ww fl pt30 px50",staticStyle:{filter:"brightness(0)"},attrs:{src:r.img,alt:r.name}}),t._v(" "),e("span",{staticClass:"ww fl mt10 px10 ta-c fw-7 fs-14"},[t._v(t._s(r.name))])])])}),0)])])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("section",{staticClass:"parallax ww fl",style:"background-image: url( "+t.paralaxImage+" );"},[t._m(0)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("bilab")],1)},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-36em mrau parallax-content"},[e("h2",{staticClass:"ww fl mb30 ta-c txt-white fs-25 fw-b ln-30"},[t._v("KONTROLİSTANBUL KİMDİR?")]),t._v(" "),e("p",{staticClass:"ww fl ta-c txt-white fs-15"},[t._v("Kontrolistanbul.com kone, otis, schindler ve thyssenkrupp  yedek parça konusunda Türkiye'nin en büyük tedarikcisi olup aynı zamanda yerli asansor yedek parcaları da dahil olmak üzere en iyi fiyat garantisi veren bir e-ticaret platformudur.")])])}],!1,null,"799b0908",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"SearchHome",components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",ureticiList:[],tagsList:[],categoriesList:[],isPublic:"public/",query:"",focused:!1,searchTerms:{},filters:[{key:"uretici",label:"Üretici",filterable:!0,selectedId:null,
1selectedLabel:"Tümü",options:[]},{key:"kategori",label:"Kategori",filterable:!0,selectedId:null,selectedLabel:"Tümü",options:[]},{key:"etiketler",label:"Etiketler",filterable:!0,selectedId:null,selectedLabel:"Tümü",options:[]}]}},created(){this.filters.forEach(t=>{t.filterable&&this.$set(this.searchTerms,t.key,"")}),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.getCategoriesList(),this.getUreticiList(),this.getTagList()},methods:{buildOptions(t,e){return[{id:null,label:"Tümü"},...(t||[]).map(t=>({id:t.id,label:this.pickLabel(t,e)}))]},pickLabel:(t,e)=>t[e]||t.ureticiad||t.prcg_name||t.kategoriad||t.name||t.ad||"#"+t.id,setFilterOptions(t,e,r){var o=this.filters.find(e=>e.key===t);o&&(o.options=this.buildOptions(e,r))},onSelect(filter,option){filter.selectedId=option.id,filter.selectedLabel=option.label},filteredOptions(filter){if(!filter.filterable)return filter.options;var t=(this.searchTerms[filter.key]||"").trim().toLocaleLowerCase("tr");return t?filter.options.filter(e=>null===e.id||e.label.toLocaleLowerCase("tr").includes(t)):filter.options},onVisibleChange(t,filter){t&&filter.filterable&&(this.$set(this.searchTerms,filter.key,""),this.$nextTick(()=>{var t=this.$refs["search_"+filter.key];Array.isArray(t)&&(t=t[0]),t&&t.focus&&t.focus()}))},onSearch(){var t={},q=this.query.trim();q&&(t.search_text=q);var e={uretici:"producer_id",kategori:"category_id",etiketler:"tag_id"};this.filters.forEach(r=>{null!==r.selectedId&&void 0!==r.selectedId&&(t[e[r.key]]=r.selectedId)}),this.$router.push({path:"/ara",query:t})},getUreticiList(){var t;this.ureticiList=null===(t=this.firmSetting)||void 0===t?void 0:t.b2bHomePageManufacturerList,this.ureticiList.length>0&&this.setFilterOptions("uretici",this.ureticiList,"ureticiad")},getTagList(){var t;this.tagsList=null===(t=this.firmSetting)||void 0===t?void 0:t.b2bHomePageTagsList,this.setFilterOptions("etiketler",this.tagsList,"kategoriad")},getCategoriesList(){var t;this.categoriesList=null===(t=this.firmSetting)||void 0===t?void 0:t.b2bHomePageCategoriesList,this.setFilterOptions("kategori",this.categoriesList,"prcg_name")}}},l=(r(564),r(565),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"search-home"},[e("div",{staticStyle:{display:"none"}},[e("headerWrap")],1),t._v(" "),e("main",{staticClass:"stage"},[e("div",{staticClass:"inner"},[e("div",{staticClass:"logo"},[e("img",{staticClass:"fl rds5 object-contain z1",attrs:{src:t.siteLogo,alt:"Logo"}})]),t._v(" "),e("h1",[t._v("Doğru parçayı saniyeler içinde bul")]),t._v(" "),e("div",{staticClass:"search-bar",class:{"is-focus":t.focused}},[e("el-input",{staticClass:"search-input",attrs:{placeholder:"Ne arıyorsunuz?","prefix-icon":"el-icon-search",clearable:""},on:{focus:function(e){t.focused=!0},blur:function(e){t.focused=!1}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.onSearch.apply(null,arguments)}},model:{value:t.query,callback:function(e){t.query=e},expression:"query"}}),t._v(" "),e("el-button",{staticClass:"search-btn",attrs:{type:"primary"},on:{click:t.onSearch}},[t._v("Ara")])],1),t._v(" "),e("div",{staticClass:"filters"},t._l(t.filters,function(r){return e("el-dropdown",{key:r.key,attrs:{trigger:"click",placement:"bottom"},on:{command:e=>t.onSelect(r,e),"visible-change":e=>t.onVisibleChange(e,r)}},[e("span",{staticClass:"pill"},[e("span",{staticClass:"label"},[t._v(t._s(r.label))]),t._v(" "),e("span",{staticClass:"dot"},[t._v("·")]),t._v(" "),e("span",{staticClass:"value"},[t._v(t._s(r.selectedLabel))]),t._v(" "),e("i",{staticClass:"el-icon-arrow-down caret"})]),t._v(" "),e("el-dropdown-menu",{staticClass:"filter-menu",attrs:{slot:"dropdown"},slot:"dropdown"},[e("div",{staticClass:"filter-options"},[t._l(t.filteredOptions(r),function(o){return e("el-dropdown-item",{key:null===o.id?"all":o.id,class:{"is-selected":o.id===r.selectedId},attrs:{command:o}},[e("span",{staticClass:"opt-row"},[e("span",[t._v(t._s(o.label))]),t._v(" "),o.id===r.selectedId?e("i",{staticClass:"el-icon-check"}):t._e()])])}),t._v(" "),0===t.filteredOptions(r).length?e("div",{staticClass:"filter-empty"},[t._v("\n                  Sonuç bulunamadı\n                ")]):t._e()],2)])],1)}
1),1)])]),t._v(" "),e("footer",[e("div",{staticStyle:{display:"none"}},[e("footerWrap")],1),t._v(" "),e("nuxt-link",{attrs:{to:"/iletisim"}},[t._v("İletişim")])],1)])},[],!1,null,"e0ecef44",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),r(25)),n={name:"b2bPage",props:{layout:{type:Array,default:[]}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),prodDergahCard:()=>Promise.all([r.e(0),r.e(7)]).then(r.bind(null,650)),Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{news1:["https://www.faber.co.uk/wp-content/uploads/2024/04/Faber-Shop-New-In-Category-credit-Yeshen-Venema-sq-1000x1000.jpg","https://www.faber.co.uk/wp-content/uploads/2024/08/PD-James-Adam-Dalgliesh-Books-43-credit-Indira-Birnie-600x600.jpg","https://www.faber.co.uk/wp-content/uploads/2024/06/The-Buddha-of-Suburbia-Faber-Members-Edition-7-square-600x600.jpg","https://www.faber.co.uk/wp-content/uploads/2024/04/Faber-Books-Bundles-Seamus-Heaney-68-square-600x600.jpg","https://www.faber.co.uk/wp-content/uploads/2024/06/Faber-Editions-and-tote-71-600x400.jpg"],news2:["https://www.faber.co.uk/wp-content/uploads/2024/09/Collected-Prose-Sylvia-Plath-featured-image.jpg","https://www.faber.co.uk/wp-content/uploads/2024/08/Lord-of-the-Flies-Graphic-Novel-credit-Indira-Birnie-64.jpg","https://www.faber.co.uk/wp-content/uploads/2024/09/Sherlock-and-Pages-4-1000x714.jpg"],news3:["https://www.faber.co.uk/wp-content/uploads/2022/01/Faber-Members-Editions-Normal-People-landscape.jpg","https://www.faber.co.uk/wp-content/uploads/2022/11/Faber-Editions-landscape-credit-Yeshen-Venema-1800x1200.jpg","https://www.faber.co.uk/wp-content/uploads/2024/09/New-Books-Preview-Oct-Dec-Featured-24-600x496.jpg"],allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,paralaxImage:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage?this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage.img:"",firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1,firmSettingNews:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber,mainSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},on:{slideChange:function(){this.sliderActiveIndex=this.activeIndex}}},newsSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".newsNextImgMain",prevEl:".newsPrevImgMain"},on:{slideChange:function(){this.newsSliderActiveIndex=this.activeIndex}}},sliderActiveIndex:0,newsSliderActiveIndex:0,query:"",query:"",menu:[],colorFromScript:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!0,showBulletin:!1,showBulletinForm:!1,showPopup:!1,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},computed:{component:()=>()=>Promise.all([r.e(0),r.e(15)]).then(r.bind(null,672))},created(){this.createMenu(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.PageTop(),this.showPopup=this.firmSetting.b2bPopupImage&&Object.keys(this.firmSetting.b2bPopupImage).length>0&&"1"!=this.$cookies.get("web_popup"),this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept");var t=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=l.default[this.$i18n.locale][t],this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie()},methods:{pad(t,e){for(t=t.toString();t.length<e;)t="0"+t;return t},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}}
1,createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))),e},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getSearch(){location.href=this.localePath({path:"/ara",query:{search_text:encodeURIComponent(this.query)}})},remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;
1=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")},validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},closed_popup(){this.showPopup=!1,this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},c=(r(566),r(567),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl pt40 bg-black"}),t._v(" "),e("div",{staticClass:"ww pos-a mt40"},[e("headerWrap",{attrs:{"logo-color":t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000"}})],1),t._v(" "),t.firmSettingSlider.length>0?e("div",{staticClass:"mainSliderWrap ww fl pos-r",style:"background-color:"+(t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].b2bColor?t.firmSettingSlider[t.sliderActiveIndex].b2bColor:"#000")},[t.$device.isDesktop?e("div",{staticClass:"w60 hh pos-a tp-0 rg-0 ta-o"},[e("span",{staticClass:"nextImgMain ww h60 mr5 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000",viewBox:"0 0 256 256"}},[e("rect",{attrs:{width:"256",height:"256",fill:"none"}}),e("line",{attrs:{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),e("polyline",{attrs:{points:"144 56 216 128 144 200",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w60 hh pos-a tp-0 lf-0 ta-o"},[e("span",{staticClass:"prevImgMain ww h60 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000",viewBox:"0 0 256 256"}},[e("rect",{attrs:{width:"256",height:"256",fill:"none"}}),e("line",{attrs:{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),e("polyline",{attrs:{points:"112 56 40 128 112 200",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}})])])]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop?"800px":"71vh"),attrs:{options:t.mainSwiperOption}},t._l(t.firmSettingSlider,function(r,o){return e("swiper-slide",{key:o,style:"padding-top:"+(t.$device.isDesktop?"263":"163")+"px;background-color:"+r.b2bColor},[e("div",{staticClass:"wrapper-1140 mrau pos-r"},[e("el-row",{attrs:{gutter:15}},[t.$device.isDesktop?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"home-hero__title",staticStyle:{color:"black"}},[e("span",{staticClass:"ww fl fs-18",style:"color:"+r.txtColor},[t._v(t._s(r.title))]),t._v(" "),e("h1",{staticClass:"ww fl fs-63 ln-63 ff-fraunces",style:"color:"+r.txtColor},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl mb50 fs-16",
1style:"color:"+r.txtColor},[t._v(t._s(r.label))]),t._v(" "),e("p",{staticClass:"ww fl mb50 fs-15",style:"color:"+r.txtColor},[t._v(t._s(r.description))]),t._v(" "),e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-18",staticStyle:{"border-bottom":"5px solid #f97a80"},style:"color:"+r.txtColor,attrs:{href:r.url,target:"",title:r.button}},[t._v(t._s(r.button))])])])]):t._e(),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("span",{staticClass:"ww fl ta-c fs-16",style:"color:"+r.txtColor},[t._v(t._s(r.title))]),t._v(" "),e("img",{attrs:{src:r.img,alt:r.name}})]),t._v(" "),t.$device.isDesktop?t._e():e("el-col",{attrs:{span:24}},[e("h1",{staticClass:"ww fl ta-c fs-25 ln-30 ff-fraunces",style:"color:"+r.txtColor},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl ta-c mb50 fs-15",style:"color:"+r.txtColor},[t._v(t._s(r.label))])])],1)],1)])}),1),t._v(" "),t._m(0)],1):t._e(),t._v(" "),t.firmSetting.b2bAboutUs?e("div",{staticClass:"ww fl py15",staticStyle:{"background-color":"#fbfbfb"}},[e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl my50 px15 py15"},[e("p",{staticClass:"ww fl ta-c txt-sub fs-17 ln-30 ff-fraunces"},[t._v(t._s(t.firmSetting.b2bAboutUs))])])])]):t._e(),t._v(" "),e("section",{staticClass:"ww fl pt50",staticStyle:{background:"#f7f7f7"}},[e("div",{staticClass:"wrapper mrau px10 pt30 pb10"},[t.layout.length>0?e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.layout,function(r,o){return[r.show&&"static_tag"==r.type&&"0"==r.sort_type&&r.list.length>0?e("div",{key:"yenicikanlar"+o,staticClass:"ww fl py15 pos-r",class:t.$device.isDesktop?"px50":""},[t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 rg-0 ta-o"},[e("a",{staticClass:"nextImgyenicikanlar sliderButtonBg w40 h40 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 lf-0 ta-o"},[e("a",{staticClass:"prevImgyenicikanlar sliderButtonBg w40 h40 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"ww fl mb50 ta-c ln-37 ff-fraunces",style:"color: #f97a80;font-size:"+(t.$device.isDesktop?"114px":"40px"),attrs:{to:t.localePath("/yenicikanlar")}},[t._v(t._s(t.$t("Yeni Çıkanlar")))]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiperyenicikanlar",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"yenicikanlar",view:4,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)],1):r.show&&"static_tag"==r.type&&"6"==r.sort_type&&r.list.length>0?e("div",{key:"soneklenenler"+o,staticClass:"ww fl mb50 py15 px50 pos-r"},[e("div",{staticClass:"wrapper-1190 mrau px10 py15"},[t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 rg-0 ta-o"},[e("a",{staticClass:"nextImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 lf-0 ta-o"}
1,[e("a",{staticClass:"prevImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"ww fl mb50 ta-c ln-37",style:"color: #f97a80;font-size:"+(t.$device.isDesktop?"114px":"40px"),attrs:{to:t.localePath("/soneklenenler")}},[t._v(t._s(t.$t("Son Eklenenler")))]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swipersoneklenenler",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"soneklenenler",view:4,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)],1)]):r.id&&"image"==r.type?e("div",{key:"image_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("a",{staticClass:"ww fl pb15 pos-r",attrs:{href:r.href}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{src:r.url}})])]):r.id&&"tag"==r.type?[e("div",{key:"tag_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"h40 ww fl mb10 fw-b ta-c fs-63 ln-377 ff-fraunces",attrs:{to:t.localePath("/etiket/"+t.$seolink(r.name)+"?tag_id="+r.id)}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.$t(r.name))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{class:"prevImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{class:"nextImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiper"+o,refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:o,view:24==r.size?6:2,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)])]:t._e()]})],2):t._e()])]),t._v(" "),t._l(t.layout,function(r,o){return["blog_tag"==r.type&&[1,2,3,4,5].includes(r.showType)?e(t.component,{key:"rs_"+r.showType+o,tag:"component",attrs:{row:r,"bar-theme":r.showType,"bar-type":"news"}}):t._e()]}),t._v(" "),e("dergah")],2)},[function(){var t=this._self._c;return t("div",{staticClass:"ww fl pb20 pos-a bt-0 ta-o z9"},[t("div",{staticClass:"swiper-pagination"})])}],!1,null,"ce141716",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),r(25)),n={name:"b2bPage",props:{layout:{type:Array,default:[]}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),prodDergahCard:()=>Promise.all([r.e(0),r.e(7)]).then(r.bind(null,650)),Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,paralaxImage:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage?this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPopupImage.img:"",firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1,firmSettingNews:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber,mainSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},pagination:{el:".swiper-pagination",type:"bullets",clickable:!0},on:{slideChange:function(){this.sliderActiveIndex=this.activeIndex}}},newsSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".newsNextImgMain",prevEl:".newsPrevImgMain"},on:{slideChange:function(){this.newsSliderActiveIndex=this.activeIndex}}},sliderActiveIndex:0,newsSliderActiveIndex:0,query:"",query:"",menu:[],colorFromScript:"",getAutoCompleteWrap:!1,appMode:this.$store.state.firmAppMode||"0",cookieAccept:!0,showBulletin:!1,showBulletinForm:!1,showPopup:!1,payShow:!1,chatLink:"",drawer:!0,showPageTopButton:!1,dialogVisible:!0,gizlilikMenuItems:null,isMobile:this.$device.isMobile,web_logo:"",web_logo_foter:"",web_logo_favicon:"",web_title:"",web_footer_head_title:"",web_footer_title:"",web_footer_address:"",web_email:"",web_phone:"",aboneButtonLoading:!1,getAboneShow:!1,aboneMail:"",cookieText:"",bulletinForm:{firma:"",eposta:"",ceptel:"",ceptel_kod:"",type:0},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},created(){this.createMenu(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.PageTop(),this.showPopup=this.firmSetting.b2bPopupImage&&Object.keys(this.firmSetting.b2bPopupImage).length>0&&"1"!=this.$cookies.get("web_popup"),this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept");var t=this.firmSetting.b2bIosCookie?"Çerez Bilgilendirme 2":"Çerez Bilgilendirme";this.cookieText=l.default[this.$i18n.locale][t],this.bulletinForm.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90},mounted(){this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie()},methods:{pad(t,e){for(t=t.toString();t.length<e;)t="0"+t;return t},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}}
1,createMenu(){if(this.menu=[],!this.firmSettingMenu.header)return!1;for(var i=0;i<this.firmSettingMenu.header.length;i++){var t=this.firmSettingMenu.header[i];if("megaYayinci"==t.id)this.menu.push({title:t.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==t.id)this.menu.push({title:t.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==t.id)this.menu.push({title:t.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:t.child,url:"dropdown"+i});else if("megaKategori"==t.id)this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(t.url)){this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id)}})}else null!=t.id&&"null"!=t.id?this.menu.push({title:t.name,element:"nuxt-link",attributes:{to:this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))}}):this.menu.push({title:t.name,attributes:{href:t.url}})}},getMakeUrl(t){var e=this.localePath("/"+t.url+"/"+this.$seolink(t.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id);return"sayfa"==t.url&&(e=this.localePath("/"+t.url+"/"+t.id+"/"+this.$seolink(t.name))),e},focusEvent(t){if(this.query.length>2){var e=this;setTimeout(function(){e.getAutoCompleteWrap=t},100)}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                                <span class="fs-13 fw-b txt-info">\n                                    <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                    ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                                </span>\n                            </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getList(text){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.completeLoading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text="+encodeURIComponent(text)+"&sort_type="+(this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"0")+"&limit=10&page=1").then(t=>{this.completeLoading=!1,this.completeData=t.data.KiboApp.Response.data.list,this.completeCount=t.data.KiboApp.Response.data.rowCount}).catch(()=>{this.completeLoading=!1,this.completeData=null,this.completeCount=0})},getSearch(){location.href=this.localePath({path:"/ara",query:{search_text:encodeURIComponent(this.query)}})},remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:this.firmSetting.b2bDefaultPhoneCode||90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;
1=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:this.bulletinForm.ceptel_kod||this.firmSetting.b2bDefaultPhoneCode||90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")},validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},closed_popup(){this.showPopup=!1,this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},c=(r(568),r(569),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl pt40 bg-black"}),t._v(" "),e("div",{staticClass:"ww pos-a mt40"},[e("headerWrap",{attrs:{"logo-color":t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000"}})],1),t._v(" "),t.firmSettingSlider.length>0?e("div",{staticClass:"mainSliderWrap ww fl pos-r",style:"background-color:"+(t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].b2bColor?t.firmSettingSlider[t.sliderActiveIndex].b2bColor:"#000")},[t.$device.isDesktop?e("div",{staticClass:"w60 hh pos-a tp-0 rg-0 ta-o"},[e("span",{staticClass:"nextImgMain ww h60 mr5 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000",viewBox:"0 0 256 256"}},[e("rect",{attrs:{width:"256",height:"256",fill:"none"}}),e("line",{attrs:{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),e("polyline",{attrs:{points:"144 56 216 128 144 200",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w60 hh pos-a tp-0 lf-0 ta-o"},[e("span",{staticClass:"prevImgMain ww h60 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"#000",viewBox:"0 0 256 256"}},[e("rect",{attrs:{width:"256",height:"256",fill:"none"}}),e("line",{attrs:{x1:"40",y1:"128",x2:"216",y2:"128",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}}),e("polyline",{attrs:{points:"112 56 40 128 112 200",fill:"none",stroke:t.firmSettingSlider[t.sliderActiveIndex]&&t.firmSettingSlider[t.sliderActiveIndex].txtColor?t.firmSettingSlider[t.sliderActiveIndex].txtColor:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"8"}})])])]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop?"800px":"71vh"),attrs:{options:t.mainSwiperOption}},t._l(t.firmSettingSlider,function(r,o){return e("swiper-slide",{key:o,style:"padding-top:"+(t.$device.isDesktop?"263":"163")+"px;background-color:"+r.b2bColor},[e("div",{staticClass:"wrapper-1140 mrau pos-r"},[e("el-row",{attrs:{gutter:15}},[t.$device.isDesktop?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"home-hero__title",staticStyle:{color:"black"}},[e("span",{staticClass:"ww fl fs-18",style:"color:"+r.txtColor},[t._v(t._s(r.title))]),t._v(" "),e("h1",{staticClass:"ww fl fs-63 ln-63 ff-fraunces",style:"color:"+r.txtColor},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl mb50 fs-16",
1style:"color:"+r.txtColor},[t._v(t._s(r.label))]),t._v(" "),e("p",{staticClass:"ww fl mb50 fs-15",style:"color:"+r.txtColor},[t._v(t._s(r.description))]),t._v(" "),e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-18",staticStyle:{"border-bottom":"5px solid #f97a80"},style:"color:"+r.txtColor,attrs:{href:r.url,target:"",title:r.button}},[t._v(t._s(r.button))])])])]):t._e(),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("span",{staticClass:"ww fl ta-c fs-16",style:"color:"+r.txtColor},[t._v(t._s(r.title))]),t._v(" "),e("img",{attrs:{src:r.img,alt:r.name}})]),t._v(" "),t.$device.isDesktop?t._e():e("el-col",{attrs:{span:24}},[e("h1",{staticClass:"ww fl ta-c fs-25 ln-30 ff-fraunces",style:"color:"+r.txtColor},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl ta-c mb50 fs-15",style:"color:"+r.txtColor},[t._v(t._s(r.label))])])],1)],1)])}),1),t._v(" "),t._m(0)],1):t._e(),t._v(" "),t.firmSetting.b2bAboutUs?e("div",{staticClass:"ww fl py15",staticStyle:{"background-color":"#fbfbfb"}},[e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl my50 px15 py15"},[e("p",{staticClass:"ww fl ta-c txt-sub fs-17 ln-30 ff-fraunces"},[t._v(t._s(t.firmSetting.b2bAboutUs))])])])]):t._e(),t._v(" "),e("section",{staticClass:"ww fl pt50",staticStyle:{background:"#f7f7f7"}},[e("div",{staticClass:"wrapper mrau px10 pt30 pb10"},[t.layout.length>0?e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.layout,function(r,o){return[r.show&&"static_tag"==r.type&&"0"==r.sort_type&&r.list.length>0?e("div",{key:"yenicikanlar"+o,staticClass:"ww fl py15 pos-r",class:t.$device.isDesktop?"px50":""},[t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 rg-0 ta-o"},[e("a",{staticClass:"nextImgyenicikanlar sliderButtonBg w40 h40 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 lf-0 ta-o"},[e("a",{staticClass:"prevImgyenicikanlar sliderButtonBg w40 h40 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"ww fl mb50 ta-c ln-37 ff-fraunces",style:"color: #f97a80;font-size:"+(t.$device.isDesktop?"114px":"40px"),attrs:{to:t.localePath("/yenicikanlar")}},[t._v(t._s(t.$t("Yeni Çıkanlar")))]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiperyenicikanlar",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"yenicikanlar",view:4,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)],1):r.show&&"static_tag"==r.type&&"6"==r.sort_type&&r.list.length>0?e("div",{key:"soneklenenler"+o,staticClass:"ww fl mb50 py15 px50 pos-r"},[e("div",{staticClass:"wrapper-1190 mrau px10 py15"},[t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 rg-0 ta-o"},[e("a",{staticClass:"nextImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 lf-0 ta-o"}
1,[e("a",{staticClass:"prevImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"ww fl mb50 ta-c ln-37",style:"color: #f97a80;font-size:"+(t.$device.isDesktop?"114px":"40px"),attrs:{to:t.localePath("/soneklenenler")}},[t._v(t._s(t.$t("Son Eklenenler")))]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swipersoneklenenler",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"soneklenenler",view:4,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)],1)]):r.id&&"image"==r.type?e("div",{key:"image_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("a",{staticClass:"ww fl pb15 pos-r",attrs:{href:r.href}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{src:r.url}})])]):r.id&&"tag"==r.type?[e("div",{key:"tag_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"h40 ww fl mb10 fw-b ta-c fs-63 ln-377 ff-fraunces",attrs:{to:t.localePath("/etiket/"+t.$seolink(r.name)+"?tag_id="+r.id)}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t(r.name))+"\n\t\t\t\t\t\t\t")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{class:"prevImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{class:"nextImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiper"+o,refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:o,view:24==r.size?6:2,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodDergahCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)])]:t._e()]})],2):t._e()])]),t._v(" "),t._l(t.layout,function(r,o){return["blog_tag"==r.type&&"1"==r.showType?e("section",{key:"r1_"+o,staticClass:"ww fl my50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-11 cq-col-md-11 cq-col-sm-11 cq-col-xs-24",staticStyle:{background:"#474B46"}},[e("div",{staticClass:"pos-sc tp-0 ww fl ta-o",staticStyle:{"min-height":"100vh"}},[r.list.length>0?e("div",{staticClass:"wrapper-36em mrau"},[e("div",{staticClass:"cq-row cq-gap-20 pos-r of-h"},[e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("h2",{staticClass:"ww fl my50 pt50 pr50 fs-53 ln-53 txt-white ff-fraunces",style:t.$device.isDesktop?"margin-left:63px;text-indent:-63px;":"margin-left:30px;text-indent:-13px;"},[t._v(t._s(r.list[0].content_title))])])]),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"}),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("div",{staticClass:"ww fl p30"},[e("div",{staticClass:"ww fl ln-20 fs-16 txt-white txt-of-line-5",domProps:{innerHTML:t._s(r.list[0].content_text)}}),t._v(" "),e("div",{staticClass:"ww fl my40 pos-r",staticStyle:{"padding-top":"125%"}},[r.list[0].files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover",attrs:{src:r.list[0].files[0].fl_url,alt:r.list[0].content_title}}):t._e()]),t._v(" "),e("div",{staticClass:"anim my50"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-18",staticStyle:{"border-bottom":"5px solid #f97a80"},style:"color:#fff",attrs:{href:"#",target:""}},[t._v("Kitabı Gör")])])])])])]):t._e()])]),t._v(" "),e("div",{staticClass:"cq-col-lg-13 cq-col-md-13 cq-col-sm-13 cq-col-xs-24",staticStyle:{"min-height":"100vh"}},[e("div",{staticClass:"ww fl px20 py40"},[e("div",{staticClass:"cq-row cq-gap-20 py30",class:t.$device.isDesktop?"px50":""},t._l(r.list.slice(1,5),function(r,l){return e("div",{key:o+"_"+l,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})]),t._v(" "),e("span",{staticClass:"ww h40 fl ln-20 mt20 ta-c fs-17 fw-6 ff-fraunces txt-of-line-2"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt10 mb50 ta-c fs-14 txt-of-line-2",domProps:{innerHTML:t._s(r.content_text)}})])}),0)])])])]):t._e(),t._v(" "),"blog_tag"==r.type&&"2"==r.showType?e("section",{key:"r2_"+o,staticClass:"ww fl my20 py50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24"},[e("h2",{staticClass:"ww fl mb40 pr50 fs-53 ln-53 ff-fraunces",style:t.$device.isDesktop?"margin-left:63px;text-indent:-63px;":"margin-left:30px;text-indent:-13px;"},[t._v(t._s(r.name))])])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"cq-row cq-gap-30"},t._l(r.list.slice(0,4),function(r,l){return e("div",{key:o+"_"+l,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24 mb15",staticStyle:{background:"#f3ece4"}},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"75%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl px10 pr20"},[e("div",{staticClass:"ww h100 fl"},[e("span",{staticClass:"ww fl mt15 fs-20 ln-24 fw-6 ff-fraunces txt-of-line-3"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt5 fs-13 ln-18 txt-of-line-3",domProps:{innerHTML:t._s(r.content_text)}})]),t._v(" "),e("div",{staticClass:"ww h80 fl"}),t._v(" "),e("div",{staticClass:"ww h40 fl dp-f jc-sb ai-c"},[e("span",{staticClass:"fl fs-14"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])])])])}),0)])]):t._e(),t._v(" "),"blog_tag"==r.type&&"3"==r.showType?e("section",{key:"r3_"+o,staticClass:"ww fl"},[e("div",{staticClass:"ww fl pos-r"},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-10 cq-col-md-10 cq-col-sm-10 cq-col-xs-24",staticStyle:{background:"#BDCCBF"}},[e("div",{staticClass:"wrapper-36em mrau pt50"},t._l(r.list.slice(0,1),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"ww fl pos-r of-h",class:t.$device.isDesktop?"p50":"p10"},[e("h2",{staticClass:"ww fl mt50 mb40 pr50 fs-53 ln-53 ff-fraunces",staticStyle:{"margin-left":"63px","text-indent":"-63px"}},[t._v(t._s(r.content_title))]),t._v(" "),e("p",{staticClass:"ww fl mt5 px30 ta-c fs-15 ln-18 txt-of-line-5",domProps:{innerHTML:t._s(r.content_text)}}),t._v(" "),e("div",{staticClass:"fr mt50 px40"},[e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])}),0)]),t._v(" "),e("div",{staticClass:"cq-col-lg-14 cq-col-md-14 cq-col-sm-14 cq-col-xs-24"},[e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"75vh"),attrs:{options:t.newsSwiperOption}},t._l(r.list.slice(1),function(r,l){return e("swiper-slide",{key:"news_"+o+"_"+l,style:"background-image:url("+(r.files.length>0?r.files[0].fl_url:"")+");background-position: center center;background-size: cover;"},[e("div",{staticClass:"ww fl p40 pos-a bt-0"},[e("div",{staticClass:"wrapper-48em mrau pos-r"},[e("div",{staticClass:"ww fl mb20 bg-white p10"},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 ta-o"},[e("h2",{staticClass:"ww fl fs-32 ta-c ln-32 fw-b ff-fraunces txt-of-line-3"},[t._v(t._s(r.content_title))])])]),t._v(" "),e("div",{staticClass:"cq-col-lg-10 cq-col-md-10 cq-col-sm-10 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 ta-o"},[e("div",{staticClass:"ww h60 fl ln-20 ta-c fs-15 txt-of-line-3",domProps:{innerHTML:t._s(r.content_text)}})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("div",{staticClass:"ww fl p50 ta-o"},[t.$device.isDesktop?e("div",{staticClass:"w30 h30 ta-o"},[e("span",{staticClass:"newsPrevImgMain sliderButtonBgHover ww h30 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#000",height:"20px",width:"20px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("span",{staticClass:"w60 mx10 ta-o fd-c"},[e("span",{staticClass:"ww fl ta-c fs-14 txt-dark"},[t._v(t._s(t.pad(t.newsSliderActiveIndex+1,2)))]),t._v(" "),e("span",{staticClass:"ww fl ta-c fs-14",staticStyle:{color:"#777"}},[t._v(t._s(t.pad(t.firmSettingSlider.length,2)))])]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w30 h30 ta-o"},[e("span",{staticClass:"newsNextImgMain sliderButtonBgHover ww h30 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#000",height:"20px",width:"20px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e()])])])])])])])}),1)],1)])])]):t._e(),t._v(" "),"blog_tag"==r.type&&"4"==r.showType?e("section",{key:"r4_"+o,staticClass:"ww fl py50",staticStyle:{background:"#E07A5F"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"cq-row cq-gap-20 mb10"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("div",{staticClass:"ww fl py50 ta-o bg-white"},t._l(r.list.slice(0,1),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"ww fl py20"},[e("h2",{staticClass:"ww fl mt40 mb10 px30 ta-c fs-40 ln-45 ff-fraunces"},[t._v(t._s(r.content_title))]),t._v(" "),e("p",{staticClass:"ww fl mt5 px30 ta-c fs-15 ln-18 txt-of-line-5",domProps:{innerHTML:t._s(r.content_text)}}),t._v(" "),e("div",{staticClass:"ww fl mt30 mb50 ta-o"},[e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])}),0)]),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 px20"},[e("div",{staticClass:"cq-row cq-gap-20"},t._l(r.list.slice(1,5),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24",staticStyle:{"border-bottom":"1px solid #000"}},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww h120 fl"},[e("a",{staticClass:"ww fl mt15 fs-19 fw-6 txt-black ff-fraunces txt-of-line",attrs:{href:r.seo_link}},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt5 fs-16 ln-18 fw-4 txt-black txt-of-line-2",domProps:{innerHTML:t._s(r.content_text)}})])])])}),0)])])])])])]):t._e(),t._v(" "),"blog_tag"==r.type&&"5"==r.showType?e("section",{key:"r5_"+o,staticClass:"ww fl my20 py50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"ww fl mb50 pb60 dp-f jc-sb ai-c"},[e("h2",{staticClass:"fs-53 ln-53 ff-fraunces",staticStyle:{"margin-left":"63px","text-indent":"-63px"}},[t._v(t._s(r.name))])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},t._l(r.list.slice(0,3),function(r,l){return e("div",{key:o+"_"+l,staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24 pos-r",staticStyle:{background:"#f3ece4"}},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"min-height":"571px","padding-top":"100%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})]),t._v(" "),e("div",{staticClass:"ww fl p30 pos-a bt-0 rg-0"},[e("div",{staticClass:"ww h160 fl p20 bg-white"},[e("span",{staticClass:"ww h60 fl mt5 mb20 ln-30 fs-25 fw-6 ff-fraunces txt-of-line-2"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"anim mb10"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])])}),0)])]):t._e()]}),t._v(" "),e("footerTheme")],2)},[function(){var t=this._self._c;return t("div",{staticClass:"ww fl pb20 pos-a bt-0 ta-o z9"},[t("div",{staticClass:"swiper-pagination"})])}],!1,null,"6642c360",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"b2b",props:{layout:{type:Array,default:[]}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),kurumsalSlider:()=>Promise.all([r.e(0),r.e(1)]).then(r.bind(null,807)),rowSlider:()=>r.e(0).then(r.bind(null,808))}
1,computed:{calcDonationPrice(){return this.donationYekun=this.donationTutar*this.donationMiktar||0}},data(){return{isShowDonation:!1,donationLoading:!1,donationObje:null,donationTutar:"",donationMiktar:1,donationYekun:1,donationName:"",donationEmail:"",donationPhone:"",donationMessage:"",donationMessageType:"",allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1,userData:this.$cookies.get("b2bUserInfo")||null,reklamKolon:{1:24,2:12,3:8,4:6,5:3,6:4},isPublic:"",layoutJson:this.$store.state.firm.settings.b2bUiSettings.settings.b2bKurumsal||[],haberList:[]}},created(){this.$store.state.firm.settings.b2bUiSettings.settings.b2bKurumsal.forEach(t=>{"news"==t.type&&this.getHaberList()})},methods:{getHaberList(){0==this.haberList.length&&this.$apis.get("api/content/list?id&content_type=3&idSort=desc&content_titleSort&limit=4&page=1").then(t=>{this.haberList=t.data.KiboApp.Response.data.list}).catch(()=>{this.haberList=[]})},getDonationModal(t,section){this.donationObje=t,this.donationTutar=t.price||"",this.isShowDonation=!0,document.getElementById(section)&&window.scroll({behavior:"smooth",left:0,top:document.getElementById(section).offsetTop})},clearDonationModal(){this.donationObje=null,this.donationName="",this.donationEmail="",this.donationPhone="",this.donationYekun="",this.donationMessage="",this.donationMessageType="",this.isShowDonation=!1,this.donationLoading=!1},getDonationPay(){var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bAutomaticLoginCode;if(!this.donationYekun>0)this.donationMessage="Lütfen tutar giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3);else if(this.donationName)if(this.donationEmail)if(/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(this.donationEmail))if(this.donationPhone)if(this.donationMiktar){var data={firma:this.donationName,eposta:this.donationEmail,ceptel:Number(this.donationPhone),tutar:this.donationYekun,aciklama:this.donationObje.name};this.donationLoading=!0;var e={headers:{"X-Mentis-B2B-Merchant-Id":this.$store.state.firm.merchant_id}};this.$axios.get("https://b2bapi.onsocloud.com/api/auth/genericUserLogin?token="+t,e).then(t=>{this.$apis.post("api/user/order/tempPayCreate",data,{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.$store.state.firm.merchant_id}}).then(t=>{this.donationLoading=!1,this.donationMessage=t.data.KiboApp.Response.kiboMessage,this.donationMessageType="success",console.log(t.data.KiboApp.Response.data.payGatewayUrl),setTimeout(()=>{this.clearDonationModal()},3e3),window.open(t.data.KiboApp.Response.data.payGatewayUrl,"_blank")}).catch(t=>{this.donationLoading=!1,this.donationMessage=t.response.data.KiboApp.Response.kiboMessage,this.donationMessageType="error"})},t=>{this.donationLoading=!1,this.donationMessage=t.response.data.KiboApp.Response.kiboMessage,this.donationMessageType="error"}).catch(()=>{this.donationLoading=!1,this.donationMessage="Üyelik işlemlerinde hata oluştu!",this.donationMessageType="error"})}else this.donationMessage="Lütfen miktar giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3);else this.donationMessage="Lütfen telefon giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3);else this.donationMessage="Lütfen geçerli e-posta adresi giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3);else this.donationMessage="Lütfen e-posta adresi giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3);else this.donationMessage="Lütfen isim giriniz!",this.donationMessageType="error",setTimeout(()=>{this.donationMessage="",this.donationMessageType=""},1e3)}}},l=(r(570),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap",{staticClass:"z999"}),t._v(" "),e("aside",{staticClass:"ww fl pos-r z1 of-h",staticStyle:{"background-color":"#fefefe"}},[e("div",{staticClass:"wrapper mrau"},[e("kurumsalSlider")],1)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t._l(t.layoutJson,function(r,o){return["video"==r.type?e("iframe",{key:o,staticClass:"fl",attrs:{src:r.url,width:"100%",height:"571",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",referrerpolicy:"strict-origin-when-cross-origin",allowfullscreen:""}}):"news"==r.type?e("section",{key:"news_"+o,staticClass:"ww fl pos-r",style:"padding:20px 0;z-index:"+(10-o)+";background-color:"+r.bgcolor+";",attrs:{id:"content_"+o}},[e("div",{staticClass:"wrapper-1140 mrau my50 pt10 px10"},[e("h6",{staticClass:"ww fl pb20 pos-r fs-40 ln-44 fw-8",style:"color:"+r.color+";"},[t._v(t._s(r.name))]),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.haberList,function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-6 cq-col-md-8 cq-col-sm-12 cq-col-xs-12"},[e("div",{staticClass:"ww fl mb5 pos-r",staticStyle:{"padding-top":"100%"}},[r.files&&r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover rds10",attrs:{src:r.files[0].fl_url}}):e("i",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image fs-63 ta-o rds10",staticStyle:{"background-color":"#f0f0f0"}})]),t._v(" "),e("span",{staticClass:"ww h60 fl ln-20 txt-of-line-2"},[t._v("\n                "+t._s(r.content_title)+"\n              ")]),t._v(" "),e("nuxt-link",{staticClass:"ItemShadow fl mt5 mb20 px15 py10 bg-primary txt-white pos-r of-h to-e ws-n bdr rds5 fs-14",attrs:{to:t.localePath("/haberler/"+r.seo_link),target:"_blank"}},[t._v("\n                "+t._s(t.$t("read_more"))+"\n              ")])],1)}),0)])]):e("section",{key:"content_"+o,staticClass:"ww fl pos-r",style:"padding:20px 0;z-index:"+(10-o)+";background-color:"+r.bgcolor+";",attrs:{id:"content_"+o}},[e("div",{staticClass:"wrapper-1140 mrau my50 py50 px10"},["donation"==r.type?e("div",{staticClass:"cq-row cq-gap-20"},[r.isRight?t._e():e("div",{class:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 px50"},[e("img",{staticClass:"ww fl rds5",attrs:{src:r.img}})]),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 ta-o"},[e("div",{staticClass:"ww fl px50"},[e("h6",{staticClass:"ww fl pb20 pos-r fs-40 ln-44 fw-8",style:"color:"+r.color+";"},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl pb15 pos-r fs-18 ln-22",style:"color:color-mix(in srgb, "+r.color+", black 25%);"},[t._v(t._s(r.text))]),t._v(" "),e("a",{staticClass:"fl mt30 py10 px20 rds30 cr-p fs-16 fw-6",style:"background:"+r.btncolor+";color:#fbfbfb;",on:{click:function(e){return t.getDonationModal(r,"content_"+o)}}},[t._v("\n                      "+t._s(r.btn)+"\n                      ")])])]),t._v(" "),r.isRight?e("div",{class:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 px50"},[e("img",{staticClass:"ww fl rds5",attrs:{src:r.img}})]):t._e()]):e("div",{staticClass:"cq-row cq-gap-20"},[r.isRight?t._e():e("div",{class:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 px50"},[e("img",{staticClass:"ww fl rds5",attrs:{src:r.img}})]),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 ta-o"},[e("div",{staticClass:"ww fl px50"},[e("h6",{staticClass:"ww fl pb20 pos-r fs-40 ln-44 fw-8",style:"color:"+r.color+";"},[t._v(t._s(r.name))]),t._v(" "),e("p",{staticClass:"ww fl pb15 pos-r fs-18 ln-22",style:"color:color-mix(in srgb, "+r.color+", black 25%);"},[t._v(t._s(r.text))]),t._v(" "),e("a",{staticClass:"ReadMore fl mt30",style:"background:"+r.btncolor+";--read-more-color:#e1e8ea;--read-more-fill-color:#e1e8ea;",attrs:{href:r.url}},[t._v("\n                      "+t._s(r.btn)+"\n                      "),e("svg",{attrs:{viewBox:"0 0 32 24.5"}},[e("path",{attrs:{fill:r.btncolor,d:"M31.7,12.9c0.2-0.2,0.3-0.4,0.3-0.7s-0.1-0.5-0.3-0.7L20.4,0.3C20.2,0.1,20,0,19.8,0c-0.3,0-0.5,0.1-0.7,0.3 c-0.2,0.2-0.3,0.4-0.3,0.7s0.1,0.5,0.3,0.7l9.7,9.7H0.9c-0.3,0-0.5,0.1-0.7,0.3C0.1,11.8,0,12,0,12.2s0.1,0.5,0.3,0.7 c0.2,0.2,0.4,0.3,0.7,0.3h27.8l-9.7,9.7c-0.2,0.2-0.3,0.4-0.3,0.7s0.1,0.5,0.3,0.7c0.2,0.2,0.4,0.3,0.7,0.3 c0.3,0,0.5-0.1,0.7-0.3L31.7,12.9z"}})])])])]),t._v(" "),r.isRight?e("div",{class:"cq-col-lg-12 cq-col-sm-12 cq-col-md-12 cq-col-xs-24 px50"},[e("img",{staticClass:"ww fl rds5",attrs:{src:r.img}})]):t._e()])]),t._v(" "),e("svg",{staticClass:"pos-a tp-100",attrs:{fill:r.bgcolor,width:"100%",height:"100",viewBox:"0 0 100 102",preserveAspectRatio:"none"}},["0"==r.divider?[e("path",{attrs:{d:"M0 0 L50 100 L100 0 Z"}})]:"1"==r.divider?[e("path",{attrs:{d:"M0 0 L50 100 L100 0 Z"}}),t._v(" "),e("path",{attrs:{d:"M50 100 L100 40 L100 0 Z"}})]:"2"==r.divider?[e("path",{attrs:{d:"M50 100 C49 80 47 0 40 0 L47 0 Z"}}),t._v(" "),e("path",{attrs:{d:"M50 100 C51 80 53 0 60 0 L53 0 Z"}}),t._v(" "),e("path",{attrs:{d:"M47 0 L50 100 L53 0 Z"}})]:"3"==r.divider?[e("path",{attrs:{d:"M0 0 Q 2.5 40 5 0 Q 7.5 40 10 0 Q 12.5 40 15 0 Q 17.5 40 20 0 Q 22.5 40 25 0 Q 27.5 40 30 0 Q 32.5 40 35 0 Q 37.5 40 40 0 Q 42.5 40 45 0 Q 47.5 40 50 0 Q 52.5 40 55 0 Q 57.5 40 60 0 Q 62.5 40 65 0 Q 67.5 40 70 0 Q 72.5 40 75 0 Q 77.5 40 80 0 Q 82.5 40 85 0 Q 87.5 40 90 0 Q 92.5 40 95 0 Q 97.5 40 100 0 Z"}}
1)]:"4"==r.divider?[e("path",{attrs:{d:"M100,0H0l74.4,100L100,0z"}})]:"5"==r.divider?[e("path",{attrs:{d:"M0,0h100L25.6,100L0,0z"}})]:t._e()],2)])]}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl my50"}),t._v(" "),t.isShowDonation?e("div",{staticClass:"cd-popup is-visible",attrs:{role:"alert"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.donationLoading,expression:"donationLoading"}],staticClass:"cd-popup-container pos-r"},[t.donationMessage?e("div",{staticClass:"ww hh p20 fs-18 ln-25 pos-a bg-white ta-o tp-0 lf-0 z9 rds5",class:"txt-"+t.donationMessageType},[t._v(t._s(t.donationMessage))]):t._e(),t._v(" "),e("div",{staticClass:"ww fl mb20 p20 pos-r"},[e("h4",{staticClass:"ww fl mt10 fs-20 ta-l"},[t._v(t._s(t.donationObje.name))]),t._v(" "),e("div",{staticClass:"ww fl my10 pr10 pl20 py5"},[e("span",{staticClass:"w30 h40 ml10 fs-20 pos-a lf-0 ta-o"},[e("svg",{attrs:{width:"1em",height:"1em",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M19 12a9 9 0 0 1-9 9H8v-8.23l-3 1.1v-2.13l3-1.1V8.87L5 9.96V7.84l3-1.1V3h2v3l5-1.8v2.12l-5 1.82v1.78l5-1.82v2.13l-5 1.82V19a7 7 0 0 0 7-7h2z",fill:"#626262"}})])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.donationTutar,expression:"donationTutar"}],staticClass:"BagisTutarToplam w140 h40 fl fs-20 fw-b ta-ol bdr",staticStyle:{padding:"10px","border-radius":"5px 0 0 5px"},attrs:{onClick:"this.select();",type:"text",placeholder:"Tutar",inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},domProps:{value:t.donationTutar},on:{input:function(e){e.target.composing||(t.donationTutar=e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.donationMiktar,expression:"donationMiktar"}],staticClass:"bagisMiktar w70 h40 fl fs-20 fw-b ta-c bdrT bdrB bdrR",staticStyle:{padding:"10px","border-radius":"0 5px 5px 0"},attrs:{onClick:"this.select();",type:"text",placeholder:"Miktar",inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},domProps:{value:t.donationMiktar},on:{input:function(e){e.target.composing||(t.donationMiktar=e.target.value)}}}),t._v(" "),e("span",{staticClass:"BagisTutarOzet h40 fl pl10 fs-20 fw-b ta-ol"},[t._v(t._s(t.calcDonationPrice))])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.donationName,expression:"donationName"}],staticClass:"bagisName ww h50 fl p10 bdr",staticStyle:{"border-radius":"5px 5px 0 0"},attrs:{onClick:"this.select();",type:"text",placeholder:"Ad Soyad"},domProps:{value:t.donationName},on:{input:function(e){e.target.composing||(t.donationName=e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.donationEmail,expression:"donationEmail"}],staticClass:"bagisMail ww h50 fl p10 bdr",staticStyle:{"margin-top":"-1px"},attrs:{onClick:"this.select();",type:"text",placeholder:"E-Posta",required:"",pattern:"[^@]+@[^@]+\\.[a-zA-Z]{2,6}"},domProps:{value:t.donationEmail},on:{input:function(e){e.target.composing||(t.donationEmail=e.target.value)}}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.donationPhone,expression:"donationPhone"}],staticClass:"bagisPhone ww h50 fl p10 bdr",staticStyle:{"margin-top":"-1px","border-radius":"0 0 5px 5px"},attrs:{onClick:"this.select();",type:"text",placeholder:"Telefon",inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},domProps:{value:t.donationPhone},on:{input:function(e){e.target.composing||(t.donationPhone=e.target.value)}}})]),t._v(" "),e("ul",{staticClass:"cd-buttons"},[e("li",[e("a",{staticClass:"fw-4 bagisYap cr-p",on:{click:t.getDonationPay}},[t._v(t._s(t.$t("Bağış Yap")))])]),t._v(" "),e("li",[e("a",{staticClass:"fw-4 cd-popup-close-trigger cr-p",on:{click:t.clearDonationModal}},[t._v(t._s(t.$t("İptal")))])])]),t._v(" "),e("a",{staticClass:"cd-popup-close cd-popup-close-trigger img-replace cr-p",on:{click:t.clearDonationModal}})])]):t._e(),t._v(" "),e("footerWrap")],2)},[],!1,null,"2d1d7c64",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(571),l=r.n(o),n=r(5),c={name:"okul",components:{headerWrap:header.default,footerWrap:footer.default,Swiper:n.Swiper,SwiperSlide:n.SwiperSlide},watch:{classList:{deep:!0,handler(t){this.classList=t}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,class_bg:l.a,userData:this.$cookies.get("b2bUserInfo")||null,changeClassLoad:!1,addBasketLoad:!1,terminalLoad:!1,terminalList:null,terminalMessage:null,mainSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:20,navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"}},headNote:null,orderList:null,orderId:null,orderListTitle:null,terminal:null,student:null,favicon:this.$cookies.get("web_logo_favicon")||"",colorList:["FFCE54","76BA99","8067B7","FC6E51","D8334A","EC87C0","5D9CEC","48CFAD","876445"],labelList:[],classList:[]}},computed:{mainSliderTheme(){var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.mainSliderTheme||0;return()=>r(340)("./t".concat(t))}},created(){this.$nuxt.$on("getB2Bsetting",this.b2bSettingsLocal),this.$cookies.get("b2bUserInfo")&&this.getTerminal()},methods:{b2bSettingsLocal(){this.favicon=this.$cookies.get("web_logo_favicon")||""},getTerminal(){this.headNote=this.$cookies.get("corpNote");var t=this.$route.query.elem_id||this.$cookies.get("elem_id");this.$apis.get("api/tclnt/list?id=".concat(t||"","&clname=&idSort&clsortSort=asc&clnameSort&limit=100&page=1")).then(e=>{var label=[],r=[];e.data.KiboApp.Response.data.list.map(t=>{var e=t.clname.split(" || ");e.length>1?label.push({tag:e[0],list:e[1],id:t.id}
1):r.push({tag:t.clname,list:t.clname,id:t.id})}),this.classList=r;var o=Object.values(label.reduce((t,e)=>{var r=e.tag,o=e.list,l=e.id;return t[r]=t[r]||{tag:r,list:[]},t[r].list=t[r].list.concat(Array.isArray(o)?{tag:o,id:l}:[{tag:o,id:l}]),t},{}));if(this.labelList=o,this.terminalList=e.data.KiboApp.Response.data.list,this.terminalMessage=e.data.KiboApp.Response.kiboMessage,this.terminalLoad=!1,t){var l=this.terminalList[0],n=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm;this.$confirm(l.clname+" - Sepete eklensin mi?",n,{confirmButtonText:this.$t("add_to_basket"),cancelButtonText:this.$t("Hayır"),type:"info"}).then(()=>{this.getTerminalDetail({id:l.id,clname:l.clname},l.clname)})}}).catch(()=>{this.terminalList=null,this.terminalMessage=null,this.terminalLoad=!1})},getTerminalDetail(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.changeClassLoad=!0,this.orderListTitle=this.terminal=t.tag||t.clname,this.orderId=t.id,this.$apis.get("api/user/corp/order/list?id&fattakipno&tumbelgeler_clid="+(t.id||"")+"&limit=10&page=1").then(t=>{this.addToBasket(t.data.KiboApp.Response.data.list[0].id,e)}).catch(()=>{this.changeClassLoad=!1})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},addToBasket(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";this.addBasketLoad=!0,this.$apis.get("api/basket/addByCorpOrderId/"+t+"?basketId="+this.isUserBasketId()).then(t=>{""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.id,{path:"/",maxAge:86400}),this.$cookies.set("orderName",e,{path:"/",maxAge:86400}),setTimeout(()=>{location.href=this.localePath("/sepet")},100)}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.addBasketLoad=!1})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa")}}},d=c,m=(r(572),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),t.userData?e("div",{staticClass:"ww fl"},[t.headNote?e("div",{staticClass:"ww fl"},[e("div",{staticClass:"choiceClass ww fl py20 px30",style:"background:#8CAF97 url("+t.class_bg+") center center"},[e("div",{staticClass:"wrapper mrau px15"},[e("span",{staticClass:"ww fl ta-c fs-30 ln-36 fw-b txt-white"},[t._v("\n            "+t._s(t.headNote)+"\n          ")])])])]):t._e(),t._v(" "),e("div",{staticClass:"choiceClass ww fl my20 bg-white pos-r"},[e("div",{staticClass:"wrapper mrau px20",style:"min-height:"+(t.$device.isMobile?"75px;":"600px;")},[e("el-row",{attrs:{gutter:20}},[t._l(t.classList,function(r,o){return e("el-col",{key:r.id+" "+o,attrs:{lg:6,md:6,sm:12,xs:24}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.orderId==r.id&&t.changeClassLoad,expression:"orderId==items.id&& changeClassLoad"}],class:"ww fl mb20 rds5 of-h cr-p pos-r"+(t.$device.isMobile?" mb20":""),on:{click:function(e){return t.getTerminalDetail(r,r.tag)}}},[e("span",{staticClass:"ww fl py15 px10 txt-dark ta-c fs-19 ln-23 fw-b pos-r z1"},[t._v(t._s(r.tag))]),t._v(" "),e("div",{staticClass:"ww hh pos-a tp-0 lf-0",style:"background-color:#"+t.colorList[o]})])])}),t._v(" "),e("div",{staticClass:"ww fl mb20"})],2),t._v(" "),t._l(t.labelList,function(r,o){return e("el-row",{key:r.id+" "+o,attrs:{gutter:20}},[t._l(r.list,function(l){return e("el-col",{key:l.id,attrs:{lg:6,md:6,sm:12,xs:24}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.orderId==l.id&&t.changeClassLoad,expression:"orderId==item.id&& changeClassLoad"}],class:"ww fl mb20 rds5 of-h cr-p pos-r"+(t.$device.isMobile?" mb20":""),on:{click:function(e){return t.getTerminalDetail(l,r.tag+" "+l.tag)}}},[e("span",{staticClass:"ww fl pt15 px10 pb5 txt-dark ta-c fs-15 ln-20 pos-r z1"},[t._v(t._s(r.tag))]),t._v(" "),e("span",{staticClass:"ww fl pb15 px10 txt-dark ta-c fs-19 ln-20 fw-b pos-r z1"},[t._v(t._s(l.tag))]),t._v(" "),e("div",{staticClass:"ww hh pos-a tp-0 lf-0",style:"background-color:#"+t.colorList[o]})])])}),t._v(" "),e("div",{staticClass:"ww fl mb20"})],2)})],2)])]):t._e(),t._v(" "),t.firmSettingSlider.length>0&&t.mainSliderTheme?e(t.mainSliderTheme,{tag:"component"}):t._e(),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(11),l=r(5),n={name:"b2b",props:{layout:{type:Array,default:[]}},components:{headerWrap:header.default,footerWrap:footer.default,Swiper:l.Swiper,SwiperSlide:l.SwiperSlide,prodCard:o.default},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1,userData:this.$cookies.get("b2bUserInfo")||null,haberSwiperOption:{direction:"vertical",autoplay:{delay:4e3},loopedSlides:1,spaceBetween:10,slidesPerView:7,navigation:{nextEl:".nextHaber",prevEl:".prevHaber"}},reklamKolon:{1:24,2:12,3:8,4:6,5:3,6:4},isPublic:""}},computed:{mainSliderTheme(){var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.mainSliderTheme||0;return()=>r(340)("./t".concat(t))}},methods:{sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}}}},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),t.haberSlider.length>0?e("div",{staticClass:"ww fl bg-white pos-r"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-18 cq-col-sm-18 cq-col-md-18 cq-col-xs-24"},[t.firmSettingSlider.length>0&&t.mainSliderTheme?e(t.mainSliderTheme,{tag:"component"}):t._e()],1),t._v(" "),e("div",{staticClass:"cq-col-sm-6 cq-col-md-6 cq-col-xs-24"},[e("div",{staticClass:"haberSwiperWrap ww fl pb50 pos-r bdr rds"},[e("swiper",{staticClass:"swiperHaber",style:"height:320px",attrs:{options:t.haberSwiperOption}},t._l(t.haberSlider,function(r,o){return e("swiper-slide",{key:o,staticClass:"slide"},[e("a",{staticClass:"ww h40 fl mb10 p10 of-h to-e ws-n ln-20 fs-14",attrs:{href:t.localePath("/sayfa/"+r.url)}},[e("i",{staticClass:"w20 h20 fl mr10 ta-o fs-15 icon-flag"}),t._v(t._s(r.name))])])}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"ww h40 bdrT pos-a bt-0 rg-0 z1 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1)])])])]):t._e(),t._v(" "),t.firmSettingSlider.length>0&&t.mainSliderTheme?e(t.mainSliderTheme,{tag:"component"}):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.firmSettingReklam.length>0?e("div",{staticClass:"wrapper mrau px10 py15"},[e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.firmSettingReklam,function(t,r){return e("div",{key:"image_"+r,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-12 cq-col-xs-24"},[e("a",{staticClass:"ww fl pb15 pos-r",attrs:{href:t.url}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{src:t.img}})])])}),0)]):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("section",{staticClass:"ww fl",staticStyle:{"background-color":"#fbfbfb"}},[e("div",{staticClass:"wrapper mrau px10 py15"},[t.layout.length>0?e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.layout,function(r,o){return[r.show&&"static_tag"==r.type&&"0"==r.sort_type&&r.list.length>0?e("div",{key:"yenicikanlar"+o,staticClass:"ww fl"},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/yenicikanlar")}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t("Yeni Çıkanlar"))+"\n                  ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevImgyenicikanlar w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextImgyenicikanlar w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiperyenicikanlar",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"yenicikanlar",view:6,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)]):r.show&&"static_tag"==r.type&&"6"==r.sort_type&&r.list.length>0?e("div",{key:"soneklenenler"+o,staticClass:"ww fl"},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/soneklenenler")}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t("Son Eklenenler"))+"\n                  ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}}
1,[e("div",{staticClass:"prevImgsoneklenenler w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextImgsoneklenenler w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swipersoneklenenler",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"soneklenenler",view:6,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)]):r.id&&"image"==r.type?e("div",{key:"image_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("a",{staticClass:"ww fl pb15 pos-r",attrs:{href:r.href}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{src:r.url}})])]):r.id&&"tag"==r.type?[e("div",{key:"tag_"+o,class:"cq-col-lg-"+r.size+" cq-col-sm-"+r.size+" cq-col-md-"+r.size+" cq-col-xs-24"},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/etiket/"+t.$seolink(r.name)+"?tag_id="+r.id)}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t(r.name))+"\n                    ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{class:"prevImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{class:"nextImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiper"+o,refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:o,view:24==r.size?6:2,delay:4e3})}},t._l(r.list,function(r,o){return e("swiper-slide",{key:o},[e("prodCard",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)])]:t._e()]})],2):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"caller",props:{row:{type:Object,default:{}},barType:{type:String,default:"prod"},barTheme:{type:Number,default:1}},computed:{component(){return()=>r(694)("./".concat(this.barType,"/style").concat(this.barTheme))}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e(t.component,{tag:"component",attrs:{row:t.row}}):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style1",props:{row:{type:Object,default:{}}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl my50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-11 cq-col-md-11 cq-col-sm-11 cq-col-xs-24",staticStyle:{background:"#474B46"}},[e("div",{staticClass:"pos-sc tp-0 ww fl ta-o",staticStyle:{"min-height":"100vh"}},[t.row.list.length>0?e("div",{staticClass:"wrapper-36em mrau"},[e("div",{staticClass:"cq-row cq-gap-20 pos-r of-h"},[e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("h2",{staticClass:"ww fl my50 pt50 pr50 fs-53 ln-53 txt-white ff-fraunces",style:t.$device.isDesktop?"margin-left:63px;text-indent:-63px;":"margin-left:30px;text-indent:-13px;"},[t._v(t._s(t.row.list[0].content_title))])])]),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"}),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("div",{staticClass:"ww fl p30"},[e("div",{staticClass:"ww fl ln-20 fs-16 txt-white txt-of-line-5",domProps:{innerHTML:t._s(t.row.list[0].content_text)}}),t._v(" "),e("div",{staticClass:"ww fl my40 pos-r",staticStyle:{"padding-top":"125%"}},[t.row.list[0].files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 lf-0 object-cover",attrs:{src:t.row.list[0].files[0].fl_url,alt:t.row.list[0].content_title}}):t._e()]),t._v(" "),e("div",{staticClass:"anim my50"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-18",staticStyle:{"border-bottom":"5px solid #f97a80"},style:"color:#fff",attrs:{href:"#",target:""}},[t._v("Kitabı Gör")])])])])])]):t._e()])]),t._v(" "),e("div",{staticClass:"cq-col-lg-13 cq-col-md-13 cq-col-sm-13 cq-col-xs-24",staticStyle:{"min-height":"100vh"}},[e("div",{staticClass:"ww fl px20 py40"},[e("div",{staticClass:"cq-row cq-gap-20 py30",class:t.$device.isDesktop?"px50":""},t._l(t.row.list.slice(1,5),function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})]),t._v(" "),e("span",{staticClass:"ww h40 fl ln-20 mt20 ta-c fs-17 fw-6 ff-fraunces txt-of-line-2"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt10 mb50 ta-c fs-14 txt-of-line-2",domProps:{innerHTML:t._s(r.content_text)}})])}),0)])])])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style2",props:{row:{type:Object,default:{}}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl my20 py50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24"},[e("h2",{staticClass:"ww fl mb40 pr50 fs-53 ln-53 ff-fraunces",style:t.$device.isDesktop?"margin-left:63px;text-indent:-63px;":"margin-left:30px;text-indent:-13px;"},[t._v(t._s(t.row.name))])])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"cq-row cq-gap-30"},t._l(t.row.list.slice(0,4),function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24 mb15",staticStyle:{background:"#f3ece4"}},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"75%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl px10 pr20"},[e("div",{staticClass:"ww h100 fl"},[e("span",{staticClass:"ww fl mt15 fs-20 ln-24 fw-6 ff-fraunces txt-of-line-3"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt5 fs-13 ln-18 txt-of-line-3",domProps:{innerHTML:t._s(r.content_text)}})]),t._v(" "),e("div",{staticClass:"ww h80 fl"}),t._v(" "),e("div",{staticClass:"ww h40 fl dp-f jc-sb ai-c"},[e("span",{staticClass:"fl fs-14"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])])])])}),0)])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),{name:"bar_style3",props:{row:{type:Object,default:{}}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain||[],newsSliderActiveIndex:0,newsSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:0,navigation:{nextEl:".newsNextImgMain",prevEl:".newsPrevImgMain"},on:{slideChange:function(){this.newsSliderActiveIndex=this.activeIndex}}}}},methods:{pad(t,e){for(t=t.toString();t.length<e;)t="0"+t;return t}}}),n=r(0),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl pos-r"},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-10 cq-col-md-10 cq-col-sm-10 cq-col-xs-24",staticStyle:{background:"#BDCCBF"}},[e("div",{staticClass:"wrapper-36em mrau pt50"},t._l(t.row.list.slice(0,1),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"ww fl pos-r of-h",class:t.$device.isDesktop?"p50":"p10"},[e("h2",{staticClass:"ww fl mt50 mb40 pr50 fs-53 ln-53 ff-fraunces",staticStyle:{"margin-left":"63px","text-indent":"-63px"}},[t._v(t._s(r.content_title))]),t._v(" "),e("p",{staticClass:"ww fl mt5 px30 ta-c fs-15 ln-18 txt-of-line-5",domProps:{innerHTML:t._s(r.content_text)}}),t._v(" "),e("div",{staticClass:"fr mt50 px40"},[e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])}),0)]),t._v(" "),e("div",{staticClass:"cq-col-lg-14 cq-col-md-14 cq-col-sm-14 cq-col-xs-24"},[e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"75vh"),attrs:{options:t.newsSwiperOption}},t._l(t.row.list.slice(1),function(r,o){return e("swiper-slide",{key:o,style:"background-image:url("+(r.files.length>0?r.files[0].fl_url:"")+");background-position: center center;background-size: cover;"},[e("div",{staticClass:"ww fl p40 pos-a bt-0"},[e("div",{staticClass:"wrapper-48em mrau pos-r"},[e("div",{staticClass:"ww fl mb20 p10 bg-white rds10"},[e("div",{staticClass:"cq-row cq-gap-0"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 ta-o"},[e("h2",{staticClass:"ww fl fs-32 ta-c ln-32 fw-b ff-fraunces txt-of-line-3"},[t._v(t._s(r.content_title))])])]),t._v(" "),e("div",{staticClass:"cq-col-lg-10 cq-col-md-10 cq-col-sm-10 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 ta-o"},[e("div",{staticClass:"ww h60 fl ln-20 ta-c fs-15 txt-of-line-3",domProps:{innerHTML:t._s(r.content_text)}})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("div",{staticClass:"ww fl p50 ta-o"},[t.$device.isDesktop?e("div",{staticClass:"w30 h30 ta-o"},[e("span",{staticClass:"newsPrevImgMain sliderButtonBgHover ww h30 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#000",height:"20px",width:"20px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("span",{staticClass:"w60 mx10 ta-o fd-c"},[e("span",{staticClass:"ww fl ta-c fs-14 txt-dark"},[t._v(t._s(t.pad(t.newsSliderActiveIndex+1,2)))]),t._v(" "),e("span",{staticClass:"ww fl ta-c fs-14",staticStyle:{color:"#777"}},[t._v(t._s(t.pad(t.firmSettingSlider.length,2)))])]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w30 h30 ta-o"},[e("span",{staticClass:"newsNextImgMain sliderButtonBgHover ww h30 txt-black cr-p ta-o fs-20 z9"},[e("svg",{attrs:{fill:"#000",height:"20px",width:"20px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e()])])])])])])])}),1)],1)])])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style4",props:{row:{type:Object,default:{}}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl py50",staticStyle:{background:"#E07A5F"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"cq-row cq-gap-20 mb10"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("div",{staticClass:"ww fl py50 ta-o bg-white"},t._l(t.row.list.slice(0,1),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"ww fl py20"},[e("h2",{staticClass:"ww fl mt40 mb10 px30 ta-c fs-40 ln-45 ff-fraunces"},[t._v(t._s(r.content_title))]),t._v(" "),e("p",{staticClass:"ww fl mt5 px30 ta-c fs-15 ln-18 txt-of-line-5",domProps:{innerHTML:t._s(r.content_text)}}),t._v(" "),e("div",{staticClass:"ww fl mt30 mb50 ta-o"},[e("div",{staticClass:"anim"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])}),0)]),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("div",{staticClass:"ww fl mt30 px20"},[e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.row.list.slice(1,5),function(r,o){return e("div",{key:"ilk_"+o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24",staticStyle:{"border-bottom":"1px solid #000"}},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww h120 fl"},[e("a",{staticClass:"ww fl mt15 fs-19 fw-6 txt-black ff-fraunces txt-of-line",attrs:{href:r.seo_link}},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"ww fl mt5 fs-16 ln-18 fw-4 txt-black txt-of-line-2",domProps:{innerHTML:t._s(r.content_text)}})])])])}),0)])])])])])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style5",props:{row:{type:Object,default:{}}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl my20 py50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"wrapper-1390 mrau px30"},[e("div",{staticClass:"ww fl mb50 pb60 dp-f jc-sb ai-c"},[e("h2",{staticClass:"fs-53 ln-53 ff-fraunces",staticStyle:{"margin-left":"63px","text-indent":"-63px"}},[t._v(t._s(t.row.name))])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},t._l(t.row.list.slice(0,3),function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24 pos-r",staticStyle:{background:"#f3ece4"}},[e("div",{staticClass:"ww fl pos-r",staticStyle:{"min-height":"571px","padding-top":"100%"}},[r.files.length>0?e("img",{staticClass:"ww hh pos-a tp-0 object-cover rds5",staticStyle:{"object-position":"center top"},attrs:{src:r.files[0].fl_url,alt:r.content_title}}):e("div",{staticClass:"ww hh pos-a tp-0 lf-0 icon-image bdr fs-50 ta-o bg-light rds5"})]),t._v(" "),e("div",{staticClass:"ww fl p30 pos-a bt-0 rg-0"},[e("div",{staticClass:"ww h160 fl p20 bg-white"},[e("span",{staticClass:"ww h60 fl mt5 mb20 ln-30 fs-25 fw-6 ff-fraunces txt-of-line-2"},[t._v(t._s(r.content_title))]),t._v(" "),e("div",{staticClass:"anim mb10"},[e("a",{staticClass:"dashed-to-bounce pb5 fs-13 txt-dark",staticStyle:{"border-bottom":"5px solid #f97a80"},attrs:{href:r.seo_link,target:""}},[t._v("Kitabı Gör")])])])])])}),0)])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style6",props:{row:{type:Object,default:{}}},components:{rowSlider:()=>r.e(0).then(r.bind(null,808))},computed:{newsCardComponent:()=>()=>r.e(0).then(r.bind(null,659))},methods:{getPer(t){return this.$device.isMobile?2:this.$device.isTablet?4:t||6}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl",class:"".concat(t.$device.isMobile?"":"py50"),staticStyle:{background:"#fbfbfb"}},[e("div",{staticClass:"wrapper mrau",class:"".concat(t.$device.isMobile?"py20":"py50")},[e("nuxt-link",{staticClass:"ww fl mt10 mb30 fs-13 td-ul",attrs:{to:t.localePath("/referan
1slar")}},[e("h4",{staticClass:"ww fl fw-7 ta-c",class:"".concat(t.$device.isMobile?"fs-25 ln-30":"fs-50 ln-55 mt10 mb20")},[t._v(t._s(t.row.name))])]),t._v(" "),e("div",{staticClass:"ww fl WrapGutter"},[e("div",{staticClass:"ww fl mb15 pos-r"},[e("rowSlider",{attrs:{"data-list":t.row.list,"per-item":t.getPer(t.row.itemCount),"item-step":t.getPer(t.row.itemCount)},scopedSlots:t._u([{key:"item",fn:function(r){var o=r.item;return[e(t.newsCardComponent,{tag:"component",attrs:{item:o}})]}},{key:"nextButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow prevItem w40 h40 fl cr-p pos-a rg-0 rds30 z1 ta-o",staticStyle:{top:"-60px"}},[e("i",{staticClass:"icon-arrow-right txt-dark fs-20"})]):t._e()]},proxy:!0},{key:"prevButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow nextItem w40 h40 fl cr-p pos-a rds30 z1 ta-o",staticStyle:{top:"-60px"}},[e("i",{staticClass:"icon-arrow-left txt-dark fs-20"})]):t._e()]},proxy:!0}],null,!1,1655012706)})],1)])],1)]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(608),l=r.n(o),n={name:"bar_style7",props:{row:{type:Object,default:{}}},computed:{newsCardComponent:()=>()=>r.e(0).then(r.bind(null,661))},data:()=>({wavy_stripes_bg:l.a})},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl bg-minimal pos-r of-h",class:"".concat(t.$device.isMobile?"py10":"py50"),style:"background-image: url('".concat(t.wavy_stripes_bg,"');background-size: cover;background-position: center;background-repeat: no-repeat;")},[e("div",{staticClass:"wrapper mrau px15 pos-r z1",class:"".concat(t.$device.isMobile?"py10":"py50")},[e("div",{staticClass:"cq-row cq-gap-25"},t._l(t.row.list,function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-24 cq-col-xs-24 p10 pos-r",class:"".concat(t.$device.isMobile?"":"bdr"),style:"border-radius:".concat(t.$device.isMobile?"5px":"10px",";")},[e(t.newsCardComponent,{tag:"component",attrs:{item:r}})],1)}),0)])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"bar_style7",props:{row:{type:Object,default:{}}},computed:{newsCardComponent:()=>()=>r.e(0).then(r.bind(null,662))}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl pos-r",class:"".concat(t.$device.isMobile?"pb20":"pb50")},[e("div",{staticClass:"wrapper mrau px15 pos-r z1",class:"".concat(t.$device.isMobile?"py10":"py50")},[e("div",{staticClass:"cq-row cq-gap-25"},t._l(t.row.list,function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-24 cq-col-xs-24 pos-r"},[e(t.newsCardComponent,{tag:"component",attrs:{item:r}})],1)}),0)])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"price1",data(){return{b2bPreiceListTitle:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPreiceListTitle||null,preiceList:this.$store.state.firm.settings.b2bUiSettings.settings.b2bPreiceList||[]}}},l=(r(609),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.preiceList.length>0?e("section",{staticClass:"ww fl pos-r",class:"".concat(t.$device.isMobile?"":"py50")},[e("div",{staticClass:"wrapper mrau px10"},[t.b2bPreiceListTitle?e("h4",{staticClass:"ww fl fw-7 ta-c fs-50 ln-55 mt10 mb20"},[t._v(t._s(t.b2bPreiceListTitle))]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my50 pb50 cq-row cq-gap-30"},t._l(t.preiceList,function(r,o){return e("div",{key:o,staticClass:"cq-col-xs-24 cq-col-sm-12 cq-col-md-8 cq-col-lg-6 mb20"},[e("div",{staticClass:"pricing-table__item"},[e("div",{staticClass:"ww fl mb15 ta-o"},[e("img",{staticClass:"w80",attrs:{src:r.img,alt:r.title}})]),t._v(" "),e("h3",{staticClass:"ww fl ta-o fs-32 fw-6 ln-35 pb5"},[t._v(t._s(r.title))]),t._v(" "),e("div",{staticClass:"pricing-table__description_"},[e("span",{staticClass:"pricing-table__tagline ww h80 fl my5 ln-20"},[t._v(t._s(r.description))]),t._v(" "),e("div",{staticClass:"ww h40 fl my15 ta-c"},[e("span",{staticClass:"ww fl mb5 ta-o pricing-table__price"},[r.price.currency?e("span",{staticClass:"h36 fl fs-15 fw-4 dp-f"},[t._v(t._s(r.price.currency)+"  ")]):t._e(),t._v(t._s(r.price.year||0)),e("span",{staticClass:"fs-20 fw-4"},[t._v("/ "+t._s(t.$t("year")))])]),t._v(" "),e("span",{staticClass:"ww fl ta-o pricing-table__price aylik"},[r.price.currency?e("span",{staticClass:"h20 fl fs-12 fw-4 dp-f"},[t._v(t._s(r.price.currency)+"  ")]):t._e(),t._v(t._s(r.price.mounth||0)),e("span",{staticClass:"fs-17 fw-4"},[t._v("/ "+t._s(t.$t("mounth")))])])])]),t._v(" "),e("ul",{staticClass:"pricing-table__products"},t._l(r.properties,function(r,o){return e("li",{key:o,staticClass:"pricing-table__product"},[e("a",[t._v(t._s(r))])])}),0),t._v(" "),e("a",{staticClass:"Capa pricing-table__button",attrs:{href:r.url,target:"_blank"}},[t._v(t._s(r.label))])])])}),0)])]):t._e()},[],!1,null,"5f6eba12",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),{name:"bar_prod_style1",props:{row:{type:Object,default:{}}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide,prodTheme5:()=>Promise.all([r.e(0),r.e(7)]).then(r.bind(null,650))},data(){return{homepageShowBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHomepageShowBasket||!1}},methods:{sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}},getPer(t,e){return this.$device.isMobile?2:this.$device.isTablet?4:24==e?t||6:t||3}}}),n=r(0),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return Object.keys(t.row).length>0?e("section",{staticClass:"ww fl my50",staticStyle:{background:"#fff"}},[e("div",{staticClass:"ww fl mb50 py15 px50 pos-r"},[e("div",{staticClass:"wrapper-1190 mrau px10 py15"},[t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 rg-0 ta-o"},[e("a",{staticClass:"nextImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M9.71069 18.2929C10.1012 18.6834 10.7344 18.6834 11.1249 18.2929L16.0123 13.4006C16.7927 12.6195 16.7924 11.3537 16.0117 10.5729L11.1213 5.68254C10.7308 5.29202 10.0976 5.29202 9.70708 5.68254C9.31655 6.07307 9.31655 6.70623 9.70708 7.09676L13.8927 11.2824C14.2833 11.6729 14.2833 12.3061 13.8927 12.6966L9.71069 16.8787C9.32016 17.2692 9.32016 17.9023 9.71069 18.2929Z"}})])])]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w50 hh pos-a tp-0 lf-0 ta-o"}
1,[e("a",{staticClass:"prevImgsoneklenenler sliderButtonBg w50 h50 cr-p ta-o fs-20"},[e("svg",{attrs:{fill:"#000",height:"30px",width:"30px",viewBox:"0 0 24 24"}},[e("path",{attrs:{d:"M14.2893 5.70708C13.8988 5.31655 13.2657 5.31655 12.8751 5.70708L7.98768 10.5993C7.20729 11.3805 7.2076 12.6463 7.98837 13.427L12.8787 18.3174C13.2693 18.7079 13.9024 18.7079 14.293 18.3174C14.6835 17.9269 14.6835 17.2937 14.293 16.9032L10.1073 12.7175C9.71678 12.327 9.71678 11.6939 10.1073 11.3033L14.2893 7.12129C14.6799 6.73077 14.6799 6.0976 14.2893 5.70708Z"}})])])]):t._e(),t._v(" "),e("nuxt-link",{staticClass:"ww fl mb50 ta-c ln-37",style:"color: #f97a80;font-size:"+(t.$device.isDesktop?"114px":"40px"),attrs:{to:t.localePath("/soneklenenler")}},[t._v(t._s(t.row.name))]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swipersoneklenenler",staticClass:"swiper",attrs:{options:t.sliderOption({key:"soneklenenler",view:t.getPer(t.row.itemCount,t.row.size),delay:4e3})}},t._l(t.row.list,function(r,o){return e("swiper-slide",{key:o},[e("prodTheme5",{attrs:{item:r,"pricebar-show":t.homepageShowBasket,lazyImage:!1}})],1)}),1)],1)],1)])]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"filterBar",props:{filterList:{type:Object,default:function(){return{}}},filterDataList:{type:Object,default:function(){return{}}}},data(){return{isPublic:"",allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showAuthor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAuthor||!0,hideStokMiktar:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideStokMiktar||!1,autocompleteList:{producer_name:"",author_name:"",tag_name:"",category_name:""},quantityVal:!1,quantityList:[{value:"",label:this.$t("Tümü")},{value:"0",label:"+ "+this.$t("Olanlar")},{value:"1",label:"- "+this.$t("Olanlar")},{value:"2",label:"0 "+this.$t("Olanlar")},{value:"3",label:this.$t("Olmayanlar")}],typeList:[{value:"0",label:this.$t("Yeniden Eskiye")},{value:"1",label:this.$t("Eskiden Yeniye")},{value:"2",label:this.$t("Fiyata göre azalan")},{value:"3",label:this.$t("Fiyata göre artan")},{value:"4",label:this.$t("İsme göre artan")},{value:"5",label:this.$t("İsme göre azalan")},{value:"6",label:this.$t("recently_added")}]}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.filterList.quantity&&(this.quantityVal=!0)},methods:{isOptionDisable(t,e){return!(!this.$route.query[t+"_seo_link"]||this.$route.query[t+"_seo_link"]!=e.seo_link)||!(!this.$route.query[t+"_id"]||this.$route.query[t+"_id"]!=e.id)&&this.$route.query[t+"_id"].split(";").includes(e.id.toString())},filterSelectIdChange(t,e){this.filterList[e]=(this.$route.query[e]?this.$route.query[e]+";":"")+t,this.getFilter()},filterSelectChange(t,e){this.filterList[e]=t,this.getFilter()},changeQuantity(){this.filterList.quantity=this.quantityVal?0:"",this.getFilter()},removeTag(t,e){if(this.$route.query[t+"_id"]){var r=this.$route.query[t+"_id"].split(";");r.splice(r.indexOf(e.id.toString()),1),this.filterList[t+"_id"]=r.join(";")}this.filterList[t+"_seo_link"]="",this.getFilter()},addTagToQuery(t,e){if(e.seo_link)this.filterList[t+"_seo_link"]=e.seo_link;else{var r=this.$route.query[t]?this.$route.query[t].split(";"):[];r.push(e.id),this.filterList[t+"_id"]=r.join(";")}this.getFilter()},getFilter(){this.filterList.page=1,this.filterList.limit=100,this.$router.replace({query:this.filterList}),this.$emit("filterCallBack",this.filterList,"getList")},clearFilter(){this.filterList={search_text:"",scarttype:"",producer_id:"",author_id:"",tag_id:"",category_id:"",quantity:"",sort_type:"0",limit:this.$route.query.size||100,page:this.$route.query.page||1},this.$router.replace({query:this.filterList}),this.$emit("filterCallBack",this.filterList,"getList")},getSearch(t){this.filterList.search_text=t,this.$router.replace({query:this.filterList}),this.$emit("filterCallBack",this.filterList,"getList")},getFilterItemList(t,e){this.filterDataList[e+"_list_id"].includes(t.id)||(this.filterDataList[e+"_list"].push(t),this.filterDataList[e+"_list_id"].push(t.id)),this.getFilter(),this.autocompleteList[e+"_name"]=""},getKategoriAuto(t,e){this.filterList.category_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"categoriy/list?id=&kategoriad="+t+"&relationcode=&idSort&kategoriadSort=desc&limit=250&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})},handleKategoriAutoSelect(t){if(!t)return this.filterList.category_id="",!1;this.filterList.category_id=decodeURIComponent((this.$route.query.category_id?this.$route.query.category_id+";":"")+t.id),this.getFilterItemList(t,"category")},getEtiketAuto(t,e){this.filterList.tag_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"tags/list?id=&prcg_name="+t+"&idSort=&pr
1cg_nameSort=desc&limit=250&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})},handleEtiketAutoSelect(t){if(!t)return this.filterList.tag_id="",!1;this.filterList.tag_id=(this.$route.query.tag_id?this.$route.query.tag_id+";":"")+t.id,this.getFilterItemList(t,"tag")},getYazarAuto(t,e){this.filterList.author_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"authors/list?id=&at_name="+t+"&at_name_equals=0&at_who=&idSort=&at_nameSort=desc&limit=250&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})},handleYazarAutoSelect(t){if(!t)return this.filterList.author_id="",!1;this.filterList.author_id=(this.$route.query.author_id?this.$route.query.author_id+";":"")+t.id,this.getFilterItemList(t,"author")},getUreticiAuto(t,e){this.filterList.producer_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"producer/list?id=&ureticiad="+t+"&idSort=desc&ureticiadSort=desc&limit=250&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})},handleUreticiAutoSelect(t){if(!t)return this.filterList.producer_id="",!1;this.filterList.producer_id=(this.$route.query.producer_id?this.$route.query.producer_id+";":"")+t.id,this.getFilterItemList(t,"producer")}}},l=(r(610),r(611),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl mb50 pt20 px10 pb50"},[t.filterDataList.producer_list.length?e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Üretici")))]),t._v(" "),t._l(t.filterDataList.producer_list,function(r,o){return[t.isOptionDisable("producer",r)?e("span",{key:o,staticClass:"ellipsis ww h30 fl my5 mr5 cr-p fs-16",on:{click:function(e){return t.removeTag("producer",r)}}},[e("i",{staticClass:"el-icon-success mr10 fs-20 txt-warning ln-30"}),t._v(t._s(r.ureticiad)+"\n      ")]):t._e(),t._v(" "),t.isOptionDisable("producer",r)?t._e():e("span",{key:o,staticClass:"ellipsis ww h30 fl my5 mr5 cr-p fs-16",on:{click:function(e){return t.addTagToQuery("producer",r)}}},[e("i",{staticClass:"el-icon-remove-outline mr10 fs-20 ln-30",staticStyle:{color:"#666666"}}),t._v(t._s(r.ureticiad)+"\n      ")])]})],2):t._e(),t._v(" "),t.filterDataList.category_list.length?e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Kategori")))]),t._v(" "),t._l(t.filterDataList.category_list,function(r,o){return[t.isOptionDisable("category",r)?e("span",{key:o,staticClass:"ellipsis ww h30 fl my5 mr5 cr-p fs-16",on:{click:function(e){return t.removeTag("category",r)}}},[e("i",{staticClass:"el-icon-success mr10 fs-20 txt-warning ln-30"}),t._v(t._s(r.kategoriad)+"\n      ")]):t._e(),t._v(" "),t.isOptionDisable("category",r)?t._e():e("span",{key:o,staticClass:"ellipsis ww h30 fl my5 mr5 cr-p fs-16",on:{click:function(e){return t.addTagToQuery("category",r)}}},[e("i",{staticClass:"el-icon-remove-outline mr10 fs-20 ln-30",staticStyle:{color:"#666666"}}),t._v(t._s(r.kategoriad)+"\n      ")])]})],2):t._e()])},[],!1,null,"06684534",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"filterBar",props:{filterList:{type:Object,default:function(){return{}}},filterDataList:{type:Object,default:function(){return{}}}},data(){return{filterSelectedDatas:{producer:[],tag:[],category:[],author:[]},isPublic:"",allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showAuthor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAuthor,hideStokMiktar:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideStokMiktar||!1,hidePublisher:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHidePublisher||!1,autocompleteList:{producer_name:"",author_name:"",tag_name:"",category_name:""},quantityVal:!1,quantityList:[{value:"",label:this.$t("Tümü")},{value:"0",label:"+ "+this.$t("Olanlar")},{value:"1",label:"- "+this.$t("Olanlar")},{value:"2",label:"0 "+this.$t("Olanlar")},{value:"3",label:this.$t("Olmayanlar")}],typeList:[{value:"",label:this.$t("Satış Durumuna göre")},{value:"0",label:this.$t("Yeniden Eskiye")},{value:"1",label:this.$t("Eskiden Yeniye")},{value:"2",label:this.$t("Fiyata göre azalan")},{value:"3",label:this.$t("Fiyata göre artan")},{value:"4",label:this.$t("İsme göre artan")},{value:"5",label:this.$t("İsme göre azalan")},{value:"6",label:this.$t("recently_added")}]}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.filterList.quantity&&(this.quantityVal=!0)},mounted(){var t=this.$route.query,e=t.tag_id,r=t.category_id,o=t.author_id,l=t.producer_id;t.sort_type;if([e,r,o,l].some(t=>{var e;return null==t||null===(e=t.includes)||void 0===e?void 0:e.call(t,";")}))this.clearFilter();else{if(e){var n=this.filterDataList.tag_list.find(t=>t.id==Number(e));if(!n)return;this.filterSelectedDatas.tag=[n]}else if("etiket-name___tr"==this.$route.name&&this.$route.params.name){var d=this.filterDataList.tag_list.find(t=>t.seo_link==this.$route.params.name);if(!d)return;this.filterSelectedDatas.tag=[d],this.$nuxt.$emit("filterListEmit",c(c({},this.filterList),{},{tag_seo_link:"",tag_id:d.id}))}if(r){var m=this.filterDataList.category_list.find(t=>t.id==Number(r));if(!m)return;this.filterSelectedDatas.category=[m]}else if("kategori-name___tr"==this.$route.name&&this.$route.params.name){var h=this.filterDataList.category_list.find(t=>t.seo_link==this.$route.params.name);if(!h)return;this.filterSelectedDatas.category=[h],this.$nuxt.$emit("filterListEmit",c(c({},this.filterList),{},{category_seo_link:"",category_id:h.id}))}if(o){var f=this.filterDataList.author_list.find(t=>t.id==Number(o));if(!f)return;this.filterSelectedDatas.author=[f]}else if("kisi-name___tr"==this.$route.name&&this.$route.params.name){var _=this.filterDataList.author_list.find(t=>t.seo_link==this.$route.params.name);if(!_)return;this.filterSelectedDatas.author=[_],this.$nuxt.$emit("filterListEmit",c(c({},this.filterList),{},{author_seo_link:"",author_id:_.id}))}if(l){var v=this.filterDataList.producer_list.find(t=>t.id==Number(l));if(!v)return;this.filterSelectedDatas.producer=[v]}else if("uretici-name___tr"==this.$route.name&&this.$route.params.name){var w=this.filterDataList.producer_list.find(t=>t.seo_link==this.$route.params.name);if(!w)return;this.filterSelectedDatas.producer=[w],this.$nuxt.$emit("filterListEmit",c(c({},this.filterList),{},{producer_seo_link:"",producer_id:w.id}))}}},methods:{isOptionDisable(t,e){return!(!this.$route.query[t+"_seo_link"]||this.$route.query[t+"_seo_link"]!=e.seo_link)||!(!this.$route.query[t+"_id"]||this.$route.query[t+"_id"]!=e.id)&&this.$route.query[t+"_id"].split(";").includes(e.id.toString())},filterSelectIdChange(t,e){this.filterList[e]=(this.$route.query[e]?this.$route.query[e]+";":"")+t,this.getFilter()},filterSelectChange(t,e){this.filterList[e]=t,this.getFilter()},changeQuantity(){this.filterList.quantity=this.quantityVal?0:"",this.setRouteQuery(),this.getFilter()},removeTag(t,e){if(this.$route.query[t+"_id"]){var r=this.$route.query[t+"_id"].split(";");r.splice(r.indexOf(e.id.toString()),1),r.length>0?this.filterSelectedDatas[t]=this.filterSelectedDatas[t].filter(t=>t.id!=e.id):this.filterSelectedDatas[t]=[],this.filterList[t+"_id"]=r.join(";")}else this.filterSelectedDatas[t]=[],this.filterList[t+"_id"]="";this.filterList[t+"_seo_link"]="",this.getFilter()},addTagToQuery(t,e){if(e.seo_link)this.filterList[t+"_seo_link"]=e.seo_link;else{var r=this.$route.query[t]?this.$route.query[t].split(";"):[];r.push(e.id),this.filterList[t+"_id"]=r.join(";")}this.getFilter()},getFilter(){this.filterList.page=1,this.filterList.limit=40,this.setRouteQuery(),this.$emit("filterCallBack",this.filterList,"getList")},clearFilter(){var t=Object.assign({},{search_text:"",scarttype:"",producer_id:"",author_id:"",tag_id:"",category_id:"",quantity:"",sort_type:"",producer_seo_link:"",category_seo_link:"",tag_seo_link:"",author_seo_link:"",limit:this.$route.query.size||40,page:this.$route.query.page||1});this.$nuxt.$emit("filterListEmit",c(c({},this.filterList),t)),this.filterSelectedDatas=Object.assign({},{producer:[],tag:[],category:[],author:[]}),this.$router.replace("/ara"),this.$emit("filterCallBack",c(c({},this.filterList),t),"getList")},getSearch(){this.$router.replace({query:this.filterList}),this.$emit("filterCallBack",this.filterList,"getList")},getFilterItemList(t,e){this.filterDataList[e+"_list_id"].includes(t.id)||(this.filterDataList[e+"_list"].push(t),this.filterDataList[e+"_list_id"].push(t.id)),this.getFilter(),this.autocompleteList[e+"_name"]=""},getKategoriAuto(t,e){t?(this.filterList.category_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"categoriy/list?id=&kategoriad="+t+"&relationcode=&idSort&kategoriadSort=desc&limit=100&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})):e(this.filterDataList.category_list)},handleKategoriAutoSelect(t){var e;if(t){var r=(null===(e=this.filterSelectedDatas.category)||void 0===e?void 0:e.length)>0?this.filterSelectedDatas.category.map(t=>
1t.id).join(";"):"";this.filterSelectedDatas.category=[...this.filterSelectedDatas.category,t],this.filterList.category_seo_link="",this.filterList.category_id=r?r+";"+t.id:t.id,this.getFilterItemList(t,"category")}},getEtiketAuto(t,e){t?(this.filterList.tag_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"tags/list?id=&prcg_name="+t+"&idSort=&prcg_nameSort=desc&limit=100&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})):e(this.filterDataList.tag_list)},handleEtiketAutoSelect(t){var e;if(t){var r=(null===(e=this.filterSelectedDatas.tag)||void 0===e?void 0:e.length)>0?this.filterSelectedDatas.tag.map(t=>t.id).join(";"):"";this.filterSelectedDatas.tag=[...this.filterSelectedDatas.tag,t],this.filterList.tag_seo_link="",this.filterList.tag_id=r?r+";"+t.id:t.id,this.getFilterItemList(t,"tag")}},getYazarAuto(t,e){t?(this.filterList.author_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"authors/list?id=&at_name="+t+"&at_name_equals=0&at_who=&idSort=&at_nameSort=desc&limit=50&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})):e(this.filterDataList.author_list)},handleYazarAutoSelect(t){var e;if(t){var r=(null===(e=this.filterSelectedDatas.author)||void 0===e?void 0:e.length)>0?this.filterSelectedDatas.author.map(t=>t.id).join(";"):"";this.filterSelectedDatas.author=[...this.filterSelectedDatas.author,t],this.filterList.author_seo_link="",this.filterList.author_id=r?r+";"+t.id:t.id,this.getFilterItemList(t,"author")}},getUreticiAuto(t,e){this.filterList.producer_id=t,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"producer/list?id=&ureticiad="+t+"&idSort=desc&ureticiadSort=desc&limit=100&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{e(t)})},handleUreticiAutoSelect(t){var e;if(t){var r=(null===(e=this.filterSelectedDatas.producer)||void 0===e?void 0:e.length)>0?this.filterSelectedDatas.producer.map(t=>t.id).join(";"):"";this.filterSelectedDatas.producer=[...this.filterSelectedDatas.producer,t],this.filterList.producer_seo_link="",this.filterList.producer_id=r?r+";"+t.id:t.id,this.getFilterItemList(t,"producer")}},setRouteQuery(){var t=Object.entries(this.filterList).reduce((t,e)=>{var r=o(e,2),l=r[0],n=r[1];return(n||0===n||"sort_type"==l)&&(t[l]=n||""),t},{});this.$router.replace({query:t}).catch(t=>{})}}},h=(r(612),r(613),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl mb50 pt20 px10 pb50 bg-white rds",staticStyle:{"z-index":"99"}},[e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Aranan Kelime")))]),t._v(" "),e("el-input",{attrs:{placeholder:t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":""))},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getFilter.apply(null,arguments)}},model:{value:t.filterList.search_text,callback:function(e){t.$set(t.filterList,"search_text",e)},expression:"filterList.search_text"}})],1),t._v(" "),e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("sort_by")))]),t._v(" "),e("el-select",{staticClass:"ww fl",on:{change:e=>t.filterSelectChange(e,"sort_type")},model:{value:t.filterList.sort_type,callback:function(e){t.$set(t.filterList,"sort_type",e)},expression:"filterList.sort_type"}},t._l(t.typeList,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1),t._v(" "),t.hideStokMiktar?t._e():e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Miktar")))]),t._v(" "),e("el-checkbox",{staticClass:"ww fl",attrs:{label:t.$t("Stokta Var")+" "+t.$t("Olanlar"),border:""},on:{change:t.changeQuantity},model:{value:t.quantityVal,callback:function(e){t.quantityVal=e},expression:"quantityVal"}})],1),t._v(" "),t.hidePublisher?t._e():e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("1"==t.firmSetting.b2bUreticiPlaceholder?"Yayıncı":"Üretici")+" "+t.$t("Seç")))]),t._v(" "),e("el-autocomplete",{staticClass:"ww fl",attrs:{onClick:"this.select();","fetch-suggestions":t.getUreticiAuto,"value-key":"ureticiad","trigger-on-focus":!0},on:{select:t.handleUreticiAutoSelect,clear:t.handleUreticiAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.ureticiad))])]}}],null,!1,1916000565),model:{value:t.autocompleteList.producer_name,callback:function(e){t.$set(t.autocompleteList,"producer_name",e)},expression:"autocompleteList.producer_name"}}),t._v(" "),[!t.filterSelectedDatas.producer.length>0?t._l(t.filterDataList.producer_list,function(r,o){return e("el-tag",{key:o,staticClass:"mt5 mr5 mb5 cr-p",attrs:{type:"info",size:"small"},on:{click:function(e){return t.handleUreticiAutoSelect(r)}}},[t._v(t._s(r.ureticiad))])}):t._l(t.filterSelectedDatas.producer,function(r,o){return e("el-tag",{key:o,staticClass:"mt5 mr5 mb5 cr-p",attrs:{closable:"",type:"danger",size:"small"},on:{click:function(e){return t.removeTag("producer",r)},close:function(e){return t.removeTag("producer",r)}}},[t._v(t._s(r.ureticiad))])})]],2),t._v(" "),e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Kategori")+" "+t.$t("Seç")))]),t._v(" "),e("el-autocomplete",{staticClass:"ww fl",attrs:{onClick:"this.select();","value-key":"kategoriad","trigger-on-focus":!0,placeholder:t.$t("Kategori"),"fetch-suggestions":t.getKategoriAuto},on:{select:t.handleKategoriAutoSelect,clear:t.handleKategoriAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.kategoriad))])]}}]),model:{value:t.autocompleteList.category_name,callback:function(e){t.$set(t.autocompleteList,"category_name",e)},expression:"autocompleteList.category_name"}},[t._v(" "),t.filterDataList.category_list.length>0?e("el-select",{staticClass:"w40",attrs:{slot:"ar"==this.$i18n.locale?"append":"prepend",multiple:"",value:"","popper-append-to-body":!1,"popper-class":"filterSelectbox"},on:{change:e=>t.filterSelectIdChange(e,"category_id")},slot:"ar"==this.$i18n.locale?"append":"prepend"},t._l(t.filterDataList.category_list,function(r,o){return e("el-option",{key:o,attrs:{disabled:t.isOptionDisable("category",r),value:r.
1id}},[t._v(t._s(r.kategoriad))])}),1):t._e()],1),t._v(" "),t.filterSelectedDatas.category.length>0?t._l(t.filterSelectedDatas.category,function(r,o){return e("el-tag",{key:o,staticClass:"mt5 mr5 mb5 cr-p",attrs:{closable:"",type:"danger",size:"small"},on:{click:function(e){return t.removeTag("category",r)},close:function(e){return t.removeTag("category",r)}}},[t._v(t._s(r.kategoriad))])}):t._e()],2),t._v(" "),e("div",{staticClass:"ww fl mb10"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Etiket")+" "+t.$t("Seç")))]),t._v(" "),e("el-autocomplete",{staticClass:"ww fl",attrs:{onClick:"this.select();","fetch-suggestions":t.getEtiketAuto,"value-key":"prcg_name","trigger-on-focus":!0,placeholder:t.$t("Etiket")},on:{select:t.handleEtiketAutoSelect,clear:t.handleEtiketAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.prcg_name))])]}}]),model:{value:t.autocompleteList.tag_name,callback:function(e){t.$set(t.autocompleteList,"tag_name",e)},expression:"autocompleteList.tag_name"}},[t._v(" "),t.filterDataList.tag_list.length>0?e("el-select",{staticClass:"w40",attrs:{slot:"ar"==this.$i18n.locale?"append":"prepend",value:"","popper-append-to-body":!1,"popper-class":"filterSelectbox"},on:{change:e=>t.filterSelectIdChange(e,"tag_id")},slot:"ar"==this.$i18n.locale?"append":"prepend"},t._l(t.filterDataList.tag_list,function(r,o){return e("el-option",{key:o,attrs:{disabled:t.isOptionDisable("tag",r),value:r.id}},[t._v(t._s(r.prcg_name))])}),1):t._e()],1),t._v(" "),t.filterSelectedDatas.tag.length>0?t._l(t.filterSelectedDatas.tag,function(r,o){return e("el-tag",{key:o,staticClass:"mt5 mr5 mb5 cr-p",attrs:{closable:"",type:"danger",size:"small"},on:{click:function(e){return t.removeTag("tag",r)},close:function(e){return t.removeTag("tag",r)}}},[t._v(t._s(r.prcg_name))])}):t._e()],2),t._v(" "),t.showAuthor?e("div",{staticClass:"ww fl mb15"},[e("span",{staticClass:"ww fl ln-25 fs-12"},[t._v(t._s(t.$t("Yazar")+" "+t.$t("Seç")))]),t._v(" "),e("el-autocomplete",{staticClass:"ww fl",attrs:{onClick:"this.select();","fetch-suggestions":t.getYazarAuto,"value-key":"at_name","trigger-on-focus":!0,placeholder:t.$t("Yazar")},on:{select:t.handleYazarAutoSelect,clear:t.handleYazarAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.at_name))])]}}],null,!1,4006259944),model:{value:t.autocompleteList.author_name,callback:function(e){t.$set(t.autocompleteList,"author_name",e)},expression:"autocompleteList.author_name"}},[t._v(" "),t.filterDataList.author_list.length>0?e("el-select",{staticClass:"w40",attrs:{slot:"ar"==this.$i18n.locale?"append":"prepend",value:"","popper-append-to-body":!1,"popper-class":"filterSelectbox"},on:{change:e=>t.filterSelectIdChange(e,"author_id")},slot:"ar"==this.$i18n.locale?"append":"prepend"},t._l(t.filterDataList.author_list,function(r,o){return e("el-option",{key:o,attrs:{disabled:t.isOptionDisable("author",r),value:r.id}},[t._v(t._s(r.at_name))])}),1):t._e()],1),t._v(" "),t.filterSelectedDatas.author.length>0?t._l(t.filterSelectedDatas.author,function(r,o){return e("el-tag",{key:o,staticClass:"mt5 mr5 mb5 cr-p",attrs:{closable:"",type:"danger",size:"small"},on:{click:function(e){return t.removeTag("author",r)},close:function(e){return t.removeTag("author",r)}}},[t._v(t._s(r.at_name))])}):t._e()],2):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:5}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:16}},[e("el-button",{staticClass:"ww h40 fl p0 ta-o",attrs:{type:"primary",icon:"el-icon-refresh fs-18"},on:{click:t.getFilter}},[t._v(t._s(t.$t("Yenile")))])],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:8}},[e("el-tooltip",{attrs:{content:t.$t("Filtre")+" "+t.$t("Temizle"),placement:"top"}},[e("el-button",{staticClass:"ww h40 fl p0 ta-o",attrs:{type:"danger",icon:"el-icon-circle-close fs-20"},on:{click:t.clearFilter}})],1)],1)],1),t._v(" "),e("div",{staticClass:"ww fl mb15"})],1)},[],!1,null,"64e6d577",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return d(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?d(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var m={name:"FilterPanel",props:{filterList:{type:Object,default:()=>({})},filterDataList:{type:Object,default:function(){return{}}}},data(){return{loading:!1,globalSearch:this.filterList.search_text||"",_searchDebounce:null,_isResetting:!1,_isReady:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,hideStokMiktar:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideStokMiktar||!1,hidePublisher:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHidePublisher||!1,hideTag:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideTag||!1,showAuthor:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowAuthor,defaultSortType:this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"",quantityVal:!!this.filterList.quantity,publicPath:"",filterEntity:[],sections:{sortType:!1,quantity:!1,producers:!0,categories:!1,authors:!1,tags:!1},searches:{producers:"",authors:""},selected:{producers:[],categories:[],authors:[],tags:[]},producers:[],categories:[],authors:[],tags:[],locked:{producers:!1,categories:!1,authors:!1,tags:!1},yazarCinsList:{0:this.$t("Yazar"),1:this.$t("Çevirmen"),2:this.$t("Editör"),3:this.$t("Grafiker"),4:this.$t("Dizgici / Mizanpaj"),5:this.$t("Yayın Yönetmeni"),6:this.$t("Resimleyen (Çizer)"),7:this.$t("Fotoğrafçı"),8:this.$t("Hazırlayan"),9:this.$t("Redaktör Düzeltmen")},typeList:[{value:"",label:this.$t("Satış Durumuna göre")},{value:"0",label:this.$t("Yeniden Eskiye")},{value:"1",label:this.$t("Eskiden Yeniye")},{value:"2",label:this.$t("Fiyata göre azalan")},{value:"3",label:this.$t("Fiyata göre artan")},{value:"4",label:this.$t("İsme göre artan")},{value:"5",label:this.$t("İsme göre azalan")},{value:"6",label:this.$t("recently_added")},{value:"7",label:this.$t("Satış Miktarı (Çok > Az)")}]}},computed:{filterSections(){return[{key:"producers",label:"1"==this.firmSetting.b2bUreticiPlaceholder?this.$t("Yayıncı"):this.$t("Üretici"),items:this.producers,searchable:!0,show:!this.hidePublisher},{key:"categories",label:"KATEGORİLER",items:this.categories,searchable:!0,show:!0},{key:"authors",label:"YAZARLAR",items:this.authors,searchable:!0,show:this.showAuthor},{key:"tags",label:"ETİKETLER",items:this.tags,searchable:!0,show:!this.hideTag}].filter(s=>s.show)},hasSelection(){var t=Object.values(this.selected).some(t=>t.length>0),e=this.filterList.sort_type&&""!==this.filterList.sort_type&&this.filterList.sort_type!==this.defaultSortType;return t||e||this.quantityVal},totalSelected(){return Object.values(this.selected).reduce((t,e)=>t+e.length,0)+(this.quantityVal?1:0)+(this.filterList.sort_type&&this.filterList.sort_type!==this.defaultSortType?1:0)}},watch:{globalSearch(t){clearTimeout(this._searchDebounce);var e=t.trim();e.length<1||(this._searchDebounce=setTimeout(()=>
1{this._isResetting=!0,Object.keys(this.selected).forEach(t=>{this.selected[t]=[],this.$set(this.locked,t,!1)}),this.$nextTick(()=>{this._isResetting=!1}),this.filterList.search_text=e,this.emitFilter()},1e3))},filterDataList(t){this.fetchFilters()},selected:{deep:!0,handler(){this._isReady&&!this._isResetting&&this.emitFilter()}}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];if("mod_b2bpublic"==t.md_name&&"1"==t.md_status){this.publicPath="public/";break}}this.initFromRoute(),this.fetchFilters(),this.$nextTick(()=>{this._isReady=!0})},mounted(){"5d652ac2df9348032b5dfe279cebf083"===this.$cookies.get("merchant_id")&&(this.sections.categories=!0)},methods:{initFromRoute(){var q=this.$route.query,path=this.$route.path,t=t=>t?t.toString().split(/[;,]/).map(Number).filter(Boolean):[];this.selected.producers=t(q.producer_id),this.selected.categories=t(q.category_id),this.selected.authors=t(q.author_id),this.selected.tags=t(q.tag_id);var e=path.match(/^\/([^/]+)\/([^/]+)/);if(e){var r=c(e,3),o=r[1],l=r[2],n={uretici:"producer_seo_link",kategori:"category_seo_link",etiket:"tag_seo_link",kisi:"author_seo_link"}[o];n&&(this.filterList[n]=l)}q.producer_seo_link&&(this.filterList.producer_seo_link=q.producer_seo_link),q.category_seo_link&&(this.filterList.category_seo_link=q.category_seo_link),q.tag_seo_link&&(this.filterList.tag_seo_link=q.tag_seo_link),q.author_seo_link&&(this.filterList.author_seo_link=q.author_seo_link),void 0!==q.sort_type&&(this.filterList.sort_type=q.sort_type),void 0!==q.quantity&&(this.filterList.quantity=q.quantity,this.quantityVal=!!q.quantity||"0"===q.quantity),q.search_text&&(this.globalSearch=q.search_text,this.filterList.search_text=q.search_text)},fetchFilters(){this.loading=!0;var t=!this.$cookies.get("web_login_access_token"),e=this.selected.producers.length<=1&&this.filterList.producer_seo_link||"",r=this.selected.categories.length<=1&&this.filterList.category_seo_link||"",o=this.selected.tags.length<=1&&this.filterList.tag_seo_link||"",l=this.selected.authors.length<=1&&this.filterList.author_seo_link||"",n=this.filterSections.map(t=>t.key),c=["producers","categories","tags","authors"].filter(t=>n.includes(t)&&!this.locked[t]).join(";"),d=this.quantityVal?0:"",m=this.filterList,h=m.scarttype,f=void 0===h?"":h,_=m.basket,v=void 0===_?"":_,w=m.best_sell_prd,y=void 0===w?"":w,k=m.relstokid,C=void 0===k?"":k,$=m.reltype,S=void 0===$?"":$,x=new URLSearchParams({search_text:this.globalSearch.trim(),producer_id:this.selected.producers.join(";"),category_id:this.selected.categories.join(";"),tag_id:this.selected.tags.join(";"),author_id:this.selected.authors.join(";"),scarttype:f,quantity:d,producer_seo_link:e,category_seo_link:r,tag_seo_link:o,author_seo_link:l,basket:v,best_sell_prd:y,relstokid:C,reltype:S,filter_entity:c}),L="api/".concat(t?this.publicPath:"","product/searchFilters?").concat(x.toString());this.$apis.get(L).then(t=>{var e=t.data.KiboApp.Response.data,data=Object.fromEntries(["producers","categories","tags","authors"].map(t=>[t,(e[t]||[]).filter(t=>null!=t.id)]));this._isResetting=!0;var r=(t,e,r)=>{var o=data[t],l=this.filterList[r];if(!l)return!1;var n=null;if(["tag_seo_link","author_seo_link"].includes(r)&&o.some(t=>void 0!==t.seo_link)?n=o.find(t=>t.seo_link===l)||null:1===o.length&&(n=o[0]),!n)return!1;var c=n.id;return this.selected[e].includes(c)||(this.selected[e]=[...this.selected[e],c]),this[e]=[...o],!0},o=r("producers","producers","producer_seo_link"),l=r("categories","categories","category_seo_link"),n=r("tags","tags","tag_seo_link"),c=r("authors","authors","author_seo_link"),d=data.producers,m=data.categories,h=data.authors,f=data.tags;o||this.locked.producers||(this.producers=d),l||this.locked.categories||(this.categories=m),c||this.locked.authors||(this.authors=h),n||this.locked.tags||(this.tags=f),this.$nextTick(()=>{this._isResetting=!1})}).catch(t=>{console.error("FilterPanel: API hatası",t)}).finally(()=>{this.loading=!1})},syncFilterListFromSelected(){this.filterList.producer_id=this.selected.producers.join(";"),this.filterList.category_id=this.selected.categories.join(";"),this.filterList.author_id=this.selected.authors.join(";"),this.filterList.tag_id=this.selected.tags.join(";"),this.filterList.producer_seo_link="",this.filterList.category_seo_link="",this.filterList.tag_seo_link="",this.filterList.author_seo_link=""},emitFilter(){this.syncFilterListFromSelected(),this.filterList.page=1,this.filterList.limit=40,this.setRouteQuery(),this.$emit("filterCallBack",this.filterList,"getList")},setRouteQuery(){var t=this.$route.path.match(/^\/([^/]+)\/([^/]+)/),e=t&&["uretici","kategori","etiket","kisi"].includes(t[1]),r=Object.entries(this.filterList).reduce((t,e)=>{var r=c(e,2),o=r[0],l=r[1];return(l||0===l||"sort_type"===o)&&(t[o]=l),t},{});
1if(e){var o={uretici:{key:"producers",seoField:"producer_seo_link"},kategori:{key:"categories",seoField:"category_seo_link"},etiket:{key:"tags",seoField:"tag_seo_link"},kisi:{key:"authors",seoField:"author_seo_link"}}[c(t,2)[1]];if(o&&0===this.selected[o.key].length)return void this.$router.replace({path:"/ara",query:r}).catch(()=>{})}this.$router.replace({query:r}).catch(()=>{})},toggleSection(t){this.$set(this.sections,t,!this.sections[t])},selectSortType(){this.emitFilter()},toggleQuantity(){this.quantityVal=!this.quantityVal,this.filterList.quantity=this.quantityVal?0:"",this.emitFilter()},isSelected(t,e){return this.selected[t].includes(e)},toggleItem(t,e){var r=this.selected[t],o=r.indexOf(e);-1===o?r.push(e):r.splice(o,1),Object.entries(this.locked).some(e=>{var r=c(e,2),o=r[0],l=r[1];return o!==t&&l})||this.$set(this.locked,t,r.length>0)},getSelectedItems(section){return section.items.filter(t=>this.selected[section.key].includes(t.id))},getFilteredItems(section){var t=this.searches[section.key];return t?section.items.filter(e=>e.name.toLowerCase().includes(t.toLowerCase())):section.items},clearAll(){this._isResetting=!0,Object.keys(this.selected).forEach(t=>{this.selected[t]=[],this.$set(this.locked,t,!1)}),this.quantityVal=!1,this.$nextTick(()=>{this._isResetting=!1});var t={search_text:this.globalSearch,scarttype:"",producer_id:"",author_id:"",tag_id:"",category_id:"",quantity:"",sort_type:"",producer_seo_link:"",category_seo_link:"",tag_seo_link:"",author_seo_link:"",lastrelease_proc_day:"",bestseller_proc_day:"",limit:this.$route.query.size||40,page:1};this.$nuxt.$emit("filterListEmit",l(l({},this.filterList),t)),this.$router.push({path:"/ara",query:this.globalSearch?{search_text:this.globalSearch}:{}}),this.$emit("filterCallBack",l(l({},this.filterList),t),"getList")},getAuthorRole(t){return this.yazarCinsList[t]||""}}},h=(r(614),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("div",{staticClass:"filter-panel"},[t.loading?e("div",{staticClass:"loading-state"},[e("i",{staticClass:"el-icon-loading"}),t._v(" "),e("span",[t._v(t._s(t.$t("Filtre Yükleniyor"))+"...")])]):[e("div",{staticClass:"global-search"},[e("span",{staticClass:"section-title"},[t._v(t._s(t.$t("Arama")))]),t._v(" "),e("el-input",{attrs:{size:"small",placeholder:t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":"")),"prefix-icon":"el-icon-search",clearable:""},model:{value:t.globalSearch,callback:function(e){t.globalSearch=e},expression:"globalSearch"}})],1),t._v(" "),e("div",{staticClass:"filter-section filter-sort"},[e("div",{staticClass:"section-header",on:{click:function(e){return t.toggleSection("sortType")}}},[e("span",{staticClass:"section-title"},[t._v("SIRALAMA")]),t._v(" "),e("div",{staticClass:"section-right"},[e("i",{class:["section-arrow",t.sections.sortType?"el-icon-arrow-up":"el-icon-arrow-down"]})])]),t._v(" "),e("transition",{attrs:{name:"collapse"}},[t.sections.sortType?e("div",{staticClass:"section-body"},[e("el-select",{staticStyle:{width:"100%"},attrs:{size:"mini"},on:{change:t.selectSortType},model:{value:t.filterList.sort_type,callback:function(e){t.$set(t.filterList,"sort_type",e)},expression:"filterList.sort_type"}},t._l(t.typeList,function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})}),1)],1):t._e()])],1),t._v(" "),t.hideStokMiktar?t._e():e("div",{staticClass:"filter-section"},[e("div",{staticClass:"section-header",on:{click:function(e){return t.toggleSection("quantity")}}},[e("span",{staticClass:"section-title"},[t._v(t._s(t.$t("Stok Durumu")))]),t._v(" "),e("div",{staticClass:"section-right"},[e("i",{class:["section-arrow",t.sections.quantity?"el-icon-arrow-up":"el-icon-arrow-down"]})])]),t._v(" "),e("transition",{attrs:{name:"collapse"}},[t.sections.quantity?e("div",{staticClass:"section-body"},[e("label",{staticClass:"checkbox-item",on:{click:t.toggleQuantity}},[e("span",{class:["custom-checkbox",{checked:t.quantityVal}]},[t.quantityVal?e("i",{staticClass:"el-icon-check check-icon"}):t._e()]),t._v(" "),e("span",{staticClass:"checkbox-label"},[t._v(t._s(t.$t("Sadece Stokta Olanlar")))])])]):t._e()])],1),t._v(" "),t._l(t.filterSections,function(section){return e("div",{key:section.key,staticClass:"filter-section"},[e("div",{staticClass:"section-header",on:{click:function(e){return t.toggleSection(section.key)}}},[e("span",{staticClass:"section-title"},[t._v(t._s(section.label))]),t._v(" "),e("div",{staticClass:"section-right"},[e("span",{staticClass:"section-count"},[t._v(t._s(section.items.length))]),t._v(" "),e("i",{class:["section-arrow",t.sections[section.key]?"el-icon-arrow-up":"el-icon-arrow-down"]})])]),t._v(" "),t.getSelectedItems(section).length?e("div",{staticClass:"selected-tags"},t._l(t.getSelectedItems(section),function(r){return e("el-tag",{key:r.id,staticClass:"fs-10",attrs:{size:"mini",closable:"",type:"primary"},on:{close:function(e){return t.toggleItem(section.key,r.id)}}},[t._v("\n          "+t._s(r.name)+"\n        ")])}),1):t._e(),t._v(" "),e("transition",{attrs:{name:"collapse"}},[t.sections[section.key]?e("div",{staticClass:"section-body"},[section.searchable?e("div",{staticClass:"search-wrapper"},[e("i",{staticClass:"el-icon-search search-icon"}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.searches[section.key],expression:"searches[section.key]"}],staticClass:"search-input",attrs:{placeholder:"".concat(section.label.charAt(0)+section.label.slice(1).toLowerCase()," ara...")},domProps:{value:t.searches[section.key]},on:{input:function(e){e.target.composing||t.$set(t.searches,section.key,e.target.value)}}})]):t._e(),t._v(" "),e("div",{staticClass:"checkbox-list"},t._l(t.getFilteredItems(section),function(r){return e("label",{key:r.id,staticClass:"checkbox-item",on:{click:function(e){return t.toggleItem(section.key,r.id)}}},[e("span",{class:["custom-checkbox",{checked:t.isSelected(section.key,r.id)}]},[t.isSelected(section.key,r.id)?e("i",{staticClass:"el-icon-check check-icon"}):t._e()]),t._v(" "),e("span",{staticClass:"checkbox-label txt-sub"},[t._v("\n                "+t._s(r.name)+"\n                "),"authors"===section.key&&0!=r.at_who&&t.getAuthorRole(r.at_who)?e("span",{staticClass:"author-role"},[t._v("\n                  ("+t._s(t.getAuthorRole(r.at_who))+")\n                ")]):t._e()])])}),0)]):t._e()])],1)}),t._v(" "),e("div",{staticClass:"filter-footer"},[e("span",{staticClass:"filter-status"},[t._v("\n        "+t._s(t.hasSelection?"".concat(t.totalSelected," filtre seçili"):"Filtre seçili değil")+"\n      ")]),t._v(" "),t.hasSelection?e("button",{staticClass:"clear-btn txt-error",on:{click:t.clearAll}},[t._v("\n        Tümünü temizle\n      ")]):e("span",{staticClass:"clear-btn-disabled"},[t._v("Tümünü temizle")])])]],2)},[],!1,null,"d566f508",null);e.default=component.exports},,,,,,,,,,function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={props:{ssrData:{type:Array,default:[]},ssrRowCount:{type:Number,default:0},ssrFilterList:{type:Object,default:{}},pageTitle:{type:String,default:""}},components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},watch:{"$route.query.name":{handler:function(t){null!=t&&(this.filterList.at_name=t,this.getList())},deep:!0,immediate:!0}},data(){return{isPublic:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,allSetting:this.$store.state.firm,loading:!1,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:0,subcategories:{},filterList:{kategoriad:this.$route.query.name||"",limit:this.$route.query.size||2e3,page:this.$route.query.page||1}}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.getSubCategories(this.ssrData),this.pageData=this.ssrData,this.pageDataCount=this.ssrRowCount,this.filterList=this.ssrFilterList,0==this.ssrRowCount&&(this.noData=!0)},methods:{getSubCategories(t){t&&t.length>0&&(t.forEach(t=>{if("0"==t.relationcode){var e="parentId_"+t.id;this.subcategories[e]||(this.subcategories[e]=[])}}),t.forEach(t=>{"0"!=t.relationcode&&this.subcategories["parentId_"+t.relationcode]&&this.subcategories["parentId_"+t.relationcode].push(t)}))},getWithSubId(t){if(t){var e=[t.id];if(t.subcategories)for(var i=0;i<t.subcategories.length;i++)e.push(t.subcategories[i].id);return e.join(";")}},getList(){var t=this.$cookies.get("web_login_access_token");this.isPublic||t?(this.loading=!0,this.$apis.get("api/"+(t?"":this.isPublic)+"categoriy/list?kategoriad="+(this.$route.query.name||this.filterList.kategoriad||"")+"&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.getSubCategories(e.list),this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})):this.noData=!0},getSearch(){this.filterList.page=1,this.filterList.limit=2e3,this.$router.push({path:this.$route.path,query:n(n({},this.$route.query),{},{name:this.filterList.kategoriad?this.filterList.kategoriad:""})})},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]="",this.getSearch()},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Kategori")}}},m=d,h=(r(530),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Kategori")))])],1
1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.kategoriad")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.kategoriad,callback:function(e){t.$set(t.filterList,"kategoriad",e)},expression:"filterList.kategoriad"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50"},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.loading,expression:"loading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},[t._l(t.pageData,function(r,o){return["0"==r.relationcode?e("el-col",{key:r+""+o,staticClass:"mb5",attrs:{xs:24,sm:12,md:6,lg:6,xl:6}},[e("el-card",{staticClass:"p5",attrs:{shadow:"none"}},[e("nuxt-link",{staticClass:"ww fl td-u-hover fs-17 ln-24 fw-b bdrB txt-primary pb5",attrs:{to:t.localePath(t.getMakeSeoLink(r,"kategori"))}},[t._v(t._s(r.kategoriad))]),t._v(" "),e("ul",{staticClass:"ww fl mt5 customScroll",staticStyle:{"min-height":"200px","max-height":"200px",overflow:"auto"}},t._l(t.subcategories["parentId_"+r.id],function(r,o){return e("li",{key:r+""+o,staticClass:"ww fl mb5"},[e("nuxt-link",{staticClass:"ww fl td-u-hover fs-13 fw-5 ln-20 txt-head mb5",attrs:{to:t.localePath(t.getMakeSeoLink(r,"kategori"))}},[t._v(t._s(r.kategoriad))])],1)}),0)],1)],1):t._e()]})],2)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={props:{ssrData:{type:Array,default:[]},ssrRowCount:{type:Number,default:0},ssrFilterList:{type:Object,default:{}},pageTitle:{type:String,default:""}},components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},watch:{"$route.query.name":{handler:function(t){null!=t&&(this.filterList.kategoriad=t,this.getList())},deep:!0,immediate:!0}},data(){return{isPublic:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,allSetting:this.$store.state.firm,loading:!1,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:20,subcategories:{},filterList:{kategoriad:this.$route.query.name||"",limit:this.$route.query.size||2e3,page:this.$route.query.page||1}}}
1,created(){this.getSubCategories(),this.pageData=this.ssrData,this.pageDataCount=this.ssrRowCount,this.filterList=this.ssrFilterList},methods:{getSubCategories(){this.ssrData.forEach(t=>{if("0"==t.relationcode){var e="parentId_"+t.id;this.subcategories[e]||(this.subcategories[e]=[])}}),this.ssrData.forEach(t=>{"0"!=t.relationcode&&this.subcategories["parentId_"+t.relationcode]&&this.subcategories["parentId_"+t.relationcode].push(t)})},getWithSubId(t){var e=[t.id];if(t.subcategories)for(var i=0;i<t.subcategories.length;i++)e.push(t.subcategories[i].id);return e.join(";")},getList(){this.loading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"categoriy/list?kategoriad="+(this.$route.query.name||this.filterList.kategoriad||"")+"&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getSearch(){this.filterList.page=1,this.filterList.limit=2e3,this.$router.push({path:this.$route.path,query:n(n({},this.$route.query),{},{name:this.filterList.kategoriad?this.filterList.kategoriad:""})})},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]="",this.getSearch()},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Kategori")}}},m=(r(531),r(532),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{xs:24,sm:24,md:12,lg:12,xl:12}},[e("div",{staticClass:"ww fl mt5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Kategori")))])],1)],1)]),t._v(" "),e("el-col",{attrs:{xs:24,sm:24,md:12,lg:12,xl:12}},[e("div",{staticClass:"filterWrap ww fl mb10"},[e("el-input",{staticClass:"input-with-select",attrs:{size:"small",clearable:""},on:{clear:function(e){return t.clearInput("filterList.kategoriad")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.kategoriad,callback:function(e){t.$set(t.filterList,"kategoriad",e)},expression:"filterList.kategoriad"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.loading,expression:"loading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},[t._l(t.pageData,function(r,o){return["0"==r.relationcode?e("el-col",{key:r+""+o,staticClass:"mb5",attrs:{xs:24,sm:12,md:6,lg:6,xl:6}},[e("el-card",{staticClass:"p5",attrs:{shadow:"none"}},[e("nuxt-link",{staticClass:"ww fl td-u-hover fs-17 ln-24 fw-b bdrB txt-primary pb5 ff-fraunces",attrs:{to:t.localePath("/kategori/"+t.$seolink(r.kategoriad)+"?category_id="+t.getWithSubId(t.subcategories["parentId_"+r.id]))}},[t._v(t._s(r.kategoriad))]),t._v(" "),e("ul",{staticClass:"ww fl mt5 customScroll",staticStyle:{"min-height":"200px","max-height":"200px",overflow:"auto"}},t._l(t.subcategories["parentId_"+r.id],function(r,o){return e("li",{key:r+""+o,staticClass:"ww fl mb5"},[e("nuxt-link",{staticClass:"ww fl td-u-hover fs-13 fw-5 ln-20 txt-head mb5",attrs:{to:t.localePath("/kategori/"+t.$seolink(r.kategoriad)+"?category_id="+r.id)}},[t._v(t._s(r.kategoriad))])],1)}),0)],1)],1):t._e()]})],2)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,"29c09e0d",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?l(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={props:{ssrData:{type:Array,default:[]},ssrRowCount:{type:Number,default:0},ssrFilterList:{type:Object,default:{}},pageTitle:{type:String,default:""},customQuery:{type:String,default:""}},components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},watch:{"$route.query.name":{handler:function(t){null!=t&&(this.filterList.at_name=t,this.getList())},deep:!0,immediate:!0}},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!1,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:20,filterList:{at_name:this.$route.query.name||"",at_who:this.$route.query.at_who||0,limit:this.$route.query.size||40,page:this.$route.query.page||1},emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],emekTipPathList:["yazar","cevirmen","edidor","grafiker","mizanpaj","yayin_yonetmeni","cizer","fografci","hazirlayan","redaktor"]}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.pageData=this.ssrData,this.pageDataCount=this.ssrRowCount,this.filterList=this.ssrFilterList,0==this.ssrRowCount&&(this.noData=!0)},methods:{getList(){var t=this.$cookies.get("web_login_access_token");this.isPublic||t?(this.loading=!0,this.$apis.get("api/"+(t?"":this.isPublic)+"authors/list?at_name="+(this.$route.query.name||this.filterList.at_name||"")+"&at_state=0&at_name_char_start=&at_who="+(this.$route.query.at_who||this.filterList.at_who)+"&idSort=&at_name_equals=0&at_nameSort=asc&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})):this.noData=!0},getSearch(){this.filterList.page=1,this.filterList.limit=40,this.$router.push({path:this.$route.path,query:n(n({},this.$route.query),{},{name:this.filterList.at_name?this.filterList.at_name:""})})},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]="",this.getSearch()},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Yazar")}}},m=d,h=(r(533),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/list/yazar")}}}
1,[t._v(t._s(t.$t("Yazarlar")))])],1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.at_name")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.at_name,callback:function(e){t.$set(t.filterList,"at_name",e)},expression:"filterList.at_name"}},[e("el-select",{staticClass:"w150 fl",attrs:{slot:"prepend"},slot:"prepend",model:{value:t.filterList.at_who,callback:function(e){t.$set(t.filterList,"at_who",e)},expression:"filterList.at_who"}},[e("el-option",{attrs:{label:t.$t("Hepsi"),value:""}}),t._v(" "),t._l(t.emekTipList,function(t,r){return e("el-option",{key:r,attrs:{label:t,value:r}})})],2),t._v(" "),e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50"},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.loading,expression:"loading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:15}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{lg:8,md:8,sm:12,xs:24}},[e("div",{staticClass:"ww fl mb15 pl50 p5 ItemShadow bg-white pos-r"},[e("el-link",{staticClass:"w40 h40 fl m5 pos-a tp-0 lf-0 ta-o",attrs:{href:t.localePath("/biyografi/"+r.id)}},[r.files&&r.files.length>0?e("div",{staticClass:"ww fl tp-0 lf-0",staticStyle:{"padding-top":"100%",position:"absolute"},attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("div",{staticClass:"ww hh pos-a tp-0 lf-0"},[e("el-image",{staticStyle:{width:"100%",height:"100%","border-radius":"5px"}
1,attrs:{src:r.files[0].fl_url,fit:"contain"}})],1)]):e("span",{staticClass:"w40 h40 fl",attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("i",{staticClass:"w40 h40 ta-o fs-20 icon-user"})])]),t._v(" "),e("nuxt-link",{staticClass:"ww fl ln-23 ta-ol pos-r of-h fs-14 fw-b",staticStyle:{height:"23px"},attrs:{to:t.localePath(t.getMakeSeoLink(r,"kisi"))}},[t._v(t._s(r.at_name))]),t._v(" "),e("p",{staticClass:"ww fl mb5 ln-12 fs-12 txt-sub fw-5"},[t._v(t._s(t.emekTipList[r.at_who]))])],1)])}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6);function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function n(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach(function(e){c(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function c(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={props:{ssrData:{type:Array,default:[]},ssrRowCount:{type:Number,default:0},ssrFilterList:{type:Object,default:{}},pageTitle:{type:String,default:""}},components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},watch:{"$route.query.name":{handler:function(t){null!=t&&(this.filterList.at_name=t,this.getList())},deep:!0,immediate:!0}},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!1,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:20,filterList:{at_name:this.$route.query.name||"",at_who:this.$route.query.at_who||0,limit:this.$route.query.size||40,page:this.$route.query.page||1},emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],emekTipPathList:["yazar","cevirmen","edidor","grafiker","mizanpaj","yayin_yonetmeni","cizer","fografci","hazirlayan","redaktor"]}},created(){this.pageData=this.ssrData,this.pageDataCount=this.ssrRowCount,this.filterList=this.ssrFilterList},methods:{getList(){this.loading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"authors/list?at_name="+(this.$route.query.name||this.filterList.at_name||"")+"&at_state=0&at_name_char_start=&at_who="+(this.$route.query.at_who||this.filterList.at_who)+"&idSort=&at_name_equals=0&at_nameSort=asc&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getSearch(){this.filterList.page=1,this.filterList.limit=40,this.$router.push({path:this.$route.path,query:n(n({},this.$route.query),{},{name:this.filterList.at_name?this.filterList.at_name:""})})},clearInput(t){this.$router.replace({query:null}).catch(()=>{}
1),this[t]="",this.getSearch()},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Yazar")}}},m=(r(534),r(535),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Yazar")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Hepsi")))])],1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.at_name")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.at_name,callback:function(e){t.$set(t.filterList,"at_name",e)},expression:"filterList.at_name"}},[e("el-select",{staticClass:"w150 fl",attrs:{slot:"prepend"},slot:"prepend",model:{value:t.filterList.at_who,callback:function(e){t.$set(t.filterList,"at_who",e)},expression:"filterList.at_who"}},[e("el-option",{attrs:{label:t.$t("Hepsi"),value:""}}),t._v(" "),t._l(t.emekTipList,function(t,r){return e("el-option",{key:r,attrs:{label:t,value:r}})})],2),t._v(" "),e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50"},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.loading,expression:"loading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:15}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{lg:8,md:8,sm:12,xs:24}},[e("div",{staticClass:"ww fl mb5 pl50 p5 pos-r rds5 shadow-hover"},[e("el-link",{staticClass:"w40 h40 fl m5 pos-a tp-0 lf-0 ta-o",attrs:{href:t.localePath("/biyografi/"+r.id)}},[r.files&&r.files.length>0?e("div",{staticClass:"ww fl tp-0 lf-0",staticStyle:{"padding-top":"100%",position:"absolute"},attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("div",{staticClass:"ww hh pos-a tp-0 lf-0"},[e("el-image",{staticStyle:{width:"100%",height:"100%","border-radius":"5px"}
1,attrs:{src:r.files[0].fl_url,fit:"contain"}})],1)]):e("span",{staticClass:"w40 h40 fl",attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("i",{staticClass:"w40 h40 ta-o fs-20 icon-user"})])]),t._v(" "),e("nuxt-link",{staticClass:"ww fl ln-23 ta-ol pos-r of-h fs-14 fw-5 ff-fraunces",staticStyle:{height:"23px"},attrs:{to:t.localePath("/kisi/"+r.seo_link+"?author_seo_link="+r.seo_link+"&at_who="+r.at_who)}},[t._v(t._s(r.at_name))]),t._v(" "),e("p",{staticClass:"ww fl mb5 ln-12 fs-12 txt-sub fw-5"},[t._v(t._s(t.emekTipList[r.at_who]))])],1)])}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,"3d6606dc",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"hakkimizda-theme1",components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},methods:{}},l=(r(585),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Hakkımızda")))]),t._v(" "),e("el-breadcrumb-item",[t._v("Bilab Asansör Kimdir ?")])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl py30"},[t._m(0),t._v(" "),e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl px10 pb50 ta-o"},[e("aside",{staticClass:"aboutCardDetailWrap ww fl py20 px15 bg-white rds10",staticStyle:{"max-width":"320px",border:"1px solid #d7dce3","box-shadow":"0 5px 7px -8px rgba(0,0,0,.7)"}},[t._m(1),t._v(" "),t._m(2),t._v(" "),e("div",{staticClass:"ww h60 fl mt20"},[e("div",{staticClass:"aboutCardDetail ww h60 fl mb20"},[e("a",{staticClass:"ww fl mb10 ta-o fs-15",attrs:{href:"mailto:[email protected]",target:"_blank"}},[e("i",{staticClass:"icon-mail mr5 fs-18 txt-sub"}),t._v("[email protected]\n\t\t\t\t\t\t\t")]),t._v(" "),e("a",{staticClass:"ww fl mb10 ta-o fs-16",attrs:{href:"tel:05548433781",target:"_blank"}},[e("i",{staticClass:"icon-phone mr5 fs-18 txt-sub"}),t._v("05548433781\n\t\t\t\t\t\t\t")])])])])])]),t._v(" "),e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl px10 pb50"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 rds10 z9"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-24 fw-b"},[t._v("BİZ KİMİZ")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-c fs-16"},[t._v("\n\t\t\t\t\t\t\t\t\tYaptığımız bütün işlerde temel hedefimiz ülkemizi bu alanlarda dünya markaları ile yarışabilecek bir statüye çıkarabilmektir. Kontrolistanbul olarak bunun ortaya koyulan endüstriyel ürünler vasıtası ile olabilceği inancını sürekli koruduk. \n\t\t\t\t\t\t\t\t")])])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 rds10 z9"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-24 fw-b"},[t._v("MİSYON")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-o fs-16"},[t._v("\n\t\t\t\t\t\t\t\t\tÜlkemizde mevcut distrübütörlük olayından sıyrılarak piyasadaki ürünler ile yarışabilen endüstriyel ürünlerimizin sayısını her geçen gün artırmak temel hedeflerimiz arasındadır. \n\t\t\t\t\t\t\t\t")])])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 rds10 z9"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-24 fw-b"},[t._v("VİZYON")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-o fs-16"},[t._v("\n\t\t\t\t\t\t\t\t\tDinamik bir ekiple yola çıkan firmamız kısa sürede dünya genelinde geniş ürün portföyüne sahip olan, mevcut ürünlerini Türkiye koşullarında büyük oranda yerli markasıyla üretebilen ve ülkemize sermaye katabilen bir firma olabilmektir. \n\t\t\t\t\t\t\t\t")])])])])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl py50",staticStyle:{background:"#EEEEEE"}},[e("div",{staticClass:"wrapper-64em mrau"},[t._m(3),t._v(" "),e("div",{staticClass:"ww fl mb50 bg-white"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"tarihceBg ww fl pos-r ta-o",staticStyle:{"padding-top":"100%"}},[e("div",{staticClass:"history-title",style:t.$device.isDesktop?"position:absolute;right:-50px;":""},[e("h3",{staticClass:"txt-white mb5 fw-b"},[t._v("2016")]),t._v(" "),e("p",[t._v("Kuruluş")])])])]),t._v(" "),e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("aside",{staticClass:"ww fl bg-white rds10 pos-r",class:t.$device.isDesktop?"p50":"p30"},[e("div",{staticClass:"ww fl",class:t.$device.isDesktop?"px50":""},[e("h3",{staticClass:"ww fl txt-head fs-22 fw-b ln-30",class:t.$device.isMobile?"ta-c":""},[t._v("Otomasyon Alanındaki İlk Başlangıç")]),t._v(" "),e("p",{staticClass:"ww fl my10 pt15 ta-o fs-18 ln-22",class:t.$device.isMobile?"ta-c":""},[t._v("\n\t\t\t\t\t\t\t\t\tŞirketimiz 2016 yılında otomasyon alanında projeler gerçekleştirmek amacıyla kurulmuştur. Bu alanda bir çok çalışmalar gerçekleştirmiştir. Asansör sektörüne yönelik bir çok ürün ile ilgili çalışmalar yapmıştır. Pendikte depo ofisin kurmuş ve perpa ticaret merkezinde satış ofisi olarak hizmete başlamıştır. Devamı gelecek...\n\t\t\t\t\t\t\t\t")])])])])],1)],1)])]),t._v(" "),e("footerWrap")],1)},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl px10 pb50"},[e("h1",{staticClass:"ww fl mb20 ta-c fw-b ln-40"},[t._v("KONTROL İSTANBUL")]),t._v(" "),e("p",{staticClass:"ww fl ta-c fs-15"},[t._v("Kontrol istanbul güçlü mühendis kadrosuyla güç elektroniği alanında yeni bir ses getirmek amacıyla kurulan bir ailedir.")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww h50 fl mt15"},[e("div",{staticClass:"aboutCardDetail ww fl mb5 txt-head ta-c fs-20 fw-b"},[t._v("Abdullah Boyraz")]),t._v(" "),e("span",{staticClass:"aboutCardDetail ww fl ln-22 ta-c fs-13 txt-sub"},[t._v("Kurucu Ortak")])])},function(){var t=this._self._c;return t("div",{staticClass:"ww fl mt10 ta-o"},[t("i",{staticClass:"w160 h160 icon-customer rr bdr ta-o fs-63"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl px30 py50"},[e("h3",{staticClass:"ww fl mb10 ta-c ln-36"},[t._v("KÜÇÜK TARİHÇE")]),t._v(" "),e("p",{staticClass:"ww fl ta-c"},[t._v("Bilab Otomasyon olarak tarihçemizi gün geçtikçe büyütmenin peşindeyiz. ")])])}],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"hakkimizda-theme0",props:{pageData:{type:Object,default:{}}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{formData:{name:"",eposta:"",ceptel:"",konu:"",mesaj:""},firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},computed:{isValiMail(){return this.aboneMail?this.validateEmail(this.aboneMail)?"1px solid var(--success)":"1px solid var(--error)":"1px solid #ffffff63"}},created(){this.$nuxt.$on("payShow",t=>this.payStatus(t)),this.PageTop(),this.showPopup=this.firmSetting.b2bPopupImage&&Object.keys(this.firmSetting.b2bPopupImage).length>0&&"1"!=this.$cookies.get("web_popup"),this.cookieAccept=this.firmSetting.b2bCerezSozlesmesi&&!this.$cookies.get("web_cookieAccept")},mounted(){this.web_logo_favicon=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,this.web_logo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.web_title=this.$cookies.get("web_title")||this.firmSetting.b2bWebTitle,this.web_footer_head_title=this.$cookies.get("web_footer_head_title")||this.firmSetting.b2bFooterFirm,this.web_footer_title=this.$cookies.get("web_footer_title")||this.firmSetting.b2bFooterTitle,this.web_footer_address=this.$cookies.get("web_footer_address")||this.firmSetting.b2bFooterAdres,this.web_email=this.$cookies.get("web_email")||this.firmSetting.b2bMail,this.web_phone=this.$cookies.get("web_phone")||this.firmSetting.b2bPhone,this.firmSetting.b2bEtbisImage?this.web_logo_foter=this.firmSetting.b2bEtbisImage.img||this.firmSetting.b2bFooterLogo:this.web_logo_foter=this.$cookies.get("web_logo_foter")||this.firmSetting.b2bFooterLogo,this.b2bSettingsCookie()}
1,methods:{remainingDay(){try{var t=new Date,e=t.toLocaleString("tr-TR").split(" ");return t=(t=e[0].split("."))[2]+"-"+t[1]+"-"+t[0],t=new Date(t),(new Date(this.allSetting.license.license_expires).getTime()-t.getTime())/864e5}catch(t){return 0}},submitBulletin(){this.$refs.bulletinForm.validate(t=>{if(!t)return!1;this.getAboneEkle()})},get_reCAPTCHA(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.getAboneEkle()},3e3)},get_reCAPTCHA_form(){document.getElementById("reCAPTCHA").className="checkmark";var t=this;setTimeout(function(){t.showBulletinForm=!0},3e3)},isRobot(){this.aboneMail&&this.validateEmail(this.aboneMail)&&(this.getAboneShow=!0)},closed_bulletin(){this.showBulletin=!1,this.showBulletinForm=!1,this.aboneButtonLoading=!1,this.bulletinForm={firma:"",eposta:"",ceptel:"",ceptel_kod:90,type:0}},getAboneEkle(){function t(t){var e,r,i,o=t.upper||0,l=t.lower||0,n=t.number||0,c=t.special||0,d="",m="ABCDEFGHIJKLMNOPQRSTUVWXYZ",h="abcdefghijklmnopqrstuvwxyz",f="0123456789",_="!@#$&*?|%+-_./:;=()[]{}";for(i=0;i<o;i++)d+=m.charAt(Math.floor(26*Math.random()));for(i=0;i<l;i++)d+=h.charAt(Math.floor(26*Math.random()));for(i=0;i<n;i++)d+=f.charAt(Math.floor(10*Math.random()));for(i=0;i<c;i++)d+=_.charAt(Math.floor(23*Math.random()));for(i=(d=d.split("")).length-1;i>0;i--)e=Math.floor(Math.random()*(i+1)),r=d[i],d[i]=d[e],d[e]=r;return d=d.join("")}var data={firma:this.bulletinForm.firma,eposta:this.bulletinForm.eposta||"[email protected]",ceptel:this.bulletinForm.ceptel||t({number:13}),ceptel_kod:90,sifre:t({upper:5,lower:7,number:5,special:3}),sozlesme:1,cari_acik:0,intrelskod:this.$cookies.get("corpId")||0,tags:[this.firmSetting.b2baboneEtiket],karttipi:this.firmSetting.b2baboneKartTipId};this.aboneButtonLoading=!0,this.$apis.post("api/user/create",data).then(t=>{this.closed_bulletin(),this.$alert(t.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.getAboneShow=!1,this.aboneMail="",document.getElementById("reCAPTCHA").className="reCAPTCHA"}})}).catch(t=>{this.getAboneShow=!1,this.aboneButtonLoading=!1,this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("E-Bülten")+" "+this.$t("Kayıt"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.getAboneShow=!1,document.getElementById("reCAPTCHA").className="reCAPTCHA"}})})},cookieAccept_action(t){"1"==t?(this.cookieAccept=!1,this.$cookies.set("web_cookieAccept",t,{path:"/",maxAge:2592e3})):location.href=this.localePath("/auth/cerez_politikalari")},validateEmail:t=>t.match(/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/),b2bSettingsCookie(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.web_logo_favicon||this.web_logo||"",document.getElementsByTagName("head")[0].appendChild(link)},closed_popup(){this.showPopup=!1,this.$cookies.set("web_popup",1,{path:"/",maxAge:86400})},getPopupLink(){this.$cookies.set("web_popup",1,{path:"/",maxAge:86400});var t=this;setTimeout(function(){window.location=t.firmSetting.b2bPopupImage.url},100)},payStatus(t){this.payShow=t},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},PageTop(){var t=this;window.addEventListener("scroll",function(){window.scrollY>=300?t.showPageTopButton=!0:t.showPageTopButton=!1})}}},l=(r(586),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.pageData?t.pageData.content_title:t.$t("Hakkımızda")))])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt20 WrapGutter"},[t.pageData?e("div",{staticClass:"ww fl mb50 pb50 fs-14 txt-white",domProps:{innerHTML:t._s(t.pageData.content_text)}}):e("div",{staticClass:"cq-row cq-gap-25 mb50 pb50"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-12 pos-r"},[e("h1",{staticClass:"ww fl mt40 mb5 fs-17 ln-25"},[t._v(t._s(t.firmSetting.b2bIletisimAciklama))]),t._v(" "),e("span",{staticClass:"ww fl mt40 mb5 fs-17 fw-9 txt-dark"},[t._v(t._s(t.$t("Adres")))]),t._v(" "),e("p",{staticClass:"ww fl mb5 pt5 pb5 fs-21 ln-30"},[t._v(t._s(t.firmSetting.b2bIletisimAdres))]),t._v(" "),t.firmSetting.b2bIletisimPhone&&t.firmSetting.b2bIletisimPhone2&&t.firmSetting.b2bIletisimMail?e("div",{staticClass:"ww fl mt40 mb5"},[e("span",{staticClass:"ww fl mb5 fs-17 fw-9 txt-dark"},[t._v(t._s(t.$t("İletişim")))]),t._v(" "),t.firmSetting.b2bIletisimPhone?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimPhone2?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone2))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimMail?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mail ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimMail))])]):t._e()]):t._e(),t._v(" "),t.firmSetting.b2bFacebook&&t.firmSetting.b2bTwitter&&t.firmSetting.b2bInstagram&&t.firmSetting.b2bYoutube?e("div",{staticClass:"ww fl mt40 mb5"},[e("span",{staticClass:"ww fl mb5 fs-17 fw-9 txt-dark"},[t._v(t._s(t.$t("Takip")))]),t._v(" "),null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w32 h40 fl icon-facebook fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w32 h40 fl icon-twitter-x fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w32 h40 fl icon-instagram fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w32 h40 fl icon-youtube fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()]):t._e(),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?[t.firmSetting.b2bMapImage?e("a",{staticClass:"ww fl mt15",attrs:{href:t.firmSetting.b2bMapImage.url,target:"_blank"}},[e("el-image",{staticClass:"ww fl p5 rds bdr",attrs:{src:t.firmSetting.b2bMapImage.img}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"})])])],1):t._e()]:t._e()],2),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-12 pos-r"},[e("div",{staticClass:"ww fl mb50 p20 px30 bdr rds5",class:t.$device.isMobile&&"mt20"},[e("h1",{staticClass:"fs-22 my10 pb10 fw-b bdrB ta-o"},[t._v(t._s(t.$t("İletişim")+" "+t.$t("Form")))]),t._v(" "),e("el-form",{ref:"contactForm",staticClass:"schoolForm ww fl px5",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Konu"),prop:"subject"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.subject,callback:function(e){t.$set(t.formData,"subject",e)},expression:"formData.subject"}},[e("el-option",{attrs:{value:t.$t("Şikayet")}},[t._v(t._s(t.$t("Şikayet")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Sipariş")}},[t._v(t._s(t.$t("Sipariş")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Destek")}},[t._v(t._s(t.$t("Destek")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Diğer")}}
1,[t._v(t._s(t.$t("Diğer")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Mesaj"),prop:"message"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"2048",placeholder:t.$t("Mesaj")},model:{value:t.formData.message,callback:function(e){t.$set(t.formData,"message",e)},expression:"formData.message"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"my15"},[e("el-form-item",[e("el-button",{attrs:{loading:t.formLoading,type:"primary",icon:"icon-guide mr5"},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)])],1)],1)],1),t._v(" "),e("div",{staticClass:"ww fl mb30"})]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-24 pos-r"},[t.firmSetting.b2bMapImage?e("a",{staticClass:"ww fl",attrs:{href:t.firmSetting.b2bMapImage.url,target:"_blank"}},[e("el-image",{staticClass:"ww fl p5 rds bdr",attrs:{src:t.firmSetting.b2bMapImage.img}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"})])])],1):t._e(),t._v(" "),t.firmSetting.b2bMapLink?e("iframe",{staticClass:"rds10",staticStyle:{border:"0"},attrs:{src:t.firmSetting.b2bMapLink,height:"450",frameborder:"0",allowfullscreen:"",width:"100%"}}):t._e()])])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"iletisim-theme1",components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("İletişim")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl",staticStyle:{background:"#EEEEEE"}},[e("iframe",{staticClass:"ww fl",staticStyle:{height:"420px"},attrs:{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d34037.64007419332!2d28.95616150881455!3d41.05738944940385!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x14cab73bc0000001%3A0xde11d39137960537!2sAsans%C3%B6r+Yedek+Par%C3%A7a+-+kontrolistanbul.com!5e0!3m2!1str!2sus!4v1515669935969"}}),t._v(" "),e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"ww fl px10 pb50 bg-white",staticStyle:{"margin-top":"-90px"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 bg-white rds10 z9"},[e("div",{staticClass:"ww fl mt10 ta-o"},[e("i",{staticClass:"w100 h60 icon-harita ta-o fs-50",staticStyle:{color:"#ffbb00"}})]),t._v(" "),e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-16 fw-b"},[t._v("Merkez Ofis")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-c fs-15"},[t._v("\n\t\t\t\t\t\t\t\tPerpa Ticaret Merkezi B Blok 12.Kat\n\t\t\t\t\t\t\t\tNo:2136 Şişli / İSTANBUL\n\t\t\t\t\t\t\t")])])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 bg-white rds10 z9"},[e("div",{staticClass:"ww fl mt10 ta-o"},[e("i",{staticClass:"w100 h60 icon-phone ta-o fs-50",staticStyle:{color:"#ffbb00"}})]),t._v(" "),e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-16 fw-b"},[t._v("Bize Ulaşın")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-o fs-15"},[e("span",[e("strong",[t._v("T")]),t._v(" "),e("a",{attrs:{href:"tel:+908505820916"}},[t._v("0850 582 09 16")]),t._v(" "),e("br"),t._v(" "),e("strong",[t._v("T")]),t._v(" "),e("a",{attrs:{href:"tel:+908505820921"}},[t._v("0850 582 09 21")])])])])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 bg-white rds10 z9"},[e("div",{staticClass:"ww fl mt10 ta-o"},[e("i",{staticClass:"w100 h60 icon-saat ta-o fs-50",staticStyle:{color:"#ffbb00"}})]),t._v(" "),e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-16 fw-b"},[t._v("Çalışma Saatlerimiz")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-o fs-15"},[e("span",[e("strong",[t._v("P.tesi")]),t._v(" - C.tesi: 8:00 - 20:00\n\t\t\t\t\t\t\t\t\t"),e("br"),t._v(" "),e("strong",[t._v("Pazar: ")]),t._v(" 12:00 - 17:00\n\t\t\t\t\t\t\t\t")])])])])])],1
1)],1),t._v(" "),e("div",{staticClass:"ww fl px30 py50",staticStyle:{background:"#3A3D45"}},[e("h4",{staticClass:"ww fl mb15 txt-white ta-c fs-24 fw-b"},[t._v("Bize Ulaşın")]),t._v(" "),t._m(0),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("div",{staticClass:"ww fl mt20 px30 pb5 ta-o"},[e("a",{staticClass:"ww px30 txt-white ta-o",staticStyle:{"max-width":"280px",background:"#16BE45","border-radius":"40px"},attrs:{href:"https://api.whatsapp.com/send/?phone="+encodeURIComponent(t.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")),target:"_blank"}},[e("i",{staticClass:"icon-whatsapp w40 h40 ta-o fs-20"}),t._v(t._s(t.$t("Bize Yazın"))+"\n\t\t\t\t")])]):t._e()]),t._v(" "),e("div",{staticClass:"ww fl px10 pb50 bg-white"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 bg-white rds10 z9"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-16 fw-b"},[t._v("Depo")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-c fs-15"},[e("strong",[t._v("T")]),t._v(" "),e("a",{attrs:{href:"tel:+908505820916"}},[t._v("0850 582 09 16")])])])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl p10 bg-white rds10 z9"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-16 fw-b"},[t._v("Merkez Ofis")])])]),t._v(" "),e("div",{staticClass:"ww fl my10 pt15 bdrT"},[e("span",{staticClass:"ww fl mb10 ta-o fs-15"},[e("strong",[t._v("T")]),t._v(" "),e("a",{attrs:{href:"tel:+908505820921"}},[t._v("0850 582 09 21")])])])])])],1)],1)])]),t._v(" "),e("footerWrap")],1)},[function(){var t=this._self._c;return t("div",{staticClass:"wrapper-32em mrau px30"},[t("p",{staticClass:"ww fl px30 ta-c txt-white"},[this._v("Sorularınız cevaplamak ve asansör parça ve bakım gibi ihtiyaçlarınıza çözüm bulmak bizleri onurlandıracaktır. Bizlere ulaştığınız için teşekkür ederiz. İyi çalışmalar dileriz.")])])}],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"iletisim-theme0",components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{formLoading:!1,formData:{name:"",email:"",ceptel:"",subject:this.$t("Genel"),message:""},firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],subject:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],message:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],email:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}]}}},methods:{submitForm(){this.$refs.contactForm.validate(t=>{if(!t)return!1;this.formLoading=!0;var data={subject:this.$t("İletişim")+" "+this.$t("Form")+": "+this.formData.subject+" #"+this.formData.ceptel,mail_content:"<b> Ad Soyad: </b> ".concat(this.formData.name,"<br> \n\t\t\t\t\t\t<b> Telefon: </b> ").concat(this.formData.ceptel,"<br> \n\t\t\t\t\t\t<b> Email: </b> ").concat(this.formData.email,"<br> \n\t\t\t\t\t\t<b> Mesaj </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.message," </p>")};this.$apis.post("api/merchant/mailSender",data).then(t=>{this.formLoading=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$refs.contactForm.resetFields()}).catch(t=>{this.formLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})})}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("İletişim")))])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl WrapGutter"},[e("div",{staticClass:"cq-row cq-gap-25 mb50 pb50"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24 pos-r"},[e("span",{staticClass:"ww fl my15 fs-30 ln-35 fw-9 txt-dark"},[t._v(t._s(t.firmSetting.b2bFooterFirm))]),t._v(" "),e("p",{staticClass:"ww fl mb5 fs-16 ln-20 txt-sub"},[t._v(t._s(t.firmSetting.b2bWebDescription))]),t._v(" "),e("p",{staticClass:"ww fl mt10 mb5 pt5 pb5 fs-21 ln-30"},[t._v(t._s(t.firmSetting.b2bIletisimAdres))]),t._v(" "),t.firmSetting.b2bIletisimPhone||t.firmSetting.b2bIletisimPhone2||t.firmSetting.b2bIletisimMail?e("div",{staticClass:"ww fl mt20 mb5"},[t.firmSetting.b2bIletisimPhone?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimPhone2?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone2))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimMail?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mail ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimMail))])]):t._e()]):t._e(),t._v(" "),t.firmSetting.b2bFacebook||t.firmSetting.b2bTwitter||t.firmSetting.b2bInstagram||t.firmSetting.b2bYoutube?e("div",{staticClass:"ww fl mt20 mb5"},[null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w32 h40 fl icon-facebook fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w32 h40 fl icon-twitter-x fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w32 h40 fl icon-instagram fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w32 h40 fl icon-youtube fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()]):t._e(),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?[t.firmSetting.b2bMapImage?e("a",{staticClass:"ww fl mt15",attrs:{href:t.firmSetting.b2bMapImage.url,target:"_blank"}},[e("el-image",{staticClass:"ww fl p5 rds bdr",attrs:{src:t.firmSetting.b2bMapImage.img}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"})])])],1):t._e()]:t._e()],2),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24 pos-r"},[e("div",{staticClass:"ww fl mb50 p20 px30 bdr rds5",class:t.$device.isMobile&&"mt20"},[e("h1",{staticClass:"fs-22 my10 pb10 fw-b bdrB ta-o"},[t._v(t._s(t.$t("İletişim")+" "+t.$t("Form")))]),t._v(" "),e("el-form",{ref:"contactForm",staticClass:"schoolForm ww fl px5",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Konu"),prop:"subject"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.subject,callback:function(e){t.$set(t.formData,"subject",e)},expression:"formData.subject"}},[e("el-option",{attrs:{value:t.$t("Genel")}},[t._v(t._s(t.$t("Genel")))]),t._v(" "),e("el-option",{attrs:{value:"Demo"}},[t._v("Demo")]),t._v(" "),e("el-option",{attrs:{value:t.$t("Şikayet")}},[t._v(t._s(t.$t("Şikayet")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Sipariş")}},[t._v(t._s(t.$t("Sipariş")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Destek")}}
1,[t._v(t._s(t.$t("Destek")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Mesaj"),prop:"message"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"2048",placeholder:t.$t("Mesaj")},model:{value:t.formData.message,callback:function(e){t.$set(t.formData,"message",e)},expression:"formData.message"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"my15"},[e("el-form-item",[e("el-button",{attrs:{loading:t.formLoading,type:"primary",icon:"icon-guide mr5"},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)])],1)],1)],1),t._v(" "),e("div",{staticClass:"ww fl mb30"})]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-24 pos-r"},[t.firmSetting.b2bMapImage?e("a",{staticClass:"ww fl",attrs:{href:t.firmSetting.b2bMapImage.url,target:"_blank"}},[e("el-image",{staticClass:"ww fl p5 rds bdr",attrs:{src:t.firmSetting.b2bMapImage.img}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"})])])],1):t._e(),t._v(" "),t.firmSetting.b2bMapLink?e("iframe",{staticClass:"rds10",staticStyle:{border:"0"},attrs:{src:t.firmSetting.b2bMapLink,height:"450",frameborder:"0",allowfullscreen:"",width:"100%"}}):t._e()])])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"iletisim-theme0",components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{formLoading:!1,formData:{name:"",email:"",ceptel:"",subject:this.$t("Genel"),message:""},firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],subject:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],message:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],email:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}]}}},methods:{submitForm(){this.$refs.contactForm.validate(t=>{if(!t)return!1;this.formLoading=!0;var data={subject:this.$t("İletişim")+" "+this.$t("Form")+": "+this.formData.subject+" #"+this.formData.ceptel,mail_content:"<b> Ad Soyad: </b> ".concat(this.formData.name,"<br> \n\t\t\t\t\t\t<b> Telefon: </b> ").concat(this.formData.ceptel,"<br> \n\t\t\t\t\t\t<b> Email: </b> ").concat(this.formData.email,"<br> \n\t\t\t\t\t\t<b> Mesaj </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.message," </p>")};this.$apis.post("api/merchant/mailSender",data).then(t=>{this.formLoading=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$refs.contactForm.resetFields()}).catch(t=>{this.formLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})})}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("İletişim")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl WrapGutter"},[e("div",{staticClass:"cq-row cq-gap-25 mb50 pb50"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24 pos-r"},[e("span",{staticClass:"ww fl my15 fs-30 ln-35 fw-9 txt-dark"},[t._v(t._s(t.firmSetting.b2bFooterFirm))]),t._v(" "),e("p",{staticClass:"ww fl mb5 fs-16 ln-20 txt-sub"},[t._v(t._s(t.firmSetting.b2bWebDescription))]),t._v(" "),t.firmSetting.b2bIletisimPhone||t.firmSetting.b2bIletisimPhone2||t.firmSetting.b2bIletisimMail?e("div",{staticClass:"ww fl mt40 mb5"},[t.firmSetting.b2bIletisimPhone?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimPhone2?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mobile ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimPhone2))])]):t._e(),t._v(" "),t.firmSetting.b2bIletisimMail?e("p",{staticClass:"ww fl ta-ol"},[e("i",{staticClass:"h30 fl mr5 icon-mail ta-o fs-18 txt-sub"}),t._v(" "),e("span",{staticClass:"fl fs-18"},[t._v(t._s(t.firmSetting.b2bIletisimMail))])]):t._e()]):t._e(),t._v(" "),t.firmSetting.b2bFacebook||t.firmSetting.b2bTwitter||t.firmSetting.b2bInstagram||t.firmSetting.b2bYoutube?e("div",{staticClass:"ww fl mt40 mb5"},[null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w32 h40 fl icon-facebook fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w32 h40 fl icon-twitter-x fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w32 h40 fl icon-instagram fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w32 h40 fl icon-youtube fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()]):t._e()]),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24 pos-r"},[t.firmSetting.b2bMapImage?e("a",{staticClass:"ww fl",attrs:{href:t.firmSetting.b2bMapImage.url,target:"_blank"}},[e("el-image",{staticClass:"ww fl p5 rds bdr",attrs:{src:t.firmSetting.b2bMapImage.img}},[e("div",{staticClass:"ww fl ta-o",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"icon-image fs-40"}
1)])])],1):t._e(),t._v(" "),t.firmSetting.b2bMapLink?e("iframe",{staticClass:"rds10",staticStyle:{border:"0"},attrs:{src:t.firmSetting.b2bMapLink,height:"450",frameborder:"0",allowfullscreen:"",width:"100%"}}):t._e(),t._v(" "),e("div",{staticClass:"ww fl mb30"})]),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24 pos-r"},[e("div",{staticClass:"ww fl mb50 p20 px30 bdr rds5",class:t.$device.isMobile&&"mt20"},[e("h1",{staticClass:"fs-22 my10 pb10 fw-b bdrB ta-o"},[t._v(t._s(t.$t("İletişim")+" "+t.$t("Form")))]),t._v(" "),e("el-form",{ref:"contactForm",staticClass:"schoolForm ww fl px5",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Konu"),prop:"subject"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.subject,callback:function(e){t.$set(t.formData,"subject",e)},expression:"formData.subject"}},[e("el-option",{attrs:{value:t.$t("Genel")}},[t._v(t._s(t.$t("Genel")))]),t._v(" "),e("el-option",{attrs:{value:"Demo"}},[t._v("Demo")]),t._v(" "),e("el-option",{attrs:{value:t.$t("Şikayet")}},[t._v(t._s(t.$t("Şikayet")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Sipariş")}},[t._v(t._s(t.$t("Sipariş")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Destek")}},[t._v(t._s(t.$t("Destek")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Mesaj"),prop:"message"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"2048",placeholder:t.$t("Mesaj")},model:{value:t.formData.message,callback:function(e){t.$set(t.formData,"message",e)},expression:"formData.message"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"my15"},[e("el-form-item",[e("el-button",{attrs:{loading:t.formLoading,type:"primary",icon:"icon-guide mr5"},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)])],1)],1)],1),t._v(" "),e("div",{staticClass:"ww fl mb30"})]):t._e()])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(336),l=r(11),n=r(5),c={name:"bilabDetailPage",props:{pageData:{type:Object,default:function(){return{}}}},components:{headerWrap:header.default,footerWrap:footer.default,sliderCard:o.default,Swiper:n.Swiper,SwiperSlide:n.SwiperSlide,prodCard:l.default},data(){return{loginDialogShow:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,ureticiSlider:null,kategoriSlider:null}},created(){this.firmSetting.b2bUrunDetaydaSliderGoster&&this.pageData&&(this.urunDetaydaSliderGoster=this.firmSetting.b2bUrunDetaydaSliderGoster||[],this.urunDetaydaSliderGoster.includes("uretici")&&this.getUrunSlider({producer_id:this.pageData.product_json.uretici.id}),this.urunDetaydaSliderGoster.includes("kategori")&&this.getUrunSlider({category_id:this.pageData.product_json.kategori.id}))},methods:{getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getUrunSlider(t){for(var e="",i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(e="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":e)+"product/search?&producer_id="+(t.producer_id||"")+"&author_id="+(t.author_id||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{t.author_id&&(this.yazarSlider=e.data.KiboApp.Response.data.list),t.producer_id&&(this.ureticiSlider=e.data.KiboApp.Response.data.list),t.category_id&&(this.kategoriSlider=e.data.KiboApp.Response.data.list)}).catch(()=>{t.author_id&&(this.yazarSlider=null),t.producer_id&&(this.ureticiSlider=null),t.category_id&&(this.kategoriSlider=null)})},getBaseCurrency(t){var e="",r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="ww h20 fl mt5 ta-ol">\n                      <span class="fs-16 fw-b txt-info">\n                        <span class="fl mr5 ln-23 fw-n fs-12">'.concat(element.birim,"</span>\n                        ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                      </span>\n                    </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e}}},d=c,m=r(0),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[e("span",{staticClass:"icon-home"})]),t._v(" "),t.pageData&&t.pageData.product_json.uretici?e("el-breadcrumb-item",{attrs:{to:{path:t.localePath(t.getMakeSeoLink(t.pageData.product_json.uretici,"uretici"))}}},[t._v(t._s(t.pageData.product_json.uretici.ureticiad))]):t._e(),t._v(" "),t.pageData&&t.pageData.product_json.kategori?e("el-breadcrumb-item",{attrs:{to:{path:t.localePath(t.getMakeSeoLink(t.pageData.product_json.kategori,"kategori"))}}},[t._v(t._s(t.pageData.product_json.kategori.kategoriad))]):t._e(),t._v(" "),t.pageData&&t.pageData.product_json?e("el-breadcrumb-item",[t._v(t._s(t.pageData.product_json.stokcins))]):t._e()],1)],1)])]),t._v(" "),t.pageData&&t.pageData.product_json?e("section",{staticClass:"ww fl pt20 pb50"},[e("div",{staticClass:"wrapper-1140 mrau mb50 px10"},[e("div",{staticClass:"ww fl mb50 pb10 pos-r"},[t.$device.isMobile&&t.pageData.product_json.files.length>0?e("div",{staticClass:"ww fl"},[e("sliderCard",{attrs:{item:t.pageData.product_json}}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t._l(t.pageData.product_json.files,function(r,o){return["application/pdf"==r.mime_type?e("a",{key:o,staticClass:"ww fl my15 py10 bdr rds ta-o",attrs:{href:r.fl_url,target:"_blank"}},[e("i",{staticClass:"mr10 icon-pdf txt-error fs-20"}),t._v(t._s(t.$t("İçeriği İncele"))+"\n                ")]):t._e()]})],2):t._e(),t._v(" "),e("h2",{staticClass:"ww fl of-h pos-a tp-0 lf-0 -63 fs- fw-b",staticStyle:{color:"rgba(99, 99, 99, 0.03)","font-size":"188px","line-height":"150px",height:"150px",left:"-10%",top:"-30px"}},[t._v(t._s(t.pageData.product_json.stokcins))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("h1",{staticClass:"ww fl mt30 pb10 ln-40 fw-b",class:t.$device.isMobile?"mb30 fs-22":"mb50 fs-30"},[t._v(t._s(t.pageData.product_json.stokcins))]),t._v(" "),e("div",{staticClass:"ww fl mb5"},[e("p",{staticClass:"ww fl mb10 ln-20"},[e("span",{staticClass:"w100 fl ln-20 fs-16"},[t._v(t._s(t.$t("Üretici")))]),e("span",{staticClass:"fl mx5 ln-20 fs-16"},[t._v(":")]),e("span",{staticClass:"fl ln-20 fs-16 fw-b"},[t._v(t._s(t.pageData.product_json.uretici.ureticiad))])]),t._v(" "),t.pageData.product_json.kategori?e("p",{staticClass:"ww fl mb10 ln-20"},[e("span",{staticClass:"w100 fl ln-20 fs-16"},[t._v(t._s(t.$t("Kategori")))]),e("span",{staticClass:"fl mx5 ln-20 fs-16"},[t._v(":")]),e("span",{staticClass:"fl ln-20 fs-16 fw-b"},[t._v(t._s(t.pageData.product_json.kategori.kategoriad))])]):t._e(),t._v(" "),e("p",{staticClass:"ww fl mb10 ln-20"},[e("span",{staticClass:"w100 fl ln-20 fs-16"},[t._v(t._s(t.$t("Ürün")+" "+t.$t("Kod")))]),e("span",{staticClass:"fl mx5 ln-20 fs-16"},[t._v(":")]),e("span",{staticClass:"fl ln-20 fs-16 fw-b"},[t._v(t._s(t.pageData.product_json.barkod))])]),t._v(" "),e("p",{staticClass:"ww fl mb10 ln-20"},[e("span",{staticClass:"w100 fl ln-20 fs-16"},[t._v(t._s(t.$t("Stok")+" "+t.$t("Durum")))]),e("span",{staticClass:"fl mx5 ln-20 fs-16"},[t._v(":")]),e("span",{staticClass:"fl ln-20 fs-16 fw-b"},[t._v(t._s(t.$t("Stokta Var")))])])]),t._v(" "),t.showPrice?e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mb5 pos-r"},[e("p",{staticClass:"ww fl ta-ol"},[e("span",{staticClass:"fl mr5 fs-14"},[t._v(t._s(t.$t("list_price"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 ln-20 fs-15 fw-6",class:(t.pageData.product_json.kisk||0)>0?"td-lt":""},[t._v(t._s(t.$currencyFormat(t.getPrice(t.pageData,"kfiyat"),t.getCurrency(t.pageData))))])]),t._v(" "),(t.pageData.product_json.kisk||0)>0?e("p",{staticClass:"ww fl ta-ol"},[e("span",{staticClass:"fl mr5 fs-14"},[t._v(t._s(t.$t("Kazancınız"))+" :")]),t._v(" "),e("a",{staticClass:"mr5 ln-20 fs-15 fw-6"},[t._v(t._s(t.$currencyFormat(t.getPrice(t.pageData,"kfiyat")-t.getPrice(t.pageData,"kfiyat_proc"),t.getCurrency(t.pageData))))])]):t._e(),t._v(" "),t.pageData&&t.pageData.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{domProps:{innerHTML:t._s(t.getBaseCurrency(t.pageData))}}):t._e(),t._v(" "),e("p",{staticClass:"ww h40 fl ta-ol"},[e("span",{staticClass:"fs-35 fw-b txt-error"},[e("span",{staticClass:"fl mt5 ln-16 fs-25"},[t._v(t._s(t.getPriceCode(t.pageData)))]),t._v("\n                              "+t._s(t.$currencyFormat(t.getPrice(t.pageData,"kfiyat_proc"),t.getCurrency(t.pageData)))+"\n                            ")])])])]):t._e()]),t._v(" "),t.$device.isMobile?t._e():e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[t.pageData.product_json.files.length>0?e("div",{staticClass:"ww fl"},[e("sliderCard",{attrs:{item:t.pageData.product_json}}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t._l(t.pageData.product_json.files,function(r,o){return["application/pdf"==r.mime_type?e("a",{key:o,staticClass:"ww fl my15 py10 bdr rds ta-o",attrs:{href:r.fl_url,target:"_blank"}},[e("i",{staticClass:"mr10 icon-pdf txt-error fs-20"}),t._v(t._s(t.$t("İçeriği İncele"))+"\n                    ")]):t._e()]})],2):e("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[e("span",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o icon-image fs-63 bdr rds"}
1)])])],1)],1)]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.pageData.product_json.extra_content?e("div",{staticClass:"ww fl mb40"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl ta-o fd-c",domProps:{innerHTML:t._s(t.pageData.product_json.extra_content)}})])]):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww fl mt50 py50",staticStyle:{background:"#E2E2E2"}},[e("div",{staticClass:"wrapper-1140 mrau px10"},[e("el-row",{staticStyle:{"margin-top":"-110px"},attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("aside",{staticClass:"ww fl py20 px15 bg-white rds10 z9",staticStyle:{border:"1px solid #d7dce3","box-shadow":"0 5px 7px -8px rgba(0,0,0,.7)"}},[e("div",{staticClass:"ww fl mt10 ta-o"},[e("i",{staticClass:"w160 h160 icon-customer rr bdr ta-o fs-63"})]),t._v(" "),e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt15"},[e("div",{staticClass:"ww fl mb5 txt-head ta-c fs-20 fw-b"},[t._v("Abdullah Boyraz")]),t._v(" "),e("span",{staticClass:"ww fl ln-22 ta-c fs-13 txt-sub"},[t._v(" ")])])]),t._v(" "),e("div",{staticClass:"ww fl mt20 mb10 pt15 bdrT"},[e("a",{staticClass:"ww fl mb10 ta-o fs-15",attrs:{href:"mailto:[email protected]",target:"_blank"}},[e("i",{staticClass:"icon-mail mr5 fs-18 txt-sub"}),t._v("[email protected]\n                      ")]),t._v(" "),e("a",{staticClass:"ww fl mb10 ta-o fs-16",attrs:{href:"tel:05548433781",target:"_blank"}},[e("i",{staticClass:"icon-phone mr5 fs-18 txt-sub"}),t._v("05548433781\n                      ")])]),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("div",{staticClass:"ww fl mb20 pb5 ta-o"},[e("a",{staticClass:"px30 txt-white ta-ol",staticStyle:{background:"#16BE45","border-radius":"40px"},attrs:{href:"https://api.whatsapp.com/send/?phone="+encodeURIComponent(t.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")),target:"_blank"}},[e("i",{staticClass:"icon-whatsapp w40 h40 ta-o fs-20"}),t._v(t._s(t.$t("Bize Yazın"))+"\n                      ")])]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl",class:t.$device.isMobile?"ta-o":""},[e("span",{staticClass:"fl p20",staticStyle:{background:"#e2e2e2",color:"#000","box-shadow":"0 -5px 0px #fbb700","border-top-left-radius":"7px","border-top-right-radius":"7px"}},[t._v("Ürün Özellikleri")])]),t._v(" "),t.pageData.product_json.ozet?e("p",{staticClass:"ww fl mt15 my10 pt10 fs-16",domProps:{innerHTML:t._s(t.pageData.product_json.ozet.replaceAll(/\n/g,"<br />"))}}):t._e()])],1)],1)])]):e("section",{staticClass:"ww fl pt20 pb50"},[e("div",{staticClass:"wrapper-1140 mrau px10"},[e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(337),l=r(11),n=r(5),c={name:"bilabDetailPage2",props:{pageData:{type:Object,default:function(){return{}}}},components:{headerWrap:header.default,footerWrap:footer.default,sliderCard:o.default,Swiper:n.Swiper,SwiperSlide:n.SwiperSlide,prodCard:l.default},data(){return{loginDialogShow:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,ureticiSlider:null,kategoriSlider:null,currentSvg:'<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><line x1="12" y1="5" x2="12" y2="19"/><line x1="5" y1="12" x2="19" y2="12"/></svg>',tanimlarGroupedList:[],manuFacturerItem:null,updatedVersionItem:null,pdfFiles:[],wordFiles:[],excelFiles:[]}},created(){this.firmSetting.b2bUrunDetaydaSliderGoster&&this.pageData&&(this.urunDetaydaSliderGoster=this.firmSetting.b2bUrunDetaydaSliderGoster||[],this.urunDetaydaSliderGoster.includes("uretici")&&this.getUrunSlider({producer_id:this.pageData.product_json.uretici.id}),this.urunDetaydaSliderGoster.includes("kategori")&&this.getUrunSlider({category_id:this.pageData.product_json.kategori.id}))},mounted(){this.getTanimlarList(),this.handleFormattedFile(),this.getChild()},methods:{getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad))):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name))):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getUrunSlider(t){for(var e="",i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(e="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":e)+"product/search?&producer_id="+(t.producer_id||"")+"&author_id="+(t.author_id||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{t.author_id&&(this.yazarSlider=e.data.KiboApp.Response.data.list),t.producer_id&&(this.ureticiSlider=e.data.KiboApp.Response.data.list),t.category_id&&(this.kategoriSlider=e.data.KiboApp.Response.data.list)}).catch(()=>{t.author_id&&(this.yazarSlider=null),t.producer_id&&(this.ureticiSlider=null),t.category_id&&(this.kategoriSlider=null)})},getBaseCurrency(t){var e="",r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="ww h20 fl mt5 ta-ol">\n                      <span class="fs-16 fw-b txt-info">\n                        <span class="fl mr5 ln-23 fw-n fs-12">'.concat(element.birim,"</span>\n                        ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                      </span>\n                    </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getChild(){var t;if(this.pageData.product_json.rel_stoks){var e=null!==(t=this.pageData.product_json)&&void 0!==t?t:{},r=e.relstokid,o=e.reltype;r&&3==o&&this.$apis.get("api/".concat(this.$cookies.get("web_login_access_token")?"":"public/","product/detailById/").concat(r)).then(t=>{this.updatedVersionItem=t.data.KiboApp.Response.data}).catch(t=>{this.updatedVersionItem=null})}},handleFormattedFile(){var t=this.pageData.product_json.files.filter(t=>["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"].includes(t.mime_type));this.pdfFiles=t.filter(t=>"application/pdf"===t.mime_type),this.wordFiles=t.filter(t=>"application/msword"===t.mime_type),this.excelFiles=t.filter(t=>"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"===t.mime_type),console.log("docuemnts",t)},getExtension:t=>({"application/msword":"doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/pdf":"pdf","image/jpeg":"jpg","image/png":"png","image/gif":"gif","image/webp":"webp","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","text/plain":"txt","application/zip":"zip"}[t]||t),getTanimlarList(){var t,e=null===(t=this.pageData)||void 0===t||null===(t=t.product_json)||void 0===t?void 0:t.stok_props;if(!e||!Array.isArray(e))return this.tanimlarGroupedList=[],void(this.manuFacturerItem=null);var r=null,o=Object.values(e.reduce((t,e)=>{var o=e.tag,l=o.prcg_text,n=o.prcg_name,c=o.files;return"Manufacturer Name"===l?(r={prcg_name:n,prop_text:e.prop_text},t):(t[l]||(t[l]={header:l,values:[]}),t[l].values.push({prcg_name:n,prop_text:e.prop_text,files:c}),t)},{}));console.log("grouped",o),this.tanimlarGroupedList=o,this.manuFacturerItem=r}}},d=c,m=(r(601),r(0)),component=Object(m.a)(d,function(){var t,e,o,l=this,n=l._self._c;return n("main",{staticClass:"system-font-page",attrs:{id:"product-detail"}},[n("headerWrap"),l._v(" "),n("nav",{staticClass:"ww fl",attrs:{"aria-label":"Sayfa içi gezinme"}},[n("div",{staticClass:"wrapper mrau px10"},[n("div",{staticClass:"ww fl pt5 mt5"},[n("el-breadcrumb",{class:l.$device.isMobile?"breadcrumb-mobile":"",attrs:{"separator-class":"el-icon-arrow-right"}},[n("el-breadcrumb-item",{class:l.$device.isMobile?"fs-12":"fs-14",attrs:{to:{path:l.localePath("/")}}},[l._v("\n            ANASAYFA\n          ")]),l._v(" "),l.pageData&&l.pageData.product_json.uretici?n("el-breadcrumb-item",{class:l.$device.isMobile?"fs-12":"fs-14",attrs:{to:{path:l.localePath(l.getMakeSeoLink(l.pageData.product_json.uretici,"uretici"))}}},[n("span",{staticClass:"breadcrumb-text"},[l._v(l._s(l.pageData.product_json.uretici.ureticiad))])]):l._e(),l._v(" "),l.pageData&&l.pageData.product_json.kategori?n("el-breadcrumb-item",{class:l.$device.isMobile?"fs-12":"fs-14",attrs:{to:{path:l.localePath(l.getMakeSeoLink(l.pageData.product_json.kategori,"kategori"))}}},[n("span",{staticClass:"breadcrumb-text"},[l._v(l._s(l.pageData.product_json.kategori.kategoriad))])]):l._e(
1),l._v(" "),l.pageData&&l.pageData.product_json&&!l.$device.isMobile?n("el-breadcrumb-item",{staticClass:"fs-14"},[l._v("\n            "+l._s(l.pageData.product_json.stokcins)+"\n          ")]):l._e()],1)],1)])]),l._v(" "),l.pageData&&l.pageData.product_json?n("section",{staticClass:"ww fl pt20 pb50",attrs:{"aria-label":"Ürün Detayı"}},[n("div",{staticClass:"wrapper-1000 mrau mb50 px10"},[n("div",{staticClass:"ww fl mb50 pb10 pos-r"},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{lg:14,md:14,sm:14,xs:24}},[n("div",{staticClass:"ww fl pos-r"},[n("sliderCard",{attrs:{item:l.pageData.product_json}})],1)]),l._v(" "),n("el-col",{attrs:{lg:10,md:10,sm:10,xs:24}},[n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[n("div",{staticClass:"ww fl"},[n("div",{staticClass:"product-card"},[n("div",{staticClass:"product-card__header"},[n("h1",{staticClass:"product-card__title"},[l._v("\n                        "+l._s(l.pageData.product_json.stokcins)+"\n                      ")])]),l._v(" "),l.pageData.product_json.tags.length?n("div",{staticClass:"tags-container"},l._l(l.pageData.product_json.tags,function(t,e){return n("nuxt-link",{key:e,staticStyle:{"text-decoration":"none"},attrs:{to:l.localePath(l.getMakeSeoLink(t,"etiket")),rel:"tag"}},[n("div",{staticClass:"p-tag"},[n("span",[l._v(l._s(t.prcg_name))])])])}),1):l._e(),l._v(" "),n("div",{staticClass:"product-card__info"},[n("div",{staticClass:"product-card__info-row"},[n("span",{staticClass:"product-card__info-label"},[l._v(l._s(l.$t("Uyumlu Markalar")))]),l._v(" "),null!==(t=l.pageData.product_json)&&void 0!==t&&null!==(t=t.uretici)&&void 0!==t&&t.ureticiad?n("nuxt-link",{staticClass:"product-card__info-value",attrs:{to:l.localePath(l.getMakeSeoLink(l.pageData.product_json.uretici,"uretici"))}},[l._v("\n                          "+l._s(l.pageData.product_json.uretici.ureticiad)+"\n                        ")]):l._e()],1),l._v(" "),n("el-divider",{staticClass:"product-card__divider"}),l._v(" "),l.pageData.product_json.kategori?n("div",{staticClass:"product-card__info-row"},[n("span",{staticClass:"product-card__info-label"},[l._v("KATEGORİ")]),l._v(" "),n("span",{staticClass:"product-card__info-value"},[null!==(e=l.pageData.product_json)&&void 0!==e&&e.kategori?n("nuxt-link",{staticClass:"product-card__info-value",attrs:{to:{path:l.localePath(l.getMakeSeoLink(l.pageData.product_json.kategori,"kategori"))}}},[l._v("\n                           "+l._s(l.pageData.product_json.kategori.kategoriad)+"\n                        ")]):l._e()],1)]):l._e(),l._v(" "),n("el-divider",{staticClass:"product-card__divider"}),l._v(" "),n("div",{staticClass:"product-card__info-row"},[n("span",{staticClass:"product-card__info-label"},[l._v("ÜRÜN KODU")]),l._v(" "),n("span",{staticClass:"product-card__info-link"},[l._v("\n                          "+l._s(l.pageData.product_json.kod)+"\n                        ")])])],1),l._v(" "),n("div",[n("el-card",{staticClass:"pd-card",attrs:{"body-style":{padding:"13px 15px"},shadow:"never"}},[n("div",{staticClass:"pd-card__header"},[n("i",{staticClass:"icon-cube pd-card__icon"}),l._v(" "),n("span",{staticClass:"pd-card__title"},[l._v("Fiziksel Ölçüler ve Ağırlık")])]),l._v(" "),n("div",{staticClass:"pd-card__metrics"},[n("div",{staticClass:"pd-metric"},[n("span",{staticClass:"pd-metric__value"},[l._v(l._s(l.pageData.product_json.ebatx||"-")),l.pageData.product_json.ebatx?n("span",{staticClass:"pd-metric__unit"},[l._v("mm")]):l._e()]),l._v(" "),n("span",{staticClass:"pd-metric__label"},[l._v("En")])]),l._v(" "),n("div",{staticClass:"pd-metric pd-metric--divided"},[n("span",{staticClass:"pd-metric__value"},[l._v(l._s(l.pageData.product_json.ebaty||"-")),l.pageData.product_json.ebaty?n("span",{staticClass:"pd-metric__unit"},[l._v("mm")]):l._e()]),l._v(" "),n("span",{staticClass:"pd-metric__label"},[l._v("Boy")])]),l._v(" "),n("div",{staticClass:"pd-metric pd-metric--divided"},[n("span",{staticClass:"pd-metric__value"},[l._v(l._s(l.pageData.product_json.ebatz||"-")),l.pageData.product_json.ebatz?n("span",{staticClass:"pd-metric__unit"}
1,[l._v("mm")]):l._e()]),l._v(" "),n("span",{staticClass:"pd-metric__label"},[l._v("Derinlik")])]),l._v(" "),n("div",{staticClass:"pd-metric pd-metric--divided pd-metric--dark"},[n("span",{staticClass:"pd-metric__value"},[l.pageData.product_json.ssize?l.pageData.product_json.ssize<1e3?[l._v("\n                                  "+l._s(l.pageData.product_json.ssize)),n("span",{staticClass:"pd-metric__unit"},[l._v("gr")])]:[l._v("\n                                  "+l._s(l.pageData.product_json.ssize/1e3)),n("span",{staticClass:"pd-metric__unit"},[l._v("kg")])]:[l._v("-")]],2),l._v(" "),n("span",{staticClass:"pd-metric__label"},[l._v("Ağırlık")])])])])],1),l._v(" "),l.updatedVersionItem?n("div",{staticClass:"product-card__replaced-box"},[n("div",{staticClass:"product-card__replaced-badge"},[l._v("GÜNCEL SÜRÜM")]),l._v(" "),n("div",{staticClass:"product-card__replaced-content"},[n("i",{staticClass:"el-icon-refresh-right product-card__replaced-icon"}),l._v(" "),n("div",{staticClass:"product-card__replaced-text"},[n("span",{staticClass:"product-card__replaced-label"},[l._v("REPLACED BY: ")]),l._v(" "),n("nuxt-link",{staticClass:"product-card__replaced-link",attrs:{to:l.localePath("/urun/"+l.updatedVersionItem.seo_link)}},[l._v("\n                            "+l._s(null===(o=l.updatedVersionItem.product_json)||void 0===o?void 0:o.kod)+"\n                          ")])],1)]),l._v(" "),n("p",{staticClass:"product-card__replaced-desc"},[l._v("\n                        Bu ürünün yerini alan, tam uyumlu ve geliştirilmiş donanım revizyonudur.\n                      ")])]):l._e(),l._v(" "),n("div",{staticClass:"product-card__actions"},[n("div",{staticClass:"product-card__badge product-card__badge--stock"},[n("i",{staticClass:"el-icon-check"}),l._v(" "),n("span",[l._v("STOKTA")])]),l._v(" "),n("div",{staticClass:"product-card__badge product-card__badge--support"},[n("i",{staticClass:"el-icon-chat-round"}),l._v(" "),n("span",[l._v("ÜCRETSİZ TEKNİK DESTEK")])])])])])])],1)],1)],1),l._v(" "),n("el-divider",{staticStyle:{"background-color":"#409eff"}}),l._v(" "),n("div",{staticClass:"my20 px15",staticStyle:{"border-left":"4px solid #eee","text-align":"justify",hyphens:"auto","-webkit-hyphens":"auto","-ms-hyphens":"auto"},attrs:{lang:"tr"}},[l._v("\n          "+l._s(l.pageData.product_json.ozet)+"\n        ")]),l._v(" "),n("el-row",{attrs:{gutter:15}},l._l(l.tanimlarGroupedList,function(t){return n("el-col",{key:t.header,staticClass:"my10",attrs:{span:24}},[[n("div",{staticClass:"params-card"},[n("div",{staticClass:"params-header"},[n("h2",{staticClass:"header-title"},[l._v(l._s(t.header))])]),l._v(" "),n("el-table",{staticStyle:{width:"100%"},attrs:{data:t.values,"show-header":!1}},[n("el-table-column",{attrs:{prop:"label",width:"260"},scopedSlots:l._u([{key:"default",fn:function(t){return[n("div",{staticClass:"param-label-cell"},[t.row.files.length>0?n("el-image",{staticClass:"param-icon-img",attrs:{src:"https://cdn.onsocloud.com/"+t.row.files[0].fl_url,width:"20",height:"20"}}):l._e(),l._v(" "),n("span",{staticClass:"pl10 param-label"},[l._v(l._s(t.row.prcg_name))])],1)]}}],null,!0)}),l._v(" "),n("el-table-column",{attrs:{prop:"value"},scopedSlots:l._u([{key:"default",fn:function(t){return[n("span",{staticClass:"param-value"},[l._v(l._s(t.row.prop_text))])]}}],null,!0)})],1)],1)]],2)}),1),l._v(" "),[l.pdfFiles,l.wordFiles,l.excelFiles].some(t=>t.length>0)?n("el-row",{attrs:{gutter:20}},[n("el-col",{attrs:{span:24}},[n("div",{staticClass:"step-cards-container"},[n("h2",{staticClass:"header-title mb20"},[l._v("\n                Teknik Dökümanlar\n              ")]),l._v(" "),l._l(l.pdfFiles,function(t){return n("el-card",{key:t.id,staticClass:"step-card step-card-red",staticStyle:{cursor:"pointer"},attrs:{shadow:"hover"}},[n("a",{staticClass:"tech-item",attrs:{href:t.fl_url,download:"",target:"_blank"}},[n("div",{staticClass:"tech-icon",staticStyle:{background:"red"}},[n("i",{staticClass:"el-icon-document"})]),l._v(" "),n("div",{staticClass:"tech-details"},[n("p",{staticClass:"fw-b fs-14"},[l._v(l._s(t.file_description?t.file_description:l.$t("Dosya"))+" ("),n("span",{staticStyle:{"text-transform":"uppercase"}},[l._v(l._s(l.getExtension(t.mime_type)))]),l._v(")")]),l._v(" "),n("p",{staticClass:"tech-label"},[l._v("İndir")])])])])}),l._v(" "),l._l(l.wordFiles,function(t){return n("el-card",{key:t.id,staticClass:"step-card step-card-blue",attrs:{shadow:"hover"}},[n("a",{staticClass:"tech-item",attrs:{href:t.fl_url,download:"",target:"_blank"}},[n("div",{staticClass:"tech-icon"},[n("i",{staticClass:"el-icon-document"})]),l._v(" "),n("div",{staticClass:"tech-details"},[n("p",{staticClass:"fw-b fs-14"},[l._v(l._s(t.file_description?t.file_description:l.$t("Dosya"))+" ("),n("span",{staticStyle:{"text-transform":"uppercase"}},[l._v(l._s(l.getExtension(t.mime_type)))]),l._v(")")]),l._v(" "),n("p",{staticClass:"tech-label"},[l._v("İndir")])])])])}),l._v(" "),l._l(l.excelFiles,function(t){return n("el-card",{key:t.id,staticClass:"step-card step-card-green",attrs:{shadow:"hover"}},[n("a",{staticClass:"tech-item",attrs:{href:t.fl_url,download:"",target:"_blank"}},[n("div",{staticClass:"tech-icon",staticStyle:{background:"#16a34a"}},[n("i",{staticClass:"el-icon-document"})]),l._v(" "),n("div",{staticClass:"tech-details"},[n("p",{staticClass:"fw-b fs-14"},[l._v(l._s(t.file_description?t.file_description:l.$t("Dosya"))+" ("),n("span",{staticStyle:{"text-transform":"uppercase"}},[l._v(l._s(l.getExtension(t.mime_type)))]),l._v(")")]),l._v(" "),n("p",{staticClass:"tech-label"},[l._v("İndir")])])])])}
1)],2)])],1):l._e(),l._v(" "),n("el-row",{staticClass:"mt10",attrs:{gutter:20}},[n("el-col",{attrs:{lg:12,md:12,sm:24,xs:24}},[n("el-alert",{staticClass:"p15",attrs:{title:"BİREBİR KOD UYUMU",type:"success","show-icon":"",closable:!1,center:!1}},[n("span",[l._v("\n                Arızalı ürün kodunuz\n                "),n("strong",{staticStyle:{"text-decoration":"underline"}},[l._v(l._s(l.pageData.product_json.kod))]),l._v("\n                ise bu ürünü doğrudan kullanabilirsiniz.\n              ")])])],1),l._v(" "),n("el-col",{attrs:{lg:12,md:12,sm:24,xs:24}},[n("el-alert",{staticClass:"p15",class:l.$device.isMobile?"mt15":"",staticStyle:{"font-size":"14px"},attrs:{title:"FARKLI KOD / REVİZYON",type:"warning",description:"Arızalı ürünün kodu farklıysa, montaj yapmadan teknik birimimize danışınız.","show-icon":"",closable:!1,center:!1}})],1)],1),l._v(" "),l.manuFacturerItem?n("el-card",{staticClass:"mt20 p15",attrs:{shadow:"hover"}},[n("div",{staticClass:"manufacturer-card-item"},[n("div",{staticClass:"manufacturer-card-left"},[n("div",{staticClass:"manufacturer-card-icon"},[n("i",{staticClass:"el-icon-monitor tech-icon"})]),l._v(" "),n("div",{staticClass:"manufacturer-card-details"},[n("p",{staticClass:"manufacturer-card-label"},[l._v(l._s(l.manuFacturerItem.prcg_name))]),l._v(" "),n("p",{staticClass:"manufacturer-card-value fw-b"},[l._v(l._s(l.manuFacturerItem.prop_text))])])]),l._v(" "),n("el-tag",{class:l.$device.isMobile?"ml50":"",attrs:{type:"success","aria-hidden":"true"}},[l._v("ORİJİNAL")])],1)]):l._e(),l._v(" "),"BİLAB"!=l.pageData.product_json.uretici.ureticiad?n("el-alert",{staticClass:"p15 mt20",staticStyle:{"margin-top":"20px","font-size":"14px","line-height":"1.5",color:"black"},attrs:{type:"info","show-icon":"",closable:!1}},[n("span",{staticClass:"txt-black"},[n("strong",[l._v("Bilgilendirme:")]),l._v(" Bilab, sektör ihtiyaçlarına modern çözümler sunan bağımsız bir yedek parça tedarikçisidir. Sitemizdeki "+l._s(l.pageData.product_json.uretici.ureticiad)+" markalı ürünler orijinaldir; ancak firmamız "+l._s(l.pageData.product_json.uretici.ureticiad)+" markasının resmi distribütörü değildir. Ürüne ait tüm haklar üreticiye aittir. Görseller temsilidir.\n          ")])]):l._e()],1)])]):n("section",{staticClass:"ww fl pt20 pb50",attrs:{"aria-label":"Ürün Bulunamadı"}},[n("div",{staticClass:"wrapper-1140 mrau px10"},[n("div",{staticClass:"ww fl py30 ta-c"},[n("div",{staticClass:"w200 mrau",domProps:{innerHTML:l._s(r(9))}}),l._v(" "),n("p",{staticClass:"ww fl mt10"},[l._v(l._s(l.$t("no_data")))])])])]),l._v(" "),n("footerWrap")],1)},[],!1,null,"0cf18618",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c={props:{pageData:{type:Object,default:function(){return{}}},emekList:{type:Array,default:function(){return[]}},pageUrl:{type:String,default:""},yazarList:{type:String,default:""},isShowPage:{type:Boolean,default:!1}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),sliderCard:()=>Promise.all([r.e(0),r.e(1)]).then(r.bind(null,804)),stokView:()=>r.e(0).then(r.bind(null,13)),variantSelection:()=>r.e(0).then(r.bind(null,810)),sliderList:()=>r.e(0).then(r.bind(null,809)),commentBar:()=>r.e(0).then(r.bind(null,811)),detailRow:()=>r.e(0).then(r.bind(null,806))},data(){return{langList:null,loginDialogShow:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,urunSatisNoktasiList:this.$store.state.firm.settings.b2bUiSettings.settings.urunSatisNoktasi,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,buttonLoading:!1,favoriteLoading:!1,readMore:!1,quantity:1,yazarCount:0,emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],detayliBilgiGoster:["yazar","uretici","kategori","etiket"],urunDetaydaSliderGoster:[],yazarSlider:null,yazarSliderInfo:null,ureticiSlider:null,kategoriSlider:null,isFakeVaryantAvailable:!1,fakeVariantGroup:{},fakeVariantGroupModal:{}
1,ebookIdList:[],onSiparisText:"",onSiparisTemparyText:"",ekBarkodList:[],ekBarkodSTokBirim:0,ekBarkodSelectedItem:null,metaModule:null,googleModule:null,favList:[],badgeList:[],bestsellerSlider:[]}},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))},isFavorite(){var t;return null!==(t=this.pageData)&&void 0!==t&&t.product_json&&this.favList.includes(this.pageData.product_json.id)?"warning":""},calculatedQuantity(){var t;return this.ekBarkodSelectedItem&&null!==(t=this.ekBarkodSelectedItem)&&void 0!==t&&t.br_miktar?this.quantity*this.ekBarkodSelectedItem.br_miktar:this.quantity},hasFreeShipping(){var t,e;return!(null===(t=this.allSetting.settings.b2bCargoFreeCollection)||void 0===t||!t.tagId||null===(e=this.pageData.product_json.tags)||void 0===e||!e.some(t=>t.id==this.allSetting.settings.b2bCargoFreeCollection.tagId))},showShippingWrapper(){return this.hasFreeShipping||this.deliveryStatus},deliveryStatus(){if(!this.firmSetting.b2bShowUrunTemin)return!1;var t=this.pageData.product_json,e=t.smiktar,r=t.uretici,o=t.stk_date_sale;return e<=0&&r.utemin>0?"supply":e>0&&!this.isExpiredDate(o)&&"ready"}},created(){var t,e;this.pageData&&(this.firmSetting.b2bUrunDetaydaGoster&&(this.detayliBilgiGoster=this.firmSetting.b2bUrunDetaydaGoster),this.getFakeVariantGroup(),this.get
1SatisNoktasiList(),null!==(t=this.pageData)&&void 0!==t&&null!==(t=t.product_json)&&void 0!==t&&t.ebook&&(null===(e=this.pageData.ebookPriceList)||void 0===e?void 0:e.length)>0&&(this.quantity=this.pageData.ebookPriceList[0].dayCount))},mounted(){var t;null!==(t=this.pageData)&&void 0!==t&&t.product_json&&(this.$share(),this.metaContent(),this.googleContent(),this.getLangFile(),this.getEbookList(),localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.getBestsellerList(),this.badgeList=this.isBadgeImage(),this.firmSetting.b2bEkBarkodKirtasiye&&this.calcEkBarkodList())},methods:{formatNumber(t){var e={TRY:"tr-TR",USD:"en-US",EUR:"de-DE",GBP:"en-GB"}[this.firmBaseCurrency]||"tr-TR";return t.toLocaleString(e)},handleEkBarkodStokBirimChange(t){this.quantity=1,this.ekBarkodSelectedItem=this.ekBarkodList[t]},calcEkBarkodList(){var t,e,r,o=(null===(t=this.pageData.product_json)||void 0===t?void 0:t.kbbars)||[],l=null===(e=this.pageData.product_json)||void 0===e?void 0:e.barkod,n=null===(r=this.pageData.product_json)||void 0===r?void 0:r.stokbirim;if(!l||!n||o.length<1)return this.ekBarkodList=[],void(this.ekBarkodSelectedItem=null);var c=o.filter(t=>t.br_miktar>1||t.br_barkod===l),d=[{id:"main",br_barkod:l,br_miktar:1,stokbirim:n},...c];this.ekBarkodSelectedItem=d[0],this.ekBarkodList=d},isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.pageData.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.pageData.product_json.tags[i].id];e&&t.push(e.image)}return t}},getPer(t,e){return this.$device.isMobile?2:this.$device.isTablet?4:24==e?t||6:t||3},getBestsellerList(){if(this.pageData.product_json&&this.pageData.product_json.relBestSellers&&this.pageData.product_json.relBestSellers.length>0&&[30,37].includes(this.$store.state.firm.settings.b2bRelBestSellersCalcBelgekod)){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text=&best_sell_prd="+this.pageData.product_json.id+"&sort_type=6&limit=10&page=1").then(t=>{this.bestsellerSlider=t.data.KiboApp.Response.data.list}).catch(()=>{this.bestsellerSlider=[],console.log("[]")})}},getLangFile(){r(341)("./".concat(this.$i18n.locale,".js")).then(t=>{this.langList=t.default,this.onSiparisText=this.langList["Ön Sipariş Bilgilendirme"],this.onSiparisTemparyText=this.langList["Bu ürün"]}).catch(t=>{console.error("function 'xxx' import error:",t)})},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}},getYazarSlider(){for(var t=this.pageData.product_json.authors,i=0;i<t.length;i++)if("0"==t[i].at_who){this.getUrunSlider({author_seo_link:t[i].seo_link}),this.yazarSliderInfo=t[i];break}},getUrunSlider(t){for(var e="",i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(e="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":e)+"product/search?&producer_id="+(t.producer_id||"")+"&author_seo_link="+(t.author_seo_link||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{var r=e.data.KiboApp.Response.data.list.filter(t=>t.stok_id!=this.pageData.product_json.id);t.author_seo_link&&(this.yazarSlider=r),t.producer_id&&(this.ureticiSlider=r),t.category_id&&(this.kategoriSlider=r)}).catch(()=>{t.author_seo_link&&(this.yazarSlider=null),t.producer_id&&(this.ureticiSlider=null),t.category_id&&(this.kategoriSlider=null)})},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="ww h20 fl mt5 ta-ol">\n                      <span class="fs-16 fw-b txt-info">\n                        <span class="fl mr5 ln-23 fw-n fs-12">'.concat(element.birim,"</span>\n                        ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                      </span>\n                    </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html&&(html+='<span class="fl mr5 ln-16">,</span>'),html+='<a class="fl fs-14 txt-sub ln-16" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},handleAddToBasket(){if(this.isFakeVaryantAvailable){var t=[];for(var e in this.fakeVariantGroupModal)""==this.fakeVariantGroupModal[e]&&t.push(e);t.length>0?(this.$message({message:"("+t.join(", ")+") "+this.$t("Bu Alan Boş Olamaz"),type:"error"}),this.$refs[t[0]]):this.isLogin()}else this.isLogin()},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.pageData.product_json.id,barcode:this.pageData.product_json.barkod,quantity:this.favList.includes(this.pageData.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.pageData.product_json.seo_link)},isLogin(){var t=!this.pageData.product_json.ebook||"1"!=this.$cookies.get("isGuestLogin");this.userData&&t?this.sendBasket():this.loginDialogShow=!0},sendReDirect(path){this.$router.push({path:"/auth/"+path+"?redirect=".concat(this.$route.fullPath)})},getAutoLogin(){var t;this.pageData.product_json.attribute_text&&(t=Object.values(this.fakeVariantGroupModal).join("-"));var e=this.calculatedQuantity,path="/auth/autoLogin?redirect="+this.$route.fullPath+"&loginToken="+this.firmSetting.b2bAutomaticLoginCode+"&productId="+this.pageData.product_json.id+"&productBarcode="+this.pageData.product_json.barkod+"&qty="+e+"&optionsId="+(t||"");this.$router.push({path:this.localePath(path)})},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.sahaf:"2"==this.sepetCalismaMod?"0"==t.sahaf:"3"==this.sepetCalismaMod&&("0"==t.sahaf||"1"==t.sahaf&&t.smiktar>0)},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},sendBasket(){var t;this.isFakeVaryantAvailable&&(t=Object.values(this.fakeVariantGroupModal).join(";"));var e=this.calculatedQuantity,r=this.pageData.product_json.ebook?"update":"add";this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:r,product:[{id:this.pageData.product_json.id,barcode:this.pageData.product_json.barkod,quantity:e,optionId:t||""}]}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"});var e=this.firmSetting,r=e.metaPixelID,o=e.metaConversionAccessToken;if(r&&this.metaModule){var l=o?{metaPixelID:r,metaConversionAccessToken:o}:null;this.metaModule.metaAddToCart(this.pageData.product_json,this.getCurrency(this.pageData),this.quantity,l)}this.firmSetting.googleAnalyticsID&&this.googleModule&&this.googleModule.googleAddToCart(this.pageData.product_json,this.getCurrency(this.pageData),this.quantity),""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var n=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{var e;n+=null!==(e=t.stok)&&void 0!==e&&e.ebook?1:parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",n,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",n)}).catch(t=>{401!=t.response.data.KiboApp.Response.pageStatus&&this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getFakeVariantGroup(){if(this.pageData.product_json.attribute_text){var t=JSON.parse(this.pageData.product_json.attribute_text),e={},r={};t.forEach(t=>{e[t.variant_name]||(e[t.variant_name]=[],r[t.variant_name]=""),e[t.variant_name].push(t)}),this.fakeVariantGroup=e,this.fakeVariantGroupModal=r,this.isFakeVaryantAvailable=!0}},getSatisNoktasiList(){var t=new Set(this.pageData.product_json.tags.map(t=>
1t.id)),e=this.urunSatisNoktasiList.filter(e=>{var r=e.tag;return!(null!=r&&r.id)||t.has(r.id)}).map(t=>{var e,r=null===(e=t.stok)||void 0===e?void 0:e.find(t=>t.id==this.pageData.stok_id);return l(l({},t),{},r?{url:r.url}:{url:t.url+this.pageData.product_json[t.key]})});this.urunSatisNoktasiList=e},TarihFormat(t){var e=null!=t?t.split(" "):null,r=null!=t?e[0].split("-"):null;return null!=r?r[2]+"-"+r[1]+"-"+r[0]+(e[1]?" "+e[1]:""):"-"},isExpiredDate:t=>!!t&&new Date(t)>new Date,metaContent(){var t=this.firmSetting,e=t.metaPixelID,o=t.metaConversionAccessToken;e&&r.e(6).then(r.bind(null,49)).then(t=>{this.metaModule=t;var r=o?{metaPixelID:e,metaConversionAccessToken:o}:null;this.metaModule.metaViewContent(this.pageData.product_json,this.getCurrency(this.pageData),r)}).catch(t=>{console.error("function 'metaViewContent' import error:",t)})},googleContent(){this.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(t=>{this.googleModule=t,this.googleModule.googleViewItem(this.pageData.product_json,this.getCurrency(this.pageData))}).catch(t=>{console.error("function 'googleViewItem' import error:",t)})},handleEbookDayChange(t){this.quantity=t},getEbookList(){var t;if(null!==(t=this.pageData)&&void 0!==t&&null!==(t=t.product_json)&&void 0!==t&&t.ebook){var e=this.$cookies.get("userId"),r=localStorage.getItem("".concat(e,"_ebookIdList"));this.ebookIdList=r?JSON.parse(r):[]}}}},d=c,m=(r(602),r(603),r(0)),component=Object(m.a)(d,function(){var t,e,o,l,n,c,d,m,h,f,_,v,w,y,k,C,$,S=this,x=S._self._c;return x("main",[x("headerWrap"),S._v(" "),x("aside",{staticClass:"ww fl"},[x("div",{staticClass:"wrapper mrau px10"},[x("div",{staticClass:"ww fl py5"},[x("nav",{staticClass:"ww fl",attrs:{"aria-label":"breadcrumb"}},[x("ol",{staticClass:"ww fl breadcrumb",attrs:{itemscope:""}},[x("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[x("nuxt-link",{attrs:{to:{path:S.localePath("/")},itemprop:"item"}},[x("span",{attrs:{itemprop:"name"}},[S._v(S._s(S.$t("Anasayfa")))])]),S._v(" "),x("meta",{attrs:{itemprop:"position",content:"1"}})],1),S._v(" "),S.pageData&&S.pageData.product_json&&S.pageData.product_json.kategori&&S.pageData.product_json.kategori.anakategori?x("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[x("nuxt-link",{attrs:{to:{path:S.localePath("/kategori/"+S.pageData.product_json.kategori.anakategori.seo_link)},itemprop:"item"}},[x("span",{attrs:{itemprop:"name"}},[S._v(S._s(S.pageData.product_json.kategori.anakategori.kategoriad))])]),S._v(" "),x("meta",{attrs:{itemprop:"position",content:"3"}})],1):S._e(),S._v(" "),S.pageData&&S.pageData.product_json&&S.pageData.product_json.kategori?x("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[x("nuxt-link",{attrs:{to:{path:S.localePath("/kategori/"+S.pageData.product_json.kategori.seo_link)},itemprop:"item"}},[x("span",{attrs:{itemprop:"name"}},[S._v(S._s(S.pageData.product_json.kategori.kategoriad))])]),S._v(" "),x("meta",{attrs:{itemprop:"position",content:"2"}})],1):S._e(),S._v(" "),S.pageData&&S.pageData.product_json?x("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[x("span",{attrs:{itemprop:"name"}},[S._v(S._s(S.pageData.product_json.stokcins))]),S._v(" "),x("meta",{attrs:{itemprop:"position",content:"4"}})]):S._e()])])])])]),S._v(" "),x("section",{staticClass:"ww fl pt20 pb50"},[S.isShowPage?x("div",{staticClass:"wrapper mrau px10"},[S.pageData&&S.pageData.product_json?x("div",{staticClass:"ww fl"},[x("el-row",{attrs:{gutter:20}},[x("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[x("div",{staticClass:"ww fl pos-r"},[x("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z1 ta-o fd-c"},S._l(S.badgeList,function(t,e){return x("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),S._v(" "),S.pageData.product_json.files.length>0?x("div",{staticClass:"ww fl"},[x("sliderCard",{attrs:{item:S.pageData.product_json}}),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S._l(S.pageData.product_json.files,function(t,e){return["application/pdf"==t.mime_type?x("a",{key:e,staticClass:"ww fl my15 py10 bdr rds ta-o",attrs:{href:t.fl_url,target:"_blank"}},[x("i",{staticClass:"mr10 icon-pdf txt-error fs-20"}),S._v(S._s(S.$t("İçeriği İncele"))+"\n                      ")]):S._e()]})],2):x("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[x("span",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o icon-image fs-63 bdr rds"})])])]),S._v(" "),x("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[x("el-row",{attrs:{gutter:20}},[x("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[x("div",{staticClass:"ww fl"},[x("h1",{staticClass:"ww fl ln-27 fs-23 fw-b"},[S._v(S._s(S.pageData.product_json.stokcins))]),S._v(" "),x("aside",{staticClass:"ww fl bg-white z9"},[x("div",{staticClass:"ww fl mt10"},[S.detayliBilgiGoster.includes("yazar")&&S.pageData.product_json.ttur&&1==S.pageData.product_json.ttur.tip&&(null===(t=S.pageData.product_json)||void 0===t||null===(t=t.authors)||void 0===t?void 0:t.length)>0?[x("i",{staticClass:"fl mr5 mb5 icon-edit ln-16"}),S._v(" "),S.pageData.product_json.authors.length>0?x("div",{staticClass:"fl",domProps:{innerHTML:S._s(S.getYazarLinkList(S.pageData.product_json.authors))}}):S._e()]:S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.detayliBilgiGoster.includes("uretici")&&null!==(e=S.pageData.product_json)&&void 0!==e&&null!==(e=e.uretici)&&void 0!==e&&e.ureticiad?x("nuxt-link",{staticClass:"fl",attrs:{to:S.localePath(S.getMakeSeoLink(S.pageData.product_json.uretici,"uretici"))}},[x("span",{staticClass:"ww h20 fl mb5 fs-14 txt of-h to-e ws-n"},[x("i",{staticClass:"icon-factory mr5"}),S._v("\n                              "+S._s(S.pageData.product_json.uretici.ureticiad)+"\n                            ")])]):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.detayliBilgiGoster.includes("kategori")&&null!=S.pageData.product_json.kategori?x("nuxt-link",{staticClass:"fl",attrs:{to:S.localePath(S.getMakeSeoLink(S.pageData.product_json.kategori,"kategori"))}},[x("span",{staticClass:"ww h20 fl mb5 fs-14 txt-2 of-h to-e ws-n"},[x("i",{staticClass:"icon-tag mr5"}),S._v("\n                              "+S._s(S.pageData.product_json.kategori.kategoriad)+"\n                            ")])]):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.detayliBilgiGoster.includes("etiket")&&S.pageData.product_json.tags.length>0?x("div",{staticClass:"fl my10"},S._l(S.pageData.product_json.tags,function(t,e){return x("nuxt-link",{key:e,staticClass:"fl mr5 mb5 px10 ln-25 fs-12 bdr rds30 bg-light",attrs:{to:S.localePath(S.getMakeSeoLink(t,"etiket"))}},[S._v(S._s(t.prcg_name))])}),1):S._e(),S._v(" "),x("div",{staticClass:"ww fl mb10"},[x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.pageData.product_json.ttur&&1==S.pageData.product_json.ttur.tip?"ISBN":S.$t("Barkod")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s(S.pageData.product_json.barkod))])]),S._v(" "),S.pageData.product_json.ttur&&1==S.pageData.product_json.ttur.tip?[null!==(o=S.pageData.product_json)&&void 0!==o&&o.stk_date_print?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Basım Tarihi")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s((null!=S.pageData.product_json.stk_date_print?S.pageData.product_json.stk_date_print.split("-")[0]:"")+"-"+(null!=S.pageData.product_json.stk_date_print?S.pageData.product_json.stk_date_print.split("-")[1]:"")))])]):S._e(),S._v(" "),null!==(l=S.pageData.product_json)&&void 0!==l&&l.baskino&&0!=S.pageData.product_json.baskino?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Baskı")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s(S.pageData.product_json.baskino))])]):S._e(),S._v(" "),null!==(n=S.pageData.product_json)&&void 0!==n&&n.sayfasayisi&&0!=S.pageData.product_json.sayfasayisi?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("number_of_pages")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s(S.pageData.product_json.sayfasayisi))])]):S._e(),S._v(" "),null!==(c=S.pageData.product_json)&&void 0!==c&&c.ebatx&&0!=S.pageData.product_json.ebatx?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("size")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s(S.pageData.product_json.ebatx+"x"+S.pageData.product_json.ebaty))])]):S._e(),S._v(" "),null!==(d=S.pageData.product_json)&&void 0!==d&&null!==(d=d.kapak)&&void 0!==d&&d.cv_name&&" "!=S.pageData.product_json.kapak.cv_name?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Kapak")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(S._s(S.langList?S.langList["".concat(S.pageData.product_json.kapak.cv_name)]:S.pageData.product_json.kapak.cv_name))])]):S._e(),S._v(" "),null!==(m=S.pageData.product_json)&&void 0!==m&&null!==(m=m.kagit)&&void 0!==m&&m.pp_name&&" "!=S.pageData.product_json.kagit.pp_name?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Kağıt")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(" "+S._s(S.langList?S.langList["".concat(S.pageData.product_json.kagit.pp_name)]:S.pageData.product_json.kagit.pp_name))])]):S._e(),S._v(" "),null!==(h=S.pageData.product_json)&&void 0!==h&&null!==(h=h.orijinal_dil)&&void 0!==h&&h.ln_name&&" "!=S.pageData.product_json.orijinal_dil.ln_name?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Orjinal Dili")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(" "+S._s(S.pageData.product_json.orijinal_dil.ln_name))])]):S._e(),S._v(" "),null!==(f=S.pageData.product_json)&&void 0!==f&&null!==(f=f.yayin_dili)&&void 0!==f&&f.ln_name&&" "!=S.pageData.product_json.yayin_dili.ln_name?x("p",{staticClass:"ww fl ln-18"},[x("span",{staticClass:"w80 fl ln-18 fs-12"},[S._v(S._s(S.$t("Yayın Dili")))]),x("span",{staticClass:"fl mx5 ln-18 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-18 fs-12 fw-b"},[S._v(" "+S._s(S.pageData.product_json.yayin_dili.ln_name))])]):S._e()]:S._e()],2),S._v(" "),S.pageData.product_json.ttur&&1==S.pageData.product_json.ttur.tip&&S.emekList.length>0?x("div",{staticClass:"ww fl mb10"},[x("p",{staticClass:"ww fl mt10 fs-14"},[S._v(S._s(S.$t("Emeği Geçenler")))]),S._v(" "),S._l(S.emekList,function(t){return x("p",{key:t.id,staticClass:"ww fl"},[x("span",{staticClass:"w120 fl ln-18 fs-12"},[S._v(S._s(S.emekTipList[t.at_who]))]),x("span",{staticClass:"mx5 ln-18 fs-12"},[S._v(":")]),x("a",{staticClass:"ln-18 fs-12 fw-b",attrs:{href:S.localePath(S.getMakeSeoLink(t,"kisi","&at_who="+t.at_who))}},[S._v(S._s(t.at_name))])])})],2):S._e(),S._v(" "),S.pageData.product_json.info_text?x("div",{staticClass:"ww fl"},[x("p",{staticClass:"ww fl my5 pt15 bdrT fs-13 txt-error fw-6"},[S._v(S._s(S.pageData.product_json.info_text))])]):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.pageData&&S.pageData.variant_master_id>0?x("variantSelection",{attrs:{pageData:S.pageData,onPurchasable:S.isBasketShow}}):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.ekBarkodSelectedItem?x("div",{staticClass:"ww fl bdrT pt10"},[x("el-table",{ref:"listTable",staticClass:"rds5",staticStyle:{width:"100%"},attrs:{border:"","empty-text":S.$t("Kayıt Yok"),id:"listTable",data:S.ekBarkodList}},[x("el-table-column",{attrs:{prop:"barkod",label:S.$t("Barkod"),"min-width":"100"},scopedSlots:S._u([{key:"default",fn:function(t){var e=t.row;return[x("span",{staticClass:"ww fl fs-12 ln-16"},[S._v(S._s(e.br_barkod))])]}}],null,!1,1609820165)}),S._v(" "),x("el-table-column",{attrs:{label:S.$t("Birim"),"min-width":"120"},scopedSlots:S._u([{key:"default",fn:function(t){var e=t.row;return[x("span",{staticClass:"ww fl fs-12 ln-16 wb-i fw-5"},[S._v(S._s(e.stokbirim?e.stokbirim.ad:"-"))])]}}],null,!1,3403660708)}),S._v(" "),x("el-table-column",{attrs:{prop:"br_miktar",label:null===(_=S.pageData.product_json)||void 0===_||null===(_=_.stokbirim)||void 0===_?void 0:_.ad,"min-width":"60"},scopedSlots:S._u([{key:"default",fn:function(t){var e=t.row;return[x("span",{staticClass:"fs-12 ln-16 wb-i fw-5"},[S._v(S._s(e.br_miktar))])]}}],null,!1,718762190)})],1)],1):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.pageData.product_json.ozet?x("div",{staticClass:"ww fl mb30"},[S.readMore||S.pageData.product_json.ozet.length<=500?x("p",{staticClass:"ww fl my10 pt10 bdrT fs-13",domProps:{innerHTML:S._s(S.pageData.product_json.ozet.replaceAll(/\n/g,"<br />"))}}):x("div",{staticClass:"ww fl my10 pt10 bdrT"},[x("span",{staticClass:"fs-13",domProps:{innerHTML:S._s(S.pageData.product_json.ozet.replaceAll(/\n/g,"<br />").slice(0,500))}}),S._v(" "),x("span",{staticClass:"fs-20 fw-b cr-p",staticStyle:{"margin-left":"-4px"},on:{click:function(t){S.readMore=!S.readMore}}},[S._v("...")])]),S._v(" "),S.pageData.product_json.ozet.length>500?x("el-button",{staticClass:"mt10",attrs:{round:"",size:"small"},on:{click:function(t){S.readMore=!S.readMore}}},[x("i",{class:"icon-eye".concat(S.readMore?"-open":""," mr5")}),S._v(" "),x("span",[S._v("\n                                  "+S._s(S.$t("read_"+(S.readMore?"less":"more")))+"\n                                ")])]):S._e()],1):S._e()],2)])])]),S._v(" "),x("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[S.urunSatisNoktasiList&&S.urunSatisNoktasiList.length>0?x("div",{staticClass:"ww fl mb5"},[x("el-row",{attrs:{gutter:10}},S._l(S.urunSatisNoktasiList,function(t,e){return x("el-col",{key:e,attrs:{lg:4,md:4,sm:6,xs:8}},[x("a",{staticClass:"ww fl mb10 pos-r bdr rds",staticStyle:{"padding-top":"100%"},attrs:{href:t.url,target:"_blank"}},[x("el-image",{staticClass:"ww hh p5 pos-a tp-0 lf-0",attrs:{src:t.img,fit:"contain"}})],1)])}),1)],1):S._e(),S._v(" "),S.showShippingWrapper?x("div",{staticClass:"ww fl mb5"},[S.hasFreeShipping?x("el-tag",{attrs:{type:"primary",size:"small"}},[x("span",{staticClass:"icon-circle"},[x("i",{staticClass:"el-icon-truck"})]),S._v("\n                        "+S._s(S.$t("cargo")+" "+S.$t("Ücretsiz"))+"\n                      ")]):S._e(),S._v(" "),"supply"===S.deliveryStatus?x("el-tag",{class:{"product-detail--unavailable":!S.isBasketShow(S.pageData.product_json)},attrs:{type:"danger",size:"small"}},[x("span",{staticClass:"icon-circle"},[x("i",{staticClass:"el-icon-time"})]),S._v("\n                        "+S._s(S.$t("Ürün Temin Süresi"))+" : "),x("strong",[S._v(S._s(S.pageData.product_json.uretici.utemin)+" "+S._s(S.$t("Gün")))])]):"ready"===S.deliveryStatus?x("el-tag",{attrs:{type:"info",size:"small"}},[x("span",{staticClass:"icon-circle"},[x("i",{staticClass:"el-icon-truck"})]),S._v("\n                        "+S._s(S.$t("Ürün Hemen Kargoya Verilir"))+"\n                      ")]):S._e()],1):S._e(),S._v(" "),S.showPrice&&!S.pageData.product_json.ebook?x("div",{staticClass:"ww fl"},[x("stokView",{attrs:{item:S.pageData.product_json}}),S._v(" "),x("div",{staticClass:"ww fl mb5 pos-r"},[x("p",{staticClass:"ww fl ta-ol"},[x("span",{staticClass:"fl mr5 fs-14"},[S._v(S._s(S.$t("list_price"))+" :")]),S._v(" "),x("a",{staticClass:"mr5 ln-20 fs-15 fw-6",class:(S.pageData.product_json.kisk||0)>0?"td-lt":""},[S._v(S._s(S.$currencyFormat(S.getPrice(S.pageData,"kfiyat"),S.getCurrency(S.pageData))))])]),S._v(" "),(S.pageData.product_json.kisk||0)>0?x("p",{staticClass:"ww fl ta-ol"},[x("span",{staticClass:"fl mr5 fs-14"},[S._v(S._s(S.$t("Kazancınız"))+" :")]),S._v(" "),x("a",{staticClass:"mr5 ln-20 fs-15 fw-6"},[S._v(S._s(S.$currencyFormat(S.getPrice(S.pageData,"kfiyat")-S.getPrice(S.pageData,"kfiyat_proc"),S.getCurrency(S.pageData))))])]):S._e(),S._v(" "),S.pageData&&S.pageData.currencyPriceList&&S.firmSetting.b2bShowBaseCurrency?x("div",{domProps:{innerHTML:S._s(S.getBaseCurrency(S.pageData))}}):S._e(),S._v(" "),x("p",{staticClass:"ww h40 fl ta-ol"},[x("span",{staticClass:"fs-35 fw-b txt-error"},[x("span",{staticClass:"fl mt5 ln-15 fs-25"},[S._v(S._s(S.getPriceCode(S.pageData)))]),S._v("\n                            "+S._s(S.$currencyFormat(S.getPrice(S.pageData,"kfiyat_proc"),S.getCurrency(S.pageData)))+"\n                          ")])])])],1
1):S._e(),S._v(" "),S.pageData.product_json.ebook?x("div",{staticClass:"ww fl mb10"},[x("el-tag",{staticClass:"fs-13",attrs:{type:"info",dark:""}},[S._v("\n                       "+S._s(S.$t("E-Kitap"))+"\n                      ")])],1):S._e(),S._v(" "),S.pageData.product_json.ebook&&S.ebookIdList.includes(S.pageData.stok_id)||!S.isBasketShow(S.pageData.product_json)?S.pageData.product_json.ebook&&S.ebookIdList.includes(S.pageData.stok_id)?x("nuxt-link",{attrs:{to:{path:S.localePath("/uye/ekitaplarim")}}},[x("el-button",{staticClass:"addToBasket h50 fl mr5 px40 fw-6 fs-16 ta-o",staticStyle:{"border-radius":"30px!important"},attrs:{type:"primary",icon:"icon-book mr5"}},[S._v("\n                          "+S._s(S.$t("E-Kitap Oku"))+"\n                        ")])],1):S._e():[1==S.pageData.product_json.ebook&&(null===(v=S.pageData.ebookPriceList)||void 0===v?void 0:v.length)>0?x("div",{staticClass:"mb10"},[x("p",{staticClass:"fs-12 fw-b"},[S._v(S._s(S.$t("Kiralama Süresi"))+":")]),S._v(" "),x("el-row",{attrs:{gutter:5}},S._l(S.pageData.ebookPriceList,function(t,e){return x("el-col",{key:t.dayCount+"_"+e,attrs:{lg:8,md:12,sm:12,xs:24}},[x("el-card",{staticClass:"cr-p mb5 rds10",class:t.dayCount==S.quantity?"primaryBorderColor":"",attrs:{shadow:"hover"}},[x("div",{staticClass:"dp-f fd-c ta-o",staticStyle:{gap:"5px"},on:{click:function(e){return S.handleEbookDayChange(t.dayCount)}}},[x("p",{staticClass:"fs-14 fw-b"},[S._v(S._s(t.dayCount+" "+S.$t("Gün")))]),S._v(" "),x("div",{staticClass:"dp-f ai-b fs-16 fw-b txt-error"},[x("span",[S._v(S._s(S.getPriceCode(S.pageData)))]),S._v(" "),x("span",[S._v("\n                                      "+S._s(S.$currencyFormat(S.getPrice(t,"kfiyat_proc"),S.getCurrency(S.pageData)))+"\n                                    ")])])])])],1)}),1)],1):S._e(),S._v(" "),S.ekBarkodSelectedItem?[x("el-row",{attrs:{gutter:15}},[x("el-col",{attrs:{lg:24,sm:24,xs:24}},[x("div",{staticClass:"mt5"},[x("el-select",{staticClass:"w200",on:{change:S.handleEkBarkodStokBirimChange},model:{value:S.ekBarkodSTokBirim,callback:function(t){S.ekBarkodSTokBirim=t},expression:"ekBarkodSTokBirim"}},S._l(S.ekBarkodList,function(t,e){return x("el-option",{key:t.id+"-"+e,attrs:{label:"".concat(t.stokbirim?t.stokbirim.ad:"-"," ").concat(0===e?"":"(".concat(t.br_miktar,")")),value:e}})}),1)],1)]),S._v(" "),x("el-col",[x("div",{staticClass:"my10"},[S.pageData.product_json.ebook?S._e():x("el-input-number",{staticClass:"addToBasket",class:S.isFakeVaryantAvailable&&"mt15",attrs:{min:1,size:"medium"},model:{value:S.quantity,callback:function(t){S.quantity=t},expression:"quantity"}})],1)]),S._v(" "),S.ekBarkodSelectedItem.stokbirim&&"ADET"!=S.ekBarkodSelectedItem.stokbirim.ad?x("el-col",[x("div",{staticClass:"p5"},[x("p",{staticClass:"ww fl"},[x("span",{staticClass:"fl ln-24 fw-b fs-12"},[S._v(S._s(S.$t("Toplam")))]),x("span",{staticClass:"fl mr5 ln-24 fs-12"},[S._v(":")]),x("span",{staticClass:"fl ln-24 fs-15 fw-6 txt-primary"},[S._v(S._s(S.calculatedQuantity)+" "+S._s(S.pageData.product_json.stokbirim.ad))])])])]):S._e()],1)]:S._e(),S._v(" "),(null===(w=S.pageData.product_json)||void 0===w?void 0:w.aburunsayi)>0&&0!=(null===(y=S.allSetting)||void 0===y||null===(y=y.settings)||void 0===y?void 0:y.b2bPrdSalesCountCalcBelgekod)?x("div",{staticClass:"ww fl mb10 product-detail--smiktar"},[x("el-tag",{attrs:{type:"danger",effect:"plain",size:"small"}},[x("p",{staticStyle:{"text-transform":"lowercase"}},[x("i",{staticClass:"icon-cube",staticStyle:{"margin-right":"3px"}}),S._v(" "),x("strong",[S._v(S._s(S.formatNumber(null===(k=S.pageData.product_json)||void 0===k?void 0:k.aburunsayi)))]),S._v(" "+S._s(((null===(C=S.pageData.product_json)||void 0===C||null===(C=C.stokbirim)||void 0===C?void 0:C.ad)||"ADET")+" "+S.$t("Satıldı"))+" \n                          ")])])],1):S._e(),S._v(" "),x("div",{staticClass:"ww fl mb15"},[x("el-button",{staticClass:"addToBasket h50 fl mr5 px40 fw-6 fs-16 ta-o",staticStyle:{"border-radius":"30px!important"},attrs:{loading:S.buttonLoading,disabled:S.buttonLoading,type:"primary",icon:"el-icon-goods"},on:{click:S.handleAddToBasket}},[S._v(S._s(S.$t("add_to_basket")))]),S._v(" "),S.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?x("el-button",{staticClass:"w50 h50 fl mr5 p0 fw-6 fs-16 ta-o rr",attrs:{title:S.$t(S.favList.includes(S.pageData.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:S.favoriteLoading},on:{click:S.addToFavorite}},[S.favoriteLoading?x("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[S.favList.includes(S.pageData.product_json.id)?x("svg",{staticClass:"fl",attrs:{width:"28",height:"28",fill:"var(--error)",viewBox:"0 0 256 256"}},[x("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):x("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):S._e()],1),S._v(" "),S.pageData.product_json.stk_date_sale&&S.isExpiredDate(S.pageData.product_json.stk_date_sale)?x("div",{staticClass:"ww fl"},[x("el-tag",{attrs:{type:"danger"}},[S._v("  "+S._s(S.$t("Ön Sipariş")+" : "+(null!=S.pageData.product_json.stk_date_sale?S.TarihFormat(S.pageData.product_json.stk_date_sale).split(" ")[0]:"-")))]),S._v(" "),x("div",{staticClass:"ww fl fs-12 my10"},[x("div",{style:{width:S.$device.isMobile?"100%":"60%"}},[S._v("\n                            "+S._s(S.onSiparisTemparyText)+" "),x("span",{staticClass:"fw-b td-u"},[S._v(" "+S._s(null!=S.pageData.product_json.stk_date_sale?S.TarihFormat(S.pageData.product_json.stk_date_sale).split(" ")[0]:"-")+"  ")]),S._v(" "+S._s(S.onSiparisText))])])],1
1):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.isFakeVaryantAvailable?x("div",{style:{width:S.$device.isMobile?"100%":"60%"}},[x("el-row",{attrs:{gutter:15}},S._l(S.fakeVariantGroup,function(t,e){return x("el-col",{key:e,attrs:{span:12}},[x("p",{staticClass:"fs-12 fw-b pt5 dp-b"},[S._v(S._s(e))]),S._v(" "),x("el-select",{ref:e,refInFor:!0,staticClass:"ww fl",attrs:{size:"small"},model:{value:S.fakeVariantGroupModal[e],callback:function(t){S.$set(S.fakeVariantGroupModal,e,t)},expression:"fakeVariantGroupModal[key]"}},S._l(t,function(t){return x("el-option",{key:t.id,attrs:{label:t.option_name,value:t.id}})}),1)],1)}),1)],1):S._e(),S._v(" "),S.pageData.product_json.ebook||S.ekBarkodSelectedItem?S._e():x("el-input-number",{staticClass:"addToBasket",class:S.isFakeVaryantAvailable&&"mt15",attrs:{min:1},model:{value:S.quantity,callback:function(t){S.quantity=t},expression:"quantity"}})],S._v(" "),x("div",{staticClass:"ww fl my30 ta-ol"},[x("span",{staticClass:"h30 fl mr5 mb5 fs-12"},[S._v(S._s(S.$t("share")))]),S._v(" "),x("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1da1f2"},attrs:{"data-sharer":"twitter","data-title":S.pageData.product_json.stokcins,"data-url":S.pageUrl+S.localePath("/urun/"+S.pageData.seo_link)}},[x("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-twitter-x"})]),S._v(" "),x("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1877f2"},attrs:{"data-sharer":"facebook","data-url":S.pageUrl+S.localePath("/urun/"+S.pageData.seo_link)}},[x("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-facebook"})]),S._v(" "),x("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#25d366"},attrs:{"data-sharer":"whatsapp","data-web":"false","data-title":S.pageData.product_json.stokcins,"data-url":S.pageUrl+S.localePath("/urun/"+S.pageData.seo_link)}},[x("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-whatsapp"})])])],2)],1)],1)],1),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),S.pageData.product_json.extra_content?x("div",{staticClass:"ww fl mt40"},[x("div",{staticClass:"ww fl ta-o fd-c",domProps:{innerHTML:S._s(S.pageData.product_json.extra_content)}})]):S._e(),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),[1,2].includes(Number(S.allSetting.settings.b2bUserPrdCommentStatus))?x("div",{staticClass:"ww fl my50"},[x("commentBar",{attrs:{productId:S.pageData.product_json.id}})],1):S._e()],1):x("div",{staticClass:"ww fl py30 ta-c"},[x("div",{staticClass:"w200 mrau",domProps:{innerHTML:S._s(r(9))}}),S._v(" "),x("p",{staticClass:"ww fl mt10"},[S._v(S._s(S.$t("no_data")))])])]):S._e(),S._v(" "),x("div",{staticClass:"ww fl mt40"},[x("sliderList",{attrs:{pageData:S.pageData}})],1)]),S._v(" "),x("footerWrap"),S._v(" "),x("el-dialog",{attrs:{title:S.$t("please_login"),visible:S.loginDialogShow,width:S.$device.isMobile?"80%":"460px",center:""},on:{"update:visible":function(t){S.loginDialogShow=t}}},[x("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[S._v(S._s(S.$t("Oturum açmadınız veya sonlanmış olabilir")))]),S._v(" "),x("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=S.firmSetting.b2bShowRegisterButton?x("el-button",{on:{click:function(t){return S.sendReDirect("uyeol")}}},[S._v(S._s(S.$t("signup")))]):S._e(),S._v(" "),x("el-button",{attrs:{type:"primary"},on:{click:function(t){return S.sendReDirect("giris")}}},[S._v(S._s(S.$t("login")))]),S._v(" "),x("div",{staticClass:"clr"}),S._v(" "),!S.firmSetting.b2bAutomaticLoginCode||null!==($=S.pageData)&&void 0!==$&&null!==($=$.product_json)&&void 0!==$&&$.ebook?S._e():x("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:S.getAutoLogin}},[S._v(S._s(S.$t("Üye Olmadan Alışverişe Devam Et")))])],1)])],1)},[],!1,null,"142efab8",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}
1finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={props:{pageData:{type:Object,default:function(){return{}}},emekList:{type:Array,default:function(){return[]}},pageUrl:{type:String,default:""},yazarList:{type:String,default:""},isShowPage:{type:Boolean,default:!1}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),sliderCard:()=>Promise.all([r.e(0),r.e(1)]).then(r.bind(null,804)),stokView:()=>r.e(0).then(r.bind(null,13)),biyografiCard:()=>r.e(0).then(r.bind(null,79)),detailRow:()=>Promise.all([r.e(0),r.e(17)]).then(r.bind(null,806))},data(){return{loginDialogShow:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,urunSatisNoktasiList:this.$store.state.firm.settings.b2bUiSettings.settings.urunSatisNoktasi,userData:this.$cookies.get("b2bUserInfo")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,buttonLoading:!1,readMore:!1,quantity:1,yazarData:null,yazarCount:0,variantGroup:[],variantGroupModal:{},emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],detayliBilgiGoster:["yazar","uretici","kategori","etiket"],urunDetaydaSliderGoster:[],yazarSlider:null,yazarSliderInfo:null,ureticiSlider:null,kategoriSlider:null,badgeList:[]}},created(){this.getYazarData(),this.firmSetting.b2bUrunDetaydaGoster&&(this.detayliBilgiGoster=this.firmSetting.b2bUrunDetaydaGoster),this.firmSetting.b2bUrunDetaydaSliderGoster&&this.pageData&&(this.urunDetaydaSliderGoster=this.firmSetting.b2bUrunDetaydaSliderGoster||[],this.urunDetaydaSliderGoster.includes("yazar")&&this.pageData.product_json.authors&&this.getYazarSlider(),this.urunDetaydaSliderGoster.includes("uretici")&&this.pageData.product_json.uretici&&this.getUrunSlider({producer_id:this.pageData.product_json.uretici.id}),this.urunDetaydaSliderGoster.includes("kategori")&&this.pageData.product_json.kategori&&this.getUrunSlider({category_id:this.pageData.product_json.kategori.id}
1)),this.pageData&&(this.getVariantGroup(),this.getSatisNoktasiList())},mounted(){this.$share(),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.pageData.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.pageData.product_json.tags[i].id];e&&t.push(e.image)}return t}},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}},getYazarSlider(){for(var t=this.pageData.product_json.authors,i=0;i<t.length;i++)if("0"==t[i].at_who){this.getUrunSlider({author_seo_link:t[i].seo_link}),this.yazarSliderInfo=t[i];break}},getUrunSlider(t){for(var e="",i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(e="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":e)+"product/search?&producer_id="+(t.producer_id||"")+"&author_seo_link="+(t.author_seo_link||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{t.author_seo_link&&(this.yazarSlider=e.data.KiboApp.Response.data.list),t.producer_id&&(this.ureticiSlider=e.data.KiboApp.Response.data.list),t.category_id&&(this.kategoriSlider=e.data.KiboApp.Response.data.list)}).catch(()=>{t.author_seo_link&&(this.yazarSlider=null),t.producer_id&&(this.ureticiSlider=null),t.category_id&&(this.kategoriSlider=null)})},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="ww h20 fl mt5 ta-ol">\n                      <span class="fs-16 fw-b txt-info">\n                        <span class="fl mr5 ln-23 fw-n fs-12">'.concat(element.birim,"</span>\n                        ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                      </span>\n                    </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];"0"==e.at_who&&(html&&(html+='<span class="fl mr5 ln-16">,</span>'),html+='<a class="fl fs-14 txt-sub ln-16" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getVariantGroup(){var t,e=this;if(null!==(t=this.pageData)&&void 0!==t&&null!==(t=t.variant_list)&&void 0!==t&&t.length){for(var r=[],o={},i=0;i<this.pageData.variant_list.length;i++)for(var l=this.pageData.variant_list[i].product_json,n=function(){var t,n=l.stok_variant_options[d],m=n.variant_id,h=n.variants,f=n.variant_options,_=n.variant_option_id;if(r.some(t=>t.variant_id===m)){if(!r.find(t=>t.variant_id==m).variant_options_list.some(t=>t.id===_)){var v=r.map(t=>t.variant_id===m?c(c({},t),{},{variant_options_list:[...t.variant_options_list,f]}):t);r=v}}else o[m]=null===(t=e.pageData.product_json.stok_variant_options.find(t=>t.variant_id===m))||void 0===t?void 0:t.variant_options.id,r.push({variant_id:m,variant_name:h.variant_name,variant_options_list:[f],isImage:"Renk"==h.variant_name})},d=0;d<l.stok_variant_options.length;d++)n();this.variantGroup=r,this.variantGroupModal=o,this.getVariantImages()}},getVariantImages(){var t=this.variantGroup.find(t=>t.isImage);if(t){var e=Object.assign({},this.variantGroupModal),r=t.variant_id,l=t.variant_options_list,data=[],n=[];l.map(t=>{e[r]=t.id,this.pageData.variant_list.map(t=>{if(data=[],t.product_json.stok_variant_options.map(t=>{Object.entries(e).map(e=>{var r=o(e,2);r[0];r[1]==t.variant_option_id&&data.push(t)})}),data.length==Object.entries(e).length){var l,c,d=null===(l=data.find(t=>t.variant_id==r))||void 0===l?void 0:l.variant_option_id;n.push({variantOptionId:d,url:null===(c=t.product_json.files)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.fl_url})}})}),this.variantImages=n}},handleVariantChange(t,e){this.variantGroupModal[t]=e;var data=[],r="";this.pageData.variant_list.map(t=>{data=[],t.product_json.stok_variant_options.map(t=>{Object.entries(this.variantGroupModal).map(e=>{var r=o(e,2);r[0];r[1]==t.variant_option_id&&data.push(t)})}),data.length==Object.entries(this.variantGroupModal).length&&(r=t.seo_link)}),this.$router.push({path:"/urun/".concat(r)})},isLogin(){this.userData?this.sendBasket():this.loginDialogShow=!0},getSatisNoktasiList(){var t=new Set(this.pageData.product_json.tags.map(t=>
1t.id)),e=this.urunSatisNoktasiList.filter(e=>{var r=e.tag;return!(null!=r&&r.id)||t.has(r.id)}).map(t=>{var e,r=null===(e=t.stok)||void 0===e?void 0:e.find(t=>t.id==this.pageData.stok_id);return c(c({},t),{},r?{url:r.url}:{url:t.url+this.pageData.product_json[t.key]})});this.urunSatisNoktasiList=e},sendReDirect(path){this.$router.push({path:"/auth/"+path+"?redirect=".concat(this.$route.fullPath)})},getAutoLogin(){var path="/auth/autoLogin?redirect="+this.$route.fullPath+"&loginToken="+this.firmSetting.b2bAutomaticLoginCode+"&productId="+this.pageData.product_json.id+"&productBarcode="+this.pageData.product_json.barkod+"&qty="+this.quantity;this.$router.push({path:this.localePath(path)})},getYazarData(){if(this.pageData&&this.pageData.product_json&&this.firmSetting.b2bShowAuthorDetail){for(var t="",i=0;i<this.$store.state.firm.modules.length;i++){var e=this.$store.state.firm.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(t="public/")}for(var r=0;r<this.pageData.product_json.authors.length;r++){var element=this.pageData.product_json.authors[r];if("0"==element.at_who){this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":t)+"authors/list?id="+element.id+"&limit=1&page=1").then(t=>{this.yazarData=t.data.KiboApp.Response.data.list[0]}).catch(()=>{this.yazarData=null});break}}}},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.sahaf:"2"==this.sepetCalismaMod?"0"==t.sahaf:"3"==this.sepetCalismaMod&&("0"==t.sahaf||"1"==t.sahaf&&t.smiktar>0)},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},sendBasket(){this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"add",product:[{id:this.pageData.product_json.id,barcode:this.pageData.product_json.barkod,quantity:this.quantity}]}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var e=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{e+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",e)}).catch(t=>{401!=t.response.data.KiboApp.Response.pageStatus&&this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}}},h=m,f=(r(604),r(0)),component=Object(f.a)(h,function(){var t,e,o,l,n,c,d,m=this,h=m._self._c;return h("main",[h("headerWrap"),m._v(" "),h("aside",{staticClass:"ww fl"},[h("div",{staticClass:"wrapper mrau px10"},[h("div",{staticClass:"ww fl py5"},[h("nav",{staticClass:"ww fl",attrs:{"aria-label":"breadcrumb"}},[h("ol",{staticClass:"ww fl breadcrumb",attrs:{itemscope:""}},[null!==(t=m.pageData)&&void 0!==t&&t.product_json?[h("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[h("nuxt-link",{attrs:{to:{path:m.localePath("/")},itemprop:"item"}},[h("span",{attrs:{itemprop:"name"}},[m._v(m._s(m.$t("Anasayfa")))])]),m._v(" "),h("meta",{attrs:{itemprop:"position",content:"1"}})],1),m._v(" "),m.pageData.product_json.kategori&&m.pageData.product_json.kategori.anakategori?h("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[h("nuxt-link",{attrs:{to:{path:m.localePath("/kategori/"+m.pageData.product_json.kategori.anakategori.seo_link)},itemprop:"item"}},[h("span",{attrs:{itemprop:"name"}},[m._v(m._s(m.pageData.product_json.kategori.anakategori.kategoriad))])]),m._v(" "),h("meta",{attrs:{itemprop:"position",content:"3"}})],1):m._e(),m._v(" "),m.pageData.product_json.kategori?h("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[h("nuxt-link",{attrs:{to:{path:m.localePath("/kategori/"+m.pageData.product_json.kategori.seo_link)},itemprop:"item"}},[h("span",{attrs:{itemprop:"name"}},[m._v(m._s(m.pageData.product_json.kategori.kategoriad))])]),m._v(" "),h("meta",{attrs:{itemprop:"position",content:"2"}})],1):m._e(),m._v(" "),m.pageData&&m.pageData.product_json?h("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[h("span",{attrs:{itemprop:"name"}},[m._v(m._s(m.pageData.product_json.stokcins))]),m._v(" "),h("meta",{attrs:{itemprop:"position",content:"4"}})]):m._e()]:m._e()],2)])])])]),m._v(" "),h("section",{staticClass:"ww fl pt20 pb50"},[m.isShowPage?h("div",{staticClass:"wrapper mrau px10"},[m.pageData&&m.pageData.product_json?h("div",{staticClass:"ww fl"},[h("el-row",{attrs:{gutter:20}},[h("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[h("div",{staticClass:"ww fl pos-r"},[h("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z1 ta-o fd-c"},m._l(m.badgeList,function(t,e){return h("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),m._v(" "),m.pageData.product_json.files.length>0?h("div",{staticClass:"ww fl"},[h("sliderCard",{attrs:{item:m.pageData.product_json}}),m._v(" "),h("div",{staticClass:"clr"}),m._v(" "),m._l(m.pageData.product_json.files,function(t,e){return["application/pdf"==t.mime_type?h("a",{key:e,staticClass:"ww fl my15 py10 bdr rds ta-o",attrs:{href:t.fl_url,target:"_blank"}},[h("i",{staticClass:"mr10 icon-pdf txt-error fs-20"}),m._v(m._s(m.$t("İçeriği İncele"))+"\n                      ")]):m._e()]})],2):h("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[h("span",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o icon-image fs-63 bdr rds"})])])]),m._v(" "),h("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[h("el-row",{attrs:{gutter:20}},[h("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[h("div",{staticClass:"ww fl"},[h("h1",{staticClass:"ww fl ln-22 fs-18 fw-b"},[m._v(m._s(m.pageData.product_json.stokcins))]),m._v(" "),h("aside",{staticClass:"ww fl bg-white z9"},[h("div",{staticClass:"ww fl mt15"},[m.detayliBilgiGoster.includes("yazar")&&m.pageData.product_json.ttur&&1==m.pageData.product_json.ttur.tip?[h("i",{staticClass:"fl mr5 mb5 icon-edit ln-16"}),m._v(" "),m.pageData.product_json.authors.length>0?h("div",{staticClass:"fl",domProps:{innerHTML:m._s(m.getYazarLinkList(m.pageData.product_json.authors))}}):m._e()]:m._e(),m._v(" "),h("div",{staticClass:"clr"}),m._v(" "),m.detayliBilgiGoster.includes("uretici")?h("nuxt-link",{staticClass:"fl",attrs:{to:m.localePath(m.getMakeSeoLink(m.pageData.product_json.uretici,"uretici"))}},[h("span",{staticClass:"ww h20 fl mb5 fs-14 txt of-h to-e ws-n"},[h("i",{staticClass:"icon-factory mr5"}),m._v("\n                                "+m._s(m.pageData.product_json.uretici.ureticiad)+"\n                              ")])]):m._e(),m._v(" "),h("div",{staticClass:"clr"}),m._v(" "),m.detayliBilgiGoster.includes("kategori")&&null!=m.pageData.product_json.kategori?h("nuxt-link",{staticClass:"fl",attrs:{to:m.localePath(m.getMakeSeoLink(m.pageData.product_json.kategori,"kategori"))}},[h("span",{staticClass:"ww h20 fl mb5 fs-14 txt-2 of-h to-e ws-n"},[h("i",{staticClass:"icon-tag mr5"}),m._v("\n                                "+m._s(m.pageData.product_json.kategori.kategoriad)+"\n                              ")])]):m._e(),m._v(" "),h("div",{staticClass:"clr"}),m._v(" "),m.detayliBilgiGoster.includes("etiket")&&m.pageData.product_json.tags.length>0?h("div",{staticClass:"fl my10"},m._l(m.pageData.product_json.tags,function(t,e){return h("nuxt-link",{key:e,staticClass:"fl mr5 mb5 px10 ln-25 fs-12 bdr rds30 bg-light",attrs:{to:m.localePath(m.getMakeSeoLink(t,"etiket"))}},[m._v(m._s(t.prcg_name))])}),1):m._e(),m._v(" "),(null===(e=m.variantGroup)||void 0===e?void 0:e.length)>0?h("div",{staticClass:"ww fl bdrT pt15"},m._l(m.variantGroup,function(t){var e;return h("div",{key:t.variant_id,staticClass:"ww fl mb10"},[h("p",{staticClass:"fw-b fs-14"},[m._v(m._s(t.variant_name)+": \n                                "),h("span",{staticClass:"mt5 fs-14 txt-sub fw-4"},[m._v(" "+m._s(null===(e=t.variant_options_list.find(e=>e.id==m.variantGroupModal[t.variant_id]))||void 0===e?void 0:e.option_name)+" ")])]),m._v(" "),t.isImage&&m.variantImages.length>0?m._l(t.variant_options_list,function(e){var r;return h("span",{key:e.id,staticClass:"dp-ib mt5 mr5 fs-12 bdr py5 rds7 fw-6 cr-p",class:m.variantGroupModal[t.variant_id]==e.id?"activeVariant":"",on:{click:function(r){return m.handleVariantChange(t.variant_id,e.id)}}},[h("div",{staticClass:"h60 w60 ta-o"},[h("el-image",{staticStyle:{height:"100%"},attrs:{src:null===(r=m.variantImages.find(image=>image.variantOptionId==e.id))||void 0===r?void 0:r.url,fit:"contain"},scopedSlots:m._u([{key:"error",fn:function(){return[h("div",{staticClass:"ww hh ta-o"},[h("i",{staticClass:"el-icon-picture-outline fs-40"})])]},proxy:!0}],null,!0)})],1)])}):m._l(t.variant_options_list,function(e){return h("span",{key:e.id,staticClass:"dp-ib mt5 mr5 py5 px15 fs-12 bdr rds7 fw-6 cr-p",class:m.variantGroupModal[t.variant_id]==e.id?"activeVariant":"",on:{click:function(r){return m.handleVariantChange(t.variant_id,e.id)}}},[m._v("\n                                  "+m._s(e.option_name)+"\n                                ")])})],2)}),0):m._e(),m._v(" "),m.pageData.product_json.ozet?h("div",{staticClass:"ww fl mb30"},[m.readMore||(null===(o=m.pageData.product_json)||void 0===o||null===(o=o.ozet)||void 0===o?void 0:o.length)<=500?h("p",{staticClass:"ww fl my10 pt10 bdrT fs-13",domProps:{innerHTML:m._s(m.pageData.product_json.ozet.replaceAll(/\n/g,"<br />"))}}):h("div",{staticClass:"ww fl my10 pt10 bdrT"},[h("span",{staticClass:"fs-13",domProps:{innerHTML:m._s(m.pageData.product_json.ozet.replaceAll(/\n/g,"<br />").slice(0,500))}}),m._v(" "),h("span",{staticClass:"fs-20 fw-b cr-p",staticStyle:{"margin-left":"-4px"},on:{click:function(t){m.readMore=!m.readMore}}},[m._v("...")])]),m._v(" "),(null===(l=m.pageData.product_json)||void 0===l||null===(l=l.ozet)||void 0===l?void 0:l.length)>500?h("el-button",{staticClass:"mt10",attrs:{round:"",size:"small"},on:{click:function(t){m.readMore=!m.readMore}}},[h("i",{class:"icon-eye".concat(m.readMore?"-open":""," mr5")}),m._v(" "),h("span",[m._v("\n                                  "+m._s(m.$t("read_"+(m.readMore?"less":"more")))+"\n                                ")])]):m._e()],1):m._e()],2)])])]),m._v(" "),h("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[m.urunSatisNoktasiList&&m.urunSatisNoktasiList.length>0?h("div",{staticClass:"ww fl mb5"},[h("el-row",{attrs:{gutter:10}},m._l(m.urunSatisNoktasiList,function(t,e){return h("el-col",{key:e,attrs:{lg:4,md:4,sm:6,xs:8}},[h("a",{staticClass:"ww fl mb10 pos-r bdr rds",staticStyle:{"padding-top":"100%"},attrs:{href:t.url,target:"_blank"}},[h("el-image",{staticClass:"ww hh p5 pos-a tp-0 lf-0",attrs:{src:t.img,fit:"contain"}})],1)])}),1)],1):m._e(),m._v(" "),h("div",{staticClass:"ww fl mb5"},[h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.$t("Tip")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.ttur.ad))])]),m._v(" "),h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.pageData.product_json.ttur&&1==m.pageData.product_json.ttur.tip?"ISBN":m.$t("Barkod")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.barkod))])]),m._v(" "),m.pageData.product_json.ttur&&1==m.pageData.product_json.ttur.tip?[null!==(n=m.pageData.product_json)&&void 0!==n&&n.stk_date_print?h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.$t("Basım Tarihi")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.stk_date_print.split("-")[0]+"-"+m.pageData.product_json.stk_date_print.split("-")[1]))])]):m._e(),m._v(" "),h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.$t("Baskı")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.baskino))])]),m._v(" "),h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.$t("number_of_pages")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.sayfasayisi))])]),m._v(" "),h("p",{staticClass:"ww fl ln-18"},[h("span",{staticClass:"w80 fl ln-18 fs-12"},[m._v(m._s(m.$t("size")))]),h("span",{staticClass:"fl mx5 ln-18 fs-12"},[m._v(":")]),h("span",{staticClass:"fl ln-18 fs-12 fw-b"},[m._v(m._s(m.pageData.product_json.ebatx+"x"+m.pageData.product_json.ebaty))])])]:m._e()],2),m._v(" "),m.pageData.product_json.ttur&&1==m.pageData.product_json.ttur.tip&&m.emekList.length>0?h("div",{staticClass:"ww fl mb5"},[h("p",{staticClass:"ww fl mt10 fs-14"},[m._v(m._s(m.$t("Emeği Geçenler")))]),m._v(" "),m._l(m.emekList,function(t){return h("p",{key:t.id},[h("span",{staticClass:"w120 fl ln-18 fs-12"},[m._v(m._s(m.emekTipList[t.at_who]))]),h("span",{staticClass:"mx5 ln-18 fs-12"},[m._v(":")]),h("a",{staticClass:"ln-18 fs-12 fw-b",attrs:{href:m.localePath(m.getMakeSeoLink(t,"kisi","&at_who="+t.at_who))}},[m._v(m._s(t.at_name))])])})],2):m._e(),m._v(" "),m.showPrice?h("div",{staticClass:"ww fl"},[h("stokView",{attrs:{item:m.pageData.product_json}}),m._v(" "),h("div",{staticClass:"ww fl mb5 pos-r"},[h("p",{staticClass:"ww fl ta-ol"},[h("span",{staticClass:"fl mr5 fs-14"},[m._v(m._s(m.$t("list_price"))+" :")]),m._v(" "),h("a",{staticClass:"mr5 ln-20 fs-15 fw-6"},[m._v(m._s(m.$currencyFormat(m.getPrice(m.pageData,"kfiyat"),m.getCurrency(m.pageData))))])]),m._v(" "),(m.pageData.product_json.kisk||0)>0?h("p",{staticClass:"ww fl ta-ol"},[h("span",{staticClass:"fl mr5 fs-14"},[m._v(m._s(m.$t("Kazancınız"))+" :")]),m._v(" "),h("a",{staticClass:"mr5 ln-20 fs-15 fw-6"},[m._v(m._s(m.$currencyFormat(m.getPrice(m.pageData,"kfiyat")-m.getPrice(m.pageData,"kfiyat_proc"),m.getCurrency(m.pageData))))])]):m._e(),m._v(" "),m.pageData&&m.pageData.currencyPriceList&&m.firmSetting.b2bShowBaseCurrency?h("div",{domProps:{innerHTML:m._s(m.getBaseCurrency(m.pageData))}}):m._e(),m._v(" "),h("p",{staticClass:"ww h40 fl ta-ol"},[h("span",{staticClass:"fs-35 fw-b txt-error"},[h("span",{staticClass:"fl mt5 ln-16 fs-25"},[m._v(m._s(m.getPriceCode(m.pageData)))]),m._v("\n                              "+m._s(m.$currencyFormat(m.getPrice(m.pageData,"kfiyat_proc"),m.getCurrency(m.pageData)))+"\n                            ")])])])],1
1):m._e(),m._v(" "),m.isBasketShow(m.pageData.product_json)?[h("div",{staticClass:"ww fl mb15"},[h("el-button",{staticClass:"h30 fl mr5 px20 fw-6 fs-16 ta-o",staticStyle:{width:"200px","border-radius":"30px!important"},attrs:{loading:m.buttonLoading,disabled:m.buttonLoading,icon:"el-icon-goods"},on:{click:m.isLogin}},[m._v(m._s(m.$t("add_to_basket")))])],1)]:m._e(),m._v(" "),null!==(c=m.allSetting.settings.b2bCargoFreeCollection)&&void 0!==c&&c.tagId&&null!==(d=m.pageData.product_json.tags)&&void 0!==d&&d.some(t=>t.id==m.allSetting.settings.b2bCargoFreeCollection.tagId)?h("p",{staticClass:"ww fl fw-4 txt-error fs-13"},[h("i",{staticClass:"icon-kargo-1"}),m._v(" "+m._s(m.$t("cargo")+" "+m.$t("Ücretsiz")))]):m._e(),m._v(" "),m.firmSetting.b2bShowUrunTemin?h("div",{staticClass:"ww fl"},[m.pageData.product_json.smiktar<=0?h("span",{staticClass:"ww fl mt10 fw-4 txt-error fs-13"},[m._v(m._s(m.$t("Ürün Temin Süresi")+" : ")),h("span",{staticClass:"mr5 fs-14 fw-b txt-error"},[m._v(m._s(m.pageData.product_json.uretici.utemin))]),m._v(m._s(m.$t("Gün")))]):m.pageData.product_json.smiktar>0?h("span",{staticClass:"ww fl mt10 fw-4 txt-info fs-13"},[h("i",{staticClass:"icon-kargo-1"}),m._v(" "+m._s(m.$t("Ürün Hemen Kargoya Verilir")))]):m._e()]):m._e(),m._v(" "),h("div",{staticClass:"ww fl my30 ta-ol"},[h("span",{staticClass:"h30 fl mr5 mb5 fs-12"},[m._v(m._s(m.$t("share")))]),m._v(" "),h("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1da1f2"},attrs:{"data-sharer":"twitter","data-title":m.pageData.product_json.stokcins,"data-url":m.pageUrl+m.localePath("/urun/"+m.pageData.seo_link)}},[h("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-twitter-x"})]),m._v(" "),h("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1877f2"},attrs:{"data-sharer":"facebook","data-url":m.pageUrl+m.localePath("/urun/"+m.pageData.seo_link)}},[h("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-facebook"})]),m._v(" "),h("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#25d366"},attrs:{"data-sharer":"whatsapp","data-web":"false","data-title":m.pageData.product_json.stokcins,"data-url":m.pageUrl+m.localePath("/urun/"+m.pageData.seo_link)}},[h("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-whatsapp"})])])],2)],1)],1)],1),m._v(" "),m.firmSetting.b2bShowAuthorDetail&&null!=m.yazarData?h("div",{staticClass:"wrapper mrau mt30 px10 pos-r"},[h("biyografiCard",{attrs:{yazar:m.yazarData,limit:512}})],1):m._e(),m._v(" "),m.pageData.product_json.extra_content?h("div",{staticClass:"ww fl mt40"},[h("div",{staticClass:"wrapper mrau px10"},[h("div",{staticClass:"ww fl ta-o fd-c",domProps:{innerHTML:m._s(m.pageData.product_json.extra_content)}})])]):m._e()],1):h("div",{staticClass:"ww fl py30 ta-c"},[h("div",{staticClass:"w200 mrau",domProps:{innerHTML:m._s(r(9))}}),m._v(" "),h("p",{staticClass:"ww fl mt10"},[m._v(m._s(m.$t("no_data")))])])]):m._e(),m._v(" "),h("div",{staticClass:"ww fl mt40"},[h("div",{staticClass:"wrapper mrau px10"},[m.urunDetaydaSliderGoster.includes("yazar")&&m.yazarSlider?h("detailRow",{attrs:{"data-list":m.yazarSlider,"title-url":m.localePath(m.getMakeSeoLink(m.yazarSliderInfo,"yazar")),title:m.$t("Yazarın Diğer Eserleri")}}):m._e(),m._v(" "),m.urunDetaydaSliderGoster.includes("yazar")&&m.ureticiSlider?h("detailRow",{attrs:{"data-list":m.ureticiSlider,"title-url":m.localePath(m.getMakeSeoLink(m.yazarSliderInfo,"uretici")),title:m.$t("Markanın Diğer Ürünleri")}}):m._e(),m._v(" "),m.urunDetaydaSliderGoster.includes("kategori")&&m.yazarSlider?h("detailRow",{attrs:{"data-list":m.yazarSlider,"title-url":m.localePath(m.getMakeSeoLink(m.yazarSliderInfo,"kategori")),title:m.$t("Kategorinin Diğer Ürünleri")}}):m._e()],1)])]),m._v(" "),h("footerWrap"),m._v(" "),h("el-dialog",{attrs:{title:m.$t("please_login"),visible:m.loginDialogShow,width:m.$device.isMobile?"80%":"460px",center:""},on:{"update:visible":function(t){m.loginDialogShow=t}}},[h("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[m._v(m._s(m.$t("Oturum açmadınız veya sonlanmış olabilir")))]),m._v(" "),h("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=m.firmSetting.b2bShowRegisterButton?h("el-button",{on:{click:function(t){return m.sendReDirect("uyeol")}}},[m._v(m._s(m.$t("signup")))]):m._e(),m._v(" "),h("el-button",{attrs:{type:"primary"},on:{click:function(t){return m.sendReDirect("giris")}}},[m._v(m._s(m.$t("login")))]),m._v(" "),h("div",{staticClass:"clr"}),m._v(" "),m.firmSetting.b2bAutomaticLoginCode?h("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:m.getAutoLogin}},[m._v(m._s(m.$t("Üye Olmadan Alışverişe Devam Et")))]):m._e()],1)])],1)},[],!1,null,"c775ba0a",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var d={props:{pageData:{type:Object,default:function(){return{}}},emekList:{type:Array,default:function(){return[]}},pageUrl:{type:String,default:""},yazarList:{type:String,default:""},isShowPage:{type:Boolean,default:!1}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),sliderCard:()=>Promise.all([r.e(0),r.e(1)]).then(r.bind(null,804)),stokView:()=>r.e(0).then(r.bind(null,13)),variantSelection:()=>r.e(0).then(r.bind(null,810)),commentBar:()=>r.e(0).then(r.bind(null,811)),detailRow:()=>r.e(0).then(r.bind(null,806))},data(){return{langList:null,loginDialogShow:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,urunSatisNoktasiList:this.$store.state.firm.settings.b2bUiSettings.settings.urunSatisNoktasi,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,showPrice:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice||!1,showBasket:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowBasket||!1,sepetCalismaMod:this.$store.state.firmBasketAddMod||"0",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,buttonLoading:!1,favoriteLoading:!1,readMore:!1,quantity:1,yazarCount:0,emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],detayliBilgiGoster:["yazar","uretici","kategori","etiket"],urunDetaydaSliderGoster:[],yazarSlider:null,yazarSliderInfo:null,ureticiSlider:null,kategoriSlider:null,isFakeVaryantAvailable:!1,fakeVariantGroup:{},fakeVariantGroupModal:{},variantGroup:[],variantGroupModal:{},onSiparisText:"",onSiparisTemparyText:"",metaModule:null,googleModule:null,favList:[],badgeList:[],bestsellerSlider:[]}},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))}},created(){this.pageData&&(this.firmSetting.b2bUrunDetaydaGoster&&(this.detayliBilgiGoster=this.firmSetting.b2bUrunDetaydaGoster),this.firmSetting.b2bUrunDetaydaSliderGoster&&this.pageData&&(this.urunDetaydaSliderGoster=this.firmSetting.b2bUrunDetaydaSliderGoster||[],this.urunDetaydaSliderGoster.includes("yazar")&&this.getYazarSlider(),this.urunDetaydaSliderGoster.includes("uretici")&&this.pageData.product_json.uretici&&this.getUrunSlider({producer_id:this.pageData.product_json.uretici.id}),this.urunDetaydaSliderGoster.includes("kategori")&&this.pageData.product_json.kategori&&this.getUrunSlider({category_id:this.pageData.product_json.kategori.id}
1)),this.getFakeVariantGroup(),this.getSatisNoktasiList())},mounted(){this.$share(),this.metaContent(),this.googleContent(),this.getLangFile(),localStorage.getItem(this.$cookies.get("userId")+"_favList")&&(this.favList=JSON.parse(localStorage.getItem(this.$cookies.get("userId")+"_favList"))),this.getBestsellerList(),this.badgeList=this.isBadgeImage()},methods:{isBadgeImage(){if(this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags){for(var t=[],i=0;i<this.pageData.product_json.tags.length;i++){var e=this.$store.state.firm.settings.b2bUiSettings.settings.data.badgeTags["tag_"+this.pageData.product_json.tags[i].id];e&&t.push(e.image)}return t}},getPer(t,e){return this.$device.isMobile?2:this.$device.isTablet?4:24==e?t||6:t||3},getBestsellerList(){if(this.pageData.product_json&&this.pageData.product_json.relBestSellers&&this.pageData.product_json.relBestSellers.length>0&&[30,37].includes(this.$store.state.firm.settings.b2bRelBestSellersCalcBelgekod)){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text=&best_sell_prd="+this.pageData.product_json.id+"&sort_type=6&limit=10&page=1").then(t=>{this.bestsellerSlider=t.data.KiboApp.Response.data.list}).catch(()=>{this.bestsellerSlider=[]})}},handleWebShare(t,e){return(r=function*(){var r={title:e.split("//")[1],text:t,url:e};navigator.share&&(yield navigator.share(r))},function(){var t=this,e=arguments;return new Promise(function(o,l){var a=r.apply(t,e);function n(t){c(a,o,l,n,d,"next",t)}function d(t){c(a,o,l,n,d,"throw",t)}n(void 0)})})();var r},handleClipboard(text){navigator.clipboard.writeText(text).then(()=>{this.$message({message:this.$t("Kopyalandı"),type:"success"})}).catch(t=>{this.$message.error("Copy failed")})},getLangFile(){r(341)("./".concat(this.$i18n.locale,".js")).then(t=>{this.langList=t.default,this.onSiparisText=this.langList["Ön Sipariş Bilgilendirme"],this.onSiparisTemparyText=this.langList["Bu ürün"]}).catch(t=>{console.error("function 'xxx' import error:",t)})},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}},getYazarSlider(){for(var t=this.pageData.product_json.authors,i=0;i<t.length;i++)if("0"==t[i].at_who){this.getUrunSlider({author_seo_link:t[i].author_seo_link}),this.yazarSliderInfo=t[i];break}},getUrunSlider(t){for(var e="",i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(e="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":e)+"product/search?&producer_id="+(t.producer_id||"")+"&author_seo_link="+(t.author_seo_link||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{t.author_seo_link&&(this.yazarSlider=e.data.KiboApp.Response.data.list),t.producer_id&&(this.ureticiSlider=e.data.KiboApp.Response.data.list),t.category_id&&(this.kategoriSlider=e.data.KiboApp.Response.data.list)}).catch(()=>{t.author_seo_link&&(this.yazarSlider=null),t.producer_id&&(this.ureticiSlider=null),t.category_id&&(this.kategoriSlider=null)})},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="ww h20 fl mt5 ta-ol">\n                      <span class="fs-16 fw-b txt-info">\n                        <span class="fl mr5 ln-23 fw-n fs-12">'.concat(element.birim,"</span>\n                        ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                      </span>\n                    </p>"))}return e},getPrice(t,e){var r=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$cookies.get("currency")||this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e},getYazarLinkList(t){for(var html="",i=0;i<t.length;i++){var e=t[i];
1"0"==e.at_who&&(html&&(html+='<span class="fl mr5 ln-16">,</span>'),html+='<a class="fl fs-14 txt-sub ln-16" href="'+this.localePath(this.getMakeSeoLink(e,"kisi","&at_who="+e.at_who))+'">'+e.at_name+"</a>")}return html},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},handleAddToBasket(){if(this.isFakeVaryantAvailable){var t=[];for(var e in this.fakeVariantGroupModal)""==this.fakeVariantGroupModal[e]&&t.push(e);t.length>0?(this.$message({message:"("+t.join(", ")+") "+this.$t("Bu Alan Boş Olamaz"),type:"error"}),this.$refs[t[0]]):this.isLogin()}else this.isLogin()},isLogin(){this.userData?this.sendBasket():this.loginDialogShow=!0},sendReDirect(path){this.$router.push({path:"/auth/"+path+"?redirect=".concat(this.$route.fullPath)})},getAutoLogin(){var t;this.pageData.product_json.attribute_text&&(t=Object.values(this.fakeVariantGroupModal).join("-"));var path="/auth/autoLogin?redirect="+this.$route.fullPath+"&loginToken="+this.firmSetting.b2bAutomaticLoginCode+"&productId="+this.pageData.product_json.id+"&productBarcode="+this.pageData.product_json.barkod+"&qty="+this.quantity+"&optionsId="+(t||"");this.$router.push({path:this.localePath(path)})},isBasketShow(t){if("1"==this.showBasket)return"0"==this.sepetCalismaMod?t.smiktar>0:"1"==this.sepetCalismaMod?"2"!=t.sahaf:"2"==this.sepetCalismaMod?"0"==t.sahaf:"3"==this.sepetCalismaMod&&("0"==t.sahaf||"1"==t.sahaf&&t.smiktar>0)},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},sendBasket(){var t;this.isFakeVaryantAvailable&&(t=Object.values(this.fakeVariantGroupModal).join(";")),this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"add",product:[{id:this.pageData.product_json.id,barcode:this.pageData.product_json.barkod,quantity:this.quantity,optionId:t||""}]}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"});var e=this.firmSetting,r=e.metaPixelID,o=e.metaConversionAccessToken;if(r&&this.metaModule){var l=o?{metaPixelID:r,metaConversionAccessToken:o}:null;this.metaModule.metaAddToCart(this.pageData.product_json,this.getCurrency(this.pageData),this.quantity,l)}this.firmSetting.googleAnalyticsID&&this.googleModule&&this.googleModule.googleAddToCart(this.pageData.product_json,this.getCurrency(this.pageData),this.quantity),""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var n=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{n+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",n,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",n)}).catch(t=>{401!=t.response.data.KiboApp.Response.pageStatus&&this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},addToFavorite(){this.userData&&!this.isGuestLogin?(this.favoriteLoading=!0,this.$apis.post("api/basket/add",{basketTransMod:"favorite",product:[{id:this.pageData.product_json.id,barcode:this.pageData.product_json.barkod,quantity:this.favList.includes(this.pageData.product_json.id)?0:1}]}).then(t=>{this.$apis.get("api/product/search?search_text=&basket=favorite&limit=1000&page=1").then(t=>{this.favoriteLoading=!1;var e=t.data.KiboApp.Response.data.list.reduce((t,e)=>(t.push(e.stok_id),t),[]);e.length>0&&this.$cookies.get("userId")&&(localStorage.setItem(this.$cookies.get("userId")+"_favList",JSON.stringify(e)),this.favList=e)}).catch(t=>{404==err.response.status&&(localStorage.removeItem(this.$cookies.get("userId")+"_favList"),this.favList=[]),this.favoriteLoading=!1})}).catch(()=>{this.favoriteLoading=!1})):location.href=this.localePath("/auth/giris?redirect=/urun/"+this.pageData.product_json.seo_link)},getFakeVariantGroup(){if(this.pageData.product_json.attribute_text){var t=JSON.parse(this.pageData.product_json.attribute_text),e={},r={};t.forEach(t=>{e[t.variant_name]||(e[t.variant_name]=[],r[t.variant_name]=""),e[t.variant_name].push(t)}),this.fakeVariantGroup=e,this.fakeVariantGroupModal=r,this.isFakeVaryantAvailable=!0}},getSatisNoktasiList(){var t=new Set(this.pageData.product_json.tags.map(t=>
1t.id)),e=this.urunSatisNoktasiList.filter(e=>{var r=e.tag;return!(null!=r&&r.id)||t.has(r.id)}).map(t=>{var e,r=null===(e=t.stok)||void 0===e?void 0:e.find(t=>t.id==this.pageData.stok_id);return l(l({},t),{},r?{url:r.url}:{url:t.url+this.pageData.product_json[t.key]})});this.urunSatisNoktasiList=e},TarihFormat(t){var e=null!=t?t.split(" "):null,r=null!=t?e[0].split("-"):null;return null!=r?r[2]+"-"+r[1]+"-"+r[0]+(e[1]?" "+e[1]:""):"-"},isExpiredDate:t=>!!t&&new Date(t)>new Date,metaContent(){var t=this.firmSetting,e=t.metaPixelID,o=t.metaConversionAccessToken;e&&r.e(6).then(r.bind(null,49)).then(t=>{this.metaModule=t;var r=o?{metaPixelID:e,metaConversionAccessToken:o}:null;this.metaModule.metaViewContent(this.pageData.product_json,this.getCurrency(this.pageData),r)}).catch(t=>{console.error("function 'metaViewContent' import error:",t)})},googleContent(){this.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(t=>{this.googleModule=t,this.googleModule.googleViewItem(this.pageData.product_json,this.getCurrency(this.pageData))}).catch(t=>{console.error("function 'googleViewItem' import error:",t)})}}},m=d,h=(r(605),r(606),r(0)),component=Object(h.a)(m,function(){var t,e,o,l,n,c,d,m,h,f,_,v,w=this,y=w._self._c;return y("main",[y("headerWrap"),w._v(" "),y("aside",{staticClass:"ww fl"},[y("div",{staticClass:"wrapper mrau px10"},[y("div",{staticClass:"ww fl py5"},[y("nav",{staticClass:"ww fl",attrs:{"aria-label":"breadcrumb"}},[y("ol",{staticClass:"ww fl breadcrumb",attrs:{itemscope:""}},[y("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[y("nuxt-link",{attrs:{to:{path:w.localePath("/")},itemprop:"item"}},[y("span",{attrs:{itemprop:"name"}},[w._v(w._s(w.$t("Anasayfa")))])]),w._v(" "),y("meta",{attrs:{itemprop:"position",content:"1"}})],1),w._v(" "),w.pageData&&w.pageData.product_json&&w.pageData.product_json.kategori&&w.pageData.product_json.kategori.anakategori?y("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[y("nuxt-link",{attrs:{to:{path:w.localePath("/kategori/"+w.pageData.product_json.kategori.anakategori.seo_link)},itemprop:"item"}},[y("span",{attrs:{itemprop:"name"}},[w._v(w._s(w.pageData.product_json.kategori.anakategori.kategoriad))])]),w._v(" "),y("meta",{attrs:{itemprop:"position",content:"3"}})],1):w._e(),w._v(" "),w.pageData&&w.pageData.product_json&&w.pageData.product_json.kategori?y("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[y("nuxt-link",{attrs:{to:{path:w.localePath("/kategori/"+w.pageData.product_json.kategori.seo_link)},itemprop:"item"}},[y("span",{attrs:{itemprop:"name"}},[w._v(w._s(w.pageData.product_json.kategori.kategoriad))])]),w._v(" "),y("meta",{attrs:{itemprop:"position",content:"2"}})],1):w._e(),w._v(" "),w.pageData&&w.pageData.product_json?y("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[y("span",{attrs:{itemprop:"name"}},[w._v(w._s(w.pageData.product_json.stokcins))]),w._v(" "),y("meta",{attrs:{itemprop:"position",content:"4"}})]):w._e()])])])])]),w._v(" "),y("section",{staticClass:"ww fl pt20 pb50"},[w.isShowPage?y("div",{staticClass:"wrapper mrau px10"},[w.pageData&&w.pageData.product_json?y("div",{staticClass:"ww fl"},[y("el-row",{attrs:{gutter:20}},[y("el-col",{attrs:{lg:10,md:10,sm:10,xs:24}},[y("div",{staticClass:"ww fl pos-r"},[y("div",{staticClass:"w40 m5 pos-a tp-0 lf-0 z1 ta-o fd-c"},w._l(w.badgeList,function(t,e){return y("img",{key:e,staticClass:"w40 h40 fl mb5 rds5",attrs:{width:"40",height:"40",loading:"lazy",src:t}}
1)}),0),w._v(" "),w.pageData.product_json.files.length>0?y("div",{staticClass:"ww fl"},[y("sliderCard",{attrs:{item:w.pageData.product_json,"is-zoom":!0}}),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w._l(w.pageData.product_json.files,function(t,e){return["application/pdf"==t.mime_type?y("a",{key:e,staticClass:"ww fl my15 py10 bdr rds ta-o",attrs:{href:t.fl_url,target:"_blank"}},[y("i",{staticClass:"mr10 icon-pdf txt-error fs-20"}),w._v(w._s(w.$t("İçeriği İncele"))+"\n                      ")]):w._e()]})],2):y("div",{staticClass:"ww fl pos-r",staticStyle:{"padding-top":"100%"}},[y("span",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o icon-image fs-63 bdr rds"})])])]),w._v(" "),y("el-col",{staticClass:"pos-r",attrs:{lg:14,md:14,sm:14,xs:24}},[y("el-row",{attrs:{gutter:20}},[y("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[y("div",{staticClass:"ww fl"},[y("h1",{staticClass:"ww fl ln-27 fs-23 fw-b"},[w._v(w._s(w.pageData.product_json.stokcins))]),w._v(" "),y("aside",{staticClass:"ww fl bg-white z9"},[y("div",{staticClass:"ww fl mt15"},[w.detayliBilgiGoster.includes("yazar")&&w.pageData.product_json.ttur&&1==w.pageData.product_json.ttur.tip&&(null===(t=w.pageData.product_json)||void 0===t||null===(t=t.authors)||void 0===t?void 0:t.length)>0?[y("i",{staticClass:"fl mr5 mb5 icon-edit ln-16"}),w._v(" "),w.pageData.product_json.authors.length>0?y("div",{staticClass:"fl",domProps:{innerHTML:w._s(w.getYazarLinkList(w.pageData.product_json.authors))}}):w._e()]:w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.detayliBilgiGoster.includes("uretici")&&null!==(e=w.pageData.product_json)&&void 0!==e&&null!==(e=e.uretici)&&void 0!==e&&e.ureticiad?y("nuxt-link",{staticClass:"fl",attrs:{to:w.localePath(w.getMakeSeoLink(w.pageData.product_json.uretici,"uretici"))}},[y("span",{staticClass:"ww h20 fl mb5 fs-14 txt of-h to-e ws-n"},[y("i",{staticClass:"icon-factory mr5"}),w._v("\n                              "+w._s(w.pageData.product_json.uretici.ureticiad)+"\n                            ")])]):w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.detayliBilgiGoster.includes("kategori")&&null!=w.pageData.product_json.kategori?y("nuxt-link",{staticClass:"fl",attrs:{to:w.localePath(w.getMakeSeoLink(w.pageData.product_json.kategori,"kategori"))}},[y("span",{staticClass:"ww h20 fl mb5 fs-14 txt-2 of-h to-e ws-n"},[y("i",{staticClass:"icon-tag mr5"}),w._v("\n                              "+w._s(w.pageData.product_json.kategori.kategoriad)+"\n                            ")])]):w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.detayliBilgiGoster.includes("etiket")&&w.pageData.product_json.tags.length>0?y("div",{staticClass:"fl my10"},w._l(w.pageData.product_json.tags,function(t,e){return y("nuxt-link",{key:e,staticClass:"fl mr5 mb5 px10 ln-25 fs-12 bdr rds30 bg-light",attrs:{to:w.localePath(w.getMakeSeoLink(t,"etiket"))}},[w._v(w._s(t.prcg_name))])}),1):w._e(),w._v(" "),y("div",{staticClass:"ww fl mb10"},[y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.pageData.product_json.ttur&&1==w.pageData.product_json.ttur.tip?"ISBN":w.$t("Barkod")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s(w.pageData.product_json.barkod))])]),w._v(" "),w.pageData.product_json.ttur&&1==w.pageData.product_json.ttur.tip?[null!==(o=w.pageData.product_json)&&void 0!==o&&o.stk_date_print?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Basım Tarihi")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s((null!=w.pageData.product_json.stk_date_print?w.pageData.product_json.stk_date_print.split("-")[0]:"")+"-"+(null!=w.pageData.product_json.stk_date_print?w.pageData.product_json.stk_date_print.split("-")[1]:"")))])]):w._e(),w._v(" "),null!==(l=w.pageData.product_json)&&void 0!==l&&l.baskino&&0!=w.pageData.product_json.baskino?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Baskı")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s(w.pageData.product_json.baskino))])]):w._e(),w._v(" "),null!==(n=w.pageData.product_json)&&void 0!==n&&n.sayfasayisi&&0!=w.pageData.product_json.sayfasayisi?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("number_of_pages")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s(w.pageData.product_json.sayfasayisi))])]):w._e(),w._v(" "),null!==(c=w.pageData.product_json)&&void 0!==c&&c.ebatx&&0!=w.pageData.product_json.ebatx?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("size")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s(w.pageData.product_json.ebatx+"x"+w.pageData.product_json.ebaty))])]):w._e(),w._v(" "),null!==(d=w.pageData.product_json)&&void 0!==d&&null!==(d=d.kapak)&&void 0!==d&&d.cv_name&&" "!=w.pageData.product_json.kapak.cv_name?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Kapak")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(w._s(w.langList?w.langList["".concat(w.pageData.product_json.kapak.cv_name)]:w.pageData.product_json.kapak.cv_name))])]):w._e(),w._v(" "),null!==(m=w.pageData.product_json)&&void 0!==m&&null!==(m=m.kagit)&&void 0!==m&&m.pp_name&&" "!=w.pageData.product_json.kagit.pp_name?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Kağıt")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(" "+w._s(w.langList?w.langList["".concat(w.pageData.product_json.kagit.pp_name)]:w.pageData.product_json.kagit.pp_name))])]):w._e(),w._v(" "),null!==(h=w.pageData.product_json)&&void 0!==h&&null!==(h=h.orijinal_dil)&&void 0!==h&&h.ln_name&&" "!=w.pageData.product_json.orijinal_dil.ln_name?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Orjinal Dili")))]),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(" "+w._s(w.pageData.product_json.orijinal_dil.ln_name))])]):w._e(),w._v(" "),null!==(f=w.pageData.product_json)&&void 0!==f&&null!==(f=f.yayin_dili)&&void 0!==f&&f.ln_name&&" "!=w.pageData.product_json.yayin_dili.ln_name?y("p",{staticClass:"ww fl ln-18"},[y("span",{staticClass:"w80 fl ln-18 fs-12"},[w._v(w._s(w.$t("Yayın Dili")))]),w._v(" "),y("span",{staticClass:"fl mx5 ln-18 fs-12"},[w._v(":")]),w._v(" "),y("span",{staticClass:"fl ln-18 fs-12 fw-b"},[w._v(" "+w._s(w.pageData.product_json.yayin_dili.ln_name))]),w._v(" "),y("nuxt-link",{staticClass:"fl",attrs:{to:w.localePath(w.getMakeSeoLink(w.pageData.product_json.kategori,"kategori"))}},[w._v("\n                                    "+w._s(w.pageData.product_json.yayin_dili.ln_name)+"\n                                  ")])],1):w._e()]:w._e()],2),w._v(" "),w.pageData.product_json.ttur&&1==w.pageData.product_json.ttur.tip&&w.emekList.length>0?y("div",{staticClass:"ww fl mb10"},[y("p",{staticClass:"ww fl mt10 fs-14"},[w._v(w._s(w.$t("Emeği Geçenler")))]),w._v(" "),w._l(w.emekList,function(t){return y("p",{key:t.id,staticClass:"ww fl"},[y("span",{staticClass:"w120 fl ln-18 fs-12"},[w._v(w._s(w.emekTipList[t.at_who]))]),y("span",{staticClass:"mx5 ln-18 fs-12"},[w._v(":")]),y("a",{staticClass:"ln-18 fs-12 fw-b",attrs:{href:w.localePath(w.getMakeSeoLink(t,"kisi","&at_who="+t.at_who))}},[w._v(w._s(t.at_name))])])})],2):w._e(),w._v(" "),w.pageData.product_json.info_text?y("div",{staticClass:"ww fl"},[y("p",{staticClass:"ww fl my5 pt15 bdrT fs-13 txt-error fw-6"},[w._v(w._s(w.pageData.product_json.info_text))])]):w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),y("variantSelection",{attrs:{pageData:w.pageData,onPurchasable:w.isBasketShow}}),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.pageData.product_json.ozet?y("div",{staticClass:"ww fl mb30"},[w.readMore||w.pageData.product_json.ozet.length<=500?y("p",{staticClass:"ww fl my10 pt10 bdrT fs-13",domProps:{innerHTML:w._s(w.pageData.product_json.ozet.replaceAll(/\n/g,"<br />"))}}):y("div",{staticClass:"ww fl my10 pt10 bdrT"},[y("span",{staticClass:"fs-13",domProps:{innerHTML:w._s(w.pageData.product_json.ozet.replaceAll(/\n/g,"<br />").slice(0,500))}}),w._v(" "),y("span",{staticClass:"fs-20 fw-b cr-p",staticStyle:{"margin-left":"-4px"},on:{click:function(t){w.readMore=!w.readMore}}},[w._v("...")])]),w._v(" "),w.pageData.product_json.ozet.length>500?y("el-button",{staticClass:"mt10",attrs:{round:"",size:"small"},on:{click:function(t){w.readMore=!w.readMore}}},[y("i",{class:"icon-eye".concat(w.readMore?"-open":""," mr5")}),w._v(" "),y("span",[w._v("\n                                  "+w._s(w.$t("read_"+(w.readMore?"less":"more")))+"\n                                ")])]):w._e()],1):w._e()],2)])])]),w._v(" "),y("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[w.urunSatisNoktasiList&&w.urunSatisNoktasiList.length>0?y("div",{staticClass:"ww fl mb5"},[y("el-row",{attrs:{gutter:10}},w._l(w.urunSatisNoktasiList,function(t,e){return y("el-col",{key:e,attrs:{lg:4,md:4,sm:6,xs:8}},[y("a",{staticClass:"ww fl mb10 pos-r bdr rds",staticStyle:{"padding-top":"100%"},attrs:{href:t.url,target:"_blank"}},[y("el-image",{staticClass:"ww hh p5 pos-a tp-0 lf-0",attrs:{src:t.img,fit:"contain"}})],1)])}),1)],1):w._e(),w._v(" "),w.showPrice?y("div",{staticClass:"ww fl"},[y("stokView",{attrs:{item:w.pageData.product_json}}),w._v(" "),y("div",{staticClass:"ww fl mb5 pos-r"},[y("p",{staticClass:"ww fl ta-ol"},[y("span",{staticClass:"fl mr5 fs-14"},[w._v(w._s(w.$t("list_price"))+" :")]),w._v(" "),y("a",{staticClass:"mr5 ln-20 fs-15 fw-6",class:(w.pageData.product_json.kisk||0)>0?"td-lt":""},[w._v(w._s(w.$currencyFormat(w.getPrice(w.pageData,"kfiyat"),w.getCurrency(w.pageData))))])]),w._v(" "),(w.pageData.product_json.kisk||0)>0?y("p",{staticClass:"ww fl ta-ol"},[y("span",{staticClass:"fl mr5 fs-14"},[w._v(w._s(w.$t("Kazancınız"))+" :")]),w._v(" "),y("a",{staticClass:"mr5 ln-20 fs-15 fw-6"},[w._v(w._s(w.$currencyFormat(w.getPrice(w.pageData,"kfiyat")-w.getPrice(w.pageData,"kfiyat_proc"),w.getCurrency(w.pageData))))])]):w._e(),w._v(" "),w.pageData&&w.pageData.currencyPriceList&&w.firmSetting.b2bShowBaseCurrency?y("div",{domProps:{innerHTML:w._s(w.getBaseCurrency(w.pageData))}}):w._e(),w._v(" "),y("p",{staticClass:"ww h40 fl ta-ol"},[y("span",{staticClass:"fs-35 fw-b txt-error"},[y("span",{staticClass:"fl mt5 ln-15 fs-25"},[w._v(w._s(w.getPriceCode(w.pageData)))]),w._v("\n                            "+w._s(w.$currencyFormat(w.getPrice(w.pageData,"kfiyat_proc"),w.getCurrency(w.pageData)))+"\n                          ")])])])],1
1):w._e(),w._v(" "),w.isBasketShow(w.pageData.product_json)?[y("div",{staticClass:"ww fl mb15"},[y("el-button",{staticClass:"addToBasket h50 fl mr5 px40 fw-6 fs-16 ta-o",staticStyle:{"border-radius":"30px!important"},attrs:{loading:w.buttonLoading,disabled:w.buttonLoading,type:"primary",icon:"el-icon-goods"},on:{click:w.handleAddToBasket}},[w._v(w._s(w.$t("add_to_basket")))]),w._v(" "),w.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?y("el-button",{staticClass:"w50 h50 fl mr5 p0 fw-6 fs-16 ta-o rr",attrs:{title:w.$t(w.favList.includes(w.pageData.product_json.id)?"Favorilerimden Çıkar":"Favorilerime Ekle"),disabled:w.favoriteLoading},on:{click:w.addToFavorite}},[w.favoriteLoading?y("i",{staticClass:"el-icon-loading w50 h50 fs-20 ta-o txt-dark"}):[w.favList.includes(w.pageData.product_json.id)?y("svg",{staticClass:"fl",attrs:{width:"28",height:"28",fill:"var(--error)",viewBox:"0 0 256 256"}},[y("path",{attrs:{d:"M240,102c0,70-103.79,126.66-108.21,129a8,8,0,0,1-7.58,0C119.79,228.66,16,172,16,102A62.07,62.07,0,0,1,78,40c20.65,0,38.73,8.88,50,23.89C139.27,48.88,157.35,40,178,40A62.07,62.07,0,0,1,240,102Z"}})]):y("i",{staticClass:"icon-heart w50 h50 fs-20 ta-o txt-dark"})]],2):w._e()],1),w._v(" "),w.pageData.product_json.stk_date_sale&&w.isExpiredDate(w.pageData.product_json.stk_date_sale)?y("div",{staticClass:"ww fl"},[y("el-tag",{attrs:{type:"danger"}},[w._v("  "+w._s(w.$t("Ön Sipariş")+" : "+(null!=w.pageData.product_json.stk_date_sale?w.TarihFormat(w.pageData.product_json.stk_date_sale).split(" ")[0]:"-")))]),w._v(" "),y("div",{staticClass:"ww fl fs-12 my10"},[y("div",{style:{width:w.$device.isMobile?"100%":"60%"}},[w._v("\n                            "+w._s(w.onSiparisTemparyText)+" "),y("span",{staticClass:"fw-b td-u"},[w._v(" "+w._s(null!=w.pageData.product_json.stk_date_sale?w.TarihFormat(w.pageData.product_json.stk_date_sale).split(" ")[0]:"-")+"  ")]),w._v(" "+w._s(w.onSiparisText))])])],1):w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.isFakeVaryantAvailable?y("div",{style:{width:w.$device.isMobile?"100%":"60%"}},[y("el-row",{attrs:{gutter:15}},w._l(w.fakeVariantGroup,function(t,e){return y("el-col",{key:e,attrs:{span:12}},[y("p",{staticClass:"fs-12 fw-b pt5 dp-b"},[w._v(w._s(e))]),w._v(" "),y("el-select",{ref:e,refInFor:!0,staticClass:"ww fl",attrs:{size:"small"},model:{value:w.fakeVariantGroupModal[e],callback:function(t){w.$set(w.fakeVariantGroupModal,e,t)},expression:"fakeVariantGroupModal[key]"}},w._l(t,function(t){return y("el-option",{key:t.id,attrs:{label:t.option_name,value:t.id}})}),1)],1)}),1)],1):w._e(),w._v(" "),y("el-input-number",{staticClass:"addToBasket",class:w.isFakeVaryantAvailable&&"mt15",attrs:{min:1},model:{value:w.quantity,callback:function(t){w.quantity=t},expression:"quantity"}})]:w._e(),w._v(" "),null!==(_=w.allSetting.settings.b2bCargoFreeCollection)&&void 0!==_&&_.tagId&&null!==(v=w.pageData.product_json.tags)&&void 0!==v&&v.some(t=>t.id==w.allSetting.settings.b2bCargoFreeCollection.tagId)?y("p",{staticClass:"ww fl mt10 fw-4 txt-error fs-13"},[y("i",{staticClass:"icon-kargo-1"}),w._v(" "+w._s(w.$t("cargo")+" "+w.$t("Ücretsiz")))]):w._e(),w._v(" "),w.firmSetting.b2bShowUrunTemin?y("div",{staticClass:"ww fl"},[w.pageData.product_json.smiktar<=0&&w.pageData.product_json.uretici.utemin>0?y("span",{staticClass:"ww fl mt10 fw-4 txt-error fs-13"},[w._v(w._s(w.$t("Ürün Temin Süresi")+" : ")),y("span",{staticClass:"mr5 fs-14 fw-b txt-error"},[w._v(w._s(w.pageData.product_json.uretici.utemin))]),w._v(w._s(w.$t("Gün")))]):w.pageData.product_json.smiktar>0&&!w.isExpiredDate(w.pageData.product_json.stk_date_sale)?y("span",{staticClass:"ww fl mt10 fw-4 txt-info fs-13"},[y("i",{staticClass:"icon-kargo-1"}),w._v(" "+w._s(w.$t("Ürün Hemen Kargoya Verilir")))]):w._e()]):w._e(),w._v(" "),y("div",{staticClass:"ww fl my30 ta-ol"},[y("span",{staticClass:"h30 fl mr5 mb5 fs-12"},[w._v(w._s(w.$t("share")))]),w._v(" "),y("button",{staticClass:"w36 h30 fl mr5 mb5 ln-30 rds fs-14 txt-white ta-o fw-6 cr-p bdr",staticStyle:{"background-color":"transparent"},on:{click:function(t){w.handleWebShare(w.pageData.product_json.stokcins,w.pageUrl+w.localePath("/urun/"+w.pageData.seo_link))}}},[y("i",{staticClass:"el-icon-share txt-black"})]),w._v(" "),y("button",{staticClass:"w36 h30 fl mr5 mb5 ln-30 rds fs-14 txt-white ta-o fw-6 cr-p",staticStyle:{"background-color":"#1da1f2"},attrs:{"data-sharer":"twitter","data-title":w.pageData.product_json.stokcins,"data-url":w.pageUrl+w.localePath("/urun/"+w.pageData.seo_link)}},[y("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-twitter-x"})]),w._v(" "),y("button",{staticClass:"w36 h30 fl mr5 mb5 ln-30 rds fs-14 txt-white ta-o fw-6 cr-p",staticStyle:{"background-color":"#1877f2"},attrs:{"data-sharer":"facebook","data-url":w.pageUrl+w.localePath("/urun/"+w.pageData.seo_link)}},[y("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-facebook"})]),w._v(" "),y("button",{staticClass:"w36 h30 fl mr5 mb5 ln-30 rds fs-14 txt-white ta-o fw-6 cr-p",staticStyle:{"background-color":"#25d366"},attrs:{"data-sharer":"whatsapp","data-web":"false","data-title":w.pageData.product_json.stokcins,"data-url":w.pageUrl+w.localePath("/urun/"+w.pageData.seo_link)}},[y("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-whatsapp"})]),w._v(" "),y("span",{staticClass:"w36 h30 fl mr5 mb5 p0 rds fs-14 fw-6 cr-p ta-o txt-dark el-button el-button--default el-button--medium is-plain",on:{click:function(t){w.handleClipboard(w.pageUrl+w.localePath("/urun/"+w.pageData.seo_link))}}},[y("i",{staticClass:"fl ta-o fs-18 icon-copy"})])])],2)],1)],1)],1),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.pageData.product_json.extra_content?y("div",{staticClass:"ww fl mt40"},[y("div",{staticClass:"ww fl ta-o fd-c",domProps:{innerHTML:w._s(w.pageData.product_json.extra_content)}})]):w._e(),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),[1,2].includes(Number(w.allSetting.settings.b2bUserPrdCommentStatus))?y("div",{staticClass:"ww fl my50"},[y("commentBar",{attrs:{productId:w.pageData.product_json.id}})],1):w._e()],1):y("div",{staticClass:"ww fl py30 ta-c"}
1,[y("div",{staticClass:"w200 mrau",domProps:{innerHTML:w._s(r(9))}}),w._v(" "),y("p",{staticClass:"ww fl mt10"},[w._v(w._s(w.$t("no_data")))])])]):w._e(),w._v(" "),y("div",{staticClass:"ww fl mt40"},[y("div",{staticClass:"wrapper mrau px10"},[w.bestsellerSlider.length>0?y("detailRow",{attrs:{"data-list":w.bestsellerSlider,title:w.$t("Bu ürünü alanlar bunları da aldı")}}):w._e(),w._v(" "),w.urunDetaydaSliderGoster.includes("yazar")&&w.yazarSlider?y("detailRow",{attrs:{"data-list":w.yazarSlider,"title-url":w.localePath(w.getMakeSeoLink(w.yazarSliderInfo,"yazar")),title:w.$t("Yazarın Diğer Eserleri")}}):w._e(),w._v(" "),w.urunDetaydaSliderGoster.includes("yazar")&&w.ureticiSlider?y("detailRow",{attrs:{"data-list":w.ureticiSlider,"title-url":w.localePath(w.getMakeSeoLink(w.yazarSliderInfo,"uretici")),title:w.$t("Markanın Diğer Ürünleri")}}):w._e(),w._v(" "),w.urunDetaydaSliderGoster.includes("kategori")&&w.yazarSlider?y("detailRow",{attrs:{"data-list":w.yazarSlider,"title-url":w.localePath(w.getMakeSeoLink(w.yazarSliderInfo,"kategori")),title:w.$t("Kategorinin Diğer Ürünleri")}}):w._e()],1)])]),w._v(" "),y("div",{staticClass:"ww fl my50"}),w._v(" "),y("footerWrap"),w._v(" "),y("el-dialog",{attrs:{title:w.$t("please_login"),visible:w.loginDialogShow,width:w.$device.isMobile?"80%":"460px",center:""},on:{"update:visible":function(t){w.loginDialogShow=t}}},[y("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[w._v(w._s(w.$t("Oturum açmadınız veya sonlanmış olabilir")))]),w._v(" "),y("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=w.firmSetting.b2bShowRegisterButton?y("el-button",{on:{click:function(t){return w.sendReDirect("uyeol")}}},[w._v(w._s(w.$t("signup")))]):w._e(),w._v(" "),y("el-button",{attrs:{type:"primary"},on:{click:function(t){return w.sendReDirect("giris")}}},[w._v(w._s(w.$t("login")))]),w._v(" "),y("div",{staticClass:"clr"}),w._v(" "),w.firmSetting.b2bAutomaticLoginCode?y("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:w.getAutoLogin}},[w._v(w._s(w.$t("Üye Olmadan Alışverişe Devam Et")))]):w._e()],1)])],1)},[],!1,null,"5e8426a9",null);e.default=component.exports},,,,,function(t,e,r){"use strict";r.r(e);function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach(function(e){n(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function n(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function d(t){return function(){var e=this,r=arguments;
1return new Promise(function(o,l){var a=t.apply(e,r);function n(t){c(a,o,l,n,d,"next",t)}function d(t){c(a,o,l,n,d,"throw",t)}n(void 0)})}}var m={middleware:"mainPage",asyncData:t=>d(function*(){for(var e=t.app,r="",i=0;i<e.store.state.firm.modules.length;i++){var o=e.store.state.firm.modules[i];if("mod_b2bpublic"==o.md_name&&"1"==o.md_status){r="public/";break}}function n(){return n=d(function*(t,r){return new Promise(function(){var t=d(function*(t){e.$cookies.remove("web_login_access_token",{path:"/"}),e.$cookies.remove("b2bUserInfo",{path:"/"}),e.$cookies.remove("userId",{path:"/"}),e.$cookies.remove("userName",{path:"/"}),e.$cookies.remove("userSurname",{path:"/"}),e.$cookies.remove("basketCount",{path:"/"}),e.$cookies.remove("userBasketId",{path:"/"}),e.$cookies.remove("isGuestLogin",{path:"/"}),e.$cookies.remove("em",{path:"/"}),e.$cookies.remove("ph",{path:"/"}),t(!0)});return function(e){return t.apply(this,arguments)}}())}),n.apply(this,arguments)}function c(){return m.apply(this,arguments)}function m(){return m=d(function*(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],m=e.$cookies.get("web_login_access_token");if(!r&&!m)return[];var h=!m||o?r:"",f="".concat("https://b2bapi.onsocloud.com/api/").concat(h).concat("homepage/body"),_={"X-Mentis-B2B-Merchant-Id":e.store.state.firm.merchant_id};return m&&(_=l(l({},_),{},{Authorization:"Bearer "+m})),e.$axios.get(f,{headers:_}).then(t=>t.data.KiboApp.Response.data.layout).catch(function(){var e=d(function*(e){var o;if("AU10000"==(null===(o=e.response)||void 0===o||null===(o=o.data)||void 0===o||null===(o=o.KiboApp)||void 0===o||null===(o=o.Response)||void 0===o?void 0:o.errorCode)&&t>0){if(yield function(t,e){return n.apply(this,arguments)}(),!r)return[];if(t>0)return yield c(0,!0)}return[]});return function(t){return e.apply(this,arguments)}}())}),m.apply(this,arguments)}return{layout:yield c()}})(),computed:{component(){var t=["b2b","okul","sadakat","bilab2","kurumsal","dergah","kiboYayinci"][this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme||this.$store.state.firmAppMode||0]||"b2b";return()=>r(686)("./".concat(t))}},data(){return{layout:[],firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa"),meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:this.firmSetting.b2bWebDescription||this.firmSetting.b2bFooterTitle||this.$t("Anasayfa")}]}}},h=m,f=r(0),component=Object(f.a)(h,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{layout:t.layout}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c={search_text:decodeURIComponent(o.query.search_text||""),producer_seo_link:o.query.producer_seo_link||"",category_seo_link:o.query.category_seo_link||"",tag_seo_link:o.query.tag_seo_link||"",author_seo_link:o.query.author_seo_link||"",scarttype:o.query.scarttype||"",producer_id:o.query.producer_id||"",author_id:o.query.author_id||"",tag_id:o.query.tag_id||"",category_id:o.query.category_id||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1};"3"==r.store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(c.limit=100);var d=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(c)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:c,pageTitle:c.search_text})).catch(()=>({data:null,list:null,count:0,filterList:c,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+o.query.search_text}));return{pageUrl:o.query.search_text,apiData:d.data,pageData:d.list,rowCount:d.count,filterList:d.filterList,pageTitle:d.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/ara?search_text="+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageUrlType:"arama",pageTitle:(this.$route.query.search_text?this.$route.query.search_text+" - ":"")+this.$t("Ara"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(27),l=r.n(o);function n(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var c={data:()=>({logo:l.a,isLogin:!1,copyId:null,copyType:"warning",customerList:null,getCustomerName:null,showCheck:!1,emailError:!1,passwordError:!1,buttonLoading:!1,LoginForm:{email:"[email protected]",password:"123456789"}}),methods:{selectCustomer(t){console.log("selectCustomer "+t),this.getCustomerName=t.merchant_name,this.domain=t.b2bSiteDomain,this.getCustomerDetail(t)},requiredMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},requiredMailMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:"blur"}]},requiredNumberMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:"8"}),trigger:"blur"}]}
1,submitForm(){if(""==this.LoginForm.email)this.emailError=!0;else if(""==this.LoginForm.password)this.passwordError=!0;else{this.emailError=!1,this.passwordError=!1,this.buttonLoading=!0;this.$axios.post("https://isletmeapitest.kibokatalog.com/api/auth/login",this.LoginForm).then(t=>{this.isLogin=!0,this.getMerchantId()}).catch(t=>{console.log(t),this.isLogin=!1,this.customerList=null})}},getCustomerDetail(data){var t=data.settings.b2bUiSettings.settings,e={path:"/",maxAge:31536e3};this.$cookies.set("appSubFirm",0,e),this.$cookies.set("appMode",data.settings.b2bAppMod,e),this.$cookies.set("smsSendStatus",data.settings.b2bUserNewRegisterSmsSendStatus,e),this.$cookies.set("merchant_id",data.merchant_id,e);var r=t.data.b2bMultiLang;if(this.$i18n.defaultLocale=t.data.b2bDefaultLang||"tr",null!=r&&""!=r&&"0"!=r&&"1"!=r){Array.isArray(r)&&(r=r.join(";"));var o=[];this.$i18n.locales.map(e=>{r.split(";").includes(e.code)&&(o.push(e),e.code==(t.data.b2bDefaultLang||"tr")&&(console.log("log item.code "+e.code),this.$i18n.setLocaleCookie(e.code)))}),this.$i18n.locales=o}},getMerchantId(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.$axios.get("https://b2bapi.onsocloud.com/api/merchant/list?domain="+t+"&limit=1000&page=1").then(t=>{this.customerList=t.data.KiboApp.Response.data.list}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},copySomething(){var t,e=this;return(t=function*(){if(null==e.copyId)return!1;try{var t=location.hostname+"/id/"+e.copyId;yield e.$copyText(t),e.copyType="success",setTimeout(()=>{e.copyType="warning"},2e3)}catch(t){console.error(t)}},function(){var e=this,r=arguments;
1return new Promise(function(o,l){var a=t.apply(e,r);function c(t){n(a,o,l,c,d,"next",t)}function d(t){n(a,o,l,c,d,"throw",t)}c(void 0)})})()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:"Kibo B2B "+this.$t("Seç")}}},d=c,m=(r(488),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl pos-r of-a",staticStyle:{"padding-bottom":"63px"}},[e("div",{staticClass:"wrapper-64em hh mrau",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("el-form",{ref:"LoginForm",staticClass:"demo-LoginForm",attrs:{model:t.LoginForm,"status-icon":"","label-width":"120px","label-position":"top"}},[e("el-row",{staticClass:"hh",attrs:{justify:"center",type:"flex"}},[t.isLogin?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl p50"},[e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h40 mrau mb20 dp-b",attrs:{src:t.logo,alt:"Logo"}})]),t._v(" "),e("el-select",{staticClass:"ww fl",attrs:{placeholder:t.$t("Seç")},on:{change:t.selectCustomer},model:{value:t.getCustomerName,callback:function(e){t.getCustomerName=e},expression:"getCustomerName"}},t._l(t.customerList,function(t){return e("el-option",{key:t.merchant_id,attrs:{label:t.merchant_name,value:t}})}),1),t._v(" "),null!=t.copyId?e("el-button",{staticClass:"ww fl mt15 ta-o",attrs:{type:t.copyType,icon:"el-icon-document-copy fs-18"},on:{click:t.copySomething}},[t._v(t._s(t.$t("copy")))]):t._e()],1)]):e("el-col",{staticClass:"hh pos-r",attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww hh fl"},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10":"mt30 pt10 px50")},[e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau mb20 dp-b",attrs:{src:t.logo,alt:"Logo"}})]),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"input-wrapper ww fl mb20"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.LoginForm.email,expression:"LoginForm.email"}],staticClass:"ww fl",attrs:{id:"user",autocomplete:"off",required:""},domProps:{value:t.LoginForm.email},on:{input:function(e){e.target.composing||t.$set(t.LoginForm,"email",e.target.value)}}}),t._v(" "),e("label",{attrs:{for:"user"}},[t._v(t._s(t.$t("user")+" "+t.$t("name")))]),t._v(" "),t.emailError?e("span",{staticClass:"ww fl fs-13 txt-error"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"input-wrapper ww fl"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.LoginForm.password,expression:"LoginForm.password"}],staticClass:"ww fl",attrs:{id:"password",type:"password",autocomplete:"off",required:""},domProps:{value:t.LoginForm.password},on:{input:function(e){e.target.composing||t.$set(t.LoginForm,"password",e.target.value)}}}),t._v(" "),e("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("user")+" "+t.$t("password")))]),t._v(" "),t.passwordError?e("span",{staticClass:"ww fl fs-13 txt-error"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])])],1),t._v(" "),e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-button",{staticClass:"ww fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("login")))])],1)],1)],1)])])],1)],1)],1),t._v(" "),e("a",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0",attrs:{href:"#",target:"_blank"}},[e("img",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0",staticStyle:{transform:"rotate(-90deg)"},attrs:{src:t.logo,alt:"Kibo Logo"}})]),t._v(" "),e("span",{staticClass:"pos-f bt-0 lf-0 bdrB",staticStyle:{width:"calc( 100% - 60px)","margin-bottom":"38px"}})])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={components:{headerWrap:header.default,footerWrap:footer.default},data:()=>({PageData:[],kurumList:{},fullscreenLoading:!1,isError:!1,isEmpty:!1,listQuery:{pageNo:1,pageCount:25,asc:!1,sortBy:"id"}}),created(){this.getList()},computed:{calcRowSize(){for(var t=this.PageData,e=[],i=0;i<t.length;i+=2)e.push(t.slice(i,i+2));return e}},methods:{getList(){this.fullscreenLoading=!0,this.$apis.get("api/merchant/tbankaccs/list").then(t=>{var e=t.data.KiboApp.Response.data.list;this.PageData=e,e.some(t=>
10!=t.cari_id)?this.getKurumList():this.fullscreenLoading=!1}).catch(t=>{this.fullscreenLoading=!1,this.PageData=[]})},getKurumList(){this.$apis.get("api/merchant/corp/list?limit=1000&page=1").then(t=>{var e=t.data.KiboApp.Response.data.list;this.kurumList=e.reduce((t,e)=>(t[e.id]=e.firma,t),{}),this.fullscreenLoading=!1}).catch(()=>{this.kurumList={},this.fullscreenLoading=!1})}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("bank_accounts")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl my10"},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.fullscreenLoading,expression:"fullscreenLoading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau"},[e("div",{staticClass:"mx10"},[e("h1",{staticClass:"fw-b ta-c mb20",class:t.$device.isMobile?"fs-25 pt15":"py10"},[t._v(t._s(t.$t("Banka Hesapları")))])]),t._v(" "),t.PageData.length>0?e("div",{class:"WrapGutter"},t._l(t.calcRowSize,function(r,o){return e("el-row",{key:o,attrs:{gutter:20}},t._l(r,function(r,i){return e("el-col",{key:i,attrs:{lg:12,sm:12,xs:24}},[e("div",{staticClass:"mb10"},[e("div",{staticClass:"ItemShadow pr5 pos-r bg-white"},[e("div",{staticClass:"px20 pt10 pb20"},[e("el-image",{staticClass:"h50",attrs:{src:r.tbanks.bank_logo,fit:"contain"},scopedSlots:t._u([{key:"error",fn:function(){return[e("div",{staticClass:"ww hh ta-o"},[e("i",{staticClass:"el-icon-picture-outline fs-40"})])]},proxy:!0}],null,!0)}),t._v(" "),e("div",{staticClass:"dp-f fd-c",staticStyle:{gap:"5px"}},[t.kurumList[r.cari_id]?e("div",{staticClass:"fs-14"},[e("strong",[t._v(" "+t._s(t.$t("firm"))+" ")]),t._v(" : "),e("span",{staticClass:"txt-error fw-b fs-15"},[t._v(t._s(t.kurumList[r.cari_id]))])]):t._e(),t._v(" "),e("div",{staticClass:"fs-14"},[e("strong",[t._v(" "+t._s(t.$t("bank")+" "+t.$t("name"))+" ")]),t._v(" : "),e("span",{staticClass:"fw-b fs-15"},[t._v(t._s(r.tbanks.bnk_fullname))])]),t._v(" "),e("div",{staticClass:"fs-14"},[e("strong",[t._v(" "+t._s(t.$t("account")+" "+t.$t("name"))+" ")]),t._v(" : "+t._s(r.bnc_accname||"-"))]),t._v(" "),e("div",{staticClass:"fs-14"},[e("strong",[t._v(" "+t._s(t.$t("Şube")+" ("+t.$t("Şube")+" "+t.$t("Kod")+")")+" ")]),t._v(" : "),e("span",[t._v(t._s((r.bnc_bnd_name||"-")+" ("+t.$t("Kod")+": "+(r.bnc_bnd_code||"-")+")"))])]),t._v(" "),r.bnc_accnum?e("div",{staticClass:"fs-14"},[e("strong",[t._v(t._s(t.$t("account")+" "+t.$t("No")))]),t._v(" : "),e("span",{staticClass:"fs-14"},[t._v(" "+t._s(r.bnc_accnum||"-")+" ")])]):t._e(),t._v(" "),e("div",{staticClass:"fs-14"},[e("strong",[t._v(" "+t._s(t.$t("iban"))+" ")]),t._v(" : "+t._s(r.bnc_iban||"-"))])])],1)])])])}),1)}),1):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={name:"wrap-news",asyncData(t){return(e=function*(){var e=t.app,r=t.store.state.firm.settings.b2bUiSettings.settings.data.blogTag;return console.log(r),r?{pageData:(yield e.$apis.get("api/content/list?content_type=3&tag_id="+r.id+"&idSort=desc&limit=12&page=1").then(t=>({data:t.data.KiboApp.Response.data.list})).catch(()=>({data:null}))).data,page:2}:{data:null}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{newsCardComponent(){return()=>r(123)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.newsCardTheme||0,".vue"))}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{pageData:[],page:2,limit:12,query:"",isEmpty:!1,scrollDeflection:this.$device.isDesktop?650:this.$device.isTablet?300:622,scrollTimeout:null,scrollStart:!0,scrollLoading:!1}},mounted(){this.scrollStart&&window.addEventListener("scroll",()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.page++,this.getList())},150)}),this.getList()},methods:{getList(){if(!this.scrollStart)return!1;var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.referenceTag;if(t){if(this.scrollLoading=!0,!t)return{data:null};this.$apis.get("api/content/list?content_type=3&tag_id=".concat(t.id,"&idSort=desc&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.pageData=[...this.pageData,...t.data.KiboApp.Response.data.list],this.scrollLoading=!1,this.rowCount==this.pageData.length&&(this.scrollStart=!1)}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})}else this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:"Blog"}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v("Blog")])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mb50 pb50 WrapGutter"},[t.pageData.length>0?e("div",{staticClass:"ww fl"},[e("div",{class:"cq-row cq-gap-30 ww fl mb15"},t._l(t.pageData,function(r,o){return e("div",{key:o,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-8"},[e(t.newsCardComponent,{tag:"component",attrs:{item:r,"url-path":"blog"}})],1)}),0),t._v(" "),t.scrollLoading?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.scrollLoading,expression:"scrollLoading"}],staticClass:"ww h60 fl"}):t._e()]):t.isEmpty?e("div",{staticClass:"ww fl px10 ta-o txt-error fs-16 fw-b"},[t._v(t._s(t.$t("Kayıt Bulunamadı")))]):t._e()])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wrap-Demo",computed:{formTheme:()=>()=>r.e(0).then(r.bind(null,812))},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{step:1,chatLink:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},mounted(){this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/se
1nd/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat.replace(/[^0-9\.]+/g,"")))},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:"Demo"}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v("Demo")])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-1140 mrau"},[e("div",{staticClass:"ww fl mt10 mb50 pb50 WrapGutter"},[e("div",{staticClass:"ww fl px10"},[e("div",{staticClass:"cq-row cq-gap-40 ww fl mb15"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#0123c5",transform:"translate(.29201 .19442)",d:"m13.851-0.19391c-0.10141-0.003076-0.20631 0.007809-0.31231 0.033573-0.59854 0.14548-0.65573 0.73466-0.65573 1.2396v2.4824c0 0.38539-0.06636 0.84192 0.02497 1.2178 0.12581 0.51751 0.70701 0.76039 1.1928 0.63908 0.45437-0.11349 0.6806-0.52414 0.70074-0.96694 0.03738-0.8239 0.0018-1.6576 0.0018-2.4824 0-0.44966 0.06906-0.9653-0.03193-1.4051-0.10755-0.46868-0.48089-0.74467-0.92034-0.758zm-6.6435 2.7302c-0.057621-1.311e-4 -0.11731 0.0052131-0.1793 0.016832-0.61451 0.11518-0.96982 0.81969-0.68134 1.3833 0.17545 0.3428 0.55268 0.62074 0.82186 0.88992l1.733 1.733c0.3162 0.31611 0.63901 0.62843 1.1241 0.53049 0.67278-0.13578 0.99672-0.87522 0.64521-1.4672-0.20136-0.3392-0.5557-0.61306-0.83256-0.88992l-1.6393-1.6393c-0.28594-0.28549-0.58829-0.5561-0.99164-0.55702zm13.218 9.148e-4c-0.04673 0.0017-0.09425 0.00689-0.14243 0.015918-0.44065 0.082589-0.72964 0.47357-1.0304 0.77438l-1.5456 1.5456c-0.24529 0.24529-0.57236 0.49222-0.7452 0.79624-0.37011 0.651 0.18132 1.5294 0.93255 1.4371 0.46575-0.057189 0.76547-0.42279 1.0773-0.73458l1.5456-1.5456c0.27119-0.27119 0.6221-0.54161 0.79624-0.88992 0.32788-0.65575-0.18707-1.4247-0.888-1.3992zm1.9959 6.1034c-0.23683 0.00446-0.47605 0.026346-0.68637 0.026346h-1.9203c-0.33011 0-0.70739-0.049868-1.0304 0.024791-0.86673 0.20037-0.95802 1.4919-0.14051 1.8261 0.37035 0.15142 0.87137 0.06943 1.2646 0.06943h2.1077c0.3407 0 0.75132 0.06139 1.0773-0.05196 0.81882-0.28473 0.81882-1.5317 0-1.8164-0.20063-0.069788-0.43508-0.082768-0.67192-0.078307zm-5.0876 4.0064c-0.06042 0.0024-0.12326 0.01081-0.18891 0.02598-0.62655 0.14482-0.91842 0.88133-0.59819 1.4272 0.20932 0.35681 0.58887 0.64641 0.87921 0.93675 0.5776 0.5776 1.1515 1.1592 1.733 1.7328 0.32262 0.31826 0.7051 0.52647 1.1709 0.39181 0.58912-0.1703 0.82374-0.91335 0.51494-1.4221-0.20459-0.337-0.56567-0.61278-0.8428-0.88992l-1.6393-1.6393c-0.30233-0.30221-0.6059-0.57986-1.0289-0.56324z"}}),t._v(" "),e("path",{attrs:{fill:"#cfe1f3",transform:"translate(.29201 .19442)",d:"m2.9067 14.194c0.46294-0.92935 1.5323-1.0447 2.4356-1.2706l6.2294-1.5572 1.733-0.43344c0.18979-0.04745 0.52833-0.0674 0.65863-0.22885 0.32763-0.40608-0.13068-1.0452-0.51812-1.1875-0.28103-0.10314-0.56533-0.022904-0.84308 0.046557l-1.0773 0.26913-6.3231 1.581-1.9672 0.4918c-0.34993 0.08745-0.74692 0.13864-1.0773 0.2851-0.56569 0.25072-0.72398 1.0171-0.30958 1.4801 0.23965 0.26772 0.72053 0.42711 1.059 0.52388z"}}),t._v(" "),e("path",{attrs:{fill:"#ff62ac",transform:"translate(.29201 .19442)",d:"m13.308 7.5458c-0.09532-0.00542-0.18925-0.00403-0.2832 0.00195-0.52805 0.033676-1.0347 0.20573-1.5469 0.32227-2.54 0.57784-5.0605 1.2665-7.5879 1.8984-1.057 0.26426-2.3771 0.38213-3.2305 1.1133-1.1731 1.005-1.2668 2.9161-0.24609 4.0566 0.43067 0.48126 0.98401 0.69891 1.5566 0.95703 0.36298 0.1636 0.73666 0.3609 1.125 0.45312-0.6137 0.87123-1.5962 1.3713-1.9434 2.4355-0.095357 0.29227-0.11729 0.58566-0.11719 0.89062 6.136e-4 1.9095 1.8412 3.2086 3.6523 2.6953 1.0938-0.31002 1.6038-1.3284 2.4824-1.9473 0.084636 0.35629 0.26342 0.69573 0.4082 1.0312 0.2407 0.55784 0.46153 1.1435 0.91211 1.5723 1.1103 1.0566 3.0624 1.0609 4.0996-0.12109 0.48009-0.54711 0.63317-1.1869 0.80469-1.873l0.41992-1.6855 1.9336-7.7285c0.09883-0.39536 0.22461-0.80745 0.22461-1.2188 0-0.73952-0.31148-1.5358-0.84375-2.0527-0.46786-0.45438-1.153-0.76285-1.8203-0.80078zm-0.17969 1.9219c0.10579-0.00266 0.21102 0.010151 0.31641 0.048828 0.38744 0.1423 0.75342 0.59162 0.59375 1.1875-0.294 1.0972-0.53598 2.0585-0.80859 3.0684l-1.4297 5.7148c-0.14997 0.59994-0.21612 1.3815-0.52539 1.9199-0.2125 0.37006-0.59755 0.5315-1.0137 0.45117-0.50051-0.096673-0.66909-0.60301-0.84375-1.0137-0.31948-0.75118-0.64705-1.4987-0.9707-2.248-0.17208-0.3984-0.43167-0.78096-0.90234-0.83398-0.46908-0.052833-0.77684 0.29839-1.0781 0.59961-0.56205 0.562-1.122 1.1248-1.6855 1.6855-0.42003 0.41798-1.0156 0.76322-1.541 0.27148-0.52179-0.48828-0.23798-1.1114 0.18359-1.5352 0.56057-0.5635 1.1234-1.1234 1.6855-1.6855 0.26871-0.26871 0.60105-0.53428 0.64648-0.9375 0.041217-0.36599-0.16967-0.69899-0.45898-0.9
10625-0.2466-0.17667-0.56666-0.27305-0.84375-0.39258-0.5151-0.22224-1.0272-0.45271-1.5449-0.66797-0.33847-0.09677-0.81894-0.25572-1.0586-0.52344-0.4144-0.463-0.2571-1.2297 0.30859-1.4805 0.33038-0.14646 0.7282-0.19771 1.0781-0.28516l1.9668-0.49219 6.3223-1.5801 1.0781-0.26953c0.17359-0.043413 0.34908-0.091272 0.52539-0.095703z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("HİÇ BİR ZORUNLULUK YOK")])]),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#ff62ac",transform:"translate(.54785 .49802)",d:"m8.4404-0.49674c-1.6143-0.007715-3.231 0.022023-4.8435 0.022023-1.071 0-2.196-0.14052-3.088 0.5833-0.44982 0.36498-0.79056 0.86892-0.94765 1.4286-0.17681 0.62995-0.081697 1.3628-0.081697 2.0119v1.8247c0 0.38245-0.040081 0.79068 0.014073 1.1697 0.097121 0.67974 0.4773 1.3305 1.0153 1.7537 0.75417 0.59332 1.5712 0.58568 2.4798 0.58568h2.1055v1.8715c-0.43494 0-1.0652-0.11732-1.4497 0.11615-0.61517 0.37351-0.56448 1.3877 0.092846 1.689 0.30736 0.14088 0.74511 0.06634 1.0761 0.06634h2.3394c0.39045 0 0.91595 0.09431 1.2626-0.11615 0.57704-0.35035 0.57704-1.2889 0-1.6392-0.38446-0.23347-1.0148-0.11614-1.4497-0.11614v-1.8715h2.0119c0.41267 0 0.8544 0.044319 1.2633-0.014073 0.76831-0.10977 1.5173-0.58482 1.9217-1.2492 0.51416-0.84457 0.41771-1.7662 0.41771-2.7137v-1.8247c0-0.39756 0.04221-0.82254-0.01407-1.2165-0.09241-0.64659-0.43833-1.2447-0.9217-1.6762-0.18411-0.16437-0.38788-0.28524-0.60825-0.39386-0.30333-0.14949-0.64189-0.26019-0.98256-0.26867-0.53732-0.013373-1.0752-0.020091-1.6133-0.022663zm1.0439 1.8849c0.34716 0.00685 0.69511 0.060708 0.93376 0.29937 0.32284 0.32284 0.29069 0.83332 0.29069 1.2533 0 0.93573 0.0044 1.8716-9.4e-5 2.8073-0.0019 0.39695-0.06278 0.84108-0.42173 1.0775-0.43691 0.28775-1.0938 0.18578-1.5901 0.18578h-4.7256c-0.15091 0-0.36249 0.035067-0.48433-0.075026-0.26213-0.23694-0.26271-0.86322-0.26428-1.1883-0.00496-1.0292-0.00496-2.0589 0-3.088 0.0015112-0.31374-8.753e-4 -1.0217 0.2991-1.2152 0.13173-0.084977 0.34726-0.048068 0.4963-0.048068h4.866c0.184 0 0.392-0.012793 0.6003-0.00868zm9.811 8.97c-1.6143-0.0077-3.231 0.02202-4.8435 0.02202-1.071 0-2.196-0.14042-3.088 0.58339-0.44982 0.36495-0.79058 0.86882-0.94765 1.4285-0.17681 0.62996-0.0817 1.3628-0.0817 2.0119v1.8247c0 0.38245-0.04006 0.79068 0.01407 1.1697 0.09713 0.67974 0.4773 1.3305 1.0153 1.7537 0.75418 0.59332 1.5712 0.58568 2.4798 0.58568h2.1055v1.8715c-0.43494 0-1.0652-0.11732-1.4497 0.11615-0.61517 0.37351-0.56439 1.3877 0.09294 1.689 0.30735 0.14088 0.74502 0.06634 1.076 0.06634h2.3394c0.39045 0 0.91595 0.0943 1.2626-0.11615 0.57704-0.35035 0.57704-1.2889 0-1.6392-0.38446-0.23347-1.0148-0.11615-1.4497-0.11615v-1.8715h2.0119c0.41267 0 0.8544 0.04432 1.2633-0.01407 0.76831-0.10977 1.5173-0.58482 1.9217-1.2492 0.51416-0.84457 0.41771-1.7662 0.41771-2.7137v-1.8247c0-0.39756 0.04221-0.82254-0.01407-1.2165-0.09241-0.64661-0.43832-1.2448-0.92169-1.6762-0.18411-0.16442-0.38788-0.28522-0.60825-0.39386-0.30333-0.14949-0.64189-0.26011-0.98256-0.26858-0.53732-0.01338-1.0752-0.02018-1.6133-0.02275zm-5.4046 1.866c0.42321-0.0013 0.853 0.0276 1.2629 0.0276h5.0531c0.33065 1.4e-4 0.70473 9e-3 0.98054 0.21704 0.39433 0.29743 0.37632 0.83664 0.37632 1.2802 0 1.0154 0.08993 2.0776-8e-3 3.088-0.04524 0.46746-0.24878 0.86788-0.74066 0.9768-0.6657 0.14734-1.4263 0.05255-2.1055 0.05255h-4.0238c-0.62149 0-1.6401 0.18773-2.1473-0.25222-0.40832-0.35419-0.33245-0.9946-0.33245-1.479v-2.1055c0-0.38137-0.04404-0.805 0.09202-1.1697 0.14107-0.3781 0.46724-0.53368 0.84374-0.58824 0.24352-0.03526 0.49506-0.04684 0.74898-0.04761z"}}),t._v(" "),e("path",{attrs:{fill:"#cfe1f3",transform:"translate(.54785 .49802)",d:"m3.5033 7.0114c-0.36863-0.89876-0.28073-1.8524-0.28073-2.8073 0-0.95494-0.087897-1.9086 0.28073-2.8073-0.57706 0-1.4191-0.16188-1.8666 0.28564-0.33012 0.33012-0.28564 0.78242-0.28564 1.2116v2.6669c0 0.41075-0.028405 0.85075 0.28564 1.1648 0.447
15 0.44753 1.2896 0.28564 1.8666 0.28564z"}}),t._v(" "),e("path",{attrs:{fill:"#0123c5",transform:"translate(.54785 .49802)",d:"m15.351 3.0506c-0.16936 0.00191-0.33325 0.017103-0.47858 0.060953-0.71956 0.21713-0.83077 1.2851-0.23211 1.6957 0.24395 0.16732 0.51163 0.14548 0.79357 0.14548 0.66846 0 1.7752-0.20781 2.2827 0.33245 0.25846 0.27512 0.29013 0.6654 0.29069 1.0244 8.89e-4 0.54405-0.07389 1.1468 0.01005 1.6844 0.08923 0.57175 0.74137 0.82593 1.2532 0.67149 0.28138-0.084921 0.52499-0.33658 0.58979-0.6247 0.07524-0.3343 0.01846-0.73439 0.01846-1.0761 0-0.72484 0.10216-1.5198-0.20178-2.1991-0.3896-0.87055-1.1783-1.5332-2.1376-1.6703-0.43873-0.062682-0.91406-0.014073-1.3569-0.014073-0.25181 0-0.54924-0.033799-0.8315-0.030613zm-11.419 11.246c-0.098125 0.0018-0.19589 0.01643-0.28923 0.0446-0.26754 0.08071-0.49718 0.31037-0.57791 0.57791-0.089398 0.29626-0.030339 0.67539-0.030339 0.98256 0 0.6206-0.086161 1.3134 0.064334 1.9183 0.26574 1.0682 1.1419 1.8918 2.2283 2.0837 0.44879 0.07931 0.94863 0.02175 1.4037 0.02175 0.41595 0 1.0194 0.10972 1.4036-0.06634 0.65733-0.30136 0.70811-1.3155 0.092937-1.689-0.23118-0.14036-0.48816-0.11615-0.74788-0.11615-0.68269 0-1.829 0.21677-2.3211-0.37632-0.22561-0.27194-0.25166-0.64195-0.25222-0.98056-8.89e-4 -0.54391 0.10099-1.2003-0.018459-1.7312-0.099182-0.44102-0.53039-0.6769-0.9556-0.66929z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("HEMEN KURULUMU YAPIYORUZ")])]),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#ff62ac",transform:"matrix(.046768 0 0 .046768 .033678 .0453)",d:"m253.61-0.79102c-5.6224 0.11864-11.183 0.50148-16.613 1.2148-50.108 6.5823-96.27 21.449-136 54-9.2958 7.6162-22.663 17.358-27.637 28.576-5.2375 11.814 1.5552 26.374 14.637 28.672 13.547 2.38 20.843-8.1563 30-16.096 16.794-14.562 34.454-28.214 55-37.152 25.306-11.01 52.343-17.732 80-18.41 61.946-1.5178 125.22 28.819 165.71 74.986 13.086 14.918 24.684 31.935 32.977 50 38.703 84.299 19.463 186.43-48.691 249.91-17.922 16.694-39.356 30.683-62 40.078-7.497 3.111-15.193 5.9304-23 8.1523-5.661 1.612-12.033 2.5798-16.961 5.9688-13.732 9.442-9.347 34.418 7.9609 36.703 6.478 0.855 12.83-1.2997 19-2.9277 14.192-3.744 27.627-9.0504 41-15.023 65.397-29.208 113.91-90.661 133.29-158.86 13.322-46.884 13.673-98.075 0.28321-145-25.953-90.947-104.88-164.7-198.57-180.41-16.099-2.7008-33.519-4.7329-50.387-4.377zm-233.1 45.889c-1.4771-0.034364-2.9866 0.083279-4.5117 0.36914-7.5188 1.4093-13.942 6.8777-15.609 14.533-2.024 9.2908-0.39062 20.504-0.39062 30 0 16.031-2.5359 34.49 1.9102 50 1.6016 5.587 4.0409 11.105 7.1797 16 2.7782 4.332 6.0901 8.3772 9.9141 11.826 19.859 17.916 45.245 15.174 69.996 15.174h23c4.292 0 8.948 0.46548 13-1.2285 15.415-6.448 17.03-29.407 1.998-37.33-6.077-3.203-13.373-2.4414-19.998-2.4414h-36c-10.626 0-19.471 0.34608-26.58-9.0039-4.7879-6.297-4.4199-15.483-4.4199-22.996 0-15.189 1.1877-30.871 0.24023-46-0.68215-10.892-9.389-18.662-19.729-18.902zm20.75 268.05c-1.3678-0.016-2.7886 0.0785-4.2617 0.29297-20.243 2.947-30.582 29.377-14.814 44.229 6.0294 5.68 14.831 7.2073 22.814 6.0273 29.78-4.4006 24.074-50.224-3.7383-50.549zm41.549 73.205c-0.60467 0.0153-1.2083 0.0532-1.8105 0.11328-20.844 2.078-31.921 29.032-15.814 44.203 6.0356 5.686 14.817 7.1416 22.814 6.1426 17.398-2.174 24.967-23.271 17.326-37.814-4.2684-8.1262-13.446-12.875-22.516-12.645zm67.031 50.945c-0.92308 9e-3 -1.8706 0.0675-2.8418 0.17774-20.756 2.357-32.023 28.923-15.814 44.193 6.155 5.798 14.676 7.1586 22.814 6.1426 29.78-3.719 24.457-50.784-4.1582-50.514zm84.01 24.148c-0.9245-0.0265-1.8748-5e-3 -2.8516 0.0684-6.449 0.482-13.274 2.7839-17.787 7.5879-8.921 9.495-8.5433 27.602 0.97266 36.566 6.002 5.654 13.888 6.8844 21.814 6.2344 29.951-2.4577 26.511-49.635-2.1484-50.457z"}}),t._v(" "),e("path",{attrs:{fill:"#0123c5",transform:"matrix(.046768 0 0 .046768 .033678 .0453)",d:"m224.44 123.74c-5.8861 0.00388-11.752 0.27792-1
17.439 1.3574-18.068 3.429-32.283 17.83-35.535 35.904-1.275 7.082-0.46484 14.825-0.46484 22 0 14.866 0.63614 27.993 6.2031 42 4.125 10.381 11.635 23.684 21.797 29-14.476 14.478-25.173 31.303-27.715 52-0.963 7.847-0.28516 16.102-0.28516 24 0 16.056 0.7739 30.743 13.172 42.711 13.159 12.703 28.851 12.289 45.828 12.289h54c12.702 0 25.55 1.1661 37-5.4648 20.026-11.597 23-31.451 23-52.535 0-15.671-1.4333-30.5-7.8613-45-2.84-6.407-6.6923-12.725-11.322-18-2.073-2.361-6.7548-5.524-6.7598-9-4e-3 -2.389 2.3612-4.351 3.7832-6 3.537-4.101 6.927-8.339 9.707-13 7.405-12.414 10.925-25.726 12.283-40 1.945-20.432 1.6387-44.423-14.115-59.561-12.905-12.401-28.973-12.439-45.715-12.439h-42c-5.768 0-11.674-0.26559-17.561-0.26172zm66.24 40.684c3.9507-0.0592 7.7692 0.34164 9.8867 2.1816 4.117 3.578 2.4336 12.539 2.4336 17.396 0 18.655-5.532 37.591-24 46.1-22.504 10.368-53.642 2.7744-63.768-21.1-4.325-10.197-3.2334-21.174-3.2324-32 0-3.715-0.99656-9.3818 3.1484-11.258 5.29-2.393 14.135-0.74219 19.852-0.74219h45c2.6455 0 6.7289-0.51889 10.68-0.57812zm-32.961 110.29c12.89 0.19463 25.709 5.0023 34.098 14.301 9.77 10.829 11.184 24.036 11.184 37.984 0 5.037 0.435 10.146-1 15-17.181-12.103-28.246-36.276-53-29.51-3.603 0.985-7.051 2.5934-10 4.9004-9.313 7.288-16.194 19.57-27 24.609 0-18.827-2.9554-39.003 11.184-53.91 8.6815-9.152 21.645-13.57 34.535-13.375z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("TAM ERİŞİM SAĞLIYORUZ")])])]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"cq-row cq-gap-40 ww fl mb15"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#0123c5",transform:"matrix(.046773 0 0 .046773 .033599 .027309)",d:"m145.45-0.52344c-6.5935-0.14935-13.171-0.073315-19.453 0.82422-14.66 2.0945-28.265 10.277-37.533 21.699-16.907 20.837-12.467 49.026-12.467 74-8.103 0-16.99-1.0375-25 0.21289-15.973 2.4937-20.181 25.271-8.8145 35.258 5.5555 4.881 11.893 4.5293 18.814 4.5293h31c6.1896 0 11.745 0.20693 16.906-3.7891 7.715-5.976 7.0938-14.448 7.0938-23.211 0-15.915-1.9392-33.278 0.5918-49 1.305-8.1072 5.3692-15.035 13.408-18.033 8.081-3.0139 17.55-1.9668 26-1.9668h251c9.463 0.0152 19.446 1.3853 25.029 10.004 4.353 6.7202 3.9707 15.323 3.9707 22.996v341c0 15.421 5.2764 42.888-9.0156 53.361-7.111 5.21-16.627 4.6387-24.984 4.6387h-247c-8.152 0-17.204 0.9402-25-1.9668-16.797-6.265-12.72-24.111-14.105-38.033-0.761-7.65-7.2655-14.594-14.895-15.785-10.124-1.581-21.13 2.1082-24.352 12.785-1.227 4.066-0.64844 8.802-0.64844 13 0 17.119 0.7197 32.776 11.68 47 21.123 27.415 53.662 23 84.32 23h203c29.547 0 62.371 5.3791 84.961-18.004 16.062-16.626 16.039-36.437 16.039-57.996v-361c0-19.169 0.34824-37.204-12.469-53-9.268-11.422-22.871-19.605-37.531-21.699-10.333-1.4763-21.568-0.30078-32-0.30078h-229c-6.344 0-12.953-0.37409-19.547-0.52344zm131.24 75.959c-4.1403-0.045036-8.3825 0.34897-12.689 1.2305-21.969 4.4963-40.138 20.543-46.254 42.334-9.038 32.201 11.572 73.086 47.254 76-6.64 2.806-14.123 3.2256-21 5.5156-14.546 4.844-27.95 12.851-38.961 23.574-31.754 30.923-45.701 96.816-1.0391 123.46 14.762 8.806 29.411 8.4531 46 8.4531h45c13.582 0 27.923 1.557 41-2.748 5.556-1.829 11.277-4.7347 16-8.1797 28.581-20.85 29.001-60.1 16.127-90.072-14.262-33.206-45.882-54.522-81.127-59 7.183-2.71 14.235-4.4569 21-8.3379 11.587-6.648 20.425-18.172 24.91-30.662 14.227-39.626-16.198-81.129-56.221-81.564zm-0.84765 41.389c5.9425 4e-3 11.92 2.4465 15.52 7.2188 7.699 10.208 3.2356 26.677-9.3613 30.318-7.534 2.178-16.561-0.0413-21.361-6.4043-7.699-10.208-3.2356-26.677 9.3613-30.318 1.8835-0.5445 3.861-0.81572 5.8418-0.81445zm10.115 120.4c6.3017-0.058 14.749 4.2895 19.043 6.7969 16.437 9.596 29.504 27.44 29.984 46.982 0.22297 9.07-0.99636 17.627-9.9863 22.16-6.077 3.065-13.378 2.8398-19.998 2.8398h-27c-4.439 0-12.808 1.5995-16.352-1.6035-5.045-4.561-4.6484-14.268-4.6484-20.396 0-16.121 5.2205-32.017 14.896-45 2.734-3.669 5.8852-8.894 10.119-10.957 1.1484-0.55931 2.4872-0.80889 3.9414-0.82227zm44.982 158.13c-6.3977-0.01387-13.027 0.64453-18.939 0.64453h-88c-4.795 0-10.36-0.75156-15 0.64844-17.563 5.3-17.563 33.403 0 38.703 9.392 2.834 22.223 0.64844 32 0.64844h90c4.64 0 9.667 0.56703 13.998-1.418 15.749-7.221 14.889-34.164-2.998-38.188-3.4661-0.78-7.2219-1.
10307-11.061-1.0391z"}}),t._v(" "),e("path",{attrs:{fill:"#ff62ac",transform:"matrix(.046773 0 0 .046773 .033599 .027309)",d:"m95.795 175.71c-7.9569 0.1979-15.844 4.5264-18.801 12.289-3.0371 7.972-0.99414 19.546-0.99414 28-8.4542 0-20.028-2.0439-28 0.99414-12.277 4.676-16.075 21.758-8.2109 31.912 7.8368 10.118 22.954 7.0938 34.211 7.0938 10.503 0 26.119 3.0159 34.906-3.7891 3.493-2.706 6.1919-6.8089 6.8789-11.211 2.039-13.061 0.21484-27.778 0.21484-41 0-7.037 0.0169-13.328-5.3281-18.672-3.9548-3.9552-9.4328-5.7526-14.877-5.6172zm0.9707 119.97c-8.2899-0.14601-16.702 4.2596-19.771 12.316-3.0371 7.972-0.99414 19.546-0.99414 28-8.4542 0-20.028-2.0429-28 0.99414-13.074 4.98-16.407 23.943-6.6719 33.678 5.3445 5.345 11.635 5.3281 18.672 5.3281 13.222 0 27.939 1.8242 41-0.21484 4.402-0.687 8.5049-3.3859 11.211-6.8789 6.805-8.787 3.7891-24.403 3.7891-34.906 0-11.257 3.0242-26.374-7.0938-34.211-3.4906-2.7032-7.7983-4.029-12.141-4.1055z"}}),t._v(" "),e("path",{attrs:{fill:"#cfe1f3",transform:"matrix(.046773 0 0 .046773 .033599 .027309)",d:"m262 316c-8.456-20.617-5.095-42.024 6.464-61 3.921-6.438 9.3-11.805 13.536-18-26.311-6.264-52.913 14.808-61.997 38-4.569 11.666-7.07 27.789 4.012 36.606 9.538 7.587 26.57 4.394 37.985 4.394z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("Aşağıdaki Formu Doldururak DEMO İSTEĞİ YAPINIZ")])]),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#0123c5",transform:"matrix(.046708 0 0 .046708 .043955 .044662)",d:"m264.11-0.83984c-8.9986-0.34021-18.063 0.061052-27.111 1.2637-65.754 8.7391-122.38 48.322-147.99 110.58-9.1453 22.23-13.012 45.073-13.012 69 0 12.596 2.4069 26.221 18 26.961 8.912 0.423 17.46-3.0639 20.855-11.963 3.183-8.346 1.4734-19.2 2.3144-27.998 1.579-16.528 6.3788-33.15 13.799-48 28.119-56.273 93.152-89.361 155.03-75.113 45.949 10.58 84.72 44.864 100.95 89.113 4.083 11.136 7.1489 23.124 7.9629 35 0.577 8.417-0.80163 19.039 2.2344 26.998 3.637 9.535 13.377 13.014 22.855 11.816 15.896-2.01 16-17.467 16-29.814 0-28.02-6.6763-56.104-19.781-81-29.304-55.673-89.117-94.458-152.11-96.84zm-203.15 232.37c-3.935-0.0776-7.9348 0.22479-11.957 0.93554-6.3771 1.127-12.257 3.36-18 6.293-4.8355 2.469-9.0864 5.5043-12.996 9.2812-22.833 22.059-18.004 53.079-18.004 81.961 0 18.872-3.0099 40.693 1.8848 59 7.981 29.851 39.134 47.833 69.115 42.535 6.3771-1.127 12.257-3.36 18-6.293 4.8355-2.469 9.0865-5.5043 12.996-9.2812 22.795-22.022 18.004-53.126 18.004-81.961v-34c0-6.935 0.64533-14.195-0.88867-21-6.2632-27.783-30.609-46.928-58.154-47.471zm393.6 0.18359c-3.9342-0.12262-7.8886 0.06744-11.561 0.46094-23.76 2.545-44.347 21.821-49.764 44.826-2.7 11.468-1.2363 24.281-1.2363 36v65c0 31.176 1.579 62.658-27 82.791-5.204 3.666-10.944 6.2627-17 8.1797-11.159 3.533-23.422 3.0293-35 3.0293 12.785-30.103-7.038-67.388-37-77.252-29.795-9.809-61.954 3.956-75.219 32.252-4.849 10.342-5.5174 21.73-4.6914 33 1.897 25.879 24.073 47.147 48.91 51.535 11.774 2.081 25.055 0.46484 37 0.46484 21.051 0 43.936 2.3549 65.08-0.64062-0.3624-0.11529-0.73268-0.21357-1.0801-0.35938 2.4837-0.10693 4.931-0.37307 7.3535-0.73047 0.54418-0.10875 1.1053-0.1678 1.6465-0.28515 13.024-2.8239 25.345-8.5916 36.188-16.447 20.455-15.846 35.113-40.315 39.812-64.537 6.6593 1.5233 13.284 2.7855 20.018 3.0684 8.9161 0.0259 17.691-1.713 25.711-5.125 17.565-8.1166 31.689-24.779 34.271-43.943 0.12474 0.29732 0.158 0.62562 0.25781 0.93164 3.1257-16.628 0.74219-35.523 0.74219-51.932 0-32.833 5.695-72.332-28-91.662-5.699-3.27-11.618-5.679-18-7.207-3.591-0.859-7.5052-1.2953-11.439-1.418zm-396.41 41.158c9.6225-0.79199 18.539 5.2467 20.727 15.129 2.2779 10.289 1.123 21.523 1.123 32 0 15.953 0.65984 32.064-0.03906 48-0.4188 9.551-3.8414 19.436-13.961 22.361-11.087 3.205-22.377-3.0673-24.877-14.361-2.2779-10.289-1.123-21.523-1.123-32 0-15.953-0.65984-32.064 0.03906-48 0.4188-9.551 3.8414-19.436 13.961-22.361 1.3859-0.40062 2.7757-0.65443 4.1504-0.76758zm392 0c9.6224-0.79199 18.538 5.2467 20.727 15.129 2.277 10.289 1.123 21.523 1.123 32 0 15.953 0.65994 32.064-0.0391 48-0.419 9.551-3.841 19.436-13.961 22.361-11.087 3.205-22.376-3.0673-24.877-14.361-2.277-10.289-1.123-21.523-1.123-32 0-15.953-0.65994-32.064 0.0391-48 0.419-9.551 3.841-19.436 13.961-22.361 1.3859-0.40062 2.7758-0.65443 4.1504-0.76758zm-194.31 159.95c5.9425 4e-3 11.92 2.4465 15.52 7.2188 7.699 10.208 3.2357 26.677-9.3613 30.318-7.534 2.178-16.561-0.0413-21.361-6.4043-7.699-10.208-3.2357-26.677 9.3613-30.318 1.8835-0.5445 3.861-0.81572 5.8418-0.81445z"}}),t._v(" "),e("path",{attrs:{fill:"#ff62ac",transform:"matrix(.046708 0 0 .046708 .043955 .044662)",d:"m169 272.65c-13.085 3.948-17.249 21.879-9.211 32.258 5.235 6.758 15.163 8.873 23.211 6.444 13.085-3.948 17.249-21.879 9.211-32.258-5.235-6.758-15.163-8.873-23.211-6.444m80 0c-13.085 3.948-17.249 21.879-9.211 32.258 5.235 6.758 15.163 8.873 23.211 6.444 13.085-3.948 17.249-21.879 9.211-32.258-5.235-6.758-15.163-8.873-23.211-6.444m80 0c-13.085 3.948-17.249 21.879-9.211 32.258 5.235 6.758 15.163 8.873 23.211 6.444 13.085-3.948 17.249-21.879 9.211-32.258-5.235-6.758-15.163-8.873-23.211-6.444z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("Formunuz bize ulaştığında hemen sizi ARIYORUZ")])]),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ww fl ta-o"},[e("div",{staticClass:"w120 h120 rr ta-o",staticStyle:{"background-color":"#dde7ff61"}},[e("svg",{attrs:{width:"63",height:"63",viewBox:"0 0 24 24"}},[e("path",{attrs:{fill:"#0123c5",transform:"matrix(.046775 0 0 .046775 .032694 .023508)",d:"m304.23-0.16211c-10.413 
10.63343-20.817 3.9958-30.227 10.602-23.881 16.765-28.428 48.335-39.281 73.561-12.594 29.273-34.945 58.519-59.719 78.539-22.286 18.01-48.047 24.457-76 26.371-18.935 1.297-36.863-1.869-55 5.543-6.0459 2.47-11.879 6.1878-17 10.217-33.657 26.479-27 69.477-27 107.33v32c0 5.3932-0.75339 11.513 0.75391 16.76 0.088315-0.2492 0.14507-0.51901 0.24609-0.75977 5.271 16.505 29.336 19.279 37.08 3 0.84516-1.7767 1.4223-3.6504 1.8828-5.5625 1.0031-6.6608 0.037109-14.196 0.037109-20.438v-58c0-7.8205 0.05447-15.676 1.8887-23.002 1.0204-5.6205 3.1126-10.957 7.5762-15.824 12.083-13.177 31.635-11.582 48.318-11.254 11.738-0.185 23.753-1.0414 35.217-3.1816 38.751-7.233 70.15-29.581 95.715-58.738 18.677-21.301 34.05-45.067 45.424-71 6.393-14.578 9.1378-32.783 17.967-46 7.752-11.605 22.862-13.047 32.709-2.8945 3.8191 3.9377 5.532 9.1707 6.1211 14.715 1.9143 8.0943-1.0681 19.216-2.8086 26.18-6.681 26.728-19.399 51.129-30.818 76-3.5963 7.8314-9.8293 17.183-10.361 26.336-0.0192 0.2891-0.0282 0.57699-0.0371 0.86523-0.0524 2.9785 0.49318 5.9318 2.0098 8.7969 7.055 13.33 21.353 11.002 34.08 11.002h91c12.608 0 33.633-3.746 40.543 10.002 6.307 12.547-4.477 23.615-16.543 24.826-3.3545 0.33698-6.7579 0.4808-10.18 0.54102-2.7536 0.0652-5.5247 0.0429-8.2969 2e-3 -3e-3 -5e-5 -6e-3 6e-5 -0.01 0-6.5432-0.09694-13.102-0.37114-19.513-0.37114-2.4077 0-4.9357-0.13191-7.4531-0.16406-2.5737 9.5e-4 -5.1313 0.13499-7.5469 0.69336-10.644 2.461-16.506 13.016-14.672 23.471 1.226 6.9918 6.2208 12.66 12.852 14.904 3.0585 0.81139 6.4057 1.0942 9.8203 1.0957h52c10.226 4e-3 23.808 1.436 25.785 14 0.22759 1.4465 0.27792 2.7726 0.24804 4.043-3e-3 1.3008-0.12919 2.5376-0.43554 3.6719-2.4311 9.9822-13.846 13.281-24.598 13.285h-42c-3.0827 0-6.4566-0.21613-9.8047-0.28125-1.2112-3e-3 -2.4206 4e-3 -3.6113 0.0742-0.20283 7e-3 -0.40335 0.0197-0.60546 0.0293-1.7021 0.12324-3.374 0.33611-4.9785 0.70703-7.4579 1.724-13.191 7.7197-14.609 15.229-0.0752 0.45945-0.11242 0.93257-0.16406 1.4004-0.0803 0.66031-0.155 1.3198-0.17578 1.9766-0.0173 0.41816-5e-3 0.84184-6e-3 1.2637 0.1772 6.8114 3.5313 13.115 9.2812 16.66 4.7134 2.2771 10.663 2.9414 16.674 2.9414 17.109 0 34.973-1.4791 52 0.16992 0.35714 0.0346 0.69676 0.14353 1.0527 0.1875 8.17 0.77856 16.481 3.6208 18.553 12.643 0.2685 1.169 0.40528 2.2703 0.48242 3.3398 0.0671 0.61271 0.0804 1.2079 0.0664 1.7949-2e-3 0.0691 5.6e-4 0.14038-2e-3 0.20898-0.0218 0.54819-0.0799 1.0826-0.16796 1.6074-1.2725 9.307-10.379 13.95-20.076 14.822-0.30047 0.0311-0.61082 0.11624-0.9082 0.13672-0.61798 0.0426-1.2421 0.0427-1.8613 0.0762-0.0464 7.2e-4 -0.0923 9e-3 -0.13867 0.01-0.0417 5e-4 -0.0833-4.9e-4 -0.125 0-6.0401 0.31427-12.139 0.21567-18.254 2e-3 -7.208-0.01682-14.416 0.00164-21.621 0.00164-4.7886 0-10.042-0.50837-15.014-0.16992-0.0814 7e-3 -0.16277 0.0143-0.24414 0.0215-1.6199 0.1198-3.2114 0.32404-4.7422 0.67774-8.294 1.918-14.254 9.0257-14.906 17.471-0.79623 10.318 5.5828 19.76 15.928 21.59 0.62345 0.12143 1.2923 0.17487 1.9356 0.26758 15.582 1.4925 44.237-6.7579 51.072 12.143 0.45765 1.2664 0.68705 2.5685 0.8164 3.8848 0.32749 1.813 0.2966 3.6858-0.13281 5.5996-1.3565 9.7859-9.5928 13.33-19.227 14.469-9.2427 1.3-19.735 0.04686-27.486 0.04686-45.19 0-90.858 1.9369-136-0.0391-2.2042-0.0965-5.2753-0.39568-8.0234-0.64063-7.6472-0.3415-15.295-0.61799-22.977-0.28125-10.513 0.46135-20.755 6.6588-23.572 15.75-0.4387 2.3617-0.50128 4.8299-0.38867 7.2109 0.0413 0.87056 0.16719 1.7208 0.31446 2.5625 0.38303 1.4491 0.88551 2.9211 1.6465 4.4356 2.4197 4.8162 6.3868 7.2112 10.549 9.9922 0.48413 0.15926 0.94437 0.35774 1.4512 0.47852 6.865 1.635 14.976 0.53125 22 0.53125h180c7.453 0 14.781 0.44229 22-1.7207 25.017-7.497 41.051-30.485 41.74-56.279 0.222-8.315-2.9032-16.061-4.7402-24 25.271-7.436 35.874-40.441 31.191-64-0.963-4.846-2.5908-9.579-4.7988-14-1.341-2.684-4.1575-5.867-4.1055-9 0.044-2.659 2.2603-4.891 3.6133-7 2.213-3.447 4.1135-7.201 5.6465-11 4.375-10.842 4.8878-24.654 2.2168-36-1.765-7.497-5.36-14.87-10.002-21-2.433-3.212-8.1877-7.1608-9.0977-11.09-0.543-2.345 1.0588-4.8202 1.8848-6.9102 1.511-3.823 2.8303-7.898 3.2773-12 1.94-17.798-2.24-35.435-14.582-48.83-8.413-9.131-19.787-16.074-32.244-17.869-10.008-1.442-20.895-0.30078-31-0.30078h-79c15.103-36.276 37.427-76.131 31.572-117-4.7842-33.395-36.106-56.062-67.346-54.162z"}}),t._v(" "),e("path",{attrs:{fill:"#cfe1f3",transform:"matrix(.046775 0 0 .046775 .032694 .023508)",d:"m119 228c3.699 1.552 8.017 1 12 1h23c27.451 0 53.843-6.863 77-22.079 28.826-18.941 52.475-50.049 69.138-79.921 9.356-16.773 15.417-35.862 21.529-54 1.812-5.3771 7.859-12.439 7.664-18-0.252-7.1854-9.205-12.376-15.331-13.711-9.4-2.0484-17.677 1.1853-22.637 9.7106-3.545 6.0952-5.01 13.417-7.416 20-5.198 14.223-10.449 28.796-17.947 42-24.718 43.525-58.234 85.951-106 105-12.648 5.044-27.284 9.717-41 10z"}}),t._v(" "),e("path",{attrs:{fill:"#ff62ac",transform:"matrix(.046775 0 0 .046775 .032694 .023508)",d:"m249 318.65c-5.596 1.688-9.195 6.261-13.025 10.352-7.942 8.483-15.581 17.276-23.26 25.999-24.259 27.556-49.096 54.615-73.549 82l-17.997 20c-4.761 5.288-9.204 10.503-16.169 12.892-13.623 4.671-23.966-3.862-33-12.892-10.512-10.508-20.481-21.527-31-31.999-9.1192-9.078-23.15-16.735-34.815-6.472-18.392 16.182 4.6586 36.315 15.815 47.471 11.766 11.766 23.141 25.932 37 35.251 16.699 11.228 38.792 13.765 58 8.321 23.887-6.771 38.35-27.996 54.169-45.572 23.055-25.617 45.945-51.383 69-77 10.637-11.818 24.191-23.559 32.698-37 10.651-16.83-4.8
119-37.099-23.867-31.351z"}})])])]),t._v(" "),e("h4",{staticClass:"ww fl py15 ln-26 fs-21 fw-6 ta-c"},[t._v("Ürün demolarımızı sizin için yayınlıyoruz TEST YAPABİLİRSİNİZ")])])]),t._v(" "),e("div",{staticClass:"wrapper-64em mrau"},[e("div",{staticClass:"cq-row cq-gap-40 ww fl my20"},[e("div",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24"},[e(t.formTheme,{tag:"component",attrs:{"selected-item":"Demo"}})],1),t._v(" "),null!=t.firmSetting.b2bWhatsappChat?e("a",{staticClass:"cq-col-lg-12 cq-col-md-12 cq-col-sm-12 cq-col-xs-24 ta-o",attrs:{href:t.chatLink,target:"_blank"}},[e("div",{staticClass:"ww fl m10 py50 px15 rds30",staticStyle:{background:"#e9f9ed"}},[e("div",{staticClass:"ww fl mt10 ta-o"},[e("i",{staticClass:"p50 icon-whatsapp txt-white rr",style:"font-size:7em;background: #16BE45;"})]),t._v(" "),e("span",{staticClass:"ww fl mt20 mb20 px10 txt-dark fs-27 ln-30 fw-7 ta-c"},[t._v(t._s(t.$t("Bize Yazın")))])])]):t._e()])])])])])]),t._v(" "),e("footerWrap")],1)},[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl mt20 mb40 pos-r ta-o"},[e("div",{staticClass:"ww mt50 pos-a tp-0 lf-0 bdrB"}),t._v(" "),e("div",{staticClass:"fl py30 px20 ta-o ln-44 fs-40 fw-8 txt-dark bg-white pos-r z1"},[t._v("DEMO İÇİN YAPMANIZ GEREKENLER")])])}],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=["mesaj"];function l(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function n(t){return function(){var e=this,r=arguments;return new Promise(function(o,n){var a=t.apply(e,r);function c(t){l(a,o,n,c,d,"next",t)}function d(t){l(a,o,n,c,d,"throw",t)}c(void 0)})}}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach(function(e){m(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function m(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var h={name:"DemoRequest",validate(t){var e=t.store,r=t.app,o=e.state.merchant_id?e.state.merchant_id:r.$cookies.get("merchant_id");return["b878449983c0d16fb5db0fdc84c07acc","88aeaae66250c43f8454e295ce7a4bcf"].includes(String(o))},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),PhoneNumberInput:()=>Promise.all([r.e(0),r.e(8)]).then(r.bind(null,78))},data(){var t={ad:"",soyad:"",firma:"",eposta:"",ceptel:"",ceptel_kod:90,sifre:"",cari_acik:1,intrelskod:0,sozlesme:1,tags:[],cari_tip:"2",mesaj:""};return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,isSubmitting:!1,isSubmitted:!1,products:[{name:"ONSO İşletme",description:"Web tabanlı barkodlu stok, satış ve ön muhasebe paketi"},{name:"ONSO Web",description:"Kitap ve kırtasiye sektörüne özel kurumsal ve e-ticaret siteleri"},{name:"ONSO Kütüphane",description:"Web tabanlı, kullanıcı dostu kütüphane otomasyonu"},{name:"ONSO Tedarik",description:"Okullar ve tedarik firmaları için sipariş, depo ve hakediş yönetimi"},{name:"ONSO B2B",description:"Güçlü B2B altyapısıyla bayilere özel satış ve sipariş kanalı"}],form:d({},t),resetForm:d({},t),rules:{ad:[{required:!0,message:"Ad zorunludur",trigger:"blur"},{min:2,message:"Ad en az 2 karakter olmalıdır",trigger:"blur"}],soyad:[{required:!0,message:"Soyad zorunludur",trigger:"blur"},{min:2,message:"Soyad en az 2 karakter olmalıdır",trigger:"blur"}],firma:[{required:!0,message:"Firma zorunludur",trigger:"blur"}],eposta:[{required:!0,message:"E-posta zorunludur",trigger:"blur"},{type:"email",message:"Geçerli bir e-posta adresi girin",trigger:["change"]}]}}}
1,methods:{submitForm(){var t=this;this.$refs.demoForm.validate(function(){var e=n(function*(e){if(!e)return t.$message.error("Lütfen zorunlu alanları kontrol edin"),!1;t.isSubmitting=!0;try{yield t.sendEmail(),yield t.signupCari(),t.isSubmitted=!0}catch(e){t.$message.error("Talep gönderilemedi, lütfen tekrar deneyin."),console.error(e)}finally{t.isSubmitting=!1}});return function(t){return e.apply(this,arguments)}}())},sendEmail(){var t=this;return n(function*(){var e="<b> Ad Soyad: </b> ".concat(t.form.ad," ").concat(t.form.soyad,"<br>\n            <b> Firma: </b> ").concat(t.form.firma,"<br>\n            <b> Tel: </b> ").concat(t.form.ceptel,"<br>\n            <b> Email: </b> ").concat(t.form.eposta,"<br>\n            <b> Mesaj: </b> ").concat(t.form.mesaj||"-","<br>"),data={subject:"".concat(t.$t("Demo Talep"),": ").concat(t.form.firma," #").concat(t.form.ceptel),mail_content:e.replace(/\t+/g,""),files:[]};try{return yield t.$apis.post("api/merchant/mailSender",data)}catch(e){var r;throw t.$message({message:(null===(r=e.response)||void 0===r||null===(r=r.data)||void 0===r||null===(r=r.KiboApp)||void 0===r||null===(r=r.Response)||void 0===r?void 0:r.kiboMessage)||"Bir hata oluştu",type:"error"}),e}})()},signupCari(){var t=this;return n(function*(){t.firmSetting.b2bnewUyeEtiket&&(t.form.tags=[{id:t.firmSetting.b2bnewUyeEtiket.id}]),t.form.sifre=t.generatePassword();var e=t.form,r=(e.mesaj,function(t,e){if(null==t)return{};var r,o,i=function(t,e){if(null==t)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(-1!==e.indexOf(o))continue;r[o]=t[o]}return r}(t,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)r=l[o],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}(e,o));try{return yield t.$apis.post("api/user/create",r)}catch(t){return null}})()},resetFormFields(){this.form=d({},this.resetForm),this.isSubmitted=!1,this.$nextTick(()=>{this.$refs.demoForm&&this.$refs.demoForm.clearValidate()})},generatePassword(){for(var t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",e="",i=0;i<10;++i)e+=t.charAt(Math.floor(62*Math.random()));return e},handleUpdateCeptel(t){this.form.ceptel=t}}},f=h,_=(r(489),r(0)),component=Object(_.a)(f,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("div",{staticClass:"demo-page"},[e("div",{staticClass:"demo-container"},[e("aside",{staticClass:"left-panel"},[e("div",{staticClass:"panel-glow"}),t._v(" "),e("div",{staticClass:"left-content"},[e("span",{staticClass:"left-badge"},[t._v("ONSO ÇÖZÜMLERİ")]),t._v(" "),t._m(0),t._v(" "),e("ul",{staticClass:"product-list"},t._l(t.products,function(r,i){return e("li",{key:i},[t._m(1,!0),t._v(" "),e("div",{staticClass:"product-info"},[e("span",{staticClass:"product-name"},[t._v(t._s(r.name))]),t._v(" "),e("span",{staticClass:"product-desc"},[t._v(t._s(r.description))])])])}),0),t._v(" "),t._m(2)])]),t._v(" "),e("main",{staticClass:"right-panel"},[e("div",{staticClass:"right-decor"}),t._v(" "),e("transition",{attrs:{name:"fade-up"}},[t.isSubmitted?e("div",{staticClass:"success-state"},[e("div",{staticClass:"success-icon"},[e("svg",{staticClass:"success-check",attrs:{viewBox:"0 0 52 52"}},[e("circle",{staticClass:"success-check-circle",attrs:{cx:"26",cy:"26",r:"24",fill:"none"}}),t._v(" "),e("path",{staticClass:"success-check-mark",attrs:{fill:"none",d:"M14 27l8 8 16-16"}})])]),t._v(" "),e("h2",{staticClass:"success-title"},[t._v("Talebiniz Alındı!")]),t._v(" "),e("p",{staticClass:"success-message"},[t._v("\n              Demo talebiniz başarıyla iletildi."),e("br"),t._v("\n              Ekibimiz "),e("strong",[t._v("en kısa sürede")]),t._v(" sizinle iletişime geçecektir.\n            ")]),t._v(" "),e("el-button",{staticClass:"new-request-button",on:{click:t.resetFormFields}},[t._v("\n              Yeni Talep Oluştur\n            ")])],1):t._e()]),t._v(" "),t.isSubmitted?t._e():e("div",{staticClass:"form-wrapper"},[t._m(3),t._v(" "),e("el-form",{ref:"demoForm",attrs:{model:t.form,rules:t.rules,"label-position":"top"},nativeOn:{submit:function(t){t.preventDefault()}}},[e("el-form-item",{attrs:{label:"Firma",prop:"firma"}},[e("el-input",{attrs:{placeholder:"Firma","prefix-icon":"el-icon-office-building"},model:{value:t.form.firma,callback:function(e){t.$set(t.form,"firma",e)},expression:"form.firma"}})],1),t._v(" "),e("el-row",{attrs:{gutter:16}},[e("el-col",{attrs:{xs:24,sm:12}},[e("el-form-item",{attrs:{label:"Ad",prop:"ad"}},[e("el-input",{attrs:{placeholder:"Adınız","prefix-icon":"el-icon-user"},model:{value:t.form.ad,callback:function(e){t.$set(t.form,"ad",e)},expression:"form.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{xs:24,sm:12}},[e("el-form-item",{attrs:{label:"Soyad",prop:"soyad"}},[e("el-input",{attrs:{placeholder:"Soyadınız","prefix-icon":"el-icon-user"},model:{value:t.form.soyad,callback:function(e){t.$set(t.form,"soyad",e)},expression:"form.soyad"}})],1)],1)],1),t._v(" "),e("el-row",{attrs:{gutter:16}},[e("el-col",{attrs:{xs:24,sm:12}},[e("phoneNumberInput",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel",modelValue:t.form.ceptel,phoneCodeValue:Number(90),disabled:!1,required:!0}
1,on:{"updated-phoneNumber":t.handleUpdateCeptel}})],1),t._v(" "),e("el-col",{attrs:{xs:24,sm:12}},[e("el-form-item",{attrs:{label:"E-posta",prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]","prefix-icon":"el-icon-message"},model:{value:t.form.eposta,callback:function(e){t.$set(t.form,"eposta","string"==typeof e?e.trim():e)},expression:"form.eposta"}})],1)],1)],1),t._v(" "),e("el-form-item",{attrs:{label:"Mesajınız",prop:"mesaj"}},[e("el-input",{attrs:{type:"textarea",rows:3,placeholder:"Demo talebinizle ilgili eklemek istedikleriniz (opsiyonel)",maxlength:"200","show-word-limit":"",resize:"none"},model:{value:t.form.mesaj,callback:function(e){t.$set(t.form,"mesaj",e)},expression:"form.mesaj"}})],1),t._v(" "),e("el-button",{staticClass:"submit-button",attrs:{type:"primary",loading:t.isSubmitting},on:{click:t.submitForm}},[t._v("\n              "+t._s(t.isSubmitting?"Gönderiliyor...":"Demo Talep Et")+"\n              "),t.isSubmitting?t._e():e("i",{staticClass:"el-icon-right"})])],1),t._v(" "),e("p",{staticClass:"privacy-note"},[t._v("\n            Formu göndererek\n            "),e("router-link",{attrs:{to:"/sayfa/kvkk"},on:{click:function(t){t.preventDefault()}}},[t._v("KVKK Aydınlatma Metni")]),t._v("'ni\n            okuduğunuzu kabul etmiş olursunuz.\n          ")],1)],1)],1)])]),t._v(" "),e("footerWrap")],1)},[function(){var t=this,e=t._self._c;return e("h1",{staticClass:"left-title"},[t._v("\n            ONSO'yu canlı demo ile"),e("br"),t._v(" "),e("span",{staticClass:"highlight"},[t._v("keşfedin.")])])},function(){var t=this._self._c;return t("span",{staticClass:"check-icon"},[t("i",{staticClass:"el-icon-check"})])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"stats-row"},[e("div",{staticClass:"stat"},[e("span",{staticClass:"stat-value"},[t._v("KiBO Katalog")]),t._v(" "),e("span",{staticClass:"stat-label"},[t._v("Türkiye'nin en kapsamlı kitap kataloğu, birçok firma tarafından online kullanılıyor")])])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-header"},[e("span",{staticClass:"badge"},[t._v("DEMO TALEBİ")]),t._v(" "),e("h2",{staticClass:"form-title"},[t._v("\n              Sizi "),e("span",{staticClass:"form-title-highlight"},[t._v("arayalım.")])]),t._v(" "),e("p",{staticClass:"form-subtitle"},[t._v("\n              Demo talebinizi oluşturun; talebiniz alındıktan sonra ekibimiz\n              en kısa sürede sizinle iletişime geçecek ve size özel bir demo\n              oturumu planlayacaktır.\n            ")]),t._v(" "),e("div",{staticClass:"form-meta"},[e("span",{staticClass:"meta-chip"},[e("i",{staticClass:"el-icon-aim"}),t._v(" Size özel senaryolar\n              ")])])])}],!1,null,"0429e3a2",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={ceptel:90,authorOrEditorPhoneNumber:90},l={name:"eserBasvuruForm",components:{headerWrap:header.default,footerWrap:footer.default,phoneNumberInput:()=>Promise.all([r.e(0),r.e(8)]).then(r.bind(null,78))},data(){return{formLoading:!1,formData:{name:"",email:"",ceptel:"",eserType:"",eserCondition:"",eserIsSubmmitedElse:"",eserTitle:"",authorOrEditorNames:"",authorOrEditorJob:"",authorOrEditorPhoneNumber:"",authorOrEditorPhoneEmail:"",eserFieldOrDiscipline:"",eserKeys:"",eserMainHighlights:"",eserWordCount:"",eserFundingInstitution:"",eserSummary:"",eserContents:"",eserHakemSuggestion:"",comments:""},formDescription:"",allowedTypes:["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.ms-office"],cvFile:null,eserFile:null,basvuruContent:null,imageMerchantId:"3c36340a06ac7d139447b43f915c35b8",formDataPhoneCodes:Object.assign({},o),resetFormDataPhoneCodes:Object.assign({},o),firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],email:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],eserType:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserCondition:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserTitle:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],authorOrEditorNames:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],authorOrEditorJob:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],authorOrEditorPhoneNumber:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],authorOrEditorPhoneEmail:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],eserFieldOrDiscipline:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserKeys:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserMainHighlights:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserWordCount:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserFundingInstitution:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserSummary:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserContents:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserHakemSuggestion:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eserIsSubmmitedElse:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],comments:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},created(){this.getTaslak()}
1,methods:{submitForm(){this.$refs.eserBasvuruForm.validate(t=>{if(!t)return!1;if(this.cvFile)if(this.eserFile){this.formLoading=!0;var e="<b> Ad Soyad: </b> ".concat(this.formData.name,"<br> \n\t\t\t\t\t\t<b> (+) Telefon:  </b>  +").concat(this.formDataPhoneCodes.ceptel," - ").concat(this.formData.ceptel,"<br> \n\t\t\t\t\t\t<b> Email: </b> ").concat(this.formData.email,"<br> \n\t\t\t\t\t\t<br> \n\t\t\t\t\t\t<b> Eserin Türü </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserType," </p><br>\n\t\t\t\t\t\t<b> Eserin Durumu </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserCondition," </p><br>\n\t\t\t\t\t\t<b> Eseri Başka Bir  Yayınevine Önerdiniz mi?</b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserIsSubmmitedElse," </p><br>\n\t\t\t\t\t\t<b> Yazar Tarafından Önerilen Başlık </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserTitle," </p><br>\n\t\t\t\t\t\t<b> Eser Yazar/Yazarları (Derleme Eserler için Editör İsmi) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.authorOrEditorNames," </p><br>\n\t\t\t\t\t\t<b> Yazarın / Editörün Mesleği, Kurumu ve Unvanı (Birden fazla yazar ya da editör var ise her biri için belirtiniz) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.authorOrEditorJob," </p><br>\n\t\t\t\t\t\t<b> Yazarın / Editörün Telefonu (Lütfen Yayınevi ile iletişimden sorumlu olan yazarın telefon bilgilerini yazınız) </b> <br> \n\t\t\t\t\t\t<p> +").concat(this.formDataPhoneCodes.authorOrEditorPhoneNumber," - ").concat(this.formData.authorOrEditorPhoneNumber," </p><br>\n\t\t\t\t\t\t<b> Yazarın / Editörün e-Posta Adresi (Lütfen Yayınevi ile iletişimden sorumlu olan yazarın e-Posta bilgilerini yazınız) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.authorOrEditorPhoneEmail," </p><br>\n\t\t\t\t\t\t<b> Eserin Alanı / Disiplini (Birden fazla alan da belirtebilirsiniz) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserFieldOrDiscipline," </p><br>\n\t\t\t\t\t\t<b> Eserle İlgili Anahtar Kelimeler (Lütfen 3-5 anahtar kelime belirtiniz) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserKeys," </p><br>\n\t\t\t\t\t\t<b> Eserde cevap aranılan sorular ile eserin konu bakımından karşılaştırılabileceği eserler nelerdir? Aynı zamanda eseri diğerlerinden ayıran karakteristik niteliklerle ilgili neler söylenebilir? </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserMainHighlights," </p><br>\n\t\t\t\t\t\t<b> Kelime Sayısı (Eser henüz tamamlanmadıysa öngörülen kelime sayısını belirtiniz) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserWordCount," </p><br>\n\t\t\t\t\t\t<b> Eserin Fonlandığı Kurum ya da Kuruluşlar (Var ise belirtiniz) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserFundingInstitution," </p><br>\n\t\t\t\t\t\t<b> Eserin Özeti </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserSummary," </p><br>\n\t\t\t\t\t\t<b> İçindekiler Listesi (Derleme eserlerde yazar önerileriyle birlikte yazınız) </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserContents," </p><br>\n\t\t\t\t\t\t<b> Hakem Önerileri </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.eserHakemSuggestion," </p><br>\n\t\t\t\t\t\t<b> Önerilen eserle ilgili belirtmek istediğiniz diğer hususlar nelerdir? </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.comments," </p><br>"),r=[this.cvFile,this.eserFile],data={subject:this.$t("Eser Başvuru Formu")+": "+this.formData.eserType+" #"+this.formData.ceptel,mail_content:e.replace(/\t+/g,""),files:r};this.$apis.post("api/merchant/mailSender",data).then(t=>{this.formLoading=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$refs.eserBasvuruForm.resetFields(),this.formDataPhoneCodes=Object.assign({},this.resetFormDataPhoneCodes),this.removeCvFile(),this.removeEserFile()}).catch(t=>{this.formLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}else this.$message.error("Eser dosyanızı yükleyiniz!");else this.$message.error("CV dosyanızı yükleyiniz!")})},handleUploadBefore(t){var e=this.allowedTypes.includes(t.type),r=t.size/1024/1024<2;return e?r?[this.cvFile,this.eserFile].some(e=>e&&e.name===t.name)?(this.$message.error("Bu isimde bir dosya zaten eklenmiş. Lütfen farklı bir isimle tekrar deneyin"),!1):e:(this.$message.error("Dosya boyutu en fazla 2MB olabilir"),!1):(this.$message.error("Sadece PDF ve DOC dosyaları yüklenebilir!"),!1)},handleUploadSuccess(t,e,r,o){var l=new FileReader;l.onload=()=>{var data={base64Data:l.result.split(",")[1],name:e.name};"cv"==o?this.cvFile=data:this.eserFile=data}
1,l.readAsDataURL(e.raw)},handleUploadRemove(t,e,r){"cv"==r?this.removeCvFile():this.removeEserFile()},removeEserFile(){this.eserFile=null},removeCvFile(){this.cvFile=null},handleUpdateCeptel(t,e){this.formData[e]=t},handeUpdatePhoneCode(t,e){this.formDataPhoneCodes[e]=t},getTaslak(){this.firmSetting.b2bEserBasvuruId?this.$apis.get("api/content/detailById/"+(this.firmSetting.b2bEserBasvuruId||"")).then(t=>{this.basvuruContent=t.data.KiboApp.Response.data.content_text}).catch(()=>{this.basvuruContent=null}):this.$router.push("/")}}},n=(r(490),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Eser Başvuru Formu")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt20 WrapGutter"},[e("div",{staticClass:"ww fl mb50 pb50"},[e("el-row",{attrs:{gutter:20}},[t.basvuruContent?e("el-col",[e("div",{domProps:{innerHTML:t._s(t.basvuruContent)}}),t._v(" "),t.$cookies.get("merchant_id")==t.imageMerchantId?e("el-row",{staticClass:"mb30",attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("div",{staticClass:"image-wrapper mb10"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:"https://cdn.kibo.com.tr/temp/452/9/9/499_0606c318-6337-4cf8-b7e6-a5f39669383d.jpg","preview-src-list":["https://cdn.kibo.com.tr/temp/452/9/9/499_0606c318-6337-4cf8-b7e6-a5f39669383d.jpg","https://cdn.kibo.com.tr/temp/452/0/0/500_0f15491a-70a1-4118-8f3c-155a74e0f880.jpg"],fit:"cover"}})],1)]),t._v(" "),e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("div",{staticClass:"image-wrapper"},[e("el-image",{staticStyle:{width:"100%",height:"100%"},attrs:{src:"https://cdn.kibo.com.tr/temp/452/0/0/500_0f15491a-70a1-4118-8f3c-155a74e0f880.jpg","preview-src-list":["https://cdn.kibo.com.tr/temp/452/9/9/499_0606c318-6337-4cf8-b7e6-a5f39669383d.jpg","https://cdn.kibo.com.tr/temp/452/0/0/500_0f15491a-70a1-4118-8f3c-155a74e0f880.jpg"],fit:"cover"}})],1)])],1):t._e()],1):t._e(),t._v(" "),t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-card",{staticClass:"mb50 p30 rds5",class:t.$device.isMobile&&"mt20"},[e("h5",{staticClass:"mb30 pb30 fw-6 ta-c fs-30 bdrB"},[t._v("Eser Başvuru Formu")]),t._v(" "),e("el-form",{ref:"eserBasvuruForm",staticClass:"ww fl px5",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Ad Soyad"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"80"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("phoneNumberInput",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel",modelValue:t.formData.ceptel,phoneCodeValue:Number(t.formDataPhoneCodes.ceptel),isPhoneCode:!0,required:!0},on:{"updated-phoneNumber":e=>t.handleUpdateCeptel(e,"ceptel"),"updated-phoneCode":e=>t.handeUpdatePhoneCode(e,"ceptel")}})],1),t._v(" "),e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserin Türü"),prop:"eserType"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.eserType,callback:function(e){t.$set(t.formData,"eserType",e)},expression:"formData.eserType"}},[e("el-option",{attrs:{value:t.$t("Telif Eser")}},[t._v(t._s(t.$t("Telif Eser")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Derleme Eser")}}
1,[t._v(t._s(t.$t("Derleme Eser")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserin Durumu"),prop:"eserCondition"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.eserCondition,callback:function(e){t.$set(t.formData,"eserCondition",e)},expression:"formData.eserCondition"}},[e("el-option",{attrs:{value:t.$t("Tamamlanmış")}},[t._v(t._s(t.$t("Tamamlanmış")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Devam Ediyor")}},[t._v(t._s(t.$t("Devam Ediyor")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Proje Aşamasında")}},[t._v(t._s(t.$t("Proje Aşamasında")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eseri Başka Bir  Yayınevine Önerdiniz mi?"),prop:"eserIsSubmmitedElse"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.eserIsSubmmitedElse,callback:function(e){t.$set(t.formData,"eserIsSubmmitedElse",e)},expression:"formData.eserIsSubmmitedElse"}},[e("el-option",{attrs:{value:t.$t("Evet")}},[t._v(t._s(t.$t("Evet")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Hayır")}}
1,[t._v(t._s(t.$t("Hayır")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Yazar Tarafından Önerilen Başlık"),prop:"eserTitle"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.eserTitle,callback:function(e){t.$set(t.formData,"eserTitle",e)},expression:"formData.eserTitle"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eser Yazar/Yazarları (Derleme Eserler için Editör İsmi)"),prop:"authorOrEditorNames"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.authorOrEditorNames,callback:function(e){t.$set(t.formData,"authorOrEditorNames",e)},expression:"formData.authorOrEditorNames"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Yazarın / Editörün Mesleği, Kurumu ve Unvanı (Birden fazla yazar ya da editör var ise her biri için belirtiniz)"),prop:"authorOrEditorJob"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.authorOrEditorJob,callback:function(e){t.$set(t.formData,"authorOrEditorJob",e)},expression:"formData.authorOrEditorJob"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("phoneNumberInput",{attrs:{label:t.$t("Yazarın / Editörün Telefonu (Lütfen Yayınevi ile iletişimden sorumlu olan yazarın telefon bilgilerini yazınız)"),prop:"authorOrEditorPhoneNumber",modelValue:t.formData.authorOrEditorPhoneNumber,phoneCodeValue:Number(t.formDataPhoneCodes.authorOrEditorPhoneNumber),isPhoneCode:!0,required:!0},on:{"updated-phoneNumber":e=>t.handleUpdateCeptel(e,"authorOrEditorPhoneNumber"),"updated-phoneCode":e=>t.handeUpdatePhoneCode(e,"authorOrEditorPhoneNumber")}})],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Yazarın / Editörün e-Posta Adresi (Lütfen Yayınevi ile iletişimden sorumlu olan yazarın e-Posta bilgilerini yazınız)"),prop:"authorOrEditorPhoneEmail"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"50"},model:{value:t.formData.authorOrEditorPhoneEmail,callback:function(e){t.$set(t.formData,"authorOrEditorPhoneEmail",e)},expression:"formData.authorOrEditorPhoneEmail"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserin Alanı / Disiplini (Birden fazla alan da belirtebilirsiniz)"),prop:"eserFieldOrDiscipline"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"50"},model:{value:t.formData.eserFieldOrDiscipline,callback:function(e){t.$set(t.formData,"eserFieldOrDiscipline",e)},expression:"formData.eserFieldOrDiscipline"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserle İlgili Anahtar Kelimeler (Lütfen 3-5 anahtar kelime belirtiniz)"),prop:"eserKeys"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"80"},model:{value:t.formData.eserKeys,callback:function(e){t.$set(t.formData,"eserKeys",e)},expression:"formData.eserKeys"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserde cevap aranılan sorular ile eserin konu bakımından karşılaştırılabileceği eserler nelerdir? Aynı zamanda eseri diğerlerinden ayıran karakteristik niteliklerle ilgili neler söylenebilir?"),prop:"eserMainHighlights"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"255","show-word-limit":""},model:{value:t.formData.eserMainHighlights,callback:function(e){t.$set(t.formData,"eserMainHighlights",e)},expression:"formData.eserMainHighlights"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Kelime Sayısı (Eser henüz tamamlanmadıysa öngörülen kelime sayısını belirtiniz)"),prop:"eserWordCount"}},[e("el-input-number",{attrs:{autocomplete:"off",maxlength:"20"},model:{value:t.formData.eserWordCount,callback:function(e){t.$set(t.formData,"eserWordCount",e)},expression:"formData.eserWordCount"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserin Fonlandığı Kurum ya da Kuruluşlar (Var ise belirtiniz)"),prop:"eserFundingInstitution"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.eserFundingInstitution,callback:function(e){t.$set(t.formData,"eserFundingInstitution",e)},expression:"formData.eserFundingInstitution"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eserin Özeti"),prop:"eserSummary"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"255","show-word-limit":""},model:{value:t.formData.eserSummary,callback:function(e){t.$set(t.formData,"eserSummary",e)},expression:"formData.eserSummary"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("İçindekiler Listesi (Derleme eserlerde yazar önerileriyle birlikte yazınız)"),prop:"eserContents"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.eserContents,callback:function(e){t.$set(t.formData,"eserContents",e)},expression:"formData.eserContents"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Hakem Önerileri"),prop:"eserHakemSuggestion"}},[e("el-input",{attrs:{autocomplete:"off",maxlength:"100"},model:{value:t.formData.eserHakemSuggestion,callback:function(e){t.$set(t.formData,"eserHakemSuggestion",e)},expression:"formData.eserHakemSuggestion"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}}
1,[e("el-form-item",{attrs:{label:t.$t("Önerilen eserle ilgili belirtmek istediğiniz diğer hususlar nelerdir?"),prop:"comments"}},[e("el-input",{attrs:{maxlength:"100",autocomplete:"off","show-word-limit":""},model:{value:t.formData.comments,callback:function(e){t.$set(t.formData,"comments",e)},expression:"formData.comments"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Eser Dosyası"),prop:"comments"}},[t.eserFile?e("div",{staticClass:"uploaded-file"},[e("i",{staticClass:"el-icon-document"}),t._v(" "+t._s(t.eserFile.name)+"\n\t\t\t\t\t\t\t\t"),e("el-button",{staticClass:"ml5 txt-error",attrs:{type:"text",icon:"icon-trash txt-error pr5"},on:{click:t.removeEserFile}},[t._v(t._s(t.$t("Kaldır")))])],1):e("el-upload",{attrs:{drag:"",action:"",limit:1,accept:".pdf,.doc,.docx","before-upload":t.handleUploadBefore,"on-success":(e,r,o)=>t.handleUploadSuccess(e,r,o,"eser"),"on-remove":(e,r)=>t.handleUploadRemove(e,r,"eser")}},[e("i",{staticClass:"el-icon-upload"}),t._v(" "),e("div",{staticClass:"el-upload__text"},[t._v(t._s(t.$t("Dosyayı buraya bırakın veya yüklemek için tıklayın")))]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v(t._s(t.$t("Sadece PDF/DOC dosyası (En fazla 2MB)")))])])],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("CV Dosyası"),prop:"comments"}},[t.cvFile?e("div",{staticClass:"uploaded-file"},[e("i",{staticClass:"el-icon-document"}),t._v(" "+t._s(t.cvFile.name)+"\n\t\t\t\t\t\t\t"),e("el-button",{staticClass:"ml5 txt-error",attrs:{type:"text",icon:"icon-trash txt-error pr5"},on:{click:t.removeCvFile}}
1,[t._v(t._s(t.$t("Kaldır")))])],1):e("el-upload",{attrs:{drag:"",action:"",limit:1,accept:".pdf,.doc,.docx","before-upload":t.handleUploadBefore,"on-success":(e,r,o)=>t.handleUploadSuccess(e,r,o,"cv"),"on-remove":(e,r)=>t.handleUploadRemove(e,r,"cv")}},[e("i",{staticClass:"el-icon-upload"}),t._v(" "),e("div",{staticClass:"el-upload__text"},[t._v(t._s(t.$t("Dosyayı buraya bırakın veya yüklemek için tıklayın")))]),t._v(" "),e("div",{staticClass:"el-upload__tip",attrs:{slot:"tip"},slot:"tip"},[t._v(t._s(t.$t("Sadece PDF/DOC dosyası (En fazla 2MB)")))])])],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"my15"},[e("el-form-item",[e("el-button",{staticStyle:{width:"100%"},attrs:{loading:t.formLoading,type:"primary",icon:"icon-guide mr5"},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)])],1)],1)],1),t._v(" "),e("div",{staticClass:"ww fl mb30"})],1):t._e()],1)],1)])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,"7db2a912",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wrap-fiyatlar",computed:{priceTheme:()=>()=>r.e(0).then(r.bind(null,681))},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Fiyatlar")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Fiyatlar")))])],1
1)],1)])]),t._v(" "),e(t.priceTheme,{tag:"component"}),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={name:"wrap-news",asyncData(t){return(e=function*(){var e=t.app,r=t.store.state.firm.settings.b2bUiSettings.settings.data.blogTag;return r?{pageData:(yield e.$apis.get("api/content/list?content_type=3&tag_id="+r.id+"&idSort=desc&limit=12&page=1").then(t=>({data:t.data.KiboApp.Response.data.list})).catch(()=>({data:null}))).data,page:2}:{data:null}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{newsCardComponent(){return()=>r(123)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.newsCardTheme||0,".vue"))}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{pageData:[],page:2,limit:12,query:"",isEmpty:!1,scrollDeflection:this.$device.isDesktop?650:this.$device.isTablet?300:622,scrollTimeout:null,scrollStart:!0,scrollLoading:!1}},mounted(){this.scrollStart&&window.addEventListener("scroll",()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.page++,this.getList())},150)}),this.getList()},methods:{getList(){if(!this.scrollStart)return!1;var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.referenceTag;if(t){if(this.scrollLoading=!0,!t)return{data:null};this.$apis.get("api/content/list?content_type=3&tag_id=".concat(t.id,"&idSort=desc&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.pageData=[...this.pageData,...t.data.KiboApp.Response.data.list],this.scrollLoading=!1,this.rowCount==this.pageData.length&&(this.scrollStart=!1)}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})}else this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("news")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("news")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mb50 pb50 WrapGutter"},[t.pageData.length>0?e("div",{staticClass:"ww fl"},[e("div",{class:"cq-row cq-gap-30 ww fl mb15"},t._l(t.pageData,function(r,o){return e("div",{key:o,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-8"},[e(t.newsCardComponent,{tag:"component",attrs:{item:r,"url-path":"haberler"}})],1)}),0),t._v(" "),t.scrollLoading?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.scrollLoading,expression:"scrollLoading"}],staticClass:"ww h60 fl"}):t._e()]):t.isEmpty?e("div",{staticClass:"ww fl px10 ta-o txt-error fs-16 fw-b"},[t._v(t._s(t.$t("Kayıt Bulunamadı")))]):t._e()])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={name:"wrap-hakkimizda",asyncData(t){return(e=function*(){var e=t.app,r=t.store.state.firm.settings.b2bUiSettings.settings.data.b2bHakkimizdaSayfasi;return console.log(r),r?{pageData:(yield e.$apis.get("api/content/detailById/"+r).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}:{data:null}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component(){var t="t"+(this.$store.state.firm.settings.b2bUiSettings.settings.data.aboutPageTheme||0);return"3"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="bilab"),()=>
1r(687)("./"+t+".vue")}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,pageData:null}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Hakkımızda")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{"page-data":t.pageData}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wrap-iletisim",computed:{component(){var t="t"+(this.$store.state.firm.settings.b2bUiSettings.settings.data.contactPageTheme||0);return"3"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="bilab"),()=>r(688)("./"+t+".vue")}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("İletişim")}}},l=r(0),component=Object(l.a)(o,function(){return(0,this._self._c)(this.component,{tag:"component"})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),shareButton:()=>r.e(0).then(r.bind(null,800))},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))}},data(){return{allSetting:this.$store.state.firm,b2bUiSettings:this.$store.state.firm.settings.b2bUiSettings.settings.data,userData:this.$cookies.get("b2bUserInfo")||null,listLoading:!1,isEmpty:!1,isPublic:!1,createdBy:"",rowCount:0,tableData:[],page:1,limit:20,query:"",scrollDeflection:this.$device.isDesktop?650:this.$device.isTablet?300:622,scrollTimeout:null,scrollStart:!0,scrollLoading:!1}},mounted(){this.scrollStart&&window.addEventListener("scroll",()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.page++,this.getList())},150)}),this.getModules()},methods:{getModules(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];if("mod_b2bpublic"==t.md_name&&"1"==t.md_status){this.isPublic="public/";break}}this.getCreatedUserInfo()},getCreatedUserInfo(){var t=this.$route.query,e=t.orderId,r=t.payload,o=t.sign;this.scrollLoading=!0,this.$apis.get("api/basket/cartShareView?orderId=".concat(e,"&payload=").concat(r,"&sign=").concat(o,"&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.createdBy=t.data.KiboApp.Response.data.firma,this.$cookies.set("intsaticino",t.data.KiboApp.Response.data.cari_id,{path:"/",maxAge:86400}),this.getList()}).catch(()=>{this.scrollLoading=!1})},getList(){if(!this.scrollStart)return!1;var t=this.$route.query,e=t.orderId,r=t.payload,o=t.sign;this.scrollLoading=!0,this.$apis.get("api/".concat(this.$cookies.get("web_login_access_token")?"":this.isPublic,"product/search?search_text=").concat(encodeURIComponent(this.query),"&basket=").concat(e,"_").concat(r,"_").concat(o,"&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.tableData=[...this.tableData,...t.data.KiboApp.Response.data.list],this.scrollLoading=!1,this.rowCount==this.tableData.length&&(this.scrollStart=!1)}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})},getSearch(){var t=this.$route.query,e=t.orderId,r=t.payload,o=t.sign;this.tableData=[],this.scrollLoading=!0,this.$apis.get("api/".concat(this.$cookies.get("web_login_access_token")?"":this.isPublic,"product/search?search_text=").concat(encodeURIComponent(this.query),"&basket=").concat(e,"_").concat(r,"_").concat(o,"&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.tableData=t.data.KiboApp.Response.data.list,this.scrollLoading=!1}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Koleksiyon")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl mt20"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("div",{class:"cq-row cq-gap-20"},[e("div",{staticClass:"'cq-col-lg-18 cq-col-md-16 cq-col-sm-16 cq-col-xs-24"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Koleksiyon")))])],1
1)],1)])])])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl mb10"},[e("el-card",{attrs:{shadow:"hover"}},[e("div",{class:"cq-row cq-gap-10 p10"},[e("div",{staticClass:"'cq-col-lg-18 cq-col-md-16 cq-col-sm-16 cq-col-xs-24"},[t.createdBy?e("div",{staticClass:"dp-f fd-c justify-center",staticStyle:{height:"100%"}},[e("h2",{staticClass:"fs-16"},[e("i",{staticClass:"icon-user"}),t._v(" "),e("b",[t._v(t._s(t.createdBy))]),t._v(" "+t._s(t.$t("Sepeti")))]),t._v(" "),e("p",{staticClass:"fs-14 pt5"},[t._v(t._s(t.rowCount)+" "+t._s(t.$t("Ürün bulundu")))])]):t._e()]),t._v(" "),e("div",{staticClass:"'cq-col-lg-6 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("div",{staticClass:"ta-o",staticStyle:{height:"100%"}},[e("el-input",{attrs:{placeholder:t.$t("Koleksiyonda Ara"),clearable:t.query.length>1,size:"small"},on:{clear:t.getSearch},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.query,callback:function(e){t.query=e},expression:"query"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)])])])],1),t._v(" "),t.tableData.length>0?e("div",{staticClass:"ww fl"},[e("div",{class:"cq-row cq-gap-20 ww fl mb15"},t._l(t.tableData,function(r,o){return e("div",{key:o,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-8"},[e(t.cardComponent,{tag:"component",style:t.$device.isMobile?{marginBottom:"10px"}:{},attrs:{item:r}})],1)}),0),t._v(" "),t.scrollLoading?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.scrollLoading,expression:"scrollLoading"}],staticClass:"ww h60 fl"}):t._e()]):t.isEmpty?e("div",{staticClass:"ww fl px10 ta-o txt-error fs-16 fw-b"},[t._v(t._s(t.$t("Kayıt Bulunamadı")))]):t._e()])]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my50 py50"}),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={components:{headerWrap:header.default,footerWrap:footer.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},created(){},methods:{b2bSettingsCookie(){}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("İletişim")}}},l=(r(491),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("customer_service")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt20 WrapGutter"},[e("div",{staticClass:"ww fl mb50 pb50"},[e("el-row",[t.firmSetting?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("h1",{staticClass:"ww fl mb15 fs-18"},[t._v(t._s(t.firmSetting.b2bWebTitle))]),t._v(" "),e("p",{staticClass:"ww fl pt5 pb5"},[t._v(t._s(t.firmSetting.b2bFooterAdres))]),t._v(" "),e("p",{staticClass:"fl ta-ol"},[e("i",{staticClass:"w30 h30 icon-mobile ta-o fs-18 txt-success"}),t._v(" "),e("span",{staticClass:"fl fs-18 fw-b"},[t._v(t._s(t.firmSetting.b2bPhone))])])]):t._e()],1)],1)])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(11),l=r(5);function n(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var c={middleware:"mainPage",asyncData(t){return(e=function*(){for(var e=t.app,r=(t.params,""),o=null,i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(r="public/")}return console.log(e.$cookies.get("web_login_access_token"),r,e.store.state.merchant_id),e.store.state.merchant_id&&(e.$cookies.get("web_login_access_token")||r)&&(o=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":r)+"homepage/body").then(t=>t.data.KiboApp.Response.data.layout).catch(()=>null)),{pageLayout:o}},function(){var t=this,r=arguments;return new Promise(function(o,l){var a=e.apply(t,r);function c(t){n(a,o,l,c,d,"next",t)}function d(t){n(a,o,l,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:header.default,footerWrap:footer.default,Swiper:l.Swiper,SwiperSlide:l.SwiperSlide,prodCard:o.default},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,layout:this.$store.state.firm.settings.b2bUiSettings.settings.layout,firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,userData:this.$cookies.get("b2bUserInfo")||null,mainSwiperOption:{notNextTick:!0,watchSlidesVisibility:!0,initialSlide:0,centeredSlides:!0,autoplay:{delay:4e3,disableOnInteraction:!0},speed:250,grabCursor:!0,spaceBetween:20,navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"}},yenicikanlar:[],soneklenenler:[],sliderList:{},isPublic:"",pageLayout:null}},methods:{sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?4:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa")}}},d=c,m=(r(494),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),t.firmSettingSlider.length>0?e("div",{staticClass:"ww fl bg-white pos-r"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"mainSwiperWrap ww fl pos-r"},[e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"auto"),attrs:{options:t.mainSwiperOption}},t._l(t.firmSettingSlider,function(r,o){return e("swiper-slide",{key:o},[r.url?e("a",{staticClass:"ww hh fl z1 of-h",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"ItemShadow ww fl",attrs:{src:r.img}})]):t._e()])}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"h40 m10 px20 rds30 pos-a tp-0 rg-0 z1",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1)])]):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("main",{staticClass:"ww fl",staticStyle:{"background-color":"#fbfbfb"}},[e("div",{staticClass:"wrapper mrau px10 py15"},[e("el-row",{attrs:{gutter:20}},[t.pageLayout?[t._l(t.pageLayout,function(r,o){return[r.show&&"static_tag"==r.type&&"0"==r.sort_type&&r.list.length>0?e("el-col",{key:"yenicikanlar"+o,attrs:{lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/yenicikanlar")}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t("Yeni Çıkanlar"))+"\n                ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevImgyenicikanlar w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextImgyenicikanlar w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiperyenicikanlar",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"yenicikanlar",view:6,delay:4e3})}},t._l(r.list,function(t,r){return e("swiper-slide",{key:r},[e("prodCard",{attrs:{item:t,"pricebar-show":!1,lazyImage:!1}})],1)}),1)],1)]):r.show&&"static_tag"==r.type&&"6"==r.sort_type&&r.list.length>0?e("el-col",{key:"soneklenenler"+o,attrs:{lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/soneklenenler")}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t("Son Eklenenler"))+"\n                ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}}
1,[e("div",{staticClass:"prevImgsoneklenenler w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{staticClass:"nextImgsoneklenenler w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swipersoneklenenler",refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:"soneklenenler",view:6,delay:4e3})}},t._l(r.list,function(t,r){return e("swiper-slide",{key:r},[e("prodCard",{attrs:{item:t,"pricebar-show":!1,lazyImage:!1}})],1)}),1)],1)]):r.id&&"image"==r.type?e("el-col",{key:"image_"+o,attrs:{lg:r.size,md:r.size,sm:r.size,xs:24}},[e("a",{staticClass:"ww fl pb15 pos-r",attrs:{href:r.href}},[e("img",{staticClass:"ItemShadow ww fl rds5",attrs:{src:r.url}})])]):r.id&&"tag"==r.type?[e("el-col",{key:"tag_"+o,attrs:{lg:r.size,md:r.size,sm:r.size,xs:24}},[e("div",{staticClass:"ww fl"},[e("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/etiket/"+t.$seolink(r.name)+"?tag_id="+r.id)}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.$t(r.name))+"\n                  ")]),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 fr mb10 rds30",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{class:"prevImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}}),t._v(" "),e("div",{class:"nextImg"+o+" w40 h40 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiper"+o,refInFor:!0,staticClass:"swiper",attrs:{options:t.sliderOption({key:o,view:24==r.size?6:2,delay:4e3})}},t._l(r.list,function(t,r){return e("swiper-slide",{key:r},[e("prodCard",{attrs:{item:t,"pricebar-show":!1,lazyImage:!1}})],1)}),1)],1)])]:t._e()]})]:t._e()],2)],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={name:"wrap-referanslar",asyncData(t){return(e=function*(){var e=t.app,r=t.store.state.firm.settings.b2bUiSettings.settings.data.referenceTag;return r?{pageData:(yield e.$apis.get("api/content/list?content_type=3&tag_id="+r.id+"&idSort=desc&limit=12&page=1").then(t=>({data:t.data.KiboApp.Response.data.list})).catch(()=>({data:null}))).data,page:2}:{data:null}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{newsCardComponent(){return()=>r(123)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.referanceCardTheme||0,".vue"))}},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{pageData:[],page:1,limit:12,query:"",isEmpty:!1,scrollDeflection:this.$device.isDesktop?650:this.$device.isTablet?300:622,scrollTimeout:null,scrollStart:!0,scrollLoading:!1}},mounted(){this.scrollStart&&window.addEventListener("scroll",()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.page++,this.getList())},150)}),this.getList()},methods:{getList(){if(!this.scrollStart)return!1;var t=this.$store.state.firm.settings.b2bUiSettings.settings.data.referenceTag;if(t){if(this.scrollLoading=!0,!t)return{data:null};this.$apis.get("api/content/list?content_type=3&tag_id=".concat(t.id,"&idSort=desc&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.pageData=[...this.pageData,...t.data.KiboApp.Response.data.list],this.scrollLoading=!1,this.rowCount==this.pageData.length&&(this.scrollStart=!1)}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})}else this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Referanslar")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Referanslar")))])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mb50 pb50 WrapGutter"},[t.pageData.length>0?e("div",{staticClass:"ww fl"},[e("div",{class:"cq-row cq-gap-30 ww fl mb15"},t._l(t.pageData,function(r,o){return e("div",{key:o,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-8"},[e(t.newsCardComponent,{tag:"component",attrs:{item:r,"url-path":"referanslar"}})],1)}),0),t._v(" "),t.scrollLoading?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.scrollLoading,expression:"scrollLoading"}],staticClass:"ww h60 fl"}):t._e()]):t.isEmpty?e("div",{staticClass:"ww fl px10 ta-o txt-error fs-16 fw-b"},[t._v(t._s(t.$t("Kayıt Bulunamadı")))]):t._e()])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(326),l=r(327),n=r(76),c={components:{headerWrap:header.default,footerWrap:footer.default,UploadExcelComponent:n.default,b2bBasket:o.default,schoolBasket:l.default}},d=(r(498),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),"0"==t.$store.state.firmAppMode?e("b2bBasket"):t._e(),t._v(" "),"1"==t.$store.state.firmAppMode?e("schoolBasket"):t._e(),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={components:{orderResult:r(77).default},data:()=>({orderForm:null,paymentDetails:null,customerInfo:null,currentBank:null,odemeMesaj:"",everyItemIsEbook:!1}),mounted(){this.getTakeOrder()},methods:{getTakeOrder(){var t=localStorage.getItem("lastOrderDetails"),e=this.$route.query,r=e.invoiceId,o=e.paymentStatus;if(t&&o){var l=JSON.parse(t);if(l.id!=r)return void this.$router.push("/");this.orderForm=l.orderForm,this.paymentDetails=l.paymentDetails,this.customerInfo=l.customerInfo,this.currentBank=l.currentBank,this.odemeMesaj=l.odemeMesaj,this.everyItemIsEbook=l.everyItemIsEbook}else this.$router.push("/")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.orderForm&&t.customerInfo?e("orderResult",{attrs:{orderForm:t.orderForm,paymentDetails:t.paymentDetails,customerInfo:t.customerInfo,currentBank:t.currentBank,odemeMesaj:t.odemeMesaj,everyItemIsEbook:t.everyItemIsEbook}}):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={components:{headerWrap:header.default,footerWrap:footer.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,oderData:null,isSendAction:!1,form:{firmaeposta:"",fattakipno:""},rules:{firmaeposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],fattakipno:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},mounted(){this.$route.query.firmaeposta&&this.$route.query.fattakipno&&(this.form.firmaeposta=this.$route.query.firmaeposta,this.form.fattakipno=this.$route.query.fattakipno,this.onSubmit())},methods:{onSubmit(){this.$refs.form.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.isSendAction=!0,this.$apis.get("api/public/user/orderSearch?firmaeposta="+this.form.firmaeposta+"&fattakipno="+this.form.fattakipno).then(t=>{var data=t.data.KiboApp.Response.data;if(7==data.kargo_ent_firma){var e=data.Cargo?data.Cargo.ITARIH:null;if(e){var r="".concat(e.slice(6,8),"-").concat(e.slice(4,6),"-").concat(e.slice(0,4));data.Cargo.ITARIH=r}}this.oderData=data,this.isSendAction=!1}).catch(()=>{this.isSendAction=!1,this.oderData=null})})},convertDate(t){if(!t)return"-";var e=new Date(t);e.setUTCHours(e.getUTCHours()+3);var r=e.getUTCDate(),o=e.getUTCMonth()+1,l=e.getUTCFullYear(),n=e.getUTCHours(),c=e.getUTCMinutes();return(r=r<10?"0"+r:r)+"-"+(o=o<10?"0"+o:o)+"-"+l+" | "+(n=n<10?"0"+n:n)+":"+(c=c<10?"0"+c:c)},formatDate(t){var e=t.substring(0,4),r=t.substring(4,6),o=t.substring(6,8);return"".concat(o,"-").concat(r,"-").concat(e)},redirectToUrl(t){window.open(t,"_blank")}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Sipariş")+" "+this.$t("Takip")}}},l=r(0),component=Object(l.a)(o,function(){var t,e,r=this,o=r._self._c;return o("div",[o("headerWrap"),r._v(" "),o("aside",{staticClass:"ww fl pb20 bg-white"},[o("div",{staticClass:"wrapper mrau"},[o("div",{staticClass:"ww fl mt15 WrapGutter"},[o("el-breadcrumb",{attrs:{separator:"/"}},[o("el-breadcrumb-item",{attrs:{to:r.localePath("/")}},[r._v(r._s(r.$t("Anasayfa")))]),r._v(" "),o("el-breadcrumb-item",[r._v(r._s(r.$t("Sipariş")+" "+r.$t("Takip")))])],1
1)],1)])]),r._v(" "),o("section",{staticClass:"ww fl"},[o("div",{staticClass:"wrapper mrau"},[o("div",{staticClass:"ww fl mt20 WrapGutter"},[o("div",{staticClass:"ww fl mb50 pb50"},[o("el-row",{attrs:{gutter:15}},[o("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[o("h1",{staticClass:"ww fl mb5 fs-18"},[r._v(r._s(r.$t("Sipariş")+" "+r.$t("Takip")))]),r._v(" "),o("el-form",{ref:"form",attrs:{model:r.form,rules:r.rules}},[o("el-form-item",{attrs:{label:r.$t("Sipariş")+" "+r.$t("E-posta Adresi"),prop:"firmaeposta"}},[o("el-input",{model:{value:r.form.firmaeposta,callback:function(t){r.$set(r.form,"firmaeposta",t)},expression:"form.firmaeposta"}})],1),r._v(" "),o("el-form-item",{attrs:{label:r.$t("Sipariş")+" "+r.$t("Takip")+" "+r.$t("number"),prop:"fattakipno"}},[o("el-input",{model:{value:r.form.fattakipno,callback:function(t){r.$set(r.form,"fattakipno",t)},expression:"form.fattakipno"}})],1),r._v(" "),o("el-form-item",[o("el-button",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:r.isSendAction,expression:"isSendAction",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"mt10",attrs:{type:"primary",disabled:r.isSendAction},on:{click:r.onSubmit}},[r._v(r._s(r.$t("Gönder")))])],1)],1)],1),r._v(" "),o("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[r.oderData?o("div",{staticClass:"ww fl"},[o("h1",{staticClass:"ww fl mb10 fs-18"},[r._v(r._s(r.form.fattakipno+" - "+r.$t("Sipariş")+" "+r.$t("Detay")))]),r._v(" "),o("div",{staticClass:"clr"}),r._v(" "),o("el-row",{attrs:{gutter:15}},[o("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w80 fl ln-18 fs-13"},[r._v(r._s(r.$t("İsim")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-14 fw-b"},[r._v(r._s(r.oderData.firma))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w80 fl ln-18 fs-13"},[r._v(r._s(r.$t("Tarih")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13 fw-4"},[r._v(r._s(r.oderData.tarih))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w80 fl ln-18 fs-13"},[r._v(r._s(r.$t("Paket")+" "+r.$t("Adet")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13 fw-4"},[r._v(r._s(r.oderData.paket_adet))])]),r._v(" "),9==r.oderData.kargo_ent_firma?o("el-button",{staticClass:"my10 fs-10",attrs:{type:"primary",size:"mini"}},[r._v(r._s(r.$t("Kargo Takip")))]):r._e()],1),r._v(" "),o("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[o("p",{staticClass:"h40 mb15 px15 fs-16 el-tag el-tag--danger el-tag--plain"},[r._v(r._s(r.oderData.siparis_durum?r.oderData.siparis_durum.tanimad:"-"))])])],1)],1):r._e(),r._v(" "),r.oderData?o("div",{staticClass:"ww fl mt15 mb10 pb10 bdrT"},[o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.oderData.stokinout}},[o("el-table-column",{attrs:{label:r.$t("Barkod"),width:"110"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.stok_kod))])]}}],null,!1,11591134)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Açıklama"),"min-width":"260"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 fw-4 wb-i"},[r._v(r._s(e.stok.stokcins))])]}}],null,!1,4219860019)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Miktar"),width:"60",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(parseFloat(e.out_miktar)))])]}}],null,!1,984813695)}),r._v(" "),o("el-table-column",{attrs:{label:"","min-width":"160"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.tedarik_islem?e.tedarik_islem.tanimad:"-"))])]}}],null,!1,1108444315)})],1)],1):r._e(),r._v(" "),1==(null===(t=r.oderData)||void 0===t?void 0:t.kargo_ent_gonderim_durum)&&null!==(e=r.oderData)&&void 0!==e&&e.Cargo&&Object.keys(r.oderData.Cargo).length>0?[9==r.oderData.kargo_ent_firma?o("div",{staticClass:"ww fl"},[o("p",{staticClass:"fs-19 ln-30 pb5 fw-4"},[o("i",{staticClass:"icon-kargo-1"}),r._v(" "+r._s("Sürat "+r.$t("Kargo")))]),r._v(" "),o("el-button",{staticClass:"my10 fs-13",attrs:{type:"primary",round:""},on:{click:function(t){return r.redirectToUrl(r.oderData.Cargo.KARGO_TAKIP_URL)}}}
1,[r._v(r._s(r.$t("Kargo Takip")))])],1):r._e(),r._v(" "),7==r.oderData.kargo_ent_firma?o("div",{staticClass:"ww fl"},[o("p",{staticClass:"fs-19 ln-30 pb5 fw-4"},[o("i",{staticClass:"icon-kargo-1"}),r._v(" "+r._s("PTT "+r.$t("Kargo")))]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Alıcı")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.ALICI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("İşlem")+" "+r.$t("Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.ITARIH))])]),r._v(" "),o("el-button",{staticClass:"my10 fs-13",attrs:{type:"primary",round:""},on:{click:function(t){return r.redirectToUrl(r.oderData.Cargo.ONSO_LINK_1)}}},[r._v(r._s(r.$t("Kargo Takip")))]),r._v(" "),o("p",{staticClass:"fs-15 ln-20"},[r._v(r._s(r.$t("Kargo")+" "+r.$t("Hareketler")))]),r._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.oderData.Cargo.dongu}},[o("el-table-column",{attrs:{label:r.$t("Tarih"),width:"140"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ITARIH||"-"))])]}}],null,!1,1783190152)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Merkez"),width:"200"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 fw-4 wb-i"},[r._v(r._s(e.IMERK||"-"))])]}}],null,!1,3399101911)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("İşlem"),"min-width":"200",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ISLEM||"-"))])]}}],null,!1,3759389465)})],1)],1):r._e(),r._v(" "),4==r.oderData.kargo_ent_firma?o("div",{staticClass:"ww fl"},[o("p",{staticClass:"fs-19 ln-30 pb5 fw-4"},[o("i",{staticClass:"icon-kargo-1"}),r._v(" "+r._s("MNG Kargo"))]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Alıcı")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.ALICI_ADI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Çıkış")+" "+r.$t("Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.GONDERI_CIKIS_TARIHI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Tahmini")+" "+r.$t("Teslimat Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.TAHMINI_TESLIM_TARIHI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Teslim")+" "+r.$t("Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.TESLIM_SAATI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Gönderim")+" "+r.$t("Durum")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.KARGO_STATU_ACIKLAMA))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Teslim")+" "+r.$t("Tip")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.TESLIM_SEKLI))])]),r._v(" "),o("el-button",{staticClass:"my10 fs-13",attrs:{type:"primary",round:""},on:{click:function(t){return r.redirectToUrl(r.oderData.Cargo.KARGO_TAKIP_URL)}}},[r._v(r._s(r.$t("Kargo Takip")))]),r._v(" "),o("p",{staticClass:"fs-15 ln-20"},[r._v(r._s(r.$t("Kargo")+" "+r.$t("Hareketler")))]),r._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.oderData.Cargo.CargoTransaction}},[o("el-table-column",{attrs:{label:r.$t("Tarih"),width:"140"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ISLEM_TARIH_SAAT||"-"))])]}}],null,!1,3978145336)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Şehir"),width:"140"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 fw-4 wb-i"},[r._v(r._s(e.ISLEM_ILI||"-"))])]}}],null,!1,2198542978)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Şube"),width:"140",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ALICI_SUBE||"-"))])]}}],null,!1,1879544119)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Birim"),width:"140",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ISLEM_BIRIMI||"-"))])]}}],null,!1,1351291218)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("İşlem"),"min-width":"200",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.MUSTERI_HAREKET_TANIM||"-"))])]}}],null,!1,2691652381)})],1)],1):r._e(),r._v(" "),3==r.oderData.kargo_ent_firma?o("div",{staticClass:"ww fl"},[o("p",{staticClass:"fs-19 ln-30 pb5 fw-4"},[o("i",{staticClass:"icon-kargo-1"}),r._v(" "+r._s("Aras "+r.$t("Kargo")))]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Alıcı")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.ALICI))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Kargo")+" "+r.$t("Barkod")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.KARGO_KODU))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Çıkış")+" "+r.$t("Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.convertDate(r.oderData.Cargo.CIKIS_TARIH)))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Tahmini")+" "+r.$t("Teslimat Tarihi")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.convertDate(r.oderData.Cargo.PLANLANAN_TESLIMTARIHI)))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Gönderim")+" "+r.$t("Durum")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.DURUMU))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Çıkış")+" "+r.$t("Şube")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.CIKIS_SUBE))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Varış")+" "+r.$t("Şube")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.VARIS_SUBE))])]),r._v(" "),o("el-button",{staticClass:"my10 fs-13",attrs:{type:"primary",round:""},on:{click:function(t){return r.redirectToUrl(r.oderData.Cargo.ONSO_LINK_1)}}},[r._v(r._s(r.$t("Kargo Takip")))]),r._v(" "),o("p",{staticClass:"fs-15 ln-20"},[r._v(r._s(r.$t("Kargo")+" "+r.$t("Hareketler")))]),r._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.oderData.Cargo.CargoTransaction}},[o("el-table-column",{attrs:{label:r.$t("Tarih"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(r.convertDate(e.ISLEM_TARIHI)))])]}}],null,!1,1780501958)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Merkez"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 fw-4 wb-i"},[r._v(r._s(e.BIRIM))])]}}],null,!1,2768630239)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("İşlem"),width:"250",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ISLEM))])]}}],null,!1,2409993620)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Durum"),"min-width":"200",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.ACIKLAMA))])]}}],null,!1,2648056299)})],1)],1):r._e(),r._v(" "),2==r.oderData.kargo_ent_firma?o("div",{staticClass:"ww fl"},[o("p",{staticClass:"fs-19 ln-30 pb5 fw-4"},[o("i",{staticClass:"icon-kargo-1"}),r._v(" "+r._s("Yurtiçi Kargo"))]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Operasyon")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.operationMessage))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Son")+" "+r.$t("Durum")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.deliveryTypeExplanation))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w150 fl ln-18 fs-13 fw-b"},[r._v(r._s(r.$t("Teslim")+" "+r.$t("Tip")))]),o("span",{staticClass:"fl mx5 ln-18 fs-13"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-13"},[r._v(r._s(r.oderData.Cargo.cargoEventExplanation))])]),r._v(" "),o("el-button",{staticClass:"my10 fs-13",attrs:{type:"primary",round:""},on:{click:function(t){return r.redirectToUrl(r.oderData.Cargo.trackingUrl)}}},[r._v(r._s(r.$t("Kargo Takip")))]),r._v(" "),o("p",{staticClass:"fs-15 ln-20"},[r._v(r._s(r.$t("Kargo")+" "+r.$t("Hareketler")))]),r._v(" "),o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.oderData.Cargo.invDocCargoVOArray}},[o("el-table-column",{attrs:{label:r.$t("Tarih"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(r.formatDate(e.eventDate)||"-"))])]}}],null,!1,3049592545)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Merkez"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 fw-4 wb-i"},[r._v(r._s(e.unitName||"-"))])]}}],null,!1,2865002502)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("İşlem"),width:"250",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.eventName||"-"))])]}}],null,!1,340433636)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Durum"),"min-width":"200",align:"center"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.reasonName||"-"))])]}}],null,!1,3792597260)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Şehir"),width:"200"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 ln-15 wb-i"},[r._v(r._s(e.townName+" / "+e.cityName||"-"))])]}}],null,!1,3766429984)})],1)],1):r._e()]:r._e()],2)],1)],1)])])]),r._v(" "),o("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(499),l=r.n(o),header=r(4),footer=r(3),n=r(500),c=r.n(n),d=r(501),m=r.n(d),h={middleware:"isLogin",components:{headerWrap:header.default,footerWrap:footer.default,VueQrcode:c.a,barcode:m.a},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,hideVirtualCard:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bHideVirtualCard||!1,profilMenu:["odeme_yap"],currency:this.$store.state.firmBaseCurrency||"TRY",currencySymbolList:this.$store.state.setting.currencySymbol,appMode:this.$store.state.firmAppMode||"0",dashboard:null,payShow:!1,logo:l.a,userData:{code:0,name:null,bakiye:null,borc:null,alacak:null,gecikmis_borc:null,remainingOrder:null,cariRiskLimit:null,fatura:null,evrak:null,toplamInPuan:0,toplamOutPuan:0,toplamPuanBakiye:0}
1,qrOption:{margin:0,width:180,color:{dark:"#311c04",light:"#fff"}}}},created(){this.getUser(),this.$nuxt.$on("currency",t=>this.currency=t),this.firmSetting.b2bProfilMenu&&(this.profilMenu=this.firmSetting.b2bProfilMenu)},methods:{getUser(){this.$apis.get("api/user/dashboard").then(t=>{var data=t.data.KiboApp.Response.data;this.userData.code=data.ckod||0,this.userData.name=data.firma||0,this.userData.bakiye=data.toplamBakiye||0,this.userData.borc=data.toplamBorc||0,this.userData.alacak=data.toplamAlacak||0,this.userData.toplamInPuan=data.toplamInPuan||0,this.userData.toplamOutPuan=data.toplamOutPuan||0,this.userData.toplamPuanBakiye=data.toplamPuanBakiye||0,this.userData.cariRiskLimit=data.cariRiskLimit||0,this.userData.remainingOrder=data.kalanCariRiskLimit||0}).catch(t=>{this.userData.code=0,this.userData.name=0,this.userData.bakiye=0,this.userData.borc=0,this.userData.alacak=0,this.userData.toplamInPuan=0,this.userData.toplamOutPuan=0,this.userData.toplamPuanBakiye=0,this.userData.cariRiskLimit=0,this.userData.remainingOrder=0,console.log(t)})},refreshPage(){location.reload()},getPayStatus(){this.$nuxt.$emit("payShow",!0)}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa")}}},f=(r(502),r(0)),component=Object(f.a)(h,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.userData.name))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pt15 pb50 bg-light"},[e("div",{staticClass:"wrapper mrau px10"},[e("el-row",{attrs:{gutter:15}},[t.hideVirtualCard?t._e():e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"okurKart ww fl mb15 px20 py30 rds"},[e("div",{staticClass:"ww fl"},[e("a",{staticClass:"ww h30 fl ta-o cr-p",on:{click:t.refreshPage}},[e("barcode",{attrs:{value:t.userData.code,format:"CODE39",width:"1",height:"30",margin:0,"line-color":"#311c04","display-value":!1}})],1),t._v(" "),e("span",{staticClass:"ww h40 fl fs-25 fw-b ta-c"},[t._v(t._s(t.userData.code))]),t._v(" "),e("span",{staticClass:"ww h20 fl fs-15 to-e of-h ws-n ta-c"},[t._v(t._s(t.userData.name))]),t._v(" "),e("span",{staticClass:"ww h20 mt5 fl fs-19 ta-c"},[t._v(t._s(t.$n(t.userData.toplamPuanBakiye,"decimal",t.currency)))]),t._v(" "),"2"==t.appMode?e("span",{staticClass:"ww h20 fl ta-c fs-13 txt-head"},[t._v("\n                  ("+t._s(t.$t("score"))+")\n                ")]):t._e()]),t._v(" "),e("a",{staticClass:"ww fl ta-o cr-p",on:{click:t.refreshPage}},[e("figure",{staticClass:"qrcode fl pt10 px10 bg-white ta-o"},[e("vue-qrcode",{style:"width:"+t.qrOption.width+"px; height:"+t.qrOption.width+"px;",attrs:{tag:"svg",value:t.userData.code,options:t.qrOption}}),t._v(" "),e("img",{staticClass:"qrcode__image p5 bg-error rds5",staticStyle:{width:"50px",height:"50px",position:"absolute"},attrs:{src:t.logo}})],1)]),t._v(" "),"2"==t.appMode?e("div",{staticClass:"ww fl mt15"},[e("span",{staticClass:"ww h20 fl fs-14 ta-c"},[t._v(t._s(t.$n(t.userData.toplamInPuan,"decimal",t.currency)))]),t._v(" "),e("span",{staticClass:"ww fl ta-c fs-12 ln-16 txt-head"},[t._v("\n                  ("+t._s(t.$t("win"))+")\n                ")]),t._v(" "),e("span",{staticClass:"ww h20 mt5 fl fs-14 ta-c"},[t._v(t._s(t.$n(t.userData.toplamOutPuan,"decimal",t.currency)))]),t._v(" "),e("span",{staticClass:"ww fl ta-c fs-12 ln-16 txt-head"},[t._v("\n                  ("+t._s(t.$t("used"))+")\n                ")])]):t._e()])]),t._v(" "),"2"!=t.appMode?e("el-col",{attrs:{lg:18,md:18,sm:16,xs:24}},[e("el-row",{attrs:{gutter:15}},[e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 px5 bg-white ItemShadow"},[e("i",{staticClass:"icon-wallet ww h40 fl mt15 ta-o fs-40 txt-success"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.bakiye?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("div",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[e("span",{staticClass:"fs-24"},[t._v(t._s(t.currencySymbolList[t.currency]))]),t._v("\n                      "+t._s(t.$n(t.userData.bakiye,"decimal",t.currency))+"\n                    ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("current_balance")))])])]),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 px5 bg-white ItemShadow"},[e("i",{staticClass:"icon-cash ww h40 fl mt15 ta-o fs-40 txt-info"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.borc?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("div",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[e("span",{staticClass:"fs-24"},[t._v(t._s(t.currencySymbolList[t.currency]))]),t._v("\n                      "+t._s(t.$n(t.userData.borc,"decimal",t.currency))+"\n                    ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("total")+" "+t.$t("debt")))])])]),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 px5 bg-white ItemShadow"},[e("i",{staticClass:"icon-cash ww h40 fl mt15 ta-o fs-40 txt-error"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.alacak?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("div",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[e("span",{staticClass:"fs-24"},[t._v(t._s(t.currencySymbolList[t.currency]))]),t._v("\n                      "+t._s(t.$n(t.userData.alacak,"decimal",t.currency))+"\n                    ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("total")+" "+t.$t("due")))])])]),t._v(" "),t.profilMenu.includes("odeme_yap")?e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("a",{staticClass:"ww fl mb15 px5 bg-success bg-success-hover cr-p ItemShadow",on:{click:t.getPayStatus}},[e("i",{staticClass:"icon-go ww h40 fl mt15 ta-o fs-40 txt-white"}),t._v(" "),e("span",{staticClass:"ww h40 fl py10 ta-c fs-20 fw-b txt-white"},[t._v(t._s(t.$t("pay")))]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-white"},[t._v(t._s(t.$t("Hepsi")))])])]):t._e(),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 px5 bg-white ItemShadow"},[e("i",{staticClass:"icon-customer ww h40 fl mt15 ta-o fs-40 txt-error"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.cariRiskLimit?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("div",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[e("span",{staticClass:"fs-24"},[t._v(t._s(t.currencySymbolList[t.currency]))]),t._v("\n                      "+t._s(t.$n(t.userData.cariRiskLimit,"decimal",t.currency))+"\n                    ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("customer_risk_limit")))])])]),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 px5 bg-white ItemShadow"},[e("i",{staticClass:"icon-basket ww h40 fl mt15 ta-o fs-40 txt-warning"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.remainingOrder?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("div",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[e("span",{staticClass:"fs-24"},[t._v(t._s(t.currencySymbolList[t.currency]))]),t._v("\n                      "+t._s(t.$n(t.userData.remainingOrder,"decimal",t.currency))+"\n                    ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("remaining_order_limit")))])])]),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:8,xs:24}},[e("a",{staticClass:"ww fl mb15 px5 bg-white ItemShadow",attrs:{href:t.localePath("/uye/siparis/bekleyen")}},[e("i",{staticClass:"icon-beklet ww h40 fl mt15 ta-o fs-40 txt-dark"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[t._v(" - ")]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"}
1,[t._v(t._s(t.$t("pending_orders")))])])])],1)],1):t._e()],1)],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(15),l=r(19),n={components:{inputPage:o.default,alertCard:l.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",showCheck:!1,buttonLoading:!1,LoginForm:{password1:"",password2:""},isDone:null,message:null,passwordOneRule:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validatePasswordLenght,trigger:"blur"}],passwordSecondRule:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validatePasswordLenght,trigger:"blur"},{validator:this.validatePasswordMatched,trigger:"blur"}]}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},validatePasswordLenght(t,e,r){e.length<8?r(new Error(this.$t("must_be_digit",{val:8}))):r()},validatePasswordMatched(t,e,r){e!=this.LoginForm.password1?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},resetPassword(){this.$apis.post("api/user/passwordReset",{token:this.$route.query.token,password1:this.LoginForm.password1,password2:this.LoginForm.password2}).then(t=>{this.message=t.data.KiboApp.Response.kiboMessage,this.isDone="success",setTimeout(()=>{location.href=this.localePath("/auth/giris")},3e3)}).catch(t=>{t.response?(console.log("error",t.response),this.message=t.response.data.message||t.response.data.KiboApp.Response.kiboMessage):this.message="Something went wrong",this.isDone="error",setTimeout(()=>{this.isDone=null,this.buttonLoading=!1},3e3)})},submitForm(t){t.preventDefault(),this.$refs.LoginForm.validate(t=>{if(!t||this.LoginForm.password1!==this.LoginForm.password2)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.resetPassword()})}}},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-36em hh mrau px10 pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{staticClass:"ww fl pt20 pb40 rds5 bg-white pos-r z1"},[null==t.isDone?e("el-form",{ref:"LoginForm",staticClass:"ww fl",attrs:{"label-position":"top",model:t.LoginForm}},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h80 mrau mb20 dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("h1",{staticClass:"ww fl mb15 fs-18 ta-c"},[t._v(t._s(t.$t("new_password")))]),t._v(" "),e("el-form-item",{attrs:{label:t.$t("new_password"),prop:"password1",rules:t.passwordOneRule}},[e("el-input",{staticClass:"ww fl",attrs:{type:"password","show-password":"",placeholder:"***","prefix-icon":"el-icon-lock"},model:{value:t.LoginForm.password1,callback:function(e){t.$set(t.LoginForm,"password1",e)},expression:"LoginForm.password1"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password2",rules:t.passwordSecondRule}},[e("el-input",{staticClass:"ww fl",attrs:{type:"password","show-password":"",placeholder:"***","prefix-icon":"el-icon-lock"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.submitForm.apply(null,arguments))}},model:{value:t.LoginForm.password2,callback:function(e){t.$set(t.LoginForm,"password2",e)},expression:"LoginForm.password2"}})],1),t._v(" "),e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:12}},[e("el-button",{staticClass:"ww fl mt20",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)],1)]):t._e(),t._v(" "),e("alertCard",{attrs:{message:t.message,done:t.isDone}})],1)]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(15),l=r(19),n={components:{inputPage:o.default,alertCard:l.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",isPhoneCode:!1,showCheck:!1,buttonLoading:!1,LoginForm:{code:"",password1:"",password2:""},isDone:null,message:null}}
1,created(){this.getSetting(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},getSetting(){"0"==this.$cookies.get("appSubFirm")&&"1"==this.$store.state.firmAppMode&&this.$router.push(this.localePath("/auth/giris?unknowFirm=1")),this.$cookies.get("corpId")||"1"!=this.$store.state.firmAppMode||this.$router.push(this.localePath("/auth/giris?unknowFirm=1"))},requiredCodeMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},requiredMailMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},requiredMailMessage2(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},submitForm(t){t.preventDefault(),this.$refs.LoginForm.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.$apis.post("api/user/passwordReset",{resetType:1,token:this.LoginForm.code,password1:this.LoginForm.password1,password2:this.LoginForm.password2}).then(t=>{this.message=t.data.KiboApp.Response.kiboMessage,this.isDone="success",setTimeout(()=>{location.href=this.localePath("/auth/giris")},3e3)}).catch(t=>{this.message=t.response.data.KiboApp.Response.kiboMessage,this.isDone="error",setTimeout(()=>{this.isDone=null,this.buttonLoading=!1},3e3)})})}}},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-36em hh mrau px10 pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{staticClass:"ww fl pt20 pb40 rds5 bg-white pos-r z1"},[null==t.isDone?e("el-form",{ref:"LoginForm",staticClass:"ww fl",attrs:{"label-position":"top",model:t.LoginForm}},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h80 mrau mb20 dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("h1",{staticClass:"ww fl mb15 fs-18 ta-c"},[t._v(t._s(t.$t("new_password")))]),t._v(" "),e("el-form-item",{attrs:{label:t.$t("phone")+" "+t.$t("enter_code_number"),prop:"code",rules:t.requiredCodeMessage()}},[e("el-input",{staticClass:"ww fl",attrs:{placeholder:"******","prefix-icon":"el-icon-lock"},model:{value:t.LoginForm.code,callback:function(e){t.$set(t.LoginForm,"code",e)},expression:"LoginForm.code"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("new_password"),prop:"password1",rules:t.requiredMailMessage()}},[e("el-input",{staticClass:"ww fl",attrs:{type:"password","show-password":"",placeholder:"***","prefix-icon":"el-icon-lock"},model:{value:t.LoginForm.password1,callback:function(e){t.$set(t.LoginForm,"password1",e)},expression:"LoginForm.password1"}})],1),t._v(" "),e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password2",rules:t.requiredMailMessage2()}},[e("el-input",{staticClass:"ww fl",attrs:{type:"password","show-password":"",placeholder:"***","prefix-icon":"el-icon-lock"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.submitForm.apply(null,arguments))}},model:{value:t.LoginForm.password2,callback:function(e){t.$set(t.LoginForm,"password2",e)},expression:"LoginForm.password2"}})],1),t._v(" "),e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:12}},[e("el-button",{staticClass:"ww fl mt20",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)],1)]):t._e(),t._v(" "),e("alertCard",{attrs:{message:t.message,done:t.isDone}})],1)]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"autoLoginPage",components:{inputPage:r(15).default},watch:{firmSetting:{deep:!0,handler:function(t){this.firmSetting=t,"1"!=this.$store.state.firmAppMode&&(this.siteLogo=t.b2bLogo||null)}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,merchantId:this.$store.state.firm.merchant_id,authCode:"",siteLogo:"",pageLoading:!0}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.clearCookie(),this.$route.query.loginToken?this.submitToken():this.$router.push(this.localePath("/auth/giris"))},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},submitToken(){var t={headers:{"X-Mentis-B2B-Merchant-Id":this.merchantId}};this.$axios.get("https://b2bapi.onsocloud.com/api/auth/genericUserLogin?token="+this.$route.query.loginToken,t).then(t=>{this.afterLoginConfig(t)},t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.pageLoading=!1})},afterLoginConfig(t){this.$cookies.set("web_login_access_token",t.data.KiboApp.Response.data.authorization.access_token,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.$cookies.set("b2bUserInfo",{token:t.data.KiboApp.Response.data.authorization.access_token,merchant:this.merchantId},{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.authCode=t.data.KiboApp.Response.data.authorization.access_token,this.$apis.get("api/user/myprofile",{headers:{Authorization:"Bearer "+this.authCode,"X-Mentis-B2B-Merchant-Id":this.merchantId}}).then(e=>{var r;this.$route.query.elem_id&&this.$cookies.set("elem_id",this.$route.query.elem_id,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),1==(null===(r=e.data.KiboApp.Response.data)||void 0===r?void 0:r.b2b_token_type)?this.userLogin(e,t):this.guestLogin(e,t)}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},guestLogin(t,e){this.$cookies.set("isGuestLogin",1,{path:"/",maxAge:e.data.KiboApp.Response.data.authorization.expires_in});var r=t.data.KiboApp.Response.data;if(this.$cookies.set("userId",r.id,{path:"/",maxAge:86400}),this.$cookies.set("userName",this.$t("Ziyaretçi"),{path:"/",maxAge:86400}),this.$cookies.set("corpType",r.cari_tip,{path:"/",maxAge:86400}),r.intrelskod!=this.$cookies.get("corpId")&&"1"==this.$store.state.firmAppMode){var o={headers:{"X-Mentis-B2B-Merchant-Id":this.merchantId}};this.$axios.get("https://b2bapi.onsocloud.com/api/merchant/corp/list?id="+(0==(r.intrelskod||0)?r.id:r.intrelskod)+"&ckod&firma&eposta&limit=1000&page=1",o).then(t=>{this.selectCustomer(t.data.KiboApp.Response.data.list[0]),"0"==this.$store.state.firmAppMode?this.getBasketCountGuest():this.routePage()}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}else"0"==this.$store.state.firmAppMode?this.getBasketCountGuest():this.routePage()},userLogin(t,e){var r=t.data.KiboApp.Response.data,o=r.firma,l=r.firma.split(" "),n=(o=l[0],l.length>1?l[1]:"");if(this.$cookies.set("userId",r.id,{path:"/",maxAge:86400}),this.$cookies.set("userName",o,{path:"/",maxAge:86400}),this.$cookies.set("userSurname",n,{path:"/",maxAge:86400}),this.$cookies.set("corpType",r.cari_tip,{path:"/",maxAge:86400}),r.intrelskod!=this.$cookies.get("corpId")&&"1"==this.$store.state.firmAppMode){var c={headers:{"X-Mentis-B2B-Merchant-Id":this.merchantId}};this.$axios.get("https://b2bapi.onsocloud.com/api/merchant/corp/list?id="+(0==r.intrelskod||null==r.intrelskod?r.id:r.intrelskod)+"&ckod&firma&eposta&limit=1000&page=1",c).then(t=>{try{this.selectCustomer(t.data.KiboApp.Response.data.list[0]),this.routePage()}catch(t){console.log(t)}}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}else"0"==this.$store.state.firmAppMode?this.getBasketCountUser(e):this.routePage()},clearCookie(){this.$cookies.remove("b2bUserInfo",{path:"/"}),this.$cookies.remove("userId",{path:"/"}),this.$cookies.remove("userName",{path:"/"}),this.$cookies.remove("userSurname",{path:"/"}),this.$cookies.remove("basketCount",{path:"/"}),this.$cookies.remove("userBasketId",{path:"/"}),this.$cookies.remove("isGuestLogin",{path:"/"}),this.$cookies.remove("elem_id",{path:"/"}),this.$cookies.remove("web_login_access_token",{path:"/"})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")&&this.$cookies.get("userBasketId")||""},getBasketCountGuest(){var t;this.$route.query.productId?(t=this.$route.query.optionsId?this.$route.query.optionsId.replaceAll("-",";"):"",this.$apis.post("api/basket/add",{basketId:"new",basketTransMod:"add",product:[{id:this.$route.query.productId,barcode:this.$route.query.productBarcode,quantity:this.$route.query.qty,optionId:t}]},{headers:{Authorization:"Bearer "+this.authCode,"X-Mentis-B2B-Merchant-Id":this.merchantId}}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var e=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{e+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.routePage()}).catch(t=>{401!=t.response.data.KiboApp.Response.pageStatus&&(this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.routePage())})):this.routePage()},getBasketCountUser(t){"1"==this.$cookies.get("isGuestLogin")?(this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.routePage()):this.$apis.get("api/basket/cart?id="+this.isUserBasketId(),{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.merchantId}}).then(t=>{var e=0;t.data.KiboApp.Response.data.stokinout.map(t=>{e+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.routePage()}).catch(()=>{this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0),setTimeout(()=>{this.routePage()},100)})},routePage(){if(this.merchantId)if("0"==this.firmSetting.b2bEnterPanelPage)location.href=this.localePath(this.$route.query.redirect||"/uye");else if("2"==this.firmSetting.b2bEnterPanelPage){var t;(null===(t=this.firmSetting.b2bEnterPanelTagList)||void 0===t?void 0:t.length)>0?location.href=this.localePath(this.$route.query.redirect||"/etiket?tag_id="+this.firmSetting.b2bEnterPanelTagList.map(t=>
1t.id).join(";")):location.href=this.localePath(this.$route.query.redirect||"/ara?search_text")}else this.$route.query.elem_id?location.href=this.localePath("/?elem_id="+this.$route.query.elem_id):location.href=this.localePath(this.$route.query.redirect||"/");else location.href=this.localePath(this.$route.query.redirect||"/")},selectCustomer(t){var e={path:"/",maxAge:86400};this.firmSetting.b2bGetInfoGuestLogin||(t.files.length>0&&(this.$cookies.set("web_logo_favicon",t.files[0].fl_url,e),this.$cookies.set("web_logo",t.files[0].fl_url,e),this.$cookies.set("web_logo_foter",t.files[0].fl_url,e)),this.$cookies.set("web_title",t.firma,e),this.$cookies.set("web_footer_head_title",t.firma,e),this.$cookies.set("web_footer_title","",e),this.$cookies.set("web_footer_address",t.adres,e),this.$cookies.set("web_email",t.eposta,e),this.$cookies.set("web_phone",t.ceptel,e)),this.$cookies.set("corpId",t.id,e),this.$cookies.set("appSubFirm",this.$store.state.firmAppMode,e),this.$cookies.set("corpNote",t.notlar,e),this.$cookies.set("corpNotification",t.uyarinot,e)}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:(this.firmSetting.b2bWebTitle||"ONSO B2B")+" "+this.$t("login")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[e("div",{staticClass:"wrapper-36em hh mrau px10 pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.pageLoading,expression:"pageLoading"}],staticClass:"ww fl p40 rds5 bg-white"})]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=e.store.state.firm.settings.b2bUiSettings.settings.data.b2bCerezSozlesmesi;return{item:(yield e.$apis.get("api/content/detailById/"+r).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:header.default,footerWrap:footer.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,item:null}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.item?this.item.content_title:this.firmSetting.b2bWebTitle}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("page")))]),t._v(" "),null!=t.item?e("el-breadcrumb-item",[t._v(t._s(t.item.content_title))]):t._e()],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[null!=t.item?e("div",{staticClass:"ww fl my20 WrapGutter",domProps:{innerHTML:t._s(t.item.content_text)}}):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function l(t){return function(){var e=this,r=arguments;return new Promise(function(l,n){var a=t.apply(e,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})}}var n={name:"loginPage",components:{inputPage:r(15).default},watch:{firmSetting:{deep:!0,handler:function(t){this.firmSetting=t,"1"!=this.$store.state.firmAppMode&&(this.siteLogo=t.b2bLogo||null)}}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,formType:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFormType,siteLogo:"",showCheck:!1,emailError:!1,passwordError:!1,buttonLoading:!1,LoginForm:{email:"",password:""},girisToken:"",girisTokenError:!1,withCodeLogin:0,isLogin:!1}},created(){this.withCodeLogin=this.firmSetting.b2bWithCodeLogin||0,!1===this.firmSetting.b2bShowRegisterButton&&"0"==this.$cookies.get("appSubFirm")&&"1"==this.$store.state.firmAppMode?this.isLogin=!1:!1!==this.firmSetting.b2bShowRegisterButton||this.$cookies.get("corpId")||"1"!=this.$store.state.firmAppMode?this.isLogin=!0:this.isLogin=!1,this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},requiredMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},requiredMailMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:"blur"}]},requiredNumberMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:"8"}),trigger:"blur"}]}
1,submitForm(){if(""==this.LoginForm.email)this.emailError=!0;else if(""==this.LoginForm.password)this.passwordError=!0;else{this.emailError=!1,this.passwordError=!1,this.buttonLoading=!0;var t={headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}};this.$axios.post("https://b2bapi.onsocloud.com/api/auth/login",this.LoginForm,t).then(t=>{this.$cookies.remove("isGuestLogin",{path:"/"}),this.afterLoginConfig(t)},t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.buttonLoading=!1,this.showCheck=!0,setTimeout(()=>{this.showCheck=!1},2e3)})}},submitToken(){if(""==this.girisToken)this.girisTokenError=!0;else{this.girisTokenError=!1,this.buttonLoading=!0;var t={headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}};this.$axios.get("https://b2bapi.onsocloud.com/api/auth/genericUserLogin?token="+this.girisToken,t).then(t=>{try{this.$cookies.set("isGuestLogin",1,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.afterLoginConfig(t)}catch(t){console.log(t)}},t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.buttonLoading=!1,this.showCheck=!0,setTimeout(()=>{this.showCheck=!1},2e3)})}},submitWithClick(){this.buttonLoading=!0;var t={headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}};this.$axios.get("https://b2bapi.onsocloud.com/api/auth/genericUserLogin?token="+this.firmSetting.b2bAutomaticLoginCode,t).then(t=>{this.$cookies.set("isGuestLogin",1,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.afterLoginConfig(t),this.buttonLoading=!1},t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.buttonLoading=!1})},afterLoginConfig(t){this.$cookies.set("web_login_access_token",t.data.KiboApp.Response.data.authorization.access_token,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.$cookies.set("b2bUserInfo",{token:t.data.KiboApp.Response.data.authorization.access_token,merchant:this.$cookies.get("merchant_id")},{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.$route.query.elem_id&&this.$cookies.set("elem_id",this.$route.query.elem_id,{path:"/",maxAge:t.data.KiboApp.Response.data.authorization.expires_in}),this.showCheck=!0,this.alertAction="success",this.$apis.get("api/user/myprofile",{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(e=>{var r,o,l=e.data.KiboApp.Response.data,n=l.firma.trim().split(" "),c="",d="";0===n.length?c=l.firma.trim():(c=n.slice(0,n.length-1).join(" "),d=n[n.length-1]);var time=31536e3;if(this.setCookieHash("em",null==l||null===(r=l.eposta)||void 0===r?void 0:r.toLowerCase()),this.setCookieHash("ph",null==l?void 0:l.ceptel),this.$cookies.set("userId",l.id,{path:"/",maxAge:time}),this.$cookies.set("userName",c,{path:"/",maxAge:time}),this.$cookies.set("userSurname",d,{path:"/",maxAge:time}),this.$cookies.set("corpType",l.cari_tip,{path:"/",maxAge:time}),this.firmSetting.b2bShowBagliKurum&&null!==(o=l.kurum)&&void 0!==o&&o.firma){var m={path:"/",maxAge:time};this.$cookies.set("kurum_title",l.kurum.firma,m)}if(l.intrelskod!=this.$cookies.get("corpId")&&"1"==this.$store.state.firmAppMode){var h={headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}};this.$axios.get("https://b2bapi.onsocloud.com/api/merchant/corp/list?id="+(0==l.intrelskod||null==l.intrelskod?l.id:l.intrelskod)+"&ckod&firma&eposta&limit=1000&page=1",h).then(t=>{try{this.selectCustomer(t.data.KiboApp.Response.data.list[0]),this.routePage()}catch(t){this.buttonLoading=!1,console.log(t)}}).catch(t=>{this.buttonLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}else"0"==this.$store.state.firmAppMode?this.getBasketCount(t):this.routePage()}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")&&this.$cookies.get("userBasketId")||""},getBasketCount(t){"1"==this.$cookies.get("isGuestLogin")?(this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.routePage()):this.$apis.get("api/basket/cart?id="+this.isUserBasketId(),{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(t=>{var e=0;t.data.KiboApp.Response.data.stokinout.forEach(t=>{var r;e+=null!==(r=t.stok)&&void 0!==r&&r.ebook?1:parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.routePage()}).catch(()=>{this.buttonLoading=!1,this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0),setTimeout(()=>{this.routePage()},100)})},routePage(){if(this.buttonLoading=!1,this.$cookies.get("merchant_id"))if("0"==this.firmSetting.b2bEnterPanelPage&&"1"!=this.withCodeLogin)location.href=this.localePath(this.$route.query.redirect||"/uye");else if("2"==this.firmSetting.b2bEnterPanelPage){var t;(null===(t=this.firmSetting.b2bEnterPanelTagList)||void 0===t?void 0:t.length)>0?location.href=this.localePath(this.$route.query.redirect||"/etiket?tag_id="+this.firmSetting.b2bEnterPanelTagList.map(t=>
1t.id).join(";")):location.href=this.localePath(this.$route.query.redirect||"/ara?search_text")}else this.$route.query.elem_id?location.href=this.localePath("/?elem_id="+this.$route.query.elem_id):location.href=this.localePath(this.$route.query.redirect||"/");else location.href=this.localePath(this.$route.query.redirect||"/")},selectCustomer(t){var e={path:"/",maxAge:86400};this.firmSetting.updateFooterDetail?(t.files.length>0&&(this.$cookies.set("web_logo_favicon",t.files[0].fl_url,e),this.$cookies.set("web_logo",t.files[0].fl_url,e),this.$cookies.set("web_logo_foter",t.files[0].fl_url,e)),this.$cookies.set("web_title",t.firma,e),this.$cookies.set("web_footer_head_title",t.firma,e),this.$cookies.set("web_footer_title","",e),this.$cookies.set("web_footer_address",t.adres,e),this.$cookies.set("web_email",t.eposta,e),this.$cookies.set("web_phone",t.ceptel,e)):(this.$cookies.set("web_email",this.firmSetting.b2bMail,e),this.$cookies.set("web_phone",this.firmSetting.b2bPhone,e)),this.$cookies.set("corpId",t.id,e),this.$cookies.set("appSubFirm",this.$store.state.firmAppMode,e),this.$cookies.set("corpNote",t.notlar,e),this.$cookies.set("corpNotification",t.uyarinot,e)},getSHA256Hash:input=>l(function*(){var t=(new TextEncoder).encode(input),e=yield window.crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(e)).map(t=>t.toString(16).padStart(2,"0")).join("")}
1)(),setCookieHash(t,e){var r=this;return l(function*(){try{var o=yield r.getSHA256Hash(e);r.$cookies.set(t,o,{path:"/",maxAge:86400})}catch(t){console.error("Error:",t)}})()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:(this.firmSetting.b2bWebTitle||"ONSO B2B")+" "+this.$t("login")}}},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("div",{staticClass:"wrapper-36em hh mrau px10 pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{staticClass:"ww fl pt20 pb40 rds5 bg-white"},[e("el-form",{ref:"LoginForm",staticClass:"ww fl",attrs:{model:t.LoginForm,"status-icon":"","label-width":"120px","label-position":"top"}},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")},[e("nuxt-link",{staticClass:"ww h60 fl mb10",attrs:{to:t.localePath("/")}},[t.siteLogo?e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}}):t._e()]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),"3"!=t.withCodeLogin?[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"input-wrapper ww fl mb20"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.LoginForm.email,expression:"LoginForm.email"}],staticClass:"ww fl",attrs:{id:"user",autocomplete:"off",required:""},domProps:{value:t.LoginForm.email},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitForm.apply(null,arguments)},input:function(e){e.target.composing||t.$set(t.LoginForm,"email",e.target.value)}}}),t._v(" "),e("label",{attrs:{for:"user"}},[t._v(t._s(t.$t("email")+" / "+t.$t("Cep Telefonu")+" / "+t.$t("user"))+" "+t._s(6==t.formType?" / "+t.$t("Kimlik No"):"")+" ")]),t._v(" "),t.emailError?e("span",{staticClass:"ww fl fs-13 txt-error"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])]),t._v(" "),e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"input-wrapper ww fl"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.LoginForm.password,expression:"LoginForm.password"}],staticClass:"ww fl",attrs:{id:"password",type:"password",autocomplete:"off",required:""},domProps:{value:t.LoginForm.password},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitForm.apply(null,arguments)},input:function(e){e.target.composing||t.$set(t.LoginForm,"password",e.target.value)}}}),t._v(" "),e("label",{attrs:{for:"password"}},[t._v(t._s(t.$t("user")+" "+t.$t("password")))]),t._v(" "),t.passwordError?e("span",{staticClass:"ww fl fs-13 txt-error"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()])])],1),t._v(" "),e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-button",{staticClass:"ww fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("login")))])],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.isLogin?e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:12}},[0!=t.firmSetting.b2bShowRegisterButton?e("nuxt-link",{staticClass:"h20 fl mt5 fs-14",attrs:{to:t.localePath("/auth/uyeol")}},[t._v("\n                    "+t._s(t.$t("signup"))+"\n                  ")]):t._e()],1),t._v(" "),e("el-col",{attrs:{lg:12,sm:12,xs:12}},[e("nuxt-link",{staticClass:"h20 fl mt5 fs-14",attrs:{to:t.localePath("/auth/unuttum")}},[t._v("\n                    "+t._s(t.$t("forget_password"))+"\n                  ")])],1)],1):e("el-alert",{staticClass:"mt15",attrs:{closable:!1,title:t.$t("Lütfen kurum üyeliği için iletişime geçin"),type:"info"}})]:t._e(),t._v(" "),e("div",{staticClass:"clr"})],2)]),t._v(" "),"1"==t.withCodeLogin||"3"==t.withCodeLogin?e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")+" "+(3!=t.withCodeLogin?"mt15 py10 ":"")},[e("el-divider",{attrs:{"content-position":"center"}},[t._v(t._s(t.$t("Kod İle Giriş Yap")))]),t._v(" "),e("div",{staticClass:"dp-f",staticStyle:{gap:"10px"}},[e("el-input",{nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitToken.apply(null,arguments)}},model:{value:t.girisToken,callback:function(e){t.girisToken=e},expression:"girisToken"}}),t._v(" "),e("el-button",{staticClass:"w200",attrs:{size:"mini",loading:t.buttonLoading},on:{click:t.submitToken}}
1,[t._v(" "+t._s(t.$t("login")))])],1),t._v(" "),t.girisTokenError?e("span",{staticClass:"ww fl fs-13 txt-error"},[t._v(t._s(t.$t("Bu Alan Boş Olamaz")))]):t._e()],1):t._e(),t._v(" "),"2"==t.withCodeLogin?e("div",{class:"ww fl mt15 py10 "+(t.$device.isMobile?"px10 ":"px50")},[t.firmSetting.b2bAutomaticLoginCode?e("el-button",{staticClass:"ww h50 p0 ta-o",attrs:{slot:"append",loading:t.buttonLoading},on:{click:t.submitWithClick},slot:"append"},[t._v(t._s(t.$t("Üye Olmadan Alışverişe Devam Et")))]):t._e()],1):t._e()],1)]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={data:()=>({isLogin:!0,cKod:null,merchantId:null,copyType:"warning",customerList:null,showCheck:!1,emailError:!1,passwordError:!1,buttonLoading:!1}),created(){this.getSchoolList()},methods:{getLoad(){this.$cookies.remove("b2bMenu",{path:"/"}),this.$cookies.remove("b2bSetting",{path:"/"}),this.$cookies.remove("appMode",{path:"/"}),this.$cookies.remove("merchant_id",{path:"/"}),this.$cookies.remove("web_login_access_token",{path:"/"}),this.$cookies.remove("b2bUserInfo",{path:"/"}),this.$cookies.remove("userId",{path:"/"}),this.$cookies.remove("userName",{path:"/"}),this.$cookies.remove("userSurname",{path:"/"}),this.$cookies.remove("basketCount",{path:"/"}),this.$store.dispatch("setting/loadSetting").then(t=>{this.$nuxt.$emit("getB2Bsetting","installWebSetting"),this.getSchoolList()},t=>{this.$message({message:t,type:"error"})})},selectCustomer(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={path:"/",maxAge:86400};t.files.length>0&&(this.$cookies.set("web_logo_favicon",t.files[0].fl_url,r),this.$cookies.set("web_logo",t.files[0].fl_url,r),this.$cookies.set("web_logo_foter",t.files[0].fl_url,r)),this.$cookies.set("web_title",t.firma,r),this.$cookies.set("web_footer_head_title",t.firma,r),this.$cookies.set("web_footer_title","",r),this.$cookies.set("web_footer_address",t.adres,r),this.$cookies.set("corpNote",t.notlar,r),this.$cookies.set("corpNotification",t.uyarinot,r),this.cKod=t.ckod,this.merchantId=this.$cookies.get("merchant_id")||null,this.$cookies.set("corpId",t.id,r),this.$cookies.set("appSubFirm",1,r),e&&setTimeout(()=>{location.href=this.localePath("/")},200)},requiredMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},requiredMailMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:"blur"}]},requiredNumberMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:"8"}),trigger:"blur"}]},getSchoolList(){if(this.$cookies.get("merchant_id")){var t={headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}};this.$apis.get("https://b2bapi.onsocloud.com/api/merchant/corp/list?id=&ckod&firma&eposta&limit=1000&page=1",t).then(t=>{this.customerList=t.data.KiboApp.Response.data.list}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})}},copySomething(){var t,e=this;return(t=function*(){if(null==e.merchantId)return!1;try{var t="https://"+location.hostname+"/kurum/"+e.cKod;yield e.$copyText(t),e.copyType="success",setTimeout(()=>{e.copyType="warning"},2e3)}catch(t){console.error(t)}},function(){var e=this,r=arguments;return new Promise(function(l,n){var a=t.apply(e,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("firm")+" "+this.$t("Seç")}}},n=l,c=(r(505),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl pos-r of-a",staticStyle:{"padding-bottom":"63px"}},[e("div",{staticClass:"wrapper-64em hh mrau",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("el-row",{attrs:{gutter:20}},t._l(t.customerList,function(r,o){return e("el-col",{key:r.id+o,attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-card",{staticClass:"mb20",attrs:{"body-style":{padding:"0px"},shadow:"hover"}},[r.files.length>0?e("el-image",{class:"ww fl p15 cr-p",staticStyle:{height:"80px"}
1,attrs:{src:r.files[0].fl_url,fit:"contain"},on:{click:function(e){return t.selectCustomer(r,!0)}},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"ww h80 ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"ww h80 ta-o el-icon-picture-outline fs-40"}),t._v(" "),e("div",{staticClass:"ww fl px15 pb15 bdrT"},[e("span",{staticClass:"ww fl mt10",staticStyle:{height:"40px",overflow:"hidden","text-overflow":"ellipsis",display:"-webkit-box","-webkit-line-clamp":"2","-webkit-box-orient":"vertical"}},[t._v(t._s(r.firma))]),t._v(" "),e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-button",{staticClass:"ww h40 fl ta-o",attrs:{type:"primary"},on:{click:function(e){return t.selectCustomer(r)}}},[t._v(t._s(t.$t("Seç")))])],1),t._v(" "),null!=t.merchantId&&t.cKod==r.ckod?e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("copy_link"),placement:"top"}},[e("el-button",{staticClass:"ww h40 fl ta-o",staticStyle:{width:"100%",float:"left"},attrs:{size:"mini",type:t.copyType,icon:"el-icon-document-copy fs-18"},on:{click:t.copySomething}})],1)],1):t._e(),t._v(" "),null!=t.merchantId&&t.cKod==r.ckod?e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("a",{attrs:{href:t.localePath("/")}},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("Anasayfa"),placement:"top"}},[e("el-button",{staticClass:"ww h40 fl ta-o",attrs:{size:"mini",type:"info",icon:"el-icon-s-home fs-18"}})],1)],1)]):t._e()],1)],1)],1)],1)}),1)],1),t._v(" "),e("a",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0",attrs:{href:"#",target:"_blank"}},[e("img",{staticClass:"w40 mr20 mb30 pos-f bt-0 rg-0",staticStyle:{transform:"rotate(-90deg)"},attrs:{src:t.$router.options.base+"asset/img/mini_logo.svg",alt:"Kibo Logo"}})]),t._v(" "),e("span",{staticClass:"pos-f bt-0 lf-0 bdrB",staticStyle:{width:"calc( 100% - 60px)","margin-bottom":"38px"}})])},[],!1,null,"17d00eae",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(19),l={components:{headerWrap:header.default,footerWrap:footer.default,alertCard:o.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,isDone:"",message:""}},mounted(){this.getService(),this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},getService(){this.$apis.post("api/user/emailAddressVerification",{token:this.$route.query.token}).then(t=>{this.message=t.data.KiboApp.Response.kiboMessage,this.isDone="success",setTimeout(()=>{location.href=this.localePath("/")},2e3)}).catch(t=>{this.message=t.response.data.KiboApp.Response.kiboMessage,this.isDone="error"})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa")}}},n=(r(506),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("section",{staticClass:"ww fl mb15 bg-light pos-r"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl px10"},[e("alertCard",{attrs:{message:t.message,done:t.isDone}})],1)])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={middleware:"refresh",data:()=>({resultType:"",resultText:""}),head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("refresh_web")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("section",{staticClass:"wrapper mrau mt30 mb50"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:null==t.resultType,expression:"resultType==null"}],class:"ww fl py20 px10 ta-c fw-b txt-"+t.resultType},[t._v("\n    "+t._s(t.resultText)+"\n  ")])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(15),l=r(19),n={components:{inputPage:o.default,alertCard:l.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",buttonLoading:!1,isDone:null,message:"",phoneValidForm:{sms_code:""}}}
1,created(){this.getSetting(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},getSetting(){this.sendMode=this.$store.state.firmSmsSendStatus,this.isMail=this.$store.state.firmSmsSendStatus},requiredPhoneMessage(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}]},submitForm(t){t.preventDefault(),this.$refs.phoneValidForm.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.$apis.post("api/user/phoneNumberVerification",{sms_code:this.phoneValidForm.sms_code}).then(t=>{this.message=t.data.KiboApp.Response.kiboMessage,this.isDone="success",setTimeout(()=>{location.href=this.localePath("/auth/giris")},3e3)}).catch(t=>{this.message=t.response.data.KiboApp.Response.kiboMessage,this.isDone="error",setTimeout(()=>{this.isDone=null,this.buttonLoading=!1},3e3)})})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.siteLogo||"ONSO B2B"}}},c=(r(507),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-36em hh mrau px10 pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{staticClass:"ww fl pt20 pb40 rds5 bg-white pos-r z1"},[null==t.isDone?e("el-form",{ref:"phoneValidForm",staticClass:"ww fl",attrs:{"label-position":"top",model:t.phoneValidForm}},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h80 mrau mb20 dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("h1",{staticClass:"ww fl mb15 fs-18 ta-c"},[t._v(t._s(t.$t("verify_phone")))]),t._v(" "),e("el-form-item",{attrs:{label:t.$t("enter_code_number"),prop:"sms_code",rules:t.requiredPhoneMessage()}},[e("el-input",{staticClass:"ww fl",attrs:{placeholder:"******","prefix-icon":"el-icon-phone ta-o"},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.submitForm.apply(null,arguments)}},model:{value:t.phoneValidForm.sms_code,callback:function(e){t.$set(t.phoneValidForm,"sms_code",e)},expression:"phoneValidForm.sms_code"}})],1),t._v(" "),e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:12}},[e("el-button",{staticClass:"ww fl mt20",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)],1)]):t._e(),t._v(" "),e("alertCard",{attrs:{message:t.message,done:t.isDone}})],1)]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(15),l={components:{alertCard:r(19).default,inputPage:o.default},data(){return{isMail:0,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",showCheck:!1,buttonLoading:!1,formData:{eposta:"",ceptel:""},isDone:null,message:null,sendMode:0,rules:{eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}]}}},created(){this.getSetting(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,console.log(this.$store.state.firmSmsSendStatus)},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},getSetting(){"0"==this.$cookies.get("appSubFirm")&&"1"==this.$store.state.firmAppMode&&this.$router.push(this.localePath("/auth/giris?unknowFirm=1")),this.$cookies.get("corpId")||"1"!=this.$store.state.firmAppMode||this.$router.push(this.localePath("/auth/giris?unknowFirm=1")),this.sendMode=this.$store.state.firmSmsSendStatus,this.isMail=this.$store.state.firmSmsSendStatus},changeSendMode(){this.formData.contactId=""},submitForm(t){t.preventDefault(),this.$refs.formData.validate(t=>
1{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.$apis.post("api/user/passwordForgotten",{resetType:this.isMail,contactId:this.formData[0==this.isMail?"eposta":"ceptel"]}).then(t=>{this.message=t.data.KiboApp.Response.kiboMessage,this.isDone="success",setTimeout(()=>{location.href=this.localePath("/"+(0==this.isMail?"auth/giris":"auth/accountResetPhone"))},3e3)}).catch(t=>{this.message=t.response.data.KiboApp.Response.kiboMessage,this.isDone="error",setTimeout(()=>{this.isDone=null,this.buttonLoading=!1},3e3)})})}}},n=(r(508),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-36em hh mrau px10pos-r z1",style:"margin-top:"+(t.$device.isMobile?"15px":"3vh")},[e("div",{staticClass:"ww fl pt20 pb40 rds5 bg-white pos-r z1"},[null==t.isDone?e("el-form",{ref:"formData",staticClass:"forgetForm ww fl",attrs:{"label-position":"top",rules:t.rules,model:t.formData}},[e("div",{class:"ww fl "+(t.$device.isMobile?"px10 ":"px50")},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h80 mrau mb20 dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("h1",{staticClass:"ww fl mb15 fs-18 ta-c"},[t._v(t._s(t.$t("forget_password")))]),t._v(" "),1==t.sendMode?e("div",{staticClass:"ww fl mb20"},[e("el-radio-group",{on:{change:t.changeSendMode},model:{value:t.isMail,callback:function(e){t.isMail=e},expression:"isMail"}},[e("el-radio-button",{attrs:{label:"0"}},[t._v("Mail")]),t._v(" "),e("el-radio-button",{attrs:{label:"1"}},[t._v("SMS")])],1)],1):t._e(),t._v(" "),e("el-form-item",{attrs:{label:t.$t(0==t.isMail?"email":"enter_phone_number"),prop:0==t.isMail?"eposta":"ceptel"}},[e("el-input",{staticClass:"ww fl",attrs:{placeholder:0==t.isMail?"[email protected]":"5***","prefix-icon":"el-icon-"+(0==t.isMail?"message":"phone")+" ta-o"},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:(e.preventDefault(),t.submitForm.apply(null,arguments))}},model:{value:t.formData[0==t.isMail?"eposta":"ceptel"],callback:function(e){t.$set(t.formData,0==t.isMail?"eposta":"ceptel",e)},expression:"formData[(isMail==0?'eposta':'ceptel')]"}})],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,sm:12,xs:12}},[e("el-button",{staticClass:"ww fl mt20",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)],1)]):t._e(),t._v(" "),e("alertCard",{attrs:{message:t.message,done:t.isDone}})],1)]),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={components:{inputPage:()=>r.e(0).then(r.bind(null,15)),uyeForm:()=>Promise.all([r.e(0),r.e(23)]).then(r.bind(null,793)),isletmeForm:()=>Promise.all([r.e(0),r.e(45)]).then(r.bind(null,788)),sadakatForm:()=>Promise.all([r.e(0),r.e(21)]).then(r.bind(null,791)),isletme_yurtdisiForm:()=>Promise.all([r.e(0),r.e(20)]).then(r.bind(null,789)),sadakat_yurtdisiForm:()=>Promise.all([r.e(0),r.e(22)]).then(r.bind(null,792)),b2c_isletmeForm:()=>Promise.all([r.e(0),r.e(19)]).then(r.bind(null,787)),okulForm:()=>r.e(0).then(r.bind(null,790))},data(){return{firmSetting:this.$store.state.firm.settings,formType:["uyeForm","isletmeForm","isletme_yurtdisiForm","sadakatForm","sadakat_yurtdisiForm","b2c_isletmeForm","okulForm"]}},computed:{selectedFormComponent(){var t=this.firmSetting.b2bUiSettings.settings.data.b2bFormType||0,e=this.formType[t]||"uyeForm";return this.$options.components[e]}},created(){!1===this.firmSetting.b2bUiSettings.settings.data.b2bShowRegisterButton&&this.$router.push(this.localePath("/auth/giris?unknowFirm=1"))},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:(this.firmSetting.b2bUiSettings.settings.data.b2bWebTitle||"ONSO B2B")+" "+this.$t("signup")}}},l=(r(509),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl pt20 pb40 pos-r z9"},[e(t.selectedFormComponent,{tag:"component"})],1),t._v(" "),e("inputPage")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={props:["error"],layout:"error"},l=(r(510),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"number"},[t._v("404")]),t._v(" "),e("div",{staticClass:"text"},[e("span",[t._v("Ooops")]),t._v(t._s(t.$t("Ayar Dosyası Bulunamadı")))]),t._v(" "),e("a",{staticClass:"py10 px15 txt-white bg-info rds fs-13",attrs:{href:"/"}},[t._v(t._s(t.$t("Anasayfa")))])])},[],!1,null,"07ad78ec",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={props:["error"],layout:"error"},l=(r(511),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"ww fl my20"}),t._v(" "),e("div",{staticClass:"number"},[e("svg",{staticStyle:{width:"230px"},attrs:{viewBox:"0 0 457.82 451.14"}},[e("g",{attrs:{id:"freepik--Floor--inject-2"}},[e("ellipse",{staticStyle:{fill:"#f5f5f5"},attrs:{cx:"228.91",cy:"318.98",rx:"228.91",ry:"132.16"}})]),t._v(" "),e("g",{attrs:{id:"freepik--Plant--inject-2"}},[e("path",{staticStyle:{fill:"#ff2626"}
1,attrs:{d:"M184.28,394.78l-8.7,5.05s4.39-14,2-28.11a27,27,0,0,0-3.54-9.39c-.69-1.42-5.93-10.22-1.31-14.27s15.45,4,15,25.73A84.51,84.51,0,0,1,184.28,394.78Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.30000000000000004"},attrs:{d:"M184.28,394.78l-8.7,5.05s4.39-14,2-28.11a27,27,0,0,0-3.54-9.39c-.69-1.42-5.93-10.22-1.31-14.27s15.45,4,15,25.73A84.51,84.51,0,0,1,184.28,394.78Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M180.24,397.52l-.14,0a.4.4,0,0,1-.23-.51c0-.09,3.27-9.1,3.1-23.6s-7.69-22.05-7.77-22.13a.4.4,0,0,1,0-.56.4.4,0,0,1,.56,0c.08.08,7.83,7.94,8,22.68s-3.12,23.79-3.15,23.88A.4.4,0,0,1,180.24,397.52Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M177.53,398.72l-14.37,8.46s-6.58-1-6.08-7.17,3.17-7.65-.16-10.37-4.19-2.91-4-5.58,2-3.83,2.8-4.88,3.2-3.28,1.54-6.5-3.9-6.33-.57-7.8c2-.88,5.34.22,7.55,2.58s4,4,6.15,4.59,6.49.59,6.34,4.21-1.09,4.87-.21,6.48C178.14,385.77,185.21,387.4,177.53,398.72Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M171.68,402.56h0a.39.39,0,0,1-.36-.42c0-.22,1.54-21.28-13.07-35.09a.4.4,0,0,1,0-.56.38.38,0,0,1,.55,0c14.9,14.07,13.33,35.5,13.31,35.72A.38.38,0,0,1,171.68,402.56Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M169.1,384.19h0a.39.39,0,0,1-.36-.42,12.8,12.8,0,0,1,4.69-9.13.42.42,0,0,1,.56.09.41.41,0,0,1-.09.55,12.2,12.2,0,0,0-4.37,8.55A.39.39,0,0,1,169.1,384.19Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M170.16,387.85a.39.39,0,0,1-.29-.13s-3.65-3.9-11.88-2.78a.39.39,0,0,1-.1-.78c8.66-1.2,12.41,2.86,12.57,3a.41.41,0,0,1,0,.56A.39.39,0,0,1,170.16,387.85Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("g",{attrs:{id:"freepik--Device--inject-2"}},[e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M244.5,329l-29.62,16.86a15.22,15.22,0,0,1-15.12,0l-19-11-2.16-1.25a14.83,14.83,0,0,1-7.41-12.83V266.08l44.46-25.31V296.6a12.79,12.79,0,0,0,6.39,11.08l22.48,13A4.79,4.79,0,0,1,244.5,329Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M208.54,347.78a15.1,15.1,0,0,0,6.34-1.94L244.5,329a4.79,4.79,0,0,0,0-8.31l-15.35-8.87H208.54Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M244,317l.82.65a5.65,5.65,0,0,1,2.12,4.41v2.77h-3Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#455a64"},attrs:{d:"M219.07,245v50.23A12.41,12.41,0,0,0,225.26,306L244,317a4.63,4.63,0,0,1,0,8l-2.13,1.21-26.55,15.12a14.72,14.72,0,0,1-14.63-.05l-18.42-10.87A12.38,12.38,0,0,1,176,319.72V269.49Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M219.07,295.23V245l-43,24.49v50.23a12.38,12.38,0,0,0,6.19,10.73l42.41-24.89A12.38,12.38,0,0,1,219.07,295.23Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M102.29,345.45l-4.11,2.38v7.51a14.55,14.55,0,0,1-7.49-2.07l-.32-.19a8.07,8.07,0,0,1-3.75-5.15,4.69,4.69,0,0,1-.23-1.42V336.28Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M280.79,69.49l-.32-.2A14.66,14.66,0,0,0,273,67.23h0a4.63,4.63,0,0,0-2.4.64l-177,101.79a14.33,14.33,0,0,0-7.16,12.4V336.28l15.89,9.17,168.16-96.67a14.33,14.33,0,0,0,7.16-12.4V76.47h7.15A8.12,8.12,0,0,0,280.79,69.49Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M87.92,175.64a14.35,14.35,0,0,0-1.53,6.42V336.28l15.9,9.17,5.95-3.43V188.22Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M93.55,340.41v10.23a4.69,4.69,0,0,0,7,4.06l177-101.79a14.33,14.33,0,0,0,7.16-12.4V230Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#455a64"},attrs:{d:"M284.76,76.06a4.69,4.69,0,0,0-7-4.06l-177,101.79a14.33,14.33,0,0,0-7.16,12.4V340.41L284.76,230",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"}
1,attrs:{d:"M274.5,83.16h0a5.15,5.15,0,0,0-2.33.54L105.77,179.34a12.65,12.65,0,0,0-6.33,11V321.69a4.19,4.19,0,0,0,.34,1.65h0a4.15,4.15,0,0,0,5.88,1.94L272,229.64a12.66,12.66,0,0,0,6.32-11V87.29A4.14,4.14,0,0,0,274.5,83.16Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff",opacity:"0.4"},attrs:{d:"M274.5,83.16h0a5.15,5.15,0,0,0-2.33.54L105.77,179.34a12.65,12.65,0,0,0-6.33,11V321.69a4.19,4.19,0,0,0,.34,1.65h0a4.15,4.15,0,0,0,5.88,1.94L272,229.64a12.66,12.66,0,0,0,6.32-11V87.29A4.14,4.14,0,0,0,274.5,83.16Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("g",{attrs:{id:"freepik--Screen--inject-2"}},[e("path",{staticStyle:{fill:"#e0e0e0"},attrs:{d:"M114.63,198.43V345.88c0,2.36.87,3.95,2.2,4.48h0l5.65,3.1,0-5,.81-151.59-7.39-3.73A12.81,12.81,0,0,0,114.63,198.43Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#f0f0f0"},attrs:{d:"M115.9,193.12l7.39,3.73L302.07,92l4.26-2.47-5.89-3.32-.16-.1h0a3.41,3.41,0,0,0-3.53.26L120,188.27A10.85,10.85,0,0,0,115.9,193.12Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M121,201.64V348.12c0,2,.65,3.5,1.69,4.18l.33.19a3.48,3.48,0,0,0,3.26-.38L302.07,250.85c2.92-1.69,5.29-6.21,5.29-10.1V94.28c0-2-.61-3.4-1.58-4.11a2.06,2.06,0,0,0-.54-.3,3.5,3.5,0,0,0-3.17.42L126.32,191.55a10.64,10.64,0,0,0-3.91,4.58A12.85,12.85,0,0,0,121,201.64Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M283.7,188.38,200,236.73a2.78,2.78,0,0,1-4.18-2.41v-44.8a13.06,13.06,0,0,1,6.52-11.3L284.12,131a4,4,0,0,1,6,3.46v42.85A12.8,12.8,0,0,1,283.7,188.38Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M209.06,262.16l-10.34,6c-1.81,1.05-3.28-.06-3.28-2.48V254.89a7.88,7.88,0,0,1,3.28-6.28l10.34-6c1.81-1.05,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,209.06,262.16Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M234.28,247.68l-10.34,6c-1.81,1-3.28-.06-3.28-2.48V240.41a7.85,7.85,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,234.28,247.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M260.24,232.68l-10.34,6c-1.81,1-3.28-.06-3.28-2.48V225.4a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.49v10.76A7.85,7.85,0,0,1,260.24,232.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M286.21,217.68l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V210.4a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.48v10.77A7.86,7.86,0,0,1,286.21,217.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M209.06,290.65l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V283.37a7.86,7.86,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.07,3.28,2.48v10.77A7.88,7.88,0,0,1,209.06,290.65Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M234.28,276.17l-10.34,6c-1.81,1.05-3.28-.07-3.28-2.48V268.89a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.48V269.9A7.86,7.86,0,0,1,234.28,276.17Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M260.24,261.17l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V253.89a7.86,7.86,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.06,3.28,2.48V254.9A7.88,7.88,0,0,1,260.24,261.17Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M286.21,246.16l-10.34,6c-1.81,1.05-3.28-.06-3.28-2.48V238.89a7.85,7.85,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,286.21,246.16Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("g",{staticStyle:{opacity:"0.7000000000000001"}},[e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M283.7,188.38,200,236.73a2.78,2.78,0,0,1-4.18-2.41v-44.8a13.06,13.06,0,0,1,6.52-11.3L284.12,131a4,4,0,0,1,6,3.46v42.85A12.8,12.8,0,0,1,283.7,188.38Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M209.06,262.16l-10.34,6c-1.81,1.05-3.28-.06-3.28-2.48V254.89a7.88,7.88,0,0,1,3.28-6.28l10.34-6c1.81-1.05,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,209.06,262.16Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M234.28,247.68l-10.34,6c-1.81,1-3.28-.06-3.28-2.48V240.41a7.85,7.85,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,234.28,247.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M260.24,232.68l-10.34,6c-1.81,1-3.28-.06-3.28-2.48V225.4a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.49v10.76A7.85,7.85,0,0,1,260.24,232.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M286.21,217.68l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V210.4a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.48v10.77A7.86,7.86,0,0,1,286.21,217.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M209.06,290.65l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V283.37a7.86,7.86,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.07,3.28,2.48v10.77A7.88,7.88,0,0,1,209.06,290.65Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M234.28,276.17l-10.34,6c-1.81,1.05-3.28-.07-3.28-2.48V268.89a7.88,7.88,0,0,1,3.28-6.27l10.34-6c1.81-1,3.28.07,3.28,2.48V269.9A7.86,7.86,0,0,1,234.28,276.17Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M260.24,261.17l-10.34,6c-1.81,1-3.28-.07-3.28-2.48V253.89a7.86,7.86,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.06,3.28,2.48V254.9A7.88,7.88,0,0,1,260.24,261.17Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff"},attrs:{d:"M286.21,246.16l-10.34,6c-1.81,1.05-3.28-.06-3.28-2.48V238.89a7.85,7.85,0,0,1,3.28-6.27l10.34-6c1.81-1.05,3.28.06,3.28,2.48v10.76A7.85,7.85,0,0,1,286.21,246.16Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M179.76,321.48,126,352.5a3.46,3.46,0,0,1-5.2-3V205l58.93-34Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff",opacity:"0.7000000000000001"},attrs:{d:"M179.76,321.48,126,352.5a3.46,3.46,0,0,1-5.2-3V205l58.93-34Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M137.09,214.54a9,9,0,0,1-4.07,7c-2.24,1.3-4.06.25-4.06-2.34a9,9,0,0,1,4.06-7C135.27,210.9,137.09,212,137.09,214.54Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M137.09,230.11a9,9,0,0,1-4.07,7c-2.24,1.3-4.06.25-4.06-2.34a9,9,0,0,1,4.06-7.05C135.27,226.47,137.09,227.52,137.09,230.11Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M137.09,245.68a9,9,0,0,1-4.07,7c-2.24,1.3-4.06.25-4.06-2.35a9,9,0,0,1,4.06-7C135.27,242,137.09,243.09,137.09,245.68Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M137.09,261.25a9,9,0,0,1-4.07,7c-2.24,1.3-4.06.24-4.06-2.35a9,9,0,0,1,4.06-7C135.27,257.6,137.09,258.65,137.09,261.25Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M146.15,210.79a1.47,1.47,0,0,1-.74-2.75l23.82-13.75a1.47,1.47,0,0,1,1.47,2.55l-23.82,13.75A1.49,1.49,0,0,1,146.15,210.79Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M146.15,226.36a1.47,1.47,0,0,1-.74-2.75l23.82-13.76a1.48,1.48,0,0,1,2,.54,1.46,1.46,0,0,1-.54,2l-23.82,13.76A1.49,1.49,0,0,1,146.15,226.36Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M146.15,241.92a1.47,1.47,0,0,1-.74-2.74l23.82-13.76a1.48,1.48,0,0,1,2,.54,1.46,1.46,0,0,1-.54,2l-23.82,13.76A1.47,1.47,0,0,1,146.15,241.92Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M146.15,257.49a1.47,1.47,0,0,1-.74-2.75L169.23,241a1.48,1.48,0,0,1,2,.54,1.46,1.46,0,0,1-.54,2l-23.82,13.75A1.39,1.39,0,0,1,146.15,257.49Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M133,294a1.47,1.47,0,0,1-.74-2.75l36.94-21.32a1.47,1.47,0,1,1,1.47,2.54l-36.94,21.33A1.39,1.39,0,0,1,133,294Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M133,307a1.47,1.47,0,0,1-.74-2.75l36.94-21.33a1.48,1.48,0,0,1,2,.54,1.46,1.46,0,0,1-.54,2l-36.94,21.33A1.39,1.39,0,0,1,133,307Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M133,320a1.47,1.47,0,0,1-.74-2.75l36.94-21.33a1.48,1.48,0,0,1,2,.54,1.46,1.46,0,0,1-.54,2l-36.94,21.33A1.49,1.49,0,0,1,133,320Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M133,332.94a1.47,1.47,0,0,1-.74-2.75l36.94-21.33a1.47,1.47,0,0,1,1.47,2.55l-36.94,21.33A1.49,1.49,0,0,1,133,332.94Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fafafa"},attrs:{d:"M121,287.49a.47.47,0,0,1-.42-.24.49.49,0,0,1,.17-.67l57.22-33a.48.48,0,0,1,.67.18.5.5,0,0,1-.18.67l-57.21,33A.57.57,0,0,1,121,287.49Z",transform:"translate(-21.09 -24.43)"}}
1),t._v(" "),e("path",{staticStyle:{fill:"#e6e6e6"},attrs:{d:"M125.14,192.55l177.91-103a3.14,3.14,0,0,1,4.73,2.71V100L120.83,207.7v-6.06C120.83,198.54,122.47,194.11,125.14,192.55Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#f0f0f0"},attrs:{d:"M304.87,89.94a2,2,0,0,1,.76.15,1.17,1.17,0,0,1,.33.2,4.17,4.17,0,0,1,1.23,3.41V241.06c0,3.56-2.23,7.86-4.88,9.38L125.51,352.32a3.37,3.37,0,0,1-1.66.51,1.83,1.83,0,0,1-.77-.16l-.28-.15c-.81-.56-1.27-1.81-1.27-3.45V201.71a12.09,12.09,0,0,1,1.29-5.16,9.79,9.79,0,0,1,3.58-4.22L303.2,90.46a3.35,3.35,0,0,1,1.67-.52m0-.89a4.29,4.29,0,0,0-2.11.63L126,191.56a10.69,10.69,0,0,0-3.94,4.6,12.92,12.92,0,0,0-1.38,5.55V349.07c0,2.05.65,3.52,1.7,4.21l.34.19a2.71,2.71,0,0,0,1.17.26,4.29,4.29,0,0,0,2.11-.64l176.8-101.87c2.94-1.7,5.32-6.25,5.32-10.16V93.7c0-2-.61-3.41-1.59-4.13a2.23,2.23,0,0,0-.54-.31,2.74,2.74,0,0,0-1.08-.21Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("g",{attrs:{id:"freepik--Crane--inject-2"}},[e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"333.61 196.09 333.61 200.74 354.18 193.32 370.36 159.24 362.77 158.23 349.09 186.69 333.61 196.09"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#455a64"},attrs:{points:"333.61 196.09 338.7 198.73 338.7 203.38 333.61 200.74 333.61 196.09"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#263238"},attrs:{points:"338.7 198.73 338.7 203.38 356.22 193.32 371.32 160.91 367.87 160.87 354.18 189.33 338.7 198.73"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"378.87 228 408.7 168.1 418.7 172.06 394.38 235.39 378.87 228"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M439.79,170.93h0c-1.72-1-4.11-.86-6.74.66-5.25,3-9.51,10.4-9.51,16.47,0,3.31,1.28,5.54,3.29,6.39h0L438.07,201l13.41-23.29Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#ff2626"},attrs:{cx:"445.03",cy:"189.48",rx:"13.45",ry:"7.77",transform:"translate(37.33 455.72) rotate(-60)"}}),t._v(" "),e("ellipse",{staticStyle:{opacity:"0.30000000000000004"},attrs:{cx:"445.03",cy:"189.48",rx:"13.45",ry:"7.77",transform:"translate(37.33 455.72) rotate(-60)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M449.85,186.7a10.69,10.69,0,0,1-4.82,8.36c-2.67,1.54-4.83.29-4.83-2.79a10.66,10.66,0,0,1,4.83-8.36C447.69,182.37,449.85,183.62,449.85,186.7Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.6000000000000001"},attrs:{d:"M449.85,186.7a10.69,10.69,0,0,1-4.82,8.36c-2.67,1.54-4.83.29-4.83-2.79a10.66,10.66,0,0,1,4.83-8.36C447.69,182.37,449.85,183.62,449.85,186.7Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M393.22,181.4c.35.57,38,8.08,38,8.08s3.52-.53,3.52-3.85a4.51,4.51,0,0,0-3.17-4.23L394,176.53Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M390.42,167.55h0c-1.19-.69-2.84-.59-4.66.46a14.52,14.52,0,0,0-6.58,11.39c0,2.29.89,3.83,2.28,4.42h0l7.78,4.51,9.27-16.1Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M400.62,176.59A14.52,14.52,0,0,1,394,188c-3.63,2.1-6.58.4-6.58-3.79A14.55,14.55,0,0,1,394,172.79C397.67,170.69,400.62,172.39,400.62,176.59Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.30000000000000004"},attrs:{d:"M400.62,176.59A14.52,14.52,0,0,1,394,188c-3.63,2.1-6.58.4-6.58-3.79A14.55,14.55,0,0,1,394,172.79C397.67,170.69,400.62,172.39,400.62,176.59Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M397.38,178.46a7.41,7.41,0,0,1-3.34,5.78c-1.84,1.06-3.34.2-3.34-1.93a7.38,7.38,0,0,1,3.34-5.78C395.88,175.46,397.38,176.33,397.38,178.46Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.6000000000000001"},attrs:{d:"M397.38,178.46a7.41,7.41,0,0,1-3.34,5.78c-1.84,1.06-3.34.2-3.34-1.93a7.38,7.38,0,0,1,3.34-5.78C395.88,175.46,397.38,176.33,397.38,178.46Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#37474f"},attrs:{cx:"335.17",cy:"321.91",rx:"25.21",ry:"14.55",transform:"translate(-93.86 520.07) rotate(-72.46)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"305.18 320.97 317.71 328.7 336.55 282.29 335.1 281.31 305.18 320.97"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#263238"},attrs:{cx:"347.97",cy:"329.78",rx:"25.21",ry:"14.55",transform:"translate(-92.42 537.77) rotate(-72.46)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#37474f"},attrs:{cx:"422.76",cy:"321.33",rx:"24.38",ry:"14.55",transform:"translate(-32.11 603.18) rotate(-72.46)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"392.37 319.31 405.63 327.54 423.41 280.42 410.46 274.25 392.37 319.31"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#ff2626"},attrs:{points:"323.97 228 372.13 255.35 408.7 234.07 361.05 206.8 323.97 228"}}),t._v(" "),e("polygon",{staticStyle:{opacity:"0.2"},attrs:{points:"408.7 234.07 396.21 241.34 396.2 241.34 394.34 242.43 372.13 255.35 323.96 228 346.69 215.01 348.44 214 361.
105 206.8 408.7 234.07"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M429.79,258.5v63.68l-12.49,7.25-1.74,1-12,6.94c-3-9.59-11.24-11.66-19.15-4.42a33.94,33.94,0,0,0-7.85,11.48V329.58l16.62-49.8,22.21-12.92,1.86-1.09h0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.4"},attrs:{d:"M429.79,258.5v63.68l-12.49,7.25-1.74,1-12,6.94c-3-9.59-11.24-11.66-19.15-4.42a33.94,33.94,0,0,0-7.85,11.48V329.58l16.62-49.8,22.21-12.92,1.86-1.09h0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#ff2626"},attrs:{points:"307.35 277.8 355.51 305.15 355.51 320.01 345.56 314.58 345.56 330.3 316.71 313.76 316.71 297.93 307.35 292.65 307.35 277.8"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#ff2626"},attrs:{points:"323.97 228 307.35 277.8 355.51 305.15 372.13 255.35 323.97 228"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#fff",opacity:"0.2"},attrs:{points:"323.97 228 307.35 277.8 355.51 305.15 372.13 255.35 323.97 228"}}),t._v(" "),e("path",{staticStyle:{fill:"#37474f"},attrs:{d:"M376.6,344.44,366.66,339c-3.17,6.28-4.87,13.41-4.27,19.59,1.11,11.31,9.5,15.12,18.74,8.51,6.44-4.61,11.58-13.05,13.74-21.58Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"346.77 344.7 360.03 352.93 378.87 306.53 377.43 305.54 346.77 344.7"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#37474f"},attrs:{cx:"388.89",cy:"353.06",rx:"25.21",ry:"14.55",transform:"translate(-86.03 593.05) rotate(-72.46)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#455a64"},attrs:{cx:"390.29",cy:"354.02",rx:"25.21",ry:"14.55",transform:"translate(-85.96 595.06) rotate(-72.46)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#263238"},attrs:{cx:"391.34",cy:"354.73",rx:"11.38",ry:"6.57",transform:"translate(-85.91 596.55) rotate(-72.46)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M396.9,349.15a17.34,17.34,0,0,1-4.22,13.34c-3,3.09-6.08,2.12-6.79-2.15A17.32,17.32,0,0,1,390.1,347C393.14,343.91,396.18,344.87,396.9,349.15Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M395.11,350.87a12.41,12.41,0,0,1-2.84,9c-2,2.11-3.9,1.51-4.31-1.36a12.42,12.42,0,0,1,2.85-9C392.78,347.4,394.71,348,395.11,350.87Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#37474f"},attrs:{cx:"434.48",cy:"327.66",rx:"25.21",ry:"14.55",transform:"translate(-29.96 618.79) rotate(-72.46)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#455a64"},attrs:{cx:"435.89",cy:"328.62",rx:"25.21",ry:"14.55",transform:"translate(-29.9 620.8) rotate(-72.46)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M443.79,323.06a17.84,17.84,0,0,1-4.85,15.35c-3.79,3.46-7.75,2.21-8.86-2.8s1.06-11.88,4.85-15.35S442.68,318.05,443.79,323.06Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("ellipse",{staticStyle:{fill:"#ff2626"},attrs:{cx:"436.99",cy:"329.35",rx:"9.89",ry:"5.04",transform:"translate(-29.82 622.35) rotate(-72.46)"}}),t._v(" "),e("path",{staticStyle:{fill:"#263238"},attrs:{d:"M440.71,325.47a12.38,12.38,0,0,1-2.85,9c-2,2.11-3.9,1.5-4.3-1.36a12.37,12.37,0,0,1,2.85-9C438.38,322,440.31,322.61,440.71,325.47Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"367.05 257.12 359.97 278.31 358.13 283.83 354.37 295.11 353.04 299.09 346.35 295.3 312.44 276.04 326.45 234.05 332.17 237.3 341.52 242.62 349.09 246.92 352.8 249.03 367.05 257.12"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M417.3,265.77v63.66l-1.74,1a.89.89,0,0,1-.13-.47V266.86l-47.3-27.08a.88.88,0,0,1-.35-.34l1.75-1,47.76,27.34Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("g",{staticStyle:{opacity:"0.5"}},[e("path",{attrs:{d:"M417.3,265.77v63.66l-1.74,1a.89.89,0,0,1-.13-.47V266.86l-47.3-27.08a.88.88,0,0,1-.35-.34l1.75-1,47.76,27.34Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("polygon",{staticStyle:{fill:"#455a64"},attrs:{points:"354.37 295.11 353.04 299.09 346.35 295.3 332.17 237.3 341.52 242.62 354.37 295.11"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#455a64"},attrs:{points:"359.97 278.31 358.13 283.83 349.09 246.92 352.8 249.03 359.97 278.31"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"391.31 283.46 359.97 302.12 374.52 258.53 391.31 248.76 391.31 283.46"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"405.73 275.09 399.49 278.69 399.49 243.92 405.73 240.31 405.73 275.09"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M279.79,199.25v63a1.91,1.91,0,0,0,.94,1.92h0l2.41,1.33v-2.15l.34-64.8-3.16-1.6A5.51,5.51,0,0,0,279.79,199.25Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M280.33,197l3.16,1.6,76.42-44.8,1.82-1.06-2.51-1.42-.08,0h0a1.43,1.43,0,0,0-1.5.11l-75.58,43.54A4.74,4.74,0,0,0,280.33,197Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff",opacity:"0.2"},attrs:{d:"M280.33,197l3.16,1.6,76.42-44.8,1.82-1.06-2.51-1.42-.08,0h0a1.43,1.43,0,0,0-1.5.11l-75.58,43.54A4.74,4.74,0,0,0,280.33,197Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M282.53,200.63v62.61a2.07,2.07,0,0,0,.72,1.79l.15.08a1.49,1.49,0,0,0,1.39-.16l75.12-43.29a5.4,5.4,0,0,0,2.26-4.31V154.74a2.11,2.11,0,0,0-.67-1.76,1,1,0,0,0-.23-.13,1.53,1.53,0,0,0-1.36.18l-75.12,43.28a4.53,4.53,0,0,0-1.67,2A5.42,5.42,0,0,0,282.53,200.63Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M282.53,200.63v62.61a2.07,2.07,0,0,0,.72,1.79l.15.08a1.49,1.49,0,0,0,1.39-.16l75.12-43.29a5.4,5.4,0,0,0,2.26-4.31V154.74a2.11,2.11,0,0,0-.67-1.76,1,1,0,0,0-.23-.13,1.53,1.53,0,0,0-1.36.18l-75.12,43.28a4.53,4.53,0,0,0-1.67,2A5.42,5.42,0,0,0,282.53,200.63Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("text",{staticStyle:{"font-size":"42.409053802490234px",fill:"#fafafa","font-family":"Montserrat-Bold, Montserrat","font-weight":"700"},attrs:{transform:"matrix(0.87, -0.5, 0, 1, 274.99, 216.77)"}},[t._v("\n            /\n          ")]),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M361.11,152.88a.71.71,0,0,1,.32.07.37.37,0,0,1,.15.08,1.8,1.8,0,0,1,.52,1.46v63a5.1,5.1,0,0,1-2.08,4L284.44,265a1.41,1.41,0,0,1-.71.23.79.79,0,0,1-.32-.07l-.12-.06a1.73,1.73,0,0,1-.55-1.48v-63a5.26,5.26,0,0,1,.55-2.21,4.28,4.28,0,0,1,1.53-1.8L360.4,153.1a1.49,1.49,0,0,1,.71-.22m0-.38a1.85,1.85,0,0,0-.9.27l-75.58,43.55a4.47,4.47,0,0,0-1.68,2,5.43,5.43,0,0,0-.59,2.37v63a2.1,2.1,0,0,0,.72,1.8l.15.08a1.18,1.18,0,0,0,.5.11,1.77,1.77,0,0,0,.9-.28l75.58-43.54a5.46,5.46,0,0,0,2.27-4.34v-63a2.12,2.12,0,0,0-.68-1.77,1,1,0,0,0-.23-.13,1.18,1.18,0,0,0-.46-.09Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#455a64"},attrs:{points:"346.06 124.84 363.51 146.99 367.75 149.27 349.81 122.71 346.06 124.84"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#263238"},attrs:{points:"334.53 131.38 334.53 134.85 350.49 125.76 367.75 149.27 369.67 147.34 351.37 121.83 334.53 131.38"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#37474f"},attrs:{points:"351.37 121.83 345.56 118.3 328.72 128.02 334.53 131.38 351.37 121.83"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#455a64"},attrs:{points:"328.72 128.02 328.72 131.38 334.53 134.85 334.53 131.38 328.72 128.02"}}),t._v(" "),e("path",{staticStyle:{fill:"#455a64"},attrs:{d:"M359.84,342.78a1.41,1.41,0,0,1-.71-.2l-15.66-9a3.89,3.89,0,0,1-1.94-3.37V318.6a1.39,1.39,0,0,1,.71-1.23,1.41,1.41,0,0,1,1.43,0l15.65,9a3.9,3.9,0,0,1,1.95,3.37v11.57a1.42,1.42,0,0,1-.71,1.23A1.45,1.45,0,0,1,359.84,342.78Zm-.28-.93a.58.58,0,0,0,.86-.5V329.78a3,3,0,0,0-1.52-2.63l-15.66-9a.56.56,0,0,0-.57,0,.58.58,0,0,0-.29.5v11.57a3.06,3.06,0,0,0,1.52,2.64Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("rect",{staticStyle:{fill:"#455a64"},attrs:{x:"350.96",y:"314.27",width:"0.85",height:"21.8",transform:"translate(-127 442.47) rotate(-60)"}}),t._v(" "),e("rect",{staticStyle:{fill:"#455a64"},attrs:{x:"350.96",y:"317.47",width:"0.85",height:"21.8",transform:"translate(-129.77 444.09) rotate(-60)"}}),t._v(" "),e("rect",{staticStyle:{fill:"#455a64"},attrs:{x:"350.96",y:"320.68",width:"0.85",height:"21.8",transform:"translate(-132.55 445.67) rotate(-60)"}}),t._v(" "),e("rect",{staticStyle:{fill:"#455a64"},attrs:{x:"350.96",y:"323.88",width:"0.85",height:"21.8",transform:"translate(-135.32 447.28) rotate(-60)"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#fff"},attrs:{points:"314.05 291.66 307.35 287.79 307.35 283.83 314.05 287.7 314.05 291.66"}}),t._v(" "),e("polygon",{staticStyle:{fill:"#fff"},attrs:{points:"355.51 314.97 348.81 311.1 348.81 307.15 355.51 311.01 355.51 314.97"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M299,133.47v34.66a1.06,1.06,0,0,0,.52,1.06h0l1.32.73v-1.18L301,133.1l-1.74-.87A2.9,2.9,0,0,0,299,133.47Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M299.29,132.23l1.74.87,42-24.63,1-.58-1.38-.78,0,0h0a.81.81,0,0,0-.83.06l-41.56,24A2.54,2.54,0,0,0,299.29,132.23Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff",opacity:"0.2"},attrs:{d:"M299.29,132.23l1.74.87,42-24.63,1-.58-1.38-.78,0,0h0a.81.81,0,0,0-.83.06l-41.56,24A2.54,2.54,0,0,0,299.29,132.23Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M300.5,134.23v34.43a1.13,1.13,0,0,0,.39,1l.08.05a.84.84,0,0,0,.77-.09l41.31-23.8a3,3,0,0,0,1.24-2.38V109a1.15,1.15,0,0,0-.37-1,.37.37,0,0,0-.12-.07.83.83,0,0,0-.75.09l-41.31,23.81a2.51,2.51,0,0,0-.92,1.07A3,3,0,0,0,300.5,134.23Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M300.5,134.23v34.43a1.13,1.13,0,0,0,.39,1l.08.05a.84.84,0,0,0,.77-.09l41.31-23.8a3,3,0,0,0,1.24-2.38V109a1.15,1.15,0,0,0-.37-1,.37.37,0,0,0-.12-.07.83.83,0,0,0-.75.09l-41.31,23.81a2.51,2.51,0,0,0-.92,1.07A3,3,0,0,0,300.5,134.23Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("text",{staticStyle:{"font-size":"18.2454833984375px",fill:"#fafafa","font-family":"Montserrat-Bold, Montserrat","font-weight":"700"},attrs:{transform:"matrix(0.87, -0.5, 0, 1, 285.61, 130.33)"}},[t._v("\n            C++\n          ")]),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M343.71,108a.39.39,0,0,1,.18,0l.08,0a1,1,0,0,1,.28.81v34.63a2.81,2.81,0,0,1-1.14,2.21l-41.56,24a.79.79,0,0,1-.39.12.48.48,0,0,1-.18,0l-.06,0a1,1,0,0,1-.31-.82V134.25a2.79,2.79,0,0,1,.31-1.22,2.21,2.21,0,0,1,.84-1l41.56-23.95a.79.79,0,0,1,.39-.12m0-.21a1.05,1.05,0,0,0-.5.15l-41.56,24a2.55,2.55,0,0,0-.92,1.08,3.06,3.06,0,0,0-.33,1.31v34.63a1.14,1.14,0,0,0,.4,1l.08,0a.67.67,0,0,0,.28.06,1,1,0,0,0,.49-.15l41.56-24a3,3,0,0,0,1.25-2.39V108.86a1.14,1.14,0,0,0-.37-1,.57.57,0,0,0-.13-.08.7.7,0,0,0-.25,0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M299,79.69v34.53c0,.55.2.93.52,1h0l1.32.73v-1.18l.19-35.5-1.73-.87A2.9,2.9,0,0,0,299,79.69Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M299.29,78.45l1.73.87,41.87-24.54,1-.58-1.38-.78,0,0h0a.77.77,0,0,0-.83.06l-41.4,23.85A2.59,2.59,0,0,0,299.29,78.45Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#fff",opacity:"0.2"},attrs:{d:"M299.29,78.45l1.73.87,41.87-24.54,1-.58-1.38-.78,0,0h0a.77.77,0,0,0-.83.06l-41.4,23.85A2.59,2.59,0,0,0,299.29,78.45Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M300.49,80.44v34.3a1.14,1.14,0,0,0,.4,1l.08,0a.8.8,0,0,0,.76-.09L342.89,92a3,3,0,0,0,1.23-2.37V55.3a1.15,1.15,0,0,0-.37-1l-.12-.07a.81.81,0,0,0-.74.1L301.73,78.08a2.58,2.58,0,0,0-.92,1.07A3,3,0,0,0,300.49,80.44Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M300.49,80.44v34.3a1.14,1.14,0,0,0,.4,1l.08,0a.8.8,0,0,0,.76-.09L342.89,92a3,3,0,0,0,1.23-2.37V55.3a1.15,1.15,0,0,0-.37-1l-.12-.07a.81.81,0,0,0-.74.1L301.73,78.08a2.58,2.58,0,0,0-.92,1.07A3,3,0,0,0,300.49,80.44Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("text",{staticStyle:{"font-size":"23.233461380004883px",fill:"#fafafa","font-family":"Montserrat-Bold, Montserrat","font-weight":"700"},attrs:{transform:"matrix(0.87, -0.5, 0, 1, 288.92, 75.11)"}},[e("tspan",{attrs:{"xml:space":"preserve"}},[t._v("{}")])]),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M343.54,54.29a.57.57,0,0,1,.18,0l.08,0a1,1,0,0,1,.28.8v34.5a2.79,2.79,0,0,1-1.14,2.2l-41.4,23.86a.79.79,0,0,1-.39.12.29.29,0,0,1-.17,0l-.07,0a1,1,0,0,1-.3-.81V80.46a2.77,2.77,0,0,1,.3-1.21,2.33,2.33,0,0,1,.84-1l41.4-23.85a.79.79,0,0,1,.39-.12m0-.21a.9.9,0,0,0-.49.15L301.64,78.08a2.55,2.55,0,0,0-.92,1.08,3,3,0,0,0-.32,1.3V115a1.11,1.11,0,0,0,.4,1l.08,0a.6.6,0,0,0,.27.06,1,1,0,0,0,.49-.15l41.41-23.86a3,3,0,0,0,1.24-2.38V55.17a1.16,1.16,0,0,0-.37-1,.33.33,0,0,0-.13-.07.51.51,0,0,0-.25-.05Z",transform:"translate(-21.09 -24.43)"}})]),t._v(" "),e("g",{attrs:{id:"freepik--Gears--inject-2"}},[e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M217.4,80.58a4.32,4.32,0,0,1,1.22-2.69l3.9-3.94a2.48,2.48,0,0,0,.68-2.27l-1-4.76a1,1,0,0,0-.5-.66h0l-5.52-2.7-.13-.07a1,1,0,0,0-1,.15L213.47,65l1.64-5a1.24,1.24,0,0,0-.63-1.5h0L209,55.77h0a1.26,1.26,0,0,0-.44-.14L205,55.17a1.68,1.68,0,0,0-1.35.44h0a1.56,1.56,0,0,0-.4.55l-2.63,6a3.09,3.09,0,0,1-1.21,1.39l-.18-.49a1,1,0,0,0-.49-.52h0l-5.43-2.65-.17-.08h0a.92.92,0,0,0-1,.21l-4.65,4.7a3,3,0,0,0-.71,1.17,2.9,2.9,0,0,0-.09,1.28l.67,4.28A2.2,2.2,0,0,1,187,73l-2.65,4.12a2.08,2.08,0,0,1-.57.61,2.24,2.24,0,0,1-1.28.41h-3a2,2,0,0,0-.54.07,2.09,2.09,0,0,0-1.41,1.29l-2.66,7.28a1.12,1.12,0,0,0,.5,1.37h0l3.94,1.93a1.33,1.33,0,0,1,0,.53l-.44,4.08a2.45,2.45,0,0,1-.2.75,2.73,2.73,0,0,1-.59.92l-4,4.16a2.59,2.59,0,0,0-.61,1,2.52,2.52,0,0,0,0,1.28L174.6,108a.76.76,0,0,0,.43.52h0l5.5,2.69h0a.74.74,0,0,0,.84-.08l1.79-1.47-1.5,5.18a1,1,0,0,0,0,.35h0a1.18,1.18,0,0,0,.69,1v0l5.35,2.6h0a1,1,0,0,0,.55.22l3.09.39a1.94,1.94,0,0,0,2-1.13l2.63-5.88a3.1,3.1,0,0,1,1.28-1.4l.14.39a.91.91,0,0,0,.56.56h0l5.43,2.66,0,0h0a.93.93,0,0,0,1-.16l4.73-4.33a2.36,2.36,0,0,0,.74-2.07l-.67-4.73a3.36,3.36,0,0,1,.51-2.29l2.16-3.35a3.05,3.05,0,0,1,2.55-1.39h2.88A1.71,1.71,0,0,0,219,95.24l2.62-7a1.43,1.43,0,0,0-.62-1.72h0l0,0-.11,0-3.62-1.77a1.41,1.41,0,0,1,0-.46ZM200,77.19a9.36,9.36,0,0,1,3.88-1.7,10,10,0,0,1,1,3.79c.59,6.34-3.14,14.46-8.34,18.15a10.09,10.09,0,0,1-3.81,1.75,9.66,9.66,0,0,1-1.1-3.85C191.11,89,194.84,80.87,200,77.19Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.30000000000000004"},attrs:{d:"M217.4,80.58a4.32,4.32,0,0,1,1.22-2.69l3.9-3.94a2.48,2.48,0,0,0,.68-2.27l-1-4.76a1,1,0,0,0-.5-.66h0l-5.52-2.7-.13-.07a1,1,0,0,0-1,.15L213.47,65l1.64-5a1.24,1.24,0,0,0-.63-1.5h0L209,55.77h0a1.26,1.26,0,0,0-.44-.14L205,55.17a1.68,1.68,0,0,0-1.35.44h0a1.56,1.56,0,0,0-.4.55l-2.63,6a3.09,3.09,0,0,1-1.21,1.39l-.18-.49a1,1,0,0,0-.49-.52h0l-5.43-2.65-.17-.08h0a.92.92,0,0,0-1,.21l-4.65,4.7a3,3,0,0,0-.71,1.17,2.9,2.9,0,0,0-.09,1.28l.67,4.28A2.2,2.2,0,0,1,187,73l-2.65,4.12a2.08,2.08,0,0,1-.57.61,2.24,2.24,0,0,1-1.28.41h-3a2,2,0,0,0-.54.07,2.09,2.09,0,0,0-1.41,1.29l-2.66,7.28a1.12,1.12,0,0,0,.5,1.37h0l3.94,1.93a1.33,1.33,0,0,1,0,.53l-.44,4.08a2.45,2.45,0,0,1-.2.75,2.73,2.73,0,0,1-.59.92l-4,4.16a2.59,2.59,0,0,0-.61,1,2.52,2.52,0,0,0,0,1.28L174.6,108a.76.76,0,0,0,.43.52h0l5.5,2.69h0a.74.74,0,0,0,.84-.08l1.79-1.47-1.5,5.18a1,1,0,0,0,0,.35h0a1.18,1.18,0,0,0,.69,1v0l5.35,2.6h0a1,1,0,0,0,.55.22l3.09.39a1.94,1.94,0,0,0,2-1.13l2.63-5.88a3.1,3.1,0,0,1,1.28-1.4l.14.39a.91.91,0,0,0,.56.56h0l5.43,2.66,0,0h0a.93.93,0,0,0,1-.16l4.73-4.33a2.36,2.36,0,0,0,.74-2.07l-.67-4.73a3.36,3.36,0,0,1,.51-2.29l2.16-3.35a3.05,3.05,0,0,1,2.55-1.39h2.88A1.71,1.71,0,0,0,219,95.24l2.62-7a1.43,1.43,0,0,0-.62-1.72h0l0,0-.11,0-3.62-1.77a1.41,1.41,0,0,1,0-.46ZM200,77.19a9.36,9.36,0,0,1,3.88-1.7,10,10,0,0,1,1,3.79c.59,6.34-3.14,14.46-8.34,18.15a10.09,10.09,0,0,1-3.81,1.75,9.66,9.66,0,0,1-1.1-3.85C191.11,89,194.84,80.87,200,77.19Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M185,98.29l-6,6.08-5.53-2.85a2.59,2.59,0,0,1,.61-1l4-4.16a2.73,2.73,0,0,0,.59-.92Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"}
1,attrs:{d:"M189.36,80.4l-.12.68h-5.19L179,78.17a2,2,0,0,1,.54-.07h3a2.24,2.24,0,0,0,1.28-.41Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M198.72,62.54l-2.34,2.3h0l-4.14,4.08-5.48-3h0a3,3,0,0,1,.71-1.17l4.65-4.7a.92.92,0,0,1,1-.21h0l.17.08Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M214.5,58.47h-5.45l-5.42-2.86h0a1.68,1.68,0,0,1,1.35-.44l3.55.45a1.26,1.26,0,0,1,.44.14h0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M218.62,77.89l3.9-3.94a2.48,2.48,0,0,0,.68-2.27l-1-4.76a1,1,0,0,0-1.57-.56l-4,3.33a1.08,1.08,0,0,1-1.47-.08L214,68.4a2.88,2.88,0,0,1-.66-2.89L215.11,60a1.25,1.25,0,0,0-1-1.63l-3.54-.44a1.67,1.67,0,0,0-1.75,1l-2.63,6a3.13,3.13,0,0,1-1.64,1.62l-2.36,1a1.12,1.12,0,0,1-1.48-.63l-1.47-3.81a.93.93,0,0,0-1.54-.32L193,67.43a2.88,2.88,0,0,0-.79,2.45l.67,4.28a2.2,2.2,0,0,1-.33,1.52l-2.64,4.13a2.21,2.21,0,0,1-1.86,1h-3a2.08,2.08,0,0,0-2,1.37l-2.67,7.27a1.14,1.14,0,0,0,.74,1.47l2.76.83a1.44,1.44,0,0,1,1,1.54l-.44,4.08a2.84,2.84,0,0,1-.79,1.67l-4,4.17a2.53,2.53,0,0,0-.66,2.3l1.15,5.18a.75.75,0,0,0,1.21.42l4-3.27a1.54,1.54,0,0,1,2.18.21l1,1.23a2.39,2.39,0,0,1,.44,2.17l-1.76,6.09a1.17,1.17,0,0,0,1,1.5l3.09.39a1.94,1.94,0,0,0,2-1.13l2.63-5.88a3.06,3.06,0,0,1,1.49-1.52l2.3-1.1a1.43,1.43,0,0,1,2,.82l1.23,3.51a.93.93,0,0,0,1.51.38l4.73-4.33a2.36,2.36,0,0,0,.74-2.07l-.67-4.73a3.36,3.36,0,0,1,.51-2.29l2.16-3.35a3.05,3.05,0,0,1,2.55-1.39h2.88A1.71,1.71,0,0,0,219,95.24l2.62-7a1.44,1.44,0,0,0-1-1.88l-2.38-.64a1.45,1.45,0,0,1-1.07-1.5l.25-3.59A4.32,4.32,0,0,1,218.62,77.89Zm-16.45,22.26c-5.19,3.68-9.88,1.52-10.47-4.82s3.14-14.46,8.33-18.14,9.89-1.52,10.48,4.82S207.36,96.47,202.17,100.15Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M108,164.76a7.32,7.32,0,0,1,2.11-4.66l6.76-6.82a4.4,4.4,0,0,0,1.17-3.95l-1.71-8.24a1.66,1.66,0,0,0-.87-1.14h0l-9.58-4.67-.23-.12a1.65,1.65,0,0,0-1.69.26l-2.79,2.3,2.85-8.66a2.15,2.15,0,0,0-1.1-2.6h0l-9.56-4.68h0a2,2,0,0,0-.76-.25l-6.15-.78a2.89,2.89,0,0,0-2.34.75h0a2.74,2.74,0,0,0-.69,1l-4.56,10.39a5.27,5.27,0,0,1-2.09,2.41l-.32-.85a1.65,1.65,0,0,0-.85-.89h0l-9.4-4.6-.3-.14h0a1.61,1.61,0,0,0-1.74.36l-8.06,8.15a5.08,5.08,0,0,0-1.22,2,5.14,5.14,0,0,0-.16,2.21l1.16,7.42a3.8,3.8,0,0,1-.56,2.63l-4.59,7.15a3.55,3.55,0,0,1-1,1.05,3.76,3.76,0,0,1-2.21.71H42.32a3.17,3.17,0,0,0-.93.13,3.58,3.58,0,0,0-2.45,2.23l-4.62,12.61a2,2,0,0,0,.88,2.37h0l0,0,6.82,3.34a2.35,2.35,0,0,1,.07.92l-.76,7.07a5,5,0,0,1-.35,1.31A4.82,4.82,0,0,1,40,192l-7,7.22a4.43,4.43,0,0,0-1.13,4l2,9a1.31,1.31,0,0,0,.76.91h0l9.53,4.66h0a1.31,1.31,0,0,0,1.46-.13l3.09-2.55-2.59,9a1.61,1.61,0,0,0-.08.61h0a2.06,2.06,0,0,0,1.18,1.81l0,0,9.27,4.5h0a2,2,0,0,0,1,.39l5.36.67a3.38,3.38,0,0,0,3.5-2l4.56-10.18a5.31,5.31,0,0,1,2.22-2.42l.23.67a1.61,1.61,0,0,0,1,1h0l9.42,4.62,0,0,0,0h0a1.6,1.6,0,0,0,1.77-.27l8.2-7.5A4.13,4.13,0,0,0,95,212.48l-1.17-8.2a5.85,5.85,0,0,1,.88-4l3.75-5.8a5.25,5.25,0,0,1,4.41-2.4h5a3,3,0,0,0,2.8-2L115.22,178a2.48,2.48,0,0,0-1.08-3h0l-.06,0-.18-.09-6.28-3.06a2.43,2.43,0,0,1-.08-.81Zm-30.1-5.87a16.41,16.41,0,0,1,6.71-3,17.32,17.32,0,0,1,1.81,6.59c1,11-5.45,25-14.45,31.43a17.25,17.25,0,0,1-6.6,3,16.77,16.77,0,0,1-1.91-6.66C62.44,179.34,68.91,165.27,77.91,158.89Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.30000000000000004"},attrs:{d:"M108,164.76a7.32,7.32,0,0,1,2.11-4.66l6.76-6.82a4.4,4.4,0,0,0,1.17-3.95l-1.71-8.24a1.66,1.66,0,0,0-.87-1.14h0l-9.58-4.67-.23-.12a1.65,1.65,0,0,0-1.69.26l-2.79,2.3,2.85-8.66a2.15,2.15,0,0,0-1.1-2.6h0l-9.56-4.68h0a2,2,0,0,0-.76-.25l-6.15-.78a2.89,2.89,0,0,0-2.34.75h0a2.74,2.74,0,0,0-.69,1l-4.56,10.39a5.27,5.27,0,0,1-2.09,2.41l-.32-.85a1.65,1.65,0,0,0-.85-.89h0l-9.4-4.6-.3-.14h0a1.61,1.61,0,0,0-1.74.36l-8.06,8.15a5.08,5.08,0,0,0-1.22,2,5.14,5.14,0,0,0-.16,2.21l1.16,7.42a3.8,3.8,0,0,1-.56,2.63l-4.59,7.15a3.55,3.55,0,0,1-1,1.05,3.76,3.76,0,0,1-2.21.71H42.32a3.17,3.17,0,0,0-.93.13,3.58,3.58,0,0,0-2.45,2.23l-4.62,12.61a2,2,0,0,0,.88,2.37h0l0,0,6.82,3.34a2.35,2.35,0,0,1,.07.92l-.76,7.07a5,5,0,0,1-.35,1.31A4.82,4.82,0,0,1,40,192l-7,7.22a4.43,4.43,0,0,0-1.13,4l2,9a1.31,1.31,0,0,0,.76.91h0l9.53,4.66h0a1.31,1.31,0,0,0,1.46-.13l3.09-2.55-2.59,9a1.61,1.61,0,0,0-.08.61h0a2.06,2.06,0,0,0,1.18,1.81l0,0,9.27,4.5h0a2,2,0,0,0,1,.39l5.36.67a3.38,3.38,0,0,0,3.5-2l4.56-10.18a5.31,5.31,0,0,1,2.22-2.42l.23.67a1.61,1.61,0,0,0,1,1h0l9.42,4.62,0,0,0,0h0a1.6,1.6,0,0,0,1.77-.27l8.2-7.5A4.13,4.13,0,0,0,95,212.48l-1.17-8.2a5.85,5.85,0,0,1,.88-4l3.75-5.8a5.25,5.25,0,0,1,4.41-2.4h5a3,3,0,0,0,2.8-2L115.22,178a2.48,2.48,0,0,0-1.08-3h0l-.06,0-.18-.09-6.28-3.06a2.43,2.43,0,0,1-.08-.81Zm-30.1-5.87a16.41,16.41,0,0,1,6.71-3,17.32,17.32,0,0,1,1.81,6.59c1,11-5.45,25-14.45,31.43a17.25,17.25,0,0,1-6.6,3,16.77,16.77,0,0,1-1.91-6.66C62.44,179.34,68.91,165.27,77.91,158.89Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M51.88,195.44,41.52,206,32,201a4.41,4.41,0,0,1,1-1.78L40,192a4.82,4.82,0,0,0,1-1.58Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M59.42,164.45l-.21,1.18h-9l-8.84-5a3.17,3.17,0,0,1,.93-.13h5.23a3.76,3.76,0,0,0,2.21-.71Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M75.63,133.51l-4,4h0l-7.17,7.05-9.49-5.24v0a5.08,5.08,0,0,1,1.22-2l8.06-8.15a1.61,1.61,0,0,1,1.74-.36h0l.3.14Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M103,126.45H93.54l-9.4-5h0a2.89,2.89,0,0,1,2.34-.75l6.15.78a2,2,0,0,1,.76.25h0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"},attrs:{d:"M110.12,160.1l6.76-6.82a4.4,4.4,0,0,0,1.17-3.95l-1.71-8.24a1.69,1.69,0,0,0-2.73-1l-7,5.77a1.87,1.87,0,0,1-2.54-.15l-2-2.1a5,5,0,0,1-1.14-5l3.16-9.6a2.16,2.16,0,0,0-1.78-2.82l-6.15-.77a2.92,2.92,0,0,0-3,1.72l-4.55,10.38a5.43,5.43,0,0,1-2.85,2.81l-4.09,1.73A1.94,1.94,0,0,1,79,141l-2.55-6.61a1.63,1.63,0,0,0-2.67-.56L65.75,142a4.94,4.94,0,0,0-1.37,4.23l1.15,7.42a3.81,3.81,0,0,1-.56,2.63l-4.58,7.15a3.8,3.8,0,0,1-3.22,1.76H52a3.61,3.61,0,0,0-3.38,2.37L44,180.14a2,2,0,0,0,1.27,2.54L50,184.14a2.48,2.48,0,0,1,1.75,2.66L51,193.87a4.88,4.88,0,0,1-1.36,2.89l-7,7.22a4.36,4.36,0,0,0-1.14,4l2,9a1.31,1.31,0,0,0,2.11.73L52.47,212a2.68,2.68,0,0,1,3.78.37L58,214.51a4.13,4.13,0,0,1,.77,3.75L55.7,228.81a2.06,2.06,0,0,0,1.72,2.61l5.36.67a3.38,3.38,0,0,0,3.5-2l4.56-10.18a5.32,5.32,0,0,1,2.58-2.63l4-1.9a2.47,2.47,0,0,1,3.4,1.41l2.11,6.09a1.62,1.62,0,0,0,2.62.66l8.2-7.5A4.13,4.13,0,0,0,95,212.48l-1.17-8.2a5.85,5.85,0,0,1,.88-4l3.75-5.8a5.25,5.25,0,0,1,4.41-2.4h5a3,3,0,0,0,2.8-2L115.22,178a2.49,2.49,0,0,0-1.68-3.26l-4.12-1.11a2.51,2.51,0,0,1-1.86-2.61l.45-6.21A7.32,7.32,0,0,1,110.12,160.1ZM81.61,198.66c-9,6.38-17.12,2.64-18.14-8.34s5.44-25,14.44-31.43,17.12-2.64,18.15,8.34S90.61,192.28,81.61,198.66Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"}
1,attrs:{d:"M158.55,60.74a6,6,0,0,1,1.74-3.84l5.57-5.63a3.55,3.55,0,0,0,1-3.25l-1.41-6.79a1.36,1.36,0,0,0-.71-.94h0l-7.9-3.86-.19-.09a1.37,1.37,0,0,0-1.39.21l-2.3,1.89,2.35-7.13a1.77,1.77,0,0,0-.91-2.14h0l-7.89-3.86h0a1.66,1.66,0,0,0-.63-.2l-5.07-.64a2.38,2.38,0,0,0-1.93.62h0a2.26,2.26,0,0,0-.57.79l-3.76,8.56a4.33,4.33,0,0,1-1.72,2l-.27-.7a1.26,1.26,0,0,0-.7-.73h0l-7.76-3.78-.25-.13h0a1.31,1.31,0,0,0-1.43.3l-6.65,6.72a4.14,4.14,0,0,0-1,1.66,4.28,4.28,0,0,0-.13,1.82l1,6.12a3.07,3.07,0,0,1-.46,2.17l-3.78,5.9a2.9,2.9,0,0,1-.81.86,3.14,3.14,0,0,1-1.83.59h-4.31a2.86,2.86,0,0,0-.77.1,3,3,0,0,0-2,1.84L97.8,69.53a1.61,1.61,0,0,0,.72,2h0l0,0,5.63,2.75a2.4,2.4,0,0,1,.06.76l-.64,5.83a3.66,3.66,0,0,1-.28,1.08,3.88,3.88,0,0,1-.84,1.3l-5.78,6a3.61,3.61,0,0,0-.86,1.47,3.55,3.55,0,0,0-.07,1.83l1.63,7.4a1.08,1.08,0,0,0,.62.75h0l7.85,3.85h0a1.08,1.08,0,0,0,1.21-.11l2.55-2.1-2.14,7.39a1.73,1.73,0,0,0-.07.5h0a1.69,1.69,0,0,0,1,1.49l0,0,7.64,3.72h0a1.79,1.79,0,0,0,.79.32l4.42.55a2.77,2.77,0,0,0,2.88-1.62l3.77-8.39a4.36,4.36,0,0,1,1.82-2l.2.55a1.31,1.31,0,0,0,.8.81h0l7.76,3.8a.05.05,0,0,0,0,0l0,0h0a1.35,1.35,0,0,0,1.46-.22l6.75-6.19a3.34,3.34,0,0,0,1.06-3l-1-6.76a4.74,4.74,0,0,1,.72-3.28l3.09-4.78a4.33,4.33,0,0,1,3.64-2h4.11a2.46,2.46,0,0,0,2.31-1.61l3.73-10.06a2,2,0,0,0-.88-2.47h0l-.05,0-.15-.08-5.18-2.52a2.5,2.5,0,0,1-.06-.67ZM133.73,55.9a13.63,13.63,0,0,1,5.54-2.44,14.5,14.5,0,0,1,1.49,5.43c.84,9-4.49,20.65-11.91,25.91a14.16,14.16,0,0,1-5.44,2.51,13.72,13.72,0,0,1-1.58-5.5C121,72.76,126.31,61.16,133.73,55.9Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.30000000000000004"}
1,attrs:{d:"M158.55,60.74a6,6,0,0,1,1.74-3.84l5.57-5.63a3.55,3.55,0,0,0,1-3.25l-1.41-6.79a1.36,1.36,0,0,0-.71-.94h0l-7.9-3.86-.19-.09a1.37,1.37,0,0,0-1.39.21l-2.3,1.89,2.35-7.13a1.77,1.77,0,0,0-.91-2.14h0l-7.89-3.86h0a1.66,1.66,0,0,0-.63-.2l-5.07-.64a2.38,2.38,0,0,0-1.93.62h0a2.26,2.26,0,0,0-.57.79l-3.76,8.56a4.33,4.33,0,0,1-1.72,2l-.27-.7a1.26,1.26,0,0,0-.7-.73h0l-7.76-3.78-.25-.13h0a1.31,1.31,0,0,0-1.43.3l-6.65,6.72a4.14,4.14,0,0,0-1,1.66,4.28,4.28,0,0,0-.13,1.82l1,6.12a3.07,3.07,0,0,1-.46,2.17l-3.78,5.9a2.9,2.9,0,0,1-.81.86,3.14,3.14,0,0,1-1.83.59h-4.31a2.86,2.86,0,0,0-.77.1,3,3,0,0,0-2,1.84L97.8,69.53a1.61,1.61,0,0,0,.72,2h0l0,0,5.63,2.75a2.4,2.4,0,0,1,.06.76l-.64,5.83a3.66,3.66,0,0,1-.28,1.08,3.88,3.88,0,0,1-.84,1.3l-5.78,6a3.61,3.61,0,0,0-.86,1.47,3.55,3.55,0,0,0-.07,1.83l1.63,7.4a1.08,1.08,0,0,0,.62.75h0l7.85,3.85h0a1.08,1.08,0,0,0,1.21-.11l2.55-2.1-2.14,7.39a1.73,1.73,0,0,0-.07.5h0a1.69,1.69,0,0,0,1,1.49l0,0,7.64,3.72h0a1.79,1.79,0,0,0,.79.32l4.42.55a2.77,2.77,0,0,0,2.88-1.62l3.77-8.39a4.36,4.36,0,0,1,1.82-2l.2.55a1.31,1.31,0,0,0,.8.81h0l7.76,3.8a.05.05,0,0,0,0,0l0,0h0a1.35,1.35,0,0,0,1.46-.22l6.75-6.19a3.34,3.34,0,0,0,1.06-3l-1-6.76a4.74,4.74,0,0,1,.72-3.28l3.09-4.78a4.33,4.33,0,0,1,3.64-2h4.11a2.46,2.46,0,0,0,2.31-1.61l3.73-10.06a2,2,0,0,0-.88-2.47h0l-.05,0-.15-.08-5.18-2.52a2.5,2.5,0,0,1-.06-.67ZM133.73,55.9a13.63,13.63,0,0,1,5.54-2.44,14.5,14.5,0,0,1,1.49,5.43c.84,9-4.49,20.65-11.91,25.91a14.16,14.16,0,0,1-5.44,2.51,13.72,13.72,0,0,1-1.58-5.5C121,72.76,126.31,61.16,133.73,55.9Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M112.28,86l-8.55,8.68-7.89-4.07a3.61,3.61,0,0,1,.86-1.47l5.78-6a3.88,3.88,0,0,0,.84-1.3Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M118.49,60.49l-.17,1h-7.41l-7.29-4.16a2.86,2.86,0,0,1,.77-.1h4.31a3.14,3.14,0,0,0,1.83-.59Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M131.86,35l-3.34,3.29h0l-5.91,5.82-7.83-4.32v0a4.14,4.14,0,0,1,1-1.66l6.65-6.72a1.31,1.31,0,0,1,1.43-.3h0l.25.13Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{opacity:"0.2"},attrs:{d:"M154.4,29.16h-7.78l-7.75-4.09h0a2.38,2.38,0,0,1,1.93-.62l5.07.64a1.66,1.66,0,0,1,.63.2h0Z",transform:"translate(-21.09 -24.43)"}}),t._v(" "),e("path",{staticStyle:{fill:"#ff2626"}
1,attrs:{d:"M160.29,56.9l5.57-5.63a3.55,3.55,0,0,0,1-3.25l-1.41-6.79a1.39,1.39,0,0,0-2.24-.8l-5.79,4.76a1.56,1.56,0,0,1-2.1-.12l-1.66-1.73a4.09,4.09,0,0,1-1-4.12l2.61-7.92A1.78,1.78,0,0,0,153.81,29l-5.07-.64a2.39,2.39,0,0,0-2.5,1.41l-3.75,8.57a4.46,4.46,0,0,1-2.35,2.31l-3.37,1.43a1.6,1.6,0,0,1-2.11-.9l-2.11-5.45a1.34,1.34,0,0,0-2.2-.46L123.71,42a4.07,4.07,0,0,0-1.13,3.49l.94,6.12a3.12,3.12,0,0,1-.45,2.17l-3.78,5.9a3.16,3.16,0,0,1-2.65,1.45h-4.31A3,3,0,0,0,109.54,63l-3.8,10.38a1.62,1.62,0,0,0,1,2.1l4,1.2a2.06,2.06,0,0,1,1.45,2.19l-.64,5.83a4,4,0,0,1-1.12,2.38l-5.78,5.95a3.64,3.64,0,0,0-.93,3.3l1.63,7.4a1.08,1.08,0,0,0,1.74.6l5.68-4.68a2.2,2.2,0,0,1,3.11.31l1.44,1.76a3.38,3.38,0,0,1,.63,3.09l-2.51,8.7a1.69,1.69,0,0,0,1.41,2.15l4.42.55a2.77,2.77,0,0,0,2.88-1.62l3.77-8.39a4.37,4.37,0,0,1,2.12-2.18l3.29-1.56a2,2,0,0,1,2.8,1.17l1.75,5a1.33,1.33,0,0,0,2.16.55l6.75-6.19a3.34,3.34,0,0,0,1.06-3l-1-6.76a4.74,4.74,0,0,1,.72-3.28l3.09-4.78a4.33,4.33,0,0,1,3.64-2h4.11a2.46,2.46,0,0,0,2.31-1.61l3.73-10.06a2,2,0,0,0-1.38-2.69l-3.4-.91a2.09,2.09,0,0,1-1.53-2.16l.37-5.12A6,6,0,0,1,160.29,56.9Zm-23.5,31.79c-7.42,5.26-14.12,2.18-15-6.88s4.48-20.65,11.9-25.91,14.12-2.18,15,6.88S144.21,83.43,136.79,88.69Z",transform:"translate(-21.09 -24.43)"}})])])]),t._v(" "),e("div",{staticClass:"ww fl mt20"},[e("div",{staticClass:"text"},[e("span",[t._v(t._s(t.$t("Sitemiz Bakımda")))]),t._v(t._s(t.$t("Lütfen İrtibata geçiniz")))])]),t._v(" "),e("div",{staticClass:"ww fl",staticStyle:{"text-align":"center"}},[e("section",[e("h2",{staticClass:"mb10 fs-19 fw-b"},[t._v(t._s(t.$t("Firma")+" "+t.$t("info")))]),t._v(" "),e("p",{staticClass:"fs-14"},[e("strong",[t._v(t._s(t.$t("Firma"))+":")]),t._v(" "+t._s(t.$store.state.firm.settings.b2bUiSettings.settings.data.b2bIletisimAciklama))]),t._v(" "),e("p",{staticClass:"fs-14 my5"},[e("strong",[t._v(t._s(t.$t("Telefon"))+":")]),t._v(" "+t._s(t.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPhone))]),t._v(" "),e("p",{staticClass:"fs-14"},[e("strong",[t._v(t._s(t.$t("Adres"))+":")]),t._v(" "+t._s(t.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFooterAdres))])]),t._v(" "),e("div",{staticClass:"ww fl my20"})]),t._v(" "),e("a",{staticClass:"py10 px15 txt-white bg-info rds fs-13",attrs:{href:"/"}},[t._v(t._s(t.$t("Anasayfa")))])])},[],!1,null,"567614a0",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={components:{headerWrap:header.default,footerWrap:footer.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},methods:{getLink(t,e){var r=this.$store.state.firm.merchant_id||this.$cookies.get("merchant_id");if(r)return"https://b2bapi.onsocloud.com/api/public/product/list/"+e+"?producer_id="+t+"&x-mentis-b2b-merchant-id="+r}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Fiyat Listesi")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Genel")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Fiyat Listesi")))])],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau my20 px10"},[e("el-row",{attrs:{gutter:15}},t._l(t.firmSetting.b2bProducerPriceList,function(r,o){return e("el-col",{key:r+""+o,attrs:{lg:8,md:8,sm:12,xs:24}},[e("div",{staticClass:"dp-f fd-c mb15 p10 ItemShadow bg-white pos-r",staticStyle:{gap:"10px"}},[e("span",{staticClass:"ww fl px10 fs-15 fw-6"},[t._v(t._s(r.name+" "+t.$t("Fiyat Listesi")))]),t._v(" "),e("div",[e("a",{staticClass:"ww fl ln-30 fs-14",attrs:{target:"_blank",href:t.getLink(r.id,"html")}},[e("i",{staticClass:"w40 h30 fl ta-o fs-20 txt-info icon-html"}),t._v("\n                      "+t._s("HTML "+t.$t("Göster"))+"\n                  ")]),t._v(" "),e("a",{staticClass:"ww fl ln-30 fs-14",attrs:{target:"_blank",href:t.getLink(r.id,"xls")}},[e("i",{staticClass:"w40 h30 fl ta-o fs-20 txt-success icon-xls"}),t._v("\n                      "+t._s("EXCEL "+t.$t("İndir"))+"\n                  ")])])])])}),1)],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e=t.app,r=t.route,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n=e.$cookies.get("web_login_access_token");if(!o&&!n)return{pageData:[],rowCount:0};var c=r.query.name||"",d=r.query.size||2e3,m=r.query.page||1,h=yield e.$apis.get("api/"+(n?"":o)+"categoriy/list?kategoriad="+c+"&limit="+d+"&page="+m).then(t=>({list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount})).catch(()=>({list:null,count:0}));return{pageData:h.list,rowCount:h.count}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component(){var t="b2b";return"5"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="dergah"),()=>r(689)("./"+t+".vue")}},data(){return{isPublic:"",allSetting:this.$store.state.firm,noData:!1,pageData:null,pageDataCount:0,filterList:{kategoriad:this.$route.query.name||"",limit:this.$route.query.size||40,page:this.$route.query.page||1}}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Kategori")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);
1var header=r(4),footer=r(3),o=r(20),l=r(21),n=r(22),c=r(6);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var f={components:{headerWrap:header.default,footerWrap:footer.default,lotListCard:o.default,itemRowCard:l.default,itemGridCard:n.default,paginationCard:c.default},watch:{"$route.query.name":{handler:function(t){null!=t&&(this.filterList.ureticiad=t,this.getList())},deep:!0,immediate:!0}},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!1,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:0,filterList:{ureticiad:this.$route.query.name||"",limit:this.$route.query.size||40,page:this.$route.query.page||1}}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];if("mod_b2bpublic"==t.md_name&&"1"==t.md_status){this.isPublic="public/";break}}},mounted(){this.getList()},methods:{getList(){var t=this.$cookies.get("web_login_access_token");if(!this.isPublic&&!t)return this.noData=!0,void(this.loading=!1);this.loading=!0,this.$apis.get("api/"+(t?"":this.isPublic)+"producer/list?ureticiad="+(this.$route.query.name||this.filterList.ureticiad||"")+"&udurum=0&ureticiad_char_start=&at_who=&idSort=&ureticiad_equals=0&ureticiadSort=asc&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getSearch(){this.filterList.page=1,this.filterList.limit=40,this.$router.push({path:this.$route.path,query:m(m({},this.$route.query),{},{name:this.filterList.ureticiad?this.filterList.ureticiad:""})})},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]="",this.getSearch()},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Üretici")}}},_=f,v=(r(516),r(0)),component=Object(v.a)(_,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Üretici")))])],1
1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.ureticiad")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.ureticiad,callback:function(e){t.$set(t.filterList,"ureticiad",e)},expression:"filterList.ureticiad"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.loading,expression:"loading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{span:8}},[e("nuxt-link",{staticClass:"ww fl mb20",attrs:{to:t.localePath(t.getMakeSeoLink(r,"uretici"))}},[e("el-card",{attrs:{shadow:"never"}},[t._v("\n                          "+t._s(r.ureticiad)+"\n                        ")])],1)],1)}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e=t.app,r=t.route,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n=e.$cookies.get("web_login_access_token");if(!o&&!n)return{pageData:[],rowCount:0};var c=r.query.name||"",d=r.query.at_state||"0",m=r.query.at_name_char_start||"",h=r.query.at_who||"0",f=r.query.idSort||"",_=r.query.at_name_equals||"0",v=r.query.at_nameSort||"asc",w=r.query.size||40,y=r.query.page||1,k=yield e.$apis.get("api/"+(n?"":o)+"authors/list?at_name="+c+"&at_state="+d+"&at_name_char_start="+m+"&at_who="+h+"&idSort="+f+"&at_name_equals="+_+"&at_nameSort="+v+"&limit="+w+"&page="+y).then(t=>({list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount})).catch(()=>({list:null,count:0}));return{pageData:k.list,rowCount:k.count}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component(){var t="b2b";return"5"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="dergah"),()=>r(690)("./"+t+".vue")}},data(){return{isPublic:"",allSetting:this.$store.state.firm,noData:!1,pageData:null,pageDataCount:0,filterList:{at_name:this.$route.query.name||"",at_who:this.$route.query.at_who||0,limit:this.$route.query.size||40,page:this.$route.query.page||1},emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],emekTipPathList:["yazar","cevirmen","edidor","grafiker","mizanpaj","yayin_yonetmeni","cizer","fografci","hazirlayan","redaktor"]}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Yazar")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.emekTipList[t.$route.query.at_who],ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6);function l(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var n={asyncData(t){return(e=function*(){var e=t.app,r=t.route;console.log(r.query);var o=yield e.$apis.get("api/content/list?content_type="+(([2,3].includes(r.query.content_type)?r.query.content_type:"3")||"3")+"&content_title="+(r.query.content_title||"")+"&idSort="+(r.query.idSort||"desc")+"&content_titleSort"+(r.query.content_titleSort||"")+"&limit="+(r.query.limit||10)+"&page="+(r.query.page||1)).then(t=>({data:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount})).catch(()=>({data:null,count:0}));return{pageData:o.data,pageDataCount:o.count}},function(){var t=this,r=arguments;return new Promise(function(o,n){var a=e.apply(t,r);function c(t){l(a,o,n,c,d,"next",t)}function d(t){l(a,o,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},data(){return{pageData:null,pageDataCount:0,getListLoading:!1,filterList:{content_type:this.$route.query.content_type||"3",content_title:this.$route.query.content_title||"",idSort:this.$route.query.idSort||"desc",content_titleSort:this.$route.query.content_titleSort||"",limit:this.$route.query.size||40,page:this.$route.query.page||1},pageType:[{value:"2",label:this.$t("İçerik")+" "+this.$t("Sayfa")},{value:"3",label:this.$t("Haber")+" "+this.$t("Sayfa")}]}},mounted(){document.querySelectorAll(".filter").forEach(filter=>{filter.addEventListener("click",function(){var t=filter.getAttribute("data-filter"),e=document.querySelectorAll(".accordion .accordion__item:not([data-filter='".concat(t,"'])")),r=document.querySelectorAll(".accordion [data-filter='".concat(t,"']"));"all"==t&&(e=[],r=document.querySelectorAll(".accordion [data-filter]")),e.forEach(t=>{t.classList.add("hide"),t.classList.remove("show")}),r.forEach(t=>{t.classList.remove("hide"),t.classList.add("show")})})});var t=document.querySelectorAll(".accordion__item");function e(){t.forEach(t=>t!=this?t.classList.remove("accordion__item--active"):null),"accordion__item--active"!=this.classList&&this.classList.toggle("accordion__item--active")}t.forEach(t=>t.addEventListener("click",e))},methods:{getList(){this.getListLoading=!0,this.$apis.get("api/content/list?id&content_title="+this.filterList.content_title+"&content_type=3&idSort=desc&content_titleSort&limit="+this.filterList.limit+"&page="+this.filterList.page).then(t=>{this.pageData=t.data.KiboApp.Response.data.list,this.pageDataCount=t.data.KiboApp.Response.data.rowCount,this.getListLoading=!1}
1).catch(()=>{this.pageData=null,this.pageDataCount=0,this.getListLoading=!1})},paginationData(t){this.filterList.limit=this.$route.query.size=t.pageCount,this.filterList.page=this.$route.query.page=t.pageNo,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Sayfalar")}}},c=n,d=(r(517),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Sayfalar")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper-80em mrau"},[e("div",{staticClass:"ww fl mt20 WrapGutter"},[e("div",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"ww fl mb20 bdrB"},[e("el-row",{attrs:{gutter:15}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("el-input",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.getListLoading,expression:"getListLoading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"ww fl mt5 mb15",attrs:{size:"medium"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getList.apply(null,arguments)}},model:{value:t.filterList.content_title,callback:function(e){t.$set(t.filterList,"content_title",e)},expression:"filterList.content_title"}},[e("el-select",{staticClass:"w160 fl",attrs:{slot:"prepend"},slot:"prepend",model:{value:t.filterList.content_type,callback:function(e){t.$set(t.filterList,"content_type",e)},expression:"filterList.content_type"}},t._l(t.pageType,function(t,r){return e("el-option",{key:r,attrs:{label:t.label,value:t.value}})}),1),t._v(" "),e("el-button",{staticClass:"ta-o icon-search",attrs:{slot:"append"},on:{click:t.getList},slot:"append"})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1),t._v(" "),t.pageData&&t.pageData.length>0?t._l(t.pageData,function(r,o){return e("nuxt-link",{key:o,staticClass:"ItemShadow ww fl mb10 pos-r of-h to-e ws-n bdr rds5",class:t.$device.isMobile?"fs-14 dp-f ai-c":"ln-60 fs-18",attrs:{to:t.localePath("/sayfa/detay/"+r.seo_link)}},[e("i",{staticClass:"icon-flag h60 fl mx20 txt-warning ta-o"}),t._v(t._s(r.content_title))])}):e("div",{staticClass:"ItemShadow ww fl mb10 pos-r of-h to-e ws-n bdr rds5"},[e("el-empty",{attrs:{description:t.$t("no_data")}})],1)],2)])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,"21a23e79",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={middleware:"isLogin",components:{headerWrap:header.default,footerWrap:footer.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,isGuestLogin:this.$cookies.get("isGuestLogin")||null,token:this.$cookies.get("web_login_access_token")||null,merchant_id:this.$cookies.get("merchant_id")||null,firmDomain:"",fullscreenLoading:!1,isEmpty:!0}},created(){"1"!=this.isGuestLogin&&this.token?this.isEBookAvailable():this.redirectToLoginPage(),this.fullscreenLoading=!0},methods:{isEBookAvailable(){this.$apis.get("api/ebook/myLibrary?limit=1&page=1").then(t=>{var e=window.location.hostname;this.firmDomain=e.replaceAll(".","-"),this.isEmpty=!1,this.fullscreenLoading=!1;var r="https://ebook.kibo.com.tr/b2b-login?merchant_id=".concat(encodeURIComponent(this.merchant_id),"&access_token=").concat(encodeURIComponent(this.token),"&domain=").concat(encodeURIComponent(this.firmDomain));window.open(r,"_blank")}).catch(t=>{this.isEmpty=!0,this.fullscreenLoading=!1})},redirectToLoginPage(path){this.$router.push({path:"/auth/giris?redirect=".concat("/uye/ekitaplarim")})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.firmSetting.b2bWebTitle||this.$t("Anasayfa")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("E-Kitaplarım")))])],1
1)],1)])]),t._v(" "),e("section",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:t.fullscreenLoading,expression:"fullscreenLoading",modifiers:{fullscreen:!0,lock:!0}}],staticClass:"ww fl pt15 pb50 bg-light"},[e("div",{staticClass:"wrapper mrau px10"},[t.fullscreenLoading?t._e():e("el-row",{attrs:{gutter:15}},[t.isEmpty?e("el-col",{attrs:{span:24}},[e("el-result",{attrs:{icon:"info",title:"E-Kitabınız Bulunmamaktadır",subTitle:"E-kitaplarınızın erişim süresi dolmuş veya kiralanmamış olabilir"}},[e("template",{slot:"extra"},[e("nuxt-link",{attrs:{to:"/"}},[e("el-button",{attrs:{type:"primary",size:"medium"}},[t._v(t._s(t.$t("Anasayfa")))])],1)],1)],2)],1):e("el-col",{attrs:{span:24}},[e("div",{staticClass:"ww fl mt10"},[e("h1",{staticClass:"fw-b mb30"},[t._v("E-Kitaplarım")]),t._v(" "),e("a",{attrs:{href:"https://ebook.kibo.com.tr/b2b-login?merchant_id=".concat(encodeURIComponent(this.merchant_id),"&access_token=").concat(encodeURIComponent(this.token),"&domain=").concat(encodeURIComponent(t.firmDomain)),target:"_blank"}},[e("el-button",{attrs:{type:"primary"}},[t._v("E-Kitaplarımı Görüntüle")])],1)])])],1)],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3)),shareButton:()=>r.e(0).then(r.bind(null,800))},computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))}},data(){return{b2bUiSettings:this.$store.state.firm.settings.b2bUiSettings.settings.data,userData:this.$cookies.get("b2bUserInfo")||null,isEmpty:!1,rowCount:0,tableData:[],page:1,limit:10,query:"",scrollDeflection:this.$device.isDesktop?650:this.$device.isTablet?300:622,scrollTimeout:null,scrollStart:!0,scrollLoading:!1}},mounted(){this.scrollStart&&window.addEventListener("scroll",()=>{clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{var t=document.documentElement,e=t.scrollHeight,r=t.scrollTop;t.clientHeight+r+this.scrollDeflection>=e&&(this.page++,this.getList())},150)}),this.getList()},methods:{getList(){if(!this.scrollStart)return!1;this.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?(this.scrollLoading=!0,this.$apis.get("api/product/search?search_text=".concat(encodeURIComponent(this.query),"&basket=favorite&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.tableData=[...this.tableData,...t.data.KiboApp.Response.data.list],this.scrollLoading=!1,this.rowCount==this.tableData.length&&(this.scrollStart=!1)}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})):(this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1)},getSearch(){this.tableData=[],this.scrollLoading=!0,this.$apis.get("api/product/search?search_text=".concat(encodeURIComponent(this.query),"&basket=favorite&limit=").concat(this.limit,"&page=1")).then(t=>{this.rowCount=t.data.KiboApp.Response.data.rowCount,this.tableData=t.data.KiboApp.Response.data.list,this.scrollLoading=!1}).catch(()=>{this.isEmpty=!0,this.scrollLoading=!1,this.scrollStart=!1})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Favorilerim")}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl mt20"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("div",{class:"cq-row cq-gap-20"},[e("div",{staticClass:"'cq-col-lg-18 cq-col-md-16 cq-col-sm-16 cq-col-xs-24"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Favorilerim")))])],1)],1),t._v(" "),e("div",{staticClass:"'cq-col-lg-6 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("el-input",{attrs:{placeholder:t.$t("Favorilerimde Ara"),clearable:t.query.length>1,size:"small"},on:{clear:t.getSearch},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.query,callback:function(e){t.query=e},expression:"query"}}
1,[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)])])])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{staticClass:"wrapper mrau"},[t.tableData.length>0?e("div",{staticClass:"ww fl px10"},[e("div",{class:"cq-row cq-gap-20 ww fl mb15"},t._l(t.tableData,function(r,o){return e("div",{key:o,class:"cq-col-lg-6 cq-col-md-6 cq-col-sm-8 cq-col-xs-8"},[e(t.cardComponent,{tag:"component",style:t.$device.isMobile?{marginBottom:"10px"}:{},attrs:{item:r}})],1)}),0),t._v(" "),t.scrollLoading?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.scrollLoading,expression:"scrollLoading"}],staticClass:"ww h60 fl"}):t._e()]):t.isEmpty?e("div",{staticClass:"ww fl px10 ta-o txt-error fs-16 fw-b"},[t._v(t._s(t.$t("Kayıt Bulunamadı")))]):t._e()])]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my50 py50"}),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(6),l={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},data(){return{currency:this.$store.state.firmBaseCurrency||"TRY",listData:null,selectItem:null,listDetailData:null,listDetailDataPage:1,listDetailDataSize:20,listDetailDataCount:0,listQuery:{date1:this.$route.query.tarih_start||"",date2:this.$route.query.tarih_end||""},userData:{ciroMatTutar:null,ciroKdvTutar:null,bakiye:null,borc:null,alacak:null}}},created(){this.getUser(),this.getDateFilter(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{getRowDetail(t){var e="";this.selectItem=t,"1"==t.rel_tip?e="tumbelgeler_clid="+t.rel_id+"&":"134"==t.rel_tip?e="scarttype="+t.rel_id+"&":"109"==t.rel_tip&&(e="stok_id="+t.rel_id+"&"),this.$apis.get("api/commission/motionList?limit="+this.listDetailDataSize+"&page="+this.listDetailDataPage+"&"+e+"tarih_start="+this.listQuery.date1+"&tarih_end="+this.listQuery.date2).then(t=>{this.listDetailData=t.data.KiboApp.Response.data.list,this.listDetailDataCount=t.data.KiboApp.Response.data.rowCount}).catch(t=>{this.listDetailData=null,this.listDetailDataCount=0,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getCommission(){this.userData.borc=null,this.userData.alacak=null,this.userData.bakiye=null,this.$apis.get("api/commission/motionSummary?tarih_start="+this.listQuery.date1+"&tarih_end="+this.listQuery.date2).then(t=>{var data=t.data.KiboApp.Response.data.genelToplam;this.listData=t.data.KiboApp.Response.data.komisyonTanimlari,this.userData.ciroMatTutar=data.ciroMatTutar||0,this.userData.ciroKdvTutar=data.ciroKdvTutar||0,this.userData.borc=data.ciroTutar||0,this.userData.alacak=data.komisyonTutar||0,this.userData.bakiye=data.referansKisi||0}).catch(t=>{console.log(t),this.listData=null,this.userData.borc=null,this.userData.alacak=null,this.userData.bakiye=null})},getDateFilter(){Date.prototype.formattedDate=function(pattern){return this.getFullYear()+"-"+("00"+(this.getMonth()+1)).slice(-2)+"-"+("00"+this.getDate()).slice(-2)+" "+("00"+this.getHours()).slice(-2)+":"+("00"+this.getMinutes()).slice(-2)+":"+("00"+this.getSeconds()).slice(-2)};var t=new Date;t.setDate(t.getDate()-365),t.setHours(0,0,0,0),this.listQuery.date1=new Date(t).formattedDate("yyyy-mm-dd h:s:i");var e=new Date;e.setHours(23,59,59,59),this.listQuery.date2=new Date(e).formattedDate("yyyy-mm-dd h:s:i")},komisyonTip(t){return{109:this.$t("urun"),134:this.$t("stock")+" "+this.$t("Tip"),1:this.$t("class"),0:this.$t("Hepsi")}[t]},ParseStamp(t){var e=t.split(" "),r=e[0].split("-");return(r=r[2]+"-"+r[1]+"-"+r[0])+"<br>"+e[1]},getUser(){setTimeout(()=>{this.userData.bakiye=0,this.userData.borc=0,this.userData.alacak=0},1500)},paginationData(t){this.listDetailDataSize=t.pageCount,this.listDetailDataPage=t.pageNo,this.getRowDetail(this.selectItem)},formatMoney(t,e,r,o){e=isNaN(e=Math.abs(e))?2:e,r=void 0===r?".":r,o=void 0===o?",":o;var l=t<0?"-":"",i=String(parseInt(t=Math.abs(Number(t)||0).toFixed(e))),n=(n=i.length)>3?n%3:0;return l+(n?i.substr(0,n)+o:"")+i.substr(n).replace(/(\decSep{3}
1)(?=\decSep)/g,"$1"+o)+(e?r+Math.abs(t-i).toFixed(e).slice(2):"")}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("progress_payment")}}},n=(r(518),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/uye")}}},[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("progress_payment")))])],1)],1)])]),t._v(" "),e("section",{staticClass:"hakedisWrap ww fl pt30 pb50 bg-light"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl pb20 ta-c"},[e("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",format:"dd-MM-yyyy HH:mm:ss",placeholder:t.$t("start_date")},model:{value:t.listQuery.date1,callback:function(e){t.$set(t.listQuery,"date1",e)},expression:"listQuery.date1"}}),t._v(" "),e("el-date-picker",{attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",format:"dd-MM-yyyy HH:mm:ss","default-time":"23:59:59",placeholder:t.$t("end_date")},model:{value:t.listQuery.date2,callback:function(e){t.$set(t.listQuery,"date2",e)},expression:"listQuery.date2"}}),t._v(" "),e("el-button",{attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.getCommission}})],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,md:6,sm:5,xs:24}},[e("div",{staticClass:"ww fl pt40 pb50 bdrB"})]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:14,xs:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"Top Left prompts info",placement:"top"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("span",{staticClass:"txt-white"},[t._v("\n                            "+t._s(t.$t("tax"))+" : "+t._s(t.$currencyFormat(t.userData.ciroKdvTutar,t.currency))+"\n                          ")]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("span",{staticClass:"txt-white"},[t._v("\n                            "+t._s(t.$t("base_tax"))+" : "+t._s(t.$currencyFormat(t.userData.ciroMatTutar,t.currency))+"\n                          ")])]),t._v(" "),e("div",{staticClass:"ww fl mb20 p10 bg-white ItemShadow cr-h"},[e("i",{staticClass:"icon-cash ww h40 fl mt15 ta-o fs-40 txt-info"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.borc?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("span",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[t._v("\n                              "+t._s(t.$currencyFormat(t.userData.borc,t.currency))+"\n                            ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("endorsement")+" "+t.$t("amount")))])])])],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb20 p10 bg-white ItemShadow"},[e("i",{staticClass:"icon-wallet ww h40 fl mt15 ta-o fs-40 txt-error"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.alacak?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("span",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[t._v("\n                            "+t._s(t.$currencyFormat(t.userData.alacak,t.currency))+"\n                          ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"},[t._v(t._s(t.$t("commission")+" "+t.$t("amount")))])])]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb20 p10 bg-white ItemShadow"},[e("i",{staticClass:"icon-customer ww h40 fl mt15 ta-o fs-40 txt-success"}),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("div",{staticClass:"ww h40 fl py10 ta-c"},[null==t.userData.bakiye?e("div",{staticClass:"rowLoader",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})]):e("span",{staticClass:"ww h40 fl ta-c fs-26 fw-b txt-head"},[t._v("\n                            "+t._s(t.userData.bakiye||0)+"\n                          ")])]),t._v(" "),e("p",{staticClass:"ww h40 fl mb10 fs-12 fw-6 ta-o txt-2"}
1,[t._v(t._s(t.$t("reference")+" "+t.$t("person")))])])])],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:5,xs:24}},[e("div",{staticClass:"ww fl pt40 pb50 bdrB"})])],1),t._v(" "),e("el-table",{staticClass:"mb20",staticStyle:{width:"100%"},attrs:{data:t.listData,"empty-text":t.$t("no_data")}},[e("el-table-column",{attrs:{label:t.$t("Tip"),width:"110px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-14 fw-6"},[t._v(t._s(t.komisyonTip(r.row.rel_tip)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("commission"),width:"110px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-14 fw-6"},[t._v("%"+t._s(r.row.komisyon))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("description")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-14 fw-6"},[t._v(t._s(null!=r.row.aciklama?r.row.aciklama:"-"))])]}}])}),t._v(" "),e("el-table-column",{attrs:{align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("el-button",{attrs:{type:"info",size:"mini",icon:"el-icon-zoom-in"},on:{click:function(e){return t.getRowDetail(r.row)}}})]}}])})],1),t._v(" "),null!=t.listDetailData?e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.listDetailData,"empty-text":t.$t("no_data")}},[e("el-table-column",{attrs:{label:t.$t("date"),"min-width":"90px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{domProps:{innerHTML:t._s(t.ParseStamp(r.row.tarih))}})]}}],null,!1,3348657450)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Tip"),"min-width":"60px"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n                  "+t._s(30==e.row.belge_kod?t.$t("sales"):31==e.row.belge_kod?t.$t("return"):"")+"\n                ")]}}],null,!1,1312857407)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("urun"),"min-width":"130px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13"},[t._v(t._s(null!=r.row.stok?r.row.stok.stokcins:"-"))])]}}],null,!1,1708414966)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("customer")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13"},[t._v(t._s(null!=r.row.cari?r.row.cari.firma:"-"))])]}}],null,!1,2494123923)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("class"),"min-width":"100px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13"},[t._v(t._s(null!=r.row.terminal?r.row.terminal.clname:"-"))])]}}],null,!1,743565226)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("commission")+" "+t.$t("ratio"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13 ta-r"},[t._v("%"+t._s(r.row.komisyonOran))])]}}],null,!1,2621640671)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("commission")+" "+t.$t("amount"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13 ta-r"},[t._v(t._s(r.row.komisyonTutar))])]}}],null,!1,2971714789)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("base_tax"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13 ta-r"},[t._v(t._s(r.row.mat_tutar))])]}}],null,!1,1350617865)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("tax")+" "+t.$t("amount"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13 ta-r"},[t._v(t._s(r.row.kdv_tutar))])]}}],null,!1,1212004328)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("amount"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-13 ta-r"},[t._v(t._s(r.row.net_tutar))])]}}],null,!1,1386570318)})],1):t._e(),t._v(" "),null!=t.listDetailData?e("div",{staticClass:"ww fl my10"},[e("paginationCard",{attrs:{sizes:[20],showUrl:!1,pageData:{pageNo:t.listDetailDataPage,pageCount:t.listDetailDataSize,dataCount:t.listDetailDataCount}},on:{paginationData:t.paginationData}})],1):t._e()],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(6),header=r(4),footer=r(3),l={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},data(){return{activeName:"pending",currency:this.$store.state.firmBaseCurrency||"TRY",userData:this.$cookies.get("b2bUserInfo")||null,orderList:null,tableData:[],listLoading:!1,isEmpty:!1,backTime:30,backTimeName:null,firmSetting:this.$store.state.firm.settings,devirBakiye:0,guncelToplamBakiye:0,guncelToplamPuanBakiye:0,listQuery:{documentType:1,pageNo:1,detay:0,pageCount:10,date1:"",date2:""}}},created(){this.getBackTime(this.backTime),this.getList()},methods:{getDonload(){window.open("https://b2bapi.onsocloud.com/api/user/extractOfAccountReport/pdf?tarih_start="+this.listQuery.date1+"&tarih_end="+this.listQuery.date2+"&limit="+this.listQuery.pageCount+"&page="+this.listQuery.pageNo+"&x-mentis-b2b-merchant-id="+this.$cookies.get("merchant_id")+"&access_token="+this.$cookies.get("web_login_access_token"),"_blank")},getRowDetail(t,e){window.open("https://b2bapi.onsocloud.com/api/user/docTakeReport/"+e+"/"+t+"?x-mentis-b2b-merchant-id="+this.$cookies.get("merchant_id")+"&access_token="+this.$cookies.get("web_login_access_token"),"_blank")},getList(){var t=2!=this.firmSetting.b2bBackOfficeDefaultApp?"&detay="+this.listQuery.detay+"&limit="+this.listQuery.pageCount+"&page="+this.listQuery.pageNo:"";this.listLoading=!0,this.$apis.get("api/user/extractOfAccount?tarih_start="+this.listQuery.date1+"&tarih_end="+this.listQuery.date2+t).then(t=>{this.tableData=t.data.KiboApp.Response.data.tumbelgeler;var e=t.data.KiboApp.Response.data.toplamlar;this.devirBakiye=e.devirBakiye||0,this.guncelToplamBakiye=e.guncelToplamBakiye||0,this.guncelToplamPuanBakiye=e.guncelToplamPuanBakiye||0,this.total=t.data.KiboApp.Response.data.rowCount,this.listLoading=!1}
1).catch(t=>{this.isEmpty=!0,this.listLoading=!1,this.$alert('<div style="max-height:163px;position:relative;overflow-y:auto;">'+t.response.data.KiboApp.Response.kiboMessage+"</div>",this.$t("Eksik Bilgi Girdiniz"),{dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"error",confirmButtonText:this.$t("Tamam")})})},changeDate(){this.getBackTime(this.backTime),this.getList()},dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]},getBackTime(t){var e=2===this.firmSetting.b2bBackOfficeDefaultApp;Date.prototype.formattedDate=function(pattern){var t=" "+("00"+this.getHours()).slice(-2)+":"+("00"+this.getMinutes()).slice(-2)+":"+("00"+this.getSeconds()).slice(-2);return this.getFullYear()+"-"+("00"+(this.getMonth()+1)).slice(-2)+"-"+("00"+this.getDate()).slice(-2)+(e?"":t)};var r=new Date;0==t?r.setDate(r.getDate()):r.setDate(r.getDate()-t);var o=new Date;2!=this.firmSetting.b2bBackOfficeDefaultApp&&(r.setHours(0,0,0,0),o.setHours(23,59,59,59)),this.listQuery.date1=new Date(r).formattedDate(2!=this.firmSetting.b2bBackOfficeDefaultApp?"yyyy-mm-dd h:s:i":"yyyy-mm-dd"),this.listQuery.date2=new Date(o).formattedDate(2!=this.firmSetting.b2bBackOfficeDefaultApp?"yyyy-mm-dd h:s:i":"yyyy-mm-dd");var l=this.listQuery.date1.split(" ")[0];l=l.split("-");var n=this.listQuery.date2.split(" ")[0];n=n.split("-")},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},updateList(t){console.log(t),this.listQuery.paymentStatus=t,this.getList()},handleSelectionChange(t){this.multipleSelection=t},paginationData(t){this.listQuery.pageCount=t.pageCount,this.listQuery.pageNo=t.pageNo,this.getList()},getPayStatus(){this.$nuxt.$emit("payShow",!0)}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("extract_of_account")}}},n=(r(519),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Siparişler")))])],1)],1)])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{class:"myOrderList wrapper mrau px10"},[e("div",{class:"ww fl ItemShadow ww fl pos-r bg-white"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],class:"ww fl"+(t.listLoading?" py50":"")},[e("span",{staticClass:"ww fl mt15 pt5 pb10 px15 fs-20 fw-b"},[t._v(t._s(t.$t("extract_of_account")))]),t._v(" "),2!=t.firmSetting.b2bBackOfficeDefaultApp?e("el-radio-group",{staticClass:"fl my5 ml15",attrs:{size:"medium"},on:{change:t.changeDate},model:{value:t.backTime,callback:function(e){t.backTime=e},expression:"backTime"}},[e("el-radio-button",{attrs:{label:30}},[t._v("1 "+t._s(t.$t("mounth")))]),t._v(" "),e("el-radio-button",{attrs:{label:90}},[t._v("3 "+t._s(t.$t("mounth")))]),t._v(" "),e("el-radio-button",{attrs:{label:180}},[t._v("6 "+t._s(t.$t("mounth")))])],1):t._e(),t._v(" "),e("div",{staticClass:"fl my5 ml15"},[2!=t.firmSetting.b2bBackOfficeDefaultApp?[e("div",{staticClass:"w180 fl"},[e("el-date-picker",{attrs:{type:"datetime",size:"medium",format:"dd-MM-yyyy HH:mm","value-format":"yyyy-MM-dd HH:mm:ss","default-time":"00:00:00",placeholder:t.$t("start_date")},on:{change:t.getList},model:{value:t.listQuery.date1,callback:function(e){t.$set(t.listQuery,"date1",e)},expression:"listQuery.date1"}})],1),t._v(" "),e("div",{staticClass:"w180 fl"},[e("el-date-picker",{attrs:{type:"datetime",size:"medium",format:"dd-MM-yyyy HH:mm","value-format":"yyyy-MM-dd HH:mm:ss","default-time":"23:59:59",placeholder:t.$t("end_date")},on:{change:t.getList},model:{value:t.listQuery.date2,callback:function(e){t.$set(t.listQuery,"date2",e)},expression:"listQuery.date2"}})],1)]:[e("div",{staticClass:"w180 fl"},[e("el-date-picker",{attrs:{type:"date",size:"medium",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:t.$t("start_date")},on:{change:t.getList},model:{value:t.listQuery.date1,callback:function(e){t.$set(t.listQuery,"date1",e)},expression:"listQuery.date1"}})],1),t._v(" "),e("div",{staticClass:"w180 fl"},[e("el-date-picker",{attrs:{type:"date",size:"medium",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:t.$t("end_date")},on:{change:t.getList},model:{value:t.listQuery.date2,callback:function(e){t.$set(t.listQuery,"date2",e)},expression:"listQuery.date2"}})],1)]],2),t._v(" "),0==t.firmSetting.b2bBackOfficeDefaultApp?e("span",{staticClass:"h40 fl mt5 px10 py10 ta-ol"},[e("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:t.getList},model:{value:t.listQuery.detay,callback:function(e){t.$set(t.listQuery,"detay",e)},expression:"listQuery.detay"}}),t._v(t._s(t.$t("Detay"))+"\r\n            ")],1):t._e(),t._v(" "),t.tableData.length>0?e("el-button",{staticClass:"w100 h36 fl my5 ml10 p0",attrs:{type:"danger",icon:"el-icon-download",size:"mini"},on:{click:t.getDonload}},[t._v(t._s(t.$t("download")))]):t._e(),t._v(" "),t.tableData.length>0?e("div",{class:"ww fl mb15"},[e("div",{staticClass:"fl my15 pl15 fs-16"},[t._v("\r\n                "+t._s(t.$t("Devir"))+" : "),e("span",{staticClass:"h40 mr15 ln-40 fs-18 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(t.devirBakiye||0,t.currency)))])]),t._v(" "),t.total>0?e("div",{staticClass:"fr my10 px15"},[2!=t.firmSetting.b2bBackOfficeDefaultApp?e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}}):t._e()],1):t._e(),t._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:"",size:"small"}},[e("el-table-column",{attrs:{label:t.$t("date"),width:"110"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13 fw-b"},[t._v(t._s(t.dateFormat(o.tarih)))])]}}],null,!1,2532961724)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("document_number"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(o.fattakipno))])]}}],null,!1,263542983)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("document_name"),"min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(o.belgeadi||"-"))])]}}],null,!1,785277978)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("description"),"min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(o.aciklama||"-"))])]}}],null,!1,1421035870)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("debt"),"min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(t.$currencyFormat(o.borctl,t.currency)||0))])]}}],null,!1,1643030220)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("due"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(t.$currencyFormat(o.alacaktl,t.currency)||0))])]}}],null,!1,4018914901)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("balance"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(t.$currencyFormat(o.bakiye,t.currency)||0))])]}}],null,!1,173754101)}),t._v(" "),0==t.firmSetting.b2bBackOfficeDefaultApp?e("el-table-column",{attrs:{label:"",width:"63"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("a",{staticClass:"w40 h40 fl ta-o fs-22 cr-p icon-url txt-info",on:{click:function(e){return t.getRowDetail(o.id,"html")}}})]}}],null,!1,3464153938)}):t._e()],1),t._v(" "),e("div",{staticClass:"fl my15 pl15 fs-16"},[t._v("\r\n                "+t._s(t.$t("balance"))+" ("),e("span",{class:"txt-"+(t.guncelToplamBakiye>0?"error":"success")},[t._v(t._s(t.$t(t.guncelToplamBakiye>0?"debt":"due")))]),t._v(") : "),e("span",{staticClass:"h40 mr15 ln-40 fs-18 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(t.guncelToplamBakiye,t.currency)))]),t._v(" "),0==t.firmSetting.b2bBackOfficeDefaultApp?[t._v(t._s(t.$t("score_balance"))+" : "),e("span",{staticClass:"h40 mr15 ln-40 fs-18 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(t.guncelToplamPuanBakiye,t.currency)))])]:t._e(),t._v(" "),t.guncelToplamBakiye>0?e("a",{staticClass:"w100 fl mr10 mb20 py10 ta-c bg-success bg-success-hover txt-white fs-13 cr-p ItemShadow",on:{click:t.getPayStatus}},[t._v("\r\n                  "+t._s(t.$t("pay"))+"\r\n                ")]):t._e()],2),t._v(" "),t.total>0?e("div",{staticClass:"fr my10 px15"},[2!=t.firmSetting.b2bBackOfficeDefaultApp?e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}}):t._e()],1):t._e()],1):t._e()],1),t._v(" "),t.isEmpty?e("alertNoteCard"):t._e()],1)])]):t._e(),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(342),l=r(116),n=r(82),c=r(78),header=r(4),footer=r(3),d=r
vendor: 1,870 bytes, line 1
1(77);function m(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return h(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?h(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function _(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function w(t){return function(){var e=this,r=arguments;
1return new Promise(function(o,l){var a=t.apply(e,r);function n(t){v(a,o,l,n,c,"next",t)}function c(t){v(a,o,l,n,c,"throw",t)}n(void 0)})}}var y={components:{creditForm:n.default,phoneNumberInput:c.default,headerWrap:header.default,footerWrap:footer.default,orderResult:d.default},watch:{customerInfo:{deep:!0,handler:function(t,e){0!=this.customerInfoIsChangeByUserCount&&(this.customerInfoIsChangeByUser=!0),this.customerInfoIsChangeByUserCount++}},authPaymentDiscount(t){t&&this.calcPaymentsDiscount()}},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",currency:"TRY",firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol,payLogo:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bPayLogo||this.$router.options.base+"asset/logo/visa_mastercard_logo.png",isAbroad:!1,isCloseModal:!1,dialogFormVisible:!1,dialogFormLoading:!1,adressStatus:0,resultShow:!1,resultIcon:"error",resultTitle:"",resultMessage:"",resultLink:"",isGuestLogin:0,paymentDetailShow:!1,paymentDetails:{},promosyonKod:"",promosyonData:"",promosyonBusy:!1,sozlesme:1,headNote:null,showTax:!1,kvkkModal:!1,isPay:!1,payLoad:!1,agreeDetailTitle:null,agreeDetail:null,basketData:null,cargoPrice:0,cargoKnKcPrice:0,cargoName:null,paymentsDiscount:{}
1,showPaymentOption:!1,selectPaymentId:null,selectBankId:null,selectCargoId:null,odemeList:[],odemeMesaj:"",kargoLimitMesaj:"",bankList:null,cargoList:null,cargoDescription:null,payDrawer:!0,payIframe:null,metaModule:null,googleModule:null,activeModules:{mod_ebook_seller:0},everyItemIsEbook:!1,digitalPublishingFee:0,langObj:null,requiredInputRule:{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"},requiredVergiNoRule:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateVergiNo,trigger:"change"}],requiredTurkishPhoneNumberRule:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateTurkishPhoneNumber,trigger:"change"}],schoolFormAvailableInputs:{adsoyad:!1,sinif_adi:!1,okulno:!1},isPhoneCodeTurkey:!1,customerInfoIsChangeByUser:!1,customerInfoIsChangeByUserCount:0,countryListLoading:!1,cityListLoading:!1,districtListLoading:!1,shcCityListLoading:!1,shcDistrictListLoading:!1,customerInfo:null,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],shc_countryList:[],shc_cityList:[],shc_cityListTemp:[],shc_townList:[],shc_townListTemp:[],studentClassList:[],address_request_mod:null,userData:this.$cookies.get("b2bUserInfo")||null,orderForm:{firma:"",order_note:"",cargo_id:void 0,payment_id:"",bankaccs_id:void 0,kvkk:""},schoolForm:{name:"",surname:"",okulno:"",sinif_adi:void 0},rules:{firma:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"blur"}],shc_firma:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],shc_ceptel:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],name:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],surname:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],cargo_id:[{required:!0,message:this.$t("cargo")+" "+this.$t("Seç"),trigger:"change"}],payment_id:[{required:!0,message:this.$t("payment")+" "+this.$t("Seç"),trigger:"change"}],bankaccs_id:[{required:!0,message:this.$t("bank_account")+" "+this.$t("Seç"),trigger:"change"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}]},modalRules:{firma:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],ceptel:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"blur"}],ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],adres:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateAdres,trigger:"blur"}]},shcModalRules:{shc_firma:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],shc_ceptel:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"change"}],shc_adres:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateAdres,trigger:"blur"}],shc_ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}]},onSatisFormu:"",satisSozlesmesi:"",isNotAddress:!1}},created(){this.isGuestLogin=this.$cookies.get("isGuestLogin"),this.checkModules(),this.getList(!0),this.headNote=this.$cookies.get("corpNotification")||null,this.$cookies.get("merchant_id")&&(this.onSatisFormu=this.firmSetting.b2bOnBilgilendirmeFormu,this.satisSozlesmesi=this.firmSetting.b2bSatisSozlesmesi),"1"==this.$store.state.firmAppMode&&(this.setSchoolFormAvailableInputs(),this.schoolFormAvailableInputs.sinif_adi&&this.getStudentClassList()),this.langObj=o.default[this.$i18n.locale],this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},computed:{currentPaymentTypeKnKcCheck(){var t=this.currentPaymentType;return!!t&&("KN"===t.pym_code||"KC"===t.pym_code)},currentPaymentType(){return this.odemeList.find(t=>t.id===this.orderForm.payment_id)},currentBank(){return this.bankList.find(t=>
1t.id===this.orderForm.bankaccs_id)},currentCargo(){return this.cargoList.find(t=>t.id==this.orderForm.cargo_id)},calcKnKcCargoPrice(){return parseFloat(0==this.cargoPrice&this.currentPaymentTypeKnKcCheck?this.cargoKnKcPrice:0)},authPaymentDiscount(){var t;return null!=this.customerInfo&&(null===(t=this.odemeList)||void 0===t?void 0:t.length)>0}},mounted(){this.b2bSettingsCookie(),this.getMetaModule(),this.getGoogleModule()},methods:{b2bSettingsCookie(){var t=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,e=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo;this.firmSetting.b2bWhatsappChat&&null!=this.firmSetting.b2bWhatsappChat&&(this.chatLink="https://api.whatsapp.com/send/?phone="+encodeURIComponent(this.firmSetting.b2bWhatsappChat));var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=t||e||"",document.getElementsByTagName("head")[0].appendChild(link)},calcBasketTotal(t){if(!this.orderForm.payment_id)return t;var e=this.currentPaymentType,r=null;return r=null!=t&&null!=this.customerInfo&&this.isAvailableDiscount(e)?0==e.pym_isk_tip?t-this.paymentsDiscount[e.pym_code]:t+this.paymentsDiscount[e.pym_code]:t,this.digitalPublishingFee&&(r+=this.digitalPublishingFee),r},calcPaymentsDiscount(){this.showPaymentOption=!1;for(var i=0;i<this.odemeList.length;i++){var t=this.odemeList[i];if(this.isAvailableDiscount(t)){var e,r=t.pym_isk/100;e=parseFloat(null!=this.basketData?this.basketData.borctl:0)+this.digitalPublishingFee+parseFloat(this.cargoPrice),this.paymentsDiscount[t.pym_code]=e*r}}this.showPaymentOption=!0},validatePromosyon(){return null!=this.customerInfo&&this.orderForm.cargo_id&&this.orderForm.payment_id&&this.promosyonData},isAvailableDiscount(t){var e,r,o,l=!1;return 0==t.pym_caritip&&t.pym_isk>0&&(l=!0),108==t.pym_caritip&&t.pym_isk>0&&(null===(e=this.customerInfo)||void 0===e?void 0:e.id)==t.pym_carideger&&(l=!0),1==t.pym_caritip&&t.pym_isk>0&&(null===(r=this.customerInfo)||void 0===r?void 0:r.karttipi)==t.pym_carideger&&(l=!0),2==t.pym_caritip&&t.pym_isk>0&&(null===(o=this.customerInfo)||void 0===o?void 0:o.fr_classid)==t.pym_carideger&&(l=!0),l},setSchoolFormAvailableInputs(){this.firmSetting.b2bSchoolInputs&&this.firmSetting.b2bSchoolInputs.length>0&&this.firmSetting.b2bSchoolInputs.forEach(t=>{this.schoolFormAvailableInputs[t]=!0})},getSelectCargo(t,e){this.validatePromosyon()&&!e&&this.getPromosyon({cancel:!0,resend:!0});var r=this.currentCargo;if(r){var o=parseFloat(this.basketData.borctl),l="";if(this.isAbroad?"0"==r.crg_ydaktif?(this.cargoPrice=parseFloat(r.crg_ydlimit)>o?this.calcCargoPrice(r.crg_ydprice,r.crg_kncprice):0,l="crg_ydlimit"):(this.cargoPrice=parseFloat(r.crg_limit)>o?this.calcCargoPrice(r.crg_price_proc,r.crg_kncprice):0,l="crg_limit"):(this.cargoPrice=parseFloat(r.crg_limit)>o?0==r.crg_price_proc?0:this.calcCargoPrice(r.crg_price_proc,r.crg_kncprice):0,l="crg_limit"),this.cargoPrice&&r[l]&&parseFloat(r[l])>o){var n=parseFloat(r[l])-o;this.kargoLimitMesaj=this.$t("kargo_limit_ikaz_mesaji",{val:this.getPriceCode()+this.$currencyFormat(Math.abs(n))})}else this.kargoLimitMesaj="";this.cargoName=r.crg_name,this.cargoDescription=r.crg_aciklama,this.cargoKnKcPrice=r.crg_kncprice,this.calcPaymentsDiscount()}},calcCargoPrice(t,e){return this.currentPaymentTypeKnKcCheck?parseFloat(t)+parseFloat(e):t},changeSevk(t){this.getIsAbroad(),this.getSelectCargo(this.orderForm.cargo_id),t.isFromSubmitForm||("1"==this.customerInfo.shc_adresid&&(this.shc_cityList=this.cityList,this.shc_townList=this.townList,this.shc_cityListTemp=this.cityListTemp,this.shc_townListTemp=this.townListTemp),this.submitForm())},getIsAbroad(){var t=this.$store.state.firm.settings.corpDefaultCountryId;this.isAbroad=!1,0!=this.customerInfo.ulke_id&&t!=this.customerInfo.ulke_id&&(this.isAbroad=!0),1==this.customerInfo.shc_adresid&&(0!=this.customerInfo.shc_ulke_id&&t!=this.customerInfo.shc_ulke_id?this.isAbroad=!0:this.isAbroad=!1)},paymentType(t){var e,r;if(this.odemeMesaj=(null===(e=this.odemeList.find(e=>e.id==t))||void 0===e?void 0:e.pym_sum)||"",this.orderForm.cargo_id&&(this.getSelectCargo(this.orderForm.cargo_id),this.currentPaymentTypeKnKcCheck&&-1==this.currentCargo.crg_kncprice&&(this.orderForm.cargo_id=void 0,this.cargoPrice=0)),this.metaModule){var o,l=this.firmSetting,n=l.metaPixelID,c=l.metaConversionAccessToken,d=c?{metaPixelID:n,metaConversionAccessToken:c}:null;this.metaModule.metaAddPaymentInfo(this.basketData.stokinout,this.currency,null===(o=this.currentPaymentType)||void 0===o?void 0:o.pym_name,d)}this.googleModule&&this.googleModule.googleAddPaymentInfo(this.basketData,this.currency,null===(r=this.currentPaymentType)||void 0===r?void 0:r.pym_name)},getPriceCode(){var t=this.firmBaseCurrency;return this.currencySymbolList[t]},getCahngeKVKK(){this.orderForm.kvkk?(this.sozlesme=1,this.orderForm.kvkk=!0):(this.sozlesme=0,this.orderForm.kvkk="")},getAgree(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.kvkkModal=!0,this.$apis.get("api/content/detailById/"+(t||this.firmSetting.b2bSatisSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(()=>{this.agreeDetailTitle=null,this.agreeDetail=null})},editAdress(t){this.dialogFormVisible=!this.dialogFormVisible,this.adressStatus=t,0==t?null==this.customerInfo.ulke_id&&null==this.customerInfo.il_id?this.isCloseModal=!1:(this.isNotAddress=!0,this.isCloseModal=!0):1==t&&(null==this.customerInfo.shc_ulke_id&&null==this.customerInfo.shc_il_id?this.isCloseModal=!1:(this.isNotAddress=!0,this.isCloseModal=!0))},isUserBasketId(){return"1"==this.isGuestLogin&&this.$cookies.get("userBasketId")||""},getPromosyon(t){this.promosyonBusy=!0;var data={proc:t.cancel?"PROMOTION_CANCEL":"",basketId:this.isUserBasketId(),promotionCode:this.promosyonKod?this.promosyonKod:this.promosyonData?this.promosyonData.pr_name:"",payment_id:this.orderForm.payment_id,cargo_id:this.orderForm.cargo_id,ulke_id:0==this.customerInfo.shc_adresid?this.customerInfo.ulke_id:this.customerInfo.shc_ulke_id};this.$apis.post("api/basket/promotion",data).then(e=>{if(this.promosyonData=e.data.KiboApp.Response.data,this.getList(),t.resend)return this.promosyonData="",this.$message({message:this.langObj["Promosyon Tekrar"],type:"error"}),void(this.promosyonBusy=!1);t.alert&&this.$alert(e.data.KiboApp.Response.kiboMessage,this.$t("Promosyon")+" "+this.$t("Kod"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,type:"success",callback:()=>{this.promosyonBusy=!1}}),this.promosyonBusy=!1}).catch(t=>{this.promosyonData="",this.$alert(t.response.data.KiboApp.Response.kiboMessage,this.$t("Promosyon")+" "+this.$t("Kod"),{confirmButtonText:this.$t("Tamam"),dangerouslyUseHTMLString:!0,center:!0,showClose:!1,confirmButtonClass:"el-button--danger",type:"error",callback:()=>{this.promosyonBusy=!1}})})},getList(t){this.$apis.get("api/basket/cart?id="+this.isUserBasketId()).then(e=>{if(this.basketData=e.data.KiboApp.Response.data,this.activeModules.mod_ebook_seller){this.checkAllItemsEBooks(this.basketData.stokinout);var r=Number(this.$store.state.firm.settings.b2bEbookOrderCommissionPercent);this.everyItemIsEbook&&r&&(this.digitalPublishingFee=this.basketData.borctl*(r/100))}this.getSetting(),t&&this.getCustomerInfo(),this.firmSetting.b2bShowPromosyon&&this.$apis.get("api/basket/promotion?basketId="+this.isUserBasketId()).then(t=>{this.promosyonData=t.data.KiboApp.Response.data,this.calcPaymentsDiscount()}).catch(()=>{this.promosyonData=""})}).catch(()=>{location.href=this.localePath("/")})},getSetting(){this.payLoad=!0,this.$apis.get(this.isGuestLogin?"api/basket/order/payment?basketId="+this.isUserBasketId():"api/basket/order/payment").then(t=>{var e,r=t.data.KiboApp.Response.data;(this.odemeList=r.tpayments,this.cargoList=r.tcargos,this.orderForm.cargo_id&&this.get
1SelectCargo(this.orderForm.cargo_id,!0),this.bankList=r.tbankaccs,this.bankList.length>0&&!this.orderForm.bankaccs_id)&&(this.orderForm.bankaccs_id=null===(e=this.bankList[0])||void 0===e?void 0:e.id);this.payLoad=!1}).catch(t=>{console.log("hatavar"),this.odemeList=[],this.cargoList=null,this.bankList=null})},checkModules(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];if("mod_ebook_seller"==t.md_name&&"1"==t.md_status){this.activeModules.mod_ebook_seller=1;break}}},getCustomerInfo(t){this.isCloseModal=!1,this.$apis.get("api/user/myprofile").then(e=>{var data=e.data.KiboApp.Response.data;this.customerInfo=data,1==this.customerInfo.b2b_token_login&&0==this.customerInfo.b2b_token_type?this.isGuestLogin="1":this.isGuestLogin=0,t&&this.$message({message:this.$t("update_info"),type:"success"}),this.customerInfo.shc_adresid||(this.customerInfo.shc_adresid=0),"1"==!this.$store.state.firmAppMode?this.customerInfo.firma=(data.ad||"")+(data.soyad?" "+data.soyad:""):this.isGuestLogin?this.customerInfo.firma="":this.customerInfo.firma=data.firma,this.customerInfo.firma&&this.customerInfo.ceptel&&this.customerInfo.eposta&&this.customerInfo.ulke_id&&this.customerInfo.il_id&&this.customerInfo.ilce_id&&this.customerInfo.adres||(this.isNotAddress=!0),this.isGuestLogin&&(console.log("GUESSST LOGİN"),this.customerInfo.firma="",this.customerInfo.eposta="",this.customerInfo.ceptel="",this.customerInfo.shc_firma="",this.customerInfo.shc_eposta="",this.customerInfo.shc_ceptel="",this.customerInfo.il_id||(this.customerInfo.il_id=null),this.customerInfo.ilce_id||(this.customerInfo.ilce_id=null),this.customerInfo.adres="",this.customerInfo.shc_adres="",this.customerInfo.pkod="",this.customerInfo.shc_pkod="",this.customerInfoIsChangeByUser=!0,this.isNotAddress=!0,this.dialogFormVisible=!0),this.getIsAbroad(),"1"==this.$store.state.firmAppMode?this.$apis.get("api/merchant/corp/list?id="+data.intrelskod+"&ckod&firma&eposta&limit=1&page=1").then(t=>{var e=t.data.KiboApp.Response.data.list[0];null==data.ulke_id&&null==data.il_id?(this.customerInfo.ulke_id=e.ulke_id,this.customerInfo.il_id=e.il_id,this.customerInfo.ilce_id=e.ilce_id,this.customerInfo.shc_ulke_id=e.shc_ulke_id||e.ulke_id,this.customerInfo.shc_il_id=e.shc_il_id||e.il_id,this.customerInfo.shc_ilce_id=e.shc_ilce_id||e.ilce_id,this.dialogFormVisible=!0,this.adressStatus=0,this.isPay=!1):this.isPay=!0}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})}):null!=data.ulke_id&&null!=data.il_id?this.isPay=!0:(this.dialogFormVisible=!0,this.adressStatus=0,this.isPay=!1,console.log("else")),this.getAddress(),this.isPhoneCodeTurkey="90"==this.customerInfo.ceptel_kod,this.isGuestLogin||(this.customerInfoIsChangeByUser=!1,this.customerInfoIsChangeByUserCount=0)}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getAddress(){this.customerInfo.ulke_id||(this.customerInfo.ulke_id=2),this.getCountry(""),2==this.customerInfo.ulke_id&&this.getCity(this.customerInfo.ulke_id),"1"==this.customerInfo.shc_adresid&&2==this.customerInfo.shc_ulke_id&&this.getCitySevk(this.customerInfo.shc_ulke_id)},submitForm(){if(this.isGuestLogin)return this.changeSevk({isFromSubmitForm:!0}),this.dialogFormVisible=!1,this.isPay=!0,this.customerInfoIsChangeByUser=!1,this.customerInfoIsChangeByUserCount=0,!1;this.dialogFormLoading=!0,this.customerInfo.ilce="",this.customerInfo.shc_ilce="",2==this.customerInfo.ulke_id?this.customerInfo.il="":(this.customerInfo.il_id=0,this.customerInfo.ilce_id=0),2==this.customerInfo.shc_ulke_id?this.customerInfo.shc_il="":(this.customerInfo.shc_il_id=0,this.customerInfo.shc_ilce_id=0),this.customerInfo.shc_ceptel=this.customerInfo.shc_ceptel?this.customerInfo.shc_ceptel.replace(/[^\d]/g,""):"",this.$apis.put("api/user/myprofile",this.customerInfo).then(t=>{this.customerInfo=t.data.KiboApp.Response.data,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.dialogFormVisible=!1,this.isPay=!0,this.changeSevk({isFromSubmitForm:!0}),this.customerInfoIsChangeByUser=!1,this.customerInfoIsChangeByUserCount=0,this.dialogFormLoading=!1,this.validatePromosyon()&&this.getPromosyon({cancel:!0,resend:!0})}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.dialogFormVisible=!1,this.dialogFormLoading=!1})},getStudentClassList(){this.$apis.get("api/merchant/definition/list?groupnum=2&limit=1000&page=1").then(t=>{this.studentClassList=t.data.KiboApp.Response.data.list}).catch(()=>{this.studentClassList=[]})},getCountry(){this.countryListLoading=!0;var t=this.firmSetting.b2bAllowedCountries,e="";Array.isArray(t)&&1===t.length&&2===t[0]&&(e=2),this.$apis.get("api/country/list?cnt_nameSort=asc&id="+e).then(r=>{var o=r.data.KiboApp.Response.data.list;if(2!=e&&Array.isArray(t)&&t.length>0){var l=o.filter(e=>t.includes(e.id));return this.countryList=l,this.shc_countryList=l,void(this.countryListLoading=!1)}this.countryList=o,this.shc_countryList=o,this.countryListLoading=!1}
1).catch(()=>{})},getCity(t){this.cityListLoading=!0;for(var i=0;i<this.countryList.length;i++)if(this.countryList[i].id==this.customerInfo.ulke_id){this.customerInfo.ulke=this.countryList[i].cnt_name;break}2==t&&this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list,this.cityListLoading=!1,this.customerInfo.il_id&&this.getTown(this.customerInfo.il_id)}).catch(()=>{this.cityList=[],this.cityListTemp=[],this.townList=[],this.townListTemp=[],this.customerInfo.il="",this.customerInfo.ilce="",this.cityListLoading=!1})},getTown(t){this.districtListLoading=!0,t>0&&this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.districtListLoading=!1}).catch(()=>{this.districtListLoading=!1})},changeCountryId(t){this.customerInfo.il=null,this.customerInfo.il_id=null,this.customerInfo.ilce=null,this.customerInfo.ilce_id=null,2==t&&this.getCity(t)},changeCityId(t){if(t){this.townList=[],this.customerInfo.ilce_id=null,this.customerInfo.ilce=null;for(var i=0;i<this.cityList.length;i++)if(this.cityList[i].id==t){this.customerInfo.il=this.cityList[i].cty_name;break}this.getTown(t),setTimeout(()=>{this.cityList=this.cityListTemp},500)}},changeDistrictId(t){for(var i=0;i<this.townList.length;i++)this.townList[i].id==t&&(this.customerInfo.ilce=this.townList[i].cny_name);setTimeout(()=>{this.townList=this.townListTemp},500)},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getCitySevk(t){this.shcCityListLoading=!0;for(var i=0;i<this.shc_countryList.length;i++)if(this.shc_countryList[i].id==t){this.customerInfo.shc_ulke=this.shc_countryList[i].cnt_name;break}2==t&&this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.shc_cityList=t.data.KiboApp.Response.data.list,this.shc_cityListTemp=t.data.KiboApp.Response.data.list,this.shcCityListLoading=!1,this.customerInfo.shc_il_id&&this.getTownSevk(this.customerInfo.shc_il_id)}).catch(()=>{this.shc_cityList=[],this.shc_cityListTemp=[],this.shc_townList=[],this.shc_townListTemp=[],this.customerInfo.shc_il="",this.customerInfo.shc_ilce="",this.shcCityListLoading=!1})},getTownSevk(t){this.shcDistrictListLoading=!0,t>0&&this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list,this.shcDistrictListLoading=!1}).catch(()=>{this.shcDistrictListLoading=!1})},changeCountryIdSevk(t){this.customerInfo.shc_il=null,this.customerInfo.shc_il_id=null,this.customerInfo.shc_ilce=null,this.customerInfo.shc_ilce_id=null,2==t&&this.getCitySevk(t)},changeCityIdSevk(t){if(t){this.shc_townList=[],this.customerInfo.shc_ilce_id=null,this.customerInfo.shc_ilce=null;for(var i=0;i<this.shc_cityList.length;i++)if(this.shc_cityList[i].id==t){this.customerInfo.shc_il=this.shc_cityList[i].cty_name;break}this.getTownSevk(t),setTimeout(()=>{this.shc_cityList=this.shc_cityListTemp},500)}},changeDistrictIdSevk(t){for(var i=0;i<this.shc_townList.length;i++)this.shc_townList[i].id==t&&(this.customerInfo.shc_ilce=this.shc_townList[i].cny_name);setTimeout(()=>{this.shc_townList=this.shc_townListTemp},500)},CityFilterSevk(t){t&&(this.shc_cityList=this.shc_cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilterSevk(t){t&&(this.shc_townList=this.shc_townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},bankChange(t){this.orderForm.bankaccs_id=t},handleUpdateCeptel(t){this.customerInfo.ceptel=t},handleUpdateShcCeptel(t){this.customerInfo.shc_ceptel=t},checkPhoneNumber(t,e,r){var o=t.replace(/[^\d]/g,"").length===e;return!this.isGuestLogin&&r&&(o=!0),o},getPageTop(){if(0!=window.scrollY){var t=this;setTimeout(function(){window.scrollTo(0,window.scrollY-window.scrollY/5),t.getPageTop()},5)}},getMetaModule(){var t=this;return w(function*(){t.firmSetting.metaPixelID&&(console.log("Meta module aktif"),r.e(6).then(r.bind(null,49)).then(e=>{t.metaModule=e,t.isBasketExist().then(()=>{var e=t.firmSetting,r=e.metaPixelID,o=e.metaConversionAccessToken,l=o?{metaPixelID:r,metaConversionAccessToken:o}:null;t.metaModule.metaInitiateCheckout(t.basketData.stokinout,"TRY",l)}).catch(t=>{console.error("Meta",t)})}).catch(t=>{console.error("function 'metaModule' import error:",t)}))})()}
1,getGoogleModule(){var t=this;return w(function*(){t.firmSetting.googleAnalyticsID&&r.e(5).then(r.bind(null,86)).then(e=>{t.googleModule=e,t.isBasketExist().then(()=>{t.googleModule.googleBeginCheckout(t.basketData,"TRY"),t.isGuestLogin||t.googleModule.googleAddShippingInfo(t.basketData,"TRY")}).catch(t=>{console.error("Google",t)})}).catch(t=>{console.error("function 'googleModule' import error:",t)})})()},getTakeOrder(t){var e=this;return w(function*(){try{var r=e.$store.state.firm.settings.b2bKargoPrdBarkod,o=null;if(e.isGuestLogin)o=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach(function(e){_(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}({},e.basketData);else o=(yield e.$apis.get("api/user/order/take/"+t)).data.KiboApp.Response.data;yield e.googleModule.googlePurchase(o,"TRY",t,r,e.firmSetting.googleAdsID||null)}catch(t){console.log(t)}})()},isBasketExist(){var t=this;return w(function*(){return new Promise((e,r)=>{var o=setTimeout(()=>{clearInterval(l),r(new Error("Basket is empty"))},6e4),l=setInterval(()=>{t.basketData&&(clearInterval(l),clearTimeout(o),e(!0))},1e3)})})()},deliveryFormRules(t){var e,r=!1;if(0==this.customerInfo.shc_il_id&&(this.customerInfo.shc_il_id=null,this.customerInfo.shc_ilce_id=null),0==this.customerInfo.shc_ilce_id&&(this.customerInfo.shc_ilce_id=null),this.customerInfo.shc_firma&&(this.isPhoneCodeTurkey?this.checkPhoneNumber(this.customerInfo.shc_ceptel,10):this.customerInfo.ceptel)&&this.customerInfo.shc_ceptel&&this.customerInfo.shc_ulke_id&&(null===(e=this.customerInfo.shc_adres)||void 0===e?void 0:e.length)>3){var o;if(2==this.customerInfo.shc_ulke_id&&this.customerInfo.shc_il_id&&this.customerInfo.shc_ilce_id)(r=!(null===(o=this.shc_townList)||void 0===o||!o.find(t=>t.id==this.customerInfo.shc_ilce_id)))||(this.customerInfo.shc_ilce=null,this.customerInfo.shc_ilce_id=null);2!=this.customerInfo.shc_ulke_id&&this.customerInfo.shc_il&&(r=!0)}return!(t&&(this.$refs.shcModalForm.validate(t=>t?(r=!0,!0):(r=!1,!1)),!r))&&(r?(t&&(this.customerInfoIsChangeByUser?this.submitForm():this.dialogFormVisible=!1),r):(this.adressStatus=1,this.isNotAddress=!0,this.dialogFormVisible=!0,setTimeout(()=>{this.$refs.shcModalForm.validate(t=>!1)},500),!1))},billFormRules(t){var e,r=!1;if(0==this.customerInfo.il_id&&(this.customerInfo.il_id=null,this.customerInfo.ilce_id=null),0==this.customerInfo.ilce_id&&(this.customerInfo.ilce_id=null),this.customerInfo.firma&&(this.isPhoneCodeTurkey?this.checkPhoneNumber(this.customerInfo.ceptel,10,!0):this.customerInfo.ceptel)&&this.customerInfo.ulke_id&&(null===(e=this.customerInfo.adres)||void 0===e?void 0:e.length)>3){var o;if(2==this.customerInfo.ulke_id&&this.customerInfo.il_id&&this.customerInfo.ilce_id)(r=!(null===(o=this.townList)||void 0===o||!o.find(t=>t.id==this.customerInfo.ilce_id)))||(this.customerInfo.ilce=null,this.customerInfo.ilce_id=null);2!=this.customerInfo.ulke_id&&this.customerInfo.il&&(r=!0)}return!(t&&(this.$refs.modalForm.validate(t=>t?(r=!0,!0):(r=!1,!1)),!r))&&(r&&this.vergiInputsValidate()?(this.isGuestLogin&&this.googleModule&&this.googleModule.googleAddShippingInfo(this.basketData,"TRY"),t&&(this.customerInfoIsChangeByUser?this.submitForm():this.dialogFormVisible=!1),r):(this.adressStatus=0,this.isNotAddress=!0,this.dialogFormVisible=!0,setTimeout(()=>{this.$refs.modalForm.validate(t=>!1)},500),!1))},schoolFormRules(){var t,e=!0;return null!==(t=this.firmSetting)&&void 0!==t&&t.b2bSchoolInputs&&this.firmSetting.b2bSchoolInputs.length>0&&this.$refs.schoolForm.validate(t=>{if(!t)return e=!1,!1;e=!0}),e},vergiInputsValidate(){var t,e;return!this.firmSetting.b2bShowVergiInputs||!this.firmSetting.b2bShowVergiInputsRequired||(l.default.b2bShowVergiDaire?this.customerInfo.vdaire&&(null===(t=this.customerInfo.vergino)||void 0===t?void 0:t.length)>=10:(null===(e=this.customerInfo.vergino)||void 0===e?void 0:e.length)>=10)},validateTurkishPhoneNumber(t,e,r){this.checkPhoneNumber(e,10)?r():r(new Error(this.$t("must_be_digit",{val:10})))},validateVergiNo(t,e,r){e.length<10?r(new Error(this.$t("must_be_digit",{val:10}))):r()},validateAdres(t,e,r){e.length<3?r(new Error(this.$t("must_be_digit",{val:3}))):r()},checkAllItemsEBooks(t){this.everyItemIsEbook=t.every(t=>{var e;return null===(e=t.stok)||void 0===e?void 0:e.ebook})},sendOrder(){var t=this,e=!0;return!!this.billFormRules()&&("1"==this.customerInfo.shc_adresid&&(e=this.deliveryFormRules()),!!e&&(!!this.schoolFormRules()&&void this.$refs.ruleForm.validate(e=>{if(!e)return console.log("error submit!!"),!1;this.payLoad=!0;var r={basketId:this.isUserBasketId(),order_note:this.orderForm.order_note,cargo_id:this.everyItemIsEbook?this.cargoList[0].id:this.orderForm.cargo_id,payment_id:this.orderForm.payment_id,bankaccs_id:this.orderForm.bankaccs_id};if("1"==this.$store.state.firmAppMode){var o={adsoyad:(this.schoolForm.name+" "+this.schoolForm.surname).trim(),okulno:this.schoolForm.okulno,sinif_adi:this.schoolForm.sinif_adi};!this.isGuestLogin&&this.firmSetting.b2bSetStudentInfoToFirma&&(o.firma=(this.schoolForm.name+" "+this.schoolForm.surname).trim()),r=Object.assign({},r,o)}if(this.$cookies.get("intsaticino")){var l={intsaticino:Number(this.$cookies.get("intsaticino"))};r=Object.assign({},r,l)}if(this.isGuestLogin){console.log("ŞUAN GUESTT LOGİN SEND ORDER");var n=this.customerInfo.il_id||0;"2"!=this.customerInfo.ulke_id&&(n=0);var c=this.customerInfo.ilce_id||0;"2"!=this.customerInfo.ulke_id&&(c=0);var d=this.customerInfo.shc_il_id||0;"2"!=this.customerInfo.shc_ulke_id&&(d=0);var h=this.customerInfo.shc_ilce_id||0;"2"!=this.customerInfo.shc_ulke_id&&(h=0);var f={address_request_mod:1,firma:this.customerInfo.firma,eposta:this.customerInfo.eposta,ceptel:this.customerInfo.ceptel,shc_firma:this.customerInfo.shc_firma,shc_ceptel:this.customerInfo.shc_ceptel,tel:this.customerInfo.tel,ulke_id:this.customerInfo.ulke_id,il_id:n,il:this.customerInfo.il,ilce_id:c,ilce:this.customerInfo.ilce,adres:this.customerInfo.adres,pkod:this.customerInfo.pkod,vdaire:this.customerInfo.vdaire,vergino:this.customerInfo.vergino,shc_adresid:this.customerInfo.shc_adresid,shc_tel:this.customerInfo.shc_tel,shc_ulke_id:this.customerInfo.shc_ulke_id,shc_il_id:d,shc_il:this.customerInfo.shc_il,shc_ilce_id:h,shc_ilce:this.customerInfo.shc_ilce,shc_adres:this.customerInfo.shc_adres,shc_pkod:this.customerInfo.shc_pkod,vergino:this.customerInfo.vergino,vdaire:this.customerInfo.vdaire};r=Object.assign({},r,f)}this.$apis.post("api/basket/order/payment",r).then(function(){var e=w(function*(e){if(t.$cookies.remove("intsaticino",{path:"/"}),t.metaModule){var r=t.firmSetting,o=r.metaPixelID,l=r.metaConversionAccessToken,n=l?{metaPixelID:o,metaConversionAccessToken:l}:null;t.metaModule.metaPurchase(t.basketData.stokinout,t.currency,n)}if(t.googleModule&&(yield t.getTakeOrder(e.data.KiboApp.Response.data.id)),t.$cookies.remove("userBasketId",{path:"/"}),t.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),t.$nuxt.$emit("basketCount",0),t.paymentDetails=e.data.KiboApp.Response.data,""!=e.data.KiboApp.Response.data.payGatewayUrl){var c={id:e.data.KiboApp.Response.data.id,orderForm:t.orderForm,paymentDetails:t.paymentDetails,customerInfo:t.customerInfo,currentBank:t.currentBank,odemeMesaj:t.odemeMesaj,everyItemIsEbook:t.everyItemIsEbook};localStorage.setItem("lastOrderDetails",JSON.stringify(c)),location.href=e.data.KiboApp.Response.data.payGatewayUrl}else t.resultShow=!1,t.paymentDetailShow=!0,t.getPageTop()});return function(t){return e.apply(this,arguments)}}()).catch(t=>{this.payIframe=null,this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("order");var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var o of Object.entries(r)){var l=m(o,2);l[0];l[1].map(t=>{e.push(t)})}this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+"<br>"+e,setTimeout(()=>{this.resultShow=!1,this.payLoad=!1},3e3)})})))}},head(){return{title:this.$t("order")+" "+this.$t("pay")}}},k=y,C=(r(521),r(522),r(0)),component=Object(C.a)(k,function(){var t,e,r,o,l,n,c,d,m,h,f=this,_=f._self._c;return null!=f.userData?_("section",{staticClass:"ww fl pt10 px5"},[_("div",{staticClass:"wrapper mrau"},[_("div",{staticStyle:{display:"none"}},[_("headerWrap")],1),f._v(" "),f.paymentDetailShow||f.resultShow?f._e():_("div",{staticClass:"ww fl py20 ItemShadow ww fl pos-r bg-white"},[_("div",{staticClass:"ww fl px20"},[_("el-row",[_("el-col",{attrs:{lg:6,sm:6,xs:24}},[_("a",{attrs:{href:f.localePath("/")}},[""!=f.siteLogo?_("el-image",{class:"h60 fl"+(f.$device.isMobile?" mb10":" mr10"),attrs:{src:f.siteLogo}}):f._e()],1)]),f._v(" "),_("el-col",{attrs:{lg:6,sm:6,xs:8}},[_("a",{attrs:{href:f.localePath("/sepet")}},[_("span",{class:"ww fl pos-r"+(f.$device.isMobile?"":" pl50")},[f.$device.isMobile?f._e():_("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 icon-order ta-o"}),f._v(" "),_("p",{staticClass:"ww h20 fl ln-20 fs-13"},[f._v("\n                    "+f._s(f.$t("basket"))+"\n                  ")]),f._v(" "),_("div",{staticClass:"ww fl"},[null==f.basketData?_("div",{staticClass:"rowLoader fl",staticStyle:{width:"120px","margin-top":"10px"}},[_("div",{staticClass:"rowLoaderBar"})]):_("p",{class:"ww fl fw-b txt-head fs-"+(f.$device.isMobile?"20 h20 ln-20":"25 h30 ln-30")},[_("span",{staticClass:"fl ln-24 fs-18",class:f.$device.isMobile?"":"mt5"},[f._v(f._s(f.getPriceCode()))]),f._v("\n                      "+f._s(f.$currencyFormat(f.basketData.borctl,f.currency))+"\n                    ")])])])])]),f._v(" "),_("el-col",{attrs:{lg:6,sm:6,xs:8}},[_("span",{class:"ww fl pos-r"+(f.$device.isMobile?"":" pl50")},[f.$device.isMobile?f._e():_("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 icon-stok ta-o"}),f._v(" "),_("p",{staticClass:"ww h20 fl ln-20 fs-13"},[f._v("\n                    "+f._s(f.$t("cargo"))+"\n                  ")]),f._v(" "),_("div",{staticClass:"ww fl"},[null==f.basketData?_("div",{staticClass:"rowLoader fl",staticStyle:{width:"120px","margin-top":"10px"}},[_("div",{staticClass:"rowLoaderBar"})]):_("p",{class:"ww fl fw-b txt-head fs-"+(f.$device.isMobile?"20 h20 ln-20":"25 h30 ln-30")},[f.orderForm.cargo_id?[1!=(null===(t=f.customerInfo)||void 0===t?void 0:t.kargo_odeme_tip)?[_("span",{staticClass:"fl ln-24 fs-18",class:f.$device.isMobile?"":"mt5"},[f._v(f._s(f.getPriceCode()))]),f._v("\n                          "+f._s(f.$currencyFormat(parseFloat(f.cargoPrice),f.currency))+"\n                        ")]:_("span",{staticClass:"fl ln-20 fs-14 txt-error",class:f.$device.isMobile?"":"mt5"},[f._v(" "+f._s(f.$t("cargo")+" "+f.$t("amount")+" "+f.$t("Alıcı Ayrıca Öder"))+" ")])]:_("span",{staticClass:"fl ln-20 fs-14 txt-error",class:f.$device.isMobile?"":"mt5"},[f._v(" "+f._s(f.everyItemIsEbook?"-":f.$t("Kargo seçimi bekleniyor"))+" ")])],2)])])]),f._v(" "),_("el-col",{attrs:{lg:6,sm:6,xs:8}},[_("span",{class:"ww fl pos-r txt-error"+(f.$device.isMobile?"":" pl50")},[f.$device.isMobile?f._e():_("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 ta-o",class:"TRY"!==f.firmBaseCurrency?"icon-news":"icon-bill"}),f._v(" "),_("p",{staticClass:"ww h20 fl ln-20 fs-13"},[f._v("\n                  "+f._s(f.$t("bill"))+"\n                ")]),f._v(" "),_("div",{staticClass:"ww fl"},[null==f.basketData?_("div",{staticClass:"rowLoader fl",staticStyle:{width:"120px","margin-top":"10px"}},[_("div",{staticClass:"rowLoaderBar"})]):_("p",{class:"ww fl fw-b txt-error txt-head fs-"+(f.$device.isMobile?"20 h20 ln-20":"25 h30 ln-30")},[_("span",{staticClass:"fl ln-24 fs-18",class:f.$device.isMobile?"":"mt5"},[f._v(f._s(f.getPriceCode()))]),f._v("\n                    "+f._s(f.$currencyFormat(f.calcBasketTotal(parseFloat(f.basketData.borctl)+parseFloat(f.cargoPrice)),f.currency))+"\n                  ")])])])])],1
1)],1),f._v(" "),f.basketData?_("div",{staticClass:"ww fl mt15 pt5 px15 pb20 bdrT"},[_("el-form",{ref:"ruleForm",attrs:{"label-position":"top",rules:f.rules,model:f.orderForm}},[f.customerInfo?[_("el-row",{attrs:{gutter:15}},[_("el-col",{attrs:{lg:12,sm:12,xs:24}},["1"==f.$store.state.firmAppMode&&f.firmSetting.b2bSchoolInputs&&f.firmSetting.b2bSchoolInputs.length>0?_("div",{staticClass:"ww fl my20 px20 py5 bdr bg-light rds"},[_("el-row",{attrs:{gutter:15}},[_("el-form",{ref:"schoolForm",attrs:{"label-position":"top",model:f.schoolForm}},[f.schoolFormAvailableInputs.adsoyad?[_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("el-form-item",{attrs:{label:f.$t("student")+" "+f.$t("name"),prop:"name",rules:f.requiredInputRule}},[_("el-input",{staticClass:"ww fl",attrs:{placeholder:f.$t("student")+" "+f.$t("name"),size:"mini"},model:{value:f.schoolForm.name,callback:function(t){f.$set(f.schoolForm,"name",t)},expression:"schoolForm.name"}})],1)],1)]),f._v(" "),_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("el-form-item",{attrs:{label:f.$t("student")+" "+f.$t("surname"),prop:"surname",rules:f.requiredInputRule}},[_("el-input",{staticClass:"ww fl",attrs:{placeholder:f.$t("student")+" "+f.$t("surname"),size:"mini"},model:{value:f.schoolForm.surname,callback:function(t){f.$set(f.schoolForm,"surname",t)},expression:"schoolForm.surname"}})],1)],1)])]:f._e(),f._v(" "),f.schoolFormAvailableInputs.okulno?_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("el-form-item",{attrs:{label:f.$t("school")+" "+f.$t("No"),prop:"okulno",rules:f.requiredInputRule}},[_("el-input",{staticClass:"ww fl",attrs:{placeholder:f.$t("school")+" "+f.$t("No"),size:"mini"},model:{value:f.schoolForm.okulno,callback:function(t){f.$set(f.schoolForm,"okulno",t)},expression:"schoolForm.okulno"}})],1)],1)]):f._e(),f._v(" "),f.schoolFormAvailableInputs.sinif_adi?_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("el-form-item",{attrs:{label:f.$t("class"),prop:"sinif_adi",rules:{required:!0,message:"".concat(f.$t("Bu Alan Boş Olamaz")),trigger:"change"}}},[_("el-select",{staticClass:"ww fl",attrs:{placeholder:f.$t("class"),filterable:"",size:"mini"},model:{value:f.schoolForm.sinif_adi,callback:function(t){f.$set(f.schoolForm,"sinif_adi",t)},expression:"schoolForm.sinif_adi"}}
1,f._l(f.studentClassList,function(t){return _("el-option",{key:t.id,attrs:{label:t.tanimad,value:t.tanimad}})}),1)],1)],1)]):f._e()],2)],1)],1):f._e(),f._v(" "),_("div",{staticClass:"ww fl mb15"},[_("h5",{staticClass:"ww fl mt5 fs-16 fw-b"},[f._v(f._s(f.$t("Bilgilerim")))]),f._v(" "),_("p",{staticClass:"ww fl fs-13"},[f._v(f._s(f.customerInfo.firma))]),f._v(" "),_("p",{staticClass:"ww fl fs-13"},[f._v(f._s(f.customerInfo.ceptel?(f.isPhoneCodeTurkey?f.customerInfo.ceptel.substring(0,10):f.customerInfo.ceptel)+" - ":"")+" "+f._s(f.customerInfo.eposta))]),f._v(" "),_("p",{staticClass:"ww fl fs-13"},[f._v(f._s(f.customerInfo.vdaire?f.customerInfo.vdaire+" - ":"")+" "+f._s(f.customerInfo.vergino))]),f._v(" "),_("h5",{staticClass:"ww fl my5 fs-16 fw-b"},[f._v("\n                    "+f._s(f.$t("bill")+(0==f.customerInfo.shc_adresid?" "+f.$t("ve")+" "+f.$t("delivery"):"")+" "+f.$t("address"))+"\n                    "),_("el-button",{attrs:{icon:"el-icon-edit",size:"mini",circle:""},on:{click:function(t){return f.editAdress(0)}}})],1),f._v(" "),_("div",{staticClass:"ww fl mb10 fs-13"},[f._v("\n                    "+f._s(f.customerInfo.adres)+"\n                    "),_("div",{staticClass:"clr"}),f._v("\n                    "+f._s(f.customerInfo.ilce?f.customerInfo.ilce+" / ":"")+"  "+f._s(f.customerInfo.il)+" - "+f._s(f.customerInfo.ulke)+"\n                  ")]),f._v(" "),_("div",{staticClass:"ww fl"},[_("el-form-item",[_("span",{staticClass:"fl mr10 mt5 ln-32 fs-12"},[f._v(f._s(f.$t("different")+" "+f.$t("delivery")+" "+f.$t("address")))]),f._v(" "),_("el-radio-group",{attrs:{size:"mini"},on:{change:f.changeSevk},model:{value:f.customerInfo.shc_adresid,callback:function(t){f.$set(f.customerInfo,"shc_adresid",t)},expression:"customerInfo.shc_adresid"}},[_("el-radio-button",{attrs:{label:"0"}},[f._v(f._s(f.$t("Hayır")))]),f._v(" "),_("el-radio-button",{attrs:{label:"1"}},[f._v(f._s(f.$t("Evet")))])],1)],1)],1)])]),f._v(" "),_("el-col",{attrs:{lg:12,sm:12,xs:24}},[1==f.customerInfo.shc_adresid?_("div",{staticClass:"ww fl my20 px20 py5 bdr bg-light rds"},[_("h5",{staticClass:"ww fl mt5 mb5 fs-16 fw-b"},[f._v("\n                    "+f._s(f.$t("delivery")+" "+f.$t("address"))+"\n                    "),_("el-button",{attrs:{icon:"el-icon-edit",size:"mini",circle:""},on:{click:function(t){return f.editAdress(1)}}})],1),f._v(" "),_("p",{staticClass:"ww fl fs-13"},[f._v(f._s(f.customerInfo.shc_firma||""))]),f._v(" "),_("p",{staticClass:"ww fl fs-13"},[f._v(f._s(f.customerInfo.shc_ceptel||""))]),f._v(" "),_("div",{staticClass:"ww fl my10 fs-13"},[f._v("\n                    "+f._s(f.customerInfo.shc_adres)+"\n                    "),_("div",{staticClass:"clr"}),f._v("\n                    "+f._s(f.customerInfo.shc_ilce?f.customerInfo.shc_ilce+" / ":"")+"  "+f._s(f.customerInfo.shc_il)+" - "+f._s(f.customerInfo.shc_ulke)+"\n                  ")])]):f._e()])],1)]:f._e(),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),_("el-row",{staticClass:"mb10",attrs:{gutter:15}},[null!=f.customerInfo&&f.showPaymentOption?_("el-col",{attrs:{lg:8,sm:8,xs:24}},[_("el-form-item",{staticClass:"m0",attrs:{label:f.$t("payment"),prop:"payment_id"}},[_("div",{staticClass:"ww fl pos-r"},[_("el-select",{staticClass:"ww fl",attrs:{"popper-class":"paySelectBox","popper-append-to-body":!0,"no-data-text":f.$t("no_data"),placeholder:f.$t("payment")+" "+f.$t("Seç")},on:{change:f.paymentType},model:{value:f.orderForm.payment_id,callback:function(t){f.$set(f.orderForm,"payment_id",t)},expression:"orderForm.payment_id"}},[_("el-option",{attrs:{label:f.$t("Seç"),value:""}}),f._v(" "),f._l(f.odemeList,function(t,e){return _("el-option",{key:e+"_"+t.id,attrs:{"value-key":"pym_name",disabled:f.everyItemIsEbook&&["KN","KC"].includes(t.pym_code),label:t.pym_name,value:t.id}},[_("p",{class:"ww fl py5 ln-26 fs-14 fw-6"},[f._v(f._s(t.pym_code)+" - "+f._s(t.pym_name)+" "),f.isAvailableDiscount(t)&&Object.keys(f.paymentsDiscount).length>0?_("span",{staticClass:"fs-15 fw-6",class:0==t.pym_isk_tip?"txt-success":"txt-error"},[f._v("  "+f._s("(%"+t.pym_isk+" "+(1===t.pym_isk_tip?f.$t("Ek Hizmet Bedeli"):f.$t("İndirim")))+")  ")]):f._e()])])})],2)],1)])],1):f._e(),f._v(" "),null==f.cargoList||null==f.customerInfo||f.everyItemIsEbook?f._e():_("el-col",{attrs:{lg:8,sm:8,xs:24}},[_("el-form-item",{staticClass:"m0",attrs:{label:f.$t("cargo"),prop:"cargo_id"}},[_("div",{staticClass:"ww fl pos-r"},[_("el-select",{staticClass:"ww",attrs:{disabled:""==f.orderForm.payment_id,"popper-class":"paySelectBox","no-data-text":f.$t("no_data"),placeholder:f.$t("cargo")+" "+f.$t("Seç")},on:{change:f.getSelectCargo},model:{value:f.orderForm.cargo_id,callback:function(t){f.$set(f.orderForm,"cargo_id",t)},expression:"orderForm.cargo_id"}},f._l(f.cargoList,function(t,e){var r;
1return _("el-option",{key:e+"_"+t.id,attrs:{"value-key":"crg_name",disabled:f.currentPaymentTypeKnKcCheck&&-1==t.crg_kncprice,label:t.crg_name,value:t.id}},[f.currentPaymentTypeKnKcCheck&&-1==t.crg_kncprice?_("div",{staticClass:"pos-a tp-0 rg-0 ww",staticStyle:{height:"100%","background-color":"#ffffffb0","z-index":"1"}}):f._e(),f._v(" "),_("div",{staticClass:"ww h50 fl py5 pl40"},[_("el-image",{staticClass:"w40 h40 ml10 pos-a lf-0 ta-o",attrs:{src:t.cargo_logo,fit:"contain"},scopedSlots:f._u([{key:"error",fn:function(){return[_("i",{staticClass:"el-icon-picture-outline fs-25"})]},proxy:!0}],null,!0)}),f._v(" "),_("p",{class:"ww fl fs-14 fw-6"+(t.priceHidden?" h50":"")},[f._v(f._s(t.crg_name))]),f._v(" "),t.priceHidden||1==(null===(r=f.customerInfo)||void 0===r?void 0:r.kargo_odeme_tip)?f._e():_("span",{staticClass:"ww fl ln-23 fs-14 fw-6"},[_("span",{staticClass:"fl mt5 ln-13 fs-14"},[f._v(f._s(f.getPriceCode()))]),f._v(" "),f._v("\n                                  "+f._s(f.$currencyFormat(f.isAbroad?"0"==t.crg_ydaktif?parseFloat(null!=f.basketData?f.basketData.borctl:0)>parseFloat(t.crg_ydlimit)?0:f.calcCargoPrice(t.crg_ydprice,t.crg_kncprice):f.calcCargoPrice(t.crg_price_proc,t.crg_kncprice):0!=t.crg_price_proc||f.currentPaymentTypeKnKcCheck?f.calcCargoPrice(t.crg_price_proc,t.crg_kncprice):0,f.currency))+"\n                                ")])],1)])}),1)],1)])],1),f._v(" "),_("el-col",{attrs:{lg:8,sm:8,xs:24}},[4==f.orderForm.payment_id?_("el-form-item",{staticClass:"m0",attrs:{label:f.$t("bank_account"),prop:"bankaccs_id"}},[_("div",{staticClass:"ww fl pos-r"},[_("el-select",{staticClass:"ww fl pos-r",attrs:{disabled:!f.everyItemIsEbook&&!f.orderForm.cargo_id,"popper-class":"paySelectBox","popper-append-to-body":!0,"no-data-text":f.$t("no_data"),placeholder:f.$t("bank_account")+" "+f.$t("Seç")},model:{value:f.orderForm.bankaccs_id,callback:function(t){f.$set(f.orderForm,"bankaccs_id",t)},expression:"orderForm.bankaccs_id"}},f._l(f.bankList,function(t,e){return _("el-option",{key:e+"_"+t.id,attrs:{label:t.bnc_accname,value:t.id}},[_("div",{staticClass:"ww h50 fl py5 pl40"},[t.tbanks?_("el-image",{staticClass:"w40 h40 ml10 pos-a lf-0 ta-o",attrs:{src:t.tbanks.bank_logo,fit:"contain"}}):f._e(),f._v(" "),_("p",{class:"ww fl fs-14 fw-6"},[f._v(f._s(t.bnc_accname))]),f._v(" "),_("span",{staticClass:"ww fl ln-23 fs-14 fw-6"},[f._v(f._s(t.bnc_bnd_code)+" - "+f._s(t.bnc_accnum))])],1)])}),1)],1)]):f._e()],1)],1),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),f.kargoLimitMesaj?_("div",{staticClass:"ww fl mb5"},[_("div",{staticClass:"el-alert el-alert--error is-light",attrs:{role:"alert"}},[_("i",{staticClass:"el-alert__icon icon-stok"}),f._v(" "),_("div",{staticClass:"el-alert__content"},[_("span",{staticClass:"el-alert__title"},[_("span",{staticClass:"fw-b txt-error fs-14"},[f._v(f._s(f.kargoLimitMesaj))])])])])]):f._e(),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),f.odemeMesaj?_("div",{staticClass:"ww fl mb5"},[_("el-alert",{staticClass:"customAlert",attrs:{type:"info","show-icon":"",closable:!1}},[_("template",{slot:"title"},[_("span",{staticClass:"fw-b"},[f._v(f._s(f.odemeMesaj))])])],2)],1):f._e(),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),_("el-row",{attrs:{gutter:15}},[null!=f.cargoDescription?_("el-col",{attrs:{lg:24,sm:24,xs:24}},[_("div",{staticClass:"ww fl my5"},[_("el-alert",{staticClass:"customAlert",attrs:{type:"info","show-icon":"",closable:!1}},[_("template",{slot:"title"},[_("span",{staticClass:"fw-b"},[f._v(f._s(f.cargoDescription))])])],2)],1)]):f._e(),f._v(" "),1==(null===(e=f.customerInfo)||void 0===e?void 0:e.kargo_odeme_tip)?_("el-col",{attrs:{lg:24,sm:24,xs:24}},[_("div",{staticClass:"ww fl my5"},[_("el-alert",{staticClass:"customAlert",attrs:{type:"warning","show-icon":"",closable:!1}},[_("template",{slot:"title"},[_("span",{staticClass:"fw-b"},[f._v(f._s(f.$t("cargo")+" "+f.$t("amount")+" "+f.$t("Alıcı Ayrıca Öder")))])])],2)],1)]):f._e(),f._v(" "),4==f.orderForm.payment_id&&(f.orderForm.cargo_id||f.everyItemIsEbook)?_("el-col",{attrs:{lg:24,sm:24,xs:24}}
1,f._l(f.bankList,function(t,e){return _("div",{key:e+"_"+t.id,staticClass:"mb5 cr-p",attrs:{label:t.bnc_accname,value:t.id},on:{click:function(e){return f.bankChange(t.id)}}},[_("el-alert",{attrs:{type:"info",closable:!1}},[_("template",{slot:"title"},[_("div",{class:f.$device.isMobile?"dp-f pl10 pb10 mb10 fd-c":"ta-ol gap10"},[_("div",{class:f.$device.isMobile?"customFlexStart":"ta-o"},[_("el-radio",{staticClass:"customBankRadioLabel",attrs:{label:t.id},on:{change:f.bankChange},model:{value:f.orderForm.bankaccs_id,callback:function(t){f.$set(f.orderForm,"bankaccs_id",t)},expression:"orderForm.bankaccs_id"}}),f._v(" "),t.tbanks?_("el-image",{staticClass:"w100 h40",attrs:{src:t.tbanks.bank_logo,fit:"contain"}}):f._e()],1),f._v(" "),_("span",{staticClass:"ln-23 fs-13 fw-6"},[_("strong",[f._v(f._s(f.$t("account")+" "+f.$t("name"))+": ")]),f._v(f._s(t.bnc_accname))]),f._v(" "),_("span",{staticClass:"ln-23 fs-13 fw-6"},[_("strong",[f._v(" "+f._s(f.$t("Şube")+" ("+f.$t("Şube")+" "+f.$t("Kod")+")")+" ")]),f._v(" : "),_("span",[f._v(f._s((t.bnc_bnd_name||"-")+" ("+f.$t("Kod")+": "+(t.bnc_bnd_code||"-")+")"))])]),f._v(" "),_("span",{staticClass:"ln-23 fs-13 fw-6"},[_("strong",[f._v(f._s(f.$t("account")+" "+f.$t("No"))+":")]),f._v(" "+f._s(t.bnc_accnum||"-")+" ")]),f._v(" "),_("span",{staticClass:"ln-23 fs-13 fw-6"},[_("strong",[f._v(f._s(f.$t("iban"))+":")]),f._v(" "+f._s(t.bnc_iban||"-")+" ")])])])],2)],1)}),0):f._e(),f._v(" "),_("el-col",{attrs:{lg:24,sm:24,xs:24}},[null!=f.headNote?_("el-alert",{staticClass:"mb10 py15",attrs:{title:f.headNote,type:"info",closable:!1,"show-icon":""}}):f._e(),f._v(" "),_("el-form-item",[_("el-input",{attrs:{placeholder:f.$t("order_note")},model:{value:f.orderForm.order_note,callback:function(t){f.$set(f.orderForm,"order_note",t)},expression:"orderForm.order_note"}})],1)],1)],1),f._v(" "),_("el-row",{attrs:{gutter:15}},[_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("el-form-item",{staticStyle:{"margin-bottom":"30px!important"},attrs:{prop:"kvkk"}},[_("div",{staticClass:"ww fl ta-ol"},[_("input",{directives:[{name:"model",rawName:"v-model",value:f.orderForm.kvkk,expression:"orderForm.kvkk"}],staticClass:"checkbox-input",attrs:{type:"checkbox",id:"checkbox"},domProps:{checked:Array.isArray(f.orderForm.kvkk)?f._i(f.orderForm.kvkk,null)>-1:f.orderForm.kvkk},on:{change:[function(t){var e=f.orderForm.kvkk,r=t.target,o=!!r.checked;if(Array.isArray(e)){var l=f._i(e,null);r.checked?l<0&&f.$set(f.orderForm,"kvkk",e.concat([null])):l>-1&&f.$set(f.orderForm,"kvkk",e.slice(0,l).concat(e.slice(l+1)))}else f.$set(f.orderForm,"kvkk",o)},f.getCahngeKVKK]}}),f._v(" "),_("label",{staticClass:"fl",staticStyle:{height:"24px"},attrs:{for:"checkbox"}},[_("span",{staticClass:"checkbox"})]),f._v(" "),_("span",{staticClass:"mx5 ln-24 fw-b fs-15 cr-p txt-info",on:{click:function(t){return f.getAgree(f.onSatisFormu)}}},[f._v(f._s(f.$t("pre_information_form")))]),f._v(" &\n                  "),_("span",{staticClass:"mx5 ln-24 fw-b fs-15 cr-p txt-info",on:{click:function(t){return f.getAgree(f.satisSozlesmesi)}}},[f._v(f._s(f.$t("distance_selling_contract")))]),f._v(" "+f._s(f.$t("onayliyorum"))+".\n                ")])])],1),f._v(" "),_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[f.firmSetting.b2bShowPromosyon&&!f.everyItemIsEbook?_("div",{staticClass:"fr my10"},[_("el-input",{staticClass:"w200",attrs:{placeholder:f.$t("Promosyon")+" "+f.$t("Kod")},model:{value:f.promosyonKod,callback:function(t){f.promosyonKod=t},expression:"promosyonKod"}},[_("el-button",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:f.promosyonBusy,expression:"promosyonBusy",modifiers:{fullscreen:!0,lock:!0}}],attrs:{slot:"append",disabled:f.promosyonBusy||!this.orderForm.cargo_id||!this.orderForm.payment_id||!this.promosyonKod},on:{click:function(t){return f.getPromosyon({alert:!0})}},slot:"append"},[f._v(f._s(f.$t("Uygula")))])],1),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),f.promosyonData?_("span",{staticClass:"ww fl py5 fs-13 txt-error"},[_("span",{staticClass:"mr5 fw-b fs-16"},[_("span",{staticClass:"fl mt5 ln-14 fs-14"},[f._v(f._s(f.getPriceCode()))]),f._v("\n                      "+f._s(f.$currencyFormat(f.promosyonData.discountAmount))+"\n                    ")]),f._v("\n                    "+f._s(f.$t("Promosyon")+" "+f.$t("İndirim")+" ("+f.promosyonData.pr_name+")")+"\
1n                  ")]):f._e()],1):f._e(),f._v(" "),_("div",{staticClass:"ww fl mt5"},[_("img",{staticClass:"h30 fr",attrs:{src:f.payLogo,alt:f.$t("pay")+" Logo"}})])]),f._v(" "),_("el-card",{directives:[{name:"loading",rawName:"v-loading",value:f.payLoad,expression:"payLoad"}],staticClass:"customSiparisCard fr p5 my10",staticStyle:{width:"270px"},attrs:{shadow:"hover","body-style":{padding:"0px"}}},[_("div",{attrs:{slot:"header"},slot:"header"},[_("span",[f._v(f._s(f.$t("order")+" "+f.$t("Detay"))+" ")])]),f._v(" "),_("p",{staticClass:"ww fl"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("basket"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(parseFloat(f.basketData.borctl),f.currency)))])]),f._v(" "),f.currentPaymentTypeKnKcCheck&&f.orderForm.cargo_id&&-1!=this.currentCargo.crg_kncprice?[1!=(null===(r=f.customerInfo)||void 0===r?void 0:r.kargo_odeme_tip)?_("p",{staticClass:"ww fl"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("cargo"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(parseFloat(f.cargoPrice)-parseFloat(0!=f.cargoPrice?f.cargoKnKcPrice:0),f.currency)))])]):f._e(),f._v(" "),_("p",{staticClass:"ww fl"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("Kapıda Ödeme Bedeli"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(parseFloat(f.cargoKnKcPrice),f.currency)))])])]:_("p",{staticClass:"ww fl"},[f.orderForm.cargo_id&&1!=(null===(o=f.customerInfo)||void 0===o?void 0:o.kargo_odeme_tip)?[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("cargo"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(parseFloat(f.cargoPrice),f.currency)))])]:f._e()],2),f._v(" "),f.orderForm.payment_id&&null!=f.customerInfo&&f.isAvailableDiscount(f.currentPaymentType)&&f.currentPaymentType.pym_isk>0?_("p",{staticClass:"ww fl"},[0==f.currentPaymentType.pym_isk_tip?[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("payment")+" "+f.$t("Tip")+" "+f.$t("İndirim"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12 txt-success"},[f._v(f._s("-"+f.getPriceCode()+f.$currencyFormat(f.paymentsDiscount[f.currentPaymentType.pym_code]))+" (% "+f._s(f.currentPaymentType.pym_isk)+")")])]:[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("Ek Hizmet Bedeli"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12 txt-error"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(f.paymentsDiscount[f.currentPaymentType.pym_code]))+" (% "+f._s(f.currentPaymentType.pym_isk)+")")])]],2):f._e(),f._v(" "),f.everyItemIsEbook?_("p",{staticClass:"ww fl"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("Dijital Yayın Sağlama Hizmet Bedeli"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12",class:f.digitalPublishingFee?"txt-error":""},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(parseFloat(f.digitalPublishingFee),f.currency)))])]):f._e(),f._v(" "),f.firmSetting.b2bShowPromosyon&&f.promosyonData?[_("p",{staticClass:"ww fl"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("Promosyon")+" "+f.$t("İndirim"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-12 txt-success"},[f._v(f._s("-"+f.getPriceCode()+f.$currencyFormat(f.promosyonData.discountAmount,f.currency)))])]),f._v(" "),_("p",{staticClass:"ww fl mt5 pt5 bdrT"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("total")+" "+f.$t("price"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-13 fw-b txt-info"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(f.calcBasketTotal(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)+f.calcKnKcCargoPrice-parseFloat(f.promosyonData.discountAmount)),f.currency)))])])]:_("p",{staticClass:"ww fl mt5 pt5 bdrT"},[_("span",{staticClass:"w130 fl ln-24 fw-b fs-12"},[f._v(f._s(f.$t("total")+" "+f.$t("price"))+" ")]),_("span",{staticClass:"fl mr5 ln-24 fs-12"},[f._v(":")]),_("span",{staticClass:"fl ln-24 fs-13 fw-b txt-info"},[f._v(f._s(f.getPriceCode()+f.$currencyFormat(f.calcBasketTotal(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)+f.calcKnKcCargoPrice),f.currency)))])])],2)],1)],1),f._v(" "),_("el-row",{attrs:{gutter:15}},[_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("nuxt-link",{attrs:{to:f.localePath("/sepet")}},[_("el-button",{staticClass:"h50 px50 ta-o",class:f.$device.isMobile?"fr my15":""}
1,[f._v(f._s(f.$t("basket")))])],1)],1),f._v(" "),_("el-col",{attrs:{lg:12,sm:12,xs:24}},[f.isPay?_("el-button",{directives:[{name:"loading",rawName:"v-loading",value:f.payLoad,expression:"payLoad"}],staticClass:"h50 fr px50 ta-o",attrs:{disabled:f.payLoad,type:"primary"},on:{click:f.sendOrder}},[f._v(f._s(f.$t("pay")))]):f._e(),f._v(" "),f.firmSetting.b2bShowPromosyon&&f.promosyonData?_("span",{staticClass:"h50 fr mr10"},[_("span",{staticClass:"fr mt5 ln-15 ta-r fs-16 td-lt",class:1==(null===(l=f.currentPaymentType)||void 0===l?void 0:l.pym_isk_tip)?"txt-white":""},[f._v("\n                    "+f._s(1==(null===(n=f.currentPaymentType)||void 0===n?void 0:n.pym_isk_tip)?"0":f.$currencyFormat(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)+f.calcKnKcCargoPrice,f.currency))+"\n                  ")]),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),_("span",{staticClass:"fr ln-30 ta-r fs-24 fw-6 txt-info"},[f._v("\n                    "+f._s(f.$currencyFormat(f.calcBasketTotal(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)+f.calcKnKcCargoPrice-parseFloat(f.promosyonData.discountAmount)),f.currency))+"\n                  ")])]):0==(null===(c=f.currentPaymentType)||void 0===c?void 0:c.pym_isk_tip)&&f.currentPaymentType.pym_isk>0?_("span",{staticClass:"h50 fr mr10"},[_("span",{staticClass:"fr mt5 ln-15 ta-r fs-16 td-lt"},[f._v("\n                    "+f._s(f.$currencyFormat(parseFloat(f.basketData.borctl,f.currency)+parseFloat(f.cargoPrice)))+"\n                  ")]),f._v(" "),_("div",{staticClass:"clr"}),f._v(" "),_("span",{staticClass:"fr ln-30 ta-r fs-24 fw-6 txt-info"},[f._v("\n                    "+f._s(f.$currencyFormat(f.calcBasketTotal(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)),f.currency))+"\n                  ")])]):_("span",{staticClass:"h50 fr mr10 ta-or fs-20 fw-6"},[f._v("\n                  "+f._s(f.$currencyFormat(f.calcBasketTotal(parseFloat(null!=f.basketData?f.basketData.borctl:0)+parseFloat(f.cargoPrice)+f.calcKnKcCargoPrice),f.currency))+"\n                ")]),f._v(" "),_("span",{staticClass:"fr ln-42 fs-18",class:f.firmSetting.b2bShowPromosyon&&f.promosyonData||0==(null===(d=f.currentPaymentType)||void 0===d?void 0:d.pym_isk_tip)&&f.currentPaymentType.pym_isk>0?"mt15":"mt5"},[f._v(f._s(f.getPriceCode()))])],1)],1)],2)],1):f._e()]),f._v(" "),f.resultShow?_("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[_("div",{staticClass:"ItemShadow ww fl pt15 pb30 px15 pos-r bg-white"},[_("el-result",{attrs:{icon:f.resultIcon,title:f.resultTitle}},[_("div",{staticClass:"ww fl",attrs:{slot:"subTitle"},domProps:{innerHTML:f._s(f.resultMessage)},slot:"subTitle"}),f._v(" "),"success"==f.resultIcon?_("template",{slot:"extra"},[_("div",{staticClass:"ww fl"},[_("div",{staticClass:"ww fl my15 ta-o"},[_("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[_("div",{staticClass:"rowLoaderBar"})])]),f._v(" "),_("span",{staticClass:"ww fl ta-c"},[f._v("\n                  "+f._s(f.$t("please_wait"))+"\n                ")])])]):f._e()],2)],1)]):f._e()]),f._v(" "),f.paymentDetailShow?_("main",[_("orderResult",{attrs:{orderForm:f.orderForm,paymentDetails:f.paymentDetails,customerInfo:f.customerInfo,currentBank:f.currentBank,odemeMesaj:f.odemeMesaj,everyItemIsEbook:f.everyItemIsEbook}})],1):f._e(),f._v(" "),null!=f.customerInfo?[f.isNotAddress?_("el-dialog",{attrs:{title:(1==f.adressStatus?f.$t("delivery"):f.$t("bill"))+(0==f.customerInfo.shc_adresid?" "+f.$t("ve")+" "+f.$t("delivery"):"")+" "+f.$t("address"),"close-on-click-modal":!f.customerInfoIsChangeByUser,"close-on-press-escape":!f.customerInfoIsChangeByUser,"show-close":!1,visible:f.dialogFormVisible},on:{"update:visible":function(t){f.dialogFormVisible=t}}},[_("el-form",{ref:"modalForm",attrs:{model:f.customerInfo,rules:f.modalRules,"label-position":"top"}},[0==f.adressStatus?_("el-row",{attrs:{gutter:20}},[null!=f.customerInfo&&"1"==f.customerInfo.b2b_token_login?_("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[_("el-form-item",{attrs:{label:f.$t("name")+(f.firmSetting.b2bShowVergiInputs?"-":" ")+f.$t("surname")+(f.firmSetting.b2bShowVergiInputs?"/"+f.$t("Firma"):""),prop:"firma"}},[_("el-input",{staticClass:"ww fl",attrs:{disabled:!f.isGuestLogin,placeholder:f.$t("name")+(f.firmSetting.b2bShowVergiInputs?"-":" ")+f.$t("surname")+(f.firmSetting.b2bShowVergiInputs?"/"+f.$t("Firma"):"")},model:{value:f.customerInfo.firma,callback:function(t){f.$set(f.customerInfo,"firma",t)},expression:"customerInfo.firma"}})],1),f._v(" "),_("el-row",{attrs:{gutter:15}},[_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("phoneNumberInput",{attrs:{label:f.$t("Cep Telefonu"),prop:"ceptel",modelValue:f.customerInfo.ceptel,phoneCodeValue:Number(f.customerInfo.ceptel_kod),disabled:!f.isGuestLogin,required:!0}
1,on:{"updated-phoneNumber":f.handleUpdateCeptel}})],1)]),f._v(" "),_("el-col",{attrs:{lg:12,sm:12,xs:24}},[_("div",{staticClass:"ww fl"},[_("el-form-item",{attrs:{label:f.$t("email"),prop:"eposta"}},[_("el-input",{staticClass:"ww fl",attrs:{disabled:!f.isGuestLogin,placeholder:f.$t("email")},model:{value:f.customerInfo.eposta,callback:function(t){f.$set(f.customerInfo,"eposta",t)},expression:"customerInfo.eposta"}})],1)],1)])],1)],1):_("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[_("el-form-item",{attrs:{label:f.$t("name")+(f.firmSetting.b2bShowVergiInputs?"-":" ")+f.$t("surname"),prop:"firma"}},[_("el-input",{staticClass:"ww fl",attrs:{disabled:!0,value:f.customerInfo.firma}})],1)],1),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("country"),prop:"ulke_id"}},[_("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":f.$t("no_data"),placeholder:f.$t("country"),loading:f.countryListLoading},on:{change:f.changeCountryId},model:{value:f.customerInfo.ulke_id,callback:function(t){f.$set(f.customerInfo,"ulke_id",t)},expression:"customerInfo.ulke_id"}},f._l(f.countryList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cnt_name,value:t.id}})}),1)],1)],1),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("city"),prop:2==f.customerInfo.ulke_id?"il_id":"il",rules:f.requiredInputRule}},[2==f.customerInfo.ulke_id?_("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":f.$t("no_data"),"filter-method":f.CityFilter,loading:f.cityListLoading},on:{change:f.changeCityId},model:{value:f.customerInfo.il_id,callback:function(t){f.$set(f.customerInfo,"il_id",t)},expression:"customerInfo.il_id"}},f._l(f.cityList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cty_name,value:t.id}})}),1):_("el-input",{attrs:{placeholder:f.$t("city")},model:{value:f.customerInfo.il,callback:function(t){f.$set(f.customerInfo,"il",t)},expression:"customerInfo.il"}})],1)],1),f._v(" "),2==f.customerInfo.ulke_id?_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("district"),prop:"ilce_id",rules:f.requiredInputRule}},[_("el-select",{staticClass:"ww fl",attrs:{disabled:!f.customerInfo.il_id,filterable:"","no-data-text":f.$t("no_data"),"filter-method":f.TownFilter,loading:f.districtListLoading},on:{change:f.changeDistrictId},model:{value:f.customerInfo.ilce_id,callback:function(t){f.$set(f.customerInfo,"ilce_id",t)},expression:"customerInfo.ilce_id"}},f._l(f.townList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cny_name,value:t.id}})}),1)],1)],1):f._e(),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("zip_code")}},[_("el-input",{attrs:{placeholder:f.$t("zip_code"),onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:f.customerInfo.pkod,callback:function(t){f.$set(f.customerInfo,"pkod",t)},expression:"customerInfo.pkod"}})],1)],1),f._v(" "),_("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[_("el-form-item",{attrs:{label:f.$t("address"),prop:"adres"}},[_("el-input",{attrs:{placeholder:f.$t("address")},model:{value:f.customerInfo.adres,callback:function(t){f.$set(f.customerInfo,"adres",t)},expression:"customerInfo.adres"}})],1)],1),f._v(" "),f.firmSetting.b2bShowVergiInputs?_("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[_("el-row",{attrs:{gutter:20}},[null!==(m=f.firmSetting)&&void 0!==m&&m.b2bShowVergiDaire?f._e():_("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[_("el-form-item",{attrs:{label:f.$t("tax_office"),prop:"vdaire",rules:!f.firmSetting.b2bShowVergiInputsRequired||null!==(h=f.firmSetting)&&void 0!==h&&h.b2bShowVergiDaire?{}:f.requiredInputRule}},[_("el-input",{attrs:{placeholder:f.$t("tax_office")},model:{value:f.customerInfo.vdaire,callback:function(t){f.$set(f.customerInfo,"vdaire",t)},expression:"customerInfo.vdaire"}}),f._v(" "),_("template",{slot:"label"},[_("span",[f._v(f._s(f.$t("tax_office")))]),f._v(" "),_("el-tooltip",{attrs:{effect:"dark",content:f.langObj["Vergi Dairesi Bilgilendirme"],placement:"top"}},[_("i",{staticClass:"el-icon-info fs-14"})])],1)],2)],1),f._v(" "),_("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[_("el-form-item",{attrs:{label:f.$t("TCKN")+"/"+f.$t("tax_number"),prop:"vergino",rules:f.firmSetting.b2bShowVergiInputsRequired?f.requiredVergiNoRule:{}}},[_("el-input",{attrs:{type:"text",placeholder:f.$t("tax_number"),maxlength:"11","show-word-limit":""},model:{value:f.customerInfo.vergino,callback:function(t){f.$set(f.customerInfo,"vergino",t)},expression:"customerInfo.vergino"}}),f._v(" "),_("template",{slot:"label"},[_("span",[f._v(f._s(f.$t("TCKN")+"/"+f.$t("tax_number")))]),f._v(" "),_("el-tooltip",{attrs:{effect:"dark",content:f.langObj["Vergi No Bilgilendirme"],placement:"top"}},[_("i",{staticClass:"el-icon-info fs-14"})])],1)],2)],1)],1)],1):f._e()],1):f._e(),f._v(" "),1==f.adressStatus?_("el-form",{ref:"shcModalForm",attrs:{model:f.customerInfo,rules:f.shcModalRules}},[_("el-row",{attrs:{gutter:20}},[_("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[_("el-form-item",{attrs:{label:f.$t("name")+(f.firmSetting.b2bShowVergiInputs?"-":" ")+f.$t("surname")+(f.firmSetting.b2bShowVergiInputs?"/"+f.$t("Firma"):""),prop:"shc_firma"}},[_("el-input",{attrs:{placeholder:f.$t("name")+(f.firmSetting.b2bShowVergiInputs?"-":" ")+f.$t("surname")+(f.firmSetting.b2bShowVergiInputs?"/"+f.$t("Firma"):"")},model:{value:f.customerInfo.shc_firma,callback:function(t){f.$set(f.customerInfo,"shc_firma",t)},expression:"customerInfo.shc_firma"}})],1)],1),f._v(" "),_("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[_("el-row",{attrs:{gutter:15}},[_("el-col",{attrs:{lg:24,sm:24,xs:24}},[_("div",{staticClass:"ww fl"},[_("phoneNumberInput",{attrs:{label:f.$t("Cep Telefonu"),prop:"shc_ceptel",modelValue:f.customerInfo.shc_ceptel,phoneCodeValue:Number(f.customerInfo.ceptel_kod),required:!0},on:{"updated-phoneNumber":f.handleUpdateShcCeptel}})],1)])],1)],1),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("country"),prop:"shc_ulke_id"}},[_("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":f.$t("no_data"),placeholder:f.$t("country"),loading:f.countryListLoading},on:{change:f.changeCountryIdSevk},model:{value:f.customerInfo.shc_ulke_id,callback:function(t){f.$set(f.customerInfo,"shc_ulke_id",t)},expression:"customerInfo.shc_ulke_id"}}
1,f._l(f.shc_countryList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cnt_name,value:t.id}})}),1)],1)],1),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("city"),prop:2==f.customerInfo.shc_ulke_id?"shc_il_id":"shc_il",rules:f.requiredInputRule}},[2==f.customerInfo.shc_ulke_id?_("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":f.$t("no_data"),"filter-method":f.CityFilterSevk,placeholder:f.$t("city"),loading:f.shcCityListLoading},on:{change:f.changeCityIdSevk},model:{value:f.customerInfo.shc_il_id,callback:function(t){f.$set(f.customerInfo,"shc_il_id",t)},expression:"customerInfo.shc_il_id"}},f._l(f.shc_cityList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cty_name,value:t.id}})}),1):_("el-input",{attrs:{placeholder:f.$t("city")},model:{value:f.customerInfo.shc_il,callback:function(t){f.$set(f.customerInfo,"shc_il",t)},expression:"customerInfo.shc_il"}})],1)],1),f._v(" "),2==f.customerInfo.shc_ulke_id?_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("district"),prop:"shc_ilce_id",rules:f.requiredInputRule}},[_("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":f.$t("no_data"),"filter-method":f.TownFilterSevk,placeholder:f.$t("district"),loading:f.shcDistrictListLoading},on:{change:f.changeDistrictIdSevk},model:{value:f.customerInfo.shc_ilce_id,callback:function(t){f.$set(f.customerInfo,"shc_ilce_id",t)},expression:"customerInfo.shc_ilce_id"}},f._l(f.shc_townList,function(t){return _("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cny_name,value:t.id}})}),1)],1)],1):f._e(),f._v(" "),_("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[_("el-form-item",{attrs:{label:f.$t("zip_code")}},[_("el-input",{attrs:{placeholder:f.$t("zip_code")},model:{value:f.customerInfo.shc_pkod,callback:function(t){f.$set(f.customerInfo,"shc_pkod",t)},expression:"customerInfo.shc_pkod"}})],1)],1),f._v(" "),_("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[_("el-form-item",{attrs:{label:f.$t("address"),prop:"shc_adres"}},[_("el-input",{attrs:{placeholder:f.$t("address")},model:{value:f.customerInfo.shc_adres,callback:function(t){f.$set(f.customerInfo,"shc_adres",t)},expression:"customerInfo.shc_adres"}})],1)],1)],1)],1):f._e()],1),f._v(" "),_("div",{staticClass:"dialog-footer",class:f.$device.isMobile&&f.isGuestLogin?"dp-f flex-wrap gap10":"",attrs:{slot:"footer"},slot:"footer"},[!f.isGuestLogin&&f.isCloseModal&&f.customerInfoIsChangeByUser?_("el-popconfirm",{attrs:{"confirm-button-text":f.$t("Evet"),"cancel-button-text":f.$t("Hayır"),icon:"el-icon-info","icon-color":"red",title:f.$t("Tüm girdiğiniz verileri silmek üzeresiniz")+" "+f.$t("isleme_devam_edilsin_mi")},on:{confirm:function(t){f.dialogFormVisible=!1,f.getCustomerInfo(!0)}}},[_("el-button",{staticClass:"fl",attrs:{slot:"reference",type:"danger",size:f.$device.isMobile?"mini":"",plain:""},slot:"reference"},[f._v(f._s(f.$t("İptal")))])],1):!f.isCloseModal||f.customerInfoIsChangeByUser&&f.isGuestLogin?f._e():_("el-button",{staticClass:"fl mr10",attrs:{type:"danger",plain:"",size:f.$device.isMobile?"mini":""},on:{click:function(t){f.dialogFormVisible=!1}}},[f._v(f._s(f.$t("İptal")))]),f._v(" "),f.isGuestLogin?[_("nuxt-link",{class:f.$device.isMobile?"customMobileFlexOne":"fl mr10",attrs:{to:f.localePath("/")}},[_("el-button",{attrs:{size:f.$device.isMobile?"mini":""}},[f._v(f._s(f.$t("Alışverişe Devam Et")))])],1),f._v(" "),_("nuxt-link",{class:f.$device.isMobile?"customMobileFlexOne":"fl mr10",attrs:{to:f.localePath("/sepet")}},[_("el-button",{attrs:{size:f.$device.isMobile?"mini":""}},[f._v(f._s(f.$t("Sepete Dön")))])],1)]:f._e(),f._v(" "),null!=f.customerInfo&&"0"==f.customerInfo.b2b_token_login?_("nuxt-link",{class:f.$device.isMobile?"customMobileFlexOne":"mr10",attrs:{to:f.localePath("/uye/profil")}},[_("el-button",{attrs:{size:f.$device.isMobile?"mini":""}},[f._v(f._s(f.$t("Bilgilerim")))])],1):f._e(),f._v(" "),null!=f.customerInfo&&0==f.adressStatus?[_("el-button",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:f.dialogFormLoading,expression:"dialogFormLoading",modifiers:{fullscreen:!0,lock:!0}}],class:f.$device.isMobile&&f.isGuestLogin?"customMobileFullWidth":"",attrs:{type:"primary",size:f.$device.isMobile?"mini":""},on:{click:function(t){return f.billFormRules(!0)}}},[f._v(f._s(f.$t("Tamam")))])]:null!=f.customerInfo&&1==f.adressStatus?[_("el-button",{directives:[{name:"loading",rawName:"v-loading.fullscreen.lock",value:f.dialogFormLoading,expression:"dialogFormLoading",modifiers:{fullscreen:!0,lock:!0}}],class:f.$device.isMobile&&f.isGuestLogin?"customMobileFullWidth":"",attrs:{type:"primary",size:f.$device.isMobile?"mini":""},on:{click:f.deliveryFormRules}},[f._v(f._s(f.$t("Tamam")))])]:f._e()],2)],1):f._e()]:f._e(),f._v(" "),_("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:f.agreeDetailTitle,size:(f.$device.isMobile?100:50)+"%",visible:f.kvkkModal},on:{"update:visible":function(t){f.kvkkModal=t}}},[_("div",{staticClass:"ww fl px15",domProps:{innerHTML:f._s(f.agreeDetail)}})])],2):f._e()},[],!1,null,"50e60909",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o={components:{headerWrap:header.default,footerWrap:footer.default},data(){var t=(t,e,r)=>{""===this.updatePassword.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.updatePassword.passwordConfirm!==this.updatePassword.newPass?r(ne
1w Error(this.$t("those_passwords_didnt_match_try_again"))):r()};return{deleteUserLoading:!1,deleteUserShow:!1,deleteUserShowPassword:!1,deleteUserCheck:"",deleteUserText:"",deleteUserPassword:"",deleteUserRadioList:[this.$t("İhtiyacım yok"),this.$t("Başka bir hesabım var"),this.$t("Kampanya/İndirimleri yetersiz buluyorum"),this.$t("Belirtmek istemiyorum"),this.$t("Hesap güvenliği ile ilgili endişeler"),this.$t("Gizlilik ile ilgili endişeler"),this.$t("Diğer")],isGuestLogin:this.$cookies.get("isGuestLogin")||null,appMode:this.$store.state.firmAppMode||0,getUserCartType:this.$store.state.firmUserCartType||"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,sendMode:this.$store.state.firmSmsSendStatus||"0",activeName:"genel",buttonLoading:!1,formType:0,mailUpdateVisible:!1,updateMail:null,updateMailMessage:null,updateLoad:!1,phoneUpdateVisible:!1,updatePhone:null,updatePhoneMessage:null,updatePhoneLoad:!1,newPasswordVisible:!1,newPasswordMessage:null,newPasswordLoad:!1,sinifList:[],kartTipList:[],firmName:"",formData:{ulke_id:"",il_id:"",ilce_id:"",adres:"",pkod:"",vdaire:"",vergino:"",shc_adresid:"",shc_firma:"",shc_adres:"",shc_ulke_id:"",shc_il_id:"",shc_ilce_id:"",shc_ceptel:"",shc_tel:"",shc_fax:"",shc_pkod:"",fr_classid:null,dogumtar:null,ext_evlilik_tar:null,intgender:null,karttipi:"",intrelskod:""},updatePassword:{currentPass:null,newPass:null,passwordConfirm:null},infoList:null,countryListLoading:!1,cityListLoading:!1,districtListLoading:!1,shcCityListLoading:!1,shcDistrictListLoading:!1,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],shc_countryList:[],shc_cityList:[],shc_cityListTemp:[],shc_townList:[],shc_townListTemp:[],finalModel:{},requiredInputRule:{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"},rulesBillForm:{ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],adres:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateAdres,trigger:"blur"}]},rulesDeliveryForm:{shc_firma:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],shc_ceptel:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"}],shc_ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],shc_adres:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{validator:this.validateAdres,trigger:"blur"}]},rulesPass:{currentPass:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],newPass:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],passwordConfirm:[{validator:t,trigger:"blur"}]},rules:{firma:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],password:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],password_confirmation:[{validator:t,trigger:"blur"}]}}},created(){"1"==this.isGuestLogin?this.$router.push(this.localePath("/")):(this.getInfo(),this.get
1Sinif(),this.getKartTip(),this.getSirketDefault())},methods:{getInfo(){this.$apis.get("api/user/myprofile").then(t=>{var data=t.data.KiboApp.Response.data;this.formData=data,this.infoList=data,this.updateMail=data.eposta,this.updatePhone=data.ceptel,this.getAddress()}).catch(t=>{})},deleteUser_close(){this.deleteUserShow=!1,this.deleteUserLoading=!1,this.deleteUserShowPassword=!1,this.deleteUserCheck="",this.deleteUserText="",this.deleteUserPassword=""},deleteUser_action(){if(this.deleteUserShowPassword){this.deleteUserLoading=!0;var t=6==this.deleteUserCheck?this.deleteUserText:this.deleteUserRadioList[this.deleteUserCheck];this.deleteUser_send(this.deleteUserPassword,t)}else this.deleteUserShowPassword=!0,this.deleteUserLoading=!1},deleteUser_send(t,e){this.$apis.post("api/user/accountDelete",{password:t,description:e}).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$cookies.remove("web_login_access_token",{path:"/"}),this.$cookies.remove("b2bUserInfo",{path:"/"}),this.$cookies.remove("userId",{path:"/"}),this.$cookies.remove("userName",{path:"/"}),this.$cookies.remove("userSurname",{path:"/"}),this.$cookies.remove("basketCount",{path:"/"}),setTimeout(()=>{window.location=this.localePath("/")},200)}).catch(t=>{this.deleteUserLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getUpdateMail(){this.updateLoad=!0,this.$apis.post("api/user/sendConfirmationMail",{eposta:this.updateMail}).then(t=>{this.updateMailMessage=t.data.KiboApp.Response.kiboMessage,this.updateLoad=!1,setTimeout(()=>{this.mailUpdateVisible=!1,this.updateMailMessage=null,this.updateMail=null},3e3)}).catch(t=>{this.updateLoad=!1,this.updateMailMessage=t.response.data.KiboApp.Response.kiboMessage,setTimeout(()=>{this.updateMailMessage=null},3e3)})},getUpdatePhone(){this.updatePhoneLoad=!0,this.$apis.post("api/user/sendConfirmationSms",{ceptel:this.updatePhone}).then(t=>{this.updatePhoneMessage=t.data.KiboApp.Response.kiboMessage,this.updatePhoneLoad=!1,setTimeout(()=>{this.phoneUpdateVisible=!1,this.updatePhoneMessage=null,this.updatePhone=null,this.$router.push("/auth/smsActivation")},1e3)}).catch(t=>{this.updatePhoneLoad=!1,this.updatePhoneMessage=t.response.data.KiboApp.Response.kiboMessage,setTimeout(()=>{this.updatePhoneMessage=null},3e3)})},getUpdatePass(){console.log("getUpdatePass"),this.newPasswordLoad=!0,this.$apis.put("api/user/updatePassword",{oldpassword:this.updatePassword.currentPass,password1:this.updatePassword.newPass,password2:this.updatePassword.passwordConfirm}).then(t=>{console.log(t.data.KiboApp.Response.kiboMessage),this.newPasswordMessage=t.data.KiboApp.Response.kiboMessage,this.newPasswordLoad=!1,setTimeout(()=>{this.newPasswordVisible=!1,this.newPasswordMessage=null,this.updatePassword.currentPass=null,this.updatePassword.newPass=null,this.updatePassword.passwordConfirm=null},2e3)}).catch(t=>{this.newPasswordLoad=!1,this.newPasswordMessage=t.response.data.KiboApp.Response.kiboMessage,setTimeout(()=>{this.newPasswordMessage=null},2e3)})},getCountry(t){this.countryListLoading=!0,this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.countryList=t.data.KiboApp.Response.data.list,this.shc_countryList=[...t.data.KiboApp.Response.data.list],this.countryListLoading=!1}).catch(()=>{})},getCity(t){this.cityListLoading=!0;for(var i=0;i<this.countryList.length;i++)if(this.countryList[i].id==this.formData.ulke_id){this.formData.ulke=this.countryList[i].cnt_name;break}2==t&&this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list,this.cityListLoading=!1,this.formData.il_id&&this.getTown(this.formData.il_id)}).catch(()=>{this.cityList=[],this.cityListTemp=[],this.townList=[],this.townListTemp=[],this.formData.il="",this.formData.ilce="",this.cityListLoading=!1})},getTown(t){this.districtListLoading=!0,t>0&&this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.districtListLoading=!1}
1).catch(()=>{this.districtListLoading=!1})},changeCountryId(t){this.formData.il=null,this.formData.il_id=null,this.formData.ilce=null,this.formData.ilce_id=null,2==t&&this.getCity(t)},changeCityId(t){if(t){console.log(this.cityListTemp),this.townList=[],this.formData.ilce_id=null,this.formData.ilce=null;for(var i=0;i<this.cityList.length;i++)if(this.cityList[i].id==t){this.formData.il=this.cityList[i].cty_name;break}this.getTown(t),setTimeout(()=>{this.cityList=this.cityListTemp},500)}},changeDistrictId(t){for(var i=0;i<this.townList.length;i++)this.townList[i].id==t&&(this.formData.ilce=this.townList[i].cny_name);setTimeout(()=>{this.townList=this.townListTemp},500)},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getCitySevk(t){this.shcCityListLoading=!0;for(var i=0;i<this.shc_countryList.length;i++)if(this.shc_countryList[i].id==t){this.formData.shc_ulke=this.shc_countryList[i].cnt_name;break}2==t&&this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.shc_cityList=t.data.KiboApp.Response.data.list,this.shc_cityListTemp=t.data.KiboApp.Response.data.list,this.shcCityListLoading=!1,this.formData.shc_il_id&&this.getTownSevk(this.formData.shc_il_id)}).catch(()=>{this.shc_cityList=[],this.shc_cityListTemp=[],this.shc_townList=[],this.shc_townListTemp=[],this.formData.shc_il="",this.formData.shc_ilce="",this.shcCityListLoading=!1})},getTownSevk(t){this.shcDistrictListLoading=!0,t>0&&this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list,this.shcDistrictListLoading=!1}).catch(()=>{this.shcDistrictListLoading=!1})},changeCountryIdSevk(t){this.formData.shc_il=null,this.formData.shc_il_id=null,this.formData.shc_ilce=null,this.formData.shc_ilce_id=null,2==t&&this.getCitySevk(t)},changeCityIdSevk(t){if(t){this.shc_townList=[],this.formData.shc_ilce_id=null,this.formData.shc_ilce=null;for(var i=0;i<this.shc_cityList.length;i++)if(this.shc_cityList[i].id==t){this.formData.shc_il=this.shc_cityList[i].cty_name;break}this.getTownSevk(t),setTimeout(()=>{this.shc_cityList=this.shc_cityListTemp},500)}},changeDistrictIdSevk(t){for(var i=0;i<this.shc_townList.length;i++)this.shc_townList[i].id==t&&(this.formData.shc_ilce=this.shc_townList[i].cny_name);setTimeout(()=>{this.shc_townList=this.shc_townListTemp},500)},CityFilterSevk(t){t&&(this.shc_cityList=this.shc_cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilterSevk(t){t&&(this.shc_townList=this.shc_townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getAddress(){this.getCountry(""),2==this.formData.ulke_id&&this.getCity(this.formData.ulke_id),"1"==this.formData.shc_adresid&&2==this.formData.shc_ulke_id&&this.getCitySevk(this.formData.shc_ulke_id)},getSirketDefault(){this.firmSetting&&this.$apis.get("api/merchant/corp/list?id="+this.firmSetting.b2bDefaultFirm+"&eposta&limit=1000&page=1").then(t=>{var data=t.data.KiboApp.Response.data.list[0];console.log(data),this.formData.intrelskod=data.id,this.firmName=data.firma}).catch(t=>{})},getSirketAuto(t,e){this.$apis.get("api/merchant/corp/list?id=&ckod=&firma="+t+"&eposta&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(t=>{console.log(t)})},handleSirketAutoSelect(t){if(!t)return this.formData.intrelskod="",this.firmName="",!1;this.formData.intrelskod=t.id,this.firmName=t.firma},getSinif(){this.$apis.get("api/merchant/definition/list?groupnum=2&limit=1000&page=1").then(t=>{this.sinifList=t.data.KiboApp.Response.data.list}).catch(t=>{this.sinifList=[]})},getKartTip(){this.$apis.get("api/merchant/definition/list?groupnum=1&limit=1000&page=1").then(t=>{this.kartTipList=t.data.KiboApp.Response.data.list,t.data.KiboApp.Response.data.list.map(t=>{t.id==this.getUserCartType&&(this.formData.karttipi=t.id)})}).catch(t=>{this.kartTipList=[]})},changeSevk(t){1===t&&(this.shc_cityList=this.cityList,this.shc_townList=this.townList,this.shc_cityListTemp=this.cityListTemp,this.shc_townListTemp=this.townListTemp,this.formData.shc_ulke=this.formData.ulke,this.formData.shc_ulke_id=this.formData.ulke_id,this.formData.shc_il=this.formData.il,this.formData.shc_il_id=this.formData.il_id,this.formData.shc_ilce=this.formData.ilce,this.formData.shc_ilce_id=this.formData.ilce_id,this.formData.shc_adres=this.formData.adres,this.formData.shc_pkod=this.formData.pkod,this.activeName="shipment")},validate(t){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})},validateAdres(t,e,r){e.length<3?r(new Error(this.$t("must_be_digit",{val:3}))):r()},billFormRules(t){var e,r=!1;if(0==this.formData.il_id&&(this.formData.il_id=null,this.formData.ilce_id=null),0==this.formData.ilce_id&&(this.formData.ilce_id=null),this.formData.firma&&this.formData.ceptel&&this.formData.ulke_id&&(null===(e=this.formData.adres)||void 0===e?void 0:e.length)>3){var o;if(2==this.formData.ulke_id&&this.formData.il_id&&this.formData.ilce_id)(r=!(null===(o=this.townList)||void 0===o||!o.find(t=>
1t.id==this.formData.ilce_id)))||(this.formData.ilce=null,this.formData.ilce_id=null);2!=this.formData.ulke_id&&this.formData.il&&(r=!0)}return r||(this.activeName="address",setTimeout(()=>{this.$refs.billForm.validate(t=>!1)},500),!1)},deliveryFormRules(t){var e;if(!this.$refs.deliveryForm)return!0;var r=!1;if(0==this.formData.shc_il_id&&(this.formData.shc_il_id=null,this.formData.shc_ilce_id=null),0==this.formData.shc_ilce_id&&(this.formData.shc_ilce_id=null),this.formData.shc_firma&&this.formData.shc_ceptel&&this.formData.shc_ulke_id&&(null===(e=this.formData.shc_adres)||void 0===e?void 0:e.length)>3){var o;if(2==this.formData.shc_ulke_id&&this.formData.shc_il_id&&this.formData.shc_ilce_id)(r=!(null===(o=this.shc_townList)||void 0===o||!o.find(t=>t.id==this.formData.shc_ilce_id)))||(this.formData.shc_ilce=null,this.formData.shc_ilce_id=null);2!=this.formData.shc_ulke_id&&this.formData.shc_il&&(r=!0)}return r||(this.activeName="shipment",setTimeout(()=>{this.$refs.deliveryForm.validate(t=>!1)},500),!1)},submitForm(){if(!this.billFormRules())return!1;if(!this.deliveryFormRules())return!1;var t=Object.assign({},this.formData);t.ilce="",t.shc_ilce="",2==t.ulke_id?t.il="":(t.il_id=0,t.ilce_id=0),2==t.shc_ulke_id?t.shc_il="":(t.shc_il_id=0,t.shc_ilce_id=0),this.buttonLoading=!0,this.$apis.put("api/user/myprofile",t).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.buttonLoading=!1}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.buttonLoading=!1})}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Bilgilerim")}}},l=(r(523),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Bilgilerim")))])],1)],1)])]),t._v(" "),"1"!=t.isGuestLogin?e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau mb30 px10"},[null!=t.infoList?e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-tabs",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:t.$t("Genel"),name:"genel"}},[e("el-alert",{attrs:{type:"info",closable:!1}},[e("span",{staticClass:"fl"},[t._v(t._s(t.$t("contact_to_update_your_information")))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("span",{staticClass:"fl fw-b"},[t._v(t._s(t.firmSetting.b2bMail||""))])]),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.firmSetting.b2bShowVergiInputs?t.$t("name")+"-"+t.$t("surname")+"/"+t.$t("Firma"):t.$t("firm")+"/"+t.$t("person")}},[e("el-input",{attrs:{placeholder:t.$t("firm")+"/"+t.$t("person"),readonly:""},model:{value:t.infoList.firma,callback:function(e){t.$set(t.infoList,"firma",e)},expression:"infoList.firma"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email")}},[e("div",{staticClass:"ww fl pos-r"},[e("el-input",{attrs:{placeholder:"[email protected]",readonly:"","suffix-icon":"el-icon-success"+(1==t.infoList.ext_mail_aktif?" txt-info":"")},model:{value:t.infoList.eposta,callback:function(e){t.$set(t.infoList,"eposta",e)},expression:"infoList.eposta"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-refresh fs-20"},on:{click:function(e){t.mailUpdateVisible=!0}},slot:"append"})],1)],1)])],1),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:24}},[e("el-button",{staticClass:"ww h40 fl mt30 ta-o",attrs:{type:"info"},on:{click:function(e){t.newPasswordVisible=!0}}},[t._v(t._s(t.$t("new_password")))])],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Cep Telefonu")}},[e("div",{class:"ww fl pos-r"+("1"==t.sendMode?" pr50":"")},[e("el-input",{attrs:{placeholder:"(###) ### ## ##",readonly:"","suffix-icon":"el-icon-success"+(1==t.infoList.ext_ceptel_aktif?" txt-info":"")},model:{value:t.infoList.ceptel,callback:function(e){t.$set(t.infoList,"ceptel",e)},expression:"infoList.ceptel"}},[1==t.sendMode?e("el-button",{attrs:{slot:"append",type:"info",icon:"el-icon-refresh fs-20"},on:{click:function(e){t.phoneUpdateVisible=!0}},slot:"append"}):t._e()],1),t._v(" "),"1"==t.sendMode&&1!=t.infoList.ext_ceptel_aktif?e("div",{staticClass:"pos-a w40 h40 ta-o rg-0 bt-0"},[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("verify_phone"),placement:"top"}},[e("nuxt-link",{attrs:{to:t.localePath("/auth/smsActivation")}},[e("el-button",{staticClass:"w40 h40 ta-o",attrs:{type:"info",icon:"el-icon-success fs-20"},on:{click:function(e){t.phoneUpdateVisible=!0}}})],1)],1)],1):t._e()],1)])],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("land_phone")}},[e("el-input",{attrs:{placeholder:"(###) ### ## ##",readonly:""},model:{value:t.infoList.tel,callback:function(e){t.$set(t.infoList,"tel",e)},expression:"infoList.tel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_office"),prop:"tax_office"}},[e("el-input",{attrs:{placeholder:t.$t("tax_office"),readonly:""},model:{value:t.formData.vdaire,callback:function(e){t.$set(t.formData,"vdaire",e)},expression:"formData.vdaire"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t(0==t.formType?"tax_number":"Kimlik No"),prop:"tax_number"}},[e("el-input",{attrs:{placeholder:t.$t("tax_number"),readonly:""},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),t.firmSetting.b2bShowBagliKurum&&t.formData.kurum?e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Kurum")+"/"+t.$t("Okul")}},[e("el-input",{attrs:{label:t.$t("Kurum")+"/"+t.$t("Okul"),readonly:""},model:{value:t.formData.kurum.firma,callback:function(e){t.$set(t.formData.kurum,"firma",e)},expression:"formData.kurum.firma"}})],1)],1):t._e(),t._v(" "),t.firmSetting.b2bShowClass&&t.formData.sinif?e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Sınıf")}},[e("el-input",{attrs:{label:t.$t("Sınıf"),readonly:""},model:{value:t.formData.sinif.tanimad,callback:function(e){t.$set(t.formData.sinif,"tanimad",e)},expression:"formData.sinif.tanimad"}})],1)],1):t._e()],1),t._v(" "),e("el-row",{staticClass:"mt20",attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-button",{staticClass:"fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}}
1,[t._v(t._s(t.$t("save")))])],1)],1)],1),t._v(" "),e("el-tab-pane",{attrs:{label:t.$t("bill")+" "+t.$t("Bilgilerim"),name:"address"}},[e("el-form",{ref:"billForm",attrs:{model:t.formData,rules:t.rulesBillForm}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),placeholder:t.$t("country"),loading:t.countryListLoading},on:{change:t.changeCountryId},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:2==t.formData.ulke_id?"il_id":"il",rules:t.requiredInputRule}},[2==t.formData.ulke_id?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),"filter-method":t.CityFilter,placeholder:t.$t("city"),loading:t.cityListLoading},on:{change:t.changeCityId},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},t._l(t.cityList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cty_name,value:t.id}})}),1):e("el-input",{attrs:{placeholder:t.$t("city")},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),2==t.formData.ulke_id?e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"ilce_id",rules:t.requiredInputRule}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),"filter-method":t.TownFilter,placeholder:t.$t("district"),loading:t.districtListLoading},on:{change:t.changeDistrictId},model:{value:t.formData.ilce_id,callback:function(e){t.$set(t.formData,"ilce_id",e)},expression:"formData.ilce_id"}},t._l(t.townList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cny_name,value:t.id}})}),1)],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{placeholder:t.$t("zip_code"),onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:18,md:18,sm:18,xs:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("different")+" "+t.$t("delivery")+" "+t.$t("address")}},[e("el-radio-group",{staticClass:"ww fl",on:{change:t.changeSevk},model:{value:t.formData.shc_adresid,callback:function(e){t.$set(t.formData,"shc_adresid",e)},expression:"formData.shc_adresid"}},[e("el-radio-button",{attrs:{label:0}},[t._v(t._s(t.$t("Hayır")))]),t._v(" "),e("el-radio-button",{attrs:{label:1}},[t._v(t._s(t.$t("Evet")))])],1)],1)],1)],1),t._v(" "),e("el-row",{staticClass:"mt20",attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-button",{staticClass:"fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}}
1,[t._v(t._s(t.$t("save")))])],1)],1)],1)],1),t._v(" "),1==t.formData.shc_adresid?e("el-tab-pane",{attrs:{label:t.$t("Teslimat Adresim"),name:"shipment"}},[e("el-form",{ref:"deliveryForm",attrs:{model:t.formData,rules:t.rulesDeliveryForm}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"shc_firma"}},[e("el-input",{attrs:{placeholder:t.$t("firm")+"/"+t.$t("person")},model:{value:t.formData.shc_firma,callback:function(e){t.$set(t.formData,"shc_firma",e)},expression:"formData.shc_firma"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Cep Telefonu"),prop:"shc_ceptel"}},[e("el-input",{attrs:{placeholder:"(###) ### ## ##"},model:{value:t.formData.shc_ceptel,callback:function(e){t.$set(t.formData,"shc_ceptel",e)},expression:"formData.shc_ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"shc_ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),placeholder:t.$t("country"),loading:t.shcCityListLoading},on:{change:t.changeCountryIdSevk},model:{value:t.formData.shc_ulke_id,callback:function(e){t.$set(t.formData,"shc_ulke_id",e)},expression:"formData.shc_ulke_id"}},t._l(t.shc_countryList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:2==t.formData.shc_ulke_id?"shc_il_id":"shc_il",rules:t.requiredInputRule}},[2==t.formData.shc_ulke_id?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),"filter-method":t.CityFilterSevk,placeholder:t.$t("city"),loading:t.shcCityListLoading},on:{change:t.changeCityIdSevk},model:{value:t.formData.shc_il_id,callback:function(e){t.$set(t.formData,"shc_il_id",e)},expression:"formData.shc_il_id"}},t._l(t.shc_cityList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cty_name,value:t.id}})}),1):e("el-input",{attrs:{placeholder:t.$t("city")},model:{value:t.formData.shc_il,callback:function(e){t.$set(t.formData,"shc_il",e)},expression:"formData.shc_il"}})],1)],1),t._v(" "),2==t.formData.shc_ulke_id?e("el-col",{attrs:{lg:4,md:4,sm:4,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"shc_ilce_id",rules:t.requiredInputRule}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"","no-data-text":t.$t("no_data"),"filter-method":t.TownFilterSevk,placeholder:t.$t("district"),loading:t.shcDistrictListLoading},on:{change:t.changeDistrictIdSevk},model:{value:t.formData.shc_ilce_id,callback:function(e){t.$set(t.formData,"shc_ilce_id",e)},expression:"formData.shc_ilce_id"}},t._l(t.shc_townList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"id",label:t.cny_name,value:t.id}})}),1)],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:4,md:4,sm:4,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{placeholder:t.$t("zip_code")},model:{value:t.formData.shc_pkod,callback:function(e){t.$set(t.formData,"shc_pkod",e)},expression:"formData.shc_pkod"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:2!=t.formData.shc_ulke_id?20:16,md:2!=t.formData.shc_ulke_id?20:16,sm:2!=t.formData.shc_ulke_id?20:16,xs:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"shc_adres"}},[e("el-input",{attrs:{placeholder:t.$t("address")},model:{value:t.formData.shc_adres,callback:function(e){t.$set(t.formData,"shc_adres",e)},expression:"formData.shc_adres"}})],1)],1)],1),t._v(" "),e("el-row",{staticClass:"mt20",attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-button",{staticClass:"fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}}
1,[t._v(t._s(t.$t("save")))])],1)],1)],1)],1):t._e(),t._v(" "),"2"==t.appMode?e("el-tab-pane",{attrs:{label:t.$t("Diğer"),name:"other"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+"/"+t.$t("school")}},[e("el-autocomplete",{staticClass:"ww fl",attrs:{clearable:"","fetch-suggestions":t.getSirketAuto,"value-key":"firma","trigger-on-focus":!1,placeholder:t.$t("firm")+"/"+t.$t("school")},on:{select:t.handleSirketAutoSelect,clear:t.handleSirketAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.firma))])]}}],null,!1,1962967988),model:{value:t.firmName,callback:function(e){t.firmName=e},expression:"firmName"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("class")}},[e("el-select",{staticClass:"ww fl",attrs:{"reserve-keyword":"",placeholder:t.$t("class")+" "+t.$t("Seç")},model:{value:t.formData.fr_classid,callback:function(e){t.$set(t.formData,"fr_classid",e)},expression:"formData.fr_classid"}},t._l(t.sinifList,function(t){return e("el-option",{key:t.id,attrs:{label:t.tanimad,value:t.id}})}),1)],1)],1),t._v(" "),t.kartTipList.length>0?e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Tip")}},[e("el-select",{staticClass:"ww fl",attrs:{"reserve-keyword":"",placeholder:t.$t("class")+" "+t.$t("Seç")},model:{value:t.formData.karttipi,callback:function(e){t.$set(t.formData,"karttipi",e)},expression:"formData.karttipi"}},t._l(t.kartTipList,function(t){return e("el-option",{key:t.id,attrs:{label:t.tanimad,value:t.id}})}),1)],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("born_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.dogumtar,callback:function(e){t.$set(t.formData,"dogumtar",e)},expression:"formData.dogumtar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("marriage_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.ext_evlilik_tar,callback:function(e){t.$set(t.formData,"ext_evlilik_tar",e)},expression:"formData.ext_evlilik_tar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("gender")}},[e("el-radio-group",{staticClass:"ww fl",model:{value:t.formData.intgender,callback:function(e){t.$set(t.formData,"intgender",e)},expression:"formData.intgender"}},[e("el-radio-button",{attrs:{label:"0"}},[t._v(t._s(t.$t("male")))]),t._v(" "),e("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("female")))])],1)],1)],1)],1),t._v(" "),e("el-row",{staticClass:"mt20",attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-button",{staticClass:"fl",attrs:{type:"primary",loading:t.buttonLoading},on:{click:t.submitForm}}
1,[t._v(t._s(t.$t("save")))])],1)],1)],1):t._e(),t._v(" "),e("el-tab-pane",{attrs:{label:t.$t("Hesabımı Sil"),name:"deleteUser"}},[e("div",{staticClass:"ww fl"},[e("el-alert",{attrs:{type:"error","show-icon":"",closable:!1}},[e("span",{staticClass:"ww fl mb5 txt-error fs-16 fw-b",attrs:{slot:"title"},slot:"title"},[t._v("\n                    "+t._s(t.$t("Üyeliğinizi İptal etmek istediğinize üzüldük"))+"\n                  ")]),t._v(" "),e("p",{staticClass:"ww fs-14"},[t._v("\n                    "+t._s(t.$t("Mevcut üyeliğiniz yeniden aktif hale getirilmeyecektir"))),e("br"),t._v("\n                    "+t._s(t.$t("Kayıtlı kuponlarınız ve puanlarınızı kaybedeceksiniz"))),e("br"),t._v("\n                    "+t._s(t.$t("Sipariş geçmişinizi görüntüleyemeceksiniz"))+"\n                  ")])])],1),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl mt15"},[e("el-popconfirm",{attrs:{title:t.$t("Hesabınız Silinsin Mi"),icon:"el-icon-delete","icon-color":"var(--error)","confirm-button-text":t.$t("Devam Et"),"cancel-button-text":t.$t("İptal")},on:{confirm:function(e){t.deleteUserShow=!0}}},[e("el-button",{attrs:{slot:"reference",type:"danger",plain:"",size:"small",icon:"el-icon-delete"},slot:"reference"},[t._v(t._s(t.$t("Hesabımı Sil")))])],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}})],1)],1)],1)],1):t._e()],1)]):t._e(),t._v(" "),e("footerWrap"),t._v(" "),e("el-dialog",{attrs:{title:t.$t("new_password"),visible:t.newPasswordVisible,width:"30%",center:""},on:{"update:visible":function(e){t.newPasswordVisible=e}}},[null!=t.newPasswordMessage?e("span",{staticClass:"ww fl"},[t._v(t._s(t.newPasswordMessage))]):[e("el-form",{ref:"updatePassword",attrs:{model:t.updatePassword,rules:t.rulesPass}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"currentPass"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",onfocus:"this.select();","show-password":""},model:{value:t.updatePassword.currentPass,callback:function(e){t.$set(t.updatePassword,"currentPass",e)},expression:"updatePassword.currentPass"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("new_password"),prop:"newPass"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",onfocus:"this.select();","show-password":""},model:{value:t.updatePassword.newPass,callback:function(e){t.$set(t.updatePassword,"newPass",e)},expression:"updatePassword.newPass"}})],1)],1),t._v(" "),e("el-col",{attrs:{span:24}},[e("el-form-item",{attrs:{label:t.$t("password")+" "+t.$t("confirm"),prop:"passwordConfirm"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",onfocus:"this.select();","show-password":""},model:{value:t.updatePassword.passwordConfirm,callback:function(e){t.$set(t.updatePassword,"passwordConfirm",e)},expression:"updatePassword.passwordConfirm"}})],1)],1)],1)],1)],t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[null==t.newPasswordMessage?e("el-button",{on:{click:function(e){t.newPasswordVisible=!1}}},[t._v(t._s(t.$t("İptal")))]):t._e(),t._v(" "),null==t.newPasswordMessage?e("el-button",{attrs:{loading:t.newPasswordLoad,type:"primary"},on:{click:function(e){return t.getUpdatePass()}}},[t._v(t._s(t.$t("save")))]):t._e()],1)],2),t._v(" "),e("el-dialog",{attrs:{title:t.$t("email")+" "+t.$t("update"),visible:t.mailUpdateVisible,width:"30%",center:""},on:{"update:visible":function(e){t.mailUpdateVisible=e}}},[null!=t.updateMailMessage?e("span",{staticClass:"ww fl ta-c"},[t._v(t._s(t.updateMailMessage))]):e("el-input",{attrs:{placeholder:"[email protected]",onfocus:"this.select();"},model:{value:t.updateMail,callback:function(e){t.updateMail=e},expression:"updateMail"}}),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[null==t.updateMailMessage?e("el-button",{on:{click:function(e){t.mailUpdateVisible=!1}}},[t._v(t._s(t.$t("İptal")))]):t._e(),t._v(" "),null==t.updateMailMessage?e("el-button",{attrs:{loading:t.updateLoad,type:"primary"},on:{click:function(e){return t.getUpdateMail()}}},[t._v(t._s(t.$t("save")))]):t._e()],1)],1),t._v(" "),e("el-dialog",{attrs:{title:t.$t("Cep Telefonu")+" "+t.$t("update"),visible:t.phoneUpdateVisible,width:"30%",center:""},on:{"update:visible":function(e){t.phoneUpdateVisible=e}}},[null!=t.updatePhoneMessage?e("span",{staticClass:"ww fl ta-c"},[t._v(t._s(t.updatePhoneMessage))]):e("el-input",{attrs:{placeholder:"5****",onfocus:"this.select();"},model:{value:t.updatePhone,callback:function(e){t.updatePhone=e},expression:"updatePhone"}}),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[null==t.updatePhoneMessage?e("el-button",{on:{click:function(e){t.phoneUpdateVisible=!1}}},[t._v(t._s(t.$t("İptal")))]):t._e(),t._v(" "),null==t.updatePhoneMessage?e("el-button",{attrs:{loading:t.updatePhoneLoad,type:"primary"},on:{click:t.getUpdatePhone}},[t._v(t._s(t.$t("save")))]):t._e()],1)],1),t._v(" "),e("el-dialog",{attrs:{title:t.$t("Hesabımı Sil"),"show-close":!1,"close-on-click-modal":!1,"close-on-press-escape":!1,visible:t.deleteUserShow,top:"5vh",width:"30%",center:"",close:t.deleteUser_close},on:{"update:visible":function(e){t.deleteUserShow=e}}},[t.deleteUserShowPassword?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.deleteUserLoading,expression:"deleteUserLoading"}],staticClass:"ww"},[e("span",{staticClass:"ww fl mb5"},[t._v(t._s(t.$t("password")))]),t._v(" "),e("el-input",{model:{value:t.deleteUserPassword,callback:function(e){t.deleteUserPassword=e},expression:"deleteUserPassword"}}),t._v(" "),e("div",{staticClass:"ww fl mb10"})],1):e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.deleteUserLoading,expression:"deleteUserLoading"}],staticClass:"ww"},[e("span",{staticClass:"ww fl mb15 txt-error fs-14 fw-b"},[t._v(t._s(t.$t("Üyeliğinizi neden iptal etmek istiyorsunuz")))]),t._v(" "),t._l(t.deleteUserRadioList,function(r,o){return e("div",{key:o,staticClass:"ww fl mb5"},[e("el-radio",{attrs:{label:o},model:{value:t.deleteUserCheck,callback:function(e){t.deleteUserCheck=e},expression:"deleteUserCheck"}},[t._v(t._s(r))])],1)}
1),t._v(" "),6==t.deleteUserCheck?e("el-input",{attrs:{type:"textarea"},model:{value:t.deleteUserText,callback:function(e){t.deleteUserText=e},expression:"deleteUserText"}}):t._e(),t._v(" "),e("div",{staticClass:"ww fl mb10"})],2),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.deleteUser_close}},[t._v(t._s(t.$t("İptal")))]),t._v(" "),e("el-button",{attrs:{type:"danger"},on:{click:t.deleteUser_action}},[t._v(t._s(t.$t("Devam Et")))])],1)])],1)},[],!1,null,"5ae53184",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(6),header=r(4),footer=r(3);function l(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var n={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default,shareButton:()=>r.e(0).then(r.bind(null,800))},data(){return{detailLoading:!1,currency:this.$store.state.firmBaseCurrency||"TRY",activeName:"pending",userData:this.$cookies.get("b2bUserInfo")||null,payIframe:null,payDrawer:!0,firmSetting:this.$store.state.firm.settings,b2bUiSettings:this.$store.state.firm.settings.b2bUiSettings.settings.data,orderListTitle:this.$t("order")+" "+this.$t("list"),orderTakeDrawer:!1,orderList:null,tableData:[],listLoading:!1,isEmpty:!1,listQuery:{kk_failed_show:0,documentType:1,pageNo:1,pageCount:10,paymentStatus:!1,asc:!1,sortBy:"id"},total:0,listQueryPaid:{pageNo:1,pageCount:10},multipleSelection:[],statusColor:["error","b2bUserInfo","success","warning","warning","success","success","success","error"]}},created(){this.getList(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getList(){this.$apis.get("api/user/order/list?id=&fattakipno=&kk_failed_show="+this.listQuery.kk_failed_show+"&limit="+this.listQuery.pageCount+"&page="+this.listQuery.pageNo).then(t=>{this.tableData=t.data.KiboApp.Response.data.list,this.total=t.data.KiboApp.Response.data.rowCount,this.listLoading=!1}).catch(t=>{this.tableData=[],this.total=0,this.isEmpty=!0,this.listLoading=!1})},getTakeOrder(t,title){this.detailLoading=!0,this.$apis.get("api/user/order/take/"+t).then(t=>{this.orderTakeDrawer=!0,this.detailLoading=!1,this.orderListTitle=title,this.orderList=t.data.KiboApp.Response.data.stokinout}).catch(t=>{this.detailLoading=!1,this.isEmpty=!0,this.listLoading=!1})},getBasketCount(){this.$apis.get("api/basket/cart?id="+this.isUserBasketId()).then(t=>{var e=0;t.data.KiboApp.Response.data.stokinout.map(t=>{e+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",e)}).catch(t=>{this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0)})},getClearAndRebuild(t){try{this.$apis.get("api/basket/cartClear?id="+this.isUserBasketId()).then(e=>{this.postCartRebuild(t)}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.getBasketCount()})}catch(t){}},getRebuild(t){this.$apis.post("api/basket/cartRebuild",{basketId:this.isUserBasketId(),orderId:t}).then(t=>{this.$message({message:this.$t("Sepet")+" "+this.$t("Oluşturuldu"),type:"success"}),this.getBasketCount(),""!=this.isUserBasketId()&&this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400})}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.getBasketCount()})},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},clearChecked(){this.$refs.multipleTable.clearSelection()},multiPay(){var t=[];JSON.parse(JSON.stringify(this.multipleSelection)).map(function(e,i){t.push(e.id)}),window.location=this.localePath("/uye/odeme/"+t.join(";"))},updateList(t){this.listQuery.paymentStatus=t,this.getList()},handleSelectionChange(t){this.multipleSelection=t},paginationData(t){this.listQuery.pageCount=t.pageCount,this.listQuery.pageNo=t.pageNo,this.getList()},redirectToUrl(t){window.open(t,"_blank")},postCartRebuild(t){var e,r=this;return(e=function*(){var e=t.orderId,o=t.payload,l=t.sign;try{var data={basketId:r.isUserBasketId(),orderId:e,payload:o,sign:l},n=yield r.$apis.post("api/basket/cartRebuild",data),c=n.data.KiboApp.Response.data.basketCart;return r.$message({message:n.data.KiboApp.Response.kiboMessage,type:"success"}),r.$cookies.set("userBasketId",c.id,{path:"/",maxAge:86400}),r.getBasketCount(),!0}catch(t){r.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),r.getBasketCount()}},function(){var t=this,r=arguments;return new Promise(function(o,n){var a=e.apply(t,r);function c(t){l(a,o,n,c,d,"next",t)}function d(t){l(a,o,n,c,d,"throw",t)}c(void 0)})})()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("my_orders")}}},c=n,d=(r(524),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Siparişler")))])],1
1)],1)])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{class:"myOrderList wrapper mrau"},[e("div",{class:"ww fl WrapGutter ItemShadow ww fl pos-r bg-white"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],class:"ww fl"+(t.listLoading?" py50":"")},[e("div",{class:"ww fl mb15"},[e("div",{class:"ww fl my10"},[e("span",{staticClass:"fl my15 ta-ol fs-14 fw-b"},[e("el-switch",{staticClass:"mr5",attrs:{"active-color":"var(--success)","inactive-color":"var(--error)","active-value":1,"inactive-value":0},on:{change:t.getList},model:{value:t.listQuery.kk_failed_show,callback:function(e){t.$set(t.listQuery,"kk_failed_show",e)},expression:"listQuery.kk_failed_show"}}),t._v("\r\n                  "+t._s(t.$t("Başarısız Kredi Kartı Siparişleri"))+"\r\n                ")],1),t._v(" "),t.total>0?e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}}):t._e()],1),t._v(" "),t.multipleSelection.length>0?e("div",{staticClass:"ww fl pl15"},[e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.multiPay}},[t._v(t._s(t.$t("payment")))])],1):t._e(),t._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{label:t.$t("date"),"min-width":"110"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("p",{staticClass:"fs-13 fw-6 mb5"},[t._v(" "+t._s(t.ParseStamp(r.row.tarih)))])]}}],null,!1,2577391060)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("order_number"),"min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\r\n                      "+t._s(e.row.fattakipno)+"\r\n                  ")]}}],null,!1,2618731240)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("description"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\r\n                    "+t._s(e.row.aciklama||"-")+"\r\n                  ")]}}],null,!1,918766225)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-14 fw-6"},[t._v(t._s(null!=r.row.siparis_durum?r.row.siparis_durum.tanimad:"-"))])]}}],null,!1,3376275701)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("bill"),"min-width":"110"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("el-tag",{attrs:{effect:"plain",type:"1"==r.row.belgedurum?"success":"danger","disable-transitions":""}},[t._v("\r\n                      "+t._s("1"==r.row.belgedurum?t.$t("invoiced"):t.$t("not_billed"))+"\r\n                    ")])]}}],null,!1,3031705581)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("payment"),"min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(r){return[0!=r.row.pay_status||!r.row.payGatewayUrl||1!=t.firmSetting.b2bOrderPaymentLinkAllCases&&"KK_"!=r.row.ozelkod2?0!=r.row.pay_status?e("el-tag",{staticClass:"fs-13",attrs:{type:"success","disable-transitions":""}},[t._v("\r\n                      "+t._s(t.$t("paid"))+"\r\n                    ")]):e("el-tag",{staticClass:"fs-13",attrs:{type:"danger","disable-transitions":""}},[t._v("\r\n                        "+t._s(t.$t("not_paid"))+"\r\n                     ")]):e("a",{attrs:{href:r.row.payGatewayUrl,target:"_blank"}},[e("el-tag",{staticClass:"mb5 fs-14",attrs:{type:"danger","disable-transitions":""}},[t._v("\r\n                        "+t._s(t.$t("not_paid"))+"\r\n                     ")]),t._v(" "),e("el-tag",{staticClass:"fs-11",attrs:{type:0!=r.row.pay_status?"success":"info","disable-transitions":""}},[e("i",{staticClass:"el-icon-bank-card fs-14"}),t._v(" "+t._s(t.$t("pay"))+" \r\n                      ")])],1)]}}],null,!1,3156762134)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("amount"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{staticClass:"ta-r fs-16 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(r.row.borctl,t.currency)))])]}}],null,!1,860127187)}),t._v(" "),e("el-table-column",{attrs:{label:"",width:"150"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("div",{staticClass:"dp-f fd-c",staticStyle:{gap:"5px"}},[e("el-button",{staticStyle:{width:"100%"}
1,attrs:{loading:t.detailLoading,icon:"el-icon-zoom-in fs-12",size:"mini"},on:{click:function(e){t.getTakeOrder(r.row.id,r.row.aciklama||"-")}}},[t._v(t._s(t.$t("Detay")))]),t._v(" "),e("el-button",{staticStyle:{width:"100%","margin-left":"0px"},attrs:{icon:"icon-kargo-1 fs-13 mr5",size:"mini"},on:{click:function(e){return t.redirectToUrl("/siparisTakip?firmaeposta=".concat(r.row.firmaeposta||"","&fattakipno=").concat(r.row.fattakipno||""))}}},[t._v(t._s(t.$t("Takip")))]),t._v(" "),r.row.b2bBasketCartRebuild&&r.row.b2bBasketCartRebuild.orderId?[e("el-popconfirm",{staticClass:"fr",attrs:{"popper-class":"isEmptyClass","confirm-button-text":t.$t("Evet"),"cancel-button-text":t.$t("Hayır"),icon:"el-icon-info","icon-color":"red",title:t.$t("Sipariş Sepete Eklenmeden Önce Sepete Boşaltılsın Mı")},on:{confirm:function(e){return t.getClearAndRebuild(r.row.b2bBasketCartRebuild)},cancel:function(e){return t.postCartRebuild(r.row.b2bBasketCartRebuild)}}},[e("el-button",{staticStyle:{width:"100%"},attrs:{slot:"reference",id:r.row.id,size:"mini",icon:"el-icon-goods"},slot:"reference"},[t._v(t._s(t.$t("add_to_basket")))])],1),t._v(" "),e("shareButton",{attrs:{url:"/sepet?orderId=".concat(r.row.b2bBasketCartRebuild.orderId,"&payload=").concat(r.row.b2bBasketCartRebuild.payload,"&sign=").concat(r.row.b2bBasketCartRebuild.sign),title:"Sepet",size:"mini"}})]:t._e()],2)]}}],null,!1,4247414719)})],1),t._v(" "),t.total>0?e("div",{staticClass:"ww fl my10"},[e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}})],1):t._e()],1)])])])]):t._e(),t._v(" "),e("footerWrap"),t._v(" "),e("el-drawer",{attrs:{title:t.orderListTitle,size:(t.$device.isMobile?100:50)+"%","custom-class":"orderList",visible:t.orderTakeDrawer},on:{"update:visible":function(e){t.orderTakeDrawer=e}}},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.orderList,height:"100%"}},[e("el-table-column",{attrs:{label:t.$t("description"),width:"200"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[t._v(t._s(o.stok.stokcins))]),t._v(" "),e("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[t._v(t._s(o.stok.barkod))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum"),"min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(null!=o.tedarik_islem?o.tedarik_islem.tanimad:"-"))])]}}])}),t._v(" "),t.b2bUiSettings.b2bHidePublisher?t._e():e("el-table-column",{attrs:{label:t.$t("Üretici"),"min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(null!=o.stok&&null!=o.stok.uretici?o.stok.uretici.ureticiad:"-"))])]}}],null,!1,3975109892)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Miktar"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(Math.round(o.out_miktar)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("price"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13 fw-6 ls-1"},[t._v(t._s(t.$currencyFormat(o.net_tutar,t.currency)))])]}}])})],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(82),l=r(27),n=r.n(l),c=[{id:1,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Vakıf Bank",officeName:"test",officeCode:"0026",iban:"89 0001 5001 5800 7300 4289 27",accountNo:"15800730",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/1/data/1.jpg"},{id:2,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Garanti Bankası",officeName:"dsfdsafds",officeCode:"068",iban:"88 0006 2000 0680 0006 2969 10",accountNo:"6296910",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/2/data/1.jpg"},{id:3,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Finansbank",officeName:"dsadsa",officeCode:"1073",iban:"20 0011 1000 0000 0088 5389 35",accountNo:"88538935",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/3/data/1.jpg"},{id:4,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Akbank",officeName:"boş",officeCode:"39",iban:"18 0004 6000 3988 8000 2387 17",accountNo:"238717",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/4/data/1.jpg"},{id:5,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Yapı Kredi",officeName:"boş",officeCode:"495",iban:"54 0006 7010 0000 0090 1661 55",accountNo:"90166155",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/5/data/1.jpg"},{id:6,durum:0,priority:null,ownerName:"PERA MEZAT MÜZAYEDECİLİK TİC.LTD.ŞTİ",bankName:"Türkiye İş Bankası",officeName:"boş",officeCode:"1011",iban:"82 0006 4000 0011 0112 0221 84",accountNo:"2022184",img:"https://api.peramezat.com/CDN-DB/api/asset/bank/6/data/1.jpg"}],d={name:"app",components:{creditForm:o.default},watch:{selectedbillAddressId(t){this.selectedbillAddressId=t},selectedcargoAddressId(t){this.selectedcargoAddressId=t},selectedCargoId(t){this.selectedCargoId=t}},data(){return{currency:this.$store.state.firmBaseCurrency||"TRY",installment_options:!1,cargoEmpty:!1,isEdit:!1,isSend:!1,senderMessage:!1,bankMessage:!1,cargoMessage:!1,dialogFormVisible:!1,alertAction:"warning",alertMessage:null,dataList:null,addressList:[],bankList:c,cargoList:[],taksitList:[],selectedTaksit:null,selectedTaksitArray:null,orderTotal:0,cargoPrice:0,userData:this.$cookies.get("b2bUserInfo")||null,rootPath:"https://testb2b.onsocloud.com/",logoPath:n.a,installmentCount:1,orderForm:{billAddress:void 0,cargoAddress:void 0,cargo:0}
1,posInfo:null,selectedbillAddressId:null,selectedcargoAddressId:null,selectedCargoId:null,selectedBankId:null,sender_name:null,orderId:null}},created(){this.orderId=this.$route.params&&this.$route.params.order,this.getSetting(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{getSetting(){this.$apis.get("api/basket/order/payment").then(t=>{this.cargoList=t.data.KiboApp.Response.data.tcargos,this.bankList=t.data.KiboApp.Response.data.tbankaccs}).catch(t=>{})},getOrder_(){this.listLoading=!0,MergeOrder(this.orderId.split(";")).then(t=>{this.orderTotal=t.data.total,this.dataList=t.data,this.getPosInfo(),this.getTaksitList()})},getPosInfo(){if(null==this.selectedbillAddressId||null==this.selectedcargoAddressId||null==this.selectedCargoId)return null!=this.selectedbillAddressId&&null!=this.selectedcargoAddressId||this.$alert(this.$t("please_enter_address"),this.$t("address")+" "+this.$t("add"),{confirmButtonText:this.$t("add"),showClose:!1,callback:t=>{this.dialogFormVisible=!0}}),!1;PosInfo({installmentCount:this.installmentCount,orderIdList:this.orderId.split(";"),billAddressId:this.selectedbillAddressId,deliveryAddressId:this.selectedcargoAddressId,cargoId:this.selectedCargoId}).then(t=>{this.posInfo=t.data,this.installment_options=!1})},getBankList(){null==this.bankList&&(this.listLoading=!0,TakeBankaList({pageNo:1,pageCount:25}).then(t=>{this.bankList=t.data.list}))},GetAddressList(t){ListAddress("pageNo=1&pageCount=25").then(t=>{t.data.list.length>0&&(this.addressList=t.data.list,t.data.list.map(t=>{t.defaultAddress&&(this.selectedbillAddressId=t.id,this.selectedcargoAddressId=t.id)}),null==this.selectedbillAddressId&&(this.selectedbillAddressId=t.data.list[0].id),null==this.selectedcargoAddressId&&(this.selectedcargoAddressId=t.data.list[0].id)),this.getKargoList()})},getKargoList(){this.listLoading=!0,TakeKargoList({pageNo:1,pageCount:25}).then(t=>{t.data.list.length>0&&(this.selectedCargoId=t.data.list[0].id),this.cargoList=t.data.list,this.getOrder()})},getTaksitList(){this.listLoading=!0,TaksitToplam({pageNo:1,pageCount:25,total:this.orderTotal}).then(t=>{t.data.list.length>0&&(this.selectedTaksit=t.data.list[0].id,this.selectedTaksitArray=t.data.list[0]),this.taksitList=t.data.list})},changeTaksit(t){this.selectedTaksit=t.id,this.installmentCount=t.installmentCount,this.selectedTaksitArray=t,this.getPosInfo(),TaksitToplam({pageNo:1,pageCount:25,total:this.orderTotal}).then(t=>{this.taksitList=t.data.list})},getTaksitName(t){return t<2?this.$t("one_shot"):t+" "+this.$t("installment")},GetAddressForm(t){console.log(t),this.isEdit=t.isEdit,this.dialogFormVisible=t.isShow,t.refreshList&&this.GetAddressList(1)},getPayBank(t){var e=null,r=this;JSON.parse(JSON.stringify(this.bankList)).map(function(t,i){t.id==r.selectedBankId&&(e=r.sender_name+" - "+t.bankName+" - TR"+t.iban)}),this.senderMessage=!1,this.bankMessage=!1,this.cargoMessage=!1,null==this.sender_name?this.senderMessage=!0:null==this.selectedBankId?this.bankMessage=!0:null==this.selectedCargoId?this.cargoMessage=!0:PayOrder({billAddressId:this.selectedbillAddressId,deliveryAddressId:this.selectedcargoAddressId,description:e,paymentType:1,cargoId:this.selectedCargoId,idList:this.$route.params.order.split(";")}).then(t=>{this.alertMessage=this.$i18n.t("payment_request_received"),this.alertAction="success",this.isSend=!0,console.log(t.data)}).catch(t=>{this.alertMessage=this.$i18n.t("hello")})}},head(){return{title:this.$t("order")+" "+this.$t("pay")}}},m=(r(525),r(526),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("div",[null!=t.userData?e("section",{staticClass:"ww fl pt10 px5"},[null==t.dataList?e("div",{staticClass:"wrapper mrau"},[t.isSend?e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl pt15 pb30 px15 pos-r bg-white"},[e("el-alert",{staticClass:"mb50",attrs:{type:t.alertAction,center:"",title:t.alertMessage}}),t._v(" "),e("div",{staticClass:"ww fl ta-o"},[e("a",{staticClass:"px20 py10 fs-13 bg-info txt-white rds",attrs:{href:t.rootPath+"uye/siparis"}}
1,[t._v(t._s(t.$t("my_orders")))])])],1)]):e("div",{staticClass:"ww fl py20 ItemShadow ww fl pos-r bg-white"},[e("div",{staticClass:"ww fl px20"},[e("el-row",[e("el-col",{attrs:{lg:6,sm:6,xs:24}},[e("a",{attrs:{href:t.rootPath}},[e("el-image",{staticClass:"h40 fl mt5",attrs:{src:t.logoPath}})],1)]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:24}},[e("a",{attrs:{href:t.rootPath+"uye/siparis"}},[e("span",{staticClass:"ww fl pl50 pos-r"},[e("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 icon-order ta-o"}),t._v(" "),e("p",{staticClass:"ww h20 fl ln-20 fs-13"},[t._v("\n                          "+t._s(t.$t("basket"))+"\n                        ")]),t._v(" "),e("p",{staticClass:"ww h30 fl ln-30 fs-25 fw-b"},[t._v("\n                          "+t._s(t.$currencyFormat(null!=t.posInfo?t.posInfo.orderTotal:0,t.currency))+"\n                        ")])])])]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:24}},[e("span",{staticClass:"ww fl pl50 pos-r"},[e("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 icon-stok ta-o"}),t._v(" "),e("p",{staticClass:"ww h20 fl ln-20 fs-13"},[t._v("\n                          "+t._s(t.$t("cargo"))+"\n                        ")]),t._v(" "),e("p",{staticClass:"ww h30 fl ln-30 fs-25 fw-b"},[t._v("\n                          "+t._s(t.$currencyFormat(null!=t.posInfo?t.posInfo.cargoTotal:0,t.currency))+"\n                        ")])])]),t._v(" "),e("el-col",{attrs:{lg:6,sm:6,xs:24}},[e("span",{staticClass:"ww fl pl50 pos-r txt-error"},[e("i",{staticClass:"w50 h50 pos-a tp-0 lf-0 fs-35 icon-bill ta-o"}),t._v(" "),e("p",{staticClass:"ww h20 fl ln-20 fs-13"},[t._v("\n                          "+t._s(t.$t("bill"))+"\n                        ")]),t._v(" "),e("p",{staticClass:"ww h30 fl ln-30 fs-25 fw-b"},[t._v("\n                          "+t._s(t.$currencyFormat(null!=t.posInfo?parseFloat(t.posInfo.payment_amount):0,t.currency))+"\n                        ")])])])],1)],1),t._v(" "),e("div",{staticClass:"paySwiper ww fl mt15 pt5 px15 pb20 bdrT"},[e("el-form",{ref:"orderForm",attrs:{"label-position":"top",model:t.orderForm}},[e("el-row",{attrs:{gutter:15}},[e("el-col",{attrs:{lg:8,sm:8,xs:24}},[e("el-form-item",{staticClass:"m0",attrs:{label:t.$t("bill")+" "+t.$t("address")}},[e("div",{staticClass:"ww fl pl50 pos-r"},[e("a",{staticClass:"w40 h40 pos-a lf-0 tp-0 bg-success rds icon-add ta-o fs-15 txt-white cr-p",on:{click:function(e){t.dialogFormVisible=!0}}}),t._v(" "),e("el-select",{staticClass:"ww fl pos-r",attrs:{"popper-class":"customSelect","popper-append-to-body":!1,"no-data-text":t.$t("no_data"),placeholder:t.$t("bill")+" "+t.$t("address")},on:{change:t.getPosInfo},model:{value:t.selectedbillAddressId,callback:function(e){t.selectedbillAddressId=e},expression:"selectedbillAddressId"}},t._l(t.addressList,function(r,o){return e("el-option",{key:o,attrs:{label:r.name,value:r.id}},[e("div",{staticClass:"ww fl py10"},[e("p",{staticClass:"ww fl mb5 fs-15 fw-6"},[t._v(t._s(r.name))]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-s-custom mr5 fs-15"}),t._v(" "+t._s(r.receiverName)+"\n                                        ")]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-phone mr5 fs-15"}),t._v(" "+t._s(r.telephone)+"\n                                        ")]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-location mr5 fs-15"}),t._v(" \n                                          "+t._s(r.description)),e("br"),t._v("\n                                          "+t._s(r.town.name+" - "+r.town.city.name)+"\n                                        ")])])])}),1)],1)])],1),t._v(" "),e("el-col",{attrs:{lg:8,sm:8,xs:24}},[e("el-form-item",{staticClass:"m0",attrs:{label:t.$t("delivery")+" "+t.$t("address")}},[e("div",{staticClass:"ww fl pos-r"},[e("el-select",{staticClass:"ww fl pos-r",attrs:{"popper-class":"customSelect","popper-append-to-body":!1,"no-data-text":t.$t("no_data"),placeholder:t.$t("delivery")+" "+t.$t("address")},on:{change:t.getPosInfo},model:{value:t.selectedcargoAddressId,callback:function(e){t.selectedcargoAddressId=e},expression:"selectedcargoAddressId"}},t._l(t.addressList,function(r,o){return e("el-option",{key:o,attrs:{label:r.name,value:r.
1id}},[e("div",{staticClass:"ww fl py10"},[e("p",{staticClass:"ww fl mb5 fs-15 fw-6"},[t._v(t._s(r.name))]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-s-custom mr5 fs-15"}),t._v(" "+t._s(r.receiverName)+"\n                                        ")]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-phone mr5 fs-15"}),t._v(" "+t._s(r.telephone)+"\n                                        ")]),t._v(" "),e("span",{staticClass:"ww fl fs-13 ta-ol"},[e("i",{staticClass:"el-icon-location mr5 fs-15"}),t._v(" \n                                          "+t._s(r.description)),e("br"),t._v("\n                                          "+t._s(r.town.name+" - "+r.town.city.name)+"\n                                        ")])])])}),1)],1)])],1),t._v(" "),e("el-col",{attrs:{lg:8,sm:8,xs:24}},[e("el-form-item",{staticClass:"m0",attrs:{label:t.$t("cargo")}},[e("div",{staticClass:"ww fl pos-r"},[e("el-select",{staticClass:"ww fl pos-r",attrs:{"popper-class":"customSelect","popper-append-to-body":!1,"no-data-text":t.$t("no_data"),placeholder:t.$t("delivery")+" "+t.$t("address")},on:{change:t.getPosInfo},model:{value:t.selectedCargoId,callback:function(e){t.selectedCargoId=e},expression:"selectedCargoId"}},t._l(t.cargoList,function(r,o){return e("el-option",{key:o,attrs:{label:r.name,value:r.id}},[e("div",{staticClass:"ww h50 fl py5 pl40"},[e("el-image",{staticClass:"w40 h40 ml10 pos-a lf-0 ta-o",attrs:{src:r.img,fit:"contain"},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"el-icon-picture-outline fs-25"})]},proxy:!0}],null,!0)}),t._v(" "),e("p",{class:"ww fl fs-14 fw-6"+(r.priceHidden?" h40":"")},[t._v(t._s(r.crg_name))]),t._v(" "),r.priceHidden?t._e():e("span",{staticClass:"ww fl ln-23 fs-14 fw-6"},[t._v("\n                                      "+t._s(t.$currencyFormat(r.crg_price,t.currency))+"\n                                    ")])],1)])}),1)],1)])],1)],1)],1),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{staticClass:"ww fl mt10",attrs:{lg:24}},[e("el-tabs",{on:{"tab-click":t.getBankList}},[e("el-tab-pane",{attrs:{label:t.$t("credit_card")}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[null==t.posInfo?e("creditForm",{attrs:{posInfo:t.posInfo}}):t._e()],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[null!=t.selectedTaksitArray?e("div",{staticClass:"ww fl"},[e("el-tag",{staticClass:"ww ha fl cr-p",attrs:{type:"warning"},on:{click:function(e){t.installment_options=!0}}},[e("div",{staticClass:"ww fl p15"},[e("span",{staticClass:"ww fl fs-16"},[t._v(t._s(t.getTaksitName(t.selectedTaksitArray.installmentCount)))]),t._v(" "),e("div",{staticClass:"ww fl my5"},[e("span",{staticClass:"fl mr5 fs-16"},[t._v("\n                                            "+t._s(t.$currencyFormat(t.selectedTaksitArray.perMonth,t.currency))+"\n                                          ")]),t._v("/"),e("span",{staticClass:"fs-12"},[t._v(t._s(t.$t("mounth")))]),t._v(" "),e("span",{staticClass:"fr"},[t._v("% "+t._s(t.selectedTaksitArray.installmentRatio))])]),t._v(" "),e("div",{staticClass:"ww fl"},[e("span",{staticClass:"fl fw-b mr5 fs-18"},[t._v("\n                                            "+t._s(t.$currencyFormat(t.selectedTaksitArray.total,t.currency))+"\n                                          ")]),t._v(" "),e("span",{staticClass:"fs-12"},[t._v(t._s(t.$t("total")))])])])]),t._v(" "),e("el-button",{attrs:{type:"text"},on:{click:function(e){t.installment_options=!0}}},[t._v(t._s(t.$t("installment_options")))])],1):t._e()])],1)],1),t._v(" "),e("el-tab-pane",{attrs:{label:t.$t("bank_transfer")}},[e("el-form",{ref:"orderForm",attrs:{"label-position":"top",model:t.orderForm}},[null!=t.bankList?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-alert",{directives:[{name:"show",rawName:"v-show",value:t.bankMessage,expression:"bankMessage"}],attrs:{title:t.$t("missing_field")+" : "+t.$t("bank_account"),type:"error","show-icon":""}}),t._v(" "),e("el-alert",{directives:[{name:"show",rawName:"v-show",value:t.cargoMessage,expression:"cargoMessage"}],attrs:{title:t.$t("missing_field")+" : "+t.$t("cargo"),type:"error","show-icon":""}})],1),t._v(" "),t._l(t.bankList,function(r,i){return e("el-col",{key:i,attrs:{lg:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl"},[e("el-radio",{attrs:{label:r.id,border:""},model:{value:t.selectedBankId,callback:function(e){t.selectedBankId=e},expression:"selectedBankId"}},[e("div",{staticClass:"ww fl px10 py15"},[r.tbanks?e("el-image",{staticClass:"h50 fl mb5",attrs:{src:r.tbanks.bank_logo,fit:"contain"}}):t._e(),t._v(" "),e("div",{staticClass:"ww fl"},[r.tbanks?e("p",{staticClass:"ww fl mb5 fs-18 fw-6"},[t._v(t._s(r.tbanks.bnk_fullname))]):t._e(),t._v(" "),e("span",{staticClass:"ww fl fs-12"},[t._v(t._s(t.$t("name"))+" : "+t._s(r.bnc_accname))]),t._v(" "),e("span",{staticClass:"ww fl fs-13"},[t._v(t._s(t.$t("account"))+" : "+t._s(r.bnc_bnd_code+" - "+r.bnc_accnum))]),t._v(" "),e("span",{staticClass:"ww fl fs-13"}
1,[t._v(t._s(t.$t("iban"))+" : TR"+t._s(r.iban))])])],1)])],1)])})],2):t._e(),t._v(" "),e("el-row",{attrs:{gutter:12}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-alert",{directives:[{name:"show",rawName:"v-show",value:t.senderMessage,expression:"senderMessage"}],attrs:{title:t.$t("missing_field")+" : "+t.$t("sender_name"),type:"error","show-icon":""}}),t._v(" "),e("el-form-item",{attrs:{label:t.$t("sender_name")+"/"+t.$t("description")}},[e("el-input",{attrs:{placeholder:t.$t("sender_name")+"/"+t.$t("description")},model:{value:t.sender_name,callback:function(e){t.sender_name=e},expression:"sender_name"}})],1)],1)],1),t._v(" "),e("el-row",{attrs:{gutter:12}},[e("el-col",{attrs:{lg:24,sm:24,xs:24}},[e("el-button",{staticClass:"h50 fr px50 ta-o",attrs:{type:"primary"},on:{click:t.getPayBank}},[t._v(t._s(t.$t("pay")))]),t._v(" "),e("span",{staticClass:"h50 fr mr10 ta-or fs-20 fw-6"},[t._v("\n                                      "+t._s(t.$currencyFormat(null!=t.posInfo?parseFloat(t.posInfo.payment_amount):0,t.currency))+"\n                                    ")])],1)],1)],1)],1)],1)],1)],1)],1)])]):t._e()]):t._e(),t._v(" "),e("el-drawer",{attrs:{visible:t.installment_options,direction:"rtl","with-header":!1},on:{close:function(e){t.installment_options=!1}}},[e("div",{staticClass:"ww hh fl p15 pos-r ofy-a",staticStyle:{"max-height":"100vh"}},[e("el-scrollbar",{attrs:{height:"100%"}},[e("div",{staticClass:"ww fl pb20 pr5"},t._l(t.taksitList,function(r,i){return e("div",{key:i,staticClass:"ww fl pr10"},[e("el-radio",{attrs:{label:r.id,border:""},on:{change:function(e){return t.changeTaksit(r)}},model:{value:t.selectedTaksit,callback:function(e){t.selectedTaksit=e},expression:"selectedTaksit"}},[e("div",{staticClass:"ww fl p15"},[e("span",{staticClass:"ww fl fs-16"},[t._v(t._s(0==i?t.$t("one_shot"):r.installmentCount+" "+t.$t("installment")))]),t._v(" "),e("div",{staticClass:"ww fl my5"},[e("span",{staticClass:"fl mr5 fs-16"},[t._v("\n                          "+t._s(t.$currencyFormat(r.perMonth,t.currency))+"\n                        ")]),t._v("/"),e("span",{staticClass:"fs-12"},[t._v(t._s(t.$t("mounth")))]),t._v(" "),e("span",{staticClass:"fr"},[e("el-tag",{attrs:{type:"warning",size:"small"}},[t._v("% "+t._s(r.installmentRatio))])],1)]),t._v(" "),e("div",{staticClass:"ww fl"},[e("span",{staticClass:"fl fw-b mr5 fs-18"},[t._v("\n                          "+t._s(t.$currencyFormat(r.total,t.currency))+"\n                        ")]),t._v(" "),e("span",{staticClass:"fs-12"},[t._v(t._s(t.$t("total")))])])])])],1)}),0)])],1)])],1)},[],!1,null,"3e6e79e7",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(6),header=r(4),footer=r(3),l={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default,shareButton:()=>r.e(0).then(r.bind(null,800))},data(){return{firmSetting:this.$store.state.firm.settings,b2bUiSettings:this.$store.state.firm.settings.b2bUiSettings.settings.data,detailLoading:!1,currency:this.$store.state.firmBaseCurrency||"TRY",orderListTitle:this.$t("order")+" "+this.$t("list"),activeName:"pending",userData:this.$cookies.get("b2bUserInfo")||null,orderList:null,tableData:[],listLoading:!1,isEmpty:!1,listQuery:{documentType:1,pageNo:1,pageCount:10,paymentStatus:!1,asc:!1,sortBy:"id"},tableDataPaid:[],orderTakeDrawer:!1,listLoadingPaid:!1,isEmptyPaid:!1,total:0,listQueryPaid:{pageNo:1,pageCount:10,belgedurum:0},multipleSelection:[],statusColor:["error","b2bUserInfo","success","warning","warning","success","success","success","error"]}},created(){this.getList(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{getList(){this.$apis.get("api/user/order/list?&belgedurum=0&limit="+this.listQuery.pageCount+"&page="+this.listQuery.pageNo).then(t=>{this.tableData=t.data.KiboApp.Response.data.list,this.total=t.data.KiboApp.Response.data.rowCount,this.listLoading=!1}).catch(t=>{this.isEmpty=!0,this.listLoading=!1})},getTakeOrder(t,title){this.detailLoading=!0,this.$apis.get("api/user/order/take/"+t).then(t=>{this.orderTakeDrawer=!0,this.orderListTitle=title,this.detailLoa
1ding=!1,this.orderList=t.data.KiboApp.Response.data.stokinout}).catch(t=>{this.detailLoading=!1,this.isEmpty=!0,this.listLoading=!1})},changeTab(t,e){this.listLoadingPaid=!0,TakeOrderList(this.listQueryPaid).then(t=>{this.tableDataPaid=t.data.list,this.totalPaid=t.data.total,this.listLoadingPaid=!1,t.data.list.length<1&&(this.isEmptyPaid=!0)}).catch(t=>{this.isEmptyPaid=!0,this.listLoadingPaid=!1})},paddy(t,e,r){var o=void 0!==r?r:"0",l=new Array(1+e).join(o);return(l+t).slice(-l.length)},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},clearChecked(){this.$refs.multipleTable.clearSelection()},multiPay(){var t=[];JSON.parse(JSON.stringify(this.multipleSelection)).map(function(e,i){t.push(e.id)}),window.location=this.localePath("/uye/odeme/"+t.join(";"))},updateList(t){console.log(t),this.listQuery.paymentStatus=t,this.getList()},handleSelectionChange(t){this.multipleSelection=t},paginationData(t){this.listQuery.pageCount=t.pageCount,this.listQuery.pageNo=t.pageNo,this.getList()},redirectToUrl(t){window.open(t,"_blank")}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("pending_orders")}}},n=(r(527),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("pending_orders")))])],1)],1)])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{class:"myOrderList wrapper mrau"},[e("div",{class:"ww fl WrapGutter ItemShadow ww fl pos-r bg-white"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],class:"ww fl"+(t.listLoading?" py50":"")},[e("div",{class:"ww fl mb15"},[t.total>0?e("div",{class:"ww fl my10"},[e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}})],1):t._e(),t._v(" "),t.multipleSelection.length>0?e("div",{staticClass:"ww fl pl15"},[e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.multiPay}},[t._v(t._s(t.$t("payment")))])],1):t._e(),t._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{label:t.$t("date"),"min-width":"130"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("p",{staticClass:"fs-13 fw-6 mb5"},[t._v(" "+t._s(t.ParseStamp(r.row.tarih)))])]}}],null,!1,2577391060)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("order_number")},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\r\n                      "+t._s(e.row.fattakipno)+"\r\n                  ")]}}],null,!1,2618731240)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("description"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\r\n                    "+t._s(e.row.aciklama||"-")+"\r\n                  ")]}}],null,!1,918766225)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-12 fw-6"},[t._v(t._s(null!=r.row.siparis_durum?r.row.siparis_durum.tanimad:"-"))])]}}],null,!1,994749939)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("bill"),width:"140"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("el-tag",{attrs:{effect:"plain",type:"1"==r.row.belgedurum?"success":"danger","disable-transitions":""}},[t._v("\r\n                      "+t._s("1"==r.row.belgedurum?t.$t("invoiced"):t.$t("not_billed"))+"\r\n                    ")])]}}],null,!1,3031705581)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("payment"),"min-width":"100"},scopedSlots:t._u([{key:"default",fn:function(r){return[0!=r.row.pay_status||!r.row.payGatewayUrl||1!=t.firmSetting.b2bOrderPaymentLinkAllCases&&"KK_"!=r.row.ozelkod2?0!=r.row.pay_status?e("el-tag",{staticClass:"fs-11",attrs:{type:"success","disable-transitions":""}},[t._v("\r\n                      "+t._s(t.$t("paid"))+"\r\n                    ")]):e("el-tag",{staticClass:"fs-11",attrs:{type:"danger","disable-transitions":""}},[t._v("\r\n                        "+t._s(t.$t("not_paid"))+"\r\n                     ")]):e("a",{attrs:{href:r.row.payGatewayUrl,target:"_blank"}},[e("el-tag",{staticClass:"mb5 fs-11",attrs:{type:"danger","disable-transitions":""}},[t._v("\r\n                        "+t._s(t.$t("not_paid"))+"\r\n                     ")]),t._v(" "),e("el-tag",{staticClass:"fs-11",attrs:{type:0!=r.row.pay_status?"success":"info","disable-transitions":""}},[e("i",{staticClass:"el-icon-bank-card fs-12"}),t._v(" "+t._s(t.$t("pay"))+" \r\n                      ")])],1)]}}],null,!1,2322016853)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("amount")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{staticClass:"fs-16 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(r.row.borctl,t.currency)))])]}}],null,!1,2714658009)}
1),t._v(" "),e("el-table-column",{attrs:{label:"",width:"150"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("div",{staticClass:"dp-f fd-c",staticStyle:{gap:"5px"}},[e("el-button",{staticStyle:{width:"100%"},attrs:{loading:t.detailLoading,icon:"el-icon-zoom-in fs-12",size:"mini"},on:{click:function(e){t.getTakeOrder(r.row.id,r.row.aciklama||"-")}}},[t._v(t._s(t.$t("Detay")))]),t._v(" "),e("el-button",{staticStyle:{width:"100%","margin-left":"0px"},attrs:{icon:"icon-kargo-1 fs-13 mr5",size:"mini"},on:{click:function(e){return t.redirectToUrl("/siparisTakip?firmaeposta=".concat(r.row.firmaeposta||"","&fattakipno=").concat(r.row.fattakipno||""))}}},[t._v(t._s(t.$t("Takip")))]),t._v(" "),r.row.b2bBasketCartRebuild&&r.row.b2bBasketCartRebuild.orderId?[e("shareButton",{attrs:{url:"/sepet?orderId=".concat(r.row.b2bBasketCartRebuild.orderId,"&payload=").concat(r.row.b2bBasketCartRebuild.payload,"&sign=").concat(r.row.b2bBasketCartRebuild.sign),title:"Sepet",size:"mini"}})]:t._e()],2)]}}],null,!1,1347695446)})],1),t._v(" "),t.total>0?e("div",{staticClass:"ww fl my10"},[e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.pageNo,pageCount:t.listQuery.pageCount,dataCount:t.total}},on:{paginationData:t.paginationData}})],1):t._e()],1)])])])]):t._e(),t._v(" "),e("footerWrap"),t._v(" "),e("el-drawer",{attrs:{title:t.orderListTitle,size:(t.$device.isMobile?100:50)+"%","custom-class":"orderList",visible:t.orderTakeDrawer},on:{"update:visible":function(e){t.orderTakeDrawer=e}}},[e("div",{staticClass:"ww fl p5"},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.orderList,height:"100%"}},[e("el-table-column",{attrs:{label:t.$t("description"),"min-width":"200"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[t._v(t._s(o.stok.stokcins))]),t._v(" "),e("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[t._v(t._s(o.stok.barkod))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum"),"min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(null!=o.tedarik_islem?o.tedarik_islem.tanimad:"-"))])]}}])}),t._v(" "),t.b2bUiSettings.b2bHidePublisher?t._e():e("el-table-column",{attrs:{label:t.$t("Üretici"),"min-width":"120"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(null!=o.stok&&null!=o.stok.uretici?o.stok.uretici.ureticiad:"-"))])]}}],null,!1,3975109892)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Miktar"),align:"center"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(Math.round(o.out_miktar)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("price"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13 fw-6 ls-1"},[t._v(t._s(t.$currencyFormat(o.net_tutar,t.currency)))])]}}])})],1)],1)])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(6),header=r(4),footer=r(3),l={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},data(){return{detailLoading:!1,currency:this.$store.state.firmBaseCurrency||"TRY",userData:this.$cookies.get("b2bUserInfo")||null,firmSetting:this.$store.state.firm.settings,b2bIadeSiparisDurum:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bIadeSiparisDurum||0,orderListTitle:this.$t("order")+" "+this.$t("list"),orderTakeDrawer:!1,orderList:null,tableData:[],listLoading:!1,isEmpty:!1,listQuery:{kk_failed_show:0,documentType:1,pageNo:1,pageCount:1e3,paymentStatus:!1,asc:!1,sortBy:"id"},total:0,refundBelgeID:"",refundForm:{type:"",descriptionHeading:"",description:""},refundItem:null,refundRequestLoading:!1,isRefundableStokKodList:["FIYATFARKI","GENEL","KARGO"],multipleSelection:[]}},created(){this.getList(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{imageUrl:t=>null!=t&&t.startsWith("https://cdn.kibo.com.tr/")?t:"https://cdn.kibo.com.tr/"+t,isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getList(){this.$apis.get("api/user/order/list?id=&fattakipno=&pay_status=1&kk_failed_show=0&tarih_start="+this.calcDate({day:186,isHour:!0})+"&tarih_end="+this.calcDate({day:0,endDay:1,isHour:!0})+"&limit="+this.listQuery.pageCount+"&page="+this.listQuery.pageNo).then(t=>{this.tableData=t.data.KiboApp.Response.data.list,this.total=t.data.KiboApp.Response.data.rowCount,this.listLoading=!1}
1).catch(t=>{this.tableData=[],this.total=0,this.isEmpty=!0,this.listLoading=!1})},getTakeOrder(t,title){this.detailLoading=!0,this.$apis.get("api/user/order/take/"+t).then(t=>{var e;this.detailLoading=!1,this.orderListTitle=title,this.orderList=t.data.KiboApp.Response.data.stokinout;var r={},o=0;for(var l of this.orderList)if(!this.isRefundableStokKodList.includes(l.stok_kod)){if(++o>1)break;r=l}1==o&&(null===(e=r.tedarik_islem)||void 0===e?void 0:e.id)!=this.b2bIadeSiparisDurum&&(this.refundBelgeID=r.id,this.rowRefund(r)),this.orderTakeDrawer=!0}).catch(t=>{console.error(t),this.detailLoading=!1,this.isEmpty=!0,this.listLoading=!1})},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},handleSelectionChange(t){this.multipleSelection=t},paginationData(t){this.listQuery.pageCount=t.pageCount,this.listQuery.pageNo=t.pageNo,this.getList()},redirectToUrl(t){window.open(t,"_blank")},rowRefund(t){this.refundBelgeID=t.id,this.refundItem=t},handleRefundRequest(){this.refundRequestLoading=!0;var t="Tür: ".concat(this.refundForm.type," | Sebep: ").concat(this.refundForm.descriptionHeading," | Not: ").concat(this.refundForm.description||""),data={stokinoutId:this.refundBelgeID,tedarik_durum:this.b2bIadeSiparisDurum,aciklama:t};this.$apis.put("api/user/order/prdLineStatusChange",data).then(t=>{this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.orderTakeDrawer=!1,this.refundRequestLoading=!1}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.resetForm(),this.orderTakeDrawer=!1,this.refundRequestLoading=!1})},handleOrderListClose(){this.orderTakeDrawer=!1,this.$refs.refundForm&&this.resetForm()},resetForm(){this.refundBelgeID="",this.refundItem=null,this.$refs.refundForm.resetFields()},calcDate(option){if(void 0===option.day)return!1;var t=new Date;option.add?t.setDate(t.getDate()+option.day):t.setDate(t.getDate()-option.day),option.isNow||t.setHours(0,0,0,0),1==option.endDay&&t.setHours(23,59,59,59);var e=t.toLocaleString("tr-TR").split(" "),time=e[0].split(".");return time[2]+"-"+("0"+time[1]).slice(-2)+"-"+("0"+time[0]).slice(-2)+(option.isHour?" "+e[1]:"")}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("my_orders")}}},n=(r(528),r(0)),component=Object(n.a)(l,function(){var t,e,r=this,o=r._self._c;return o("div",[o("headerWrap"),r._v(" "),o("aside",{staticClass:"ww fl"},[o("div",{staticClass:"wrapper mrau px10"},[o("div",{staticClass:"ww fl py5"},[o("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[o("el-breadcrumb-item",{attrs:{to:{path:r.localePath("/")}}},[r._v(r._s(r.$t("Anasayfa")))]),r._v(" "),o("el-breadcrumb-item",[r._v(r._s(r.$t("member")))]),r._v(" "),o("el-breadcrumb-item",[r._v(r._s(r.$t("Siparişler")))]),r._v(" "),o("el-breadcrumb-item",[r._v(r._s(r.$t("İade / Değişim İşlemleri")))])],1)],1)])]),r._v(" "),null!=r.userData?o("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[o("div",{class:"myOrderList wrapper mrau"},[o("div",{class:"ww fl WrapGutter ItemShadow ww fl pos-r bg-white"},[o("div",{directives:[{name:"loading",rawName:"v-loading",value:r.listLoading,expression:"listLoading"}],class:"ww fl"+(r.listLoading?" py50":"")},[o("div",{class:"ww fl mb15"},[o("div",{staticClass:"dp-f my10",class:r.$device.isMobile?"fd-c":"jc-sb"},[o("h1",{staticClass:"fs-20 py10"},[r._v(" "+r._s(r.$t("İade / Değişim talebine uygun siparişler"))+" ")]),r._v(" "),r.total>0?o("paginationCard",{attrs:{sizes:[20,40,100,1e3],pageData:{pageNo:r.listQuery.pageNo,pageCount:r.listQuery.pageCount,dataCount:r.total}},on:{paginationData:r.paginationData}}):r._e()],1),r._v(" "),o("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:r.tableData,stripe:""},on:{"selection-change":r.handleSelectionChange}},[o("el-table-column",{attrs:{label:r.$t("date"),"min-width":"130"},scopedSlots:r._u([{key:"default",fn:function(t){return[r._v("\n                    "+r._s(r.ParseStamp(t.row.tarih))+"\n                  ")]}}],null,!1,2996572372)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("order_number"),width:"130"},scopedSlots:r._u([{key:"default",fn:function(t){return[r._v("\n                      "+r._s(t.row.fattakipno)+"\n                  ")]}}],null,!1,1635175464)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("description"),"min-width":"130"},scopedSlots:r._u([{key:"default",fn:function(t){return[r._v("\n                    "+r._s(t.row.aciklama||"-")+"\n                  ")]}}],null,!1,3305530001)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Durum"),width:"130"},scopedSlots:r._u([{key:"default",fn:function(t){return[o("span",{class:"fs-12 fw-6"},[r._v(r._s(null!=t.row.siparis_durum?t.row.siparis_durum.tanimad:"-"))])]}}],null,!1,994749939)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("bill"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){return[o("el-tag",{attrs:{effect:"plain",type:"1"==t.row.belgedurum?"success":"danger","disable-transitions":""}},[r._v("\n                      "+r._s("1"==t.row.belgedurum?r.$t("invoiced"):r.$t("not_billed"))+"\n                    ")])]}}],null,!1,828442029)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("amount"),"min-width":"120",align:"right"},scopedSlots:r._u([{key:"default",fn:function(t){return[o("span",{staticClass:"ta-r fs-16 fw-7 ls-1"},[r._v(r._s(r.$currencyFormat(t.row.borctl,r.currency)))])]}}],null,!1,860127187)}),r._v(" "),o("el-table-column",{attrs:{label:"",width:"220"},scopedSlots:r._u([{key:"default",fn:function(t){return[o("el-button",{staticClass:"fs-11",attrs:{slot:"reference",type:"primary",id:t.row.id,loading:r.detailLoa
1ding,icon:"icon-arrow-back-up mr5",size:"medium"},on:{click:function(e){r.getTakeOrder(t.row.id,r.$t("order_number")+": "+t.row.fattakipno+" "+t.row.aciklama||"-")}},slot:"reference"},[r._v(r._s(r.$t("İade / Değişim İşlemleri")))])]}}],null,!1,2596150128)})],1),r._v(" "),r.total>0?o("div",{staticClass:"ww fl my10"},[o("paginationCard",{attrs:{sizes:[20,40,100,1e3],pageData:{pageNo:r.listQuery.pageNo,pageCount:r.listQuery.pageCount,dataCount:r.total}},on:{paginationData:r.paginationData}})],1):r._e()],1)])])])]):r._e(),r._v(" "),o("footerWrap"),r._v(" "),o("el-drawer",{attrs:{size:(r.$device.isMobile?100:50)+"%","custom-class":"orderList",visible:r.orderTakeDrawer},on:{"update:visible":function(t){r.orderTakeDrawer=t},close:r.handleOrderListClose}},[o("template",{slot:"title"},[o("span",[r.refundBelgeID?o("i",{staticClass:"icon-arrow-left cr-p mr10",on:{click:r.resetForm}}):r._e(),r._v(" "+r._s(r.orderListTitle))])]),r._v(" "),r.refundBelgeID?o("el-row",{staticClass:"px10"},[o("p",{staticClass:"fs-15 my10 pb10 bdrB tcxt-error fw-b"},[r._v("İade / Değişim Talebi Oluşturulacak Ürün")]),r._v(" "),o("el-row",{attrs:{gutter:10}},[o("el-col",{attrs:{lg:4,md:4,sm:24,xs:24}},[o("div",[r.refundItem.stok.files.length>0?o("el-image",{class:"h200",staticStyle:{width:"100%"},attrs:{src:r.imageUrl(null===(t=r.refundItem.stok.files[0])||void 0===t?void 0:t.fl_url),"preview-src-list":[null===(e=r.refundItem.stok.files[0])||void 0===e?void 0:e.fl_url],fit:"contain","append-to-body":"","hide-on-click-modal":""},scopedSlots:r._u([{key:"error",fn:function(){return[o("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-30"})]},proxy:!0}],null,!1,3349255408)}):o("i",{staticClass:"ww hh ta-o el-icon-picture-outline fs-30"})],1)]),r._v(" "),o("el-col",{attrs:{lg:20,md:20,sm:24,xs:24}},[o("div",{staticClass:"dp-f",staticStyle:{"flex-direction":"column"}},[o("h2",{staticClass:"ww fl ln-27 fs-23 fw-b",class:r.$device.isMobile&&"mt5"},[r._v(r._s(r.refundItem.aciklama))]),r._v(" "),o("div",{staticClass:"mt10 pb10 bdrB"},[o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w50 fl ln-18 fs-12 fw-b"},[r._v(r._s(r.$t("Miktar")))]),o("span",{staticClass:"fl mx5 ln-18 fs-12"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-12"},[r._v(r._s(Math.round(r.refundItem.out_miktar)))])]),r._v(" "),o("p",{staticClass:"ww fl ln-18"},[o("span",{staticClass:"w50 fl ln-18 fs-12 fw-b"},[r._v(r._s(r.$t("Barkod")))]),o("span",{staticClass:"fl mx5 ln-18 fs-12"},[r._v(":")]),o("span",{staticClass:"fl ln-18 fs-12"},[r._v(r._s(r.refundItem.stok.barkod))])])]),r._v(" "),o("el-form",{ref:"refundForm",staticClass:"pt5 mr20",attrs:{model:r.refundForm}},[o("el-form-item",{staticClass:"refundFormItem",attrs:{label:r.$t("Talep Türü"),prop:"type"}},[o("el-select",{model:{value:r.refundForm.type,callback:function(t){r.$set(r.refundForm,"type",t)},expression:"refundForm.type"}},[o("el-option",{attrs:{label:r.$t("Değişim"),value:"Değişim"}}),r._v(" "),o("el-option",{attrs:{label:r.$t("İade"),value:"İade"}})],1)],1),r._v(" "),o("el-form-item",{staticClass:"refundFormItem",attrs:{label:r.$t("Sebep"),prop:"descriptionHeading"}},[o("el-select",{staticClass:"ww",model:{value:r.refundForm.descriptionHeading,callback:function(t){r.$set(r.refundForm,"descriptionHeading",t)},expression:"refundForm.descriptionHeading"}},[o("el-option",{attrs:{label:"Beden Sorunu",value:"Beden Sorunu"}}),r._v(" "),o("el-option",{attrs:{label:"Yanlış Ürün Gönderimi",value:"Yanlış Ürün Gönderimi"}}),r._v(" "),o("el-option",{attrs:{label:"Hatalı Ürün (Defolu)",value:"Hatalı Ürün (Defolu)"}}),r._v(" "),o("el-option",{attrs:{label:"Diğer",value:"Diğer"}})],1)],1),r._v(" "),o("el-form-item",{staticClass:"refundFormItem",attrs:{label:r.$t("Açıklama"),prop:"description"}},[o("el-input",{attrs:{type:"textarea",rows:"3",maxlength:255-(r.refundForm.type.length+r.refundForm.descriptionHeading.length+23),"show-word-limit":""},model:{value:r.refundForm.description,callback:function(t){r.$set(r.refundForm,"description",t)},expression:"refundForm.description"}})],1),r._v(" "),o("el-button",{staticClass:"mt5",attrs:{type:"primary",disabled:!r.refundForm.type||!r.refundForm.descriptionHeading,loading:r.refundRequestLoading,size:"mini"},on:{click:r.handleRefundRequest}},[r._v(r._s("İade"==r.refundForm.type?r.$t("İade Talebi Oluştur"):r.$t("Değişim Talebi Oluştur")))])],1
1)],1)])],1),r._v(" "),o("el-col")],1):o("el-table",{staticStyle:{width:"100%"},attrs:{data:r.orderList,height:"100%"}},[o("el-table-column",{attrs:{width:"50"},scopedSlots:r._u([{key:"default",fn:function(t){var e,l,n=t.row;return[n.stok.files.length>0?o("el-image",{class:"hh p5 pos-a tp-0 lf-0",staticStyle:{width:"100%"},attrs:{src:r.imageUrl(null===(e=n.stok.files[0])||void 0===e?void 0:e.fl_url),"preview-src-list":[r.imageUrl(null===(l=n.stok.files[0])||void 0===l?void 0:l.fl_url)],fit:"contain","append-to-body":"","hide-on-click-modal":""},scopedSlots:r._u([{key:"error",fn:function(){return[o("i",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o el-icon-picture-outline fs-30"})]},proxy:!0}],null,!0)}):o("i",{staticClass:"ww hh pos-a tp-0 lf-0 ta-o el-icon-picture-outline fs-30"})]}}],null,!1,2717508898)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("description"),width:"200"},scopedSlots:r._u([{key:"default",fn:function(t){var e,l=t.row;return[o("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[r._v(r._s(l.stok.stokcins))]),r._v(" "),o("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[r._v(r._s(l.stok.barkod))]),r._v(" "),r.isRefundableStokKodList.includes(l.stok_kod)?r._e():o("el-button",{staticClass:"mt10",attrs:{disabled:(null===(e=l.tedarik_islem)||void 0===e?void 0:e.id)==r.b2bIadeSiparisDurum,type:"primary",size:"mini"},on:{click:function(t){return r.rowRefund(l)}}},[r._v("Talep Oluştur")])]}}],null,!1,2184165663)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Durum"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13"},[r._v(r._s(null!=e.tedarik_islem?e.tedarik_islem.tanimad:"-"))])]}}],null,!1,1321794503)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Üretici"),width:"150"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13"},[r._v(r._s(null!=e.stok&&null!=e.stok.uretici?e.stok.uretici.ureticiad:"-"))])]}}],null,!1,3975109892)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("Miktar"),align:"right"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13"},[r._v(r._s(Math.round(e.out_miktar)))])]}}],null,!1,2291558300)}),r._v(" "),o("el-table-column",{attrs:{label:r.$t("price"),align:"right"},scopedSlots:r._u([{key:"default",fn:function(t){var e=t.row;return[o("span",{staticClass:"fs-13 fw-6 ls-1"},[r._v(r._s(r.$currencyFormat(e.net_tutar,r.currency)))])]}}],null,!1,3473139357)})],1)],2)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(6),header=r(4),footer=r(3),l={components:{headerWrap:header.default,footerWrap:footer.default,paginationCard:o.default},data(){return{currency:this.$store.state.firmBaseCurrency||"TRY",orderListTitle:this.$t("order")+" "+this.$t("list"),activeName:"pending",userData:this.$cookies.get("b2bUserInfo")||null,payIframe:null,payDrawer:!0,terminalList:[],orderList:null,tableData:[],listLoading:!1,isEmpty:!1,orderTakeDrawer:!1,total:0,listQueryPaid:{pageNo:1,pageCount:10},multipleSelection:[],statusColor:["error","b2bUserInfo","success","warning","warning","success","success","success","error"],listQuery:{page:1,limit:10,firma:"",tumbelgeler_clid:"",tarih_start:"",tarih_end:"",pay_status:1}}},created(){this.getList(),this.getTerminal(),this.$nuxt.$on("currency",t=>this.currency=t)},methods:{getList(){var t=Object.keys(this.listQuery).map(t=>t+"="+this.listQuery[t]).join("&");this.$apis.get("api/user/referral/order/list?"+t).then(t=>{this.tableData=t.data.KiboApp.Response.data.list,this.total=t.data.KiboApp.Response.data.rowCount,this.listLoading=!1}).catch(t=>{this.isEmpty=!0,this.listLoading=!1})},getTakeOrder(t){this.orderTakeDrawer=!0,this.orderListTitle=t.aciklama,this.orderList=t.stokinout},getTerminal(){this.$apis.get("api/tclnt/list?id=&clname=&idSort&clsortSort=asc&clnameSort&limit=100&page=1").then(t=>{this.terminalList=t.data.KiboApp.Response.data.list}).catch(t=>{this.terminalList=[]})},getPay(t){""!=t&&(this.payIframe=t)},paddy(t,e,r){var o=void 0!==r?r:"0",l=new Array(1+e).join(o);return(l+t).slice(-l.length)},ParseStamp(t){var e=new Date(t);return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+"<br>"+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)},clearChecked(){this.$refs.multipleTable.clearSelection()},multiPay(){var t=[];JSON.parse(JSON.stringify(this.multipleSelection)).map(function(e,i){t.push(e.id)}),window.location=this.localePath("/uye/odeme/"+t.join(";"))},handleSelectionChange(t){this.multipleSelection=t},paginationData(t){this.listQuery.limit=t.pageCount,this.listQuery.page=t.pageNo,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("reference_order")}}},n=(r(529),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("member")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("reference_order")))])],1
1)],1)])]),t._v(" "),null!=t.userData?e("section",{staticClass:"ww fl py20",staticStyle:{"background-color":"var(--section)"}},[e("div",{class:"myOrderList wrapper mrau"},[e("div",{class:"referansDate ww fl WrapGutter ItemShadow ww fl pos-r bg-white"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],class:"ww fl"+(t.listLoading?" py50":"")},[e("div",{staticClass:"ww fl pt10 pr50 pos-r"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-input",{staticClass:"ww fl",attrs:{placeholder:t.$t("student")},model:{value:t.listQuery.firma,callback:function(e){t.$set(t.listQuery,"firma",e)},expression:"listQuery.firma"}})],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-select",{staticClass:"ww fl",attrs:{"no-data-text":t.$t("no_data"),placeholder:t.$t("class")},model:{value:t.listQuery.tumbelgeler_clid,callback:function(e){t.$set(t.listQuery,"tumbelgeler_clid",e)},expression:"listQuery.tumbelgeler_clid"}},t._l(t.terminalList,function(t){return e("el-option",{key:t.id,attrs:{"value-key":"clname",label:t.clname,value:t.id}})}),1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-date-picker",{staticClass:"ww fl",attrs:{type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:t.$t("start_date")},model:{value:t.listQuery.tarih_start,callback:function(e){t.$set(t.listQuery,"tarih_start",e)},expression:"listQuery.tarih_start"}})],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:6,xs:24}},[e("el-date-picker",{attrs:{type:"datetime","default-time":"23:59:59","value-format":"yyyy-MM-dd HH:mm:ss",placeholder:t.$t("end_date")},model:{value:t.listQuery.tarih_end,callback:function(e){t.$set(t.listQuery,"tarih_end",e)},expression:"listQuery.tarih_end"}})],1)],1),t._v(" "),e("div",{staticClass:"ww fl mt10"}),t._v(" "),e("div",{staticClass:"w40 mt10 mr5 pos-a rg-0 tp-0"},[e("el-button",{staticClass:"w40 h40 ta-o",attrs:{type:"primary",icon:"el-icon-search"},on:{click:t.getList}})],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.tableData.length>0?e("div",{class:"ww fl mb15"},[t.total>0?e("div",{class:"ww fl my10"},[e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.page,pageCount:t.listQuery.limit,dataCount:t.total}},on:{paginationData:t.paginationData}})],1):t._e(),t._v(" "),t.multipleSelection.length>0?e("div",{staticClass:"ww fl pl15"},[e("el-button",{attrs:{size:"mini",type:"primary"},on:{click:t.multiPay}},[t._v(t._s(t.$t("payment")))])],1):t._e(),t._v(" "),e("el-table",{ref:"multipleTable",staticStyle:{width:"100%"},attrs:{data:t.tableData,stripe:""},on:{"selection-change":t.handleSelectionChange}},[e("el-table-column",{attrs:{label:t.$t("document"),"min-width":"110"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("div",{staticClass:"ww fl ta-ol"},[e("el-button",{staticClass:"fl mr10",attrs:{icon:"el-icon-zoom-in fs-20",size:"mini",circle:""},on:{click:function(e){return t.getTakeOrder(r.row)}}}),t._v(" "),e("span",{class:"fl fs-13"},[t._v(t._s(r.row.fattakipno))])],1)]}}],null,!1,3358878225)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("date"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{staticClass:"fl fs-13",domProps:{innerHTML:t._s(t.ParseStamp(r.row.tarih))}})]}}],null,!1,2327703962)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("student"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"ww fl fs-14 fw-b"},[t._v(t._s(null!=r.row.cari?r.row.cari.firma:"-"))]),t._v(" "),e("span",{class:"ww fl fs-13"},[t._v(t._s(r.row.firma||"-"))])]}}],null,!1,1856772548)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("class"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-12 fw-6"},[t._v(t._s(null!=r.row.terminal?r.row.terminal.clname:"-"))])]}}],null,!1,3640053089)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum")},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{class:"fs-12 fw-6"},[t._v(t._s(null!=r.row.siparis_durum?r.row.siparis_durum.tanimad:"-"))])]}}],null,!1,994749939)}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("amount"),align:"right","min-width":"100px"},scopedSlots:t._u([{key:"default",fn:function(r){return[e("span",{staticClass:"fs-16 fw-7 ls-1"},[t._v(t._s(t.$currencyFormat(r.row.borctl,t.currency)))])]}}],null,!1,2714658009)}
1)],1),t._v(" "),t.total>0?e("div",{staticClass:"ww fl my10"},[e("paginationCard",{attrs:{pageData:{pageNo:t.listQuery.page,pageCount:t.listQuery.limit,dataCount:t.total}},on:{paginationData:t.paginationData}})],1):t._e()],1):t._e()])])])]):t._e(),t._v(" "),e("footerWrap"),t._v(" "),e("el-drawer",{attrs:{title:t.orderListTitle,size:"40%","custom-class":"orderList",visible:t.orderTakeDrawer},on:{"update:visible":function(e){t.orderTakeDrawer=e}}},[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.orderList,height:"100%"}},[e("el-table-column",{attrs:{label:t.$t("description"),width:"200"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"ww fl fs-14 txt-dark fw-5 ln-20"},[t._v(t._s(o.stok.stokcins))]),t._v(" "),e("span",{staticClass:"ww fl fs-12 ls-1 ln-15"},[t._v(t._s(o.stok.barkod))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Durum")}}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("Miktar"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"fs-13"},[t._v(t._s(Math.round(o.out_miktar)))])]}}])}),t._v(" "),e("el-table-column",{attrs:{label:t.$t("price"),align:"right"},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.row;return[e("span",{staticClass:"pr5 fs-13 fw-6 ls-1"},[t._v("\r\n                "+t._s(t.$currencyFormat(o.net_tutar,t.currency))+"\r\n            ")])]}}])})],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(20),l=r(21),n=r(22),c=r(6),d={components:{headerWrap:header.default,footerWrap:footer.default,lotListCard:o.default,itemRowCard:l.default,itemGridCard:n.default,paginationCard:c.default},data(){return{loading:!0,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:20,filterList:{kategoriad:this.$route.query.name||"",limit:this.$route.query.size||40,page:this.$route.query.page||1}}},created(){this.getList()},methods:{getList(){this.$apis.get("api/kategori/list?kategoriad="+(this.$route.query.name||this.filterList.kategoriad)+"&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getSearch(){""!=this.filterList.at_name&&this.$router.replace({query:{name:this.filterList.at_name,page:1,size:25}}),this.filterList.page=1,this.filterList.limit=40,this.getList()},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]=""},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Kategori")}}},m=(r(536),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Yazar")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$route.params.id))])],1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.at_name")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.at_name,callback:function(e){t.$set(t.filterList,"at_name",e)},expression:"filterList.at_name"}}
1,[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{span:8}},[e("nuxt-link",{staticClass:"ww fl mb20",attrs:{to:t.localePath("/kisi/"+r.seo_link+"?author_seo_link="+r.seo_link+"&at_who="+r.at_who)}},[e("el-card",{attrs:{shadow:"never"}},[t._v("\n                          "+t._s(r.at_name)+"\n                        ")])],1)],1)}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(20),l=r(21),n=r(22),c=r(6),d={components:{headerWrap:header.default,footerWrap:footer.default,lotListCard:o.default,itemRowCard:l.default,itemGridCard:n.default,paginationCard:c.default},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!0,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firmBaseCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:20,filterList:{ureticiad:this.$route.query.name||"",limit:this.$route.query.size||40,page:this.$route.query.page||1}}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.getList()},methods:{getList(){var t=this.$cookies.get("web_login_access_token");if(!this.isPublic&&!t)return this.noData=!0,void(this.loading=!1);this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"producer/list?ureticiad="+(this.$route.query.name||this.filterList.ureticiad)+"&ureticiad_char_start="+this.$route.params.id+"&at_who=&idSort=&ureticiad_equals=0&ureticiadSort=desc&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getSearch(){""!=this.filterList.ureticiad&&this.$router.replace({query:{name:this.filterList.ureticiad,page:1,size:25}}),this.filterList.page=1,this.filterList.limit=40,this.getList()},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]=""},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Üretici")}}},m=d,h=(r(537),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("Üretici")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$route.params.id))])],1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.ureticiad")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.ureticiad,callback:function(e){t.$set(t.filterList,"ureticiad",e)},expression:"filterList.ureticiad"}}
1,[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:10}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{span:8}},[e("nuxt-link",{staticClass:"ww fl mb20",attrs:{to:t.localePath(t.getMakeSeoLink(r,"uretici"))}},[e("el-card",{attrs:{shadow:"never"}},[t._v("\n                          "+t._s(r.ureticiad)+"\n                        ")])],1)],1)}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3),o=r(20),l=r(21),n=r(22),c=r(6),d={components:{headerWrap:header.default,footerWrap:footer.default,lotListCard:o.default,itemRowCard:l.default,itemGridCard:n.default,paginationCard:c.default},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!0,noData:!1,userData:this.$cookies.get("b2bUserInfo")||null,currency:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bDefaultCurrency||"TRY",list_mode:this.$cookies.get("list_mode")||"list",timeFixed:!1,auctionId:null,skeletonLoading:!0,pageData:null,pageDataCount:0,filterList:{at_name:this.$route.query.name||"",at_who:this.$route.query.at_who||0,limit:this.$route.query.size||40,page:this.$route.query.page||1},emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")],emekTipPathList:["yazar","cevirmen","edidor","grafiker","mizanpaj","yayin_yonetmeni","cizer","fografci","hazirlayan","redaktor"]}},created(){for(var i=0;i<this.allSetting.modules.length;i++){var t=this.allSetting.modules[i];"mod_b2bpublic"==t.md_name&&"1"==t.md_status&&(this.isPublic="public/")}this.getList()},methods:{getList(){var t=this.$cookies.get("web_login_access_token");if(!this.isPublic&&!t)return this.noData=!0,void(this.loading=!1);this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"authors/list?at_name="+(this.$route.query.name||this.filterList.at_name)+"&at_state=0&at_name_char_start="+this.$route.params.id+"&at_who="+(this.$route.query.at_who||this.filterList.at_who)+"&idSort=&at_name_equals=0&at_nameSort=desc&limit="+(this.$route.query.size||this.filterList.limit)+"&page="+(this.$route.query.page||this.filterList.page)).then(t=>{this.loading=!1,this.noData=!1;var e=t.data.KiboApp.Response.data;this.filterList.page=e.page,this.filterList.limit=e.pageIn,this.pageData=e.list,this.pageDataCount=e.rowCount}).catch(t=>{this.loading=!1,this.noData=!0,this.filterList.page=1,this.filterList.limit=40,this.pageData=null,this.pageDataCount=0})},getSearch(){""!=this.filterList.at_name&&this.$router.replace({query:{name:this.filterList.at_name,page:1,size:25}}),this.filterList.page=1,this.filterList.limit=40,this.getList()},clearInput(t){this.$router.replace({query:null}).catch(()=>{}),this[t]=""},paginationData(t){this.$route.query.size=t.pageCount,this.$route.query.page=t.pageNo,this.skeletonLoading=!0,this.getList()}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Yazar")+" - "+this.$route.params.id}}},m=(r(538),r(0)),component=Object(m.a)(d,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/list/yazar")}}},[t._v(t._s(t.$t("Yazarlar")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$route.params.id))])],1)],1)])]),t._v(" "),e("div",{staticClass:"filterBar ww fl bg-white",staticStyle:{position:"sticky",top:"60px","z-index":"1"}},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"filterWrap ww fl my5 px5"},[e("el-row",{attrs:{gutter:10}},[e("el-col",{attrs:{lg:16,md:16,sm:16,xs:24}},[e("div",{staticClass:"ww fl pl5",staticStyle:{"margin-top":"3px"}},[e("el-input",{staticClass:"input-with-select",attrs:{clearable:""},on:{clear:function(e){return t.clearInput("filterList.at_name")}},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getSearch.apply(null,arguments)}},model:{value:t.filterList.at_name,callback:function(e){t.$set(t.filterList,"at_name",e)},expression:"filterList.at_name"}},[e("el-select",{staticClass:"w150 fl",attrs:{slot:"prepend"},slot:"prepend",model:{value:t.filterList.at_who,callback:function(e){t.$set(t.filterList,"at_who",e)},expression:"filterList.at_who"}},[e("el-option",{attrs:{label:t.$t("Hepsi"),value:""}}),t._v(" "),t._l(t.emekTipList,function(t,r){return e("el-option",{key:r,attrs:{label:t,value:r}})}
1)],2),t._v(" "),e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getSearch},slot:"append"})],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"wrapper mrau px10 of-h pos-r"},[null!=t.pageData?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:15}},t._l(t.pageData,function(r,o){return e("el-col",{key:r+""+o,attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb15 pl50 p5 ItemShadow bg-white pos-r"},[e("el-link",{staticClass:"w40 h40 fl m5 pos-a tp-0 lf-0 ta-o",attrs:{href:t.localePath("/biyografi/"+r.id)}},[r.files&&r.files.length>0?e("div",{staticClass:"ww fl tp-0 lf-0",staticStyle:{"padding-top":"100%",position:"absolute"},attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("div",{staticClass:"ww hh pos-a tp-0 lf-0"},[e("el-image",{staticStyle:{width:"100%",height:"100%"}
1,attrs:{src:r.files[0].fl_url,fit:"contain"}})],1)]):e("span",{staticClass:"w40 h40 fl",attrs:{tooltip:t.$t("Biyografi"),placement:"right"}},[e("i",{staticClass:"w40 h40 ta-o fs-20 icon-user"})])]),t._v(" "),e("nuxt-link",{staticClass:"ww fl ln-23 ta-ol pos-r of-h fs-14 fw-b",staticStyle:{height:"23px","word-break":"break-all"},attrs:{to:t.localePath("/kisi/"+r.seo_link+"?author_seo_link="+r.seo_link+"&at_who="+r.at_who)}},[t._v(t._s(r.at_name))]),t._v(" "),e("p",{staticClass:"ww fl mb5 ln-12 fs-12 txt-sub fw-5"},[t._v(t._s(t.emekTipList[r.at_who]))])],1)])}),1)],1):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v("\n            "+t._s(t.$t("no_data"))+"\n          ")])]):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var header=r(4),footer=r(3);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=t.params;return{pageData:(yield e.$apis.get("api/content/detailBySeoLink/"+encodeURIComponent(r.id)).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:header.default,footerWrap:footer.default},data(){return{pageUrl:this.$store.state.firm.b2bSiteDomain.replace(/\/+$/,""),pageData:null}},created(){},mounted(){this.$share()},methods:{},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.pageData?this.pageData.content_title:this.$t("Yazılar")}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl pb20 bg-white"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt15 WrapGutter"},[e("el-breadcrumb",{attrs:{separator:"/"}},[e("el-breadcrumb-item",{attrs:{to:t.localePath("/")}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:t.localePath("/sayfa/list")}},[t._v(t._s(t.$t("Sayfalar")))]),t._v(" "),t.pageData?e("el-breadcrumb-item",[t._v(t._s(t.pageData.content_title))]):t._e()],1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"ww fl mt20 WrapGutter"},[e("div",{staticClass:"ww fl mb50 pb50"},[e("h1",{staticClass:"ww fl mb15 fs-20"},[t._v(t._s(t.pageData.content_title))]),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.pageData.content_text)}})])]),t._v(" "),e("div",{staticClass:"ww fl mt30 mb5 fs-12 ta-o"},[t._v(t._s(t.$t("share")))]),t._v(" "),e("div",{staticClass:"ww fl mb30 ta-o"},[e("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1da1f2"},attrs:{"data-sharer":"twitter","data-title":t.pageData.content_title,"data-url":t.pageUrl+t.localePath("/urun/"+t.pageData.seo_link)}},[e("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-twitter-x"})]),t._v(" "),e("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#1877f2"},attrs:{"data-sharer":"facebook","data-url":t.pageUrl+t.localePath("/urun/"+t.pageData.seo_link)}},[e("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-facebook"})]),t._v(" "),e("button",{staticClass:"h30 fl mr5 mb5 px10 ln-30 rds fs-14 txt-white ta-ol fw-6 cr-p",staticStyle:{"background-color":"#25d366"},attrs:{"data-sharer":"whatsapp","data-web":"false","data-title":t.pageData.content_title,"data-url":t.pageUrl+t.localePath("/urun/"+t.pageData.seo_link)}},[e("i",{staticClass:"h30 fl ta-o fs-18 txt-white icon-whatsapp"})])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(11),l=r(79),n=r(5),header=r(4),footer=r(3);function c(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var d={asyncData(t){return(e=function*(){for(var e=t.app,r=t.params,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":o)+"authors/list?id="+r.id).then(t=>({data:t.data.KiboApp.Response.data.list[0],isShowPage:!0,noData:!1}
1)).catch(()=>({data:null,isShowPage:!0,noData:!0}));return{pageData:n.data,isShowPage:n.isShowPage,noData:n.noData}},function(){var t=this,r=arguments;return new Promise(function(o,l){var a=e.apply(t,r);function n(t){c(a,o,l,n,d,"next",t)}function d(t){c(a,o,l,n,d,"throw",t)}n(void 0)})})();var e},components:{Swiper:n.Swiper,SwiperSlide:n.SwiperSlide,prodCard:o.default,biyografiCard:l.default,headerWrap:header.default,footerWrap:footer.default},data(){return{isPublic:"",allSetting:this.$store.state.firm,loading:!0,noData:!1,isShowPage:!1,pageData:null,urunList:null}},created(){this.getList()},methods:{getList(){this.loading=!0;for(var t="",i=0;i<this.allSetting.modules.length;i++){var e=this.allSetting.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(t="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":t)+"product/search?&author_id="+this.$route.params.id+"&limit=50&page=1").then(t=>{this.urunList=t.data.KiboApp.Response.data.list}).catch(()=>{this.urunList=null})},sliderOption(t){return{spaceBetween:20,slidesPerView:this.$device.isMobile?1:t.view,autoplay:{delay:t.delay},navigation:{nextEl:".nextImg"+t.key,prevEl:".prevImg"+t.key}}}},head(){var t="/biyografi/"+this.$route.params.id,title="",e="",r="";this.pageData&&(title=this.pageData.seo_title,e=this.pageData.seo_keywords,r=this.pageData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},m=d,h=(r(540),r(0)),component=Object(h.a)(m,function(){var t=this,e=t._self._c;return e("div",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"ww fl py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/list/yazar")}}},[t._v(t._s(t.$t("Yazarlar")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.pageData?t.pageData.at_name:t.$t("Yazar")))])],1
1)],1)])]),t._v(" "),e("section",{staticClass:"ww fl py20"},[t.isShowPage?e("div",{staticClass:"wrapper mrau px10"},[null!=t.pageData?e("biyografiCard",{attrs:{yazar:t.pageData}}):t._e(),t._v(" "),t.noData?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):t._e()],1):t._e()]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.urunList?e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10"},[e("nuxt-link",{staticClass:"ww fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.localePath("/kisi/"+t.pageData.seo_link+"?author_seo_link="+t.pageData.seo_link+"&at_who="+t.pageData.at_who),target:"_blank"}},[e("i",{staticClass:"w30 h40 fl ta-ol el-icon-magic-stick fs-24"}),t._v("\n          "+t._s(t.$t("Tüm Eserleri"))+"\n        ")]),t._v(" "),e("div",{staticClass:"ww fl pb15 pos-r"},[e("swiper",{ref:"swiper0",staticClass:"swiper",attrs:{options:t.sliderOption({key:0,view:6,delay:4e3})}},t._l(t.urunList,function(t,r){return e("swiper-slide",{key:r},[e("prodCard",{attrs:{item:t,"pricebar-show":!1,lazyImage:!1}})],1)}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w80 h40 mb15 pos-a rg-0 bt-100 ta-o z1"},[e("div",{staticClass:"h40 mt5 rds30 pos-a tp-0 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{class:"prevImg0 w40 h40 cr-p ta-o fs-20 icon-arrow-left"}),t._v(" "),e("div",{class:"nextImg0 w40 h40 cr-p ta-o fs-20 icon-arrow-right"})])]):t._e()],1)],1)]):t._e(),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=t.params,o=isNaN(1*r.id)?"detailBySeoLink":"detailById";return{item:(yield e.$apis.get("api/content/"+o+"/"+r.id).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,item:null}},methods:{dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.item?this.item.content_title:this.firmSetting.b2bWebTitle}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/blog")}}},[t._v("Blog")]),t._v(" "),null!=t.item?e("el-breadcrumb-item",[t._v(t._s(t.item.content_title))]):t._e()],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"cq-row cq-gap-40 ww fl mt20"},[t.item.files.length>0?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("img",{staticClass:"ww fl p5 bdr rds5 object-cover",staticStyle:{height:"220px"},attrs:{src:t.item.files[0].fl_url,alt:t.item.content_title}})]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("span",{staticClass:"h30 fl mb5 fs-14 ta-o"},[e("i",{staticClass:"fl fs-18 icon-takvim"}),t._v("  "),e("span",[t._v(t._s(t.dateFormat(t.item.created_at)))])]),t._v(" "),e("h1",{staticClass:"ww fl mb20 ln-40 fw-7 fs-33"},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww fl"},t._l(t.item.tags,function(r,o){return e("span",{key:o,staticClass:"h30 fl mr5 mb5 px10 fw-6 fs-11 bdr rds30"},[t._v(t._s(r.prcg_name))])}),0)])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),null!=t.item?e("div",{staticClass:"ww fl my20",domProps:{innerHTML:t._s(t.item.content_text)}}):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e=t.app,r=t.route,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n={producer_seo_link:r.query.producer_seo_link||"",category_seo_link:r.query.category_seo_link||"",tag_seo_link:r.query.tag_seo_link||"",author_seo_link:r.query.author_seo_link||"",producer_id:r.query.producer_id||"",author_id:r.query.author_id||"",tag_id:r.query.tag_id||"",category_id:r.query.category_id||"",search_text:decodeURIComponent(r.query.search_text||""),scarttype:r.query.scarttype||"",bestseller_proc_day:r.query.bestseller_proc_day||"7",lastrelease_proc_day:r.query.lastrelease_proc_day||"",quantity:r.query.quantity||"",sort_type:r.query.sort_type||"0",limit:r.query.size||40,page:r.query.page||1},c=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":o)+"product/search?search_text="+(n.search_text||"")+"&producer_seo_link="+(n.producer_seo_link||"")+"&category_seo_link="+(n.category_seo_link||"")+"&tag_seo_link="+(n.tag_seo_link||"")+"&author_seo_link="+(n.author_seo_link||"")+"&bestseller_proc_day="+(n.bestseller_proc_day||"")+"&scarttype="+(n.scarttype||"")+"&producer_id="+(n.producer_id||"")+"&category_id="+(n.category_id||"")+"&tag_id="+(n.tag_id||"")+"&author_id="+(n.author_id||"")+"&quantity="+(n.quantity||"")+"&sort_type="+n.sort_type+"&limit="+(n.limit||40)+"&page="+(n.page||1)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:n,pageTitle:e.i18n.t("Çok Satanlar")})).catch(()=>({data:null,list:null,count:0,filterList:n,pageTitle:""}));return{apiData:c.data,pageData:c.list,rowCount:c.count,filterList:c.filterList,pageTitle:c.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/coksatanlar",title="",e="",r="";this.apiData&&(title=this.pageTitle+" - "+this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.$t("Çok Satanlar"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c="",d="";o.query.tag_seo_link?c=decodeURIComponent(o.query.tag_seo_link):o.query.tag_id?d=o.query.tag_id:c=decodeURIComponent(o.params.name);var m={producer_seo_link:o.query.producer_seo_link||"",category_seo_link:o.query.category_seo_link||"",tag_seo_link:c||"",author_seo_link:o.query.author_seo_link||"",producer_id:o.query.producer_id||"",author_id:o.query.author_id||"",tag_id:d||"",category_id:o.query.category_id||"",search_text:decodeURIComponent(o.query.search_text||""),scarttype:o.query.scarttype||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1},h=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(m)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:m,pageTitle:t.data.KiboApp.Response.data.seo_title})).catch(()=>({list:null,count:0,filterList:m,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+r.i18n.t("Etiket")}));return{pageUrl:o.params.name,apiData:h.data,pageData:h.list,rowCount:h.count,filterList:h.filterList,pageTitle:h.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/etiket/"+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageUrlType:"etiket",pageTitle:t.$t("Etiket"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=t.params,o=isNaN(1*r.id)?"detailBySeoLink":"detailById";return{item:(yield e.$apis.get("api/content/"+o+"/"+r.id).then(t=>({data:t.data.KiboApp.Response.data}
1)).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,item:null}},methods:{dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("news")+" - "+(this.item?this.item.content_title:this.firmSetting.b2bWebTitle)}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/haberler")}}},[t._v(t._s(t.$t("news")))]),t._v(" "),null!=t.item?e("el-breadcrumb-item",[t._v(t._s(t.item.content_title))]):t._e()],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl mb50 pb50"},[e("div",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"cq-row cq-gap-40 ww fl mt20"},[t.item.files.length>0?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("img",{staticClass:"ww fl p5 bdr rds5 object-cover",staticStyle:{height:"220px"},attrs:{src:t.item.files[0].fl_url,alt:t.item.content_title}})]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("span",{staticClass:"h30 fl mb5 fs-14 ta-o"},[e("i",{staticClass:"fl fs-18 icon-takvim"}),t._v("  "),e("span",[t._v(t._s(t.dateFormat(t.item.created_at)))])]),t._v(" "),e("h1",{staticClass:"ww fl mb20 ln-40 fw-7 fs-33"},[t._v(t._s(t.item.content_title))]),t._v(" "),e("div",{staticClass:"ww fl"},t._l(t.item.tags,function(r,o){return e("span",{key:o,staticClass:"h30 fl mr5 mb5 px10 fw-6 fs-11 bdr rds30"},[t._v(t._s(r.prcg_name))])}),0)])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),null!=t.item?e("div",{staticClass:"ww fl my20",domProps:{innerHTML:t._s(t.item.content_text)}}):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={data:()=>({slider1Id:null}),mounted(){this.getLoadSetting()},methods:{getLoadSetting(){this.$store.dispatch("setting/loadSetting",{merchant_id:this.$route.params.id}).then(t=>{this.$nuxt.$emit("getB2Bsetting","installWebSetting"),setTimeout(()=>{window.location=this.localePath("/")},250)},t=>{this.$message({message:t,type:"error"})})}}},l=r(0),component=Object(l.a)(o,function(){var t=this._self._c;return t("main",[t("div",{directives:[{name:"loading",rawName:"v-loading",value:!0,expression:"true"}],staticClass:"ww fl p50"})])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c="",d="";o.query.category_seo_link?c=decodeURIComponent(o.query.category_seo_link):o.query.category_id?d=o.query.category_id:c=decodeURIComponent(o.params.name);var m={search_text:decodeURIComponent(o.query.search_text||""),producer_seo_link:o.query.producer_seo_link||"",category_seo_link:c||"",tag_seo_link:o.query.tag_seo_link||"",author_seo_link:o.query.author_seo_link||"",producer_id:o.query.producer_id||"",author_id:o.query.author_id||"",tag_id:o.query.tag_id||"",category_id:d||"",scarttype:o.query.scarttype||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1},h=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(m)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:m,pageTitle:t.data.KiboApp.Response.data.seo_title})).catch(()=>({data:null,list:null,count:0,filterList:m,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+r.i18n.t("Kategori")}));return{pageUrl:o.params.name,apiData:h.data,pageData:h.list,rowCount:h.count,filterList:h.filterList,pageTitle:h.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/kategori/"+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageUrlType:"kategori",pageTitle:t.$t("Kategori"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c="",d="";o.query.author_seo_link?c=decodeURIComponent(o.query.author_seo_link):o.query.author_id?d=o.query.author_id:c=decodeURIComponent(o.params.name);var m={producer_seo_link:o.query.producer_seo_link||"",category_seo_link:o.query.category_seo_link||"",tag_seo_link:o.query.tag_seo_link||"",author_seo_link:c||"",producer_id:o.query.producer_id||"",author_id:d||"",tag_id:o.query.tag_id||"",category_id:o.query.category_id||"",search_text:decodeURIComponent(o.query.search_text||""),scarttype:o.query.scarttype||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1},h=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(m)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:m,pageTitle:t.data.KiboApp.Response.data.seo_title})).catch(()=>({data:null,list:null,count:0,filterList:m,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+r.i18n.t("Kişi")}));return{pageUrl:o.params.name,apiData:h.data,pageData:h.list,rowCount:h.count,filterList:h.filterList,pageTitle:h.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data(){return{apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null,emekTipList:[this.$t("Yazar"),this.$t("Çevirmen"),this.$t("Editör"),this.$t("Grafiker"),this.$t("Dizgici / Mizanpaj"),this.$t("Yayın Yönetmeni"),this.$t("Resimleyen (Çizer)"),this.$t("Fotoğrafçı"),this.$t("Hazırlayan"),this.$t("Redaktör Düzeltmen")]}},head(){var t="/kisi/"+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageUrlType:"kisi",pageTitle:t.emekTipList[t.$route.query.at_who||0],ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},created(){this.clearCookie();var t={path:"/",maxAge:86400};if(console.log(this.$route.query.corpId,this.$route.params.corpId),this.$route.query.corpId){var e="https://b2bapi.onsocloud.com/api/merchant/list?id="+this.$route.query.corpId+"&limit=1&page=1";this.$axios.get(e).then(e=>{var r,o,l=e.data.KiboApp.Response.data.list[0];console.log(l.b2bSiteDomain,(r=l.b2bSiteDomain,o=(o=!0)||!1,r=r.replace(/(https?:\/\/)?(www.)?/i,""),o||(r=(r=r.split(".")).slice(r.length-2).join(".")),-1!==r.indexOf("/")?r.split("/")[0]:r)),this.$cookies.set("appDomain","huner
1yayinevi.onsocloud.com",t)}).catch(()=>{})}else this.$axios.get("https://b2bapi.onsocloud.com/api/merchant/corp/list?id=&ckod="+this.$route.params.corpId+"&firma&eposta&limit=1000&page=1",{headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(e=>{var r=e.data.KiboApp.Response.data.list[0];this.firmSetting.updateFooterDetail?(r.files.length>0&&(this.$cookies.set("web_logo_favicon",r.files[0].fl_url,t),this.$cookies.set("web_logo",r.files[0].fl_url,t),this.$cookies.set("web_logo_foter",r.files[0].fl_url,t)),this.$cookies.set("web_title",r.firma,t),this.$cookies.set("web_footer_head_title",r.firma,t),this.$cookies.set("web_footer_title","",t),this.$cookies.set("web_footer_address",r.adres,t),this.$cookies.set("web_email",r.eposta,t),this.$cookies.set("web_phone",r.ceptel,t)):(this.$cookies.set("web_email",this.firmSetting.b2bMail,t),this.$cookies.set("web_phone",this.firmSetting.b2bPhone,t)),this.$cookies.set("corpId",r.id,t),this.$cookies.set("appSubFirm",1,t);var o=this.$route.query.elem_id;location.href=this.localePath("/auth/giris".concat(o?"?elem_id=".concat(o):""))}).catch(()=>{})},methods:{clearCookie(){this.$cookies.remove("b2bUserInfo",{path:"/"}),this.$cookies.remove("userId",{path:"/"}),this.$cookies.remove("userName",{path:"/"}),this.$cookies.remove("userSurname",{path:"/"}),this.$cookies.remove("basketCount",{path:"/"}),this.$cookies.remove("userBasketId",{path:"/"}),this.$cookies.remove("isGuestLogin",{path:"/"}),this.$cookies.remove("web_login_access_token",{path:"/"})}}},l=r(0),component=Object(l.a)(o,function(){return(0,this._self._c)("div",{directives:[{name:"loading",rawName:"v-loading",value:!0,expression:"true"}],staticClass:"ww fl p50"})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=t.params,o=isNaN(1*r.id)?"detailBySeoLink":"detailById";return{item:(yield e.$apis.get("api/content/"+o+"/"+r.id).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,item:null}},methods:{dateFormat(time){var t=time.split(" ");return(t=t[0].split("-"))[2]+"-"+t[1]+"-"+t[0]}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.$t("Referanslar")+" - "+(this.item?this.item.content_title:this.firmSetting.b2bWebTitle)}}},n=l,c=(r(541),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/referanslar")}}},[t._v(t._s(t.$t("Referanslar")))]),t._v(" "),null!=t.item?e("el-breadcrumb-item",[t._v(t._s(t.item.content_title))]):t._e()],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl mt20 mb50 pb50"},[e("div",{staticClass:"wrapper mrau"},[e("div",{staticClass:"cq-row cq-gap-40 ww fl mt20 mb50 pb50"},[t.item.files.length>0?e("div",{staticClass:"cq-col-lg-6 cq-col-md-6 cq-col-sm-6 cq-col-xs-24"},[e("img",{staticClass:"ww fl p15 bdr rds5 pos-sc",staticStyle:{top:"60px"},attrs:{src:t.item.files[0].fl_url,alt:t.item.content_title}})]):t._e(),t._v(" "),e("div",{staticClass:"cq-col-lg-18 cq-col-md-18 cq-col-sm-18 cq-col-xs-24"},[e("div",{staticClass:"ww fl px10"},[e("h1",{staticClass:"ww fl mb20 ln-40 fw-7 fs-33"},[t._v(t._s(t.item.content_title))])]),t._v(" "),null!=t.item?e("div",{staticClass:"ww fl page_content_text",domProps:{innerHTML:t._s(t.item.content_text)}}):t._e()])])])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var footer=r(3),o=r(328);function l(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var n={asyncData(t){return(e=function*(){var e=t.app,r=t.params,o=(t.redirect,yield e.$apis.get("api/content/detailBySeoLink/"+encodeURIComponent(r.id)).then(t=>({data:JSON.parse(t.data.KiboApp.Response.data.content_text),page:t.data.KiboApp.Response.data}
1)).catch(t=>{console.log(t)}));return{jsonData:o.data,item:o.page}},function(){var t=this,r=arguments;return new Promise(function(o,n){var a=e.apply(t,r);function c(t){l(a,o,n,c,d,"next",t)}function d(t){l(a,o,n,c,d,"throw",t)}c(void 0)})})();var e},components:{referansSlider:o.default,footerWrap:footer.default},data(){return{item:null,jsonData:null,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},computed:{svgBg(){for(var t=this.jsonData.pageColor.replace("#",""),e=parseInt(t.substring(0,2),16),g=parseInt(t.substring(2,4),16),b=parseInt(t.substring(4,6),16),r="",i=0;i<10;i++){var o=1-.05*i,l=Math.round(e*o),n=Math.round(g*o),c=Math.round(b*o);r="#"+d(l)+d(n)+d(c)}function d(t){var e=t>255?"ff":t.toString(16);return e.length<2?"0"+e:e}return"background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='0' x2='0' y1='0' y2='100%25' gradientTransform='rotate(175,799,414)'%3E%3Cstop offset='0' stop-color='%23"+r.replace(/#/,"")+"'/%3E%3Cstop offset='1' stop-color='%23"+this.jsonData.pageColor.replace(/#/,"")+"'/%3E%3C/linearGradient%3E%3Cpattern patternUnits='userSpaceOnUse' id='b' width='540' height='450' x='0' y='0' viewBox='0 0 1080 900'%3E%3Cg fill-opacity='0.1'%3E%3Cpolygon fill='%23444' points='90 150 0 300 180 300'/%3E%3Cpolygon points='90 150 180 0 0 0'/%3E%3Cpolygon fill='%23AAA' points='270 150 360 0 180 0'/%3E%3Cpolygon fill='%23DDD' points='450 150 360 300 540 300'/%3E%3Cpolygon fill='%23999' points='450 150 540 0 360 0'/%3E%3Cpolygon points='630 150 540 300 720 300'/%3E%3Cpolygon fill='%23DDD' points='630 150 720 0 540 0'/%3E%3Cpolygon fill='%23444' points='810 150 720 300 900 300'/%3E%3Cpolygon fill='%23FFF' points='810 150 900 0 720 0'/%3E%3Cpolygon fill='%23DDD' points='990 150 900 300 1080 300'/%3E%3Cpolygon fill='%23444' points='990 150 1080 0 900 0'/%3E%3Cpolygon fill='%23DDD' points='90 450 0 600 180 600'/%3E%3Cpolygon points='90 450 180 300 0 300'/%3E%3Cpolygon fill='%23666' points='270 450 180 600 360 600'/%3E%3Cpolygon fill='%23AAA' points='270 450 360 300 180 300'/%3E%3Cpolygon fill='%23DDD' points='450 450 360 600 540 600'/%3E%3Cpolygon fill='%23999' points='450 450 540 300 360 300'/%3E%3Cpolygon fill='%23999' points='630 450 540 600 720 600'/%3E%3Cpolygon fill='%23FFF' points='630 450 720 300 540 300'/%3E%3Cpolygon points='810 450 720 600 900 600'/%3E%3Cpolygon fill='%23DDD' points='810 450 900 300 720 300'/%3E%3Cpolygon fill='%23AAA' points='990 450 900 600 1080 600'/%3E%3Cpolygon fill='%23444' points='990 450 1080 300 900 300'/%3E%3Cpolygon fill='%23222' points='90 750 0 900 180 900'/%3E%3Cpolygon points='270 750 180 900 360 900'/%3E%3Cpolygon fill='%23DDD' points='270 750 360 600 180 600'/%3E%3Cpolygon points='450 750 540 600 360 600'/%3E%3Cpolygon points='630 750 540 900 720 900'/%3E%3Cpolygon fill='%23444' points='630 750 720 600 540 600'/%3E%3Cpolygon fill='%23AAA' points='810 750 720 900 900 900'/%3E%3Cpolygon fill='%23666' points='810 750 900 600 720 600'/%3E%3Cpolygon fill='%23999' points='990 750 900 900 1080 900'/%3E%3Cpolygon fill='%23999' points='180 0 90 150 270 150'/%3E%3Cpolygon fill='%23444' points='360 0 270 150 450 150'/%3E%3Cpolygon fill='%23FFF' points='540 0 450 150 630 150'/%3E%3Cpolygon points='900 0 810 150 990 150'/%3E%3Cpolygon fill='%23222' points='0 300 -90 450 90 450'/%3E%3Cpolygon fill='%23FFF' points='0 300 90 150 -90 150'/%3E%3Cpolygon fill='%23FFF' points='180 300 90 450 270 450'/%3E%3Cpolygon fill='%23666' points='180 300 270 150 90 150'/%3E%3Cpolygon fill='%23222' points='360 300 270 450 450 450'/%3E%3Cpolygon fill='%23FFF' points='360 300 450 150 270 150'/%3E%3Cpolygon fill='%23444' points='540 300 450 450 630 450'/%3E%3Cpolygon fill='%23222' points='540 300 630 150 450 150'/%3E%3Cpolygon fill='%23AAA' points='720 300 630 450 810 450'/%3E%3Cpolygon fill='%23666' points='720 300 810 150 630 150'/%3E%3Cpolygon fill='%23FFF' points='900 300 810 450 990 450'/%3E%3Cpolygon fill='%23999' points='900 300 990 150 810 150'/%3E%3Cpolygon points='0 600 -90 750 90 750'/%3E%3Cpolygon fill='%23666' points='0 600 90 450 -90 450'/%3E%3Cpolygon fill='%23AAA' points='180 600 90 750 270 750'/%3E%3Cpolygon fill='%23444' points='180 600 270 450 90 450'/%3E%3Cpolygon fill='%23444' points='360 600 270 750 450 750'/%3E%3Cpolygon fill='%23999' points='360 600 450 450 270 450'/%3E%3Cpolygon fill='%23666' points='540 600 630 450 450 450'/%3E%3Cpolygon fill='%23222' points='720 600 630 750 810 750'/%3E%3Cpolygon fill='%23FFF' points='900 600 810 750 990 750'/%3E%3Cpolygon fill='%23222' points='900 600 990 450 810 450'/%3E%3Cpolygon fill='%23DDD' points='0 900 90 750 -90 750'/%3E%3Cpolygon fill='%23444' points='180 900 270 750 90 750'/%3E%3Cpolygon fill='%23FFF' points='360 900 450 750 270 750'/%3E%3Cpolygon fill='%23AAA' points='540 900 630 750 450 750'/%3E%3Cpolygon fill='%23FFF' points='720 900 810 750 630 750'/%3E%3Cpolygon fill='%23222' points='900 900 990 750 810 750'/%3E%3Cpolygon fill='%23222' points='1080 300 990 450 1170 450'/%3E%3Cpolygon fill='%23FFF' points='1080 300 1170 150 990 150'/%3E%3Cpolygon points='1080 600 990 750 1170 750'/%3E%3Cpolygon fill='%23666' points='1080 600 1170 450 990 450'/%3E%3Cpolygon fill='%23DDD' points='1080 900 1170 750 990 750'/%3E%3C/g%3E%3C/pattern%3E%3C/defs%3E%3Crect x='0' y='0' fill='url(%23a)' width='100%25' height='100%25'/%3E%3Crect x='0' y='0' fill='url(%23b)' width='100%25' height='100%25'/%3E%3C/svg%3E\");"},priceColSize(){var t=8;return 2==this.jsonData.section.price_table.list.length?t=12:4==this.jsonData.section.price_table.list.length&&(t=6),t}},mounted(){window.addEventListener("scroll",()=>{var t=document.documentElement.scrollTop||document.body.scrollTop;document.querySelector("header.FixedMenuKabuk")&&(t>100?document.querySelector("header.FixedMenuKabuk").classList.add("navShadow"):document.querySelector("header.FixedMenuKabuk").classList.remove("navShadow")),document.querySelector(".SayfaBasi")&&(t>=350?document.querySelector(".SayfaBasi").classList.remove("dp-n"):document.querySelector(".SayfaBasi").classList.add("dp-n"))},!1),this.accordion(),Array.from(document.querySelectorAll("#menu-toggle")).forEac
1h(t=>t.addEventListener("click",()=>{document.querySelector("#menu-toggle").classList.toggle("closeMenu"),document.querySelector(".FixedMenu ul").classList.toggle("showMenu")}))},methods:{getSectionScroll:section=>{document.getElementById(section)&&window.scroll({behavior:"smooth",left:0,top:document.getElementById(section).offsetTop})},readMore:t=>{"63px"==t.target.previousElementSibling.style.height?t.target.previousElementSibling.style.height="auto":t.target.previousElementSibling.style.height="63px"},accordion:()=>{function t(){var t=document.querySelectorAll(".js-acc-item"),e=this.parentNode;t.forEach(t=>{e!=t?t.classList.remove("is-open"):e.classList.toggle("is-open")})}document.querySelectorAll(".js-acc-single-trigger").forEach(e=>e.addEventListener("click",t))}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.item&&this.item.content_title?this.item.content_title:this.firmSetting.b2bWebTitle}}},c=n,d=(r(543),r(0)),component=Object(d.a)(c,function(){var t=this,e=t._self._c;return t.jsonData?e("main",{style:"--page-color:"+(t.jsonData.pageColor||"#adcb00")+";",attrs:{id:"pageTop"}},[e("header",{staticClass:"FixedMenuKabuk"},[e("nav",{staticClass:"FixedMenu wrapper-1240 mrau px20"},[e("div",{staticClass:"ww hh cq-row"},[e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-xs-2"},[e("a",{staticClass:"fl hh ta-o pos-r z9",attrs:{href:t.localePath("/")}},[e("img",{staticClass:"logo1 ww",attrs:{src:t.jsonData.logo,alt:"Logo"}}),t._v(" "),e("img",{staticClass:"logo2 ww dp-n",attrs:{src:t.jsonData.logo2?t.jsonData.logo2:t.jsonData.logo,alt:"Logo2"}})])]),t._v(" "),e("div",{staticClass:"cq-col-lg-20 cq-col-md-20 cq-col-xs-10"},[e("div",{staticClass:"hh",attrs:{id:"menu"}},[t._m(0),t._v(" "),e("ul",[t.jsonData.section.feature?e("li",[e("a",{staticClass:"cr-p",on:{click:function(e){return t.getSectionScroll("ozellikler")}}},[t._v("ÖZELLİKLER")])]):t._e(),t._v(" "),t.jsonData.section.module?e("li",[e("a",{staticClass:"cr-p",on:{click:function(e){return t.getSectionScroll("moduller")}}},[t._v("MODÜLLER")])]):t._e(),t._v(" "),t.jsonData.section.price_table?e("li",[e("a",{staticClass:"cr-p",on:{click:function(e){return t.getSectionScroll("fiyatlar")}}},[t._v("FİYATLAR")])]):t._e(),t._v(" "),t.jsonData.section.reference?e("li",[e("a",{staticClass:"cr-p",on:{click:function(e){return t.getSectionScroll("referanslar")}}},[t._v("REFERANSLAR")])]):t._e(),t._v(" "),t.jsonData.section.sss?e("li",[e("a",{staticClass:"cr-p",on:{click:function(e){return t.getSectionScroll("sss")}}},[t._v("S.S.S")])]):t._e(),t._v(" "),t.jsonData.contantUrl?e("li",[e("a",{staticClass:"cr-p",attrs:{href:t.jsonData.contantUrl}},[t._v("İLETİŞİM")])]):t._e(),t._v(" "),t.jsonData.phoneNumber?e("li",[e("a",{staticClass:"cr-p txt-white rds",staticStyle:{background:"var(--page-color)"},attrs:{href:"tel:"+t.jsonData.phoneNumber.replace(/[^0-9\.]+/g,"")}},[t._v(t._s(t.jsonData.phoneNumber))])]):t._e()])])])])])]),t._v(" "),t.jsonData&&t.jsonData.section.header?e("section",{staticClass:"PageHeader ww fl pt50 pos-r",style:t.svgBg},[e("div",{staticClass:"HeaderTitle wrapper-1240 mrau"},[e("div",{staticClass:"ww fl mt50 p20"},[e("div",{staticClass:"cq-row"},[e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-2"}),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-20"},[e("div",{staticClass:"ww fl pos-r ta-o fd-column"},[e("div",{staticClass:"cq-row"},[e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-2"}),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-20"},[e("div",{staticClass:"ww fl mt50 ta-o"},[e("span",{staticClass:"p10 px20 rds ta-c fs-18 bg-white fw-4",staticStyle:{color:"var(--page-color)","font-size":"18px!important"}},[t._v(t._s(t.jsonData.section.header.top_title))])]),t._v(" "),e("h1",{staticClass:"ww fl my20 ta-c fw-4 txt-white",staticStyle:{"font-size":"46px","line-height":"1.2"}},[t._v(t._s(t.jsonData.section.header.title))]),t._v(" "),e("p",{staticClass:"ww fl ta-c fs-16 ln-22 txt-white"},[t._v(t._s(t.jsonData.section.header.text))]),t._v(" "),t.jsonData.section.header.url?e("div",{staticClass:"ww fl mt30 ta-o"},[e("a",{staticClass:"Capa p10 px20 ta-c fw-4 txt-white bg-warning bg-error-hover rds",staticStyle:{"font-size":"20px","line-height":"1.2"},attrs:{href:t.jsonData.section.header.url,target:"_blank"}},[t._v(t._s(t.jsonData.section.header.button))])]):t._e(),t._v(" "),t.jsonData.section.header.user?e("p",{staticClass:"ww fl mt20 ta-c fs-12 txt-white"},[t._v("Kullanıcı :"+t._s(t.jsonData.section.header.user)+" - parola :"+t._s(t.jsonData.section.header.pass))]):t._e()]),t._v(" "),e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-2"})])]),t._v(" "),t.jsonData.section.header.img?e("div",[e("img",{attrs:{src:t.jsonData.section.header.img,alt:""}})]):t._e()]),t._v(" "),e("div",{staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-2"})])])]),t._v(" "),e("div",{staticClass:"ww fl m50"})]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.feature?e("section",{staticClass:"PageSection SectionBg_0 ww fl p50 pos-r",staticStyle:{background:"#f1f1f1"},attrs:{id:"ozellikler","data-next-color":"#f1f1f1","data-id":"0"}},[e("div",{staticClass:"wrapper-1240 mrau"},[e("div",{staticClass:"ww fl pt30 pb10 px20"},[e("h4",{staticClass:"ww fl mb30 pt15 pb10 fs-34 ta-c"},[t._v("ÖZELLİKLER")]),t._v(" "),e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-24 cq-col-md-24 cq-col-sm-24 cq-col-xs-24"},[e("div",{staticClass:"cq-row cq-gap-20",staticStyle:{"align-items":"center"}},t._l(t.jsonData.section.feature,function(r,o){return e("div",{key:o,staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-12 cq-col-xs-24"},[e("div",{staticClass:"ww fl p40 px10 bg-white rds5 of-h pos-r z1",staticStyle:{"box-shadow":"0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)"}},[e("div",{staticClass:"ww fl mb15 ta-o"},[e("img",{staticClass:"w80",attrs:{src:r.img,alt:"",srcset:""}})]),t._v(" "),e("h6",{staticClass:"ww fl mb10 ta-c fw-5"},[t._v(t._s(r.title))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("p",{staticClass:"moretext ta-c",staticStyle:{height:"63px"},attrs:{"data-height":"auto"}},[t._v(t._s(r.text))]),t._v(" "),e("div",{staticClass:"cr-p mt10 ta-c",on:{click:t.readMore}},[t._v("Devamı")])])])}),0)])])])]),t._v(" "),e("div",{staticClass:"ww fl mb50"})]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.module?e("section",{staticClass:"PageSection SectionBg_2 ww fl p50 pos-r",staticStyle:{background:"#fff"},attrs:{id:"moduller","data-next-color":"#fff","data-id":"2"}},[e("div",{staticClass:"ww fl m50"}),t._v(" "),e("div",{staticClass:"wrapper-1240 mrau"},[e("div",{staticClass:"ww fl px20"},[e("h4",{staticClass:"ww fl mb30 pt15 pb10 fs-34 ta-c"},[t._v("MODÜLLER")]),t._v(" "),e("div",{staticClass:"ww cq-row example-centered"},[e("div",{staticClass:"col-8-xs-12"},[e("ul",{staticClass:"timeline timeline-centered"},t._l(t.jsonData.section.module,function(r,o){return e("li",{key:o,staticClass:"timeline-item"},[t._m(1,!0),t._v(" "),e("div",{staticClass:"timeline-marker"}),t._v(" "),e("div",{staticClass:"timeline-content"},[e("h5",{staticClass:"timeline-title"},[t._v(t._s(r.title))]),t._v(" "),r.text?e("p",{staticClass:"fw-b"},[t._v(t._s(r.text))]):t._e(),t._v(" "),e("ul",{staticClass:"ww fl mb15 px10"},t._l(r.list,function(r,o){return e("li",{key:o,staticClass:"ww fl m5"},[e("svg",{staticStyle:{width:"14px",height:"14px",margin:"5px 5px 0 0",float:"left"},attrs:{viewBox:"0 0 24 24"}},[e("g",{attrs:{transform:"rotate(46.2,11.604497,6.9881861)"}},[e("path",{staticStyle:{fill:"#1c1b1e"},attrs:{d:"M 21.707,2.293 A 1,1 0 0 0 20.638,2.068 l -18,7 a 1,1 0 0 0 0.145,1.909 l 8.379,1.861 1.862,8.379 a 1,1 0 0 0 0.9,0.78 L 14,22 a 1,1 0 0 0 0.932,-0.638 l 7,-18 A 1,1 0 0 0 21.707,2.293 Z M 14.262,17.568 13.1,12.319 15.212,10.207 A 1,1 0 0 0 13.798,8.793 L 11.681,10.9 6.432,9.738 19.244,4.756 Z"}})])]),t._v("\n                                          "+t._s(r)+"\n                                        ")])}),0)])])}),0)])])])]),t._v(" "),e("div",{staticClass:"ww fl mb50"})]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.price_table?e("section",{staticClass:"PageSection SectionBg_1 ww fl p50 pos-r",staticStyle:{background:"#fafafa"},attrs:{id:"fiyatlar","data-next-color":"#fafafa","data-id":"1"}},[e("div",{staticClass:"ww fl mb50"}),t._v(" "),e("div",{staticClass:"wrapper-1240 mrau"},[e("div",{staticClass:"ww fl px20"},[e("h4",{staticClass:"ww fl pt15 pb10 fs-34 ta-c"},[t._v("FİYATLAR")]),t._v(" "),e("span",{staticClass:"ww fl mb30 fs-13 text-error ta-c"},[t._v(t._s(t.jsonData.section.price_table.note))]),t._v(" "),e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww cq-row cq-gap-20 pricing-table"},t._l(t.jsonData.section.price_table.list,function(r,o){return e("div",{key:o,class:"cq-col-lg-"+t.priceColSize+" cq-col-md-"+t.priceColSize+" cq-col-sm-12 cq-col-xs-24 mb20"},[e("div",{staticClass:"pricing-table__item"},[e("div",{staticClass:"ww fl mb15 ta-o"},[e("img",{staticClass:"w80",attrs:{src:r.img,alt:"",srcset:""}})]),t._v(" "),e("h3",{staticClass:"pricing-table__title pb5"},[t._v(t._s(r.name))]),t._v(" "),e("div",{staticClass:"pricing-table__description_"},[e("span",{staticClass:"pricing-table__tagline ww h80 fl my5 ln-20"},[t._v(t._s(r.title))]),t._v(" "),e("div",{staticClass:"ww h40 fl my15 ta-c"},[r.question?e("span",{staticClass:"pricing-table__price"},[t._v(t._s(r.question)),e("span",{staticClass:"fs-20 fw-4"})]):[e("span",{staticClass:"ww fl ta-c pricing-table__price"},[t._v(t._s(r.yearlyPrice)),e("span",{staticClass:"fs-20 fw-4"},[t._v("/ Yıl")])]),t._v(" "),e("span",{staticClass:"ww fl ta-c pricing-table__price aylik"},[t._v(t._s(r.monthlyPrice)),e("span",{staticClass:"fs-20 fw-4"},[t._v("/ Aylık")])])]],2)]),t._v(" "),e("ul",{staticClass:"pricing-table__products"},t._l(r.list,function(r,o){return e("li",{key:o,staticClass:"pricing-table__product"},[e("a",[t._v(t._s(r))])])}),0),t._v(" "),e("a",{staticClass:"Capa pricing-table__button",attrs:{target:"_blank",href:r.url}},[t._v("1 Ay Ücretsiz Kullanmak İçin İletişime Geçiniz!")])])])}),0)]),t._v(" "),t._m(2)])]),t._v(" "),e("div",{staticClass:"ww fl mb50"})]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.module_price?e("section",{staticClass:"PageSection SectionBg_1ss ww fl p50 pos-r",staticStyle:{background:"#fff"},attrs:{id:"FiyatTablo","data-next-color":"#fff","data-id":"1ss"}},[e("div",{staticClass:"ww fl mb50"}),t._v(" "),e("div",{staticClass:"wrapper-1240 mrau p30 pos-r"},[e("h4",{staticClass:"ww fl mb30 pt15 pb10 fs-34 ta-c"},[t._v("MODÜLLER")]),t._v(" "),e("div",{staticClass:"ww fl mb50 pb50 pos-r"},[e("table",{staticClass:"EkTablo"},[e("thead",[e("tr",[e("th",[t._v(t._s(t.jsonData.section.module_price.title))]),t._v(" "),e("th",{staticStyle:{"min-width":"200px"}},[t._v(t._s(t.jsonData.section.module_price.tax))])])]),t._v(" "),e("tbody",t._l(t.jsonData.section.module_price.list,function(r,o){return e("tr",{key:o},[e("td",[t._v(t._s(r.modul))]),t._v(" "),e("td",[t._v(t._s(r.price))])])}),0)])]),t._v(" "),e("div",{staticClass:"ww fl pb30"})])]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.reference?e("section",{staticClass:"PageSection SectionBg_3 ww fl p50 pos-r",staticStyle:{background:"#E1E8EA"},attrs:{id:"referanslar","data-next-color":"#fff","data-id":"3"}},[e("div",{staticClass:"wrapper-1240 mrau"},[e("h4",{staticClass:"ww fl my30 pt15 pb10 fs-34 ta-c"},[t._v("REFERANSLAR")]),t._v(" "),e("div",{staticClass:"ww fl pt30 px20 pos-r"},[e("referansSlider",{attrs:{"data-list":t.jsonData.section.reference.list,"show-item":t.jsonData.section.reference.showItem}})],1)]),t._v(" "),e("div",{staticClass:"ww fl pt50"})]):t._e(),t._v(" "),t.jsonData&&t.jsonData.section.sss?e("section",{staticClass:"PageSection SectionBg_4 ww fl p50 pos-r",staticStyle:{background:"#fff"},attrs:{id:"sss","data-next-color":"#fff","data-id":"4"}},[e("div",{staticClass:"ww fl m50"}),t._v(" "),e("div",{staticClass:"wrapper-1240 mrau"},[e("h4",{staticClass:"ww fl mb30 pt15 pb10 fs-34 ta-c"}
1,[t._v("SIK SORULAN SORULAR")]),t._v(" "),e("div",{staticClass:"ww cq-row"},[e("div",{staticClass:"col-2-xs-12"}),t._v(" "),e("div",{staticClass:"col-8-xs-12"},[e("div",{staticClass:"ww fl px20"},[e("div",{staticClass:"accordion-single js-acc-single"},t._l(t.jsonData.section.sss,function(r,o){return e("div",{key:o,staticClass:"accordion-single-item js-acc-item"},[e("h2",{staticClass:"accordion-single-title js-acc-single-trigger"},[t._v(t._s(r.title))]),t._v(" "),e("div",{staticClass:"accordion-single-content"},[e("p",[t._v(t._s(r.text))])])])}),0)])]),t._v(" "),e("div",{staticClass:"col-2-xs-12"})])]),t._v(" "),e("div",{staticClass:"ww fl mb50"})]):t._e(),t._v(" "),e("footerWrap")],1):e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])])},[function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"menu-toggle"}},[e("div",{attrs:{id:"menu-icon"}},[e("div",{staticClass:"bar"}),t._v(" "),e("div",{staticClass:"bar"}),t._v(" "),e("div",{staticClass:"bar"})])])},function(){var t=this._self._c;return t("div",{staticClass:"timeline-info"},[t("span",[t("img",{staticClass:"w70",attrs:{src:"https://cdn-icons-png.flaticon.com/512/2458/2458860.png",alt:"",srcset:""}})])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-6 cq-col-sm-6 cq-col-xs-24"}),t._v(" "),e("div",{staticClass:"cq-col-lg-12 cq-col-sm-12 cq-col-xs-24"},[e("p",{staticClass:"ww fl p10 txt-warning ta-c"},[t._v("\n                                    Belirtilen paket fiyatları 1 kullanıcı için geçerli olacak sunucu maliyetlerini içermektedir. Ek modül ve kullanıcı durumunda paket fiyatları değişecektir.\n                                ")])])])}],!1,null,"5f748cae",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e=t.app,r=t.route,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n={producer_seo_link:r.query.producer_seo_link||"",category_seo_link:r.query.category_seo_link||"",tag_seo_link:r.query.tag_seo_link||"",author_seo_link:r.query.author_seo_link||"",producer_id:r.query.producer_id||"",author_id:r.query.author_id||"",tag_id:r.query.tag_id||"",category_id:r.query.category_id||"",search_text:decodeURIComponent(r.query.search_text||""),scarttype:r.query.scarttype||"",quantity:r.query.quantity||"",sort_type:r.query.sort_type||"6",limit:r.query.size||40,page:r.query.page||1},c=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":o)+"product/search?search_text="+(n.search_text||"")+"&producer_seo_link="+(n.producer_seo_link||"")+"&category_seo_link="+(n.category_seo_link||"")+"&tag_seo_link="+(n.tag_seo_link||"")+"&author_seo_link="+(n.author_seo_link||"")+"&scarttype="+(n.scarttype||"")+"&producer_id="+(n.producer_id||"")+"&category_id="+(n.category_id||"")+"&tag_id="+(n.tag_id||"")+"&author_id="+(n.author_id||"")+"&quantity="+(n.quantity||"")+"&sort_type="+(n.sort_type||"6")+"&limit="+(n.limit||40)+"&page="+(n.page||1)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:n,pageTitle:e.i18n.t("Son Eklenenler")})).catch(()=>({data:null,list:null,count:0,filterList:n,pageTitle:""}));return{apiData:c.data,pageData:c.list,rowCount:c.count,filterList:c.filterList,pageTitle:c.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/soneklenenler",title="",e="",r="";this.apiData&&(title=this.pageTitle+" - "+this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.$t("Son Eklenenler"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c="",d="";o.query.producer_seo_link?c=decodeURIComponent(o.query.producer_seo_link):o.query.producer_id?d=o.query.producer_id:c=decodeURIComponent(o.params.name);var m={producer_seo_link:c||"",category_seo_link:o.query.category_seo_link||"",tag_seo_link:o.query.tag_seo_link||"",author_seo_link:o.query.author_seo_link||"",producer_id:d||"",author_id:o.query.author_id||"",tag_id:o.query.tag_id||"",category_id:o.query.category_id||"",search_text:decodeURIComponent(o.query.search_text||""),scarttype:o.query.scarttype||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1},h=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(m)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:m,pageTitle:t.data.KiboApp.Response.data.list[0].product_json.uretici.ureticiad})).catch(()=>({data:null,list:null,count:0,filterList:m,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+r.i18n.t("Üretici")}));return{pageUrl:o.params.name,apiData:h.data,pageData:h.list,rowCount:h.count,filterList:h.filterList,pageTitle:h.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/uretici/"+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.pageTitle+" - "+this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.$t("Üretici"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={cache:!0,name:"product-wrap",asyncData(t){return(e=function*(){for(var e=t.app,r=t.params,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":o)+"product/detailBySeoLink/"+encodeURIComponent(r.id)).then(t=>{for(var e=[],r=[],o=t.data.KiboApp.Response.data.product_json.authors,l=0;l<o.length;l++){var n=o[l];"0"==n.at_who?e.push(n.at_name):r.push(n)}return{yazarList:e.join(", "),emekList:r,data:t.data.KiboApp.Response.data,isShowPage:!0}}).catch(()=>({yazarList:"",emekList:[],data:null,isShowPage:!0}));return{yazarList:n.yazarList,emekList:n.emekList,item:n.data,isShowPage:n.isShowPage}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component(){var t=this.firmSetting.detailPageLayout||"eticaret";return"3"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(t="bilab2"),()=>r(691)("./"+t+".vue")}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,pageUrl:this.$store.state.firm.b2bSiteDomain.replace(/\/+$/,""),item:{},isShowPage:!1,yazarList:"",emekList:[]}},head(){var t="/",title="",image="",e="",r="";this.item&&(t="/urun/"+this.item.seo_link,title=this.item.seo_title,e=this.item.seo_keywords,r=this.item.seo_description,this.item.product_json.files&&(image=this.item.product_json.files[0]?this.item.product_json.files[0].fl_url:""));var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,""),meta=[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r},{name:"og:type",content:"product"}];return image&&(meta=[...meta,{property:"og:image",content:image}]),{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:meta,link:[{rel:"canonical",href:o+t},{rel:"icon",type:"image/x-icon",href:image}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{"page-data":t.item,"is-show-page":t.isShowPage,"yazar-list":t.yazarList,"emek-list":t.emekList,"page-url":t.pageUrl}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e,r=t.app,o=t.route,l="",i=0;i<r.store.state.firm.modules.length;i++){var n=r.store.state.firm.modules[i];"mod_b2bpublic"==n.md_name&&"1"==n.md_status&&(l="public/")}var c="",d="";o.query.author_seo_link?c=encodeURIComponent(o.query.author_seo_link):o.query.author_id?d=o.query.author_id:c=encodeURIComponent(o.params.name);var m={producer_seo_link:o.query.producer_seo_link||"",category_seo_link:o.query.category_seo_link||"",tag_seo_link:o.query.tag_seo_link||"",author_seo_link:c||"",producer_id:o.query.producer_id||"",author_id:d||"",tag_id:o.query.tag_id||"",category_id:o.query.category_id||"",search_text:decodeURIComponent(o.query.search_text||""),scarttype:o.query.scarttype||"",quantity:o.query.quantity||"",sort_type:o.query.sort_type||(null===(e=r.store.state.firm.settings)||void 0===e||null===(e=e.b2bUiSettings)||void 0===e||null===(e=e.settings)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.filterSort)||"",limit:o.query.size||40,page:o.query.page||1},h=yield r.$apis.get("api/"+(r.$cookies.get("web_login_access_token")?"":l)+"product/search?"+r.$utilTool(m)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:m,pageTitle:t.data.KiboApp.Response.data.list[0].product_json.authors[0].at_name})).catch(()=>({data:null,list:null,count:0,filterList:m,pageTitle:r.i18n.t("Kayıt Bulunamadı")+" - "+r.i18n.t("Yazar")}));return{pageUrl:o.params.name,apiData:h.data,pageData:h.list,rowCount:h.count,filterList:h.filterList,pageTitle:h.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageUrl:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/yazar/"+this.pageUrl,title="",e="",r="";this.apiData&&(title=this.pageTitle+" - "+this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.$t("Yazar"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){for(var e=t.app,r=t.route,o="",i=0;i<e.store.state.firm.modules.length;i++){var l=e.store.state.firm.modules[i];"mod_b2bpublic"==l.md_name&&"1"==l.md_status&&(o="public/")}var n={producer_seo_link:r.query.producer_seo_link||"",category_seo_link:r.query.category_seo_link||"",tag_seo_link:r.query.tag_seo_link||"",author_seo_link:r.query.author_seo_link||"",producer_id:r.query.producer_id||"",author_id:r.query.author_id||"",tag_id:r.query.tag_id||"",category_id:r.query.category_id||"",search_text:decodeURIComponent(r.query.search_text||""),scarttype:r.query.scarttype||"",lastrelease_proc_day:r.query.lastrelease_proc_day||"7",bestseller_proc_day:r.query.bestseller_proc_day||"",quantity:r.query.quantity||"",sort_type:r.query.sort_type||"0",limit:r.query.size||40,page:r.query.page||1},c=yield e.$apis.get("api/"+(e.$cookies.get("web_login_access_token")?"":o)+"product/search?search_text="+(n.search_text||"")+"&producer_seo_link="+(n.producer_seo_link||"")+"&category_seo_link="+(n.category_seo_link||"")+"&tag_seo_link="+(n.tag_seo_link||"")+"&author_seo_link="+(n.author_seo_link||"")+"&lastrelease_proc_day="+(n.lastrelease_proc_day||"7")+"&scarttype="+(n.scarttype||"")+"&producer_id="+(n.producer_id||"")+"&category_id="+(n.category_id||"")+"&tag_id="+(n.tag_id||"")+"&author_id="+(n.author_id||"")+"&quantity="+(n.quantity||"")+"&sort_type="+n.sort_type+"&limit="+(n.limit||40)+"&page="+(n.page||1)).then(t=>({data:t.data.KiboApp.Response.data,list:t.data.KiboApp.Response.data.list,count:t.data.KiboApp.Response.data.rowCount,filterList:n,pageTitle:e.i18n.t("Yeni Çıkanlar")})).catch(()=>({data:null,list:null,count:0,filterList:n,pageTitle:""}));return{apiData:c.data,pageData:c.list,rowCount:c.count,filterList:c.filterList,pageTitle:c.pageTitle}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},computed:{component:()=>()=>Promise.all([r.e(0),r.e(1),r.e(4)]).then(r.bind(null,802))},data:()=>({apiData:null,pageData:null,rowCount:0,filterList:null,pageTitle:null}),head(){var t="/yenicikanlar",title="",e="",r="";this.apiData&&(title=this.pageTitle+" - "+this.apiData.seo_title,e=this.apiData.seo_keywords,r=this.apiData.seo_description);var o=this.$store.state.firm.b2bSiteDomain.replace(/\/$/,"");return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:title,meta:[{name:"keywords",content:e},{name:"description",content:r},{name:"og:url",content:o+t},{name:"og:title",content:title},{name:"og:description",content:r}],link:[{rel:"canonical",href:o+t}]}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this;return(0,t._self._c)(t.component,{tag:"component",attrs:{pageTitle:t.$t("Yeni Çıkanlar"),ssrData:t.pageData,ssrRowCount:t.rowCount,ssrFilterList:t.filterList}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,
1a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e=t.app,r=t.params,o=isNaN(1*r.id)?"detailBySeoLink":"detailById";return{item:(yield e.$apis.get("api/content/"+o+"/"+r.id).then(t=>({data:t.data.KiboApp.Response.data})).catch(()=>({data:null}))).data}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},components:{headerWrap:()=>Promise.all([r.e(0),r.e(3)]).then(r.bind(null,4)),footerWrap:()=>Promise.all([r.e(0),r.e(2)]).then(r.bind(null,3))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,item:null}},head(){return{htmlAttrs:{dir:this.$dir()||"ltr",lang:this.$i18n.locale||"tr"},title:this.item?this.item.content_title:this.firmSetting.b2bWebTitle}}},n=l,c=(r(544),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau px10 py5"},[e("el-breadcrumb",{attrs:{"separator-class":"el-icon-arrow-right"}},[e("el-breadcrumb-item",{attrs:{to:{path:t.localePath("/")}}},[t._v(t._s(t.$t("Anasayfa")))]),t._v(" "),e("el-breadcrumb-item",[t._v(t._s(t.$t("page")))]),t._v(" "),null!=t.item?e("el-breadcrumb-item",[t._v(t._s(t.item.content_title))]):t._e()],1)],1)]),t._v(" "),e("section",{staticClass:"ww fl"},[e("div",{staticClass:"wrapper mrau"},[null!=t.item?e("div",{staticClass:"ww fl mt20 mb50 pb50 WrapGutter page_content_text",domProps:{innerHTML:t._s(t.item.content_text)}}):t._e()])]),t._v(" "),e("footerWrap")],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={asyncData(t){return(e=function*(){var e,o=t.app,l=t.params,n=t.redirect;try{var c=l.page.split("-"),d=c[c.length-1];if("string"!=typeof(e=d)||isNaN(e)||isNaN(parseFloat(e)))n(o.localePath("/"));else{var m=new URL("",o.store.state.firm.b2bSiteDomain),data=r(692)("./"+m.host.replace(/\./g,"_")+".json");data[d]?n(data[d].OnsoSeoLink):n(o.localePath("/"))}}catch(t){console.log(t)}return{}},function(){var t=this,r=arguments;return new Promise(function(l,n){var a=e.apply(t,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})();var e},data(){return{siteLogo:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl p30 ta-c"},[e("div",{staticClass:"ww fl mb30 ta-o"},[e("a",{staticClass:"h60 fl ta-o",attrs:{href:t.localePath("/")}},[e("el-image",{staticClass:"ww h60 fl",attrs:{fit:"contain",src:t.siteLogo,alt:"Logo"}},[e("div",{attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"h60 ta-o fs-30 el-icon-picture-outline"}
1)])])],1)]),t._v(" "),e("div",{staticClass:"crl"}),t._v(" "),e("div",{staticClass:"ww fl ta-o",staticStyle:{"flex-direction":"column"}},[e("span",{directives:[{name:"loading",rawName:"v-loading",value:!0,expression:"true"}],staticClass:"w60 h60 fl"}),t._v(" "),e("span",{staticClass:"ww fl mt10 ta-c"},[t._v(t._s(t.$t("please_wait")))])])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"currencySwitcher",props:{className:{type:String,default:"h30 ml10 fs-12"},isShow:{type:Boolean,default:!0}},watch:{"$store.state.firmBaseCurrency":{handler:function(t){this.currencyIcon=t},deep:!0,immediate:!0}},data(){return{currencyIcon:this.$store.state.firmBaseCurrency||"TRY",currencies:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bCurrencyList||[]}},created(){this.$cookies.get("currency")&&(this.currencyIcon=this.$cookies.get("currency"))},methods:{switchCurrency(t){this.$store.commit("SET_CURRENCY",t||"TRY"),this.currencyIcon=t,this.$cookies.set("currency",t||"TRY"),setTimeout(()=>{location.reload()},200)}}},l=(r(545),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"dropdown fr"},[e("span",{class:t.className+" el-dropdown-link fr cr-p ta-o"},[t._v("\n    "+t._s(t.currencyIcon)+" "),e("i",{staticClass:"el-icon-arrow-down"})]),t._v(" "),e("div",{staticClass:"dropdown-content"},t._l(t.currencies,function(r,o){return e("span",{key:o,staticClass:"ww fl ln-36 fs-15 ta-o",on:{click:function(e){return t.switchCurrency(r)}}},[e("i",{class:"h36 fl ta-ol mr5 fs-16 icon-currency_"+r.toLowerCase()}),t._v(t._s(r)+"\n    ")])}),0)])},[],!1,null,"5b749008",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"langSwitcher",watch:{langName(t){this.langName=t}},props:{className:{type:String,default:"h30 ml10 fs-12"}},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,langList:[],langName:""}},created(){this.getSetting()},methods:{getSetting(){var t=this.firmSetting.b2bMultiLang;null!=t&&""!=t&&"0"!=t&&"1"!=t&&this.$i18n.locales.map(e=>{Array.isArray(t)?t.includes(e.code)&&(this.langList.push(e),e.code==this.$i18n.locale&&(this.langName=e.name,this.setLocaleLang(e.code))):t.split(";").includes(e.code)&&(this.langList.push(e),e.code==this.$i18n.locale&&(this.langName=e.name,this.setLocaleLang(e.code)))}),""==this.langName&&this.langList[0]&&(this.langName=this.langList[0].name,this.setLocaleLang(this.langList[0].code))},setLocaleLang(t){this.$i18n.locale=t,this.$i18n.defaultLocale=t,this.$i18n.fallbackLocale=t,this.$i18n.setLocaleCookie(t)},switchLocale(t){this.setLocaleLang(t),window.location=this.switchLocalePath(t)}}},l=(r(546),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.langList.length>0?e("div",{staticClass:"dropdown fr"},[e("span",{class:t.className+" el-dropdown-link fr cr-p ta-o"},[t._v("\n    "+t._s(t.langName)+" "),e("i",{staticClass:"el-icon-arrow-down"})]),t._v(" "),e("div",{staticClass:"dropdown-content"},t._l(t.langList,function(r,o){return e("span",{key:o,staticClass:"ww fl ln-36 fs-15 ta-o",on:{click:function(e){return t.switchLocale(r.code)}}},[t._v("\n      "+t._s(r.name)+"\n    ")])}),0)]):t._e()},[],!1,null,"2a03e452",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}function l(t){return function(){var e=this,r=arguments;return new Promise(function(l,n){var a=t.apply(e,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})}}var n={name:"userMenu",data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,logOutLoading:!1,appMode:this.$store.state.firmAppMode||"0",basketCount:this.$cookies.get("basketCount")||0,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,kurumTitle:this.$cookies.get("kurum_title")||null,profilMenu:["hesabim","bekleyen_siparisler","ekstre","odeme_yap"]}}
1,created(){this.getSetting(),this.$nuxt.$on("getB2Bsetting",this.getSetting),this.$nuxt.$on("basketCount",t=>{this.basketCount=t}),this.firmSetting.b2bProfilMenu&&(this.profilMenu=this.firmSetting.b2bProfilMenu)},computed:{getLoginButtons(){var t='<a href="'.concat(this.localePath("/auth/giris"),'" class="h40 fr fs-14 cr-p ls-05 ').concat(!1===this.firmSetting.b2bShowRegisterButton?"mx5 px10 ta-o fw-b rds30":"ml5 px15 rds30 bg-white txt-info-hover fw-7 ta-l",'" style="').concat(!1===this.firmSetting.b2bShowRegisterButton?"border:2px solid ".concat(this.firmSetting.b2bColor,";color:").concat(this.firmSetting.b2bColor):"",'" >').concat(this.$t("login"),"</a>");this.$device.isMobile&&(t='<a href="'.concat(this.localePath("/auth/giris"),'" class="w40 h40 fr ml5 px15 rds30 bg-white txt-info-hover pos-r cr-p ta-o" title="').concat(this.$t("login"),'">\n            <i class="el-icon-user w40 h40 fs-22 ta-o"></i>\n          </a>'));var e="";return 0!=this.firmSetting.b2bShowRegisterButton&&(e='<a href="'.concat(this.localePath("/auth/uyeol"),'" class="remove-above-380 h40 fr mx5 px10 fs-14 cr-p ls-05 ta-o fw-b rds30" style="border:2px solid ').concat(this.firmSetting.b2bColor,";color:").concat(this.firmSetting.b2bColor,';">').concat(this.$t("Kaydol"),"</a>")),t+e}},methods:{getSetting(){null!=this.userData&&null==this.$cookies.get("userName")&&this.$apis.get("api/user/myprofile").then(t=>{var e=t.data.KiboApp.Response.data.firma,r=t.data.KiboApp.Response.data.firma.split(" "),o=(e=r[0],r.length>1?r[1]:"");this.$cookies.set("userId",t.data.KiboApp.Response.data.id,{path:"/",maxAge:86400}),this.$cookies.set("userName",e,{path:"/",maxAge:86400}),this.$cookies.set("userSurname",o,{path:"/",maxAge:86400})}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},cookieList(){var t=this;return l(function*(){return new Promise(e=>{t.$cookies.remove("web_login_access_token",{path:"/"}),t.$cookies.remove("b2bUserInfo",{path:"/"}),t.$cookies.remove("userId",{path:"/"}),t.$cookies.remove("userName",{path:"/"}),t.$cookies.remove("userSurname",{path:"/"}),t.$cookies.remove("basketCount",{path:"/"}),t.$cookies.remove("userBasketId",{path:"/"}),t.$cookies.remove("isGuestLogin",{path:"/"}),t.$cookies.remove("em",{path:"/"}),t.$cookies.remove("ph",{path:"/"}),t.$cookies.remove("elem_id",{path:"/"}),t.$cookies.remove("kurum_title",{path:"/"}),t.$cookies.remove("intsaticino",{path:"/"}),e(!0)})})()},logOut(){var t=this;return l(function*(){t.logOutLoading=!0;try{yield t.$apis.get("api/auth/logout"),yield t.cookieList(),setTimeout(()=>{window.location=t.localePath("/")},150)}catch(e){yield t.cookieList(),setTimeout(()=>{window.location=t.localePath("/")},150)}})()},getPayStatus(){this.$nuxt.$emit("payShow",!0)}}},c=(r(547),r(548),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return null!=t.userData?e("div",{staticClass:"fr pos-r dp-f jc-sb ai-c"},[e("el-dropdown",{staticClass:"fr",attrs:{placement:"bottom-end",trigger:"click",disabled:t.logOutLoading},scopedSlots:t._u([{key:"dropdown",fn:function(){return[e("el-dropdown-menu",{staticStyle:{width:"220px"}},["1"!=t.isGuestLogin?[t.kurumTitle?e("div",{staticClass:"mb5 pb5 px5 bdrB ta-c fs-10 fw-b"},[e("span",[t._v(t._s(t.kurumTitle))])]):t._e(),t._v(" "),t.profilMenu.includes("hesabim")?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/")}},[e("i",{class:"icon-dashboard mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("my_account")))])])]):t._e(),t._v(" "),e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/profil")}},[e("i",{class:"icon-info mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("Bilgilerim")))])])]),t._v(" "),"2"!=t.appMode?[e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/siparis")}},[e("i",{class:"icon-order mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("my_orders")))])])]),t._v(" "),t.$store.state.firm.settings.b2bUiSettings.settings.data.showFavorite?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/favoriler")}},[e("i",{class:"icon-heart mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("Favorilerim")))])])]):t._e(),t._v(" "),t.profilMenu.includes("bekleyen_siparisler")?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/siparis/bekleyen")}},[e("i",{class:"icon-beklet mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("pending_orders")))])])]):t._e(),t._v(" "),t.profilMenu.includes("iade")?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/siparis/iade")}},[e("i",{class:"icon-arrow-back-up mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("İade / Değişim")))])])]):t._e(),t._v(" "),t.profilMenu.includes("ekstre")?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/hesap_ozeti")}},[e("i",{class:"icon-cash mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("account_extre")))])])]):t._e(),t._v(" "),t.profilMenu.includes("ekitaplarim")?e("el-dropdown-item",[e("a",{staticClass:"h40 pr15 ta-ol",attrs:{href:t.localePath("/uye/ekitaplarim")}},[e("i",{class:"icon-book mr5 w30 h40 ta-o fs-18"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("E-Kitaplarım")))])])]):t._e()]:t._e(),t._v(" "),"2"!=t.appMode?["1"==t.$cookies.get("corpType")?e("el-dropdown-item",[e("a",{staticClass:"h40 py5 pr10 txt-dark fs-15 cr-p fw-7 ls-05 ta-l ta-ol",attrs:{href:t.localePath("/uye/hakedis")}},[e("i",{class:"w30 h40 mr5 fs-18 ta-o icon-auction"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("progress_payment")))])])]):t._e(),t._v(" "),"1"==t.$cookies.get("corpType")?e("el-dropdown-item",[e("a",{staticClass:"h40 py5 pr10 txt-dark fs-15 cr-p fw-7 ls-05 ta-l ta-ol",attrs:{href:t.localePath("/uye/siparis/referans")}},[e("i",{class:"w30 h40 mr5 fs-18 ta-o icon-order"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("reference_order")))])])]):t._e()]:t._e(),t._v(" "),"2"!=t.appMode&&t.profilMenu.includes("odeme_yap")?e("el-dropdown-item",[e("a",{staticClass:"h40 py5 pr10 txt-success fs-15 cr-p fw-7 ls-05 ta-l ta-ol",on:{click:t.getPayStatus}},[e("i",{class:"w30 h40 mr5 fs-18 ta-o icon-wallet"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("pay")))])])]):t._e()]:t._e(),t._v(" "),e("el-dropdown-item",[e("a",{staticClass:"h40 py5 pr10 txt-error fs-15 cr-p fw-7 ls-05 ta-l ta-ol",on:{click:t.logOut}},[e("i",{class:"w30 h40 mr5 fs-18 ta-o icon-x"}),e("span",{staticClass:"fs-15 fw-6"},[t._v(t._s(t.$t("Çıkış")))])])])],2)]},proxy:!0}],null,!1,3241841768)},[e("span",{directives:[{name:"loading",rawName:"v-loading",value:t.logOutLoading,expression:"logOutL
1oading"}],staticClass:"el-dropdown-link fr cr-p"},[e("div",{staticClass:"ww h50 ta-o pos-r"},[e("i",{staticClass:"icon-user w40 h50 fs-22 ta-o"}),t._v(" "),t.$device.isMobile?t._e():e("span",{staticClass:"ww h40 fl ta-ol fs-14 ln-12 fw-b"},["1"!=t.isGuestLogin?e("p",{staticClass:"ww fl ta-ol ln-13",staticStyle:{"flex-direction":"column"}},[e("span",{staticClass:"fl ln-13 fs-11 ta-l"},[t._v(" "+t._s(t.$cookies.get("userName")))]),t._v(t._s(t.$cookies.get("userSurname"))+"\n          ")]):e("span",{staticClass:"fl ln-40 fs-11 ta-l"},[t._v(" "+t._s(t.$t("Misafir")))])])])])]),t._v(" "),"2"!=t.appMode?e("a",{staticClass:"mainBasket w40 h50 fr ta-o pos-r lf-0",attrs:{href:t.localePath("/sepet")}},[e("i",{staticClass:"icon-basket fs-22"}),t._v(" "),e("span",{staticClass:"el-badge__content el-badge__content--danger pos-a tp-0 rg-0"},[t._v(t._s(t.basketCount))])]):t._e()],1):e("div",{staticClass:"fr pos-r",domProps:{innerHTML:t._s(t.getLoginButtons)}})},[],!1,null,"bd9a0a5a",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var n={name:"B2CisletmeForm",components:{phoneNumberInput:r(78).default},data(){return{isCorpare:!1,formData:{firma:"",ad:"",soyad:"",eposta:"",sifre:"",passwordConfirm:"",ceptel:"",ceptel_kod:"",tel:"",vdaire:"",vergino:"",pkod:"",ulke_id:2,il_id:"",ilce_id:"",adres:"",kvkk:"",sozlesme:1,files:[]},rules:{ad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],soyad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],eposta:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],password_confirmation:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}],adres:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],campaignInfo:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],membershipAgreement:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}]},requiredInputRule:{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"},city_filter:"",town_filter:"",cityLoading:!1,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],shc_countryList:[],shc_cityList:[],shc_cityListTemp:[],shc_townList:[],shc_townListTemp:[],campaignInfoModal:!1,membershipModal:!1,kvkkModal:!1,membershipAgreement:!1,agreeDetailTitle:null,agreeDetail:null,campaignInfo:!1,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",buttonLoading:!1,resultShow:!1,resultIcon:"error",resultTitle:"",resultMessage:"",cari_acik:1,imgLimit:10,fileList:[]}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.formData.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90,this.cari_acik=this.firmSetting.b2bFormWorkType?this.firmSetting.b2bFormWorkType[0]:1},mounted(){this.getFavicon(),this.getCountry(),this.getCity(2)}
1,methods:{submitForm(){this.$refs.formData.validate(t=>{if(!t)return console.log("error submit!!"),!1;""==this.formData.firma&&(this.formData.firma=this.formData.ad+" "+this.formData.soyad),this.firmSetting.b2bnewUyeEtiket&&(this.formData.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.formData.vergino=this.formData.vergino||this.firmSetting.b2bVergiNo||"",this.formData.cari_acik=this.cari_acik,this.formData.intrelskod=0,this.formData.ilce="",this.formData.shc_ilce="",2==this.formData.ulke_id?this.formData.il="":(this.formData.il_id=0,this.formData.ilce_id=0),this.buttonLoading=!0,this.$apis.post("api/user/create",this.formData,{headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,scroll(0,0),setTimeout(()=>{"0"==this.$store.state.firmSmsSendStatus?location.href=this.localePath(this.$route.query.redirect||"/auth/giris"):location.href=this.localePath("/auth/smsActivation")},2e3)}).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var l of Object.entries(r)){var n=o(l,2);n[0];n[1].map(t=>{e.push(t)})}this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),setTimeout(()=>{this.resultShow=!1},3e3)})})},getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},getBase64:t=>new Promise(function(e,r){var o=new FileReader,l="";o.readAsDataURL(t),o.onload=function(){l=o.result},o.onerror=function(t){r(t)},o.onloadend=function(){e(l)}}),changeWorkType(t){1==t&&(this.fileList=[])},onChange(t,e){this.fileList=e;var r=[];this.fileList.map(t=>{var e=new FileReader;e.readAsDataURL(t.raw),e.onload=function(){r.push({base64Data:e.result.split(";base64,")[1],type:"",order:""})}}),this.formData.files=r},beforeRemove(t,e){return this.$confirm("".concat(t.name," nolu resim kalıcı olarak silinsin mi?"))},handleRemove(t,e){t.sort&&DeleteCDN({path:this.service,id:this.id,item:t.sort}).then(e=>{this.$message({message:t.sort+" nolu resim silindi",type:"success",duration:"0"})}).catch(t=>{console.log(t),this.$notify({title:this.title+" Resim Silme",message:t.response.data.message,type:"error",duration:0})}),this.fileList=e},handleExceed(t,e){this.$message.warning(this.imgLimit+" adetten fazla yükleyemezsiniz")},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(t=>{this.agreeDetailTitle=null,this.agreeDetail=null})},getCahngeKVKK(){this.formData.kvkk?(this.formData.sozlesme=1,this.formData.kvkk=!0):(this.formData.sozlesme=0,this.formData.kvkk="")},getCountry(){var t=this.firmSetting.b2bAllowedCountries,e="";Array.isArray(t)&&1===t.length&&2===t[0]&&(e=2),this.$apis.get("api/country/list?cnt_nameSort=asc&id="+e).then(r=>{var o=r.data.KiboApp.Response.data.list;2!=e&&Array.isArray(t)&&t.length>0?this.countryList=o.filter(e=>t.includes(e.id)):this.countryList=o}).catch(()=>{})},getCity(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},getTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.formData.ilce_id=""}).catch(()=>{})},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},getCountrySevk(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.shc_countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCitySevk(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.shc_cityList=t.data.KiboApp.Response.data.list,this.shc_cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})}
1,getTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTownSevk(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.shc_townList=t.data.KiboApp.Response.data.list,this.shc_townListTemp=t.data.KiboApp.Response.data.list,this.formData.shc_ilce_id=""}).catch(()=>{})},CityFilterSevk(t){t&&(this.shc_cityList=this.shc_cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilterSevk(t){t&&(this.shc_townList=this.shc_townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},handleUpdateCeptel(t){this.formData.ceptel=t},handleUpdatePhoneCode(t){this.formData.ceptel_kod=t},handleUpdateTel(t){this.formData.tel=t}}},c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.buttonLoading,expression:"buttonLoading"}],staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),t.resultShow?e("div",{staticClass:"ww fl my50 z9"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                    "+t._s(t.$t("please_wait"))+"\n                  ")])])]):t._e()],2)],1)])]):e("el-form",{ref:"formData",staticClass:"ww fl my50",attrs:{model:t.formData,rules:t.rules}},[e("div",{staticClass:"ww fl"},[e("el-radio-group",{staticClass:"ww fl mb10",attrs:{size:"small"},model:{value:t.isCorpare,callback:function(e){t.isCorpare=e},expression:"isCorpare"}},[e("el-radio-button",{attrs:{label:!1}},[t._v(t._s(t.$t("Bireysel")))]),t._v(" "),e("el-radio-button",{attrs:{label:!0}},[t._v(t._s(t.$t("Kurumsal")))])],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:20}},[t.isCorpare?e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+" "+t.$t("title")}},[e("el-input",{attrs:{placeholder:t.$t("firm")+" "+t.$t("title"),autocomplete:"off"},model:{value:t.formData.firma,callback:function(e){t.$set(t.formData,"firma",e)},expression:"formData.firma"}})],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:(t.isCorpare?t.$t("Yetkili")+" ":"")+t.$t("name"),prop:"ad"}},[e("el-input",{attrs:{placeholder:t.$t("name"),autocomplete:"off"},model:{value:t.formData.ad,callback:function(e){t.$set(t.formData,"ad",e)},expression:"formData.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:(t.isCorpare?t.$t("Yetkili")+" ":"")+t.$t("surname"),prop:"soyad"}},[e("el-input",{attrs:{placeholder:t.$t("surname"),autocomplete:"off"},model:{value:t.formData.soyad,callback:function(e){t.$set(t.formData,"soyad",e)},expression:"formData.soyad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("phoneNumberInput",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel",modelValue:t.formData.ceptel,isPhoneCode:!0,required:!0}
1,on:{"updated-phoneNumber":t.handleUpdateCeptel,"updated-phoneCode":t.handleUpdatePhoneCode}})],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("phoneNumberInput",{attrs:{label:t.$t("land_phone"),prop:"tel",modelValue:t.formData.tel,phoneCodeValue:t.formData.ceptel_kod,placeholder:"(2xx) xxx xx xx",required:!1},on:{"updated-phoneNumber":t.handleUpdateTel}})],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",autocomplete:"off",type:"password","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1),t._v(" "),t.isCorpare?t._e():e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Kimlik No")}},[e("el-input",{attrs:{placeholder:t.$t("Kimlik No"),inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:t.isCorpare?6:12,md:t.isCorpare?6:12,sm:t.isCorpare?6:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"",placeholder:t.$t("country"),loading:t.cityLoading},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:t.isCorpare?6:8,md:t.isCorpare?6:8,sm:t.isCorpare?6:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:2==t.formData.ulke_id?"il_id":"il",rules:t.requiredInputRule}},[t.cityList.length>0&&2==t.formData.ulke_id?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.city_filter=e,loading:t.cityLoading},on:{change:e=>{t.getTown(e),t.city_filter=""}},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},[t._l(t.cityList,function(r,o){return[String(t.$seolink(r.cty_name)).indexOf(t.$seolink(t.city_filter))>-1?e("el-option",{key:o,attrs:{label:r.cty_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("city"),autocomplete:"off"},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),2==t.formData.ulke_id?e("el-col",{attrs:{lg:t.isCorpare?6:8,md:t.isCorpare?6:8,sm:t.isCorpare?6:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"ilce_id",rules:t.requiredInputRule}},[e("el-select",{staticClass:"ww fl",attrs:{disabled:!t.townList.length>0,filterable:"","filter-method":e=>t.town_filter=e,loading:t.cityLoading},on:{change:function(e){t.town_filter=""}},model:{value:t.formData.ilce_id,callback:function(e){t.$set(t.formData,"ilce_id",e)},expression:"formData.ilce_id"}},[t._l(t.townList,function(r,o){return[String(t.$seolink(r.cny_name)).indexOf(t.$seolink(t.town_filter))>-1?e("el-option",{key:o,attrs:{label:r.cny_name,value:r.id}}):t._e()]})],2)],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:t.isCorpare?6:8,md:t.isCorpare?6:8,sm:t.isCorpare?6:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{placeholder:t.$t("zip_code"),onkeyup:"this.value=this.value.replace(/[^\\d]/,'')"},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.isCorpare?e("div",{staticClass:"ww fl"},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_office")}},[e("el-input",{attrs:{placeholder:t.$t("tax_office")},model:{value:t.formData.vdaire,callback:function(e){t.$set(t.formData,"vdaire",e)},expression:"formData.vdaire"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_number")}},[e("el-input",{attrs:{placeholder:t.$t("tax_number"),inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("div",{staticClass:"ww fl mb10"},[e("label",{staticClass:"el-form-item__label mr10",attrs:{for:""}},[t._v(t._s(t.$t("work_type")))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-select",{staticClass:"ww fl",attrs:{placeholder:t.$t("work_type")},on:{change:t.changeWorkType},model:{value:t.cari_acik,callback:function(e){t.cari_acik=e},expression:"cari_acik"}},[!this.firmSetting.b2bFormWorkType||this.firmSetting.b2bFormWorkType.includes(0)?e("el-option",{attrs:{label:t.$t("open_account"),value:0}}):t._e(),t._v(" "),!this.firmSetting.b2bFormWorkType||this.firmSetting.b2bFormWorkType.includes(1)?e("el-option",{attrs:{label:t.$t("advance_credit_card"),value:1}}):t._e()],1)],1)]),t._v(" "),0==t.cari_acik?e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[null!=t.firmSetting?e("el-alert",{staticClass:"ww fl my5",attrs:{closable:!1,title:t.firmSetting.b2bFileMessage,type:"info"}}):t._e(),t._v(" "),e("el-upload",{ref:"upload",staticClass:"upload-demo",class:"dragWrap",attrs:{drag:"",multiple:"",action:"","list-type":"picture-card",accept:".jpg,.png,.pdf","on-change":t.onChange,"on-remove":t.handleRemove,"on-exceed":t.handleExceed,"before-remove":t.beforeRemove,limit:t.imgLimit,"file-list":t.fileList,"auto-upload":!1}},[e("div",{staticClass:"el-upload__text"},[t._v("\n                  "+t._s(t.$t("drag")+" "+t.$t("or")+" ")+"\n                  "),e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"}
1,[t._v(t._s(t.$t("browse")))])],1)])],1):t._e()],1)],1):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-form-item",{attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t(t.isCorpare?"franchise_agreement":"membership_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\n          ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\n          ")],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl p5"})]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"fr my15"},[e("el-form-item",[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{staticClass:"fr px50",attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$t("signup")))]):t._e()],1)],1)])],1)],1)],1)]),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}})])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(55),l=(r(236),r(329)),n=r(330),c=r(80);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return _(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var v={name:"isletmeForm",components:{FormWizard:o.FormWizard,TabContent:o.TabContent,sirketStep:l.default,adresStep:n.default,sartStep:c.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",buttonLoading:!1,resultShow:!1,resultIcon:"error",resultTitle:"",resultMessage:"",cari_acik:1,imgLimit:10,fileList:[],finalModel:{}}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},onComplete(){this.postModel()},postModel(){this.finalModel.cari_acik=this.cari_acik,this.finalModel.intrelskod=0,this.firmSetting.b2bnewUyeEtiket&&(this.finalModel.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.buttonLoading=!0,this.$apis.post("api/user/create",this.finalModel,{headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,setTimeout(()=>{location.href=this.localePath(this.$route.query.redirect||"/")},2e3)}
1).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var o of Object.entries(r)){var l=f(o,2);l[0];l[1].map(t=>{e.push(t)})}this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),setTimeout(()=>{this.resultShow=!1},3e3)})},getBase64:t=>new Promise(function(e,r){var o=new FileReader,l="";o.readAsDataURL(t),o.onload=function(){l=o.result},o.onerror=function(t){r(t)},o.onloadend=function(){e(l)}}),changeWorkType(t){1==t&&(this.fileList=[])},validate(t){return this.$refs[t].validate()},onStepValidate(t,e){t&&(this.finalModel=m(m({},this.finalModel),e))},onChange(t,e){this.fileList=e;var r=[];this.fileList.map(t=>{var e=new FileReader;e.readAsDataURL(t.raw),e.onload=function(){r.push({base64Data:e.result.split(";base64,")[1],type:"",order:""})}}),this.finalModel.files=r},beforeRemove(t,e){return this.$confirm("".concat(t.name," nolu resim kalıcı olarak silinsin mi?"))},handleRemove(t,e){t.sort&&DeleteCDN({path:this.service,id:this.id,item:t.sort}).then(e=>{this.$message({message:t.sort+" nolu resim silindi",type:"success",duration:"0"})}).catch(t=>{console.log(t),this.$notify({title:this.title+" Resim Silme",message:t.response.data.message,type:"error",duration:0})}),this.fileList=e},handleExceed(t,e){this.$message.warning(this.imgLimit+" adetten fazla yükleyemezsiniz")}}},w=r(0),component=Object(w.a)(v,function(){var t=this,e=t._self._c;return e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("form-wizard",{ref:"wizard",attrs:{loading:t.buttonLoading,title:"",subtitle:"","step-size":"xs",shape:"circle","back-button-text":t.$t("prev"),"next-button-text":t.$t("next"),"finish-button-text":t.$t("complete"),"validate-on-back":"",color:"var(--primary)","error-color":"var(--error)"},on:{"on-complete":t.onComplete}},[e("tab-content",{attrs:{title:t.$t("Genel"),selected:!0,icon:"icon-info","before-change":()=>t.validate("infoStep")}},[e("sirket-step",{ref:"infoStep",on:{"on-validate":t.onStepValidate}})],1),t._v(" "),e("tab-content",{attrs:{title:t.$t("address"),icon:"el-icon-location-information","before-change":()=>t.validate("adresStep")}},[e("adres-step",{ref:"adresStep",on:{"on-validate":t.onStepValidate}})],1),t._v(" "),e("tab-content",{attrs:{title:t.$t("document"),icon:"el-icon-paperclip"}},[e("div",{staticClass:"ww fl mb10"},[e("label",{staticClass:"el-form-item__label mr10",attrs:{for:""}},[t._v(t._s(t.$t("work_type")))]),t._v(" "),e("el-select",{attrs:{placeholder:t.$t("work_type")},on:{change:t.changeWorkType},model:{value:t.cari_acik,callback:function(e){t.cari_acik=e},expression:"cari_acik"}},[e("el-option",{attrs:{label:t.$t("open_account"),value:0}}),t._v(" "),e("el-option",{attrs:{label:t.$t("advance_credit_card"),value:1}})],1)],1),t._v(" "),0==t.cari_acik?e("div",{staticClass:"ww fl"},[null!=t.firmSetting?e("el-alert",{staticClass:"ww fl my5",attrs:{closable:!1,title:t.firmSetting.b2bFileMessage,type:"info"}}):t._e(),t._v(" "),e("el-upload",{ref:"upload",staticClass:"upload-demo",class:"dragWrap",attrs:{drag:"",multiple:"",action:"","list-type":"picture-card",accept:".jpg,.png,.pdf","on-change":t.onChange,"on-remove":t.handleRemove,"on-exceed":t.handleExceed,"before-remove":t.beforeRemove,limit:t.imgLimit,"file-list":t.fileList,"auto-upload":!1}},[e("div",{staticClass:"el-upload__text"},[t._v("\n                "+t._s(t.$t("drag")+" "+t.$t("or")+" ")+"\n                "),e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"},[t._v(t._s(t.$t("browse")))])],1)])],1):t._e()]),t._v(" "),e("tab-content",{attrs:{title:t.$t("complete"),icon:"el-icon-check","before-change":()=>t.validate("sartStep")}},[e("sart-step",{ref:"sartStep",on:{"on-validate":t.onStepValidate}})],1)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                    "+t._s(t.$t("please_wait"))+"\n                  ")])])]):t._e()],2)],1)])]):t._e()],1)])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(55),l=(r(236),r(331)),n=r(332),c=r(80);function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?d(Object(r),!0).forEach(function(e){h(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function h(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return _(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?_(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var v={name:"yurtdisiForm",components:{FormWizard:o.FormWizard,TabContent:o.TabContent,sirketYurtdisiStep:l.default,adresYurtdisiStep:n.default,sartStep:c.default},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,siteLogo:"",buttonLoading:!1,resultShow:!1,resultIcon:"error",resultTitle:"",resultMessage:"",cari_acik:1,imgLimit:10,fileList:[],finalModel:{}}},created(){this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo},mounted(){this.getFavicon()},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},onComplete(){this.postModel()},postModel(){this.finalModel.cari_acik=this.cari_acik,this.finalModel.intrelskod=0,this.firmSetting.b2bnewUyeEtiket&&(this.finalModel.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.buttonLoading=!0,this.$apis.post("api/user/create",this.finalModel,{headers:{"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,setTimeout(()=>{location.href=this.localePath(this.$route.query.redirect||"/")},2e3)}).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var o of Object.entries(r)){var l=f(o,2);l[0];l[1].map(t=>{e.push(t)})}this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),setTimeout(()=>{this.resultShow=!1},3e3)})},getBase64:t=>new Promise(function(e,r){var o=new FileReader,l="";o.readAsDataURL(t),o.onload=function(){l=o.result},o.onerror=function(t){r(t)},o.onloadend=function(){e(l)}}),changeWorkType(t){1==t&&(this.fileList=[])},validate(t){return this.$refs[t].validate()},onStepValidate(t,e){t&&(this.finalModel=m(m({},this.finalModel),e))},onChange(t,e){this.fileList=e;var r=[];this.fileList.map(t=>{var e=new FileReader;e.readAsDataURL(t.raw),e.onload=function(){r.push({base64Data:e.result.split(";base64,")[1],type:"",order:""})}}),this.finalModel.files=r},beforeRemove(t,e){return this.$confirm("".concat(t.name," nolu resim kalıcı olarak silinsin mi?"))},handleRemove(t,e){t.sort&&DeleteCDN({path:this.service,id:this.id,item:t.sort}).then(e=>{this.$message({message:t.sort+" nolu resim silindi",type:"success",duration:"0"})}).catch(t=>{console.log(t),this.$notify({title:this.title+" Resim Silme",message:t.response.data.message,type:"error",duration:0})}),this.fileList=e},handleExceed(t,e){this.$message.warning(this.imgLimit+" adetten fazla yükleyemezsiniz")}}},w=r(0),component=Object(w.a)(v,function(){var t=this,e=t._self._c;return e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("form-wizard",{ref:"wizard",attrs:{loading:t.buttonLoading,title:"",subtitle:"","step-size":"xs",shape:"circle","back-button-text":t.$t("prev"),"next-button-text":t.$t("next"),"finish-button-text":t.$t("complete"),"validate-on-back":"",color:"var(--primary)","error-color":"var(--error)"},on:{"on-complete":t.onComplete}},[e("tab-content",{attrs:{title:t.$t("Genel"),selected:!0,icon:"icon-info","before-change":()=>t.validate("infoStep")}},[e("sirket-yurtdisi-step",{ref:"infoStep",on:{"on-validate":t.onStepValidate}})],1),t._v(" "),e("tab-content",{attrs:{title:t.$t("address"),icon:"el-icon-location-information","before-change":()=>t.validate("adresStep")}},[e("adres-yurtdisi-step",{ref:"adresStep",on:{"on-validate":t.onStepValidate}})],1),t._v(" "),e("tab-content",{attrs:{title:t.$t("document"),icon:"el-icon-paperclip"}},[e("div",{staticClass:"ww fl"},[null!=t.firmSetting?e("el-alert",{staticClass:"ww fl my5",attrs:{closable:!1,title:t.firmSetting.b2bFileMessage,type:"info"}}):t._e(),t._v(" "),e("el-upload",{ref:"upload",staticClass:"upload-demo",class:"dragWrap",attrs:{drag:"",multiple:"",action:"","list-type":"picture-card",accept:".jpg,.png,.pdf","on-change":t.onChange,"on-remove":t.handleRemove,"on-exceed":t.handleExceed,"before-remove":t.beforeRemove,limit:t.imgLimit,"file-list":t.fileList,"auto-upload":!1}},[e("div",{staticClass:"el-upload__text"},[t._v("\n                "+t._s(t.$t("drag")+" "+t.$t("or")+" ")+"\n                "),e("el-button",{attrs:{slot:"trigger",size:"small",type:"primary"},slot:"trigger"}
1,[t._v(t._s(t.$t("browse")))])],1)])],1)]),t._v(" "),e("tab-content",{attrs:{title:t.$t("complete"),icon:"el-icon-check","before-change":()=>t.validate("sartStep")}},[e("sart-step",{ref:"sartStep",on:{"on-validate":t.onStepValidate}})],1)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                      "+t._s(t.$t("please_wait"))+"\n                    ")])])]):t._e()],2)],1)])]):t._e()],1)])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function m(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var h={name:"okulForm",components:{phoneNumberInput:()=>Promise.all([r.e(0),r.e(8)]).then(r.bind(null,78))},data(){return{city_filter:"",town_filter:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showPrivateCampaign:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrivateCampaign||!1,getUserCartType:this.$store.state.firmUserCartType||"",siteLogo:this.$cookies.get("web_logo")||"",ozelTikla:!1,resultShow:!1,buttonLoading:!1,agreeDetailTitle:null,agreeDetail:null,kvkkModal:!1,firmName:"",temsilciName:"",formData:{ad:"",soyad:"",firma:"",eposta:"",ceptel:"",ceptel_kod:"",sifre:"",kod1:"",passwordConfirm:"",sozlesme:1,cari_acik:1,cari_tip:2,temsilci_id:"",fr_classid:"",intsektor:"",dogumtar:"",ext_evlilik_tar:"",intgender:"",karttipi:"",intrelskod:"",vdaire:"",vergino:"",pkod:"",ulke_id:2,il_id:"",il:"",ilce_id:"",ilce:"",ext_mah:"",ext_c
1adde:"",ext_sokak:"",ext_binaad:"",ext_binano:"",ext_daireno:"",adres:"",tags:[]},sinifList:[],kurumList:[],kartTipList:[],cityLoading:!1,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],rules:{ad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],soyad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],vergino:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:11,message:this.$i18n.t("must_be_digit",{val:11}),trigger:"blur"}],dogumtar:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],intrelskod:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],fr_classid:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],intgender:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],passwordConfirm:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}]}}},created(){this.getSinif(),this.getKurum(),this.getSirketDefault(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.formData.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90,this.formData.ulke_id=this.firmSetting.b2bUlkeId||2,this.formData.il_id=this.firmSetting.b2bSehirId||"",this.formData.ilce_id=this.firmSetting.b2bBeldeId||"",this.formData.il=this.firmSetting.b2bSehir||"",this.formData.ilce=this.firmSetting.b2bBelde||""},mounted(){this.getFavicon(),this.getCity(this.formData.ulke_id||2)},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},requiredPasswordLenght(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"number",message:this.$i18n.t("must_be_digit_and_numeric"),trigger:["blur","change"]}]},getCountry(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCity(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},getTown(t){this.formData.ilce_id="",this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.formData.ilce_id=""}).catch(()=>{})},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){console.log(t),t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},ozelTiklaChange(){this.ozelTikla=!!this.ozelTikla},getCahngeKVKK(){this.formData.kvkk?(this.sozlesme=1,this.formData.kvkk=!0):(this.sozlesme=0,this.formData.kvkk="")},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.firmSetting.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(()=>{this.agreeDetailTitle=null,this.agreeDetail=null})},getSirketDefault(){this.firmSetting&&this.firmSetting.b2bDefaultFirm&&this.$apis.get("api/merchant/corp/list?id="+this.firmSetting.b2bDefaultFirm+"&eposta&limit=1000&page=1").then(t=>{var data=t.data.KiboApp.Response.data.list[0];console.log(data.id),this.formData.intrelskod=data.id,this.firmName=data.firma}
1).catch(()=>{})},getSirketAuto(t,e){this.$apis.get("api/merchant/corp/list?id=&ckod=&firma="+t+"&eposta&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleSirketAutoSelect(t){if(!t)return this.formData.intrelskod="",this.firmName="",!1;this.formData.intrelskod=t.id,this.firmName=t.firma},getSinif(){this.$apis.get("api/merchant/definition/list?groupnum=2&limit=1000&page=1").then(t=>{this.sinifList=t.data.KiboApp.Response.data.list}).catch(()=>{this.sinifList=[]})},getKurum(){this.$apis.get("api/merchant/corp/list?limit=1000&page=1").then(t=>{this.kurumList=t.data.KiboApp.Response.data.list}).catch(()=>{this.kurumList=[]})},getKartTip(){this.$apis.get("api/merchant/definition/list?groupnum=1&limit=1000&page=1").then(t=>{this.kartTipList=t.data.KiboApp.Response.data.list,t.data.KiboApp.Response.data.list.map(t=>{t.id==this.getUserCartType&&(this.formData.karttipi=t.id)})}).catch(()=>{this.kartTipList=[]})},getTemsilciAuto(t,e){this.$apis.get("api/merchant/employee/list?firma="+t+"&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleTemsilciSelect(t){if(!t)return this.formData.temsilci_id="",this.temsilciName="",!1;this.formData.temsilci_id=t.id,this.temsilciName=t.firma},handleUpdateCeptel(t){this.formData.ceptel=t},submitForm(){var t=this;this.$refs.formData.validate(function(){var e,r=(e=function*(e){if(!e)return console.log("error submit!!"),!1;t.buttonLoading=!0,t.firmSetting.b2bnewUyeEtiket&&(t.formData.tags=[{id:t.firmSetting.b2bnewUyeEtiket.id}]),t.formData.firma=t.formData.ad+" "+t.formData.soyad,t.formData=c(c({},t.formData),{},{ckod:t.formData.vergino}),t.$apis.post("api/user/create",t.formData).then(e=>{t.buttonLoading=!1,t.resultShow=!0,t.resultIcon="success",t.resultTitle=t.$t("new")+" "+t.$t("member"),t.resultMessage=e.data.KiboApp.Response.kiboMessage,scroll(0,0),setTimeout(()=>{"0"==t.$store.state.firmSmsSendStatus?location.href=t.localePath(t.$route.query.redirect||"/auth/giris"):location.href=t.localePath("/auth/smsActivation")},2e3)}).catch(e=>{t.buttonLoading=!1;var r=[],l=e.response.data.KiboApp.Response.data.errors;if(422==e.response.status)for(var n of Object.entries(l)){var c=o(n,2),d=c[0],m=c[1];console.log(d,m),m.map(t=>{r.push(t)})}console.log(e.response.status),t.resultShow=!0,t.resultIcon="error",t.resultTitle=t.$t("new")+" "+t.$t("member"),t.resultMessage=e.response.data.KiboApp.Response.kiboMessage+r.join("<br>"),scroll(0,0),setTimeout(()=>{t.resultShow=!1},3e3)})},function(){var t=this,r=arguments;return new Promise(function(o,l){var a=e.apply(t,r);function n(t){m(a,o,l,n,c,"next",t)}function c(t){m(a,o,l,n,c,"throw",t)}n(void 0)})});return function(t){return r.apply(this,arguments)}}())}}},f=h,_=(r(551),r(552),r(0)),component=Object(_.a)(f,function(){var t=this,e=t._self._c;return e("main",[e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.buttonLoading,expression:"buttonLoading"}],staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[null!=t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my15 pb30"},[e("el-form",{ref:"formData",staticClass:"sadakatForm",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("student")+" "+t.$t("Kimlik No"),prop:"vergino"}},[e("el-input",{attrs:{placeholder:t.$t("Kimlik No"),maxlength:"11",inputmode:"numeric",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')"},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("phoneNumberInput",{attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel",modelValue:t.formData.ceptel,required:!0}
1,on:{"updated-phoneNumber":t.handleUpdateCeptel}})],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("student")+" "+t.$t("name"),prop:"ad"}},[e("el-input",{attrs:{autocomplete:"off"},on:{blur:function(e){t.formData.ad=t.formData.ad.trim()}},model:{value:t.formData.ad,callback:function(e){t.$set(t.formData,"ad",e)},expression:"formData.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("student")+" "+t.$t("surname"),prop:"soyad"}},[e("el-input",{attrs:{autocomplete:"off"},on:{blur:function(e){t.formData.soyad=t.formData.soyad.trim()}},model:{value:t.formData.soyad,callback:function(e){t.$set(t.formData,"soyad",e)},expression:"formData.soyad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("student")+" "+t.$t("born_date"),prop:"dogumtar"}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.dogumtar,callback:function(e){t.$set(t.formData,"dogumtar",e)},expression:"formData.dogumtar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+"/"+t.$t("school"),prop:"intrelskod"}},[e("el-select",{staticClass:"ww fl",attrs:{"reserve-keyword":"",filterable:"",placeholder:t.$t("firm")+"/"+t.$t("school")+" "+t.$t("Seç")},model:{value:t.formData.intrelskod,callback:function(e){t.$set(t.formData,"intrelskod",e)},expression:"formData.intrelskod"}},t._l(t.kurumList,function(t){return e("el-option",{key:t.id,attrs:{label:t.firma,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("class"),prop:"fr_classid"}},[e("el-select",{staticClass:"ww fl",attrs:{"reserve-keyword":"",filterable:"",placeholder:t.$t("class")+" "+t.$t("Seç")},model:{value:t.formData.fr_classid,callback:function(e){t.$set(t.formData,"fr_classid",e)},expression:"formData.fr_classid"}},t._l(t.sinifList,function(t){return e("el-option",{key:t.id,attrs:{label:t.tanimad,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("gender"),prop:"intgender"}},[e("el-radio-group",{staticClass:"ww fl",model:{value:t.formData.intgender,callback:function(e){t.$set(t.formData,"intgender",e)},expression:"formData.intgender"}},[e("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("male")))]),t._v(" "),e("el-radio-button",{attrs:{label:"2"}},[t._v(t._s(t.$t("female")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-divider",{attrs:{"content-position":"left"}},[t._v(t._s(t.$t("address")+" "+t.$t("info")))])],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:"il_id"}},[t.cityList.length>0?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.city_filter=e,loading:t.cityLoading},on:{change:e=>{t.getTown(e),t.city_filter=""}},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},[t._l(t.cityList,function(r,o){return[String(t.$seolink(r.cty_name)).indexOf(t.$seolink(t.city_filter))>
1-1?e("el-option",{key:o,attrs:{label:r.cty_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("city"),autocomplete:"off"},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"ilce_id"}},[e("el-select",{staticClass:"ww fl",attrs:{disabled:!(t.formData.il_id>0),filterable:"","filter-method":e=>t.town_filter=e,loading:t.cityLoading},on:{change:function(e){t.town_filter=""}},model:{value:t.formData.ilce_id,callback:function(e){t.$set(t.formData,"ilce_id",e)},expression:"formData.ilce_id"}},[t._l(t.townList,function(r,o){return[String(t.$seolink(r.cny_name)).indexOf(t.$seolink(t.town_filter))>-1?e("el-option",{key:o,attrs:{label:r.cny_name,value:r.id}}):t._e()]})],2)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",autocomplete:"off",placeholder:t.$t("zip_code")},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1)],1),t._v(" "),e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address"),maxlenght:"255"},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{staticClass:"bdrT my10 py10",attrs:{gutter:10}},[e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"ww fl"},[e("el-form-item",{attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:"KVKK & "+t.$t("membership_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\n                            ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\n                            ")],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("div",{staticClass:"ww fl mt10"},[e("el-form-item",[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{staticClass:"ww fl px50",attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$t("signup")))]):t._e()],1)],1)])],1)],1)],1)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                            "+t._s(t.$t("please_wait"))+"\n                          ")])])]):t._e()],2)],1)])]):t._e()],1)],1)])]),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}})])],1)},[],!1,null,"6db876f3",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}
1finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var n={name:"sadakatForm",data(){return{phoneCodeList:[],city_filter:"",town_filter:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showPrivateCampaign:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrivateCampaign||!1,getUserCartType:this.$store.state.firmUserCartType||"",siteLogo:this.$cookies.get("web_logo")||"",kurumBilgi:!1,ozelTikla:!1,resultShow:!1,buttonLoading:!1,agreeDetailTitle:null,agreeDetail:null,kvkkModal:!1,firmName:"",temsilciName:"",formData:{ad:"",soyad:"",firma:"",eposta:"",ceptel:"",ceptel_kod:"",sifre:"",kod1:"",passwordConfirm:"",sozlesme:1,cari_acik:1,temsilci_id:"",fr_classid:"",intsektor:"",dogumtar:"",ext_evlilik_tar:"",intgender:"",karttipi:"",intrelskod:"",vdaire:"",vergino:"",pkod:"",ulke_id:2,il_id:"",il:"",ilce_id:"",ilce:"",ext_mah:"",ext_cadde:"",ext_sokak:"",ext_binaad:"",ext_binano:"",ext_daireno:"",adres:"",tags:[]},tagList:[],tagIdList:[],sinifList:[],kartTipList:[],cityLoading:!1,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],rules:{ad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],kod1:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],soyad:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],born_date:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],intrelskod:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],fr_classid:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],passwordConfirm:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}],ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],il_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],ilce_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}]}}},created(){this.getSinif(),this.getKartTip(),this.getSirketDefault(),this.getTagList(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.formData.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90,this.formData.ulke_id=this.firmSetting.b2bUlkeId||2,this.formData.il_id=this.firmSetting.b2bSehirId||"",this.formData.ilce_id=this.firmSetting.b2bBeldeId||"",this.formData.il=this.firmSetting.b2bSehir||"",this.formData.ilce=this.firmSetting.b2bBelde||""},mounted(){this.getFavicon(),this.getCountry(""),this.getCity(this.formData.ulke_id),this.formData.il_id&&this.getTown(this.formData.il_id),this.phoneCodeList=r(30).default},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},requiredPasswordLenght(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"number",message:this.$i18n.t("must_be_digit_and_numeric"),trigger:["blur","change"]}]},getTagList(){this.$apis.get("api/merchant/memberTags/list?id=&prcg_name=&idSort=desc&prcg_nameSort&limit=25&page=1").then(t=>{this.tagList=t.data.KiboApp.Response.data.list}).catch(()=>{this.tagList=[]})},getCountry(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCity(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})}
1,getTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.formData.ilce_id=""}).catch(()=>{})},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){console.log(t),t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},ozelTiklaChange(){this.ozelTikla=!!this.ozelTikla},kurumBilgiChange(){this.kurumBilgi=!!this.kurumBilgi},getCahngeKVKK(){this.formData.kvkk?(this.sozlesme=1,this.formData.kvkk=!0):(this.sozlesme=0,this.formData.kvkk="")},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.firmSetting.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(()=>{this.agreeDetailTitle=null,this.agreeDetail=null})},getSirketDefault(){this.firmSetting&&this.firmSetting.b2bDefaultFirm&&this.$apis.get("api/merchant/corp/list?id="+this.firmSetting.b2bDefaultFirm+"&eposta&limit=1000&page=1").then(t=>{var data=t.data.KiboApp.Response.data.list[0];console.log(data.id),this.formData.intrelskod=data.id,this.firmName=data.firma}).catch(()=>{})},getSirketAuto(t,e){this.$apis.get("api/merchant/corp/list?id=&ckod=&firma="+t+"&eposta&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleSirketAutoSelect(t){if(!t)return this.formData.intrelskod="",this.firmName="",!1;this.formData.intrelskod=t.id,this.firmName=t.firma},getSinif(){this.$apis.get("api/merchant/definition/list?groupnum=2&limit=1000&page=1").then(t=>{this.sinifList=t.data.KiboApp.Response.data.list}).catch(()=>{this.sinifList=[]})},getKartTip(){this.$apis.get("api/merchant/definition/list?groupnum=1&limit=1000&page=1").then(t=>{this.kartTipList=t.data.KiboApp.Response.data.list,t.data.KiboApp.Response.data.list.map(t=>{t.id==this.getUserCartType&&(this.formData.karttipi=t.id)})}).catch(()=>{this.kartTipList=[]})},getTemsilciAuto(t,e){this.$apis.get("api/merchant/employee/list?firma="+t+"&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleTemsilciSelect(t){if(!t)return this.formData.temsilci_id="",this.temsilciName="",!1;this.formData.temsilci_id=t.id,this.temsilciName=t.firma},submitForm(){this.$refs.formData.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.kurumBilgi||(this.formData.firma=this.formData.ad+" "+this.formData.soyad),this.firmSetting.b2bnewUyeEtiket&&(this.formData.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.kurumBilgi&&(this.formData.vergino=this.formData.vergino||this.firmSetting.b2bVergiNo||""),!this.formData.vergino&&this.firmSetting.b2bVergiNoSetUser&&(this.formData.vergino=this.firmSetting.b2bVergiNo||""),this.firmSetting.b2bShowAddressDetail&&(this.formData.adres=this.formData.ext_mah+" "+this.formData.ext_cadde+" "+this.formData.ext_sokak+" "+this.formData.ext_binaad+" "+this.formData.ext_binano+" "+this.formData.ext_daireno),this.formData.ceptel=+this.formData.ceptel,this.formData.tags=this.tagIdList.reduce((t,e)=>(t.push({id:e}),t),[]),this.$apis.post("api/user/create",this.formData).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,scroll(0,0),setTimeout(()=>{"0"==this.$store.state.firmSmsSendStatus?location.href=this.localePath(this.$route.query.redirect||"/auth/giris"):location.href=this.localePath("/auth/smsActivation")},2e3)}).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var l of Object.entries(r)){var n=o(l,2),c=n[0],d=n[1];console.log(c,d),d.map(t=>{e.push(t)})}console.log(t.response.status),this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),scroll(0,0),setTimeout(()=>{this.resultShow=!1},3e3)})})}}},c=(r(553),r(554),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.buttonLoading,expression:"buttonLoading"}],staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[null!=t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my15 pb30"},[e("el-form",{ref:"formData",staticClass:"sadakatForm",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"ad"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.ad,callback:function(e){t.$set(t.formData,"ad",e)},expression:"formData.ad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("surname"),prop:"soyad"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.soyad,callback:function(e){t.$set(t.formData,"soyad",e)},expression:"formData.soyad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.formData.ceptel_kod,callback:function(e){t.$set(t.formData,"ceptel_kod",e)},expression:"formData.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n                          ")])})],2)],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1),t._v(" "),t.firmSetting.b2bShowKurumDetail?[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")+"/"+t.$t("school")}},[e("el-autocomplete",{staticClass:"ww fl",attrs:{"fetch-suggestions":t.getSirketAuto,"value-key":"firma","trigger-on-focus":!1,onClick:"this.select();",placeholder:t.$t("firm")+"/"+t.$t("school")},on:{select:t.handleSirketAutoSelect,clear:t.handleSirketAutoSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.firma))])]}}],null,!1,1962967988),model:{value:t.firmName,callback:function(e){t.firmName=e},expression:"firmName"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("class")}},[e("el-select",{staticClass:"ww fl",attrs:{"reserve-keyword":"",placeholder:t.$t("class")+" "+t.$t("Seç")},model:{value:t.formData.fr_classid,callback:function(e){t.$set(t.formData,"fr_classid",e)},expression:"formData.fr_classid"}},t._l(t.sinifList,function(t){return e("el-option",{key:t.id,attrs:{label:t.tanimad,value:t.id}})}),1)],1)],1)]:t._e(),t._v(" "),e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"ww fl my15"},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t("firm")+" "+t.$t("info")},on:{change:t.kurumBilgiChange},model:{value:t.kurumBilgi,callback:function(e){t.kurumBilgi=e},expression:"kurumBilgi"}}),t._v(" "),t.kurumBilgi?e("div",{staticClass:"ww fl mb15 p10 rds",staticStyle:{background:"#f0f0f0"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("firm")}},[e("el-input",{model:{value:t.formData.firma,callback:function(e){t.$set(t.formData,"firma",e)},expression:"formData.firma"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax_office"),prop:"vdaire"}},[e("el-input",{attrs:{placeholder:t.$t("tax_office")},model:{value:t.formData.vdaire,callback:function(e){t.$set(t.formData,"vdaire",e)},expression:"formData.vdaire"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("tax")+"/"+t.$t("Kimlik No"),prop:"vergino"}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",autocomplete:"off"},model:{value:t.formData.vergino,callback:function(e){t.$set(t.formData,"vergino",e)},expression:"formData.vergino"}})],1)],1)],1)],1):t._e()],1)]),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-divider",{attrs:{"content-position":"left"}}
1,[t._v(t._s(t.$t("address")+" "+t.$t("info")))])],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:6,md:6,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"",remote:"","reserve-keyword":"",placeholder:t.$t("country"),autocomplete:"off",loading:t.cityLoading},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("city"),prop:"il_id"}},[t.cityList.length>0?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.city_filter=e,loading:t.cityLoading},on:{change:e=>{t.getTown(e),t.city_filter=""}},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},[t._l(t.cityList,function(r,o){return[String(t.$seolink(r.cty_name)).indexOf(t.$seolink(t.city_filter))>-1?e("el-option",{key:o,attrs:{label:r.cty_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("city"),autocomplete:"off"},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("district"),prop:"ilce_id"}},[t.townList.length>0?e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.town_filter=e,loading:t.cityLoading},on:{change:function(e){t.town_filter=""}},model:{value:t.formData.ilce_id,callback:function(e){t.$set(t.formData,"ilce_id",e)},expression:"formData.ilce_id"}},[t._l(t.townList,function(r,o){return[String(t.$seolink(r.cny_name)).indexOf(t.$seolink(t.town_filter))>-1?e("el-option",{key:o,attrs:{label:r.cny_name,value:r.id}}):t._e()]})],2):e("el-input",{attrs:{placeholder:t.$t("district"),autocomplete:"off"},model:{value:t.formData.ilce,callback:function(e){t.$set(t.formData,"ilce",e)},expression:"formData.ilce"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:6,md:6,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",autocomplete:"off",placeholder:t.$t("zip_code")},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1)],1),t._v(" "),t.firmSetting.b2bShowAddressDetail?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("neighborhood")}},[e("el-input",{attrs:{placeholder:t.$t("neighborhood")},model:{value:t.formData.ext_mah,callback:function(e){t.$set(t.formData,"ext_mah",e)},expression:"formData.ext_mah"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("street")}},[e("el-input",{attrs:{placeholder:t.$t("street")},model:{value:t.formData.ext_cadde,callback:function(e){t.$set(t.formData,"ext_cadde",e)},expression:"formData.ext_cadde"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("street2")}},[e("el-input",{attrs:{placeholder:t.$t("street2")},model:{value:t.formData.ext_sokak,callback:function(e){t.$set(t.formData,"ext_sokak",e)},expression:"formData.ext_sokak"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("building")+" "+t.$t("name")}},[e("el-input",{attrs:{placeholder:t.$t("building")+" "+t.$t("name")},model:{value:t.formData.ext_binaad,callback:function(e){t.$set(t.formData,"ext_binaad",e)},expression:"formData.ext_binaad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("building")+" "+t.$t("number")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",placeholder:t.$t("building")+" "+t.$t("number")},model:{value:t.formData.ext_binano,callback:function(e){t.$set(t.formData,"ext_binano",e)},expression:"formData.ext_binano"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("apartman")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",placeholder:t.$t("apartman")},model:{value:t.formData.ext_daireno,callback:function(e){t.$set(t.formData,"ext_daireno",e)},expression:"formData.ext_daireno"}})],1)],1)],1):e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1)],1),t._v(" "),"0"!=t.firmSetting.b2bShowOldCardNo?e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Üye Kart No"),prop:"2"==t.firmSetting.b2bShowOldCardNo?"kod1":""}}
1,[e("el-input",{attrs:{maxlength:"20"},model:{value:t.formData.kod1,callback:function(e){t.$set(t.formData,"kod1",e)},expression:"formData.kod1"}})],1)],1):t._e(),t._v(" "),t.showPrivateCampaign?e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"ww fl mt15"},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t("click_for_special_campaigns_for_you")},on:{change:t.ozelTiklaChange},model:{value:t.ozelTikla,callback:function(e){t.ozelTikla=e},expression:"ozelTikla"}})],1),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.ozelTikla?e("el-row",{staticClass:"mt10",attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("born_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.dogumtar,callback:function(e){t.$set(t.formData,"dogumtar",e)},expression:"formData.dogumtar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("marriage_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.ext_evlilik_tar,callback:function(e){t.$set(t.formData,"ext_evlilik_tar",e)},expression:"formData.ext_evlilik_tar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("gender")}},[e("el-radio-group",{staticClass:"ww fl",model:{value:t.formData.intgender,callback:function(e){t.$set(t.formData,"intgender",e)},expression:"formData.intgender"}},[e("el-radio-button",{attrs:{label:"0"}},[t._v(t._s(t.$t("male")))]),t._v(" "),e("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("female")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("representative")}},[e("el-autocomplete",{staticClass:"ww fl",attrs:{clearable:"","fetch-suggestions":t.getTemsilciAuto,"value-key":"firma","trigger-on-focus":!1,placeholder:t.$t("representative")},on:{select:t.handleTemsilciSelect,clear:t.handleTemsilciSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.firma))])]}}],null,!1,1962967988),model:{value:t.temsilciName,callback:function(e){t.temsilciName=e},expression:"temsilciName"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("İlgi Alanlarınız")}},[e("el-select",{staticClass:"ww fl",attrs:{multiple:"",autocomplete:"off"},model:{value:t.tagIdList,callback:function(e){t.tagIdList=e},expression:"tagIdList"}},t._l(t.tagList,function(t){return e("el-option",{key:t.id,attrs:{label:t.prcg_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("p",{staticClass:"ww fl mb10 py5 txt-info fw-b fs-14"},[t._v(t._s(t.$t("click_for_special_campaigns_for_you_note")))])])],1):t._e()],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl my15"},[e("el-form-item",{staticStyle:{"margin-bottom":"30px!important"},attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:"KVKK & "+t.$t("membership_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\n                            ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\n                            ")],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"fr my15"},[e("el-form-item",[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{staticClass:"fr px50",attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$t("signup")))]):t._e()],1)],1)])],1)],1)],2)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                            "+t._s(t.$t("please_wait"))+"\n                          ")])])]):t._e()],2)],1)])]):t._e()],1)],1)])]),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}}
1)])],1)},[],!1,null,"7e9c9f79",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var n={name:"sadakatForm_yurtdisi",data(){return{city_filter:"",town_filter:"",firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,getUserCartType:this.$store.state.firmUserCartType||"",siteLogo:this.$cookies.get("web_logo")||"",ozelTikla:!1,resultShow:!1,buttonLoading:!1,agreeDetailTitle:null,agreeDetail:null,kvkkModal:!1,firmName:"",temsilciName:"",formData:{name:"",surname:"",firma:"",eposta:"",ceptel:"",ceptel_kod:"",sifre:"",kod1:"",passwordConfirm:"",sozlesme:1,cari_acik:1,temsilci_id:"",fr_classid:"",intsektor:"",dogumtar:"",ext_evlilik_tar:"",intgender:"",karttipi:"",intrelskod:"",vdaire:"",vergino:"",pkod:"",ulke_id:"",il_id:"",il:"",ilce_id:"",ilce:"",ext_mah:"",ext_cadde:"",ext_sokak:"",ext_binaad:"",ext_binano:"",ext_daireno:"",adres:"",tags:[]},tagList:[],tagIdList:[],sinifList:[],kartTipList:[],cityLoading:!1,countryList:[],cityList:[],cityListTemp:[],townList:[],townListTemp:[],rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],kod1:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],surname:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],born_date:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],intrelskod:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],fr_classid:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],passwordConfirm:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}],ulke_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],il_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],ilce_id:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}]},phoneCodeList:[]}},created(){this.getSinif(),this.getKartTip(),this.getSirketDefault(),this.getTagList(),this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bLogo,this.formData.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90,this.formData.ulke_id=this.firmSetting.b2bUlkeId||2,this.formData.il=this.firmSetting.b2bSehir||""},mounted(){this.getFavicon(),this.getCountry(""),this.getCity(this.firmSetting.b2bSehirId),this.phoneCodeList=r(30).default},methods:{getFavicon(){var link=document.querySelector("link[rel*='icon']")||document.createElement("link");link.type="image/x-icon",link.rel="shortcut icon",link.href=this.$cookies.get("web_logo_favicon")||this.firmSetting.b2bFavicon,document.getElementsByTagName("head")[0].appendChild(link)},requiredPasswordLenght(){return[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"number",message:this.$i18n.t("must_be_digit_and_numeric"),trigger:["blur","change"]}]},getTagList(){this.$apis.get("api/merchant/memberTags/list?id=&prcg_name=&idSort=desc&prcg_nameSort&limit=25&page=1").then(t=>{this.tagList=t.data.KiboApp.Response.data.list}).catch(()=>{this.tagList=[]})},getCountry(t){this.$apis.get("api/country/list?cnt_nameSort=asc&id="+t).then(t=>{this.countryList=t.data.KiboApp.Response.data.list}).catch(()=>{})},getCity(t){this.$apis.get("api/city/list?cty_nameSort=asc&country_id="+t).then(t=>{this.cityList=t.data.KiboApp.Response.data.list,this.cityListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})}
1,getTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list}).catch(()=>{})},changeTown(t){this.$apis.get("api/district/list?cny_nameSort=asc&city_id="+t).then(t=>{this.townList=t.data.KiboApp.Response.data.list,this.townListTemp=t.data.KiboApp.Response.data.list,this.formData.ilce_id=""}).catch(()=>{})},CityFilter(t){t&&(this.cityList=this.cityListTemp.filter(e=>{if(~this.$seolink(e.cty_name).indexOf(t)||~this.$seolink(e.cty_name).indexOf(this.$seolink(t)))return e.cty_name}))},TownFilter(t){console.log(t),t&&(this.townList=this.townListTemp.filter(e=>{if(~this.$seolink(e.cny_name).indexOf(t)||~this.$seolink(e.cny_name).indexOf(this.$seolink(t)))return e.cny_name}))},ozelTiklaChange(){this.ozelTikla=!!this.ozelTikla},getCahngeKVKK(){this.formData.kvkk?(this.sozlesme=1,this.formData.kvkk=!0):(this.sozlesme=0,this.formData.kvkk="")},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.firmSetting.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(()=>{this.agreeDetailTitle=null,this.agreeDetail=null})},getSirketDefault(){this.firmSetting&&this.$apis.get("api/merchant/corp/list?id="+this.firmSetting.b2bDefaultFirm+"&eposta&limit=1000&page=1").then(t=>{var data=t.data.KiboApp.Response.data.list[0];this.formData.intrelskod=data.id,this.firmName=data.firma}).catch(()=>{})},getSirketAuto(t,e){this.$apis.get("api/merchant/corp/list?id=&ckod=&firma="+t+"&eposta&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleSirketAutoSelect(t){if(!t)return this.formData.intrelskod="",this.firmName="",!1;this.formData.intrelskod=t.id,this.firmName=t.firma},getSinif(){this.$apis.get("api/merchant/definition/list?groupnum=2&limit=1000&page=1").then(t=>{this.sinifList=t.data.KiboApp.Response.data.list}).catch(()=>{this.sinifList=[]})},getKartTip(){this.$apis.get("api/merchant/definition/list?groupnum=1&limit=1000&page=1").then(t=>{this.kartTipList=t.data.KiboApp.Response.data.list,t.data.KiboApp.Response.data.list.map(t=>{t.id==this.getUserCartType&&(this.formData.karttipi=t.id)})}).catch(()=>{this.kartTipList=[]})},getTemsilciAuto(t,e){this.$apis.get("api/merchant/employee/list?firma="+t+"&limit=1000&page=1").then(t=>{e(t.data.KiboApp.Response.data.list)}).catch(()=>{})},handleTemsilciSelect(t){if(!t)return this.formData.temsilci_id="",this.temsilciName="",!1;this.formData.temsilci_id=t.id,this.temsilciName=t.firma},onPhoneSelect(t){this.formData.ceptel=t.nationalNumber,this.formData.ceptel_kod=t.countryCallingCode},submitForm(){this.$refs.formData.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.formData.firma=this.formData.name+" "+this.formData.surname,this.firmSetting.b2bnewUyeEtiket&&(this.formData.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.firmSetting.b2bShowAddressDetail&&(this.formData.adres=this.formData.ext_mah+" "+this.formData.ext_cadde+" "+this.formData.ext_sokak+" "+this.formData.ext_binaad+" "+this.formData.ext_binano+" "+this.formData.ext_daireno),this.formData.ceptel=+this.formData.ceptel,this.formData.tags=this.tagIdList.reduce((t,e)=>(t.push({id:e}),t),[]),this.$apis.post("api/user/create",this.formData).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,scroll(0,0),setTimeout(()=>{"0"==this.$store.state.firmSmsSendStatus?location.href=this.localePath(this.$route.query.redirect||"/"):location.href=this.localePath("/auth/smsActivation")},3e3)}).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var l of Object.entries(r)){var n=o(l,2),c=n[0],d=n[1];console.log(c,d),d.map(t=>{e.push(t)})}console.log(t.response.status),this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),scroll(0,0),setTimeout(()=>{this.resultShow=!1},3e3)})})}}},c=(r(555),r(556),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("main",[e("section",{staticClass:"wrapper-64em hh mrau px10 pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.buttonLoading,expression:"buttonLoading"}],staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-48em mrau px10"},[null!=t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("div",{staticClass:"ww fl my15 pb30"},[e("el-form",{ref:"formData",staticClass:"sadakatForm",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"name"}},[e("el-input",{attrs:{placeholder:t.$t("name"),autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("surname"),prop:"surname"}},[e("el-input",{attrs:{placeholder:t.$t("surname"),autocomplete:"off"},model:{value:t.formData.surname,callback:function(e){t.$set(t.formData,"surname",e)},expression:"formData.surname"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.formData.ceptel_kod,callback:function(e){t.$set(t.formData,"ceptel_kod",e)},expression:"formData.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n                            ")])})],2)],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"eposta"}},[e("el-input",{attrs:{placeholder:"[email protected]",autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"*****",type:"password",autocomplete:"off","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-divider",{attrs:{"content-position":"left"}}
1,[t._v(t._s(t.$t("address")+" "+t.$t("info")))])],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("country"),prop:"ulke_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"",remote:"","reserve-keyword":"",placeholder:t.$t("country"),autocomplete:"off",loading:t.cityLoading},model:{value:t.formData.ulke_id,callback:function(e){t.$set(t.formData,"ulke_id",e)},expression:"formData.ulke_id"}},t._l(t.countryList,function(t){return e("el-option",{key:t.id,attrs:{label:t.cnt_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[t.cityList.length>0?e("el-form-item",{attrs:{label:t.$t("city"),prop:"il_id"}},[e("el-select",{staticClass:"ww fl",attrs:{filterable:"","filter-method":e=>t.city_filter=e,loading:t.cityLoading},on:{change:e=>{t.getTown(e),t.city_filter=""}},model:{value:t.formData.il_id,callback:function(e){t.$set(t.formData,"il_id",e)},expression:"formData.il_id"}},[t._l(t.cityList,function(r,o){return[String(t.$seolink(r.cty_name)).indexOf(t.$seolink(t.city_filter))>-1?e("el-option",{key:o,attrs:{label:r.cty_name,value:r.id}}):t._e()]})],2)],1):e("el-form-item",{attrs:{label:t.$t("city"),prop:"il"}},[e("el-input",{attrs:{placeholder:t.$t("city"),autocomplete:"off"},model:{value:t.formData.il,callback:function(e){t.$set(t.formData,"il",e)},expression:"formData.il"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("zip_code")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",autocomplete:"off",placeholder:t.$t("zip_code")},model:{value:t.formData.pkod,callback:function(e){t.$set(t.formData,"pkod",e)},expression:"formData.pkod"}})],1)],1)],1),t._v(" "),t.firmSetting.b2bShowAddressDetail?e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("neighborhood")}},[e("el-input",{attrs:{placeholder:t.$t("neighborhood")},model:{value:t.formData.ext_mah,callback:function(e){t.$set(t.formData,"ext_mah",e)},expression:"formData.ext_mah"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("street")}},[e("el-input",{attrs:{placeholder:t.$t("street")},model:{value:t.formData.ext_cadde,callback:function(e){t.$set(t.formData,"ext_cadde",e)},expression:"formData.ext_cadde"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("street2")}},[e("el-input",{attrs:{placeholder:t.$t("street2")},model:{value:t.formData.ext_sokak,callback:function(e){t.$set(t.formData,"ext_sokak",e)},expression:"formData.ext_sokak"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("building")+" "+t.$t("name")}},[e("el-input",{attrs:{placeholder:t.$t("building")+" "+t.$t("name")},model:{value:t.formData.ext_binaad,callback:function(e){t.$set(t.formData,"ext_binaad",e)},expression:"formData.ext_binaad"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("building")+" "+t.$t("number")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",placeholder:t.$t("building")+" "+t.$t("number")},model:{value:t.formData.ext_binano,callback:function(e){t.$set(t.formData,"ext_binano",e)},expression:"formData.ext_binano"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("apartman")}},[e("el-input",{attrs:{onkeyup:"this.value=this.value.replace(/[^\\d]/,'')",placeholder:t.$t("apartman")},model:{value:t.formData.ext_daireno,callback:function(e){t.$set(t.formData,"ext_daireno",e)},expression:"formData.ext_daireno"}})],1)],1)],1):e("div",[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("address"),prop:"adres"}},[e("el-input",{attrs:{type:"textarea",rows:2,placeholder:t.$t("address")},model:{value:t.formData.adres,callback:function(e){t.$set(t.formData,"adres",e)},expression:"formData.adres"}})],1)],1)],1)],1)],1),t._v(" "),"0"!=t.firmSetting.b2bShowOldCardNo?e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Üye Kart No"),prop:"2"==t.firmSetting.b2bShowOldCardNo?"kod1":""}}
1,[e("el-input",{attrs:{maxlength:"20"},model:{value:t.formData.kod1,callback:function(e){t.$set(t.formData,"kod1",e)},expression:"formData.kod1"}})],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:24}},[e("div",{staticClass:"ww fl mt15"}),t._v(" "),e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t("click_for_special_campaigns_for_you")},on:{change:t.ozelTiklaChange},model:{value:t.ozelTikla,callback:function(e){t.ozelTikla=e},expression:"ozelTikla"}})],1),t._v(" "),t.ozelTikla?e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("born_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.dogumtar,callback:function(e){t.$set(t.formData,"dogumtar",e)},expression:"formData.dogumtar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("marriage_date")}},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.ext_evlilik_tar,callback:function(e){t.$set(t.formData,"ext_evlilik_tar",e)},expression:"formData.ext_evlilik_tar"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:8,md:8,sm:8,xs:24}},[e("el-form-item",{attrs:{label:t.$t("gender")}},[e("el-radio-group",{staticClass:"ww fl",model:{value:t.formData.intgender,callback:function(e){t.$set(t.formData,"intgender",e)},expression:"formData.intgender"}},[e("el-radio-button",{attrs:{label:"0"}},[t._v(t._s(t.$t("male")))]),t._v(" "),e("el-radio-button",{attrs:{label:"1"}},[t._v(t._s(t.$t("female")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("representative")}},[e("el-autocomplete",{staticClass:"ww fl",attrs:{clearable:"","fetch-suggestions":t.getTemsilciAuto,"value-key":"firma","trigger-on-focus":!1,placeholder:t.$t("representative")},on:{select:t.handleTemsilciSelect,clear:t.handleTemsilciSelect},scopedSlots:t._u([{key:"default",fn:function(r){var o=r.item;return[e("span",{staticClass:"name"},[t._v(t._s(o.firma))])]}}],null,!1,1962967988),model:{value:t.temsilciName,callback:function(e){t.temsilciName=e},expression:"temsilciName"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-form-item",{attrs:{label:t.$t("İlgi Alanlarınız")}},[e("el-select",{staticClass:"ww fl",attrs:{multiple:"",autocomplete:"off"},model:{value:t.tagIdList,callback:function(e){t.tagIdList=e},expression:"tagIdList"}},t._l(t.tagList,function(t){return e("el-option",{key:t.id,attrs:{label:t.prcg_name,value:t.id}})}),1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24}},[e("p",{staticClass:"ww fl mb10 py5 txt-info fw-b fs-14"},[t._v(t._s(t.$t("click_for_special_campaigns_for_you_note")))])])],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:24}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl my15"},[e("el-form-item",{staticStyle:{"margin-bottom":"30px!important"},attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:"KVKK & "+t.$t("membership_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\n                            ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\n                          ")],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"fr my15"},[e("el-form-item",[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{staticClass:"fr px50",attrs:{type:"primary"},on:{click:t.submitForm}},[t._v(t._s(t.$t("signup")))]):t._e()],1)],1)])],1)],1)],1)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                            "+t._s(t.$t("please_wait"))+"\n                          ")])])]):t._e()],2)],1)])]):t._e()],1)],1)])]),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}}
1)])],1)},[],!1,null,"764a02c5",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}var n={name:"uyeForm",data(){return{firmSetting:this.$store.state.firm.settings,siteLogo:"",agreeDetailTitle:null,agreeDetail:null,buttonLoading:!1,resultShow:!1,kvkkModal:!1,formData:{name:"",surname:"",firma:"",eposta:"",ceptel_kod:"",ceptel:"",sifre:"",token:"",sozlesme:1,cari_acik:1,cari_tip:2,intrelskod:this.$cookies.get("corpId")||0},rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:2,message:this.$t("must_be_digit",{val:"2"}),trigger:"blur"}],surname:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:2,message:this.$t("must_be_digit",{val:"2"}),trigger:"blur"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:10,message:this.$t("must_be_digit",{val:"10"}),trigger:"blur"}],sifre:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],token:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{min:8,message:this.$i18n.t("must_be_digit",{val:8}),trigger:"blur"}],passwordConfirm:[{validator:(t,e,r)=>{""===this.formData.passwordConfirm?r(new Error(this.$t("Bu Alan Boş Olamaz"))):this.formData.passwordConfirm!==this.formData.sifre?r(new Error(this.$t("those_passwords_didnt_match_try_again"))):r()},trigger:"blur"}],eposta:[{required:!0,message:this.$i18n.t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$i18n.t("invalid_email_address"),trigger:["blur","change"]}],kvkk:[{required:!0,message:this.$t("please_agree_agreement"),trigger:"change"}]},phoneCodeList:[]}},created(){this.formData.ceptel_kod=this.firmSetting.b2bDefaultPhoneCode||90,this.siteLogo=this.$cookies.get("web_logo")||this.firmSetting.b2bUiSettings.settings.data.b2bLogo},mounted(){this.phoneCodeList=r(30).default},methods:{onSelect(t){this.formData.ceptel=t.formatInternational},getCahngeKVKK(){this.formData.kvkk?(this.sozlesme=1,this.formData.kvkk=!0):(this.sozlesme=0,this.formData.kvkk="")},getAgree(){this.kvkkModal=!0,null==this.agreeDetailTitle&&this.$apis.get("api/content/detailById/"+(this.firmSetting.b2bUiSettings.settings.data.b2bUyelikSozlesmesi||"")).then(t=>{this.agreeDetailTitle=t.data.KiboApp.Response.data.content_title,this.agreeDetail=t.data.KiboApp.Response.data.content_text}).catch(t=>{this.agreeDetailTitle=null,this.agreeDetail=null})},submitForm(){this.$refs.formData.validate(t=>{if(!t)return console.log("error submit!!"),!1;this.buttonLoading=!0,this.formData.firma=this.formData.name+" "+this.formData.surname,this.formData.ceptel=this.formData.ceptel,this.firmSetting.b2bnewUyeEtiket&&(this.formData.tags=[{id:this.firmSetting.b2bnewUyeEtiket.id}]),this.$apis.post("api/user/create",this.formData).then(t=>{this.buttonLoading=!1,this.resultShow=!0,this.resultIcon="success",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.data.KiboApp.Response.kiboMessage,"0"==this.firmSetting.b2bUiSettings.settings.data.firmSmsSendStatus?this.loginUser({email:this.formData.eposta,password:this.formData.sifre}):"0"==this.$store.state.firmSmsSendStatus?location.href=this.localePath(this.$route.query.redirect||"/"):location.href=this.localePath("/auth/smsActivation")}
1).catch(t=>{this.buttonLoading=!1;var e=[],r=t.response.data.KiboApp.Response.data.errors;if(422==t.response.status)for(var l of Object.entries(r)){var n=o(l,2),c=n[0],d=n[1];console.log(c,d),d.map(t=>{e.push(t)})}this.resultShow=!0,this.resultIcon="error",this.resultTitle=this.$t("new")+" "+this.$t("member"),this.resultMessage=t.response.data.KiboApp.Response.kiboMessage+e.join("<br>"),setTimeout(()=>{this.resultShow=!1},3e3)})})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")&&this.$cookies.get("userBasketId")||""},loginUser(t){this.buttonLoading=!0,this.$store.dispatch("user/login",t).then(t=>{this.buttonLoading=!1,this.alertMessage=this.$i18n.t("hello")+" "+t.name+" "+t.surname,this.showCheck=!0,this.alertAction="success",this.$apis.get("api/user/myprofile",{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(e=>{var r=e.data.KiboApp.Response.data.firma,o=e.data.KiboApp.Response.data.firma.split(" "),l=(r=o[0],o.length>1?o[1]:"");this.$cookies.set("userId",e.data.KiboApp.Response.data.id,{path:"/",maxAge:86400}),this.$cookies.set("userName",r,{path:"/",maxAge:86400}),this.$cookies.set("userSurname",l,{path:"/",maxAge:86400}),this.$apis.get("api/basket/cart?id="+this.isUserBasketId(),{headers:{Authorization:"Bearer "+t.data.KiboApp.Response.data.authorization.access_token,"X-Mentis-B2B-Merchant-Id":this.$cookies.get("merchant_id")}}).then(t=>{var e=0;t.data.KiboApp.Response.data.stokinout.forEach(t=>{var r;e+=null!==(r=t.stok)&&void 0!==r&&r.ebook?1:parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",e,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",e),this.$cookies.get("merchant_id")&&"0"==this.firmSetting.b2bUiSettings.settings.data.b2bEnterPanelPage?location.href=this.localePath(this.$route.query.redirect||"/uye"):location.href=this.localePath(this.$route.query.redirect||"/")}).catch(t=>{this.$cookies.set("basketCount",0,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",0),setTimeout(()=>{location.href=this.localePath("/")},250)})}).catch(t=>{console.log(t)})},t=>{this.buttonLoading=!1,this.showCheck=!0,setTimeout(()=>{this.showCheck=!1},2e3)})},resetForm(t){this.$refs[t].resetFields()}}},c=(r(557),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("section",{staticClass:"wrapper-36em hh mrau pos-r z9",style:"margin-top:"+(t.$device.isMobile?"0":"1vh")},[e("div",{staticClass:"ww fl mb50 pt20 rds5 bg-white pos-r z1"},[e("div",{staticClass:"wrapper-36em mrau px20 pb50"},[t.siteLogo?e("nuxt-link",{attrs:{to:t.localePath("/")}},[e("img",{staticClass:"h60 mrau dp-b",attrs:{src:t.siteLogo,alt:"Logo"}})]):t._e(),t._v(" "),e("el-form",{ref:"formData",staticClass:"schoolForm ww fl",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("name"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("surname"),prop:"surname"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.surname,callback:function(e){t.$set(t.formData,"surname",e)},expression:"formData.surname"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{prop:"eposta",label:t.$t("email")}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.eposta,callback:function(e){t.$set(t.formData,"eposta",e)},expression:"formData.eposta"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{"suffix-icon":"el-icon-phone",inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}},[e("el-select",{staticClass:"w90",attrs:{slot:"prepend",icon:"el-icon-search",filterable:""},slot:"prepend",model:{value:t.formData.ceptel_kod,callback:function(e){t.$set(t.formData,"ceptel_kod",e)},expression:"formData.ceptel_kod"}},[e("span",{staticClass:"hh px5 pos-a tp-0 lf-0 fs-18 ta-o",attrs:{slot:"prefix"},slot:"prefix"},[t._v("+")]),t._v(" "),t._l(t.phoneCodeList,function(r,o){return e("el-option",{key:o,attrs:{value:r.dialCode}},[e("span",{staticClass:"mr5 fs-18",attrs:{title:r.name}},[t._v(t._s(r.emoji))]),t._v(t._s(" + "+r.dialCode)+"\n                        ")])})],2)],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("password"),prop:"sifre"}},[e("el-input",{attrs:{autocomplete:"off",placeholder:"*****",type:"password",onfocus:"this.select();","show-password":""},model:{value:t.formData.sifre,callback:function(e){t.$set(t.formData,"sifre",e)},expression:"formData.sifre"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("again_password"),prop:"passwordConfirm"}},[e("el-input",{attrs:{autocomplete:"off",placeholder:"*****",type:"password",onfocus:"this.select();","show-password":""},model:{value:t.formData.passwordConfirm,callback:function(e){t.$set(t.formData,"passwordConfirm",e)},expression:"formData.passwordConfirm"}})],1)],1),t._v(" "),"1"==t.firmSetting.b2bUserNewRegisterOrgMemberCodeStatus?e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Üyelik")+" "+t.$t("Kod"),prop:"token"}},[e("el-input",{attrs:{autocomplete:"off",placeholder:"*****",onfocus:"this.select();"},model:{value:t.formData.token,callback:function(e){t.$set(t.formData,"token",e)},expression:"formData.token"}})],1)],1):t._e(),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl my15"},[e("el-form-item",{staticStyle:{"margin-bottom":"30px!important"},attrs:{prop:"kvkk"}},[e("el-checkbox",{staticClass:"fl mr5",attrs:{label:t.$t("membership_agreement")},on:{change:t.getCahngeKVKK},model:{value:t.formData.kvkk,callback:function(e){t.$set(t.formData,"kvkk",e)},expression:"formData.kvkk"}}),t._v("\n                ("),e("span",{staticClass:"h20 fw-b fs-13 cr-p txt-info",on:{click:t.getAgree}},[t._v(t._s(t.$t("contract")))]),t._v(")\n                ")],1)],1)]),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"ww fl my15"},[e("el-form-item",[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{staticClass:"ww fl",attrs:{loading:t.buttonLoading,type:"primary"}
1,on:{click:function(e){return t.submitForm()}}},[t._v(t._s(t.$t("signup")))]):t._e()],1)],1)])],1)],1),t._v(" "),t.resultShow?e("div",{staticClass:"ww hh pos-a tp-0 lf-0 z9 bg-white"},[e("div",{staticClass:"ww mrau",staticStyle:{"max-width":"380px"}},[e("div",{staticClass:"ItemShadow ww fl mt50 pt15 pb30 px15 pos-r bg-white"},[e("el-result",{attrs:{icon:t.resultIcon,title:t.resultTitle,subTitle:t.resultMessage}},["success"==t.resultIcon?e("template",{slot:"extra"},[e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl my15 ta-o"},[e("div",{staticClass:"rowLoader fl mb10 ta-o",staticStyle:{width:"120px","margin-top":"10px"}},[e("div",{staticClass:"rowLoaderBar"})])]),t._v(" "),e("span",{staticClass:"ww fl ta-c"},[t._v("\n                      "+t._s(t.$t("please_wait"))+"\n                    ")])])]):t._e()],2)],1)])]):t._e()],1)]),t._v(" "),e("el-drawer",{attrs:{direction:"ltr","custom-class":"sozlesmeModal","append-to-body":"",title:t.agreeDetailTitle,size:(t.$device.isMobile?100:50)+"%",visible:t.kvkkModal},on:{"update:visible":function(e){t.kvkkModal=e}}},[e("div",{staticClass:"ww fl px15",domProps:{innerHTML:t._s(t.agreeDetail)}})])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"aktivasyonStep",data(){return{formData:{cardType:null,class:null,bornDate:null,marriageDate:null,salesConsultant:null,name:"name",surname:"surname",phone:"5555555551",email:"[email protected]",cardNo:"",cardNoConfirm:""},rules:{tax_office:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],tax_number:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],address:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],country:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],city:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],town:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}]}}},methods:{validate(){return new Promise((t,e)=>{this.$refs.form.validate(e=>{this.$emit("on-validate",e,this.formData),t(e)})})}}},l=(r(558),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("el-form",{ref:"form",attrs:{model:t.formData,rules:t.rules}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("card")+" "+t.$t("number"),prop:"password"}},[e("el-input",{attrs:{placeholder:"#####"},model:{value:t.formData.cardNo,callback:function(e){t.$set(t.formData,"cardNo",e)},expression:"formData.cardNo"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("card")+" "+t.$t("number")+" "+t.$t("confirm"),prop:"password_confirmation"}},[e("el-input",{attrs:{placeholder:"#####"},model:{value:t.formData.cardNoConfirm,callback:function(e){t.$set(t.formData,"cardNoConfirm",e)},expression:"formData.cardNoConfirm"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("name"),prop:"name"}},[e("el-input",{attrs:{placeholder:t.$t("name")},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("surname"),prop:"surname"}},[e("el-input",{attrs:{placeholder:t.$t("surname")},model:{value:t.formData.surname,callback:function(e){t.$set(t.formData,"surname",e)},expression:"formData.surname"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{placeholder:"[email protected]"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("phone"),prop:"phone"}},[e("el-input",{directives:[{name:"facade",rawName:"v-facade",value:"(###) ### ## ##",expression:"'(###) ### ## ##'"}],attrs:{placeholder:"(###) ### ## ##"},model:{value:t.formData.phone,callback:function(e){t.$set(t.formData,"phone",e)},expression:"formData.phone"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("born_date"),prop:"born_date"}},[e("div",{staticClass:"ww fl"},[e("el-date-picker",{attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.bornDate,callback:function(e){t.$set(t.formData,"bornDate",e)},expression:"formData.bornDate"}})],1)])],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("marriage_date"),prop:"marriage_date"}},[e("div",{staticClass:"ww fl"},[e("el-date-picker",{staticClass:"ww fl",attrs:{type:"date",format:"dd-MM-yyyy","value-format":"yyyy-MM-dd",placeholder:"dd-mm-yyyy"},model:{value:t.formData.marriageDate,callback:function(e){t.$set(t.formData,"marriageDate",e)},expression:"formData.marriageDate"}})],1)])],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("el-form-item",{attrs:{label:t.$t("sales_consultant")}},[e("el-input",{attrs:{placeholder:t.$t("sales_consultant")},model:{value:t.formData.salesConsultant,callback:function(e){t.$set(t.formData,"salesConsultant",e)},expression:"formData.salesConsultant"}})],1)],1)],1)],1)},[],!1,null,"7c87af80",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"autocompleteList",props:{completeData:{type:Array,default:[]},getAutoCompleteWrap:{type:Boolean,default:!1},completeLoading:{type:Boolean,default:!1},query:{type:String,default:""}},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmBaseCurrency:this.$store.state.firm.settings.corpDefaultCurrency,currencySymbolList:this.$store.state.setting.currencySymbol}},methods:{getSearch(){this.query?this.completeLoading||(location.href=this.localePath("/ara?search_text="+encodeURIComponent(this.query))):this.$refs.searchInput.focus()},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link+"?category_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link+"?producer_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link+"?tag_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link+"?author_seo_link="+t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];
1element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol">\n                            <span class="fs-13 fw-b txt-info">\n                                <span class="fl mt5 mr5 ln-15 fs-9">'.concat(element.birim,"</span>\n                                ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                            </span>\n                        </p>"))}return e},getBaseCurrency(t){var e="",r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o=this.getCurrency(t);for(var l in t.currencyPriceList){var element=t.currencyPriceList[l];element.birim==o&&r!=o&&(e='<p class="h20 fl ta-ol fs-13 fw-b txt-info">\n            '.concat(element.birim,"\n            ").concat(this.$currencyFormat(element.kfiyat_proc,element.birim),"\n                        </p>"))}return e},getPrice(t,e){var r=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,o="";return t.currencyPriceList[r]?o=t.currencyPriceList[r][e]:(o=t.currencyPriceList[r||"TRY"][e],this.$store.commit("SET_CURRENCY",r||"TRY")),o},getPriceCode(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency,code="";return code=t.currencyPriceList[e]?t.currencyPriceList[e].birim:t.currencyPriceList[e||"TRY"].birim,this.currencySymbolList[code]},getCurrency(t){var e=this.$store.state.firmBaseCurrency||this.firmBaseCurrency;for(var r in t.currencyPriceList)t.currencyPriceList[r].kdvz==t.kdvz&&(e=t.currencyPriceList[r].birim);return e}}},l=o,n=r(0),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.getAutoCompleteWrap&&t.completeData?e("div",{staticClass:"mt5 mx20 pos-a tp-100 lf-0 bg-white rds5 z9",staticStyle:{width:"calc(100% - 40px)","box-shadow":"0 0 7px 1px #ececec"}},[e("div",{staticClass:"ww fl bdrT ofy-a",staticStyle:{height:"420px"}},[t._l(t.completeData,function(r,o){var l,n;return e("a",{key:o,staticClass:"acItem ww fl p10 pos-r",staticStyle:{"border-bottom":"1px solid #f1f1f1"},attrs:{href:t.localePath("/urun/"+r.product_json.seo_link)}},[r.product_json.files.length>0?e("el-image",{class:"fl",staticStyle:{width:"50px",height:"60px"}
1,attrs:{src:r.product_json.files[0].fl_url,fit:"contain","preview-src-list_":[r.product_json.files[0].fl_url],"append-to-body":"","hide-on-click-modal":""},scopedSlots:t._u([{key:"error",fn:function(){return[e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"})]},proxy:!0}],null,!0)}):e("i",{staticClass:"w50 h60 fl ta-o el-icon-picture-outline fs-40"}),t._v(" "),e("div",{staticClass:"fl",staticStyle:{width:"calc( 100% - 50px)"}},[e("p",{staticClass:"ww fl ta-l ln-17 fs-13 fw-b pos-r"},[t._v(" "+t._s("0"==(null===(l=t.allSetting.settings)||void 0===l?void 0:l.b2bSearchPrdVariantChildListStatus)&&(null===(n=r.product_json)||void 0===n?void 0:n.variant_master_stokcins)||r.product_json.stokcins))]),t._v(" "),t.firmSetting.b2bHidePublisher?t._e():[null!=r.product_json.uretici?[e("div",{staticClass:"ww fl of-h ta-l to-e ws-n pos-r txt-2 fs-12 ln-15"},[e("router-link",{attrs:{to:t.localePath(t.getMakeSeoLink(r.product_json.uretici,"uretici")),title:r.product_json.uretici.ureticiad}},[t._v("\n                "+t._s(r.product_json.uretici.ureticiad)+"\n              ")])],1)]:e("span",{staticClass:"ww fl of-h to-e ws-n pos-r fs-12 ln-15"},[t._v("-")])],t._v(" "),t.$store.state.firm.settings.b2bUiSettings.settings.data.b2bShowPrice?e("div",{staticClass:"ww fl"},[(r.product_json.kisk||0)>0?e("div",{staticClass:"ww fl"},[e("p",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl ta-l ln-17 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl mt5 ln-9 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n                "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n              ")])]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()]):e("div",{staticClass:"ww fl"},[e("span",{staticClass:"ww fl mt5 ta-l ln-16 fs-15 fw-9 txt-error"},[e("span",{staticClass:"fl ln-16 fs-14"},[t._v(t._s(t.getPriceCode(r)))]),t._v("\n              "+t._s(t.$currencyFormat(t.getPrice(r,"kfiyat_proc"),t.getCurrency(r)))+"\n            ")]),t._v(" "),r&&r.currencyPriceList&&t.firmSetting.b2bShowBaseCurrency?e("div",{staticClass:"ww fl",domProps:{innerHTML:t._s(t.getBaseCurrency(r))}}):t._e()])]):t._e()],2)],1)}),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.completeLoading,expression:"completeLoading"}],staticClass:"ww fl px10 bdrT"},[e("a",{staticClass:"fl ln-30 txt-info fs-14 cr-p",on:{click:t.getSearch}},[t._v("\n        "+t._s(t.$t("Aranan İfade"))+" : \n        "),e("span",{staticClass:"fw-b"},[t._v(t._s(t.query))]),t._v("\n        "+t._s(t.$t("Tüm sonuçları göster"))+"\n      ")])])],2)]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"MainMenu",props:{GetOpen:{type:Boolean,default:!1}},components:{MenuItem:()=>r.e(0).then(r.bind(null,797))},data(){return{activItem:1,b2bSiteDomain:this.$store.state.firm.b2bSiteDomain}},created(){this.activItem=this.$route.params&&this.$route.params.id},methods:{GetClose(t){this.$emit("GetClose",!1)},menuSelect(t,e,r){var o,l=(null==r||null===(o=r.route)||void 0===o?void 0:o.path)||"";if(l)if(l.startsWith("http")){var n=new URL(l),c=new URL(this.b2bSiteDomain).hostname;if(n.hostname!==c)location.href=l;else{var d=n.pathname+n.search+n.hash;this.$router.push(this.localePath(d))}}else this.$router.push(this.localePath(l));else this.$router.push("/")}}},l=(r(573),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",[e("el-drawer",{attrs:{title:t.$t("menu"),visible:t.GetOpen,"append-to-body":!0,"with-header":!0,"custom-class":"MainMenu",direction:"ltr"},on:{close:t.GetClose}},[e("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"unique-opened":"","default-active":t.activItem,"background-color":"#1e1f2b","text-color":"#fff","active-text-color":"#ffd04b"},on:{select:t.menuSelect}},[e("MenuItem")],1)],1)],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"menu-item",props:{children:{type:Array}},components:{userMenu:()=>r.e(0).then(r.bind(null,786)),currencySwitcher:()=>r.e(0).then(r.bind(null,784)),wordMenu:()=>r.e(0).then(r.bind(null,799))},data(){return{firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,b2bMultiLang:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bMultiLang||null,b2bCurrencyList:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bCurrencyList||null,menu:[],firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,langList:[],langName:""}}
1,created(){this.getSetting()},methods:{getDomain(t){(this.$store.state.firm.b2bSiteDomain+"/").replace(/\/+$/,"/");this.$store.state.firmBaseLang,this.$i18n.locale=t,this.$i18n.defaultLocale=t,this.$i18n.fallbackLocale=t,this.$i18n.setLocaleCookie(t)},getSetting(){var t=this.firmSetting.b2bMultiLang;null!=t&&""!=t&&"0"!=t&&"1"!=t&&this.$i18n.locales.map(e=>{Array.isArray(t)?t.includes(e.code)&&(this.langList.push(e),e.code==this.$i18n.locale&&(this.langName=e.name)):t.split(";").includes(e.code)&&(this.langList.push(e),e.code==this.$i18n.locale&&(this.langName=e.name))}),""==this.langName&&this.langList[0]&&(this.langName=this.langList[0].name)},getLink(t){var e="/"+t.url+"/"+this.$seolink(this.$t(t.name))+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[t.url]+"="+t.id;return"sayfa"==t.url&&(e="/"+t.url+"/"+t.id+"/"+this.$seolink(this.$t(t.name))),e}}},l=o,n=(r(574),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("div",{staticClass:"mobilMenu ww fl"},[t._l(t.firmSettingMenu.header,function(r,o){return e("div",{key:o},["megaYayinci"==r.id?e("el-submenu",{attrs:{index:o+"_"+r.id},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v(t._s(t.$t(r.name)))])]},proxy:!0}],null,!0)},[t._v(" "),e("el-menu-item-group",[e("wordMenu",{attrs:{url:"/list/uretici/"}})],1)],1):"megaYazar"==r.id?e("el-submenu",{attrs:{"popper-class":"h50",index:o+"_"+r.id},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v(t._s(t.$t(r.name)))])]},proxy:!0}],null,!0)},[t._v(" "),e("el-menu-item-group",[e("wordMenu",{attrs:{url:"/list/yazar/"}})],1)],1):"dropdown"===r.id?e("el-submenu",{attrs:{"popper-class":"h50",index:o+"_"+r.id},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v(t._s(t.$t(r.name)))])]},proxy:!0}],null,!0)},[t._v(" "),t._l(r.child,function(r,o){return[r.child&&r.child.length?e("el-submenu",{key:o+"_"+r.url,attrs:{index:o+"_"+(r.url||"sub"),"popper-class":"h50"},scopedSlots:t._u([{key:"title",fn:function(){return[e("span",[t._v(t._s(t.$t(r.name)))])]},proxy:!0}],null,!0)},[t._v(" "),t._l(r.child,function(r,o){return e("el-menu-item",{key:o+"_"+(r.url||r.name),attrs:{index:o+"_"+(r.url||o),route:r.url?{path:r.url}:null}},[e("span",[t._v(t._s(t.$t(r.name)))])])})],2):e("el-menu-item",{key:"leaf_"+o+"_"+(r.url||r.name),attrs:{index:o+"_"+(r.url||o),route:r.url?{path:r.url}:null}},[e("span",[t._v(t._s(t.$t(r.name)))])])]})],2):"megaKategori"==r.id?e("el-menu-item",{attrs:{index:o+"_megaKategori",route:t.localePath("/list/kategori")}},[e("span",[t._v(t._s(t.$t(r.name)))])]):["etiket","uretici","yazar","kategori"].includes(r.url)?e("el-menu-item",{attrs:{index:o+"_shortLink",route:{path:t.getLink(r)}}},[e("span",[t._v(t._s(t.$t(r.name)))])]):["sayfa"].includes(r.url)?e("el-menu-item",{attrs:{index:o+"_sayfa",route:t.localePath("/sayfa/"+r.id)}},[e("span",[t._v(t._s(t.$t(r.name)))])]):e("el-menu-item",{attrs:{index:o+"_link",route:{path:r.url}}},[e("span",[t._v(t._s(t.$t(r.name)))])])],1)}),t._v(" "),t._l(t.firmSettingMenu.toolbar,function(r,o){return["1"==r.status?e("el-menu-item",{key:"main_"+o,attrs:{index:o+"_"+r.url,route:{path:r.url}}},[e("span",[t._v(t._s(t.$t(r.name)))])]):"dropdown"==r.id?e("el-submenu",{key:"dd_"+o,attrs:{index:o+"_sub"}},[e("template",{slot:"title"},[t._v(t._s(t.$t(r.name)))]),t._v(" "),t._l(r.child,function(r,o){return e("el-menu-item",{key:o+"_ch",attrs:{index:o+"_"+r.url,route:{path:r.url}}},[e("span",[t._v(t._s(t.$t(r.name)))])])})],2):t._e()]}),t._v(" "),t.b2bMultiLang&&t.langList.length>0?[e("el-submenu",{attrs:{index:"lang"}},[e("template",{slot:"title"},[t._v(t._s(t.langName))]),t._v(" "),t._l(t.langList,function(r,o){return e("el-menu-item",{key:o+"_lang",attrs:{index:o+"_"+r.code,route:""},on:{click:function(e){return t.getDomain(r.code)}}},[e("span",[t._v(t._s(r.name))])])})],2)]:t._e(),t._v(" "),t.b2bCurrencyList&&t.b2bCurrencyList.length>0?e("li",{staticClass:"ww fl ml20 ta-ol"},[e("currencySwitcher",{attrs:{className:"h50 fs-13 txt-white"}})],1):t._e()],2)},[],!1,null,"56322cdb",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"menuRightBar",props:{showSearch:{type:Boolean,default:!0}},components:{userMenu:()=>r.e(0).then(r.bind(null,786))},data(){return{firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,showIcon:!0}},created(){this.showIcon=this.showSearch&&!this.firmSetting.b2bSearchButtonHide||!this.showSearch&&this.showSearch},methods:{showSearchInput(){console.log("showSearchInput"),this.$nuxt.$emit("getShowSearchInput",!0)}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fr dp-f jc-sb ai-c"},[e("span"),t._v(" "),e("div",{staticClass:"fr ta-o"},[t.showIcon?e("span",{staticClass:"w32 h40 mx5 icon-search fs-20 ta-o cr-p",on:{click:t.showSearchInput}}):t._e(),t._v(" "),!t.firmSetting.b2bHideLoginGiris||t.firmSetting.b2bShowUserLoginGiris?e("userMenu"):e("div",{staticClass:"fr dp-f"},[null!=t.firmSetting.b2bFacebook?e("a",{staticClass:"w32 h40 mx10-hover icon-facebook fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bFacebook}}):t._e(),t._v(" "),null!=t.firmSetting.b2bTwitter?e("a",{staticClass:"w32 h40 mx10-hover icon-twitter-x fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bTwitter}}):t._e(),t._v(" "),null!=t.firmSetting.b2bInstagram?e("a",{staticClass:"w32 h40 mx10-hover icon-instagram fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bInstagram}}):t._e(),t._v(" "),null!=t.firmSetting.b2bYoutube?e("a",{staticClass:"w32 h40 mx10-hover icon-youtube fs-20 ta-o txt-dark",attrs:{href:t.firmSetting.b2bYoutube}}):t._e()])],1)])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"wordMenu",props:{url:{type:String,default:""}},data:()=>({list:["A","B","C","Ç","D","E","F","G","H","I","İ","J","K","L","M","N","O","Ö","P","Q","R","S","Ş","T","U","Ü","V","W","X","Y","Z"]})},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap-content pb40",staticStyle:{width:"100%"}},[e("div",{staticClass:"ww fl mt5 mb20 px10"},[e("div",{staticClass:"cq-row cq-gap-20"},[t._l(t.list,function(r){return e("div",{key:r,staticClass:"cq-col-lg-4 cq-col-md-4 cq-col-sm-4 cq-col-xs-4"},[e("nuxt-link",{attrs:{to:t.localePath(t.url+r)}},[e("el-button",{staticClass:"ww h40 fl mb10 ta-o"},[t._v(t._s(r))])],1)],1)}),t._v(" "),e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-24"},[e("nuxt-link",{attrs:{to:t.localePath(t.url)}},[e("el-button",{staticClass:"ww h40 fl mb10 ta-o"}
1,[t._v(t._s(t.$t("Hepsi")))])],1)],1)],2)])])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e,r,o,l,a,n){try{var i=t[a](n),u=i.value}catch(t){return void r(t)}i.done?e(u):Promise.resolve(u).then(o,l)}var l={name:"ShareDialog",props:{size:{type:String},title:{type:String,required:!0},url:{type:String,required:!0},triggerShare:{type:Boolean}},watch:{dialogVisible(t){t&&this.$nextTick(()=>{this.$share()})},triggerShare(t){t&&this.handleShare()}},data:()=>({dialogVisible:!1,domain:""}),mounted(){this.domain=window.location.origin},methods:{handleShare(){var t,e=this;return(t=function*(){if(navigator.share)try{yield navigator.share({title:e.title,text:e.title,url:e.url})}catch(t){e.dialogVisible=!0}else e.dialogVisible=!0},function(){var e=this,r=arguments;return new Promise(function(l,n){var a=t.apply(e,r);function c(t){o(a,l,n,c,d,"next",t)}function d(t){o(a,l,n,c,d,"throw",t)}c(void 0)})})()},handleClipboard(text){navigator.clipboard.writeText(text).then(()=>{this.$message({message:this.$t("Kopyalandı"),type:"success"}),this.dialogVisible=!1}).catch(t=>{this.$message.error("Copy failed")})}}},n=l,c=r(0),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return e("div",[e("el-button",{staticStyle:{width:"100%"},attrs:{size:t.size,icon:"el-icon-share"},on:{click:t.handleShare}},[t._v(t._s(t.$t("Sepeti Paylaş"))+" ")]),t._v(" "),e("el-dialog",{attrs:{title:"Paylaş",visible:t.dialogVisible,width:t.$device.isMobile?"80%":"200px"},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("div",{staticClass:"ta-o mt10",staticStyle:{gap:"15px"}},[e("button",{staticClass:"h50 w50 ta-o cr-p",on:{click:function(e){return t.handleClipboard(t.domain+t.url)}}},[e("i",{staticClass:"fs-24 icon-copy"})]),t._v(" "),e("button",{staticClass:"h50 w50 ta-o cr-p",staticStyle:{"background-color":"#25d366"},attrs:{"data-sharer":"whatsapp","data-web":"false","data-title":t.title,"data-url":t.domain+t.url}},[e("i",{staticClass:"fs-24 txt-white icon-whatsapp"})]),t._v(" "),e("button",{staticClass:"h50 w50 ta-o cr-p",staticStyle:{"background-color":"#1da1f2"},attrs:{"data-sharer":"twitter","data-title":t.title,"data-url":t.domain+t.url}},[e("i",{staticClass:"fs-24 txt-white icon-twitter-x"})]),t._v(" "),e("button",{staticClass:"h50 w50 ta-o cr-p",staticStyle:{"background-color":"#1877f2"},attrs:{"data-sharer":"facebook","data-url":t.domain+t.url}},[e("i",{staticClass:"fs-24 txt-white icon-facebook"})])])])],1)},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(86),l=r(49),n={name:"basketInput",props:{inputData:Object,showInput:{type:Boolean,default:!0},sizeInput:{type:String,default:"medium"}},data(){return{loginDialogShow:!1,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,userData:this.$cookies.get("b2bUserInfo")||null,buttonLoad:!1,isBasket:0,quantity:1,varyantDialogShow:!1,varyantGroup:{},varyantGroupModal:{}}},created(){this.quantity=this.inputData.quantity,this.isBasket=this.firmSetting.b2bShowBasket||!1},methods:{googleAddToCart:o.googleAddToCart,metaAddToCart:l.metaAddToCart,handleAddToBasket(){try{this.inputData.attribute_text?!Object.keys(this.varyantGroup).length>0?this.getVaryantGroup():this.varyantDialogShow=!0:this.isLogin()}catch(t){console.log(t)}},handleVaryantIsSet(){var t=[];for(var e in this.varyantGroupModal)""==this.varyantGroupModal[e]&&t.push(e);t.length>0?this.$message({message:"("+t.join(", ")+") "+this.$t("Bu Alan Boş Olamaz"),type:"error"}):this.isLogin()},isLogin(){this.userData?this.getBasket():this.loginDialogShow=!0},loginDialogClose(){this.loginDialogShow=!1},sendReDirect(path){this.$router.push({path:"/auth/"+path+"?redirect=".concat(this.$route.fullPath)})},getAutoLogin(){var t;this.inputData.attribute_text&&(t=Object.values(this.varyantGroupModal).join("-"));var path="/auth/autoLogin?redirect="+this.$route.fullPath+"&loginToken="+this.firmSetting.b2bAutomaticLoginCode+"&productId="+this.inputData.id+"&productBarcode="+this.inputData.barkod+"&qty="+this.quantity+"&optionsId="+(t||"");this.$router.push({path:this.localePath(path)})},isUserBasketId(){return"1"==this.$cookies.get("isGuestLogin")?this.$cookies.get("userBasketId")||"new":""},getBasket(){var t;this.buttonLoad=!0,this.inputData.attribute_text&&(t=Object.values(this.varyantGroupModal).join(";")),this.$apis.post("api/basket/add",{basketId:this.isUserBasketId(),basketTransMod:"add",product:[{id:this.inputData.id,barcode:this.inputData.barkod,quantity:this.quantity,optionId:t||""}]}).then(t=>{this.buttonLoad=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"});var e=this.firmSetting,r=e.metaPixelID,o=e.metaConversionAccessToken;if(r){var l=o?{metaPixelID:r,metaConversionAccessToken:o}:null;this.metaAddToCart(this.inputData,"TRY",this.quantity,l)}this.firmSetting.googleAnalyticsID&&this.googleAddToCart(this.inputData,"TRY",this.quantity),this.$cookies.set("userBasketId",t.data.KiboApp.Response.data.basketCart.id,{path:"/",maxAge:86400});var n=0;t.data.KiboApp.Response.data.basketCart.stokinout.map(t=>{n+=parseFloat(t.out_miktar)}),this.$cookies.set("basketCount",n,{path:"/",maxAge:86400}),this.$nuxt.$emit("basketCount",n),this.$nuxt.$emit("newBasketTrigger",n),this.varyantDialogShow=!1}).catch(t=>{this.buttonLoad=!1,this.varyantDialogShow=!1,401!=t.response.data.KiboApp.Response.pageStatus&&this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},getVaryantGroup(){if(this.inputData.attribute_text){var t=JSON.parse(this.inputData.attribute_text),e={},r={};t.forEach(t=>{e[t.variant_name]||(e[t.variant_name]=[],r[t.variant_name]=""),e[t.variant_name].push(t)}),this.varyantGroup=e,this.varyantGroupModal=r,this.varyantDialogShow=!0}}}},c=(r(575),r(0)),component=Object(c.a)(n,function(){var t=this,e=t._self._c;return"1"==t.isBasket?e("div",{staticClass:"basketInput ww fl"},[e("div",{staticClass:"cq-row cq-gap-10"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-8 cq-col-xs-8"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.quantity,expression:"quantity"}],staticClass:"el-input__inner ww fl rr ta-c",attrs:{size:t.sizeInput},domProps:{value:t.quantity},on:{input:function(e){e.target.composing||(t.quantity=e.target.value)}}})]),t._v(" "),e("div",{staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-16 cq-col-xs-16"},[e("el-button",{staticClass:"ww fl fs-12",attrs:{loading:t.buttonLoad,disabled:t.buttonLoad,type:t.buttonLoad?"warning":"primary",round:"",size:t.sizeInput},on:{click:t.handleAddToBasket}}
1,[t._v(t._s(t.$t("add_to_basket")))])],1)]),t._v(" "),e("el-dialog",{attrs:{"destroy-on-close":"","append-to-body":"",center:"",title:t.$t("please_login"),visible:t.loginDialogShow,"before-close":t.loginDialogClose,width:t.$device.isMobile?"80%":"460px"},on:{"update:visible":function(e){t.loginDialogShow=e}}},[e("span",{staticClass:"ww fl ta-c",staticStyle:{margin:"-10px 0 20px","word-break":"initial"}},[t._v(t._s(t.$t("Oturum açmadınız veya sonlanmış olabilir")))]),t._v(" "),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[0!=t.firmSetting.b2bShowRegisterButton?e("el-button",{on:{click:function(e){return t.sendReDirect("uyeol")}}},[t._v(t._s(t.$t("signup")))]):t._e(),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.sendReDirect("giris")}}},[t._v(t._s(t.$t("login")))]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.firmSetting.b2bAutomaticLoginCode?e("el-button",{staticClass:"mt15",attrs:{size:"mini"},on:{click:t.getAutoLogin}},[t._v(t._s(t.$t("Üye Olmadan Alışverişe Devam Et")))]):t._e()],1)]),t._v(" "),e("el-dialog",{attrs:{"destroy-on-close":"","append-to-body":"",center:"",title:t.$t("Seç"),visible:t.varyantDialogShow,width:t.$device.isMobile?"80%":"380px"},on:{"update:visible":function(e){t.varyantDialogShow=e}}},[t._l(t.varyantGroup,function(r,o){return e("div",{key:o,staticClass:"mt10"},[e("p",{staticClass:"fs-15 fw-b pb5 ta-c"},[t._v(t._s(o))]),t._v(" "),e("el-select",{staticStyle:{width:"100%"},model:{value:t.varyantGroupModal[o],callback:function(e){t.$set(t.varyantGroupModal,o,e)},expression:"varyantGroupModal[key]"}},t._l(r,function(t){return e("el-option",{key:t.id,attrs:{label:t.option_name,value:t.id}})}),1)],1)}),t._v(" "),e("span",{attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.varyantDialogShow=!1}}},[t._v(t._s(t.$t("İptal")))]),t._v(" "),e("el-button",{attrs:{type:"primary"},on:{click:t.handleVaryantIsSet}},[t._v(t._s(t.$t("Tamam")))])],1)],2)],1):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(49),header=r(4),footer=r(3),l=r(20),n=r(21),c=r(22),d=r(6),m=r(79),h=r(335),f=r(81);function _(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return v(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?v(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach(function(e){k(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function k(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var C={components:{headerWrap:header.default,footerWrap:footer.default,itemListCard:l.default,itemRowCard:n.default,itemGridCard:c.default,paginationCard:d.default,filterBar:h.default,biyografiCard:m.default,categorySlider:f.default},props:{ssrData:{type:Array,default:[]},pageUrlType:{type:String,default:""},ssrRowCount:{type:Number,default:0},ssrFilterList:{type:Object,default:{}},pageTitle:{type:String,default:""},customQuery:{type:String,default:""}},data(){return{loading:!0,noData:!1,allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingReklam:this.$store.state.firm.settings.b2bUiSettings.settings.b2bBlokReklam||[],list_mode:this.$cookies.get("list_mode")||"grid",pageData:null,pageDataCount:0,filterType:this.$store.state.firm.settings.b2bUiSettings.settings.data.filterTheme,filterDrawer:!this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFilterPanelHide||!1,isFullScreen:this.$store.state.firm.settings.b2bUiSettings.settings.data.b2bFilterFullScreen||
1!1,isSticky:!1,activeFilter:"7",searchQuery:"",debounceTimer:null,noticeData:null,noticeDataMoreShow:!1,yazarData:null,pageLabel:"",pageMidLabel:"",pageMidLabelUrl:"",filterDataList:{producer_list:[],author_list:[],tag_list:[],category_list:[],producer_list_id:[],producer_list_seo_link:[],author_list_id:[],author_list_seo_link:[],tag_list_id:[],tag_list_seo_link:[],category_list_id:[],category_list_seo_link:[]},filterList:{search_text:this.$route.query.search_text||"",producer_seo_link:this.$route.query.producer_seo_link||"",category_seo_link:this.$route.query.category_seo_link||"",tag_seo_link:this.$route.query.tag_seo_link||"",author_seo_link:this.$route.query.author_seo_link||"",scarttype:this.$route.query.scarttype||"",producer_id:this.$route.query.producer_id||"",author_id:this.$route.query.author_id||"",tag_id:this.$route.query.tag_id||"",category_id:this.$route.query.category_id||"",quantity:this.$route.query.quantity||"",sort_type:this.$route.query.sort_type||this.$store.state.firm.settings.b2bUiSettings.settings.data.filterSort||"",lastrelease_proc_day:this.$route.query.lastrelease_proc_day||"",bestseller_proc_day:this.$route.query.bestseller_proc_day||"",limit:this.$route.query.size||40,page:this.$route.query.page||1},isPublic:"",showGridButton:!0}},created(){if(this.isHighlighted){var t=this.$route.query;t.bestseller_proc_day?this.activeFilter=t.bestseller_proc_day:t.lastrelease_proc_day&&(this.activeFilter=t.lastrelease_proc_day),this.filterDrawer=!1,this.pageLabel=this.isHighlighted}var e=this.ssrFilterList,r=e.producer_seo_link,o=e.category_seo_link,l=e.tag_seo_link,n=e.author_seo_link,c=e.sort_type,d=e.lastrelease_proc_day,m=void 0===d?"":d,h=e.bestseller_proc_day,f=void 0===h?"":h;if(this.filterList=y(y({},this.filterList),{},{producer_seo_link:r,category_seo_link:o,tag_seo_link:l,author_seo_link:n,sort_type:c,lastrelease_proc_day:m,bestseller_proc_day:f}),this.getBuildFilter(this.ssrData,this.ssrRowCount,this.ssrFilterList),this.firmSetting.metaPixelID){var _=this.firmSetting,v=_.metaPixelID,w=_.metaConversionAccessToken,k=w?{metaPixelID:v,metaConversionAccessToken:w}:null;this.metaSearch(this.ssrData,"TRY",this.$route.query.search_text,k)}if(this.ssrData&&(this.loading=!1),this.$device.isMobile&&(this.filterDrawer=!1),"3"==this.$store.state.firm.settings.b2bUiSettings.settings.data.homepageTheme&&(this.filterList.limit=100,this.showGridButton=!1),this.getBiyografi(),1!=this.filterType){var C=this.$route.query;[C.tag_id,C.category_id,C.author_id,C.producer_id].some(t=>{var e;return null==t||null===(e=t.includes)||void 0===e?void 0:e.call(t,";")})&&(this.filterDrawer=!1)}this.$nuxt.$on("filterListEmit",t=>this.getFilterListEmit(t))},mounted(){this.$device.isMobile&&this.initStickyObserver()},beforeDestroy(){var t;this.$device.isMobile||null===(t=this.stickyObserver)||void 0===t||t.disconnect()},computed:{filters(){var path=this.$route.path;return path.includes("/coksatanlar")?[{label:"1 Hafta",value:"7"},{label:"1 Ay",value:"30"},{label:"6 Ay",value:"180"},{label:"1 Yıl",value:"365"}]:path.includes("/yenicikanlar")?[{label:"Yakında Çıkacaklar",value:"-1"},{label:"Bugün",value:"0"},{label:"Dün",value:"1"},{label:"Haftalık",value:"7"},{label:"Aylık",value:"30"},{label:"3 Aylık",value:"90"},{label:"6 Aylık",value:"180"},{label:"Yıllık",value:"365"}]:[]},isHighlighted(){return!![this.$t("Yeni Çıkanlar"),this.$t("Çok Satanlar")].includes(this.pageTitle)&&this.pageTitle}},methods:{metaSearch:o.metaSearch,getFilterListEmit(t){console.log("filterListEmit",t),this.filterList=y({},t)},getList(t){for(var i=0;i<this.allSetting.modules.length;i++){var e=this.allSetting.modules[i];"mod_b2bpublic"==e.md_name&&"1"==e.md_status&&(this.isPublic="public/")}this.loading=!0,this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?"+this.$utilTool(t)).then(e=>{if(this.getFilterListEmit(t),this.getBuildFilter(e.data.KiboApp.Response.data.list,e.data.KiboApp.Response.data.rowCount,t),this.firmSetting.metaPixelID){var r=this.firmSetting,o=r.metaPixelID,l=r.metaConversionAccessToken,n=l?{metaPixelID:o,metaConversionAccessToken:l}:null;this.metaSearch(e.data.KiboApp.Response.data.list,"TRY",this.$route.query.search_text,n)}}).catch(()=>{this.getBuildFilter(null,0,t)}).finally(()=>{window&&window.scrollTo({top:0})})},getBuildFilter(t,e,r){if(this.loading=!1,this.noData=!1,this.pageData=t,this.pageDataCount=e,this.filterDataList={producer_list:[],author_list:[],tag_list:[],category_list:[],producer_list_id:[],producer_list_seo_link:[],author_list_id:[],author_list_seo_link:[],tag_list_id:[],tag_list_seo_link:[],category_list_id:[],category_list_seo_link:[]},t){if("kisi"==this.pageUrlType&&t[0].product_json.authors.length>0)this.getBiyografiApi(t[0].product_json.authors[0].id,"noticeData");else if("kategori"==this.pageUrlType)t[0].product_json.kategori.seo_link==this.$route.params.name?this.getListApi(t[0].product_json.kategori.id,"noticeData","categoriy"):t[0].product_json.kategori.anakategori&&t[0].product_json.kategori.anakategori.seo_link==this.$route.params.name&&this.getListApi(t[0].product_json.kategori.anakategori.id,"noticeData","categoriy");else if("etiket"==this.pageUrlType)for(var i=0;i<t[0].product_json.tags.length;i++)t[0].product_json.tags[i].seo_link==this.$route.params.name&&(this.getListApi(t[0].product_json.tags[i].id,"noticeData","tags"),this.pageMidLabel=this.$t("Etiket"),this.pageLabel=t[0].product_json.tags[i].prcg_name);else"arama"==this.pageUrlType&&(this.pageMidLabel=this.$t("Aranan Kelime"),this.pageLabel=this.$route.query.search_text||this.$t("Yok"));for(var o=0;o<t.length;o++){var l=t[o];if(null==l.product_json.kategori||this.filterDataList.category_list_id.includes(l.product_json.kategori.id)||(this.filterDataList.category_list.push(l.product_json.kategori),this.filterDataList.category_list_id.push(l.product_json.kategori.id),l.product_json.kategori.seo_link==this.$route.params.name?(l.product_json.kategori.anakategori&&(this.pageMidLabel=l.product_json.kategori.anakategori.kategoriad,this.pageMidLabelUrl="kategori/"+l.product_json.kategori.anakategori.seo_link),this.pageLabel=l.product_json.kategori.kategoriad):l.product_json.kategori.anakategori&&l.product_json.kategori.anakategori.seo_link==this.$route.params.name&&(this.pageLabel=l.product_json.kategori.anakategori.kategoriad)),null==l.product_json.uretici||this.filterDataList.producer_list_id.includes(l.product_json.uretici.id)||(this.filterDataList.producer_list.push(l.product_json.uretici),this.filterDataList.producer_list_id.push(l.product_json.uretici.id),l.product_json.uretici.seo_link==this.$route.params.name&&(this.pageLabel=l.product_json.uretici.ureticiad,this.pageMidLabel=this.$t("Üretici"),this.pageMidLabelUrl="list/uretici")),l.product_json.authors)for(var n=0;n<l.product_json.authors.length;n++)this.filterDataList.author_list_id.includes(l.product_json.authors[n].id)||(this.filterDataList.author_list.push(l.product_json.authors[n]),this.filterDataList.author_list_id.push(l.product_json.authors[n].id),l.product_json.authors[n].seo_link==this.$route.params.name&&(this.pageLabel=l.product_json.authors[n].at_name,this.pageMidLabel=this.$t("Yazar"),this.pageMidLabelUrl="list/yazar"));if(l.product_json.tags)for(var c=0;c<l.product_json.tags.length;c++)this.filterDataList.tag_list_id.includes(l.product_json.tags[c].id)||(this.filterDataList.tag_list.push(l.product_json.tags[c]),this.filterDataList.tag_list_id.push(l.product_json.tags[c].id))}}this.$route.query.search_text&&(this.pageLabel=decodeURIComponent(this.$route.query.search_text),this.pageMidLabelUrl="")},getBiyografi(){this.firmSetting.b2bShowAuthorDetail&&this.filterList.author_id&&this.getBiyografiApi(this.filterList.author_id,"yazarData")},getBiyografiApi(t,e){for(var i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"authors/list?id="+t+"&limit=1&page=1").then(t=>{this[e]=t.data.KiboApp.Response.data.list[0]}).catch(()=>{this[e]=null})},getEtiketApi(t,e){for(var i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"tags/list?id="+t+"&limit=1&page=1").then(t=>{this[e]=t.data.KiboApp.Response.data.list[0]}).catch(()=>{this[e]=null})},getKategoriApi(t,e){for(var i=0;i<this.allSetting.modules.length;i++){var r=this.allSetting.modules[i];"mod_b2bpublic"==r.md_name&&"1"==r.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"categoriy/list?id="+t+"&limit=1&page=1").then(t=>{this[e]=t.data.KiboApp.Response.data.list[0]}).catch(()=>{this[e]=null})},getListApi(t,e,r){for(var i=0;i<this.allSetting.modules.length;i++){var o=this.allSetting.modules[i];"mod_b2bpublic"==o.md_name&&"1"==o.md_status&&(this.isPublic="public/")}this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+r+"/list?id="+t+"&limit=1&page=1").then(t=>{this[e]=t.data.KiboApp.Response.data.list[0]}).catch(()=>{this[e]=null})},getRemoveTag(t){var e=this.$route.query[t.key+"_id"].split(";");e.splice(e.indexOf(t.id.toString()),1),this.filterList[t.key+"_id"]=e.join(";"),this.filterList[t.key+"_seo_link"]=""},getFilter(){this.filterList.page=1,this.filterList.limit=40,this.$router.replace({query:this.filterList})},filterCall(t,e){this.$device.isMobile&&(this.filterDrawer=!1),this[e](t)},changeListMode(t){this.list_mode=t,this.$cookies.set("list_mode",t)},paginationData(t){this.filterList.limit=this.$route.query.size=t.pageCount,this.filterList.page=this.$route.query.page=t.pageNo,this.getList(this.filterList)},initStickyObserver(){this.sentinel=document.createElement("div"),this.sentinel.style.cssText="position:absolute;height:1px;width:1px;pointer-events:none;",this.$refs.filterBarRef.parentElement.insertBefore(this.sentinel,this.$refs.filterBarRef),this.stickyObserver=new IntersectionObserver(t=>{var e=_(t,1)[0];this.isSticky=!e.isIntersecting},{threshold:[1],rootMargin:"-60px 0px 0px 0px"}),this.stickyObserver.observe(this.sentinel)},handleDayChange(t){this.activeFilter=t;var e=this.$route.path.includes("/coksatanlar")?"bestseller_proc_day":"lastrelease_proc_day";this.$router.push({query:y(y({},this.$route.query),{},{[e]:t,page:1})}),this.filterList=y(y({},this.filterList),{},{[e]:t,page:1}),this.getList(this.filterList)},onInput(t){clearTimeout(this.debounceTimer),this.filterList=y(y({},this.filterList),{},{search_text:t,page:1}),this.debounceTimer=setTimeout(()=>{this.getList(this.filterList)},1e3)},onClear(){clearTimeout(this.debounceTimer),this.loading=!1,this.filterList=y(y({},this.filterList),{},{search_text:""}),this.getList(this.filterList)}}},$=(r(576),r(577),r(0)),component=Object($.a)(C,function(){var t=this,e=t._self._c;return e("main",[e("headerWrap"),t._v(" "),e("aside",{staticClass:"ww fl"},[e("div",{staticClass:"pl15",class:{"wrapper mrau":!t.isFullScreen}},[e("div",{staticClass:"ww fl py5"},[e("nav",{staticClass:"ww fl",attrs:{"aria-label":"breadcrumb"}},[e("ol",{staticClass:"ww fl breadcrumb",attrs:{itemscope:""}},[e("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[e("nuxt-link",{attrs:{to:{path:t.localePath("/")},itemprop:"item"}},[e("span",{attrs:{itemprop:"name"}},[t._v(t._s(t.$t("Anasayfa")))])]),t._v(" "),e("meta",{attrs:{itemprop:"position",content:"1"}})],1),t._v(" "),t.pageMidLabelUrl?e("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[e("nuxt-link",{attrs:{to:{path:t.localePath("/"+t.pageMidLabelUrl)},itemprop:"item"}},[e("span",{attrs:{itemprop:"name"}},[t._v(t._s(t.pageMidLabel))])]),t._v(" "),e("meta",{attrs:{itemprop:"position",content:"2"}})],1):t.pageMidLabel?e("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[e("span",{attrs:{itemprop:"name"}},[t._v(t._s(t.pageMidLabel))]),t._v(" "),e("meta",{attrs:{itemprop:"position",content:"3"}})]):t._e(),t._v(" "),e("li",{attrs:{itemprop:"itemListElement",itemscope:""}},[e("span",{attrs:{itemprop:"name"}},[t._v(t._s(t.pageLabel))]),t._v(" "),e("meta",{attrs:{itemprop:"position",content:"4"}})])])])])])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.firmSetting.b2bShowAuthorDetail&&t.filterList.author_seo_link&&null!=t.yazarData?e("aside",{staticClass:"wrapper mrau px10 pb10 bdrB pos-r"},[e("div",{staticClass:"ww fl mt10"}),t._v(" "),e("biyografiCard",{attrs:{yazar:t.yazarData,limit:512,size:2}})],1):t._e(),t._v(" "),t.isHighlighted?e("aside",{staticClass:"wrapper mrau px10"},[e("div",{staticClass:"filter-row my10"},[e("span",{staticClass:"filter-label"},[t._v("Zaman Aralığı")]),t._v(" "),t.$device.isMobile?e("el-select",{attrs:{size:"small",disabled:t.loading},on:{change:t.handleDayChange},model:{value:t.activeFilter,callback:function(e){t.activeFilter=e},expression:"activeFilter"}},t._l(t.filters,function(filter){return e("el-option",{key:filter.value,attrs:{label:filter.label,value:filter.value}})}),1):e("div",{staticClass:"filter-group"},t._l(t.filters,function(filter){return e("el-button",{key:filter.value,class:["filter-btn",{active:t.activeFilter==filter.value}],on:{click:function(e){return t.handleDayChange(filter.value)}}},[t._v("\n          "+t._s(filter.label)+"\n        ")])}),1)],1),t._v(" "),e("el-input",{attrs:{placeholder:t.$t("search_placeholder"+("yayinci"==t.firmSetting.detailPageLayout?"_yayinci":"")),"prefix-icon":"el-icon-search",clearable:"",disabled:t.loading},on:{input:t.onInput,clear:t.onClear},model:{value:t.searchQuery,callback:function(e){t.searchQuery=e},expression:"searchQuery"}})],1):t._e(),t._v(" "),e("aside",{ref:"filterBarRef",staticClass:"filterBar ww fl bg-white",style:"position:sticky;top:60px;z-index:20;"},[e("div",{class:{px5:t.$device.isMobile,px10:!t.$device.isMobile,"wrapper mrau":!t.isFullScreen}},[e("div",{staticClass:"filterBar ww fl my5 px5"},[t.isHighlighted?t._e():e("el-button",{class:"h36 fl px10 mt5 ta-o fs-13 cr-p",attrs:{icon:"icon-filter"},on:{click:function(e){t.filterDrawer=!t.filterDrawer}}},[t._v("\n           "),e("span",[t._v(t._s(t.$t("Filtre")))])]),t._v(" "),t.showGridButton&&!t.isSticky?[e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("list"),placement:"bottom"}},[e("el-button",{class:"h36 fl px10 mt5 ta-o fs-13 cr-p",attrs:{type:"list"==t.list_mode?"primary":"",icon:"icon-list-details"},on:{click:function(e){return t.changeListMode("list")}}})],1),t._v(" "),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("row"),placement:"bottom"}},[e("el-button",{class:"h36 fl px10 mt5 ta-o fs-13 cr-p",attrs:{type:"row"==t.list_mode?"primary":"",icon:"icon-layout-list"},on:{click:function(e){return t.changeListMode("row")}}})],1),t._v(" "),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:t.$t("grid"),placement:"bottom"}},[e("el-button",{class:"h36 fl px10 mt5 ta-o fs-13 cr-p",attrs:{type:"grid"==t.list_mode?"primary":"",icon:"icon-grid_mode"},on:{click:function(e){return t.changeListMode("grid")}}})],1)]:t._e(),t._v(" "),e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],2)])]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),t.noticeData&&t.noticeData.seo_title?e("aside",{staticClass:"ww fl mt10 z1"},[e("div",{staticClass:"wrapper mrau px10 pos-r"},[e("div",{staticClass:"ww fl p30 rds10 fs-16 txt-dark",staticStyle:{background:"#f1f7fb"}},[e("h1",{staticClass:"ww fl mb5 fw-9 fs-19 ln-28"},[t._v(t._s(t.noticeData.seo_title))]),t._v(" "),t.noticeData.seo_description?[t.noticeDataMoreShow?e("p",{staticClass:"ww fl fs-16 txt-sub"},[t._v(t._s(t.noticeData.seo_description))]):e("p",{staticClass:"ww fl fs-16 txt-sub"},[t._v(t._s(t.noticeData.seo_description.slice(0,140))+"...")]),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),["kisi"].includes(t.pageUrlType)?e("nuxt-link",{staticClass:"h30 fl ln-30 ta-ol fs-14 fw-6 td-ul",attrs:{to:t.localePath("/biyografi/"+t.noticeData.id)}},[t._v(t._s(t.$t("read_more")))]):e("span",{staticClass:"h30 fl ln-30 ta-ol fs-14 fw-6 td-ul cr-p",on:{click:function(e){t.noticeDataMoreShow=!
1t.noticeDataMoreShow}}},[t._v(t._s(t.$t(t.noticeDataMoreShow?"read_less":"read_more")))])]:t._e()],2)])]):t._e(),t._v(" "),e("div",{staticClass:"clr"}),t._v(" "),e("section",{staticClass:"ww fl pt10 pb50",staticStyle:{background:"var(--section)"}},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],class:t.isFullScreen?"mx15":"wrapper mrau px10 pos-r"},[e("el-row",{attrs:{gutter:15}},[t.filterDrawer&&!t.$device.isMobile?e("el-col",{staticClass:"filter-col pos-sc z1 pb20",attrs:{xl:6,lg:6,md:8,sm:24,xs:24}},[e("filterBar",{attrs:{filterList:t.filterList,filterDataList:t.filterDataList},on:{filterCallBack:t.filterCall}})],1):t._e(),t._v(" "),t.$device.isMobile?e("el-drawer",{attrs:{visible:t.filterDrawer,direction:"ttb",size:"100%","with-header":!0,title:t.$t("Filtre"),"custom-class":"mobile-filter-drawer"},on:{"update:visible":function(e){t.filterDrawer=e}}},[e("filterBar",{attrs:{filterList:t.filterList,filterDataList:t.filterDataList},on:{filterCallBack:t.filterCall}})],1):t._e(),t._v(" "),e("el-col",{attrs:{xl:t.filterDrawer?18:24,lg:t.filterDrawer?18:24,md:t.filterDrawer?16:24,sm:24,xs:24}},[null!=t.pageData?e("div",{staticClass:"ww fl pos-r of-h",class:t.$device.isMobile?"":"px10"},["list"==t.list_mode?e("itemListCard",{attrs:{itemList:t.pageData}}):"row"==t.list_mode?e("itemRowCard",{attrs:{itemList:t.pageData}}):e("itemGridCard",{attrs:{itemList:t.pageData}})],1):t._e(),t._v(" "),0===t.pageDataCount?e("div",{staticClass:"ww fl py30 ta-c"},[e("div",{staticClass:"w200 mrau",domProps:{innerHTML:t._s(r(9))}}),t._v(" "),e("p",{staticClass:"ww fl mt10"},[t._v(t._s(t.$t("no_data")))])]):e("paginationCard",{attrs:{pageData:{pageNo:t.$route.query.page||t.filterList.page,pageCount:t.$route.query.size||t.filterList.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],1)],1)],1)]),t._v(" "),e("footerWrap")],1)},[],!1,null,"2f51b012",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"navbarDesktop",components:{dropdownMenu:()=>r.e(0).then(r.bind(null,333)),megaMenu:()=>r.e(0).then(r.bind(null,334))},data(){return{activeMenuIndex:null,activeMenuPosition:0,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,firmSettingMenu:this.$store.state.firm.settings.b2bUiSettings.settings.menu,menu:[],hiddenIndexes:[],resizeObserver:null,hiddenIndexesShow:!1}},directives:{outclick:{bind(t,e,r){var o=r.context;t.clickOutsideEvent=function(r){t===r.target||t.contains(r.target)||e.value(r),(t===r.target.parentElement||t.contains(r.target.parentElement))&&(o.hiddenIndexesShow=!1)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}},mounted(){this.setupResizeObserver()},beforeDestroy(){this.resizeObserver&&this.resizeObserver.disconnect()},created(){this.createMenu()},methods:{toggleMenu(t){this.menu.slice(this.menu.length-this.hiddenIndexes.length,this.menu.length).forEach((e,i)=>{e.showChild=i===t&&!e.showChild}),this.menu=[...this.menu]},getMenuList(){this.menu=[...this.menu]},hiddinListShow(){this.menu.forEach(t=>{t.showChild=!1}),this.hiddenIndexesShow=!this.hiddenIndexesShow},setupResizeObserver(){this.resizeObserver=new ResizeObserver(()=>{this.hiddenIndexes=[],this.safeCheckOverflow()}),this.$refs.nav&&this.resizeObserver.observe(this.$refs.nav)},safeCheckOverflow(){this.$refs.nav&&this.$refs.menu&&this.$nextTick(()=>{requestAnimationFrame(()=>{var t=this.$refs.nav.getBoundingClientRect(),e=Array.from(this.$refs.menu.children),r=[];e.forEach((e,o)=>{var l=e.getBoundingClientRect();(l.right+20>t.right||l.left+20<t.left)&&r.push(o)}),this.hiddenIndexes=r})})},toggleDropdown(t,e,r){var rect=t.target.getBoundingClientRect(),o=({dropdownMenu:320,megaMenu:600}[r.component||"dropdownMenu"]-Math.ceil(rect.width))/2*-1||0;this.activeMenuPosition=o<-1*rect.x?-1*rect.x:o,this.activeMenuIndex=e},closeDropdown(){this.activeMenuIndex=null},createMenu(){this.menu=[];var t=this.firmSettingMenu.header;if(!t)return!1;for(var i=0;i<t.length;i++){var e=t[i];if("megaYayinci"==e.id)this.menu.push({title:e.name,dropdown:"producer",component:"megaMenu",url:"uretici"});else if("megaYazar"==e.id)this.menu.push({title:e.name,dropdown:"author",component:"megaMenu",url:"yazar"});else if("dropdown"==e.id)this.menu.push({title:e.name,dropdown:"dropdown"+i,component:"dropdownMenu",child:e.child,url:"dropdown"+i});else if("megaKategori"==e.id)this.menu.push({title:e.name,element:"nuxt-link",attributes:{to:this.localePath("/list/kategori")}});else if(["etiket","uretici","yazar","kategori"].includes(e.url)){this.menu.push({title:e.name,element:"nuxt-link",attributes:{to:this.localePath("/"+e.url+"/"+this.$seolink(e.name)+"?"+{yazar:"author_id",uretici:"producer_id",kategori:"category_id",etiket:"tag_id"}[e.url]+"="+e.id)}})}else null!=e.id&&"null"!=e.id?this.menu.push({title:e.name,element:"nuxt-link",attributes:{to:this.localePath("/"+e.url+"/"+e.id+"/"+this.$seolink(e.name))}}):this.menu.push({title:e.name,attributes:{href:e.url}})}}}},l=(r(578),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("nav",{ref:"nav",staticClass:"ww fl pr50"},[e("ul",{ref:"menu",staticClass:"menu ww fl pos-r dp-f",style:"display:flex;justify-content:"+t.firmSetting.menuKonum+";",on:{mouseleave:t.closeDropdown}},t._l(t.menu,function(r,o){return e("li",{key:o,staticClass:"menu-item",class:{hidden:t.hiddenIndexes.includes(o)}},[e("div",{staticClass:"pos-r z9"},[r.attributes?[r.attributes.to?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.to}},[t._v(t._s(r.title))]):r.attributes.href?e("a",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z1",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]):t._e()]:e("span",{staticClass:"h50 px10 dp-b fs-15 fw-6 cr-p pos-r z99",on:{mouseenter:function(e){return t.toggleDropdown(e,o,r)}}},[t._v("\n              "+t._s(r.title)+"\n              "),t.activeMenuIndex==o?e("div",{staticClass:"menuArrow",staticStyle:{to
1p:"44px !important"}}):t._e()]),t._v(" "),t.activeMenuIndex==o?e("div",{staticClass:"bg-white pos-a rds5 tp-100 z9",style:"transform: translateX("+t.activeMenuPosition+"px);box-shadow:0 15px 40px 0 rgba(0,0,0,.15),0 -13px 40px -25px rgba(0,0,0,.2);"},[e(r.component,{tag:"component",attrs:{child:r.child,url:r.url}})],1):t._e()],2)])}),0),t._v(" "),t.hiddenIndexes.length>0?e("div",{staticClass:"more-button",style:"background-color:"+t.firmSetting.b2bColor+"99!important"},[e("span",{staticClass:"ww hh tp-0 rg-0 ta-o pos-a",on:{click:t.hiddinListShow}},[t._v("+"+t._s(t.hiddenIndexes.length))]),t._v(" "),t.hiddenIndexesShow?e("div",{staticClass:"m5 p10 bg-white of-h_ pos-a rds5 tp-100 rg-0 z99",staticStyle:{width:"320px","box-shadow":"rgba(0, 0, 0, 0.15) 0px 15px 40px 0px, rgba(0, 0, 0, 0.2) 0px -13px 40px -25px"}},[e("div",{staticClass:"hiddenMenuArrow"}),t._v(" "),e("ul",{staticClass:"megaMenuDropDown ww fl ofy-a",staticStyle:{height:"auto","max-height":"460px"}},t._l(t.menu.slice(t.menu.length-t.hiddenIndexes.length,t.menu.length),function(r,o){return e("li",{key:o,staticClass:"ww fl pos-r"},[r.attributes?[r.attributes.to?e("a",{staticClass:"ww h36 fl px10 rds fs-14 fw-6",attrs:{href:r.attributes.to}},[t._v(t._s(r.title))]):r.attributes.href?e("a",{staticClass:"ww h36 fl px10 rds fs-14 fw-6",attrs:{href:r.attributes.href}},[t._v(t._s(r.title))]):t._e()]:e("span",{staticClass:"ww h36 fl px10 rds fs-14 fw-6 fdsf",class:r.showChild?"txt-info fw-b":"",on:{click:function(e){return t.toggleMenu(o)}}},[t._v(t._s(r.title))]),t._v(" "),r.showChild?e("div",{staticClass:"ww fl pos-r"},[e("div",{staticClass:"hh px5 pos-a tp-0 bdrR"}),t._v(" "),t._l(r.child,function(r,o){return e("div",{key:o,staticClass:"ww fl px10"},[e("div",{staticClass:"ww fl ta-o"},[e("a",{staticClass:"ww h36 fl px10 rds fs-14 fw-6",attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))]),t._v(" "),r.child&&r.child.length>0?e("span",{staticClass:"w40 h36 fr ta-o",on:{click:function(e){r.showSub=!r.showSub,t.getMenuList()}}},[t._v("▼")]):t._e()]),t._v(" "),r.showSub?e("div",{staticClass:"ww fl px5"},t._l(r.child,function(r,o){return e("a",{key:o,staticClass:"ww h36 fl px10 rds fs-13 fw-6",attrs:{href:r.url}},[t._v(t._s(t.$t(r.name)))])}),0):t._e()])})],2):t._e()],2)}),0)]):t._e()]):t._e()])},[],!1,null,"63298ceb",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l=(r(46),{name:"slider-card",props:{item:{type:Object,default:function(){return{}}},isZoom:{type:Boolean,default:!1}},watch:{swiperActiveIndex:{handler:function(t){if(this.swiperActiveIndex=t,this.$device.isDesktop){var e=document.querySelector(".js-image-zoom__zoomed-image");e&&(e.style.backgroundImage="url('"+this.imageList[t].fl_url+"')")}}}},components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data:()=>({zoomOptions:null,swiperActiveIndex:0,imageList:[],imageListModal:[],swiperOptionThumbs:{autoplay:!1,loop:!1,loopedSlides:4,spaceBetween:10,slidesPerView:4}}),created(){for(var i=0;i<this.item.files.length;i++){var t,e;if([null,"image/jpeg","image/jpg","image/png"].includes(null===(t=this.item.files[i])||void 0===t?void 0:t.mime_type))this.imageList.push(this.item.files[i]),this.imageListModal.push((null===(e=this.item.files[i].w0)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.file_url)||this.item.files[i].fl_url)}},mounted(){this.isZoom&&this.$device.isDesktop&&(this.zoomOptions={width:this.$refs.wrapSize?this.$refs.wrapSize.offsetHeight:515,height:460,offset:{vertical:0,horizontal:0,scale:1},zoomLens:{width:90,height:90}},setTimeout(()=>{new this.$Zoomy(document.getElementById("img-container"),this.zoomOptions);var t=document.querySelector(".js-image-zoom__zoomed-area");t&&(t.style.pointerEvents="auto",t.addEventListener("click",function(){document.querySelector("#previewImage").click()}))},100))},methods:{nav(t){this.$refs.slider.$swiper["slide"+t](),this.swiperActiveIndex+1<this.imageList.length?"Next"==t?this.swiperActiveIndex++:this.swiperActiveIndex>0&&this.swiperActiveIndex--:(this.swiperActiveIndex=0,this.$refs.slider.$swiper.slideTo(0))}}}),n=(r(579),r(580),r(0)),component=Object(n.a)(l,function(){var t,e,r=this,o=r._self._c;return o("div",{ref:"wrapSize",staticClass:"ww fl pos-r",attrs:{id:"img-container"}},[[null,"image/jpeg","image/jpg","image/png"].includes(null===(t=r.imageList[r.swiperActiveIndex])||void 0===t?void 0:t.mime_type)?o("el-image",{staticClass:"ww bdr rds",staticStyle:{height:"460px"},attrs:{id:"previewImage",src:(null===(e=r.imageList[r.swiperActiveIndex].w0)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.file_url)||r.imageList[r.swiperActiveIndex].fl_url,fit:"
1contain","preview-src-list":r.imageListModal,"initial-index":r.swiperActiveIndex,alt:r.item.search_text}}):r._e(),r._v(" "),o("div",{staticClass:"ww h40 z9 ta-o"},[o("div",{staticClass:"prevImg w30 h40 cr-p ta-o fs-20 icon-arrow-left",on:{click:function(t){return r.nav("Prev")}}}),r._v(" "),o("div",{staticClass:"nextImg w30 h40 cr-p ta-o fs-20 icon-arrow-right",on:{click:function(t){return r.nav("Next")}}})]),r._v(" "),o("swiper",{ref:"slider",staticClass:"swiper gallery-thumbs",attrs:{options:r.swiperOptionThumbs}},r._l(r.imageList,function(t,e){var l;return o("swiper-slide",{key:"s_"+e,staticClass:"bg-light rds",style:"height:90px;"+(e==r.swiperActiveIndex?"opacity:1;":"")},[o("div",{staticClass:"ww hh pos-a tp-0 lf-0 cr-p z1",on:{click:function(t){r.swiperActiveIndex=e}}}),r._v(" "),[null,"image/jpeg","image/jpg","image/png"].includes(null==t?void 0:t.mime_type)?o("el-image",{staticClass:"ww",staticStyle:{height:"90px"},attrs:{src:(null===(l=t.w200)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.file_url)||t.fl_url,fit:"
1contain",alt:r.item.search_text}}):"application/pdf"==(null==t?void 0:t.mime_type)?o("a",{staticClass:"ww h90 fl ta-o icon-pdf txt-error fs-40",attrs:{href:t.fl_url,target:"_blank"}}):r._e()],1)}),1)],1)},[],!1,null,"518556f6",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"getPay",props:{openPay:{type:Boolean,default:!1}},watch:{openPay(t){this.payOpen=t,t&&this.getExtre()}},data(){return{currency:this.$store.state.firmBaseCurrency||"TRY",currencySymbolList:this.$store.state.setting.currencySymbol,payLoad:!1,extreLoad:!1,payOpen:!1,price:0,balance:null,description:null}},computed:{currencySymbol(){return this.currencySymbolList&&this.currencySymbolList[this.currency]||this.currency}},created(){this.payOpen=this.openPay,this.payOpen&&this.getExtre()},methods:{getPay(){this.payLoad=!0,this.$apis.post("api/user/order/tempPayCreate",{tutar:this.price,aciklama:this.description}).then(t=>{var e=t.data.KiboApp.Response.data.payGatewayUrl;this.payLoad=!1,this.payOpen=!1,this.price=0,this.description=null,this.$device.isMobile?window.location.href=e:window.open(e,"_blank","width=1000,height=700")}).catch(t=>{this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"}),this.payLoad=!1})},getExtre(){this.extreLoad=!0,this.$apis.get("api/user/extractOfAccount?tarih_start=2021-01-01 00:00:00&tarih_end=2022-05-31 23:59:59&limit=10&page=1").then(t=>{var e=parseFloat(t.data.KiboApp.Response.data.toplamlar.guncelToplamBakiye);this.balance=isNaN(e)?null:e,this.price=e>=0?e:0,this.extreLoad=!1}).catch(t=>{this.extreLoad=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})},payClose(){this.description=null,this.$nuxt.$emit("payShow",!1)},onTutarKeydown(t){if(!["Backspace","Delete","ArrowLeft","ArrowRight","Tab","Home","End"].includes(t.key)){var e=t.key;if(/[0-9.,]/.test(e)){var input=t.target;if(!(input.selectionStart!==input.selectionEnd)){var r=input.value;if("."!==e&&","!==e||!r.includes(".")&&!r.includes(",")){var o=r.replace(",",".");if(o.includes("."))o.split(".")[1].length>=2&&t.preventDefault()}else t.preventDefault()}}else t.preventDefault()}},onTutarInput(t){this.price=t.replace(",",".")}}},l=o,n=(r(584),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{"custom-class":"pay-dialog",visible:t.payOpen,width:t.$device.isMobile?"80%":"380px","show-close":!1,"close-on-click-modal":!1,"append-to-body":"",center:""},on:{"update:visible":function(e){t.payOpen=e},close:t.payClose}},[e("template",{slot:"title"},[e("div",{staticClass:"pay-header"},[e("div",{staticClass:"pay-header__icon"},[e("i",{staticClass:"icon-wallet"})]),t._v(" "),e("div",{staticClass:"pay-header__text"},[e("h3",[t._v(t._s(t.$t("pay")))]),t._v(" "),null!==t.balance&&t.balance>0?e("p",[e("i",{staticClass:"el-icon-wallet"}),t._v("\n          "+t._s(t.$t("balance")||"Güncel Bakiye")+":\n          "),e("b",[t._v(t._s(t.$n(t.balance,"decimal",t.currency)))])]):t._e()]),t._v(" "),e("button",{staticClass:"pay-header__close",on:{click:function(e){t.payOpen=!1}}},[e("i",{staticClass:"el-icon-close"})])])]),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.extreLoad,expression:"extreLoad"}],staticClass:"pay-body"},[e("div",{staticClass:"pay-field pay-field--amount"},[e("label",{staticClass:"pay-field__label"},[t._v(t._s(t.$t("price")))]),t._v(" "),e("div",{staticClass:"pay-amount"},[e("span",{staticClass:"pay-amount__currency"},[t._v(t._s(t.currencySymbol))]),t._v(" "),e("el-input",{staticClass:"pay-amount__input",attrs:{onClick:"this.select();",inputmode:"decimal"},on:{input:t.onTutarInput},nativeOn:{keydown:function(e){return t.onTutarKeydown.apply(null,arguments)}},model:{value:t.price,callback:function(e){t.price=e},expression:"price"}})],1)]),t._v(" "),e("div",{staticClass:"pay-field"},[e("label",{staticClass:"pay-field__label"},[t._v(t._s(t.$t("description")))]),t._v(" "),e("el-input",{attrs:{type:"textarea",rows:2,resize:"none",maxlength:"140","show-word-limit":"",placeholder:t.$t("description")},model:{value:t.description,callback:function(e){t.description=e},expression:"description"}})],1)]),t._v(" "),e("span",{staticClass:"pay-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticClass:"pay-btn pay-btn--ghost",on:{click:function(e){t.payOpen=!1}}},[t._v("\n      "+t._s(t.$t("İptal"))+"\n    ")]),t._v(" "),e("el-button",{staticClass:"pay-btn pay-btn--primary",attrs:{type:"primary",loading:t.payLoad,disabled:!t.price||t.price<=0},on:{click:t.getPay}},[t.payLoad?t._e():e("i",{staticClass:"el-icon-lock"}),t._v("\n      "+t._s(t.$t("pay"))+"\n    ")])],1)],2)},[],!1,null,"9d609224",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"detailRowSlider",props:{dataList:{type:Array,default:[]},titleUrl:{type:String,default:""},title:{type:String,default:""}},components:{rowSlider:()=>r.e(0).then(r.bind(null,808))},data:()=>({}),computed:{cardComponent(){return()=>r(38)("./t".concat(this.$store.state.firm.settings.b2bUiSettings.settings.data.productCardTheme||0,".vue"))}},mounted(){},methods:{getPer(t,e){return this.$device.isMobile?2:this.$device.isTablet?4:24==e?t||6:t||3}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.dataList.length>0?e("div",{staticClass:"ww fl pos-r"},[e("nuxt-link",{staticClass:"h40 fl mb10 fw-b ta-ol fs-18 ln-37",attrs:{to:t.titleUrl}},[e("i",{staticClass:"fl ln-40 icon-ticket fs-20"}),t._v("  "+t._s(t.title)+"\n  ")]),t._v(" "),e("rowSlider",{attrs:{"data-list":t.dataList,"per-item":t.getPer(6,24),"item-step":t.getPer(6,24)},scopedSlots:t._u([{key:"item",fn:function(r){var o=r.item;return[e(t.cardComponent,{tag:"component",attrs:{item:o,"pricebar-show":!1,lazyImage:!1}})]}},{key:"nextButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow prevItem w40 h40 tp-0 rg-0 cr-p pos-a rds30 z1 ta-o",staticStyle:{"margin-top":"-50px"}},[e("i",{staticClass:"icon-arrow-right txt-dark fs-20"})]):t._e()]},proxy:!0},{key:"prevButton",fn:function(){return[t.$device.isDesktop?e("span",{staticClass:"sArrow nextItem w40 h40 mr40 tp-0 rg-0 cr-p pos-a rds30 z1 ta-o",staticStyle:{"margin-top":"-50px"}},[e("i",{staticClass:"icon-arrow-left txt-dark fs-20"})]):t._e()]},proxy:!0}],null,!1,847411653)})],1):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o=r(5),l={name:"kurumsalSlider",components:{Swiper:o.Swiper,SwiperSlide:o.SwiperSlide},data(){return{firmSettingSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bSliderMain,haberSlider:this.$store.state.firm.settings.b2bUiSettings.settings.b2bAnasayfaHaber||[],mainSwiperOption:{navigation:{nextEl:".nextImgMain",prevEl:".prevImgMain"},loop:!0,speed:800,autoplay:{delay:3e3},centeredSlides:!0,effect:"cube",cubeEffect:{shadow:!0,slideShadows:!1,shadowOffset:3,shadowScale:.9}},haberSwiperOption:{autoplay:{delay:4e3},loopedSlides:1,spaceBetween:this.$device.isMobile?5:10,slidesPerView:this.$device.isMobile?2:this.$device.isTablet?3:7,navigation:{nextEl:".nextHaber",prevEl:".prevHaber"}}}}},n=(r(587),r(0)),component=Object(n.a)(l,function(){var t=this,e=t._self._c;return t.firmSettingSlider.length>0?e("div",{staticClass:"ww fl pos-r"},[e("div",{staticClass:"kurumsalSwiperWrap wrapper mrau px15 pos-r"},[t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 rg-0 z9 ta-o"},[e("span",{staticClass:"nextImgMain w40 h40 cr-p ta-o fs-30 icon-arrow-right rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"sliderNavBar hh pos-a tp-0 lf-0 z9 ta-o"},[e("span",{staticClass:"prevImgMain w40 h40 cr-p ta-o fs-30 icon-arrow-left rr",staticStyle:{"background-color":"rgba(255,255,255, 1) !important"}})]):t._e(),t._v(" "),e("swiper",{staticClass:"swiper",style:"height:"+(t.$device.isDesktop,"auto"),attrs:{options:t.mainSwiperOption}},t._l(t.firmSettingSlider,function(r,o){return e("swiper-slide",{key:o},[r.url?e("a",{staticClass:"ww fl z1",attrs:{href:r.url,target:"_blank"}},[e("img",{staticClass:"object-contain fl rds5",staticStyle:{width:"100%"},attrs:{src:r.img,alt:r.name}})]):t._e()])}),1)],1),t._v(" "),t.haberSlider.length>0?e("div",{staticClass:"ww fl mt50 bg-white pos-r"},[e("div",{staticClass:"haberSwiperWrap wrapper mrau pos-r",class:t.$device.isMobile?"px10":"px40"},[e("swiper",{staticClass:"swiperHaber",attrs:{options:t.haberSwiperOption}},t._l(t.haberSlider,function(r,o){return e("swiper-slide",{key:o,staticClass:"slide"},[e("a",{staticClass:"ItemShadow ww fl mb10 p10 pos-r bg-white ln-20 fs-14",attrs:{href:t.localePath("/sayfa/"+r.url)}},[e("img",{staticClass:"object-contain ww fl rds5",style:"height:120px",attrs:{src:"https://onsobilisim.com/view/index/svg/onso_isletme.svg",alt:r.name}}),t._v(" "),e("span",{staticClass:"ww h40 fl ln-20 fs-12 ellipsis-multi ta-c"},[t._v(t._s(r.name))])])])}),1),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 rg-0 z1 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"nextHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-right",staticStyle:{float:"right"}})]):t._e(),t._v(" "),t.$device.isDesktop?e("div",{staticClass:"w40 hh pos-a tp-0 lf-0 z1 ta-o",staticStyle:{"background-color":"rgba(255,255,255, 0.7) !important"}},[e("div",{staticClass:"prevHaber w40 h40 mt5 cr-p ta-o fs-20 icon-arrow-left",staticStyle:{float:"left"}})]):t._e()],1)]):t._e()]):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"rowSlider",props:{dataList:{type:Array,default:[]},perItem:{type:Number,default:6},itemSpace:{type:Number,default:.5},itemSpaceUnit:{type:String,default:"rem"},animation:{type:String,default:"smooth"},arrowAutoHide:{type:Boolean,default:!1},itemStep:{type:Number,default:1},itemActive:{type:Number,default:0}},watch:{itemActive:{deep:!0,handler(t){this.getActiveIndex(t),this.jump(t*(this.$refs.firstElementChild.offsetWidth*this.itemStep))}}},data(){return{activeIndex:this.itemActive,per:this.perItem,intervalId:null}},mounted(){this.jump(0),this.getActiveIndex(0);var t=0,e=()=>{t=0};this.$refs.rowSlider&&(this.$refs.rowSlider.addEventListener("mousemove",e=>{if(this.$refs.rowSlider){var r=e.pageX-this.$refs.rowSlider.offsetLeft;t&&(this.$refs.rowSlider.scrollLeft=this.$refs.rowSlider.sx+t-r)}}),this.$refs.rowSlider.addEventListener("mousedown",e=>{this.$refs.rowSlider&&(this.$refs.rowSlider.sx=this.$refs.rowSlider.scrollLeft,t=e.pageX-this.$refs.rowSlider.offsetLeft)}),this.$refs.rowSlider.addEventListener("mouseup",e),this.$refs.rowSlider.addEventListener("mouseleave",e),this.$refs.rowSlider.addEventListener("scrollend",()=>{this.getActiveIndex(Math.round(this.$refs.rowSlider.scrollLeft/this.$refs.rowSlider.firstElementChild.offsetWidth))})),this.startInterval()},methods:{startInterval(){this.intervalId=setInterval(()=>{this.next()},5e3)},pause(){clearInterval(this.intervalId)},prev(){this.$refs.rowSlider&&this.$refs.rowSlider.firstElementChild&&(0==this.activeIndex?(this.jump((this.dataList.length-1)*(this.$refs.rowSlider.firstElementChild.offsetWidth*this.itemStep)),this.getActiveIndex(this.dataList.length-1)):(this.jump(this.$refs.rowSlider.scrollLeft-this.$refs.rowSlider.firstElementChild.offsetWidth*this.itemStep),this.getActiveIndex(Math.round(this.$refs.rowSlider.scrollLeft/this.$refs.rowSlider.firstElementChild.offsetWidth))
1))},next(){this.$refs.rowSlider&&this.$refs.rowSlider.firstElementChild&&(this.getActiveIndex(Math.round(this.$refs.rowSlider.scrollLeft/this.$refs.rowSlider.firstElementChild.offsetWidth)),this.activeIndex+this.perItem<this.dataList.length?this.jump(this.$refs.rowSlider.scrollLeft+this.$refs.rowSlider.firstElementChild.offsetWidth*this.itemStep):this.jump(0))},jump(t){this.$refs.rowSlider.scrollTo({left:t*("rtl"==document.dir?-1:1),behavior:this.animation})},getActiveIndex(t){this.activeIndex=t,this.$emit("sliderEvent",{activeIndex:this.activeIndex})}}},l=(r(588),r(0)),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("aside",{staticClass:"rowSliderWrap ww fl pos-r",style:"--slide-width:"+100/t.per+"%;--slider-column-gap:"+t.itemSpace+t.itemSpaceUnit+";",on:{mouseenter:t.pause,mouseleave:t.startInterval}},[e("div",{ref:"rowSlider",staticClass:"slider__track"},t._l(t.dataList,function(r,o){return e("div",{key:o,staticClass:"slide"},[t._t("item",function(){return[t._v(t._s(r))]},{item:r,index:o})],2)}),0),t._v(" "),t.$slots.nextButton?e("div",{class:t.arrowAutoHide?"rowButton":"",on:{click:function(e){return t.next()}}},[t._t("nextButton")],2):t.$device.isDesktop?e("span",{staticClass:"sliderArrow w40 h40 fl cr-p pos-a rds30 bg-white z2 ta-o",class:t.arrowAutoHide?"rowButton":"",staticStyle:{top:"calc( 50% - 20px )",right:"-10px"},on:{click:function(e){return t.next()}}},[e("i",{staticClass:"icon-arrow-right txt-black fs-30"})]):t._e(),t._v(" "),t.$slots.prevButton?e("div",{class:t.arrowAutoHide?"rowButton":"",on:{click:function(e){return t.prev()}}},[t._t("prevButton")],2):t.$device.isDesktop?e("span",{staticClass:"sliderArrow w40 h40 fl cr-p pos-a rds30 bg-white z2 ta-o",class:t.arrowAutoHide?"rowButton":"",staticStyle:{top:"calc( 50% - 20px )",left:"-10px"},on:{click:function(e){return t.prev()}}},[e("i",{staticClass:"icon-arrow-left txt-black fs-30"})]):t._e()])},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"productSliderList",props:{pageData:{type:Object,default:{}}},components:{detailRow:()=>Promise.all([r.e(0),r.e(17)]).then(r.bind(null,806))},data(){return{allSetting:this.$store.state.firm,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,isPublic:!1,bestsellerSlider:[],urunDetaydaSliderGoster:[],yazarSlider:null,yazarSliderInfo:null,ureticiSlider:null,kategoriSlider:null}},created(){this.isPublic=this.allSetting.modules.some(t=>"mod_b2bpublic"===t.md_name&&1==t.md_status)?"public/":""},mounted(){this.getVisibleSliders(),this.getBestsellerList()},methods:{getVisibleSliders(){var t;this.firmSetting.b2bUrunDetaydaSliderGoster&&null!==(t=this.pageData)&&void 0!==t&&t.product_json&&(this.urunDetaydaSliderGoster=this.firmSetting.b2bUrunDetaydaSliderGoster||[],this.urunDetaydaSliderGoster.includes("yazar")&&this.pageData.product_json.authors&&this.getYazarSlider(),this.urunDetaydaSliderGoster.includes("uretici")&&this.pageData.product_json.uretici&&this.getUrunSlider({producer_id:this.pageData.product_json.uretici.id}),this.urunDetaydaSliderGoster.includes("kategori")&&this.pageData.product_json.kategori&&this.getUrunSlider({category_id:this.pageData.product_json.kategori.id}))},getBestsellerList(){var t;null!==(t=this.pageData)&&void 0!==t&&t.product_json&&this.pageData.product_json.relBestSellers&&this.pageData.product_json.relBestSellers.length>0&&[30,37].includes(this.$store.state.firm.settings.b2bRelBestSellersCalcBelgekod)&&this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?search_text=&best_sell_prd="+this.pageData.product_json.id+"&sort_type=6&limit=10&page=1").then(t=>{this.bestsellerSlider=t.data.KiboApp.Response.data.list}).catch(()=>{this.bestsellerSlider=[]})},getYazarSlider(){for(var t=this.pageData.product_json.authors,i=0;i<t.length;i++)if("0"==t[i].at_who){this.getUrunSlider({author_seo_link:t[i].seo_link}),this.yazarSliderInfo=t[i];break}},getUrunSlider(t){this.$apis.get("api/"+(this.$cookies.get("web_login_access_token")?"":this.isPublic)+"product/search?&producer_id="+(t.producer_id||"")+"&author_seo_link="+(t.author_seo_link||"")+"&category_id="+(t.category_id||"")+"&limit=30&page=1").then(e=>{var r=e.data.KiboApp.Response.data.list.filter(t=>t.stok_id!=this.pageData.product_json.id);t.author_seo_link?this.yazarSlider=r:t.producer_id?this.ureticiSlider=r:t.category_id&&(this.kategoriSlider=r)}
1).catch(()=>{t.author_seo_link?this.yazarSlider=null:t.producer_id?this.ureticiSlider=null:t.category_id&&(this.kategoriSlider=null)})},getMakeSeoLink(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";try{var path="";return"kategori"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.kategoriad)+"?category_id="+t.id+r)):"uretici"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.ureticiad)+"?producer_id="+t.id+r)):"etiket"==e?(path=t.seo_link,t.seo_link||(path=this.$seolink(t.prcg_name)+"?tag_id="+t.id+r)):["yazar","kisi"].includes(e)&&(path=t.seo_link,t.seo_link||(path=this.$seolink(t.at_name)+"?author_id="+t.id+r)),"/"+e+"/"+path}catch(t){return console.log("hata oldu "+e,t),"/"}}}},l=o,n=r(0),component=Object(n.a)(l,function(){var t,e=this,r=e._self._c;return null!==(t=e.pageData)&&void 0!==t&&t.product_json?r("div",{staticClass:"wrapper mrau px10"},[e.bestsellerSlider.length>0?r("detailRow",{attrs:{"data-list":e.bestsellerSlider,title:e.$t("Bu ürünü alanlar bunları da aldı")}}):e._e(),e._v(" "),e.urunDetaydaSliderGoster.includes("yazar")&&e.yazarSlider?r("detailRow",{attrs:{"data-list":e.yazarSlider,"title-url":e.localePath(e.getMakeSeoLink(e.yazarSliderInfo,"yazar")),title:e.$t("Yazarın Diğer Eserleri")}}):e._e(),e._v(" "),e.urunDetaydaSliderGoster.includes("yazar")&&e.ureticiSlider?r("detailRow",{attrs:{"data-list":e.ureticiSlider,"title-url":e.localePath(e.getMakeSeoLink(e.pageData.product_json.uretici,"uretici")),title:e.$t("Markanın Diğer Ürünleri")}}):e._e(),e._v(" "),e.urunDetaydaSliderGoster.includes("kategori")&&e.kategoriSlider?r("detailRow",{attrs:{"data-list":e.kategoriSlider,"title-url":e.localePath(e.getMakeSeoLink(e.pageData.product_json.kategori,"kategori")),title:e.$t("Kategorinin Diğer Ürünleri")}}):e._e()],1):e._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o,l,i,u,a=[],n=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;n=!1}else for(;!(n=(o=i.call(r)).done)&&(a.push(o.value),a.length!==e);n=!0);}catch(t){c=!0,l=t}finally{try{if(!n&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(c)throw l}}return a}}(t,e)||function(t,a){if(t){if("string"==typeof t)return l(t,a);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,a):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,r=Array(a);e<a;e++)r[e]=t[e];return r}function n(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,o)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?n(Object(r),!0).forEach(function(e){d(t,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})}return t}function d(t,e,r){return(e=function(t){var i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof i?i:i+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var m={name:"variant",props:{pageData:{type:Object,required:!0},onPurchasable:{type:Function,required:!0}},data:()=>({variantGroup:[],variantGroupModal:{},isVariantSelectBox:!1}),mounted(){this.pageData&&this.getVariantGroup()},methods:{getVariantGroup(){var t;if(null!==(t=this.pageData)&&void 0!==t&&null!==(t=t.variant_list)&&void 0!==t&&t.length){var e=[],r={},o=this.pageData.product_json.stok_variant_options;this.pageData.variant_list.forEach(t=>{t.product_json.stok_variant_options.forEach(t=>{var l,n=t.variant_id,d=t.variants,m=t.variant_options,h=t.variant_option_id;r[n]||(r[n]=(null===(l=o.find(s=>s.variant_id===n))||void 0===l?void 0:l.variant_option_id)||null);var f=e.find(g=>g.variant_id===n);f||(f={variant_id:n,variant_name:d.variant_name,variant_options_list:[],isImage:"Renk"===d.variant_name},e.push(f));var _=!1,v=this.pageData.variant_list.some(t=>{var e=t.product_json.stok_variant_options,r=o.every(t=>t.variant_id===n||e.some(e=>e.variant_id===t.variant_id&&e.variant_option_id===t.variant_option_id))&&e.some(t=>t.variant_id===n&&t.variant_option_id===h);return r&&this.onPurchasable(t.product_json)&&(_=!0),r});f.variant_options_list.some(t=>t.id===h)||(f.variant_options_list.push(c(c({},m),{},{isPurchasable:_,isAvailable:v})),console.log("group",f))})}),e=e.map(g=>c(c({},g),{},{variant_options_list:this.sortedItems(g.variant_options_list)})),this.variantGroup=e,this.variantGroupModal=r,this.isVariantSelectBox=e.some(t=>t.variant_options_list.length>=10)||this.pageData.variant_list.length>=200,this.getVariantImages()}},getVariantImages(){var t=this.variantGroup.find(t=>t.isImage);if(t){var e=Object.assign({},this.variantGroupModal),r=t.variant_id,l=t.variant_options_list,data=[],n=[];l.map(t=>{e[r]=t.id,this.pageData.variant_list.map(t=>{if(data=[],t.product_json.stok_variant_options.map(t=>{Object.entries(e).map(e=>{var r=o(e,2);r[0];r[1]==t.variant_option_id&&data.push(t)})}),data.length==Object.entries(e).length){var l,c,d=null===(l=data.find(t=>t.variant_id==r))||void 0===l?void 0:l.variant_option_id;n.push({variantOptionId:d,url:null===(c=t.product_json.files)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.fl_url})}})}),this.variantImages=n}},handleVariantChange(t,e){this.variantGroupModal[t]=e;var data=[],r="";this.pageData.variant_list.map(t=>{data=[],t.product_json.stok_variant_options.map(t=>{Object.entries(this.variantGroupModal).map(e=>{var r=o(e,2);r[0];r[1]==t.variant_option_id&&data.push(t)})}),data.length==Object.entries(this.variantGroupModal).length&&(r=t.seo_link)}),r&&this.$router.push({path:"/urun/".concat(r)})},sortedItems:t=>t.slice().sort((a,b)=>{var t=a.option_name,e=b.option_name,r=!isNaN(t),o=!isNaN(e);return r&&o?Number(t)-Number(e):r?-1:o?1:t.localeCompare(e)})}},h=(r(607),r(0)),component=Object(h.a)(m,function(){var t,e=this,r=e._self._c;return(null===(t=e.variantGroup)||void 0===t?void 0:t.length)>0?r("div",{staticClass:"bdrT pt10"},e._l(e.variantGroup,function(t){var o;return r("div",{key:t.variant_id,staticClass:"mb10"},[r("p",{staticClass:"fw-b fs-14 mb5"},[e._v(e._s(t.variant_name)+": \n            "),e.isVariantSelectBox?e._e():r("span",{staticClass:"mt5 fs-14 txt-sub fw-4"},[e._v(" "+e._s(null===(o=t.variant_options_list.find(r=>r.id==e.variantGroupModal[t.variant_id]))||void 0===o?void 0:o.option_name)+" ")])]),e._v(" "),e.isVariantSelectBox?[r("el-select",{staticClass:"ww mt5",attrs:{filterable:""},on:{change:r=>e.handleVariantChange(t.variant_id,r)},model:{value:e.variantGroupModal[t.variant_id],callback:function(r){e.$set(e.variantGroupModal,t.variant_id,r)},expression:"variantGroupModal[item.variant_id]"}},e._l(t.variant_options_list,function(t){return r("el-option",{key:t.id,attrs:{label:t.option_name,value:t.id,disabled:!t.isAvailable}})}),1)]:t.isImage&&e.variantImages.length>0?[r("div",{staticClass:"dp-f",staticStyle:{"flex-wrap":"wrap",gap:"5px"}},e._l(t.variant_options_list,function(o,l){var n;return r("div",{key:l,staticClass:"dp-ib bdr rds7 cr-p p5",class:{activeVariant:e.variantGroupModal[t.variant_id]==o.id,"crossed op-05 cr-na":!o.isAvailable,"op-05":!o.isPurchasable},on:{click:function(r){return e.handleVariantChange(t.variant_id,o.id)}}},[r("div",{key:o.id,staticClass:"h90 w60 ta-o"},[r("el-image",{staticClass:"rds",staticStyle:{height:"100%"},attrs:{src:null===(n=e.variantImages.find(image=>
1image.variantOptionId==o.id))||void 0===n?void 0:n.url,fit:"contain"},scopedSlots:e._u([{key:"error",fn:function(){return[r("div",{staticClass:"ww hh ta-o"},[r("i",{staticClass:"el-icon-picture-outline fs-40"})])]},proxy:!0}],null,!0)})],1)])}),0)]:e._l(t.variant_options_list,function(o){return r("span",{key:o.id,staticClass:"dp-ib mt5 mr5 py5 px15 fs-12 bdr rds7 fw-6 cr-p",class:{activeVariant:e.variantGroupModal[t.variant_id]==o.id,"crossed op-05 cr-na":!o.isAvailable,"op-05":!o.isPurchasable},on:{click:function(r){return e.handleVariantChange(t.variant_id,o.id)}}},[e._v("\n                "+e._s(o.option_name)+" \n            ")])})],2)}),0):e._e()},[],!1,null,"2499d51f",null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"commentCard",props:{productId:{type:Number,default:void 0}},data:()=>({}),computed:{cardComponent:()=>()=>r.e(0).then(r.bind(null,813))},methods:{}},l=r(0),component=Object(l.a)(o,function(){var t=this;return(0,t._self._c)(t.cardComponent,{tag:"component",attrs:{"product-id":t.productId}})},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"iletisim-form-theme0",props:{selectedItem:{type:String,default:""}},data(){return{formLoading:!1,formData:{name:"",email:"",ceptel:"",subject:null,message:""},firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,rules:{name:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],ceptel:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"}],subject:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],message:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"change"}],email:[{required:!0,message:this.$t("Bu Alan Boş Olamaz"),trigger:"blur"},{type:"email",message:this.$t("invalid_email_address"),trigger:"change"}]}}},created(){this.formData.subject=this.selectedItem||this.$t("Genel")},methods:{submitForm(){this.$refs.contactForm.validate(t=>{if(!t)return!1;this.formLoading=!0;var data={subject:this.$t("İletişim")+" "+this.$t("Form")+": "+this.formData.subject+" #"+this.formData.ceptel,mail_content:"<b> Ad Soyad: </b> ".concat(this.formData.name,"<br> \n\t\t\t\t\t\t<b> Telefon: </b> ").concat(this.formData.ceptel,"<br> \n\t\t\t\t\t\t<b> Email: </b> ").concat(this.formData.email,"<br> \n\t\t\t\t\t\t<b> Mesaj </b> <br> \n\t\t\t\t\t\t<p> ").concat(this.formData.message," </p>")};this.$apis.post("api/merchant/mailSender",data).then(t=>{this.formLoading=!1,this.$message({message:t.data.KiboApp.Response.kiboMessage,type:"success"}),this.$refs.contactForm.resetFields()}).catch(t=>{this.formLoading=!1,this.$message({message:t.response.data.KiboApp.Response.kiboMessage,type:"error"})})})}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return t.firmSetting&&"1"==t.firmSetting.b2bIletisimFormShow?e("el-form",{ref:"contactForm",staticClass:"schoolForm ww fl px5",attrs:{model:t.formData,rules:t.rules,"label-width":"120px","label-position":"top"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("name")+" "+t.$t("surname"),prop:"name"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.name,callback:function(e){t.$set(t.formData,"name",e)},expression:"formData.name"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:24,sm:24,xs:24}},[e("el-form-item",{staticClass:"ww fl pos-r",attrs:{label:t.$t("Cep Telefonu"),prop:"ceptel"}},[e("el-input",{attrs:{inputmode:"tel",oninput:"this.value=this.value.replace(/[^0-9]+/gmi,'')",maxlength:"25"},model:{value:t.formData.ceptel,callback:function(e){t.$set(t.formData,"ceptel",e)},expression:"formData.ceptel"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("email"),prop:"email"}},[e("el-input",{attrs:{autocomplete:"off"},model:{value:t.formData.email,callback:function(e){t.$set(t.formData,"email",e)},expression:"formData.email"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Konu"),prop:"subject"}},[e("el-select",{staticClass:"ww",attrs:{placeholder:t.$t("Seçiniz")},model:{value:t.formData.subject,callback:function(e){t.$set(t.formData,"subject",e)},expression:"formData.subject"}},[e("el-option",{attrs:{value:t.$t("Genel")}},[t._v(t._s(t.$t("Genel")))]),t._v(" "),e("el-option",{attrs:{value:"Demo"}},[t._v("Demo")]),t._v(" "),e("el-option",{attrs:{value:t.$t("Şikayet")}},[t._v(t._s(t.$t("Şikayet")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Sipariş")}},[t._v(t._s(t.$t("Sipariş")))]),t._v(" "),e("el-option",{attrs:{value:t.$t("Destek")}}
1,[t._v(t._s(t.$t("Destek")))])],1)],1)],1),t._v(" "),e("el-col",{attrs:{lg:24,md:24,sm:24,xs:24}},[e("el-form-item",{attrs:{label:t.$t("Mesaj"),prop:"message"}},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:"2048",placeholder:t.$t("Mesaj")},model:{value:t.formData.message,callback:function(e){t.$set(t.formData,"message",e)},expression:"formData.message"}})],1)],1),t._v(" "),e("el-col",{attrs:{lg:12,md:12,sm:12,xs:24}},[e("div",{staticClass:"my15"},[e("el-form-item",[e("el-button",{attrs:{loading:t.formLoading,type:"primary",icon:"icon-guide mr5"},on:{click:t.submitForm}},[t._v(t._s(t.$t("Gönder")))])],1)],1)])],1)],1):t._e()},[],!1,null,null,null);e.default=component.exports},function(t,e,r){"use strict";r.r(e);var o={name:"commentCard",props:{item:{type:Object,default:function(){return{}}},productId:{type:Number,default:void 0}},components:{paginationCard:()=>r.e(0).then(r.bind(null,6))},data(){return{b2bSearchPrdVariantChildListStatus:this.$store.state.firm.settings.b2bSearchPrdVariantChildListStatus,firmSetting:this.$store.state.firm.settings.b2bUiSettings.settings.data,limit:5,page:1,userData:this.$cookies.get("b2bUserInfo")||null,isGuestLogin:this.$cookies.get("isGuestLogin")||null,commentEmpty:!1,commentListLoading:!0,commentList:[],pageDataCount:0,td_rate:0,td_text:"",iconClasses:["el-icon-star-on fs-32","el-icon-star-on fs-32","el-icon-star-on fs-32","el-icon-star-on fs-32","el-icon-star-on fs-32"],loadingComment:!1}},computed:{isComment(){var t=!1;return this.td_rate||(t=!0),(!this.td_text||this.td_text.length<20)&&(t=!0),this.loadingComment&&(t=!0),t}},mounted(){this.getCommentList()},methods:{getCommentList(){this.commentListLoading=!0,this.$apis.get("api/product/comment/list?rel_belgeid=".concat(this.productId,"&idSort=desc&limit=").concat(this.limit,"&page=").concat(this.page)).then(t=>{this.pageDataCount=t.data.KiboApp.Response.data.rowCount||0,this.commentList=t.data.KiboApp.Response.data.list,this.commentListLoading=!1}).catch(()=>{this.commentListLoading=!1,this.commentEmpty=!0})},sendComment(){this.loadingComment=!0;var data={rel_belgeid:this.productId,td_rate:this.td_rate,td_text:this.td_text};this.aboneButtonLoading=!0,this.$apis.post("api/product/comment",data).then(t=>{this.$message({duration:5e3,message:t.data.KiboApp.Response.kiboMessage,type:"info"}),setTimeout(()=>{this.loadingComment=!1,this.td_rate=0,this.td_text=""},5e3)}).catch(t=>{this.loadingComment=!1})},paginationData(t){this.limit=this.$route.query.size=t.pageCount,this.page=this.$route.query.page=t.pageNo,this.getCommentList()}}},l=r(0),component=Object(l.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"ww fl"},[e("div",{staticClass:"cq-row cq-gap-20"},[e("div",{staticClass:"cq-col-lg-8 cq-col-md-8 cq-col-sm-6 cq-col-xs-24"},[e("div",{staticClass:"ww hh fl pos-sc",staticStyle:{top:"70px"}},[t.userData&&!t.isGuestLogin?e("div",{staticClass:"ww fl"},[e("div",{staticClass:"ww fl mt10 mb10"},[e("el-input",{attrs:{type:"textarea",placeholder:t.$t("Yorum Yap"),rows:7,maxlength:"1000","show-word-limit":""},model:{value:t.td_text,callback:function(e){t.td_text=e},expression:"td_text"}}),t._v(" "),t.td_text.length>2&&t.td_text.length<20?e("span",{staticClass:"ww fl fs-10 txt-sub"},[t._v(t._s(t.$t("En az 20 karakter olmalı")))]):t._e()],1),t._v(" "),e("div",{staticClass:"ww fl dp-f jc-sb"},[e("div",{staticClass:"commentStars h36 fl fs-11 ta-o"},[t._v("\n                        "+t._s(t.$t("Puan Ver"))+" "),e("el-rate",{attrs:{"icon-classes":t.iconClasses,"void-icon-class":"el-icon-star-on fs-32"},model:{value:t.td_rate,callback:function(e){t.td_rate=e},expression:"td_rate"}})],1),t._v(" "),e("el-button",{staticClass:"h36 ta-o",attrs:{size:"mini",type:"info",round:"",disabled:t.isComment},on:{click:function(e){return t.sendComment()}}},[t._v(t._s(t.$t("Yorum Yap")))])],1)]):e("a",{staticClass:"ww hh fl mt10 ta-o fs-16 fw-b bdr rds10",attrs:{href:t.localePath("/auth/giris?redirect=/urun/"+t.$route.params.id)}},[e("i",{staticClass:"el-icon-user w40 h40 fs-22 ta-o"}),t._v(t._s(t.$t("login"))+"\n            ")])])]),t._v(" "),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.commentListLoading,expression:"commentListLoading"}],staticClass:"cq-col-lg-16 cq-col-md-16 cq-col-sm-18 cq-col-xs-24 pt10"},[t.commentList.length>0?e("div",{staticClass:"ww fl"},[t._l(t.commentList,function(r,o){return e("div",{key:o,staticClass:"ww fl mb20 p15 fs-13 ln-18 rds10 bdr"},[e("span",{staticClass:"fl px20 bg-white",staticStyle:{"margin-top":"-25px"}},[e("el-rate",{attrs:{disabled:""},model:{value:r.td_rate,callback:function(e){t.$set(r,"td_rate",e)},expression:"comment.td_rate"}})],1),t._v(" "),e("span",{staticClass:"ww h24 fl fs-14 ln-20 fw-b"},[e("i",{staticClass:"w20 fl mt5 icon-minus fs-13 ln-14",staticStyle:{color:"#ddd"}}),t._v(t._s(r.cari.firma))]),t._v(" "),e("span",{staticClass:"ww fl fs-13 fw-6",staticStyle:{color:"#555"}},[t._v(t._s(r.td_text))])])}),t._v(" "),e("paginationCard",{attrs:{sizes:[5,10],pageData:{pageNo:t.$route.query.page||t.page,pageCount:t.$route.query.size||t.limit,dataCount:t.pageDataCount||0}},on:{paginationData:t.paginationData}})],2):t.commentEmpty?e("div",{staticClass:"ww hh fl ta-o fs-17 fw-b bdr rds10"},[t._v("\n                "+t._s(t.$t("Henüz Yorum Yazılmamış"))+"\n            ")]):t._e()])])])},[],!1,null,null,null);e.default=component.exports}]]);

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.