fungiorganic commited on
Commit
de1e906
·
verified ·
1 Parent(s): 868e352

Cover Charge prototype v0.2.23

Browse files
Files changed (29) hide show
  1. CHECKSUMS.txt +11 -11
  2. HOW-TO-INSTALL.txt +1 -1
  3. chef-app/_expo/static/js/web/__common-410a2b278b65a0f7ca44d69cf54168da.js +0 -0
  4. chef-app/_expo/static/js/web/_layout-f607a6da1148ce355c101a8a3d25525c.js +0 -0
  5. chef-app/_expo/static/js/web/entry-07e579675de0f0af51b4d10c71a12f25.js +0 -0
  6. chef-app/_expo/static/js/web/index-907f09a1b7dfafd31bbe347a83ba0446.js +0 -0
  7. chef-app/_expo/static/js/web/index-a0798a3c639e60c68a3829f66e9658a4.js +2 -0
  8. chef-app/_expo/static/js/web/index-f198516126bb1e56d4e2a63fed542604.js +0 -0
  9. chef-app/index.html +1 -1
  10. chef-app/sw.js +7 -5
  11. customer-app/_expo/static/js/web/__common-430c0c436f37c79077eedcb7df4cb110.js +0 -0
  12. customer-app/_expo/static/js/web/_layout-163dd85f2916ba44784705d52d3a4f40.js +37 -0
  13. customer-app/_expo/static/js/web/entry-0c205cc548f52360a7903055e2f7b76f.js +0 -0
  14. customer-app/_expo/static/js/web/index-17bd3cdb7669cb1f75738320f7324d4d.js +2 -0
  15. customer-app/_expo/static/js/web/index-2ca116d9eee1afbb6033251f9b323b8e.js +0 -0
  16. customer-app/_expo/static/js/web/index-ac5e2edfbc6b0db75064ac1a24ed6f0b.js +0 -0
  17. customer-app/index.html +1 -1
  18. customer-app/sw.js +7 -5
  19. d/index.html +1 -0
  20. display-app/_expo/static/js/web/__common-103076bc66ec8c0bf40fc0487e4888b8.js +0 -0
  21. display-app/_expo/static/js/web/_layout-27ae90ce106465bc3fe607cbe3b7b19a.js +0 -0
  22. display-app/_expo/static/js/web/entry-b30e06c79f30e36ef1480aff643b2863.js +0 -0
  23. display-app/_expo/static/js/web/index-433cb114d123c9a52e1398466f170498.js +0 -0
  24. display-app/_expo/static/js/web/index-58d026c82097f61db2cf4e8e9d306c3e.js +0 -0
  25. display-app/_expo/static/js/web/index-e3f1729719b28ed35dafc37487dbda7a.js +2 -0
  26. display-app/index.html +1 -1
  27. display-app/sw.js +7 -5
  28. get/agate.html +1 -1
  29. get/finn.html +1 -1
CHECKSUMS.txt CHANGED
@@ -1,23 +1,23 @@
1
- Cover Charge prototype v0.2.22: web apps, plus the Cover Charge for Display tablet app for Android (downloads/android/, its SHA-256 is in downloads/android/SHA256.txt). No phone APKs were built for v0.1.2 to v0.2.22.
2
  SHA-256 of each web app's start page, service worker, manifest and logo:
3
 
4
- 0583ea0d251e4a7fcc37e226074afb8c5c23078cee0cce98daa8f93958d63a05 owner-app/index.html
5
- 79cb975e0deb1a31b084e6e98a2edc351f41113b261df12240bd07820c0df434 owner-app/sw.js
6
  b96989a55467862aeacd201789e453c090b19c44837d3b938e126f1de384c1fb owner-app/manifest.webmanifest
7
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
8
- 319c90e512e203fe14e5f745f001f4f89050c56dd91ff3edcda4465c7e57f5e0 staff-app/index.html
9
- 59e647d1f4a870f1c0f8ce6cb8c29011fc58437afb9ecc802ce334775c884016 staff-app/sw.js
10
  dc594ea8db35049527aac59632645abe88c98c9367255a0384b3bfa53d38473a staff-app/manifest.webmanifest
11
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
12
- 381a94c4c6673cb4ebe39b9f63b37dea1731cb543b849e5c944f529ad53d4e0b customer-app/index.html
13
- f7a08e726cc1b4bb0f6bd4511853576b3a7ce8ddb9bafc11edc53d93cf050864 customer-app/sw.js
14
  7a1484deb9e89b9ed2e07d9f4668dee9214258a77290b668bca265747fe5b7d4 customer-app/manifest.webmanifest
15
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
16
- 7177bc4b97a36a83a1882a57c53f8c827dab917694857c81f903d5e526cbd1a8 display-app/index.html
17
- d2bd076e658dbf2fafd976b783f16da288440c3f7838641335f53495e89bb32b display-app/sw.js
18
  47575ff744fb911037ed516b7874e597e0add70cb65bc4303f5be875c3c3d266 display-app/manifest.webmanifest
19
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
20
- 78b82c05d96f24f6eaeff2727d3ef586b156170ad47a3cd2806b909ccb3c8744 chef-app/index.html
21
- 0230cf026adc015857a51a078fe5327f24ad9135d524dfa2cc0ddae558059868 chef-app/sw.js
22
  c00570305d73e7a0105de1daf3c704646155b0c0aa32905d2557cadb312ea6f5 chef-app/manifest.webmanifest
23
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 chef-app/brand-logo.png
 
1
+ Cover Charge prototype v0.2.23: web apps, plus the Cover Charge for Display tablet app for Android (downloads/android/, its SHA-256 is in downloads/android/SHA256.txt). No phone APKs were built for v0.1.2 to v0.2.23.
2
  SHA-256 of each web app's start page, service worker, manifest and logo:
3
 
