enqueueScripts([function(){ !function(e){function t(t){for(var n,a,u=t[0],c=t[1],l=t[2],s=0,d=[];se.length)&&(t=e.length);for(var r=0,n=new Array(t);r0})).join(" ").trim();return o.concat(a).join(" ").trim()}},,,function(n,r,t){"use strict";t.r(r),t.d(r,"SYMBOL_CUSTOM_CLASSES",(function(){return o}));var e=t(1),o=Symbol("customClasses");r.default=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],t=Object(e.useMemo)(n,r);return t.__useCustomClasses=o,t}},function(n,r,t){"use strict";t.r(r);var e=t(2),o=t(12),a=t(1),i=t(8);function s(n,r){return[n].concat(Object(e.a)(r)).filter((function(n){return!!n})).join("/")}var c=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.children,t=Object(i.useRuntime)(),e=t.extensions,o=Object(i.useTreePath)(),a=o.treePath,c=r?s(a,Array.isArray(r)?r:[r]):a,u=c&&e[c];return u||null};function u(n){return(n=Array.isArray(n)?n:[n]).filter(Boolean).reduce((function(n,r){var t;if("string"==typeof r)return n.classNames.push(r),n;var o,a=r.name.split(" ");((t=n.classNames).push.apply(t,Object(e.a)(a)),r.applyModifiers)&&(o=n.toApplyModifiers).push.apply(o,Object(e.a)(a));return n}),{toApplyModifiers:[],classNames:[]})}var l=t(3),f=t(6),d=(t(9),/^[^\d][\w-]+$/),p=/([^.]+)\.([^@]+)@(\d+)/,v=function(n){var r=function(n){var r,t=null!==(r=n.match(p))&&void 0!==r?r:[],e=Object(o.a)(t,4);return{vendor:e[1],name:e[2],major:e[3]}}(n),t=r.vendor,e=r.name,a=r.major;return t&&e&&a?"".concat(t,"-").concat(e,"-").concat(a,"-x"):null},m=function(n,r,t){return r.reduce((function(r,e){var o=!!n&&function(n){return d.test(n)}(e),a="".concat(n,"-").concat(e);return r[e]=o?t?Object(f.default)(a,t):a:"",o||console.error('Invalid CSS handle "'.concat(e,'". It should only contain letters or numbers, and should start with a letter.')),r}),{})};r.default=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=c(),o=null!=t?t:{},i=o.content,s=void 0===i?{}:i,f=o.props,d=void 0===f?{}:f,p=o.component,y=void 0===p?"":p,h=d.cssHandle||s.blockClass||d.blockClass,j=r.migrationFrom,b=r.classes,A=Object(a.useMemo)((function(){var r=v(y),t=r?[r]:[],o=new Set(n),a={},i=new Map;if(j){var s=(Array.isArray(j)?j:[j]).map(v).filter((function(n){return!!n&&n!==r}));t.push.apply(t,Object(e.a)(s))}b&&Object.keys(b).forEach((function(n){if("__useCustomClasses"!==n){o.delete(n);var r=u(b[n]);a[n]=r.classNames.join(" "),i.set(n,r)}}));var c=Object(e.a)(o);t.forEach((function(n){var r=m(n,c,h);Object.keys(r).forEach((function(n){a[n]=n in a?"".concat(a[n]," ").concat(r[n]):r[n]}))}));return{handles:a,withModifiers:function(n,r){var t="string"==typeof r?[r]:r;if(!Array.isArray(t))return console.error("Invalid modifier type on `withModifier`. Please use either a string or an array of strings"),a[n];var e=[],o=[],s=i.get(n);s?(e=s.classNames,o=s.toApplyModifiers):(e=a[n].split(" "),o=e);var c=t.map((function(n){return Object(l.a)(n)?o.map((function(r){return"".concat(r,"--").concat(n)})).join(" ").trim():""})).filter((function(n){return n.length>0})).join(" ").trim();return e.concat(c).join(" ").trim()}}}),[h,y,n,j,b]);return A}}]]); },function(){ (window.webpackJsonpvtex_css_handles_1_0_1=window.webpackJsonpvtex_css_handles_1_0_1||[]).push([["useCssHandles"],{1:function(s,e){s.exports=React},18:function(s,e,n){"use strict";n.r(e),function(s){var e=n(0);n.p=Object(e.getPublicPath)("vtex.css-handles@1.0.1");var t=Object(e.register)((function(){return n(10)}),s,"vtex.css-handles@1.0.1","vtex.css-handles@1.x","useCssHandles");t.renderHotReload,t.setupHMR}.call(this,n(4)(s))},8:function(s,e){s.exports=__RENDER_8_RUNTIME__}},[[18,"common",0]]]); },function(){ (window.webpackJsonpvtex_css_handles_1_0_1=window.webpackJsonpvtex_css_handles_1_0_1||[]).push([["createCssHandlesContext"],{1:function(e,t){e.exports=React},16:function(e,t,n){"use strict";n.r(t),function(e){var t=n(0);n.p=Object(t.getPublicPath)("vtex.css-handles@1.0.1");var s=Object(t.register)((function(){return n(17)}),e,"vtex.css-handles@1.0.1","vtex.css-handles@1.x","createCssHandlesContext");s.renderHotReload,s.setupHMR}.call(this,n(4)(e))},17:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return c}));var s=n(1),r=n.n(s);function c(e){var t=Object(s.createContext)(null);return{CssHandlesProvider:function(e){var n=e.withModifiers,c=e.handles,a=e.children,o=Object(s.useMemo)((function(){return{handles:c,withModifiers:n}}),[n,c]);return r.a.createElement(t.Provider,{value:o},a)},useContextCssHandles:function(){return Object(s.useContext)(t)}}}}},[[16,"common"]]]); },function(){ (window.webpackJsonpvtex_css_handles_1_0_1=window.webpackJsonpvtex_css_handles_1_0_1||[]).push([["applyModifiers"],{15:function(n,r,t){"use strict";t.r(r),function(n){var r=t(0);t.p=Object(r.getPublicPath)("vtex.css-handles@1.0.1");var e=Object(r.register)((function(){return t(6)}),n,"vtex.css-handles@1.0.1","vtex.css-handles@1.x","applyModifiers");e.renderHotReload,e.setupHMR}.call(this,t(4)(n))},3:function(n,r,t){"use strict";t.d(r,"a",(function(){return c}));var e=/[^A-z0-9-]/;var i,s,o,a=new Set([]);i=function(){console.error("Invalid CSS modifiers. All modifiers should be strings, and only contain letters, numbers, or -. Found: ".concat(Array.from(a.values()).join(", "))),a.clear()},s=3e3;var c=function(n){return"string"==typeof n&&(""!==n&&!e.test(n))}},6:function(n,r,t){"use strict";t.r(r);var e=t(3);r.default=function(n,r){var t="string"==typeof r?[r]:r;if(!Array.isArray(t))return console.error("Invalid modifier type on `cssHandles.applyModifier`. Please use either a string or an array of strings"),n;var i=n.split(" "),s=t.map((function(n){return Object(e.a)(n)?i.map((function(r){return"".concat(r,"--").concat(n)})).join(" ").trim():""})).filter((function(n){return n.length>0})).join(" ").trim();return i.concat(s).join(" ").trim()}}},[[15,"common"]]]); },function(){ !function(e){function t(t){for(var r,c,u=t[0],a=t[1],l=t[2],p=0,s=[];pe.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}))}function l(t,e){var n=e.name,r=e.value;return Boolean(t.variations.find((function(t){return t.name===n&&t.values.some((function(t){return t===r}))})))}var d=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=null!==(e=t.skuId)&&void 0!==e?e:t.idsku;if(s)return s;var i=Object.entries(t).filter((function(t){return Object(r.a)(t,1)[0].startsWith("property__")})).map((function(t){var e=Object(r.a)(t,2),n=e[0],s=e[1];return[n.slice("property__".length),s]}));if(0!==i.length){var a=n.filter((function(t){return i.every((function(e){var n=Object(r.a)(e,2),s=n[0],i=n[1];return l(t,{name:s,value:i})}))}));if(0!==a.length){var c=a.find((function(t){return o(t)}));return c?c.itemId:a[0].itemId}}},O={loadingItem:!1,product:void 0,selectedItem:null,selectedQuantity:1,skuSelector:{selectedImageVariationSKU:null,isVisible:!1,areAllVariationsSelected:!0},buyButton:{clicked:!1},assemblyOptions:{items:{},inputValues:{},areGroupsValid:{}}};function b(t,e){var n,r;switch(e.type){case"SET_QUANTITY":var s=e.args||{};return Object.assign(Object.assign({},t),{selectedQuantity:s.quantity});case"SELECT_IMAGE_VARIATION":var i=e.args||{};return Object.assign(Object.assign({},t),{skuSelector:Object.assign(Object.assign({},t.skuSelector),{selectedImageVariationSKU:i.selectedImageVariationSKU})});case"SKU_SELECTOR_SET_VARIATIONS_SELECTED":var a=e.args||{};return Object.assign(Object.assign({},t),{skuSelector:Object.assign(Object.assign({},t.skuSelector),{areAllVariationsSelected:a.allSelected})});case"SET_BUY_BUTTON_CLICKED":var c=e.args||{};return Object.assign(Object.assign({},t),{buyButton:Object.assign(Object.assign({},t.buyButton),{clicked:c.clicked})});case"SKU_SELECTOR_SET_IS_VISIBLE":var o=e.args||{};return Object.assign(Object.assign({},t),{skuSelector:Object.assign(Object.assign({},t.skuSelector),{isVisible:o.isVisible})});case"SET_SELECTED_ITEM":var l=e.args||{};return Object.assign(Object.assign({},t),{loadingItem:!1,selectedItem:l.item});case"SET_LOADING_ITEM":return Object.assign(Object.assign({},t),{loadingItem:Boolean(e.args.loadingItem)});case"SET_ASSEMBLY_OPTIONS":var d=e.args||{},b=d.groupId,v=void 0===b?"":b,g=d.groupItems,j=void 0===g?[]:g,p=d.groupInputValues,f=void 0===p?{}:p,m=d.isValid,_=void 0!==m&&m;return Object.assign(Object.assign({},t),{assemblyOptions:Object.assign(Object.assign({},t.assemblyOptions),{inputValues:Object.assign(Object.assign({},t.assemblyOptions.inputValues),Object(u.a)({},v,f)),items:Object.assign(Object.assign({},t.assemblyOptions.items),Object(u.a)({},v,j)),areGroupsValid:Object.assign(Object.assign({},t.assemblyOptions.areGroupsValid),Object(u.a)({},v,_))})});case"SET_PRODUCT":var S=e.args||{},E=(null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.linkText)!==(null===(r=null==S?void 0:S.product)||void 0===r?void 0:r.linkText);return Object.assign(Object.assign(Object.assign({},t),E?O:{}),{product:S.product});default:return t}}function v(t,e){var n;return t?e.find((function(e){return e.itemId===t})):null!==(n=e.find(o))&&void 0!==n?n:e[0]}function g(t){var e,n=t.query,r=t.product,s=null!==(e=null==r?void 0:r.items)&&void 0!==e?e:[];return Object.assign(Object.assign({},O),{selectedItem:v(d(n,s),s),product:r})}e.default=function(t){var e=t.query,n=t.product,u=t.children,o=function(t){var e=t.query,n=t.product;return Object(s.useReducer)(b,{query:e,product:n},g)}({query:e,product:n}),l=Object(r.a)(o,2),O=l[0],j=l[1];return function(t,e){Object(s.useEffect)((function(){t&&e({type:"SET_PRODUCT",args:{product:t}})}),[t,e])}(n,j),function(t,e,n){Object(s.useEffect)((function(){var r,s=null!==(r=null==e?void 0:e.items)&&void 0!==r?r:[];t({type:"SET_SELECTED_ITEM",args:{item:v(n,s)}})}),[t,n,e])}(j,n,d(e,null==n?void 0:n.items)),i.a.createElement(a.default.Provider,{value:O},i.a.createElement(c.ProductDispatchContext.Provider,{value:j},u))}},2:function(t,e,n){"use strict";n.r(e);var r=n(0),s=Object(r.createContext)({});e.default=s},3:function(t,e,n){"use strict";n.r(e),n.d(e,"ProductDispatchContext",(function(){return s}));var r=n(0),s=Object(r.createContext)(null);e.default={ProductDispatchContext:s,useProductDispatch:function(){return Object(r.useContext)(s)}}},8:function(t,e,n){"use strict";n.r(e),function(t){var e=n(1);n.p=Object(e.getPublicPath)("vtex.product-context@0.10.1");var r=Object(e.register)((function(){return n(16)}),t,"vtex.product-context@0.10.1","vtex.product-context@0.x","ProductContextProvider");r.renderHotReload,r.setupHMR}.call(this,n(4)(t))}},[[8,"common"]]]); },function(){ (window.webpackJsonpvtex_product_context_0_10_1=window.webpackJsonpvtex_product_context_0_10_1||[]).push([["useProductDispatch"],{0:function(t,e){t.exports=React},14:function(t,e,c){"use strict";c.r(e),function(t){var e=c(1);c.p=Object(e.getPublicPath)("vtex.product-context@0.10.1");var n=Object(e.register)((function(){return c(15)}),t,"vtex.product-context@0.10.1","vtex.product-context@0.x","useProductDispatch");n.renderHotReload,n.setupHMR}.call(this,c(4)(t))},15:function(t,e,c){"use strict";c.r(e);var n=c(0),o=c(3);e.default=function(){return Object(n.useContext)(o.ProductDispatchContext)}},3:function(t,e,c){"use strict";c.r(e),c.d(e,"ProductDispatchContext",(function(){return o}));var n=c(0),o=Object(n.createContext)(null);e.default={ProductDispatchContext:o,useProductDispatch:function(){return Object(n.useContext)(o)}}}},[[14,"common"]]]); },function(){ !function(e){function t(t){for(var r,u,c=t[0],a=t[1],l=t[2],d=0,s=[];de.length)&&(t=e.length);for(var n=0,r=new Array(t);n\n
\n \n ComunĂ­cate \n con nosotros\n \n \n ',icons:[{image:"https://floria.vtexassets.com/assets/vtex.file-manager-graphql/images/d99633f4-bd7e-4d67-965f-115bbdd9af40___f3aa6c5cdc2612a380de506dbc079d1b.png",link:"",openNewTab:!1},{image:"https://floria.vtexassets.com/assets/vtex.file-manager-graphql/images/b473b510-37d5-4646-8729-d2effcf919ef___b58a112cdb8c5ba6129e1d2278074f0a.png",link:"https://api.whatsapp.com/send?phone=",openNewTab:!0}]},f.getSchema=function(){return u};var h=f;t.default=h},25:function(e,t){e.exports=PropTypes},34:function(e,t,i){e.exports={communicationIconList:"chefcompany-newsletter-0-x-communicationIconList",ciList:"chefcompany-newsletter-0-x-ciList",cilIcon:"chefcompany-newsletter-0-x-cilIcon",cilTitle:"chefcompany-newsletter-0-x-cilTitle"}},7:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;i-1&&this.setState({canRenderHTML:!1})}},{key:"componentDidMount",value:function(){var e=this;this.setState({canRenderHTML:!0},(function(){e.insertScriptsIfNeeded(),e.prepareAnchors()}))}},{key:"componentWillReceiveProps",value:function(e){e.html!==this.props.html&&(this.scriptElements=l(this.scriptElements))}},{key:"shouldComponentUpdate",value:function(e,t){return e.html!==this.props.html||t.canRenderHTML!==this.state.canRenderHTML}},{key:"componentDidUpdate",value:function(e,t){(e.html!==this.props.html||!t.canRenderHTML&&this.state.canRenderHTML)&&(this.insertScriptsIfNeeded(),this.prepareAnchors())}},{key:"componentWillUnmount",value:function(){this.scriptElements=l(this.scriptElements)}},{key:"insertScriptsIfNeeded",value:function(){var e=this.props.html;e.indexOf("script")>-1&&this.element&&(this.element.innerHTML=e,function e(t,i){if("SCRIPT"!==t.tagName||t.id&&0===t.id.indexOf("script-"))for(var n=0,o=t.childNodes;nt.length)&&(e=t.length);for(var r=0,n=new Array(e);r1?Object.assign(Object.assign({},i),o({},e.itemId,{selectedItem:u.selectedItem,product:u.product,quantity:u.quantity-1})):i}))}}),[]),p=Object(c.useMemo)((function(){return{items:Object.values(u),addItemToGroup:s}}),[u,s]);return a.a.createElement(d.Provider,{value:p},e)},s=function(){return Object(c.useContext)(d)};e.default={ProductGroupProvider:f,useProductGroup:s}}]); },function(){ !function(e){function t(t){for(var r,u,a=t[0],c=t[1],l=t[2],s=0,d=[];se.length)&&(t=e.length);for(var n=0,r=new Array(t);n1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:c(e,["phone","mobile","tablet","desktop"]),tablet:c(e,["tablet","mobile","desktop","phone"]),desktop:c(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(15)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValue");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(5),i=n.n(o),r=n(6),u=n(2);t.default=function(e){var t=i()().device,n=Object(r.a)(e),o=n.devices,a=n.queries,c=Object.keys(a),s=Object(u.b)(c).mediaQueries;if(c.length>0){var l=Object(u.a)(s);if(l)return a[l]}return o[t]}}],[[14,"common"]]]); },function(){ (window.webpackJsonpvtex_responsive_values_0_4_2=window.webpackJsonpvtex_responsive_values_0_4_2||[]).push([["useResponsiveValues"],[,,function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var o=n(4),i=n(0),r=n(3),u={};function c(e){return u[e]||"function"!=typeof(null===window||void 0===window?void 0:window.matchMedia)||(u[e]=window.matchMedia(e)),u[e]}function a(e){var t=Object(r.useState)((function(){var t={};return e.forEach((function(e){var n;t[e]=Boolean(null===(n=c(e))||void 0===n?void 0:n.matches)})),t})),n=Object(i.a)(t,2),u=n[0],a=n[1];return Object(r.useLayoutEffect)((function(){if("function"==typeof(null===window||void 0===window?void 0:window.matchMedia)&&0!==e.length){var t=e.map((function(e){var t=!0,n=c(e);void 0!==u[e]&&null!==u[e]||a((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,Boolean(null==n?void 0:n.matches)))}));var i=function(n){t&&a((function(t){return Object.assign(Object.assign({},t),Object(o.a)({},e,n.matches))}))};return null==n||n.addListener(i),function(){t=!1,null==n||n.removeListener(i)}}));return function(){t.forEach((function(e){return e()}))}}}),[JSON.stringify(e),a]),{mediaQueries:Object.entries(u)}}var s=function(e){var t=e.find((function(e){return Object(i.a)(e,2)[1]}));if(t)return Object(i.a)(t,1)[0]}},function(e,t){e.exports=React},,function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.device-detector@0.x/useDevice"]},function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var o=n(10),i=n(9),r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i1?"values":"value",' in the props of a component. Please use "phone" and "tablet" in this case.'))}}}(e),{devices:{phone:a(e,["phone","mobile","tablet","desktop"]),tablet:a(e,["tablet","mobile","desktop","phone"]),desktop:a(e,["desktop","tablet","phone","mobile"])},queries:n}},l=function(e){var t=[],n=new Set;return Object.keys(e).forEach((function(o){var i=s(e[o]);Object.keys(i.queries).forEach((function(e){return n.add(e)})),t.push([o,i])})),{inputList:t,queryList:Object(o.a)(n)}}},,,,,,,,,,function(e,t,n){"use strict";n.r(t),function(e){var t=n(1);n.p=Object(t.getPublicPath)("vtex.responsive-values@0.4.2");var o=Object(t.register)((function(){return n(17)}),e,"vtex.responsive-values@0.4.2","vtex.responsive-values@0.x","useResponsiveValues");o.renderHotReload,o.setupHMR}.call(this,n(11)(e))},function(e,t,n){"use strict";n.r(t);var o=n(0),i=n(5),r=n.n(i),u=n(6),c=n(2);t.default=function(e){var t=r()().device,n=Object(u.b)(e),i=n.inputList,a=n.queryList,s=Object(c.b)(a).mediaQueries,l={};return i.forEach((function(e){var n=Object(o.a)(e,2),i=n[0],r=n[1];if(Object.keys(r.queries).length>0){var u=Object(c.a)(s);if(u)return void(l[i]=r.queries[u])}l[i]=r.devices[t]})),l}}],[[16,"common"]]]); }], document.currentScript.dataset.index)