(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[26],{1215:function(e,t,r){"use strict";var n=r(1),i=r.n(n),a=r(444),o=r(1216),c=r.n(o),o=r(262),l=r.n(o);function u(e){return(u="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)}var s=["className","description"];function p(){return(p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r,n=arguments[t];for(r in n)!{}.hasOwnProperty.call(n,r)||(e[r]=n[r])}return e}).apply(null,arguments)}function f(e,t){if(null==e)return{};var r,n=function(e,t){if(null==e)return{};var r,n={};for(r in e)if({}.hasOwnProperty.call(e,r)){if(0<=t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)r=o[i],0<=t.indexOf(r)||{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r]);return n}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=u(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==u(e)?e:e+""}(n.key),n)}}function y(e,t,r){t=m(t);var n=e,t=d()?Reflect.construct(t,r||[],m(e).constructor):t.apply(e,r);if(t&&("object"==u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(d=function(){return!!e})()}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){return(b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}r=function(e){function r(){var e=this,t=r;if(e instanceof t)return y(this,r,arguments);throw new TypeError("Cannot call a class as a function")}var t,n=r;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&b(n,e),n=r,(e=[{key:"componentDidMount",value:function(){var e=this.props.description;e&&e.allScriptsInfo&&e.allScriptsInfo.forEach(function(e){e.inlineScripts.forEach(function(e){window.eval(e)}),e.extraScripts.forEach(function(e){var t=null==(t=document)?void 0:t.createElement("script");t.setAttribute("src",e),window.document.head.appendChild(t)})})}},{key:"render",value:function(){var r,e,t=this.props,n=t.className,o=t.description,t=f(t,s),t=Object(a.a)(t),o=(r=(null==o?void 0:o.data)||"",null!=(o=["html","head","body"])&&o.forEach(function(e){var t,e=new RegExp("</?".concat(e,".*?>"),"gi");r=null==(t=r)?void 0:t.replace(e,"")}),r),o=(e=r)?e.replace(/<table([\s\S]*?)<\/table>/gi,function(e){return'<div class="tableWrapper">'.concat(e,"</div>")}):"";return i.a.createElement("div",p({className:l()(c.a.productDescription,n),dangerouslySetInnerHTML:{__html:o}},t))}}])&&_(n.prototype,e),t&&_(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component);t.a=r},1216:function(e,t,r){e.exports={"product-description":"Description__product-description___1mbAy",productDescription:"Description__product-description___1mbAy","iframe-wrapper":"iframe-wrapper",iframeWrapper:"iframe-wrapper","iframe-box":"iframe-box",iframeBox:"iframe-box",tableWrapper:"tableWrapper"}},1374:function(e,t,r){e.exports={wrapper:"styles__wrapper___3mO2o",inner:"styles__inner___3Lq2U",right:"styles__right___1Ln91",left:"styles__left___2Nnsp",text:"styles__text___4ZCjO","text-padding-right":"styles__text-padding-right___1ewk7",textPaddingRight:"styles__text-padding-right___1ewk7","text-padding-left":"styles__text-padding-left___n-bIl",textPaddingLeft:"styles__text-padding-left___n-bIl",title:"styles__title___3Hnh1",description:"styles__description___3Mltd","image-wrapper":"styles__image-wrapper___jZcgj",imageWrapper:"styles__image-wrapper___jZcgj",image:"styles__image___1H_z8","image-radius":"styles__image-radius___3f44G",imageRadius:"styles__image-radius___3f44G",btn:"styles__btn___c3G8r"}},1375:function(e,t,r){e.exports=r.p+"e664c48c2064fcd26ac5bb470a38f67e.svg"},626:function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(1374),a=r.n(i),i=r(73),c=r.n(i),i=r(1375),l=r.n(i),u=r(1215);function s(e){return(s="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 p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,function(e){e=function(e,t){if("object"!=s(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0===r)return("string"===t?String:Number)(e);r=r.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}(e,"string");return"symbol"==s(e)?e:e+""}(n.key),n)}}function f(e,t,r){t=y(t);var n=e,t=_()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r);if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");e=n;if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_=function(){return!!e})()}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}i=function(e){function t(e){if(this instanceof t)return f(this,t,[e]);throw new TypeError("Cannot call a class as a function")}var r,n=t;if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&d(n,e),n=t,(e=[{key:"render",value:function(){var e=this.props,t=e.title,t=void 0===t?"عنوان عکس با متن":t,r=e.description,r=void 0===r?{data:"بخشی برای نمایش یک تصویر بزرگ و متنی مرتبط با آن در صفحات فروشگاه، تا توجه مخاطب را به محصول یا اطلاعیه خاصی جلب کند. استفاده از یک تصویر جذاب و متن‌های مناسب در این کامپوننت می‌تواند به فروشگاه جذابیت بیشتری بدهد.",allScriptsInfo:[]}:r,n=e.image,n=void 0===n?{image:l.a,imagePosition:"right",imageRadius:!1}:n,e=e.button;return o.a.createElement("div",{className:a.a.wrapper},o.a.createElement("div",{className:[a.a.inner,a.a[n.imagePosition]].join(" ")},o.a.createElement("div",{className:a.a.imageWrapper},o.a.createElement("img",{className:[a.a.image,n.imageRadius?a.a.imageRadius:""].join(" "),src:n.image?"".concat(encodeURI(n.image),"?width=600&height=600"):l.a,srcSet:n.image?"".concat(encodeURI(n.image),"?w=1200&h=1200 2x, ").concat(encodeURI(n.image),"?w=600&h=600 1x"):l.a,alt:t})),o.a.createElement("div",{className:[a.a.text,a.a["text-padding-".concat(n.imagePosition)]].join(" ")},t&&o.a.createElement("h4",{className:a.a.title},t),r&&r.data&&o.a.createElement(u.a,{className:a.a.description,description:r}),e.label&&e.link&&o.a.createElement("a",{href:e.link,className:[c.a["btn-normal-".concat(e.color)],a.a.btn].join(" ")},e.label))))}}])&&p(n.prototype,e),r&&p(n,r),Object.defineProperty(n,"prototype",{writable:!1}),n}(n.Component);t.default=i}}]);