4
+ 2cd3cc4573f7702d2737a8a696a39bfa0bb6a8fcc6b4868da2ab3bdc40a9e5a0 owner-app/index.html
5
+ 2065d6b62b9389465b22a642aba21f9166b8e3558d48b970c3beb71aeea4690f owner-app/sw.js
6
  b96989a55467862aeacd201789e453c090b19c44837d3b938e126f1de384c1fb owner-app/manifest.webmanifest
7
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
8
+ fd0b1bc1a49f1e61e692195825a40e4fbe204254767aa1bf46da085b7b233e6b staff-app/index.html
9
+ 4d4d7b66709aed9fa3dd01d59ba991e339f25af4637f427cb8eac980ce496752 staff-app/sw.js
10
  dc594ea8db35049527aac59632645abe88c98c9367255a0384b3bfa53d38473a staff-app/manifest.webmanifest
11
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
12
+ 1405601ccee8817ddcb3d76f68634d3470d3e41c4e22b5bad782d25af8bce6f2 customer-app/index.html
13
+ 041cb1483b6ff85fd321a9de02897f0fcc02df9f290bc13ca8669f46cd88e192 customer-app/sw.js
14
  7a1484deb9e89b9ed2e07d9f4668dee9214258a77290b668bca265747fe5b7d4 customer-app/manifest.webmanifest
15
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
16
+ bcfd6ba476a588679fc7bd62bd8931418d729a17f6ddb378810ad6878bd68548 display-app/index.html
17
+ 35aefa3587e38fe6f594aa35f3ed662ffe625f8cba33da2327a6c11787a342e9 display-app/sw.js
18
  47575ff744fb911037ed516b7874e597e0add70cb65bc4303f5be875c3c3d266 display-app/manifest.webmanifest
19
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
20
+ f69b3b63b642c40e6c005260fde91722bd17259ae417f9ec860c34d955381b75 chef-app/index.html
21
+ a8a1e0f6adced08934ccdf62427c7268cd934d182514820740b131677454225c chef-app/sw.js
22
  c00570305d73e7a0105de1daf3c704646155b0c0aa32905d2557cadb312ea6f5 chef-app/manifest.webmanifest
23
  cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 chef-app/brand-logo.png
HOW-TO-INSTALL.txt CHANGED
@@ -1,4 +1,4 @@
1
- Cover Charge prototype apps, v0.2.22 (web apps)
2
  Pilot restaurant: The Anchorage, Harbour View, Dunure
3
 
4
  These are test versions with made-up demo data. No real payments, messages, social posts or location tracking happen.
 
1
+ Cover Charge prototype apps, v0.2.23 (web apps)
2
  Pilot restaurant: The Anchorage, Harbour View, Dunure
3
 
4
  These are test versions with made-up demo data. No real payments, messages, social posts or location tracking happen.
chef-app/_expo/static/js/web/__common-410a2b278b65a0f7ca44d69cf54168da.js ADDED
The diff for this file is too large to render. See raw diff
 
chef-app/_expo/static/js/web/_layout-f607a6da1148ce355c101a8a3d25525c.js ADDED
The diff for this file is too large to render. See raw diff
 
chef-app/_expo/static/js/web/entry-07e579675de0f0af51b4d10c71a12f25.js ADDED
The diff for this file is too large to render. See raw diff
 
chef-app/_expo/static/js/web/index-907f09a1b7dfafd31bbe347a83ba0446.js ADDED
The diff for this file is too large to render. See raw diff
 
chef-app/_expo/static/js/web/index-a0798a3c639e60c68a3829f66e9658a4.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 f}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]),c=r(d[4]);function f(){return'owner'!==u.APP_VARIANT?(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]}):(0,c.jsx)(n.OwnerApp,{})}},780,[785,12,913,787,6]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},913,[]);
chef-app/_expo/static/js/web/index-f198516126bb1e56d4e2a63fed542604.js ADDED
The diff for this file is too large to render. See raw diff
 
chef-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="/chef-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
- <script src="/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/chef-app/_expo/static/js/web/__common-6884fb508b8d73e51c1289c52979d543.js" defer></script><script src="/chef-app/_expo/static/js/web/entry-e5202182bb1975b6298d156870d21a85.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. */
 
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="/chef-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
+ <script src="/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/chef-app/_expo/static/js/web/__common-410a2b278b65a0f7ca44d69cf54168da.js" defer></script><script src="/chef-app/_expo/static/js/web/entry-07e579675de0f0af51b4d10c71a12f25.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. */
chef-app/sw.js CHANGED
@@ -1,7 +1,7 @@
1
  // Anchorage Head Chef service worker: precache the app shell so it opens offline after the first visit.
2
- const V = "cc-chef-7033725466";
3
  const BASE = "/chef-app/";
4
- const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/chef-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/chef-app/_expo/static/js/web/[n]-8e558ce3c503382d81a259fbdf10a469.js", "/chef-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/chef-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/chef-app/_expo/static/js/web/__common-6884fb508b8d73e51c1289c52979d543.js", "/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/chef-app/_expo/static/js/web/_layout-b25a80d653136dc9705d27147c93d0b3.js", "/chef-app/_expo/static/js/web/basket-c889820b43f80aca5cfc10759e58b500.js", "/chef-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/chef-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/chef-app/_expo/static/js/web/entry-e5202182bb1975b6298d156870d21a85.js", "/chef-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/chef-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/chef-app/_expo/static/js/web/index-03b3d77bd2e8a210ebb2df9f2863b203.js", "/chef-app/_expo/static/js/web/index-045ad59f6afed216a3d1f8858f9dfbb5.js", "/chef-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/chef-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/chef-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/chef-app/_expo/static/js/web/index-8edcd38ef3df4e399f0f5f8c46c0cb80.js", "/chef-app/_expo/static/js/web/index-c21c25c2c6e4491e5d190865573928d3.js", "/chef-app/_expo/static/js/web/index-ccc9e5eb440b789b1c32fe2e27e30839.js", "/chef-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/chef-app/_expo/static/js/web/lost-e43ed901b9bdb90a961de71b16ee2e27.js", "/chef-app/_expo/static/js/web/loyalty-50b96f5edf1975b1fd49e2dda76bdf0b.js", "/chef-app/_expo/static/js/web/merch-497952082abffc295443c32cde709c8e.js", "/chef-app/_expo/static/js/web/offers-fdb0de6863fb561ae4062365be93c480.js", "/chef-app/_expo/static/js/web/profile-bec14650e36af0b5c47a2b887a6d94bb.js", "/chef-app/_expo/static/js/web/refer-c5e13b8f8bbd4d501f3766dbb492f81e.js", "/chef-app/_expo/static/js/web/waitlist-af26b3d4ba8d32c460351243b4b0505f.js", "/chef-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/chef-app/apple-touch-icon.png", "/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/chef-app/brand-logo.png", "/chef-app/favicon.ico", "/chef-app/icon-192.png", "/chef-app/icon-512.png", "/chef-app/icon-maskable-192.png", "/chef-app/icon-maskable-512.png", "/chef-app/manifest.webmanifest", "/chef-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);
@@ -30,15 +30,17 @@ self.addEventListener('fetch', e => {
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
- const want = (e.notification.data && e.notification.data.url) || BASE + 'index.html';
 
34
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
35
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
 
36
  return open ? open.focus() : self.clients.openWindow(want);
37
  }));
