Spaces:
Running
Running
Cover Charge prototype v0.3.12.15 (part 2)
Browse files- get/gabrielle.html +1 -1
- get/gordon.html +1 -1
- get/harvey.html +1 -1
- get/jack.html +1 -1
- get/james.html +1 -1
- get/lenny.html +1 -1
- get/lillie.html +1 -1
- get/mia.html +1 -1
- get/tracy.html +1 -1
- index.html +3 -3
- owner-app/_expo/static/js/web/__common-a3944045195b426410decb8e35f51de6.js +0 -0
- owner-app/_expo/static/js/web/_layout-3d2f124ff959de7c1bb6d15b85f34bd5.js +38 -0
- owner-app/_expo/static/js/web/index-2cb94ab9efdba8080430fd81c70b339a.js +2 -0
- owner-app/_expo/static/js/web/index-4a26aa0e7aa3388bf16fcedad45c4b7d.js +0 -0
- owner-app/_expo/static/js/web/index-a1ad644d82c9235233cdf7c8a80f8664.js +0 -0
- owner-app/index.html +1 -1
- owner-app/sw.js +2 -2
- staff-app/_expo/static/js/web/__common-64c28628c08d56d6b646dc58cd201625.js +0 -0
- staff-app/_expo/static/js/web/_layout-9b042f8b2d916f6ac89d959c684ef485.js +0 -0
- staff-app/_expo/static/js/web/index-877f12057376c80a2a26e5b83735b298.js +0 -0
- staff-app/_expo/static/js/web/index-a6c4748e94c865cb738595cca583c472.js +0 -0
- staff-app/index.html +1 -1
- staff-app/sw.js +2 -2
get/gabrielle.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Gabrielle</h1><p class="sub">Front of house · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Gabrielle</h1><p class="sub">Front of house · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/gordon.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Gordon</h1><p class="sub">General Manager · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Gordon</h1><p class="sub">General Manager · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/harvey.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Harvey</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Harvey</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/jack.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Jack</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Jack</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/james.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi James</h1><p class="sub">Owner · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi James</h1><p class="sub">Owner · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/lenny.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Lenny</h1><p class="sub">Commis Chef · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Lenny</h1><p class="sub">Commis Chef · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/lillie.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Lillie</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Lillie</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/mia.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Mia</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Mia</h1><p class="sub">Kitchen porter (KP) · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Staff</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="staff" data-platform="android" href="../staff-app/index.html" aria-label="Android phone: open Cover Charge for Staff">Android phone: open Staff app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="staff" data-platform="iphone" href="../staff-app/index.html" aria-label="iPhone: open Cover Charge for Staff">iPhone: open Staff app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
get/tracy.html
CHANGED
|
@@ -19,7 +19,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Tracy</h1><p class="sub">Owner · The Anchorage</p>
|
| 22 |
-
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
|
|
|
| 19 |
footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
|
| 20 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 21 |
<h1>Hi Tracy</h1><p class="sub">Owner · The Anchorage</p>
|
| 22 |
+
<div class="badge">Cover Charge for Managers</div><div class="badge">Current version v0.3.12.15</div>
|
| 23 |
<p>Choose your phone: <b>Android phone</b> or <b>iPhone</b>. Both are below.</p>
|
| 24 |
<section class="card plat" id="android" aria-labelledby="h-android"><h2 id="h-android">Android phone</h2><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Install app</b>, or tap the three dots menu, then <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><a class="btn" data-app="owner" data-platform="android" href="../owner-app/index.html" aria-label="Android phone: open Cover Charge for Managers">Android phone: open Managers app</a></section><section class="card plat" id="iphone" aria-labelledby="h-iphone"><h2 id="h-iphone">iPhone</h2><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold button below. The app opens and signs you in.</li><li>In the app, tap <b>Share</b> (the square with an arrow), then <b>Add to Home Screen</b>, then <b>Add</b>.</li><li>Open it from your Home Screen.</li></ol><a class="btn" data-app="owner" data-platform="iphone" href="../owner-app/index.html" aria-label="iPhone: open Cover Charge for Managers">iPhone: open Managers app</a></section>
|
| 25 |
<div class="card" id="go"><p class="muted" id="nolink">Open the personal link your manager sent you. It signs you in as you, with your name, job and access already set up. Without it you will be asked to sign in with your own details or the code your manager gives you.</p>
|
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
-
<title>Cover Charge: try the apps (v0.3.12.
|
| 7 |
<meta name="description" content="The five Cover Charge web apps: Cover Charge for Managers, Cover Charge for Staff, Cover Charge, Cover Charge for Display and Cover Charge for Head Chef.">
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
@@ -60,7 +60,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
-
<h1>Cover Charge: try the apps (v0.3.12.
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure</p>
|
| 65 |
|
| 66 |
</header>
|
|
@@ -126,7 +126,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 126 |
</section>
|
| 127 |
|
| 128 |
<footer>
|
| 129 |
-
<p>Cover Charge v0.3.12.
|
| 130 |
</footer>
|
| 131 |
</main>
|
| 132 |
</body>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
+
<title>Cover Charge: try the apps (v0.3.12.15)</title>
|
| 7 |
<meta name="description" content="The five Cover Charge web apps: Cover Charge for Managers, Cover Charge for Staff, Cover Charge, Cover Charge for Display and Cover Charge for Head Chef.">
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
+
<h1>Cover Charge: try the apps (v0.3.12.15)</h1>
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure</p>
|
| 65 |
|
| 66 |
</header>
|
|
|
|
| 126 |
</section>
|
| 127 |
|
| 128 |
<footer>
|
| 129 |
+
<p>Cover Charge v0.3.12.15</p>
|
| 130 |
</footer>
|
| 131 |
</main>
|
| 132 |
</body>
|
owner-app/_expo/static/js/web/__common-a3944045195b426410decb8e35f51de6.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/_expo/static/js/web/_layout-3d2f124ff959de7c1bb6d15b85f34bd5.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return L}});var t=r(_d[0]),s=r(_d[1]),o=r(_d[2]),n=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}}),t.default=e,t})(r(_d[3])),u=r(_d[4]),c=r(_d[5]),l=e(r(_d[6])),d=e(r(_d[7]));r(_d[8]);var f=e(r(_d[9])),p=e(r(_d[10])),h=r(_d[11]),y=r(_d[12]),S=r(_d[13]),O=r(_d[14]),j=r(_d[15]),_=r(_d[16]),b=r(_d[17]),w=r(_d[18]),P=r(_d[19]),x=r(_d[20]);r(_d[21]);var E=r(_d[22]),k=r(_d[23]),v=r(_d[24]),H=r(_d[25]),A=r(_d[26]),T=r(_d[27]),B=r(_d[28]);const F=r(_d[29]),C=r(_d[30]),R=r(_d[31]),I=r(_d[32]);function L(){const[e]=(0,t.useFonts)({Poppins_400Regular:F,Poppins_500Medium:C,Poppins_600SemiBold:R,Poppins_700Bold:I}),[P,H]=(0,c.useState)(O.useStore.persist.hasHydrated()),[A,T]=(0,c.useState)(_.useOwner.persist.hasHydrated()),L=P&&A;(0,c.useEffect)(()=>{const e=O.useStore.persist.onFinishHydration(()=>H(!0)),t=_.useOwner.persist.onFinishHydration(()=>T(!0));return O.useStore.persist.hasHydrated()&&H(!0),_.useOwner.persist.hasHydrated()&&T(!0),()=>{e(),t()}},[]),(0,c.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===O.useStore.persist.getOptions().name&&O.useStore.persist.rehydrate(),e.key===j.useFloor.persist.getOptions().name&&j.useFloor.persist.rehydrate(),e.key===s.useBlocks.persist.getOptions().name&&s.useBlocks.persist.rehydrate()};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]),(0,c.useEffect)(()=>{L&&_.useOwner.getState().syncRoster()},[L]),(0,c.useEffect)(()=>{L&&(0,x.startAppSync)()},[L]);const M=e&&L,G=(0,o.usePathname)(),N=M&&!(0,y.isAllowedPath)(G||'/');return(0,c.useEffect)(()=>{if(!N)return;const e=setTimeout(()=>o.router.replace(y.ENTRY[y.APP_VARIANT]),0);return()=>clearTimeout(e)},[N,G]),(0,c.useEffect)(()=>{M&&n.hideAsync().catch(()=>{})},[M]),M?(0,B.jsxs)(S.SafeAreaProvider,{children:[(0,B.jsx)(u.StatusBar,{style:"light"}),(0,B.jsx)(p.default,{style:{flex:1},children:(0,B.jsx)(o.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:b.colours.bg}}})}),N?(0,B.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:b.colours.bg}]}):null,N?null:(0,B.jsx)(k.VoiceHost,{}),(0,B.jsx)(E.SyncBadge,{}),(0,B.jsx)(w.InviteGate,{}),N?null:(0,B.jsx)(v.SliderHost,{})]}):(0,B.jsxs)(p.default,{style:{flex:1,backgroundColor:b.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[h.HERO_LOGOS.anchorage?(0,B.jsx)(d.default,{source:h.HERO_LOGOS.anchorage,accessibilityLabel:"The Anchorage logo",style:{width:180,height:180},resizeMode:"contain"}):null,(0,B.jsx)(l.default,{color:b.colours.gold})]})}H.PITCH&&(globalThis.__pitch={useStore:O.useStore,useOwner:_.useOwner,useFloor:j.useFloor,useBlocks:s.useBlocks,useSession:P.useSession,useCashUp:A.useCashUp,seedPitch:T.seedPitch},setTimeout(()=>{try{(0,T.seedPitch)()}catch(e){console.warn('pitch seed',e)}},1500)),P.START_INVITE,n.preventAutoHideAsync().catch(()=>{})},792,[1061,813,794,1088,557,20,236,186,112,36,117,873,796,279,808,814,826,810,975,830,809,1090,1091,1092,864,2,992,1093,14,1094,1095,1096,1097]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return o.useFonts}});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(d[2])},1061,[1062,1085,1087]);
|
| 3 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FontDisplay",{enumerable:!0,get:function(){return y.FontDisplay}}),_e.isLoaded=F,_e.getLoadedFonts=function(){return t.default.getLoadedFonts()},_e.isLoading=function(e){return e in c.loadPromises},_e.loadAsync=function(e,n){const t='undefined'==typeof window;if(Array.isArray(e)){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e;if(t){(0,l.assertValidFontFamilyDefinitions)(s);for(const{fontFamily:e,fontDefinitions:o}of s){(0,l.assertValidFontFaces)(e,o);for(const n of o)(0,u.registerStaticFont)(e,(0,f.fontSourceFromFace)(n))}return Promise.resolve()}try{(0,l.assertValidFontFamilyDefinitions)(s)}catch(e){return Promise.reject(e)}return Promise.all(s.map(w)).then(()=>{})}if('object'==typeof e){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e,l=Object.keys(s);return t?(l.map(e=>(0,u.registerStaticFont)(e,s[e])),Promise.resolve()):Promise.all(l.map(e=>h(e,s[e]))).then(()=>{})}if(t)return(0,u.registerStaticFont)(e,n),Promise.resolve();return h(e,n)},_e.unloadAllAsync=async function(){if(!t.default.unloadAllAsync)throw new o.UnavailabilityError('expo-font','unloadAllAsync');if(Object.keys(c.loadPromises).length)throw new o.CodedError("ERR_UNLOAD",`Cannot unload fonts while they're still loading: ${Object.keys(c.loadPromises).join(', ')}`);(0,c.purgeCache)(),await t.default.unloadAllAsync()},_e.unloadAsync=async function(e,n){if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');if('object'==typeof e){if(n)throw new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided options: ${n}. The second argument of \`unloadAsync()\` can only be used with a \`string\` value as the first argument.`);const t=e,s=Object.keys(t);return void await Promise.all(s.map(e=>p(e,t[e])))}return await p(e,n)};var e,o=r(d[0]),n=r(d[1]),t=(e=n)&&e.__esModule?e:{default:e},s=r(d[2]),l=r(d[3]),f=r(d[4]),c=r(d[5]),u=r(d[6]),y=r(d[7]);function F(e){if('function'!=typeof t.default.isLoaded)throw new Error("expected ExpoFontLoader.isLoaded to be a function, was "+typeof t.default.isLoaded);return(0,c.isLoadedInCache)(e)||t.default.isLoaded(e)}async function w(e){const{fontFamily:o,fontDefinitions:n}=e;if((0,l.assertValidFontFaces)(o,n),c.loadPromises.hasOwnProperty(o))return c.loadPromises[o];F(o)||(c.loadPromises[o]=(async()=>{try{await(0,s.loadFontFamilyAsync)(o,n),(0,c.markLoaded)(o)}finally{delete c.loadPromises[o]}})(),await c.loadPromises[o])}async function h(e,n){if(!n)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${n} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);if(c.loadPromises.hasOwnProperty(e))return c.loadPromises[e];if(F(e))return;const t=(0,s.getAssetForSource)(n);c.loadPromises[e]=(async()=>{try{await(0,s.loadSingleFontAsync)(e,t),(0,c.markLoaded)(e)}finally{delete c.loadPromises[e]}})(),await c.loadPromises[e]}async function p(e,n){if(F(e)){if((0,c.purgeFontFamilyFromCache)(e),!e)throw new o.CodedError("ERR_FONT_FAMILY","Cannot unload an empty name");if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');await t.default.unloadAsync(e,n)}}},1062,[291,1063,1066,1080,1081,1082,1083,1084]);
|
| 4 |
+
__d(function(g,r,_i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return p}}),e._matchesFontFaceOptions=l,e._fontFaceRuleSrcMatches=f,e._createWebFontTemplate=R;var t=r(d[0]),n=r(d[1]);function s(){if('undefined'==typeof window)return null;const t=S();return t.sheet?t.sheet:null}function o(){const t=s();if(t){const n=[...t.cssRules],s=[];for(let t=0;t<n.length;t++){const o=n[t];o instanceof CSSFontFaceRule&&s.push({rule:o,index:t})}return s}return[]}function i(t){const n=t?.trim();if(!n)return'';const s=n[0];return n.length>=2&&('"'===s||"'"===s)&&n.endsWith(s)?n.slice(1,-1).replace(/\\(.)/g,'$1'):n}function u(t){if(null==t||''===t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const s=Number(n);return Number.isFinite(s)?s:n}function l(t,n,s){return i(t.style.fontFamily)===n&&((!s?.display||s.display===t.style.fontDisplay)&&((null==s?.weight||u(s.weight)===u(t.style.fontWeight))&&(null==s?.style||s.style===t.style.fontStyle)))}function c(t,n){return o().filter(({rule:s})=>l(s,t,n))}function f(t,n){const s=t.style.getPropertyValue('src').match(/url\((['"]?)([^'")]*)\1\)/);if(!s)return!0;let o=s[2]??'';try{o=decodeURIComponent(o)}catch{}return o===String(n)}const a={async unloadAllAsync(){if('undefined'==typeof window)return;const t=document.getElementById(w);t&&t instanceof HTMLStyleElement&&document.removeChild(t)},async unloadAsync(t,n){const o=s();if(!o)return;const i=[...c(t,n)].sort((t,n)=>n.index-t.index);for(const t of i)o.deleteRule(t.index)},getServerResources:()=>(0,n.getServerResourceDescriptors)().map(t=>{switch(t.type){case'style':return`<style id="${t.id}">${t.css}</style>`;case'link':return`<link rel="${t.rel}" href="${t.href}" as="${t.as}" crossorigin="${t.crossOrigin}" />`;default:return''}}).filter(Boolean),getServerResourceDescriptors:()=>(0,n.getServerResourceDescriptors)(),getLoadedFonts(){if('undefined'==typeof window)return(0,n.getLoadedServerFonts)();const t=new Set,s=[];for(const{rule:n}of o()){const o=i(n.style.fontFamily);t.has(o)||(t.add(o),s.push(o))}return s},isLoaded:(t,s={})=>'undefined'==typeof window?(0,n.isServerFontLoaded)(t):c(t,s)?.length>0,loadAsync(s,o){if('undefined'==typeof window)return(0,n.addServerFont)({name:s,css:R(s,o),resourceId:o.uri}),Promise.resolve();if(!(document.head&&'function'==typeof document.head.appendChild))throw new t.CodedError('ERR_WEB_ENVIRONMENT',"The browser's `document.head` element doesn't support injecting fonts.");const i=S();i.isConnected||document.head.appendChild(i);if(c(s,o).some(({rule:t})=>f(t,o.uri))||b(s,o),'function'!=typeof document.fonts?.load)return Promise.resolve();let u='';return'string'==typeof o.style&&$.test(o.style)&&(u+=`${o.style} `),('number'==typeof o.weight&&Number.isFinite(o.weight)||'string'==typeof o.weight&&($.test(o.weight)||F.test(o.weight)&&!o.weight.includes(' ')))&&(u+=`${o.weight} `),h(document.fonts.load(`${u}1em ${JSON.stringify(s)}`),s)}},y=12e3;function h(n,s){let o;const i=new Promise((n,i)=>{o=setTimeout(()=>{i(new t.CodedError('ERR_DOWNLOAD',`Fetching the font family "${s}" timed out after ${y}ms. Check that the font URL is reachable and served with CORS headers.`))},y)});return Promise.race([n,i]).finally(()=>clearTimeout(o)).then(()=>{})}var p='undefined'==typeof window?a:(0,t.registerWebModule)(function(){return a},'ExpoFontLoader');const w='expo-generated-fonts';function S(){const t=document.getElementById(w);if(t&&t instanceof HTMLStyleElement)return t;const n=document.createElement('style');return n.id=w,n}const $=/^[a-zA-Z_-][\w-]*$/,F=/^(1000|[1-9]\d{0,2})( (1000|[1-9]\d{0,2}))?$/;function R(t,n){const s=[`font-family:${JSON.stringify(t)}`,`src:url(${JSON.stringify(n.uri)})`];return'string'==typeof n.display&&$.test(n.display)&&s.push(`font-display:${n.display}`),('number'==typeof n.weight&&Number.isFinite(n.weight)||'string'==typeof n.weight&&($.test(n.weight)||F.test(n.weight)))&&s.push(`font-weight:${n.weight}`),'string'==typeof n.style&&$.test(n.style)&&s.push(`font-style:${n.style}`),`@font-face{${s.join(';')}}`}function b(t,n){const s=R(t,n),o=S();if(o.styleSheet){const t=o;t.styleSheet.cssText=t.styleSheet.cssText?t.styleSheet.cssText+s:s}else if(o.sheet)o.sheet.insertRule(s,o.sheet.cssRules.length);else{const t=document.createTextNode(s);o.appendChild(t)}return o}},1063,[291,1064]);
|
| 5 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.withServerContext=function(n){if('undefined'!=typeof window)return n();return s().run(new Map,n)},e.addServerFont=function(n){const t=u();t.has(n.css)||t.set(n.css,n)},e.getServerResourceDescriptors=function(){const n=[...u().values()];if(!n.length)return[];const o=n.map(({css:n})=>n).join('\n'),s=[...new Set(n.map(({resourceId:n})=>n))];return[{css:o,id:t,type:'style'},...s.map(n=>({as:'font',crossOrigin:'',href:n,rel:'preload',type:'link'}))]},e.getLoadedServerFonts=function(){const n=s().getStore();if(!n)return[];return[...new Set([...n.values()].map(({name:n})=>n))]},e.isServerFontLoaded=function(n){const t=s().getStore();if(!t)return!1;for(const o of t.values())if(o.name===n)return!0;return!1};var n=r(d[0]);const t='expo-generated-fonts';let o=null;function s(){if('undefined'!=typeof window)throw new Error('expo-font server context is server-only and cannot be used in the browser.');return o||(o=new n.AsyncLocalStorage),o}function u(){const n=s().getStore();if(!n)throw new Error("expo-font server context accessed outside of withServerContext(). Wrap your server-side font usage in withServerContext(() => /* server code */).");return n}},1064,[1065]);
|
| 6 |
+
__d(function(g,r,i,a,m,e,d){},1065,[]);
|
| 7 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.getAssetForSource=p,_e.loadFontFamilyAsync=async function(t,e){await Promise.all(e.map(e=>{const o=p((0,f.fontSourceFromFace)(e));return j(t,o)}))},_e.loadSingleFontAsync=j;var t,e=r(d[0]),o=r(d[1]),n=r(d[2]),u=(t=n)&&t.__esModule?t:{default:t};r(d[3]);var f=r(d[4]);function s(t){return'string'==typeof t?t||null:'number'==typeof t?s(e.Asset.fromModule(t)):'object'==typeof t&&'number'==typeof t.uri?s(t.uri):'object'==typeof t&&(t.uri||t.localUri||t.default)||null}function c(t){if('object'==typeof t&&'display'in t)return t.display??void 0}function l(t){if('object'==typeof t&&'weight'in t)return t.weight??void 0}function y(t){if('object'==typeof t&&'style'in t)return t.style??void 0}function p(t){const e=s(t),o=c(t),n=l(t),u=y(t);return e&&'string'==typeof e||b(e),{uri:e,display:o,weight:n,style:u}}function b(t){let e=typeof t;throw'object'===e&&(e=JSON.stringify(t,null,2)),new o.CodedError("ERR_FONT_SOURCE",`Expected font asset of type \`string | FontResource | Asset\` instead got: ${e}`)}function j(t,e){return('object'!=typeof e||'string'!=typeof e.uri||e.downloadAsync)&&b(e),u.default.loadAsync(t,e)}},1066,[1067,291,1063,1080,1081]);
|
| 8 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},1067,[1068,1069,1079]);
|
| 9 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";var e,t=r(d[0]),s=r(d[1]),u=r(d[2]),o=(e=u)&&e.__esModule?e:{default:e};if(s.IS_ENV_WITH_LOCAL_ASSETS){(o.default.setCustomSourceTransformer||u.setCustomSourceTransformer)(function(e){try{if('fileHashes'in e.asset&&e.asset.fileHashes){const s=t.Asset.fromMetadata(e.asset);return s.uri.startsWith(t.ANDROID_EMBEDDED_URL_BASE_RESOURCE)?e.resourceIdentifierWithoutScale():e.fromSource(s.downloaded?s.localUri:s.uri)}return e.defaultAsset()}catch{return e.defaultAsset()}})}},1068,[1069,1073,1078]);
|
| 10 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){if('default'!==s){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}}),e.default=t,e}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ANDROID_EMBEDDED_URL_BASE_RESOURCE",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"Asset",{enumerable:!0,get:function(){return w}}),r(_d[0]);var s=t(r(_d[1])),n=r(_d[2]),h=e(r(_d[3])),o=r(_d[4]),l=e(r(_d[5])),u=r(_d[6]),d=r(_d[7]),c=t(r(_d[8]));function f(t){return!!t&&'object'==typeof t&&'uri'in t&&'string'==typeof t.uri}const y='file:///android_res/';class w{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:t,type:e,hash:s=null,uri:n,width:o,height:l}){this.name=t,this.type=e,this.hash=s,this.uri=n,'number'==typeof o&&(this.width=o),'number'==typeof l&&(this.height=l),s&&(this.localUri=(0,u.getLocalAssetUri)(s,e),this.localUri?.startsWith(y)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),t||(this.name=h.getFilename(n)),e||(this.type=h.getFileExtension(n))}static loadAsync(t){const e=Array.isArray(t)?t:[t];return Promise.all(e.map(t=>w.fromModule(t).downloadAsync()))}static fromModule(t){if('string'==typeof t)return w.fromURI(t);if(f(t)){const e=h.getFileExtension(t.uri);return new w({name:'',type:e.startsWith('.')?e.substring(1):e,hash:null,uri:t.uri,width:t.width,height:t.height})}const e=s.default.getAssetByID(t);if(!e)throw new Error(`Module "${t}" is missing from the asset registry`);if(!d.IS_ENV_WITH_LOCAL_ASSETS){const{uri:s}=(0,c.default)(t),n=new w({name:e.name,type:e.type,hash:e.hash,uri:s,width:e.width,height:e.height});return w.byHash[e.hash]=n,n}return w.fromMetadata(e)}static fromMetadata(t){const e=t.hash,s=w.byHash[e];if(s)return s;const{uri:h,hash:o}=(0,n.selectAssetSource)(t),l=new w({name:t.name,type:t.type,hash:o,uri:h,width:t.width,height:t.height});return w.byHash[e]=l,l}static fromURI(t){if(w.byUri[t])return w.byUri[t];let e='';if(t.indexOf(';base64')>-1)e=t.split(';')[0]?.split('/')[1]??'';else{const s=h.getFileExtension(t);e=s.startsWith('.')?s.substring(1):s}const s=new w({name:'',type:e,hash:null,uri:t});return w.byUri[t]=s,s}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((t,e)=>{this._downloadCallbacks.push({resolve:t,reject:e})}),this;this.downloading=!0;try{if(l.isImageType(this.type)){const{width:t,height:e,name:s}=await l.getImageInfoAsync(this.uri);this.width=t,this.height=e,this.name=s}else this.name=h.getFilename(this.uri);this.localUri=await(0,o.downloadAsync)(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:t})=>t())}catch(t){throw this._downloadCallbacks.forEach(({reject:e})=>e(t)),t}finally{this.downloading=!1,this._downloadCallbacks=[]}return this}}},1069,[291,222,1070,1074,1075,1076,1077,1073,1078]);
|
| 11 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.selectAssetSource=function(e){const t=o.default.pickScale(e.scales,s.default.get()),f=e.scales.findIndex(e=>e===t),l=e.fileHashes?.[f]??e.fileHashes?.[0]??e.hash,p=e.fileUris?e.fileUris[f]??e.fileUris[0]:e.uri;if(p)return{uri:c(p),hash:l};const U=1===t?'':`@${t}x`,v=e.type?`.${encodeURIComponent(e.type)}`:'',x=`/${encodeURIComponent(e.name)}${U}${v}`,L=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation)){return{uri:e.httpServerLocation+x+'?'+L,hash:l}}const R=(0,h.getManifest2)(),S=R?.extra?.expoGo?.developer?u(R):null;if(S){const t=new URL(e.httpServerLocation+x,S);return t.searchParams.set('platform',"web"),t.searchParams.set('hash',e.hash),{uri:t.href,hash:l}}if(n.default.ExponentKernel)return{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(l)}`,hash:l};return{uri:'',hash:l}},_e.resolveUri=c,r(d[0]);var t=r(d[1]),s=e(r(d[2])),n=e(r(d[3])),o=e(r(d[4])),h=r(d[5]);function u(e){const s=(0,t.getBundleOrigin)();if(s)return s;const n=e.extra?.expoGo?.debuggerHost;if(!n)return null;return(h.manifestBaseUrl?.startsWith('https://')?'https://':'http://')+n}function c(e){return h.manifestBaseUrl?new URL(e,h.manifestBaseUrl).href:e}},1070,[291,1071,189,102,1072,1073]);
|
| 12 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBundleUrl",{enumerable:!0,get:function(){return t.getBundleUrl}}),e.getBundleOrigin=function(n=(0,t.getBundleUrl)()){if(!n)return null;try{const{protocol:t,origin:u}=new URL(n);return'http:'===t||'https:'===t?u:null}catch{return null}};var t=r(d[0])},1071,[565]);
|
| 13 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}}),r(d[0]);var e,t=r(d[1]),s=(e=t)&&e.__esModule?e:{default:e};function c(e){const t=n.pickScale(e.scales,s.default.get()),c=1===t?'':'@'+t+'x',o=e.type?`.${e.type}`:'';return e.httpServerLocation.replace(/\.\.\//g,'_')+'/'+e.name+c+o}class n{constructor(e,t,s){this.serverUrl=e||'https://expo.dev',this.jsbundleUrl=null,this.asset=s}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(c(this.asset),this.serverUrl);return e.searchParams.set('platform',"web"),e.searchParams.set('hash',this.asset.hash),this.fromSource(e.toString().replace(e.origin,''))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:n.pickScale(this.asset.scales,s.default.get())}}static pickScale(e,t){for(const s of e)if(s>=t)return s;return e[e.length-1]||1}}},1072,[291,189]);
|
| 14 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"IS_ENV_WITH_LOCAL_ASSETS",{enumerable:!0,get:function(){return t}}),e.getLocalAssets=function(){return{}},e.getManifest2=function(){return{}},Object.defineProperty(e,"manifestBaseUrl",{enumerable:!0,get:function(){return n}});const t=!1;const n=null},1073,[]);
|
| 15 |
+
__d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{pathname:s,searchParams:o}=new URL(t,'https://e');return n(s)}function n(t){return t.substring(t.lastIndexOf('/')+1)}Object.defineProperty(e,'__esModule',{value:!0}),e.getFilename=t,e.getFileExtension=function(n){const s=t(n),o=s.lastIndexOf('.');return o>0?s.substring(o):''},e.getManifestBaseUrl=function(t){const n=new URL(t);let s=n.protocol;'exp:'===s?s='http:':'exps:'===s&&(s='https:');n.protocol=s;const o=n.pathname.substring(0,n.pathname.lastIndexOf('/')+1);return n.pathname=o,n.search='',n.hash='',n.protocol!==s?n.href.replace(n.protocol,s):n.href}},1074,[]);
|
| 16 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.downloadAsync=async function(n,t,c){return n}},1075,[]);
|
| 17 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isImageType=function(n){return/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)},e.getImageInfoAsync=function(t){if('undefined'==typeof window)return Promise.resolve({name:(0,n.getFilename)(t),width:0,height:0});return new Promise((o,u)=>{const s=new Image;s.onerror=u,s.onload=()=>{o({name:(0,n.getFilename)(t),width:s.naturalWidth,height:s.naturalHeight})},s.src=t})};var n=r(d[0])},1076,[1074]);
|
| 18 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getLocalAssetUri=function(t,n){return null}},1077,[]);
|
| 19 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}}),_e.setCustomSourceTransformer=o,Object.defineProperty(_e,"pickScale",{enumerable:!0,get:function(){return l}});var t=e(r(d[0])),n=e(r(d[1]));let u;function o(e){u=e}function c(e){if('object'==typeof e)return e;const o=t.default.getAssetByID(e);if(!o)return null;const c=new n.default('https://expo.dev',null,o);return u?u(c):c.defaultAsset()}Object.defineProperty(c,'setCustomSourceTransformer',{get:()=>o});var f=c;const{pickScale:l}=n.default},1078,[222,1072]);
|
| 20 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useAssets=function(u){const[c,n]=(0,t.useState)(),[o,f]=(0,t.useState)();return(0,t.useEffect)(()=>{s.Asset.loadAsync(u).then(n).catch(f)},[]),[c,o]};var t=r(d[0]),s=r(d[1])},1079,[20,1069]);
|
| 21 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.normalizeWeight=o,e.normalizeStyle=f,e.resolveFaceWeight=l,e.resolveFaceStyle=c,e.assertValidFontFaces=function(t,s){if('string'!=typeof t||0===t.length)throw new n.CodedError("ERR_FONT_API",`Expected a non-empty string for \`fontFamily\`, instead got ${JSON.stringify(t)}. Set \`fontFamily\` to the name to use as the \`fontFamily\` style prop.`);if(!Array.isArray(s)||0===s.length)throw new n.CodedError("ERR_FONT_API",`No font faces were provided for font family "${t}". Set \`fontDefinitions\` to a non-empty array of \`FontFaceDefinition\`s.`);const y=new Set;for(const u of s){if('object'!=typeof u||null===u||null==u.path)throw new n.CodedError("ERR_FONT_API",`A face of font family "${t}" has no \`path\`. Set the face's \`path\` to a \`FontSource\`.`);const s=o(l(u)),h=f(c(u));if(void 0===s||void 0===h)continue;const F=`${s}/${h}`;if(y.has(F))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" declares two faces with weight ${s} and style "${h}". Give each face a distinct weight or style so the correct face is selected at render time.`);y.add(F)}},e.assertValidFontFamilyDefinitions=function(t){const o=new Set;for(const f of t){if('object'!=typeof f||null===f||Array.isArray(f)||!('fontFamily'in f)||!('fontDefinitions'in f))throw new n.CodedError("ERR_FONT_API",`Expected an object with \`fontFamily\` and \`fontDefinitions\`, instead got ${JSON.stringify(f)}. Set each array element to \`{ fontFamily, fontDefinitions }\`.`);const{fontFamily:t}=f;if(o.has(t))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" is declared more than once in this \`loadAsync\` call. Declare each \`fontFamily\` once, with all of its faces in one \`fontDefinitions\` array.`);o.add(t)}};var t=r(d[0]),n=r(d[1]);function o(t){if(null==t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const o=Number(n);return Number.isFinite(o)?o:void 0}function f(t){if(null==t)return;const n=t.trim().toLowerCase();return'italic'===n||'oblique'===n?'italic':'normal'}function s(n){if(!(n instanceof t.Asset||'string'==typeof n||'number'==typeof n))return n}function l(t){return t.weight??s(t.path)?.weight}function c(t){return t.style??s(t.path)?.style}},1080,[1067,291]);
|
| 22 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.fontSourceFromFace=function(n){const{path:o,display:s}=n,u=(0,l.resolveFaceWeight)(n),c=(0,l.resolveFaceStyle)(n);if(o instanceof t.Asset)return{uri:o.uri,...void 0!==u?{weight:u}:null,...void 0!==c?{style:c}:null,...void 0!==s?{display:s}:null};const y='string'==typeof o||'number'==typeof o?{uri:o}:o;return{...y,weight:u,style:c,display:s??y.display}};var t=r(d[0]),l=r(d[1])},1081,[1067,1080]);
|
| 23 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"loadPromises",{enumerable:!0,get:function(){return o}}),_e.markLoaded=function(e){u[e]=!0},_e.isLoadedInCache=c,_e.isLoadedNative=function(e){if(c(e))return!0;{const n=t.default.getLoadedFonts();return!!n?.length&&(n.forEach(e=>{u[e]=!0}),e in u)}},_e.purgeFontFamilyFromCache=function(e){delete u[e]},_e.purgeCache=function(){u={}};var e,n=r(d[0]),t=(e=n)&&e.__esModule?e:{default:e};const o={};let u={};function c(e){return e in u}},1082,[1063]);
|
| 24 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"withServerContext",{enumerable:!0,get:function(){return u.withServerContext}}),_e.getServerResources=function(){if(!n.default.getServerResources)throw new t.UnavailabilityError('expo-font','getServerResources');return n.default.getServerResources()},_e.getServerResourceDescriptors=function(){if(!n.default.getServerResourceDescriptors)throw new t.UnavailabilityError('expo-font','getServerResourceDescriptors');return n.default.getServerResourceDescriptors()},_e.registerStaticFont=function(e,o){if(!o)throw new t.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${o} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);const n=(0,s.getAssetForSource)(o);(0,s.loadSingleFontAsync)(e,n)};var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},s=r(d[2]),u=r(d[3])},1083,[291,1063,1066,1064]);
|
| 25 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FontDisplay",{enumerable:!0,get:function(){return t}});var t=(function(t){return t.AUTO="auto",t.SWAP="swap",t.BLOCK="block",t.FALLBACK="fallback",t.OPTIONAL="optional",t})({})},1084,[]);
|
| 26 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.renderToImageAsync=async function(e,l){if(!t.default)throw new o.UnavailabilityError('expo-font','ExpoFontUtils.renderToImageAsync');return await t.default.renderToImageAsync(e,{...l,color:l?.color?(0,n.default)(l.color):void 0})};var o=r(d[0]),n=e(r(d[1])),t=e(r(d[2]))},1085,[291,43,1086]);
|
| 27 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});var t=r(d[0]);class n extends t.NativeModule{async renderToImageAsync(n,o){throw new t.UnavailabilityError('expo-font','renderToImageAsync')}}var o=(0,t.registerWebModule)(n,'ExpoFontUtils')},1086,[291]);
|
| 28 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return u}});var t=r(d[0]),n=r(d[1]);function o(t){return'string'==typeof t?(0,n.isLoaded)(t):Array.isArray(t)?t.every(t=>{const o=t?.fontFamily;return'string'==typeof o&&(0,n.isLoaded)(o)}):Object.keys(t).every(t=>(0,n.isLoaded)(t))}const u='undefined'==typeof window?function(t){return(0,n.loadAsync)(t),[!0,null]}:function(u){const[s,c]=(0,t.useState)(o(u)),[f,y]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let t=!0;return(0,n.loadAsync)(u).then(()=>{t&&c(!0)}).catch(n=>{t&&y(n)}),()=>{t=!1}},[]),[s,f]}},1087,[20,1062]);
|
| 29 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1088,[1089]);
|
| 30 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.preventAutoHideAsync=async function(){return!1},e.setOptions=function(n){},e.hide=function(){},e.hideAsync=async function(){}},1089,[]);
|
| 31 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"sharedRecipeCards",{enumerable:!0,get:function(){return l}});var c=r(d[0]),s=r(d[1]),n=r(d[2]);const o=()=>{const c=n.useSync.getState();return'live'===c.mode&&'guest'!==c.kind&&!!c.venueId};function t(c){if(o()&&!(0,n.can)(c))throw new Error('recipes.signoff'===c?'Only the head chef can sign off a recipe card.':'Only the head chef, managers and owners can change recipe cards.')}const l={mode:'shared',list:s=>c.localRecipeCards.list(s),get:s=>c.localRecipeCards.get(s),byMenuItem:s=>c.localRecipeCards.byMenuItem(s),subscribe:s=>c.localRecipeCards.subscribe(s),create:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.create(s,n,o)),update:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.update(s,n,o)),signOff:async(s,n)=>(t('recipes.signoff'),c.localRecipeCards.signOff(s,n)),remove:async(s,n)=>(t('recipes.edit'),c.localRecipeCards.remove(s,n)),savePhoto:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.savePhoto(s,n,o)),photoSource:s=>c.localRecipeCards.photoSource(s)};function p(){const n=o()?l:c.localRecipeCards;(0,s.recipeCards)()!==n&&(0,s.setRecipeCardRepository)(n)}p(),n.useSync.subscribe((c,s)=>{c.mode===s.mode&&c.kind===s.kind&&c.venueId===s.venueId||p()})},1090,[1098,820,809]);
|
| 32 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"STRIP",{enumerable:!0,get:function(){return I}}),_e.SyncBadge=function(){const e=(0,h.useSync)(),[C,P]=(0,n.useState)(!1),[R,S]=(0,n.useState)(''),z=(0,n.useRef)(e.failed),[k,w]=(0,n.useState)(!1),[A,N]=(0,n.useState)(''),W=(0,p.useDisplaySettings)(b.VENUE_RID),_=(0,x.useScreensaverAsleep)(e=>e.asleep);(0,n.useEffect)(()=>{if(e.failed>z.current){S('A change couldn\u2019t be saved to the shared system. It\u2019s kept on this device.');const n=setTimeout(()=>S(''),6e3);return z.current=e.failed,()=>clearTimeout(n)}z.current=e.failed},[e.failed]);const E='off'===e.mode&&(v.PITCH||!(0,T.isSupabaseConfigured)());if('customer'===u.APP_VARIANT||'off'===e.mode&&!E)return null;if(_)return null;const H='live'===e.mode,L='display'===u.APP_VARIANT,O=E?v.PITCH?'Demo \xb7 this device only':'This device only':H?e.pending?`Live \xb7 sending ${e.pending}`:'Live':'offline'===e.mode?"Offline"+(e.pending?` \xb7 ${e.pending} waiting`:''):'connecting'===e.mode?'Connecting\u2026':'unpaired'===e.mode?'Not paired':'On this device',V=E?y.colours.gold:H?y.colours.ok:'offline'===e.mode||'connecting'===e.mode?y.colours.gold:y.colours.muted,$=E?v.PITCH?'Demo mode. Nothing is shared or sent: everything you do stays in this browser.':'This copy isn\u2019t connected to a shared system. Everything stays on this device.':H?`Shared live with ${e.venueName??'your venue'}${e.lastSyncAt?`. Last update ${new Date(e.lastSyncAt).toLocaleTimeString('en-GB',{hour:'2-digit',minute:'2-digit'})}`:''}.`:'offline'===e.mode?'No connection. Changes are saved on this device and sent when you\u2019re back online.':'signin'===e.mode?'Not connected to the shared system. Open your personal invite link once on this device to connect.':'unpaired'===e.mode?'This display isn\u2019t paired. Use a pairing code from Managers \u2192 Displays.':'connecting'===e.mode?'Connecting to the shared system\u2026':'The shared system can\u2019t be reached, so this device is using its own data.';return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.default,{testID:"sync-strip",style:{height:I,paddingHorizontal:10,justifyContent:'center',alignItems:'flex-start',backgroundColor:y.colours.bg,borderTopWidth:1,borderTopColor:'rgba(255,255,255,0.06)'},children:(0,j.jsxs)(o.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:`Sync: ${O}`,onPress:()=>P(e=>!e),style:{flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:14,minHeight:44,borderRadius:999,backgroundColor:'rgba(16,14,11,0.92)',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,j.jsx)(c.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:V}}),(0,j.jsx)(f.T,{size:12,weight:"semibold",children:O})]})}),C?(0,j.jsxs)(c.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:52,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:'#15120E',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,j.jsx)(f.T,{size:13,children:$}),e.failed?(0,j.jsxs)(f.T,{size:12,colour:y.colours.red,children:[e.failed," change",1===e.failed?'':'s'," not accepted by the shared system",e.lastError?` (${e.lastError.slice(0,120)})`:'',"."]}):null,e.message?(0,j.jsx)(f.T,{size:12,colour:y.colours.muted,children:e.message}):null,e.venueId&&(H||'offline'===e.mode)?k?(0,j.jsxs)(c.default,{style:{gap:6,marginTop:6},children:[(0,j.jsx)(f.T,{size:12,children:L?'Unpair this display? It goes back to the pairing screen and needs a new code from Managers \u2192 Displays.':'Disconnect this device? Your changes stay on it; open your personal invite link to connect again.'}),L&&W.pinOn?(0,j.jsx)(l.default,{testID:"unpair-pin",value:A,onChangeText:N,placeholder:"Display PIN",placeholderTextColor:y.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:y.colours.text}}):null,(0,j.jsxs)(c.default,{style:{flexDirection:'row',gap:8},children:[(0,j.jsx)(o.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:L?'Yes, unpair':'Yes, disconnect',disabled:L&&W.pinOn&&!(0,s.wakePinMatches)(W,A),onPress:()=>{w(!1),P(!1),N(''),L?(0,h.unpairDisplay)():(0,h.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:L&&W.pinOn&&!(0,s.wakePinMatches)(W,A)?'rgba(255,255,255,0.08)':y.colours.red},children:(0,j.jsx)(f.T,{size:12,weight:"semibold",children:L?'Yes, unpair':'Yes, disconnect'})}),(0,j.jsx)(o.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{w(!1),N('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,j.jsx)(f.T,{size:12,children:"Keep"})})]})]}):(0,j.jsx)(o.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:L?'Unpair this display':'Disconnect this device',onPress:()=>w(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,j.jsx)(f.T,{size:12,colour:y.colours.gold,children:L?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null,(0,j.jsx)(t.WipeDevice,{compact:!0})]}):null,R?(0,j.jsx)(c.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:I+D+8,zIndex:950,alignItems:'center'},pointerEvents:"none",children:(0,j.jsx)(c.default,{style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:y.colours.red,maxWidth:460},children:(0,j.jsx)(f.T,{size:13,children:R})})}):null]})};var n=r(d[0]),t=r(d[1]),s=r(d[2]),o=e(r(d[3])),l=e(r(d[4])),c=e(r(d[5])),u=r(d[6]),h=r(d[7]),p=r(d[8]),b=r(d[9]),y=r(d[10]),f=r(d[11]),x=r(d[12]),T=r(d[13]),v=r(d[14]),j=r(d[15]);const I=48,D='display'===u.APP_VARIANT?0:60},1091,[20,1011,893,253,263,117,796,809,814,836,810,802,895,1099,2,14]);
|
| 33 |
+
__d(function(_g,_r,i,_a,_m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.VoiceHost=function(){const e=(0,f.useVoiceTarget)(),t=(0,f.useVoiceSlot)(e=>e.rect);return e?.on&&t?(0,H.jsx)(B,{app:e.actions,ui:e.app},e.actions):null};var t=_r(d[0]),n=e(_r(d[1])),o=e(_r(d[2])),r=e(_r(d[3])),s=e(_r(d[4]));_r(d[5]);var a=e(_r(d[6])),l=e(_r(d[7])),c=e(_r(d[8])),u=e(_r(d[9])),h=e(_r(d[10])),p=_r(d[11]),f=_r(d[12]),g=_r(d[13]),y=e(g),w=_r(d[14]),m=_r(d[15]),x=_r(d[16]),b=_r(d[17]),v=_r(d[18]),k=_r(d[19]),j=_r(d[20]),T=_r(d[21]),S=_r(d[22]),R=_r(d[23]),C=_r(d[24]),I=_r(d[25]),M=_r(d[26]),E=_r(d[27]),H=_r(d[28]);const z=200,A=16e3,P=31e3,D='That took too long, so I stopped waiting. Hold the button and try again, or tap Type instead.',W='Something went wrong there. Hold the button and try again, or tap Type instead.',$='The microphone is blocked. Allow it in the browser\u2019s site settings, or tap the button to type instead.';function O(e,t){return'cap'===e?t?.message||I.REACHED_TEXT:'identity'===e||'app'===e?'Voice needs this device to be signed in or paired first. For now, tap the button to type instead.':'soon'===e?'Speech to text is switching on soon. For now, tap the button to type instead.':'long'===e?'That was longer than 30 seconds. Hold the button and say it more briefly, or tap Type instead.':'I couldn\u2019t turn that into text just now. Hold the button and try again, or tap Type instead.'}function V({colour:e,size:t=34}){return(0,H.jsxs)(y.default,{width:t,height:t,viewBox:"0 0 24 24",children:[(0,H.jsx)(g.Rect,{x:"9",y:"3",width:"6",height:"11",rx:"3",fill:e}),(0,H.jsx)(g.Path,{d:"M5.5 11a6.5 6.5 0 0 0 13 0M12 17.5V21M8.5 21h7",stroke:e,strokeWidth:2,strokeLinecap:"round",fill:"none"})]})}const _={owner:['\u201cWalk-in fridge 3 degrees\u201d','\u201cMark the lobster sold out\u201d','\u201cHow many covers tonight?\u201d','\u201cAdd blue roll to the Booker list\u201d'],staff:['\u201cMessage the team: running 10 minutes late\u201d','\u201cRead my messages\u201d','\u201cWhen\u2019s my next shift?\u201d','\u201cWhat are today\u2019s specials?\u201d','\u201cDoes the fish supper contain gluten?\u201d'],chef:['\u201cFreezer minus 19\u201d','\u201cMark the soup sold out\u201d','\u201cRead the orders\u201d','\u201cAdd onions to the Bidfood list\u201d'],display:['\u201cWalk-in fridge 3 degrees\u201d','\u201cRead the orders\u201d','\u201cAny room for 6 at 8?\u201d','\u201cRead the shift notes\u201d']};function B({app:e,ui:g}){const y=(0,w.useCtx)(6e4),B=(0,x.useOwner)(e=>e.staff),F=(0,C.useVoiceSettings)(),N=(0,R.useVoiceNav)(e=>e.go),{height:L}=(0,u.default)(),X=(0,f.useVoiceSlot)(e=>e.rect),G=X.size,U=m.ROSTER.find(e=>'chef'===e.app),q='display'===e?'Main Display':'chef'===e?B.find(e=>e.id===U?.id)?.name??'Head Chef':y.me,Y='display'===e?'display':'chef'===e?U?.id??'chef':y.meId,K={rid:y.rid,today:y.today,go:(e,t)=>N?.(e,t),app:e,who:q.replace(' (example)',''),whoId:Y,role:'owner'===g?y.role:e},[J,Q]=(0,t.useState)('idle'),[Z,ee]=(0,t.useState)(''),[te,ne]=(0,t.useState)(0),[oe,re]=(0,t.useState)(null),[se,ie]=(0,t.useState)(!1),[ae,le]=(0,t.useState)(''),[de,ce]=(0,t.useState)(!1),ue=(0,t.useRef)(null),he=(0,t.useRef)(0),pe=(0,t.useRef)(null),fe=(0,t.useRef)(K);fe.current=K;const ge=(0,t.useRef)(oe);ge.current=oe;const ye=(0,t.useRef)(F.speakAnswers);ye.current=F.speakAnswers;const we=(0,t.useRef)(y.now);we.current=y.now;const me=e=>{re(e),Q('answer'),ye.current&&(0,M.canSpeak)()&&(0,M.speak)(e.pending?e.pending.preview+' Say yes or tap Confirm.':e.text)},xe=me,be=async e=>{const t=++he.current;let n;Q('working');try{n=await(0,k.runAction)(e.id,e.params,fe.current,!0)}catch{n={status:'error',message:W}}t===he.current&&((0,M.buzz)([20,40,20]),xe({text:'needs_confirmation'===n.status?n.preview:n.message,tone:'error'===n.status?'warn':'ok'}))},ve=()=>xe({text:'Cancelled. Nothing was changed.',tone:'info'}),ke=async(e,t)=>{const n=he.current,o=e=>{n===he.current&&me(e)};try{await je(e,o,t)}catch{o({heard:e.trim()||void 0,text:W,tone:'warn'})}},je=async(t,n,o)=>{const r=t.trim(),s=fe.current;if(!r)return void n({text:'I didn\u2019t catch that. Hold the button while you speak, then let go.',tone:'info'});const a=ge.current?.pending;if(a){const e=(0,M.yesNo)(r);if('yes'===e)return void await be(a);if('no'===e)return void ve()}Q('working');const l=(0,k.matchIntent)(r,s.today,{app:e,rid:s.rid,whoId:s.whoId}),c=we.current;if(!I.voiceUsage.allowed(s.rid,'action'===l.kind?l.action.id:null,c))return void n({heard:r,text:I.REACHED_TEXT,tone:'info'});I.voiceUsage.record(s.rid,c);const u=I.voiceUsage.get(s.rid,c),h=u.reached?I.REACHED_TEXT:u.warn?(0,I.WARN_TEXT)(u):void 0,p=e=>n({...e,note:h});if('action'===l.kind){const e=l.action,t=e.params.filter(e=>e.required&&(void 0===l.params[e.name]||''===l.params[e.name]||'[]'===l.params[e.name]));if(t.length)return void p({heard:r,text:e.preview(l.params,s)+(/\?$/.test(e.preview(l.params,s))||/couldn|didn/.test(e.preview(l.params,s))?'':` I still need: ${t.map(e=>e.description.toLowerCase()).join('; ')}.`)+' Hold the button and try again.',tone:'warn'});const n=await(0,k.runAction)(e.id,l.params,s,!1);return void('needs_confirmation'===n.status?p({heard:r,text:n.preview,pending:{id:e.id,params:l.params,preview:n.preview}}):p({heard:r,text:n.message,tone:'error'===n.status?'warn':'ok'}))}const f=()=>(0,k.toolSpecs)().filter(t=>{const n=(0,k.actionById)(t.function.name);return!!n&&(!n.apps||n.apps.includes(e))&&('staff'!==e||(0,k.staffMay)(n))}),g=async t=>{if('call'===t.kind){const n=(0,k.actionById)(t.name);if(n&&(!n.apps||n.apps.includes(e))&&('staff'!==e||(0,k.staffMay)(n))){const e=await(0,k.runAction)(n.id,t.args,s,!1);return'needs_confirmation'===e.status?p({heard:r,text:e.preview,pending:{id:n.id,params:t.args,preview:e.preview}}):p({heard:r,text:e.message,tone:'error'===e.status?'warn':'ok'}),!0}}return'text'===t.kind&&(p({heard:r,text:(0,k.moneySafe)(e,s.role)?(0,k.noMoney)(t.text):t.text,tone:'info'}),!0)};if('help'===l.kind){const t=l.ids.map(T.helpById).filter(Boolean)[0];if(!(((0,S.searchHelp)(T.HELP,r,1)[0]?.score??0)>=2.5)){const n=await(0,j.askServer)(e,r,f(),o);if(await g(n))return;return(0,k.moneySafe)(e,s.role)&&(0,k.hasMoney)(`${t.title}. ${t.body}`)?void p({heard:r,text:`${j.SOON_TEXT} ${_[e].slice(0,2).join(' or ')}.`,tone:'info'}):void p({heard:r,text:`${j.SOON_TEXT} ${_[e].slice(0,2).join(' or ')}. This guide might help: ${t.title}.`,help:l.ids,tone:'info'})}const n=`${t.title}. ${t.body}`;return(0,k.moneySafe)(e,s.role)&&(0,k.hasMoney)(n)?void p({heard:r,text:'That isn\u2019t shown here. Ask a manager in the Managers app.',tone:'info'}):void p({heard:r,text:n,help:l.ids,tone:'info'})}await g(await(0,j.askServer)(e,r,f(),o))||p({heard:r,text:j.SOON_TEXT+' '+_[e].slice(0,2).join(' or ')+'.',tone:'info'})},Te=()=>{ue.current?.abort(),ue.current=null,pe.current?.(),pe.current=null,ne(0)};(0,t.useEffect)(()=>()=>{ue.current?.abort(),pe.current?.(),(0,M.stopSpeaking)()},[]);const Se=async()=>{if((0,M.stopSpeaking)(),!(0,M.canListen)())return ie(!0),void xe({text:(0,M.tabletWithoutMic)()?'This Display tablet app needs an update before it can use the microphone. For now, type below.':'This browser can\u2019t record speech. Type instead below.',tone:'info'});if((0,M.desktopStt)()){if(!(0,C.micExplainedFor)(g))return void ce(!0)}else{const e=await(0,M.micPermission)();if('granted'===e)(0,C.setMicExplainedFor)(g);else{if('denied'===e)return ie(!0),void xe({text:$,tone:'warn'});if(!(0,C.micExplainedFor)(g))return void ce(!0)}}if(!Ie.current.holding&&!Ce.current)return;const t=++he.current;(0,M.buzz)(35),ee(''),re(null),ie(!1),Q('listening');if(ue.current=(0,M.listen)(ee,(e,n,o)=>{if(pe.current?.(),pe.current=null,ne(0),ue.current=null,t===he.current){if('not-allowed'!==n&&'service-not-allowed'!==n)return'stt-failed'===n?(xe({text:'Speech to text didn\u2019t start on this Mac. Type instead below; restarting the app usually fixes it.',tone:'warn'}),void ie(!0)):void(n?xe({text:O(n,o),tone:'cap'===n?'info':'warn'}):ke(e,o?.receipt));xe({text:(0,M.desktopStt)()?'The microphone is blocked for CoverCharge. Open System Settings \u203a Privacy & Security \u203a Microphone, switch on CoverCharge for Mac, then try again. Or type instead.':$,tone:'warn'})}},e,ne),!ue.current)return Q('idle'),void ie(!0);if((0,M.desktopStt)()){const e=await(0,M.levelMeter)(ne);ue.current?pe.current=e:e()}},Re=()=>{ue.current&&(Q('working'),ue.current.stop(),pe.current?.(),pe.current=null,ne(0))},Ce=(0,t.useRef)(!1),Ie=(0,t.useRef)({timer:0,holding:!1}),Me=(0,t.useRef)(Se);Me.current=Se;const Ee=(0,t.useRef)(Re);Ee.current=Re;const He=(0,t.useMemo)(()=>s.default.create({onStartShouldSetPanResponder:()=>!0,onMoveShouldSetPanResponder:()=>!0,onPanResponderTerminationRequest:()=>!1,onPanResponderGrant:()=>{const e=Ie.current;e.holding=!1,e.timer=setTimeout(()=>{e.holding=!0,Me.current()},z)},onPanResponderRelease:()=>{const e=Ie.current;if(clearTimeout(e.timer),e.holding)return e.holding=!1,void Ee.current();ie(!0),Q(e=>'idle'===e?'answer':e)},onPanResponderTerminate:()=>{const e=Ie.current;clearTimeout(e.timer),e.holding&&(e.holding=!1,Ee.current())}}),[e]);(0,t.useRef)(J).current=J,(0,t.useEffect)(()=>E.useVoiceKeys.subscribe((e,t)=>{const n=e.last;if(!n||n.n===t.last?.n)return;const o=!!ue.current;'start'!==n.cmd||o?'stop'===n.cmd?(Ce.current=!1,o&&Ee.current()):'toggle'===n.cmd?o?(Ce.current=!1,Ee.current()):(Ce.current=!0,Me.current()):'type'===n.cmd&&(ie(!0),Q(e=>'idle'===e?'answer':e)):(Ce.current=!0,Me.current())}),[]);const ze=G>=64,Ae=(0,t.useRef)(new o.default.Value(0)).current;(0,t.useEffect)(()=>{if('listening'!==J)return Ae.stopAnimation(),void Ae.setValue(0);const e=o.default.loop(o.default.timing(Ae,{toValue:1,duration:1100,easing:r.default.out(r.default.quad),useNativeDriver:!1}));return e.start(),()=>e.stop()},[J]);const Pe='listening'===J,De='answer'===J&&(oe||se)||'working'===J||Pe,We=()=>{he.current++,Te(),(0,M.stopSpeaking)(),re(null),ie(!1),le(''),Q('idle')};(0,t.useEffect)(()=>{if('working'!==J&&'listening'!==J)return;const e=he.current,t=setTimeout(()=>{e===he.current&&('listening'!==J?(he.current++,Te(),ie(!0),me({heard:Z&&!/\u2026$/.test(Z)?Z:void 0,text:D,tone:'warn'})):Ee.current())},'working'===J?A:P);return()=>clearTimeout(t)},[J]);const $e=()=>{const e=ae.trim();e&&(le(''),ee(e),he.current++,ke(e))},Oe='fixed',Ve={top:X.y+G+8},Be=Ae.interpolate({inputRange:[0,1],outputRange:[1,1.7]}),Fe=Ae.interpolate({inputRange:[0,1],outputRange:[.6,0]}),Ne='warn'===oe?.tone?v.colours.amber:oe?.pending?v.colours.gold:v.colours.border;return(0,H.jsxs)(H.Fragment,{children:[De?(0,H.jsx)(h.default,{testID:"voice-panel",style:[{position:Oe,left:12,right:12,alignItems:'flex-end',zIndex:60},Ve],pointerEvents:"box-none",children:(0,H.jsxs)(h.default,{style:{width:'100%',maxWidth:ze?720:520,backgroundColor:v.colours.surface,borderRadius:16,borderWidth:2,borderColor:Ne,padding:ze?20:14,gap:10,maxHeight:L*(ze?.78:.6)},children:[(0,H.jsxs)(b.Row,{style:{justifyContent:'space-between'},children:[(0,H.jsx)(b.T,{size:16,weight:"semibold",colour:v.colours.gold,accessibilityRole:"header",children:Pe?ze?'Listening\u2026 let go (or press \u2318\u21e7G) to send':'Listening\u2026 let go to send':'working'===J?'Working on it\u2026':oe?.pending?'Please confirm':'Voice assistant'}),(0,H.jsx)(a.default,{testID:"voice-close",accessibilityRole:"button",accessibilityLabel:"Close voice assistant",hitSlop:12,onPress:We,style:{minWidth:48,minHeight:48,alignItems:'center',justifyContent:'center'},children:(0,H.jsx)(b.T,{size:20,colour:v.colours.muted,children:"\u2715"})})]}),Pe?(0,H.jsxs)(h.default,{style:{gap:8},children:[(0,H.jsx)(h.default,{style:{height:10,borderRadius:5,backgroundColor:v.colours.surface2,overflow:'hidden'},children:(0,H.jsx)(h.default,{testID:"voice-level",style:{width:`${Math.round(8+92*te)}%`,height:10,backgroundColor:v.colours.ok}})}),(0,H.jsx)(b.T,{size:16,children:Z||'Say it now\u2026'})]}):null,'working'===J?(0,H.jsxs)(b.Row,{gap:10,children:[(0,H.jsx)(n.default,{color:v.colours.gold}),(0,H.jsx)(b.T,{size:15,colour:v.colours.muted,children:Z?/\u2026$/.test(Z)?Z:`\u201c${Z}\u201d`:''})]}):null,'working'===J||Pe?(0,H.jsx)(b.Button,{testID:"voice-stop",kind:"secondary",label:"Cancel",onPress:()=>{he.current++,Te(),(0,M.stopSpeaking)(),ie(!1),me({text:'Stopped. Nothing was changed.',tone:'info'})},style:{minHeight:48}}):null,'answer'===J&&oe?(0,H.jsxs)(l.default,{style:{maxHeight:L*(ze?.55:.36)},contentContainerStyle:{gap:8},children:[oe.heard?(0,H.jsxs)(b.T,{size:13,colour:v.colours.muted,children:["You said: \u201c",oe.heard,"\u201d"]}):null,oe.note?(0,H.jsx)(h.default,{testID:"voice-usage-note",children:(0,H.jsx)(b.T,{size:13,colour:v.colours.amber,children:oe.note})}):null,(0,H.jsx)(h.default,{testID:"voice-answer",children:(0,H.jsx)(b.T,{size:ze?24:18,weight:oe.pending?'semibold':'regular',children:oe.text})}),oe.help&&'owner'===e&&N?oe.help.slice(0,3).map(e=>{const t=(0,T.helpById)(e);return t?(0,H.jsx)(b.Button,{small:!0,kind:"secondary",label:`Open help: ${t.title}`,onPress:()=>{N('more','help'),We()}},e):null}):null]}):null,'answer'===J&&oe?.pending?(0,H.jsxs)(b.Row,{gap:10,children:[(0,H.jsx)(b.Button,{testID:"voice-confirm",kind:"success",label:"Confirm",onPress:()=>{be(oe.pending)},style:{flex:1,minHeight:56}}),(0,H.jsx)(b.Button,{testID:"voice-cancel",kind:"secondary",label:"Cancel",onPress:ve,style:{flex:1,minHeight:56}})]}):null,'answer'!==J||oe?.pending?null:(0,H.jsxs)(h.default,{style:{gap:6},children:[se||!(0,M.canListen)()?(0,H.jsxs)(b.Row,{gap:8,children:[(0,H.jsx)(c.default,{testID:"voice-type",value:ae,onChangeText:le,onSubmitEditing:$e,placeholder:"Type instead\u2026",placeholderTextColor:v.colours.muted,autoFocus:!0,returnKeyType:"send",style:{flex:1,minWidth:0,width:0,minHeight:48,borderRadius:10,borderWidth:1,borderColor:v.colours.border,backgroundColor:v.colours.surface2,color:v.colours.text,paddingHorizontal:12,fontFamily:v.fonts.regular,fontSize:16}}),(0,H.jsx)(b.Button,{testID:"voice-send",kind:"success",label:"Ask",onPress:$e,disabled:!ae.trim()})]}):(0,H.jsx)(a.default,{accessibilityRole:"button",onPress:()=>ie(!0),children:(0,H.jsx)(b.T,{size:14,colour:v.colours.gold,children:"Type instead"})}),oe?null:(0,H.jsxs)(b.T,{size:ze?15:13,colour:v.colours.muted,children:[ze?'Hold Space (or the gold button) and speak, or press \u2318\u21e7G to start and again to send. ':'Hold the gold button and speak, for example ',ze?`For example ${_[e].join(', ')}.`:`${_[e].join(', ')}.`]}),'owner'===g&&'owner'===e?(0,H.jsx)(a.default,{testID:"voice-open-assistant",accessibilityRole:"button",onPress:()=>{We(),p.useAssistantUi.getState().setOpen(!0)},style:{minHeight:44,justifyContent:'center'},children:(0,H.jsx)(b.T,{size:14,colour:v.colours.gold,children:"\u2726 Open the Assistant (ideas, history and longer requests) \u203a"})}):null]})]})}):null,(0,H.jsxs)(h.default,{style:{position:Oe,left:X.x,top:X.y,width:G,height:G,zIndex:61},pointerEvents:"box-none",children:[Pe?(0,H.jsx)(o.default.View,{pointerEvents:"none",style:{position:'absolute',left:0,top:0,width:G,height:G,borderRadius:G/2,borderWidth:4,borderColor:v.colours.ok,opacity:Fe,transform:[{scale:Be}]}}):null,Pe?(0,H.jsx)(h.default,{pointerEvents:"none",style:{position:'absolute',left:-6,top:-6,width:G+12,height:G+12,borderRadius:(G+12)/2,borderWidth:3+Math.round(7*te),borderColor:v.colours.ok}}):null,(0,H.jsx)(h.default,{testID:"voice-button",accessible:!0,accessibilityRole:"button",accessibilityLabel:'owner'===g&&'owner'===e?'Voice assistant and Assistant. Hold to talk, let go to send. Tap to type or open the Assistant.':'Voice assistant. Hold to talk, let go to send. Tap to type instead.',...He.panHandlers,style:[{width:G,height:G,borderRadius:G/2,alignItems:'center',justifyContent:'center',backgroundColor:Pe?v.colours.ok:v.colours.gold,borderWidth:2,borderColor:v.colours.bg},{userSelect:'none',WebkitUserSelect:'none',WebkitTouchCallout:'none',touchAction:'none',cursor:'pointer'}],children:'working'===J?(0,H.jsx)(n.default,{color:v.colours.onGold,size:"large"}):(0,H.jsx)(V,{colour:v.colours.onGold,size:Math.round(.5*G)})})]}),(0,H.jsx)(b.Sheet,{visible:de,onClose:()=>{(0,C.setMicExplainedFor)(g),ce(!1)},title:"Talk to CoverCharge",testID:"voice-explain",children:(0,H.jsxs)(h.default,{style:{gap:10},children:[(0,H.jsxs)(b.T,{children:["Hold the gold button, say what you need, then let go. For example ",_[e].slice(0,3).join(', '),"."]}),(0,H.jsx)(b.T,{children:(0,M.desktopStt)()?'Your Mac will now ask once to let CoverCharge use the microphone. It only listens while you hold the button.':'Your device will now ask once to use the microphone. It only listens while you hold the button, for up to 30 seconds.'}),(0,H.jsx)(b.T,{size:14,colour:v.colours.muted,children:(0,M.desktopStt)()?'On this Mac, speech is turned into text on the Mac itself, so what you say isn\u2019t sent anywhere. CoverCharge doesn\u2019t keep the audio.':'What you say while holding is sent to Grok (xAI) to be turned into text. CoverCharge doesn\u2019t keep the audio.'}),(0,H.jsx)(b.T,{size:14,colour:v.colours.muted,children:"Anything that changes the app is read back first and needs a tap on Confirm or a spoken \u201cyes\u201d. Orders to suppliers, messages and payments are only ever saved as drafts for the owner."}),(0,H.jsx)(b.Button,{testID:"voice-allow",kind:"success",label:"Allow microphone",onPress:async()=>{(0,C.setMicExplainedFor)(g),ce(!1);const e=!!(0,M.desktopStt)()||await(0,M.askMic)();if((0,M.desktopStt)()){(await(0,M.levelMeter)(()=>{}))()}xe(e?{text:'Ready. Now hold the button and speak.',tone:'ok'}:{text:$,tone:'warn'})}}),(0,H.jsx)(b.Button,{kind:"secondary",label:"Type instead",onPress:()=>{(0,C.setMicExplainedFor)(g),ce(!1),ie(!0),Q('answer')}})]})})]})}},1092,[20,236,110,214,231,112,253,141,263,277,117,980,872,897,875,5,826,802,810,1051,1100,1049,1050,981,1054,1030,1055,1056,14]);
|
| 34 |
+
__d(function(g,r,_i,a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.seedPitch=function(){const h='owner'===d.APP_VARIANT?'st-tracy':'chef'===d.APP_VARIANT?'st-bisto':'staff'===d.APP_VARIANT?'st-lenny':null;!h||i.useSession.getState().meId||/[?&]invite=/.test('undefined'!=typeof window?window.location.search:'')||i.useSession.getState().signIn(h);t.useStore.setState(t=>({bookings:t.bookings.map((t,e)=>t.phone||t.walkIn?t:{...t,phone:`07700 900${String(100+e).slice(-3)}`})}));const S=s.useOwner.getState();if(S.shifts.some(t=>t.id.startsWith('pitch-')))return;const p=(0,e.nowFrom)(t.useStore.getState().clock),y=f(p),m=p.getHours()+p.getMinutes()/60,w=(0,s.addDays)(y,-(0,s.weekdayOf)(y)),A=[],k=[];for(const[t,[e,n,i]]of Object.entries(l))if(o.ROSTER.some(e=>e.id===t))for(let o=-7;o<14;o++){const d=(0,s.addDays)(w,o),c=(0,s.weekdayOf)(d);i.includes(c)||(A.push({id:`pitch-${t}-${d}`,staffId:t,date:d,day:c,start:e,end:n,published:o<7,breakAt:n-e>=6?e+3.5:void 0}),d<y?k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.1),out:u(d,n+.15),inSite:!0,outSite:!0,breakMins:n-e>=6?30:0,signOff:d<(0,s.addDays)(y,-1)?{by:'Alex',byId:'st-gordon',at:u(d,23.5)}:void 0}):d===y&&e<=m&&k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.05),inSite:!0}))}s.useOwner.setState({shifts:[...S.shifts.filter(t=>!A.some(e=>e.staffId===t.staffId&&e.date===t.date)),...A],attendance:[...S.attendance,...k]});const I=n.useCashUp.getState();for(let t=1;t<=10;t++){const e=(0,s.addDays)(y,-t);if([0,1].includes((0,s.weekdayOf)(e)))continue;if(I.cashUps.some(t=>t.rid===c&&t.date===e))continue;const n=1450+373*t%900,o=210+97*t%240;I.saveCashUp({rid:c,date:e,vals:{card:n,cash:o,float:200,cashTips:38+13*t%40,cardTips:92+29*t%70,overUnder:3===t?-2.5:0,notes:3===t?'Till 2 short \xa32.50, counted twice.':''},photos:[],confirmedBy:t%2?'Alex':'Priya',confirmedAt:u(e,23.25),readBy:null})}for(let t=1;t<=3;t++){const e=(0,s.addDays)(w,-7*t);if(I.sales.some(t=>t.rid===c&&t.weekStart===e))continue;const n=11800+640*t;I.saveSales({rid:c,weekStart:e,vals:{gross:n,net:Math.round(n/1.2),vat:Math.round(n-n/1.2),covers:610+22*t,discounts:140,refunds:35},categories:[{name:'Food',amount:Math.round(.62*n)},{name:'Drinks',amount:Math.round(.31*n)},{name:'Takeaway',amount:Math.round(.07*n)}],photos:[],confirmedBy:'Alex',confirmedAt:u((0,s.addDays)(e,7),11),readBy:null})}};var t=r(_d[0]),e=r(_d[1]),s=r(_d[2]),n=r(_d[3]),o=r(_d[4]),i=r(_d[5]),d=r(_d[6]);const c='anchorage',f=t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,'0')}-${String(t.getDate()).padStart(2,'0')}`,u=(t,e)=>{const[s,n,o]=t.split('-').map(Number);return new Date(s,n-1,o,Math.floor(e),Math.round(e%1*60)).toISOString()},l={'st-gordon':[11,21,[0,1]],'st-bisto':[10,20.5,[0,1]],'st-agate':[16,22.5,[0,1,2]],'st-lenny':[11,19,[0,1,3]],'st-finn':[17,23,[0,1,4]],'st-eilidh':[12,18,[0,1,2]],'st-emily':[17,22,[0,1,3]],'st-lillie':[12,20,[0,1,5]],'st-jack':[16,22,[0,1,6]]}},1093,[808,835,826,992,5,830,796]);
|
| 35 |
+
__d(function(e,o,s,p,t,n,a){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},1094,[]);
|
| 36 |
+
__d(function(o,e,s,p,t,c,d){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},1095,[]);
|
| 37 |
+
__d(function(o,e,s,p,t,d,f){"use strict";t.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},1096,[]);
|
| 38 |
+
__d(function(o,s,e,p,d,t,n){"use strict";d.exports="/owner-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},1097,[]);
|
owner-app/_expo/static/js/web/index-2cb94ab9efdba8080430fd81c70b339a.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),f=r(d[3]),u=r(d[4]);function c(){return(0,n.canShow)('staff')?(0,u.jsx)(f.StaffApp,{}):(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},790,[794,20,796,1058,14]);
|
| 2 |
+
__d(function(g,_r,_i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.StaffApp=function(){return(0,ie.jsx)(V.StaffAppCtx.Provider,{value:!0,children:(0,ie.jsx)(ce,{})})};var s=_r(d[0]),t=_r(d[1]),o=_r(d[2]),i=_r(d[3]),r=_r(d[4]),l=_r(d[5]),n=_r(d[6]),c=_r(d[7]),u=_r(d[8]),h=_r(d[9]),f=_r(d[10]),p=_r(d[11]),y=_r(d[12]),b=_r(d[13]),x=_r(d[14]),j=_r(d[15]),k=_r(d[16]),w=_r(d[17]),S=e(_r(d[18])),C=e(_r(d[19])),v=e(_r(d[20])),T=e(_r(d[21])),M=_r(d[22]),R=_r(d[23]),P=_r(d[24]),B=_r(d[25]),I=_r(d[26]),O=_r(d[27]),A=_r(d[28]),z=_r(d[29]),L=_r(d[30]),W=_r(d[31]),H=_r(d[32]),E=_r(d[33]),_=_r(d[34]),N=_r(d[35]),U=_r(d[36]),V=_r(d[37]),D=_r(d[38]),G=_r(d[39]);_r(d[40]);var Y=_r(d[41]),F=_r(d[42]),Q=_r(d[43]),J=_r(d[44]),$=_r(d[45]),q=_r(d[46]),K=_r(d[47]),X=_r(d[48]),Z=_r(d[49]),ee=_r(d[50]),se=_r(d[51]),te=_r(d[52]),oe=_r(d[53]),ae=_r(d[54]),ie=_r(d[55]);const re=Z.ROSTER.find(e=>'chef'===e.app)?.id,le=[{id:'home',label:'Home',icon:'home'},{id:'clock',label:'Clock',icon:'clock'},{id:'rota',label:'Rota',icon:'bookings'},{id:'chat',label:'Chat',icon:'chat'},{id:'me',label:'Me',icon:'user'}],ne={home:'Today',clock:'Clock in / out',rota:'Rota, swaps & leave',chat:'Staff chat',me:'Me'},de=[{id:'bookings',title:'Bookings',sub:'Any day, back or forward: tables, Covers, Unseat and Undo'},{id:'loyalty',title:'Stamp card',sub:'Find a guest, add a stamp or use a reward'},{id:'guests',title:'Guest profiles',sub:'Look a guest up: visits, Covers, allergies they told us, preferences'},{id:'giftcards',title:'Gift cards',sub:'Check a balance, take it off the bill, mark paid at the till'},{id:'tableorders',title:'Table orders',sub:'Orders from guests\u2019 phones at the table: accept, mark served or cancel'},{id:'soldout',title:'Sold out',sub:'What\u2019s run out today. Mark sold out or Back on; shows on the Display'},{id:'board',title:'Question board',sub:'Ask the team anything anonymously, and vote'},{id:'recipecards',title:'Recipe cards',sub:'Signed-off dishes: photo, ingredients, method and allergens (read-only)'},{id:'avatar',title:'My avatar',sub:'Your space-age avatar, or create one from a photo'},{id:'cashup',title:'Cash up',sub:'End-of-night takings: take a picture of the taking sheet or upload a spreadsheet (if a manager has switched it on for you)'},{id:'haccp',title:'Food safety checks',sub:'Record fridge, freezer, cooking and other checks (say or type)'},{id:'accidents',title:'Accident book',sub:'Report an accident or near miss; see your own entries'},{id:'mypay',title:'My hours & pay',sub:'Shifts, paid hours and estimated pay'},{id:'mytips',title:'My tips & tip goal',sub:'Your share of the tips, and a goal to save towards'},{id:'timesheets',title:'My timesheets',sub:'Your clock-ins, breaks and any changes'},{id:'orderlists',title:'Order lists',sub:'Add what\u2019s running low (Alsons drinks, Cash and carry)'},{id:'phone',title:'Phone notifications',sub:'Turn on reminders on this phone'},{id:'suppliers',title:'Suppliers',sub:'Contacts and order days (if your manager allows)'},{id:'privacy',title:'Privacy & location',sub:'What CoverCharge for Staff stores about you'}];function ce(){const{r:e,rid:t,me:b,meId:x,today:K,now:X}=(0,V.useCtx)(3e4);(0,y.useTipsPosted)(t,K);const Z=(0,V.useSignedIn)();(0,u.useSoldOutLink)(!0,b);(0,I.useOwner)(e=>e.staff);const ce=(0,I.useOwner)(e=>e.staffCanViewSuppliers),[fe,pe]=(0,j.useState)('home'),[ge,me]=(0,j.useState)(null),[ye,be]=(0,j.useState)(!1),xe=(0,j.useRef)(null);(0,j.useEffect)(()=>{(0,V.ensureAttendance)(K,X),(0,A.ensureChat)(X)},[K]),globalThis.__ccNow=X.getTime();const je=(0,A.useChatUnread)().total,ke=(0,j.useRef)({t:'home',s:null});ke.current={t:fe,s:ge};const we=(0,j.useRef)([]),Se=(0,j.useCallback)((e,s=null)=>{const t=ke.current;t.t===e&&t.s===s||(we.current=[...we.current,{...t,y:Te.leave()}].slice(-30),Te.restore(0)),pe(e),me(s)},[]),Ce=(0,j.useCallback)(()=>{if((0,i.runBackLayer)())return!0;const e=ke.current;let s=we.current.pop();for(;s&&s.t===e.t&&s.s===e.s;)s=we.current.pop();if(!s&&'home'===e.t&&!e.s)return!1;const t=s??{t:'home',s:null};return Te.leave(),pe(t.t),me(t.s),Te.restore(t.y??0),!0},[]);(0,i.useWebBack)(Ce);const ve=(0,i.useInnerBackShown)();(0,j.useEffect)(()=>{f.PITCH&&(globalThis.__pitchGo=Se)},[Se]),(0,L.useShiftReminders)({rid:t,staffId:x,name:b,onStartBreak:()=>Se('clock')}),(0,W.useScheduledNotices)({rid:t,staffId:Z?.id??'',name:b,onOpen:()=>Se('me','orderlists')}),(0,H.useOffRotaPrompt)({rid:t,staffId:Z?.id??''});const Te=(0,o.useScrollMemory)(xe),Me=(0,j.useCallback)((e,s=null)=>'chat'===e?Se('chat'):'clock'===s?Se('clock'):'rota'===s?Se('rota'):s&&de.some(e=>e.id===s)?Se('me',s):void Se('home'===e?'home':'me'),[Se]);(0,j.useEffect)(()=>{const e=S.default.addEventListener('hardwareBackPress',Ce);return()=>e.remove()},[Ce]);const Re='me'===fe&&ge?de.find(e=>e.id===ge):void 0,Pe=(0,N.useOrderLists)(e=>e.settings[t]?.allowStaff??!0),Be=de.filter(e=>('suppliers'!==e.id||ce)&&('orderlists'!==e.id||Pe||Z&&'staff'!==Z.role));return(0,j.useEffect)(()=>{I.useOwner.getState().staffAs&&I.useOwner.setState({staffAs:void 0})},[]),(0,ie.jsxs)(M.SafeAreaView,{style:{flex:1,backgroundColor:O.colours.bg},edges:['top','left','right','bottom'],children:[(0,ie.jsxs)(T.default,{style:{paddingHorizontal:14,paddingTop:6,paddingBottom:8,borderBottomWidth:1,borderColor:O.colours.border,gap:6},children:[(0,ie.jsx)(T.default,{style:{alignItems:'center'},children:(0,ie.jsx)(C.default,{testID:"header-me",accessibilityRole:"button",accessibilityLabel:"Signed in as",onPress:()=>be(!0),hitSlop:6,style:{borderWidth:1,borderColor:O.colours.gold,borderRadius:22,paddingHorizontal:10,paddingVertical:4,maxWidth:'86%',minHeight:44,justifyContent:'center'},children:(0,ie.jsxs)(R.Row,{gap:6,children:[(0,ie.jsx)(te.StaffAvatar,{id:x,size:24,ring:!1}),(0,ie.jsxs)(R.T,{size:13,weight:"semibold",colour:O.colours.gold,numberOfLines:1,style:{flexShrink:1},children:[b.replace(' (example)',''),Z?'':' (preview)'," \u25be"]})]})})}),(0,ie.jsxs)(R.Row,{gap:10,children:[(0,ie.jsx)(P.RestaurantLogo,{rid:e.id,size:36}),(0,ie.jsxs)(T.default,{style:{flex:1,minWidth:0},children:[(0,ie.jsxs)(R.Row,{gap:6,children:[(0,ie.jsx)(R.T,{weight:"semibold",size:15,numberOfLines:1,style:{flexShrink:1},children:e.name}),(0,ie.jsx)(U.AppBadge,{label:"STAFF"})]}),(0,ie.jsxs)(R.Muted,{size:12,numberOfLines:1,children:["Front of House",e.location?` \xb7 ${e.location.split(',').slice(0,2).join(',')}`:'']}),(0,ie.jsx)(P.PoweredBy,{})]}),(0,ie.jsx)(B.VoiceSlot,{})]})]}),(0,ie.jsxs)(v.default,{ref:xe,...Te.props,contentContainerStyle:{padding:14,paddingBottom:60,gap:12,width:'100%',maxWidth:760,alignSelf:'center'},keyboardShouldPersistTaps:"handled",children:[(0,ie.jsxs)(R.Row,{style:{justifyContent:'space-between'},children:['home'===fe&&!ge||ve?null:(0,ie.jsx)(i.BackButton,{onPress:Ce}),(0,ie.jsx)(R.T,{size:22,weight:"bold",style:{flex:1,textAlign:'home'===fe&&!ge||ve?'left':'right'},children:Re?Re.title:ne[fe]})]}),'home'===fe&&Z&&'staff'!==Z.role&&'undefined'!=typeof window?(0,ie.jsxs)(T.default,{testID:"manager-access-banner",style:{borderWidth:1,borderColor:O.colours.gold,borderRadius:12,padding:10,gap:6},children:[(0,ie.jsx)(R.T,{weight:"semibold",colour:O.colours.gold,children:"You have manager access"}),(0,ie.jsx)(R.Muted,{children:"The Manager app has everything here plus bookings, the rota, staff and settings."}),(0,ie.jsx)(C.default,{accessibilityRole:"button",onPress:()=>{const e=(0,G.appUrl)('owner');e&&window.location.assign(e)},style:{alignSelf:'flex-start',borderWidth:1,borderColor:O.colours.gold,borderRadius:14,paddingHorizontal:12,paddingVertical:5,minHeight:44,justifyContent:'center'},children:(0,ie.jsx)(R.T,{size:14,colour:O.colours.gold,children:"Open the Managers app \u203a"})})]}):null,'home'===fe&&Z?(0,ie.jsx)(p.MyTasksToday,{rid:t,staffId:Z.id,name:Z.name,onShift:(0,L.shiftNow)(Z.id,X.getTime()).on}):null,'home'===fe?(0,ie.jsx)(y.TodaysTipsCard,{rid:t,today:K}):null,'home'===fe?(0,ie.jsx)(y.TipsPotCard,{rid:t,today:K}):null,'home'===fe?(0,ie.jsx)(ue,{go:Me}):null,'clock'===fe?(0,ie.jsx)($.ClockInOut,{}):null,'rota'===fe?(0,ie.jsx)($.Rota,{}):null,'chat'===fe?(0,ie.jsx)(A.Chat,{go:Me}):null,'me'!==fe||Re?null:(0,ie.jsxs)(T.default,{style:{gap:10},children:[(0,ie.jsx)(T.default,{style:{borderRadius:14,borderWidth:1,borderColor:O.colours.border,backgroundColor:O.colours.surface,overflow:'hidden'},children:Be.map((e,s)=>(0,ie.jsx)(C.default,{accessibilityRole:"button",accessibilityLabel:e.title,onPress:()=>Se('me',e.id),style:({pressed:e})=>({padding:12,borderTopWidth:s?1:0,borderColor:O.colours.border,backgroundColor:e?'#1d1a14':'transparent'}),children:(0,ie.jsxs)(R.Row,{style:{justifyContent:'space-between'},children:[(0,ie.jsxs)(T.default,{style:{flex:1},children:[(0,ie.jsx)(R.T,{weight:"medium",children:e.title}),(0,ie.jsx)(R.Muted,{children:e.sub})]}),(0,ie.jsx)(R.T,{colour:O.colours.muted,children:"\u203a"})]})},e.id))}),ce?null:(0,ie.jsx)(R.Muted,{children:"Suppliers are hidden: your manager hasn\u2019t shared them with staff."}),(0,ie.jsxs)(R.Muted,{center:!0,children:["Staff app \xb7 ",h.APP_VERSION," \xb7 ",'live'===ae.useSync.getState().mode?'shared with your team':'saved on this device until it connects']})]}),'loyalty'===Re?.id?(0,ie.jsx)(r.StaffLoyalty,{venue:e.name}):null,'guests'===Re?.id?(0,ie.jsx)(l.GuestProfiles,{me:b.replace(' (example)',''),manager:!1}):null,'bookings'===Re?.id?(0,ie.jsx)(z.Bookings,{}):null,'giftcards'===Re?.id?(0,ie.jsx)(n.GiftCardsPage,{me:b.replace(' (example)','')}):null,'tableorders'===Re?.id?(0,ie.jsx)(s.StaffTableOrders,{rid:t,me:b.replace(' (example)','')}):null,'soldout'===Re?.id?(0,ie.jsx)(c.SoldOutList,{rid:t,by:b.replace(' (example)','')}):null,'board'===Re?.id?(0,ie.jsx)(w.QuestionBoard,{rid:t,today:K,manager:!1,by:""}):null,'recipecards'===Re?.id?(0,ie.jsx)(k.RecipeCards,{rid:e.id,actor:{name:b,role:'staff'},mode:"read"}):null,'avatar'===Re?.id?(0,ie.jsx)(oe.AvatarMaker,{meId:x,me:b}):null,'cashup'===Re?.id?(0,ie.jsx)(he,{rid:t,today:K,meId:x,me:b}):null,'haccp'===Re?.id?(0,ie.jsx)(se.HaccpLog,{mode:"staff",me:b,meId:x,now:X}):null,'accidents'===Re?.id?(0,ie.jsx)(ee.AccidentBook,{app:"staff",me:b,meId:x,now:X,seeAll:!1}):null,'mypay'===Re?.id?(0,ie.jsxs)(T.default,{style:{gap:10},children:[(0,ie.jsx)(Q.MyPeriods,{staffId:x}),(0,ie.jsx)(F.MyHoursPay,{staffId:x})]}):null,'mytips'===Re?.id?(0,ie.jsx)(q.MyTips,{}):null,'timesheets'===Re?.id?(0,ie.jsxs)(T.default,{style:{gap:10},children:[(0,ie.jsx)(Q.MyPeriods,{staffId:x}),(0,ie.jsx)($.Timesheets,{})]}):null,'orderlists'===Re?.id?(0,ie.jsx)(E.OrderListsScreen,{rid:t,today:K,editor:!!Z&&'staff'!==Z.role,who:{id:x,name:b.replace(' (example)','')}}):null,'phone'===Re?.id?(0,ie.jsxs)(T.default,{style:{gap:8},children:[(0,ie.jsx)(R.Muted,{children:"Get reminders like \u201cMills milk order\u201d on this phone, even with the app closed (once your manager switches phone notifications on). iPhone: add the app to your Home Screen first (iOS 16.4 or later)."}),(0,ie.jsx)(_.PushButton,{})]}):null,'suppliers'===Re?.id?ce?(0,ie.jsx)(J.Suppliers,{}):(0,ie.jsx)(R.Muted,{children:"Your manager hasn\u2019t shared suppliers with staff."}):null,'privacy'===Re?.id?(0,ie.jsxs)(T.default,{style:{gap:8},children:[(0,ie.jsx)(R.T,{size:14,children:"\u2022 Location is checked when you tap Clock in, Clock out, Start break or End break, and (if you allowed location) while the app is open to ask if you want to clock in when you\u2019re at the venue but not on the rota. Never in the background."}),(0,ie.jsx)(R.T,{size:14,children:"\u2022 Each clock record keeps the location reading, how accurate it was, whether it was inside the venue area, and the time. Managers can see these."}),(0,ie.jsx)(R.T,{size:14,children:"\u2022 You see only your own hours, pay estimates and tips. Managers see the team\u2019s."}),(0,ie.jsxs)(R.T,{size:14,children:["\u2022 Chat messages stay within ",e.name,"\u2019s team."]}),(0,ie.jsx)(R.T,{size:14,children:"\u2022 Pay figures are estimates before tax and deductions; your payslip is the official record."})]}):null]}),(0,ie.jsx)(T.default,{style:{flexDirection:'row',borderTopWidth:1,borderColor:O.colours.border,backgroundColor:'#0d0d0d'},children:le.map(e=>{const s=fe===e.id;return(0,ie.jsxs)(C.default,{accessibilityRole:"tab",accessibilityState:{selected:s},accessibilityLabel:e.label,onPress:()=>Se(e.id),style:{flex:1,alignItems:'center',paddingVertical:8,gap:2},children:[(0,ie.jsxs)(T.default,{children:[(0,ie.jsx)(Y.Icon,{name:e.icon,colour:s?O.colours.gold:O.colours.muted}),'chat'===e.id&&je?(0,ie.jsx)(T.default,{style:{position:'absolute',right:-8,top:-4,backgroundColor:O.colours.red,borderRadius:8,minWidth:16,height:16,alignItems:'center',justifyContent:'center'},children:(0,ie.jsx)(R.T,{size:10,weight:"bold",children:je})}):null]}),(0,ie.jsx)(R.T,{size:11,colour:s?O.colours.gold:O.colours.muted,children:e.label})]},e.id)})}),(0,ie.jsx)(R.Sheet,{visible:ye,onClose:()=>be(!1),title:"Signed in as",children:Z?(0,ie.jsxs)(T.default,{style:{gap:8},children:[(0,ie.jsxs)(R.Row,{gap:10,children:[(0,ie.jsx)(te.StaffAvatar,{id:Z.id,size:48}),(0,ie.jsxs)(T.default,{style:{flex:1},children:[(0,ie.jsx)(R.T,{weight:"semibold",children:Z.name}),(0,ie.jsx)(R.Muted,{children:(0,G.levelJob)(Z.level??'Staff',Z.job)})]})]}),(0,ie.jsx)(R.Muted,{children:"Signed in with your personal link. This phone remembers you."}),'staff'!==Z.role?(0,ie.jsx)(R.Button,{kind:"secondary",label:"Back to CoverCharge for Managers",onPress:()=>{const e=(0,G.appUrl)('owner');e&&window.location.assign(e)}}):null,Z.id===re?(0,ie.jsx)(R.Button,{kind:"secondary",label:"Back to CoverCharge for Head Chef",onPress:()=>{const e=(0,G.appUrl)('chef');e&&window.location.assign(e)}}):null,(0,ie.jsx)(R.Button,{kind:"ghost",label:"Not you? Sign out on this device",onPress:()=>{G.useSession.getState().signOut(),be(!1)}})]}):(0,ie.jsxs)(T.default,{style:{gap:8},children:[(0,ie.jsx)(R.Muted,{children:"Not signed in: this is a preview. Open your personal link, or paste it here, to sign in as yourself."}),(0,ie.jsx)(D.SignInWithLink,{})]})})]})}function ue({go:e}){const{rid:s,today:o}=(0,V.useCtx)(3e4),i=(0,X.useTravelDay)('staff',o);return(0,ie.jsxs)(T.default,{style:{gap:10},children:[(0,ie.jsx)(t.WhoBar,{}),(0,ie.jsx)(X.DayBar,{app:"staff",today:o}),i?(0,ie.jsx)(X.DayView,{rid:s,day:i,today:o,app:"staff"}):(0,ie.jsx)(K.StaffHome,{go:e})]})}function he({rid:e,today:s,meId:t,me:o}){return!0!==(0,x.useCashAccess)(e=>e.mine)?(0,ie.jsx)(b.NoCashUpAccess,{}):(0,ie.jsx)(y.CashUpScreen,{rid:e,today:s,canEdit:!0,who:{id:t??'me',name:o.replace(' (example)','')}})}},1058,[1035,968,969,970,1036,1026,1037,1025,863,1010,2,971,972,1028,1059,20,1032,996,223,253,141,117,279,802,873,872,826,810,979,973,903,982,983,1024,999,1060,865,875,975,830,112,978,1023,995,1008,1021,1022,977,869,5,1039,1041,898,1034,809,14]);
|
owner-app/_expo/static/js/web/index-4a26aa0e7aa3388bf16fcedad45c4b7d.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/_expo/static/js/web/index-a1ad644d82c9235233cdf7c8a80f8664.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
owner-app/index.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/owner-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/owner-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/owner-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/owner-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/owner-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/owner-app/_expo/static/js/web/__common-a3944045195b426410decb8e35f51de6.js" defer></script><script src="/owner-app/_expo/static/js/web/index-4a26aa0e7aa3388bf16fcedad45c4b7d.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
owner-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// Anchorage Manager service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-owner-
|
| 3 |
const BASE = "/owner-app/";
|
| 4 |
-
const PRECACHE = ["/owner-app/_expo/static/js/web/+not-found-c0715b37ad823d4ce2f5206f62c5b405.js", "/owner-app/_expo/static/js/web/[did]-0d8f5598929ab27d547672e738480c46.js", "/owner-app/_expo/static/js/web/[n]-f70147ed6be3e387c5c5b96a72ac6d67.js", "/owner-app/_expo/static/js/web/[oid]-d84141be120e5e94aac3862db784d536.js", "/owner-app/_expo/static/js/web/[section]-50debfd935d9eea30738639c6d520ce7.js", "/owner-app/_expo/static/js/web/[token]-95091a67ece0565f844f7e286de11363.js", "/owner-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage Manager service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-owner-f99559f401";
|
| 3 |
const BASE = "/owner-app/";
|
| 4 |
+
const PRECACHE = ["/owner-app/_expo/static/js/web/+not-found-c0715b37ad823d4ce2f5206f62c5b405.js", "/owner-app/_expo/static/js/web/[did]-0d8f5598929ab27d547672e738480c46.js", "/owner-app/_expo/static/js/web/[n]-f70147ed6be3e387c5c5b96a72ac6d67.js", "/owner-app/_expo/static/js/web/[oid]-d84141be120e5e94aac3862db784d536.js", "/owner-app/_expo/static/js/web/[section]-50debfd935d9eea30738639c6d520ce7.js", "/owner-app/_expo/static/js/web/[token]-95091a67ece0565f844f7e286de11363.js", "/owner-app/_expo/static/js/web/__common-a3944045195b426410decb8e35f51de6.js", "/owner-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/owner-app/_expo/static/js/web/_layout-3d2f124ff959de7c1bb6d15b85f34bd5.js", "/owner-app/_expo/static/js/web/basket-bc55ff791a24832051ce9f8a27bbdba3.js", "/owner-app/_expo/static/js/web/book-fe1a511098175362c634032b33cc795c.js", "/owner-app/_expo/static/js/web/demo-5228d8fc9d31e5306c21169ef41d9d0b.js", "/owner-app/_expo/static/js/web/feedback-cb959353b54fab0866378ed2be72132e.js", "/owner-app/_expo/static/js/web/gift-07557aa0dc548594d98c389388830159.js", "/owner-app/_expo/static/js/web/index-0506435bb652454ffa198594a7e57f92.js", "/owner-app/_expo/static/js/web/index-1a8d8df916faced7d6bcdb98065c09fe.js", "/owner-app/_expo/static/js/web/index-2cb94ab9efdba8080430fd81c70b339a.js", "/owner-app/_expo/static/js/web/index-4a26aa0e7aa3388bf16fcedad45c4b7d.js", "/owner-app/_expo/static/js/web/index-5710ed20b010a67bbb9d07510858c5fc.js", "/owner-app/_expo/static/js/web/index-58de8f051c20cc445fbe8adc0c139dce.js", "/owner-app/_expo/static/js/web/index-a1ad644d82c9235233cdf7c8a80f8664.js", "/owner-app/_expo/static/js/web/index-b6ff7e28395260bd4bf7e990a00bbd2d.js", "/owner-app/_expo/static/js/web/index-e57c2833a3c34f2511b73cfc581fa833.js", "/owner-app/_expo/static/js/web/index-f9245a145e39bc608fa19dd19ed0eca4.js", "/owner-app/_expo/static/js/web/lost-312deba7d8cf34ee11eefd449487477f.js", "/owner-app/_expo/static/js/web/loyalty-715677b42fb5442f74f4277c5668357f.js", "/owner-app/_expo/static/js/web/merch-6029c49c9ccd3a4b92c082f51200611b.js", "/owner-app/_expo/static/js/web/offers-ec22ebcf7c9b3691c768eaf1640d5012.js", "/owner-app/_expo/static/js/web/profile-337890e0e56d3b12d5f0637140cf7e83.js", "/owner-app/_expo/static/js/web/refer-c2fcc0a30b787a74fd99a7db78943e2f.js", "/owner-app/_expo/static/js/web/waitlist-50792dd191f30792d944d9760b052c34.js", "/owner-app/_expo/static/js/web/whatson-11543aaf1601e35745ccb1c678ae0747.js", "/owner-app/apple-touch-icon.png", "/owner-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/owner-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/owner-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/owner-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/owner-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/owner-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/owner-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/owner-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/owner-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/owner-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/owner-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/owner-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/owner-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/owner-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/owner-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/owner-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/owner-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/owner-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/owner-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/owner-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/owner-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/owner-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/owner-app/brand-logo.png", "/owner-app/favicon.ico", "/owner-app/icon-192.png", "/owner-app/icon-512.png", "/owner-app/icon-maskable-192.png", "/owner-app/icon-maskable-512.png", "/owner-app/manifest.webmanifest", "/owner-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
staff-app/_expo/static/js/web/__common-64c28628c08d56d6b646dc58cd201625.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
staff-app/_expo/static/js/web/_layout-9b042f8b2d916f6ac89d959c684ef485.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
staff-app/_expo/static/js/web/index-877f12057376c80a2a26e5b83735b298.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
staff-app/_expo/static/js/web/index-a6c4748e94c865cb738595cca583c472.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
staff-app/index.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/staff-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/staff-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/staff-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/staff-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/staff-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/staff-app/_expo/static/js/web/__common-64c28628c08d56d6b646dc58cd201625.js" defer></script><script src="/staff-app/_expo/static/js/web/index-877f12057376c80a2a26e5b83735b298.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
staff-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// Anchorage Staff service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-staff-
|
| 3 |
const BASE = "/staff-app/";
|
| 4 |
-
const PRECACHE = ["/staff-app/_expo/static/js/web/+not-found-c0715b37ad823d4ce2f5206f62c5b405.js", "/staff-app/_expo/static/js/web/[did]-0d8f5598929ab27d547672e738480c46.js", "/staff-app/_expo/static/js/web/[n]-76c5656c676288421db0bb5729fee8c4.js", "/staff-app/_expo/static/js/web/[oid]-d84141be120e5e94aac3862db784d536.js", "/staff-app/_expo/static/js/web/[section]-50debfd935d9eea30738639c6d520ce7.js", "/staff-app/_expo/static/js/web/[token]-fdbfe5fde9cc61fcf3dc32350d1afcb7.js", "/staff-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage Staff service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-staff-d62e828faa";
|
| 3 |
const BASE = "/staff-app/";
|
| 4 |
+
const PRECACHE = ["/staff-app/_expo/static/js/web/+not-found-c0715b37ad823d4ce2f5206f62c5b405.js", "/staff-app/_expo/static/js/web/[did]-0d8f5598929ab27d547672e738480c46.js", "/staff-app/_expo/static/js/web/[n]-76c5656c676288421db0bb5729fee8c4.js", "/staff-app/_expo/static/js/web/[oid]-d84141be120e5e94aac3862db784d536.js", "/staff-app/_expo/static/js/web/[section]-50debfd935d9eea30738639c6d520ce7.js", "/staff-app/_expo/static/js/web/[token]-fdbfe5fde9cc61fcf3dc32350d1afcb7.js", "/staff-app/_expo/static/js/web/__common-64c28628c08d56d6b646dc58cd201625.js", "/staff-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/staff-app/_expo/static/js/web/_layout-9b042f8b2d916f6ac89d959c684ef485.js", "/staff-app/_expo/static/js/web/basket-947f69add2ae4f194c9de79b3d82c072.js", "/staff-app/_expo/static/js/web/book-fe1a511098175362c634032b33cc795c.js", "/staff-app/_expo/static/js/web/demo-5228d8fc9d31e5306c21169ef41d9d0b.js", "/staff-app/_expo/static/js/web/feedback-cb959353b54fab0866378ed2be72132e.js", "/staff-app/_expo/static/js/web/gift-07557aa0dc548594d98c389388830159.js", "/staff-app/_expo/static/js/web/index-0506435bb652454ffa198594a7e57f92.js", "/staff-app/_expo/static/js/web/index-155d47a598c445f266c76c8911a79b2d.js", "/staff-app/_expo/static/js/web/index-1a8d8df916faced7d6bcdb98065c09fe.js", "/staff-app/_expo/static/js/web/index-5174e7b02adc8e0843e492a5c74d4672.js", "/staff-app/_expo/static/js/web/index-58de8f051c20cc445fbe8adc0c139dce.js", "/staff-app/_expo/static/js/web/index-877f12057376c80a2a26e5b83735b298.js", "/staff-app/_expo/static/js/web/index-a6c4748e94c865cb738595cca583c472.js", "/staff-app/_expo/static/js/web/index-a6f34dd6e4c646a7473555a9d477ec6b.js", "/staff-app/_expo/static/js/web/index-ac7e06de6c963d226085ed8b5d26139c.js", "/staff-app/_expo/static/js/web/index-b6ff7e28395260bd4bf7e990a00bbd2d.js", "/staff-app/_expo/static/js/web/lost-2838c270481f57397bc273f98b81a28f.js", "/staff-app/_expo/static/js/web/loyalty-3681574ad7135bf2b804a33fd1035552.js", "/staff-app/_expo/static/js/web/merch-c972dabf2e69b26f9c1d08fbcbca4895.js", "/staff-app/_expo/static/js/web/offers-c767de6c19c185e1164f6e7297573175.js", "/staff-app/_expo/static/js/web/profile-a052ffa70b268db7c721cbfb89251de2.js", "/staff-app/_expo/static/js/web/refer-24c04c7b3c1e697d454ff41850a57760.js", "/staff-app/_expo/static/js/web/waitlist-b46915f0e0647622df385647dc062708.js", "/staff-app/_expo/static/js/web/whatson-11543aaf1601e35745ccb1c678ae0747.js", "/staff-app/apple-touch-icon.png", "/staff-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/staff-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/staff-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/staff-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/staff-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/staff-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/staff-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/staff-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/staff-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/staff-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/staff-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/staff-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/staff-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/staff-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/staff-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/staff-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/staff-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/staff-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/staff-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/staff-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/staff-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/staff-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/staff-app/brand-logo.png", "/staff-app/favicon.ico", "/staff-app/icon-192.png", "/staff-app/icon-512.png", "/staff-app/icon-maskable-192.png", "/staff-app/icon-maskable-512.png", "/staff-app/manifest.webmanifest", "/staff-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|