(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[15],{1216:function(e,t,n){"use strict";var r=n(0),c=n.n(r),o=n(2),o=n.n(o),s=n(1202),a=n(1217),u=n.n(a);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==i(e)?e:e+""}(r.key),r)}}function _(e,t,n){t=p(t);var r=e,t=f()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n);if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=r;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(f=function(){return!!e})()}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function y(e,t){return(y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}n=function(e){function n(){var e=this,t=n;if(e instanceof t)return _(this,n,arguments);throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&y(r,e),r=n,(e=[{key:"render",value:function(){var e=this.props,t=e.text,n=e.description,r=e.dark,o=e.wrapperClassName,a=e.className,i=e.h1,l=e.titleUrl,e=e.rootClassNames,l=l?c.a.createElement(s.a,{to:l},t):t;return c.a.createElement("div",{className:[u.a.titleWrapper,r?u.a.titleDark:"",o,e].join(" ")},i?c.a.createElement("h1",{className:[u.a.title,a].join(" ")},l):c.a.createElement("h3",{className:[u.a.title,a].join(" ")},l),n&&0<n.length&&c.a.createElement("p",{className:u.a.description},n))}}])&&l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(r.Component);n.propTypes={text:o.a.string,dark:o.a.bool},t.a=n},1217:function(e,t,n){e.exports={"title-wrapper":"styles__title-wrapper___1joct",titleWrapper:"styles__title-wrapper___1joct",title:"styles__title___WIY3O","title-dark":"styles__title-dark___1Ytmg",titleDark:"styles__title-dark___1Ytmg",description:"styles__description___GO00C"}},1222:function(e,t,n){"use strict";var r=n(0),i=n.n(r);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)!{}.hasOwnProperty.call(r,n)||(e[n]=r[n])}return e}).apply(null,arguments)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==o(e)?e:e+""}(r.key),r)}}function s(e,t,n){t=u(t);var r=e,t=a()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n);if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=r;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(a=function(){return!!e})()}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,t){return(_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function f(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=null!=e&&e[t]?t:void 0;return void 0!==n?e[n]:0<=(n=t-e.length)&&f(e,n)}t.a=function(o,a){return function(e){function n(){var e=this,t=n;if(e instanceof t)return s(this,n,arguments);throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&_(r,e),r=n,(e=[{key:"render",value:function(){var e=this.props.componentIndex,e=void 0===e?0:e,t=Array.isArray(a)?a:[a],t=f(t,e);return i.a.createElement(o,l({},t,this.props))}}])&&c(r.prototype,e),t&&c(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(r.Component)}},1278:function(e,t,n){e.exports={"column-banners":"styles__column-banners___3G-CS",columnBanners:"styles__column-banners___3G-CS","margin-bottom":"styles__margin-bottom___17yny",marginBottom:"styles__margin-bottom___17yny",inner:"styles__inner___14PH-","inner-full":"styles__inner-full___UMCHT",innerFull:"styles__inner-full___UMCHT","same-height":"styles__same-height___M4A_9",sameHeight:"styles__same-height___M4A_9",padded:"styles__padded___3yAw2",banner:"styles__banner___ZkiPd",hasHoverEffect:"styles__hasHoverEffect___3Mlpv","background-image":"styles__background-image___33nw8",backgroundImage:"styles__background-image___33nw8","no-margin-banner":"styles__no-margin-banner___31Qpt styles__banner___ZkiPd",noMarginBanner:"styles__no-margin-banner___31Qpt styles__banner___ZkiPd",link:"styles__link___uAb93",background:"styles__background___2jKZi",caption:"styles__caption___25zl_","image-caption":"styles__image-caption___1njm5",imageCaption:"styles__image-caption___1njm5","static-caption":"styles__static-caption___VHRkn",staticCaption:"styles__static-caption___VHRkn","align-caption":"styles__align-caption___24fMj styles__image-caption___1njm5",alignCaption:"styles__align-caption___24fMj styles__image-caption___1njm5",mainColor:"styles__mainColor___2_3L1",purple:"styles__purple___1Olj2",blue:"styles__blue___1rDr1",orange:"styles__orange___1H76b",green:"styles__green___3MAhL",dark:"styles__dark___2qx5h",red:"styles__red___2u6pM",pink:"styles__pink___25W-S",gray:"styles__gray___ccFH4",yellow:"styles__yellow___1jhUa",cyan:"styles__cyan___3Di5I",white:"styles__white___1IKzb","extra-small":"styles__extra-small___2VBix",extraSmall:"styles__extra-small___2VBix",small:"styles__small___1oWxM",normal:"styles__normal___3ee3w",large:"styles__large___164hu","extra-large":"styles__extra-large___gCs4m",extraLarge:"styles__extra-large___gCs4m","auto-height":"styles__auto-height___3AF1d",autoHeight:"styles__auto-height___3AF1d"}},1311:function(e,t,n){e.exports=n.p+"479be28fe86fa477cc07133f2fd557e1.jpg"},1312:function(e,t,n){e.exports=n.p+"21489ab1f64c6595f7222edba20f7706.jpg"},1313:function(e,t,n){e.exports=n.p+"1608dd178e19da67ab74acad64968f41.jpg"},1314:function(e,t,n){e.exports=n.p+"a1084dc72ab2b97b0c01ec7271c58bda.jpg"},1315:function(e,t,n){e.exports=n.p+"4fac9a38b47221ea07ea9ad1f69a6c42.jpg"},1316:function(e,t,n){e.exports=n.p+"9d3bde235085726f78f9661ed6d4e7e7.jpg"},656:function(e,t,n){"use strict";n.r(t);var s=n(0),g=n.n(s),l=n(1216),r=n(1278),d=n.n(r),r=n(1311),r=n.n(r),o=n(1312),o=n.n(o),a=n(1313),a=n.n(a),i=n(1314),i=n.n(i),c=n(1315),c=n.n(c),u=n(1316),r=[{bannerDesign:{col:4,margin:"with-margin",width:"fixed",size:"small",hoverEffect:!1,columnsInMobile:2},bannerValues:{banner1:{bannerTitle:"تنوع لوازم آرایشی",backgroundImage:{url:r.a},activeColor:"dark",isPreset:!0},banner2:{bannerTitle:"کیفیت محصولات",backgroundImage:{url:o.a},activeColor:"green",isPreset:!0},banner3:{bannerTitle:"نرم شدن پوست",backgroundImage:{url:a.a},activeColor:"blue",isPreset:!0},banner4:{bannerTitle:"ضمانت اصل بودن",backgroundImage:{url:i.a},activeColor:"red",isPreset:!0}}},{bannerDesign:{col:2,margin:"with-margin",width:"fixed",size:"auto-height",hoverEffect:!1},bannerValues:{banner1:{bannerTitle:"با کیفیت ترین لوازم آرایش",backgroundImage:{url:c.a},activeColor:"dark",isPreset:!0},banner2:{bannerTitle:"خریدی مطمئن",backgroundImage:{url:n.n(u).a},activeColor:"green",isPreset:!0}}}];function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n,r=arguments[t];for(n in r)!{}.hasOwnProperty.call(r,n)||(e[n]=r[n])}return e}).apply(null,arguments)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=_(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==_(e)?e:e+""}(r.key),r)}}function y(e,t,n){t=m(t);var r=e,t=b()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n);if(t&&("object"==_(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=r;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(b=function(){return!!e})()}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function h(e,t){return(h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var v=function(e){function n(){var e=this,t=n;if(e instanceof t)return y(this,n,arguments);throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&h(r,e),r=n,(e=[{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.sameHeight,r=e.hasImage,o=e.bannerImageSize,a=e.alt,i=e.bannerTitle,l=e.backgroundImage,e=e.isPreset,c=(null==l?void 0:l.width)&&"auto ".concat(null==l?void 0:l.width," / ").concat(null==l?void 0:l.height);return g.a.createElement(s.Fragment,null,r&&g.a.createElement("div",{className:i&&0<i.length?d.a.background:d.a.empty},g.a.createElement("img",f({},c&&{style:{aspectRatio:c}},{src:e?encodeURI(null==l?void 0:l.url):"".concat(encodeURI(null==l?void 0:l.url),"?w=").concat(o,"&h=").concat(o),className:d.a.backgroundImage,alt:a,srcSet:e?encodeURI(null==l?void 0:l.url):"".concat(encodeURI(null==l?void 0:l.url),"?w=").concat(2*o,"&h=").concat(2*o," 2x, ").concat(encodeURI(null==l?void 0:l.url),"?w=").concat(o,"&h=").concat(o," 1x")}))),i&&g.a.createElement("div",{className:[d.a.caption,r?d.a.imageCaption:t||n?d.a.staticCaption:d.a.alignCaption].join(" ")},i))}}])&&p(r.prototype,e),t&&p(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.Component),w=n(240),o=n(1222);function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=j(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0===n)return("string"===t?String:Number)(e);n=n.call(e,t||"default");if("object"!=j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==j(e)?e:e+""}(r.key),r)}}function P(e,t,n){t=E(t);var r=e,t=k()?Reflect.construct(t,n||[],E(e).constructor):t.apply(e,n);if(t&&("object"==j(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=r;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(k=function(){return!!e})()}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t){return(S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}a=function(e){function n(){var e=this,t=n;if(e instanceof t)return P(this,n,arguments);throw new TypeError("Cannot call a class as a function")}var t,r=n;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&S(r,e),r=n,(e=[{key:"render",value:function(){var e=this.props,c=e.bannerValues,t=e.bannerDesign,n=t.width,s=t.sameHeight,u=t.margin,r=t.col,_=t.hoverEffect,f=t.size,t=e.bannersTitle,o=e.noBottomMargin,p=e.columnsInMobile,e=e.rootClassNames,a={};if(c)for(var i=1;i<=Object.keys(c).length;i++)a["banner".concat(i)]=c["banner".concat(i)]||{};var y=Object.keys(a).slice(0,r),b=350,m=(3==r?b=500:2==r?b=650:1==r&&(b=1400),"auto-height"===f);return g.a.createElement("div",{className:[d.a.columnBanners,o?"":d.a.marginBottom,e].join(" ")},""!=t&&g.a.createElement(l.a,{text:t}),g.a.createElement(w.b,{gap:"with-margin"===u,gapMobile:2==p?"small":"",className:["fixed"===n?d.a.inner:d.a.innerFull,"fixed"!==n&&"with-margin"===u?d.a.padded:"",s?d.a.sameHeight:""].join(" ")},y&&0<y.length&&y.map(function(e,t){var e=c[e],n=e.linkTitle,r=e.bannerAlt,o=e.bannerTitle,a=e.backgroundImage,i=e.isPreset,l=!(null==a||!a.url);return g.a.createElement(w.a,{key:t,span:12/y.length,spanSmall:2!=p||y.length%2&&0===t?12:6,className:["without-margin"==u?d.a.noMarginBanner:d.a.banner,d.a[f],_?d.a.hasHoverEffect:"",l?"":d.a[e.activeColor]].join(" ")},e.bannerLink&&0<e.bannerLink.length?g.a.createElement("a",{className:d.a.link,href:e.bannerLink},g.a.createElement(v,{autoHeight:m,hasImage:l,backgroundImage:a,bannerTitle:o,bannerImageSize:b,sameHeight:s,alt:n||r,isPreset:i})):g.a.createElement("div",{className:d.a.link},g.a.createElement(v,{autoHeight:m,hasImage:l,backgroundImage:a,bannerTitle:o,bannerImageSize:b,sameHeight:s,alt:n||r,isPreset:i})))})))}}])&&O(r.prototype,e),t&&O(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}(s.Component);t.default=Object(o.a)(a,r)}}]);