38
  });
39
- // v0.1.17: push stub. Preview mode has no push provider, so nothing sends these yet; a future server push shows here.
40
  self.addEventListener('push', e => {
41
  if (!e.data) return;
42
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
43
- e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || BASE + 'index.html' } }));
44
  });
 
1
  // Anchorage Head Chef service worker: precache the app shell so it opens offline after the first visit.
2
+ const V = "cc-chef-305483e376";
3
  const BASE = "/chef-app/";
4
+ const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/chef-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/chef-app/_expo/static/js/web/[n]-8e558ce3c503382d81a259fbdf10a469.js", "/chef-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/chef-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/chef-app/_expo/static/js/web/__common-410a2b278b65a0f7ca44d69cf54168da.js", "/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/chef-app/_expo/static/js/web/_layout-f607a6da1148ce355c101a8a3d25525c.js", "/chef-app/_expo/static/js/web/basket-c889820b43f80aca5cfc10759e58b500.js", "/chef-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/chef-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/chef-app/_expo/static/js/web/entry-07e579675de0f0af51b4d10c71a12f25.js", "/chef-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/chef-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/chef-app/_expo/static/js/web/index-03b3d77bd2e8a210ebb2df9f2863b203.js", "/chef-app/_expo/static/js/web/index-045ad59f6afed216a3d1f8858f9dfbb5.js", "/chef-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/chef-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/chef-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/chef-app/_expo/static/js/web/index-907f09a1b7dfafd31bbe347a83ba0446.js", "/chef-app/_expo/static/js/web/index-a0798a3c639e60c68a3829f66e9658a4.js", "/chef-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/chef-app/_expo/static/js/web/index-f198516126bb1e56d4e2a63fed542604.js", "/chef-app/_expo/static/js/web/lost-e43ed901b9bdb90a961de71b16ee2e27.js", "/chef-app/_expo/static/js/web/loyalty-50b96f5edf1975b1fd49e2dda76bdf0b.js", "/chef-app/_expo/static/js/web/merch-497952082abffc295443c32cde709c8e.js", "/chef-app/_expo/static/js/web/offers-fdb0de6863fb561ae4062365be93c480.js", "/chef-app/_expo/static/js/web/profile-bec14650e36af0b5c47a2b887a6d94bb.js", "/chef-app/_expo/static/js/web/refer-c5e13b8f8bbd4d501f3766dbb492f81e.js", "/chef-app/_expo/static/js/web/waitlist-af26b3d4ba8d32c460351243b4b0505f.js", "/chef-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/chef-app/apple-touch-icon.png", "/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/chef-app/brand-logo.png", "/chef-app/favicon.ico", "/chef-app/icon-192.png", "/chef-app/icon-512.png", "/chef-app/icon-maskable-192.png", "/chef-app/icon-maskable-512.png", "/chef-app/manifest.webmanifest", "/chef-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);
 
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
+ const want = new URL((e.notification.data && e.notification.data.url) || 'index.html', self.registration.scope).href;
34
+ const deep = new URL(want).search.length > 1; // v0.2.23: e.g. ?open=orderlists&list=allsons opens that list
35
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
36
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
37
+ if (open && deep && open.navigate) return open.navigate(want).then(c => (c || open).focus());
38
  return open ? open.focus() : self.clients.openWindow(want);
39
  }));
40
  });
41
+ // v0.2.23: scheduled notifications (Settings › Advanced › Notifications) sent by the send-scheduled-notifications function.
42
  self.addEventListener('push', e => {
43
  if (!e.data) return;
44
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
45
+ e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || 'index.html' } }));
46
  });
customer-app/_expo/static/js/web/__common-430c0c436f37c79077eedcb7df4cb110.js ADDED
The diff for this file is too large to render. See raw diff
 
