1(window.webpackJsonp=window.webpackJsonp||[]).push([[6,27,70,109],{434:function(t,e,r){"use strict";r(41),r(29),r(40),r(13),r(63),r(37),r(64);var n=r(20),o=r(0);r(16);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function c(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a={methods:{fetchBanner:function(){var t=arguments,e=this;return Object(o.a)(regeneratorRuntime.mark((function r(){var n,o,l;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.length>0&&void 0!==t[0]?t[0]:{},o=c(c({},{is_enabled:!0,browser:"FE"}),n),r.next=5,e.$store.dispatch("ct/getBannerList",o);case 5:if(!(l=r.sent).is_ok){r.next=12;break}if(!(l.data.data_total>0)){r.next=9;break}return r.abrupt("return",l.data.banners);case 9:return r.abrupt("return",[{img_main:"",sequence:0,link:"",title:""}]);case 12:return e.$store.dispatch("toast/addToast",{message:l.message,type:"error",lifetime:5e3}),r.abrupt("return",null);case 14:case"end":return r.stop()}}),r)})))()}}}},437:function(t,e,r){var content=r(441);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(22).default)("d1a745e0",content,!0,{sourceMap:!1})},439:function(t,e,r){"use strict";r.r(e);r(127);var n={props:{records:{type:Number,required:!0},page:{type:Number,required:!0},perPage:{type:Number,default:10}},computed:{totalPages:function(){return Math.ceil(this.records/this.perPage)},pages:function(){for(var t=[],i=1;i<=this.totalPages;i++)t.push(i);return t},intPage:function(){return parseInt(this.page)},showDotBefore:function(t){return function(e){return e-2>3&&t.pages.length-e>=2&&e===t.intPage+2||t.intPage<4&&6===e}},showDotAfter:function(t){return function(e){return t.totalPages-t.intPage>2&&e>1&&e===t.intPage-2||t.intPage>=t.totalPages-3&&e===t.pages[t.totalPages-6]}}},methods:{goToPage:function(t){t<1||t>this.totalPages||(this.$router.push({query:Object.assign({},this.$route.query,{page:t})}),this.$emit("change-page",parseInt(t)))}}},o=r(3),component=Object(o.a)(n,(function(){var t=this,e=t._self._c;return e("ul",{staticClass:"flex flex-row items-center gap-4 justify-center w-full"},[e("li",[e("a",{staticClass:"mr-4 text-lg md:text-2xl text-igrey80 w-8 h-8 md:w-12 md:h-12 flex items-center justify-center cursor-pointer select-none",class:{disabled:t.page<=1},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.intPage-1)}}},[e("svg",{staticClass:"w-2 h-4 md:w-3 md:h-5",attrs:{viewBox:"0 0 12 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M11.7329 20.7529C11.9041 20.5913 12 20.3744 12 20.1486C12 19.9228 11.9041 19.7059 11.7329 19.5443L2.16548 10.5L11.7329 1.45749C11.9041 1.29593 12 1.07905 12 0.853209C12 0.627369 11.9041 0.410486 11.7329 0.248926C11.6496 0.170147 11.5501 0.107531 11.4402 0.0647776C11.3303 0.0220225 11.2121 -3.54649e-06 11.0928 -3.50587e-06C10.9735 -3.46525e-06 10.8554 0.0220226 10.7455 0.0647778C10.6355 0.107531 10.536 0.170147 10.4528 0.248927L0.278702 9.86858C0.10001 10.0375 1.89693e-06 10.2641 1.91812e-06 10.5C1.9393e-06 10.7359 0.10001 10.9625 0.278702 11.1314L10.4528 20.7511C10.536 20.8298 10.6355 20.8925 10.7455 20.9352C10.8554 20.978 10.9735 21 11.0928 21C11.2121 21 11.3303 20.978 11.4402 20.9352C11.5501 20.8925 11.6496 20.8298 11.7329 20.7511L11.7329 20.7529Z",fill:"#111111"}})])])]),t._v(" "),t._l(t.pages,(function(r){return[t.showDotBefore(r)?e("li",{key:"dot-before-".concat(r),staticClass:"w-8 h-8 md:w-12 md:h-12 flex items-center justify-center"},[t._v("\n ...\n ")]):t.showDotAfter(r)?e("li",{key:"dot-after-".concat(r),staticClass:"w-8 h-8 md:w-12 md:h-12 flex items-center justify-center"},[t._v("\n ...\n ")]):Math.abs(t.intPage-r)<=(1===t.intPage||t.pages.length-t.intPage==0?5:2===t.intPage||t.pages.length-t.intPage==1?4:3===t.intPage||t.pages.length-t.intPage==2?3:2)||r===t.pages[0]||r===t.pages[t.pages.length-1]?e("li",{key:r},[e("a",{staticClass:"text-lg md:text-2xl text-igrey80 w-8 h-8 md:w-12 md:h-12 flex items-center justify-center cursor-pointer select-none",class:{"bg-iblue rounded !text-white":t.intPage===r},attrs:{href:"#"},on:{click:function(e){e.preventDefault(),t.goToPage(parseInt(r))}}},[t._v("\n "+t._s(r)+"\n ")])]):t._e()]})),t._v(" "),e("li",[e("a",{staticClass:"ml-4 text-lg md:text-2xl text-igrey80 w-8 h-8 md:w-12 md:h-12 flex items-center justify-center cursor-pointer select-none",class:{disabled:t.intPage>=t.totalPages},attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.goToPage(t.intPage
1+1)}}},[e("svg",{staticClass:"w-2 h-4 md:w-3 md:h-5",attrs:{viewBox:"0 0 12 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M0.26712 20.7529C0.0958718 20.5913 5.61758e-08 20.3744 7.64564e-08 20.1486C9.6737e-08 19.9228 0.0958718 19.7059 0.26712 19.5443L9.83452 10.5L0.267121 1.45749C0.0958735 1.29593 1.78891e-06 1.07905 1.80919e-06 0.853209C1.82947e-06 0.627369 0.0958736 0.410486 0.267122 0.248926C0.35036 0.170147 0.449881 0.107531 0.559812 0.0647776C0.669742 0.0220225 0.787853 -3.54649e-06 0.907173 -3.50587e-06C1.02649 -3.46525e-06 1.1446 0.0220226 1.25454 0.0647778C1.36447 0.107531 1.46399 0.170147 1.54723 0.248927L11.7213 9.86858C11.9 10.0375 12 10.2641 12 10.5C12 10.7359 11.9 10.9625 11.7213 11.1314L1.54722 20.7511C1.46398 20.8298 1.36446 20.8925 1.25453 20.9352C1.1446 20.978 1.02649 21 0.907171 21C0.787851 21 0.66974 20.978 0.55981 20.9352C0.44988 20.8925 0.350358 20.8298 0.26712 20.7511L0.26712 20.7529Z",fill:"#111111"}})])])])],2)}),[],!1,null,null,null);e.default=component.exports},440:function(t,e,r){"use strict";r(437)},441:function(t,e,r){var n=r(21)((function(i){return i[1]}));n.push([t.i,"@media (max-width:640px){.mobilecontainer{left:15px}.mobilelokasi{max-width:150px}.mobilebutton{font-size:10px;color:#103972}}@media (max-width:767px) and (min-width:641px){.mobilecontainer{left:15px}.mobilelokasi{max-width:300px;font-size:20px;line-height:1.2;overflow:hidden;margin-bottom:10px}.mobilebutton{font-size:15px;color:#103972}}@media (min-width:768px){.lihatlokasi{max-width:290px}.lihatsekarang{color:#103972}}@media (min-width:1024px){.lihatlokasi{max-width:400px}.lihatsekarang{color:#103972}}@media (min-width:1280px){.lihatlokasi{max-width:547px}.lihatsekarang{color:#103972}}",""]),n.locals={},t.exports=n},443:function(t,e,r){"use strict";r.r(e);var n=r(0),o=(r(16),{mixins:[r(434).a],data:function(){return{banners:null}},fetch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.fetchBanner({page:1,page_size:1,section_name:"location_bottom"});case 2:t.banners=e.sent;case 3:case"end":return e.stop()}}),e)})))()}}),l=(r(440),r(3)),component=Object(l.a)(o,(function(){var t=this,e=t._self._c;return e("section",[e("div",{staticClass:"py-component md:container mx-auto",attrs:{"data-aos":"fade-up","data-aos-mirror":"true","data-aos-once":"false","data-aos-delay":"0"}},[t.$fetchState.pending||t.$fetchState.error?[e("div",{staticClass:"relative"},[t.$fetchState.error?e("div",{staticClass:"absolute bg-white bg-opacity-75 p-4 rounded left-0 right-0 z-10"},[e("CommonErrorBoundary",{staticClass:"text-center",attrs:{error:t.$fetchState.error.message,"status-code":t.$fetchState.error.statusCode},scopedSlots:t._u([{key:"default",fn:function(e){var r=e.error;return[t._v("\n "+t._s(r)+"\n ")]}}],null,!1,1343309457)})],1):t._e(),t._v(" "),e("vue-skeleton-loader",{attrs:{type:"rect",width:"100%",height:"300px",animation:"fade"}})],1)]:t._l(t.banners,(function(r){return e("NuxtLink",{key:r.id,attrs:{to:"/store-locations/list-maps"}},[e("div",{staticClass:"relative"},[e("img",{staticClass:"w-full hidden md:block",attrs:{src:r.img_main,"src-placeholder":"/placeholder/default.webp",alt:"Logo"}}),t._v(" "),e("img",{staticClass:"w-full block md:hidden",attrs:{src:r.img_mobile,"src-placeholder":"/placeholder/default.webp",alt:"Logo"}})])])}))],2)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{CommonErrorBoundary:r(246).default})},471:function(t,e,r){"use strict";r.r(e);var n=r(3),component=Object(n.a)({},(function(){var t=this._self._c;return t("svg",{attrs:{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M15.9867 2.66667C8.62667 2.66667 2.66667 8.64 2.66667 16C2.66667 23.36 8.62667 29.3333 15.9867 29.3333C23.36 29.3333 29.3333 23.36 29.3333 16C29.3333 8.64 23.36 2.66667 15.9867 2.66667ZM16 26.6667C10.1067 26.6667 5.33334 21.8933 5.33334 16C5.33334 10.1067 10.1067 5.33334 16 5.33334C21.8933 5.33334 26.6667 10.
11067 26.6667 16C26.6667 21.8933 21.8933 26.6667 16 26.6667ZM15.7067 9.33334H15.6267C15.0933 9.33334 14.6667 9.76 14.6667 10.2933V16.5867C14.6667 17.0533 14.9067 17.4933 15.32 17.7333L20.8533 21.0533C21.3067 21.32 21.8933 21.1867 22.16 20.7333C22.227 20.6254 22.2715 20.505 22.291 20.3795C22.3104 20.254 22.3044 20.1258 22.2733 20.0026C22.2422 19.8795 22.1867 19.7638 22.1099 19.6626C22.0332 19.5613 21.9369 19.4766 21.8267 19.4133L16.6667 16.3467V10.2933C16.6667 9.76 16.24 9.33334 15.7067 9.33334V9.33334Z",fill:"currentColor"}})])}),[],!1,null,null,null);e.default=component.exports},675:function(t,e,r){"use strict";r.r(e);r(23),r(129),r(62),r(40),r(13),r(34);var n=r(20),o=r(0),l=(r(16),r(56),r(57),{data:function(){var t,e,r;return{currentPage:null!==(t=this.$route.query.page)&&void 0!==t?t:1,search:null!==(e=this.$route.query.q)&&void 0!==e?e:"",brand:null!==(r=this.$route.query.brand)&&void 0!==r?r:"",sortPromo:this.$route.query.sortPromo||"Terbaru",brandOptions:[],sortPromoOptions:[{id:"Terbaru",name:"Terbaru"},{id:"Terlama",name:"Terlama"},{id:"Terpopuler",name:"Terpopuler"}],catalogues:null,perPage:12,totalrecord:null,isLoading:!1}},fetch:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([t.getCatalogues(),t.getBrandOptions()]);case 2:t.$nextTick((function(){this.$refs.commonInput.focus()}));case 3:case"end":return e.stop()}}),e)})))()},watch:{currentPage:function(){this.getCatalogues(),window.scrollTo(0,0)},search:function(){this.onFilterChange({filterName:"q",filterValue:this.search})}},methods:{getCatalogues:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.isLoading=!0,r={brand_code:t.brand,search:t.search,page:t.currentPage,page_size:t.perPage,orderBy:t.sortPromo},e.next=4,t.$store.dispatch("mt/getListCatalogue",r);case 4:if(null!=(n=e.sent)&&n.is_ok){e.next=7;break}return e.abrupt("return");case 7:t.totalrecord=n.data.count,t.catalogues=n.data.promotions,t.isLoading=!1;case 10:case"end":return e.stop()}}),e)})))()},getBrandOptions:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={page:1,page_size:1e3,type:"store"},e.next=3,t.$store.dispatch("ct/getBrandList",r);case 3:if(null!=(n=e.sent)&&n.is_ok){e.next=6;break}return e.abrupt("return");case 6:t.brandOptions=n.data.data_brand.map((function(t){return{id:t.code,name:t.name}}));case 7:case"end":return e.stop()}}),e)})))()},onFilterChange:function(t){var e=t.filterName,r=t.filterValue;this.$router.push({query:Object.assign({},this.$route.query,Object(n.a)({page:1},e,r))}),this.currentPage=1,this.getCatalogues(),window.scrollTo(0,0)}}}),c=r(3),component=Object(c.a)(l,(function(){var t,e=this,r=e._self._c;return r("div",{staticClass:"md:container mx-auto grid grid-cols-12 gap-4 md:gap-10 mt-4 md:mt-8"},[r("div",{staticClass:"col-span-12"},[r("div",{staticClass:"grid grid-cols-12 md:gap-4"},[r("div",{staticClass:"col-span-12 md:col-span-4 flex items-center p-2"},[[r("div",{staticClass:"relative w-full"},[r("div",{staticClass:"flex absolute inset-y-0 left-0 items-center pl-1 pointer-events-none"},[r("svg",{staticClass:"ml-2 w-5 h-5 text-gray-500",attrs:{fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z","clip-rule":"evenodd"}})])]),e._v(" "),r("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],ref:"commonInput",staticClass:"bg-[#F6FBFF] block w-full pl-10 p-2.5 focus:outline-none border-2 border-[#FFFFFF] focus:border-[#40618E]",attrs:{type:"text",placeholder:"Cari Katalog"},domProps:{value:e.search},on:{input:function(t){t.target.composing||(e.search=t.target.value)}}})])]],2),e._v(" "),r("div",{staticClass:"col-span-12 md:col-span-8 p-2 grid md:flex md:items-center gap-4"},[r("div",{staticClass:"flex md:flex-row flex-col gap-2"},[r("label",{staticClass:"font-medium text-md md:text-md flex items-center",attrs:{for:"brand"}},[e._v("\n Brand\n ")]),e._v(" "),r("div",{staticClass:"select-wrapper md:w-32"},[e.$fetchState.pending?[r("vue-skeleton-loader",{attrs:{type:"rect",width:"100%",height:"50px",animation:"fade"}})]:[r("select",{directives:[{name:"model",rawName:"v-model",value:e.brand,expression:"brand"}],staticClass:"p-3 border border-slate-200 rounded-md pr-8 w-full",attrs:{id:"brand"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,
1(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.brand=t.target.multiple?r:r[0]},function(t){return e.onFilterChange({filterName:"brand",filterValue:e.brand})}]}},[r("option",{attrs:{value:""}},[e._v("Semua")]),e._v(" "),e._l(e.brandOptions,(function(t){return r("option",{key:t.id,domProps:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])}))],2)]],2)]),e._v(" "),r("div",{staticClass:"flex md:flex-row flex-col gap-2"},[r("label",{staticClass:"font-medium text-md md:text-md flex items-center",attrs:{for:"sortpromo"}},[e._v("\n Urutkan Katalog\n ")]),e._v(" "),r("div",{staticClass:"select-wrapper md:w-32"},[e.$fetchState.pending?[r("vue-skeleton-loader",{attrs:{type:"rect",width:"100%",height:"50px",animation:"fade"}})]:[r("select",{directives:[{name:"model",rawName:"v-model",value:e.sortPromo,expression:"sortPromo"}],staticClass:"p-3 border border-slate-200 rounded-md pr-8",attrs:{id:"sortpromo"},on:{change:[function(t){var r=Array.prototype.filter.call(t.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));e.sortPromo=t.target.multiple?r:r[0]},function(t){return e.onFilterChange({filterName:"sortPromo",filterValue:e.sortPromo})}]}},e._l(e.sortPromoOptions,(function(t){return r("option",{key:t.id,domProps:{value:t.id}},[e._v("\n "+e._s(t.name)+"\n ")])})),0)]],2)])])])]),e._v(" "),r("div",{staticClass:"col-span-12"},[r("div",{staticClass:"grid grid-cols-2 md:grid-cols-3 gap-8 lg:gap-32 lg:gap-y-12"},[e.$fetchState.pending||e.isLoading?e._l(12,(function(t){return r("div",{key:t},[r("div",{staticClass:"px-4 flex flex-col gap-4"},[r("div",{staticClass:"h-60 md:h-72"},[r("vue-skeleton-loader",{attrs:{type:"rect",width:"100%",height:"100%",animation:"fade"}})],1),e._v(" "),r("div",{staticClass:"flex flex-col gap-2"},[r("p",{staticClass:"font-bold text-md md:text-xl grid gap-2"},[r("vue-skeleton-loader",{attrs:{type:"rect",width:"100%",height:"20px",animation:"fade"}}),e._v(" "),r("vue-skeleton-loader",{attrs:{type:"rect",width:"200px",height:"20px",animation:"fade"}})],1),e._v(" "),r("div",{staticClass:"flex text-sm md:text-base gap-2 items-center"},[r("div",{staticClass:"w-5 h-5 rounded-full overflow-hidden"},[r("vue-skeleton-loader",{attrs:{type:"rect",width:"20px",height:"20px",animation:"fade"}})],1),e._v(" "),r("div",{staticClass:"flex gap-2 items-center"},[r("vue-skeleton-loader",{attrs:{type:"rect",width:"60px",height:"20px",animation:"fade"}}),e._v(" "),r("vue-skeleton-loader",{attrs:{type:"rect",width:"60px",height:"20px",animation:"fade"}})],1)])])])])})):e._l(e.catalogues,(function(t){return r("div",{key:t.id},[r("div",{staticClass:"px-4 flex flex-col gap-4"},[r("div",{},[r("a",{attrs:{href:t.brochure_flipsnack,target:"_blank"}},[r("v-lazy-image",{staticClass:"w-full",attrs:{src:t.img_main,alt:t.title}})],1)]),e._v(" "),r("div",{staticClass:"flex flex-col gap-2"},[r("a",{attrs:{href:t.brochure_flipsnack,target:"_blank"}},[r("p",{staticClass:"font-bold text-md md:text-xl"},[e._v("\n "+e._s(t.title)+"\n ")])]),e._v(" "),r("div",{staticClass:"flex text-sm md:text-base gap-2 items-center"},[r("CommonSvgTime",{staticClass:"w-5 h-5"}),e._v(" "),r("div",{},[e._v("\n "+e._s(e.$helpers.formatDate(null==t?void 0:t.publish_start))+" -\n "+e._s(e.$helpers.formatDate(null==t?void 0:t.publish_end))+"\n ")])],1)])])])}))],2)]),e._v(" "),r("div",{staticClass:"col-span-12"},[r("CommonPaging",{attrs:{page:parseInt(e.currentPage),"per-page":e.perPage,records:null!==(t=e.totalrecord)&&void 0!==t?t:0,"active-type":"box"},on:{"change-page":function(t){return e.currentPage=t}}})],1),e._v(" "),r("div",{staticClass:"col-span-12"},[r("StoreLocationBanner",{scopedSlots:e._u([{key:"labelLokasi",fn:function(){return[r("p",[e._v("Lihat Lokasi Store Informa Terdekat dari Tempat Kamu")])]},proxy:!0}])})],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{CommonSvgTime:r(471).default,CommonPaging:r(439).default,StoreLocationBanner:r(443).default})}}]);
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.