-
Notifications
You must be signed in to change notification settings - Fork 0
/
c480dc4798f0eef625ba.js
1 lines (1 loc) · 17.8 KB
/
c480dc4798f0eef625ba.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{342:function(t,e,r){"use strict";r.d(e,"a",(function(){return l})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return h}));var n=r(343),o=r(2),l=Object(o.g)("v-card__actions"),c=Object(o.g)("v-card__subtitle"),d=Object(o.g)("v-card__text"),h=Object(o.g)("v-card__title");n.a},343:function(t,e,r){"use strict";r(9),r(7),r(6),r(5),r(8);var n=r(1),o=(r(21),r(344),r(163)),l=r(345),c=r(64),d=r(10);function h(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 v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a=Object(d.a)(l.a,c.a,o.a).extend({name:"v-card",props:{flat:Boolean,hover:Boolean,img:String,link:Boolean,loaderHeight:{type:[Number,String],default:4},outlined:Boolean,raised:Boolean,shaped:Boolean},computed:{classes:function(){return v(v({"v-card":!0},c.a.options.computed.classes.call(this)),{},{"v-card--flat":this.flat,"v-card--hover":this.hover,"v-card--link":this.isClickable,"v-card--loading":this.loading,"v-card--disabled":this.disabled,"v-card--outlined":this.outlined,"v-card--raised":this.raised,"v-card--shaped":this.shaped},o.a.options.computed.classes.call(this))},styles:function(){var style=v({},o.a.options.computed.styles.call(this));return this.img&&(style.background='url("'.concat(this.img,'") center center / cover no-repeat')),style}},methods:{genProgress:function(){var t=l.a.options.methods.genProgress.call(this);return t?this.$createElement("div",{staticClass:"v-card__progress",key:"progress"},[t]):null}},render:function(t){var e=this.generateRouteLink(),r=e.tag,data=e.data;return data.style=this.styles,this.isClickable&&(data.attrs=data.attrs||{},data.attrs.tabindex=0),t(r,this.setBackgroundColor(this.color,data),[this.genProgress(),this.$slots.default])}})},344:function(t,e,r){},345:function(t,e,r){"use strict";r(21);var n=r(0),o=r(347);e.a=n.a.extend().extend({name:"loadable",props:{loading:{type:[Boolean,String],default:!1},loaderHeight:{type:[Number,String],default:2}},methods:{genProgress:function(){return!1===this.loading?null:this.$slots.progress||this.$createElement(o.a,{props:{absolute:!0,color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,height:this.loaderHeight,indeterminate:!0}})}}})},346:function(t,e,r){},347:function(t,e,r){"use strict";r(9),r(7),r(6),r(5),r(8),r(101);var n=r(1),o=(r(21),r(346),r(166)),l=r(20),c=r(103),d=r(165),h=r(26),v=r(2),m=r(10);function f(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}var _=Object(m.a)(l.a,Object(c.b)(["absolute","fixed","top","bottom"]),d.a,h.a).extend({name:"v-progress-linear",props:{active:{type:Boolean,default:!0},backgroundColor:{type:String,default:null},backgroundOpacity:{type:[Number,String],default:null},bufferValue:{type:[Number,String],default:100},color:{type:String,default:"primary"},height:{type:[Number,String],default:4},indeterminate:Boolean,query:Boolean,rounded:Boolean,stream:Boolean,striped:Boolean,value:{type:[Number,String],default:0}},data:function(){return{internalLazyValue:this.value||0}},computed:{__cachedBackground:function(){return this.$createElement("div",this.setBackgroundColor(this.backgroundColor||this.color,{staticClass:"v-progress-linear__background",style:this.backgroundStyle}))},__cachedBar:function(){return this.$createElement(this.computedTransition,[this.__cachedBarType])},__cachedBarType:function(){return this.indeterminate?this.__cachedIndeterminate:this.__cachedDeterminate},__cachedBuffer:function(){return this.$createElement("div",{staticClass:"v-progress-linear__buffer",style:this.styles})},__cachedDeterminate:function(){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__determinate",style:{width:Object(v.f)(this.normalizedValue,"%")}}))},__cachedIndeterminate:function(){return this.$createElement("div",{staticClass:"v-progress-linear__indeterminate",class:{"v-progress-linear__indeterminate--active":this.active}},[this.genProgressBar("long"),this.genProgressBar("short")])},__cachedStream:function(){return this.stream?this.$createElement("div",this.setTextColor(this.color,{staticClass:"v-progress-linear__stream",style:{width:Object(v.f)(100-this.normalizedBuffer,"%")}})):null},backgroundStyle:function(){var t;return t={opacity:null==this.backgroundOpacity?this.backgroundColor?1:.3:parseFloat(this.backgroundOpacity)},Object(n.a)(t,this.$vuetify.rtl?"right":"left",Object(v.f)(this.normalizedValue,"%")),Object(n.a)(t,"width",Object(v.f)(this.normalizedBuffer-this.normalizedValue,"%")),t},classes:function(){return function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?f(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({"v-progress-linear--absolute":this.absolute,"v-progress-linear--fixed":this.fixed,"v-progress-linear--query":this.query,"v-progress-linear--reactive":this.reactive,"v-progress-linear--rounded":this.rounded,"v-progress-linear--striped":this.striped},this.themeClasses)},computedTransition:function(){return this.indeterminate?o.b:o.c},normalizedBuffer:function(){return this.normalize(this.bufferValue)},normalizedValue:function(){return this.normalize(this.internalLazyValue)},reactive:function(){return Boolean(this.$listeners.change)},styles:function(){var t={};return this.active||(t.height=0),this.indeterminate||100===parseFloat(this.normalizedBuffer)||(t.width=Object(v.f)(this.normalizedBuffer,"%")),t}},methods:{genContent:function(){var slot=Object(v.j)(this,"default",{value:this.internalLazyValue});return slot?this.$createElement("div",{staticClass:"v-progress-linear__content"},slot):null},genListeners:function(){var t=this.$listeners;return this.reactive&&(t.click=this.onClick),t},genProgressBar:function(t){return this.$createElement("div",this.setBackgroundColor(this.color,{staticClass:"v-progress-linear__indeterminate",class:Object(n.a)({},t,!0)}))},onClick:function(t){if(this.reactive){var e=this.$el.getBoundingClientRect().width;this.internalValue=t.offsetX/e*100}},normalize:function(t){return t<0?0:t>100?100:parseFloat(t)}},render:function(t){return t("div",{staticClass:"v-progress-linear",attrs:{role:"progressbar","aria-valuemin":0,"aria-valuemax":this.normalizedBuffer,"aria-valuenow":this.indeterminate?void 0:this.normalizedValue},class:this.classes,style:{bottom:this.bottom?0:void 0,height:this.active?Object(v.f)(this.height):0,top:this.top?0:void 0},on:this.genListeners()},[this.__cachedStream,this.__cachedBackground,this.__cachedBuffer,this.__cachedBar,this.genContent()])}});e.a=_},348:function(t,e,r){},349:function(t,e,r){"use strict";r(21);var n=r(0);e.a=n.a.extend({name:"translatable",props:{height:Number},data:function(){return{elOffsetTop:0,parallax:0,parallaxDist:0,percentScrolled:0,scrollTop:0,windowHeight:0,windowBottom:0}},computed:{imgHeight:function(){return this.objHeight()}},beforeDestroy:function(){window.removeEventListener("scroll",this.translate,!1),window.removeEventListener("resize",this.translate,!1)},methods:{calcDimensions:function(){var t=this.$el.getBoundingClientRect();this.scrollTop=window.pageYOffset,this.parallaxDist=this.imgHeight-this.height,this.elOffsetTop=t.top+this.scrollTop,this.windowHeight=window.innerHeight,this.windowBottom=this.scrollTop+this.windowHeight},listeners:function(){window.addEventListener("scroll",this.translate,!1),window.addEventListener("resize",this.translate,!1)},objHeight:function(){throw new Error("Not implemented !")},translate:function(){this.calcDimensions(),this.percentScrolled=(this.windowBottom-this.elOffsetTop)/(parseInt(this.height)+this.windowHeight),this.parallax=Math.round(this.parallaxDist*this.percentScrolled)}}})},351:function(t,e,r){"use strict";r(63),r(6),r(5),r(8),r(162),r(164);var n=r(102),o=r(65);e.a=Object(n.a)("container").extend({name:"v-container",functional:!0,props:{id:String,tag:{type:String,default:"div"},fluid:{type:Boolean,default:!1}},render:function(t,e){var r,n=e.props,data=e.data,l=e.children,c=data.attrs;return c&&(data.attrs={},r=Object.keys(c).filter((function(t){if("slot"===t)return!1;var e=c[t];return t.startsWith("data-")?(data.attrs[t]=e,!1):e||"string"==typeof e}))),n.id&&(data.domProps=data.domProps||{},data.domProps.id=n.id),t(n.tag,Object(o.a)(data,{staticClass:"container",class:Array({"container--fluid":n.fluid}).concat(r||[])}),l)}})},354:function(t,e,r){},358:function(t,e,r){"use strict";r(21),r(348);var n=r(349),o=r(10),l=Object(o.a)(n.a);e.a=l.extend().extend({name:"v-parallax",props:{alt:{type:String,default:""},height:{type:[String,Number],default:500},src:String},data:function(){return{isBooted:!1}},computed:{styles:function(){return{display:"block",opacity:this.isBooted?1:0,transform:"translate(-50%, ".concat(this.parallax,"px)")}}},mounted:function(){this.init()},methods:{init:function(){var t=this,img=this.$refs.img;img&&(img.complete?(this.translate(),this.listeners()):img.addEventListener("load",(function(){t.translate(),t.listeners()}),!1),this.isBooted=!0)},objHeight:function(){return this.$refs.img.naturalHeight}},render:function(t){var e=t("div",{staticClass:"v-parallax__image-container"},[t("img",{staticClass:"v-parallax__image",style:this.styles,attrs:{src:this.src,alt:this.alt},ref:"img"})]),content=t("div",{staticClass:"v-parallax__content"},this.$slots.default);return t("div",{staticClass:"v-parallax",style:{height:"".concat(this.height,"px")},on:this.$listeners},[e,content])}})},362:function(t,e,r){"use strict";var n=r(354);r.n(n).a},363:function(t,e){t.exports=function(component,t){var e="function"==typeof component.exports?component.exports.extendOptions:component.options;for(var i in"function"==typeof component.exports&&(e.directives=component.exports.options.directives),e.directives=e.directives||{},t)e.directives[i]=e.directives[i]||t[i]}},388:function(t,e,r){"use strict";r.r(e);var n={name:"HomePage",head:{title:"Pasta Bawang Merah"},data:function(){return{}},methods:{handleScroll:function(){window.scrollY>400?(document.getElementById("shallot__header").classList.remove("transparent"),document.getElementById("shallot__menu").classList.remove("menu__btn-home")):(document.getElementById("shallot__header").classList.add("transparent"),document.getElementById("shallot__menu").classList.add("menu__btn-home"))}}},o=(r(362),r(52)),l=r(72),c=r.n(l),d=r(169),h=r(343),v=r(342),m=r(323),f=r(351),_=r(145),y=r(123),w=r(149),x=r(358),C=r(326),j=r(363),O=r.n(j),B=r(146),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"scroll",rawName:"v-scroll",value:t.handleScroll,expression:"handleScroll"}]},[r("v-parallax",{attrs:{height:"675",src:"/img/banner/banner_bg.jpg"}},[r("v-overlay",{attrs:{value:"true",absolute:""}},[r("v-container",[r("v-row",{attrs:{justify:"center",align:"center"}},[r("v-col",{attrs:{cols:"12",lg:"12"}},[r("div",{staticClass:"text-center"},[r("h1",{staticClass:"display-2 font-weight-bold"},[t._v("Ulegan Bawang "),r("span",{staticClass:"font-italic"},[t._v('"Shallot Paste"')])]),t._v(" "),r("p",{staticClass:"subtitle-1 font-weight-medium"},[t._v('"'+t._s(t.$t("home.header.quote"))+'"')])])])],1)],1)],1)],1),t._v(" "),r("v-container",{staticClass:"py-10 my-10"},[r("v-row",{attrs:{justify:"center",align:"center"}},[r("v-col",{staticClass:"mb-4",attrs:{cols:"10",sm:"7",md:"6",lg:"5"}},[r("div",{staticClass:"section-title"},[r("h2",{staticClass:"display-1 font-weight-medium"},[t._v(t._s(t.$t("home.who_title")))])]),t._v(" "),r("div",{staticClass:"font-weight-light text-justify"},t._l(t.$t("home.who_text"),(function(e,i){return r("p",{key:i},[t._v("\n "+t._s(e.text)+"\n ")])})),0),t._v(" "),r("div",[r("v-btn",{staticClass:"text-capitalize",attrs:{dark:"",color:"orange darken-1",nuxt:"",to:t.localePath("about-us")}},[t._v("\n "+t._s(t.$t("home.read_more"))+"\n ")])],1)]),t._v(" "),r("v-col",{staticClass:"d-flex justify-center align-center",attrs:{cols:"10",sm:"5",md:"6",lg:"6"}},[r("v-row",[r("v-col",{attrs:{cols:"12"}},[r("v-img",{staticClass:"mx-auto",attrs:{"lazy-src":"/img/pasta-100g-pouch.png",src:"/img/pasta-100g-pouch.png","max-width":"xs"==t.$vuetify.breakpoint.name||"sm"==t.$vuetify.breakpoint.name?275:350}})],1),t._v(" "),r("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[r("v-btn",{staticClass:"text-capitalize",attrs:{nuxt:"",to:t.localePath("products"),dark:"",color:"orange darken-1"}},[t._v("\n "+t._s(t.$t("home.our_products"))+"\n "),r("v-icon",{attrs:{right:""}},[t._v("mdi-cube-send")])],1)],1)],1)],1)],1)],1),t._v(" "),r("section",{staticClass:"grey lighten-4"},[r("v-container",{staticClass:"pt-12 pb-12 mt-12"},[r("v-row",[r("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[r("v-img",{attrs:{"lazy-src":"/img/shallot-paste-logo.png",src:"/img/shallot-paste-logo.png","max-width":"275"}})],1)],1),t._v(" "),r("v-row",{staticClass:"px-4 px-lg-0",attrs:{justify:"center"}},[r("v-col",{attrs:{cols:"12",sm:"8",md:"4",lg:"4"}},[r("v-card",{staticClass:"pt-4",attrs:{"min-height":"425"}},[r("v-img",{staticClass:"mx-auto",attrs:{"lazy-src":"/img/guarantee.png",src:"/img/guarantee.png",width:"125"}}),t._v(" "),r("v-card-title",{staticClass:"py-0"},[r("h5",{staticClass:"mx-auto headline font-weight-bold"},[t._v(t._s(t.$t("home.advantages_title.hygienic")))])]),t._v(" "),r("v-card-text",{staticClass:"mt-4 px-10"},[r("p",{staticClass:"body-1 font-weight-regular"},[t._v("\n "+t._s(t.$t("home.advantages_text.hygienic"))+"\n ")])])],1)],1),t._v(" "),r("v-col",{attrs:{cols:"12",sm:"8",md:"4",lg:"4"}},[r("v-card",{staticClass:"pt-4",attrs:{"min-height":"425"}},[r("v-img",{staticClass:"mx-auto",attrs:{"lazy-src":"/img/practice.png",src:"/img/practice.png",width:"125"}}),t._v(" "),r("v-card-title",{staticClass:"py-0"},[r("h5",{staticClass:"mx-auto headline font-weight-bold"},[t._v(t._s(t.$t("home.advantages_title.easy")))])]),t._v(" "),r("v-card-text",{staticClass:"mt-4 px-10"},[r("p",{staticClass:"body-1 font-weight-regular"},[t._v("\n "+t._s(t.$t("home.advantages_text.easy"))+"\n ")])])],1)],1),t._v(" "),r("v-col",{attrs:{cols:"12",sm:"8",md:"4",lg:"4"}},[r("v-card",{staticClass:"pt-4",attrs:{"min-height":"425"}},[r("v-img",{staticClass:"mx-auto",attrs:{"lazy-src":"/img/good-quality2.png",src:"/img/good-quality2.png",width:"125"}}),t._v(" "),r("v-card-title",{staticClass:"py-0"},[r("h5",{staticClass:"mx-auto headline font-weight-bold"},[t._v(t._s(t.$t("home.advantages_title.quality")))])]),t._v(" "),r("v-card-text",{staticClass:"mt-4 px-10"},[r("p",{staticClass:"body-1 font-weight-regular"},[t._v("\n "+t._s(t.$t("home.advantages_text.quality"))+"\n ")])])],1)],1)],1)],1)],1),t._v(" "),r("v-parallax",{attrs:{height:"175",src:"img/orange_section_bg.jpg"}},[r("v-row",{attrs:{justify:"center",align:"center"}},[r("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[r("h3",{staticClass:"display-1 font-weight-bold"},[t._v(t._s(t.$t("home.did_you_know")))])])],1)],1),t._v(" "),r("v-container",{staticClass:"pb-12 mb-12"},[r("v-row",{attrs:{justify:"center"}},[r("v-col",{staticStyle:{position:"relative"},attrs:{cols:"12",sm:"8",md:"8",lg:"8"}},[r("v-card",{staticClass:"d-flex align-center",class:"xs"==t.$vuetify.breakpoint.name?"":"px-12",staticStyle:{top:"-70px"},attrs:{"min-height":"100"}},[r("v-card-text",{staticClass:"title font-weight-regular text-center"},[t._v("\n "+t._s(t.$t("home.adition"))+"\n ")])],1)],1),t._v(" "),r("v-col",{staticClass:"d-flex justify-center",attrs:{cols:"12"}},[r("div",{staticClass:"section-title"},[r("h2",{staticClass:"display-1 font-weight-medium"},[t._v(t._s(t.$t("home.aspects_title")))])])]),t._v(" "),r("v-col",{attrs:{cols:"12"}},[r("v-row",{staticClass:"py-6 px-3",attrs:{justify:"center"}},t._l(t.$t("home.aspects"),(function(e,n){return r("v-col",{key:n,attrs:{cols:"6",md:"4",lg:"3"}},[r("v-card",{staticClass:"d-flex align-center mx-auto",class:"xs"==t.$vuetify.breakpoint.name?"pa-1":"pa-4",attrs:{color:"orange darken-1",width:"250",height:"175",shaped:""}},[r("p",{staticClass:"body-1 white--text font-weight-light text-center mb-0"},[t._v("\n "+t._s(e.text)+"\n ")])])],1)})),1)],1)],1)],1),t._v(" "),r("section",{staticClass:"grey lighten-4 py-12"},[r("v-container",[r("v-row",[r("v-col",[r("div",{staticClass:"section-title"},[r("h2",{staticClass:"display-1 font-weight-medium"},[t._v(t._s(t.$t("home.doing")))])])])],1),t._v(" "),r("v-row",{attrs:{justify:"center"}},[r("v-col",{staticClass:"d-flex justify-center align-center",attrs:{cols:"8",md:"4",lg:"4"}},[r("v-img",{staticClass:"mx-auto",attrs:{"lazy-src":"/img/bawang-merah.png",src:"/img/bawang-merah.png","max-width":"300"}})],1),t._v(" "),r("v-col",{staticClass:"d-flex align-center",attrs:{cols:"10",md:"8",lg:"8"}},[r("div",{staticClass:"body-1 font-weight-light text-justify"},t._l(t.$t("home.doing_text"),(function(e,i){return r("p",{key:i},[t._v("\n "+t._s(e.text)+"\n ")])})),0)])],1)],1)],1)],1)}),[],!1,null,"533597c7",null);e.default=component.exports;c()(component,{VBtn:d.a,VCard:h.a,VCardText:v.b,VCardTitle:v.c,VCol:m.a,VContainer:f.a,VIcon:_.a,VImg:y.a,VOverlay:w.a,VParallax:x.a,VRow:C.a}),O()(component,{Scroll:B.b})}}]);