customer-app/_expo/static/js/web/_layout-163dd85f2916ba44784705d52d3a4f40.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 R}});var t=r(_d[0]),s=r(_d[1]),n=r(_d[2]),o=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var n=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,n.get?n:{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])),y=r(_d[11]),h=r(_d[12]),S=r(_d[13]),j=r(_d[14]),O=r(_d[15]),b=r(_d[16]),_=r(_d[17]),w=r(_d[18]),P=r(_d[19]),v=r(_d[20]);r(_d[21]);var x=r(_d[22]),E=r(_d[23]),A=r(_d[24]),k=r(_d[25]);const H=r(_d[26]),T=r(_d[27]),B=r(_d[28]),F=r(_d[29]);function R(){const[e]=(0,t.useFonts)({Poppins_400Regular:H,Poppins_500Medium:T,Poppins_600SemiBold:B,Poppins_700Bold:F}),[P,R]=(0,c.useState)(j.useStore.persist.hasHydrated()),[I,M]=(0,c.useState)(b.useOwner.persist.hasHydrated()),C=P&&I;(0,c.useEffect)(()=>{const e=j.useStore.persist.onFinishHydration(()=>R(!0)),t=b.useOwner.persist.onFinishHydration(()=>M(!0));return j.useStore.persist.hasHydrated()&&R(!0),b.useOwner.persist.hasHydrated()&&M(!0),()=>{e(),t()}},[]),(0,c.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===j.useStore.persist.getOptions().name&&j.useStore.persist.rehydrate(),e.key===O.useFloor.persist.getOptions().name&&O.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)(()=>{C&&b.useOwner.getState().syncRoster()},[C]),(0,c.useEffect)(()=>{C&&(0,v.startAppSync)()},[C]);const L=e&&C,N=(0,n.usePathname)(),V=L&&!(0,h.isAllowedPath)(N||'/');return(0,c.useEffect)(()=>{if(!V)return;const e=setTimeout(()=>n.router.replace(h.ENTRY[h.APP_VARIANT]),0);return()=>clearTimeout(e)},[V,N]),(0,c.useEffect)(()=>{L&&o.hideAsync().catch(()=>{})},[L]),L?(0,k.jsxs)(S.SafeAreaProvider,{children:[(0,k.jsx)(u.StatusBar,{style:"light"}),(0,k.jsx)(n.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:_.colours.bg}}}),V?(0,k.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:_.colours.bg}]}):null,V?null:(0,k.jsx)(E.VoiceHost,{}),(0,k.jsx)(x.SyncBadge,{}),(0,k.jsx)(w.InviteGate,{}),V?null:(0,k.jsx)(A.SliderHost,{})]}):(0,k.jsxs)(p.default,{style:{flex:1,backgroundColor:_.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[(0,k.jsx)(d.default,{source:y.HERO_LOGOS.anchorage,accessibilityLabel:"The Anchorage logo",style:{width:180,height:180},resizeMode:"contain"}),(0,k.jsx)(l.default,{color:_.colours.gold})]})}P.START_INVITE,o.preventAutoHideAsync().catch(()=>{})},783,[952,802,785,979,549,12,228,178,104,28,109,893,787,271,797,803,816,799,935,817,798,981,982,983,883,6,984,985,986,987]);
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])},952,[953,976,978]);
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)}}},953,[283,954,957,971,972,973,974,975]);
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}},954,[283,955]);
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}},955,[956]);
6
+ __d(function(g,r,i,a,m,e,d){},956,[]);
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)}},957,[958,283,954,971,972]);
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]}})})},958,[959,960,970]);
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()}})}},959,[960,964,969]);
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}}},960,[283,214,961,965,966,967,968,964,969]);
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}},961,[283,962,181,94,963,964]);
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])},962,[557]);
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}}},963,[283,181]);
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},964,[]);
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}},965,[]);
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}},966,[]);
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])},967,[965]);
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}},968,[]);
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},969,[214,963]);
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])},970,[12,960]);
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}},971,[958,283]);
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])},972,[958,971]);
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}},973,[954]);
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])},974,[283,954,957,955]);
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})({})},975,[]);
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]))},976,[283,35,977]);
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')},977,[283]);
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]}},978,[12,953]);
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]}})})},979,[980]);
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(){}},980,[]);
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()})},981,[988,809,798]);
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}),_e.SyncBadge=function(){const e=(0,c.useSync)(),[v,T]=(0,n.useState)(!1),[j,I]=(0,n.useState)(''),D=(0,n.useRef)(e.failed),[z,R]=(0,n.useState)(!1),[C,S]=(0,n.useState)(''),A=(0,u.useDisplaySettings)(p.VENUE_RID),P=(0,y.useScreensaverAsleep)(e=>e.asleep);if((0,n.useEffect)(()=>{if(e.failed>D.current){I('A change couldn\u2019t be saved to the shared system. It\u2019s kept on this device.');const n=setTimeout(()=>I(''),6e3);return D.current=e.failed,()=>clearTimeout(n)}D.current=e.failed},[e.failed]),'customer'===l.APP_VARIANT||'off'===e.mode)return null;if(P)return null;const k='live'===e.mode,w='display'===l.APP_VARIANT,N=k?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',_=k?h.colours.green:'offline'===e.mode||'connecting'===e.mode?h.colours.gold:h.colours.muted,L=k?`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,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(t.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:`Sync: ${N}`,onPress:()=>T(e=>!e),style:{position:'absolute',left:10,bottom:x,zIndex:900,flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:10,paddingVertical:5,borderRadius:999,backgroundColor:'rgba(16,14,11,0.92)',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,f.jsx)(o.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:_}}),(0,f.jsx)(b.T,{size:12,weight:"semibold",children:N})]}),v?(0,f.jsxs)(o.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:x+34,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:'#15120E',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,f.jsx)(b.T,{size:13,children:L}),e.failed?(0,f.jsxs)(b.T,{size:12,colour:h.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,f.jsx)(b.T,{size:12,colour:h.colours.muted,children:e.message}):null,e.venueId&&(k||'offline'===e.mode)?z?(0,f.jsxs)(o.default,{style:{gap:6,marginTop:6},children:[(0,f.jsx)(b.T,{size:12,children:w?'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.'}),w&&A.pinOn?(0,f.jsx)(s.default,{testID:"unpair-pin",value:C,onChangeText:S,placeholder:"Display PIN",placeholderTextColor:h.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:h.colours.text}}):null,(0,f.jsxs)(o.default,{style:{flexDirection:'row',gap:8},children:[(0,f.jsx)(t.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:w?'Yes, unpair':'Yes, disconnect',disabled:w&&A.pinOn&&C!==A.pin,onPress:()=>{R(!1),T(!1),S(''),w?(0,c.unpairDisplay)():(0,c.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:w&&A.pinOn&&C!==A.pin?'rgba(255,255,255,0.08)':h.colours.red},children:(0,f.jsx)(b.T,{size:12,weight:"semibold",children:w?'Yes, unpair':'Yes, disconnect'})}),(0,f.jsx)(t.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{R(!1),S('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,f.jsx)(b.T,{size:12,children:"Keep"})})]})]}):(0,f.jsx)(t.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:w?'Unpair this display':'Disconnect this device',onPress:()=>R(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,f.jsx)(b.T,{size:12,colour:h.colours.gold,children:w?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null]}):null,j?(0,f.jsx)(o.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:x+42,zIndex:950,alignItems:'center'},pointerEvents:"none",children:(0,f.jsx)(o.default,{style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:h.colours.red,maxWidth:460},children:(0,f.jsx)(b.T,{size:13,children:j})})}):null]})};var n=r(d[0]),t=e(r(d[1])),s=e(r(d[2])),o=e(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),h=r(d[8]),b=r(d[9]),y=r(d[10]),f=r(d[11]);const x='display'===l.APP_VARIANT?10:68},982,[12,245,255,109,787,798,803,860,799,791,906,6]);
33
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.VoiceHost=function(){return null}},983,[]);
34
+ __d(function(e,o,s,p,t,a,n){"use strict";t.exports="/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},984,[]);
35
+ __d(function(o,s,e,p,t,c,d){"use strict";t.exports="/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},985,[]);
36
+ __d(function(o,s,e,p,t,d,f){"use strict";t.exports="/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},986,[]);
37
+ __d(function(o,s,e,p,t,d,n){"use strict";t.exports="/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},987,[]);
customer-app/_expo/static/js/web/entry-0c205cc548f52360a7903055e2f7b76f.js ADDED
The diff for this file is too large to render. See raw diff
 
customer-app/_expo/static/js/web/index-17bd3cdb7669cb1f75738320f7324d4d.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 f}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]),c=r(d[4]);function f(){return'owner'!==u.APP_VARIANT?(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]}):(0,c.jsx)(n.OwnerApp,{})}},780,[785,12,916,787,6]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},916,[]);
customer-app/_expo/static/js/web/index-2ca116d9eee1afbb6033251f9b323b8e.js ADDED
The diff for this file is too large to render. See raw diff
 
