delivapp-ordering 0.0.75 → 0.0.76

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("react-debounce-input"),n=require("classnames"),r=require("react-tooltip"),o=require("cloudinary-react"),a=require("react-overflow-list");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var c=i(e);function l(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}l(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");l(".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 s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};function u(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function m(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var p;function d(){return d=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},d.apply(this,arguments)}l(".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 f;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 h;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 y;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 b;function w(){return w=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},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 n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}var O;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 P,S,j;function I(){return I=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},I.apply(this,arguments)}var z,F;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 L;function H(){return H=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},H.apply(this,arguments)}var _,A;function M(){return M=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},M.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 q,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;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 G;function U(){return U=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},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 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 J;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 $;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 te;function ne(){return ne=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},ne.apply(this,arguments)}var re,oe;function ae(){return ae=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},ae.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 pe;function de(){return de=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},de.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 n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}var he;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 ye;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 be,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,Oe;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 ke,Be;function Pe(){return Pe=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},Pe.apply(this,arguments)}var Se;function je(){return je=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},je.apply(this,arguments)}var Ie;function ze(){return ze=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},ze.apply(this,arguments)}var Fe,Te;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 He,_e,Ae,Me,De,Re,qe,Ze=20,Ve=25,We=30,Qe=function(t,n){return function(r){var o=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}),a=function(e){return"small"===e?Ze:"big"===e?We:e||Ve}(r.size);return e.createElement(t,s({width:a,height:a},r,{style:o,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},Ge=Qe((function(e){return c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),p||(p=c.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"),Ue=Qe((function(e){return c.createElement("svg",g({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f||(f=c.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"),Ke=Qe((function(e){return c.createElement("svg",v({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),h||(h=c.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"),Xe=Qe((function(e){return c.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),y||(y=c.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"),Je=Qe((function(e){return c.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),b||(b=c.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"),Ye=Qe((function(e){return c.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),E||(E=c.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"),$e=Qe((function(e){return c.createElement("svg",C({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),O||(O=c.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"),et=Qe((function(e){return c.createElement("svg",B({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),k||(k=c.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"),tt=Qe((function(e){return c.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),P||(P=c.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),S||(S=c.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"})),j||(j=c.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),nt=Qe((function(e){return c.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"},e),z||(z=c.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),F||(F=c.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),rt=Qe((function(e){return c.createElement("svg",H({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),L||(L=c.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"),ot=Qe((function(e){return c.createElement("svg",M({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),_||(_=c.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=c.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"),at=Qe((function(e){return c.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),D||(D=c.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"),it=Qe((function(e){return c.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),q||(q=c.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"})),Z||(Z=c.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),ct=Qe((function(e){return c.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=c.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"),lt=Qe((function(e){return c.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),G||(G=c.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"),st=Qe((function(e){return c.createElement("svg",X({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=c.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"),ut=Qe((function(e){return c.createElement("svg",Y({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=c.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"),mt=Qe((function(e){return c.createElement("svg",ne({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=c.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"),pt=Qe((function(e){return c.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),$||($=c.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"),dt=Qe((function(e){return c.createElement("svg",ae({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),re||(re=c.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})),oe||(oe=c.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),ft=Qe((function(e){return c.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),ie||(ie=c.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},c.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"}),c.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"}),c.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"}),c.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"}),c.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"}))),ce||(ce=c.createElement("defs",null,c.createElement("clipPath",{id:"gift_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),gt=Qe((function(e){return c.createElement("svg",me({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),se||(se=c.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},c.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"}))),ue||(ue=c.createElement("defs",null,c.createElement("clipPath",{id:"percent_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),ht=Qe((function(e){return c.createElement("svg",de({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),pe||(pe=c.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"),vt=Qe((function(e){return c.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=c.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),yt=Qe((function(e){return c.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),he||(he=c.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"),xt=Qe((function(e){return c.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),ye||(ye=c.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"),bt=Qe((function(e){return c.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=c.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),we||(we=c.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),wt=Qe((function(e){return c.createElement("svg",Ce({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ne||(Ne=c.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),c.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),Oe||(Oe=c.createElement("defs",null,c.createElement("clipPath",{id:"important_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),Et=Qe((function(e){return c.createElement("svg",Pe({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ke||(ke=c.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Be||(Be=c.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),Nt=Qe((function(e){return c.createElement("svg",je({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Se||(Se=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),Ot=Qe((function(e){return c.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ie||(Ie=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),Ct=Qe((function(e){return c.createElement("svg",Le({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fe||(Fe=c.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},c.createElement("circle",{cx:8.333,cy:8,r:8}))),Te||(Te=c.createElement("defs",null,c.createElement("clipPath",{id:"wholeOption_svg__a"},c.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"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"}(He||(He={})),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"}(_e||(_e={})),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"}(Ae||(Ae={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Me||(Me={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(De||(De={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue",e[e.dinein=4]="dinein"}(Re||(Re={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(qe||(qe={}));var kt=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},Bt=function(e,t){var n="";return e&&(n=Me[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},Pt={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",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},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",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein"}},St=e.createContext(Pt),jt=St.Provider,It=function(t){var n=e.useContext(St);return n[t]?n[t]:Pt[t]},zt=function(t){var n=t.accumulatedPurchaseBonus,r=void 0===n?0:n,o=t.discount,a=void 0===o?0:o,i=t.finalDeliveryPrice,c=void 0===i?0:i,l=t.currency,s=It("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===c&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(ht,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),a>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(gt,null),e.createElement("span",{className:"discountLabel"},Bt(l,a)," ",s.discount)),r>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(ft,null),e.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};l(".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 .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}");l(".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(n){var r=n.icon,o=n.onChange,a=u(n,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},r&&r,e.createElement(t.DebounceInput,s({debounceTimeout:a.debounce},a,{onChange:o})))};l('@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 Tt=function(t){var r=t.value,o=t.disabled,a=t.onChange;return e.createElement("div",{className:n("customCheckbox",{selected:r,disabled:o}),onClick:function(){return!o&&a(!r)}})},Lt=function(t){var o=t.customConfirmButton,a=t.accumulatedPurchaseBonus,i=t.discount,c=t.finalDeliveryPrice,l=t.currency,s=t.offerType,u=t.coupon,m=t.fullPrice,p=t.discounts,d=t.deliveryType,f=t.deliveryPrice,g=t.serviceFee,h=t.topupToMinimum,v=t.driverTip,y=t.hideCoupon,x=t.paymentBalance,b=t.weightAdjustmentPriceBuffer,w=t.finalPrice,E=t.setCoupon,N=t.disabledConfirm,O=t.onConfirm,C=t.customDiscount,k=t.customDiscountValue,B=t.setCustomDiscountValue,P=t.customFields,S=t.finalCharge,j=t.canceledOfferIds,I=t.toggleOffer,z=t.recalculateDiscounts,F=t.disableRecalculateDiscounts,T=t.showRecalculateDiscounts,L=t.onChangeRecalculateDiscounts,H=t.canManageDiscount,_=It("summary"),A=function(t){var n=null==j?void 0:j.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===De.bonus?_.bonus:2===t.offer_type?_.coupon:_.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(rt,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return E("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===De.common&&H&&e.createElement("div",{onClick:function(){return I(t.offer_id)},className:"controlOffer"},n?_.addRemovedOffer:_.removedOffer),!n&&e.createElement("div",{className:"priceBlue price"},"-",Bt(l,t.discount))))};return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},_.summary),!!P&&P.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,_.subtotal),e.createElement("span",{className:"price"},Bt(l,m))),!!p&&p.filter((function(e){return e.discount_target===qe.products&&e.discount_type===De.common})).map(A),d===Re.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,f===c?_.deliveryCost:_.deliveryCostBase),e.createElement("span",{className:"price"},Bt(l,f||c))),C&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,_.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:k,onChange:function(e){var t=e.target;return B(t.value)}}),Bt(l))),!!p&&p.filter((function(e){return e.discount_target===qe.delivery})).map(A),d===Re.delivery&&f!==c&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,_.deliveryCostFinal),e.createElement("span",{className:"price"},Bt(l,c))),!!p&&p.filter((function(e){return e.discount_target===qe.products&&e.discount_type===De.bonus})).map(A),!!g&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container tooltipServiceFee"},_.serviceFee," ",e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipServiceFee"},_.serviceFeeTooltip),e.createElement("span",{className:"price"},Bt(l,g))),!!h&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},_.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipMinimumOrderCharge"},_.minimumOrderChargeTooltip),e.createElement("span",{className:"price"},Bt(l,h))),!!v&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container tooltipDriverTip"},e.createElement("span",null,_.driverTip),e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipDriverTip"},_.driverTooltip),e.createElement("span",{className:"price"},Bt(l,v))),!!b&&e.createElement("div",{className:"summaryItem item-question weightAdjustment"},e.createElement("span",{className:"tooltip-container weight-addjustmant"},e.createElement("span",null,_.weightAdjustment),e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".weight-addjustmant"},_.weightAdjustmentTooltip),e.createElement("span",{className:"price"},Bt(l,b))),!y&&p&&!p.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!u.trim().length&&2!==s&&e.createElement("span",{className:"invalidCoupon"},_.invalidPromocode),u.length?e.createElement("span",{className:"inputArea"},e.createElement(Ft,{autoFocus:!0,value:u,onChange:function(e){return E(e.target.value)},debounce:500}),e.createElement(rt,{size:15,onClick:function(){return E("")},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return E(" ")}},_.placeholderPromocode)),T&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:n({disabled:F})},_.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(Tt,{value:z,onChange:L,disabled:F}))),null!==x&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,_.paymentBalance),e.createElement("span",{className:"price"},Bt(l,x))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},_.total),e.createElement("span",{className:"price priceBlue"},Bt(l,w)))),e.createElement(zt,{currency:l,discount:i,accumulatedPurchaseBonus:a,finalDeliveryPrice:c}),e.createElement("div",{onClick:O,className:n("confirmButton",{disable:N})},o||"".concat(_.confirm," ").concat(S?Bt(l,S):"").trim()))};l(".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}");l(".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 Ht=function(t){var r=t.count,o=t.isRemoveDisable,a=t.isAddDisable,i=t.onAdd,c=t.onRemove,l=t.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(pt,{color:"var(--main-color, #007aff)",onClick:c,className:n("control",{disable:o})}),e.createElement("input",{className:"control count",type:"number",step:1,value:r.toString(),onChange:function(e){var t=e.target,n=parseInt(t.value);l(n||0)}}),e.createElement(mt,{color:"var(--main-color, #007aff)",onClick:i,className:n("control",{disable:a})}))};l(".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}");l(".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}}");l(".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 _t=function(t){var r=t.ingredients,o=t.onSelect;return e.createElement("div",{className:"ingredients"},r.map((function(t){return e.createElement("div",{key:t.id,onClick:(r=t.id,function(){return o(r)}),className:n("ingredient",{selected:!!t.quantity})},t.name);var r})))};l(".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 At=function(t){var n=t.src,r=t.alt,a=t.width,i=t.height,c=t.quality,l=t.gravity,s=t.crop,u=t.id;return e.createElement(o.Image,{id:u,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},e.createElement(o.Transformation,{width:a,height:i,quality:c,gravity:l,crop:s}),e.createElement(o.Transformation,{fetchFormat:"auto"}))},Mt=function(t){var n=t.autoPlay,r=t.onStart,o=t.id,a=t.src,i=t.onEnd,c=t.controls,l=e.useState({playing:!1,muted:!1}),u=l[0],m=l[1],p=e.useRef(),d=function(){p.current.paused?(p.current.play(),m((function(e){return s(s({},e),{playing:!0})}))):(p.current.pause(),m((function(e){return s(s({},e),{playing:!1})})))},f=function(){p.current.muted=!p.current.muted,m((function(e){return s(s({},e),{muted:p.current.muted})}))};return e.createElement("div",{className:"videoControl"},c&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!u.playing&&e.createElement(ct,{color:"var(--main-color)",className:"control",onClick:d}),u.playing&&e.createElement(lt,{color:"var(--main-color)",className:"control",onClick:d}),u.muted&&e.createElement(st,{color:"var(--main-color)",className:"control",onClick:f}),!u.muted&&e.createElement(ut,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(Dt,{autoPlay:n,src:a,onPlay:function(){r&&r(),m((function(e){return s(s({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:p,id:o}))},Dt=function(t){var n=t.videoRef,r=t.src,o=t.id,a=t.onPlay,i=t.onEnded,c=t.autoPlay;return e.createElement("video",{ref:n,src:r,id:o,onPlay:function(){a&&a()},autoPlay:c,onEnded:function(){i&&i()}})},Rt=function(t){var n=t.src,r=t.settings,o=t.alt,a=t.id,i=u(t,["src","settings","alt","id"]),c=e.useRef(null),l=e.useState({width:0,height:0}),m=l[0],p=l[1],d=n.includes("/image/"),f=n.includes("/video/"),g=n.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){m.width!==c.current.offsetWidth&&m.height!==c.current.offsetHeight&&p({width:c.current.offsetWidth||0,height:c.current.offsetHeight||0})}));return e.createElement("div",{ref:c,className:"mediaWrapper"},d&&e.createElement(At,s({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:kt(_e,(null==r?void 0:r.gravity_mode)||0),crop:kt(He,(null==r?void 0:r.crop_mode)||0),src:g,alt:o,id:a})),f&&e.createElement(Mt,s({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:kt(_e,(null==r?void 0:r.gravity_mode)||0),crop:kt(He,(null==r?void 0:r.crop_mode)||0),id:a,src:n})))};l(".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}");l(".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}}");l('.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 qt=function(){return e.createElement("div",{className:"lds-dual-ring"})},Zt=function(t){var r=t.isSummary,o=t.isLoading,a=t.isDisableNext,i=t.isDisablePrev,c=t.amount,l=t.currency,s=t.onPrev,u=t.onNext,m=t.count,p=t.isAddDisable,d=t.isRemoveDisable,f=t.onAdd,g=t.onRemove,h=t.onAddToCart,v=t.onChangeQuantity,y=It("productConstructor");return e.createElement("div",{className:n("footerControls",{summary:r})},r?e.createElement(e.Fragment,null,e.createElement(Ht,{count:m,isRemoveDisable:d||o,isAddDisable:p||o,onAdd:f,onRemove:g,onChangeQuantity:v}),e.createElement("div",{onClick:h,className:n("button major",{disable:o})},o?e.createElement(qt,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(et,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,Bt(l,c))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:n("button",{disable:i||o})},y.back),e.createElement("div",{onClick:u,className:n("button major",{disable:a||o})},o?e.createElement(qt,null):e.createElement(e.Fragment,null,y.next," ",Bt(l,c)))))};l(".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 Vt=function(t){var r=t.steps,o=t.currentStep,a=r[o].component,i=r[o].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(r.length).fill(0).map((function(t,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:n("step",{active:a===o})}),a!==r.length-1&&e.createElement("div",{className:"line"}))}))),a)};l(".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,Qt=function(t){var n=t.free,r=t.amount,o=t.currency,a=t.freeLabel;return n?e.createElement("span",{className:"suboptionPrice"},a):r?e.createElement("span",{className:"suboptionPrice"},"+",Bt(o,r)):e.createElement("span",{className:"suboptionPrice"})},Gt={0:e.createElement(Ct,{size:20,color:"var(--main-color)"}),1:e.createElement(Nt,{size:20,color:"var(--main-color)"}),2:e.createElement(Ot,{size:20,color:"var(--main-color)"})},Ut="#INGREDIENTS",Kt="#HALF_SELECTOR",Xt="#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 Jt=function(t,n,r,o,a,i){var c,l=[],s=0;if(null==a?void 0:a.unit_weight){var u=parseInt((a.unit_weight*a.weight_range*a.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",Bt(a.currency,a.amountDiff))),p="";p=(null==a?void 0:a.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(a.unit_weight," ").concat(i.gr),l.push({weightProduct:!0,name:a.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:p,tooltip:(null==a?void 0:a.weighed)?m:null})}if((null===(c=null==t?void 0:t.suboptions)||void 0===c?void 0:c.length)&&l.push({name:i.ingredients,value:en(t.suboptions),index:s++}),n.forEach((function(t){var n,r;l.push({name:t.name,value:(n=t.suboptions,r=n.filter((function(e){return e.quantity})),e.createElement("div",null,!!r.length&&r.map((function(t,n){return e.createElement("div",{key:"".concat(n,"-").concat(t.id),className:"summarySuboption"},e.createElement("span",null,t.name),(t.halfOption||0===t.halfOption)&&Gt[t.halfOption])})),!r.length&&"-")),index:s++})})),r.length){var d=r.some((function(e){return e.half===exports.HALF_OPTION.right}));l.push({name:i.toppings,value:d?i.half:i.full,index:s++})}return r.forEach((function(e){l.push({name:e.name,value:Yt(e.suboptions),index:s++})})),o&&l.push({name:i.comments,value:o,index:s++}),l},Yt=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},$t=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},en=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},tn=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)},nn=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}},rn=function(e,t,n,r){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")")},on=function(t){var r=t.suboptions,o=t.onChangeQuantity,a=t.currency,i=t.limitByMax,c=t.freeLabel,l=t.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"},r.map((function(t){return e.createElement("div",{className:"suboption",key:t.id},e.createElement("span",{className:n("suboptionName",{selected:!!t.quantity})},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement("div",{className:"counterSection"},e.createElement(Qt,{free:nn(l,t).free,amount:nn(l,t).amount,currency:a,freeLabel:c}),e.createElement(Ht,{count:t.quantity||0,isAddDisable:u(t),isRemoveDisable:!t.quantity,onAdd:s(t.id,(t.quantity||0)+1),onRemove:s(t.id,(t.quantity||0)-1),onChangeQuantity:function(e){return s(t.id,e)()}})))})))};l('.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 an=function(t){var r=t.freeLabel,o=t.ingredients,a=t.onSelect,i=t.currency,c=t.freeBudget;return e.createElement("div",{className:"extrasRadio"},o.map((function(t){return e.createElement("div",{key:t.id,onClick:(o=t.id,l=t.quantity||1,function(){return a(o,l)}),className:n("extra",{selected:!!t.quantity})},e.createElement("span",{className:"extraName"},t.name,t.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement(Qt,{freeLabel:r,free:nn(c,t).free,amount:nn(c,t).amount,currency:i}));var o,l})))};l(".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 cn=function(t){var n=t.message;return e.createElement("div",{className:"warning"},e.createElement(dt,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};l(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var ln=function(t){var n=t.name,r=t.comment,o=t.onCommentChange,a=t.onNameChange,i=It("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.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.addNamePlaceholder,value:n}),e.createElement("span",{className:"inputName"},i.addComment),e.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.addCommentPlaceholder,value:r}))};l(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.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}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var sn=function(t){var o=t.summary,a=t.onClickChange,i=It("productConstructor");return e.createElement("div",{className:"productSummary"},o.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:n("name",{weightName:t.weightProduct})},t.name,t.weightProduct&&e.createElement(bt,{size:16,color:"var(--main-color, #007aff)"})),e.createElement("div",{className:n("value",{weighed:t.weightProduct})},t.value,t.tooltip&&e.createElement(e.Fragment,null,e.createElement(wt,{className:"importantWeight",size:20}),e.createElement(r.Tooltip,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},t.tooltip))),!t.weightProduct&&e.createElement("div",{onClick:function(){return a(t.index)},className:"button"},i.change))})))};l(".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 un=function(t){var r=t.suboptions,o=t.onSelect,a=t.currency,i=t.freeBudget,c=t.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},r.map((function(t){return e.createElement("div",{key:t.id,onClick:(r=t.id,l=t.quantity?0:1,function(){return o(r,l)}),className:n("suboptionCheckbox",{selected:!!t.quantity})},e.createElement("span",{className:"suboptionName"},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement(Qt,{free:nn(i,t).free,amount:nn(i,t).amount,currency:a,freeLabel:c}));var r,l})))};l(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var mn=function(t){var n=t.currency,r=t.suboptions,o=t.onChangeOption,a=function(e,t){var n=e===t.halfOption?0:1;o(t.id,n,s(s({},t),{halfOption:e===t.halfOption?null:e}))};return e.createElement("div",{className:"suboptionPizzaSelector"},r.map((function(t){return e.createElement("div",{key:t.id,className:"pizzaOption"},e.createElement("div",{className:"pizzaOptionName"},e.createElement("span",null,t.name),!!t.description&&e.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:t.description}})),e.createElement("div",{className:"halfOptions"},!!t.price&&e.createElement("span",null,t.price," ",Bt(n)),e.createElement(Ct,{onClick:function(){return a(exports.HALF_OPTION.none,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.none?"var(--main-color)":"#747474"}),e.createElement(Ot,{onClick:function(){return a(exports.HALF_OPTION.right,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.right?"var(--main-color)":"#747474"}),e.createElement(Nt,{onClick:function(){return a(exports.HALF_OPTION.left,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.left?"var(--main-color)":"#747474"})))})))};l(".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:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.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}}");l(".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}");l(".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 pn=function(t){var n=t.className,r=void 0===n?"":n,o=t.label,a=t.icon;return e.createElement("div",{className:"tag "+r||""},e.createElement("span",{className:"tagLabel"},o),a)},dn=function(t){var n=t.vegan,r=t.vegetarian,o=t.isNew,a=t.spicy,i=t.glutenFree,c=It("tag"),l=function(){return o?e.createElement(pn,{label:"new",className:"additionItem",icon:e.createElement(Ue,null)}):null},s=function(){return n?e.createElement(pn,{label:c.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(Xe,null),e.createElement(Xe,null))}):r?e.createElement(pn,{label:c.vegetarian,className:"additionVegetarian",icon:e.createElement(Xe,null)}):null},u=function(){return a?e.createElement(pn,{label:c.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(a).fill(0).map((function(t,n){return e.createElement(Je,{key:n})})))}):null},m=function(){return i?e.createElement(pn,{label:c.glutenFree,className:"additionNoGluten",icon:e.createElement(Ye,null)}):null};return l()||s()||u()||m()?e.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},fn=function(t){var r=t.id,o=t.currency,a=t.name,i=t.description,c=t.price,l=t.oldPrice,s=t.image,u=t.trashIcon,m=void 0!==u&&u,p=t.onClickTrash,d=t.onClick,f=t.vegetarian,g=t.vegan,h=t.isNew,v=t.spicy,y=t.glutenFree,x=t.quantity,b=t.weight,w=It("productConstructor");return e.createElement("div",{className:"productPreview",onClick:function(){null==d||d(r)}},e.createElement(Rt,{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,b>0&&e.createElement("span",{className:"weightBlock"},e.createElement(bt,{size:16,color:"var(--main-color, #007aff)"})," ",b," ",e.createElement("span",null,w.gr))),m&&e.createElement(Ge,{onClick:function(e){e.stopPropagation(),null==p||p(r)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(dn,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!l&&e.createElement("div",{className:n("oldPrice",{lineThrough:!x})},Bt(o,l)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!c&&e.createElement("div",{className:n("currentPrice",{newPrice:!!l&&!x})},Bt(o,c))))))};l(".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}");l(".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}");l(".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 gn=function(t){var n=t.score,r=t.isNew,o=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!r&&e.createElement(pn,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&e.createElement(pn,{label:n.toFixed(1),className:"restaurantTagScore",icon:e.createElement(Ue,null)}),!!o&&e.createElement(pn,{label:"kosher",className:"restaurantTagKosher"}))};l(".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 hn=function(t){var n=t.currency,r=t.amount,o=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:o},e.createElement(et,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},Bt(n,r)))};l(".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 vn=function(t){var r=t.dontHide,o=t.minimum,i=t.isPickUp,c=t.withTitle,l=t.estimationRangeMax,s=t.estimationRangeMin,u=t.estimationTime,m=t.distance,p=t.deliveryPrice,d=t.currency,f=t.deliveryToLocation,g=e.useState([]),h=g[0],v=g[1];return e.useEffect((function(){var t=[];o&&t.push(e.createElement("div",{className:n("footer-item mini-order")},e.createElement(et,null),c&&e.createElement("span",{className:n("title")},"Min order"),Bt(d,o))),m&&!i&&t.push(e.createElement("span",{className:n("footer-item")},e.createElement(ot,null),c&&e.createElement("div",{className:n("title")},"Distance"),"distanceKm ",m)),(l||s)&&t.push(e.createElement("div",{className:n("time footer-item")},i?e.createElement(nt,null):e.createElement(at,null),c&&e.createElement("div",{className:n("title")},i?"Pickup time":"Delivery time"),s,"-",l," min")),!i&&f&&t.push(e.createElement("div",{className:n("footer-item delivery-price")},e.createElement(tt,null),c&&e.createElement("span",{className:n("title")},"deliveryPrice"),p?Bt(d,p):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(it,null)," "))),0===l&&0===s&&u&&t.push(e.createElement("div",{className:n("time footer-item")},i?e.createElement(at,null):e.createElement(nt,null),"up_to ",u,"  min")),v(t)}),[o,i,l,s,u,m,p,d,f]),e.createElement(a.OverflowList,{className:"footer benefitsData",minVisibleItems:r?h.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:h})};l(".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}");l(".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 .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.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-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.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}");l(".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=zt,exports.Checkbox=Tt,exports.CheckoutFormItem=function(t){var n=t.label,r=t.data,o=t.changeInLabel,a=void 0!==o&&o,i=t.hideChange,c=void 0!==i&&i,l=t.onChangeClick,s=It("checkoutFormItem"),u=Array.isArray(r);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},n,a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},r.map((function(t,n){return e.createElement("div",{key:n,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},r),!a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)))},exports.CounterButton=Ht,exports.CutleryButton=function(t){var n=t.cutlery,r=t.onAdd,o=t.onRemove,a=It("cutlery");return e.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&e.createElement(e.Fragment,null,e.createElement(yt,{color:"var(--main-color, #007AFF)",size:20})," ",a.addCutlery),!!n&&e.createElement(e.Fragment,null,a.cutlery,e.createElement(Ht,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return r(n+1)},onRemove:function(){return o(n-1)},onChangeQuantity:function(e){r(e<=0?0:e)}})))},exports.DeliveryControl=function(t){var r=t.type,o=t.onChange,a=t.disableDelivery,i=t.disableDinein,c=t.showDinein,l=t.disableTakeAway,s=It("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:n("control",{selected:Re.takeAway===r,disable:l}),onClick:function(){return o(Re.takeAway)}},e.createElement(at,{size:30,color:r===Re.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.pickUp)),c&&e.createElement("div",{className:n("control",{selected:Re.dinein===r,disable:i}),onClick:function(){return o(Re.dinein)}},e.createElement(Et,{size:30,color:r===Re.dinein?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.dinein)),e.createElement("div",{className:n("control",{selected:Re.delivery===r,disable:a}),onClick:function(){return o(Re.delivery)}},e.createElement(ht,{size:30,color:r===Re.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.delivery)))},exports.GiftControl=function(t){var r=t.isGift,o=t.onChange,a=t.name,i=t.phone,c=t.greeting,l=t.isReadonly,s=t.onToggleGift,u=It("gift"),m=function(e,t){var n;o(((n={name:a,phone:i,greeting:c})[e]=t,n))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:n("giftControlButton",{selected:r}),onClick:function(){return!l&&s()}},e.createElement(ft,{color:r?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),r&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(Ft,{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(Ft,{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=Ut,exports.IconBicycle=tt,exports.IconCart=et,exports.IconClockAfternoon=nt,exports.IconClose=rt,exports.IconCutlery=yt,exports.IconDinein=Et,exports.IconDone=vt,exports.IconEditPen=xt,exports.IconGift=ft,exports.IconImportant=wt,exports.IconLeftOption=Nt,exports.IconMapPin=ot,exports.IconMinus=pt,exports.IconMoto=ht,exports.IconMute=st,exports.IconNoGluten=Ye,exports.IconPause=lt,exports.IconPercent=gt,exports.IconPersonSimpleWalk=at,exports.IconPlay=ct,exports.IconPlus=mt,exports.IconRightOption=Ot,exports.IconSearch=$e,exports.IconSparkle=it,exports.IconSpicy=Je,exports.IconStar=Ue,exports.IconStarBorder=Ke,exports.IconTrash=Ge,exports.IconUnmute=ut,exports.IconVegan=Xe,exports.IconWarning=dt,exports.IconWeighted=bt,exports.IconWholeOption=Ct,exports.IngredientsSelector=_t,exports.Input=Ft,exports.Media=Rt,exports.OrderSummary=Lt,exports.OrderSummaryWithProducts=function(t){var n=It("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},n.summary),e.createElement("div",{className:"products"},t.products.map((function(n,r){var o;return e.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(r)}},e.createElement("div",{className:"productTop"},(null===(o=null==n?void 0:n.image)||void 0===o?void 0:o.src)&&e.createElement(Rt,{src:n.image.src,alt:n.image.alt,settings:n.image.settings}),e.createElement("div",{className:"productName"},n.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"finalPrice"},n.full_price," ",Bt(t.currency)),e.createElement(xt,{color:"var(--main-color)",size:"small"}))),e.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},e.createElement("div",{className:"productDescription"},n.description),e.createElement(Ht,{count:n.quantity,isAddDisable:n.max>=n.quantity,isRemoveDisable:n.quantity>=n.min,onAdd:function(){return t.onChangeQuantity(n.quantity+1,n,r)},onRemove:function(){return t.onChangeQuantity(n.quantity-1,n,r)},onChangeQuantity:function(e){return t.onChangeQuantity(e,n,r)}})))}))),e.createElement(Lt,s({},t)))},exports.ProductConstructor=function(t){var n=t.name,r=t.media,o=t.currency,a=t.price,i=t.oldPrice,c=t.description,l=t.totalPrice,u=t.allowComments,p=t.options,d=t.optionsHalf,f=t.max,g=t.unit_weight,h=t.weight_range,v=t.amountDiff,y=t.weighed,x=t.quantity,b=t.ingredients,w=t.nameOnBox,E=t.comments,N=t.isLoading,O=t.isHalf,C=t.summaryOpen,k=t.onChangeIngredients,B=t.onChangeOption,P=t.onChangeOptionHalf,S=t.onChangeNameOnBox,j=t.onChangeComment,I=t.onAdd,z=t.onRemove,F=t.onAddToCart,T=t.onChangeIsHalf,L=t.disableAutoScroll,H=t.updateOptionOfActualData,_=t.onChangeQuantity,A=It("errorConstructor"),M=It("productConstructor"),D=e.useState(null),R=D[0],q=D[1],Z=e.useState([]),V=Z[0],W=Z[1],Q=e.useState(0),G=Q[0],U=Q[1],K=e.useState(!0),X=K[0],J=K[1],Y=e.useRef(),$=e.useRef(),ee=function(e){U(e),te()},te=function(){L||setTimeout((function(){(null==Y?void 0:Y.current.scrollTop)<=20&&Y.current.scrollTo({top:((null==$?void 0:$.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=m(m([],p,!0),d,!0),t=function(e,t,n,r){var o=e.filter((function(e){return e.enabled})),a=t.filter((function(e){return e.enabled}));if(a.length){var i={name:r.toppings,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:Kt,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:Xt,quantity:Number(n)}]};o.push(i)}return[].concat(o).concat(a)}(p.filter((function(t){return tn(t,e)})),d.filter((function(t){return tn(t,e)})),O,M);if(W(t),b.length&&q(function(e,t){return{id:Ut,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return s(s({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(b,M)),X&&C){var n=0;t.length&&(n+=t.length),b.length&&(n+=1),u&&(n+=1),U(n)}J(!1)}),[b,p,d,O]);var ne=function(){var e=oe()[G];return!!(null==e?void 0:e.id)&&function(e,t){if(e.pizzaOption&&e.withHalfOption)return"";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,A)},re=function(t){var n=H(t),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,i=function(e,t,r){!function(e){return e===Kt}(n.id)?n.withHalfOption&&!n.pizzaOption?P(n.id,e,n.half,t):B(n.id,e,t,r):T(function(e){return e===Xt}(e))},c=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return t.pizzaOption&&t.withHalfOption?e.createElement(mn,{key:n.id,currency:o,onChangeOption:i,suboptions:n.suboptions}):r?e.createElement(an,{key:n.id,currency:o,ingredients:n.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:M.free}):a?e.createElement(on,{key:n.id,currency:o,suboptions:n.suboptions,onChangeQuantity:i,limitByMax:n.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:M.free}):e.createElement(un,{key:n.id,currency:o,suboptions:n.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:c,freeLabel:M.free})},oe=function(){var t=[];return R&&t.push({name:M.ingredients,component:e.createElement(_t,{ingredients:R.suboptions,onSelect:k})}),t.push.apply(t,V.filter((function(e){return tn(e,V)})).map((function(e){return s(s({},e),{name:e.pizzaOption&&e.withHalfOption?"".concat($t(e,M)):"".concat($t(e,M)," ").concat(rn(e.min,e.max,e.freeBudget,M.free)),component:re(e)})}))),u&&t.push({name:M.comments,component:e.createElement(ln,{name:w,comment:E,onNameChange:S,onCommentChange:j})}),t.push({name:M.summary,component:e.createElement(sn,{summary:Jt(R,V.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=Kt})),V.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=Kt})),u?"".concat(E||"-"," | ").concat(w||"-"):null,{weighed:y,unit_weight:g,quantity:x,weight_range:h,currency:o,amountDiff:v},M),onClickChange:function(e){return U(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:Y},e.createElement("div",{className:"content"},!!r&&e.createElement("div",{ref:$},e.createElement(Rt,s({},r))),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},n),e.createElement("div",{className:"priceControl"},!!i&&e.createElement("div",{className:"oldPrice"},Bt(o,i)),!!a&&e.createElement("div",{className:"price"},Bt(o,a)))),e.createElement("div",{className:"description"},c)),ne()&&e.createElement(cn,{message:ne().toString()}),!!oe().length&&e.createElement(Vt,{steps:oe(),currentStep:G}),e.createElement(Zt,{isLoading:N,isSummary:G===oe().length-1,isDisableNext:!!ne(),isDisablePrev:0===G,currency:o,onPrev:function(){return ee(G-1)},onNext:function(){return ee(G+1)},onAddToCart:F,amount:l,count:x,onRemove:z,onAdd:I,isAddDisable:!!f&&x===f,isRemoveDisable:0===x,onChangeQuantity:function(e){_(e<=0?0:e)}}))},exports.ProductPreview=fn,exports.ProductPreviewList=function(t){var n=t.categories,r=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},n.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(n){return e.createElement(fn,s({key:n.id},n,{onClick:function(e){return r(t.id,e)}}))})))})))},exports.ProductTags=dn,exports.RestaurantHeader=function(t){var n=t.name,r=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,p=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},n,r?e.createElement(Ue,null):e.createElement(Ke,null)),(!!c||l)&&e.createElement(gn,{isNew:o,kosher:a,score:i})),e.createElement("div",{className:"topRight"},!!c&&!l&&e.createElement(hn,{onClick:p,amount:c,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&e.createElement(gn,{isNew:o,kosher:a,score:i}),e.createElement("div",{className:"benefits"},e.createElement(vn,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&e.createElement("div",{className:"bottomRight"},e.createElement(Ft,{className:"input",placeholder:"Search in menu...",icon:e.createElement($e,null),value:u,onChange:m}),e.createElement(hn,{onClick:p,amount:c,currency:s}))))},exports.Stepper=Vt,exports.SuboptionMultiSelector=on,exports.SuboptionRadioSelector=an,exports.TabsControl=function(t){var r=t.type,o=t.onChange,a=t.disabled,i=void 0!==a&&a,c=t.items;return e.createElement("div",{className:"tabsControl"},c.map((function(t){return e.createElement("div",{key:"tabs-control-"+t.text,className:n("control",{selected:t.type===r,disable:t.disabled||i}),onClick:function(){return o(t.type)}},t.icon&&e.createElement("div",{className:"icon"},t.icon()),e.createElement("span",null,t.text))})))},exports.TranslationUIProvider=jt,exports.Warning=cn,exports.checkRespectTo=tn,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){var n;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(n=t.halfOption)&&void 0!==n?n:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var n,r,o,a=null;if(!e.withHalfOption||e.pizzaOption)a=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;a=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}))}))}return e.suboptions=null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.map((function(e){var t,n=null===(t=null==a?void 0:a.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(n){var r=s(s(s({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return s({},e)})),e},exports.mergeProduct=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||e.pizzaOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return s(s({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return s(s({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).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===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 n?s(s({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return s(s({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):r.isHalf||o&&a?(r.isHalf=!0,[s(s({},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 s(s({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),s(s({},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 s(s({},e),{half:exports.HALF_OPTION.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(s(s({},t),{quantity:n?0:1}))})),r},exports.prepareHalfOptions=function(e,t){var n=[],r=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?r.forEach((function(e){n.push(s(s({},e),{half:exports.HALF_OPTION.left})),n.push(s(s({},e),{half:exports.HALF_OPTION.right}))})):r.forEach((function(e){n.push(s(s({},e),{half:exports.HALF_OPTION.none}))})),n};
1
+ "use strict";var e=require("react"),t=require("react-debounce-input"),n=require("classnames"),r=require("react-tooltip"),o=require("cloudinary-react"),a=require("react-overflow-list");function i(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var c=i(e);function l(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}l(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");l(".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 s=function(){return s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},s.apply(this,arguments)};function u(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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function m(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var p;function d(){return d=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},d.apply(this,arguments)}l(".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 f;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 h;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 y;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 b;function w(){return w=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},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 n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},N.apply(this,arguments)}var O;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 P,S,j;function I(){return I=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},I.apply(this,arguments)}var z,F;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 L;function H(){return H=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},H.apply(this,arguments)}var _,A;function M(){return M=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},M.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 q,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;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 G;function U(){return U=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},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 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 J;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 $;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 te;function ne(){return ne=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},ne.apply(this,arguments)}var re,oe;function ae(){return ae=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},ae.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 pe;function de(){return de=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},de.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 n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(this,arguments)}var he;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 ye;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 be,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,Oe;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 ke,Be;function Pe(){return Pe=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},Pe.apply(this,arguments)}var Se;function je(){return je=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},je.apply(this,arguments)}var Ie;function ze(){return ze=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},ze.apply(this,arguments)}var Fe,Te;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 He,_e,Ae,Me,De,Re,qe,Ze=20,Ve=25,We=30,Qe=function(t,n){return function(r){var o=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}),a=function(e){return"small"===e?Ze:"big"===e?We:e||Ve}(r.size);return e.createElement(t,s({width:a,height:a},r,{style:o,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},Ge=Qe((function(e){return c.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},e),p||(p=c.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"),Ue=Qe((function(e){return c.createElement("svg",g({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),f||(f=c.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"),Ke=Qe((function(e){return c.createElement("svg",v({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},e),h||(h=c.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"),Xe=Qe((function(e){return c.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},e),y||(y=c.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"),Je=Qe((function(e){return c.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),b||(b=c.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"),Ye=Qe((function(e){return c.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},e),E||(E=c.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"),$e=Qe((function(e){return c.createElement("svg",C({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},e),O||(O=c.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"),et=Qe((function(e){return c.createElement("svg",B({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},e),k||(k=c.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"),tt=Qe((function(e){return c.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),P||(P=c.createElement("path",{d:"M19.5 7.5A1.5 1.5 0 0 0 18 6h-3.75l5.25 9",strokeLinecap:"round",strokeLinejoin:"round"})),S||(S=c.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"})),j||(j=c.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),nt=Qe((function(e){return c.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"},e),z||(z=c.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),F||(F=c.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),rt=Qe((function(e){return c.createElement("svg",H({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},e),L||(L=c.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"),ot=Qe((function(e){return c.createElement("svg",M({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},e),_||(_=c.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=c.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"),at=Qe((function(e){return c.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),D||(D=c.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"),it=Qe((function(e){return c.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},e),q||(q=c.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"})),Z||(Z=c.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),ct=Qe((function(e){return c.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),W||(W=c.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"),lt=Qe((function(e){return c.createElement("svg",U({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},e),G||(G=c.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"),st=Qe((function(e){return c.createElement("svg",X({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=c.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"),ut=Qe((function(e){return c.createElement("svg",Y({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},e),J||(J=c.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"),mt=Qe((function(e){return c.createElement("svg",ne({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},e),te||(te=c.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"),pt=Qe((function(e){return c.createElement("svg",ee({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},e),$||($=c.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"),dt=Qe((function(e){return c.createElement("svg",ae({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},e),re||(re=c.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})),oe||(oe=c.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),ft=Qe((function(e){return c.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},e),ie||(ie=c.createElement("g",{clipPath:"url(#gift_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},c.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"}),c.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"}),c.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"}),c.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"}),c.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"}))),ce||(ce=c.createElement("defs",null,c.createElement("clipPath",{id:"gift_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),gt=Qe((function(e){return c.createElement("svg",me({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},e),se||(se=c.createElement("g",{clipPath:"url(#percent_svg__a)",fillRule:"evenodd",clipRule:"evenodd"},c.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"}))),ue||(ue=c.createElement("defs",null,c.createElement("clipPath",{id:"percent_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),ht=Qe((function(e){return c.createElement("svg",de({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},e),pe||(pe=c.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"),vt=Qe((function(e){return c.createElement("svg",ge({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),fe||(fe=c.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),yt=Qe((function(e){return c.createElement("svg",ve({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},e),he||(he=c.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"),xt=Qe((function(e){return c.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},e),ye||(ye=c.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"),bt=Qe((function(e){return c.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),be||(be=c.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),we||(we=c.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),wt=Qe((function(e){return c.createElement("svg",Ce({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ne||(Ne=c.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),c.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),Oe||(Oe=c.createElement("defs",null,c.createElement("clipPath",{id:"important_svg__a"},c.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),Et=Qe((function(e){return c.createElement("svg",Pe({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),ke||(ke=c.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Be||(Be=c.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),Nt=Qe((function(e){return c.createElement("svg",je({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Se||(Se=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),Ot=Qe((function(e){return c.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Ie||(Ie=c.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),Ct=Qe((function(e){return c.createElement("svg",Le({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),Fe||(Fe=c.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},c.createElement("circle",{cx:8.333,cy:8,r:8}))),Te||(Te=c.createElement("defs",null,c.createElement("clipPath",{id:"wholeOption_svg__a"},c.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"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"}(He||(He={})),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"}(_e||(_e={})),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"}(Ae||(Ae={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Me||(Me={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(De||(De={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue",e[e.dinein=4]="dinein"}(Re||(Re={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(qe||(qe={}));var kt=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},Bt=function(e,t){var n="";return e&&(n=Me[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},Pt={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",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},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",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein"}},St=e.createContext(Pt),jt=St.Provider,It=function(t){var n=e.useContext(St);return n[t]?n[t]:Pt[t]},zt=function(t){var n=t.accumulatedPurchaseBonus,r=void 0===n?0:n,o=t.discount,a=void 0===o?0:o,i=t.finalDeliveryPrice,c=void 0===i?0:i,l=t.currency,s=It("bagesPaymentsOrderSummary");return e.createElement("div",{className:"bagesPaymentSummary"},0===c&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(ht,null),e.createElement("span",{className:"discountLabel"},s.freeDelivery)),a>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(gt,null),e.createElement("span",{className:"discountLabel"},Bt(l,a)," ",s.discount)),r>0&&e.createElement("div",{className:"discountItem"},e.createElement("div",{className:"doneBg"},e.createElement(vt,{size:12,color:"#fff"})),e.createElement(ft,null),e.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};l(".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 .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}");l(".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(n){var r=n.icon,o=n.onChange,a=u(n,["icon","onChange"]);return e.createElement("label",{className:"labelInput"},r&&r,e.createElement(t.DebounceInput,s({debounceTimeout:a.debounce},a,{onChange:o})))};l('@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 Tt=function(t){var r=t.value,o=t.disabled,a=t.onChange;return e.createElement("div",{className:n("customCheckbox",{selected:r,disabled:o}),onClick:function(){return!o&&a(!r)}})},Lt=function(t){var o=t.customConfirmButton,a=t.accumulatedPurchaseBonus,i=t.discount,c=t.finalDeliveryPrice,l=t.currency,s=t.offerType,u=t.coupon,m=t.fullPrice,p=t.discounts,d=t.deliveryType,f=t.deliveryPrice,g=t.serviceFee,h=t.topupToMinimum,v=t.driverTip,y=t.hideCoupon,x=t.paymentBalance,b=t.weightAdjustmentPriceBuffer,w=t.finalPrice,E=t.setCoupon,N=t.disabledConfirm,O=t.onConfirm,C=t.customDiscount,k=t.customDiscountValue,B=t.setCustomDiscountValue,P=t.customFields,S=t.finalCharge,j=t.canceledOfferIds,I=t.toggleOffer,z=t.recalculateDiscounts,F=t.disableRecalculateDiscounts,T=t.showRecalculateDiscounts,L=t.onChangeRecalculateDiscounts,H=t.canManageDiscount,_=It("summary"),A=function(t){var n=null==j?void 0:j.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===De.bonus?_.bonus:2===t.offer_type?_.coupon:_.discount,t.offer_name&&e.createElement("div",{className:"discount-name"},t.offer_name)),!!t.coupon&&2===t.offer_type&&e.createElement(rt,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return E("")}}))),e.createElement("div",{className:"inlineValue"},t.discount_type===De.common&&H&&e.createElement("div",{onClick:function(){return I(t.offer_id)},className:"controlOffer"},n?_.addRemovedOffer:_.removedOffer),!n&&e.createElement("div",{className:"priceBlue price"},"-",Bt(l,t.discount))))};return e.createElement("div",{className:"orderSummary"},e.createElement("div",{className:"summaryBody"},e.createElement("span",{className:"head"},_.summary),!!P&&P.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,_.subtotal),e.createElement("span",{className:"price"},Bt(l,m))),!!p&&p.filter((function(e){return e.discount_target===qe.products&&e.discount_type===De.common})).map(A),d===Re.delivery&&e.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},e.createElement("span",null,f===c?_.deliveryCost:_.deliveryCostBase),e.createElement("span",{className:"price"},Bt(l,f||c))),C&&e.createElement("div",{className:"summaryItem customDiscount"},e.createElement("span",null,_.discount),e.createElement("span",{className:"price"},e.createElement("input",{type:"number",value:k,onChange:function(e){var t=e.target;return B(t.value)}}),Bt(l))),!!p&&p.filter((function(e){return e.discount_target===qe.delivery})).map(A),d===Re.delivery&&f!==c&&e.createElement("div",{className:"summaryItem deliveryCostFinal"},e.createElement("span",null,_.deliveryCostFinal),e.createElement("span",{className:"price"},Bt(l,c))),!!p&&p.filter((function(e){return e.discount_target===qe.products&&e.discount_type===De.bonus})).map(A),!!g&&e.createElement("div",{className:"summaryItem serviceFee"},e.createElement("span",{className:"tooltip-container tooltipServiceFee"},_.serviceFee," ",e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipServiceFee"},_.serviceFeeTooltip),e.createElement("span",{className:"price"},Bt(l,g))),!!h&&e.createElement("div",{className:"summaryItem item-question minimal-order"},e.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},_.minimumOrderCharge," ",e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipMinimumOrderCharge"},_.minimumOrderChargeTooltip),e.createElement("span",{className:"price"},Bt(l,h))),!!v&&e.createElement("div",{className:"summaryItem item-question"},e.createElement("span",{className:"tooltip-container tooltipDriverTip"},e.createElement("span",null,_.driverTip),e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".tooltipDriverTip"},_.driverTooltip),e.createElement("span",{className:"price"},Bt(l,v))),!!b&&e.createElement("div",{className:"summaryItem item-question weightAdjustment"},e.createElement("span",{className:"tooltip-container weight-addjustmant"},e.createElement("span",null,_.weightAdjustment),e.createElement("span",{className:"question"},"?")),e.createElement(r.Tooltip,{anchorSelect:".weight-addjustmant"},_.weightAdjustmentTooltip),e.createElement("span",{className:"price"},Bt(l,b))),!y&&p&&!p.some((function(e){return e.coupon&&2===e.offer_type}))&&e.createElement("span",{className:"promocode"},!!u.trim().length&&2!==s&&e.createElement("span",{className:"invalidCoupon"},_.invalidPromocode),u.length?e.createElement("span",{className:"inputArea"},e.createElement(Ft,{autoFocus:!0,value:u,onChange:function(e){return E(e.target.value)},debounce:500}),e.createElement(rt,{size:15,onClick:function(){return E("")},color:"var(--warning, #FE7171)"})):e.createElement("span",{onClick:function(){return E(" ")}},_.placeholderPromocode)),T&&e.createElement("div",{className:"summaryItem"},e.createElement("span",{className:n({disabled:F})},_.recalculateDiscounts),e.createElement("span",{className:"price"},e.createElement(Tt,{value:z,onChange:L,disabled:F}))),null!==x&&e.createElement("div",{className:"summaryItem"},e.createElement("span",null,_.paymentBalance),e.createElement("span",{className:"price"},Bt(l,x))),e.createElement("div",{className:"hr"}),e.createElement("div",{className:"summaryItem totalPrice"},e.createElement("span",{className:"total"},_.total),e.createElement("span",{className:"price priceBlue"},Bt(l,w)))),e.createElement(zt,{currency:l,discount:i,accumulatedPurchaseBonus:a,finalDeliveryPrice:c}),e.createElement("div",{onClick:O,className:n("confirmButton",{disable:N})},o||"".concat(_.confirm," ").concat(S?Bt(l,S):"").trim()))};l(".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}");l(".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 Ht=function(t){var r=t.count,o=t.isRemoveDisable,a=t.isAddDisable,i=t.onAdd,c=t.onRemove,l=t.onChangeQuantity;return e.createElement("div",{className:"counterButton"},e.createElement(pt,{color:"var(--main-color, #007aff)",onClick:c,className:n("control",{disable:o})}),e.createElement("input",{className:"control count",type:"number",step:1,value:r.toString(),onChange:function(e){var t=e.target,n=parseInt(t.value);l(n||0)}}),e.createElement(mt,{color:"var(--main-color, #007aff)",onClick:i,className:n("control",{disable:a})}))};l(".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}");l(".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}}");l(".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 _t=function(t){var r=t.ingredients,o=t.onSelect;return e.createElement("div",{className:"ingredients"},r.map((function(t){return e.createElement("div",{key:t.id,onClick:(r=t.id,function(){return o(r)}),className:n("ingredient",{selected:!!t.quantity})},t.name);var r})))};l(".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 At=function(t){var n=t.src,r=t.alt,a=t.width,i=t.height,c=t.quality,l=t.gravity,s=t.crop,u=t.id;return e.createElement(o.Image,{id:u,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},e.createElement(o.Transformation,{width:a,height:i,quality:c,gravity:l,crop:s}),e.createElement(o.Transformation,{fetchFormat:"auto"}))},Mt=function(t){var n=t.autoPlay,r=t.onStart,o=t.id,a=t.src,i=t.onEnd,c=t.controls,l=e.useState({playing:!1,muted:!1}),u=l[0],m=l[1],p=e.useRef(),d=function(){p.current.paused?(p.current.play(),m((function(e){return s(s({},e),{playing:!0})}))):(p.current.pause(),m((function(e){return s(s({},e),{playing:!1})})))},f=function(){p.current.muted=!p.current.muted,m((function(e){return s(s({},e),{muted:p.current.muted})}))};return e.createElement("div",{className:"videoControl"},c&&e.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!u.playing&&e.createElement(ct,{color:"var(--main-color)",className:"control",onClick:d}),u.playing&&e.createElement(lt,{color:"var(--main-color)",className:"control",onClick:d}),u.muted&&e.createElement(st,{color:"var(--main-color)",className:"control",onClick:f}),!u.muted&&e.createElement(ut,{color:"var(--main-color)",className:"control",onClick:f})),e.createElement(Dt,{autoPlay:n,src:a,onPlay:function(){r&&r(),m((function(e){return s(s({},e),{playing:!0})}))},onEnded:function(){i&&i()},videoRef:p,id:o}))},Dt=function(t){var n=t.videoRef,r=t.src,o=t.id,a=t.onPlay,i=t.onEnded,c=t.autoPlay;return e.createElement("video",{ref:n,src:r,id:o,onPlay:function(){a&&a()},autoPlay:c,onEnded:function(){i&&i()}})},Rt=function(t){var n=t.src,r=t.settings,o=t.alt,a=t.id,i=u(t,["src","settings","alt","id"]),c=e.useRef(null),l=e.useState({width:0,height:0}),m=l[0],p=l[1],d=n.includes("/image/"),f=n.includes("/video/"),g=n.replace("https://res.cloudinary.com/","").split("/");e.useEffect((function(){m.width!==c.current.offsetWidth&&m.height!==c.current.offsetHeight&&p({width:c.current.offsetWidth||0,height:c.current.offsetHeight||0})}));return e.createElement("div",{ref:c,className:"mediaWrapper"},d&&e.createElement(At,s({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:kt(_e,(null==r?void 0:r.gravity_mode)||0),crop:kt(He,(null==r?void 0:r.crop_mode)||0),src:g,alt:o,id:a})),f&&e.createElement(Mt,s({},i,{height:m.height?m.height:250,width:m.width?m.width:400,quality:"90",gravity:kt(_e,(null==r?void 0:r.gravity_mode)||0),crop:kt(He,(null==r?void 0:r.crop_mode)||0),id:a,src:n})))};l(".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}");l(".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}}");l('.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 qt=function(){return e.createElement("div",{className:"lds-dual-ring"})},Zt=function(t){var r=t.isSummary,o=t.isLoading,a=t.isDisableNext,i=t.isDisablePrev,c=t.amount,l=t.currency,s=t.onPrev,u=t.onNext,m=t.count,p=t.isAddDisable,d=t.isRemoveDisable,f=t.onAdd,g=t.onRemove,h=t.onAddToCart,v=t.onChangeQuantity,y=It("productConstructor");return e.createElement("div",{className:n("footerControls",{summary:r})},r?e.createElement(e.Fragment,null,e.createElement(Ht,{count:m,isRemoveDisable:d||o,isAddDisable:p||o,onAdd:f,onRemove:g,onChangeQuantity:v}),e.createElement("div",{onClick:h,className:n("button major",{disable:o})},o?e.createElement(qt,null):e.createElement(e.Fragment,null,e.createElement("div",{className:"addLabel"},e.createElement(et,{color:"#fff",size:"small"}),y.addToCart),e.createElement("div",null,Bt(l,c))))):e.createElement(e.Fragment,null,e.createElement("div",{onClick:s,className:n("button",{disable:i||o})},y.back),e.createElement("div",{onClick:u,className:n("button major",{disable:a||o})},o?e.createElement(qt,null):e.createElement(e.Fragment,null,y.next," ",Bt(l,c)))))};l(".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 Vt=function(t){var r=t.steps,o=t.currentStep,a=r[o].component,i=r[o].name;return e.createElement("div",{className:"stepper"},e.createElement("div",{className:"stepperHeader"},i),e.createElement("div",{className:"steps"},Array(r.length).fill(0).map((function(t,a){return e.createElement(e.Fragment,{key:a},e.createElement("div",{className:n("step",{active:a===o})}),a!==r.length-1&&e.createElement("div",{className:"line"}))}))),a)};l(".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,Qt=function(t){var n=t.free,r=t.amount,o=t.currency,a=t.freeLabel;return n?e.createElement("span",{className:"suboptionPrice"},a):r?e.createElement("span",{className:"suboptionPrice"},"+",Bt(o,r)):e.createElement("span",{className:"suboptionPrice"})},Gt={0:e.createElement(Ct,{size:20,color:"var(--main-color)"}),1:e.createElement(Nt,{size:20,color:"var(--main-color)"}),2:e.createElement(Ot,{size:20,color:"var(--main-color)"})},Ut="#INGREDIENTS",Kt="#HALF_SELECTOR",Xt="#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 Jt=function(t,n,r,o,a,i){var c,l=[],s=0;if(null==a?void 0:a.unit_weight){var u=parseInt((a.unit_weight*a.weight_range*a.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",Bt(a.currency,a.amountDiff))),p="";p=(null==a?void 0:a.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(a.unit_weight," ").concat(i.gr),l.push({weightProduct:!0,name:a.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:p,tooltip:(null==a?void 0:a.weighed)?m:null})}if((null===(c=null==t?void 0:t.suboptions)||void 0===c?void 0:c.length)&&l.push({name:i.ingredients,value:en(t.suboptions),index:s++}),n.forEach((function(t){var n,r;l.push({name:t.name,value:(n=t.suboptions,r=n.filter((function(e){return e.quantity})),e.createElement("div",null,!!r.length&&r.map((function(t,n){return e.createElement("div",{key:"".concat(n,"-").concat(t.id),className:"summarySuboption"},e.createElement("span",null,t.name),(t.halfOption||0===t.halfOption)&&Gt[t.halfOption])})),!r.length&&"-")),index:s++})})),r.length){var d=r.some((function(e){return e.half===exports.HALF_OPTION.right}));l.push({name:i.toppings,value:d?i.half:i.full,index:s++})}return r.forEach((function(e){l.push({name:e.name,value:Yt(e.suboptions),index:s++})})),o&&l.push({name:i.comments,value:o,index:s++}),l},Yt=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},$t=function(e,t){return e.name+(e.half===exports.HALF_OPTION.right?t.right:"")+(e.half===exports.HALF_OPTION.left?t.left:"")},en=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},tn=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)},nn=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}},rn=function(e,t,n,r){return 1===e&&1===t?"":e&&!t?"(min ".concat(e).concat(n?", "+n+" "+r:"",")"):!e&&t?"(max ".concat(t).concat(n?", "+n+" "+r:"",")"):e||t?e&&t?"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")"):"":"(".concat(n," ").concat(r,")")},on=function(t){var r=t.suboptions,o=t.onChangeQuantity,a=t.currency,i=t.limitByMax,c=t.freeLabel,l=t.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"},r.map((function(t){return e.createElement("div",{className:"suboption",key:t.id},e.createElement("span",{className:n("suboptionName",{selected:!!t.quantity})},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement("div",{className:"counterSection"},e.createElement(Qt,{free:nn(l,t).free,amount:nn(l,t).amount,currency:a,freeLabel:c}),e.createElement(Ht,{count:t.quantity||0,isAddDisable:u(t),isRemoveDisable:!t.quantity,onAdd:s(t.id,(t.quantity||0)+1),onRemove:s(t.id,(t.quantity||0)-1),onChangeQuantity:function(e){return s(t.id,e)()}})))})))};l('.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 an=function(t){var r=t.freeLabel,o=t.ingredients,a=t.onSelect,i=t.currency,c=t.freeBudget;return e.createElement("div",{className:"extrasRadio"},o.map((function(t){return e.createElement("div",{key:t.id,onClick:(o=t.id,l=t.quantity||1,function(){return a(o,l)}),className:n("extra",{selected:!!t.quantity})},e.createElement("span",{className:"extraName"},t.name,t.description&&e.createElement("span",{className:"extraDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement(Qt,{freeLabel:r,free:nn(c,t).free,amount:nn(c,t).amount,currency:i}));var o,l})))};l(".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 cn=function(t){var n=t.message;return e.createElement("div",{className:"warning"},e.createElement(dt,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};l(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var ln=function(t){var n=t.name,r=t.comment,o=t.onCommentChange,a=t.onNameChange,i=It("productConstructor");return e.createElement("div",{className:"productCommentSection"},e.createElement("span",{className:"inputName"},i.addName),e.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.addNamePlaceholder,value:n}),e.createElement("span",{className:"inputName"},i.addComment),e.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.addCommentPlaceholder,value:r}))};l(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.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}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var sn=function(t){var o=t.summary,a=t.onClickChange,i=It("productConstructor");return e.createElement("div",{className:"productSummary"},o.map((function(t){return e.createElement("div",{className:"line",key:t.name+t.index},e.createElement("div",{className:n("name",{weightName:t.weightProduct})},t.name,t.weightProduct&&e.createElement(bt,{size:16,color:"var(--main-color, #007aff)"})),e.createElement("div",{className:n("value",{weighed:t.weightProduct})},t.value,t.tooltip&&e.createElement(e.Fragment,null,e.createElement(wt,{className:"importantWeight",size:20}),e.createElement(r.Tooltip,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},t.tooltip))),!t.weightProduct&&e.createElement("div",{onClick:function(){return a(t.index)},className:"button"},i.change))})))};l(".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 un=function(t){var r=t.suboptions,o=t.onSelect,a=t.currency,i=t.freeBudget,c=t.freeLabel;return e.createElement("div",{className:"suboptionsCheckbox"},r.map((function(t){return e.createElement("div",{key:t.id,onClick:(r=t.id,l=t.quantity?0:1,function(){return o(r,l)}),className:n("suboptionCheckbox",{selected:!!t.quantity})},e.createElement("span",{className:"suboptionName"},t.name,t.description&&e.createElement("span",{className:"suboptionDescription",dangerouslySetInnerHTML:{__html:"&nbsp;"+t.description}})),e.createElement(Qt,{free:nn(i,t).free,amount:nn(i,t).amount,currency:a,freeLabel:c}));var r,l})))};l(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var mn=function(t){var n=t.currency,r=t.suboptions,o=t.onChangeOption,a=function(e,t){var n=e===t.halfOption?0:1;o(t.id,n,s(s({},t),{halfOption:e===t.halfOption?null:e}))};return e.createElement("div",{className:"suboptionPizzaSelector"},r.map((function(t){return e.createElement("div",{key:t.id,className:"pizzaOption"},e.createElement("div",{className:"pizzaOptionName"},e.createElement("span",null,t.name),!!t.description&&e.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:t.description}})),e.createElement("div",{className:"halfOptions"},!!t.price&&e.createElement("span",null,t.price," ",Bt(n)),e.createElement(Ct,{onClick:function(){return a(exports.HALF_OPTION.none,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.none?"var(--main-color)":"#747474"}),e.createElement(Ot,{onClick:function(){return a(exports.HALF_OPTION.right,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.right?"var(--main-color)":"#747474"}),e.createElement(Nt,{onClick:function(){return a(exports.HALF_OPTION.left,t)},color:t.quantity&&t.halfOption===exports.HALF_OPTION.left?"var(--main-color)":"#747474"})))})))};l(".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:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.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}}");l(".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}");l(".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 pn=function(t){var n=t.className,r=void 0===n?"":n,o=t.label,a=t.icon;return e.createElement("div",{className:"tag "+r||""},e.createElement("span",{className:"tagLabel"},o),a)},dn=function(t){var n=t.vegan,r=t.vegetarian,o=t.isNew,a=t.spicy,i=t.glutenFree,c=It("tag"),l=function(){return o?e.createElement(pn,{label:"new",className:"additionItem",icon:e.createElement(Ue,null)}):null},s=function(){return n?e.createElement(pn,{label:c.vegan,className:"additionVegan",icon:e.createElement(e.Fragment,null,e.createElement(Xe,null),e.createElement(Xe,null))}):r?e.createElement(pn,{label:c.vegetarian,className:"additionVegetarian",icon:e.createElement(Xe,null)}):null},u=function(){return a?e.createElement(pn,{label:c.spicy,className:"additionSpicy",icon:e.createElement(e.Fragment,null,Array(a).fill(0).map((function(t,n){return e.createElement(Je,{key:n})})))}):null},m=function(){return i?e.createElement(pn,{label:c.glutenFree,className:"additionNoGluten",icon:e.createElement(Ye,null)}):null};return l()||s()||u()||m()?e.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},fn=function(t){var r=t.id,o=t.currency,a=t.name,i=t.description,c=t.price,l=t.oldPrice,s=t.image,u=t.trashIcon,m=void 0!==u&&u,p=t.onClickTrash,d=t.onClick,f=t.vegetarian,g=t.vegan,h=t.isNew,v=t.spicy,y=t.glutenFree,x=t.quantity,b=t.weight,w=It("productConstructor");return e.createElement("div",{className:"productPreview",onClick:function(){null==d||d(r)}},e.createElement(Rt,{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,b>0&&e.createElement("span",{className:"weightBlock"},e.createElement(bt,{size:16,color:"var(--main-color, #007aff)"})," ",b," ",e.createElement("span",null,w.gr))),m&&e.createElement(Ge,{onClick:function(e){e.stopPropagation(),null==p||p(r)},width:20,height:20})),e.createElement("div",{className:"description",dangerouslySetInnerHTML:{__html:i}})),e.createElement("div",{className:"productReviewFooter"},e.createElement("div",{className:"options"},e.createElement(dn,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),e.createElement("div",{className:"priceBlock"},!!l&&e.createElement("div",{className:n("oldPrice",{lineThrough:!x})},Bt(o,l)),!!x&&e.createElement("span",{className:"quantity"}," x",x," "),!!c&&e.createElement("div",{className:n("currentPrice",{newPrice:!!l&&!x})},Bt(o,c))))))};l(".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}");l(".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}");l(".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 gn=function(t){var n=t.score,r=t.isNew,o=t.kosher;return e.createElement("div",{className:"restaurantTags"},!!r&&e.createElement(pn,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&e.createElement(pn,{label:n.toFixed(1),className:"restaurantTagScore",icon:e.createElement(Ue,null)}),!!o&&e.createElement(pn,{label:"kosher",className:"restaurantTagKosher"}))};l(".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 hn=function(t){var n=t.currency,r=t.amount,o=t.onClick;return e.createElement("div",{className:"headerCartButton",onClick:o},e.createElement(et,{className:"icon"}),e.createElement("span",{className:"label"},"Checkout"),e.createElement("span",{className:"price"},Bt(n,r)))};l(".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 vn=function(t){var r=t.dontHide,o=t.minimum,i=t.isPickUp,c=t.withTitle,l=t.estimationRangeMax,s=t.estimationRangeMin,u=t.estimationTime,m=t.distance,p=t.deliveryPrice,d=t.currency,f=t.deliveryToLocation,g=e.useState([]),h=g[0],v=g[1];return e.useEffect((function(){var t=[];o&&t.push(e.createElement("div",{className:n("footer-item mini-order")},e.createElement(et,null),c&&e.createElement("span",{className:n("title")},"Min order"),Bt(d,o))),m&&!i&&t.push(e.createElement("span",{className:n("footer-item")},e.createElement(ot,null),c&&e.createElement("div",{className:n("title")},"Distance"),"distanceKm ",m)),(l||s)&&t.push(e.createElement("div",{className:n("time footer-item")},i?e.createElement(nt,null):e.createElement(at,null),c&&e.createElement("div",{className:n("title")},i?"Pickup time":"Delivery time"),s,"-",l," min")),!i&&f&&t.push(e.createElement("div",{className:n("footer-item delivery-price")},e.createElement(tt,null),c&&e.createElement("span",{className:n("title")},"deliveryPrice"),p?Bt(d,p):e.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",e.createElement(it,null)," "))),0===l&&0===s&&u&&t.push(e.createElement("div",{className:n("time footer-item")},i?e.createElement(at,null):e.createElement(nt,null),"up_to ",u,"  min")),v(t)}),[o,i,l,s,u,m,p,d,f]),e.createElement(a.OverflowList,{className:"footer benefitsData",minVisibleItems:r?h.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:h})};l(".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}");l(".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 .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.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-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.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}");l(".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=zt,exports.Checkbox=Tt,exports.CheckoutFormItem=function(t){var n=t.label,r=t.data,o=t.changeInLabel,a=void 0!==o&&o,i=t.hideChange,c=void 0!==i&&i,l=t.onChangeClick,s=It("checkoutFormItem"),u=Array.isArray(r);return e.createElement("div",{className:"checkoutFormItem"},e.createElement("div",{className:"checkoutFormItemLabel"},n,a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)),e.createElement("div",{className:"checkoutFormItemData"},u&&e.createElement("div",{className:"arrayData"},r.map((function(t,n){return e.createElement("div",{key:n,className:"checkoutFormItemDataItem"},t)}))),!u&&e.createElement("div",{className:"checkoutFormItemDataItem"},r),!a&&!c&&e.createElement("span",{className:"change",onClick:l},s.change)))},exports.CounterButton=Ht,exports.CutleryButton=function(t){var n=t.cutlery,r=t.onAdd,o=t.onRemove,a=It("cutlery");return e.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&e.createElement(e.Fragment,null,e.createElement(yt,{color:"var(--main-color, #007AFF)",size:20})," ",a.addCutlery),!!n&&e.createElement(e.Fragment,null,a.cutlery,e.createElement(Ht,{count:n,isAddDisable:!1,isRemoveDisable:!1,onAdd:function(){return r(n+1)},onRemove:function(){return o(n-1)},onChangeQuantity:function(e){r(e<=0?0:e)}})))},exports.DeliveryControl=function(t){var r=t.type,o=t.onChange,a=t.disableDelivery,i=t.disableDinein,c=t.showDinein,l=t.disableTakeAway,s=It("deliveryControl");return e.createElement("div",{className:"deliveryControl"},e.createElement("div",{className:n("control",{selected:Re.takeAway===r,disable:l}),onClick:function(){return o(Re.takeAway)}},e.createElement(at,{size:30,color:r===Re.takeAway?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.pickUp)),c&&e.createElement("div",{className:n("control",{selected:Re.dinein===r,disable:i}),onClick:function(){return o(Re.dinein)}},e.createElement(Et,{size:30,color:r===Re.dinein?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.dinein)),e.createElement("div",{className:n("control",{selected:Re.delivery===r,disable:a}),onClick:function(){return o(Re.delivery)}},e.createElement(ht,{size:30,color:r===Re.delivery?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,s.delivery)))},exports.GiftControl=function(t){var r=t.isGift,o=t.onChange,a=t.name,i=t.phone,c=t.greeting,l=t.isReadonly,s=t.onToggleGift,u=It("gift"),m=function(e,t){var n;o(((n={name:a,phone:i,greeting:c})[e]=t,n))};return e.createElement("div",{className:"giftControl"},e.createElement("div",{className:n("giftControlButton",{selected:r}),onClick:function(){return!l&&s()}},e.createElement(ft,{color:r?"#fff":"var(--main-color, #007AFF)"}),e.createElement("span",null,u.itsGift)),r&&e.createElement("div",{className:"giftControlForm"},e.createElement("div",{className:"formItem"},e.createElement("span",{className:"formItemHeader"},u.name),e.createElement(Ft,{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(Ft,{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=Ut,exports.IconBicycle=tt,exports.IconCart=et,exports.IconClockAfternoon=nt,exports.IconClose=rt,exports.IconCutlery=yt,exports.IconDinein=Et,exports.IconDone=vt,exports.IconEditPen=xt,exports.IconGift=ft,exports.IconImportant=wt,exports.IconLeftOption=Nt,exports.IconMapPin=ot,exports.IconMinus=pt,exports.IconMoto=ht,exports.IconMute=st,exports.IconNoGluten=Ye,exports.IconPause=lt,exports.IconPercent=gt,exports.IconPersonSimpleWalk=at,exports.IconPlay=ct,exports.IconPlus=mt,exports.IconRightOption=Ot,exports.IconSearch=$e,exports.IconSparkle=it,exports.IconSpicy=Je,exports.IconStar=Ue,exports.IconStarBorder=Ke,exports.IconTrash=Ge,exports.IconUnmute=ut,exports.IconVegan=Xe,exports.IconWarning=dt,exports.IconWeighted=bt,exports.IconWholeOption=Ct,exports.IngredientsSelector=_t,exports.Input=Ft,exports.Media=Rt,exports.OrderSummary=Lt,exports.OrderSummaryWithProducts=function(t){var n=It("summary");return e.createElement("div",{className:"summaryBlock"},e.createElement("div",{className:"headerContent"},n.summary),e.createElement("div",{className:"products"},t.products.map((function(n,r){var o;return e.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return t.onClickProduct(r)}},e.createElement("div",{className:"productTop"},(null===(o=null==n?void 0:n.image)||void 0===o?void 0:o.src)&&e.createElement(Rt,{src:n.image.src,alt:n.image.alt,settings:n.image.settings}),e.createElement("div",{className:"productName"},n.name),e.createElement("div",{className:"price"},e.createElement("span",{className:"finalPrice"},n.full_price," ",Bt(t.currency)),e.createElement(xt,{color:"var(--main-color)",size:"small"}))),e.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},e.createElement("div",{className:"productDescription"},n.description),e.createElement(Ht,{count:n.quantity,isAddDisable:n.max>=n.quantity,isRemoveDisable:n.quantity>=n.min,onAdd:function(){return t.onChangeQuantity(n.quantity+1,n,r)},onRemove:function(){return t.onChangeQuantity(n.quantity-1,n,r)},onChangeQuantity:function(e){return t.onChangeQuantity(e,n,r)}})))}))),e.createElement(Lt,s({},t)))},exports.ProductConstructor=function(t){var n=t.name,r=t.media,o=t.currency,a=t.price,i=t.oldPrice,c=t.description,l=t.totalPrice,u=t.allowComments,p=t.options,d=t.optionsHalf,f=t.max,g=t.unit_weight,h=t.weight_range,v=t.amountDiff,y=t.weighed,x=t.quantity,b=t.ingredients,w=t.nameOnBox,E=t.comments,N=t.isLoading,O=t.isHalf,C=t.summaryOpen,k=t.onChangeIngredients,B=t.onChangeOption,P=t.onChangeOptionHalf,S=t.onChangeNameOnBox,j=t.onChangeComment,I=t.onAdd,z=t.onRemove,F=t.onAddToCart,T=t.onChangeIsHalf,L=t.disableAutoScroll,H=t.updateOptionOfActualData,_=t.onChangeQuantity,A=It("errorConstructor"),M=It("productConstructor"),D=e.useState(null),R=D[0],q=D[1],Z=e.useState([]),V=Z[0],W=Z[1],Q=e.useState(0),G=Q[0],U=Q[1],K=e.useState(!0),X=K[0],J=K[1],Y=e.useRef(),$=e.useRef(),ee=function(e){U(e),te()},te=function(){L||setTimeout((function(){(null==Y?void 0:Y.current.scrollTop)<=20&&Y.current.scrollTo({top:((null==$?void 0:$.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};e.useEffect((function(){var e=m(m([],p,!0),d,!0),t=function(e,t,n,r){var o=e.filter((function(e){return e.enabled})),a=t.filter((function(e){return e.enabled}));if(a.length){var i={name:r.toppings,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:Kt,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:exports.HALF_OPTION.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,halfOption:exports.HALF_OPTION.none,enabled:!0,max:1,id:Xt,quantity:Number(n)}]};o.push(i)}return[].concat(o).concat(a)}(p.filter((function(t){return tn(t,e)})),d.filter((function(t){return tn(t,e)})),O,M);if(W(t),b.length&&q(function(e,t){return{id:Ut,freeBudget:0,min:0,respectTo:null,half:exports.HALF_OPTION.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return s(s({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(b,M)),X&&C){var n=0;t.length&&(n+=t.length),b.length&&(n+=1),u&&(n+=1),U(n)}J(!1)}),[b,p,d,O]);var ne=function(){var e=oe()[G];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,A)},re=function(t){var n=H(t),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,i=function(e,t,r){!function(e){return e===Kt}(n.id)?n.withHalfOption&&!n.pizzaOption?P(n.id,e,n.half,t):B(n.id,e,t,r):T(function(e){return e===Xt}(e))},c=t.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return t.pizzaOption&&t.withHalfOption?e.createElement(mn,{key:n.id,currency:o,onChangeOption:i,suboptions:n.suboptions}):r?e.createElement(an,{key:n.id,currency:o,ingredients:n.suboptions,onSelect:i,freeBudget:t.freeBudget,freeLabel:M.free}):a?e.createElement(on,{key:n.id,currency:o,suboptions:n.suboptions,onChangeQuantity:i,limitByMax:n.limitSuboptionsByMax,freeBudget:t.freeBudget,freeLabel:M.free}):e.createElement(un,{key:n.id,currency:o,suboptions:n.suboptions,onSelect:i,freeBudget:t.freeBudget,totalQuantity:c,freeLabel:M.free})},oe=function(){var t=[];return R&&t.push({name:M.ingredients,component:e.createElement(_t,{ingredients:R.suboptions,onSelect:k})}),t.push.apply(t,V.filter((function(e){return tn(e,V)})).map((function(e){return s(s({},e),{name:"".concat($t(e,M)," ").concat(rn(e.min,e.max,e.freeBudget,M.free)),component:re(e)})}))),u&&t.push({name:M.comments,component:e.createElement(ln,{name:w,comment:E,onNameChange:S,onCommentChange:j})}),t.push({name:M.summary,component:e.createElement(sn,{summary:Jt(R,V.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=Kt})),V.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=Kt})),u?"".concat(E||"-"," | ").concat(w||"-"):null,{weighed:y,unit_weight:g,quantity:x,weight_range:h,currency:o,amountDiff:v},M),onClickChange:function(e){return U(e)}})}),t};return e.createElement("div",{className:"productConstructor",ref:Y},e.createElement("div",{className:"content"},!!r&&e.createElement("div",{ref:$},e.createElement(Rt,s({},r))),e.createElement("div",{className:"headProduct"},e.createElement("div",{className:"name"},n),e.createElement("div",{className:"priceControl"},!!i&&e.createElement("div",{className:"oldPrice"},Bt(o,i)),!!a&&e.createElement("div",{className:"price"},Bt(o,a)))),e.createElement("div",{className:"description"},c)),ne()&&e.createElement(cn,{message:ne().toString()}),!!oe().length&&e.createElement(Vt,{steps:oe(),currentStep:G}),e.createElement(Zt,{isLoading:N,isSummary:G===oe().length-1,isDisableNext:!!ne(),isDisablePrev:0===G,currency:o,onPrev:function(){return ee(G-1)},onNext:function(){return ee(G+1)},onAddToCart:F,amount:l,count:x,onRemove:z,onAdd:I,isAddDisable:!!f&&x===f,isRemoveDisable:0===x,onChangeQuantity:function(e){_(e<=0?0:e)}}))},exports.ProductPreview=fn,exports.ProductPreviewList=function(t){var n=t.categories,r=t.onClickProduct;return e.createElement("div",{className:"productPreviewList"},n.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(n){return e.createElement(fn,s({key:n.id},n,{onClick:function(e){return r(t.id,e)}}))})))})))},exports.ProductTags=dn,exports.RestaurantHeader=function(t){var n=t.name,r=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,p=t.onCartClick;return e.createElement("div",{className:"restaurantHeader"},e.createElement("div",{className:"restaurantHeaderTop"},e.createElement("div",{className:"topLeft"},e.createElement("div",{className:"restaurantHeaderName"},n,r?e.createElement(Ue,null):e.createElement(Ke,null)),(!!c||l)&&e.createElement(gn,{isNew:o,kosher:a,score:i})),e.createElement("div",{className:"topRight"},!!c&&!l&&e.createElement(hn,{onClick:p,amount:c,currency:s}))),e.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&e.createElement(gn,{isNew:o,kosher:a,score:i}),e.createElement("div",{className:"benefits"},e.createElement(vn,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&e.createElement("div",{className:"bottomRight"},e.createElement(Ft,{className:"input",placeholder:"Search in menu...",icon:e.createElement($e,null),value:u,onChange:m}),e.createElement(hn,{onClick:p,amount:c,currency:s}))))},exports.Stepper=Vt,exports.SuboptionMultiSelector=on,exports.SuboptionRadioSelector=an,exports.TabsControl=function(t){var r=t.type,o=t.onChange,a=t.disabled,i=void 0!==a&&a,c=t.items;return e.createElement("div",{className:"tabsControl"},c.map((function(t){return e.createElement("div",{key:"tabs-control-"+t.text,className:n("control",{selected:t.type===r,disable:t.disabled||i}),onClick:function(){return o(t.type)}},t.icon&&e.createElement("div",{className:"icon"},t.icon()),e.createElement("span",null,t.text))})))},exports.TranslationUIProvider=jt,exports.Warning=cn,exports.checkRespectTo=tn,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){var n;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(n=t.halfOption)&&void 0!==n?n:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},exports.mergeOption=function(e,t){var n,r,o,a=null;if(!e.withHalfOption||e.pizzaOption)a=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||exports.HALF_OPTION.none;a=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}))}))}return e.suboptions=null===(o=null==e?void 0:e.suboptions)||void 0===o?void 0:o.map((function(e){var t,n=null===(t=null==a?void 0:a.suboptions)||void 0===t?void 0:t.find((function(t){return t.id===e.id}));if(n){var r=s(s(s({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return s({},e)})),e},exports.mergeProduct=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||e.pizzaOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return s(s({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return s(s({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).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===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 n?s(s({},t),{half:exports.HALF_OPTION.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return s(s({},e),{half:exports.HALF_OPTION.none,quantity:t?t.quantity:0})}))}):r.isHalf||o&&a?(r.isHalf=!0,[s(s({},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 s(s({},e),{half:exports.HALF_OPTION.left,quantity:t?t.quantity:0})}))}),s(s({},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 s(s({},e),{half:exports.HALF_OPTION.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(s(s({},t),{quantity:n?0:1}))})),r},exports.prepareHalfOptions=function(e,t){var n=[],r=e.filter((function(e){return e.half===exports.HALF_OPTION.none||e.half===exports.HALF_OPTION.left}));return t?r.forEach((function(e){n.push(s(s({},e),{half:exports.HALF_OPTION.left})),n.push(s(s({},e),{half:exports.HALF_OPTION.right}))})):r.forEach((function(e){n.push(s(s({},e),{half:exports.HALF_OPTION.none}))})),n};
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{DebounceInput as l}from"react-debounce-input";import c from"classnames";import{Tooltip as s}from"react-tooltip";import{Image as u,Transformation as m}from"cloudinary-react";import{OverflowList as d}from"react-overflow-list";function p(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))}}p(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");p(".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 f=function(){return f=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},f.apply(this,arguments)};function g(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 h(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 v;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)}p(".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 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 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 C;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 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 S;function F(){return F=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},F.apply(this,arguments)}var M,I,L;function H(){return H=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},H.apply(this,arguments)}var _,T;function D(){return D=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},D.apply(this,arguments)}var A;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 q,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;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 G,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;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 ce,se;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 me,de;function pe(){return pe=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},pe.apply(this,arguments)}var fe,ge;function he(){return he=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},he.apply(this,arguments)}var ve;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;function ke(){return ke=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},ke.apply(this,arguments)}var Ce,Be;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 Pe,je;function ze(){return ze=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},ze.apply(this,arguments)}var Se,Fe;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 Ie;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 He;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 Te,De;function Ae(){return Ae=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},Ae.apply(this,arguments)}var Re,qe,Ze,Ve,We,Qe,Ge,Ue=20,Ke=25,Xe=30,Je=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?Ue:"big"===e?Xe:e||Ke}(r.size);return t.createElement(e,f({width:o,height:o},r,{style:a,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},Ye=Je((function(t){return e.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},t),v||(v=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"),$e=Je((function(t){return e.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b||(b=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"),et=Je((function(t){return e.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},t),w||(w=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"),tt=Je((function(t){return e.createElement("svg",k({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},t),N||(N=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"),nt=Je((function(t){return e.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),C||(C=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"),rt=Je((function(t){return e.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),O||(O=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"),at=Je((function(t){return e.createElement("svg",z({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},t),j||(j=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"),ot=Je((function(t){return e.createElement("svg",F({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},t),S||(S=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"),it=Je((function(t){return e.createElement("svg",H({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),M||(M=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"})),L||(L=e.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),lt=Je((function(t){return e.createElement("svg",D({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),_||(_=e.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),T||(T=e.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ct=Je((function(t){return e.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},t),A||(A=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"),st=Je((function(t){return e.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},t),q||(q=e.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),Z||(Z=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"),ut=Je((function(t){return e.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),W||(W=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"),mt=Je((function(t){return e.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},t),G||(G=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"})),U||(U=e.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),dt=Je((function(t){return e.createElement("svg",J({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),X||(X=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"),pt=Je((function(t){return e.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},t),Y||(Y=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"),ft=Je((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:"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"),gt=Je((function(t){return e.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),ne||(ne=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"),ht=Je((function(t){return e.createElement("svg",le({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},t),ie||(ie=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"),vt=Je((function(t){return e.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},t),ae||(ae=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"),yt=Je((function(t){return e.createElement("svg",ue({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},t),ce||(ce=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})),se||(se=e.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),bt=Je((function(t){return e.createElement("svg",pe({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},t),me||(me=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"}))),de||(de=e.createElement("defs",null,e.createElement("clipPath",{id:"gift_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),xt=Je((function(t){return e.createElement("svg",he({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},t),fe||(fe=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"}))),ge||(ge=e.createElement("defs",null,e.createElement("clipPath",{id:"percent_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),wt=Je((function(t){return e.createElement("svg",ye({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},t),ve||(ve=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"),Et=Je((function(t){return e.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),be||(be=e.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Nt=Je((function(t){return e.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},t),we||(we=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"),kt=Je((function(t){return e.createElement("svg",ke({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},t),Ne||(Ne=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"),Ct=Je((function(t){return e.createElement("svg",Oe({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Ce||(Ce=e.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),Be||(Be=e.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),Bt=Je((function(t){return e.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Pe||(Pe=e.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),e.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),je||(je=e.createElement("defs",null,e.createElement("clipPath",{id:"important_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),Ot=Je((function(t){return e.createElement("svg",Me({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Se||(Se=e.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Fe||(Fe=e.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),Pt=Je((function(t){return e.createElement("svg",Le({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Ie||(Ie=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),jt=Je((function(t){return e.createElement("svg",_e({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),He||(He=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),zt=Je((function(t){return e.createElement("svg",Ae({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Te||(Te=e.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},e.createElement("circle",{cx:8.333,cy:8,r:8}))),De||(De=e.createElement("defs",null,e.createElement("clipPath",{id:"wholeOption_svg__a"},e.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"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"}(Re||(Re={})),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"}(qe||(qe={})),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"}(Ze||(Ze={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Ve||(Ve={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(We||(We={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue",e[e.dinein=4]="dinein"}(Qe||(Qe={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(Ge||(Ge={}));var St=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},Ft=function(e,t){var n="";return e&&(n=Ve[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},Mt={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",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},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",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein"}},It=n(Mt),Lt=It.Provider,Ht=function(e){var t=r(It);return t[e]?t[e]:Mt[e]},_t=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=Ht("bagesPaymentsOrderSummary");return t.createElement("div",{className:"bagesPaymentSummary"},0===l&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(wt,null),t.createElement("span",{className:"discountLabel"},s.freeDelivery)),o>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(xt,null),t.createElement("span",{className:"discountLabel"},Ft(c,o)," ",s.discount)),r>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(bt,null),t.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};p(".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 .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}");p(".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 Tt=function(e){var n=e.icon,r=e.onChange,a=g(e,["icon","onChange"]);return t.createElement("label",{className:"labelInput"},n&&n,t.createElement(l,f({debounceTimeout:a.debounce},a,{onChange:r})))};p('@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 Dt=function(e){var n=e.value,r=e.disabled,a=e.onChange;return t.createElement("div",{className:c("customCheckbox",{selected:n,disabled:r}),onClick:function(){return!r&&a(!n)}})},At=function(e){var n=e.customConfirmButton,r=e.accumulatedPurchaseBonus,a=e.discount,o=e.finalDeliveryPrice,i=e.currency,l=e.offerType,u=e.coupon,m=e.fullPrice,d=e.discounts,p=e.deliveryType,f=e.deliveryPrice,g=e.serviceFee,h=e.topupToMinimum,v=e.driverTip,y=e.hideCoupon,b=e.paymentBalance,x=e.weightAdjustmentPriceBuffer,w=e.finalPrice,E=e.setCoupon,N=e.disabledConfirm,k=e.onConfirm,C=e.customDiscount,B=e.customDiscountValue,O=e.setCustomDiscountValue,P=e.customFields,j=e.finalCharge,z=e.canceledOfferIds,S=e.toggleOffer,F=e.recalculateDiscounts,M=e.disableRecalculateDiscounts,I=e.showRecalculateDiscounts,L=e.onChangeRecalculateDiscounts,H=e.canManageDiscount,_=Ht("summary"),T=function(e){var n=null==z?void 0:z.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===We.bonus?_.bonus:2===e.offer_type?_.coupon:_.discount,e.offer_name&&t.createElement("div",{className:"discount-name"},e.offer_name)),!!e.coupon&&2===e.offer_type&&t.createElement(ct,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return E("")}}))),t.createElement("div",{className:"inlineValue"},e.discount_type===We.common&&H&&t.createElement("div",{onClick:function(){return S(e.offer_id)},className:"controlOffer"},n?_.addRemovedOffer:_.removedOffer),!n&&t.createElement("div",{className:"priceBlue price"},"-",Ft(i,e.discount))))};return t.createElement("div",{className:"orderSummary"},t.createElement("div",{className:"summaryBody"},t.createElement("span",{className:"head"},_.summary),!!P&&P.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,_.subtotal),t.createElement("span",{className:"price"},Ft(i,m))),!!d&&d.filter((function(e){return e.discount_target===Ge.products&&e.discount_type===We.common})).map(T),p===Qe.delivery&&t.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},t.createElement("span",null,f===o?_.deliveryCost:_.deliveryCostBase),t.createElement("span",{className:"price"},Ft(i,f||o))),C&&t.createElement("div",{className:"summaryItem customDiscount"},t.createElement("span",null,_.discount),t.createElement("span",{className:"price"},t.createElement("input",{type:"number",value:B,onChange:function(e){var t=e.target;return O(t.value)}}),Ft(i))),!!d&&d.filter((function(e){return e.discount_target===Ge.delivery})).map(T),p===Qe.delivery&&f!==o&&t.createElement("div",{className:"summaryItem deliveryCostFinal"},t.createElement("span",null,_.deliveryCostFinal),t.createElement("span",{className:"price"},Ft(i,o))),!!d&&d.filter((function(e){return e.discount_target===Ge.products&&e.discount_type===We.bonus})).map(T),!!g&&t.createElement("div",{className:"summaryItem serviceFee"},t.createElement("span",{className:"tooltip-container tooltipServiceFee"},_.serviceFee," ",t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipServiceFee"},_.serviceFeeTooltip),t.createElement("span",{className:"price"},Ft(i,g))),!!h&&t.createElement("div",{className:"summaryItem item-question minimal-order"},t.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},_.minimumOrderCharge," ",t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipMinimumOrderCharge"},_.minimumOrderChargeTooltip),t.createElement("span",{className:"price"},Ft(i,h))),!!v&&t.createElement("div",{className:"summaryItem item-question"},t.createElement("span",{className:"tooltip-container tooltipDriverTip"},t.createElement("span",null,_.driverTip),t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipDriverTip"},_.driverTooltip),t.createElement("span",{className:"price"},Ft(i,v))),!!x&&t.createElement("div",{className:"summaryItem item-question weightAdjustment"},t.createElement("span",{className:"tooltip-container weight-addjustmant"},t.createElement("span",null,_.weightAdjustment),t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".weight-addjustmant"},_.weightAdjustmentTooltip),t.createElement("span",{className:"price"},Ft(i,x))),!y&&d&&!d.some((function(e){return e.coupon&&2===e.offer_type}))&&t.createElement("span",{className:"promocode"},!!u.trim().length&&2!==l&&t.createElement("span",{className:"invalidCoupon"},_.invalidPromocode),u.length?t.createElement("span",{className:"inputArea"},t.createElement(Tt,{autoFocus:!0,value:u,onChange:function(e){return E(e.target.value)},debounce:500}),t.createElement(ct,{size:15,onClick:function(){return E("")},color:"var(--warning, #FE7171)"})):t.createElement("span",{onClick:function(){return E(" ")}},_.placeholderPromocode)),I&&t.createElement("div",{className:"summaryItem"},t.createElement("span",{className:c({disabled:M})},_.recalculateDiscounts),t.createElement("span",{className:"price"},t.createElement(Dt,{value:F,onChange:L,disabled:M}))),null!==b&&t.createElement("div",{className:"summaryItem"},t.createElement("span",null,_.paymentBalance),t.createElement("span",{className:"price"},Ft(i,b))),t.createElement("div",{className:"hr"}),t.createElement("div",{className:"summaryItem totalPrice"},t.createElement("span",{className:"total"},_.total),t.createElement("span",{className:"price priceBlue"},Ft(i,w)))),t.createElement(_t,{currency:i,discount:a,accumulatedPurchaseBonus:r,finalDeliveryPrice:o}),t.createElement("div",{onClick:k,className:c("confirmButton",{disable:N})},n||"".concat(_.confirm," ").concat(j?Ft(i,j):"").trim()))};p(".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 Rt=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=Ht("checkoutFormItem"),u=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"},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&&!l&&t.createElement("span",{className:"change",onClick:c},s.change)))};p(".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 qt=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(vt,{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(ht,{color:"var(--main-color, #007aff)",onClick:o,className:c("control",{disable:a})}))};p(".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 Zt=function(e){var n=e.cutlery,r=e.onAdd,a=e.onRemove,o=Ht("cutlery");return t.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&t.createElement(t.Fragment,null,t.createElement(Nt,{color:"var(--main-color, #007AFF)",size:20})," ",o.addCutlery),!!n&&t.createElement(t.Fragment,null,o.cutlery,t.createElement(qt,{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)}})))};p(".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 Vt=function(e){var n=e.type,r=e.onChange,a=e.disableDelivery,o=e.disableDinein,i=e.showDinein,l=e.disableTakeAway,s=Ht("deliveryControl");return t.createElement("div",{className:"deliveryControl"},t.createElement("div",{className:c("control",{selected:Qe.takeAway===n,disable:l}),onClick:function(){return r(Qe.takeAway)}},t.createElement(ut,{size:30,color:n===Qe.takeAway?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.pickUp)),i&&t.createElement("div",{className:c("control",{selected:Qe.dinein===n,disable:o}),onClick:function(){return r(Qe.dinein)}},t.createElement(Ot,{size:30,color:n===Qe.dinein?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.dinein)),t.createElement("div",{className:c("control",{selected:Qe.delivery===n,disable:a}),onClick:function(){return r(Qe.delivery)}},t.createElement(wt,{size:30,color:n===Qe.delivery?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.delivery)))};p(".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})))};p(".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 Qt=function(e){var n=e.src,r=e.alt,a=e.width,o=e.height,i=e.quality,l=e.gravity,c=e.crop,s=e.id;return t.createElement(u,{id:s,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},t.createElement(m,{width:a,height:o,quality:i,gravity:l,crop:c}),t.createElement(m,{fetchFormat:"auto"}))},Gt=function(e){var n=e.autoPlay,r=e.onStart,i=e.id,l=e.src,c=e.onEnd,s=e.controls,u=a({playing:!1,muted:!1}),m=u[0],d=u[1],p=o(),g=function(){p.current.paused?(p.current.play(),d((function(e){return f(f({},e),{playing:!0})}))):(p.current.pause(),d((function(e){return f(f({},e),{playing:!1})})))},h=function(){p.current.muted=!p.current.muted,d((function(e){return f(f({},e),{muted:p.current.muted})}))};return t.createElement("div",{className:"videoControl"},s&&t.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!m.playing&&t.createElement(dt,{color:"var(--main-color)",className:"control",onClick:g}),m.playing&&t.createElement(pt,{color:"var(--main-color)",className:"control",onClick:g}),m.muted&&t.createElement(ft,{color:"var(--main-color)",className:"control",onClick:h}),!m.muted&&t.createElement(gt,{color:"var(--main-color)",className:"control",onClick:h})),t.createElement(Ut,{autoPlay:n,src:l,onPlay:function(){r&&r(),d((function(e){return f(f({},e),{playing:!0})}))},onEnded:function(){c&&c()},videoRef:p,id:i}))},Ut=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=g(e,["src","settings","alt","id"]),u=o(null),m=a({width:0,height:0}),d=m[0],p=m[1],h=n.includes("/image/"),v=n.includes("/video/"),y=n.replace("https://res.cloudinary.com/","").split("/");i((function(){d.width!==u.current.offsetWidth&&d.height!==u.current.offsetHeight&&p({width:u.current.offsetWidth||0,height:u.current.offsetHeight||0})}));return t.createElement("div",{ref:u,className:"mediaWrapper"},h&&t.createElement(Qt,f({},s,{height:d.height?d.height:250,width:d.width?d.width:400,quality:"90",gravity:St(qe,(null==r?void 0:r.gravity_mode)||0),crop:St(Re,(null==r?void 0:r.crop_mode)||0),src:y,alt:l,id:c})),v&&t.createElement(Gt,f({},s,{height:d.height?d.height:250,width:d.width?d.width:400,quality:"90",gravity:St(qe,(null==r?void 0:r.gravity_mode)||0),crop:St(Re,(null==r?void 0:r.crop_mode)||0),id:c,src:n})))};p(".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}");p(".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}}");p('.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 Xt=function(){return t.createElement("div",{className:"lds-dual-ring"})},Jt=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,h=e.onAddToCart,v=e.onChangeQuantity,y=Ht("productConstructor");return t.createElement("div",{className:c("footerControls",{summary:n})},n?t.createElement(t.Fragment,null,t.createElement(qt,{count:m,isRemoveDisable:p||r,isAddDisable:d||r,onAdd:f,onRemove:g,onChangeQuantity:v}),t.createElement("div",{onClick:h,className:c("button major",{disable:r})},r?t.createElement(Xt,null):t.createElement(t.Fragment,null,t.createElement("div",{className:"addLabel"},t.createElement(ot,{color:"#fff",size:"small"}),y.addToCart),t.createElement("div",null,Ft(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(Xt,null):t.createElement(t.Fragment,null,y.next," ",Ft(l,i)))))};p(".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 Yt=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)};p(".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 $t,en=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"},"+",Ft(a,r)):t.createElement("span",{className:"suboptionPrice"})},tn={0:t.createElement(zt,{size:20,color:"var(--main-color)"}),1:t.createElement(Pt,{size:20,color:"var(--main-color)"}),2:t.createElement(jt,{size:20,color:"var(--main-color)"})},nn="#INGREDIENTS",rn="#HALF_SELECTOR",an="#HALF_SELECTOR_HALF";!function(e){e[e.none=0]="none",e[e.left=1]="left",e[e.right=2]="right"}($t||($t={}));var on=function(e,t){var n=[],r=e.filter((function(e){return e.half===$t.none||e.half===$t.left}));return t?r.forEach((function(e){n.push(f(f({},e),{half:$t.left})),n.push(f(f({},e),{half:$t.right}))})):r.forEach((function(e){n.push(f(f({},e),{half:$t.none}))})),n},ln=function(e,n,r,a,o,i){var l,c=[],s=0;if(null==o?void 0:o.unit_weight){var u=parseInt((o.unit_weight*o.weight_range*o.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",Ft(o.currency,o.amountDiff))),d="";d=(null==o?void 0:o.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(o.unit_weight," ").concat(i.gr),c.push({weightProduct:!0,name:o.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:d,tooltip:(null==o?void 0:o.weighed)?m:null})}if((null===(l=null==e?void 0:e.suboptions)||void 0===l?void 0:l.length)&&c.push({name:i.ingredients,value:un(e.suboptions),index:s++}),n.forEach((function(e){var n,r;c.push({name:e.name,value:(n=e.suboptions,r=n.filter((function(e){return e.quantity})),t.createElement("div",null,!!r.length&&r.map((function(e,n){return t.createElement("div",{key:"".concat(n,"-").concat(e.id),className:"summarySuboption"},t.createElement("span",null,e.name),(e.halfOption||0===e.halfOption)&&tn[e.halfOption])})),!r.length&&"-")),index:s++})})),r.length){var p=r.some((function(e){return e.half===$t.right}));c.push({name:i.toppings,value:p?i.half:i.full,index:s++})}return r.forEach((function(e){c.push({name:e.name,value:cn(e.suboptions),index:s++})})),a&&c.push({name:i.comments,value:a,index:s++}),c},cn=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},sn=function(e,t){return e.name+(e.half===$t.right?t.right:"")+(e.half===$t.left?t.left:"")},un=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},mn=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){var n;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(n=t.halfOption)&&void 0!==n?n:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},dn=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)},pn=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||e.pizzaOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return f(f({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).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===$t.none}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===$t.left}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===$t.right}))}));return n?f(f({},t),{half:$t.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.none,quantity:t?t.quantity:0})}))}):r.isHalf||a&&o?(r.isHalf=!0,[f(f({},t),{half:$t.left,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.left,quantity:t?t.quantity:0})}))}),f(f({},t),{half:$t.right,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.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(f(f({},t),{quantity:n?0:1}))})),r},fn=function(e,t){var n,r,a,o=null;if(!e.withHalfOption||e.pizzaOption)o=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||$t.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}))}))}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=f(f(f({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return f({},e)})),e},gn=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}},hn=function(e,t,n,r){return 1===e&&1===t?"":"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")")},vn=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(en,{free:gn(l,e).free,amount:gn(l,e).amount,currency:a,freeLabel:i}),t.createElement(qt,{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)()}})))})))};p('.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 yn=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(en,{freeLabel:n,free:gn(i,e).free,amount:gn(i,e).amount,currency:o}));var r,l})))};p(".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 bn=function(e){var n=e.message;return t.createElement("div",{className:"warning"},t.createElement(yt,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};p(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var xn=function(e){var n=e.name,r=e.comment,a=e.onCommentChange,o=e.onNameChange,i=Ht("productConstructor");return t.createElement("div",{className:"productCommentSection"},t.createElement("span",{className:"inputName"},i.addName),t.createElement(Tt,{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(Tt,{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}))};p(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.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}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var wn=function(e){var n=e.summary,r=e.onClickChange,a=Ht("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:c("name",{weightName:e.weightProduct})},e.name,e.weightProduct&&t.createElement(Ct,{size:16,color:"var(--main-color, #007aff)"})),t.createElement("div",{className:c("value",{weighed:e.weightProduct})},e.value,e.tooltip&&t.createElement(t.Fragment,null,t.createElement(Bt,{className:"importantWeight",size:20}),t.createElement(s,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},e.tooltip))),!e.weightProduct&&t.createElement("div",{onClick:function(){return r(e.index)},className:"button"},a.change))})))};p(".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 En=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(en,{free:gn(o,e).free,amount:gn(o,e).amount,currency:a,freeLabel:i}));var n,l})))};p(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var Nn=function(e){var n=e.currency,r=e.suboptions,a=e.onChangeOption,o=function(e,t){var n=e===t.halfOption?0:1;a(t.id,n,f(f({},t),{halfOption:e===t.halfOption?null:e}))};return t.createElement("div",{className:"suboptionPizzaSelector"},r.map((function(e){return t.createElement("div",{key:e.id,className:"pizzaOption"},t.createElement("div",{className:"pizzaOptionName"},t.createElement("span",null,e.name),!!e.description&&t.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:e.description}})),t.createElement("div",{className:"halfOptions"},!!e.price&&t.createElement("span",null,e.price," ",Ft(n)),t.createElement(zt,{onClick:function(){return o($t.none,e)},color:e.quantity&&e.halfOption===$t.none?"var(--main-color)":"#747474"}),t.createElement(jt,{onClick:function(){return o($t.right,e)},color:e.quantity&&e.halfOption===$t.right?"var(--main-color)":"#747474"}),t.createElement(Pt,{onClick:function(){return o($t.left,e)},color:e.quantity&&e.halfOption===$t.left?"var(--main-color)":"#747474"})))})))},kn=function(e){var n=e.name,r=e.media,l=e.currency,c=e.price,s=e.oldPrice,u=e.description,m=e.totalPrice,d=e.allowComments,p=e.options,g=e.optionsHalf,v=e.max,y=e.unit_weight,b=e.weight_range,x=e.amountDiff,w=e.weighed,E=e.quantity,N=e.ingredients,k=e.nameOnBox,C=e.comments,B=e.isLoading,O=e.isHalf,P=e.summaryOpen,j=e.onChangeIngredients,z=e.onChangeOption,S=e.onChangeOptionHalf,F=e.onChangeNameOnBox,M=e.onChangeComment,I=e.onAdd,L=e.onRemove,H=e.onAddToCart,_=e.onChangeIsHalf,T=e.disableAutoScroll,D=e.updateOptionOfActualData,A=e.onChangeQuantity,R=Ht("errorConstructor"),q=Ht("productConstructor"),Z=a(null),V=Z[0],W=Z[1],Q=a([]),G=Q[0],U=Q[1],K=a(0),X=K[0],J=K[1],Y=a(!0),$=Y[0],ee=Y[1],te=o(),ne=o(),re=function(e){J(e),ae()},ae=function(){T||setTimeout((function(){(null==te?void 0:te.current.scrollTop)<=20&&te.current.scrollTo({top:((null==ne?void 0:ne.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};i((function(){var e=h(h([],p,!0),g,!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,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:rn,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:$t.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,halfOption:$t.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,halfOption:$t.none,enabled:!0,max:1,id:an,quantity:Number(n)}]};a.push(i)}return[].concat(a).concat(o)}(p.filter((function(t){return dn(t,e)})),g.filter((function(t){return dn(t,e)})),O,q);if(U(t),N.length&&W(function(e,t){return{id:nn,freeBudget:0,min:0,respectTo:null,half:$t.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return f(f({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(N,q)),$&&P){var n=0;t.length&&(n+=t.length),N.length&&(n+=1),d&&(n+=1),J(n)}ee(!1)}),[N,p,g,O]);var oe=function(){var e=le()[X];return!!(null==e?void 0:e.id)&&function(e,t){if(e.pizzaOption&&e.withHalfOption)return"";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,R)},ie=function(e){var n=D(e),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,o=function(e,t,r){!function(e){return e===rn}(n.id)?n.withHalfOption&&!n.pizzaOption?S(n.id,e,n.half,t):z(n.id,e,t,r):_(function(e){return e===an}(e))},i=e.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return e.pizzaOption&&e.withHalfOption?t.createElement(Nn,{key:n.id,currency:l,onChangeOption:o,suboptions:n.suboptions}):r?t.createElement(yn,{key:n.id,currency:l,ingredients:n.suboptions,onSelect:o,freeBudget:e.freeBudget,freeLabel:q.free}):a?t.createElement(vn,{key:n.id,currency:l,suboptions:n.suboptions,onChangeQuantity:o,limitByMax:n.limitSuboptionsByMax,freeBudget:e.freeBudget,freeLabel:q.free}):t.createElement(En,{key:n.id,currency:l,suboptions:n.suboptions,onSelect:o,freeBudget:e.freeBudget,totalQuantity:i,freeLabel:q.free})},le=function(){var e=[];return V&&e.push({name:q.ingredients,component:t.createElement(Wt,{ingredients:V.suboptions,onSelect:j})}),e.push.apply(e,G.filter((function(e){return dn(e,G)})).map((function(e){return f(f({},e),{name:e.pizzaOption&&e.withHalfOption?"".concat(sn(e,q)):"".concat(sn(e,q)," ").concat(hn(e.min,e.max,e.freeBudget,q.free)),component:ie(e)})}))),d&&e.push({name:q.comments,component:t.createElement(xn,{name:k,comment:C,onNameChange:F,onCommentChange:M})}),e.push({name:q.summary,component:t.createElement(wn,{summary:ln(V,G.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=rn})),G.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=rn})),d?"".concat(C||"-"," | ").concat(k||"-"):null,{weighed:w,unit_weight:y,quantity:E,weight_range:b,currency:l,amountDiff:x},q),onClickChange:function(e){return J(e)}})}),e};return t.createElement("div",{className:"productConstructor",ref:te},t.createElement("div",{className:"content"},!!r&&t.createElement("div",{ref:ne},t.createElement(Kt,f({},r))),t.createElement("div",{className:"headProduct"},t.createElement("div",{className:"name"},n),t.createElement("div",{className:"priceControl"},!!s&&t.createElement("div",{className:"oldPrice"},Ft(l,s)),!!c&&t.createElement("div",{className:"price"},Ft(l,c)))),t.createElement("div",{className:"description"},u)),oe()&&t.createElement(bn,{message:oe().toString()}),!!le().length&&t.createElement(Yt,{steps:le(),currentStep:X}),t.createElement(Jt,{isLoading:B,isSummary:X===le().length-1,isDisableNext:!!oe(),isDisablePrev:0===X,currency:l,onPrev:function(){return re(X-1)},onNext:function(){return re(X+1)},onAddToCart:H,amount:m,count:E,onRemove:L,onAdd:I,isAddDisable:!!v&&E===v,isRemoveDisable:0===E,onChangeQuantity:function(e){A(e<=0?0:e)}}))};p(".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:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.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}}");p(".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}");p(".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 Cn=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)},Bn=function(e){var n=e.vegan,r=e.vegetarian,a=e.isNew,o=e.spicy,i=e.glutenFree,l=Ht("tag"),c=function(){return a?t.createElement(Cn,{label:"new",className:"additionItem",icon:t.createElement($e,null)}):null},s=function(){return n?t.createElement(Cn,{label:l.vegan,className:"additionVegan",icon:t.createElement(t.Fragment,null,t.createElement(tt,null),t.createElement(tt,null))}):r?t.createElement(Cn,{label:l.vegetarian,className:"additionVegetarian",icon:t.createElement(tt,null)}):null},u=function(){return o?t.createElement(Cn,{label:l.spicy,className:"additionSpicy",icon:t.createElement(t.Fragment,null,Array(o).fill(0).map((function(e,n){return t.createElement(nt,{key:n})})))}):null},m=function(){return i?t.createElement(Cn,{label:l.glutenFree,className:"additionNoGluten",icon:t.createElement(rt,null)}):null};return c()||s()||u()||m()?t.createElement("div",{className:"productTags"},c(),s(),u(),m()):null},On=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,h=e.isNew,v=e.spicy,y=e.glutenFree,b=e.quantity,x=e.weight,w=Ht("productConstructor");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,x>0&&t.createElement("span",{className:"weightBlock"},t.createElement(Ct,{size:16,color:"var(--main-color, #007aff)"})," ",x," ",t.createElement("span",null,w.gr))),m&&t.createElement(Ye,{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(Bn,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),t.createElement("div",{className:"priceBlock"},!!l&&t.createElement("div",{className:c("oldPrice",{lineThrough:!b})},Ft(r,l)),!!b&&t.createElement("span",{className:"quantity"}," x",b," "),!!i&&t.createElement("div",{className:c("currentPrice",{newPrice:!!l&&!b})},Ft(r,i))))))};p(".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 Pn=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(On,f({key:n.id},n,{onClick:function(t){return r(e.id,t)}}))})))})))};p(".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}");p(".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 jn=function(e){var n=e.score,r=e.isNew,a=e.kosher;return t.createElement("div",{className:"restaurantTags"},!!r&&t.createElement(Cn,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&t.createElement(Cn,{label:n.toFixed(1),className:"restaurantTagScore",icon:t.createElement($e,null)}),!!a&&t.createElement(Cn,{label:"kosher",className:"restaurantTagKosher"}))};p(".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 zn=function(e){var n=e.currency,r=e.amount,a=e.onClick;return t.createElement("div",{className:"headerCartButton",onClick:a},t.createElement(ot,{className:"icon"}),t.createElement("span",{className:"label"},"Checkout"),t.createElement("span",{className:"price"},Ft(n,r)))};p(".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 Sn=function(e){var n=e.dontHide,r=e.minimum,o=e.isPickUp,l=e.withTitle,s=e.estimationRangeMax,u=e.estimationRangeMin,m=e.estimationTime,p=e.distance,f=e.deliveryPrice,g=e.currency,h=e.deliveryToLocation,v=a([]),y=v[0],b=v[1];return i((function(){var e=[];r&&e.push(t.createElement("div",{className:c("footer-item mini-order")},t.createElement(ot,null),l&&t.createElement("span",{className:c("title")},"Min order"),Ft(g,r))),p&&!o&&e.push(t.createElement("span",{className:c("footer-item")},t.createElement(st,null),l&&t.createElement("div",{className:c("title")},"Distance"),"distanceKm ",p)),(s||u)&&e.push(t.createElement("div",{className:c("time footer-item")},o?t.createElement(lt,null):t.createElement(ut,null),l&&t.createElement("div",{className:c("title")},o?"Pickup time":"Delivery time"),u,"-",s," min")),!o&&h&&e.push(t.createElement("div",{className:c("footer-item delivery-price")},t.createElement(it,null),l&&t.createElement("span",{className:c("title")},"deliveryPrice"),f?Ft(g,f):t.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",t.createElement(mt,null)," "))),0===s&&0===u&&m&&e.push(t.createElement("div",{className:c("time footer-item")},o?t.createElement(ut,null):t.createElement(lt,null),"up_to ",m,"  min")),b(e)}),[r,o,s,u,m,p,f,g,h]),t.createElement(d,{className:"footer benefitsData",minVisibleItems:n?y.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:y})},Fn=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,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($e,null):t.createElement(et,null)),(!!l||c)&&t.createElement(jn,{isNew:a,kosher:o,score:i})),t.createElement("div",{className:"topRight"},!!l&&!c&&t.createElement(zn,{onClick:d,amount:l,currency:s}))),t.createElement("div",{className:"restaurantHeaderBottom"},!c&&!l&&t.createElement(jn,{isNew:a,kosher:o,score:i}),t.createElement("div",{className:"benefits"},t.createElement(Sn,{deliveryToLocation:1,currency:s,minimum:10})),!!l&&c&&t.createElement("div",{className:"bottomRight"},t.createElement(Tt,{className:"input",placeholder:"Search in menu...",icon:t.createElement(at,null),value:u,onChange:m}),t.createElement(zn,{onClick:d,amount:l,currency:s}))))};p(".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 Mn=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=Ht("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(bt,{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(Tt,{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(Tt,{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}))))};p(".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 .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.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-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.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 In=function(e){var n=Ht("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){var a;return t.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return e.onClickProduct(r)}},t.createElement("div",{className:"productTop"},(null===(a=null==n?void 0:n.image)||void 0===a?void 0:a.src)&&t.createElement(Kt,{src:n.image.src,alt:n.image.alt,settings:n.image.settings}),t.createElement("div",{className:"productName"},n.name),t.createElement("div",{className:"price"},t.createElement("span",{className:"finalPrice"},n.full_price," ",Ft(e.currency)),t.createElement(kt,{color:"var(--main-color)",size:"small"}))),t.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},t.createElement("div",{className:"productDescription"},n.description),t.createElement(qt,{count:n.quantity,isAddDisable:n.max>=n.quantity,isRemoveDisable:n.quantity>=n.min,onAdd:function(){return e.onChangeQuantity(n.quantity+1,n,r)},onRemove:function(){return e.onChangeQuantity(n.quantity-1,n,r)},onChangeQuantity:function(t){return e.onChangeQuantity(t,n,r)}})))}))),t.createElement(At,f({},e)))};p(".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 Ln=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{_t as BagesPaymentsOrderSummary,Dt as Checkbox,Rt as CheckoutFormItem,qt as CounterButton,Zt as CutleryButton,Vt as DeliveryControl,Mn as GiftControl,$t as HALF_OPTION,nn as INGREDIENTS,it as IconBicycle,ot as IconCart,lt as IconClockAfternoon,ct as IconClose,Nt as IconCutlery,Ot as IconDinein,Et as IconDone,kt as IconEditPen,bt as IconGift,Bt as IconImportant,Pt as IconLeftOption,st as IconMapPin,vt as IconMinus,wt as IconMoto,ft as IconMute,rt as IconNoGluten,pt as IconPause,xt as IconPercent,ut as IconPersonSimpleWalk,dt as IconPlay,ht as IconPlus,jt as IconRightOption,at as IconSearch,mt as IconSparkle,nt as IconSpicy,$e as IconStar,et as IconStarBorder,Ye as IconTrash,gt as IconUnmute,tt as IconVegan,yt as IconWarning,Ct as IconWeighted,zt as IconWholeOption,Wt as IngredientsSelector,Tt as Input,Kt as Media,At as OrderSummary,In as OrderSummaryWithProducts,kn as ProductConstructor,On as ProductPreview,Pn as ProductPreviewList,Bn as ProductTags,Fn as RestaurantHeader,Yt as Stepper,vn as SuboptionMultiSelector,yn as SuboptionRadioSelector,Ln as TabsControl,Lt as TranslationUIProvider,bn as Warning,dn as checkRespectTo,mn as convertToServerModelOptions,fn as mergeOption,pn as mergeProduct,on 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{DebounceInput as c}from"react-debounce-input";import l from"classnames";import{Tooltip as s}from"react-tooltip";import{Image as u,Transformation as m}from"cloudinary-react";import{OverflowList as d}from"react-overflow-list";function p(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))}}p(":root{--border-radius:5px;--main-color:#007aff;--secondary-color:#cee6ff;--warning:#fe7171}*{box-sizing:border-box}html{font-family:Montserrat,sans-serif}.lineThrough{text-decoration:line-through}.icon{cursor:pointer}");p(".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 f=function(){return f=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},f.apply(this,arguments)};function g(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 h(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 v;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)}p(".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 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 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 C;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 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 S;function F(){return F=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},F.apply(this,arguments)}var M,I,L;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 H,T;function D(){return D=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},D.apply(this,arguments)}var A;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 q,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;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 G,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;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 le,se;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 me,de;function pe(){return pe=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},pe.apply(this,arguments)}var fe,ge;function he(){return he=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},he.apply(this,arguments)}var ve;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;function ke(){return ke=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},ke.apply(this,arguments)}var Ce,Be;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 Pe,je;function ze(){return ze=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},ze.apply(this,arguments)}var Se,Fe;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 Ie;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 _e;function He(){return He=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},He.apply(this,arguments)}var Te,De;function Ae(){return Ae=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},Ae.apply(this,arguments)}var Re,qe,Ze,Ve,We,Qe,Ge,Ue=20,Ke=25,Xe=30,Je=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?Ue:"big"===e?Xe:e||Ke}(r.size);return t.createElement(e,f({width:o,height:o},r,{style:a,className:"icon ".concat(r.className||""," ").concat(n||"")}))}},Ye=Je((function(t){return e.createElement("svg",y({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em"},t),v||(v=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"),$e=Je((function(t){return e.createElement("svg",x({width:"1em",height:"1em",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),b||(b=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"),et=Je((function(t){return e.createElement("svg",E({width:"1em",height:"1em",viewBox:"0 0 33 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#016A2B",strokeWidth:2},t),w||(w=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"),tt=Je((function(t){return e.createElement("svg",k({width:"1em",height:"1em",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},t),N||(N=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"),nt=Je((function(t){return e.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),C||(C=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"),rt=Je((function(t){return e.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 64 64"},t),O||(O=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"),at=Je((function(t){return e.createElement("svg",z({width:"1em",height:"1em",viewBox:"0 0 22 22",xmlns:"http://www.w3.org/2000/svg"},t),j||(j=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"),ot=Je((function(t){return e.createElement("svg",F({width:"1em",height:"1em",viewBox:"0 0 26 30",xmlns:"http://www.w3.org/2000/svg"},t),S||(S=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"),it=Je((function(t){return e.createElement("svg",_({width:"1em",height:"1em",stroke:"#000",strokeWidth:1.3,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),M||(M=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"})),L||(L=e.createElement("path",{d:"M15.947 9H8.878L4.5 15",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),ct=Je((function(t){return e.createElement("svg",D({width:"1em",height:"1em",viewBox:"0 0 24 24",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),H||(H=e.createElement("path",{d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Z",strokeMiterlimit:10})),T||(T=e.createElement("path",{d:"M12 12h5.25M15.713 15.713 12 12",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),lt=Je((function(t){return e.createElement("svg",R({width:"1em",height:"1em",viewBox:"0 0 19 19",xmlns:"http://www.w3.org/2000/svg"},t),A||(A=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"),st=Je((function(t){return e.createElement("svg",V({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"#000",strokeWidth:1.3},t),q||(q=e.createElement("path",{d:"M12 12.75a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",strokeLinecap:"round",strokeLinejoin:"round"})),Z||(Z=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"),ut=Je((function(t){return e.createElement("svg",Q({width:"1em",height:"1em",viewBox:"0 0 24 25",stroke:"#000",strokeWidth:1.3,fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),W||(W=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"),mt=Je((function(t){return e.createElement("svg",K({width:"1em",height:"1em",viewBox:"0 0 16 16",stroke:"#000",strokeWidth:1.3,xmlns:"http://www.w3.org/2000/svg"},t),G||(G=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"})),U||(U=e.createElement("path",{d:"M11 1v3M12.5 2.5h-3M14 4.5v2M15 5.5h-2",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke fillByFill"),dt=Je((function(t){return e.createElement("svg",J({width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},t),X||(X=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"),pt=Je((function(t){return e.createElement("svg",$({width:"1em",height:"1em",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},t),Y||(Y=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"),ft=Je((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:"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"),gt=Je((function(t){return e.createElement("svg",re({width:"1em",height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},t),ne||(ne=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"),ht=Je((function(t){return e.createElement("svg",ce({width:"1em",height:"1em",viewBox:"0 0 23 23",xmlns:"http://www.w3.org/2000/svg"},t),ie||(ie=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"),vt=Je((function(t){return e.createElement("svg",oe({width:"1em",height:"1em",viewBox:"0 0 23 4",xmlns:"http://www.w3.org/2000/svg"},t),ae||(ae=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"),yt=Je((function(t){return e.createElement("svg",ue({width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",stroke:"#000",xmlns:"http://www.w3.org/2000/svg"},t),le||(le=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})),se||(se=e.createElement("path",{d:"M12.271 16.84v.5m0-10v6-6Z",strokeWidth:2,strokeLinecap:"round"})))}),"fillByStroke"),bt=Je((function(t){return e.createElement("svg",pe({width:"1em",height:"1em",viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},t),me||(me=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"}))),de||(de=e.createElement("defs",null,e.createElement("clipPath",{id:"gift_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v19H0z"})))))}),"fillByFill"),xt=Je((function(t){return e.createElement("svg",he({width:"1em",height:"1em",viewBox:"0 0 17 16",xmlns:"http://www.w3.org/2000/svg"},t),fe||(fe=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"}))),ge||(ge=e.createElement("defs",null,e.createElement("clipPath",{id:"percent_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h17v16H0z"})))))}),"fillByFill"),wt=Je((function(t){return e.createElement("svg",ye({width:"1em",height:"1em",viewBox:"0 0 22 18",xmlns:"http://www.w3.org/2000/svg"},t),ve||(ve=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"),Et=Je((function(t){return e.createElement("svg",xe({width:"1em",height:"1em",viewBox:"0 0 9 7",stroke:"#000",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),be||(be=e.createElement("path",{d:"M7.834 1 3.167 6 .834 3.5",strokeLinecap:"round",strokeLinejoin:"round"})))}),"fillByStroke"),Nt=Je((function(t){return e.createElement("svg",Ee({width:"1em",height:"1em",viewBox:"0 0 15 20",xmlns:"http://www.w3.org/2000/svg"},t),we||(we=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"),kt=Je((function(t){return e.createElement("svg",ke({width:"1em",height:"1em",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg"},t),Ne||(Ne=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"),Ct=Je((function(t){return e.createElement("svg",Oe({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Ce||(Ce=e.createElement("path",{d:"M8 4.87c-3.6 0-5.167-2.167-5.5-3h11c-.5.833-1.9 3-5.5 3Zm0 0v3m-3.5 6H2c0-2 1.2-6 6-6m0 0c4.8 0 6 4 6 6h-2.5m-3.5-.5 2.5-2"})),Be||(Be=e.createElement("circle",{cx:8,cy:13.37,r:1})))}),"fillByStroke"),Bt=Je((function(t){return e.createElement("svg",ze({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Pe||(Pe=e.createElement("g",{clipPath:"url(#important_svg__a)",fill:"#FF3A44"},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 20c5.52 0 10-4.48 10-10S15.52 0 10 0 0 4.48 0 10s4.48 10 10 10Z",fillOpacity:.25}),e.createElement("path",{d:"M10.71 14.71c-.19.18-.44.29-.71.29-.27 0-.53-.1-.71-.29-.18-.19-.29-.44-.29-.71 0-.27.1-.53.29-.71.19-.18.44-.29.71-.29.27 0 .53.1.71.29.18.19.29.44.29.71 0 .27-.1.53-.29.71ZM10 4.25a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0V5a.75.75 0 0 1 .75-.75Z"}))),je||(je=e.createElement("defs",null,e.createElement("clipPath",{id:"important_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h20v20H0z"})))))}),""),Ot=Je((function(t){return e.createElement("svg",Me({width:"1em",height:"1em",viewBox:"0 0 182 116",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Se||(Se=e.createElement("path",{d:"M84.57 19.329c0-4.477-.063-8.755.022-13.028.065-3.61 2.972-6.344 6.497-6.3 3.423.042 6.213 2.765 6.325 6.284.08 2.346.022 4.698.022 7.05v5.999H147.839c5.059 0 7.532 2.47 7.538 7.512.005 7.985.01 15.976 0 23.96-.006 4.645-2.575 7.18-7.254 7.19-4.962.01-9.925-.043-14.882.043-.998.016-2.13.323-2.956.866-10.456 6.91-20.859 13.9-31.304 20.819-1.11.737-1.588 1.496-1.577 2.884.07 8.927.053 17.854.021 26.781-.01 3.115-1.797 5.461-4.646 6.322-2.629.797-5.606-.129-7.012-2.566-.73-1.265-1.137-2.89-1.153-4.359-.102-8.722-.086-17.45-.016-26.173.01-1.372-.43-2.152-1.561-2.905-10.451-6.915-20.854-13.91-31.31-20.819-.826-.543-1.958-.845-2.956-.86-5.027-.087-10.054-.028-15.086-.044-4.4-.016-7.044-2.626-7.055-6.984-.021-8.255-.021-16.509 0-24.769.01-4.267 2.645-6.903 6.915-6.909 16.16-.016 32.319-.005 48.477-.005h2.549v.01Z",fill:"currentcolor"})),Fe||(Fe=e.createElement("path",{d:"M18.518 83.776c-3.803 0-7.21.016-10.617 0C3.523 83.754.88 81.128.88 76.759.868 55.677.868 34.6.873 13.53c0-4.15 2.613-7.034 6.342-7.082 3.803-.049 6.523 2.884 6.523 7.113.011 18.258 0 36.515 0 54.767v2.556h37.544c4.11 0 5.95 1.254 7.484 5.09 4.007 10.014 8.047 20.012 11.964 30.064.584 1.495.928 3.287.713 4.848-.392 2.889-2.908 4.886-5.708 5.09-2.865.21-5.381-1.383-6.567-4.315-3.487-8.637-6.969-17.273-10.349-25.947-.58-1.49-1.255-2.034-2.88-1.986-4.218.135-8.44.043-12.093.043-1.69 2.653-3.042 5.075-4.673 7.286-5.45 7.399-10.998 14.722-16.508 22.073-1.684 2.243-3.921 3.277-6.674 2.701-2.66-.554-4.345-2.282-4.968-4.961-.488-2.12.183-3.945 1.46-5.64 4.801-6.376 9.576-12.768 14.361-19.161.478-.635.934-1.286 1.669-2.303l.005.01ZM148.29 83.776c-4.078 0-8.697-.054-13.316.07-.563.016-1.347.92-1.62 1.587-3.536 8.685-6.98 17.407-10.494 26.103-1.422 3.519-4.587 5.155-7.854 4.192-3.895-1.147-5.644-4.962-4.045-9.008 3.326-8.41 6.706-16.8 10.059-25.199.821-2.05 1.652-4.1 2.462-6.156 1.197-3.04 3.429-4.487 6.68-4.487 11.867.01 23.734 0 35.601 0h2.484v-2.422c0-18.392-.016-36.784.011-55.17.005-4.929 4.367-8.093 8.728-6.42 2.479.953 4.094 3.272 4.126 6.113.043 4.095.016 8.19.016 12.285V76.21c0 5.096-2.441 7.555-7.495 7.56h-10.171c1.089 1.48 1.942 2.648 2.811 3.81 4.463 5.957 8.954 11.892 13.385 17.875 2.173 2.933 1.899 6.436-.552 8.761-2.897 2.749-7.222 2.281-9.813-1.147-5.858-7.764-11.701-15.534-17.473-23.364-1.282-1.737-2.227-3.723-3.53-5.93Z",fill:"currentcolor"})))}),"fillByStroke"),Pt=Je((function(t){return e.createElement("svg",Le({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Ie||(Ie=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.514 8.532c-.01.155-.014.31-.014.468v.007c0-.16.005-.318.014-.475ZM9 16.5a7.5 7.5 0 0 0 0-15v15Zm0 .5A8 8 0 1 0 9 1a8 8 0 0 0 0 16Z",fill:"currentColor"})))}),"fillByStroke"),jt=Je((function(t){return e.createElement("svg",He({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),_e||(_e=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.486 9.468c.01-.155.014-.31.014-.468v-.007c0 .16-.005.318-.014.475ZM9 1.5a7.5 7.5 0 1 0 0 15v-15ZM9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1Z",fill:"currentColor"})))}),"fillByStroke"),zt=Je((function(t){return e.createElement("svg",Ae({width:"1em",height:"1em",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),Te||(Te=e.createElement("g",{clipPath:"url(#wholeOption_svg__a)"},e.createElement("circle",{cx:8.333,cy:8,r:8}))),De||(De=e.createElement("defs",null,e.createElement("clipPath",{id:"wholeOption_svg__a"},e.createElement("path",{fill:"#fff",transform:"translate(.333)",d:"M0 0h16v16H0z"})))))}),"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"}(Re||(Re={})),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"}(qe||(qe={})),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"}(Ze||(Ze={})),function(e){e.USD="$",e.EUR="€",e.GBP="£",e.UAH="₴",e.AED="د.",e.ILS="₪",e.JPY="¥",e.KZT="₸",e.RUB="₽"}(Ve||(Ve={})),function(e){e[e.common=0]="common",e[e.bonus=1]="bonus"}(We||(We={})),function(e){e[e.delivery=1]="delivery",e[e.takeAway=2]="takeAway",e[e.virtualVenue=3]="virtualVenue",e[e.dinein=4]="dinein"}(Qe||(Qe={})),function(e){e[e.products=0]="products",e[e.delivery=1]="delivery"}(Ge||(Ge={}));var St=function(e,t){return Object.keys(e).find((function(n){return e[n]===t}))},Ft=function(e,t){var n="";return e&&(n=Ve[e]||e),(t||0===t)&&(n="".concat(t," ").concat(n)),n},Mt={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",portionSizeLabel:"Portion size",portionSizeLabelWeighed:"Portion size weighed",gr:"gr",weightProductAcceptable:"deviation is acceptable",weightAdditionalPayment:"additional payment up to {payment} is possible"},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",weightAdjustment:"Price buffer",weightAdjustmentTooltip:"Price buffer tooltip",total:"Total",confirm:"Confirm"},deliveryControl:{pickUp:"Pick up",delivery:"Delivry",dinein:"Dinein"}},It=n(Mt),Lt=It.Provider,_t=function(e){var t=r(It);return t[e]?t[e]:Mt[e]},Ht=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=_t("bagesPaymentsOrderSummary");return t.createElement("div",{className:"bagesPaymentSummary"},0===c&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(wt,null),t.createElement("span",{className:"discountLabel"},s.freeDelivery)),o>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(xt,null),t.createElement("span",{className:"discountLabel"},Ft(l,o)," ",s.discount)),r>0&&t.createElement("div",{className:"discountItem"},t.createElement("div",{className:"doneBg"},t.createElement(Et,{size:12,color:"#fff"})),t.createElement(bt,null),t.createElement("span",{className:"discountLabel"},r," ",s.bonuses)))};p(".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 .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}");p(".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 Tt=function(e){var n=e.icon,r=e.onChange,a=g(e,["icon","onChange"]);return t.createElement("label",{className:"labelInput"},n&&n,t.createElement(c,f({debounceTimeout:a.debounce},a,{onChange:r})))};p('@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 Dt=function(e){var n=e.value,r=e.disabled,a=e.onChange;return t.createElement("div",{className:l("customCheckbox",{selected:n,disabled:r}),onClick:function(){return!r&&a(!n)}})},At=function(e){var n=e.customConfirmButton,r=e.accumulatedPurchaseBonus,a=e.discount,o=e.finalDeliveryPrice,i=e.currency,c=e.offerType,u=e.coupon,m=e.fullPrice,d=e.discounts,p=e.deliveryType,f=e.deliveryPrice,g=e.serviceFee,h=e.topupToMinimum,v=e.driverTip,y=e.hideCoupon,b=e.paymentBalance,x=e.weightAdjustmentPriceBuffer,w=e.finalPrice,E=e.setCoupon,N=e.disabledConfirm,k=e.onConfirm,C=e.customDiscount,B=e.customDiscountValue,O=e.setCustomDiscountValue,P=e.customFields,j=e.finalCharge,z=e.canceledOfferIds,S=e.toggleOffer,F=e.recalculateDiscounts,M=e.disableRecalculateDiscounts,I=e.showRecalculateDiscounts,L=e.onChangeRecalculateDiscounts,_=e.canManageDiscount,H=_t("summary"),T=function(e){var n=null==z?void 0:z.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===We.bonus?H.bonus:2===e.offer_type?H.coupon:H.discount,e.offer_name&&t.createElement("div",{className:"discount-name"},e.offer_name)),!!e.coupon&&2===e.offer_type&&t.createElement(lt,{size:15,color:"var(--warning, #fe7171)",onClick:function(){return E("")}}))),t.createElement("div",{className:"inlineValue"},e.discount_type===We.common&&_&&t.createElement("div",{onClick:function(){return S(e.offer_id)},className:"controlOffer"},n?H.addRemovedOffer:H.removedOffer),!n&&t.createElement("div",{className:"priceBlue price"},"-",Ft(i,e.discount))))};return t.createElement("div",{className:"orderSummary"},t.createElement("div",{className:"summaryBody"},t.createElement("span",{className:"head"},H.summary),!!P&&P.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,H.subtotal),t.createElement("span",{className:"price"},Ft(i,m))),!!d&&d.filter((function(e){return e.discount_target===Ge.products&&e.discount_type===We.common})).map(T),p===Qe.delivery&&t.createElement("div",{className:"summaryItem deliveryCost deliveryCostBase"},t.createElement("span",null,f===o?H.deliveryCost:H.deliveryCostBase),t.createElement("span",{className:"price"},Ft(i,f||o))),C&&t.createElement("div",{className:"summaryItem customDiscount"},t.createElement("span",null,H.discount),t.createElement("span",{className:"price"},t.createElement("input",{type:"number",value:B,onChange:function(e){var t=e.target;return O(t.value)}}),Ft(i))),!!d&&d.filter((function(e){return e.discount_target===Ge.delivery})).map(T),p===Qe.delivery&&f!==o&&t.createElement("div",{className:"summaryItem deliveryCostFinal"},t.createElement("span",null,H.deliveryCostFinal),t.createElement("span",{className:"price"},Ft(i,o))),!!d&&d.filter((function(e){return e.discount_target===Ge.products&&e.discount_type===We.bonus})).map(T),!!g&&t.createElement("div",{className:"summaryItem serviceFee"},t.createElement("span",{className:"tooltip-container tooltipServiceFee"},H.serviceFee," ",t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipServiceFee"},H.serviceFeeTooltip),t.createElement("span",{className:"price"},Ft(i,g))),!!h&&t.createElement("div",{className:"summaryItem item-question minimal-order"},t.createElement("span",{className:"tooltip-container tooltipMinimumOrderCharge"},H.minimumOrderCharge," ",t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipMinimumOrderCharge"},H.minimumOrderChargeTooltip),t.createElement("span",{className:"price"},Ft(i,h))),!!v&&t.createElement("div",{className:"summaryItem item-question"},t.createElement("span",{className:"tooltip-container tooltipDriverTip"},t.createElement("span",null,H.driverTip),t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".tooltipDriverTip"},H.driverTooltip),t.createElement("span",{className:"price"},Ft(i,v))),!!x&&t.createElement("div",{className:"summaryItem item-question weightAdjustment"},t.createElement("span",{className:"tooltip-container weight-addjustmant"},t.createElement("span",null,H.weightAdjustment),t.createElement("span",{className:"question"},"?")),t.createElement(s,{anchorSelect:".weight-addjustmant"},H.weightAdjustmentTooltip),t.createElement("span",{className:"price"},Ft(i,x))),!y&&d&&!d.some((function(e){return e.coupon&&2===e.offer_type}))&&t.createElement("span",{className:"promocode"},!!u.trim().length&&2!==c&&t.createElement("span",{className:"invalidCoupon"},H.invalidPromocode),u.length?t.createElement("span",{className:"inputArea"},t.createElement(Tt,{autoFocus:!0,value:u,onChange:function(e){return E(e.target.value)},debounce:500}),t.createElement(lt,{size:15,onClick:function(){return E("")},color:"var(--warning, #FE7171)"})):t.createElement("span",{onClick:function(){return E(" ")}},H.placeholderPromocode)),I&&t.createElement("div",{className:"summaryItem"},t.createElement("span",{className:l({disabled:M})},H.recalculateDiscounts),t.createElement("span",{className:"price"},t.createElement(Dt,{value:F,onChange:L,disabled:M}))),null!==b&&t.createElement("div",{className:"summaryItem"},t.createElement("span",null,H.paymentBalance),t.createElement("span",{className:"price"},Ft(i,b))),t.createElement("div",{className:"hr"}),t.createElement("div",{className:"summaryItem totalPrice"},t.createElement("span",{className:"total"},H.total),t.createElement("span",{className:"price priceBlue"},Ft(i,w)))),t.createElement(Ht,{currency:i,discount:a,accumulatedPurchaseBonus:r,finalDeliveryPrice:o}),t.createElement("div",{onClick:k,className:l("confirmButton",{disable:N})},n||"".concat(H.confirm," ").concat(j?Ft(i,j):"").trim()))};p(".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 Rt=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=_t("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)))};p(".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 qt=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(vt,{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(ht,{color:"var(--main-color, #007aff)",onClick:o,className:l("control",{disable:a})}))};p(".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 Zt=function(e){var n=e.cutlery,r=e.onAdd,a=e.onRemove,o=_t("cutlery");return t.createElement("div",{onClick:function(){0===n&&r(1)},className:"cutleryButton"},!n&&t.createElement(t.Fragment,null,t.createElement(Nt,{color:"var(--main-color, #007AFF)",size:20})," ",o.addCutlery),!!n&&t.createElement(t.Fragment,null,o.cutlery,t.createElement(qt,{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)}})))};p(".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 Vt=function(e){var n=e.type,r=e.onChange,a=e.disableDelivery,o=e.disableDinein,i=e.showDinein,c=e.disableTakeAway,s=_t("deliveryControl");return t.createElement("div",{className:"deliveryControl"},t.createElement("div",{className:l("control",{selected:Qe.takeAway===n,disable:c}),onClick:function(){return r(Qe.takeAway)}},t.createElement(ut,{size:30,color:n===Qe.takeAway?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.pickUp)),i&&t.createElement("div",{className:l("control",{selected:Qe.dinein===n,disable:o}),onClick:function(){return r(Qe.dinein)}},t.createElement(Ot,{size:30,color:n===Qe.dinein?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.dinein)),t.createElement("div",{className:l("control",{selected:Qe.delivery===n,disable:a}),onClick:function(){return r(Qe.delivery)}},t.createElement(wt,{size:30,color:n===Qe.delivery?"#fff":"var(--main-color, #007AFF)"}),t.createElement("span",null,s.delivery)))};p(".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})))};p(".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 Qt=function(e){var n=e.src,r=e.alt,a=e.width,o=e.height,i=e.quality,c=e.gravity,l=e.crop,s=e.id;return t.createElement(u,{id:s,cloudName:n[0],secure:"true",publicId:n.splice(3).join("/"),alt:r},t.createElement(m,{width:a,height:o,quality:i,gravity:c,crop:l}),t.createElement(m,{fetchFormat:"auto"}))},Gt=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],d=u[1],p=o(),g=function(){p.current.paused?(p.current.play(),d((function(e){return f(f({},e),{playing:!0})}))):(p.current.pause(),d((function(e){return f(f({},e),{playing:!1})})))},h=function(){p.current.muted=!p.current.muted,d((function(e){return f(f({},e),{muted:p.current.muted})}))};return t.createElement("div",{className:"videoControl"},s&&t.createElement("div",{className:"videoControls",onClick:function(e){return e.stopPropagation()}},!m.playing&&t.createElement(dt,{color:"var(--main-color)",className:"control",onClick:g}),m.playing&&t.createElement(pt,{color:"var(--main-color)",className:"control",onClick:g}),m.muted&&t.createElement(ft,{color:"var(--main-color)",className:"control",onClick:h}),!m.muted&&t.createElement(gt,{color:"var(--main-color)",className:"control",onClick:h})),t.createElement(Ut,{autoPlay:n,src:c,onPlay:function(){r&&r(),d((function(e){return f(f({},e),{playing:!0})}))},onEnded:function(){l&&l()},videoRef:p,id:i}))},Ut=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=g(e,["src","settings","alt","id"]),u=o(null),m=a({width:0,height:0}),d=m[0],p=m[1],h=n.includes("/image/"),v=n.includes("/video/"),y=n.replace("https://res.cloudinary.com/","").split("/");i((function(){d.width!==u.current.offsetWidth&&d.height!==u.current.offsetHeight&&p({width:u.current.offsetWidth||0,height:u.current.offsetHeight||0})}));return t.createElement("div",{ref:u,className:"mediaWrapper"},h&&t.createElement(Qt,f({},s,{height:d.height?d.height:250,width:d.width?d.width:400,quality:"90",gravity:St(qe,(null==r?void 0:r.gravity_mode)||0),crop:St(Re,(null==r?void 0:r.crop_mode)||0),src:y,alt:c,id:l})),v&&t.createElement(Gt,f({},s,{height:d.height?d.height:250,width:d.width?d.width:400,quality:"90",gravity:St(qe,(null==r?void 0:r.gravity_mode)||0),crop:St(Re,(null==r?void 0:r.crop_mode)||0),id:l,src:n})))};p(".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}");p(".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}}");p('.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 Xt=function(){return t.createElement("div",{className:"lds-dual-ring"})},Jt=function(e){var n=e.isSummary,r=e.isLoading,a=e.isDisableNext,o=e.isDisablePrev,i=e.amount,c=e.currency,s=e.onPrev,u=e.onNext,m=e.count,d=e.isAddDisable,p=e.isRemoveDisable,f=e.onAdd,g=e.onRemove,h=e.onAddToCart,v=e.onChangeQuantity,y=_t("productConstructor");return t.createElement("div",{className:l("footerControls",{summary:n})},n?t.createElement(t.Fragment,null,t.createElement(qt,{count:m,isRemoveDisable:p||r,isAddDisable:d||r,onAdd:f,onRemove:g,onChangeQuantity:v}),t.createElement("div",{onClick:h,className:l("button major",{disable:r})},r?t.createElement(Xt,null):t.createElement(t.Fragment,null,t.createElement("div",{className:"addLabel"},t.createElement(ot,{color:"#fff",size:"small"}),y.addToCart),t.createElement("div",null,Ft(c,i))))):t.createElement(t.Fragment,null,t.createElement("div",{onClick:s,className:l("button",{disable:o||r})},y.back),t.createElement("div",{onClick:u,className:l("button major",{disable:a||r})},r?t.createElement(Xt,null):t.createElement(t.Fragment,null,y.next," ",Ft(c,i)))))};p(".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 Yt=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)};p(".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 $t,en=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"},"+",Ft(a,r)):t.createElement("span",{className:"suboptionPrice"})},tn={0:t.createElement(zt,{size:20,color:"var(--main-color)"}),1:t.createElement(Pt,{size:20,color:"var(--main-color)"}),2:t.createElement(jt,{size:20,color:"var(--main-color)"})},nn="#INGREDIENTS",rn="#HALF_SELECTOR",an="#HALF_SELECTOR_HALF";!function(e){e[e.none=0]="none",e[e.left=1]="left",e[e.right=2]="right"}($t||($t={}));var on=function(e,t){var n=[],r=e.filter((function(e){return e.half===$t.none||e.half===$t.left}));return t?r.forEach((function(e){n.push(f(f({},e),{half:$t.left})),n.push(f(f({},e),{half:$t.right}))})):r.forEach((function(e){n.push(f(f({},e),{half:$t.none}))})),n},cn=function(e,n,r,a,o,i){var c,l=[],s=0;if(null==o?void 0:o.unit_weight){var u=parseInt((o.unit_weight*o.weight_range*o.quantity).toString()),m="".concat(i.weightAdditionalPayment.replace("{payment}",Ft(o.currency,o.amountDiff))),d="";d=(null==o?void 0:o.weighed)?"".concat(i.weightProductAcceptable,", +/-").concat(u," ").concat(i.gr):"".concat(o.unit_weight," ").concat(i.gr),l.push({weightProduct:!0,name:o.weighed?i.portionSizeLabelWeighed:i.portionSizeLabel,index:null,value:d,tooltip:(null==o?void 0:o.weighed)?m:null})}if((null===(c=null==e?void 0:e.suboptions)||void 0===c?void 0:c.length)&&l.push({name:i.ingredients,value:un(e.suboptions),index:s++}),n.forEach((function(e){var n,r;l.push({name:e.name,value:(n=e.suboptions,r=n.filter((function(e){return e.quantity})),t.createElement("div",null,!!r.length&&r.map((function(e,n){return t.createElement("div",{key:"".concat(n,"-").concat(e.id),className:"summarySuboption"},t.createElement("span",null,e.name),(e.halfOption||0===e.halfOption)&&tn[e.halfOption])})),!r.length&&"-")),index:s++})})),r.length){var p=r.some((function(e){return e.half===$t.right}));l.push({name:i.toppings,value:p?i.half:i.full,index:s++})}return r.forEach((function(e){l.push({name:e.name,value:ln(e.suboptions),index:s++})})),a&&l.push({name:i.comments,value:a,index:s++}),l},ln=function(e){var t=e.reduce((function(e,t){return t.quantity&&(e+=t.name+" x"+t.quantity+"\n"),e}),"");return t||"-"},sn=function(e,t){return e.name+(e.half===$t.right?t.right:"")+(e.half===$t.left?t.left:"")},un=function(e){return e.reduce((function(e,t){return 1!==t.quantity&&void 0!==t.quantity||(e+=t.name+"\n"),e}),"")},mn=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){var n;return{id:t.id,name:t.name,price:t.price,quantity:t.quantity,half_option:null!==(n=t.halfOption)&&void 0!==n?n:e.half}}))}})).filter((function(e){return!!e.suboptions.length}))},dn=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)},pn=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||e.pizzaOption})).map((function(t){var n=e.product.options.find((function(e){return e.id===t.id}));return f(f({},t),{suboptions:t.suboptions.map((function(e){var t=null==n?void 0:n.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{halfOption:t?t.half_option:null,quantity:t?t.quantity:0})}))})})),r.optionsHalf=t.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).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===$t.none}))})),a=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===$t.left}))})),o=e.product.options.find((function(e){return e.id===t.id&&e.suboptions.every((function(e){return e.half_option===$t.right}))}));return n?f(f({},t),{half:$t.none,suboptions:t.suboptions.map((function(e){var t=n.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.none,quantity:t?t.quantity:0})}))}):r.isHalf||a&&o?(r.isHalf=!0,[f(f({},t),{half:$t.left,suboptions:t.suboptions.map((function(e){var t=a.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.left,quantity:t?t.quantity:0})}))}),f(f({},t),{half:$t.right,suboptions:t.suboptions.map((function(e){var t=o.suboptions.find((function(t){return t.id===e.id}));return f(f({},e),{half:$t.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(f(f({},t),{quantity:n?0:1}))})),r},fn=function(e,t){var n,r,a,o=null;if(!e.withHalfOption||e.pizzaOption)o=null===(n=null==t?void 0:t.product)||void 0===n?void 0:n.options.find((function(t){return t.id===e.id}));else{var i=(null==e?void 0:e.half)||$t.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}))}))}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=f(f(f({},n),e),{fullPrice:n.fullPrice||n.full_price});return r.quantity=e.quantity,r}return f({},e)})),e},gn=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}},hn=function(e,t,n,r){return 1===e&&1===t?"":e&&!t?"(min ".concat(e).concat(n?", "+n+" "+r:"",")"):!e&&t?"(max ".concat(t).concat(n?", "+n+" "+r:"",")"):e||t?e&&t?"(".concat(e,"-").concat(t).concat(n?", "+n+" "+r:"",")"):"":"(".concat(n," ").concat(r,")")},vn=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)}},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: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(en,{free:gn(c,e).free,amount:gn(c,e).amount,currency:a,freeLabel:i}),t.createElement(qt,{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)()}})))})))};p('.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 yn=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(en,{freeLabel:n,free:gn(i,e).free,amount:gn(i,e).amount,currency:o}));var r,c})))};p(".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 bn=function(e){var n=e.message;return t.createElement("div",{className:"warning"},t.createElement(yt,{size:"small",color:"var(--warning, #fe7171)"})," ",n)};p(".productCommentSection .inputName{display:inline-block;margin:20px 0 10px}.productCommentSection .inputName:first-child{margin:0 0 10px}.productCommentSection .labelInput{width:100%}");var xn=function(e){var n=e.name,r=e.comment,a=e.onCommentChange,o=e.onNameChange,i=_t("productConstructor");return t.createElement("div",{className:"productCommentSection"},t.createElement("span",{className:"inputName"},i.addName),t.createElement(Tt,{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(Tt,{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}))};p(".productSummary .line{color:#0e1328;display:grid;font-size:14px;gap:10px;grid-template-columns:1fr 1fr 100px;margin:0 0 7px}.productSummary .line:last-child{margin:0}.productSummary .line .weightButton{color:#747474}.productSummary .line .name.weightName{color:var(--main-color,#007aff);display:flex;gap:10px}.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}.productSummary .line .value .summarySuboption{display:flex;gap:5px;justify-content:space-between;margin-bottom:5px}.productSummary .line .value .summarySuboption .icon{flex-shrink:0}.productSummary .line .value.weighed{align-items:center;display:flex;gap:10px;grid-column:2/4;min-height:30px}");var wn=function(e){var n=e.summary,r=e.onClickChange,a=_t("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:l("name",{weightName:e.weightProduct})},e.name,e.weightProduct&&t.createElement(Ct,{size:16,color:"var(--main-color, #007aff)"})),t.createElement("div",{className:l("value",{weighed:e.weightProduct})},e.value,e.tooltip&&t.createElement(t.Fragment,null,t.createElement(Bt,{className:"importantWeight",size:20}),t.createElement(s,{className:"custom-class-tooltip",anchorSelect:".importantWeight"},e.tooltip))),!e.weightProduct&&t.createElement("div",{onClick:function(){return r(e.index)},className:"button"},a.change))})))};p(".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 En=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(en,{free:gn(o,e).free,amount:gn(o,e).amount,currency:a,freeLabel:i}));var n,c})))};p(".suboptionPizzaSelector{width:100%}.suboptionPizzaSelector .pizzaOption{align-items:baseline;display:flex;justify-content:space-between;margin-bottom:10px}.suboptionPizzaSelector .pizzaOption .halfOptions{align-items:center;display:flex;gap:10px}.suboptionPizzaSelector .pizzaOption .pizzaOptionName{align-items:flex-start;display:flex;flex-direction:column}.suboptionPizzaSelector .pizzaOption .pizzaOptionDescription{color:#747474}");var Nn=function(e){var n=e.currency,r=e.suboptions,a=e.onChangeOption,o=function(e,t){var n=e===t.halfOption?0:1;a(t.id,n,f(f({},t),{halfOption:e===t.halfOption?null:e}))};return t.createElement("div",{className:"suboptionPizzaSelector"},r.map((function(e){return t.createElement("div",{key:e.id,className:"pizzaOption"},t.createElement("div",{className:"pizzaOptionName"},t.createElement("span",null,e.name),!!e.description&&t.createElement("div",{className:"pizzaOptionDescription",dangerouslySetInnerHTML:{__html:e.description}})),t.createElement("div",{className:"halfOptions"},!!e.price&&t.createElement("span",null,e.price," ",Ft(n)),t.createElement(zt,{onClick:function(){return o($t.none,e)},color:e.quantity&&e.halfOption===$t.none?"var(--main-color)":"#747474"}),t.createElement(jt,{onClick:function(){return o($t.right,e)},color:e.quantity&&e.halfOption===$t.right?"var(--main-color)":"#747474"}),t.createElement(Pt,{onClick:function(){return o($t.left,e)},color:e.quantity&&e.halfOption===$t.left?"var(--main-color)":"#747474"})))})))},kn=function(e){var n=e.name,r=e.media,c=e.currency,l=e.price,s=e.oldPrice,u=e.description,m=e.totalPrice,d=e.allowComments,p=e.options,g=e.optionsHalf,v=e.max,y=e.unit_weight,b=e.weight_range,x=e.amountDiff,w=e.weighed,E=e.quantity,N=e.ingredients,k=e.nameOnBox,C=e.comments,B=e.isLoading,O=e.isHalf,P=e.summaryOpen,j=e.onChangeIngredients,z=e.onChangeOption,S=e.onChangeOptionHalf,F=e.onChangeNameOnBox,M=e.onChangeComment,I=e.onAdd,L=e.onRemove,_=e.onAddToCart,H=e.onChangeIsHalf,T=e.disableAutoScroll,D=e.updateOptionOfActualData,A=e.onChangeQuantity,R=_t("errorConstructor"),q=_t("productConstructor"),Z=a(null),V=Z[0],W=Z[1],Q=a([]),G=Q[0],U=Q[1],K=a(0),X=K[0],J=K[1],Y=a(!0),$=Y[0],ee=Y[1],te=o(),ne=o(),re=function(e){J(e),ae()},ae=function(){T||setTimeout((function(){(null==te?void 0:te.current.scrollTop)<=20&&te.current.scrollTo({top:((null==ne?void 0:ne.current.clientHeight)||0)/2,behavior:"smooth"})}),200)};i((function(){var e=h(h([],p,!0),g,!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,pizzaOption:!1,freeBudget:0,enabled:!0,max:1,min:1,id:rn,respectTo:null,limitSuboptionsByMax:!0,withHalfOption:!1,half:$t.none,allowSuboptionQuantity:!1,suboptions:[{name:r.full,halfOption:$t.none,enabled:!0,max:1,id:"#HALF_SELECTOR_FULL",quantity:Number(!n)},{name:r.half,halfOption:$t.none,enabled:!0,max:1,id:an,quantity:Number(n)}]};a.push(i)}return[].concat(a).concat(o)}(p.filter((function(t){return dn(t,e)})),g.filter((function(t){return dn(t,e)})),O,q);if(U(t),N.length&&W(function(e,t){return{id:nn,freeBudget:0,min:0,respectTo:null,half:$t.none,pizzaOption:!1,enabled:!0,withHalfOption:!1,limitSuboptionsByMax:!1,allowSuboptionQuantity:!1,max:e.length,name:t.ingredients,suboptions:e.map((function(e){var t;return f(f({},e),{quantity:null!==(t=e.quantity)&&void 0!==t?t:1})}))}}(N,q)),$&&P){var n=0;t.length&&(n+=t.length),N.length&&(n+=1),d&&(n+=1),J(n)}ee(!1)}),[N,p,g,O]);var oe=function(){var e=ce()[X];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,R)},ie=function(e){var n=D(e),r=1===n.max&&1===n.min,a=n.max>1&&n.allowSuboptionQuantity,o=function(e,t,r){!function(e){return e===rn}(n.id)?n.withHalfOption&&!n.pizzaOption?S(n.id,e,n.half,t):z(n.id,e,t,r):H(function(e){return e===an}(e))},i=e.suboptions.reduce((function(e,t){return e+(t.quantity||0)}),0);return e.pizzaOption&&e.withHalfOption?t.createElement(Nn,{key:n.id,currency:c,onChangeOption:o,suboptions:n.suboptions}):r?t.createElement(yn,{key:n.id,currency:c,ingredients:n.suboptions,onSelect:o,freeBudget:e.freeBudget,freeLabel:q.free}):a?t.createElement(vn,{key:n.id,currency:c,suboptions:n.suboptions,onChangeQuantity:o,limitByMax:n.limitSuboptionsByMax,freeBudget:e.freeBudget,freeLabel:q.free}):t.createElement(En,{key:n.id,currency:c,suboptions:n.suboptions,onSelect:o,freeBudget:e.freeBudget,totalQuantity:i,freeLabel:q.free})},ce=function(){var e=[];return V&&e.push({name:q.ingredients,component:t.createElement(Wt,{ingredients:V.suboptions,onSelect:j})}),e.push.apply(e,G.filter((function(e){return dn(e,G)})).map((function(e){return f(f({},e),{name:"".concat(sn(e,q)," ").concat(hn(e.min,e.max,e.freeBudget,q.free)),component:ie(e)})}))),d&&e.push({name:q.comments,component:t.createElement(xn,{name:k,comment:C,onNameChange:F,onCommentChange:M})}),e.push({name:q.summary,component:t.createElement(wn,{summary:cn(V,G.filter((function(e){return!e.withHalfOption||e.pizzaOption})).filter((function(e){return e.id!=rn})),G.filter((function(e){return e.withHalfOption&&!e.pizzaOption})).filter((function(e){return e.id!=rn})),d?"".concat(C||"-"," | ").concat(k||"-"):null,{weighed:w,unit_weight:y,quantity:E,weight_range:b,currency:c,amountDiff:x},q),onClickChange:function(e){return J(e)}})}),e};return t.createElement("div",{className:"productConstructor",ref:te},t.createElement("div",{className:"content"},!!r&&t.createElement("div",{ref:ne},t.createElement(Kt,f({},r))),t.createElement("div",{className:"headProduct"},t.createElement("div",{className:"name"},n),t.createElement("div",{className:"priceControl"},!!s&&t.createElement("div",{className:"oldPrice"},Ft(c,s)),!!l&&t.createElement("div",{className:"price"},Ft(c,l)))),t.createElement("div",{className:"description"},u)),oe()&&t.createElement(bn,{message:oe().toString()}),!!ce().length&&t.createElement(Yt,{steps:ce(),currentStep:X}),t.createElement(Jt,{isLoading:B,isSummary:X===ce().length-1,isDisableNext:!!oe(),isDisablePrev:0===X,currency:c,onPrev:function(){return re(X-1)},onNext:function(){return re(X+1)},onAddToCart:_,amount:m,count:E,onRemove:L,onAdd:I,isAddDisable:!!v&&E===v,isRemoveDisable:0===E,onChangeQuantity:function(e){A(e<=0?0:e)}}))};p(".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:500;margin:0 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.productPreview .productReviewBody .title .weightBlock{color:var(--main-color,#007aff);margin:0 10px}.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}}");p(".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}");p(".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 Cn=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)},Bn=function(e){var n=e.vegan,r=e.vegetarian,a=e.isNew,o=e.spicy,i=e.glutenFree,c=_t("tag"),l=function(){return a?t.createElement(Cn,{label:"new",className:"additionItem",icon:t.createElement($e,null)}):null},s=function(){return n?t.createElement(Cn,{label:c.vegan,className:"additionVegan",icon:t.createElement(t.Fragment,null,t.createElement(tt,null),t.createElement(tt,null))}):r?t.createElement(Cn,{label:c.vegetarian,className:"additionVegetarian",icon:t.createElement(tt,null)}):null},u=function(){return o?t.createElement(Cn,{label:c.spicy,className:"additionSpicy",icon:t.createElement(t.Fragment,null,Array(o).fill(0).map((function(e,n){return t.createElement(nt,{key:n})})))}):null},m=function(){return i?t.createElement(Cn,{label:c.glutenFree,className:"additionNoGluten",icon:t.createElement(rt,null)}):null};return l()||s()||u()||m()?t.createElement("div",{className:"productTags"},l(),s(),u(),m()):null},On=function(e){var n=e.id,r=e.currency,a=e.name,o=e.description,i=e.price,c=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,h=e.isNew,v=e.spicy,y=e.glutenFree,b=e.quantity,x=e.weight,w=_t("productConstructor");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,x>0&&t.createElement("span",{className:"weightBlock"},t.createElement(Ct,{size:16,color:"var(--main-color, #007aff)"})," ",x," ",t.createElement("span",null,w.gr))),m&&t.createElement(Ye,{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(Bn,{isNew:h,spicy:v,vegan:g,glutenFree:y,vegetarian:f})),t.createElement("div",{className:"priceBlock"},!!c&&t.createElement("div",{className:l("oldPrice",{lineThrough:!b})},Ft(r,c)),!!b&&t.createElement("span",{className:"quantity"}," x",b," "),!!i&&t.createElement("div",{className:l("currentPrice",{newPrice:!!c&&!b})},Ft(r,i))))))};p(".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 Pn=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(On,f({key:n.id},n,{onClick:function(t){return r(e.id,t)}}))})))})))};p(".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}");p(".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 jn=function(e){var n=e.score,r=e.isNew,a=e.kosher;return t.createElement("div",{className:"restaurantTags"},!!r&&t.createElement(Cn,{label:"new",className:"restaurantTagNew"}),!!n&&n>0&&t.createElement(Cn,{label:n.toFixed(1),className:"restaurantTagScore",icon:t.createElement($e,null)}),!!a&&t.createElement(Cn,{label:"kosher",className:"restaurantTagKosher"}))};p(".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 zn=function(e){var n=e.currency,r=e.amount,a=e.onClick;return t.createElement("div",{className:"headerCartButton",onClick:a},t.createElement(ot,{className:"icon"}),t.createElement("span",{className:"label"},"Checkout"),t.createElement("span",{className:"price"},Ft(n,r)))};p(".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 Sn=function(e){var n=e.dontHide,r=e.minimum,o=e.isPickUp,c=e.withTitle,s=e.estimationRangeMax,u=e.estimationRangeMin,m=e.estimationTime,p=e.distance,f=e.deliveryPrice,g=e.currency,h=e.deliveryToLocation,v=a([]),y=v[0],b=v[1];return i((function(){var e=[];r&&e.push(t.createElement("div",{className:l("footer-item mini-order")},t.createElement(ot,null),c&&t.createElement("span",{className:l("title")},"Min order"),Ft(g,r))),p&&!o&&e.push(t.createElement("span",{className:l("footer-item")},t.createElement(st,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(ct,null):t.createElement(ut,null),c&&t.createElement("div",{className:l("title")},o?"Pickup time":"Delivery time"),u,"-",s," min")),!o&&h&&e.push(t.createElement("div",{className:l("footer-item delivery-price")},t.createElement(it,null),c&&t.createElement("span",{className:l("title")},"deliveryPrice"),f?Ft(g,f):t.createElement("div",{className:"freeDelivery"},"deliveryPriceFree ",t.createElement(mt,null)," "))),0===s&&0===u&&m&&e.push(t.createElement("div",{className:l("time footer-item")},o?t.createElement(ut,null):t.createElement(ct,null),"up_to ",m,"  min")),b(e)}),[r,o,s,u,m,p,f,g,h]),t.createElement(d,{className:"footer benefitsData",minVisibleItems:n?y.length:2,collapseFrom:"end",itemRenderer:function(e){return e},overflowRenderer:function(){return null},items:y})},Fn=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($e,null):t.createElement(et,null)),(!!c||l)&&t.createElement(jn,{isNew:a,kosher:o,score:i})),t.createElement("div",{className:"topRight"},!!c&&!l&&t.createElement(zn,{onClick:d,amount:c,currency:s}))),t.createElement("div",{className:"restaurantHeaderBottom"},!l&&!c&&t.createElement(jn,{isNew:a,kosher:o,score:i}),t.createElement("div",{className:"benefits"},t.createElement(Sn,{deliveryToLocation:1,currency:s,minimum:10})),!!c&&l&&t.createElement("div",{className:"bottomRight"},t.createElement(Tt,{className:"input",placeholder:"Search in menu...",icon:t.createElement(at,null),value:u,onChange:m}),t.createElement(zn,{onClick:d,amount:c,currency:s}))))};p(".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 Mn=function(e){var n=e.isGift,r=e.onChange,a=e.name,o=e.phone,i=e.greeting,c=e.isReadonly,s=e.onToggleGift,u=_t("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:l("giftControlButton",{selected:n}),onClick:function(){return!c&&s()}},t.createElement(bt,{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(Tt,{readOnly:c,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(Tt,{readOnly:c,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:c,value:i,onChange:function(e){var t=e.target;return m("greeting",t.value)},placeholder:u.greetingPlaceholder}))))};p(".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 .productTop{display:flex;gap:10px}.summaryBlock .products .product .productTop{align-items:center}.summaryBlock .products .product .productTop .price{margin:0 0 0 auto}.summaryBlock .products .product .productTop .mediaWrapper{border-radius:5px;flex-shrink:0;width:55px}.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-color:#747474;border-radius:100px;flex-shrink:0;height:26px;width:100px}.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 In=function(e){var n=_t("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){var a;return t.createElement("div",{className:"product",key:"".concat(n.id,"-summaryEdit"),onClick:function(){return e.onClickProduct(r)}},t.createElement("div",{className:"productTop"},(null===(a=null==n?void 0:n.image)||void 0===a?void 0:a.src)&&t.createElement(Kt,{src:n.image.src,alt:n.image.alt,settings:n.image.settings}),t.createElement("div",{className:"productName"},n.name),t.createElement("div",{className:"price"},t.createElement("span",{className:"finalPrice"},n.full_price," ",Ft(e.currency)),t.createElement(kt,{color:"var(--main-color)",size:"small"}))),t.createElement("div",{className:"productBottom",onClick:function(e){return e.stopPropagation()}},t.createElement("div",{className:"productDescription"},n.description),t.createElement(qt,{count:n.quantity,isAddDisable:n.max>=n.quantity,isRemoveDisable:n.quantity>=n.min,onAdd:function(){return e.onChangeQuantity(n.quantity+1,n,r)},onRemove:function(){return e.onChangeQuantity(n.quantity-1,n,r)},onChangeQuantity:function(t){return e.onChangeQuantity(t,n,r)}})))}))),t.createElement(At,f({},e)))};p(".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 Ln=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{Ht as BagesPaymentsOrderSummary,Dt as Checkbox,Rt as CheckoutFormItem,qt as CounterButton,Zt as CutleryButton,Vt as DeliveryControl,Mn as GiftControl,$t as HALF_OPTION,nn as INGREDIENTS,it as IconBicycle,ot as IconCart,ct as IconClockAfternoon,lt as IconClose,Nt as IconCutlery,Ot as IconDinein,Et as IconDone,kt as IconEditPen,bt as IconGift,Bt as IconImportant,Pt as IconLeftOption,st as IconMapPin,vt as IconMinus,wt as IconMoto,ft as IconMute,rt as IconNoGluten,pt as IconPause,xt as IconPercent,ut as IconPersonSimpleWalk,dt as IconPlay,ht as IconPlus,jt as IconRightOption,at as IconSearch,mt as IconSparkle,nt as IconSpicy,$e as IconStar,et as IconStarBorder,Ye as IconTrash,gt as IconUnmute,tt as IconVegan,yt as IconWarning,Ct as IconWeighted,zt as IconWholeOption,Wt as IngredientsSelector,Tt as Input,Kt as Media,At as OrderSummary,In as OrderSummaryWithProducts,kn as ProductConstructor,On as ProductPreview,Pn as ProductPreviewList,Bn as ProductTags,Fn as RestaurantHeader,Yt as Stepper,vn as SuboptionMultiSelector,yn as SuboptionRadioSelector,Ln as TabsControl,Lt as TranslationUIProvider,bn as Warning,dn as checkRespectTo,mn as convertToServerModelOptions,fn as mergeOption,pn as mergeProduct,on as prepareHalfOptions};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "delivapp-ordering",
3
- "version": "0.0.75",
3
+ "version": "0.0.76",
4
4
  "description": "",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/cjs/index.js",