(window.webpackJsonp=window.webpackJsonp||[]).push([[63],{551:function(e,t,o){"use strict";o.r(t);var n=o(816).a,r=(o(935),o(1)),component=Object(r.a)(n,function(){var e=this,t=e._self._c;return t("v-col",{staticClass:"pa-0 ma-0"},[t("v-lazy",{attrs:{options:{threshold:0}}},[t("div",{directives:[{name:"intersect",rawName:"v-intersect",value:e.onOffersIntersected,expression:"onOffersIntersected"}]},[e.showOffers?t("OffersContainer"):e._e()],1)]),e._v(" "),t("v-sheet",{staticClass:"trust-bar mb-6",attrs:{elevation:"0"}},[t("v-row",{class:e.$isMobile()?"pa-2":"",attrs:{"no-gutters":""}},[t("v-col",{staticClass:"trust-item",style:e.$isMobile()?"":"justify-content: center;",attrs:{cols:"12",sm:"6",md:"3"}},[t("v-icon",{staticClass:"mr-2",attrs:{small:"",color:"#E8A44A"}},[e._v("fas fa-fish")]),e._v(" "),t("span",[e._v("Pesca Artesanal Chilena")])],1),e._v(" "),t("v-col",{staticClass:"trust-item",style:e.$isMobile()?"":"justify-content: center;",attrs:{cols:"12",sm:"6",md:"3"}},[t("v-icon",{staticClass:"mr-2",attrs:{small:"",color:"#E8A44A"}},[e._v("fas fa-shipping-fast")]),e._v(" "),t("span",[e._v("Entrega en 24 Horas")])],1),e._v(" "),t("v-col",{staticClass:"trust-item",style:e.$isMobile()?"":"justify-content: center;",attrs:{cols:"12",sm:"6",md:"3"}},[t("v-icon",{staticClass:"mr-2",attrs:{small:"",color:"#E8A44A"}},[e._v("fas fa-snowflake")]),e._v(" "),t("span",[e._v("Cadena de Frío Garantizada")])],1),e._v(" "),t("v-col",{staticClass:"trust-item trust-item--with-note",style:e.$isMobile()?"":"justify-content: center;",attrs:{cols:"12",sm:"6",md:"3"}},[t("div",{staticClass:"trust-item-main"},[t("v-icon",{staticClass:"mr-2",attrs:{small:"",color:"#E8A44A"}},[e._v("fas fa-gift")]),e._v(" "),t("span",[e._v("Envío Gratis +$49.990")])],1),e._v(" "),t("div",{staticClass:"trust-item-note"},[e._v("\n Pedidos a la Zona Sur tienen costo de envío fijo.\n ")])])],1)],1),e._v(" "),t("div",{directives:[{name:"intersect",rawName:"v-intersect",value:e.onProductIntersected,expression:"onProductIntersected"}],ref:"productsSection",staticClass:"products-section-wrapper"},[t("div",{staticClass:"text-center mb-4 mt-6"},[t("h2",{staticClass:"section-display-title"},[e._v("\n Productos destacados\n ")]),e._v(" "),t("p",{staticClass:"text-body-2 section-subtitle mt-1"},[e._v("\n Selección de nuestros productos más populares\n ")])]),e._v(" "),t("div",{ref:"productsGridWrapper",staticClass:"products-grid-wrapper",style:e.productsGridStyle},[t("products",{attrs:{fetching:e.fetching,products:e.products,pagination:e.pagination},on:{paginate:e.onProductsRefreshStart}}),e._v(" "),t("v-fade-transition",[e.fetching?t("div",{staticClass:"products-loading-overlay",attrs:{role:"status","aria-live":"polite","aria-label":"Actualizando productos"}},[t("div",{staticClass:"products-loading-label"},[e._v("\n Actualizando productos...\n ")]),e._v(" "),t("v-progress-linear",{staticClass:"mb-4",attrs:{color:"#001732",indeterminate:"",rounded:""}}),e._v(" "),t("v-row",{staticClass:"ma-0",attrs:{justify:"center"}},e._l(8,function(i){return t("v-col",{key:"container_skeleton_loader_".concat(i),staticClass:"pa-1",attrs:{md:"3",cols:"6"}},[t("v-skeleton-loader",{staticClass:"mx-auto",attrs:{width:"100%","aria-label":"cargando",boilerplate:"",type:"image, article"}})],1)}),1)],1):e._e()])],1)]),e._v(" "),t("section",{staticClass:"how-it-works mb-8"},[t("div",{staticClass:"section-block-title mb-6"},[e._v("\n Cómo funciona\n ")]),e._v(" "),t("v-row",[t("v-col",{attrs:{cols:"12",md:"4"}},[t("v-card",{staticClass:"how-step-card",attrs:{flat:""}},[t("div",{staticClass:"how-step-number font-mono"},[e._v("\n 01\n ")]),e._v(" "),t("v-icon",{staticClass:"how-step-icon mb-3",attrs:{color:"secondary",large:""}},[e._v("fas fa-shopping-basket")]),e._v(" "),t("h3",{staticClass:"mb-2"},[e._v("\n Elige tus productos\n ")]),e._v(" "),t("p",{staticClass:"mb-0 text-body-2"},[e._v("\n Selecciona tus pescados y mariscos favoritos desde nuestro catálogo de pesca artesanal.\n ")])],1)],1),e._v(" "),t("v-col",{attrs:{cols:"12",md:"4"}},[t("v-card",{staticClass:"how-step-card",attrs:{flat:""}},[t("div",{staticClass:"how-step-number font-mono"},[e._v("\n 02\n ")]),e._v(" "),t("v-icon",{staticClass:"how-step-icon mb-3",attrs:{color:"secondary",large:""}},[e._v("fas fa-box-open")]),e._v(" "),t("h3",{staticClass:"mb-2"},[e._v("\n Lo preparamos\n ")]),e._v(" "),t("p",{staticClass:"mb-0 text-body-2"},[e._v("\n Procesamos y empacamos tu pedido cuidando cada detalle con cadena de frío.\n ")])],1)],1),e._v(" "),t("v-col",{attrs:{cols:"12",md:"4"}},[t("v-card",{staticClass:"how-step-card",attrs:{flat:""}},[t("div",{staticClass:"how-step-number font-mono"},[e._v("\n 03\n ")]),e._v(" "),t("v-icon",{staticClass:"how-step-icon mb-3",attrs:{color:"secondary",large:""}},[e._v("fas fa-truck")]),e._v(" "),t("h3",{staticClass:"mb-2"},[e._v("\n Llega a tu puerta\n ")]),e._v(" "),t("p",{staticClass:"mb-0 text-body-2"},[e._v("\n Entregamos refrigerado a domicilio en Santiago en menos de 24 horas.\n ")])],1)],1)],1)],1),e._v(" "),t("section",{staticClass:"home-google-reviews mb-8"},[t("div",{staticClass:"section-block-title mb-2"},[e._v("\n Reseñas verificadas\n ")]),e._v(" "),t("p",{staticClass:"home-google-reviews-subtitle mb-4"},[e._v("\n Opiniones reales de clientes que compran en FishBox Chile.\n ")]),e._v(" "),t("google-reviews")],1),e._v(" "),t("section",{staticClass:"featured-categories mb-10"},[t("div",{staticClass:"section-block-title mb-3"},[e._v("\n Categorías destacadas\n ")]),e._v(" "),e.$isMobile()?t("v-slide-group",{staticClass:"pb-2 featured-categories-mobile"},e._l(e.featuredCategories,function(o){return t("v-slide-item",{key:"featured_category_mobile_".concat(o.referencia)},[t("v-card",{staticClass:"featured-category-card mr-3",on:{click:function(t){return e.openCategory(o)}}},[t("div",{staticClass:"featured-category-media"},[t("div",{staticClass:"featured-category-circle"},[t("v-img",{staticClass:"featured-category-image",attrs:{contain:"",src:e.getCategoryCover(o),"lazy-src":e.getCategoryCover(o),alt:o.nombre}})],1)]),e._v(" "),t("v-card-text",{staticClass:"featured-category-name pt-2 pb-0 text-center font-weight-bold"},[e._v("\n "+e._s(o.nombre)+"\n ")])],1)],1)}),1):t("v-row",{staticClass:"featured-categories-desktop",attrs:{justify:"center"}},e._l(e.featuredCategories,function(o){return t("v-col",{key:"featured_category_".concat(o.referencia),staticClass:"pa-2 d-flex justify-center",attrs:{cols:"12",sm:"4",md:"3",lg:"2",xl:"2"}},[t("v-card",{staticClass:"featured-category-card",on:{click:function(t){return e.openCategory(o)}}},[t("div",{staticClass:"featured-category-media"},[t("div",{staticClass:"featured-category-circle"},[t("v-img",{staticClass:"featured-category-image",attrs:{contain:"",src:e.getCategoryCover(o),"lazy-src":e.getCategoryCover(o),alt:o.nombre}})],1)]),e._v(" "),t("v-card-text",{staticClass:"featured-category-name pt-2 pb-0 text-center font-weight-bold"},[e._v("\n "+e._s(o.nombre)+"\n ")])],1)],1)}),1)],1),e._v(" "),t("v-lazy",{attrs:{options:{threshold:0}}},[t("div",{directives:[{name:"intersect",rawName:"v-intersect",value:e.onCarruselIntersected,expression:"onCarruselIntersected"}]},[e.showCarousel&&e.showProduct?t("carousel"):e._e()],1)]),e._v(" "),t("v-lazy",{attrs:{options:{threshold:0}}},[t("div",{directives:[{name:"intersect",rawName:"v-intersect",value:e.onArticlesListIntersected,expression:"onArticlesListIntersected"}]},[e.articles.items.length?t("articles",{attrs:{articles:e.articles.items,fetching:e.articles.pending,pagination:{}}}):e._e()],1)]),e._v(" "),t("v-lazy",{attrs:{options:{threshold:0}}},[t("div",{directives:[{name:"intersect",rawName:"v-intersect",value:e.onInstagramFeedIntersected,expression:"onInstagramFeedIntersected"}]},[e.showInstagramFeed&&e.showBlog?t("instagram-feed"):e._e()],1)]),e._v(" "),t("br")],1)},[],!1,null,"715d04cc",null);t.default=component.exports},718:function(e,t,o){"use strict";var n=o(6),r=o(358).values;n({target:"Object",stat:!0},{values:function(e){return r(e)}})},801:function(e,t,o){"use strict";o.d(t,"a",function(){return n});var n={clientesActivos:"+8.000",clientesRecurrentes:"+3.500",pedidosEntregados:"+12.000",satisfaccion:"98%",valoracion:"4.8/5",despacho:"24h"}},816:function(e,t,o){"use strict";(function(e){var n=o(2),r=o(0),c=(o(20),o(354),o(33),o(35),o(355),o(17),o(5),o(718),o(21),o(49),o(7),o(9),o(14),o(15),o(8),o(31),o(51),o(131),o(12),o(30),o(46),o(22)),l=o(4),d=o(801),h=o(390);function m(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function v(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return["page","category","s","offers","spent"].some(function(o){return((null==e?void 0:e[o])||null)!==((null==t?void 0:t[o])||null)})},scheduleProductsViewportCheck:function(){var e=this;var t=function(){e.ensureProductsSectionVisibility()};this.$nextTick(function(){window.requestAnimationFrame(function(){t()})}),window.setTimeout(t,220)},getProductsGridWrapperElement:function(){var e=this.$refs.productsGridWrapper;return(null==e?void 0:e.$el)||e||null},getProductsSectionElement:function(){var e=this.$refs.productsSection;return(null==e?void 0:e.$el)||e||null},ensureProductsSectionVisibility:function(){var e=this.getProductsSectionElement();if(e){var t=this.$isMobile()?120:90,o=t+40,rect=e.getBoundingClientRect();if(rect.top<=o&&rect.bottom>=o)this.keepProductsInViewOnRefresh=!1;else{var n=Math.max(window.pageYOffset+rect.top-t,0);this.$vuetify.goTo(n,{duration:320,easing:"easeInOutCubic"}),this.keepProductsInViewOnRefresh=!1}}else this.keepProductsInViewOnRefresh=!1},onOffersIntersected:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.showOffers||null!==(e=t[0])&&void 0!==e&&e.isIntersecting&&(this.showOffers=!0)},loadProductsFallback:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark(function t(){var data;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.fetching=!0,t.next=1,Object(l.h)(e.$axios,e.$route.query,e.$store,{perPage:16,category:e.$route.query.category?"/".concat(e.$route.query.category):""});case 1:data=t.sent,e.products=data.products||[],e.pagination=data.pagination||{},e.fetching=!1,t.next=3;break;case 2:t.prev=2,t.catch(0),e.fetching=!1;case 3:case"end":return t.stop()}},t,null,[[0,2]])}))()},onArticlesListIntersected:function(e,t){this.showBlog=!0,!e[0].isIntersecting||this.articles.items.length||this.articles.pending||this.$store.dispatch("commons/fetchHomeArticles")},socialUnlockOffset:function(){return this.$isMobile()?700:520},onSocialScroll:function(){this.socialScrollDetected=!0,this.checkSocialContentUnlock()},checkSocialContentUnlock:function(){this.socialContentUnlocked||this.socialScrollDetected&&(window.scrollY0&&void 0!==arguments[0]?arguments[0]:[])[0])&&void 0!==e&&e.isIntersecting&&(this.instagramSectionSeen=!0,this.socialContentUnlocked&&(this.showInstagramFeed=!0))},onCarruselIntersected:function(){this.showCarousel=!0},onProductIntersected:function(){this.showProduct=!0},goToProducts:function(){this.$router.push({name:"products.index"}).catch(function(){})},goToAbout:function(){this.$router.push({name:"about"}).catch(function(){})},openCategory:function(e){this.$router.push(Object(l.j)(e)).catch(function(){})},getCategoryCover:function(e){return(null==e?void 0:e.photo_url)||"/images/product/IMAGEN-NO-DISPO.png"},subscribeNewsletter:function(){var e=this;return Object(r.a)(regeneratorRuntime.mark(function t(){var o,n,r,c,l,d;return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((o=(e.newsletterEmail||"").trim().toLowerCase())&&o.includes("@")){t.next=1;break}return e.$notify({color:"warning",message:"Ingresa un email valido para suscribirte."}),t.abrupt("return");case 1:return e.newsletterLoading=!0,t.prev=2,t.next=3,e.$axios.post("/subscribe",{email:o});case 3:e.$notify({color:"success",message:"Listo. Ya activaste tu descuento de bienvenida."}),e.newsletterEmail="",t.next=5;break;case 4:t.prev=4,d=t.catch(2),r=null==d||null===(n=d.response)||void 0===n?void 0:n.data,c=null!=r&&r.errors?Object.values(r.errors).flat()[0]:null,l=c||(null==r?void 0:r.message)||"No pudimos suscribirte ahora. Intenta nuevamente.",e.$notify({color:"error",message:l});case 5:e.newsletterLoading=!1;case 6:case"end":return t.stop()}},t,null,[[2,4]])}))()}}}}).call(this,o(109))},875:function(e,t,o){e.exports={}},935:function(e,t,o){"use strict";o(875)}}]);