customer-app/_expo/static/js/web/index-ac5e2edfbc6b0db75064ac1a24ed6f0b.js ADDED
The diff for this file is too large to render. See raw diff
 
customer-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="/customer-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
- <script src="/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/customer-app/_expo/static/js/web/__common-d8147d65cccc8ece8d111512d22d67c8.js" defer></script><script src="/customer-app/_expo/static/js/web/entry-2c477eb0cc9a10094dc4311d07b1a1bc.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. */
 
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="/customer-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
+ <script src="/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/customer-app/_expo/static/js/web/__common-430c0c436f37c79077eedcb7df4cb110.js" defer></script><script src="/customer-app/_expo/static/js/web/entry-0c205cc548f52360a7903055e2f7b76f.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. */
customer-app/sw.js CHANGED
@@ -1,7 +1,7 @@
1
  // Anchorage service worker: precache the app shell so it opens offline after the first visit.
2
- const V = "cc-customer-18f8722ca8";
3
  const BASE = "/customer-app/";
4
- const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/customer-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/customer-app/_expo/static/js/web/[n]-60d6f89c1379f6d2a9ada613208d3462.js", "/customer-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/customer-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/customer-app/_expo/static/js/web/__common-d8147d65cccc8ece8d111512d22d67c8.js", "/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/customer-app/_expo/static/js/web/_layout-f445526d034e50f6b95b780d562520b0.js", "/customer-app/_expo/static/js/web/basket-94da430a0b93745f0d88d2015a1f321c.js", "/customer-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/customer-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/customer-app/_expo/static/js/web/entry-2c477eb0cc9a10094dc4311d07b1a1bc.js", "/customer-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/customer-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/customer-app/_expo/static/js/web/index-2b92835f6392ec00023022267a4c82b3.js", "/customer-app/_expo/static/js/web/index-33aa0395ec2b53c3c385c6ca9636f4b7.js", "/customer-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/customer-app/_expo/static/js/web/index-41f68c812f947221794dc275e73cf390.js", "/customer-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/customer-app/_expo/static/js/web/index-637557fa01fb8b315f8e7d1c592dd568.js", "/customer-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/customer-app/_expo/static/js/web/index-d506c620073f7d17b7a124ac4fc80cc5.js", "/customer-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/customer-app/_expo/static/js/web/lost-6321849f48799a8f0eda82242f72f0e2.js", "/customer-app/_expo/static/js/web/loyalty-6aa807d2207f13ba28e3edca3e01bda7.js", "/customer-app/_expo/static/js/web/merch-d9960447500ea85bd35d4be04ec8b17b.js", "/customer-app/_expo/static/js/web/offers-6da197d030b2337d0d84bdf84f9cdc2a.js", "/customer-app/_expo/static/js/web/profile-2226d14e0a7b319f78cc42d3469f49d7.js", "/customer-app/_expo/static/js/web/refer-7259669f66ebec5d9b0bfa6db8df485c.js", "/customer-app/_expo/static/js/web/waitlist-027b4bcdaa2527b5835469ba174ccad9.js", "/customer-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/customer-app/apple-touch-icon.png", "/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/customer-app/brand-logo.png", "/customer-app/favicon.ico", "/customer-app/icon-192.png", "/customer-app/icon-512.png", "/customer-app/icon-maskable-192.png", "/customer-app/icon-maskable-512.png", "/customer-app/manifest.webmanifest", "/customer-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);
@@ -30,15 +30,17 @@ self.addEventListener('fetch', e => {
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
- const want = (e.notification.data && e.notification.data.url) || BASE + 'index.html';
 
34
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
35
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
 
36
  return open ? open.focus() : self.clients.openWindow(want);
37
  }));
38
  });
39
- // v0.1.17: push stub. Preview mode has no push provider, so nothing sends these yet; a future server push shows here.
40
  self.addEventListener('push', e => {
41
  if (!e.data) return;
42
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
43
- e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || BASE + 'index.html' } }));
44
  });
 
1
  // Anchorage service worker: precache the app shell so it opens offline after the first visit.
