delivapp-ordering 0.0.51 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("classnames"),r=require("cloudinary-react"),n=require("react-overflow-list");function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var o=a(e);function i(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===r&&n.firstChild?n.insertBefore(a,n.firstChild):n.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}i(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");i(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},c.apply(this,arguments)};function l(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}function s(e,t,r){if(r||2===arguments.length)for(var n,a=0,o=t.length;a<o;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))}var u;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}i(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var d;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}var v;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}var y;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(this,arguments)}var b;function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}var E;function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},N.apply(this,arguments)}var C;function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}var O,B,P;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}var S,j;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(this,arguments)}var L;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}var H,A;function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}var M;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}var R,D;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}var Z;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V.apply(this,arguments)}var W;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},G.apply(this,arguments)}var Q;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}var K;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X.apply(this,arguments)}var J;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}var $;function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}var te,re;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ne.apply(this,arguments)}var ae,oe;function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ie.apply(this,arguments)}var ce,le;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}var ue;function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},me.apply(this,arguments)}var de;function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}var fe;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge.apply(this,arguments)}var ve;function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},he.apply(this,arguments)}var ye,xe,be,we,Ee,Ne,Ce,ke=20,Oe=25,Be=30,Pe=function(t,r){return function(n){var a=function(e){var t=e.className,r=e.props,n={};return r.color&&t.includes("Fill")&&(n.fill=r.color),r.color&&t.includes("Stroke")&&(n.stroke=r.color),n}({className:r,props:n}),o=function(e){return"small"===e?ke:"big"===e?Be:e||Oe}(n.size);return e.createElement(t,c({width:o,height:o},n,{style:a,className:"icon ".concat(n.className||""," ").concat(r||"")}))}},Ie=Pe((function(e){return o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),u||(u=o.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),Se=Pe((function(e){return o.createElement("svg",p({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),d||(d=o.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),je=Pe((function(e){return o.createElement("svg",g({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),f||(f=o.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),Fe=Pe((function(e){return o.createElement("svg",h({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),v||(v=o.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),Le=Pe((function(e){return o.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),y||(y=o.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),Te=Pe((function(e){return o.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),b||(b=o.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),He=Pe((function(e){return o.createElement("svg",N({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),E||(E=o.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),Ae=Pe((function(e){return o.createElement("svg",k({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),C||(C=o.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),ze=Pe((function(e){return o.createElement("svg",I({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),O||(O=o.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),B||(B=o.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),P||(P=o.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Me=Pe((function(e){return o.createElement("svg",F({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),S||(S=o.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),j||(j=o.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),_e=Pe((function(e){return o.createElement("svg",T({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),L||(L=o.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),Re=Pe((function(e){return o.createElement("svg",z({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),H||(H=o.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),A||(A=o.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),De=Pe((function(e){return o.createElement("svg",_({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),M||(M=o.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),qe=Pe((function(e){return o.createElement("svg",q({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),R||(R=o.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),D||(D=o.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),Ze=Pe((function(e){return o.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Z||(Z=o.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),Ve=Pe((function(e){return o.createElement("svg",G({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=o.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),We=Pe((function(e){return o.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),Q||(Q=o.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),Ge=Pe((function(e){return o.createElement("svg",X({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=o.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),Qe=Pe((function(e){return o.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),$||($=o.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),Ue=Pe((function(e){return o.createElement("svg",Y({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=o.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),Ke=Pe((function(e){return o.createElement("svg",ne({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=o.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),re||(re=o.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),Xe=Pe((function(e){return o.createElement("svg",ie({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),ae||(ae=o.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},o.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),o.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),o.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),o.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),o.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),oe||(oe=o.createElement("defs",null,o.createElement("clipPath",{id:"gift_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),Je=Pe((function(e){return o.createElement("svg",se({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),ce||(ce=o.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},o.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),le||(le=o.createElement("defs",null,o.createElement("clipPath",{id:"percent_svg__a"},o.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),Ye=Pe((function(e){return o.createElement("svg",me({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),ue||(ue=o.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),$e=Pe((function(e){return o.createElement("svg",pe({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),de||(de=o.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),et=Pe((function(e){return o.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=o.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),tt=Pe((function(e){return o.createElement("svg",he({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),ve||(ve=o.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill");!function(e){e[e.fill=0]="fill",e[e.pad=1]="pad",e[e.fit=2]="fit",e[e.mfit=3]="mfit",e[e.scale=4]="scale",e[e.limit=5]="limit",e[e.lpad=6]="lpad",e[e.mpad=7]="mpad",e[e.crop=8]="crop",e[e.fill_pad=9]="fill_pad",e[e.thumb=10]="thumb"}(ye||(ye={})),function(e){e[e.center=0]="center",e[e.north_east=1]="north_east",e[e.north=2]="north",e[e.north_west=3]="north_west",e[e.west=4]="west",e[e.south_west=5]="south_west",e[e.south=6]="south",e[e.south_east=7]="south_east",e[e.east=8]="east",e[e.liquid=9]="liquid",e[e.auto=10]="auto"}(xe||(xe={})),function(e){e[e.best=1]="best",e[e.good=2]="good",e[e.eco=3]="eco",e[e.low=4]="low",e[e.custom=5]="custom"}(be||(be={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(we||(we={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(Ee||(Ee={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue"}(Ne||(Ne={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(Ce||(Ce={}));var rt=function(e,t){return Object.keys(e).find((function(r){return e[r]===t}))},nt=function(e,t){var r="";return e&&(r=we[e]||e),(t||0===t)&&(r="".concat(t," ").concat(r)),r},at={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free"},summary:{addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry"}},ot=e.createContext(at),it=ot.Provider,ct=function(t){var r=e.useContext(ot);return console.log({translations:r}),r[t]?r[t]:at[t]},lt=function(t){var r=t.accumulatedPurchaseBonus,n=void 0===r?0:r,a=t.discount,o=void 0===a?0:a,i=t.finalDeliveryPrice,c=void 0===i?0:i,l=t.currency,s=ct("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===c&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Ye,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),o>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Je,null),e.createElement("span",{className:"discountLabel"},nt(l,o)," ",s.discount)),n>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Xe,null),e.createElement("span",{className:"discountLabel"},n," ",s.bonuses)))};i(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:20px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .tooltip-container{position:relative}.orderSummary .summaryBody .summaryItem .tooltip-container:hover .tooltip{display:block}.orderSummary .summaryBody .summaryItem .tooltip{background:rgba(0,0,0,.8);border-radius:8px;color:#fff;display:none;font-size:14px;left:50%;max-width:400px;padding:8px;position:absolute;top:-40px}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:20px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:#007aff;cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");i(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var st=function(t){var r=t.icon,n=t.onChange,a=l(t,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},r&&r,e.createElement("input",c({},a,{onChange:n})))};i('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var ut=function(r){var n=r.value,a=r.disabled,o=r.onChange;return console.log("qwe",n),e.createElement("div",{className:t("customCheckbox",{selected:n,disabled:a}),onClick:function(){return!a&&o(!n)}})},mt=function(r){var n=r.accumulatedPurchaseBonus,a=r.discount,o=r.finalDeliveryPrice,i=r.currency,c=r.offerType,l=r.coupon,s=r.fullPrice,u=r.discounts,m=r.deliveryType,d=r.deliveryPrice,p=r.serviceFee,f=r.topupToMinimum,g=r.driverTip,v=r.hideCoupon,h=r.paymentBalance,y=r.finalPrice,x=r.setCoupon,b=r.disabledConfirm,w=r.onConfirm,E=r.customDiscount,N=r.customDiscountValue,C=r.setCustomDiscountValue,k=r.customFields,O=r.finalCharge,B=r.canceledOfferIds,P=r.toggleOffer,I=r.recalculateDiscounts,S=r.disableRecalculateDiscounts,j=r.showRecalculateDiscounts,F=r.onChangeRecalculateDiscounts,L=r.canManageDiscount,T=ct("summary"),H=function(t){var r=B.includes(t.offer_id);return e.createElement("div",{key:t.offer_id,className:"itemDiscount summaryItem"},e.createElement("span",{className:"itemName"},e.createElement("div",{className:"discount"},e.createElement("div",{className:"discountPart"},t.discount_type===Ee.bonus?T.bonus:2===t.offer_type?T.coupon:T.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(_e,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return x("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===Ee.common&&L&&e.createElement("div",{onClick:function(){return P(t.offer_id)},className:"controlOffer"},r?T.addRemovedOffer:T.removedOffer),!r&&e.createElement("div",{className:"priceBlue price"},"-",nt(i,t.discount))))};return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},T.summary),!!k&&k.map((function(t){return e.createElement("div",{className:"summaryItem customFields",key:t.label},e.createElement("span",{className:"label"},t.label),e.createElement("span",{className:"value"},t.value))})),e.createElement("div",{className:"summaryItem subtotal"},e.createElement("span",null,T.subtotal),e.createElement("span",{className:"price"},nt(i,s))),!!u&&u.filter((function(e){return e.discount_target===Ce.products&&e.discount_type===Ee.common})).map(H),m===Ne.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,d===o?T.deliveryCost:T.deliveryCostBase),e.createElement("span",{className:"price"},nt(i,d||o))),E&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,T.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:N,onChange:function(e){var t=e.target;return C(t.value)}}),nt(i))),!!u&&u.filter((function(e){return e.discount_target===Ce.delivery})).map(H),m===Ne.delivery&&d!==o&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,T.deliveryCostFinal),e.createElement("span",{className:"price"},nt(i,o))),!!u&&u.filter((function(e){return e.discount_target===Ce.products&&e.discount_type===Ee.bonus})).map(H),!!p&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container"},T.serviceFee," ",e.createElement("span",{className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.serviceFeeTooltip)),e.createElement("span",{className:"price"},nt(i,p))),!!f&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container"},T.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.minimumOrderChargeTooltip)),e.createElement("span",{className:"price"},nt(i,f))),!!g&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container"},T.driverTip,e.createElement("span",{"data-tooltip-id":"driver-tip",className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.driverTooltip)),e.createElement("span",{className:"price"},nt(i,g))),!v&&u&&!u.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!l.trim().length&&2!==c&&e.createElement("span",{className:"invalidCoupon"},T.invalidPromocode),l.length?e.createElement("span",{className:"inputArea"},e.createElement(st,{autoFocus:!0,value:l,onChange:function(e){return x(e.target.value)},debounce:500}),e.createElement(_e,{size:15,onClick:function(){return x("")},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return x(" ")}},T.placeholderPromocode)),j&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:t({disabled:S})},T.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(ut,{value:I,onChange:F,disabled:S}))),null!==h&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,T.paymentBalance),e.createElement("span",{className:"price"},nt(i,h))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},T.total),e.createElement("span",{className:"price priceBlue"},nt(i,y)))),e.createElement(lt,{currency:i,discount:a,accumulatedPurchaseBonus:n,finalDeliveryPrice:o}),e.createElement("div",{onClick:w,className:t("confirmButton",{disable:b})},T.confirm," ",!!O&&nt(i,O)))};i(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");i(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var dt=function(r){var n=r.count,a=r.isRemoveDisable,o=r.isAddDisable,i=r.onAdd,c=r.onRemove,l=r.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(Ue,{color:"var(--main-color, #007aff)",onClick:c,className:t("control",{disable:a})}),e.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,r=parseInt(t.value);l(r||0)}}),e.createElement(Qe,{color:"var(--main-color, #007aff)",onClick:i,className:t("control",{disable:o})}))};i(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton{border:none}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}");i(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");i(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");var pt=function(r){var n=r.ingredients,a=r.onSelect;return e.createElement("div",{className:"ingredients"},n.map((function(r){return e.createElement("div",{key:r.id,onClick:(n=r.id,function(){return a(n)}),className:t("ingredient",{selected:!!r.quantity})},r.name);var n})))};i(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var ft=function(t){var n=t.src,a=t.alt,o=t.width,i=t.height,c=t.quality,l=t.gravity,s=t.crop,u=t.id;return e.createElement(r.Image,{id:u,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:a},e.createElement(r.Transformation,{width:o,height:i,quality:c,gravity:l,crop:s}),e.createElement(r.Transformation,{fetchFormat:"auto"}))},gt=function(t){var r=t.autoPlay,n=t.onStart,a=t.id,o=t.src,i=t.onEnd,l=t.controls,s=e.useState({playing:!1,muted:!1}),u=s[0],m=s[1],d=e.useRef(),p=function(){d.current.paused?(d.current.play(),m((function(e){return c(c({},e),{playing:!0})}))):(d.current.pause(),m((function(e){return c(c({},e),{playing:!1})})))},f=function(){d.current.muted=!d.current.muted,m((function(e){return c(c({},e),{muted:d.current.muted})}))};return e.createElement("div",{className:"videoControl"},l&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!u.playing&&e.createElement(Ze,{color:"var(--main-color)",className:"control",onClick:p}),u.playing&&e.createElement(Ve,{color:"var(--main-color)",className:"control",onClick:p}),u.muted&&e.createElement(We,{color:"var(--main-color)",className:"control",onClick:f}),!u.muted&&e.createElement(Ge,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(vt,{autoPlay:r,src:o,onPlay:function(){n&&n(),m((function(e){return c(c({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:d,id:a}))},vt=function(t){var r=t.videoRef,n=t.src,a=t.id,o=t.onPlay,i=t.onEnded,c=t.autoPlay;return e.createElement("video",{ref:r,src:n,id:a,onPlay:function(){o&&o()},autoPlay:c,onEnded:function(){i&&i()}})},ht=function(t){var r=t.src,n=t.settings,a=t.alt,o=t.id,i=l(t,["src","settings","alt","id"]),s=e.useRef(null),u=e.useState({width:0,height:0}),m=u[0],d=u[1],p=r.includes("/image/"),f=r.includes("/video/"),g=r.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){m.width!==s.current.offsetWidth&&m.height!==s.current.offsetHeight&&d({width:s.current.offsetWidth||0,height:s.current.offsetHeight||0})}));return e.createElement("div",{ref:s,className:"mediaWrapper"},p&&e.createElement(ft,c({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:rt(xe,(null==n?void 0:n.gravity_mode)||0),crop:rt(ye,(null==n?void 0:n.crop_mode)||0),src:g,alt:a,id:o})),f&&e.createElement(gt,c({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:rt(xe,(null==n?void 0:n.gravity_mode)||0),crop:rt(ye,(null==n?void 0:n.crop_mode)||0),id:o,src:r})))};i(".productConstructor .content{margin:0 0 20px}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{color:var(--warning,#fe7171);margin:0 5px}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");i(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid #007aff;border-radius:var(--border-radius,5px);color:#007aff;cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");i('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var yt=function(){return e.createElement("div",{className:"lds-dual-ring"})},xt=function(r){var n=r.isSummary,a=r.isLoading,o=r.isDisableNext,i=r.isDisablePrev,c=r.amount,l=r.currency,s=r.onPrev,u=r.onNext,m=r.count,d=r.isAddDisable,p=r.isRemoveDisable,f=r.onAdd,g=r.onRemove,v=r.onAddToCart,h=r.onChangeQuantity,y=ct("productConstructor");return e.createElement("div",{className:t("footerControls",{summary:n})},n?e.createElement(e.Fragment,null,e.createElement(dt,{count:m,isRemoveDisable:p||a,isAddDisable:d||a,onAdd:f,onRemove:g,onChangeQuantity:h}),e.createElement("div",{onClick:v,className:t("button major",{disable:a})},a?e.createElement(yt,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(Ae,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,nt(l,c))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:t("button",{disable:i||a})},y.back),e.createElement("div",{onClick:u,className:t("button major",{disable:o||a})},a?e.createElement(yt,null):e.createElement(e.Fragment,null,y.next," ",nt(l,c)))))};i(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var bt=function(r){var n=r.steps,a=r.currentStep,o=n[a].component,i=n[a].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(r,o){return e.createElement(e.Fragment,{key:o},e.createElement("div",{className:t("step",{active:o===a})}),o!==n.length-1&&e.createElement("div",{className:"line"}))}))),o)};i(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:#007aff}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var wt,Et=function(t){var r=t.free,n=t.amount,a=t.currency,o=t.freeLabel;return r?e.createElement("span",{className:"suboptionPrice"},o):n?e.createElement("span",{className:"suboptionPrice"},"+",nt(a,n)):e.createElement("span",{className:"suboptionPrice"})},Nt="#INGREDIENTS",Ct="#HALF_SELECTOR",kt="#HALF_SELECTOR_HALF";exports.HALF_OPTION=void 0,(wt=exports.HALF_OPTION||(exports.HALF_OPTION={}))[wt.none=0]="none",wt[wt.left=1]="left",wt[wt.right=2]="right";var Ot=function(e,t,r,n,a){var o,i=[],c=0;if((null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.length)&&i.push({name:a.ingredients,value:It(e.suboptions),index:c++}),t.forEach((function(e){i.push({name:e.name,value:Bt(e.suboptions),index:c++})})),r.length){var l=r.some((function(e){return e.half===exports.HALF_OPTION.right}));i.push({name:a.toppings,value:l?a.half:a.full,index:c++})}return r.forEach((function(e){i.push({name:e.name,value:Bt(e.suboptions),index:c++})})),n&&i.push({name:a.comments,value:n,index:c++}),i},Bt=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},Pt=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},It=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},St=function(e,t){if(!e.respectTo)return!0;var r=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!r||!r.quantity)},jt=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},Ft=function(e,t,r,n){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(r?", "+r+" "+n:"",")")},Lt=function(r){var n=r.suboptions,a=r.onChangeQuantity,o=r.currency,i=r.limitByMax,c=r.freeLabel,l=r.freeBudget,s=function(e,t){return function(){return a(e,t)}},u=function(e){var t;return!!i&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return e.createElement("div",{className:"suboptionMultiSelector"},n.map((function(r){return e.createElement("div",{className:"suboption",key:r.id},e.createElement("span",{className:t("suboptionName",{selected:!!r.quantity})},r.name,r.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement("div",{className:"counterSection"},e.createElement(Et,{free:jt(l,r).free,amount:jt(l,r).amount,currency:o,freeLabel:c}),e.createElement(dt,{count:r.quantity||0,isAddDisable:u(r),isRemoveDisable:!r.quantity,onAdd:s(r.id,(r.quantity||0)+1),onRemove:s(r.id,(r.quantity||0)-1),onChangeQuantity:function(e){return s(r.id,e)()}})))})))};i('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var Tt=function(r){var n=r.freeLabel,a=r.ingredients,o=r.onSelect,i=r.currency,c=r.freeBudget;return e.createElement("div",{className:"extrasRadio"},a.map((function(r){return e.createElement("div",{key:r.id,onClick:(a=r.id,l=r.quantity||1,function(){return o(a,l)}),className:t("extra",{selected:!!r.quantity})},e.createElement("span",{className:"extraName"},r.name,r.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement(Et,{freeLabel:n,free:jt(c,r).free,amount:jt(c,r).amount,currency:i}));var a,l})))};i(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var Ht=function(t){var r=t.message;return e.createElement("div",{className:"warning"},e.createElement(Ke,{size:"small",color:"var(--warning, #fe7171)"})," ",r)};i(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var At=function(t){var r=t.name,n=t.comment,a=t.onCommentChange,o=t.onNameChange,i=ct("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.createElement(st,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:r}),e.createElement("span",{className:"inputName"},i.addComment),e.createElement(st,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:n}))};i(".productSummary .line{color:#0e1328;display:grid;font-size:14px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .button{align-items:center;background:var(--secondary-color,#cee6ff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}");var zt=function(t){var r=t.summary,n=t.onClickChange,a=ct("productConstructor");return e.createElement("div",{className:"productSummary"},r.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:"name"},t.name),e.createElement("div",{className:"value"},t.value),e.createElement("div",{onClick:function(){return n(t.index)},className:"button"},a.change))})))};i(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var Mt=function(r){var n=r.suboptions,a=r.onSelect,o=r.currency,i=r.freeBudget,c=r.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},n.map((function(r){return e.createElement("div",{key:r.id,onClick:(n=r.id,l=r.quantity?0:1,function(){return a(n,l)}),className:t("suboptionCheckbox",{selected:!!r.quantity})},e.createElement("span",{className:"suboptionName"},r.name,r.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement(Et,{free:jt(i,r).free,amount:jt(i,r).amount,currency:o,freeLabel:c}));var n,l})))};i(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:600;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");i(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");i(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var _t=function(t){var r=t.className,n=void 0===r?"":r,a=t.label,o=t.icon;return e.createElement("div",{className:"tag "+n||""},e.createElement("span",{className:"tagLabel"},a),o)},Rt=function(t){var r=t.vegan,n=t.vegetarian,a=t.isNew,o=t.spicy,i=t.glutenFree,c=ct("tag"),l=function(){return a?e.createElement(_t,{label:"new",className:"additionItem",icon:e.createElement(Se,null)}):null},s=function(){return r?e.createElement(_t,{label:c.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(Fe,null),e.createElement(Fe,null))}):n?e.createElement(_t,{label:c.vegetarian,className:"additionVegetarian",icon:e.createElement(Fe,null)}):null},u=function(){return o?e.createElement(_t,{label:c.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(o).fill(0).map((function(t,r){return e.createElement(Le,{key:r})})))}):null},m=function(){return i?e.createElement(_t,{label:c.glutenFree,className:"additionNoGluten",icon:e.createElement(Te,null)}):null};return l()||s()||u()||m()?e.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},Dt=function(r){var n=r.id,a=r.currency,o=r.name,i=r.description,c=r.price,l=r.oldPrice,s=r.image,u=r.trashIcon,m=void 0!==u&&u,d=r.onClickTrash,p=r.onClick,f=r.vegetarian,g=r.vegan,v=r.isNew,h=r.spicy,y=r.glutenFree,x=r.quantity;return e.createElement("div",{className:"productPreview",onClick:function(){null==p||p(n)}},e.createElement(ht,{src:s.src,alt:s.alt,settings:s.settings}),e.createElement("div",{className:"productReviewBody"},e.createElement("div",{className:"productReviewHead"},e.createElement("div",{className:"header"},e.createElement("div",{className:"title"},o),m&&e.createElement(Ie,{onClick:function(e){e.stopPropagation(),null==d||d(n)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(Rt,{isNew:v,spicy:h,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!l&&e.createElement("div",{className:t("oldPrice",{lineThrough:!x})},nt(a,l)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!c&&e.createElement("div",{className:t("currentPrice",{newPrice:!!l&&!x})},nt(a,c))))))};i(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");i(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");i(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var qt=function(t){var r=t.score,n=t.isNew,a=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!n&&e.createElement(_t,{label:"new",className:"restaurantTagNew"}),!!r&&r>0&&e.createElement(_t,{label:r.toFixed(1),className:"restaurantTagScore",icon:e.createElement(Se,null)}),!!a&&e.createElement(_t,{label:"kosher",className:"restaurantTagKosher"}))};i(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var Zt=function(t){var r=t.currency,n=t.amount,a=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:a},e.createElement(Ae,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},nt(r,n)))};i(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var Vt=function(r){var a=r.dontHide,o=r.minimum,i=r.isPickUp,c=r.withTitle,l=r.estimationRangeMax,s=r.estimationRangeMin,u=r.estimationTime,m=r.distance,d=r.deliveryPrice,p=r.currency,f=r.deliveryToLocation,g=e.useState([]),v=g[0],h=g[1];return e.useEffect((function(){var r=[];o&&r.push(e.createElement("div",{className:t("footer-item mini-order")},e.createElement(Ae,null),c&&e.createElement("span",{className:t("title")},"Min order"),nt(p,o))),m&&!i&&r.push(e.createElement("span",{className:t("footer-item")},e.createElement(Re,null),c&&e.createElement("div",{className:t("title")},"Distance"),"distanceKm ",m)),(l||s)&&r.push(e.createElement("div",{className:t("time footer-item")},i?e.createElement(Me,null):e.createElement(De,null),c&&e.createElement("div",{className:t("title")},i?"Pickup time":"Delivery time"),s,"-",l," min")),!i&&f&&r.push(e.createElement("div",{className:t("footer-item delivery-price")},e.createElement(ze,null),c&&e.createElement("span",{className:t("title")},"deliveryPrice"),d?nt(p,d):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(qe,null)," "))),0===l&&0===s&&u&&r.push(e.createElement("div",{className:t("time footer-item")},i?e.createElement(De,null):e.createElement(Me,null),"up_to ",u,"  min")),h(r)}),[o,i,l,s,u,m,d,p,f]),e.createElement(n.OverflowList,{className:"footer benefitsData",minVisibleItems:a?v.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:v})};i(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");i(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:600;justify-content:space-between;margin:0 0 10px}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .price{font-size:14px}.summaryBlock .products .product .price .finalPrice{font-size:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");i(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");exports.BagesPaymentsOrderSummary=lt,exports.Checkbox=ut,exports.CheckoutFormItem=function(t){var r=t.label,n=t.data,a=t.changeInLabel,o=void 0!==a&&a,i=t.hideChange,c=void 0!==i&&i,l=t.onChangeClick,s=ct("checkoutFormItem"),u=Array.isArray(n);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},r,o&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},n.map((function(t,r){return e.createElement("div",{key:r,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},n),!o&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)))},exports.CounterButton=dt,exports.CutleryButton=function(t){var r=t.cutlery,n=t.onAdd,a=t.onRemove,o=ct("cutlery");return e.createElement("div",{onClick:function(){0===r&&n(1)},className:"cutleryButton"},!r&&e.createElement(e.Fragment,null,e.createElement(et,{color:"var(--main-color, #007AFF)",size:20})," ",o.addCutlery),!!r&&e.createElement(e.Fragment,null,o.cutlery,e.createElement(dt,{count:r,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return n(r+1)},onRemove:function(){return a(r-1)},onChangeQuantity:function(e){n(e<=0?0:e)}})))},exports.DeliveryControl=function(r){var n=r.type,a=r.onChange,o=r.disableDelivery,i=r.disableTakeAway,c=ct("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:t("control",{selected:Ne.takeAway===n,disable:i}),onClick:function(){return a(Ne.takeAway)}},e.createElement(De,{size:30,color:n===Ne.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,c.pickUp)),e.createElement("div",{className:t("control",{selected:Ne.delivery===n,disable:o}),onClick:function(){return a(Ne.delivery)}},e.createElement(Ye,{size:30,color:n===Ne.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,c.delivery)))},exports.GiftControl=function(r){var n=r.isGift,a=r.onChange,o=r.name,i=r.phone,c=r.greeting,l=r.isReadonly,s=r.onToggleGift,u=ct("gift"),m=function(e,t){var r;a(((r={name:o,phone:i,greeting:c})[e]=t,r))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:t("giftControlButton",{selected:n}),onClick:function(){return!l&&s()}},e.createElement(Xe,{color:n?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),n&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(st,{readOnly:l,value:o,onChange:function(e){var t=e.target;return m("name",t.value)},placeholder:u.namePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.phone),e.createElement(st,{readOnly:l,value:i,onChange:function(e){var t=e.target;return m("phone",t.value)},placeholder:u.phonePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.greeting),e.createElement("textarea",{readOnly:l,value:c,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))},exports.INGREDIENTS=Nt,exports.IconBicycle=ze,exports.IconCart=Ae,exports.IconClockAfternoon=Me,exports.IconClose=_e,exports.IconCutlery=et,exports.IconDone=$e,exports.IconEditPen=tt,exports.IconGift=Xe,exports.IconMapPin=Re,exports.IconMinus=Ue,exports.IconMoto=Ye,exports.IconMute=We,exports.IconNoGluten=Te,exports.IconPause=Ve,exports.IconPercent=Je,exports.IconPersonSimpleWalk=De,exports.IconPlay=Ze,exports.IconPlus=Qe,exports.IconSearch=He,exports.IconSparkle=qe,exports.IconSpicy=Le,exports.IconStar=Se,exports.IconStarBorder=je,exports.IconTrash=Ie,exports.IconUnmute=Ge,exports.IconVegan=Fe,exports.IconWarning=Ke,exports.IngredientsSelector=pt,exports.Input=st,exports.Media=ht,exports.OrderSummary=mt,exports.OrderSummaryWithProducts=function(t){var r=ct("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},r.summary),e.createElement("div",{className:"products"},t.products.map((function(r,n){return e.createElement("div",{className:"product",key:"".concat(r.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(n)}},e.createElement("div",{className:"productName"},e.createElement(tt,{size:"small",color:"var(--main-color, #007AFF)"}),r.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"quantityAndPrice"},r.quantity," x ",e.createElement("span",{className:"priceForOne"},r.price," ",nt(t.currency)," ")),e.createElement("span",{className:"finalPrice"},r.full_price," ",nt(t.currency))))}))),e.createElement(mt,c({},t)))},exports.ProductConstructor=function(t){var r=t.name,n=t.media,a=t.currency,o=t.price,i=t.oldPrice,l=t.description,u=t.totalPrice,m=t.allowComments,d=t.options,p=t.optionsHalf,f=t.max,g=t.quantity,v=t.ingredients,h=t.nameOnBox,y=t.comments,x=t.isLoading,b=t.isHalf,w=t.summaryOpen,E=t.onChangeIngredients,N=t.onChangeOption,C=t.onChangeOptionHalf,k=t.onChangeNameOnBox,O=t.onChangeComment,B=t.onAdd,P=t.onRemove,I=t.onAddToCart,S=t.onChangeIsHalf,j=t.disableAutoScroll,F=t.updateOptionOfActualData,L=t.onChangeQuantity,T=ct("errorConstructor"),H=ct("productConstructor"),A=e.useState(null),z=A[0],M=A[1],_=e.useState([]),R=_[0],D=_[1],q=e.useState(0),Z=q[0],V=q[1],W=e.useState(!0),G=W[0],Q=W[1],U=e.useRef(),K=e.useRef(),X=function(e){V(e),J()},J=function(){j||setTimeout((function(){(null==U?void 0:U.current.scrollTop)<=20&&U.current.scrollTo({top:((null==K?void 0:K.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=s(s([],d,!0),p,!0),t=function(e,t,r,n){var a=e.filter((function(e){return e.enabled})),o=t.filter((function(e){return e.enabled}));if(o.length){var i={name:n.toppings,freeBudget:0,enabled:!0,max:1,min:1,id:Ct,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:n.full,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!r)},{name:n.half,enabled:!0,max:1,id:kt,quantity:Number(r)}]};a.push(i)}return[].concat(a).concat(o)}(d.filter((function(t){return St(t,e)})),p.filter((function(t){return St(t,e)})),b,H);if(D(t),v.length&&M(function(e,t){return{id:Nt,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return c(c({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(v,H)),G&&w){var r=0;t.length&&(r+=t.length),v.length&&(r+=1),m&&(r+=1),V(r)}Q(!1)}),[v,d,p,b]);var Y=function(){var e=ee()[Z];return!!(null==e?void 0:e.id)&&function(e,t){var r=e.suboptions.reduce((function(e,t){var r;return(null!==(r=t.quantity)&&void 0!==r?r:0)+e}),0);return 1===e.max&&1===e.min&&1!==r?"".concat(t.selectOneOf,": ").concat(e.name):e.min>r?"".concat(t.selectAtLeast," ").concat(e.min," ").concat(t.for," ").concat(e.name):e.max<r&&e.min!==e.max?"".concat(t.maximumAvailable," ").concat(e.max," ").concat(t.for," ").concat(e.name):void 0}(e,T)},$=function(t){var r=F(t),n=1===r.max&&1===r.min,o=r.max>1&&r.allowSuboptionQuantity,i=function(e,t){!function(e){return e===Ct}(r.id)?r.withHalfOption?C(r.id,e,r.half,t):N(r.id,e,t):S(function(e){return e===kt}(e))},c=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return n?e.createElement(Tt,{key:r.id,currency:a,ingredients:r.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:H.free}):o?e.createElement(Lt,{key:r.id,currency:a,suboptions:r.suboptions,onChangeQuantity:i,limitByMax:r.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:H.free}):e.createElement(Mt,{key:r.id,currency:a,suboptions:r.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:c,freeLabel:H.free})},ee=function(){var t=[];return z&&t.push({name:H.ingredients,component:e.createElement(pt,{ingredients:z.suboptions,onSelect:E})}),t.push.apply(t,R.filter((function(e){return St(e,R)})).map((function(e){return c(c({},e),{name:"".concat(Pt(e,H)," ").concat(Ft(e.min,e.max,e.freeBudget,H.free)),component:$(e)})}))),m&&t.push({name:H.comments,component:e.createElement(At,{name:h,comment:y,onNameChange:k,onCommentChange:O})}),t.push({name:H.summary,component:e.createElement(zt,{summary:Ot(z,R.filter((function(e){return!e.withHalfOption})).filter((function(e){return e.id!=Ct})),R.filter((function(e){return e.withHalfOption})).filter((function(e){return e.id!=Ct})),m?"".concat(y||"-"," | ").concat(h||"-"):null,H),onClickChange:function(e){return V(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:U},e.createElement("div",{className:"content"},!!n&&e.createElement("div",{ref:K},e.createElement(ht,c({},n))),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},r),e.createElement("div",{className:"priceControl"},!!i&&e.createElement("div",{className:"oldPrice"},nt(a,i)),!!o&&e.createElement("div",{className:"price"},nt(a,o)))),e.createElement("div",{className:"description"},l)),Y()&&e.createElement(Ht,{message:Y().toString()}),!!ee().length&&e.createElement(bt,{steps:ee(),currentStep:Z}),e.createElement(xt,{isLoading:x,isSummary:Z===ee().length-1,isDisableNext:!!Y(),isDisablePrev:0===Z,currency:a,onPrev:function(){return X(Z-1)},onNext:function(){return X(Z+1)},onAddToCart:I,amount:u,count:g,onRemove:P,onAdd:B,isAddDisable:!!f&&g===f,isRemoveDisable:0===g,onChangeQuantity:function(e){L(e<=0?0:e)}}))},exports.ProductPreview=Dt,exports.ProductPreviewList=function(t){var r=t.categories,n=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},r.map((function(t){return e.createElement("div",{key:t.name,className:"category"},e.createElement("div",{id:t.name,className:"categoryName"},t.name),t.products.map((function(r){return e.createElement(Dt,c({key:r.id},r,{onClick:function(e){return n(t.id,e)}}))})))})))},exports.ProductTags=Rt,exports.RestaurantHeader=function(t){var r=t.name,n=t.isFavorite,a=t.isNew,o=t.kosher,i=t.score,c=t.cartAmount,l=t.alternativeView,s=t.currency,u=t.searchValue,m=t.onSearch,d=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},r,n?e.createElement(Se,null):e.createElement(je,null)),(!!c||l)&&e.createElement(qt,{isNew:a,kosher:o,score:i})),e.createElement("div",{className:"topRight"},!!c&&!l&&e.createElement(Zt,{onClick:d,amount:c,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&e.createElement(qt,{isNew:a,kosher:o,score:i}),e.createElement("div",{className:"benefits"},e.createElement(Vt,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&e.createElement("div",{className:"bottomRight"},e.createElement(st,{className:"input",placeholder:"Search in menu...",icon:e.createElement(He,null),value:u,onChange:m}),e.createElement(Zt,{onClick:d,amount:c,currency:s}))))},exports.Stepper=bt,exports.SuboptionMultiSelector=Lt,exports.SuboptionRadioSelector=Tt,exports.TabsControl=function(r){var n=r.type,a=r.onChange,o=r.disabled,i=void 0!==o&&o,c=r.items;return e.createElement("div",{className:"tabsControl"},c.map((function(r){return e.createElement("div",{key:"tabs-control-"+r.text,className:t("control",{selected:r.type===n,disable:r.disabled||i}),onClick:function(){return a(r.type)}},r.icon&&e.createElement("div",{className:"icon"},r.icon()),e.createElement("span",null,r.text))})))},exports.TranslationUIProvider=it,exports.Warning=Ht,exports.checkRespectTo=St,exports.convertToServerModelOptions=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var r,n,a,o=null;if(e.withHalfOption){var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;o=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}else o=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id}));return e.suboptions=null===(a=null==e?void 0:e.suboptions)||void 0===a?void 0:a.map((function(e){var t,r=null===(t=null==o?void 0:o.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(r){var n=c(c(c({},r),e),{fullPrice:r.fullPrice||r.full_price});return n.quantity=e.quantity,n}return c({},e)})),e},exports.mergeProduct=function(e,t,r){var n={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return n.options=t.filter((function(e){return!e.withHalfOption})).map((function(t){var r=e.product.options.find((function(e){return e.id===t.id}));return c(c({},t),{suboptions:t.suboptions.map((function(e){var t=null==r?void 0:r.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{quantity:t?t.quantity:0})}))})})),n.optionsHalf=t.filter((function(e){return e.withHalfOption})).flatMap((function(t){var r=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.none}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.left}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.right}))}));return r?c(c({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=r.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):n.isHalf||a&&o?(n.isHalf=!0,[c(c({},t),{half:exports.HALF_OPTION.left,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),c(c({},t),{half:exports.HALF_OPTION.right,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.right,quantity:t?t.quantity:0})}))})]):[t]})),e.product.ingredients.length&&r.forEach((function(t){var r=e.product.ingredients.find((function(e){return e===t.id}));n.ingredients.push(c(c({},t),{quantity:r?0:1}))})),n},exports.prepareHalfOptions=function(e,t){var r=[],n=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?n.forEach((function(e){r.push(c(c({},e),{half:exports.HALF_OPTION.left})),r.push(c(c({},e),{half:exports.HALF_OPTION.right}))})):n.forEach((function(e){r.push(c(c({},e),{half:exports.HALF_OPTION.none}))})),r};
1
+ "use strict";var e=require("react"),t=require("classnames"),r=require("cloudinary-react"),n=require("react-overflow-list");function o(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var a=o(e);function i(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}i(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");i(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function l(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function s(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var u;function m(){return m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},m.apply(this,arguments)}i(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var d;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var f;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},g.apply(this,arguments)}var v;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},h.apply(this,arguments)}var y;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},x.apply(this,arguments)}var b;function w(){return w=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}var E;function N(){return N=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},N.apply(this,arguments)}var C;function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}var B,O,P;function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I.apply(this,arguments)}var S,j;function F(){return F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},F.apply(this,arguments)}var L;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},T.apply(this,arguments)}var H,A;function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}var M;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}var D,R;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},q.apply(this,arguments)}var Z;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},V.apply(this,arguments)}var W;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}var G;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}var K;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},X.apply(this,arguments)}var J;function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}var $;function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ee.apply(this,arguments)}var te,re;function ne(){return ne=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ne.apply(this,arguments)}var oe,ae;function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ie.apply(this,arguments)}var ce,le;function se(){return se=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}var ue;function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},me.apply(this,arguments)}var de;function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},pe.apply(this,arguments)}var fe;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ge.apply(this,arguments)}var ve;function he(){return he=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},he.apply(this,arguments)}var ye,xe,be,we,Ee,Ne,Ce,ke=20,Be=25,Oe=30,Pe=function(t,r){return function(n){var o=function(e){var t=e.className,r=e.props,n={};return r.color&&t.includes("Fill")&&(n.fill=r.color),r.color&&t.includes("Stroke")&&(n.stroke=r.color),n}({className:r,props:n}),a=function(e){return"small"===e?ke:"big"===e?Oe:e||Be}(n.size);return e.createElement(t,c({width:a,height:a},n,{style:o,className:"icon ".concat(n.className||""," ").concat(r||"")}))}},Ie=Pe((function(e){return a.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),u||(u=a.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),Se=Pe((function(e){return a.createElement("svg",p({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),d||(d=a.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),je=Pe((function(e){return a.createElement("svg",g({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),f||(f=a.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),Fe=Pe((function(e){return a.createElement("svg",h({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),v||(v=a.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),Le=Pe((function(e){return a.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),y||(y=a.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),Te=Pe((function(e){return a.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),b||(b=a.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),He=Pe((function(e){return a.createElement("svg",N({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),E||(E=a.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),Ae=Pe((function(e){return a.createElement("svg",k({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),C||(C=a.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),ze=Pe((function(e){return a.createElement("svg",I({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),B||(B=a.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),O||(O=a.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),P||(P=a.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Me=Pe((function(e){return a.createElement("svg",F({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),S||(S=a.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),j||(j=a.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),_e=Pe((function(e){return a.createElement("svg",T({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),L||(L=a.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),De=Pe((function(e){return a.createElement("svg",z({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),H||(H=a.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),A||(A=a.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Re=Pe((function(e){return a.createElement("svg",_({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),M||(M=a.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),qe=Pe((function(e){return a.createElement("svg",q({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),D||(D=a.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),R||(R=a.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),Ze=Pe((function(e){return a.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Z||(Z=a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),Ve=Pe((function(e){return a.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=a.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),We=Pe((function(e){return a.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),G||(G=a.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),Qe=Pe((function(e){return a.createElement("svg",X({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=a.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),Ge=Pe((function(e){return a.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),$||($=a.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),Ue=Pe((function(e){return a.createElement("svg",Y({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=a.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),Ke=Pe((function(e){return a.createElement("svg",ne({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=a.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),re||(re=a.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),Xe=Pe((function(e){return a.createElement("svg",ie({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),oe||(oe=a.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},a.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),a.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),a.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),a.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),a.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),ae||(ae=a.createElement("defs",null,a.createElement("clipPath",{id:"gift_svg__a"},a.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),Je=Pe((function(e){return a.createElement("svg",se({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),ce||(ce=a.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},a.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),le||(le=a.createElement("defs",null,a.createElement("clipPath",{id:"percent_svg__a"},a.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),Ye=Pe((function(e){return a.createElement("svg",me({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),ue||(ue=a.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),$e=Pe((function(e){return a.createElement("svg",pe({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),de||(de=a.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),et=Pe((function(e){return a.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=a.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),tt=Pe((function(e){return a.createElement("svg",he({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),ve||(ve=a.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill");!function(e){e[e.fill=0]="fill",e[e.pad=1]="pad",e[e.fit=2]="fit",e[e.mfit=3]="mfit",e[e.scale=4]="scale",e[e.limit=5]="limit",e[e.lpad=6]="lpad",e[e.mpad=7]="mpad",e[e.crop=8]="crop",e[e.fill_pad=9]="fill_pad",e[e.thumb=10]="thumb"}(ye||(ye={})),function(e){e[e.center=0]="center",e[e.north_east=1]="north_east",e[e.north=2]="north",e[e.north_west=3]="north_west",e[e.west=4]="west",e[e.south_west=5]="south_west",e[e.south=6]="south",e[e.south_east=7]="south_east",e[e.east=8]="east",e[e.liquid=9]="liquid",e[e.auto=10]="auto"}(xe||(xe={})),function(e){e[e.best=1]="best",e[e.good=2]="good",e[e.eco=3]="eco",e[e.low=4]="low",e[e.custom=5]="custom"}(be||(be={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(we||(we={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(Ee||(Ee={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue"}(Ne||(Ne={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(Ce||(Ce={}));var rt=function(e,t){return Object.keys(e).find((function(r){return e[r]===t}))},nt=function(e,t){var r="";return e&&(r=we[e]||e),(t||0===t)&&(r="".concat(t," ").concat(r)),r},ot={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free"},summary:{editProduct:"Edit",addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry"}},at=e.createContext(ot),it=at.Provider,ct=function(t){var r=e.useContext(at);return console.log({translations:r}),r[t]?r[t]:ot[t]},lt=function(t){var r=t.accumulatedPurchaseBonus,n=void 0===r?0:r,o=t.discount,a=void 0===o?0:o,i=t.finalDeliveryPrice,c=void 0===i?0:i,l=t.currency,s=ct("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===c&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Ye,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),a>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Je,null),e.createElement("span",{className:"discountLabel"},nt(l,a)," ",s.discount)),n>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement($e,{size:12,color:"#fff"})),e.createElement(Xe,null),e.createElement("span",{className:"discountLabel"},n," ",s.bonuses)))};i(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem.totalPrice{font-size:20px}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .tooltip-container{position:relative}.orderSummary .summaryBody .summaryItem .tooltip-container:hover .tooltip{display:block}.orderSummary .summaryBody .summaryItem .tooltip{background:rgba(0,0,0,.8);border-radius:8px;color:#fff;display:none;font-size:14px;left:50%;max-width:400px;padding:8px;position:absolute;top:-40px}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:16px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:#007aff;cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");i(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var st=function(t){var r=t.icon,n=t.onChange,o=l(t,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},r&&r,e.createElement("input",c({},o,{onChange:n})))};i('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var ut=function(r){var n=r.value,o=r.disabled,a=r.onChange;return console.log("qwe",n),e.createElement("div",{className:t("customCheckbox",{selected:n,disabled:o}),onClick:function(){return!o&&a(!n)}})},mt=function(r){var n=r.accumulatedPurchaseBonus,o=r.discount,a=r.finalDeliveryPrice,i=r.currency,c=r.offerType,l=r.coupon,s=r.fullPrice,u=r.discounts,m=r.deliveryType,d=r.deliveryPrice,p=r.serviceFee,f=r.topupToMinimum,g=r.driverTip,v=r.hideCoupon,h=r.paymentBalance,y=r.finalPrice,x=r.setCoupon,b=r.disabledConfirm,w=r.onConfirm,E=r.customDiscount,N=r.customDiscountValue,C=r.setCustomDiscountValue,k=r.customFields,B=r.finalCharge,O=r.canceledOfferIds,P=r.toggleOffer,I=r.recalculateDiscounts,S=r.disableRecalculateDiscounts,j=r.showRecalculateDiscounts,F=r.onChangeRecalculateDiscounts,L=r.canManageDiscount,T=ct("summary"),H=function(t){var r=null==O?void 0:O.includes(t.offer_id);return e.createElement("div",{key:t.offer_id,className:"itemDiscount summaryItem"},e.createElement("span",{className:"itemName"},e.createElement("div",{className:"discount"},e.createElement("div",{className:"discountPart"},t.discount_type===Ee.bonus?T.bonus:2===t.offer_type?T.coupon:T.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(_e,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return x("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===Ee.common&&L&&e.createElement("div",{onClick:function(){return P(t.offer_id)},className:"controlOffer"},r?T.addRemovedOffer:T.removedOffer),!r&&e.createElement("div",{className:"priceBlue price"},"-",nt(i,t.discount))))};return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},T.summary),!!k&&k.map((function(t){return e.createElement("div",{className:"summaryItem customFields",key:t.label},e.createElement("span",{className:"label"},t.label),e.createElement("span",{className:"value"},t.value))})),e.createElement("div",{className:"summaryItem subtotal"},e.createElement("span",null,T.subtotal),e.createElement("span",{className:"price"},nt(i,s))),!!u&&u.filter((function(e){return e.discount_target===Ce.products&&e.discount_type===Ee.common})).map(H),m===Ne.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,d===a?T.deliveryCost:T.deliveryCostBase),e.createElement("span",{className:"price"},nt(i,d||a))),E&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,T.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:N,onChange:function(e){var t=e.target;return C(t.value)}}),nt(i))),!!u&&u.filter((function(e){return e.discount_target===Ce.delivery})).map(H),m===Ne.delivery&&d!==a&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,T.deliveryCostFinal),e.createElement("span",{className:"price"},nt(i,a))),!!u&&u.filter((function(e){return e.discount_target===Ce.products&&e.discount_type===Ee.bonus})).map(H),!!p&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container"},T.serviceFee," ",e.createElement("span",{className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.serviceFeeTooltip)),e.createElement("span",{className:"price"},nt(i,p))),!!f&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container"},T.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.minimumOrderChargeTooltip)),e.createElement("span",{className:"price"},nt(i,f))),!!g&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container"},T.driverTip,e.createElement("span",{"data-tooltip-id":"driver-tip",className:"question"},"?"),e.createElement("div",{className:"tooltip"},T.driverTooltip)),e.createElement("span",{className:"price"},nt(i,g))),!v&&u&&!u.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!l.trim().length&&2!==c&&e.createElement("span",{className:"invalidCoupon"},T.invalidPromocode),l.length?e.createElement("span",{className:"inputArea"},e.createElement(st,{autoFocus:!0,value:l,onChange:function(e){return x(e.target.value)},debounce:500}),e.createElement(_e,{size:15,onClick:function(){return x("")},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return x(" ")}},T.placeholderPromocode)),j&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:t({disabled:S})},T.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(ut,{value:I,onChange:F,disabled:S}))),null!==h&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,T.paymentBalance),e.createElement("span",{className:"price"},nt(i,h))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},T.total),e.createElement("span",{className:"price priceBlue"},nt(i,y)))),e.createElement(lt,{currency:i,discount:o,accumulatedPurchaseBonus:n,finalDeliveryPrice:a}),e.createElement("div",{onClick:w,className:t("confirmButton",{disable:b})},T.confirm," ",!!B&&nt(i,B)))};i(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");i(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var dt=function(r){var n=r.count,o=r.isRemoveDisable,a=r.isAddDisable,i=r.onAdd,c=r.onRemove,l=r.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(Ue,{color:"var(--main-color, #007aff)",onClick:c,className:t("control",{disable:o})}),e.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,r=parseInt(t.value);l(r||0)}}),e.createElement(Ge,{color:"var(--main-color, #007aff)",onClick:i,className:t("control",{disable:a})}))};i(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton{border:none}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}");i(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");i(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");var pt=function(r){var n=r.ingredients,o=r.onSelect;return e.createElement("div",{className:"ingredients"},n.map((function(r){return e.createElement("div",{key:r.id,onClick:(n=r.id,function(){return o(n)}),className:t("ingredient",{selected:!!r.quantity})},r.name);var n})))};i(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var ft=function(t){var n=t.src,o=t.alt,a=t.width,i=t.height,c=t.quality,l=t.gravity,s=t.crop,u=t.id;return e.createElement(r.Image,{id:u,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:o},e.createElement(r.Transformation,{width:a,height:i,quality:c,gravity:l,crop:s}),e.createElement(r.Transformation,{fetchFormat:"auto"}))},gt=function(t){var r=t.autoPlay,n=t.onStart,o=t.id,a=t.src,i=t.onEnd,l=t.controls,s=e.useState({playing:!1,muted:!1}),u=s[0],m=s[1],d=e.useRef(),p=function(){d.current.paused?(d.current.play(),m((function(e){return c(c({},e),{playing:!0})}))):(d.current.pause(),m((function(e){return c(c({},e),{playing:!1})})))},f=function(){d.current.muted=!d.current.muted,m((function(e){return c(c({},e),{muted:d.current.muted})}))};return e.createElement("div",{className:"videoControl"},l&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!u.playing&&e.createElement(Ze,{color:"var(--main-color)",className:"control",onClick:p}),u.playing&&e.createElement(Ve,{color:"var(--main-color)",className:"control",onClick:p}),u.muted&&e.createElement(We,{color:"var(--main-color)",className:"control",onClick:f}),!u.muted&&e.createElement(Qe,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(vt,{autoPlay:r,src:a,onPlay:function(){n&&n(),m((function(e){return c(c({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:d,id:o}))},vt=function(t){var r=t.videoRef,n=t.src,o=t.id,a=t.onPlay,i=t.onEnded,c=t.autoPlay;return e.createElement("video",{ref:r,src:n,id:o,onPlay:function(){a&&a()},autoPlay:c,onEnded:function(){i&&i()}})},ht=function(t){var r=t.src,n=t.settings,o=t.alt,a=t.id,i=l(t,["src","settings","alt","id"]),s=e.useRef(null),u=e.useState({width:0,height:0}),m=u[0],d=u[1],p=r.includes("/image/"),f=r.includes("/video/"),g=r.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){m.width!==s.current.offsetWidth&&m.height!==s.current.offsetHeight&&d({width:s.current.offsetWidth||0,height:s.current.offsetHeight||0})}));return e.createElement("div",{ref:s,className:"mediaWrapper"},p&&e.createElement(ft,c({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:rt(xe,(null==n?void 0:n.gravity_mode)||0),crop:rt(ye,(null==n?void 0:n.crop_mode)||0),src:g,alt:o,id:a})),f&&e.createElement(gt,c({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:rt(xe,(null==n?void 0:n.gravity_mode)||0),crop:rt(ye,(null==n?void 0:n.crop_mode)||0),id:a,src:r})))};i(".productConstructor .content{margin:0 0 20px}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{color:var(--warning,#fe7171);margin:0 5px}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");i(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid #007aff;border-radius:var(--border-radius,5px);color:#007aff;cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");i('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var yt=function(){return e.createElement("div",{className:"lds-dual-ring"})},xt=function(r){var n=r.isSummary,o=r.isLoading,a=r.isDisableNext,i=r.isDisablePrev,c=r.amount,l=r.currency,s=r.onPrev,u=r.onNext,m=r.count,d=r.isAddDisable,p=r.isRemoveDisable,f=r.onAdd,g=r.onRemove,v=r.onAddToCart,h=r.onChangeQuantity,y=ct("productConstructor");return e.createElement("div",{className:t("footerControls",{summary:n})},n?e.createElement(e.Fragment,null,e.createElement(dt,{count:m,isRemoveDisable:p||o,isAddDisable:d||o,onAdd:f,onRemove:g,onChangeQuantity:h}),e.createElement("div",{onClick:v,className:t("button major",{disable:o})},o?e.createElement(yt,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(Ae,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,nt(l,c))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:t("button",{disable:i||o})},y.back),e.createElement("div",{onClick:u,className:t("button major",{disable:a||o})},o?e.createElement(yt,null):e.createElement(e.Fragment,null,y.next," ",nt(l,c)))))};i(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var bt=function(r){var n=r.steps,o=r.currentStep,a=n[o].component,i=n[o].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(r,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:t("step",{active:a===o})}),a!==n.length-1&&e.createElement("div",{className:"line"}))}))),a)};i(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:#007aff}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var wt,Et=function(t){var r=t.free,n=t.amount,o=t.currency,a=t.freeLabel;return r?e.createElement("span",{className:"suboptionPrice"},a):n?e.createElement("span",{className:"suboptionPrice"},"+",nt(o,n)):e.createElement("span",{className:"suboptionPrice"})},Nt="#INGREDIENTS",Ct="#HALF_SELECTOR",kt="#HALF_SELECTOR_HALF";exports.HALF_OPTION=void 0,(wt=exports.HALF_OPTION||(exports.HALF_OPTION={}))[wt.none=0]="none",wt[wt.left=1]="left",wt[wt.right=2]="right";var Bt=function(e,t,r,n,o){var a,i=[],c=0;if((null===(a=null==e?void 0:e.suboptions)||void 0===a?void 0:a.length)&&i.push({name:o.ingredients,value:It(e.suboptions),index:c++}),t.forEach((function(e){i.push({name:e.name,value:Ot(e.suboptions),index:c++})})),r.length){var l=r.some((function(e){return e.half===exports.HALF_OPTION.right}));i.push({name:o.toppings,value:l?o.half:o.full,index:c++})}return r.forEach((function(e){i.push({name:e.name,value:Ot(e.suboptions),index:c++})})),n&&i.push({name:o.comments,value:n,index:c++}),i},Ot=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},Pt=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},It=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},St=function(e,t){if(!e.respectTo)return!0;var r=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!r||!r.quantity)},jt=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},Ft=function(e,t,r,n){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(r?", "+r+" "+n:"",")")},Lt=function(r){var n=r.suboptions,o=r.onChangeQuantity,a=r.currency,i=r.limitByMax,c=r.freeLabel,l=r.freeBudget,s=function(e,t){return function(){return o(e,t)}},u=function(e){var t;return!!i&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return e.createElement("div",{className:"suboptionMultiSelector"},n.map((function(r){return e.createElement("div",{className:"suboption",key:r.id},e.createElement("span",{className:t("suboptionName",{selected:!!r.quantity})},r.name,r.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement("div",{className:"counterSection"},e.createElement(Et,{free:jt(l,r).free,amount:jt(l,r).amount,currency:a,freeLabel:c}),e.createElement(dt,{count:r.quantity||0,isAddDisable:u(r),isRemoveDisable:!r.quantity,onAdd:s(r.id,(r.quantity||0)+1),onRemove:s(r.id,(r.quantity||0)-1),onChangeQuantity:function(e){return s(r.id,e)()}})))})))};i('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var Tt=function(r){var n=r.freeLabel,o=r.ingredients,a=r.onSelect,i=r.currency,c=r.freeBudget;return e.createElement("div",{className:"extrasRadio"},o.map((function(r){return e.createElement("div",{key:r.id,onClick:(o=r.id,l=r.quantity||1,function(){return a(o,l)}),className:t("extra",{selected:!!r.quantity})},e.createElement("span",{className:"extraName"},r.name,r.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement(Et,{freeLabel:n,free:jt(c,r).free,amount:jt(c,r).amount,currency:i}));var o,l})))};i(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var Ht=function(t){var r=t.message;return e.createElement("div",{className:"warning"},e.createElement(Ke,{size:"small",color:"var(--warning, #fe7171)"})," ",r)};i(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var At=function(t){var r=t.name,n=t.comment,o=t.onCommentChange,a=t.onNameChange,i=ct("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.createElement(st,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:r}),e.createElement("span",{className:"inputName"},i.addComment),e.createElement(st,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:n}))};i(".productSummary .line{color:#0e1328;display:grid;font-size:14px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .button{align-items:center;background:var(--secondary-color,#cee6ff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}");var zt=function(t){var r=t.summary,n=t.onClickChange,o=ct("productConstructor");return e.createElement("div",{className:"productSummary"},r.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:"name"},t.name),e.createElement("div",{className:"value"},t.value),e.createElement("div",{onClick:function(){return n(t.index)},className:"button"},o.change))})))};i(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var Mt=function(r){var n=r.suboptions,o=r.onSelect,a=r.currency,i=r.freeBudget,c=r.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},n.map((function(r){return e.createElement("div",{key:r.id,onClick:(n=r.id,l=r.quantity?0:1,function(){return o(n,l)}),className:t("suboptionCheckbox",{selected:!!r.quantity})},e.createElement("span",{className:"suboptionName"},r.name,r.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+r.description}})),e.createElement(Et,{free:jt(i,r).free,amount:jt(i,r).amount,currency:a,freeLabel:c}));var n,l})))};i(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:600;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");i(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");i(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var _t=function(t){var r=t.className,n=void 0===r?"":r,o=t.label,a=t.icon;return e.createElement("div",{className:"tag "+n||""},e.createElement("span",{className:"tagLabel"},o),a)},Dt=function(t){var r=t.vegan,n=t.vegetarian,o=t.isNew,a=t.spicy,i=t.glutenFree,c=ct("tag"),l=function(){return o?e.createElement(_t,{label:"new",className:"additionItem",icon:e.createElement(Se,null)}):null},s=function(){return r?e.createElement(_t,{label:c.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(Fe,null),e.createElement(Fe,null))}):n?e.createElement(_t,{label:c.vegetarian,className:"additionVegetarian",icon:e.createElement(Fe,null)}):null},u=function(){return a?e.createElement(_t,{label:c.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(a).fill(0).map((function(t,r){return e.createElement(Le,{key:r})})))}):null},m=function(){return i?e.createElement(_t,{label:c.glutenFree,className:"additionNoGluten",icon:e.createElement(Te,null)}):null};return l()||s()||u()||m()?e.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},Rt=function(r){var n=r.id,o=r.currency,a=r.name,i=r.description,c=r.price,l=r.oldPrice,s=r.image,u=r.trashIcon,m=void 0!==u&&u,d=r.onClickTrash,p=r.onClick,f=r.vegetarian,g=r.vegan,v=r.isNew,h=r.spicy,y=r.glutenFree,x=r.quantity;return e.createElement("div",{className:"productPreview",onClick:function(){null==p||p(n)}},e.createElement(ht,{src:s.src,alt:s.alt,settings:s.settings}),e.createElement("div",{className:"productReviewBody"},e.createElement("div",{className:"productReviewHead"},e.createElement("div",{className:"header"},e.createElement("div",{className:"title"},a),m&&e.createElement(Ie,{onClick:function(e){e.stopPropagation(),null==d||d(n)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(Dt,{isNew:v,spicy:h,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!l&&e.createElement("div",{className:t("oldPrice",{lineThrough:!x})},nt(o,l)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!c&&e.createElement("div",{className:t("currentPrice",{newPrice:!!l&&!x})},nt(o,c))))))};i(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");i(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");i(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var qt=function(t){var r=t.score,n=t.isNew,o=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!n&&e.createElement(_t,{label:"new",className:"restaurantTagNew"}),!!r&&r>0&&e.createElement(_t,{label:r.toFixed(1),className:"restaurantTagScore",icon:e.createElement(Se,null)}),!!o&&e.createElement(_t,{label:"kosher",className:"restaurantTagKosher"}))};i(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var Zt=function(t){var r=t.currency,n=t.amount,o=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:o},e.createElement(Ae,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},nt(r,n)))};i(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var Vt=function(r){var o=r.dontHide,a=r.minimum,i=r.isPickUp,c=r.withTitle,l=r.estimationRangeMax,s=r.estimationRangeMin,u=r.estimationTime,m=r.distance,d=r.deliveryPrice,p=r.currency,f=r.deliveryToLocation,g=e.useState([]),v=g[0],h=g[1];return e.useEffect((function(){var r=[];a&&r.push(e.createElement("div",{className:t("footer-item mini-order")},e.createElement(Ae,null),c&&e.createElement("span",{className:t("title")},"Min order"),nt(p,a))),m&&!i&&r.push(e.createElement("span",{className:t("footer-item")},e.createElement(De,null),c&&e.createElement("div",{className:t("title")},"Distance"),"distanceKm ",m)),(l||s)&&r.push(e.createElement("div",{className:t("time footer-item")},i?e.createElement(Me,null):e.createElement(Re,null),c&&e.createElement("div",{className:t("title")},i?"Pickup time":"Delivery time"),s,"-",l," min")),!i&&f&&r.push(e.createElement("div",{className:t("footer-item delivery-price")},e.createElement(ze,null),c&&e.createElement("span",{className:t("title")},"deliveryPrice"),d?nt(p,d):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(qe,null)," "))),0===l&&0===s&&u&&r.push(e.createElement("div",{className:t("time footer-item")},i?e.createElement(Re,null):e.createElement(Me,null),"up_to ",u,"  min")),h(r)}),[a,i,l,s,u,m,d,p,f]),e.createElement(n.OverflowList,{className:"footer benefitsData",minVisibleItems:o?v.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:v})};i(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");i(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{border-bottom:1px solid #cfd1d4;cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:10px;justify-content:space-between;margin:0 0 15px;padding:0 0 15px}.summaryBlock .products .product:last-child{margin:0}.summaryBlock .products .product .productBottom,.summaryBlock .products .product .productDescription,.summaryBlock .products .product .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:flex-start}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .productDescription,.summaryBlock .products .product .quantityAndPrice{color:#747474}.summaryBlock .products .product .productDescription{font-weight:400}.summaryBlock .products .product .productBottom{align-items:center;justify-content:space-between}.summaryBlock .products .product .productBottom .icon{fill:#747474!important}.summaryBlock .products .product .productBottom .counterButton{border-radius:100px;height:26px;width:120px}.summaryBlock .products .product .productBottom .counterButton .icon{fill:#747474!important;height:15px;width:15px}.summaryBlock .products .product .productBottom .counterButton input{background:none;color:#747474}.summaryBlock .products .product .totalLabel{color:#747474;font-weight:500}.summaryBlock .products .product .price{align-items:center;display:flex;gap:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");i(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");exports.BagesPaymentsOrderSummary=lt,exports.Checkbox=ut,exports.CheckoutFormItem=function(t){var r=t.label,n=t.data,o=t.changeInLabel,a=void 0!==o&&o,i=t.hideChange,c=void 0!==i&&i,l=t.onChangeClick,s=ct("checkoutFormItem"),u=Array.isArray(n);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},r,a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},n.map((function(t,r){return e.createElement("div",{key:r,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},n),!a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)))},exports.CounterButton=dt,exports.CutleryButton=function(t){var r=t.cutlery,n=t.onAdd,o=t.onRemove,a=ct("cutlery");return e.createElement("div",{onClick:function(){0===r&&n(1)},className:"cutleryButton"},!r&&e.createElement(e.Fragment,null,e.createElement(et,{color:"var(--main-color, #007AFF)",size:20})," ",a.addCutlery),!!r&&e.createElement(e.Fragment,null,a.cutlery,e.createElement(dt,{count:r,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return n(r+1)},onRemove:function(){return o(r-1)},onChangeQuantity:function(e){n(e<=0?0:e)}})))},exports.DeliveryControl=function(r){var n=r.type,o=r.onChange,a=r.disableDelivery,i=r.disableTakeAway,c=ct("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:t("control",{selected:Ne.takeAway===n,disable:i}),onClick:function(){return o(Ne.takeAway)}},e.createElement(Re,{size:30,color:n===Ne.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,c.pickUp)),e.createElement("div",{className:t("control",{selected:Ne.delivery===n,disable:a}),onClick:function(){return o(Ne.delivery)}},e.createElement(Ye,{size:30,color:n===Ne.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,c.delivery)))},exports.GiftControl=function(r){var n=r.isGift,o=r.onChange,a=r.name,i=r.phone,c=r.greeting,l=r.isReadonly,s=r.onToggleGift,u=ct("gift"),m=function(e,t){var r;o(((r={name:a,phone:i,greeting:c})[e]=t,r))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:t("giftControlButton",{selected:n}),onClick:function(){return!l&&s()}},e.createElement(Xe,{color:n?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),n&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(st,{readOnly:l,value:a,onChange:function(e){var t=e.target;return m("name",t.value)},placeholder:u.namePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.phone),e.createElement(st,{readOnly:l,value:i,onChange:function(e){var t=e.target;return m("phone",t.value)},placeholder:u.phonePlaceholder})),e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.greeting),e.createElement("textarea",{readOnly:l,value:c,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))},exports.INGREDIENTS=Nt,exports.IconBicycle=ze,exports.IconCart=Ae,exports.IconClockAfternoon=Me,exports.IconClose=_e,exports.IconCutlery=et,exports.IconDone=$e,exports.IconEditPen=tt,exports.IconGift=Xe,exports.IconMapPin=De,exports.IconMinus=Ue,exports.IconMoto=Ye,exports.IconMute=We,exports.IconNoGluten=Te,exports.IconPause=Ve,exports.IconPercent=Je,exports.IconPersonSimpleWalk=Re,exports.IconPlay=Ze,exports.IconPlus=Ge,exports.IconSearch=He,exports.IconSparkle=qe,exports.IconSpicy=Le,exports.IconStar=Se,exports.IconStarBorder=je,exports.IconTrash=Ie,exports.IconUnmute=Qe,exports.IconVegan=Fe,exports.IconWarning=Ke,exports.IngredientsSelector=pt,exports.Input=st,exports.Media=ht,exports.OrderSummary=mt,exports.OrderSummaryWithProducts=function(t){var r=ct("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},r.summary),e.createElement("div",{className:"products"},t.products.map((function(n,o){return e.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(o)}},e.createElement("div",{className:"productTop"},e.createElement("div",{className:"productName"},n.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"totalLabel"},r.total,":"),e.createElement("span",{className:"finalPrice"},n.full_price," ",nt(t.currency)),e.createElement(tt,{color:"var(--main-color)",size:"small"}))),e.createElement("div",{className:"productDescription"},n.description),e.createElement("div",{className:"productBottom"},e.createElement(dt,{count:n.quantity,isAddDisable:n.max>=n.quantity,isRemoveDisable:n.quantity>=n.min,onAdd:function(){return t.onChangeQuantity(n.quantity+1,n,o)},onRemove:function(){return t.onChangeQuantity(n.quantity-1,n,o)},onChangeQuantity:function(e){return t.onChangeQuantity(e,n,o)}}),e.createElement(Ie,{onClick:function(){return t.onRemove(o)},size:"small"})))}))),e.createElement(mt,c({},t)))},exports.ProductConstructor=function(t){var r=t.name,n=t.media,o=t.currency,a=t.price,i=t.oldPrice,l=t.description,u=t.totalPrice,m=t.allowComments,d=t.options,p=t.optionsHalf,f=t.max,g=t.quantity,v=t.ingredients,h=t.nameOnBox,y=t.comments,x=t.isLoading,b=t.isHalf,w=t.summaryOpen,E=t.onChangeIngredients,N=t.onChangeOption,C=t.onChangeOptionHalf,k=t.onChangeNameOnBox,B=t.onChangeComment,O=t.onAdd,P=t.onRemove,I=t.onAddToCart,S=t.onChangeIsHalf,j=t.disableAutoScroll,F=t.updateOptionOfActualData,L=t.onChangeQuantity,T=ct("errorConstructor"),H=ct("productConstructor"),A=e.useState(null),z=A[0],M=A[1],_=e.useState([]),D=_[0],R=_[1],q=e.useState(0),Z=q[0],V=q[1],W=e.useState(!0),Q=W[0],G=W[1],U=e.useRef(),K=e.useRef(),X=function(e){V(e),J()},J=function(){j||setTimeout((function(){(null==U?void 0:U.current.scrollTop)<=20&&U.current.scrollTo({top:((null==K?void 0:K.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=s(s([],d,!0),p,!0),t=function(e,t,r,n){var o=e.filter((function(e){return e.enabled})),a=t.filter((function(e){return e.enabled}));if(a.length){var i={name:n.toppings,freeBudget:0,enabled:!0,max:1,min:1,id:Ct,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:n.full,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!r)},{name:n.half,enabled:!0,max:1,id:kt,quantity:Number(r)}]};o.push(i)}return[].concat(o).concat(a)}(d.filter((function(t){return St(t,e)})),p.filter((function(t){return St(t,e)})),b,H);if(R(t),v.length&&M(function(e,t){return{id:Nt,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return c(c({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(v,H)),Q&&w){var r=0;t.length&&(r+=t.length),v.length&&(r+=1),m&&(r+=1),V(r)}G(!1)}),[v,d,p,b]);var Y=function(){var e=ee()[Z];return!!(null==e?void 0:e.id)&&function(e,t){var r=e.suboptions.reduce((function(e,t){var r;return(null!==(r=t.quantity)&&void 0!==r?r:0)+e}),0);return 1===e.max&&1===e.min&&1!==r?"".concat(t.selectOneOf,": ").concat(e.name):e.min>r?"".concat(t.selectAtLeast," ").concat(e.min," ").concat(t.for," ").concat(e.name):e.max<r&&e.min!==e.max?"".concat(t.maximumAvailable," ").concat(e.max," ").concat(t.for," ").concat(e.name):void 0}(e,T)},$=function(t){var r=F(t),n=1===r.max&&1===r.min,a=r.max>1&&r.allowSuboptionQuantity,i=function(e,t){!function(e){return e===Ct}(r.id)?r.withHalfOption?C(r.id,e,r.half,t):N(r.id,e,t):S(function(e){return e===kt}(e))},c=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return n?e.createElement(Tt,{key:r.id,currency:o,ingredients:r.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:H.free}):a?e.createElement(Lt,{key:r.id,currency:o,suboptions:r.suboptions,onChangeQuantity:i,limitByMax:r.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:H.free}):e.createElement(Mt,{key:r.id,currency:o,suboptions:r.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:c,freeLabel:H.free})},ee=function(){var t=[];return z&&t.push({name:H.ingredients,component:e.createElement(pt,{ingredients:z.suboptions,onSelect:E})}),t.push.apply(t,D.filter((function(e){return St(e,D)})).map((function(e){return c(c({},e),{name:"".concat(Pt(e,H)," ").concat(Ft(e.min,e.max,e.freeBudget,H.free)),component:$(e)})}))),m&&t.push({name:H.comments,component:e.createElement(At,{name:h,comment:y,onNameChange:k,onCommentChange:B})}),t.push({name:H.summary,component:e.createElement(zt,{summary:Bt(z,D.filter((function(e){return!e.withHalfOption})).filter((function(e){return e.id!=Ct})),D.filter((function(e){return e.withHalfOption})).filter((function(e){return e.id!=Ct})),m?"".concat(y||"-"," | ").concat(h||"-"):null,H),onClickChange:function(e){return V(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:U},e.createElement("div",{className:"content"},!!n&&e.createElement("div",{ref:K},e.createElement(ht,c({},n))),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},r),e.createElement("div",{className:"priceControl"},!!i&&e.createElement("div",{className:"oldPrice"},nt(o,i)),!!a&&e.createElement("div",{className:"price"},nt(o,a)))),e.createElement("div",{className:"description"},l)),Y()&&e.createElement(Ht,{message:Y().toString()}),!!ee().length&&e.createElement(bt,{steps:ee(),currentStep:Z}),e.createElement(xt,{isLoading:x,isSummary:Z===ee().length-1,isDisableNext:!!Y(),isDisablePrev:0===Z,currency:o,onPrev:function(){return X(Z-1)},onNext:function(){return X(Z+1)},onAddToCart:I,amount:u,count:g,onRemove:P,onAdd:O,isAddDisable:!!f&&g===f,isRemoveDisable:0===g,onChangeQuantity:function(e){L(e<=0?0:e)}}))},exports.ProductPreview=Rt,exports.ProductPreviewList=function(t){var r=t.categories,n=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},r.map((function(t){return e.createElement("div",{key:t.name,className:"category"},e.createElement("div",{id:t.name,className:"categoryName"},t.name),t.products.map((function(r){return e.createElement(Rt,c({key:r.id},r,{onClick:function(e){return n(t.id,e)}}))})))})))},exports.ProductTags=Dt,exports.RestaurantHeader=function(t){var r=t.name,n=t.isFavorite,o=t.isNew,a=t.kosher,i=t.score,c=t.cartAmount,l=t.alternativeView,s=t.currency,u=t.searchValue,m=t.onSearch,d=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},r,n?e.createElement(Se,null):e.createElement(je,null)),(!!c||l)&&e.createElement(qt,{isNew:o,kosher:a,score:i})),e.createElement("div",{className:"topRight"},!!c&&!l&&e.createElement(Zt,{onClick:d,amount:c,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&e.createElement(qt,{isNew:o,kosher:a,score:i}),e.createElement("div",{className:"benefits"},e.createElement(Vt,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&e.createElement("div",{className:"bottomRight"},e.createElement(st,{className:"input",placeholder:"Search in menu...",icon:e.createElement(He,null),value:u,onChange:m}),e.createElement(Zt,{onClick:d,amount:c,currency:s}))))},exports.Stepper=bt,exports.SuboptionMultiSelector=Lt,exports.SuboptionRadioSelector=Tt,exports.TabsControl=function(r){var n=r.type,o=r.onChange,a=r.disabled,i=void 0!==a&&a,c=r.items;return e.createElement("div",{className:"tabsControl"},c.map((function(r){return e.createElement("div",{key:"tabs-control-"+r.text,className:t("control",{selected:r.type===n,disable:r.disabled||i}),onClick:function(){return o(r.type)}},r.icon&&e.createElement("div",{className:"icon"},r.icon()),e.createElement("span",null,r.text))})))},exports.TranslationUIProvider=it,exports.Warning=Ht,exports.checkRespectTo=St,exports.convertToServerModelOptions=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var r,n,o,a=null;if(e.withHalfOption){var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;a=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}else a=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id}));return e.suboptions=null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.map((function(e){var t,r=null===(t=null==a?void 0:a.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(r){var n=c(c(c({},r),e),{fullPrice:r.fullPrice||r.full_price});return n.quantity=e.quantity,n}return c({},e)})),e},exports.mergeProduct=function(e,t,r){var n={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return n.options=t.filter((function(e){return!e.withHalfOption})).map((function(t){var r=e.product.options.find((function(e){return e.id===t.id}));return c(c({},t),{suboptions:t.suboptions.map((function(e){var t=null==r?void 0:r.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{quantity:t?t.quantity:0})}))})})),n.optionsHalf=t.filter((function(e){return e.withHalfOption})).flatMap((function(t){var r=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.none}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.left}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===exports.HALF_OPTION.right}))}));return r?c(c({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=r.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):n.isHalf||o&&a?(n.isHalf=!0,[c(c({},t),{half:exports.HALF_OPTION.left,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),c(c({},t),{half:exports.HALF_OPTION.right,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return c(c({},e),{half:exports.HALF_OPTION.right,quantity:t?t.quantity:0})}))})]):[t]})),e.product.ingredients.length&&r.forEach((function(t){var r=e.product.ingredients.find((function(e){return e===t.id}));n.ingredients.push(c(c({},t),{quantity:r?0:1}))})),n},exports.prepareHalfOptions=function(e,t){var r=[],n=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?n.forEach((function(e){r.push(c(c({},e),{half:exports.HALF_OPTION.left})),r.push(c(c({},e),{half:exports.HALF_OPTION.right}))})):n.forEach((function(e){r.push(c(c({},e),{half:exports.HALF_OPTION.none}))})),r};
@@ -25,7 +25,7 @@ export interface OrderSummaryProps extends BagesPaymentsOrderSummaryProps {
25
25
  offer_id: string;
26
26
  [key: string]: string | number;
27
27
  }[];
28
- canceledOfferIds: string[];
28
+ canceledOfferIds?: string[];
29
29
  customFields: {
30
30
  label: string;
31
31
  value: string | number;
@@ -1,14 +1,21 @@
1
1
  import React from 'react';
2
2
  import './style.scss';
3
3
  import { OrderSummaryProps } from '../OrderSummary';
4
+ interface Product {
5
+ id: string;
6
+ quantity: number;
7
+ price: number;
8
+ name: string;
9
+ full_price: number;
10
+ description: string;
11
+ min: number;
12
+ max: number;
13
+ }
4
14
  export interface OrderSummaryWithProductsProps extends OrderSummaryProps {
5
- products: {
6
- id: string;
7
- quantity: number;
8
- price: number;
9
- name: string;
10
- full_price: number;
11
- }[];
15
+ products: Product[];
16
+ onChangeQuantity: (v: number, product: Product, index: number) => void;
12
17
  onClickProduct: (index: number) => void;
18
+ onRemove: (v: number) => void;
13
19
  }
14
20
  export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
21
+ export {};
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  free: string;
53
53
  };
54
54
  summary: {
55
+ editProduct: string;
55
56
  addRemovedOffer: string;
56
57
  removedOffer: string;
57
58
  bonus: string;
package/dist/esm/index.js CHANGED
@@ -1 +1 @@
1
- import*as e from"react";import t,{createContext as n,useContext as r,useState as a,useRef as o,useEffect as i}from"react";import l from"classnames";import{Image as c,Transformation as s}from"cloudinary-react";import{OverflowList as m}from"react-overflow-list";function u(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}u(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");u(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},d.apply(this,arguments)};function p(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function f(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var g;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}u(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var h;function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}var b;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}var w;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}var N;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}var k;function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}var O;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}var j;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}var F,I,z;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}var M,H;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}var D;function A(){return A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},A.apply(this,arguments)}var R,_;function q(){return q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},q.apply(this,arguments)}var Z;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}var W,Q;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}var U;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K.apply(this,arguments)}var X;function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(this,arguments)}var Y;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}var ee;function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}var ne;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},re.apply(this,arguments)}var ae;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}var ie,le;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ce.apply(this,arguments)}var se,me;function ue(){return ue=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ue.apply(this,arguments)}var de,pe;function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fe.apply(this,arguments)}var ge;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}var he;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}var be;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(this,arguments)}var we;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee.apply(this,arguments)}var Ne,Ce,ke,Be,Oe,Pe,je,Se=20,Fe=25,Ie=30,ze=function(e,n){return function(r){var a=function(e){var t=e.className,n=e.props,r={};return n.color&&t.includes("Fill")&&(r.fill=n.color),n.color&&t.includes("Stroke")&&(r.stroke=n.color),r}({className:n,props:r}),o=function(e){return"small"===e?Se:"big"===e?Ie:e||Fe}(r.size);return t.createElement(e,d({width:o,height:o},r,{style:a,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},Le=ze((function(t){return e.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},t),g||(g=e.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),Me=ze((function(t){return e.createElement("svg",y({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),h||(h=e.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),He=ze((function(t){return e.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},t),b||(b=e.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),Te=ze((function(t){return e.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},t),w||(w=e.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),De=ze((function(t){return e.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),N||(N=e.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),Ae=ze((function(t){return e.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),k||(k=e.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),Re=ze((function(t){return e.createElement("svg",P({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},t),O||(O=e.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),_e=ze((function(t){return e.createElement("svg",S({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},t),j||(j=e.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),qe=ze((function(t){return e.createElement("svg",L({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),F||(F=e.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),I||(I=e.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),z||(z=e.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ze=ze((function(t){return e.createElement("svg",T({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),M||(M=e.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),H||(H=e.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ve=ze((function(t){return e.createElement("svg",A({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},t),D||(D=e.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),We=ze((function(t){return e.createElement("svg",q({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},t),R||(R=e.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),_||(_=e.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Qe=ze((function(t){return e.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Z||(Z=e.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ge=ze((function(t){return e.createElement("svg",G({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},t),W||(W=e.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),Q||(Q=e.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),Ue=ze((function(t){return e.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),U||(U=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),Ke=ze((function(t){return e.createElement("svg",J({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},t),X||(X=e.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),Xe=ze((function(t){return e.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),Y||(Y=e.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),Je=ze((function(t){return e.createElement("svg",te({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),ee||(ee=e.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),Ye=ze((function(t){return e.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},t),ae||(ae=e.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),$e=ze((function(t){return e.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},t),ne||(ne=e.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),et=ze((function(t){return e.createElement("svg",ce({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},t),ie||(ie=e.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),le||(le=e.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),tt=ze((function(t){return e.createElement("svg",ue({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},t),se||(se=e.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},e.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),e.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),e.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),e.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),e.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),me||(me=e.createElement("defs",null,e.createElement("clipPath",{id:"gift_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),nt=ze((function(t){return e.createElement("svg",fe({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},t),de||(de=e.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},e.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),pe||(pe=e.createElement("defs",null,e.createElement("clipPath",{id:"percent_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),rt=ze((function(t){return e.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},t),ge||(ge=e.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),at=ze((function(t){return e.createElement("svg",ye({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),he||(he=e.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ot=ze((function(t){return e.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},t),be||(be=e.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),it=ze((function(t){return e.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},t),we||(we=e.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill");!function(e){e[e.fill=0]="fill",e[e.pad=1]="pad",e[e.fit=2]="fit",e[e.mfit=3]="mfit",e[e.scale=4]="scale",e[e.limit=5]="limit",e[e.lpad=6]="lpad",e[e.mpad=7]="mpad",e[e.crop=8]="crop",e[e.fill_pad=9]="fill_pad",e[e.thumb=10]="thumb"}(Ne||(Ne={})),function(e){e[e.center=0]="center",e[e.north_east=1]="north_east",e[e.north=2]="north",e[e.north_west=3]="north_west",e[e.west=4]="west",e[e.south_west=5]="south_west",e[e.south=6]="south",e[e.south_east=7]="south_east",e[e.east=8]="east",e[e.liquid=9]="liquid",e[e.auto=10]="auto"}(Ce||(Ce={})),function(e){e[e.best=1]="best",e[e.good=2]="good",e[e.eco=3]="eco",e[e.low=4]="low",e[e.custom=5]="custom"}(ke||(ke={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Be||(Be={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(Oe||(Oe={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue"}(Pe||(Pe={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(je||(je={}));var lt=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},ct=function(e,t){var n="";return e&&(n=Be[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},st={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free"},summary:{addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry"}},mt=n(st),ut=mt.Provider,dt=function(e){var t=r(mt);return console.log({translations:t}),t[e]?t[e]:st[e]},pt=function(e){var n=e.accumulatedPurchaseBonus,r=void 0===n?0:n,a=e.discount,o=void 0===a?0:a,i=e.finalDeliveryPrice,l=void 0===i?0:i,c=e.currency,s=dt("bagesPaymentsOrderSummary");return t.createElement("div",{className:"bagesPaymentSummary"},0===l&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(rt,null),t.createElement("span",{className:"discountLabel"},s.freeDelivery)),o>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(nt,null),t.createElement("span",{className:"discountLabel"},ct(c,o)," ",s.discount)),r>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(tt,null),t.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};u(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:20px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .tooltip-container{position:relative}.orderSummary .summaryBody .summaryItem .tooltip-container:hover .tooltip{display:block}.orderSummary .summaryBody .summaryItem .tooltip{background:rgba(0,0,0,.8);border-radius:8px;color:#fff;display:none;font-size:14px;left:50%;max-width:400px;padding:8px;position:absolute;top:-40px}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:20px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:#007aff;cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");u(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var ft=function(e){var n=e.icon,r=e.onChange,a=p(e,["icon","onChange"]);return t.createElement("label",{className:"labelInput"},n&&n,t.createElement("input",d({},a,{onChange:r})))};u('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var gt=function(e){var n=e.value,r=e.disabled,a=e.onChange;return console.log("qwe",n),t.createElement("div",{className:l("customCheckbox",{selected:n,disabled:r}),onClick:function(){return!r&&a(!n)}})},vt=function(e){var n=e.accumulatedPurchaseBonus,r=e.discount,a=e.finalDeliveryPrice,o=e.currency,i=e.offerType,c=e.coupon,s=e.fullPrice,m=e.discounts,u=e.deliveryType,d=e.deliveryPrice,p=e.serviceFee,f=e.topupToMinimum,g=e.driverTip,v=e.hideCoupon,h=e.paymentBalance,y=e.finalPrice,b=e.setCoupon,x=e.disabledConfirm,w=e.onConfirm,E=e.customDiscount,N=e.customDiscountValue,C=e.setCustomDiscountValue,k=e.customFields,B=e.finalCharge,O=e.canceledOfferIds,P=e.toggleOffer,j=e.recalculateDiscounts,S=e.disableRecalculateDiscounts,F=e.showRecalculateDiscounts,I=e.onChangeRecalculateDiscounts,z=e.canManageDiscount,L=dt("summary"),M=function(e){var n=O.includes(e.offer_id);return t.createElement("div",{key:e.offer_id,className:"itemDiscount summaryItem"},t.createElement("span",{className:"itemName"},t.createElement("div",{className:"discount"},t.createElement("div",{className:"discountPart"},e.discount_type===Oe.bonus?L.bonus:2===e.offer_type?L.coupon:L.discount,e.offer_name&&t.createElement("div",{className:"discount-name"},e.offer_name)),!!e.coupon&&2===e.offer_type&&t.createElement(Ve,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return b("")}}))),t.createElement("div",{className:"inlineValue"},e.discount_type===Oe.common&&z&&t.createElement("div",{onClick:function(){return P(e.offer_id)},className:"controlOffer"},n?L.addRemovedOffer:L.removedOffer),!n&&t.createElement("div",{className:"priceBlue price"},"-",ct(o,e.discount))))};return t.createElement("div",{className:"orderSummary"},t.createElement("div",{className:"summaryBody"},t.createElement("span",{className:"head"},L.summary),!!k&&k.map((function(e){return t.createElement("div",{className:"summaryItem customFields",key:e.label},t.createElement("span",{className:"label"},e.label),t.createElement("span",{className:"value"},e.value))})),t.createElement("div",{className:"summaryItem subtotal"},t.createElement("span",null,L.subtotal),t.createElement("span",{className:"price"},ct(o,s))),!!m&&m.filter((function(e){return e.discount_target===je.products&&e.discount_type===Oe.common})).map(M),u===Pe.delivery&&t.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},t.createElement("span",null,d===a?L.deliveryCost:L.deliveryCostBase),t.createElement("span",{className:"price"},ct(o,d||a))),E&&t.createElement("div",{className:"summaryItem customDiscount"},t.createElement("span",null,L.discount),t.createElement("span",{className:"price"},t.createElement("input",{type:"number",value:N,onChange:function(e){var t=e.target;return C(t.value)}}),ct(o))),!!m&&m.filter((function(e){return e.discount_target===je.delivery})).map(M),u===Pe.delivery&&d!==a&&t.createElement("div",{className:"summaryItem deliveryCostFinal"},t.createElement("span",null,L.deliveryCostFinal),t.createElement("span",{className:"price"},ct(o,a))),!!m&&m.filter((function(e){return e.discount_target===je.products&&e.discount_type===Oe.bonus})).map(M),!!p&&t.createElement("div",{className:"summaryItem serviceFee"},t.createElement("span",{className:"tooltip-container"},L.serviceFee," ",t.createElement("span",{className:"question"},"?"),t.createElement("div",{className:"tooltip"},L.serviceFeeTooltip)),t.createElement("span",{className:"price"},ct(o,p))),!!f&&t.createElement("div",{className:"summaryItem item-question minimal-order"},t.createElement("span",{className:"tooltip-container"},L.minimumOrderCharge," ",t.createElement("span",{className:"question"},"?"),t.createElement("div",{className:"tooltip"},L.minimumOrderChargeTooltip)),t.createElement("span",{className:"price"},ct(o,f))),!!g&&t.createElement("div",{className:"summaryItem item-question"},t.createElement("span",{className:"tooltip-container"},L.driverTip,t.createElement("span",{"data-tooltip-id":"driver-tip",className:"question"},"?"),t.createElement("div",{className:"tooltip"},L.driverTooltip)),t.createElement("span",{className:"price"},ct(o,g))),!v&&m&&!m.some((function(e){return e.coupon&&2===e.offer_type}))&&t.createElement("span",{className:"promocode"},!!c.trim().length&&2!==i&&t.createElement("span",{className:"invalidCoupon"},L.invalidPromocode),c.length?t.createElement("span",{className:"inputArea"},t.createElement(ft,{autoFocus:!0,value:c,onChange:function(e){return b(e.target.value)},debounce:500}),t.createElement(Ve,{size:15,onClick:function(){return b("")},color:"var(--warning, #FE7171)"})):t.createElement("span",{onClick:function(){return b(" ")}},L.placeholderPromocode)),F&&t.createElement("div",{className:"summaryItem"},t.createElement("span",{className:l({disabled:S})},L.recalculateDiscounts),t.createElement("span",{className:"price"},t.createElement(gt,{value:j,onChange:I,disabled:S}))),null!==h&&t.createElement("div",{className:"summaryItem"},t.createElement("span",null,L.paymentBalance),t.createElement("span",{className:"price"},ct(o,h))),t.createElement("div",{className:"hr"}),t.createElement("div",{className:"summaryItem totalPrice"},t.createElement("span",{className:"total"},L.total),t.createElement("span",{className:"price priceBlue"},ct(o,y)))),t.createElement(pt,{currency:o,discount:r,accumulatedPurchaseBonus:n,finalDeliveryPrice:a}),t.createElement("div",{onClick:w,className:l("confirmButton",{disable:x})},L.confirm," ",!!B&&ct(o,B)))};u(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");var ht=function(e){var n=e.label,r=e.data,a=e.changeInLabel,o=void 0!==a&&a,i=e.hideChange,l=void 0!==i&&i,c=e.onChangeClick,s=dt("checkoutFormItem"),m=Array.isArray(r);return t.createElement("div",{className:"checkoutFormItem"},t.createElement("div",{className:"checkoutFormItemLabel"},n,o&&!l&&t.createElement("span",{className:"change",onClick:c},s.change)),t.createElement("div",{className:"checkoutFormItemData"},m&&t.createElement("div",{className:"arrayData"},r.map((function(e,n){return t.createElement("div",{key:n,className:"checkoutFormItemDataItem"},e)}))),!m&&t.createElement("div",{className:"checkoutFormItemDataItem"},r),!o&&!l&&t.createElement("span",{className:"change",onClick:c},s.change)))};u(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var yt=function(e){var n=e.count,r=e.isRemoveDisable,a=e.isAddDisable,o=e.onAdd,i=e.onRemove,c=e.onChangeQuantity;return t.createElement("div",{className:"counterButton"},t.createElement($e,{color:"var(--main-color, #007aff)",onClick:i,className:l("control",{disable:r})}),t.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,n=parseInt(t.value);c(n||0)}}),t.createElement(Ye,{color:"var(--main-color, #007aff)",onClick:o,className:l("control",{disable:a})}))};u(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton{border:none}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}");var bt=function(e){var n=e.cutlery,r=e.onAdd,a=e.onRemove,o=dt("cutlery");return t.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&t.createElement(t.Fragment,null,t.createElement(ot,{color:"var(--main-color, #007AFF)",size:20})," ",o.addCutlery),!!n&&t.createElement(t.Fragment,null,o.cutlery,t.createElement(yt,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return r(n+1)},onRemove:function(){return a(n-1)},onChangeQuantity:function(e){r(e<=0?0:e)}})))};u(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");var xt=function(e){var n=e.type,r=e.onChange,a=e.disableDelivery,o=e.disableTakeAway,i=dt("deliveryControl");return t.createElement("div",{className:"deliveryControl"},t.createElement("div",{className:l("control",{selected:Pe.takeAway===n,disable:o}),onClick:function(){return r(Pe.takeAway)}},t.createElement(Qe,{size:30,color:n===Pe.takeAway?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,i.pickUp)),t.createElement("div",{className:l("control",{selected:Pe.delivery===n,disable:a}),onClick:function(){return r(Pe.delivery)}},t.createElement(rt,{size:30,color:n===Pe.delivery?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,i.delivery)))};u(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");var wt=function(e){var n=e.ingredients,r=e.onSelect;return t.createElement("div",{className:"ingredients"},n.map((function(e){return t.createElement("div",{key:e.id,onClick:(n=e.id,function(){return r(n)}),className:l("ingredient",{selected:!!e.quantity})},e.name);var n})))};u(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var Et=function(e){var n=e.src,r=e.alt,a=e.width,o=e.height,i=e.quality,l=e.gravity,m=e.crop,u=e.id;return t.createElement(c,{id:u,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},t.createElement(s,{width:a,height:o,quality:i,gravity:l,crop:m}),t.createElement(s,{fetchFormat:"auto"}))},Nt=function(e){var n=e.autoPlay,r=e.onStart,i=e.id,l=e.src,c=e.onEnd,s=e.controls,m=a({playing:!1,muted:!1}),u=m[0],p=m[1],f=o(),g=function(){f.current.paused?(f.current.play(),p((function(e){return d(d({},e),{playing:!0})}))):(f.current.pause(),p((function(e){return d(d({},e),{playing:!1})})))},v=function(){f.current.muted=!f.current.muted,p((function(e){return d(d({},e),{muted:f.current.muted})}))};return t.createElement("div",{className:"videoControl"},s&&t.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!u.playing&&t.createElement(Ue,{color:"var(--main-color)",className:"control",onClick:g}),u.playing&&t.createElement(Ke,{color:"var(--main-color)",className:"control",onClick:g}),u.muted&&t.createElement(Xe,{color:"var(--main-color)",className:"control",onClick:v}),!u.muted&&t.createElement(Je,{color:"var(--main-color)",className:"control",onClick:v})),t.createElement(Ct,{autoPlay:n,src:l,onPlay:function(){r&&r(),p((function(e){return d(d({},e),{playing:!0})}))},onEnded:function(){c&&c()},videoRef:f,id:i}))},Ct=function(e){var n=e.videoRef,r=e.src,a=e.id,o=e.onPlay,i=e.onEnded,l=e.autoPlay;return t.createElement("video",{ref:n,src:r,id:a,onPlay:function(){o&&o()},autoPlay:l,onEnded:function(){i&&i()}})},kt=function(e){var n=e.src,r=e.settings,l=e.alt,c=e.id,s=p(e,["src","settings","alt","id"]),m=o(null),u=a({width:0,height:0}),f=u[0],g=u[1],v=n.includes("/image/"),h=n.includes("/video/"),y=n.replace("https://res.cloudinary.com/","").split("/");i((function(){f.width!==m.current.offsetWidth&&f.height!==m.current.offsetHeight&&g({width:m.current.offsetWidth||0,height:m.current.offsetHeight||0})}));return t.createElement("div",{ref:m,className:"mediaWrapper"},v&&t.createElement(Et,d({},s,{height:f.height?f.height:250,width:f.width?f.width:400,quality:"90",gravity:lt(Ce,(null==r?void 0:r.gravity_mode)||0),crop:lt(Ne,(null==r?void 0:r.crop_mode)||0),src:y,alt:l,id:c})),h&&t.createElement(Nt,d({},s,{height:f.height?f.height:250,width:f.width?f.width:400,quality:"90",gravity:lt(Ce,(null==r?void 0:r.gravity_mode)||0),crop:lt(Ne,(null==r?void 0:r.crop_mode)||0),id:c,src:n})))};u(".productConstructor .content{margin:0 0 20px}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{color:var(--warning,#fe7171);margin:0 5px}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");u(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid #007aff;border-radius:var(--border-radius,5px);color:#007aff;cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");u('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var Bt=function(){return t.createElement("div",{className:"lds-dual-ring"})},Ot=function(e){var n=e.isSummary,r=e.isLoading,a=e.isDisableNext,o=e.isDisablePrev,i=e.amount,c=e.currency,s=e.onPrev,m=e.onNext,u=e.count,d=e.isAddDisable,p=e.isRemoveDisable,f=e.onAdd,g=e.onRemove,v=e.onAddToCart,h=e.onChangeQuantity,y=dt("productConstructor");return t.createElement("div",{className:l("footerControls",{summary:n})},n?t.createElement(t.Fragment,null,t.createElement(yt,{count:u,isRemoveDisable:p||r,isAddDisable:d||r,onAdd:f,onRemove:g,onChangeQuantity:h}),t.createElement("div",{onClick:v,className:l("button major",{disable:r})},r?t.createElement(Bt,null):t.createElement(t.Fragment,null,t.createElement("div",{className:"addLabel"},t.createElement(_e,{color:"#fff",size:"small"}),y.addToCart),t.createElement("div",null,ct(c,i))))):t.createElement(t.Fragment,null,t.createElement("div",{onClick:s,className:l("button",{disable:o||r})},y.back),t.createElement("div",{onClick:m,className:l("button major",{disable:a||r})},r?t.createElement(Bt,null):t.createElement(t.Fragment,null,y.next," ",ct(c,i)))))};u(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var Pt=function(e){var n=e.steps,r=e.currentStep,a=n[r].component,o=n[r].name;return t.createElement("div",{className:"stepper"},t.createElement("div",{className:"stepperHeader"},o),t.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(e,a){return t.createElement(t.Fragment,{key:a},t.createElement("div",{className:l("step",{active:a===r})}),a!==n.length-1&&t.createElement("div",{className:"line"}))}))),a)};u(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:#007aff}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var jt,St=function(e){var n=e.free,r=e.amount,a=e.currency,o=e.freeLabel;return n?t.createElement("span",{className:"suboptionPrice"},o):r?t.createElement("span",{className:"suboptionPrice"},"+",ct(a,r)):t.createElement("span",{className:"suboptionPrice"})},Ft="#INGREDIENTS",It="#HALF_SELECTOR",zt="#HALF_SELECTOR_HALF";!function(e){e[e.none=0]="none",e[e.left=1]="left",e[e.right=2]="right"}(jt||(jt={}));var Lt=function(e,t){var n=[],r=e.filter((function(e){return e.half===jt.none||e.half===jt.left}));return t?r.forEach((function(e){n.push(d(d({},e),{half:jt.left})),n.push(d(d({},e),{half:jt.right}))})):r.forEach((function(e){n.push(d(d({},e),{half:jt.none}))})),n},Mt=function(e,t,n,r,a){var o,i=[],l=0;if((null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.length)&&i.push({name:a.ingredients,value:Dt(e.suboptions),index:l++}),t.forEach((function(e){i.push({name:e.name,value:Ht(e.suboptions),index:l++})})),n.length){var c=n.some((function(e){return e.half===jt.right}));i.push({name:a.toppings,value:c?a.half:a.full,index:l++})}return n.forEach((function(e){i.push({name:e.name,value:Ht(e.suboptions),index:l++})})),r&&i.push({name:a.comments,value:r,index:l++}),i},Ht=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},Tt=function(e,t){return e.name+(e.half===jt.right?t.right:"")+(e.half===jt.left?t.left:"")},Dt=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},At=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},Rt=function(e,t){if(!e.respectTo)return!0;var n=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!n||!n.quantity)},_t=function(e,t,n){var r={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return r.options=t.filter((function(e){return!e.withHalfOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return d(d({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption})).flatMap((function(t){var n=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.none}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.left}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.right}))}));return n?d(d({},t),{half:jt.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.none,quantity:t?t.quantity:0})}))}):r.isHalf||a&&o?(r.isHalf=!0,[d(d({},t),{half:jt.left,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.left,quantity:t?t.quantity:0})}))}),d(d({},t),{half:jt.right,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.right,quantity:t?t.quantity:0})}))})]):[t]})),e.product.ingredients.length&&n.forEach((function(t){var n=e.product.ingredients.find((function(e){return e===t.id}));r.ingredients.push(d(d({},t),{quantity:n?0:1}))})),r},qt=function(e,t){var n,r,a,o=null;if(e.withHalfOption){var i=(null==e?void 0:e.half)||jt.none;o=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}else o=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));return e.suboptions=null===(a=null==e?void 0:e.suboptions)||void 0===a?void 0:a.map((function(e){var t,n=null===(t=null==o?void 0:o.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(n){var r=d(d(d({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return d({},e)})),e},Zt=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},Vt=function(e,t,n,r){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")")},Wt=function(e){var n=e.suboptions,r=e.onChangeQuantity,a=e.currency,o=e.limitByMax,i=e.freeLabel,c=e.freeBudget,s=function(e,t){return function(){return r(e,t)}},m=function(e){var t;return!!o&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return t.createElement("div",{className:"suboptionMultiSelector"},n.map((function(e){return t.createElement("div",{className:"suboption",key:e.id},t.createElement("span",{className:l("suboptionName",{selected:!!e.quantity})},e.name,e.description&&t.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement("div",{className:"counterSection"},t.createElement(St,{free:Zt(c,e).free,amount:Zt(c,e).amount,currency:a,freeLabel:i}),t.createElement(yt,{count:e.quantity||0,isAddDisable:m(e),isRemoveDisable:!e.quantity,onAdd:s(e.id,(e.quantity||0)+1),onRemove:s(e.id,(e.quantity||0)-1),onChangeQuantity:function(t){return s(e.id,t)()}})))})))};u('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var Qt=function(e){var n=e.freeLabel,r=e.ingredients,a=e.onSelect,o=e.currency,i=e.freeBudget;return t.createElement("div",{className:"extrasRadio"},r.map((function(e){return t.createElement("div",{key:e.id,onClick:(r=e.id,c=e.quantity||1,function(){return a(r,c)}),className:l("extra",{selected:!!e.quantity})},t.createElement("span",{className:"extraName"},e.name,e.description&&t.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement(St,{freeLabel:n,free:Zt(i,e).free,amount:Zt(i,e).amount,currency:o}));var r,c})))};u(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var Gt=function(e){var n=e.message;return t.createElement("div",{className:"warning"},t.createElement(et,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};u(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var Ut=function(e){var n=e.name,r=e.comment,a=e.onCommentChange,o=e.onNameChange,i=dt("productConstructor");return t.createElement("div",{className:"productCommentSection"},t.createElement("span",{className:"inputName"},i.addName),t.createElement(ft,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:n}),t.createElement("span",{className:"inputName"},i.addComment),t.createElement(ft,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:r}))};u(".productSummary .line{color:#0e1328;display:grid;font-size:14px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .button{align-items:center;background:var(--secondary-color,#cee6ff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}");var Kt=function(e){var n=e.summary,r=e.onClickChange,a=dt("productConstructor");return t.createElement("div",{className:"productSummary"},n.map((function(e){return t.createElement("div",{className:"line",key:e.name+e.index},t.createElement("div",{className:"name"},e.name),t.createElement("div",{className:"value"},e.value),t.createElement("div",{onClick:function(){return r(e.index)},className:"button"},a.change))})))};u(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var Xt=function(e){var n=e.suboptions,r=e.onSelect,a=e.currency,o=e.freeBudget,i=e.freeLabel;return t.createElement("div",{className:"suboptionsCheckbox"},n.map((function(e){return t.createElement("div",{key:e.id,onClick:(n=e.id,c=e.quantity?0:1,function(){return r(n,c)}),className:l("suboptionCheckbox",{selected:!!e.quantity})},t.createElement("span",{className:"suboptionName"},e.name,e.description&&t.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement(St,{free:Zt(o,e).free,amount:Zt(o,e).amount,currency:a,freeLabel:i}));var n,c})))},Jt=function(e){var n=e.name,r=e.media,l=e.currency,c=e.price,s=e.oldPrice,m=e.description,u=e.totalPrice,p=e.allowComments,g=e.options,v=e.optionsHalf,h=e.max,y=e.quantity,b=e.ingredients,x=e.nameOnBox,w=e.comments,E=e.isLoading,N=e.isHalf,C=e.summaryOpen,k=e.onChangeIngredients,B=e.onChangeOption,O=e.onChangeOptionHalf,P=e.onChangeNameOnBox,j=e.onChangeComment,S=e.onAdd,F=e.onRemove,I=e.onAddToCart,z=e.onChangeIsHalf,L=e.disableAutoScroll,M=e.updateOptionOfActualData,H=e.onChangeQuantity,T=dt("errorConstructor"),D=dt("productConstructor"),A=a(null),R=A[0],_=A[1],q=a([]),Z=q[0],V=q[1],W=a(0),Q=W[0],G=W[1],U=a(!0),K=U[0],X=U[1],J=o(),Y=o(),$=function(e){G(e),ee()},ee=function(){L||setTimeout((function(){(null==J?void 0:J.current.scrollTop)<=20&&J.current.scrollTo({top:((null==Y?void 0:Y.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};i((function(){var e=f(f([],g,!0),v,!0),t=function(e,t,n,r){var a=e.filter((function(e){return e.enabled})),o=t.filter((function(e){return e.enabled}));if(o.length){var i={name:r.toppings,freeBudget:0,enabled:!0,max:1,min:1,id:It,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:jt.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,enabled:!0,max:1,id:zt,quantity:Number(n)}]};a.push(i)}return[].concat(a).concat(o)}(g.filter((function(t){return Rt(t,e)})),v.filter((function(t){return Rt(t,e)})),N,D);if(V(t),b.length&&_(function(e,t){return{id:Ft,freeBudget:0,min:0,respectTo:null,half:jt.none,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return d(d({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(b,D)),K&&C){var n=0;t.length&&(n+=t.length),b.length&&(n+=1),p&&(n+=1),G(n)}X(!1)}),[b,g,v,N]);var te=function(){var e=re()[Q];return!!(null==e?void 0:e.id)&&function(e,t){var n=e.suboptions.reduce((function(e,t){var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0);return 1===e.max&&1===e.min&&1!==n?"".concat(t.selectOneOf,": ").concat(e.name):e.min>n?"".concat(t.selectAtLeast," ").concat(e.min," ").concat(t.for," ").concat(e.name):e.max<n&&e.min!==e.max?"".concat(t.maximumAvailable," ").concat(e.max," ").concat(t.for," ").concat(e.name):void 0}(e,T)},ne=function(e){var n=M(e),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,o=function(e,t){!function(e){return e===It}(n.id)?n.withHalfOption?O(n.id,e,n.half,t):B(n.id,e,t):z(function(e){return e===zt}(e))},i=e.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return r?t.createElement(Qt,{key:n.id,currency:l,ingredients:n.suboptions,onSelect:o,freeBudget:e.freeBudget,freeLabel:D.free}):a?t.createElement(Wt,{key:n.id,currency:l,suboptions:n.suboptions,onChangeQuantity:o,limitByMax:n.limitSuboptionsByMax,freeBudget:e.freeBudget,freeLabel:D.free}):t.createElement(Xt,{key:n.id,currency:l,suboptions:n.suboptions,onSelect:o,freeBudget:e.freeBudget,totalQuantity:i,freeLabel:D.free})},re=function(){var e=[];return R&&e.push({name:D.ingredients,component:t.createElement(wt,{ingredients:R.suboptions,onSelect:k})}),e.push.apply(e,Z.filter((function(e){return Rt(e,Z)})).map((function(e){return d(d({},e),{name:"".concat(Tt(e,D)," ").concat(Vt(e.min,e.max,e.freeBudget,D.free)),component:ne(e)})}))),p&&e.push({name:D.comments,component:t.createElement(Ut,{name:x,comment:w,onNameChange:P,onCommentChange:j})}),e.push({name:D.summary,component:t.createElement(Kt,{summary:Mt(R,Z.filter((function(e){return!e.withHalfOption})).filter((function(e){return e.id!=It})),Z.filter((function(e){return e.withHalfOption})).filter((function(e){return e.id!=It})),p?"".concat(w||"-"," | ").concat(x||"-"):null,D),onClickChange:function(e){return G(e)}})}),e};return t.createElement("div",{className:"productConstructor",ref:J},t.createElement("div",{className:"content"},!!r&&t.createElement("div",{ref:Y},t.createElement(kt,d({},r))),t.createElement("div",{className:"headProduct"},t.createElement("div",{className:"name"},n),t.createElement("div",{className:"priceControl"},!!s&&t.createElement("div",{className:"oldPrice"},ct(l,s)),!!c&&t.createElement("div",{className:"price"},ct(l,c)))),t.createElement("div",{className:"description"},m)),te()&&t.createElement(Gt,{message:te().toString()}),!!re().length&&t.createElement(Pt,{steps:re(),currentStep:Q}),t.createElement(Ot,{isLoading:E,isSummary:Q===re().length-1,isDisableNext:!!te(),isDisablePrev:0===Q,currency:l,onPrev:function(){return $(Q-1)},onNext:function(){return $(Q+1)},onAddToCart:I,amount:u,count:y,onRemove:F,onAdd:S,isAddDisable:!!h&&y===h,isRemoveDisable:0===y,onChangeQuantity:function(e){H(e<=0?0:e)}}))};u(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:600;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");u(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");u(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var Yt=function(e){var n=e.className,r=void 0===n?"":n,a=e.label,o=e.icon;return t.createElement("div",{className:"tag "+r||""},t.createElement("span",{className:"tagLabel"},a),o)},$t=function(e){var n=e.vegan,r=e.vegetarian,a=e.isNew,o=e.spicy,i=e.glutenFree,l=dt("tag"),c=function(){return a?t.createElement(Yt,{label:"new",className:"additionItem",icon:t.createElement(Me,null)}):null},s=function(){return n?t.createElement(Yt,{label:l.vegan,className:"additionVegan",icon:t.createElement(t.Fragment,null,t.createElement(Te,null),t.createElement(Te,null))}):r?t.createElement(Yt,{label:l.vegetarian,className:"additionVegetarian",icon:t.createElement(Te,null)}):null},m=function(){return o?t.createElement(Yt,{label:l.spicy,className:"additionSpicy",icon:t.createElement(t.Fragment,null,Array(o).fill(0).map((function(e,n){return t.createElement(De,{key:n})})))}):null},u=function(){return i?t.createElement(Yt,{label:l.glutenFree,className:"additionNoGluten",icon:t.createElement(Ae,null)}):null};return c()||s()||m()||u()?t.createElement("div",{className:"productTags"},c(),s(),m(),u()):null},en=function(e){var n=e.id,r=e.currency,a=e.name,o=e.description,i=e.price,c=e.oldPrice,s=e.image,m=e.trashIcon,u=void 0!==m&&m,d=e.onClickTrash,p=e.onClick,f=e.vegetarian,g=e.vegan,v=e.isNew,h=e.spicy,y=e.glutenFree,b=e.quantity;return t.createElement("div",{className:"productPreview",onClick:function(){null==p||p(n)}},t.createElement(kt,{src:s.src,alt:s.alt,settings:s.settings}),t.createElement("div",{className:"productReviewBody"},t.createElement("div",{className:"productReviewHead"},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},a),u&&t.createElement(Le,{onClick:function(e){e.stopPropagation(),null==d||d(n)},width:20,height:20})),t.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:o}})),t.createElement("div",{className:"productReviewFooter"},t.createElement("div",{className:"options"},t.createElement($t,{isNew:v,spicy:h,vegan:g,glutenFree:y,vegetarian:f})),t.createElement("div",{className:"priceBlock"},!!c&&t.createElement("div",{className:l("oldPrice",{lineThrough:!b})},ct(r,c)),!!b&&t.createElement("span",{className:"quantity"}," x",b," "),!!i&&t.createElement("div",{className:l("currentPrice",{newPrice:!!c&&!b})},ct(r,i))))))};u(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");var tn=function(e){var n=e.categories,r=e.onClickProduct;return t.createElement("div",{className:"productPreviewList"},n.map((function(e){return t.createElement("div",{key:e.name,className:"category"},t.createElement("div",{id:e.name,className:"categoryName"},e.name),e.products.map((function(n){return t.createElement(en,d({key:n.id},n,{onClick:function(t){return r(e.id,t)}}))})))})))};u(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");u(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var nn=function(e){var n=e.score,r=e.isNew,a=e.kosher;return t.createElement("div",{className:"restaurantTags"},!!r&&t.createElement(Yt,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&t.createElement(Yt,{label:n.toFixed(1),className:"restaurantTagScore",icon:t.createElement(Me,null)}),!!a&&t.createElement(Yt,{label:"kosher",className:"restaurantTagKosher"}))};u(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var rn=function(e){var n=e.currency,r=e.amount,a=e.onClick;return t.createElement("div",{className:"headerCartButton",onClick:a},t.createElement(_e,{className:"icon"}),t.createElement("span",{className:"label"},"Checkout"),t.createElement("span",{className:"price"},ct(n,r)))};u(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var an=function(e){var n=e.dontHide,r=e.minimum,o=e.isPickUp,c=e.withTitle,s=e.estimationRangeMax,u=e.estimationRangeMin,d=e.estimationTime,p=e.distance,f=e.deliveryPrice,g=e.currency,v=e.deliveryToLocation,h=a([]),y=h[0],b=h[1];return i((function(){var e=[];r&&e.push(t.createElement("div",{className:l("footer-item mini-order")},t.createElement(_e,null),c&&t.createElement("span",{className:l("title")},"Min order"),ct(g,r))),p&&!o&&e.push(t.createElement("span",{className:l("footer-item")},t.createElement(We,null),c&&t.createElement("div",{className:l("title")},"Distance"),"distanceKm ",p)),(s||u)&&e.push(t.createElement("div",{className:l("time footer-item")},o?t.createElement(Ze,null):t.createElement(Qe,null),c&&t.createElement("div",{className:l("title")},o?"Pickup time":"Delivery time"),u,"-",s," min")),!o&&v&&e.push(t.createElement("div",{className:l("footer-item delivery-price")},t.createElement(qe,null),c&&t.createElement("span",{className:l("title")},"deliveryPrice"),f?ct(g,f):t.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",t.createElement(Ge,null)," "))),0===s&&0===u&&d&&e.push(t.createElement("div",{className:l("time footer-item")},o?t.createElement(Qe,null):t.createElement(Ze,null),"up_to ",d,"  min")),b(e)}),[r,o,s,u,d,p,f,g,v]),t.createElement(m,{className:"footer benefitsData",minVisibleItems:n?y.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:y})},on=function(e){var n=e.name,r=e.isFavorite,a=e.isNew,o=e.kosher,i=e.score,l=e.cartAmount,c=e.alternativeView,s=e.currency,m=e.searchValue,u=e.onSearch,d=e.onCartClick;return t.createElement("div",{className:"restaurantHeader"},t.createElement("div",{className:"restaurantHeaderTop"},t.createElement("div",{className:"topLeft"},t.createElement("div",{className:"restaurantHeaderName"},n,r?t.createElement(Me,null):t.createElement(He,null)),(!!l||c)&&t.createElement(nn,{isNew:a,kosher:o,score:i})),t.createElement("div",{className:"topRight"},!!l&&!c&&t.createElement(rn,{onClick:d,amount:l,currency:s}))),t.createElement("div",{className:"restaurantHeaderBottom"},!c&&!l&&t.createElement(nn,{isNew:a,kosher:o,score:i}),t.createElement("div",{className:"benefits"},t.createElement(an,{deliveryToLocation:1,currency:s,minimum:10})),!!l&&c&&t.createElement("div",{className:"bottomRight"},t.createElement(ft,{className:"input",placeholder:"Search in menu...",icon:t.createElement(Re,null),value:m,onChange:u}),t.createElement(rn,{onClick:d,amount:l,currency:s}))))};u(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");var ln=function(e){var n=e.isGift,r=e.onChange,a=e.name,o=e.phone,i=e.greeting,c=e.isReadonly,s=e.onToggleGift,m=dt("gift"),u=function(e,t){var n;r(((n={name:a,phone:o,greeting:i})[e]=t,n))};return t.createElement("div",{className:"giftControl"},t.createElement("div",{className:l("giftControlButton",{selected:n}),onClick:function(){return!c&&s()}},t.createElement(tt,{color:n?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,m.itsGift)),n&&t.createElement("div",{className:"giftControlForm"},t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},m.name),t.createElement(ft,{readOnly:c,value:a,onChange:function(e){var t=e.target;return u("name",t.value)},placeholder:m.namePlaceholder})),t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},m.phone),t.createElement(ft,{readOnly:c,value:o,onChange:function(e){var t=e.target;return u("phone",t.value)},placeholder:m.phonePlaceholder})),t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},m.greeting),t.createElement("textarea",{readOnly:c,value:i,onChange:function(e){var t=e.target;return u("greeting",t.value)},placeholder:m.greetingPlaceholder}))))};u(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{align-items:center;cursor:pointer;display:flex;font-size:18px;font-weight:600;justify-content:space-between;margin:0 0 10px}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .price{font-size:14px}.summaryBlock .products .product .price .finalPrice{font-size:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");var cn=function(e){var n=dt("summary");return t.createElement("div",{className:"summaryBlock"},t.createElement("div",{className:"headerContent"},n.summary),t.createElement("div",{className:"products"},e.products.map((function(n,r){return t.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return e.onClickProduct(r)}},t.createElement("div",{className:"productName"},t.createElement(it,{size:"small",color:"var(--main-color, #007AFF)"}),n.name),t.createElement("div",{className:"price"},t.createElement("span",{className:"quantityAndPrice"},n.quantity," x ",t.createElement("span",{className:"priceForOne"},n.price," ",ct(e.currency)," ")),t.createElement("span",{className:"finalPrice"},n.full_price," ",ct(e.currency))))}))),t.createElement(vt,d({},e)))};u(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");var sn=function(e){var n=e.type,r=e.onChange,a=e.disabled,o=void 0!==a&&a,i=e.items;return t.createElement("div",{className:"tabsControl"},i.map((function(e){return t.createElement("div",{key:"tabs-control-"+e.text,className:l("control",{selected:e.type===n,disable:e.disabled||o}),onClick:function(){return r(e.type)}},e.icon&&t.createElement("div",{className:"icon"},e.icon()),t.createElement("span",null,e.text))})))};export{pt as BagesPaymentsOrderSummary,gt as Checkbox,ht as CheckoutFormItem,yt as CounterButton,bt as CutleryButton,xt as DeliveryControl,ln as GiftControl,jt as HALF_OPTION,Ft as INGREDIENTS,qe as IconBicycle,_e as IconCart,Ze as IconClockAfternoon,Ve as IconClose,ot as IconCutlery,at as IconDone,it as IconEditPen,tt as IconGift,We as IconMapPin,$e as IconMinus,rt as IconMoto,Xe as IconMute,Ae as IconNoGluten,Ke as IconPause,nt as IconPercent,Qe as IconPersonSimpleWalk,Ue as IconPlay,Ye as IconPlus,Re as IconSearch,Ge as IconSparkle,De as IconSpicy,Me as IconStar,He as IconStarBorder,Le as IconTrash,Je as IconUnmute,Te as IconVegan,et as IconWarning,wt as IngredientsSelector,ft as Input,kt as Media,vt as OrderSummary,cn as OrderSummaryWithProducts,Jt as ProductConstructor,en as ProductPreview,tn as ProductPreviewList,$t as ProductTags,on as RestaurantHeader,Pt as Stepper,Wt as SuboptionMultiSelector,Qt as SuboptionRadioSelector,sn as TabsControl,ut as TranslationUIProvider,Gt as Warning,Rt as checkRespectTo,At as convertToServerModelOptions,qt as mergeOption,_t as mergeProduct,Lt as prepareHalfOptions};
1
+ import*as e from"react";import t,{createContext as n,useContext as r,useState as a,useRef as o,useEffect as i}from"react";import c from"classnames";import{Image as l,Transformation as s}from"cloudinary-react";import{OverflowList as u}from"react-overflow-list";function m(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}m(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");m(".bagesPaymentSummary{align-items:center;display:flex;justify-content:space-around;position:relative}.bagesPaymentSummary .discountItem{align-items:center;border-right:2px solid #cfd1d4;display:flex;flex-direction:column;justify-content:center;margin:20px 0 0;padding:5px 0 0;width:100%}.bagesPaymentSummary .discountItem:last-child{border-right:none}.bagesPaymentSummary .discountItem .doneBg{align-items:center;background:var(--main-color);border-radius:100px;display:flex;height:15px;justify-content:center;position:absolute;top:15px;-webkit-transform:translateX(15px);transform:translateX(15px);width:15px;z-index:2}.bagesPaymentSummary .discountLabel{display:inline-block;font-size:12px;font-weight:500;margin:5px 0 0;text-align:center}");var d=function(){return d=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},d.apply(this,arguments)};function p(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function f(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var g;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v.apply(this,arguments)}m(".iconsPreview{display:grid;gap:20px;grid-template-columns:repeat(6,1fr);justify-items:center}.iconsPreview .previewIcon{align-items:center;display:flex;flex-direction:column;font-size:14px;justify-content:center}.iconsPreview .previewIcon span{display:inline-block;margin:0 0 5px}.fillByFill{fill:#000}.fillByStroke{stroke:#000}");var h;function y(){return y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}var b;function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},x.apply(this,arguments)}var w;function E(){return E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E.apply(this,arguments)}var N;function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}var k;function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},B.apply(this,arguments)}var O;function P(){return P=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P.apply(this,arguments)}var j;function S(){return S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}var I,F,L;function z(){return z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},z.apply(this,arguments)}var M,H;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},T.apply(this,arguments)}var D;function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},R.apply(this,arguments)}var A,q;function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(this,arguments)}var Z;function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},V.apply(this,arguments)}var Q,W;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(this,arguments)}var U;function K(){return K=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},K.apply(this,arguments)}var X;function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(this,arguments)}var Y;function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}var ee;function te(){return te=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},te.apply(this,arguments)}var ne;function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},re.apply(this,arguments)}var ae;function oe(){return oe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},oe.apply(this,arguments)}var ie,ce;function le(){return le=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},le.apply(this,arguments)}var se,ue;function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(this,arguments)}var de,pe;function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fe.apply(this,arguments)}var ge;function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ve.apply(this,arguments)}var he;function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ye.apply(this,arguments)}var be;function xe(){return xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},xe.apply(this,arguments)}var we;function Ee(){return Ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ee.apply(this,arguments)}var Ne,Ce,ke,Be,Oe,Pe,je,Se=20,Ie=25,Fe=30,Le=function(e,n){return function(r){var a=function(e){var t=e.className,n=e.props,r={};return n.color&&t.includes("Fill")&&(r.fill=n.color),n.color&&t.includes("Stroke")&&(r.stroke=n.color),r}({className:n,props:r}),o=function(e){return"small"===e?Se:"big"===e?Fe:e||Ie}(r.size);return t.createElement(e,d({width:o,height:o},r,{style:a,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},ze=Le((function(t){return e.createElement("svg",v({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},t),g||(g=e.createElement("path",{d:"M28 6a4 4 0 0 0-4 4v2h-.4L10 14v3h44v-3l-13.6-2H40v-2a4 4 0 0 0-4-4h-8zm0 4h8v2h-8v-2zm-16 9 2.701 33.322A4.002 4.002 0 0 0 18.69 56h26.623a3.999 3.999 0 0 0 3.987-3.676L51.924 20 12 19zm8 7a2 2 0 0 1 2 2v23h-3l-1-23a2 2 0 0 1 2-2zm12 0a3 3 0 0 1 3 3v22h-6V29a3 3 0 0 1 3-3zm12 0a2 2 0 0 1 2 2l-1 23h-3V28a2 2 0 0 1 2-2z"})))}),"fillByFill"),Me=Le((function(t){return e.createElement("svg",y({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),h||(h=e.createElement("path",{d:"m13.547 5.247-4.196-.639L7.474.625a.52.52 0 0 0-.949 0L4.65 4.608l-4.196.639a.52.52 0 0 0-.303.16.569.569 0 0 0 .01.785l3.037 3.1-.718 4.378a.577.577 0 0 0 .031.302.55.55 0 0 0 .18.24.514.514 0 0 0 .556.04L7 12.187l3.754 2.067a.504.504 0 0 0 .335.055.551.551 0 0 0 .432-.638l-.717-4.378 3.036-3.1a.563.563 0 0 0 .154-.317.549.549 0 0 0-.447-.628Z"})))}),"fillByFill"),He=Le((function(t){return e.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},t),b||(b=e.createElement("path",{d:"m30.164 12.064-9.035-1.369L17.09 2.16a1.158 1.158 0 0 0-.516-.538c-.562-.289-1.245-.048-1.526.538l-4.039 8.535-9.035 1.369a1.12 1.12 0 0 0-.65.345c-.212.226-.328.53-.324.845.004.315.128.615.344.835l6.537 6.643-1.544 9.38c-.036.22-.013.444.067.649.08.205.213.383.385.513a1.099 1.099 0 0 0 1.199.09l8.081-4.43 8.081 4.429c.22.122.477.163.723.119.619-.112 1.035-.724.928-1.37l-1.544-9.38 6.537-6.643c.178-.182.295-.42.33-.679.097-.649-.337-1.25-.96-1.346Z"})))}),"fillByStroke"),Te=Le((function(t){return e.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},t),w||(w=e.createElement("path",{d:"M11.688 1.167c.711-.08 1.385.438 1.385 1.153 0 6.778-3.783 9.856-8.448 9.856-.724 0-1.313-.619-1.153-1.325.317-1.39 1.014-2.424 2.347-3.604.847-.75.776-1.182.358-.934-2.875 1.711-4.303 4.023-4.366 7.715a.263.263 0 0 1-.263.26h-.44a.683.683 0 0 1-.692-.706 12.9 12.9 0 0 1 .152-1.505c.045-.276.049-.557.01-.834-.118-.859-.177-1.956-.177-3.29A7.04 7.04 0 0 1 7.44.912c1.156 0 2.312.474 4.247.254Z"})))}),"fillByFill"),De=Le((function(t){return e.createElement("svg",C({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),N||(N=e.createElement("path",{d:"M49.1 11c-2.8 5-2.5 9.4.7 9.8 2.8.4 2.9 3.2.2 3.2-1.2 0-3.5-.7-5.1-1.6-3.3-1.7-4.5-1.4-3.6 1.1.4.8 2.6 2 5.1 2.7 4.4 1.2 5.3 2.8 1.6 2.8-1.2 0-2.9 1.9-4.9 5.4-3.8 6.8-9.2 12.1-15.6 15.3-2.7 1.4-5.3 3-5.6 3.5-.3.5-3 .8-6 .6l-5.4-.3 3.1-1.7C21.4 47.6 30.7 35.9 35 25c2.2-5.4 3.3-6.8 6.3-8.3 4.1-2.1 4-4.2-.2-3.2-4 1-6.7 4.1-9 10.4C28.6 33.7 21 43 10.5 50.6c-2.5 1.9-2.8 2.5-1.9 4 1 1.6 2.4 1.9 10.2 1.8 7.6 0 9.8-.4 14.5-2.8 7.2-3.5 12.9-10 17.8-20 4.4-9.1 4.8-12.2 1.8-16.1-2.1-2.5-2.1-2.9-.6-6 1.4-3 1.4-4.5-.3-4.5-.3 0-1.6 1.8-2.9 4z"})))}),"fillByFill"),Re=Le((function(t){return e.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),k||(k=e.createElement("path",{d:"M5.4 6.1c-.4.7 10 11.8 25.2 27 20.5 20.5 26.1 25.6 27.2 24.7 1.1-.9-.1-2.6-6.2-8.7-6.6-6.7-7.4-7.8-6.4-9.6.6-1.1 2-2.6 3-3.3 2.5-1.8 4.8-6.5 4.8-10 0-1.6.7-4.6 1.5-6.5.8-2 1.5-5.5 1.5-7.7V8h-4c-2.2 0-5.7.7-7.7 1.5-1.9.8-4.9 1.5-6.5 1.5-3.5 0-8.2 2.3-10 4.8-.7 1.1-2.2 2.4-3.4 3-1.8 1-2.9.3-9.5-6.4C10.9 8.3 7.2 5 6.8 5c-.4 0-1 .5-1.4 1.1zM52 13.4c0 2.8-2.3 7.7-4 8.6-1 .6-3 1-4.4 1-2.1 0-2.6-.5-2.6-2.4 0-3.9 1.1-5.7 4.4-7.2 4-1.7 6.6-1.7 6.6 0zm-14 3.3c0 3.6-2.1 9.1-4.1 10.9-2 1.8-2.1 1.8-3.5-.1-2.2-3-1.7-6.4 1.5-9.6 3.3-3.3 6.1-3.8 6.1-1.2zm10.7 11c.7 1.9-5.2 7.3-7.9 7.3-1.3 0-3.3-.6-4.4-1.4-1.9-1.5-1.9-1.5.2-3.6 3.4-3.4 11.3-4.9 12.1-2.3zM13.8 29c-7.6 6.2-7.7 14.4-.5 21.7 7.3 7.2 15.5 7.1 21.7-.5 2.8-3.4 2.8-3.7 1.3-5.4-.9-1-3-1.8-4.8-1.8-4.1 0-6.3-2.3-4.5-4.5.7-.9 1-1.8.7-2.2-.4-.3-1.3 0-2.2.7-2.2 1.8-4.5-.4-4.5-4.5 0-1.8-.8-3.9-1.8-4.8-1.7-1.5-2-1.5-5.4 1.3zm4.8 5.3c1.8 7.2-1.9 14.6-5.2 10.3-2-2.8-1.7-6.9.7-10 2.5-3.2 3.7-3.3 4.5-.3zM31 46c1.3.9 1.1 1.4-1.3 3.5-5.3 4.7-15.3 1.5-10.5-3.3 1.5-1.5 9.7-1.6 11.8-.2z"})))}),"fillByFill"),Ae=Le((function(t){return e.createElement("svg",P({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},t),O||(O=e.createElement("path",{d:"m20.998 20.038-5.236-5.445a8.854 8.854 0 0 0 2.084-5.71C17.846 3.984 13.86 0 8.963 0S.081 3.985.081 8.882c0 4.898 3.984 8.883 8.882 8.883 1.839 0 3.591-.555 5.09-1.607l5.275 5.487c.22.229.517.355.835.355a1.16 1.16 0 0 0 .835-1.962ZM8.963 2.319a6.573 6.573 0 0 1 6.566 6.564 6.573 6.573 0 0 1-6.566 6.566 6.573 6.573 0 0 1-6.565-6.566 6.573 6.573 0 0 1 6.565-6.565Z"})))}),"fillByFill"),qe=Le((function(t){return e.createElement("svg",S({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},t),j||(j=e.createElement("path",{d:"M6.574 8.57c0-.73-.002-1.41 0-2.09C6.587 2.742 9.586-.137 13.32.005c3.286.125 6.037 2.919 6.104 6.21.016.767.002 1.537.002 2.352h.376c1.618.001 3.235 0 4.853.002.825.002 1.276.519 1.185 1.332-.357 3.18-.706 6.36-1.063 9.54-.26 2.316-.497 4.635-.796 6.946-.26 2.007-2.022 3.556-4.053 3.596-1.584.031-3.169.01-4.753.01H6.47c-2.536 0-4.264-1.59-4.53-4.108-.329-3.127-.694-6.25-1.042-9.375-.247-2.215-.496-4.432-.74-6.648C.073 9.086.537 8.57 1.32 8.57c1.618-.003 3.236 0 4.854 0h.4Zm12.87 4.262c.114.029.213.047.307.078.492.16.803.635.745 1.136-.057.496-.476.928-.979.943-.768.023-1.54.02-2.309 0-.48-.012-.884-.397-.977-.867-.091-.465.16-.961.6-1.16.139-.062.291-.093.43-.137V10.73H8.734v2.1c.116.03.215.049.31.08.486.16.797.642.738 1.14-.06.5-.475.924-.983.938-.769.023-1.539.024-2.308.002-.506-.015-.924-.444-.982-.94a1.065 1.065 0 0 1 .739-1.138c.102-.034.208-.057.3-.08v-2.103H2.421c.034.327.064.634.098.941.258 2.304.517 4.609.773 6.914.273 2.46.535 4.92.818 7.38.126 1.095 1.019 1.882 2.126 1.884 4.507.008 9.015.008 13.522.002 1.107-.001 2-.78 2.132-1.88.222-1.848.413-3.7.62-5.55l.773-6.948.3-2.74h-4.138v2.1ZM8.662 8.545h8.625c0-.736.006-1.45-.001-2.162-.023-2.19-1.672-3.981-3.885-4.224-2.069-.227-4.12 1.19-4.537 3.273-.2 1.002-.142 2.057-.202 3.113Z"})))}),"fillByFill"),_e=Le((function(t){return e.createElement("svg",z({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),I||(I=e.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),F||(F=e.createElement("path",{d:"M19.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 18.75a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5ZM4.5 6h2.625l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),L||(L=e.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ze=Le((function(t){return e.createElement("svg",T({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),M||(M=e.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),H||(H=e.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ve=Le((function(t){return e.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},t),D||(D=e.createElement("path",{d:"m17.857 15.825-6.495-6.494 6.495-6.495A1.531 1.531 0 0 0 15.692.672L9.197 7.166 2.703.672A1.53 1.53 0 0 0 .538 2.836l6.494 6.495-6.494 6.495a1.53 1.53 0 0 0 2.165 2.164l6.494-6.494 6.495 6.494a1.531 1.531 0 0 0 2.165-2.164Z"})))}),"fillByFill"),Qe=Le((function(t){return e.createElement("svg",_({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},t),A||(A=e.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),q||(q=e.createElement("path",{d:"M19.5 9.75c0 6.75-7.5 12-7.5 12s-7.5-5.25-7.5-12a7.5 7.5 0 0 1 15 0Z",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),We=Le((function(t){return e.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Z||(Z=e.createElement("path",{d:"M14.25 7.25a2.25 2.25 0 1 0 0-4.5 2.25 2.25 0 0 0 0 4.5ZM4.5 12.5s5.25-5.25 8.25-2.475c1.678 1.547 3 3.975 6.75 3.975M12.234 9.632 6.75 22.25M14.25 22.25V17l-3.984-2.84",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Ge=Le((function(t){return e.createElement("svg",G({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},t),Q||(Q=e.createElement("path",{d:"m8.669 10.969-1.2 3.256a.5.5 0 0 1-.938 0l-1.2-3.256a.506.506 0 0 0-.3-.3l-3.256-1.2a.5.5 0 0 1 0-.938l3.256-1.2a.506.506 0 0 0 .3-.3l1.2-3.256a.5.5 0 0 1 .938 0l1.2 3.256a.506.506 0 0 0 .3.3l3.256 1.2a.5.5 0 0 1 0 .938l-3.256 1.2a.506.506 0 0 0-.3.3Z"})),W||(W=e.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),Ue=Le((function(t){return e.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),U||(U=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.528 5.118a1 1 0 0 1 1.027.05l9 6a1 1 0 0 1 0 1.664l-9 6A1 1 0 0 1 8 18V6a1 1 0 0 1 .528-.882ZM10 7.868v8.263L16.197 12 10 7.869Z"})))}),"fillByFill"),Ke=Le((function(t){return e.createElement("svg",J({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},t),X||(X=e.createElement("path",{d:"M5.92 24.096q0 .832.576 1.408t1.44.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576H7.936q-.832 0-1.44.576t-.576 1.44v16.16zm12.096 0q0 .832.608 1.408t1.408.608h4.032q.832 0 1.44-.608t.576-1.408V7.936q0-.832-.576-1.44t-1.44-.576h-4.032q-.832 0-1.408.576t-.608 1.44v16.16z"})))}),"fillByFill"),Xe=Le((function(t){return e.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),Y||(Y=e.createElement("path",{d:"m89.752 59.582 251.583 251.583 5.433 5.432 49.472 49.474v-.001l30.862 30.86h-.001l25.317 25.318-30.17 30.17-187.832-187.833v164.103l-110.729-85.459h-81.02V172.563h80.895l10.538-8.293-74.518-74.518 30.17-30.17Zm314.213 28.014c67.74 75.64 82.499 181.38 44.28 270.137l-32.95-32.95c23.87-71.004 8.998-151.973-44.615-210.559l33.285-26.628Zm-84.385 67.51c28.626 31.924 41.555 72.769 38.788 112.752l-49.237-49.236c-4.823-12.915-12.148-25.121-21.976-35.884l-.9-.974 33.325-26.659Zm-85.163-69.773-.001 58.574-32.78-32.78 32.78-25.794Z",fillRule:"evenodd"})))}),"fillByFill"),Je=Le((function(t){return e.createElement("svg",te({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),ee||(ee=e.createElement("path",{d:"m403.966 426.944-33.285-26.629c74.193-81.076 74.193-205.016-.001-286.091l33.285-26.628c86.612 96.713 86.61 242.636.001 339.348ZM319.58 155.105l-33.325 26.66c39.796 42.567 39.795 108.443.002 151.01l33.324 26.66c52.204-58.222 52.204-146.11-.001-204.33Zm-85.163-69.772-110.855 87.23H42.667v170.666h81.02l110.73 85.459V85.333Z",fillRule:"evenodd"})))}),"fillByFill"),Ye=Le((function(t){return e.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},t),ae||(ae=e.createElement("path",{d:"M12.598 20.946v-8.25h8.25a1.375 1.375 0 0 0 0-2.75h-8.25v-8.25a1.375 1.375 0 0 0-2.75 0v8.25h-8.25a1.375 1.375 0 0 0 0 2.75h8.25v8.25a1.375 1.375 0 1 0 2.75 0Z"})))}),"fillByFill"),$e=Le((function(t){return e.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},t),ne||(ne=e.createElement("path",{d:"M20.848 3.696H1.598a1.375 1.375 0 0 1 0-2.75h19.25a1.375 1.375 0 0 1 0 2.75Z"})))}),"fillByFill"),et=Le((function(t){return e.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},t),ie||(ie=e.createElement("path",{d:"M12.271 22.34c5.523 0 10-4.476 10-10 0-5.522-4.477-10-10-10-5.522 0-10 4.478-10 10 0 5.524 4.478 10 10 10Z",strokeWidth:2})),ce||(ce=e.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),tt=Le((function(t){return e.createElement("svg",me({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},t),se||(se=e.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},e.createElement("path",{d:"M1.4 6.207a.1.1 0 0 0-.1.1v3a.1.1 0 0 0 .1.1h16.5a.1.1 0 0 0 .1-.1v-3a.1.1 0 0 0-.1-.1H1.4Zm-1.4.1a1.4 1.4 0 0 1 1.4-1.4h16.5a1.4 1.4 0 0 1 1.4 1.4v3a1.4 1.4 0 0 1-1.4 1.4H1.4a1.4 1.4 0 0 1-1.4-1.4v-3Z"}),e.createElement("path",{d:"M2.15 9.407a.65.65 0 0 1 .65.65v6.75a.1.1 0 0 0 .1.1h13.5a.1.1 0 0 0 .1-.1v-6.75a.65.65 0 0 1 1.3 0v6.75a1.4 1.4 0 0 1-1.4 1.4H2.9a1.4 1.4 0 0 1-1.4-1.4v-6.75a.65.65 0 0 1 .65-.65Z"}),e.createElement("path",{d:"M9.65 4.907a.65.65 0 0 1 .65.65v12a.65.65 0 1 1-1.3 0v-12a.65.65 0 0 1 .65-.65Z"}),e.createElement("path",{d:"M11.17 1.769c-.162.163-.32.452-.456.86a7.639 7.639 0 0 0-.288 1.297c-.05.35-.08.681-.098.954.272-.019.603-.049.953-.099a7.632 7.632 0 0 0 1.296-.288c.409-.135.698-.294.861-.456a1.604 1.604 0 0 0-2.268-2.268ZM9.65 5.557H9v-.043l.002-.11a14.514 14.514 0 0 1 .137-1.66c.07-.487.176-1.026.341-1.524.162-.488.4-.997.768-1.367L10.25.85a2.904 2.904 0 1 1 4.107 4.106l-.002.002c-.371.368-.88.606-1.368.768a8.914 8.914 0 0 1-1.523.341 14.517 14.517 0 0 1-1.77.139H9.65l-.001-.65Zm0 0v.65a.65.65 0 0 1-.65-.65h.65Z"}),e.createElement("path",{d:"M4.943.85a2.904 2.904 0 0 1 4.107 0l.002.003c.368.37.606.88.768 1.367.165.498.271 1.037.34 1.523a14.57 14.57 0 0 1 .14 1.77V5.557l-.65.001v.65h-.043l-.111-.002a14.518 14.518 0 0 1-1.66-.137 8.914 8.914 0 0 1-1.524-.341c-.487-.162-.996-.4-1.367-.768l-.002-.002a2.904 2.904 0 0 1 0-4.106ZM9.65 5.558v.65a.65.65 0 0 0 .65-.65h-.65Zm-.678-.678a12.958 12.958 0 0 0-.098-.953 7.634 7.634 0 0 0-.288-1.296c-.136-.409-.295-.698-.456-.861A1.604 1.604 0 0 0 5.86 4.037c.164.162.453.32.861.456.399.133.855.225 1.297.288.35.05.68.08.953.099Z"}))),ue||(ue=e.createElement("defs",null,e.createElement("clipPath",{id:"gift_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),nt=Le((function(t){return e.createElement("svg",fe({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},t),de||(de=e.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},e.createElement("path",{d:"M15.32 1.18c.24.24.24.63 0 .87L2.55 14.82a.615.615 0 0 1-.87-.87L14.45 1.18c.24-.24.63-.24.87 0ZM4 1.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM.5 3.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0ZM13 10.39a2.11 2.11 0 1 0 0 4.22 2.11 2.11 0 0 0 0-4.22ZM9.5 12.5a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Z"}))),pe||(pe=e.createElement("defs",null,e.createElement("clipPath",{id:"percent_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),rt=Le((function(t){return e.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},t),ge||(ge=e.createElement("path",{d:"M5.347 8.514c.047.072.109.142.146.222.106.227.208.459.297.693.025.063.047.1.114.108 1.212.15 2.085.813 2.731 1.82.285.444.492.926.668 1.44.008.02-.928.336-.935.316-.035-.092-.064-.18-.099-.267-.235-.6-.532-1.16-1-1.61a2.535 2.535 0 0 0-1.62-.727c-.648-.047-1.272.04-1.858.34-.621.316-1.042.823-1.346 1.441-.255.517-.396 1.068-.48 1.636-.005.033.022.06.054.06h6.717c2.091 0 4.182 0 6.272-.002a.508.508 0 0 0 .243-.063 41.67 41.67 0 0 1 4.04-2.07c.04-.017.042-.075.005-.097a1.95 1.95 0 0 0-1.368-.222c-.507.097-.9.394-1.262.753-.015.013-.767-.628-.752-.643.487-.524 1.054-.903 1.761-1.085a.055.055 0 0 0 .04-.063c-.047-.26-.084-.518-.148-.773a8.286 8.286 0 0 0-.859-2.162c-.193-.332-.413-.649-.618-.973-.05-.077-.114-.092-.2-.087a1.45 1.45 0 0 1-1.18-.457 1.444 1.444 0 0 1-.41-1.11c.006-.087-.017-.12-.093-.157-.532-.262-1.062-.531-1.591-.798-.02-.01.425-.903.448-.89.361.182.71.359 1.061.533.183.093.366.19.552.277a.144.144 0 0 0 .124-.015c.299-.257.645-.369 1.034-.369h1.299c.024 0 .012.998-.018.998-.433 0-.866-.003-1.298 0-.347.002-.572.26-.522.588a.482.482 0 0 0 .487.407c.425.005.848 0 1.274 0h.144c.03 0 .054.025.054.055 0 .294-.002.578.002.86 0 .065.03.162.065.217.65 1.06 1.108 2.198 1.318 3.43.02.122.04.244.057.367.01.064.028.094.104.107.745.13 1.37.461 1.794 1.11.111.17.193.356.29.543a.054.054 0 0 1-.028.075c-.316.132-.63.26-.94.394a39 39 0 0 0-4.404 2.255.417.417 0 0 1-.21.057c-2.291.003-4.585.003-6.876.003-.076 0-.118.002-.138.102-.25 1.22-1.203 2.16-2.417 2.355-1.334.214-2.549-.447-3.115-1.57-.134-.264-.22-.55-.332-.847a.054.054 0 0 0-.05-.035H.979a.055.055 0 0 1-.055-.055c-.002-.172-.007-.334.003-.499.077-1.28.388-2.479 1.21-3.497.591-.733 1.363-1.17 2.28-1.349.097-.02.194-.035.298-.05.034-.005.054-.042.042-.075a1.398 1.398 0 0 0-.596-.676c-.394-.234-.83-.284-1.272-.289-.76-.005-1.517-.003-2.276 0H.495a.055.055 0 0 1-.054-.055V.577c0-.03.025-.055.054-.055h8.79c.03 0 .055.025.055.055v.108c0 2.23 0 4.46-.002 6.69 0 .101.067.191.163.221.735.215 1.163.838 1.302 1.581.054.297-.035.564-.09.843-.074.372-.118.746-.042 1.123.104.524.352.775.886.83.57.058 1.116-.027 1.613-.341.48-.307.762-.761.945-1.285.225-.638.287-1.302.275-1.973-.01-.419-.042-.84-.067-1.28 0-.02.965-.141.967-.119.025.24.06.471.065.703.01.49.027.98-.003 1.47-.054.895-.264 1.753-.791 2.499-.508.718-1.203 1.14-2.064 1.282-.457.075-.918.087-1.373-.025-.826-.207-1.291-.8-1.43-1.611a3.798 3.798 0 0 1 .099-1.652c.084-.309-.007-.563-.166-.805-.168-.257-.435-.337-.72-.337-1.18-.008-2.358-.003-3.538-.003-.01.003-.012.008-.022.018Zm.027-6.941v2.895c0 .02-.99.02-.99 0V1.573a.055.055 0 0 0-.054-.055H1.483a.055.055 0 0 0-.055.055V7.44c0 .03.025.055.055.055h6.806c.03 0 .054-.025.054-.055V1.573a.055.055 0 0 0-.054-.055H5.426c-.03 0-.052.025-.052.055Zm-1.83 13.41c-.035 0-.062.036-.053.068a1.965 1.965 0 0 0 2.13 1.414c.77-.087 1.619-.835 1.653-1.426a.054.054 0 0 0-.054-.058H3.543v.003ZM15.555 15.732c-.007-.017 0-.04.017-.047.27-.122.54-.242.814-.364a.052.052 0 0 1 .07.025c.28.553.71.93 1.311 1.08.51.127 1.007.06 1.467-.21.812-.474 1.287-1.544.78-2.636a.053.053 0 0 1 .022-.07c.252-.14.507-.28.774-.424a.052.052 0 0 1 .074.025c.443.925.473 1.858-.012 2.763-.614 1.148-1.606 1.682-2.892 1.594-1.104-.08-2.044-.83-2.425-1.736Z"})))}),"fillByFill"),at=Le((function(t){return e.createElement("svg",ye({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),he||(he=e.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ot=Le((function(t){return e.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},t),be||(be=e.createElement("path",{d:"M13.335 19.811a.973.973 0 0 1-1.12-.87l-.588-6.25a.942.942 0 0 0-.656-.811l-.064-.02-.074-.026-.095-.036a3.817 3.817 0 0 1-.518-.255 2.849 2.849 0 0 1-.563-.44 1.981 1.981 0 0 1-.418-.625c-.103-.238-.124-.511-.177-.795a31.06 31.06 0 0 1-.132-.9c-.022-.156-.04-.316-.058-.477-.02-.161-.036-.325-.053-.49a27.022 27.022 0 0 1-.124-3.003c.006-.321.02-.633.037-.93.01-.148.02-.292.033-.433.013-.14.024-.275.038-.406l.044-.375c.014-.119.033-.233.048-.34.014-.106.033-.207.049-.3l.023-.133.024-.122c.023-.121.05-.241.078-.36l.033-.13.1-.385c.125-.485.608-.802 1.097-.696a.927.927 0 0 1 .717.744l1.55 8.784 1.564 8.873.01.055c.094.538-.266 1.068-.805 1.152ZM6.606 2.067c-.002-.138-.002-.263-.006-.375l-.018-.539a.406.406 0 0 0-.812-.015l-.001.007-.019.244-.021.278c-.008.108-.022.229-.034.361-.013.132-.026.276-.045.427-.018.15-.035.31-.058.474-.023.164-.044.334-.07.506-.028.172-.053.347-.083.52-.031.174-.06.348-.093.519l-.048.253-.05.246c-.032.162-.068.317-.1.465l-.06.255a.302.302 0 0 1-.593-.106L5.05.951a.409.409 0 0 0-.355-.453.416.416 0 0 0-.449.325L3.182 5.38a.275.275 0 0 1-.542-.094L2.674 5c.02-.15.04-.307.064-.47l.037-.249.042-.254c.026-.172.06-.345.09-.519.03-.174.067-.346.1-.517.034-.17.072-.338.107-.5.035-.162.074-.317.108-.466.033-.148.07-.287.103-.416.034-.128.062-.247.092-.35l.075-.27.066-.234.003-.012a.407.407 0 0 0-.77-.26l-.093.234-.108.267c-.042.104-.085.222-.134.35-.048.128-.102.267-.153.416-.052.148-.11.304-.164.467-.054.162-.112.33-.167.502-.053.173-.11.347-.162.523-.052.176-.106.352-.153.526l-.072.259-.067.254c-.044.167-.083.33-.121.483a28.633 28.633 0 0 0-.18.807c-.024.111-.105.81-.078.892-.082 1.184.508 2.261 1.45 2.718L.575 18.621a.972.972 0 1 0 1.914.338L3.825 9.4c1.065-.11 2.006-.956 2.314-2.137.043-.072.123-.418.137-.5.013-.08.03-.18.045-.291a20.175 20.175 0 0 0 .107-.82c.016-.158.036-.324.05-.496l.025-.262.02-.268c.016-.18.025-.363.037-.546.012-.183.017-.367.026-.547.008-.18.01-.358.016-.53.004-.17.003-.337.005-.494.003-.157 0-.306-.002-.443Z"})))}),"fillByFill"),it=Le((function(t){return e.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},t),we||(we=e.createElement("path",{d:"M12.207 3.586 9.414.793A1 1 0 0 0 8 .793L.293 8.5A.991.991 0 0 0 0 9.207V12a1 1 0 0 0 1 1h2.793a.992.992 0 0 0 .707-.293L12.207 5a1 1 0 0 0 0-1.414ZM1.207 9 6.5 3.707 7.543 4.75 2.25 10.043 1.207 9ZM1 10.207 2.793 12H1v-1.793Zm3 1.587L2.957 10.75 8.25 5.457 9.293 6.5 4 11.794Zm6-6L7.207 3l1.5-1.5L11.5 4.293l-1.5 1.5Z"})))}),"fillByFill");!function(e){e[e.fill=0]="fill",e[e.pad=1]="pad",e[e.fit=2]="fit",e[e.mfit=3]="mfit",e[e.scale=4]="scale",e[e.limit=5]="limit",e[e.lpad=6]="lpad",e[e.mpad=7]="mpad",e[e.crop=8]="crop",e[e.fill_pad=9]="fill_pad",e[e.thumb=10]="thumb"}(Ne||(Ne={})),function(e){e[e.center=0]="center",e[e.north_east=1]="north_east",e[e.north=2]="north",e[e.north_west=3]="north_west",e[e.west=4]="west",e[e.south_west=5]="south_west",e[e.south=6]="south",e[e.south_east=7]="south_east",e[e.east=8]="east",e[e.liquid=9]="liquid",e[e.auto=10]="auto"}(Ce||(Ce={})),function(e){e[e.best=1]="best",e[e.good=2]="good",e[e.eco=3]="eco",e[e.low=4]="low",e[e.custom=5]="custom"}(ke||(ke={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Be||(Be={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(Oe||(Oe={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue"}(Pe||(Pe={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(je||(je={}));var ct=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},lt=function(e,t){var n="";return e&&(n=Be[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},st={cutlery:{addCutlery:"Add cutlery",cutlery:"Cutlery"},checkoutFormItem:{change:"Change"},gift:{itsGift:"It's a gift",name:"Name",namePlaceholder:"Type the recipient name here",greeting:"Greeting",greetingPlaceholder:"Type greetings note to you order",phone:"Phone",phonePlaceholder:"Type the recipient's phone number here"},bagesPaymentsOrderSummary:{discount:"Discount",freeDelivery:"Free delivery",bonuses:"Bonuses"},tag:{vegan:"vegan",vegetarian:"vegetarian",spicy:"spicy",freeGluten:"free gluten"},errorConstructor:{selectOneOf:"Select one of options",selectAtLeast:"Select at least",for:"for",maximumAvailable:"Maximum avaliable to select is"},productConstructor:{ingredients:"Ingredietns",comments:"Comments",addName:"Add name",addComment:"Add comments",addCommentPlaceholder:"Add comments placeholder",addNamePlaceholder:"Add name placeholder",summary:"Summary",toppings:"Toppings",half:"Half",full:"Full",addToCart:"Add to cart",back:"Back",next:"Next",left:"left",right:"right",change:"Change",free:"free"},summary:{editProduct:"Edit",addRemovedOffer:"Add",removedOffer:"Remove",bonus:"Bonus",discount:"Discount",coupon:"Coupon",summary:"Payment Summary",subtotal:"Subtotal",deliveryCost:"Delivery Cost",deliveryCostBase:"Delivery Cost Base",deliveryCostFinal:"Delivery Cost Final",serviceFee:"Service Fee",minimumOrderCharge:"Minimum Order Charge",driverTip:"Driver Tip",invalidPromocode:"Promocode Invalid",placeholderPromocode:"Promocode Placeholder",paymentBalance:"Payment Balance",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry"}},ut=n(st),mt=ut.Provider,dt=function(e){var t=r(ut);return console.log({translations:t}),t[e]?t[e]:st[e]},pt=function(e){var n=e.accumulatedPurchaseBonus,r=void 0===n?0:n,a=e.discount,o=void 0===a?0:a,i=e.finalDeliveryPrice,c=void 0===i?0:i,l=e.currency,s=dt("bagesPaymentsOrderSummary");return t.createElement("div",{className:"bagesPaymentSummary"},0===c&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(rt,null),t.createElement("span",{className:"discountLabel"},s.freeDelivery)),o>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(nt,null),t.createElement("span",{className:"discountLabel"},lt(l,o)," ",s.discount)),r>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(at,{size:12,color:"#fff"})),t.createElement(tt,null),t.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};m(".orderSummary .summaryBody{background:#f8f8f8;border-radius:var(--border-radius,10px);padding:25px}.orderSummary .summaryBody .head{display:inline-block;font-size:24px;font-weight:600;margin:0 0 20px}.orderSummary .summaryBody .summaryItem{display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 20px}.orderSummary .summaryBody .summaryItem:last-child{margin:0}.orderSummary .summaryBody .summaryItem.totalPrice{font-size:20px}.orderSummary .summaryBody .summaryItem .disabled{opacity:.5}.orderSummary .summaryBody .summaryItem .inlineValue{align-items:center;display:flex;gap:5px}.orderSummary .summaryBody .summaryItem.customDiscount .price{background:#fff;border:1px solid #dedede;border-radius:5px;padding:0 5px}.orderSummary .summaryBody .summaryItem.customDiscount input{border:none;font-size:16px;font-weight:600;height:36px;margin:0 5px 0 0;outline:none;text-align:right;width:65px}.orderSummary .summaryBody .summaryItem.customDiscount input:active,.orderSummary .summaryBody .summaryItem.customDiscount input:focus{border:none;outline:none}.orderSummary .summaryBody .summaryItem.item-question>span{align-items:center;display:flex}.orderSummary .summaryBody .summaryItem .tooltip-container{position:relative}.orderSummary .summaryBody .summaryItem .tooltip-container:hover .tooltip{display:block}.orderSummary .summaryBody .summaryItem .tooltip{background:rgba(0,0,0,.8);border-radius:8px;color:#fff;display:none;font-size:14px;left:50%;max-width:400px;padding:8px;position:absolute;top:-40px}.orderSummary .summaryBody .summaryItem .price,.orderSummary .summaryBody .summaryItem .total{font-weight:600}.orderSummary .summaryBody .summaryItem .price.priceBlue,.orderSummary .summaryBody .summaryItem .total.priceBlue{color:var(--main-color,#007aff)}.orderSummary .summaryBody .itemDiscount .itemName{align-items:center;display:flex;gap:7px}.orderSummary .summaryBody .itemDiscount .itemName .icon{margin:0 5px}.orderSummary .summaryBody .itemDiscount .controlOffer{color:#ccc;cursor:pointer;font-size:14px}.orderSummary .summaryBody .itemDiscount .discount{align-items:baseline;display:flex;flex-direction:row;justify-content:center}.orderSummary .summaryBody .itemDiscount .discount .discount-name{color:#d6d1d1;font-size:16px;text-transform:uppercase}.orderSummary .summaryBody .itemDiscount .discountPart{display:flex;flex-direction:column;justify-content:center}.orderSummary .summaryBody .question{align-items:center;background:#ccc;border-radius:100px;color:var(--warning,#fe7171);display:inline-flex;font-size:16px;height:20px;justify-content:center;margin:0 5px;width:20px}.orderSummary .summaryBody .minimal-order{color:var(--warning,#fe7171)!important}.orderSummary .summaryBody .hr{background:#cfd1d4;height:1px;margin:0 0 20px;width:100%}.orderSummary .promocode{color:#007aff;cursor:pointer;display:inline-block;margin-bottom:15px;width:100%}.orderSummary .promocode .invalidCoupon{color:var(--warning,#fe7171);display:block}.orderSummary .promocode .inputArea{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:flex;height:40px;justify-content:space-between;padding:0 10px}.orderSummary .promocode .inputArea .labelInput{height:100%;padding:0}.orderSummary .promocode .inputArea .labelInput,.orderSummary .promocode .inputArea input{width:100%}.orderSummary .confirmButton{background:var(--main-color,#007aff);border-radius:var(--border-radius,10px);color:#fff;cursor:pointer;font-size:16px;margin:10px 0 0;padding:15px 5px;text-align:center;width:100%}.orderSummary .confirmButton.disable{opacity:.5;pointer-events:none}");m(".labelInput{align-items:center;background:#f8f8f8;border-radius:var(--border-radius,5px);display:inline-flex;height:44px;overflow:hidden;padding:0 13px}.labelInput .icon{height:25px;margin:0 10px 0 0;width:25px}.labelInput input{background:none;border:none;height:100%;outline:none;width:100%}.labelInput input::-webkit-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-moz-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::-ms-input-placeholder{color:#747474;font-size:14px;font-weight:400}.labelInput input::placeholder{color:#747474;font-size:14px;font-weight:400}.rtl .labelInput .icon{margin:0 0 0 10px}");var ft=function(e){var n=e.icon,r=e.onChange,a=p(e,["icon","onChange"]);return t.createElement("label",{className:"labelInput"},n&&n,t.createElement("input",d({},a,{onChange:r})))};m('@charset "UTF-8";.customCheckbox{border:1px solid #ccc;border-radius:3px;cursor:pointer;display:inline-block;height:15px;position:relative;width:15px}.customCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.customCheckbox.selected:before{color:#fff;content:"✔";font-size:12px;left:1px;position:absolute;top:-1px;z-index:9}.customCheckbox.disabled{opacity:.5;pointer-events:none}');var gt=function(e){var n=e.value,r=e.disabled,a=e.onChange;return console.log("qwe",n),t.createElement("div",{className:c("customCheckbox",{selected:n,disabled:r}),onClick:function(){return!r&&a(!n)}})},vt=function(e){var n=e.accumulatedPurchaseBonus,r=e.discount,a=e.finalDeliveryPrice,o=e.currency,i=e.offerType,l=e.coupon,s=e.fullPrice,u=e.discounts,m=e.deliveryType,d=e.deliveryPrice,p=e.serviceFee,f=e.topupToMinimum,g=e.driverTip,v=e.hideCoupon,h=e.paymentBalance,y=e.finalPrice,b=e.setCoupon,x=e.disabledConfirm,w=e.onConfirm,E=e.customDiscount,N=e.customDiscountValue,C=e.setCustomDiscountValue,k=e.customFields,B=e.finalCharge,O=e.canceledOfferIds,P=e.toggleOffer,j=e.recalculateDiscounts,S=e.disableRecalculateDiscounts,I=e.showRecalculateDiscounts,F=e.onChangeRecalculateDiscounts,L=e.canManageDiscount,z=dt("summary"),M=function(e){var n=null==O?void 0:O.includes(e.offer_id);return t.createElement("div",{key:e.offer_id,className:"itemDiscount summaryItem"},t.createElement("span",{className:"itemName"},t.createElement("div",{className:"discount"},t.createElement("div",{className:"discountPart"},e.discount_type===Oe.bonus?z.bonus:2===e.offer_type?z.coupon:z.discount,e.offer_name&&t.createElement("div",{className:"discount-name"},e.offer_name)),!!e.coupon&&2===e.offer_type&&t.createElement(Ve,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return b("")}}))),t.createElement("div",{className:"inlineValue"},e.discount_type===Oe.common&&L&&t.createElement("div",{onClick:function(){return P(e.offer_id)},className:"controlOffer"},n?z.addRemovedOffer:z.removedOffer),!n&&t.createElement("div",{className:"priceBlue price"},"-",lt(o,e.discount))))};return t.createElement("div",{className:"orderSummary"},t.createElement("div",{className:"summaryBody"},t.createElement("span",{className:"head"},z.summary),!!k&&k.map((function(e){return t.createElement("div",{className:"summaryItem customFields",key:e.label},t.createElement("span",{className:"label"},e.label),t.createElement("span",{className:"value"},e.value))})),t.createElement("div",{className:"summaryItem subtotal"},t.createElement("span",null,z.subtotal),t.createElement("span",{className:"price"},lt(o,s))),!!u&&u.filter((function(e){return e.discount_target===je.products&&e.discount_type===Oe.common})).map(M),m===Pe.delivery&&t.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},t.createElement("span",null,d===a?z.deliveryCost:z.deliveryCostBase),t.createElement("span",{className:"price"},lt(o,d||a))),E&&t.createElement("div",{className:"summaryItem customDiscount"},t.createElement("span",null,z.discount),t.createElement("span",{className:"price"},t.createElement("input",{type:"number",value:N,onChange:function(e){var t=e.target;return C(t.value)}}),lt(o))),!!u&&u.filter((function(e){return e.discount_target===je.delivery})).map(M),m===Pe.delivery&&d!==a&&t.createElement("div",{className:"summaryItem deliveryCostFinal"},t.createElement("span",null,z.deliveryCostFinal),t.createElement("span",{className:"price"},lt(o,a))),!!u&&u.filter((function(e){return e.discount_target===je.products&&e.discount_type===Oe.bonus})).map(M),!!p&&t.createElement("div",{className:"summaryItem serviceFee"},t.createElement("span",{className:"tooltip-container"},z.serviceFee," ",t.createElement("span",{className:"question"},"?"),t.createElement("div",{className:"tooltip"},z.serviceFeeTooltip)),t.createElement("span",{className:"price"},lt(o,p))),!!f&&t.createElement("div",{className:"summaryItem item-question minimal-order"},t.createElement("span",{className:"tooltip-container"},z.minimumOrderCharge," ",t.createElement("span",{className:"question"},"?"),t.createElement("div",{className:"tooltip"},z.minimumOrderChargeTooltip)),t.createElement("span",{className:"price"},lt(o,f))),!!g&&t.createElement("div",{className:"summaryItem item-question"},t.createElement("span",{className:"tooltip-container"},z.driverTip,t.createElement("span",{"data-tooltip-id":"driver-tip",className:"question"},"?"),t.createElement("div",{className:"tooltip"},z.driverTooltip)),t.createElement("span",{className:"price"},lt(o,g))),!v&&u&&!u.some((function(e){return e.coupon&&2===e.offer_type}))&&t.createElement("span",{className:"promocode"},!!l.trim().length&&2!==i&&t.createElement("span",{className:"invalidCoupon"},z.invalidPromocode),l.length?t.createElement("span",{className:"inputArea"},t.createElement(ft,{autoFocus:!0,value:l,onChange:function(e){return b(e.target.value)},debounce:500}),t.createElement(Ve,{size:15,onClick:function(){return b("")},color:"var(--warning, #FE7171)"})):t.createElement("span",{onClick:function(){return b(" ")}},z.placeholderPromocode)),I&&t.createElement("div",{className:"summaryItem"},t.createElement("span",{className:c({disabled:S})},z.recalculateDiscounts),t.createElement("span",{className:"price"},t.createElement(gt,{value:j,onChange:F,disabled:S}))),null!==h&&t.createElement("div",{className:"summaryItem"},t.createElement("span",null,z.paymentBalance),t.createElement("span",{className:"price"},lt(o,h))),t.createElement("div",{className:"hr"}),t.createElement("div",{className:"summaryItem totalPrice"},t.createElement("span",{className:"total"},z.total),t.createElement("span",{className:"price priceBlue"},lt(o,y)))),t.createElement(pt,{currency:o,discount:r,accumulatedPurchaseBonus:n,finalDeliveryPrice:a}),t.createElement("div",{onClick:w,className:c("confirmButton",{disable:x})},z.confirm," ",!!B&&lt(o,B)))};m(".checkoutFormItem .checkoutFormItemLabel{align-items:center;display:flex;font-size:22px;font-weight:600}.checkoutFormItem .checkoutFormItemLabel .change{font-size:14px}.checkoutFormItem .checkoutFormItemData{align-items:center;display:flex;font-size:18px;margin:5px 0 0}.checkoutFormItem .change{color:var(--main-color,#007aff);cursor:pointer;font-size:18px;font-weight:600;margin:0 0 0 20px}");var ht=function(e){var n=e.label,r=e.data,a=e.changeInLabel,o=void 0!==a&&a,i=e.hideChange,c=void 0!==i&&i,l=e.onChangeClick,s=dt("checkoutFormItem"),u=Array.isArray(r);return t.createElement("div",{className:"checkoutFormItem"},t.createElement("div",{className:"checkoutFormItemLabel"},n,o&&!c&&t.createElement("span",{className:"change",onClick:l},s.change)),t.createElement("div",{className:"checkoutFormItemData"},u&&t.createElement("div",{className:"arrayData"},r.map((function(e,n){return t.createElement("div",{key:n,className:"checkoutFormItemDataItem"},e)}))),!u&&t.createElement("div",{className:"checkoutFormItemDataItem"},r),!o&&!c&&t.createElement("span",{className:"change",onClick:l},s.change)))};m(".counterButton{align-items:center;border:1px solid #ccc;border-radius:var(--border-radius,5px);display:grid;grid-template-columns:1fr 1fr 1fr;height:45px;justify-items:center;text-align:center}.counterButton .disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.counterButton .count{border:none;font-size:16px;height:100%;outline:none;text-align:center;width:100%}.counterButton input[type=number]{-moz-appearance:textfield}.counterButton input::-webkit-inner-spin-button,.counterButton input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}");var yt=function(e){var n=e.count,r=e.isRemoveDisable,a=e.isAddDisable,o=e.onAdd,i=e.onRemove,l=e.onChangeQuantity;return t.createElement("div",{className:"counterButton"},t.createElement($e,{color:"var(--main-color, #007aff)",onClick:i,className:c("control",{disable:r})}),t.createElement("input",{className:"control count",type:"number",step:1,value:n.toString(),onChange:function(e){var t=e.target,n=parseInt(t.value);l(n||0)}}),t.createElement(Ye,{color:"var(--main-color, #007aff)",onClick:o,className:c("control",{disable:a})}))};m(".cutleryButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;padding:0 10px}.cutleryButton .icon{margin:0 10px 0 0}.cutleryButton .counterButton{border:none}.cutleryButton .counterButton .icon{height:20px;margin:0;width:20px}.cutleryButton .counterButton .count{margin:0 10px}");var bt=function(e){var n=e.cutlery,r=e.onAdd,a=e.onRemove,o=dt("cutlery");return t.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&t.createElement(t.Fragment,null,t.createElement(ot,{color:"var(--main-color, #007AFF)",size:20})," ",o.addCutlery),!!n&&t.createElement(t.Fragment,null,o.cutlery,t.createElement(yt,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return r(n+1)},onRemove:function(){return a(n-1)},onChangeQuantity:function(e){r(e<=0?0:e)}})))};m(".deliveryControl{align-items:center;display:flex;justify-content:flex-start}.deliveryControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);border-radius:5px;color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;margin:0 20px 0 0;padding:10px 15px}.deliveryControl .control.disable{opacity:.5;pointer-events:none}.deliveryControl .control .icon{margin:0 10px 0 0}.deliveryControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.deliveryControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.deliveryControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.deliveryControl .control .icon{height:20px;width:20px}}");var xt=function(e){var n=e.type,r=e.onChange,a=e.disableDelivery,o=e.disableTakeAway,i=dt("deliveryControl");return t.createElement("div",{className:"deliveryControl"},t.createElement("div",{className:c("control",{selected:Pe.takeAway===n,disable:o}),onClick:function(){return r(Pe.takeAway)}},t.createElement(We,{size:30,color:n===Pe.takeAway?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,i.pickUp)),t.createElement("div",{className:c("control",{selected:Pe.delivery===n,disable:a}),onClick:function(){return r(Pe.delivery)}},t.createElement(rt,{size:30,color:n===Pe.delivery?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,i.delivery)))};m(".ingredients{align-items:center;display:flex;flex-direction:column}.ingredients .ingredient{border:1px solid #ccc;border-radius:100px;color:var(--main-color,#007aff);cursor:pointer;display:inline-block;font-size:16px;font-weight:500;margin:0 0 10px;max-width:250px;min-width:200px;padding:10px 20px;transition:all .3s}.ingredients .ingredient:last-child{margin:0}.ingredients .ingredient:hover{opacity:.9}.ingredients .ingredient.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}");var wt=function(e){var n=e.ingredients,r=e.onSelect;return t.createElement("div",{className:"ingredients"},n.map((function(e){return t.createElement("div",{key:e.id,onClick:(n=e.id,function(){return r(n)}),className:c("ingredient",{selected:!!e.quantity})},e.name);var n})))};m(".mediaWrapper{aspect-ratio:5/3;border-radius:var(--border-radius,5px);overflow:hidden;width:100%}.mediaWrapper img,.mediaWrapper video{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.videoControl{height:100%;position:relative;width:100%}.videoControl .videoControls{left:10px;position:absolute;top:10px;z-index:1}.videoControl .videoControls .control{background:#fff;border-radius:100px;cursor:pointer;margin:0 5px 0 0;padding:3px}");var Et=function(e){var n=e.src,r=e.alt,a=e.width,o=e.height,i=e.quality,c=e.gravity,u=e.crop,m=e.id;return t.createElement(l,{id:m,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},t.createElement(s,{width:a,height:o,quality:i,gravity:c,crop:u}),t.createElement(s,{fetchFormat:"auto"}))},Nt=function(e){var n=e.autoPlay,r=e.onStart,i=e.id,c=e.src,l=e.onEnd,s=e.controls,u=a({playing:!1,muted:!1}),m=u[0],p=u[1],f=o(),g=function(){f.current.paused?(f.current.play(),p((function(e){return d(d({},e),{playing:!0})}))):(f.current.pause(),p((function(e){return d(d({},e),{playing:!1})})))},v=function(){f.current.muted=!f.current.muted,p((function(e){return d(d({},e),{muted:f.current.muted})}))};return t.createElement("div",{className:"videoControl"},s&&t.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!m.playing&&t.createElement(Ue,{color:"var(--main-color)",className:"control",onClick:g}),m.playing&&t.createElement(Ke,{color:"var(--main-color)",className:"control",onClick:g}),m.muted&&t.createElement(Xe,{color:"var(--main-color)",className:"control",onClick:v}),!m.muted&&t.createElement(Je,{color:"var(--main-color)",className:"control",onClick:v})),t.createElement(Ct,{autoPlay:n,src:c,onPlay:function(){r&&r(),p((function(e){return d(d({},e),{playing:!0})}))},onEnded:function(){l&&l()},videoRef:f,id:i}))},Ct=function(e){var n=e.videoRef,r=e.src,a=e.id,o=e.onPlay,i=e.onEnded,c=e.autoPlay;return t.createElement("video",{ref:n,src:r,id:a,onPlay:function(){o&&o()},autoPlay:c,onEnded:function(){i&&i()}})},kt=function(e){var n=e.src,r=e.settings,c=e.alt,l=e.id,s=p(e,["src","settings","alt","id"]),u=o(null),m=a({width:0,height:0}),f=m[0],g=m[1],v=n.includes("/image/"),h=n.includes("/video/"),y=n.replace("https://res.cloudinary.com/","").split("/");i((function(){f.width!==u.current.offsetWidth&&f.height!==u.current.offsetHeight&&g({width:u.current.offsetWidth||0,height:u.current.offsetHeight||0})}));return t.createElement("div",{ref:u,className:"mediaWrapper"},v&&t.createElement(Et,d({},s,{height:f.height?f.height:250,width:f.width?f.width:400,quality:"90",gravity:ct(Ce,(null==r?void 0:r.gravity_mode)||0),crop:ct(Ne,(null==r?void 0:r.crop_mode)||0),src:y,alt:c,id:l})),h&&t.createElement(Nt,d({},s,{height:f.height?f.height:250,width:f.width?f.width:400,quality:"90",gravity:ct(Ce,(null==r?void 0:r.gravity_mode)||0),crop:ct(Ne,(null==r?void 0:r.crop_mode)||0),id:l,src:n})))};m(".productConstructor .content{margin:0 0 20px}.productConstructor .headProduct{align-items:center;display:flex;justify-content:space-between;padding:20px 20px 10px}.productConstructor .headProduct .name{font-size:24px;font-weight:600}.productConstructor .headProduct .priceControl{align-items:center;display:flex;font-size:16px}.productConstructor .headProduct .priceControl .oldPrice{color:var(--warning,#fe7171);margin:0 5px}.productConstructor .headProduct .priceControl .price{color:var(--main-color,#007aff)}.productConstructor .description{color:#747474;font-size:16px;font-weight:400;padding:0 20px}.productConstructor .stepper{padding:0 20px}.productConstructor .stepper .productCommentSection,.productConstructor .stepper .productSummary{text-align:left}.productConstructor .footerControls{bottom:0;margin:20px 0 0;position:sticky}");m(".footerControls{align-items:center;background:#fff;border-top:1px solid #ccc;display:flex;justify-content:center;padding:20px}.footerControls.summary{display:grid;gap:10px;grid-template-columns:2fr 3fr}.footerControls.summary .addLabel{align-items:center;display:flex}.footerControls.summary .addLabel .icon{margin:0 5px}.footerControls.summary .button.major{align-items:center;display:flex;justify-content:space-around;margin:0;width:100%}.footerControls .button{align-items:center;border:1px solid #007aff;border-radius:var(--border-radius,5px);color:#007aff;cursor:pointer;display:flex;height:45px;justify-content:center;transition:all .3s;width:40%}.footerControls .button:hover{opacity:.9}.footerControls .button.major{background:var(--main-color,#007aff);color:#fff;margin:0 0 0 10px}.footerControls .button.disable{cursor:auto;opacity:.5;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media (max-width:600px){.footerControls .button,.footerControls .counterButton{font-size:14px;height:35px}.footerControls .button svg,.footerControls .counterButton svg{height:20px;width:20px}}");m('.lds-dual-ring{display:inline-block;height:30px;width:30px}.lds-dual-ring:after{-webkit-animation:lds-dual-ring 1.2s linear infinite;animation:lds-dual-ring 1.2s linear infinite;border-color:#fff transparent;border-radius:50%;border-style:solid;border-width:4px;content:" ";display:block;height:18px;margin:4px;width:18px}@-webkit-keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes lds-dual-ring{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}');var Bt=function(){return t.createElement("div",{className:"lds-dual-ring"})},Ot=function(e){var n=e.isSummary,r=e.isLoading,a=e.isDisableNext,o=e.isDisablePrev,i=e.amount,l=e.currency,s=e.onPrev,u=e.onNext,m=e.count,d=e.isAddDisable,p=e.isRemoveDisable,f=e.onAdd,g=e.onRemove,v=e.onAddToCart,h=e.onChangeQuantity,y=dt("productConstructor");return t.createElement("div",{className:c("footerControls",{summary:n})},n?t.createElement(t.Fragment,null,t.createElement(yt,{count:m,isRemoveDisable:p||r,isAddDisable:d||r,onAdd:f,onRemove:g,onChangeQuantity:h}),t.createElement("div",{onClick:v,className:c("button major",{disable:r})},r?t.createElement(Bt,null):t.createElement(t.Fragment,null,t.createElement("div",{className:"addLabel"},t.createElement(qe,{color:"#fff",size:"small"}),y.addToCart),t.createElement("div",null,lt(l,i))))):t.createElement(t.Fragment,null,t.createElement("div",{onClick:s,className:c("button",{disable:o||r})},y.back),t.createElement("div",{onClick:u,className:c("button major",{disable:a||r})},r?t.createElement(Bt,null):t.createElement(t.Fragment,null,y.next," ",lt(l,i)))))};m(".stepper{text-align:center}.stepper .stepperHeader{font-size:20px;font-weight:600}.stepper .steps{align-items:center;display:flex;justify-content:center;margin:10px 0}.stepper .steps .step{border:1px solid #ccc;border-radius:100px;height:14px;transition:all .3s;width:14px}.stepper .steps .step.active{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff)}.stepper .steps .line{background:#ccc;height:1px;width:28px}");var Pt=function(e){var n=e.steps,r=e.currentStep,a=n[r].component,o=n[r].name;return t.createElement("div",{className:"stepper"},t.createElement("div",{className:"stepperHeader"},o),t.createElement("div",{className:"steps"},Array(n.length).fill(0).map((function(e,a){return t.createElement(t.Fragment,{key:a},t.createElement("div",{className:c("step",{active:a===r})}),a!==n.length-1&&t.createElement("div",{className:"line"}))}))),a)};m(".suboptionMultiSelector .suboption{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.suboptionMultiSelector .suboption .suboptionName{text-align:left}.suboptionMultiSelector .suboption .suboptionName.selected{color:#007aff}.suboptionMultiSelector .suboption .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}.suboptionMultiSelector .suboption .counterSection{align-items:center;display:flex}.suboptionMultiSelector .suboption .counterButton{height:35px;margin:0 0 0 10px;width:150px}.suboptionMultiSelector .suboption .counterButton svg{height:15px;width:15px}");var jt,St=function(e){var n=e.free,r=e.amount,a=e.currency,o=e.freeLabel;return n?t.createElement("span",{className:"suboptionPrice"},o):r?t.createElement("span",{className:"suboptionPrice"},"+",lt(a,r)):t.createElement("span",{className:"suboptionPrice"})},It="#INGREDIENTS",Ft="#HALF_SELECTOR",Lt="#HALF_SELECTOR_HALF";!function(e){e[e.none=0]="none",e[e.left=1]="left",e[e.right=2]="right"}(jt||(jt={}));var zt=function(e,t){var n=[],r=e.filter((function(e){return e.half===jt.none||e.half===jt.left}));return t?r.forEach((function(e){n.push(d(d({},e),{half:jt.left})),n.push(d(d({},e),{half:jt.right}))})):r.forEach((function(e){n.push(d(d({},e),{half:jt.none}))})),n},Mt=function(e,t,n,r,a){var o,i=[],c=0;if((null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.length)&&i.push({name:a.ingredients,value:Dt(e.suboptions),index:c++}),t.forEach((function(e){i.push({name:e.name,value:Ht(e.suboptions),index:c++})})),n.length){var l=n.some((function(e){return e.half===jt.right}));i.push({name:a.toppings,value:l?a.half:a.full,index:c++})}return n.forEach((function(e){i.push({name:e.name,value:Ht(e.suboptions),index:c++})})),r&&i.push({name:a.comments,value:r,index:c++}),i},Ht=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},Tt=function(e,t){return e.name+(e.half===jt.right?t.right:"")+(e.half===jt.left?t.left:"")},Dt=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},Rt=function(e){return e.map((function(e){return{id:e.id,name:e.name,suboptions:e.suboptions.filter((function(e){return!!e.quantity})).map((function(t){return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},At=function(e,t){if(!e.respectTo)return!0;var n=t.flatMap((function(e){return e.suboptions})).find((function(t){return t.id===e.respectTo}));return!(!n||!n.quantity)},qt=function(e,t,n){var r={comments:e.product.comment,nameOnBox:e.product.name_on_box,finalPrice:e.full_price,quantity:e.product.quantity,ingredients:[],options:[],optionsHalf:[],isHalf:!1};return r.options=t.filter((function(e){return!e.withHalfOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return d(d({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption})).flatMap((function(t){var n=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.none}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.left}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===jt.right}))}));return n?d(d({},t),{half:jt.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.none,quantity:t?t.quantity:0})}))}):r.isHalf||a&&o?(r.isHalf=!0,[d(d({},t),{half:jt.left,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.left,quantity:t?t.quantity:0})}))}),d(d({},t),{half:jt.right,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return d(d({},e),{half:jt.right,quantity:t?t.quantity:0})}))})]):[t]})),e.product.ingredients.length&&n.forEach((function(t){var n=e.product.ingredients.find((function(e){return e===t.id}));r.ingredients.push(d(d({},t),{quantity:n?0:1}))})),r},_t=function(e,t){var n,r,a,o=null;if(e.withHalfOption){var i=(null==e?void 0:e.half)||jt.none;o=null===(r=null==t?void 0:t.product)||void 0===r?void 0:r.options.find((function(t){return t.id===e.id&&t.suboptions.every((function(e){return e.half_option===i}))}))}else o=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));return e.suboptions=null===(a=null==e?void 0:e.suboptions)||void 0===a?void 0:a.map((function(e){var t,n=null===(t=null==o?void 0:o.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(n){var r=d(d(d({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return d({},e)})),e},Zt=function(e,t){return e>0?t.quantity?t.fullPrice||t.full_price?{free:!1,amount:t.fullPrice||t.full_price}:{free:!0,amount:null}:{free:!1,amount:null}:t.price>0?{free:!1,amount:t.price}:{free:!1,amount:null}},Vt=function(e,t,n,r){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")")},Qt=function(e){var n=e.suboptions,r=e.onChangeQuantity,a=e.currency,o=e.limitByMax,i=e.freeLabel,l=e.freeBudget,s=function(e,t){return function(){return r(e,t)}},u=function(e){var t;return!!o&&(null!==(t=e.quantity)&&void 0!==t?t:0)===e.max};return t.createElement("div",{className:"suboptionMultiSelector"},n.map((function(e){return t.createElement("div",{className:"suboption",key:e.id},t.createElement("span",{className:c("suboptionName",{selected:!!e.quantity})},e.name,e.description&&t.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement("div",{className:"counterSection"},t.createElement(St,{free:Zt(l,e).free,amount:Zt(l,e).amount,currency:a,freeLabel:i}),t.createElement(yt,{count:e.quantity||0,isAddDisable:u(e),isRemoveDisable:!e.quantity,onAdd:s(e.id,(e.quantity||0)+1),onRemove:s(e.id,(e.quantity||0)-1),onChangeQuantity:function(t){return s(e.id,t)()}})))})))};m('.extrasRadio{align-items:center;display:flex;flex-direction:column}.extrasRadio .extra{border:1px solid #ccc;border-radius:100px;cursor:pointer;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:7px 10px;transition:all .3s}.extrasRadio .extra,.extrasRadio .extra .extraName{align-items:center;display:flex}.extrasRadio .extra .extraName:before{border:1px solid #ccc;border-radius:100px;box-sizing:border-box;content:"";display:block;flex:1 0 24px;height:24px;margin:0 10px 0 0;transition:all .1s;width:24px}.extrasRadio .extra .extraName .extraDescription{color:#ccc;font-size:13px;margin:0 3px}.extrasRadio .extra:last-child{margin:0}.extrasRadio .extra:hover{opacity:.9}.extrasRadio .extra:hover .extraName:before{border:3px solid var(--main-color,#007aff)}.extrasRadio .extra.selected .extraName:before{border:7px solid var(--main-color,#007aff);box-sizing:border-box}');var Wt=function(e){var n=e.freeLabel,r=e.ingredients,a=e.onSelect,o=e.currency,i=e.freeBudget;return t.createElement("div",{className:"extrasRadio"},r.map((function(e){return t.createElement("div",{key:e.id,onClick:(r=e.id,l=e.quantity||1,function(){return a(r,l)}),className:c("extra",{selected:!!e.quantity})},t.createElement("span",{className:"extraName"},e.name,e.description&&t.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement(St,{freeLabel:n,free:Zt(i,e).free,amount:Zt(i,e).amount,currency:o}));var r,l})))};m(".warning{align-items:center;background:#fff;border:2px solid var(--warning,#fe7171);border-left:none;border-right:none;color:var(--warning,#fe7171);display:flex;font-size:16px;font-weight:600;padding:10px 20px;position:sticky;top:0;z-index:1}.warning .icon{margin:0 10px 0 0}");var Gt=function(e){var n=e.message;return t.createElement("div",{className:"warning"},t.createElement(et,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};m(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var Ut=function(e){var n=e.name,r=e.comment,a=e.onCommentChange,o=e.onNameChange,i=dt("productConstructor");return t.createElement("div",{className:"productCommentSection"},t.createElement("span",{className:"inputName"},i.addName),t.createElement(ft,{onChange:function(e){var t;o(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addNamePlaceholder,value:n}),t.createElement("span",{className:"inputName"},i.addComment),t.createElement(ft,{onChange:function(e){var t;a(null===(t=null==e?void 0:e.target)||void 0===t?void 0:t.value)},placeholder:i.addCommentPlaceholder,value:r}))};m(".productSummary .line{color:#0e1328;display:grid;font-size:14px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .button{align-items:center;background:var(--secondary-color,#cee6ff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:14px;height:30px;justify-content:center;transition:all .3s}.productSummary .line .button:hover{opacity:.9}.productSummary .line .value{color:#747474;white-space:break-spaces}");var Kt=function(e){var n=e.summary,r=e.onClickChange,a=dt("productConstructor");return t.createElement("div",{className:"productSummary"},n.map((function(e){return t.createElement("div",{className:"line",key:e.name+e.index},t.createElement("div",{className:"name"},e.name),t.createElement("div",{className:"value"},e.value),t.createElement("div",{onClick:function(){return r(e.index)},className:"button"},a.change))})))};m(".suboptionsCheckbox{align-items:center;display:flex;flex-direction:column}.suboptionsCheckbox .suboptionCheckbox{align-items:center;border:1px solid #ccc;border-radius:100px;cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:space-between;margin:0 0 10px;min-width:200px;padding:10px 20px;transition:all .3s}.suboptionsCheckbox .suboptionCheckbox:last-child{margin:0}.suboptionsCheckbox .suboptionCheckbox:hover{opacity:.9}.suboptionsCheckbox .suboptionCheckbox.selected{background:var(--main-color,#007aff);border-color:var(--main-color,#007aff);color:#fff}.suboptionsCheckbox .suboptionCheckbox .suboptionName{margin:0 5px 0 0}.suboptionsCheckbox .suboptionCheckbox .suboptionName .suboptionDescription{color:#ccc;font-size:13px;margin:0 3px}");var Xt=function(e){var n=e.suboptions,r=e.onSelect,a=e.currency,o=e.freeBudget,i=e.freeLabel;return t.createElement("div",{className:"suboptionsCheckbox"},n.map((function(e){return t.createElement("div",{key:e.id,onClick:(n=e.id,l=e.quantity?0:1,function(){return r(n,l)}),className:c("suboptionCheckbox",{selected:!!e.quantity})},t.createElement("span",{className:"suboptionName"},e.name,e.description&&t.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+e.description}})),t.createElement(St,{free:Zt(o,e).free,amount:Zt(o,e).amount,currency:a,freeLabel:i}));var n,l})))},Jt=function(e){var n=e.name,r=e.media,c=e.currency,l=e.price,s=e.oldPrice,u=e.description,m=e.totalPrice,p=e.allowComments,g=e.options,v=e.optionsHalf,h=e.max,y=e.quantity,b=e.ingredients,x=e.nameOnBox,w=e.comments,E=e.isLoading,N=e.isHalf,C=e.summaryOpen,k=e.onChangeIngredients,B=e.onChangeOption,O=e.onChangeOptionHalf,P=e.onChangeNameOnBox,j=e.onChangeComment,S=e.onAdd,I=e.onRemove,F=e.onAddToCart,L=e.onChangeIsHalf,z=e.disableAutoScroll,M=e.updateOptionOfActualData,H=e.onChangeQuantity,T=dt("errorConstructor"),D=dt("productConstructor"),R=a(null),A=R[0],q=R[1],_=a([]),Z=_[0],V=_[1],Q=a(0),W=Q[0],G=Q[1],U=a(!0),K=U[0],X=U[1],J=o(),Y=o(),$=function(e){G(e),ee()},ee=function(){z||setTimeout((function(){(null==J?void 0:J.current.scrollTop)<=20&&J.current.scrollTo({top:((null==Y?void 0:Y.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};i((function(){var e=f(f([],g,!0),v,!0),t=function(e,t,n,r){var a=e.filter((function(e){return e.enabled})),o=t.filter((function(e){return e.enabled}));if(o.length){var i={name:r.toppings,freeBudget:0,enabled:!0,max:1,min:1,id:Ft,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:jt.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,enabled:!0,max:1,id:Lt,quantity:Number(n)}]};a.push(i)}return[].concat(a).concat(o)}(g.filter((function(t){return At(t,e)})),v.filter((function(t){return At(t,e)})),N,D);if(V(t),b.length&&q(function(e,t){return{id:It,freeBudget:0,min:0,respectTo:null,half:jt.none,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return d(d({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(b,D)),K&&C){var n=0;t.length&&(n+=t.length),b.length&&(n+=1),p&&(n+=1),G(n)}X(!1)}),[b,g,v,N]);var te=function(){var e=re()[W];return!!(null==e?void 0:e.id)&&function(e,t){var n=e.suboptions.reduce((function(e,t){var n;return(null!==(n=t.quantity)&&void 0!==n?n:0)+e}),0);return 1===e.max&&1===e.min&&1!==n?"".concat(t.selectOneOf,": ").concat(e.name):e.min>n?"".concat(t.selectAtLeast," ").concat(e.min," ").concat(t.for," ").concat(e.name):e.max<n&&e.min!==e.max?"".concat(t.maximumAvailable," ").concat(e.max," ").concat(t.for," ").concat(e.name):void 0}(e,T)},ne=function(e){var n=M(e),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,o=function(e,t){!function(e){return e===Ft}(n.id)?n.withHalfOption?O(n.id,e,n.half,t):B(n.id,e,t):L(function(e){return e===Lt}(e))},i=e.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return r?t.createElement(Wt,{key:n.id,currency:c,ingredients:n.suboptions,onSelect:o,freeBudget:e.freeBudget,freeLabel:D.free}):a?t.createElement(Qt,{key:n.id,currency:c,suboptions:n.suboptions,onChangeQuantity:o,limitByMax:n.limitSuboptionsByMax,freeBudget:e.freeBudget,freeLabel:D.free}):t.createElement(Xt,{key:n.id,currency:c,suboptions:n.suboptions,onSelect:o,freeBudget:e.freeBudget,totalQuantity:i,freeLabel:D.free})},re=function(){var e=[];return A&&e.push({name:D.ingredients,component:t.createElement(wt,{ingredients:A.suboptions,onSelect:k})}),e.push.apply(e,Z.filter((function(e){return At(e,Z)})).map((function(e){return d(d({},e),{name:"".concat(Tt(e,D)," ").concat(Vt(e.min,e.max,e.freeBudget,D.free)),component:ne(e)})}))),p&&e.push({name:D.comments,component:t.createElement(Ut,{name:x,comment:w,onNameChange:P,onCommentChange:j})}),e.push({name:D.summary,component:t.createElement(Kt,{summary:Mt(A,Z.filter((function(e){return!e.withHalfOption})).filter((function(e){return e.id!=Ft})),Z.filter((function(e){return e.withHalfOption})).filter((function(e){return e.id!=Ft})),p?"".concat(w||"-"," | ").concat(x||"-"):null,D),onClickChange:function(e){return G(e)}})}),e};return t.createElement("div",{className:"productConstructor",ref:J},t.createElement("div",{className:"content"},!!r&&t.createElement("div",{ref:Y},t.createElement(kt,d({},r))),t.createElement("div",{className:"headProduct"},t.createElement("div",{className:"name"},n),t.createElement("div",{className:"priceControl"},!!s&&t.createElement("div",{className:"oldPrice"},lt(c,s)),!!l&&t.createElement("div",{className:"price"},lt(c,l)))),t.createElement("div",{className:"description"},u)),te()&&t.createElement(Gt,{message:te().toString()}),!!re().length&&t.createElement(Pt,{steps:re(),currentStep:W}),t.createElement(Ot,{isLoading:E,isSummary:W===re().length-1,isDisableNext:!!te(),isDisablePrev:0===W,currency:c,onPrev:function(){return $(W-1)},onNext:function(){return $(W+1)},onAddToCart:F,amount:m,count:y,onRemove:I,onAdd:S,isAddDisable:!!h&&y===h,isRemoveDisable:0===y,onChangeQuantity:function(e){H(e<=0?0:e)}}))};m(".productPreview{cursor:pointer;display:grid;gap:10px;grid-template-columns:300px 1fr}.productPreview .productReviewBody{display:flex;flex-direction:column;justify-content:space-between}.productPreview .productReviewBody .title{color:#1a1d1b;font-size:20px;font-weight:600;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .header{align-items:center;display:flex}.productPreview .productReviewBody .description{color:#747474;font-size:16px;font-weight:400;height:125px;overflow:hidden}.productPreview .productReviewFooter{align-items:center;display:flex;justify-content:space-between}.productPreview .productReviewFooter .priceBlock{align-items:center;display:flex;font-size:16px;font-weight:600}.productPreview .productReviewFooter .priceBlock .oldPrice{margin:0 5px}.productPreview .productReviewFooter .priceBlock .currentPrice{color:#007aff}.productPreview .productReviewFooter .priceBlock .newPrice{color:#fe7171}@media (max-width:800px){.productPreview{grid-template-columns:250px 1fr}.productPreview .productReviewBody .description{height:100px}}@media (max-width:650px){.productPreview{grid-template-columns:200px 1fr}.productPreview .tagLabel{display:none}.productPreview .productReviewBody .description{height:65px}}@media (max-width:500px){.productPreview{grid-template-columns:150px 1fr}.productPreview .productReviewBody .description{height:40px}}@media (max-width:400px){.productPreview{grid-template-columns:100px 1fr}.productPreview .productReviewBody .description{height:40px}}");m(".productTags{align-items:center;display:flex;gap:5px}.productTags .additionsNew{background:#016a2b}.productTags .additionVegetarian{background:#9cc653}.productTags .additionVegan{background:#688437}.productTags .additionSpicy{background:#c8313e}.productTags .additionNoGluten{background:#ff7426}");m(".tag{align-items:center;background:#000;border-radius:100px;color:#fff;display:flex;font-size:12px;font-weight:500;gap:5px;height:20px;padding:3px 13px}.tag .icon{fill:#fff;height:15px;width:15px}");var Yt=function(e){var n=e.className,r=void 0===n?"":n,a=e.label,o=e.icon;return t.createElement("div",{className:"tag "+r||""},t.createElement("span",{className:"tagLabel"},a),o)},$t=function(e){var n=e.vegan,r=e.vegetarian,a=e.isNew,o=e.spicy,i=e.glutenFree,c=dt("tag"),l=function(){return a?t.createElement(Yt,{label:"new",className:"additionItem",icon:t.createElement(Me,null)}):null},s=function(){return n?t.createElement(Yt,{label:c.vegan,className:"additionVegan",icon:t.createElement(t.Fragment,null,t.createElement(Te,null),t.createElement(Te,null))}):r?t.createElement(Yt,{label:c.vegetarian,className:"additionVegetarian",icon:t.createElement(Te,null)}):null},u=function(){return o?t.createElement(Yt,{label:c.spicy,className:"additionSpicy",icon:t.createElement(t.Fragment,null,Array(o).fill(0).map((function(e,n){return t.createElement(De,{key:n})})))}):null},m=function(){return i?t.createElement(Yt,{label:c.glutenFree,className:"additionNoGluten",icon:t.createElement(Re,null)}):null};return l()||s()||u()||m()?t.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},en=function(e){var n=e.id,r=e.currency,a=e.name,o=e.description,i=e.price,l=e.oldPrice,s=e.image,u=e.trashIcon,m=void 0!==u&&u,d=e.onClickTrash,p=e.onClick,f=e.vegetarian,g=e.vegan,v=e.isNew,h=e.spicy,y=e.glutenFree,b=e.quantity;return t.createElement("div",{className:"productPreview",onClick:function(){null==p||p(n)}},t.createElement(kt,{src:s.src,alt:s.alt,settings:s.settings}),t.createElement("div",{className:"productReviewBody"},t.createElement("div",{className:"productReviewHead"},t.createElement("div",{className:"header"},t.createElement("div",{className:"title"},a),m&&t.createElement(ze,{onClick:function(e){e.stopPropagation(),null==d||d(n)},width:20,height:20})),t.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:o}})),t.createElement("div",{className:"productReviewFooter"},t.createElement("div",{className:"options"},t.createElement($t,{isNew:v,spicy:h,vegan:g,glutenFree:y,vegetarian:f})),t.createElement("div",{className:"priceBlock"},!!l&&t.createElement("div",{className:c("oldPrice",{lineThrough:!b})},lt(r,l)),!!b&&t.createElement("span",{className:"quantity"}," x",b," "),!!i&&t.createElement("div",{className:c("currentPrice",{newPrice:!!l&&!b})},lt(r,i))))))};m(".productPreviewList .category .categoryName{color:#0e1328;font-size:24px;font-weight:600;margin:30px 0 20px}.productPreviewList .category .productPreview{border-bottom:1px solid #ccc;padding:16px 0}");var tn=function(e){var n=e.categories,r=e.onClickProduct;return t.createElement("div",{className:"productPreviewList"},n.map((function(e){return t.createElement("div",{key:e.name,className:"category"},t.createElement("div",{id:e.name,className:"categoryName"},e.name),e.products.map((function(n){return t.createElement(en,d({key:n.id},n,{onClick:function(t){return r(e.id,t)}}))})))})))};m(".restaurantHeader .restaurantHeaderTop{align-items:center;display:flex;justify-content:space-between;margin:0 0 10px}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName{align-items:center;color:#007aff;display:flex;font-size:32px;font-weight:700}.restaurantHeader .restaurantHeaderTop .restaurantHeaderName .icon{margin:0 0 0 12px}.restaurantHeader .restaurantHeaderTop .topLeft{align-items:center;display:flex}.restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 0 0 10px}.restaurantHeader .restaurantHeaderBottom{align-items:center;display:flex;justify-content:space-between}.restaurantHeader .restaurantHeaderBottom .bottomRight{align-items:center;display:flex;gap:10px}.rtl .restaurantHeader .restaurantHeaderTop .topLeft .restaurantTags{margin:0 10px 0 0}.rtl .restaurantHeader .restaurantHeaderName icon{margin:0 12px 0 0}");m(".restaurantTags{align-items:center;display:flex;gap:10px}.restaurantTags .restaurantTagNew{background:#007aff;color:#fff}.restaurantTags .restaurantTagScore{background:#fff;border:1px solid #007aff;color:#007aff}.restaurantTags .restaurantTagScore .icon{fill:#007aff!important}.restaurantTags .restaurantTagKosher{background:#000;color:#fff}");var nn=function(e){var n=e.score,r=e.isNew,a=e.kosher;return t.createElement("div",{className:"restaurantTags"},!!r&&t.createElement(Yt,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&t.createElement(Yt,{label:n.toFixed(1),className:"restaurantTagScore",icon:t.createElement(Me,null)}),!!a&&t.createElement(Yt,{label:"kosher",className:"restaurantTagKosher"}))};m(".headerCartButton{align-items:center;background:var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:#fff;cursor:pointer;display:flex;height:45px;justify-content:space-between;padding:0 20px}.headerCartButton .icon{fill:#fff;margin:0 10px 0 0}.headerCartButton .label{margin:0 50px 0 0}.rtl .headerCartButton .icon{margin:0 0 0 10px}.rtl .headerCartButton .label{margin:0 0 0 50px}");var rn=function(e){var n=e.currency,r=e.amount,a=e.onClick;return t.createElement("div",{className:"headerCartButton",onClick:a},t.createElement(qe,{className:"icon"}),t.createElement("span",{className:"label"},"Checkout"),t.createElement("span",{className:"price"},lt(n,r)))};m(".footer{justify-content:flex-start!important;width:100%}.footer .icon{height:20px;width:20px}@media (max-width:600px){.footer{height:30px!important}.footer .footer{padding:0!important}}.footer .footer{padding:0}.footer .footer-item{align-items:center;color:#747474;display:flex!important;font-size:14px;margin:0 13px 0 0;white-space:nowrap}.footer .footer-item:nth-last-child(2){margin:0!important}.footer .footer-item .icon,.footer .footer-item .title{margin-right:4px}@media (max-width:500px){.footer .footer-item{margin:0 5px 0 0}.footer .footer-item .title{display:none}}@media (min-width:1600px){.footer .footer-item{font-size:12px!important}}@media (max-width:600px){.footer .footer-item{font-size:12px}.footer .footer-item .icon{display:none!important}}.footer .footer-item.delivery-price .freeDelivery{align-items:center;background:var(--main-color);border-radius:100px;color:#fff;display:flex;justify-content:center;padding:3px 7px}.footer .footer-item.delivery-price .freeDelivery .icon{margin:0}@media (max-width:800px){.footer .footer-item.delivery-price span{display:none}}.footer .footer-item .clock,.footer .footer-item .marker,.footer .footer-item .scooterDelivery{background-color:#9d9d9d;height:24px;-webkit-transform:translate(0);transform:translate(0);width:24px}.rtl .footer .footer-item,.rtl .footer .footer-item:nth-last-child(2){margin:0 13px 0 0!important}.rtl .footer .footer-item:first-child{margin:0!important}.rtl .footer .footer-item .icon,.rtl .footer .footer-item .title{margin-left:4px;margin-right:0}");var an=function(e){var n=e.dontHide,r=e.minimum,o=e.isPickUp,l=e.withTitle,s=e.estimationRangeMax,m=e.estimationRangeMin,d=e.estimationTime,p=e.distance,f=e.deliveryPrice,g=e.currency,v=e.deliveryToLocation,h=a([]),y=h[0],b=h[1];return i((function(){var e=[];r&&e.push(t.createElement("div",{className:c("footer-item mini-order")},t.createElement(qe,null),l&&t.createElement("span",{className:c("title")},"Min order"),lt(g,r))),p&&!o&&e.push(t.createElement("span",{className:c("footer-item")},t.createElement(Qe,null),l&&t.createElement("div",{className:c("title")},"Distance"),"distanceKm ",p)),(s||m)&&e.push(t.createElement("div",{className:c("time footer-item")},o?t.createElement(Ze,null):t.createElement(We,null),l&&t.createElement("div",{className:c("title")},o?"Pickup time":"Delivery time"),m,"-",s," min")),!o&&v&&e.push(t.createElement("div",{className:c("footer-item delivery-price")},t.createElement(_e,null),l&&t.createElement("span",{className:c("title")},"deliveryPrice"),f?lt(g,f):t.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",t.createElement(Ge,null)," "))),0===s&&0===m&&d&&e.push(t.createElement("div",{className:c("time footer-item")},o?t.createElement(We,null):t.createElement(Ze,null),"up_to ",d,"  min")),b(e)}),[r,o,s,m,d,p,f,g,v]),t.createElement(u,{className:"footer benefitsData",minVisibleItems:n?y.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:y})},on=function(e){var n=e.name,r=e.isFavorite,a=e.isNew,o=e.kosher,i=e.score,c=e.cartAmount,l=e.alternativeView,s=e.currency,u=e.searchValue,m=e.onSearch,d=e.onCartClick;return t.createElement("div",{className:"restaurantHeader"},t.createElement("div",{className:"restaurantHeaderTop"},t.createElement("div",{className:"topLeft"},t.createElement("div",{className:"restaurantHeaderName"},n,r?t.createElement(Me,null):t.createElement(He,null)),(!!c||l)&&t.createElement(nn,{isNew:a,kosher:o,score:i})),t.createElement("div",{className:"topRight"},!!c&&!l&&t.createElement(rn,{onClick:d,amount:c,currency:s}))),t.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&t.createElement(nn,{isNew:a,kosher:o,score:i}),t.createElement("div",{className:"benefits"},t.createElement(an,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&t.createElement("div",{className:"bottomRight"},t.createElement(ft,{className:"input",placeholder:"Search in menu...",icon:t.createElement(Ae,null),value:u,onChange:m}),t.createElement(rn,{onClick:d,amount:c,currency:s}))))};m(".giftControl .giftControlButton{align-items:center;border:1px solid var(--main-color,#007aff);border-radius:var(--border-radius,5px);color:var(--main-color,#007aff);cursor:pointer;display:inline-flex;height:45px;margin:0 0 15px;padding:0 10px}.giftControl .giftControlButton .icon{margin:0 10px 0 0}.giftControl .giftControlButton.selected{background:var(--main-color,#007aff);border-color:#fff;color:#fff}.giftControl .giftControlForm .formItem{display:flex;flex-direction:column;margin:0 0 15px}.giftControl .giftControlForm .formItem:last-child{margin:0}.giftControl .giftControlForm .formItem .formItemHeader{display:inline-block;margin:0 0 5px}.giftControl .giftControlForm .formItem textarea{background:#f8f8f8;border:none;border-radius:var(--border-radius,5px);height:100px;padding:5px 15px;resize:none}.giftControl .giftControlForm .formItem textarea:focus{outline:none}");var cn=function(e){var n=e.isGift,r=e.onChange,a=e.name,o=e.phone,i=e.greeting,l=e.isReadonly,s=e.onToggleGift,u=dt("gift"),m=function(e,t){var n;r(((n={name:a,phone:o,greeting:i})[e]=t,n))};return t.createElement("div",{className:"giftControl"},t.createElement("div",{className:c("giftControlButton",{selected:n}),onClick:function(){return!l&&s()}},t.createElement(tt,{color:n?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,u.itsGift)),n&&t.createElement("div",{className:"giftControlForm"},t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},u.name),t.createElement(ft,{readOnly:l,value:a,onChange:function(e){var t=e.target;return m("name",t.value)},placeholder:u.namePlaceholder})),t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},u.phone),t.createElement(ft,{readOnly:l,value:o,onChange:function(e){var t=e.target;return m("phone",t.value)},placeholder:u.phonePlaceholder})),t.createElement("div",{className:"formItem"},t.createElement("span",{className:"formItemHeader"},u.greeting),t.createElement("textarea",{readOnly:l,value:i,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))};m(".summaryBlock{align-self:start;background:#f8f8f8;border-radius:var(--border-radius,10px)}.summaryBlock .headerContent{display:inline-block;font-size:24px;font-weight:600;margin:0!important;padding:25px 25px 0}.summaryBlock .products{padding:20px 25px}.summaryBlock .products .product{border-bottom:1px solid #cfd1d4;cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:10px;justify-content:space-between;margin:0 0 15px;padding:0 0 15px}.summaryBlock .products .product:last-child{margin:0}.summaryBlock .products .product .productBottom,.summaryBlock .products .product .productDescription,.summaryBlock .products .product .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:flex-start}.summaryBlock .products .product .productName{align-items:center;display:flex}.summaryBlock .products .product .productName .icon{margin:0 5px}.summaryBlock .products .product .productDescription,.summaryBlock .products .product .quantityAndPrice{color:#747474}.summaryBlock .products .product .productDescription{font-weight:400}.summaryBlock .products .product .productBottom{align-items:center;justify-content:space-between}.summaryBlock .products .product .productBottom .icon{fill:#747474!important}.summaryBlock .products .product .productBottom .counterButton{border-radius:100px;height:26px;width:120px}.summaryBlock .products .product .productBottom .counterButton .icon{fill:#747474!important;height:15px;width:15px}.summaryBlock .products .product .productBottom .counterButton input{background:none;color:#747474}.summaryBlock .products .product .totalLabel{color:#747474;font-weight:500}.summaryBlock .products .product .price{align-items:center;display:flex;gap:20px}.summaryBlock .summaryBody{padding-top:0!important}.summaryBlock .summaryBody .head{display:none!important}");var ln=function(e){var n=dt("summary");return t.createElement("div",{className:"summaryBlock"},t.createElement("div",{className:"headerContent"},n.summary),t.createElement("div",{className:"products"},e.products.map((function(r,a){return t.createElement("div",{className:"product",key:"".concat(r.id,"-summaryEdit"),onClick:function(){return e.onClickProduct(a)}},t.createElement("div",{className:"productTop"},t.createElement("div",{className:"productName"},r.name),t.createElement("div",{className:"price"},t.createElement("span",{className:"totalLabel"},n.total,":"),t.createElement("span",{className:"finalPrice"},r.full_price," ",lt(e.currency)),t.createElement(it,{color:"var(--main-color)",size:"small"}))),t.createElement("div",{className:"productDescription"},r.description),t.createElement("div",{className:"productBottom"},t.createElement(yt,{count:r.quantity,isAddDisable:r.max>=r.quantity,isRemoveDisable:r.quantity>=r.min,onAdd:function(){return e.onChangeQuantity(r.quantity+1,r,a)},onRemove:function(){return e.onChangeQuantity(r.quantity-1,r,a)},onChangeQuantity:function(t){return e.onChangeQuantity(t,r,a)}}),t.createElement(ze,{onClick:function(){return e.onRemove(a)},size:"small"})))}))),t.createElement(vt,d({},e)))};m(".tabsControl{align-items:center;display:flex;justify-content:flex-start}.tabsControl .control{align-items:center;background:none;border:1px solid var(--main-color,#007aff);color:var(--main-color,#007aff);cursor:pointer;display:flex;font-size:16px;font-weight:500;justify-content:center;padding:10px 15px}.tabsControl .control:first-child{border-radius:10px 0 0 10px}.tabsControl .control:last-child{border-radius:0 10px 10px 0}.tabsControl .control.disable{opacity:.5;pointer-events:none}.tabsControl .control .icon{margin:0 10px 0 0}.tabsControl .control.selected{background:var(--main-color);color:#fff!important}@media (max-width:600px){.tabsControl{display:grid;gap:10px;grid-template-columns:1fr 1fr}.tabsControl .control{font-size:16px;height:40px;margin:0;padding:10px 3px;white-space:nowrap;width:100%}.tabsControl .control .icon{height:20px;width:20px}}");var sn=function(e){var n=e.type,r=e.onChange,a=e.disabled,o=void 0!==a&&a,i=e.items;return t.createElement("div",{className:"tabsControl"},i.map((function(e){return t.createElement("div",{key:"tabs-control-"+e.text,className:c("control",{selected:e.type===n,disable:e.disabled||o}),onClick:function(){return r(e.type)}},e.icon&&t.createElement("div",{className:"icon"},e.icon()),t.createElement("span",null,e.text))})))};export{pt as BagesPaymentsOrderSummary,gt as Checkbox,ht as CheckoutFormItem,yt as CounterButton,bt as CutleryButton,xt as DeliveryControl,cn as GiftControl,jt as HALF_OPTION,It as INGREDIENTS,_e as IconBicycle,qe as IconCart,Ze as IconClockAfternoon,Ve as IconClose,ot as IconCutlery,at as IconDone,it as IconEditPen,tt as IconGift,Qe as IconMapPin,$e as IconMinus,rt as IconMoto,Xe as IconMute,Re as IconNoGluten,Ke as IconPause,nt as IconPercent,We as IconPersonSimpleWalk,Ue as IconPlay,Ye as IconPlus,Ae as IconSearch,Ge as IconSparkle,De as IconSpicy,Me as IconStar,He as IconStarBorder,ze as IconTrash,Je as IconUnmute,Te as IconVegan,et as IconWarning,wt as IngredientsSelector,ft as Input,kt as Media,vt as OrderSummary,ln as OrderSummaryWithProducts,Jt as ProductConstructor,en as ProductPreview,tn as ProductPreviewList,$t as ProductTags,on as RestaurantHeader,Pt as Stepper,Qt as SuboptionMultiSelector,Wt as SuboptionRadioSelector,sn as TabsControl,mt as TranslationUIProvider,Gt as Warning,At as checkRespectTo,Rt as convertToServerModelOptions,_t as mergeOption,qt as mergeProduct,zt as prepareHalfOptions};
@@ -25,7 +25,7 @@ export interface OrderSummaryProps extends BagesPaymentsOrderSummaryProps {
25
25
  offer_id: string;
26
26
  [key: string]: string | number;
27
27
  }[];
28
- canceledOfferIds: string[];
28
+ canceledOfferIds?: string[];
29
29
  customFields: {
30
30
  label: string;
31
31
  value: string | number;
@@ -1,14 +1,21 @@
1
1
  import React from 'react';
2
2
  import './style.scss';
3
3
  import { OrderSummaryProps } from '../OrderSummary';
4
+ interface Product {
5
+ id: string;
6
+ quantity: number;
7
+ price: number;
8
+ name: string;
9
+ full_price: number;
10
+ description: string;
11
+ min: number;
12
+ max: number;
13
+ }
4
14
  export interface OrderSummaryWithProductsProps extends OrderSummaryProps {
5
- products: {
6
- id: string;
7
- quantity: number;
8
- price: number;
9
- name: string;
10
- full_price: number;
11
- }[];
15
+ products: Product[];
16
+ onChangeQuantity: (v: number, product: Product, index: number) => void;
12
17
  onClickProduct: (index: number) => void;
18
+ onRemove: (v: number) => void;
13
19
  }
14
20
  export declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React.JSX.Element;
21
+ export {};
@@ -52,6 +52,7 @@ declare const _default: {
52
52
  free: string;
53
53
  };
54
54
  summary: {
55
+ editProduct: string;
55
56
  addRemovedOffer: string;
56
57
  removedOffer: string;
57
58
  bonus: string;
package/dist/index.d.ts CHANGED
@@ -87,7 +87,7 @@ interface OrderSummaryProps extends BagesPaymentsOrderSummaryProps {
87
87
  offer_id: string;
88
88
  [key: string]: string | number;
89
89
  }[];
90
- canceledOfferIds: string[];
90
+ canceledOfferIds?: string[];
91
91
  customFields: {
92
92
  label: string;
93
93
  value: string | number;
@@ -445,15 +445,21 @@ interface GiftControlProps {
445
445
  }
446
446
  declare const GiftControl: ({ isGift, onChange, name, phone, greeting, isReadonly, onToggleGift }: GiftControlProps) => React__default.JSX.Element;
447
447
 
448
+ interface Product {
449
+ id: string;
450
+ quantity: number;
451
+ price: number;
452
+ name: string;
453
+ full_price: number;
454
+ description: string;
455
+ min: number;
456
+ max: number;
457
+ }
448
458
  interface OrderSummaryWithProductsProps extends OrderSummaryProps {
449
- products: {
450
- id: string;
451
- quantity: number;
452
- price: number;
453
- name: string;
454
- full_price: number;
455
- }[];
459
+ products: Product[];
460
+ onChangeQuantity: (v: number, product: Product, index: number) => void;
456
461
  onClickProduct: (index: number) => void;
462
+ onRemove: (v: number) => void;
457
463
  }
458
464
  declare const OrderSummaryWithProducts: (props: OrderSummaryWithProductsProps) => React__default.JSX.Element;
459
465
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "delivapp-ordering",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/cjs/index.js",