{"id":20010,"date":"2024-05-27T18:22:46","date_gmt":"2024-05-27T15:22:46","guid":{"rendered":"https:\/\/booking.moise.group\/?page_id=20010"},"modified":"2026-11-17T01:51:05","modified_gmt":"2026-11-16T23:51:05","slug":"mese-de-sabat","status":"publish","type":"page","link":"https:\/\/booking.moise.group\/ro\/mese-de-sabat\/","title":{"rendered":"Mese de \u0218abat"},"content":{"rendered":"<div class=\"product\"><div class=\"product\">\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"20010\" class=\"elementor elementor-20010 elementor-4560\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f1985d3 e-con-full e-flex e-con e-parent\" data-id=\"f1985d3\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-a61fadc e-con-full e-flex e-con e-child\" data-id=\"a61fadc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-1743823 e-con-full e-flex e-con e-child\" data-id=\"1743823\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-87b3d56 elementor-widget elementor-widget-heading\" data-id=\"87b3d56\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Orele de \u0218abat<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f12a60a elementor-widget-mobile__width-initial elementor-widget elementor-widget-heading\" data-id=\"f12a60a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Shabbat (20\/11 - 21\/11\/2026) Parashat Vayetze <\/h2>\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fbbea4c e-con-full e-flex e-con e-child\" data-id=\"fbbea4c\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-c29bfa6 e-con-full e-flex e-con e-child\" data-id=\"c29bfa6\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-26f3a8f elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"26f3a8f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"42\" height=\"49\" viewBox=\"0 0 42 49\" fill=\"none\"><path d=\"M19.7074 19.5999C20.9497 19.5995 22.1463 20.0664 23.0573 20.907C23.9683 21.7475 24.5263 22.8997 24.6195 24.1324L24.6318 24.4999V44.1001C24.6322 45.3364 24.163 46.527 23.3182 47.4335C22.4734 48.34 21.3156 48.8952 20.0767 48.9879L19.7074 49.0002H4.93417C3.6918 49.0006 2.49519 48.5337 1.58422 47.6931C0.673257 46.8525 0.115255 45.7004 0.0220772 44.4676L0.00976587 44.1001V24.4999C0.00937271 23.2637 0.478585 22.073 1.32334 21.1666C2.1681 20.2601 3.32597 19.7048 4.56484 19.6121L4.93417 19.5999H19.7074ZM36.9428 26.95C38.1851 26.9496 39.3817 27.4165 40.2927 28.257C41.2037 29.0976 41.7617 30.2498 41.8549 31.4825L41.8672 31.85V44.1001C41.8676 45.3364 41.3984 46.527 40.5536 47.4335C39.7088 48.34 38.551 48.8952 37.3121 48.9879L36.9428 49.0002H28.2389C28.9897 47.705 29.4327 46.2559 29.534 44.7641L29.5562 44.1001V26.95H36.9428ZM31.1911 10.0203C32.7053 10.7112 34.0989 11.9484 35.1134 13.3499C36.1229 14.7464 36.9428 16.5643 36.9428 18.5121C36.9428 22.3513 33.5277 24.4999 30.6075 24.4999C28.3054 24.4999 26.2839 22.9074 25.3237 21.0699C24.7568 20.0064 24.5316 18.7955 24.6786 17.6007C24.8484 16.2948 25.4738 15.0747 26.5203 14.0481C26.9906 13.5826 27.2294 13.2886 27.382 13.0191C27.5199 12.7815 27.648 12.4605 27.7317 11.897C27.7866 11.5205 27.9289 11.1619 28.1473 10.8496C28.3656 10.5373 28.6541 10.28 28.9897 10.0978C29.3254 9.91574 29.6991 9.81392 30.0812 9.80046C30.4633 9.78699 30.8433 9.86226 31.1911 10.0203ZM12.4636 0.195679C14.3176 0.987037 16.0781 2.43745 17.3781 4.12062C18.6683 5.79399 19.7074 7.96471 19.7074 10.2751C19.7074 14.7831 15.4847 17.1499 12.0819 17.1499C9.46462 17.1499 7.00734 15.425 5.79594 13.2519C5.09338 12.0227 4.81165 10.5995 4.99326 9.19707C5.20255 7.67316 5.9806 6.25949 7.26341 5.07613C7.91589 4.47587 8.28276 4.06182 8.52898 3.65756C8.7555 3.28761 8.94263 2.82456 9.06082 2.0724C9.11865 1.70346 9.26048 1.35256 9.47544 1.0465C9.69041 0.740444 9.97284 0.487328 10.3012 0.306492C10.6295 0.125655 10.995 0.0218821 11.3698 0.00310122C11.7445 -0.0156796 12.1187 0.0510287 12.4636 0.198129\" fill=\"#030F22\"><\/path><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-2296a30 e-con-full e-flex e-con e-child\" data-id=\"2296a30\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-13bbb2c elementor-widget elementor-widget-text-editor\" data-id=\"13bbb2c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Intrare<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bad5cbf elementor-widget elementor-widget-heading\" data-id=\"bad5cbf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">16:25\n<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-03540d0 e-con-full e-flex e-con e-child\" data-id=\"03540d0\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t<div class=\"elementor-element elementor-element-37ae90a e-con-full e-flex e-con e-child\" data-id=\"37ae90a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-9f82cec elementor-widget elementor-widget-text-editor\" data-id=\"9f82cec\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p>Ie\u0219ire<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f4e69a5 elementor-widget elementor-widget-heading\" data-id=\"f4e69a5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">17:30<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-434b9e3 elementor-view-default elementor-widget elementor-widget-icon\" data-id=\"434b9e3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"icon.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-icon-wrapper\">\n\t\t\t<div class=\"elementor-icon\">\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"24\" height=\"28\" viewBox=\"0 0 24 28\" fill=\"none\"><path d=\"M16.0697 6.79331L19.3969 4.17323L15.2018 4.05168L13.8078 0L12.4138 4.05168L8.21875 4.17323L11.5459 6.79331L10.3492 10.926L13.8078 8.48151L17.2665 10.926L16.0697 6.79331Z\" fill=\"#FDB649\"><\/path><path d=\"M21.8418 15.1938L23.9985 13.5056L21.2895 13.438L20.3821 10.8044L19.4747 13.438L16.7656 13.5056L18.9223 15.1938L18.1465 17.8679L20.3821 16.2877L22.6177 17.8679L21.8418 15.1938Z\" fill=\"#FDB649\"><\/path><path d=\"M5.26029 6.75433C5.26029 14.9657 11.7305 21.6105 19.7261 21.6105C20.4231 21.6105 21.1069 21.5565 21.7776 21.4619C19.6603 24.7978 16.0044 27.0127 11.8357 27.0127C5.29975 27.0127 0 21.57 0 14.8577C0 10.5764 2.15672 6.82186 5.40495 4.64746C5.3129 5.33625 5.26029 6.03854 5.26029 6.75433Z\" fill=\"#FDB649\"><\/path><\/svg>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0438cbb elementor-widget elementor-widget-shortcode\" data-id=\"0438cbb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div id=\"usb-root\" class=\"usb\" dir=\"ltr\" lang=\"en\" data-cfg=\"{&quot;lang&quot;:&quot;en&quot;,&quot;ajax&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/wp-admin\\\/admin-ajax.php&quot;,&quot;rest&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/ro\\\/wp-json\\\/usb\\\/v1\\\/catalog&quot;,&quot;tables&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/ro\\\/wp-json\\\/mto\\\/v1\\\/shabbat\\\/tables&quot;,&quot;dates&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/wp-admin\\\/admin-ajax.php?lang=en&quot;,&quot;policy&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/cancellation-policy\\\/&quot;,&quot;rn&quot;:&quot;&quot;,&quot;floor&quot;:&quot;https:\\\/\\\/booking.moise.group\\\/wp-content\\\/plugins\\\/moise-table-ordering\\\/assets\\\/floor-view.js?v=0.33.20&quot;}\"><p class=\"usb-loading\">Loading\u2026<\/p><\/div><style class=\"wpcode-css-snippet\">\/* UX \u2013 Shabbat booking (CSS). 15.11.2026. Light card on the site's navy page, brand navy #030F22 and gold #FBD649, big touch targets. *\/\r\n.usb{--n:#030F22;--g:#FBD649;--t:#14213d;--m:#5b6475;--l:#e6e8ee;--bg:#ffffff;--soft:#f6f4ec;width:100%;max-width:760px;margin:16px auto 32px;padding:4px 14px 16px;background:var(--soft);border-radius:22px;font-size:17px;line-height:1.5;color:var(--t)}\r\n.usb *{box-sizing:border-box}\r\n.usb .usb-head{text-align:center;padding:18px 0 8px}\r\n.usb .usb-title{font-size:30px;line-height:1.2;margin:0 0 12px;color:var(--n)}\r\n.usb .usb-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;overflow-x:auto;scrollbar-width:none}\r\n.usb .usb-steps::-webkit-scrollbar{display:none}\r\n.usb .usb-st{flex:1 0 auto}\r\n.usb .usb-stb{width:100%;min-height:40px;border:1px solid var(--l);background:#fff;color:var(--m);border-radius:999px;padding:6px 12px;font:inherit;font-size:14px;white-space:nowrap;cursor:default}\r\n.usb .usb-st.done .usb-stb{color:var(--n);border-color:var(--n);cursor:pointer}\r\n.usb .usb-st.on .usb-stb{background:var(--g);color:var(--n);border-color:var(--g);font-weight:700}\r\n.usb .usb-card{background:var(--bg);border-radius:18px;padding:20px 18px 22px;margin-top:12px;box-shadow:0 2px 10px rgba(3,15,34,.08)}\r\n.usb h2{font-size:23px;margin:0 0 14px;color:var(--n)}\r\n.usb .usb-h3{font-size:20px;margin:22px 0 4px;color:var(--n)}\r\n.usb h4{margin:12px 0 6px;font-size:16px;color:var(--n)}\r\n.usb .usb-btn{min-height:52px;padding:12px 20px;border-radius:14px;border:2px solid var(--n);background:#fff;color:var(--n);font:inherit;font-weight:700;cursor:pointer}\r\n.usb .usb-btn:disabled{opacity:.45;cursor:not-allowed}\r\n.usb .usb-main{background:var(--g);border-color:var(--g);color:var(--n)}\r\n.usb .usb-btn:focus-visible,.usb .usb-q:focus-visible,.usb .usb-branch:focus-visible{outline:3px solid #2f6fed;outline-offset:2px}\r\n.usb .usb-branches{display:grid;gap:12px}\r\n.usb .usb-branch{display:flex;flex-direction:column;gap:4px;text-align:start;width:100%;min-height:92px;padding:16px 18px;border-radius:16px;border:2px solid var(--l);background:var(--soft);color:var(--t);font:inherit;cursor:pointer}\r\n.usb .usb-branch strong{font-size:22px;color:var(--n)}\r\n.usb .usb-branch span{color:var(--m);font-size:15px}\r\n.usb .usb-branch.on{border-color:var(--g);background:#fffbe6}\r\n.usb .usb-field{display:block;margin:0 0 14px}\r\n.usb .usb-field>span{display:block;font-weight:700;margin-bottom:6px}\r\n.usb .usb-select,.usb .usb-ta{width:100%;min-height:52px;border:2px solid var(--l);border-radius:12px;padding:10px 12px;font:inherit;background:#fff;color:var(--t)}\r\n.usb .usb-ta{min-height:70px}\r\n.usb .usb-meals{display:grid;gap:10px;margin-bottom:10px}\r\n.usb .usb-meal{border:2px solid var(--l);border-radius:14px;padding:12px;background:#fff}\r\n.usb .usb-meal.on{border-color:var(--g);background:#fffdf3}\r\n.usb .usb-meal-top{display:flex;gap:10px;align-items:flex-start;cursor:pointer}\r\n.usb .usb-meal-top input{width:24px;height:24px;margin-top:4px;flex:0 0 auto;accent-color:var(--n)}\r\n.usb .usb-meal-name{flex:1;display:flex;flex-direction:column}\r\n.usb .usb-meal-name small,.usb .usb-meal-price small{color:var(--m);font-size:14px}\r\n.usb .usb-meal-price{display:flex;flex-direction:column;text-align:end;white-space:nowrap}\r\n.usb .usb-menu{margin-top:8px;border-top:1px dashed var(--l);padding-top:6px}\r\n.usb .usb-menu summary,.usb .usb-group summary{cursor:pointer;font-weight:700;color:var(--n);min-height:44px;display:flex;align-items:center}\r\n.usb .usb-mt{width:100%;border-collapse:collapse;font-size:15px;margin:4px 0}\r\n.usb .usb-mt th,.usb .usb-mt td{border-bottom:1px solid var(--l);padding:6px 4px;text-align:start}\r\n.usb .usb-mt th:not(:first-child),.usb .usb-mt td:not(:first-child){text-align:center;white-space:nowrap}\r\n.usb .usb-drinks-note{background:var(--n);color:#fff;border-inline-start:6px solid var(--g);border-radius:10px;padding:12px 14px;font-weight:700;margin:12px 0}\r\n.usb .usb-small{color:var(--m);font-size:14px;margin:6px 0}\r\n.usb .usb-guests{display:grid;gap:8px;margin:14px 0}\r\n.usb .usb-stepper,.usb .usb-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 4px;border-bottom:1px solid var(--l)}\r\n.usb .usb-stl,.usb .usb-iname{display:flex;flex-direction:column}\r\n.usb .usb-stl small,.usb .usb-iname small{color:var(--m);font-size:14px}\r\n.usb .usb-stc{display:flex;align-items:center;gap:6px;flex:0 0 auto}\r\n.usb .usb-q{width:46px;height:46px;border-radius:50%;border:2px solid var(--n);background:#fff;color:var(--n);font-size:24px;line-height:1;cursor:pointer}\r\n.usb .usb-q:disabled{opacity:.35;cursor:not-allowed}\r\n.usb .usb-qv{min-width:28px;text-align:center;font-weight:700;font-size:19px}\r\n.usb .usb-item.out{opacity:.55}\r\n.usb .usb-sub{display:flex;justify-content:space-between;font-size:19px;padding-top:10px}\r\n.usb .usb-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}\r\n.usb .usb-tab{min-height:46px;padding:8px 14px;border-radius:999px;border:2px solid var(--n);background:#fff;color:var(--n);font:inherit;font-weight:700;cursor:pointer}\r\n.usb .usb-tab.on{background:var(--n);color:#fff}\r\n.usb .usb-group{border:1px solid var(--l);border-radius:12px;padding:4px 12px;margin:8px 0}\r\n.usb .usb-bar{position:sticky;bottom:0;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:12px 14px;background:var(--n);border:1px solid rgba(251,214,73,.4);border-radius:16px;color:#fff}\r\n.usb .usb-bar-sum{display:flex;flex-direction:column}\r\n.usb .usb-bar-sum strong{font-size:22px;color:var(--g)}\r\n.usb .usb-bar .usb-main{min-width:46%}\r\n.usb .usb-map{background:var(--n);border-radius:12px;padding:8px;overflow-x:auto}\r\n.usb .usb-map .mto-map{width:100%;height:auto;display:block;max-height:70vh}\r\n.usb .usb-map .tbl.pick{cursor:pointer}\r\n.usb .usb-map .tbl.small,.usb .usb-map .tbl.taken{cursor:not-allowed;opacity:.5}\r\n.usb .usb-mapst{font-weight:700;margin:8px 0}\r\n.usb .usb-auto{width:100%;margin-top:10px}\r\n.usb .usb-auto.on{border-color:var(--g)}\r\n.usb .usb-sum{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0 0 12px}\r\n.usb .usb-sum dt{color:var(--m)}\r\n.usb .usb-sum dd{margin:0;font-weight:700}\r\n.usb .usb-lines{width:100%;border-collapse:collapse;margin:8px 0 12px;font-size:16px}\r\n.usb .usb-lines td{padding:7px 2px;border-bottom:1px solid var(--l);vertical-align:top}\r\n.usb .usb-lines td:last-child{text-align:end;white-space:nowrap}\r\n.usb .usb-lines .usb-lh td{font-weight:700;color:var(--n);padding-top:12px}\r\n.usb .usb-lines .usb-total td{font-size:20px;font-weight:800;border-bottom:0;color:var(--n)}\r\n.usb .usb-policy{background:var(--soft);border-radius:12px;padding:10px 14px;font-size:15px;margin:12px 0}\r\n.usb .usb-policy p{margin:4px 0}\r\n.usb .usb-err{color:#b3261e;font-weight:700;margin:8px 0}\r\n.usb .usb-notice{background:#fff4d6;color:var(--n);border-radius:12px;padding:10px 14px;margin:10px 0 0;font-weight:700}\r\n.usb .usb-wait,.usb .usb-loading{color:var(--m);padding:20px 0;text-align:center}\r\n.usb .usb-pay{width:100%;margin-top:4px}\r\n@media (max-width:480px){.usb{padding:0 8px;font-size:16px}.usb .usb-title{font-size:26px}.usb .usb-card{padding:16px 12px 18px}.usb .usb-meal-top{flex-wrap:wrap}.usb .usb-meal-price{width:100%;text-align:start;flex-direction:row;gap:8px;flex-wrap:wrap}}\r\n.usb .usb-count{font-weight:700;border-radius:10px;padding:8px 12px;margin:6px 0}\r\n.usb .usb-count.low{background:#fff4d6;color:var(--n)}\r\n.usb .usb-count.ok{background:#e9f7ee;color:#1e6b3a}\r\n.usb .usb-tip{background:#fff;border:2px solid var(--g);border-radius:14px;padding:12px 14px;margin:12px 0}\r\n.usb .usb-tip small{display:block;color:var(--m);margin-top:4px}\r\n.usb .usb-drinks-note .usb-btn{margin-top:8px}\r\n\r\n\/* mobile: theme button styles must not push the cards wider than the screen *\/\r\n.usb button{max-width:100%;white-space:normal;margin:0;letter-spacing:normal;text-transform:none}\r\n.usb .usb-branch,.usb .usb-branch span,.usb .usb-branch strong{white-space:normal;overflow-wrap:anywhere}\r\n.usb .usb-card,.usb .usb-branches{min-width:0;overflow:hidden}\r\n.usb .usb-stb{white-space:nowrap}\r\n.elementor-widget-shortcode:has(#usb-root){width:100%;max-width:100%}\r\n<\/style><script>\/* UX \u2013 Shabbat booking (JS). 15.11.2026. Branch \u2192 Shabbat, meals, guests \u2192 seat \u2192 drinks & extras \u2192 summary \u2192 checkout.\r\n   Works with \"UX \u2013 Shabbat booking (PHP)\". Prices, availability and dates always come from the site (never typed here). *\/\r\n(function () {\r\n\t'use strict';\r\n\tvar root = document.getElementById('usb-root');\r\n\tif (!root) return;\r\n\tvar C = {};\r\n\ttry { C = JSON.parse(root.getAttribute('data-cfg') || '{}'); } catch (e) {}\r\n\tvar HE = C.lang === 'he';\r\n\t\/\/ 17.11.2026 \u2013 Romanian UI on \/ro\/ pages (data and booking stay on the English flow; only the visible texts change)\r\n\tvar RO = !HE && \/^ro\/i.test(document.documentElement.lang || '');\r\n\tvar ROM = {\r\n\t\t'Friday night dinner': 'Cina de vineri seara',\r\n\t\t'Shabbat lunch': 'Pr\u00e2nzul de \u0218abat',\r\n\t\t'13:30 (confirmed every week)': '13:30 (confirmat \u00een fiecare s\u0103pt\u0103m\u00e2n\u0103)',\r\n\t\t'Three Shabbat meals package': 'Pachetul de trei mese de \u0218abat',\r\n\t\t'Friday night': 'Vineri seara',\r\n\t\t'Seudah Shlishit': 'Seudah Shlishit (a treia mas\u0103)',\r\n\t\t'Friday night menu': 'Meniul de vineri seara',\r\n\t\t'Shabbat lunch \u2013 buffet': 'Pr\u00e2nzul de \u0218abat \u2013 bufet',\r\n\t\t'Shabbat lunch menu \u2013 served at the table': 'Meniul pr\u00e2nzului de \u0218abat \u2013 servit la mas\u0103',\r\n\t\t'Seudah Shlishit \u2013 buffet': 'Seudah Shlishit \u2013 bufet',\r\n\t\t'The price does not include drinks or alcohol. Order a personal drink for every guest in advance \u2013 Efrat wine, cocktails, beer and soft drinks \u2013 and it will be waiting on your table.': 'Pre\u021bul nu include b\u0103uturi sau alcool. Comanda\u021bi \u00een avans o b\u0103utur\u0103 personal\u0103 pentru fiecare invitat \u2013 vin Efrat, cocktailuri, bere \u0219i b\u0103uturi r\u0103coritoare \u2013 \u0219i v\u0103 va a\u0219tepta pe mas\u0103.',\r\n\t\t'The price includes a water jug for the table and does not include soft drinks or alcohol. Order a personal drink for every guest in advance \u2013 Efrat wine, cocktails, beer and soft drinks \u2013 and it will be waiting on your table.': 'Pre\u021bul include o caraf\u0103 de ap\u0103 pentru mas\u0103 \u0219i nu include b\u0103uturi r\u0103coritoare sau alcool. Comanda\u021bi \u00een avans o b\u0103utur\u0103 personal\u0103 pentru fiecare invitat \u2013 vin Efrat, cocktailuri, bere \u0219i b\u0103uturi r\u0103coritoare \u2013 \u0219i v\u0103 va a\u0219tepta pe mas\u0103.',\r\n\t\t'The Shabbat you chose is no longer open for booking. Please choose another date.': '\u0218abatul ales nu mai este disponibil pentru rezervare. V\u0103 rug\u0103m s\u0103 alege\u021bi alt\u0103 dat\u0103.',\r\n\t\t'The table you chose no longer fits your changes and was released. Choose another table or let us seat you.': 'Masa aleas\u0103 nu mai corespunde modific\u0103rilor \u0219i a fost eliberat\u0103. Alege\u021bi alt\u0103 mas\u0103 sau l\u0103sa\u021bi-ne pe noi s\u0103 v\u0103 a\u0219ez\u0103m.',\r\n\t\t'Branch': 'Restaurant',\r\n\t\t'Meals': 'Mese',\r\n\t\t'Seat': 'Loc',\r\n\t\t'Drinks & extras': 'B\u0103uturi \u0219i extra',\r\n\t\t'Payment': 'Plat\u0103',\r\n\t\t'Book Shabbat at Moise': 'Rezerva\u021bi \u0218abatul la Moise',\r\n\t\t'Total': 'Total',\r\n\t\t'Summary & payment': 'Rezumat \u0219i plat\u0103',\r\n\t\t'Continue': 'Continu\u0103',\r\n\t\t'Choose the Shabbat date.': 'Alege\u021bi data \u0218abatului.',\r\n\t\t'Choose at least one meal.': 'Alege\u021bi cel pu\u021bin o mas\u0103.',\r\n\t\t'Choose at least one guest.': 'Alege\u021bi cel pu\u021bin un invitat.',\r\n\t\t'Which branch?': 'Care restaurant?',\r\n\t\t'Bucharest': 'Bucure\u0219ti',\r\n\t\t'Friday night dinner or Shabbat lunch': 'Cina de vineri seara sau pr\u00e2nzul de \u0218abat',\r\n\t\t'Predeal': 'Predeal',\r\n\t\t'Three Shabbat meals package \u00b7 at Ski & Sky Hotel \u00b7 accommodation not included': 'Pachet de trei mese de \u0218abat \u00b7 la Hotel Ski & Sky \u00b7 cazarea nu este inclus\u0103',\r\n\t\t'You changed branch, so the meals, seat and extras were reset.': 'A\u021bi schimbat restaurantul, a\u0219a c\u0103 mesele, locul \u0219i extra au fost resetate.',\r\n\t\t'We could not load the dates and prices.': 'Nu am putut \u00eenc\u0103rca datele \u0219i pre\u021burile.',\r\n\t\t'Try again': '\u00cencerca\u021bi din nou',\r\n\t\t'Loading dates and prices\u2026': 'Se \u00eencarc\u0103 datele \u0219i pre\u021burile\u2026',\r\n\t\t'Shabbat, meals and guests': '\u0218abat, mese \u0219i invita\u021bi',\r\n\t\t'Shabbat date': 'Data \u0218abatului',\r\n\t\t'Choose a Shabbat': 'Alege\u021bi un \u0218abat',\r\n\t\t'Friday night \u2013 two hours after candle lighting \u00b7 Shabbat lunch \u2013 buffet \u00b7 Seudah Shlishit \u2013 buffet. For exact times, ask the mashgiach on site.': 'Vineri seara \u2013 la dou\u0103 ore dup\u0103 aprinderea lum\u00e2n\u0103rilor \u00b7 Pr\u00e2nzul de \u0218abat \u2013 bufet \u00b7 Seudah Shlishit \u2013 bufet. Pentru orele exacte, \u00eentreba\u021bi mashgiach-ul de la fa\u021ba locului.',\r\n\t\t'adult': 'adult',\r\n\t\t'child': 'copil',\r\n\t\t'per package, per guest': 'per pachet, de persoan\u0103',\r\n\t\t'per meal, per guest': 'per mas\u0103, de persoan\u0103',\r\n\t\t'The meals do not include accommodation.': 'Mesele nu includ cazarea.',\r\n\t\t'Adults': 'Adul\u021bi',\r\n\t\t'Children': 'Copii',\r\n\t\t'age 2 to 12': 'v\u00e2rsta 2\u201312 ani',\r\n\t\t'Infants': 'Bebelu\u0219i',\r\n\t\t'under 2 \u00b7 free': 'sub 2 ani \u00b7 gratuit',\r\n\t\t'Meals total': 'Total mese',\r\n\t\t'Menu and quantities per guest': 'Meniul \u0219i cantit\u0103\u021bile de persoan\u0103',\r\n\t\t'Item': 'Produs',\r\n\t\t'Adult': 'Adult',\r\n\t\t'Child': 'Copil',\r\n\t\t'Quantities per guest. The salad weight is for all five kinds together; the side dishes weight is the total. A child gets 70% of an adult portion.': 'Cantit\u0103\u021bi de persoan\u0103. Greutatea salatelor este pentru toate cele cinci feluri \u00eempreun\u0103; greutatea garniturilor este total\u0103. Un copil prime\u0219te 70% din por\u021bia unui adult.',\r\n\t\t'Less': 'Mai pu\u021bin',\r\n\t\t'More': 'Mai mult',\r\n\t\t'Choose your seat': 'Alege\u021bi locul',\r\n\t\t'For a Shabbat lunch only booking the restaurant assigns the seat.': 'Pentru o rezervare doar la pr\u00e2nzul de \u0218abat, restaurantul aloc\u0103 locul.',\r\n\t\t'Seat us \u2013 the restaurant will choose': 'A\u0219eza\u021bi-ne voi \u2013 alege restaurantul',\r\n\t\t'Loading the table map\u2026': 'Se \u00eencarc\u0103 harta meselor\u2026',\r\n\t\t'The table map is not available right now \u2013 the restaurant will seat you.': 'Harta meselor nu este disponibil\u0103 acum \u2013 restaurantul v\u0103 va a\u0219eza.',\r\n\t\t'Loading\u2026': 'Se \u00eencarc\u0103\u2026',\r\n\t\t'Drinks and extras': 'B\u0103uturi \u0219i extra',\r\n\t\t'Each drink and extra is booked for the meal selected above.': 'Fiecare b\u0103utur\u0103 \u0219i extra se rezerv\u0103 pentru masa selectat\u0103 mai sus.',\r\n\t\t'Soft drinks': 'B\u0103uturi r\u0103coritoare',\r\n\t\t'Beer': 'Bere',\r\n\t\t'Cocktails': 'Cocktailuri',\r\n\t\t'Shots & arak': 'Shoturi \u0219i arak',\r\n\t\t'Efrat cooked wine': 'Vin fiert Efrat (mevushal)',\r\n\t\t'Would you like to add something to the table?': 'Dori\u021bi s\u0103 ad\u0103uga\u021bi ceva pe mas\u0103?',\r\n\t\t'Optional. You can continue without extras.': 'Op\u021bional. Pute\u021bi continua f\u0103r\u0103 extra.',\r\n\t\t'From the Shabbat ready-food menu': 'Din meniul de m\u00e2ncare gata pentru \u0218abat',\r\n\t\t'white': 'alb',\r\n\t\t'red': 'ro\u0219u',\r\n\t\t'Sold out': 'Epuizat',\r\n\t\t'Add': 'Adaug\u0103',\r\n\t\t'Booking summary': 'Rezumatul rezerv\u0103rii',\r\n\t\t'Shabbat': '\u0218abat',\r\n\t\t'Guests': 'Invita\u021bi',\r\n\t\t'adults': 'adul\u021bi',\r\n\t\t'children': 'copii',\r\n\t\t'infants': 'bebelu\u0219i',\r\n\t\t'Table ': 'Masa ',\r\n\t\t'The restaurant will seat you': 'Restaurantul v\u0103 va a\u0219eza',\r\n\t\t'Drinks & extras \u2013 ': 'B\u0103uturi \u0219i extra \u2013 ',\r\n\t\t'Tip for the waiters ': 'Bac\u0219i\u0219 pentru osp\u0103tari ',\r\n\t\t'Total to pay': 'Total de plat\u0103',\r\n\t\t'Some guests still have no drink for ': 'Unii invita\u021bi \u00eenc\u0103 nu au b\u0103utur\u0103 pentru ',\r\n\t\t'. The price does not include drinks or alcohol \u2013 we recommend ordering a drink for every guest in advance.': '. Pre\u021bul nu include b\u0103uturi sau alcool \u2013 v\u0103 recomand\u0103m s\u0103 comanda\u021bi \u00een avans o b\u0103utur\u0103 pentru fiecare invitat.',\r\n\t\t'Add drinks': 'Adaug\u0103 b\u0103uturi',\r\n\t\t'Tip for the waiters': 'Bac\u0219i\u0219 pentru osp\u0103tari',\r\n\t\t'No tip': 'F\u0103r\u0103 bac\u0219i\u0219',\r\n\t\t'Calculated on the meals, drinks and extras.': 'Calculat la mese, b\u0103uturi \u0219i extra.',\r\n\t\t'Requests for the team (optional): seating, high chair, etc.': 'Cereri pentru echip\u0103 (op\u021bional): a\u0219ezare, scaun \u00eenalt pentru copii etc.',\r\n\t\t'Allergy or dietary request (optional) \u2013 the team will check it; it is not guaranteed': 'Alergie sau cerin\u021b\u0103 alimentar\u0103 (op\u021bional) \u2013 echipa o va verifica; nu este garantat\u0103',\r\n\t\t'Cancellation: up to 3 days before the booked Shabbat \u2013 10% fee. Less than 3 days before \u2013 no refund.': 'Anulare: cu p\u00e2n\u0103 la 3 zile \u00eenainte de \u0218abatul rezervat \u2013 tax\u0103 10%. Cu mai pu\u021bin de 3 zile \u00eenainte \u2013 f\u0103r\u0103 rambursare.',\r\n\t\t'The booking is confirmed only after a successful payment. After paying you will get an order number and a confirmation.': 'Rezervarea este confirmat\u0103 doar dup\u0103 o plat\u0103 reu\u0219it\u0103. Dup\u0103 plat\u0103 ve\u021bi primi un num\u0103r de comand\u0103 \u0219i o confirmare.',\r\n\t\t'Full cancellation policy': 'Politica complet\u0103 de anulare',\r\n\t\t'Continue \u2013 contact details and payment': 'Continu\u0103 \u2013 date de contact \u0219i plat\u0103',\r\n\t\t'Next you fill in your name and phone and pay securely.': '\u00cen pasul urm\u0103tor completa\u021bi numele \u0219i telefonul \u0219i pl\u0103ti\u021bi \u00een siguran\u021b\u0103.',\r\n\t\t'Checking prices, seats and stock\u2026': 'Se verific\u0103 pre\u021burile, locurile \u0219i stocul\u2026',\r\n\t\t'This could not be completed. Please try again.': 'Opera\u021biunea nu a putut fi finalizat\u0103. V\u0103 rug\u0103m s\u0103 \u00eencerca\u021bi din nou.',\r\n\t\t'No connection right now. Please try again.': 'Momentan nu exist\u0103 conexiune. V\u0103 rug\u0103m s\u0103 \u00eencerca\u021bi din nou.',\r\n\t\t'Shabbat lunch in Bucharest takes place only with at least 16 registered guests. If the minimum is not reached, we will refund the full amount for this meal and the extras ordered for it, and only the booking for this meal will be cancelled.': 'Pr\u00e2nzul de \u0218abat din Bucure\u0219ti are loc doar cu cel pu\u021bin 16 persoane \u00eenscrise. Dac\u0103 minimul nu este atins, ramburs\u0103m integral suma pentru aceast\u0103 mas\u0103 \u0219i pentru extra comandate la ea, iar doar rezervarea pentru aceast\u0103 mas\u0103 se anuleaz\u0103.',\r\n\t\t'Please note: extras from the Shabbat catering menu may arrive cold, in plastic packaging. Only what is ordered from the meal menu is served hot.': 'Aten\u021bie: extra din meniul de catering pentru \u0218abat pot fi servite reci, \u00een ambalaj de plastic. Doar ce se comand\u0103 din meniul mesei se serve\u0219te cald.'\r\n\t};\r\n\tvar ROP = [\r\n\t\t[\/^Tap a free table for (\\d+) guests\\. The table is kept for all the meals you booked on this Shabbat\\.$\/, 'Atinge\u021bi o mas\u0103 liber\u0103 pentru $1 persoane. Masa este p\u0103strat\u0103 pentru toate mesele rezervate \u00een acest \u0218abat.'],\r\n\t\t[\/^\u2713 Table (.+) selected$\/, '\u2713 Masa $1 a fost selectat\u0103'],\r\n\t\t[\/^(\\d+) suitable tables are free\\.$\/, '$1 mese potrivite sunt libere.'],\r\n\t\t[\/^No free table fits (\\d+) guests \u2013 the restaurant will seat you\\.$\/, 'Nicio mas\u0103 liber\u0103 nu are loc pentru $1 persoane \u2013 restaurantul v\u0103 va a\u0219eza.'],\r\n\t\t[\/^Table (.+) is already booked\\.$\/, 'Masa $1 este deja rezervat\u0103.'],\r\n\t\t[\/^Table (.+) has (\\d+) seats \u2013 too small\\.$\/, 'Masa $1 are $2 locuri \u2013 prea mic\u0103.'],\r\n\t\t[\/^(\\d+) drinks chosen for (\\d+) guests for (.+) \u2013 add a drink for every guest\\.$\/, '$1 b\u0103uturi alese pentru $2 persoane la $3 \u2013 ad\u0103uga\u021bi o b\u0103utur\u0103 pentru fiecare invitat.'],\r\n\t\t[\/^\u2713 Every guest has a drink for (.+)\\.$\/, '\u2713 Fiecare invitat are o b\u0103utur\u0103 la $1.']\r\n\t];\r\n\tfunction tro(e) {\r\n\t\tif (typeof e !== 'string') return e;\r\n\t\tif (Object.prototype.hasOwnProperty.call(ROM, e)) return ROM[e];\r\n\t\tfor (var i = 0; i < ROP.length; i++) { if (ROP[i][0].test(e)) return e.replace(ROP[i][0], ROP[i][1]); }\r\n\t\treturn e;\r\n\t}\r\n\r\n\tfunction T(h, e) { return HE ? h : (RO ? tro(e) : e); }\r\n\t\/\/ 15.11.2026 owner: conditions shown in the booking (lunch minimum, catering served cold)\r\n\tfunction COND(h, e) { var p = el('p', 'usb-cond', T(h, e)); p.style.cssText = 'margin:10px 0 0;padding:10px 12px;border-radius:12px;background:#FFF6D6;border:1px solid #FBD649;color:#030F22;font-size:13.5px;line-height:1.5;text-align:start'; return p; }\r\n\tvar LUNCH_MIN_H = '\u05e1\u05e2\u05d5\u05d3\u05ea \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd \u05d1\u05d1\u05d5\u05e7\u05e8\u05e9\u05d8 \u05de\u05ea\u05e7\u05d9\u05d9\u05de\u05ea \u05d1\u05db\u05e4\u05d5\u05e3 \u05dc\u05de\u05d9\u05e0\u05d9\u05de\u05d5\u05dd 16 \u05e0\u05e8\u05e9\u05de\u05d9\u05dd. \u05d0\u05dd \u05dc\u05d0 \u05d9\u05d2\u05d9\u05e2 \u05d4\u05de\u05d9\u05e0\u05d9\u05de\u05d5\u05dd \u2013 \u05e0\u05d7\u05d6\u05d9\u05e8 \u05d0\u05ea \u05de\u05dc\u05d5\u05d0 \u05d4\u05db\u05e1\u05e3 \u05e2\u05d1\u05d5\u05e8 \u05d4\u05e1\u05e2\u05d5\u05d3\u05d4 \u05d5\u05d4\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u05e9\u05d4\u05d5\u05d6\u05de\u05e0\u05d5 \u05d0\u05dc\u05d9\u05d4, \u05d5\u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05dc\u05e1\u05e2\u05d5\u05d3\u05d4 \u05d6\u05d5 \u05d1\u05dc\u05d1\u05d3 \u05ea\u05d1\u05d5\u05d8\u05dc.', LUNCH_MIN_E = 'Shabbat lunch in Bucharest takes place only with at least 16 registered guests. If the minimum is not reached, we will refund the full amount for this meal and the extras ordered for it, and only the booking for this meal will be cancelled.', XCOLD_H = '\u05e9\u05d9\u05de\u05d5 \u05dc\u05d1: \u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u05de\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d4\u05e7\u05d9\u05d9\u05d8\u05e8\u05d9\u05e0\u05d2 \u05dc\u05e9\u05d1\u05ea \u05e2\u05dc\u05d5\u05dc\u05d5\u05ea \u05dc\u05d4\u05d2\u05d9\u05e2 \u05e7\u05e8\u05d5\u05ea, \u05d1\u05d0\u05e8\u05d9\u05d6\u05ea \u05e4\u05dc\u05e1\u05d8\u05d9\u05e7. \u05e8\u05e7 \u05de\u05d4 \u05e9\u05de\u05d5\u05d6\u05de\u05df \u05de\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d4\u05e1\u05e2\u05d5\u05d3\u05d4 \u05d4\u05e0\u05d5\u05db\u05d7\u05d9 \u05d9\u05d5\u05d2\u05e9 \u05d7\u05dd.', XCOLD_E = 'Please note: extras from the Shabbat catering menu may arrive cold, in plastic packaging. Only what is ordered from the meal menu is served hot.';\r\n\tvar KEY = 'usb_state_v1';\r\n\r\n\t\/* ---------- fixed texts and menus (quantities per guest; children get 70 % of an adult) ---------- *\/\r\n\tvar MEALS = {\r\n\t\tbucharest: {\r\n\t\t\tnight: { name: T('\u05e1\u05e2\u05d5\u05d3\u05ea \u05dc\u05d9\u05dc \u05e9\u05d1\u05ea', 'Friday night dinner'), time: '20:30', menu: 'night' },\r\n\t\t\tlunch: { name: T('\u05e1\u05e2\u05d5\u05d3\u05ea \u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea', 'Shabbat lunch'), time: T('13:30 (\u05d4\u05e9\u05e2\u05d4 \u05de\u05d0\u05d5\u05e9\u05e8\u05ea \u05de\u05d3\u05d9 \u05e9\u05d1\u05d5\u05e2)', '13:30 (confirmed every week)'), menu: 'lunchBuc' }\r\n\t\t},\r\n\t\tpredeal: {\r\n\t\t\tpackage: { name: T('\u05d7\u05d1\u05d9\u05dc\u05ea \u05e9\u05dc\u05d5\u05e9 \u05e1\u05e2\u05d5\u05d3\u05d5\u05ea \u05e9\u05d1\u05ea', 'Three Shabbat meals package'), time: '', menu: 'pkg' }\r\n\t\t}\r\n\t};\r\n\tvar SLOTS = { night: ['night'], lunch: ['lunch'], package: ['night', 'lunch', 'third'] };\r\n\tvar SLOT_NAME = { night: T('\u05dc\u05d9\u05dc \u05e9\u05d1\u05ea', 'Friday night'), lunch: T('\u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea', 'Shabbat lunch'), third: T('\u05e1\u05e2\u05d5\u05d3\u05d4 \u05e9\u05dc\u05d9\u05e9\u05d9\u05ea', 'Seudah Shlishit') };\r\n\tfunction row(he, en, a, c, u) { return [T(he, en), a, c, u]; }\r\n\tvar G = T('\u05d2\u05e8\u05dd', 'g'), ML = T('\u05de\u05f4\u05dc', 'ml');\r\n\tvar MENU = {\r\n\t\tnight: { title: T('\u05ea\u05e4\u05e8\u05d9\u05d8 \u05dc\u05d9\u05dc \u05e9\u05d1\u05ea', 'Friday night menu'), rows: [\r\n\t\t\trow('5 \u05e1\u05d5\u05d2\u05d9 \u05e1\u05dc\u05d8\u05d9\u05dd \u2013 \u05e1\u05d4\u05f4\u05db \u05d9\u05d7\u05d3', '5 kinds of salads \u2013 total together', 250, 175, G),\r\n\t\t\trow('\u05d3\u05d2 \u05de\u05e8\u05d5\u05e7\u05d0\u05d9', 'Moroccan fish', 200, 140, G),\r\n\t\t\trow('\u05de\u05e8\u05e7 \u05e2\u05d5\u05e3', 'Chicken soup', 200, 140, ML),\r\n\t\t\trow('\u05e2\u05d5\u05e3', 'Chicken', 200, 140, G),\r\n\t\t\trow('\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u2013 \u05e1\u05d4\u05f4\u05db', 'Side dishes \u2013 total', 150, 105, G),\r\n\t\t\trow('\u05e7\u05d9\u05e0\u05d5\u05d7', 'Dessert', 100, 70, G),\r\n\t\t\trow('\u05dc\u05d7\u05dd', 'Bread', 200, 140, G)\r\n\t\t] },\r\n\t\tlunch: { title: T('\u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea \u2013 \u05d1\u05d5\u05e4\u05d4', 'Shabbat lunch \u2013 buffet'), rows: [\r\n\t\t\trow('5 \u05e1\u05d5\u05d2\u05d9 \u05e1\u05dc\u05d8\u05d9\u05dd \u2013 \u05e1\u05d4\u05f4\u05db \u05d9\u05d7\u05d3', '5 kinds of salads \u2013 total together', 250, 175, G),\r\n\t\t\trow('\u05d7\u05de\u05d9\u05df', 'Cholent (chamin)', 250, 175, G),\r\n\t\t\trow('\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u2013 \u05e1\u05d4\u05f4\u05db', 'Side dishes \u2013 total', 150, 105, G),\r\n\t\t\trow('\u05e7\u05d9\u05e0\u05d5\u05d7', 'Dessert', 100, 70, G),\r\n\t\t\trow('\u05d7\u05dc\u05d4', 'Challah', 150, 105, G)\r\n\t\t] },\r\n\t\tlunchBuc: { title: T('\u05ea\u05e4\u05e8\u05d9\u05d8 \u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea \u2013 \u05d4\u05d2\u05e9\u05d4 \u05dc\u05e9\u05d5\u05dc\u05d7\u05df', 'Shabbat lunch menu \u2013 served at the table'), rows: [\r\n\t\t\trow('5 \u05e1\u05d5\u05d2\u05d9 \u05e1\u05dc\u05d8\u05d9\u05dd \u2013 \u05e1\u05d4\u05f4\u05db \u05d9\u05d7\u05d3', '5 kinds of salads \u2013 total together', 250, 175, G),\r\n\t\t\trow('\u05d7\u05de\u05d9\u05df (\u05d8\u05e9\u05d5\u05dc\u05e0\u05d8)', 'Cholent (chamin)', 250, 175, G),\r\n\t\t\trow('\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u2013 \u05e1\u05d4\u05f4\u05db', 'Side dishes \u2013 total', 150, 105, G),\r\n\t\t\trow('\u05d7\u05dc\u05d4', 'Challah', 150, 105, G),\r\n\t\t\trow('\u05e7\u05d9\u05e0\u05d5\u05d7', 'Dessert', 100, 70, G)\r\n\t\t] },\r\n\t\tthird: { title: T('\u05e1\u05e2\u05d5\u05d3\u05d4 \u05e9\u05dc\u05d9\u05e9\u05d9\u05ea \u2013 \u05d1\u05d5\u05e4\u05d4', 'Seudah Shlishit \u2013 buffet'), rows: [\r\n\t\t\trow('5 \u05e1\u05d5\u05d2\u05d9 \u05e1\u05dc\u05d8\u05d9\u05dd \u2013 \u05e1\u05d4\u05f4\u05db \u05d9\u05d7\u05d3', '5 kinds of salads \u2013 total together', 250, 175, G),\r\n\t\t\trow('\u05d3\u05d2 \u05de\u05e2\u05d5\u05e9\u05df \u05e2\u05dd \u05d9\u05e8\u05e7\u05d5\u05ea', 'Smoked fish with vegetables', 100, 70, G),\r\n\t\t\trow('\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u2013 \u05e1\u05d4\u05f4\u05db', 'Side dishes \u2013 total', 100, 70, G),\r\n\t\t\trow('\u05d7\u05dc\u05d4', 'Challah', 150, 105, G)\r\n\t\t] }\r\n\t};\r\n\tvar NO_DRINKS = T('\u05d4\u05de\u05d7\u05d9\u05e8 \u05d0\u05d9\u05e0\u05d5 \u05db\u05d5\u05dc\u05dc \u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05d0\u05dc\u05db\u05d5\u05d4\u05d5\u05dc. \u05d4\u05d6\u05de\u05d9\u05e0\u05d5 \u05de\u05e8\u05d0\u05e9 \u05e9\u05ea\u05d9\u05d9\u05d4 \u05d0\u05d9\u05e9\u05d9\u05ea \u05dc\u05db\u05dc \u05e1\u05d5\u05e2\u05d3 \u2013 \u05d9\u05d9\u05df \u05d0\u05e4\u05e8\u05ea, \u05e7\u05d5\u05e7\u05d8\u05d9\u05d9\u05dc\u05d9\u05dd, \u05d1\u05d9\u05e8\u05d4 \u05d5\u05e9\u05ea\u05d9\u05d9\u05d4 \u05e7\u05dc\u05d4 \u2013 \u05d5\u05d4\u05db\u05d5\u05dc \u05d9\u05d7\u05db\u05d4 \u05dc\u05db\u05dd \u05e2\u05dc \u05d4\u05e9\u05d5\u05dc\u05d7\u05df.',\r\n\t\t'The price does not include drinks or alcohol. Order a personal drink for every guest in advance \u2013 Efrat wine, cocktails, beer and soft drinks \u2013 and it will be waiting on your table.');\r\n\tvar PREDEAL_DRINKS = T('\u05d4\u05de\u05d7\u05d9\u05e8 \u05db\u05d5\u05dc\u05dc \u05e7\u05e0\u05e7\u05df \u05de\u05d9\u05dd \u05dc\u05e9\u05d5\u05dc\u05d7\u05df \u05d5\u05d0\u05d9\u05e0\u05d5 \u05db\u05d5\u05dc\u05dc \u05e9\u05ea\u05d9\u05d9\u05d4 \u05de\u05ea\u05d5\u05e7\u05d4 \u05d5\u05d0\u05dc\u05db\u05d5\u05d4\u05d5\u05dc. \u05d4\u05d6\u05de\u05d9\u05e0\u05d5 \u05de\u05e8\u05d0\u05e9 \u05e9\u05ea\u05d9\u05d9\u05d4 \u05d0\u05d9\u05e9\u05d9\u05ea \u05dc\u05db\u05dc \u05e1\u05d5\u05e2\u05d3 \u2013 \u05d9\u05d9\u05df \u05d0\u05e4\u05e8\u05ea, \u05e7\u05d5\u05e7\u05d8\u05d9\u05d9\u05dc\u05d9\u05dd, \u05d1\u05d9\u05e8\u05d4 \u05d5\u05e9\u05ea\u05d9\u05d9\u05d4 \u05e7\u05dc\u05d4 \u2013 \u05d5\u05d4\u05db\u05d5\u05dc \u05d9\u05d7\u05db\u05d4 \u05dc\u05db\u05dd \u05e2\u05dc \u05d4\u05e9\u05d5\u05dc\u05d7\u05df.',\r\n\t\t'The price includes a water jug for the table and does not include soft drinks or alcohol. Order a personal drink for every guest in advance \u2013 Efrat wine, cocktails, beer and soft drinks \u2013 and it will be waiting on your table.');\r\n\r\n\t\/* ---------- state (kept while going back and forth) ---------- *\/\r\n\tvar st = load() || {};\r\n\tst.step = st.step || 1;\r\n\tst.meals = st.meals || [];\r\n\tst.ad = st.ad === undefined ? 2 : st.ad; st.ch = st.ch || 0; st.inf = st.inf || 0;\r\n\tst.table = st.table || 0; st.tip = st.tip === undefined ? 10 : st.tip; st.x = st.x || {}; st.note = st.note || ''; st.allergy = st.allergy || '';\r\n\t\/* coming from a Shabbat meal product page (?usb_b=branch&usb_m=meal): branch and meal already chosen *\/\r\n\t(function () {\r\n\t\tvar q; try { q = new URLSearchParams(window.location.search); } catch (e) { return; }\r\n\t\tvar qb = q.get('usb_b'), qm = q.get('usb_m');\r\n\t\tif (!qb || !MEALS[qb]) return;\r\n\t\tif (st.branch !== qb) { st.meals = []; st.table = 0; st.x = {}; st.friday = ''; }\r\n\t\tst.branch = qb;\r\n\t\tif (qb === 'predeal') st.meals = ['package'];\r\n\t\telse if (qm && MEALS[qb][qm] && st.meals.indexOf(qm) < 0) st.meals.push(qm);\r\n\t\tst.step = 2;\r\n\t\tsave();\r\n\t\ttry { q.delete('usb_b'); q.delete('usb_m'); var qs = q.toString(); window.history.replaceState(null, '', window.location.pathname + (qs ? '?' + qs : '')); } catch (e) {}\r\n\t})();\r\n\tvar cat = null, dates = [], dnc = '', tables = null, notice = '', busy = false;\r\n\tfunction save() { try { sessionStorage.setItem(KEY, JSON.stringify(st)); } catch (e) {} }\r\n\tfunction load() { try { return JSON.parse(sessionStorage.getItem(KEY) || 'null'); } catch (e) { return null; } }\r\n\r\n\t\/* ---------- helpers ---------- *\/\r\n\tfunction put(n, t) { while (n.firstChild) n.removeChild(n.firstChild); if (t) n.appendChild(document.createTextNode(String(t))); }\r\n\tfunction el(tag, cls, txt) { var n = document.createElement(tag); if (cls) n.className = cls; if (txt !== undefined && txt !== null) n.appendChild(document.createTextNode(String(txt))); return n; }\r\n\tfunction money(v) { var n = Math.round(Number(v) * 100) \/ 100; return (n % 1 ? n.toFixed(2) : String(n)) + ' ' + T('\u05dc\u05d9\u05d9', 'lei'); }\r\n\tfunction btn(txt, cls, fn) { var b = el('button', cls || 'usb-btn', txt); b.type = 'button'; b.addEventListener('click', fn); return b; }\r\n\tfunction guests() { return (st.ad || 0) + (st.ch || 0); }\r\n\tfunction mealKeys() { return st.branch ? Object.keys(MEALS[st.branch]) : []; }\r\n\tfunction slots() { var s = []; st.meals.forEach(function (m) { s = s.concat(SLOTS[m] || []); }); return s; }\r\n\tfunction mealPrice(m, who) { var r = cat && cat.meals[m] && cat.meals[m][who]; return r ? Number(r.price) : 0; }\r\n\tfunction mealsTotal() { var t = 0; st.meals.forEach(function (m) { t += st.ad * mealPrice(m, 'adult') + st.ch * mealPrice(m, 'child'); }); return t; }\r\n\tfunction items() { return cat ? [].concat(cat.drinks, cat.wine, cat.extras) : []; }\r\n\tfunction item(id) { var r = null; items().forEach(function (i) { if (String(i.id) === String(id)) r = i; }); return r; }\r\n\tfunction xKey(id, slot, opt) { return id + '|' + slot + '|' + (opt || ''); }\r\n\tfunction xList() {\r\n\t\tvar out = [];\r\n\t\tObject.keys(st.x).forEach(function (k) {\r\n\t\t\tvar q = st.x[k]; if (!q) return;\r\n\t\t\tvar p = k.split('|'), it = item(p[0]);\r\n\t\t\tif (!it || slots().indexOf(p[1]) < 0) return;\r\n\t\t\tout.push({ id: Number(p[0]), meal: p[1], opt: p[2], qty: q, it: it });\r\n\t\t});\r\n\t\treturn out;\r\n\t}\r\n\tfunction xTotal() { var t = 0; xList().forEach(function (x) { t += x.qty * Number(x.it.price); }); return t; }\r\n\tfunction tipAmount() { return Math.round((mealsTotal() + xTotal()) * (st.tip || 0)) \/ 100; }\r\n\tfunction drinksFor(slot) { var n = 0; xList().forEach(function (x) { if (x.meal === slot && x.it.cat !== 'shabbat-catering-menu') n += x.qty; }); return n; }\r\n\tfunction api(url) { var h = {}; if (C.rn && url.indexOf('\/wp-json\/') > -1) h['X-WP-Nonce'] = C.rn; return fetch(url, { credentials: 'same-origin', cache: 'no-store', headers: h }).then(function (r) { if (!r.ok) throw new Error(r.status); return r.json(); }); }\r\n\r\n\t\/* ---------- data ---------- *\/\r\n\tfunction loadBranch(done) {\r\n\t\tcat = null; dates = []; dnc = '';\r\n\t\trender();\r\n\t\tapi(C.rest + (C.rest.indexOf('?') < 0 ? '?' : '&') + 'branch=' + st.branch + '&lang=' + C.lang).then(function (d) {\r\n\t\t\tcat = d;\r\n\t\t\tvar ids = [];\r\n\t\t\tObject.keys(d.meals).forEach(function (m) { ['adult', 'child'].forEach(function (w) { if (d.meals[m][w]) ids.push(d.meals[m][w].id); }); });\r\n\t\t\tvar u = C.dates + (C.dates.indexOf('?') < 0 ? '?' : '&') + 'action=moise_shabbat_options' + ids.map(function (i) { return '&product_ids%5B%5D=' + i; }).join('');\r\n\t\t\treturn api(u);\r\n\t\t}).then(function (p) {\r\n\t\t\tif (!p || !p.success || !p.data || !p.data.dates || !p.data.dates.length) throw new Error('dates');\r\n\t\t\tdates = p.data.dates; dnc = p.data.nonce;\r\n\t\t\tif (st.friday && !dates.some(function (x) { return x.value === st.friday; })) { st.friday = ''; notice = T('\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05e9\u05d1\u05ea \u05e9\u05d1\u05d7\u05e8\u05ea\u05dd \u05db\u05d1\u05e8 \u05d0\u05d9\u05e0\u05d5 \u05e4\u05ea\u05d5\u05d7 \u05dc\u05d4\u05d6\u05de\u05e0\u05d4. \u05d1\u05d7\u05e8\u05d5 \u05ea\u05d0\u05e8\u05d9\u05da \u05d0\u05d7\u05e8.', 'The Shabbat you chose is no longer open for booking. Please choose another date.'); }\r\n\t\t\tif (done) done(); render();\r\n\t\t}).catch(function () { cat = cat || null; dates = []; render(true); });\r\n\t}\r\n\tfunction loadTables() {\r\n\t\ttables = null; render();\r\n\t\tapi(C.tables + (C.tables.indexOf('?') < 0 ? '?' : '&') + 'branch=' + st.branch + '&friday=' + encodeURIComponent(st.friday)).then(function (d) {\r\n\t\t\ttables = d && d.ok ? d : { ok: false };\r\n\t\t\tif (tables.ok && st.table) {\r\n\t\t\t\tvar t = tableInfo(st.table);\r\n\t\t\t\tif (!t || tables.taken.indexOf(st.table) >= 0 || t.seats < guests()) { st.table = 0; notice = T('\u05d4\u05e9\u05d5\u05dc\u05d7\u05df \u05e9\u05d1\u05d7\u05e8\u05ea\u05dd \u05db\u05d1\u05e8 \u05d0\u05d9\u05e0\u05d5 \u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05e9\u05e2\u05e9\u05d9\u05ea\u05dd, \u05d5\u05dc\u05db\u05df \u05d1\u05d5\u05d8\u05dc. \u05d1\u05d7\u05e8\u05d5 \u05e9\u05d5\u05dc\u05d7\u05df \u05d0\u05d7\u05e8 \u05d0\u05d5 \u05d4\u05e9\u05d0\u05d9\u05e8\u05d5 \u05dc\u05e0\u05d5 \u05dc\u05e9\u05d1\u05e5.', 'The table you chose no longer fits your changes and was released. Choose another table or let us seat you.'); }\r\n\t\t\t}\r\n\t\t\tsave(); render();\r\n\t\t}).catch(function () { tables = { ok: false }; render(); });\r\n\t}\r\n\tfunction tableInfo(no) { var r = null; if (tables && tables.map) tables.map.tables.forEach(function (t) { if (Number(t.no) === Number(no)) r = t; }); return r; }\r\n\tfunction floorJs(cb) {\r\n\t\tif (window.MTOFloor) return cb();\r\n\t\tvar n = 0;\r\n\t\t(function wait() { if (window.MTOFloor || n++ > 40) return cb(); setTimeout(wait, 150); })();\r\n\t}\r\n\r\n\t\/* ---------- navigation ---------- *\/\r\n\tvar STEPS = [T('\u05e1\u05e0\u05d9\u05e3', 'Branch'), T('\u05e1\u05e2\u05d5\u05d3\u05d5\u05ea', 'Meals'), T('\u05de\u05e7\u05d5\u05dd', 'Seat'), T('\u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea', 'Drinks & extras'), T('\u05ea\u05e9\u05dc\u05d5\u05dd', 'Payment')];\r\n\tfunction canGo(n) {\r\n\t\tif (n >= 2 && !st.branch) return false;\r\n\t\tif (n >= 3 && (!st.friday || !st.meals.length || guests() < 1)) return false;\r\n\t\treturn true;\r\n\t}\r\n\tfunction go(n) {\r\n\t\tif (!canGo(n)) return;\r\n\t\tst.step = n; notice = ''; save();\r\n\t\tif (n === 3) floorJs(loadTables);\r\n\t\trender();\r\n\t\tvar hdr = document.querySelector('.uxp-h, header'), off = (hdr ? hdr.getBoundingClientRect().height : 70) + 12;\r\n\t\twindow.scrollTo({ top: root.getBoundingClientRect().top + window.pageYOffset - off, behavior: 'smooth' });\r\n\t}\r\n\r\n\t\/* ---------- rendering ---------- *\/\r\n\tfunction render(failed) {\r\n\t\t\/* keep open groups, scroll position and focus when the screen redraws (15.11 fix: +\/\u2212 no longer closes groups or jumps) *\/\r\n\t\tvar y = window.pageYOffset, open = {}, lbl = null, a = document.activeElement;\r\n\t\tif (a && root.contains(a) && a.getAttribute) lbl = a.getAttribute('aria-label');\r\n\t\troot.querySelectorAll('details').forEach(function (d) { var s = d.querySelector('summary'); if (s) open[s.textContent] = d.open; });\r\n\t\troot.style.minHeight = root.offsetHeight + 'px';\r\n\t\trender0(failed);\r\n\t\troot.querySelectorAll('details').forEach(function (d) { var s = d.querySelector('summary'); if (s && Object.prototype.hasOwnProperty.call(open, s.textContent)) d.open = open[s.textContent]; });\r\n\t\troot.style.minHeight = '';\r\n\t\tif (Math.abs(window.pageYOffset - y) > 1) window.scrollTo({ top: y, behavior: 'instant' });\r\n\t\tif (lbl) { var bs = root.querySelectorAll('button[aria-label]'); for (var i = 0; i < bs.length; i++) { if (bs[i].getAttribute('aria-label') === lbl && !bs[i].disabled) { try { bs[i].focus({ preventScroll: true }); } catch (e) {} break; } } }\r\n\t}\r\n\tfunction render0(failed) {\r\n\t\twhile (root.firstChild) root.removeChild(root.firstChild);\r\n\t\tvar head = el('div', 'usb-head');\r\n\t\thead.appendChild(el('h1', 'usb-title', T('\u05de\u05d6\u05de\u05d9\u05e0\u05d9\u05dd \u05e9\u05d1\u05ea \u05d1\u05de\u05d5\u05d9\u05e9\u05d4', 'Book Shabbat at Moise')));\r\n\t\tvar nav = el('ol', 'usb-steps');\r\n\t\tSTEPS.forEach(function (s, i) {\r\n\t\t\tvar li = el('li', 'usb-st' + (st.step === i + 1 ? ' on' : '') + (st.step > i + 1 ? ' done' : ''));\r\n\t\t\tvar b = btn((i + 1) + '. ' + s, 'usb-stb', function () { if (i + 1 < st.step) go(i + 1); });\r\n\t\t\tb.disabled = i + 1 >= st.step;\r\n\t\t\tif (st.step === i + 1) b.setAttribute('aria-current', 'step');\r\n\t\t\tli.appendChild(b); nav.appendChild(li);\r\n\t\t});\r\n\t\thead.appendChild(nav);\r\n\t\troot.appendChild(head);\r\n\t\tif (notice) { var nt = el('p', 'usb-notice', notice); nt.setAttribute('role', 'status'); root.appendChild(nt); }\r\n\t\tvar box = el('div', 'usb-card');\r\n\t\troot.appendChild(box);\r\n\t\t[null, s1, s2, s3, s4, s5][st.step](box, failed);\r\n\t\tif (st.step > 1 && st.step < 5 && st.step !== 3) root.appendChild(bar()); \/\/ step 3: choosing a table (or \"seat us\") moves on by itself, so the map is never covered\r\n\t}\r\n\tfunction bar() {\r\n\t\tvar b = el('div', 'usb-bar');\r\n\t\tvar t = mealsTotal() + xTotal();\r\n\t\tvar left = el('div', 'usb-bar-sum');\r\n\t\tleft.appendChild(el('span', '', T('\u05e1\u05d4\u05f4\u05db', 'Total')));\r\n\t\tleft.appendChild(el('strong', '', money(t)));\r\n\t\tb.appendChild(left);\r\n\t\tvar next = btn(st.step === 4 ? T('\u05dc\u05e1\u05d9\u05db\u05d5\u05dd \u05d5\u05dc\u05ea\u05e9\u05dc\u05d5\u05dd', 'Summary & payment') : T('\u05d4\u05de\u05e9\u05da', 'Continue'), 'usb-btn usb-main', function () { next2(); });\r\n\t\tnext.disabled = !canGo(st.step + 1) || (st.step === 2 && (!cat || !dates.length));\r\n\t\tb.appendChild(next);\r\n\t\treturn b;\r\n\t}\r\n\tfunction next2() {\r\n\t\tif (st.step === 2) {\r\n\t\t\tif (!st.friday) { notice = T('\u05d1\u05d7\u05e8\u05d5 \u05ea\u05d0\u05e8\u05d9\u05da \u05e9\u05d1\u05ea.', 'Choose the Shabbat date.'); return render(); }\r\n\t\t\tif (!st.meals.length) { notice = T('\u05d1\u05d7\u05e8\u05d5 \u05dc\u05e4\u05d7\u05d5\u05ea \u05e1\u05e2\u05d5\u05d3\u05d4 \u05d0\u05d7\u05ea.', 'Choose at least one meal.'); return render(); }\r\n\t\t\tif (guests() < 1) { notice = T('\u05d1\u05d7\u05e8\u05d5 \u05dc\u05e4\u05d7\u05d5\u05ea \u05e1\u05d5\u05e2\u05d3 \u05d0\u05d7\u05d3.', 'Choose at least one guest.'); return render(); }\r\n\t\t}\r\n\t\tgo(st.step + 1);\r\n\t}\r\n\r\n\t\/* 1 \u2013 branch *\/\r\n\tfunction s1(box) {\r\n\t\tbox.appendChild(el('h2', '', T('\u05d1\u05d0\u05d9\u05d6\u05d4 \u05e1\u05e0\u05d9\u05e3?', 'Which branch?')));\r\n\t\tvar w = el('div', 'usb-branches');\r\n\t\t[['bucharest', T('\u05d1\u05d5\u05e7\u05e8\u05e9\u05d8', 'Bucharest'), T('\u05e1\u05e2\u05d5\u05d3\u05ea \u05dc\u05d9\u05dc \u05e9\u05d1\u05ea \u05d0\u05d5 \u05e1\u05e2\u05d5\u05d3\u05ea \u05e9\u05d1\u05ea \u05d1\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd', 'Friday night dinner or Shabbat lunch')],\r\n\t\t ['predeal', T('\u05e4\u05e8\u05d3\u05d9\u05d0\u05dc', 'Predeal'), T('\u05d7\u05d1\u05d9\u05dc\u05ea \u05e9\u05dc\u05d5\u05e9 \u05e1\u05e2\u05d5\u05d3\u05d5\u05ea \u05e9\u05d1\u05ea \u00b7 \u05d1\u05de\u05dc\u05d5\u05df Ski & Sky \u00b7 \u05dc\u05d0 \u05db\u05d5\u05dc\u05dc \u05dc\u05d9\u05e0\u05d4', 'Three Shabbat meals package \u00b7 at Ski & Sky Hotel \u00b7 accommodation not included')]].forEach(function (b) {\r\n\t\t\tvar x = btn('', 'usb-branch' + (st.branch === b[0] ? ' on' : ''), function () {\r\n\t\t\t\tif (st.branch && st.branch !== b[0]) { st.meals = []; st.table = 0; st.x = {}; st.friday = ''; notice = T('\u05d4\u05d7\u05dc\u05e4\u05ea\u05dd \u05e1\u05e0\u05d9\u05e3, \u05d5\u05dc\u05db\u05df \u05d4\u05e1\u05e2\u05d5\u05d3\u05d5\u05ea, \u05d4\u05de\u05e7\u05d5\u05dd \u05d5\u05d4\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u05d4\u05ea\u05d0\u05e4\u05e1\u05d5.', 'You changed branch, so the meals, seat and extras were reset.'); }\r\n\t\t\t\tst.branch = b[0];\r\n\t\t\t\tif (b[0] === 'predeal') st.meals = ['package'];\r\n\t\t\t\tsave(); st.step = 2;\r\n\t\t\t\tloadBranch();\r\n\t\t\t});\r\n\t\t\tx.appendChild(el('strong', '', b[1])); x.appendChild(el('span', '', b[2]));\r\n\t\t\tw.appendChild(x);\r\n\t\t});\r\n\t\tbox.appendChild(w);\r\n\t}\r\n\r\n\t\/* 2 \u2013 Shabbat, meals and guests *\/\r\n\tfunction s2(box, failed) {\r\n\t\tif (failed) { box.appendChild(el('p', 'usb-err', T('\u05dc\u05d0 \u05d4\u05e6\u05dc\u05d7\u05e0\u05d5 \u05dc\u05d8\u05e2\u05d5\u05df \u05d0\u05ea \u05d4\u05ea\u05d0\u05e8\u05d9\u05db\u05d9\u05dd \u05d5\u05d4\u05de\u05d7\u05d9\u05e8\u05d9\u05dd.', 'We could not load the dates and prices.'))); box.appendChild(btn(T('\u05e0\u05d9\u05e1\u05d9\u05d5\u05df \u05d7\u05d5\u05d6\u05e8', 'Try again'), 'usb-btn', function () { loadBranch(); })); return; }\r\n\t\tif (!cat || !dates.length) { box.appendChild(el('p', 'usb-wait', T('\u05d8\u05d5\u05e2\u05df \u05ea\u05d0\u05e8\u05d9\u05db\u05d9\u05dd \u05d5\u05de\u05d7\u05d9\u05e8\u05d9\u05dd\u2026', 'Loading dates and prices\u2026'))); return; }\r\n\t\tbox.appendChild(el('h2', '', T('\u05e9\u05d1\u05ea, \u05e1\u05e2\u05d5\u05d3\u05d5\u05ea \u05d5\u05e1\u05d5\u05e2\u05d3\u05d9\u05dd', 'Shabbat, meals and guests')));\r\n\t\tvar lab = el('label', 'usb-field'); lab.appendChild(el('span', '', T('\u05ea\u05d0\u05e8\u05d9\u05da \u05d4\u05e9\u05d1\u05ea', 'Shabbat date')));\r\n\t\tvar sel = el('select', 'usb-select'); sel.appendChild(new Option(T('\u05d1\u05d7\u05e8\u05d5 \u05e9\u05d1\u05ea', 'Choose a Shabbat'), ''));\r\n\t\tdates.forEach(function (d) { var o = new Option(d.label, d.value); if (d.value === st.friday) o.selected = true; sel.appendChild(o); });\r\n\t\tsel.addEventListener('change', function () { st.friday = sel.value; save(); render(); });\r\n\t\tlab.appendChild(sel); box.appendChild(lab);\r\n\t\tvar ms = el('div', 'usb-meals');\r\n\t\tmealKeys().forEach(function (m) {\r\n\t\t\tvar M = MEALS[st.branch][m];\r\n\t\t\tvar card = el('div', 'usb-meal' + (st.meals.indexOf(m) >= 0 ? ' on' : ''));\r\n\t\t\tvar top = el('label', 'usb-meal-top');\r\n\t\t\tvar cb = el('input'); cb.type = 'checkbox'; cb.checked = st.meals.indexOf(m) >= 0;\r\n\t\t\tif (st.branch === 'predeal') cb.disabled = true;\r\n\t\t\tcb.addEventListener('change', function () { var i = st.meals.indexOf(m); if (cb.checked && i < 0) st.meals.push(m); if (!cb.checked && i >= 0) st.meals.splice(i, 1); save(); render(); });\r\n\t\t\ttop.appendChild(cb);\r\n\t\t\tvar tx = el('span', 'usb-meal-name'); tx.appendChild(el('strong', '', M.name));\r\n\t\t\tif (M.time) tx.appendChild(el('small', '', M.time));\r\n\t\t\tif (st.branch === 'predeal') tx.appendChild(el('small', '', T('\u05dc\u05d9\u05dc \u05e9\u05d1\u05ea \u2013 \u05e9\u05e2\u05ea\u05d9\u05d9\u05dd \u05d0\u05d7\u05e8\u05d9 \u05d4\u05d3\u05dc\u05e7\u05ea \u05d4\u05e0\u05e8\u05d5\u05ea \u00b7 \u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea \u2013 \u05d1\u05d5\u05e4\u05d4 \u00b7 \u05e1\u05e2\u05d5\u05d3\u05d4 \u05e9\u05dc\u05d9\u05e9\u05d9\u05ea \u2013 \u05d1\u05d5\u05e4\u05d4. \u05dc\u05e9\u05e2\u05d5\u05ea \u05d4\u05de\u05d3\u05d5\u05d9\u05e7\u05d5\u05ea \u2013 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d1\u05e8\u05e8 \u05e2\u05dd \u05d4\u05de\u05e9\u05d2\u05d9\u05d7 \u05d1\u05de\u05e7\u05d5\u05dd.', 'Friday night \u2013 two hours after candle lighting \u00b7 Shabbat lunch \u2013 buffet \u00b7 Seudah Shlishit \u2013 buffet. For exact times, ask the mashgiach on site.')));\r\n\t\t\ttop.appendChild(tx);\r\n\t\t\tvar pr = el('span', 'usb-meal-price');\r\n\t\t\tpr.appendChild(el('b', '', money(mealPrice(m, 'adult')) + ' ' + T('\u05dc\u05de\u05d1\u05d5\u05d2\u05e8', 'adult')));\r\n\t\t\tpr.appendChild(el('small', '', money(mealPrice(m, 'child')) + ' ' + T('\u05dc\u05d9\u05dc\u05d3', 'child')));\r\n\t\t\tpr.appendChild(el('small', '', m === 'package' ? T('\u05dc\u05d7\u05d1\u05d9\u05dc\u05d4, \u05dc\u05e1\u05d5\u05e2\u05d3', 'per package, per guest') : T('\u05dc\u05e1\u05e2\u05d5\u05d3\u05d4, \u05dc\u05e1\u05d5\u05e2\u05d3', 'per meal, per guest')));\r\n\t\t\ttop.appendChild(pr);\r\n\t\t\tcard.appendChild(top);\r\n\t\t\tif (st.branch === 'bucharest' && m === 'lunch') card.appendChild(COND(LUNCH_MIN_H, LUNCH_MIN_E));\r\n\t\t\tcard.appendChild(menuBox(m));\r\n\t\t\tms.appendChild(card);\r\n\t\t});\r\n\t\tbox.appendChild(ms);\r\n\t\tvar nd = el('p', 'usb-drinks-note', st.branch === 'predeal' ? PREDEAL_DRINKS : NO_DRINKS); box.appendChild(nd);\r\n\t\tif (st.branch === 'predeal') box.appendChild(el('p', 'usb-small', T('\u05d4\u05e1\u05e2\u05d5\u05d3\u05d5\u05ea \u05d0\u05d9\u05e0\u05df \u05db\u05d5\u05dc\u05dc\u05d5\u05ea \u05dc\u05d9\u05e0\u05d4.', 'The meals do not include accommodation.')));\r\n\t\tvar gw = el('div', 'usb-guests');\r\n\t\t[['ad', T('\u05de\u05d1\u05d5\u05d2\u05e8\u05d9\u05dd', 'Adults'), ''], ['ch', T('\u05d9\u05dc\u05d3\u05d9\u05dd', 'Children'), T('\u05de\u05d2\u05d9\u05dc 2 \u05e2\u05d3 12', 'age 2 to 12')], ['inf', T('\u05ea\u05d9\u05e0\u05d5\u05e7\u05d5\u05ea', 'Infants'), T('\u05e2\u05d3 \u05d2\u05d9\u05dc \u05e9\u05e0\u05ea\u05d9\u05d9\u05dd \u00b7 \u05dc\u05dc\u05d0 \u05ea\u05e9\u05dc\u05d5\u05dd', 'under 2 \u00b7 free')]].forEach(function (g) {\r\n\t\t\tgw.appendChild(stepper(g[1], g[2], st[g[0]], g[0] === 'inf' ? 20 : 70, function (v) { st[g[0]] = v; save(); render(); }));\r\n\t\t});\r\n\t\tbox.appendChild(gw);\r\n\t\tvar sum = el('div', 'usb-sub');\r\n\t\tsum.appendChild(el('span', '', T('\u05e1\u05d4\u05f4\u05db \u05e1\u05e2\u05d5\u05d3\u05d5\u05ea', 'Meals total')));\r\n\t\tsum.appendChild(el('strong', '', money(mealsTotal())));\r\n\t\tbox.appendChild(sum);\r\n\t}\r\n\tfunction menuBox(m) {\r\n\t\tvar d = el('details', 'usb-menu');\r\n\t\td.appendChild(el('summary', '', T('\u05d4\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d5\u05d4\u05db\u05de\u05d5\u05d9\u05d5\u05ea \u05dc\u05e1\u05d5\u05e2\u05d3', 'Menu and quantities per guest')));\r\n\t\tvar keys = m === 'package' ? ['night', 'lunch', 'third'] : [m];\r\n\t\tkeys.forEach(function (k) {\r\n\t\t\tvar mm = (k === 'lunch' && st.branch === 'bucharest') ? MENU.lunchBuc : MENU[k];\r\n\t\t\tvar title = mm.title;\r\n\t\t\td.appendChild(el('h4', '', title));\r\n\t\t\tvar t = el('table', 'usb-mt'), tr = el('tr');\r\n\t\t\t[T('\u05e8\u05db\u05d9\u05d1', 'Item'), T('\u05de\u05d1\u05d5\u05d2\u05e8', 'Adult'), T('\u05d9\u05dc\u05d3', 'Child')].forEach(function (h) { tr.appendChild(el('th', '', h)); });\r\n\t\t\tt.appendChild(tr);\r\n\t\t\tmm.rows.forEach(function (r) { var x = el('tr'); x.appendChild(el('td', '', r[0])); x.appendChild(el('td', '', r[1] + ' ' + r[3])); x.appendChild(el('td', '', r[2] + ' ' + r[3])); t.appendChild(x); });\r\n\t\t\td.appendChild(t);\r\n\t\t});\r\n\t\td.appendChild(el('p', 'usb-small', T('\u05d4\u05db\u05de\u05d5\u05d9\u05d5\u05ea \u05dc\u05e1\u05d5\u05e2\u05d3. \u05de\u05e9\u05e7\u05dc \u05d4\u05e1\u05dc\u05d8\u05d9\u05dd \u05d4\u05d5\u05d0 \u05e9\u05dc \u05d7\u05de\u05e9\u05ea \u05d4\u05e1\u05d5\u05d2\u05d9\u05dd \u05d9\u05d7\u05d3, \u05d5\u05de\u05e9\u05e7\u05dc \u05d4\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u05db\u05d5\u05dc\u05dc. \u05d9\u05dc\u05d3 \u05de\u05e7\u05d1\u05dc 70% \u05de\u05db\u05de\u05d5\u05ea \u05d4\u05de\u05d1\u05d5\u05d2\u05e8.', 'Quantities per guest. The salad weight is for all five kinds together; the side dishes weight is the total. A child gets 70% of an adult portion.')));\r\n\t\treturn d;\r\n\t}\r\n\tfunction stepper(label, hint, val, max, fn) {\r\n\t\tvar w = el('div', 'usb-stepper');\r\n\t\tvar l = el('div', 'usb-stl'); l.appendChild(el('strong', '', label)); if (hint) l.appendChild(el('small', '', hint));\r\n\t\tw.appendChild(l);\r\n\t\tvar c = el('div', 'usb-stc');\r\n\t\tvar minus = btn('\u2212', 'usb-q', function () { fn(Math.max(0, val - 1)); }); minus.setAttribute('aria-label', T('\u05e4\u05d7\u05d5\u05ea', 'Less') + ' \u2013 ' + label); minus.disabled = val <= 0;\r\n\t\tvar plus = btn('+', 'usb-q', function () { fn(Math.min(max, val + 1)); }); plus.setAttribute('aria-label', T('\u05e2\u05d5\u05d3', 'More') + ' \u2013 ' + label); plus.disabled = val >= max;\r\n\t\tc.appendChild(minus); c.appendChild(el('output', 'usb-qv', val)); c.appendChild(plus);\r\n\t\tw.appendChild(c);\r\n\t\treturn w;\r\n\t}\r\n\r\n\t\/* 3 \u2013 seat *\/\r\n\tfunction s3(box) {\r\n\t\tbox.appendChild(el('h2', '', T('\u05d1\u05d7\u05d9\u05e8\u05ea \u05de\u05e7\u05d5\u05dd', 'Choose your seat')));\r\n\t\tif (st.branch === 'bucharest' && st.meals.indexOf('night') < 0) {\r\n\t\t\tst.table = 0; save();\r\n\t\t\tbox.appendChild(el('p', '', T('\u05d1\u05d4\u05d6\u05de\u05e0\u05d4 \u05e9\u05dc \u05e6\u05d4\u05e8\u05d9 \u05e9\u05d1\u05ea \u05d1\u05dc\u05d1\u05d3 \u05d4\u05de\u05e1\u05e2\u05d3\u05d4 \u05de\u05e9\u05d1\u05e6\u05ea \u05d0\u05ea \u05d4\u05de\u05e7\u05d5\u05dd.', 'For a Shabbat lunch only booking the restaurant assigns the seat.')));\r\n\t\t\tbox.appendChild(btn(T('\u05d4\u05de\u05e9\u05da', 'Continue'), 'usb-btn usb-main usb-auto', function () { go(4); }));\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tbox.appendChild(el('p', 'usb-small', T('\u05dc\u05d7\u05e6\u05d5 \u05e2\u05dc \u05e9\u05d5\u05dc\u05d7\u05df \u05e4\u05e0\u05d5\u05d9 \u05e9\u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05be' + guests() + ' \u05e1\u05d5\u05e2\u05d3\u05d9\u05dd. \u05d4\u05e9\u05d5\u05dc\u05d7\u05df \u05e0\u05e9\u05de\u05e8 \u05dc\u05db\u05dc \u05d4\u05e1\u05e2\u05d5\u05d3\u05d5\u05ea \u05e9\u05d4\u05d6\u05de\u05e0\u05ea\u05dd \u05d1\u05e9\u05d1\u05ea \u05d4\u05d6\u05d5.', 'Tap a free table for ' + guests() + ' guests. The table is kept for all the meals you booked on this Shabbat.')));\r\n\t\tvar auto = btn(T('\u05e9\u05d1\u05e6\u05d5 \u05d0\u05d5\u05ea\u05e0\u05d5 \u2013 \u05d4\u05de\u05e1\u05e2\u05d3\u05d4 \u05ea\u05d1\u05d7\u05e8 \u05de\u05e7\u05d5\u05dd', 'Seat us \u2013 the restaurant will choose'), 'usb-btn usb-auto' + (st.table ? '' : ' on'), function () { st.table = 0; save(); go(4); });\r\n\t\tif (!tables) { box.appendChild(el('p', 'usb-wait', T('\u05d8\u05d5\u05e2\u05df \u05d0\u05ea \u05de\u05e4\u05ea \u05d4\u05e9\u05d5\u05dc\u05d7\u05e0\u05d5\u05ea\u2026', 'Loading the table map\u2026'))); box.appendChild(auto); return; }\r\n\t\tif (!tables.ok || !tables.map || !window.MTOFloor) {\r\n\t\t\tbox.appendChild(el('p', 'usb-small', T('\u05de\u05e4\u05ea \u05d4\u05e9\u05d5\u05dc\u05d7\u05e0\u05d5\u05ea \u05d0\u05d9\u05e0\u05d4 \u05d6\u05de\u05d9\u05e0\u05d4 \u05db\u05e8\u05d2\u05e2 \u2013 \u05d4\u05de\u05e1\u05e2\u05d3\u05d4 \u05ea\u05e9\u05d1\u05e5 \u05d0\u05ea\u05db\u05dd.', 'The table map is not available right now \u2013 the restaurant will seat you.')));\r\n\t\t\tbox.appendChild(auto); return;\r\n\t\t}\r\n\t\tvar occ = {}; tables.taken.forEach(function (n) { occ[n] = { state: 'off' }; });\r\n\t\tvar map = el('div', 'usb-map mto-shab');\r\n\t\tbox.appendChild(map);\r\n\t\tvar stt = el('p', 'usb-mapst'); stt.setAttribute('role', 'status'); box.appendChild(stt);\r\n\t\tvar g = guests();\r\n\t\tvar free = tables.map.tables.filter(function (t) { return !occ[t.no] && t.seats >= g; }).length;\r\n\t\tput(stt, st.table ? T('\u2713 \u05e0\u05d1\u05d7\u05e8 \u05e9\u05d5\u05dc\u05d7\u05df ' + st.table, '\u2713 Table ' + st.table + ' selected') : (free ? T(free + ' \u05e9\u05d5\u05dc\u05d7\u05e0\u05d5\u05ea \u05de\u05ea\u05d0\u05d9\u05de\u05d9\u05dd \u05e4\u05e0\u05d5\u05d9\u05d9\u05dd.', free + ' suitable tables are free.') : T('\u05d0\u05d9\u05df \u05e9\u05d5\u05dc\u05d7\u05df \u05e4\u05e0\u05d5\u05d9 \u05e9\u05de\u05ea\u05d0\u05d9\u05dd \u05dc\u05be' + g + ' \u05e1\u05d5\u05e2\u05d3\u05d9\u05dd \u2013 \u05d4\u05de\u05e1\u05e2\u05d3\u05d4 \u05ea\u05e9\u05d1\u05e5 \u05d0\u05ea\u05db\u05dd.', 'No free table fits ' + g + ' guests \u2013 the restaurant will seat you.')));\r\n\t\tvar fo = { lang: HE ? 'he' : 'ro', occ: occ, selectable: true, selected: st.table, guests: g };\r\n\t\tfo['on' + 'Select'] = function (no) {\r\n\t\t\tvar t = tableInfo(no);\r\n\t\t\tif (occ[no]) { put(stt, T('\u05e9\u05d5\u05dc\u05d7\u05df ' + no + ' \u05db\u05d1\u05e8 \u05ea\u05e4\u05d5\u05e1.', 'Table ' + no + ' is already booked.')); return; }\r\n\t\t\tif (!t || t.seats < g) { put(stt, T('\u05d1\u05e9\u05d5\u05dc\u05d7\u05df ' + no + ' \u05d9\u05e9 ' + (t ? t.seats : 0) + ' \u05de\u05e7\u05d5\u05de\u05d5\u05ea \u2013 \u05e7\u05d8\u05df \u05de\u05d3\u05d9.', 'Table ' + no + ' has ' + (t ? t.seats : 0) + ' seats \u2013 too small.')); return; }\r\n\t\t\tst.table = no; save(); go(4);\r\n\t\t};\r\n\t\twindow.MTOFloor.render(map, tables.map, fo);\r\n\t\tbox.appendChild(auto);\r\n\t}\r\n\r\n\t\/* 4 \u2013 drinks and extras *\/\r\n\tvar curSlot = '';\r\n\tfunction s4(box) {\r\n\t\tif (!cat) { box.appendChild(el('p', 'usb-wait', T('\u05d8\u05d5\u05e2\u05df\u2026', 'Loading\u2026'))); return; }\r\n\t\tvar sl = slots();\r\n\t\tif (sl.indexOf(curSlot) < 0) curSlot = sl[0];\r\n\t\tbox.appendChild(el('h2', '', T('\u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea', 'Drinks and extras')));\r\n\t\tbox.appendChild(el('p', 'usb-drinks-note', st.branch === 'predeal' ? PREDEAL_DRINKS : NO_DRINKS));\r\n\t\tvar have = drinksFor(curSlot), need = guests();\r\n\t\tbox.appendChild(el('p', 'usb-count' + (have < need ? ' low' : ' ok'), have < need\r\n\t\t\t? T('\u05e0\u05d1\u05d7\u05e8\u05d5 ' + have + ' \u05de\u05e9\u05e7\u05d0\u05d5\u05ea \u05dc\u05be' + need + ' \u05e1\u05d5\u05e2\u05d3\u05d9\u05dd \u05d1' + SLOT_NAME[curSlot] + ' \u2013 \u05db\u05d3\u05d0\u05d9 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05de\u05e9\u05e7\u05d4 \u05dc\u05db\u05dc \u05e1\u05d5\u05e2\u05d3.', have + ' drinks chosen for ' + need + ' guests for ' + SLOT_NAME[curSlot] + ' \u2013 add a drink for every guest.')\r\n\t\t\t: T('\u2713 \u05d9\u05e9 \u05de\u05e9\u05e7\u05d4 \u05dc\u05db\u05dc \u05e1\u05d5\u05e2\u05d3 \u05d1' + SLOT_NAME[curSlot] + '.', '\u2713 Every guest has a drink for ' + SLOT_NAME[curSlot] + '.')));\r\n\t\tif (sl.length > 1) {\r\n\t\t\tvar tabs = el('div', 'usb-tabs'); tabs.setAttribute('role', 'tablist');\r\n\t\t\tsl.forEach(function (s) {\r\n\t\t\t\tvar n = 0; xList().forEach(function (x) { if (x.meal === s) n += x.qty; });\r\n\t\t\t\tvar b = btn(SLOT_NAME[s] + (n ? ' (' + n + ')' : ''), 'usb-tab' + (s === curSlot ? ' on' : ''), function () { curSlot = s; render(); });\r\n\t\t\t\tb.setAttribute('role', 'tab'); b.setAttribute('aria-selected', s === curSlot ? 'true' : 'false');\r\n\t\t\t\ttabs.appendChild(b);\r\n\t\t\t});\r\n\t\t\tbox.appendChild(tabs);\r\n\t\t\tbox.appendChild(el('p', 'usb-small', T('\u05db\u05dc \u05de\u05e9\u05e7\u05d4 \u05d5\u05ea\u05d5\u05e1\u05e4\u05ea \u05e0\u05e8\u05e9\u05de\u05d9\u05dd \u05dc\u05e1\u05e2\u05d5\u05d3\u05d4 \u05e9\u05d1\u05d7\u05e8\u05ea\u05dd \u05dc\u05de\u05e2\u05dc\u05d4.', 'Each drink and extra is booked for the meal selected above.')));\r\n\t\t}\r\n\t\tvar groups = [\r\n\t\t\t['mto-soft-drinks', T('\u05e9\u05ea\u05d9\u05d9\u05d4 \u05e7\u05dc\u05d4', 'Soft drinks')], ['mto-beer', T('\u05d1\u05d9\u05e8\u05d4', 'Beer')], ['mto-cocktails', T('\u05e7\u05d5\u05e7\u05d8\u05d9\u05d9\u05dc\u05d9\u05dd', 'Cocktails')],\r\n\t\t\t['mto-shots', T('\u05e6\u05f3\u05d9\u05d9\u05e1\u05e8\u05d9\u05dd \u05d5\u05e2\u05e8\u05d0\u05e7', 'Shots & arak')], ['wine', T('\u05d9\u05d9\u05df \u05d0\u05e4\u05e8\u05ea \u05de\u05d1\u05d5\u05e9\u05dc', 'Efrat cooked wine')]\r\n\t\t];\r\n\t\tgroups.forEach(function (g) {\r\n\t\t\tvar list = (g[0] === 'wine' ? cat.wine : cat.drinks.filter(function (d) { return d.cat === g[0]; }));\r\n\t\t\tif (!list.length) return;\r\n\t\t\tvar d = el('details', 'usb-group'); if (g[0] === 'mto-soft-drinks' || g[0] === 'wine') d.open = true;\r\n\t\t\td.appendChild(el('summary', '', g[1]));\r\n\t\t\tlist.forEach(function (it) { if (it.opts && it.opts.length) it.opts.forEach(function (o) { d.appendChild(itemRow(it, o)); }); else d.appendChild(itemRow(it, '')); });\r\n\t\t\tbox.appendChild(d);\r\n\t\t});\r\n\t\tif (cat.extras.length) {\r\n\t\t\tbox.appendChild(el('h3', 'usb-h3', T('\u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05de\u05e9\u05d4\u05d5 \u05dc\u05e9\u05d5\u05dc\u05d7\u05df?', 'Would you like to add something to the table?')));\r\n\t\t\tbox.appendChild(el('p', 'usb-small', T('\u05dc\u05d0 \u05d7\u05d5\u05d1\u05d4. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05de\u05e9\u05d9\u05da \u05d1\u05dc\u05d9 \u05ea\u05d5\u05e1\u05e4\u05d5\u05ea.', 'Optional. You can continue without extras.')));\r\n\t\t\tbox.appendChild(COND(XCOLD_H, XCOLD_E));\r\n\t\t\tvar e = el('details', 'usb-group');\r\n\t\t\te.appendChild(el('summary', '', T('\u05de\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d4\u05d0\u05d5\u05db\u05dc \u05d4\u05de\u05d5\u05db\u05df \u05dc\u05e9\u05d1\u05ea', 'From the Shabbat ready-food menu')));\r\n\t\t\tcat.extras.forEach(function (it) { e.appendChild(itemRow(it, '')); });\r\n\t\t\tbox.appendChild(e);\r\n\t\t}\r\n\t}\r\n\tfunction itemRow(it, opt) {\r\n\t\tvar k = xKey(it.id, curSlot, opt), q = st.x[k] || 0;\r\n\t\tvar r = el('div', 'usb-item' + (it.avail ? '' : ' out'));\r\n\t\tvar n = el('div', 'usb-iname');\r\n\t\tn.appendChild(el('strong', '', it.name + (opt ? ' \u2013 ' + (opt === 'white' ? T('\u05dc\u05d1\u05df', 'white') : T('\u05d0\u05d3\u05d5\u05dd', 'red')) : '')));\r\n\t\tn.appendChild(el('small', '', it.avail ? money(it.price) : T('\u05d0\u05d6\u05dc', 'Sold out')));\r\n\t\tr.appendChild(n);\r\n\t\tif (it.avail) {\r\n\t\t\tvar c = el('div', 'usb-stc');\r\n\t\t\tvar minus = btn('\u2212', 'usb-q', function () { st.x[k] = Math.max(0, q - 1); if (!st.x[k]) delete st.x[k]; save(); render(); });\r\n\t\t\tminus.disabled = !q; minus.setAttribute('aria-label', T('\u05e4\u05d7\u05d5\u05ea', 'Less') + ' \u2013 ' + it.name);\r\n\t\t\tvar plus = btn('+', 'usb-q', function () { st.x[k] = Math.min(50, q + 1); save(); render(); });\r\n\t\t\tplus.setAttribute('aria-label', T('\u05d4\u05d5\u05e1\u05e4\u05d4', 'Add') + ' \u2013 ' + it.name);\r\n\t\t\tc.appendChild(minus); c.appendChild(el('output', 'usb-qv', q)); c.appendChild(plus);\r\n\t\t\tr.appendChild(c);\r\n\t\t} else if (q) { delete st.x[k]; save(); }\r\n\t\treturn r;\r\n\t}\r\n\r\n\t\/* 5 \u2013 summary and payment *\/\r\n\tfunction s5(box) {\r\n\t\tbox.appendChild(el('h2', '', T('\u05e1\u05d9\u05db\u05d5\u05dd \u05d4\u05d4\u05d6\u05de\u05e0\u05d4', 'Booking summary')));\r\n\t\tvar d = dates.filter(function (x) { return x.value === st.friday; })[0];\r\n\t\tvar dl = el('dl', 'usb-sum');\r\n\t\tfunction line(a, b) { dl.appendChild(el('dt', '', a)); dl.appendChild(el('dd', '', b)); }\r\n\t\tline(T('\u05e1\u05e0\u05d9\u05e3', 'Branch'), st.branch === 'predeal' ? T('\u05e4\u05e8\u05d3\u05d9\u05d0\u05dc', 'Predeal') : T('\u05d1\u05d5\u05e7\u05e8\u05e9\u05d8', 'Bucharest'));\r\n\t\tline(T('\u05e9\u05d1\u05ea', 'Shabbat'), d ? d.label : st.friday);\r\n\t\tline(T('\u05e1\u05d5\u05e2\u05d3\u05d9\u05dd', 'Guests'), st.ad + ' ' + T('\u05de\u05d1\u05d5\u05d2\u05e8\u05d9\u05dd', 'adults') + ', ' + st.ch + ' ' + T('\u05d9\u05dc\u05d3\u05d9\u05dd', 'children') + (st.inf ? ', ' + st.inf + ' ' + T('\u05ea\u05d9\u05e0\u05d5\u05e7\u05d5\u05ea', 'infants') : ''));\r\n\t\tline(T('\u05de\u05e7\u05d5\u05dd', 'Seat'), st.table ? T('\u05e9\u05d5\u05dc\u05d7\u05df ', 'Table ') + st.table : T('\u05d4\u05de\u05e1\u05e2\u05d3\u05d4 \u05ea\u05e9\u05d1\u05e5 \u05d0\u05ea\u05db\u05dd', 'The restaurant will seat you'));\r\n\t\tbox.appendChild(dl);\r\n\t\tvar t = el('table', 'usb-lines');\r\n\t\tfunction tl(a, b, cls) { var r = el('tr', cls || ''); r.appendChild(el('td', '', a)); r.appendChild(el('td', '', b)); t.appendChild(r); }\r\n\t\tst.meals.forEach(function (m) {\r\n\t\t\tvar M = MEALS[st.branch][m];\r\n\t\t\tif (st.ad) tl(M.name + ' \u2013 ' + st.ad + ' \u00d7 ' + T('\u05de\u05d1\u05d5\u05d2\u05e8', 'adult') + ' (' + money(mealPrice(m, 'adult')) + ')', money(st.ad * mealPrice(m, 'adult')));\r\n\t\t\tif (st.ch) tl(M.name + ' \u2013 ' + st.ch + ' \u00d7 ' + T('\u05d9\u05dc\u05d3', 'child') + ' (' + money(mealPrice(m, 'child')) + ')', money(st.ch * mealPrice(m, 'child')));\r\n\t\t});\r\n\t\tvar xs = xList();\r\n\t\tslots().forEach(function (s) {\r\n\t\t\tvar own = xs.filter(function (x) { return x.meal === s; });\r\n\t\t\tif (!own.length) return;\r\n\t\t\ttl(T('\u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea \u2013 ', 'Drinks & extras \u2013 ') + SLOT_NAME[s], '', 'usb-lh');\r\n\t\t\town.forEach(function (x) { tl(x.it.name + (x.opt ? ' \u2013 ' + (x.opt === 'white' ? T('\u05dc\u05d1\u05df', 'white') : T('\u05d0\u05d3\u05d5\u05dd', 'red')) : '') + ' \u00d7 ' + x.qty, money(x.qty * Number(x.it.price))); });\r\n\t\t});\r\n\t\tif (st.tip) tl(T('\u05d8\u05d9\u05e4 \u05dc\u05de\u05dc\u05e6\u05e8\u05d9\u05dd ', 'Tip for the waiters ') + st.tip + '%', money(tipAmount()));\r\n\t\ttl(T('\u05e1\u05d4\u05f4\u05db \u05dc\u05ea\u05e9\u05dc\u05d5\u05dd', 'Total to pay'), money(mealsTotal() + xTotal() + tipAmount()), 'usb-total');\r\n\t\tbox.appendChild(t);\r\n\t\tif (st.branch === 'bucharest' && st.meals.indexOf('lunch') >= 0) box.appendChild(COND(LUNCH_MIN_H, LUNCH_MIN_E));\r\n\t\tif (xs.some(function (x) { return x.it.cat === 'shabbat-catering-menu'; })) box.appendChild(COND(XCOLD_H, XCOLD_E));\r\n\t\tvar miss = slots().filter(function (s) { return drinksFor(s) < guests(); });\r\n\t\tif (miss.length) {\r\n\t\t\tvar nd = el('div', 'usb-drinks-note');\r\n\t\t\tnd.appendChild(el('p', '', T('\u05e2\u05d3\u05d9\u05d9\u05df \u05d7\u05e1\u05e8\u05d4 \u05e9\u05ea\u05d9\u05d9\u05d4 \u05dc', 'Some guests still have no drink for ') + miss.map(function (s) { return SLOT_NAME[s]; }).join(', ') + T('. \u05d4\u05de\u05d7\u05d9\u05e8 \u05d0\u05d9\u05e0\u05d5 \u05db\u05d5\u05dc\u05dc \u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05d0\u05dc\u05db\u05d5\u05d4\u05d5\u05dc \u2013 \u05de\u05d5\u05de\u05dc\u05e5 \u05dc\u05d4\u05d6\u05de\u05d9\u05df \u05de\u05e9\u05e7\u05d4 \u05dc\u05db\u05dc \u05e1\u05d5\u05e2\u05d3 \u05de\u05e8\u05d0\u05e9.', '. The price does not include drinks or alcohol \u2013 we recommend ordering a drink for every guest in advance.')));\r\n\t\t\tnd.appendChild(btn(T('\u05dc\u05d4\u05d5\u05e1\u05e4\u05ea \u05e9\u05ea\u05d9\u05d9\u05d4', 'Add drinks'), 'usb-btn usb-main', function () { curSlot = miss[0]; go(4); }));\r\n\t\t\tbox.appendChild(nd);\r\n\t\t}\r\n\t\tvar tw = el('div', 'usb-tip');\r\n\t\ttw.appendChild(el('strong', '', T('\u05d8\u05d9\u05e4 \u05dc\u05de\u05dc\u05e6\u05e8\u05d9\u05dd', 'Tip for the waiters')));\r\n\t\tvar tb2 = el('div', 'usb-tabs'); tb2.setAttribute('role', 'radiogroup');\r\n\t\t[5, 10, 15, 0].forEach(function (p) {\r\n\t\t\tvar b = btn(p ? p + '%' : T('\u05d1\u05dc\u05d9 \u05d8\u05d9\u05e4', 'No tip'), 'usb-tab' + (st.tip === p ? ' on' : ''), function () { st.tip = p; save(); render(); });\r\n\t\t\tb.setAttribute('role', 'radio'); b.setAttribute('aria-checked', st.tip === p ? 'true' : 'false');\r\n\t\t\ttb2.appendChild(b);\r\n\t\t});\r\n\t\ttw.appendChild(tb2);\r\n\t\ttw.appendChild(el('small', '', T('\u05de\u05d7\u05d5\u05e9\u05d1 \u05e2\u05dc \u05d4\u05e1\u05e2\u05d5\u05d3\u05d5\u05ea, \u05d4\u05e9\u05ea\u05d9\u05d9\u05d4 \u05d5\u05d4\u05ea\u05d5\u05e1\u05e4\u05d5\u05ea.', 'Calculated on the meals, drinks and extras.')));\r\n\t\tbox.appendChild(tw);\r\n\t\tvar n1 = el('label', 'usb-field'); n1.appendChild(el('span', '', T('\u05d1\u05e7\u05e9\u05d5\u05ea \u05dc\u05e6\u05d5\u05d5\u05ea (\u05dc\u05d0 \u05d7\u05d5\u05d1\u05d4): \u05d9\u05e9\u05d9\u05d1\u05d4, \u05db\u05d9\u05e1\u05d0 \u05ea\u05d9\u05e0\u05d5\u05e7 \u05d5\u05db\u05d3\u05d5\u05de\u05d4', 'Requests for the team (optional): seating, high chair, etc.')));\r\n\t\tvar ta = el('textarea', 'usb-ta'); ta.rows = 2; ta.maxLength = 600; ta.value = st.note; ta.addEventListener('input', function () { st.note = ta.value; save(); });\r\n\t\tn1.appendChild(ta); box.appendChild(n1);\r\n\t\tvar n2 = el('label', 'usb-field'); n2.appendChild(el('span', '', T('\u05d0\u05dc\u05e8\u05d2\u05d9\u05d4 \u05d0\u05d5 \u05d4\u05ea\u05d0\u05de\u05d4 \u05ea\u05d6\u05d5\u05e0\u05ea\u05d9\u05ea (\u05dc\u05d0 \u05d7\u05d5\u05d1\u05d4) \u2013 \u05d4\u05d1\u05e7\u05e9\u05d4 \u05ea\u05d9\u05d1\u05d3\u05e7 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05d4\u05e6\u05d5\u05d5\u05ea \u05d5\u05d0\u05d9\u05e0\u05d4 \u05de\u05d5\u05d1\u05d8\u05d7\u05ea', 'Allergy or dietary request (optional) \u2013 the team will check it; it is not guaranteed')));\r\n\t\tvar tb = el('textarea', 'usb-ta'); tb.rows = 2; tb.maxLength = 400; tb.value = st.allergy; tb.addEventListener('input', function () { st.allergy = tb.value; save(); });\r\n\t\tn2.appendChild(tb); box.appendChild(n2);\r\n\t\tvar pol = el('div', 'usb-policy');\r\n\t\tpol.appendChild(el('p', '', T('\u05d1\u05d9\u05d8\u05d5\u05dc: \u05e2\u05d3 3 \u05d9\u05de\u05d9\u05dd \u05dc\u05e4\u05e0\u05d9 \u05d4\u05e9\u05d1\u05ea \u05e9\u05d4\u05d5\u05d6\u05de\u05e0\u05d4 \u2013 \u05d1\u05e2\u05de\u05dc\u05d4 \u05e9\u05dc 10%. \u05e4\u05d7\u05d5\u05ea \u05de\u05be3 \u05d9\u05de\u05d9\u05dd \u05dc\u05e4\u05e0\u05d9 \u2013 \u05dc\u05dc\u05d0 \u05d4\u05d7\u05d6\u05e8.', 'Cancellation: up to 3 days before the booked Shabbat \u2013 10% fee. Less than 3 days before \u2013 no refund.')));\r\n\t\tpol.appendChild(el('p', '', T('\u05d4\u05d4\u05d6\u05de\u05e0\u05d4 \u05de\u05d0\u05d5\u05e9\u05e8\u05ea \u05e8\u05e7 \u05d0\u05d7\u05e8\u05d9 \u05ea\u05e9\u05dc\u05d5\u05dd \u05de\u05d5\u05e6\u05dc\u05d7. \u05d0\u05d7\u05e8\u05d9 \u05d4\u05ea\u05e9\u05dc\u05d5\u05dd \u05ea\u05e7\u05d1\u05dc\u05d5 \u05de\u05e1\u05e4\u05e8 \u05d4\u05d6\u05de\u05e0\u05d4 \u05d5\u05d0\u05d9\u05e9\u05d5\u05e8.', 'The booking is confirmed only after a successful payment. After paying you will get an order number and a confirmation.')));\r\n\t\tif (C.policy) { var a = el('a', '', T('\u05de\u05d3\u05d9\u05e0\u05d9\u05d5\u05ea \u05d1\u05d9\u05d8\u05d5\u05dc\u05d9\u05dd \u05de\u05dc\u05d0\u05d4', 'Full cancellation policy')); a.href = C.policy; a.target = '_blank'; a.rel = 'noopener'; pol.appendChild(a); }\r\n\t\tbox.appendChild(pol);\r\n\t\tvar err = el('div', 'usb-err'); err.setAttribute('role', 'alert'); box.appendChild(err);\r\n\t\tvar pay = btn(T('\u05dc\u05d4\u05de\u05e9\u05da \u2013 \u05e4\u05e8\u05d8\u05d9 \u05e7\u05e9\u05e8 \u05d5\u05ea\u05e9\u05dc\u05d5\u05dd', 'Continue \u2013 contact details and payment'), 'usb-btn usb-main usb-pay', function () { book(pay, err); });\r\n\t\tbox.appendChild(pay);\r\n\t\tbox.appendChild(el('p', 'usb-small', T('\u05d1\u05e9\u05dc\u05d1 \u05d4\u05d1\u05d0 \u05de\u05de\u05dc\u05d0\u05d9\u05dd \u05e9\u05dd \u05d5\u05d8\u05dc\u05e4\u05d5\u05df \u05d5\u05de\u05e9\u05dc\u05de\u05d9\u05dd \u05d1\u05ea\u05e9\u05dc\u05d5\u05dd \u05de\u05d0\u05d5\u05d1\u05d8\u05d7.', 'Next you fill in your name and phone and pay securely.')));\r\n\t}\r\n\tfunction book(b, err) {\r\n\t\tif (busy) return;\r\n\t\tbusy = true; b.disabled = true; put(b, T('\u05d1\u05d5\u05d3\u05e7\u05d9\u05dd \u05de\u05d7\u05d9\u05e8\u05d9\u05dd, \u05de\u05e7\u05d5\u05de\u05d5\u05ea \u05d5\u05de\u05dc\u05d0\u05d9\u2026', 'Checking prices, seats and stock\u2026')); put(err, '');\r\n\t\tvar data = { lang: C.lang, branch: st.branch, friday: st.friday, nonce: dnc, meals: st.meals, adults: st.ad, children: st.ch, infants: st.inf, table: st.table, note: st.note, allergy: st.allergy, tip: st.tip,\r\n\t\t\textras: xList().map(function (x) { return { id: x.id, qty: x.qty, meal: x.meal, opt: x.opt }; }) };\r\n\t\tvar body = new URLSearchParams(); body.set('action', 'usb_book'); body.set('data', JSON.stringify(data));\r\n\t\tfetch(C.ajax, { method: 'POST', credentials: 'same-origin', headers: { 'Content-Type': 'application\/x-www-form-urlencoded; charset=UTF-8' }, body: body.toString() })\r\n\t\t\t.then(function (r) { return r.json(); })\r\n\t\t\t.then(function (r) {\r\n\t\t\t\tif (r && r.ok && r.checkout) { window.location.assign(r.checkout); return; }\r\n\t\t\t\tbusy = false; b.disabled = false; put(b, T('\u05dc\u05d4\u05de\u05e9\u05da \u2013 \u05e4\u05e8\u05d8\u05d9 \u05e7\u05e9\u05e8 \u05d5\u05ea\u05e9\u05dc\u05d5\u05dd', 'Continue \u2013 contact details and payment'));\r\n\t\t\t\tput(err, (r && r.errors && r.errors.length ? r.errors.join(' ') : T('\u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05d4\u05d9\u05d4 \u05dc\u05d4\u05e9\u05dc\u05d9\u05dd. \u05e0\u05e1\u05d5 \u05e9\u05d5\u05d1.', 'This could not be completed. Please try again.')));\r\n\t\t\t\tif (st.branch) loadBranch();\r\n\t\t\t})\r\n\t\t\t.catch(function () { busy = false; b.disabled = false; put(b, T('\u05e0\u05d9\u05e1\u05d9\u05d5\u05df \u05d7\u05d5\u05d6\u05e8', 'Try again')); put(err, T('\u05d0\u05d9\u05df \u05d7\u05d9\u05d1\u05d5\u05e8 \u05db\u05e8\u05d2\u05e2. \u05e0\u05e1\u05d5 \u05e9\u05d5\u05d1.', 'No connection right now. Please try again.')); });\r\n\t}\r\n\r\n\t\/* ---------- start ---------- *\/\r\n\tif (st.branch) { if (st.step > 2 && !st.friday) st.step = 2; loadBranch(); if (st.step === 3) floorJs(loadTables); } else { st.step = 1; render(); }\r\n})();\r\n<\/script><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-970a52f e-con-full e-flex e-con e-child\" data-id=\"970a52f\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-89ef498 e-con-full e-flex e-con e-child\" data-id=\"89ef498\" data-element_type=\"container\" data-e-type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t<div class=\"elementor-element elementor-element-92afed4 e-con-full e-flex e-con e-child\" data-id=\"92afed4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1715c24 elementor-widescreen-align-center elementor-align-center elementor-mobile-align-justify elementor-widget-mobile__width-inherit elementor-widget elementor-widget-button\" data-id=\"1715c24\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6MTA3MzcsInRvZ2dsZSI6ZmFsc2V9\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Vezi certificatele kosher<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ef95080 elementor-align-center elementor-widescreen-align-center elementor-mobile-align-justify elementor-widget-mobile__width-inherit elementor-widget elementor-widget-button\" data-id=\"ef95080\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/restaurant-menu\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Vezi tot meniul<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Orele de \u0218abat Intrare Ie\u0219ire Vezi certificatele kosher Vezi tot meniul<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-20010","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/pages\/20010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/comments?post=20010"}],"version-history":[{"count":0,"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/pages\/20010\/revisions"}],"wp:attachment":[{"href":"https:\/\/booking.moise.group\/ro\/wp-json\/wp\/v2\/media?parent=20010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}