2
+ const V = "cc-customer-07163fd6af";
3
  const BASE = "/customer-app/";
4
+ const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/customer-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/customer-app/_expo/static/js/web/[n]-60d6f89c1379f6d2a9ada613208d3462.js", "/customer-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/customer-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/customer-app/_expo/static/js/web/__common-430c0c436f37c79077eedcb7df4cb110.js", "/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/customer-app/_expo/static/js/web/_layout-163dd85f2916ba44784705d52d3a4f40.js", "/customer-app/_expo/static/js/web/basket-94da430a0b93745f0d88d2015a1f321c.js", "/customer-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/customer-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/customer-app/_expo/static/js/web/entry-0c205cc548f52360a7903055e2f7b76f.js", "/customer-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/customer-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/customer-app/_expo/static/js/web/index-17bd3cdb7669cb1f75738320f7324d4d.js", "/customer-app/_expo/static/js/web/index-2b92835f6392ec00023022267a4c82b3.js", "/customer-app/_expo/static/js/web/index-2ca116d9eee1afbb6033251f9b323b8e.js", "/customer-app/_expo/static/js/web/index-33aa0395ec2b53c3c385c6ca9636f4b7.js", "/customer-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/customer-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/customer-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/customer-app/_expo/static/js/web/index-ac5e2edfbc6b0db75064ac1a24ed6f0b.js", "/customer-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/customer-app/_expo/static/js/web/lost-6321849f48799a8f0eda82242f72f0e2.js", "/customer-app/_expo/static/js/web/loyalty-6aa807d2207f13ba28e3edca3e01bda7.js", "/customer-app/_expo/static/js/web/merch-d9960447500ea85bd35d4be04ec8b17b.js", "/customer-app/_expo/static/js/web/offers-6da197d030b2337d0d84bdf84f9cdc2a.js", "/customer-app/_expo/static/js/web/profile-2226d14e0a7b319f78cc42d3469f49d7.js", "/customer-app/_expo/static/js/web/refer-7259669f66ebec5d9b0bfa6db8df485c.js", "/customer-app/_expo/static/js/web/waitlist-027b4bcdaa2527b5835469ba174ccad9.js", "/customer-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/customer-app/apple-touch-icon.png", "/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/customer-app/brand-logo.png", "/customer-app/favicon.ico", "/customer-app/icon-192.png", "/customer-app/icon-512.png", "/customer-app/icon-maskable-192.png", "/customer-app/icon-maskable-512.png", "/customer-app/manifest.webmanifest", "/customer-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);
 
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
+ const want = new URL((e.notification.data && e.notification.data.url) || 'index.html', self.registration.scope).href;
34
+ const deep = new URL(want).search.length > 1; // v0.2.23: e.g. ?open=orderlists&list=allsons opens that list
35
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
36
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
37
+ if (open && deep && open.navigate) return open.navigate(want).then(c => (c || open).focus());
38
  return open ? open.focus() : self.clients.openWindow(want);
39
  }));
40
  });
41
+ // v0.2.23: scheduled notifications (Settings › Advanced › Notifications) sent by the send-scheduled-notifications function.
42
  self.addEventListener('push', e => {
43
  if (!e.data) return;
44
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
45
+ e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || 'index.html' } }));
46
  });
d/index.html ADDED
@@ -0,0 +1 @@
 
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><title>Display · CoverCharge</title><meta http-equiv="refresh" content="0;url=../get/display.html"><meta name="viewport" content="width=device-width,initial-scale=1"><script>location.replace(new URL("../get/display.html", location.href.replace(/\/d$/, "/d/")).href)</script><style>body{background:#0B0B0B;color:#E8E2D4;font-family:sans-serif;padding:24px}a{color:#C9A24A}</style></head><body><p>Opening the Display… <a href="../get/display.html">Tap here if it doesn’t open</a>.</p></body></html>
display-app/_expo/static/js/web/__common-103076bc66ec8c0bf40fc0487e4888b8.js ADDED
The diff for this file is too large to render. See raw diff
 
display-app/_expo/static/js/web/_layout-27ae90ce106465bc3fe607cbe3b7b19a.js ADDED
The diff for this file is too large to render. See raw diff
 
display-app/_expo/static/js/web/entry-b30e06c79f30e36ef1480aff643b2863.js ADDED
The diff for this file is too large to render. See raw diff
 
display-app/_expo/static/js/web/index-433cb114d123c9a52e1398466f170498.js ADDED
The diff for this file is too large to render. See raw diff
 
display-app/_expo/static/js/web/index-58d026c82097f61db2cf4e8e9d306c3e.js ADDED
The diff for this file is too large to render. See raw diff
 
display-app/_expo/static/js/web/index-e3f1729719b28ed35dafc37487dbda7a.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 f}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]),c=r(d[4]);function f(){return'owner'!==u.APP_VARIANT?(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]}):(0,c.jsx)(n.OwnerApp,{})}},780,[785,12,914,787,6]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},914,[]);
display-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="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
- <script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-a347ded24b48e5fe9cdd3f8a69688fee.js" defer></script><script src="/display-app/_expo/static/js/web/entry-72e730acb7e542b656160e23c4b8d657.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. */
 
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="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
48
+ <script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-103076bc66ec8c0bf40fc0487e4888b8.js" defer></script><script src="/display-app/_expo/static/js/web/entry-b30e06c79f30e36ef1480aff643b2863.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. */
display-app/sw.js CHANGED
@@ -1,7 +1,7 @@
1
  // Anchorage Display service worker: precache the app shell so it opens offline after the first visit.
2
- const V = "cc-display-a46e587d5b";
3
  const BASE = "/display-app/";
