Spaces:
Running
Running
Cover Charge prototype v0.2.24.4
Browse files- CHECKSUMS.txt +11 -11
- HOW-TO-INSTALL.txt +1 -1
- chef-app/_expo/static/js/web/__common-9332b7c518076fa7aecd6213dd88ae44.js +0 -0
- chef-app/_expo/static/js/web/_layout-8470dc20fac2010a9e8fe9d100e187c9.js +0 -0
- chef-app/_expo/static/js/web/index-7b0fb4f008371adacdbaf6abebb02e76.js +0 -0
- chef-app/_expo/static/js/web/index-b9c209c93889f7d293fa90b30e7754a2.js +2 -0
- chef-app/_expo/static/js/web/index-cd70c8beb1470ecae22c12d35b8b65b2.js +0 -0
- chef-app/_expo/static/js/web/index-fc1ee61daabf4a27da9715c67602f467.js +0 -0
- chef-app/index.html +1 -1
- chef-app/sw.js +2 -2
- customer-app/_expo/static/js/web/__common-c942fc94db98465926329af925660a4a.js +0 -0
- customer-app/_expo/static/js/web/_layout-a10cdd4b9af82ad06728ecf6bd8f0d38.js +39 -0
- customer-app/_expo/static/js/web/index-80d3497701176a0e2a98dfeebf1e55eb.js +0 -0
- customer-app/_expo/static/js/web/index-9f310b29b6fb10c6d6e1c087eefb57aa.js +0 -0
- customer-app/_expo/static/js/web/index-a73d347c78bc52a717fdb7f41142734b.js +0 -0
- customer-app/_expo/static/js/web/index-dcd0fafb5e7100af211f211cd312ae17.js +2 -0
- customer-app/index.html +1 -1
- customer-app/sw.js +2 -2
- display-app/_expo/static/js/web/__common-e47d3c5e709b8b616cc0dd12ce889660.js +0 -0
- display-app/_expo/static/js/web/_layout-89f9bab49d0c7f5460f0c98af075f3ee.js +0 -0
- display-app/_expo/static/js/web/index-09f185530e782d86c0cd60893707870b.js +0 -0
- display-app/_expo/static/js/web/index-340eeba527d689b441ede8e4325da009.js +2 -0
- display-app/_expo/static/js/web/index-4b46bf91eb892b2ebef9d9ee1be7c7a9.js +0 -0
- display-app/_expo/static/js/web/index-7d97efc20181047f8a4edd413201b9f1.js +0 -0
- display-app/index.html +1 -1
- display-app/sw.js +2 -2
- downloads/android/HOW-TO-INSTALL-ON-TABLET.txt +6 -5
- downloads/android/SHA256.txt +1 -1
- get/display.html +1 -1
CHECKSUMS.txt
CHANGED
|
@@ -1,23 +1,23 @@
|
|
| 1 |
-
Cover Charge prototype v0.2.24.
|
| 2 |
SHA-256 of each web app's start page, service worker, manifest and logo:
|
| 3 |
|
| 4 |
-
|
| 5 |
-
|
| 6 |
b96989a55467862aeacd201789e453c090b19c44837d3b938e126f1de384c1fb owner-app/manifest.webmanifest
|
| 7 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
|
| 8 |
-
|
| 9 |
-
|
| 10 |
dc594ea8db35049527aac59632645abe88c98c9367255a0384b3bfa53d38473a staff-app/manifest.webmanifest
|
| 11 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
|
| 12 |
-
|
| 13 |
-
|
| 14 |
7a1484deb9e89b9ed2e07d9f4668dee9214258a77290b668bca265747fe5b7d4 customer-app/manifest.webmanifest
|
| 15 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
|
| 16 |
-
|
| 17 |
-
|
| 18 |
47575ff744fb911037ed516b7874e597e0add70cb65bc4303f5be875c3c3d266 display-app/manifest.webmanifest
|
| 19 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
|
| 20 |
-
|
| 21 |
-
|
| 22 |
c00570305d73e7a0105de1daf3c704646155b0c0aa32905d2557cadb312ea6f5 chef-app/manifest.webmanifest
|
| 23 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 chef-app/brand-logo.png
|
|
|
|
| 1 |
+
Cover Charge prototype v0.2.24.4: 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.24.4.
|
| 2 |
SHA-256 of each web app's start page, service worker, manifest and logo:
|
| 3 |
|
| 4 |
+
64ba6809aaf200626ec7e6f6b11d8d4607f05ea38da51312243f80521b02e2fd owner-app/index.html
|
| 5 |
+
3539178b4f4ac55fbb22d89228cc0ef87598d743989f9afa029ef3b39d8b1fbb owner-app/sw.js
|
| 6 |
b96989a55467862aeacd201789e453c090b19c44837d3b938e126f1de384c1fb owner-app/manifest.webmanifest
|
| 7 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 owner-app/brand-logo.png
|
| 8 |
+
a10a94a4b67e88381193e45c7bc0ddfe1984f509a7df60f3a72042db64d86487 staff-app/index.html
|
| 9 |
+
7b6658b1670fca8fd43a587435388e221cc3a7455402844e611eea900a52807e staff-app/sw.js
|
| 10 |
dc594ea8db35049527aac59632645abe88c98c9367255a0384b3bfa53d38473a staff-app/manifest.webmanifest
|
| 11 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 staff-app/brand-logo.png
|
| 12 |
+
aa96ea4989736575f5089c7482f301370d3ab1248bfac381174f4551fae69a53 customer-app/index.html
|
| 13 |
+
10c800f26ba8764a5c56457dca1eb7d3151adbc400ec898921efed7fb8077bd5 customer-app/sw.js
|
| 14 |
7a1484deb9e89b9ed2e07d9f4668dee9214258a77290b668bca265747fe5b7d4 customer-app/manifest.webmanifest
|
| 15 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 customer-app/brand-logo.png
|
| 16 |
+
11cde7dbe93d11935bb0a9114c48e0657ebfa9324a40a25b2963d26bae0da18f display-app/index.html
|
| 17 |
+
9267aaf46e976c0a27696613c9c1b0cd1cdff786d46b678193d7a8fef0727e1e display-app/sw.js
|
| 18 |
47575ff744fb911037ed516b7874e597e0add70cb65bc4303f5be875c3c3d266 display-app/manifest.webmanifest
|
| 19 |
cc3dd9b8a359ba6c3f28d625c27cc6a01a46233311c2a5f5c8aaf09e91be8239 display-app/brand-logo.png
|
| 20 |
+
c0ff10df72c3d574b65ada418146fee9cbaa25ce7a16f9a40ae976502afca695 chef-app/index.html
|
| 21 |
+
caab892dac01cf07bc7da2a5a641c532a4db089a913e8a1fad6b4b5107fad462 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.24.
|
| 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.24.4 (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-9332b7c518076fa7aecd6213dd88ae44.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/_layout-8470dc20fac2010a9e8fe9d100e187c9.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/index-7b0fb4f008371adacdbaf6abebb02e76.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/index-b9c209c93889f7d293fa90b30e7754a2.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,{})}},786,[791,18,925,793,12]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},925,[]);
|
chef-app/_expo/static/js/web/index-cd70c8beb1470ecae22c12d35b8b65b2.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
chef-app/_expo/static/js/web/index-fc1ee61daabf4a27da9715c67602f467.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-
|
| 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-9332b7c518076fa7aecd6213dd88ae44.js" defer></script><script src="/chef-app/_expo/static/js/web/index-7b0fb4f008371adacdbaf6abebb02e76.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-
|
| 3 |
const BASE = "/chef-app/";
|
| 4 |
-
const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/chef-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/chef-app/_expo/static/js/web/[n]-8a981e417bf8fb94e4e4d74d83730353.js", "/chef-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/chef-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/chef-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage Head Chef service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-chef-4b45dd65b3";
|
| 3 |
const BASE = "/chef-app/";
|
| 4 |
+
const PRECACHE = ["/chef-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/chef-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/chef-app/_expo/static/js/web/[n]-8a981e417bf8fb94e4e4d74d83730353.js", "/chef-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/chef-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/chef-app/_expo/static/js/web/__common-9332b7c518076fa7aecd6213dd88ae44.js", "/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/chef-app/_expo/static/js/web/_layout-8470dc20fac2010a9e8fe9d100e187c9.js", "/chef-app/_expo/static/js/web/basket-0fcfd1fbed5a7012c288120444baacd8.js", "/chef-app/_expo/static/js/web/book-329155c719a2b1a908f68cae435e260c.js", "/chef-app/_expo/static/js/web/demo-3e256039efdfec54a2c8d62f0b2c5ffd.js", "/chef-app/_expo/static/js/web/feedback-23d69599236530e9a19e7b0a5883b723.js", "/chef-app/_expo/static/js/web/gift-b41557c81a51ac29c8e7dc5cfaf0c786.js", "/chef-app/_expo/static/js/web/index-089567f4fffcb907a51defcd6f1edc9e.js", "/chef-app/_expo/static/js/web/index-18880b2179ee30d2f0444c8025e6dbc1.js", "/chef-app/_expo/static/js/web/index-19b49761aa3589db1d51e78868c2bc96.js", "/chef-app/_expo/static/js/web/index-3cbce69e2bc39df9ddcbe22f0ae02059.js", "/chef-app/_expo/static/js/web/index-7b0fb4f008371adacdbaf6abebb02e76.js", "/chef-app/_expo/static/js/web/index-9aecd10f9bd357853aee2e1619bb25ba.js", "/chef-app/_expo/static/js/web/index-b9c209c93889f7d293fa90b30e7754a2.js", "/chef-app/_expo/static/js/web/index-cd70c8beb1470ecae22c12d35b8b65b2.js", "/chef-app/_expo/static/js/web/index-f3e4aba20171a27224203a2858a1cbc0.js", "/chef-app/_expo/static/js/web/index-fc1ee61daabf4a27da9715c67602f467.js", "/chef-app/_expo/static/js/web/lost-5fb8f2d8380465f54144e552fde48a17.js", "/chef-app/_expo/static/js/web/loyalty-9c5a1078f236f7371c4447089919c4b5.js", "/chef-app/_expo/static/js/web/merch-adad9261535f9d24a0755b2e22340951.js", "/chef-app/_expo/static/js/web/offers-7258a0149fd3f4158d9648ed65c8a9b3.js", "/chef-app/_expo/static/js/web/profile-24092aa2ee889a9a43801125f4c3089d.js", "/chef-app/_expo/static/js/web/refer-ab8ee7f0f3c548c93c632cff72580aab.js", "/chef-app/_expo/static/js/web/waitlist-22c519d9b7fe9c4f94c45c0585e81b81.js", "/chef-app/_expo/static/js/web/whatson-6c0037f186faaf3439649c93385d9b45.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);
|
customer-app/_expo/static/js/web/__common-c942fc94db98465926329af925660a4a.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/_layout-a10cdd4b9af82ad06728ecf6bd8f0d38.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return L}});var t=r(_d[0]),s=r(_d[1]),o=r(_d[2]),n=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}}),t.default=e,t})(r(_d[3])),u=r(_d[4]),c=r(_d[5]),l=e(r(_d[6])),d=e(r(_d[7]));r(_d[8]);var f=e(r(_d[9])),p=e(r(_d[10])),h=r(_d[11]),y=r(_d[12]),S=r(_d[13]),O=r(_d[14]),j=r(_d[15]),_=r(_d[16]),b=r(_d[17]),w=r(_d[18]),P=r(_d[19]),x=r(_d[20]);r(_d[21]);var E=r(_d[22]),k=r(_d[23]),v=r(_d[24]),H=r(_d[25]),A=r(_d[26]),T=r(_d[27]),B=r(_d[28]);const F=r(_d[29]),C=r(_d[30]),R=r(_d[31]),I=r(_d[32]);function L(){const[e]=(0,t.useFonts)({Poppins_400Regular:F,Poppins_500Medium:C,Poppins_600SemiBold:R,Poppins_700Bold:I}),[P,H]=(0,c.useState)(O.useStore.persist.hasHydrated()),[A,T]=(0,c.useState)(_.useOwner.persist.hasHydrated()),L=P&&A;(0,c.useEffect)(()=>{const e=O.useStore.persist.onFinishHydration(()=>H(!0)),t=_.useOwner.persist.onFinishHydration(()=>T(!0));return O.useStore.persist.hasHydrated()&&H(!0),_.useOwner.persist.hasHydrated()&&T(!0),()=>{e(),t()}},[]),(0,c.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===O.useStore.persist.getOptions().name&&O.useStore.persist.rehydrate(),e.key===j.useFloor.persist.getOptions().name&&j.useFloor.persist.rehydrate(),e.key===s.useBlocks.persist.getOptions().name&&s.useBlocks.persist.rehydrate()};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]),(0,c.useEffect)(()=>{L&&_.useOwner.getState().syncRoster()},[L]),(0,c.useEffect)(()=>{L&&(0,x.startAppSync)()},[L]);const M=e&&L,G=(0,o.usePathname)(),N=M&&!(0,y.isAllowedPath)(G||'/');return(0,c.useEffect)(()=>{if(!N)return;const e=setTimeout(()=>o.router.replace(y.ENTRY[y.APP_VARIANT]),0);return()=>clearTimeout(e)},[N,G]),(0,c.useEffect)(()=>{M&&n.hideAsync().catch(()=>{})},[M]),M?(0,B.jsxs)(S.SafeAreaProvider,{children:[(0,B.jsx)(u.StatusBar,{style:"light"}),(0,B.jsx)(p.default,{style:{flex:1},children:(0,B.jsx)(o.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:b.colours.bg}}})}),N?(0,B.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:b.colours.bg}]}):null,N?null:(0,B.jsx)(k.VoiceHost,{}),(0,B.jsx)(E.SyncBadge,{}),(0,B.jsx)(w.InviteGate,{}),N?null:(0,B.jsx)(v.SliderHost,{})]}):(0,B.jsxs)(p.default,{style:{flex:1,backgroundColor:b.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[h.HERO_LOGOS.anchorage?(0,B.jsx)(d.default,{source:h.HERO_LOGOS.anchorage,accessibilityLabel:"The Anchorage logo",style:{width:180,height:180},resizeMode:"contain"}):null,(0,B.jsx)(l.default,{color:b.colours.gold})]})}H.PITCH&&(globalThis.__pitch={useStore:O.useStore,useOwner:_.useOwner,useFloor:j.useFloor,useBlocks:s.useBlocks,useSession:P.useSession,useCashUp:A.useCashUp,seedPitch:T.seedPitch},setTimeout(()=>{try{(0,T.seedPitch)()}catch(e){console.warn('pitch seed',e)}},1500)),P.START_INVITE,n.preventAutoHideAsync().catch(()=>{})},789,[964,810,791,991,555,18,234,184,110,34,115,904,793,277,805,811,824,807,948,825,806,993,994,996,895,2,1002,997,12,998,999,1000,1001]);
|
| 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])},964,[965,988,990]);
|
| 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)}}},965,[289,966,969,983,984,985,986,987]);
|
| 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}},966,[289,967]);
|
| 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}},967,[968]);
|
| 6 |
+
__d(function(g,r,i,a,m,e,d){},968,[]);
|
| 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)}},969,[970,289,966,983,984]);
|
| 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]}})})},970,[971,972,982]);
|
| 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()}})}},971,[972,976,981]);
|
| 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}}},972,[289,220,973,977,978,979,980,976,981]);
|
| 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}},973,[289,974,187,100,975,976]);
|
| 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])},974,[563]);
|
| 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}}},975,[289,187]);
|
| 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},976,[]);
|
| 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}},977,[]);
|
| 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}},978,[]);
|
| 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])},979,[977]);
|
| 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}},980,[]);
|
| 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},981,[220,975]);
|
| 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])},982,[18,972]);
|
| 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}},983,[970,289]);
|
| 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])},984,[970,983]);
|
| 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}},985,[966]);
|
| 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])},986,[289,966,969,967]);
|
| 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})({})},987,[]);
|
| 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]))},988,[289,41,989]);
|
| 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')},989,[289]);
|
| 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]}},990,[18,965]);
|
| 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]}})})},991,[992]);
|
| 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(){}},992,[]);
|
| 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()})},993,[1003,817,806]);
|
| 32 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"STRIP",{enumerable:!0,get:function(){return I}}),_e.SyncBadge=function(){const e=(0,h.useSync)(),[C,P]=(0,n.useState)(!1),[R,S]=(0,n.useState)(''),z=(0,n.useRef)(e.failed),[k,w]=(0,n.useState)(!1),[A,N]=(0,n.useState)(''),W=(0,p.useDisplaySettings)(b.VENUE_RID),_=(0,x.useScreensaverAsleep)(e=>e.asleep);(0,n.useEffect)(()=>{if(e.failed>z.current){S('A change couldn\u2019t be saved to the shared system. It\u2019s kept on this device.');const n=setTimeout(()=>S(''),6e3);return z.current=e.failed,()=>clearTimeout(n)}z.current=e.failed},[e.failed]);const E='off'===e.mode&&(v.PITCH||!(0,T.isSupabaseConfigured)());if('customer'===u.APP_VARIANT||'off'===e.mode&&!E)return null;if(_)return null;const L='live'===e.mode,H='display'===u.APP_VARIANT,O=E?v.PITCH?'Demo \xb7 this device only':'This device only':L?e.pending?`Live \xb7 sending ${e.pending}`:'Live':'offline'===e.mode?"Offline"+(e.pending?` \xb7 ${e.pending} waiting`:''):'connecting'===e.mode?'Connecting\u2026':'unpaired'===e.mode?'Not paired':'On this device',V=E?y.colours.gold:L?y.colours.ok:'offline'===e.mode||'connecting'===e.mode?y.colours.gold:y.colours.muted,$=E?v.PITCH?'Demo mode. Nothing is shared or sent: everything you do stays in this browser.':'This copy isn\u2019t connected to a shared system. Everything stays on this device.':L?`Shared live with ${e.venueName??'your venue'}${e.lastSyncAt?`. Last update ${new Date(e.lastSyncAt).toLocaleTimeString('en-GB',{hour:'2-digit',minute:'2-digit'})}`:''}.`:'offline'===e.mode?'No connection. Changes are saved on this device and sent when you\u2019re back online.':'signin'===e.mode?'Not connected to the shared system. Open your personal invite link once on this device to connect.':'unpaired'===e.mode?'This display isn\u2019t paired. Use a pairing code from Managers \u2192 Displays.':'connecting'===e.mode?'Connecting to the shared system\u2026':'The shared system can\u2019t be reached, so this device is using its own data.';return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.default,{testID:"sync-strip",style:{height:I,paddingHorizontal:10,justifyContent:'center',alignItems:'flex-start',backgroundColor:y.colours.bg,borderTopWidth:1,borderTopColor:'rgba(255,255,255,0.06)'},children:(0,j.jsxs)(o.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:`Sync: ${O}`,onPress:()=>P(e=>!e),style:{flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:10,paddingVertical:3,borderRadius:999,backgroundColor:'rgba(16,14,11,0.92)',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,j.jsx)(c.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:V}}),(0,j.jsx)(f.T,{size:12,weight:"semibold",children:O})]})}),C?(0,j.jsxs)(c.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:34,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:'#15120E',borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,j.jsx)(f.T,{size:13,children:$}),e.failed?(0,j.jsxs)(f.T,{size:12,colour:y.colours.red,children:[e.failed," change",1===e.failed?'':'s'," not accepted by the shared system",e.lastError?` (${e.lastError.slice(0,120)})`:'',"."]}):null,e.message?(0,j.jsx)(f.T,{size:12,colour:y.colours.muted,children:e.message}):null,e.venueId&&(L||'offline'===e.mode)?k?(0,j.jsxs)(c.default,{style:{gap:6,marginTop:6},children:[(0,j.jsx)(f.T,{size:12,children:H?'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.'}),H&&W.pinOn?(0,j.jsx)(l.default,{testID:"unpair-pin",value:A,onChangeText:N,placeholder:"Display PIN",placeholderTextColor:y.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:y.colours.text}}):null,(0,j.jsxs)(c.default,{style:{flexDirection:'row',gap:8},children:[(0,j.jsx)(o.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:H?'Yes, unpair':'Yes, disconnect',disabled:H&&W.pinOn&&!(0,s.wakePinMatches)(W,A),onPress:()=>{w(!1),P(!1),N(''),H?(0,h.unpairDisplay)():(0,h.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:H&&W.pinOn&&!(0,s.wakePinMatches)(W,A)?'rgba(255,255,255,0.08)':y.colours.red},children:(0,j.jsx)(f.T,{size:12,weight:"semibold",children:H?'Yes, unpair':'Yes, disconnect'})}),(0,j.jsx)(o.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{w(!1),N('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,j.jsx)(f.T,{size:12,children:"Keep"})})]})]}):(0,j.jsx)(o.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:H?'Unpair this display':'Disconnect this device',onPress:()=>w(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,j.jsx)(f.T,{size:12,colour:y.colours.gold,children:H?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null,(0,j.jsx)(t.WipeDevice,{compact:!0})]}):null,R?(0,j.jsx)(c.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:I+D+8,zIndex:950,alignItems:'center'},pointerEvents:"none",children:(0,j.jsx)(c.default,{style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:y.colours.red,maxWidth:460},children:(0,j.jsx)(f.T,{size:13,children:R})})}):null]})};var n=r(d[0]),t=r(d[1]),s=r(d[2]),o=e(r(d[3])),l=e(r(d[4])),c=e(r(d[5])),u=r(d[6]),h=r(d[7]),p=r(d[8]),b=r(d[9]),y=r(d[10]),f=r(d[11]),x=r(d[12]),T=r(d[13]),v=r(d[14]),j=r(d[15]);const I=30,D='display'===u.APP_VARIANT?0:60},994,[18,995,917,251,261,115,793,806,811,868,807,799,919,1004,2,12]);
|
| 33 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.WipeDevice=function({compact:e}){const f=(0,u.useDisplaySettings)(p.VENUE_RID),[v,w]=(0,s.useState)(!1),[T,D]=(0,s.useState)(''),[j,C]=(0,s.useState)(!1),P='display'===h.APP_VARIANT&&f.pinOn,I=!P||(0,b.wakePinMatches)(f,T);return v?(0,x.jsxs)(n.default,{testID:"wipe-confirm-box",style:{gap:6,marginTop:6},children:[(0,x.jsx)(o.T,{size:e?12:14,children:"Sign out and remove everything Cover Charge keeps on this device: sign-ins, pairing, saved screens and any changes not sent yet. The venue\u2019s shared data is not touched. To use it again, open a personal link or pair the Display again."}),P?(0,x.jsx)(l.default,{testID:"wipe-pin",value:T,onChangeText:D,placeholder:"Display wake PIN",placeholderTextColor:c.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display wake PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:c.colours.text}}):null,(0,x.jsxs)(n.default,{style:{flexDirection:'row',gap:8},children:[(0,x.jsx)(t.default,{testID:"wipe-confirm",accessibilityRole:"button",accessibilityLabel:"Yes, wipe this device",disabled:!I||j,onPress:()=>{C(!0),(0,y.wipeThisDevice)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:I?c.colours.red:'rgba(255,255,255,0.08)'},children:(0,x.jsx)(o.T,{size:12,weight:"semibold",children:j?'Wiping\u2026':'Yes, wipe this device'})}),(0,x.jsx)(t.default,{accessibilityRole:"button",accessibilityLabel:"Cancel",onPress:()=>{w(!1),D('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,x.jsx)(o.T,{size:12,children:"Cancel"})})]})]}):(0,x.jsx)(t.default,{testID:"wipe-device",accessibilityRole:"button",accessibilityLabel:"Sign out and wipe this device",onPress:()=>w(!0),style:{alignSelf:'flex-start',marginTop:e?4:0},children:(0,x.jsx)(o.T,{size:e?12:14,colour:c.colours.gold,children:"Sign out and wipe this device\u2026"})})};var s=r(d[0]),t=e(r(d[1])),l=e(r(d[2])),n=e(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),b=r(d[8]),h=r(d[9]),y=r(d[10]),x=r(d[11])},995,[18,251,261,115,799,807,811,868,917,793,806,12]);
|
| 34 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.VoiceHost=function(){return null}},996,[]);
|
| 35 |
+
__d(function(g,r,_i,a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.seedPitch=function(){const h='owner'===d.APP_VARIANT?'st-tracy':'chef'===d.APP_VARIANT?'st-bisto':'staff'===d.APP_VARIANT?'st-lenny':null;!h||i.useSession.getState().meId||/[?&]invite=/.test('undefined'!=typeof window?window.location.search:'')||i.useSession.getState().signIn(h);t.useStore.setState(t=>({bookings:t.bookings.map((t,e)=>t.phone||t.walkIn?t:{...t,phone:`07700 900${String(100+e).slice(-3)}`})}));const S=s.useOwner.getState();if(S.shifts.some(t=>t.id.startsWith('pitch-')))return;const p=(0,e.nowFrom)(t.useStore.getState().clock),y=f(p),m=p.getHours()+p.getMinutes()/60,w=(0,s.addDays)(y,-(0,s.weekdayOf)(y)),A=[],k=[];for(const[t,[e,n,i]]of Object.entries(l))if(o.ROSTER.some(e=>e.id===t))for(let o=-7;o<14;o++){const d=(0,s.addDays)(w,o),c=(0,s.weekdayOf)(d);i.includes(c)||(A.push({id:`pitch-${t}-${d}`,staffId:t,date:d,day:c,start:e,end:n,published:o<7,breakAt:n-e>=6?e+3.5:void 0}),d<y?k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.1),out:u(d,n+.15),inSite:!0,outSite:!0,breakMins:n-e>=6?30:0,signOff:d<(0,s.addDays)(y,-1)?{by:'Alex',byId:'st-gordon',at:u(d,23.5)}:void 0}):d===y&&e<=m&&k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.05),inSite:!0}))}s.useOwner.setState({shifts:[...S.shifts.filter(t=>!A.some(e=>e.staffId===t.staffId&&e.date===t.date)),...A],attendance:[...S.attendance,...k]});const I=n.useCashUp.getState();for(let t=1;t<=10;t++){const e=(0,s.addDays)(y,-t);if([0,1].includes((0,s.weekdayOf)(e)))continue;if(I.cashUps.some(t=>t.rid===c&&t.date===e))continue;const n=1450+373*t%900,o=210+97*t%240;I.saveCashUp({rid:c,date:e,vals:{card:n,cash:o,float:200,cashTips:38+13*t%40,cardTips:92+29*t%70,overUnder:3===t?-2.5:0,notes:3===t?'Till 2 short \xa32.50, counted twice.':''},photos:[],confirmedBy:t%2?'Alex':'Priya',confirmedAt:u(e,23.25),readBy:null})}for(let t=1;t<=3;t++){const e=(0,s.addDays)(w,-7*t);if(I.sales.some(t=>t.rid===c&&t.weekStart===e))continue;const n=11800+640*t;I.saveSales({rid:c,weekStart:e,vals:{gross:n,net:Math.round(n/1.2),vat:Math.round(n-n/1.2),covers:610+22*t,discounts:140,refunds:35},categories:[{name:'Food',amount:Math.round(.62*n)},{name:'Drinks',amount:Math.round(.31*n)},{name:'Takeaway',amount:Math.round(.07*n)}],photos:[],confirmedBy:'Alex',confirmedAt:u((0,s.addDays)(e,7),11),readBy:null})}};var t=r(_d[0]),e=r(_d[1]),s=r(_d[2]),n=r(_d[3]),o=r(_d[4]),i=r(_d[5]),d=r(_d[6]);const c='anchorage',f=t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,'0')}-${String(t.getDate()).padStart(2,'0')}`,u=(t,e)=>{const[s,n,o]=t.split('-').map(Number);return new Date(s,n-1,o,Math.floor(e),Math.round(e%1*60)).toISOString()},l={'st-gordon':[11,21,[0,1]],'st-bisto':[10,20.5,[0,1]],'st-agate':[16,22.5,[0,1,2]],'st-lenny':[11,19,[0,1,3]],'st-finn':[17,23,[0,1,4]],'st-eilidh':[12,18,[0,1,2]],'st-emily':[17,22,[0,1,3]],'st-lillie':[12,20,[0,1,5]],'st-jack':[16,22,[0,1,6]]}},997,[805,829,824,1002,4,825,793]);
|
| 36 |
+
__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"},998,[]);
|
| 37 |
+
__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"},999,[]);
|
| 38 |
+
__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"},1000,[]);
|
| 39 |
+
__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"},1001,[]);
|
customer-app/_expo/static/js/web/index-80d3497701176a0e2a98dfeebf1e55eb.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/index-9f310b29b6fb10c6d6e1c087eefb57aa.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/index-a73d347c78bc52a717fdb7f41142734b.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
customer-app/_expo/static/js/web/index-dcd0fafb5e7100af211f211cd312ae17.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,{})}},786,[791,18,928,793,12]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},928,[]);
|
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-
|
| 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-c942fc94db98465926329af925660a4a.js" defer></script><script src="/customer-app/_expo/static/js/web/index-80d3497701176a0e2a98dfeebf1e55eb.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-
|
| 3 |
const BASE = "/customer-app/";
|
| 4 |
-
const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/customer-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/customer-app/_expo/static/js/web/[n]-bb4c517974a86a555cd7058ff52c360e.js", "/customer-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/customer-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/customer-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-customer-e8acbac9c5";
|
| 3 |
const BASE = "/customer-app/";
|
| 4 |
+
const PRECACHE = ["/customer-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/customer-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/customer-app/_expo/static/js/web/[n]-bb4c517974a86a555cd7058ff52c360e.js", "/customer-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/customer-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/customer-app/_expo/static/js/web/__common-c942fc94db98465926329af925660a4a.js", "/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/customer-app/_expo/static/js/web/_layout-a10cdd4b9af82ad06728ecf6bd8f0d38.js", "/customer-app/_expo/static/js/web/basket-53fb0e9dc5e27594fea5b3a97d6b8089.js", "/customer-app/_expo/static/js/web/book-329155c719a2b1a908f68cae435e260c.js", "/customer-app/_expo/static/js/web/demo-3e256039efdfec54a2c8d62f0b2c5ffd.js", "/customer-app/_expo/static/js/web/feedback-23d69599236530e9a19e7b0a5883b723.js", "/customer-app/_expo/static/js/web/gift-b41557c81a51ac29c8e7dc5cfaf0c786.js", "/customer-app/_expo/static/js/web/index-089567f4fffcb907a51defcd6f1edc9e.js", "/customer-app/_expo/static/js/web/index-18880b2179ee30d2f0444c8025e6dbc1.js", "/customer-app/_expo/static/js/web/index-3cbce69e2bc39df9ddcbe22f0ae02059.js", "/customer-app/_expo/static/js/web/index-7d2567283710966f318dbdb22a9e3418.js", "/customer-app/_expo/static/js/web/index-80d3497701176a0e2a98dfeebf1e55eb.js", "/customer-app/_expo/static/js/web/index-81c25fae4a77d454b57becaef6df10bf.js", "/customer-app/_expo/static/js/web/index-9f310b29b6fb10c6d6e1c087eefb57aa.js", "/customer-app/_expo/static/js/web/index-a73d347c78bc52a717fdb7f41142734b.js", "/customer-app/_expo/static/js/web/index-dcd0fafb5e7100af211f211cd312ae17.js", "/customer-app/_expo/static/js/web/index-f3e4aba20171a27224203a2858a1cbc0.js", "/customer-app/_expo/static/js/web/lost-645b7d452e5b6c86452d661c2107ced0.js", "/customer-app/_expo/static/js/web/loyalty-18d4e3d1a3d52ac43a2b977f048949be.js", "/customer-app/_expo/static/js/web/merch-6599a5b1bebf752d2469666a20bb7dd5.js", "/customer-app/_expo/static/js/web/offers-de3e515c9877e76afad738fefd9cb3e4.js", "/customer-app/_expo/static/js/web/profile-2222a1e4b5c28e73d16554c53a85f30c.js", "/customer-app/_expo/static/js/web/refer-3f7f5fe1feaa2333df69c0bbf87ebcad.js", "/customer-app/_expo/static/js/web/waitlist-d42ecb9c058877998d609786e7c6b9fe.js", "/customer-app/_expo/static/js/web/whatson-6c0037f186faaf3439649c93385d9b45.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);
|
display-app/_expo/static/js/web/__common-e47d3c5e709b8b616cc0dd12ce889660.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/_layout-89f9bab49d0c7f5460f0c98af075f3ee.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/index-09f185530e782d86c0cd60893707870b.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/index-340eeba527d689b441ede8e4325da009.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,{})}},786,[791,18,926,793,12]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},926,[]);
|
display-app/_expo/static/js/web/index-4b46bf91eb892b2ebef9d9ee1be7c7a9.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
display-app/_expo/static/js/web/index-7d97efc20181047f8a4edd413201b9f1.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
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-
|
| 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-e47d3c5e709b8b616cc0dd12ce889660.js" defer></script><script src="/display-app/_expo/static/js/web/index-4b46bf91eb892b2ebef9d9ee1be7c7a9.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-
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
-
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/display-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/display-app/_expo/static/js/web/[n]-35e0cad64534a3af08e010aba6ecaaa6.js", "/display-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/display-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/display-app/_expo/static/js/web/__common-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage Display service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-display-d2948ff14b";
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
+
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-bc6d404433e84fd5db1eeb7ae326467d.js", "/display-app/_expo/static/js/web/[did]-7b79d228faaef6b66ddbf77f93fd5257.js", "/display-app/_expo/static/js/web/[n]-35e0cad64534a3af08e010aba6ecaaa6.js", "/display-app/_expo/static/js/web/[oid]-86a33c2b6946dc83fc7282fdcc882281.js", "/display-app/_expo/static/js/web/[section]-1d73a5d53dd7d2d9cbbc298c803c51f6.js", "/display-app/_expo/static/js/web/__common-e47d3c5e709b8b616cc0dd12ce889660.js", "/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/display-app/_expo/static/js/web/_layout-89f9bab49d0c7f5460f0c98af075f3ee.js", "/display-app/_expo/static/js/web/basket-5ecef92c32c53e10de52182f6f84d7c4.js", "/display-app/_expo/static/js/web/book-329155c719a2b1a908f68cae435e260c.js", "/display-app/_expo/static/js/web/demo-3e256039efdfec54a2c8d62f0b2c5ffd.js", "/display-app/_expo/static/js/web/feedback-23d69599236530e9a19e7b0a5883b723.js", "/display-app/_expo/static/js/web/gift-b41557c81a51ac29c8e7dc5cfaf0c786.js", "/display-app/_expo/static/js/web/index-089567f4fffcb907a51defcd6f1edc9e.js", "/display-app/_expo/static/js/web/index-09f185530e782d86c0cd60893707870b.js", "/display-app/_expo/static/js/web/index-18880b2179ee30d2f0444c8025e6dbc1.js", "/display-app/_expo/static/js/web/index-340eeba527d689b441ede8e4325da009.js", "/display-app/_expo/static/js/web/index-37a155667a5cf30c3f6046972db60c38.js", "/display-app/_expo/static/js/web/index-3cbce69e2bc39df9ddcbe22f0ae02059.js", "/display-app/_expo/static/js/web/index-4b46bf91eb892b2ebef9d9ee1be7c7a9.js", "/display-app/_expo/static/js/web/index-79ab92f450ef0bbcaf14726d19f9d5ed.js", "/display-app/_expo/static/js/web/index-7d97efc20181047f8a4edd413201b9f1.js", "/display-app/_expo/static/js/web/index-f3e4aba20171a27224203a2858a1cbc0.js", "/display-app/_expo/static/js/web/lost-d15f8be2c852d24596413966042f0139.js", "/display-app/_expo/static/js/web/loyalty-8538216dedef2ef727fbac5b985984f3.js", "/display-app/_expo/static/js/web/merch-8047891811f8032880eedcd393bd8958.js", "/display-app/_expo/static/js/web/offers-036f2ff799477a7c6f2554c79d14f5b1.js", "/display-app/_expo/static/js/web/profile-a4c10986d4a9c746e662e65d39d411bb.js", "/display-app/_expo/static/js/web/refer-a4a797a04681b048dd1b254eb6811128.js", "/display-app/_expo/static/js/web/waitlist-973f7fb4b41245f4c12c2abb9b5df5af.js", "/display-app/_expo/static/js/web/whatson-6c0037f186faaf3439649c93385d9b45.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);
|
downloads/android/HOW-TO-INSTALL-ON-TABLET.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
Cover Charge for Display: putting it on a tablet (tablet app v0.1.
|
| 2 |
======================================================================
|
| 3 |
|
| 4 |
The Display app is made for a tablet held sideways (landscape). If you turn the
|
|
@@ -18,7 +18,7 @@ Needs Android 7.0 or newer.
|
|
| 18 |
"Cover Charge for Display" and tap "Tablet app (Android)".)
|
| 19 |
|
| 20 |
2. When the download finishes, tap "Open" (or open the Downloads folder or the
|
| 21 |
-
Files app and tap Cover-Charge-for-Display-v0.1.
|
| 22 |
|
| 23 |
3. The tablet will probably say it is not allowed to install apps from this
|
| 24 |
source. Tap "Settings", switch on "Allow from this source" (on some tablets
|
|
@@ -31,11 +31,12 @@ Needs Android 7.0 or newer.
|
|
| 31 |
the Home screen or in the apps list.
|
| 32 |
|
| 33 |
Good to know
|
| 34 |
-
- It fills the whole screen
|
| 35 |
-
Back and Home buttons for a moment.
|
| 36 |
- The screen stays on while the app is open. After 2 minutes without a touch it
|
| 37 |
shows The Anchorage logo; touch the screen to carry on.
|
| 38 |
-
- It works without Wi-Fi: everything it needs is inside the app.
|
|
|
|
| 39 |
- The app follows the tablet's Auto-rotate setting: with Auto-rotate on it turns
|
| 40 |
all four ways; with it off (rotation locked) it stays fixed, ideal on a stand.
|
| 41 |
- To update later: download the newer file the same way and tap Install; it
|
|
|
|
| 1 |
+
Cover Charge for Display: putting it on a tablet (tablet app v0.1.13)
|
| 2 |
======================================================================
|
| 3 |
|
| 4 |
The Display app is made for a tablet held sideways (landscape). If you turn the
|
|
|
|
| 18 |
"Cover Charge for Display" and tap "Tablet app (Android)".)
|
| 19 |
|
| 20 |
2. When the download finishes, tap "Open" (or open the Downloads folder or the
|
| 21 |
+
Files app and tap Cover-Charge-for-Display-v0.1.13-tablet.apk).
|
| 22 |
|
| 23 |
3. The tablet will probably say it is not allowed to install apps from this
|
| 24 |
source. Tap "Settings", switch on "Allow from this source" (on some tablets
|
|
|
|
| 31 |
the Home screen or in the apps list.
|
| 32 |
|
| 33 |
Good to know
|
| 34 |
+
- It fills the whole screen (no status bar or navigation bar). Swipe in from the
|
| 35 |
+
edge of the screen to see the Back and Home buttons for a moment.
|
| 36 |
- The screen stays on while the app is open. After 2 minutes without a touch it
|
| 37 |
shows The Anchorage logo; touch the screen to carry on.
|
| 38 |
+
- It works without Wi-Fi: everything it needs is inside the app. With Wi-Fi it
|
| 39 |
+
opens the latest version of the Display, so it keeps itself up to date.
|
| 40 |
- The app follows the tablet's Auto-rotate setting: with Auto-rotate on it turns
|
| 41 |
all four ways; with it off (rotation locked) it stays fixed, ideal on a stand.
|
| 42 |
- To update later: download the newer file the same way and tap Install; it
|
downloads/android/SHA256.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
ccbe6ae403fd56366b36a35ef4caaaedb6e80b23b4c01a11616d90378dff86e4 Cover-Charge-for-Display-v0.1.13-tablet.apk
|
get/display.html
CHANGED
|
@@ -19,7 +19,7 @@ footer{text-align:center;color:#6f6656;font-size:12px;margin-top:6px}footer b{co
|
|
| 19 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 20 |
<h1>The Display</h1><p class="sub">Android tablet · The Anchorage</p><div class="badge">No login needed</div>
|
| 21 |
<div class="card"><b>1. Get the app</b><ol><li>On the tablet, tap <b>Download the tablet app</b> below and open the file.</li><li>If Android asks, allow installing from this source, then tap <b>Install</b>.</li><li>Hold the tablet sideways and open <b>Cover Charge for Display</b>.</li></ol>
|
| 22 |
-
<a class="btn" href="../downloads/android/Cover-Charge-for-Display-v0.1.
|
| 23 |
<p class="muted">No app? <a style="color:#d6a84a" href="../display-app/index.html">Open the Display in the browser</a> instead, then add it to the Home screen from the browser menu.</p></div>
|
| 24 |
<div class="card"><b>2. Pair it with the venue</b><ol><li>A manager opens <b>Managers → Settings → Displays</b> and taps <b>Make a pairing code</b>.</li><li>On the tablet, type the code in <b>Pair this display</b>, or open the pairing link the manager gives you.</li><li>It shows <b>Live</b> when bookings, tables and stock are shared with the team.</li></ol>
|
| 25 |
<p class="muted">Each code works once. A manager can switch a display off at any time.</p></div>
|
|
|
|
| 19 |
<img class="logo" src="../customer-app/brand-logo.png" alt="The Anchorage logo">
|
| 20 |
<h1>The Display</h1><p class="sub">Android tablet · The Anchorage</p><div class="badge">No login needed</div>
|
| 21 |
<div class="card"><b>1. Get the app</b><ol><li>On the tablet, tap <b>Download the tablet app</b> below and open the file.</li><li>If Android asks, allow installing from this source, then tap <b>Install</b>.</li><li>Hold the tablet sideways and open <b>Cover Charge for Display</b>.</li></ol>
|
| 22 |
+
<a class="btn" href="../downloads/android/Cover-Charge-for-Display-v0.1.13-tablet.apk">Download the tablet app (Android)</a><a class="btn alt" href="../tablet.html">Tablet app details</a>
|
| 23 |
<p class="muted">No app? <a style="color:#d6a84a" href="../display-app/index.html">Open the Display in the browser</a> instead, then add it to the Home screen from the browser menu.</p></div>
|
| 24 |
<div class="card"><b>2. Pair it with the venue</b><ol><li>A manager opens <b>Managers → Settings → Displays</b> and taps <b>Make a pairing code</b>.</li><li>On the tablet, type the code in <b>Pair this display</b>, or open the pairing link the manager gives you.</li><li>It shows <b>Live</b> when bookings, tables and stock are shared with the team.</li></ol>
|
| 25 |
<p class="muted">Each code works once. A manager can switch a display off at any time.</p></div>
|