4
- const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/display-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/display-app/_expo/static/js/web/[n]-002152f12507e8163a44340d0899ec9c.js", "/display-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/display-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/display-app/_expo/static/js/web/__common-a347ded24b48e5fe9cdd3f8a69688fee.js", "/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/display-app/_expo/static/js/web/_layout-7a0c75f801a57c71f05b48f121c33573.js", "/display-app/_expo/static/js/web/basket-f625050b5378b7835c7b0531a8d87b99.js", "/display-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/display-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/display-app/_expo/static/js/web/entry-72e730acb7e542b656160e23c4b8d657.js", "/display-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/display-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/display-app/_expo/static/js/web/index-1f8f14e2bee326f119c284e01bef57dd.js", "/display-app/_expo/static/js/web/index-3c853b36d880be5dea66261a8f87ff95.js", "/display-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/display-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/display-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/display-app/_expo/static/js/web/index-9eb8c7acf25af76b6df08b2c1d3e0564.js", "/display-app/_expo/static/js/web/index-dcf56a40d7560cdee46d806ec6c453db.js", "/display-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/display-app/_expo/static/js/web/index-f92d197c1fe113b3fa2d8402c42f163d.js", "/display-app/_expo/static/js/web/lost-1e6398f6494d3015c150145cf234acff.js", "/display-app/_expo/static/js/web/loyalty-1983afbe0d08f311ef01775598cdda6e.js", "/display-app/_expo/static/js/web/merch-2b36b9e0d2fa44fb3bb28bf4475e3cff.js", "/display-app/_expo/static/js/web/offers-0aa896051a081d579d4564f13efc078e.js", "/display-app/_expo/static/js/web/profile-226b50adbe3252e6b78e12d966a1af30.js", "/display-app/_expo/static/js/web/refer-e7c486c6f38735576d3772011eb2da7b.js", "/display-app/_expo/static/js/web/waitlist-3d5fa808005b46d07073a2a5135b539a.js", "/display-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/display-app/apple-touch-icon.png", "/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/display-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/display-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/display-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/display-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/display-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/display-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/display-app/brand-logo.png", "/display-app/favicon.ico", "/display-app/icon-192.png", "/display-app/icon-512.png", "/display-app/icon-maskable-192.png", "/display-app/icon-maskable-512.png", "/display-app/manifest.webmanifest", "/display-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);
@@ -30,15 +30,17 @@ self.addEventListener('fetch', e => {
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
- const want = (e.notification.data && e.notification.data.url) || BASE + 'index.html';
 
34
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
35
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
 
36
  return open ? open.focus() : self.clients.openWindow(want);
37
  }));
38
  });
39
- // v0.1.17: push stub. Preview mode has no push provider, so nothing sends these yet; a future server push shows here.
40
  self.addEventListener('push', e => {
41
  if (!e.data) return;
42
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
43
- e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || BASE + 'index.html' } }));
44
  });
 
1
  // Anchorage Display service worker: precache the app shell so it opens offline after the first visit.
2
+ const V = "cc-display-d4c5b3cc84";
3
  const BASE = "/display-app/";
4
+ const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-da8ea3ec55bebb0779db542f35c6adf9.js", "/display-app/_expo/static/js/web/[did]-e4382792c51e53176e20f8028790b773.js", "/display-app/_expo/static/js/web/[n]-002152f12507e8163a44340d0899ec9c.js", "/display-app/_expo/static/js/web/[oid]-affd80a8b572b9c207d9b216313d29dc.js", "/display-app/_expo/static/js/web/[section]-11e4dec81ff7b7cd85a190186e1ec965.js", "/display-app/_expo/static/js/web/__common-103076bc66ec8c0bf40fc0487e4888b8.js", "/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/display-app/_expo/static/js/web/_layout-27ae90ce106465bc3fe607cbe3b7b19a.js", "/display-app/_expo/static/js/web/basket-f625050b5378b7835c7b0531a8d87b99.js", "/display-app/_expo/static/js/web/book-1d5b97d633d6c3f7b1fac568474b5644.js", "/display-app/_expo/static/js/web/demo-2aeda33db335ba3a45d18733444a4df6.js", "/display-app/_expo/static/js/web/entry-b30e06c79f30e36ef1480aff643b2863.js", "/display-app/_expo/static/js/web/feedback-6dbe946e1675fb596c5c4cd508919819.js", "/display-app/_expo/static/js/web/gift-68f9ee1cd4ed0c0f9068fb93bfa60db9.js", "/display-app/_expo/static/js/web/index-3c853b36d880be5dea66261a8f87ff95.js", "/display-app/_expo/static/js/web/index-3ce55512f207e0f4e938fcea314e34d2.js", "/display-app/_expo/static/js/web/index-42c772ae8e6fc8ffb457607b71499331.js", "/display-app/_expo/static/js/web/index-433cb114d123c9a52e1398466f170498.js", "/display-app/_expo/static/js/web/index-58d026c82097f61db2cf4e8e9d306c3e.js", "/display-app/_expo/static/js/web/index-74ed5e3887809c4259d725a2965aa3f3.js", "/display-app/_expo/static/js/web/index-dcf56a40d7560cdee46d806ec6c453db.js", "/display-app/_expo/static/js/web/index-e3f1729719b28ed35dafc37487dbda7a.js", "/display-app/_expo/static/js/web/index-e57a61ccf8b16e38bf91548a01cebbf1.js", "/display-app/_expo/static/js/web/lost-1e6398f6494d3015c150145cf234acff.js", "/display-app/_expo/static/js/web/loyalty-1983afbe0d08f311ef01775598cdda6e.js", "/display-app/_expo/static/js/web/merch-2b36b9e0d2fa44fb3bb28bf4475e3cff.js", "/display-app/_expo/static/js/web/offers-0aa896051a081d579d4564f13efc078e.js", "/display-app/_expo/static/js/web/profile-226b50adbe3252e6b78e12d966a1af30.js", "/display-app/_expo/static/js/web/refer-e7c486c6f38735576d3772011eb2da7b.js", "/display-app/_expo/static/js/web/waitlist-3d5fa808005b46d07073a2a5135b539a.js", "/display-app/_expo/static/js/web/whatson-9c60dd15f704285737d9a99e5fabdc58.js", "/display-app/apple-touch-icon.png", "/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/display-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/display-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/display-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/display-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/display-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/display-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/display-app/brand-logo.png", "/display-app/favicon.ico", "/display-app/icon-192.png", "/display-app/icon-512.png", "/display-app/icon-maskable-192.png", "/display-app/icon-maskable-512.png", "/display-app/manifest.webmanifest", "/display-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);
 
30
  // v0.1.17: tapping an alert notification focuses the app if it is open, otherwise opens it.
31
  self.addEventListener('notificationclick', e => {
32
  e.notification.close();
33
+ const want = new URL((e.notification.data && e.notification.data.url) || 'index.html', self.registration.scope).href;
34
+ const deep = new URL(want).search.length > 1; // v0.2.23: e.g. ?open=orderlists&list=allsons opens that list
35
  e.waitUntil(self.clients.matchAll({ type: 'window', includeUncontrolled: true }).then(list => {
36
  const open = list.find(c => new URL(c.url).pathname.startsWith(BASE));
37
+ if (open && deep && open.navigate) return open.navigate(want).then(c => (c || open).focus());
38
  return open ? open.focus() : self.clients.openWindow(want);
39
  }));
40
  });
41
+ // v0.2.23: scheduled notifications (Settings › Advanced › Notifications) sent by the send-scheduled-notifications function.
42
  self.addEventListener('push', e => {
43
  if (!e.data) return;
44
  let d = {}; try { d = e.data.json(); } catch (_) { d = { body: e.data.text() }; }
45
+ e.waitUntil(self.registration.showNotification(d.title || "Anchorage", { body: d.body || '', icon: BASE + 'icon-192.png', tag: d.tag, data: { url: d.url || 'index.html' } }));
46
  });
get/agate.html CHANGED
@@ -17,7 +17,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
17
  .muted{color:#9d927d;font-size:13px;line-height:1.45}.hide{display:none}
18
  footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
19
  <img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
20
- <h1>Hi Agate</h1><p class="sub">Restaurant Supervisor · The Anchorage</p>
21
  <div class="badge">Cover Charge for Staff</div>
22
  <div class="seg" role="group" aria-label="Your phone"><button type="button" data-p="apple" aria-pressed="false">iPhone</button><button type="button" data-p="android" aria-pressed="false">Android</button></div>
23
  <div class="card"><b>Install it</b><div data-steps="apple"><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, 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><p class="muted">Don't add <i>this</i> page to your Home Screen, add the app.</p></div><div data-steps="android"><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, tap <b>Install app</b> when it pops up, or tap <b>⋮</b> then <b>Install app</b> / <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><p class="muted">If Chrome says “This app cannot be installed”, you're still on this page. Tap the gold Open button first.</p></div></div>
 
17
  .muted{color:#9d927d;font-size:13px;line-height:1.45}.hide{display:none}
18
  footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
19
  <img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
20
+ <h1>Hi Agate</h1><p class="sub">Front of house · The Anchorage</p>
21
  <div class="badge">Cover Charge for Staff</div>
22
  <div class="seg" role="group" aria-label="Your phone"><button type="button" data-p="apple" aria-pressed="false">iPhone</button><button type="button" data-p="android" aria-pressed="false">Android</button></div>
23
  <div class="card"><b>Install it</b><div data-steps="apple"><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, 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><p class="muted">Don't add <i>this</i> page to your Home Screen, add the app.</p></div><div data-steps="android"><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, tap <b>Install app</b> when it pops up, or tap <b>⋮</b> then <b>Install app</b> / <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><p class="muted">If Chrome says “This app cannot be installed”, you're still on this page. Tap the gold Open button first.</p></div></div>
get/finn.html CHANGED
@@ -17,7 +17,7 @@ ol{margin:0;padding-left:20px;line-height:1.6;color:#e6dcc8}li b{color:#f3ead8}
17
  .muted{color:#9d927d;font-size:13px;line-height:1.45}.hide{display:none}
18
  footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
19
  <img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
20
- <h1>Hi Finn (Paddy)</h1><p class="sub">Bar Extraordinaire · The Anchorage</p>
21
  <div class="badge">Cover Charge for Staff</div>
22
  <div class="seg" role="group" aria-label="Your phone"><button type="button" data-p="apple" aria-pressed="false">iPhone</button><button type="button" data-p="android" aria-pressed="false">Android</button></div>
23
  <div class="card"><b>Install it</b><div data-steps="apple"><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, 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><p class="muted">Don't add <i>this</i> page to your Home Screen, add the app.</p></div><div data-steps="android"><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, tap <b>Install app</b> when it pops up, or tap <b>⋮</b> then <b>Install app</b> / <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><p class="muted">If Chrome says “This app cannot be installed”, you're still on this page. Tap the gold Open button first.</p></div></div>
 
17
  .muted{color:#9d927d;font-size:13px;line-height:1.45}.hide{display:none}
18
  footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{color:#a8967a;font-weight:600}</style></head><body><main>
19
  <img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
20
+ <h1>Hi Finn (Paddy)</h1><p class="sub">Bar staff · The Anchorage</p>
21
  <div class="badge">Cover Charge for Staff</div>
22
  <div class="seg" role="group" aria-label="Your phone"><button type="button" data-p="apple" aria-pressed="false">iPhone</button><button type="button" data-p="android" aria-pressed="false">Android</button></div>
23
  <div class="card"><b>Install it</b><div data-steps="apple"><ol><li>Open this page in <b>Safari</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, 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><p class="muted">Don't add <i>this</i> page to your Home Screen, add the app.</p></div><div data-steps="android"><ol><li>Open this page in <b>Chrome</b>.</li><li>Tap the gold <b>Open</b> button below. Your app opens and signs you in.</li><li><b>In the app</b>, tap <b>Install app</b> when it pops up, or tap <b>⋮</b> then <b>Install app</b> / <b>Add to Home screen</b>.</li><li>Open it from your Home screen.</li></ol><p class="muted">If Chrome says “This app cannot be installed”, you're still on this page. Tap the gold Open button first.</p></div></div>