fungiorganic commited on
Commit
11ce7e2
·
verified ·
1 Parent(s): 10fdea8

Cover Charge prototype v0.3.12.77 (part 20)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +112 -0
  2. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  3. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  4. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  5. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  6. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  7. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  8. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  9. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  10. williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  11. williewastles/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
  12. williewastles/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
  13. williewastles/chef-app/brand-hero.png +3 -0
  14. williewastles/chef-app/brand-logo.png +3 -0
  15. williewastles/chef-app/favicon.ico +0 -0
  16. williewastles/chef-app/icon-192.png +0 -0
  17. williewastles/chef-app/icon-512.png +0 -0
  18. williewastles/chef-app/index.html +35 -0
  19. williewastles/chef-app/kitchen.html +35 -0
  20. williewastles/chef-app/manifest.webmanifest +23 -0
  21. williewastles/chef-app/sw.js +4 -0
  22. williewastles/customer-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js +1 -0
  23. williewastles/customer-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js +1 -0
  24. williewastles/customer-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js +1 -0
  25. williewastles/customer-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js +1 -0
  26. williewastles/customer-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js +1 -0
  27. williewastles/customer-app/_expo/static/js/web/[token]-6c815095a584dc0399e5918b52874b98.js +3 -0
  28. williewastles/customer-app/_expo/static/js/web/__common-ef5ce552e6a046115d7c05238b63bbc9.js +0 -0
  29. williewastles/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js +5 -0
  30. williewastles/customer-app/_expo/static/js/web/_layout-15ff776f09a1c77857089450986263f0.js +40 -0
  31. williewastles/customer-app/_expo/static/js/web/basket-b17831f04afc73d6dfc4107f720f1f19.js +1 -0
  32. williewastles/customer-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js +1 -0
  33. williewastles/customer-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js +1 -0
  34. williewastles/customer-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js +1 -0
  35. williewastles/customer-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js +1 -0
  36. williewastles/customer-app/_expo/static/js/web/index-08f47ce9345574523241cee01d2a7020.js +0 -0
  37. williewastles/customer-app/_expo/static/js/web/index-1ca3ee630447c7d027b33568fe68d67d.js +0 -0
  38. williewastles/customer-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js +1 -0
  39. williewastles/customer-app/_expo/static/js/web/index-5c634de6ad187be6c30eaf496c8cd727.js +2 -0
  40. williewastles/customer-app/_expo/static/js/web/index-6431f0ca227658be1a04d504ea7c00b0.js +18 -0
  41. williewastles/customer-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js +1 -0
  42. williewastles/customer-app/_expo/static/js/web/index-8fc8936078751ca6b6cbc4204b661133.js +0 -0
  43. williewastles/customer-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js +1 -0
  44. williewastles/customer-app/_expo/static/js/web/index-a87fa345a0c01a0150c6e7893fe81768.js +1 -0
  45. williewastles/customer-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js +1 -0
  46. williewastles/customer-app/_expo/static/js/web/lost-817d2886f8973bfa630e2a69674dc584.js +1 -0
  47. williewastles/customer-app/_expo/static/js/web/loyalty-679d7aa42c3cddfce82c3e1207d2d4cf.js +1 -0
  48. williewastles/customer-app/_expo/static/js/web/merch-63634eac687774d71f27698748247bd2.js +1 -0
  49. williewastles/customer-app/_expo/static/js/web/offers-eba5409c285b6031064e79e9f1ea19e0.js +1 -0
  50. williewastles/customer-app/_expo/static/js/web/profile-b82887516ccba728915e95d502c0081a.js +1 -0
.gitattributes CHANGED
@@ -2248,3 +2248,115 @@ williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular
2248
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf filter=lfs diff=lfs merge=lfs -text
2249
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf filter=lfs diff=lfs merge=lfs -text
2250
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2248
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf filter=lfs diff=lfs merge=lfs -text
2249
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf filter=lfs diff=lfs merge=lfs -text
2250
  williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf filter=lfs diff=lfs merge=lfs -text
2251
+ williewastles/chef-app/brand-hero.png filter=lfs diff=lfs merge=lfs -text
2252
+ williewastles/chef-app/brand-logo.png filter=lfs diff=lfs merge=lfs -text
2253
+ williewastles/customer-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png filter=lfs diff=lfs merge=lfs -text
2254
+ williewastles/customer-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png filter=lfs diff=lfs merge=lfs -text
2255
+ williewastles/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png filter=lfs diff=lfs merge=lfs -text
2256
+ williewastles/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png filter=lfs diff=lfs merge=lfs -text
2257
+ williewastles/customer-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png filter=lfs diff=lfs merge=lfs -text
2258
+ williewastles/customer-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png filter=lfs diff=lfs merge=lfs -text
2259
+ williewastles/customer-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png filter=lfs diff=lfs merge=lfs -text
2260
+ williewastles/customer-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2261
+ williewastles/customer-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2262
+ williewastles/customer-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png filter=lfs diff=lfs merge=lfs -text
2263
+ williewastles/customer-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png filter=lfs diff=lfs merge=lfs -text
2264
+ williewastles/customer-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png filter=lfs diff=lfs merge=lfs -text
2265
+ williewastles/customer-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png filter=lfs diff=lfs merge=lfs -text
2266
+ williewastles/customer-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png filter=lfs diff=lfs merge=lfs -text
2267
+ williewastles/customer-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png filter=lfs diff=lfs merge=lfs -text
2268
+ williewastles/customer-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png filter=lfs diff=lfs merge=lfs -text
2269
+ williewastles/customer-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png filter=lfs diff=lfs merge=lfs -text
2270
+ williewastles/customer-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png filter=lfs diff=lfs merge=lfs -text
2271
+ williewastles/customer-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png filter=lfs diff=lfs merge=lfs -text
2272
+ williewastles/customer-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png filter=lfs diff=lfs merge=lfs -text
2273
+ williewastles/customer-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png filter=lfs diff=lfs merge=lfs -text
2274
+ williewastles/customer-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png filter=lfs diff=lfs merge=lfs -text
2275
+ williewastles/customer-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png filter=lfs diff=lfs merge=lfs -text
2276
+ williewastles/customer-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png filter=lfs diff=lfs merge=lfs -text
2277
+ williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf filter=lfs diff=lfs merge=lfs -text
2278
+ williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf filter=lfs diff=lfs merge=lfs -text
2279
+ williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf filter=lfs diff=lfs merge=lfs -text
2280
+ williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf filter=lfs diff=lfs merge=lfs -text
2281
+ williewastles/customer-app/brand-hero.png filter=lfs diff=lfs merge=lfs -text
2282
+ williewastles/customer-app/brand-logo.png filter=lfs diff=lfs merge=lfs -text
2283
+ williewastles/display-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png filter=lfs diff=lfs merge=lfs -text
2284
+ williewastles/display-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png filter=lfs diff=lfs merge=lfs -text
2285
+ williewastles/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png filter=lfs diff=lfs merge=lfs -text
2286
+ williewastles/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png filter=lfs diff=lfs merge=lfs -text
2287
+ williewastles/display-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png filter=lfs diff=lfs merge=lfs -text
2288
+ williewastles/display-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png filter=lfs diff=lfs merge=lfs -text
2289
+ williewastles/display-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png filter=lfs diff=lfs merge=lfs -text
2290
+ williewastles/display-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2291
+ williewastles/display-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2292
+ williewastles/display-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png filter=lfs diff=lfs merge=lfs -text
2293
+ williewastles/display-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png filter=lfs diff=lfs merge=lfs -text
2294
+ williewastles/display-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png filter=lfs diff=lfs merge=lfs -text
2295
+ williewastles/display-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png filter=lfs diff=lfs merge=lfs -text
2296
+ williewastles/display-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png filter=lfs diff=lfs merge=lfs -text
2297
+ williewastles/display-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png filter=lfs diff=lfs merge=lfs -text
2298
+ williewastles/display-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png filter=lfs diff=lfs merge=lfs -text
2299
+ williewastles/display-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png filter=lfs diff=lfs merge=lfs -text
2300
+ williewastles/display-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png filter=lfs diff=lfs merge=lfs -text
2301
+ williewastles/display-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png filter=lfs diff=lfs merge=lfs -text
2302
+ williewastles/display-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png filter=lfs diff=lfs merge=lfs -text
2303
+ williewastles/display-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png filter=lfs diff=lfs merge=lfs -text
2304
+ williewastles/display-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png filter=lfs diff=lfs merge=lfs -text
2305
+ williewastles/display-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png filter=lfs diff=lfs merge=lfs -text
2306
+ williewastles/display-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png filter=lfs diff=lfs merge=lfs -text
2307
+ williewastles/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf filter=lfs diff=lfs merge=lfs -text
2308
+ williewastles/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf filter=lfs diff=lfs merge=lfs -text
2309
+ williewastles/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf filter=lfs diff=lfs merge=lfs -text
2310
+ williewastles/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf filter=lfs diff=lfs merge=lfs -text
2311
+ williewastles/display-app/brand-hero.png filter=lfs diff=lfs merge=lfs -text
2312
+ williewastles/display-app/brand-logo.png filter=lfs diff=lfs merge=lfs -text
2313
+ williewastles/owner-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png filter=lfs diff=lfs merge=lfs -text
2314
+ williewastles/owner-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png filter=lfs diff=lfs merge=lfs -text
2315
+ williewastles/owner-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png filter=lfs diff=lfs merge=lfs -text
2316
+ williewastles/owner-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png filter=lfs diff=lfs merge=lfs -text
2317
+ williewastles/owner-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png filter=lfs diff=lfs merge=lfs -text
2318
+ williewastles/owner-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png filter=lfs diff=lfs merge=lfs -text
2319
+ williewastles/owner-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png filter=lfs diff=lfs merge=lfs -text
2320
+ williewastles/owner-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2321
+ williewastles/owner-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2322
+ williewastles/owner-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png filter=lfs diff=lfs merge=lfs -text
2323
+ williewastles/owner-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png filter=lfs diff=lfs merge=lfs -text
2324
+ williewastles/owner-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png filter=lfs diff=lfs merge=lfs -text
2325
+ williewastles/owner-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png filter=lfs diff=lfs merge=lfs -text
2326
+ williewastles/owner-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png filter=lfs diff=lfs merge=lfs -text
2327
+ williewastles/owner-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png filter=lfs diff=lfs merge=lfs -text
2328
+ williewastles/owner-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png filter=lfs diff=lfs merge=lfs -text
2329
+ williewastles/owner-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png filter=lfs diff=lfs merge=lfs -text
2330
+ williewastles/owner-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png filter=lfs diff=lfs merge=lfs -text
2331
+ williewastles/owner-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png filter=lfs diff=lfs merge=lfs -text
2332
+ williewastles/owner-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png filter=lfs diff=lfs merge=lfs -text
2333
+ williewastles/owner-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png filter=lfs diff=lfs merge=lfs -text
2334
+ williewastles/owner-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png filter=lfs diff=lfs merge=lfs -text
2335
+ williewastles/owner-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png filter=lfs diff=lfs merge=lfs -text
2336
+ williewastles/owner-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png filter=lfs diff=lfs merge=lfs -text
2337
+ williewastles/owner-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf filter=lfs diff=lfs merge=lfs -text
2338
+ williewastles/owner-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf filter=lfs diff=lfs merge=lfs -text
2339
+ williewastles/owner-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf filter=lfs diff=lfs merge=lfs -text
2340
+ williewastles/owner-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf filter=lfs diff=lfs merge=lfs -text
2341
+ williewastles/owner-app/brand-hero.png filter=lfs diff=lfs merge=lfs -text
2342
+ williewastles/owner-app/brand-logo.png filter=lfs diff=lfs merge=lfs -text
2343
+ williewastles/staff-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png filter=lfs diff=lfs merge=lfs -text
2344
+ williewastles/staff-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png filter=lfs diff=lfs merge=lfs -text
2345
+ williewastles/staff-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png filter=lfs diff=lfs merge=lfs -text
2346
+ williewastles/staff-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png filter=lfs diff=lfs merge=lfs -text
2347
+ williewastles/staff-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png filter=lfs diff=lfs merge=lfs -text
2348
+ williewastles/staff-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png filter=lfs diff=lfs merge=lfs -text
2349
+ williewastles/staff-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png filter=lfs diff=lfs merge=lfs -text
2350
+ williewastles/staff-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2351
+ williewastles/staff-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png filter=lfs diff=lfs merge=lfs -text
2352
+ williewastles/staff-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png filter=lfs diff=lfs merge=lfs -text
2353
+ williewastles/staff-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png filter=lfs diff=lfs merge=lfs -text
2354
+ williewastles/staff-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png filter=lfs diff=lfs merge=lfs -text
2355
+ williewastles/staff-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png filter=lfs diff=lfs merge=lfs -text
2356
+ williewastles/staff-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png filter=lfs diff=lfs merge=lfs -text
2357
+ williewastles/staff-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png filter=lfs diff=lfs merge=lfs -text
2358
+ williewastles/staff-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png filter=lfs diff=lfs merge=lfs -text
2359
+ williewastles/staff-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png filter=lfs diff=lfs merge=lfs -text
2360
+ williewastles/staff-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png filter=lfs diff=lfs merge=lfs -text
2361
+ williewastles/staff-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png filter=lfs diff=lfs merge=lfs -text
2362
+ williewastles/staff-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png filter=lfs diff=lfs merge=lfs -text
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png ADDED
williewastles/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png ADDED
williewastles/chef-app/brand-hero.png ADDED

Git LFS Details

  • SHA256: 2f3522fa2a95138059db94eb1261b0b023811e86c5162d78943fe05ebfa8a08f
  • Pointer size: 131 Bytes
  • Size of remote file: 262 kB
williewastles/chef-app/brand-logo.png ADDED

Git LFS Details

  • SHA256: e14330774bff07ba32b1bb88e7cf88578cc9f7a0a36e8a636d4bc31fc3fc2a3d
  • Pointer size: 131 Bytes
  • Size of remote file: 318 kB
williewastles/chef-app/favicon.ico ADDED
williewastles/chef-app/icon-192.png ADDED
williewastles/chef-app/icon-512.png ADDED
williewastles/chef-app/index.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
7
+ <title>Willie Wastle's · Head Chef</title>
8
+ <!-- The `react-native-web` recommended style reset: https://necolas.github.io/react-native-web/docs/setup/#root-element -->
9
+ <style id="expo-reset">
10
+ /* These styles make the body full-height */
11
+ html,
12
+ body {
13
+ height: 100%;
14
+ }
15
+ /* These styles disable body scrolling if you are using <ScrollView> */
16
+ body {
17
+ overflow: hidden;
18
+ }
19
+ /* These styles make the root element full-height */
20
+ #root {
21
+ display: flex;
22
+ height: 100%;
23
+ flex: 1;
24
+ }
25
+ </style>
26
+ <link rel="icon" href="/williewastles/chef-app/favicon.ico"/><meta name="theme-color" content="#0E0D0D"><meta name="description" content="Willie Wastle's · Head Chef"><link rel="manifest" href="/williewastles/chef-app/manifest.webmanifest"><link rel="apple-touch-icon" href="/williewastles/chef-app/apple-touch-icon.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Willie Wastle's"><meta property="og:title" content="Willie Wastle's · CoverCharge"><meta property="og:image" content="https://covercharge-apps.static.hf.space/williewastles/chef-app/brand-hero.png"><style>html,body,#root{background:#0E0D0D;max-width:100vw;overflow-x:hidden}</style><script>if('serviceWorker' in navigator)window.addEventListener('load',function(){navigator.serviceWorker.register('/williewastles/chef-app/sw.js',{scope:'/williewastles/chef-app/',updateViaCache:'none'}).catch(function(){})});</script></head>
27
+
28
+ <body>
29
+ <!-- Use static rendering with Expo Router to support running without JavaScript. -->
30
+ <noscript> You need to enable JavaScript to run this app. </noscript>
31
+ <!-- The root element for your Expo app. -->
32
+ <div id="root"><div style="position:fixed;inset:0;background:#0E0D0D;display:grid;place-items:center"><img src="/williewastles/chef-app/brand-hero.png" alt="Willie Wastle's" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#00D8FF;font-size:16px">16-18 New Bridge Street, Ayr, South Ayrshire, KA7 1JX</p></div></div>
33
+ <script src="/williewastles/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/williewastles/chef-app/_expo/static/js/web/__common-a0a8de6d26af57a1f950079275cb118c.js" defer></script><script src="/williewastles/chef-app/_expo/static/js/web/index-d2c99b5915a2589430b743f547bbb70d.js" defer></script>
34
+ </body>
35
+ </html>
williewastles/chef-app/kitchen.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
7
+ <title>Willie Wastle's · Head Chef</title>
8
+ <!-- The `react-native-web` recommended style reset: https://necolas.github.io/react-native-web/docs/setup/#root-element -->
9
+ <style id="expo-reset">
10
+ /* These styles make the body full-height */
11
+ html,
12
+ body {
13
+ height: 100%;
14
+ }
15
+ /* These styles disable body scrolling if you are using <ScrollView> */
16
+ body {
17
+ overflow: hidden;
18
+ }
19
+ /* These styles make the root element full-height */
20
+ #root {
21
+ display: flex;
22
+ height: 100%;
23
+ flex: 1;
24
+ }
25
+ </style>
26
+ <link rel="icon" href="/williewastles/chef-app/favicon.ico"/><meta name="theme-color" content="#0E0D0D"><meta name="description" content="Willie Wastle's · Head Chef"><link rel="manifest" href="/williewastles/chef-app/manifest.webmanifest"><link rel="apple-touch-icon" href="/williewastles/chef-app/apple-touch-icon.png"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-title" content="Willie Wastle's"><meta property="og:title" content="Willie Wastle's · CoverCharge"><meta property="og:image" content="https://covercharge-apps.static.hf.space/williewastles/chef-app/brand-hero.png"><style>html,body,#root{background:#0E0D0D;max-width:100vw;overflow-x:hidden}</style><script>if('serviceWorker' in navigator)window.addEventListener('load',function(){navigator.serviceWorker.register('/williewastles/chef-app/sw.js',{scope:'/williewastles/chef-app/',updateViaCache:'none'}).catch(function(){})});</script></head>
27
+
28
+ <body>
29
+ <!-- Use static rendering with Expo Router to support running without JavaScript. -->
30
+ <noscript> You need to enable JavaScript to run this app. </noscript>
31
+ <!-- The root element for your Expo app. -->
32
+ <div id="root"><div style="position:fixed;inset:0;background:#0E0D0D;display:grid;place-items:center"><img src="/williewastles/chef-app/brand-hero.png" alt="Willie Wastle's" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#00D8FF;font-size:16px">16-18 New Bridge Street, Ayr, South Ayrshire, KA7 1JX</p></div></div>
33
+ <script src="/williewastles/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/williewastles/chef-app/_expo/static/js/web/__common-a0a8de6d26af57a1f950079275cb118c.js" defer></script><script src="/williewastles/chef-app/_expo/static/js/web/index-d2c99b5915a2589430b743f547bbb70d.js" defer></script>
34
+ </body>
35
+ </html>
williewastles/chef-app/manifest.webmanifest ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "/williewastles/chef-app/",
3
+ "name": "Willie Wastle's \u00b7 Head Chef",
4
+ "short_name": "Willie Wastle's",
5
+ "start_url": "/williewastles/chef-app/index.html",
6
+ "scope": "/williewastles/chef-app/",
7
+ "display": "standalone",
8
+ "background_color": "#0E0D0D",
9
+ "theme_color": "#0E0D0D",
10
+ "lang": "en-GB",
11
+ "icons": [
12
+ {
13
+ "src": "/williewastles/chef-app/icon-192.png",
14
+ "sizes": "192x192",
15
+ "type": "image/png"
16
+ },
17
+ {
18
+ "src": "/williewastles/chef-app/icon-512.png",
19
+ "sizes": "512x512",
20
+ "type": "image/png"
21
+ }
22
+ ]
23
+ }
williewastles/chef-app/sw.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ const V="cc-williewastles-chef-9ba38ae150ddd633",B="/williewastles/chef-app/",P=["/williewastles/chef-app/apple-touch-icon.png", "/williewastles/chef-app/favicon.ico", "/williewastles/chef-app/icon-192.png", "/williewastles/chef-app/icon-512.png", "/williewastles/chef-app/brand-logo.png", "/williewastles/chef-app/index.html", "/williewastles/chef-app/manifest.webmanifest", "/williewastles/chef-app/brand-hero.png", "/williewastles/chef-app/kitchen.html", "/williewastles/chef-app/_expo/static/js/web/_layout-39c8784dbb72e98de1d129989b87f7b6.js", "/williewastles/chef-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js", "/williewastles/chef-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js", "/williewastles/chef-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js", "/williewastles/chef-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js", "/williewastles/chef-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js", "/williewastles/chef-app/_expo/static/js/web/offers-3f4e351ccaa73514bd508bf7bd2a3fa2.js", "/williewastles/chef-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js", "/williewastles/chef-app/_expo/static/js/web/index-4a8e84fd487a5f2cafba4c6915cad230.js", "/williewastles/chef-app/_expo/static/js/web/index-d2c99b5915a2589430b743f547bbb70d.js", "/williewastles/chef-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js", "/williewastles/chef-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js", "/williewastles/chef-app/_expo/static/js/web/index-08b1a356fa4d0861778c41e3b0186d1f.js", "/williewastles/chef-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js", "/williewastles/chef-app/_expo/static/js/web/index-a234f55f1edf32204a015d4a1f3cfb17.js", "/williewastles/chef-app/_expo/static/js/web/index-abf44c56ecfe3a6ee457b5a1c56cb955.js", "/williewastles/chef-app/_expo/static/js/web/waitlist-93752bc9a9a8df911b095d236fa3f385.js", "/williewastles/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/williewastles/chef-app/_expo/static/js/web/__common-a0a8de6d26af57a1f950079275cb118c.js", "/williewastles/chef-app/_expo/static/js/web/merch-dcc4bf2e12c5c983cc8637b3dae25ae6.js", "/williewastles/chef-app/_expo/static/js/web/refer-9cf3652c6de6015e443d52d85aa73db7.js", "/williewastles/chef-app/_expo/static/js/web/profile-7858c56bba02a864da6a44be8f8ce02f.js", "/williewastles/chef-app/_expo/static/js/web/historicalBookingApi-ff0d2cc94233829c958f76620e3eefde.js", "/williewastles/chef-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js", "/williewastles/chef-app/_expo/static/js/web/lost-53fa50fd975a0e31c68fdd69575c2342.js", "/williewastles/chef-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js", "/williewastles/chef-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js", "/williewastles/chef-app/_expo/static/js/web/loyalty-f6d17fe0987432e6c679359636231949.js", "/williewastles/chef-app/_expo/static/js/web/index-10b44538fce9f65ce117321a623552df.js", "/williewastles/chef-app/_expo/static/js/web/basket-4d740db9aeba1d77232a0091a5892917.js", "/williewastles/chef-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js", "/williewastles/chef-app/_expo/static/js/web/whatson-0608a899f634d91b081b758137ce1d33.js", "/williewastles/chef-app/_expo/static/js/web/[token]-bee6add88cca58f03680987578d45fcf.js", "/williewastles/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/williewastles/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/williewastles/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/williewastles/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/williewastles/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/williewastles/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/williewastles/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/williewastles/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/williewastles/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/williewastles/chef-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/williewastles/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/williewastles/chef-app/assets/assets/brand/3idiots-hero.e5dfd53739f05086b1956e72d585a66a.png", "/williewastles/chef-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png", "/williewastles/chef-app/assets/assets/brand/cecchinis.ebf752fef363247848ae7c0d91938765.png", "/williewastles/chef-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/williewastles/chef-app/assets/assets/brand/3idiots.df4a76d2130f0e5b0042f06a8c88693a.png", "/williewastles/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/williewastles/chef-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png", "/williewastles/chef-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/williewastles/chef-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png", "/williewastles/chef-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png", "/williewastles/chef-app/assets/assets/brand/pizzaioli-hero.1896657c08264cefb49b401891d5448d.png", "/williewastles/chef-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png", "/williewastles/chef-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png", "/williewastles/chef-app/assets/assets/brand/greenside.9d1556db97dcb903a3c57e2063ee2255.png", "/williewastles/chef-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png", "/williewastles/chef-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png", "/williewastles/chef-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png", "/williewastles/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/williewastles/chef-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png", "/williewastles/chef-app/assets/assets/brand/pizzaioli.db8c000b62ee407121aa8b90ce45e170.png", "/williewastles/chef-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png", "/williewastles/chef-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/williewastles/chef-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png", "/williewastles/chef-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png", "/williewastles/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/williewastles/chef-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/williewastles/chef-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png", "/williewastles/chef-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png", "/williewastles/chef-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png", "/williewastles/chef-app/assets/assets/brand/cecchinis-hero.f77780fcc94fd668cf35d66d6dc52d81.png", "/williewastles/chef-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png"];
2
+ self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>{if(!r.ok)throw Error('cache');return c.put(u,r)})))).then(()=>self.skipWaiting())));
3
+ self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-williewastles-chef-')&&k!==V).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
4
+ self.addEventListener('fetch',e=>{const u=new URL(e.request.url);if(e.request.method!=='GET'||u.origin!==location.origin||!u.pathname.startsWith(B))return;if(e.request.mode==='navigate'){e.respondWith(fetch(e.request).then(r=>r.ok?r:caches.match(B+'index.html')).catch(()=>caches.match(B+'index.html')));return;}e.respondWith(caches.match(e.request).then(r=>r||fetch(e.request)));});
williewastles/customer-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},801,[804,30,806,24]);
williewastles/customer-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js ADDED
@@ -0,0 +1 @@
 
 
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 f}});var t=_r(_d[0]),n=_r(_d[1]),l=e(_r(_d[2])),s=e(_r(_d[3])),r=_r(_d[4]),a=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),u=_r(_d[9]),h=_r(_d[10]),g=_r(_d[11]),p=_r(_d[12]);function f(){const{rid:e,did:f}=(0,t.useLocalSearchParams)(),b=(0,u.useRestaurant)(e),j=(0,u.useMenu)(e).find(e=>e.id===f),x=(0,u.useCustomer)(),m=(0,u.useRecipeCards)(e).find(e=>e.id===j?.recipeCardId),y=m?.signOff&&m.photo?(0,h.recipeCards)().photoSource(m.photo):null,k=(0,u.useStore)(e=>e.addLine),[v,w]=(0,n.useState)(()=>(j?.optionGroups??[]).filter(e=>e.required).map(e=>e.choices[0].id)),[S,C]=(0,n.useState)(1),[B,$]=(0,n.useState)(''),[I,P]=(0,n.useState)(!1),[L,T]=(0,n.useState)(!1),[D,O]=(0,n.useState)(!1),[A,M]=(0,n.useState)(!1),R=(0,n.useMemo)(()=>j?(0,d.effectiveAllergens)(j,v):{},[j,v]);if(!b||!j)return(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Dish not found."})});const q=(0,d.conflictsFor)(R,x.allergies),_=(j.price??0)+(j.optionGroups??[]).flatMap(e=>e.choices).filter(e=>v.includes(e.id)).reduce((e,t)=>e+t.priceDelta,0),N=j.soldOut||!j.signOff||null===j.price,G=(e,t)=>{const n=j.optionGroups.find(t=>t.id===e);w(e=>{const l=n.choices.map(e=>e.id);return n.multi?e.includes(t)?e.filter(e=>e!==t):[...e,t]:e.includes(t)&&!n.required?e.filter(e=>e!==t):[...e.filter(e=>!l.includes(e)),t]})},z=e=>{u.useStore.getState().basket.restaurantId!==b.id&&u.useStore.getState().startBasket(b.id,'takeaway'),k({itemId:j.id,qty:S,choiceIds:v,notes:B,override:e?{allergens:q.contains,at:(new Date).toISOString()}:void 0}),P(!1),M(!0)};return(0,p.jsxs)(o.Screen,{title:j.name,subtitle:b.name,right:(0,p.jsx)(a.BasketButton,{}),children:[y?(0,p.jsx)(l.default,{testID:"dish-photo",source:y,accessibilityLabel:`${j.name}${'example'===m?.origin?' (example photo)':''}`,style:{width:'100%',height:200,borderRadius:12},resizeMode:"cover"}):null,(0,p.jsxs)(o.Row,{wrap:!0,gap:6,children:[(0,p.jsx)(o.T,{weight:"bold",size:20,colour:g.colours.gold,children:null===j.price?j.priceNote:(0,c.gbp)(_)}),j.dietary.map(e=>(0,p.jsx)(o.Badge,{kind:"ok",label:e},e))]}),(0,p.jsx)(o.T,{children:j.description}),q.contains.length?(0,p.jsx)(o.Banner,{kind:"danger",title:`Blocked: contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`You\u2019ve told us: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}. This dish can\u2019t be added unless you deliberately override (for example, ordering for someone else).`}):null,q.may.length?(0,p.jsx)(o.Banner,{kind:"warn",title:`Warning: may contain ${q.may.map(d.allergenLabel).join(', ')}`,children:"Cross-contact is possible (e.g. shared fryer). Please speak to staff before ordering."}):null,(j.optionGroups??[]).map(e=>(0,p.jsxs)(o.Card,{children:[(0,p.jsxs)(o.T,{weight:"semibold",children:[e.name,e.required?' (required)':' (optional)']}),(0,p.jsx)(o.Row,{wrap:!0,gap:6,children:e.choices.map(t=>(0,p.jsx)(o.Chip,{label:t.label,sub:t.priceDelta?`+${(0,c.gbp)(t.priceDelta)}`:void 0,selected:v.includes(t.id),onPress:()=>G(e.id,t.id)},t.id))})]},e.id)),(0,p.jsx)(o.Card,{children:(0,p.jsx)(r.AllergenPanel,{item:j,map:R,declared:x.allergies})}),b.fictional?null:(0,p.jsx)(o.ExampleAllergenNotice,{}),(0,p.jsx)(o.Field,{label:"Notes for the kitchen (optional)",placeholder:"e.g. no gherkins",value:B,onChangeText:$}),(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsx)(o.T,{weight:"semibold",children:"Quantity"}),(0,p.jsx)(o.Stepper,{value:S,onChange:C,label:"quantity"})]}),A?(0,p.jsx)(o.Banner,{kind:"success",title:"Added to basket",children:q.contains.length?'Allergy override recorded \u2014 the kitchen will see a large allergy alert.':'Carry on browsing or go to your basket.'}):null,N?(0,p.jsx)(o.Banner,{kind:"warn",children:j.soldOut?'Sold out today.':j.signOff?'Price on the specials board \u2014 ask staff.':'Not available to order online until the head chef signs off its allergens.'}):q.contains.length?(0,p.jsxs)(s.default,{style:{gap:8},children:[(0,p.jsx)(o.Button,{kind:"secondary",label:"Choose something else",onPress:()=>t.router.back()}),(0,p.jsx)(o.Button,{kind:"danger",label:"Override and add anyway\u2026",onPress:()=>{T(!1),O(!1),P(!0)},testID:"override-open"})]}):(0,p.jsxs)(o.Row,{gap:8,children:[(0,p.jsx)(o.Button,{style:{flex:1},label:`Add ${S} to basket \xb7 ${(0,c.gbp)(_*S)}`,onPress:()=>z(!1),testID:"add-to-basket"}),A?(0,p.jsx)(o.Button,{kind:"secondary",label:"Basket",onPress:()=>t.router.push('/customer/basket')}):null]}),(0,p.jsxs)(o.Sheet,{visible:I,onClose:()=>P(!1),title:"Allergy override",children:[(0,p.jsx)(o.Banner,{kind:"danger",title:`${j.name} contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`Your profile says: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}.`}),(0,p.jsx)(o.Toggle,{label:"I understand this dish contains an allergen I have declared",value:L,onChange:T}),(0,p.jsx)(o.Toggle,{label:"It is for someone without this allergy, or I have spoken to staff",value:D,onChange:O}),(0,p.jsx)(o.Muted,{children:"The override is logged and shown to the kitchen as an allergy alert that must be acknowledged."}),(0,p.jsx)(o.Button,{kind:"danger",disabled:!L||!D,label:"Confirm override and add",onPress:()=>z(!0),testID:"override-confirm"})]})]})}},778,[804,30,196,127,829,830,813,814,816,819,831,821,24]);
williewastles/customer-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js ADDED
@@ -0,0 +1 @@
 
 
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=_r(d[1]),n=_r(d[2]),o=_r(d[3]),u=_r(d[4]),c=_r(d[5]),s=_r(d[6]),l=_r(d[7]);function f(){const{n:f,r:b}=(0,r.useLocalSearchParams)(),E=(0,u.useStore)(t=>t.startBasket),[_,h]=(0,n.useState)(!1),S=b??c.VENUE_RID,j=(0,u.useOrderAtTable)(S),I=(0,s.guestServer)();return(0,n.useEffect)(()=>{t.LIVE_VENUE_BUILD||I||(j&&E(S,'table',String(f)),h(!0))},[S,f,j,I]),t.LIVE_VENUE_BUILD||I?(0,l.jsx)(o.Screen,{title:"Order at the table",children:(0,l.jsx)(o.Banner,{kind:"demo",title:"Scan the code on your table",children:"To order from your table, scan the QR code printed on it. Or order at the bar."})}):_?(0,l.jsx)(r.Redirect,{href:`/customer/${S}`}):null}},794,[833,804,30,813,819,5,836,24]);
williewastles/customer-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js ADDED
@@ -0,0 +1 @@
 
 
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 e,t=_r(d[0]),s=_r(d[1]),l=_r(d[2]),r=_r(d[3]),n=(e=r)&&e.__esModule?e:{default:e},o=_r(d[4]),i=_r(d[5]),c=_r(d[6]),u=_r(d[7]),h=_r(d[8]),p=_r(d[9]),b=_r(d[10]),y=_r(d[11]),j=_r(d[12]);const x=[['new','Placed'],['acknowledged','Accepted'],['preparing','Cooking'],['ready','Ready to collect'],['collected','Collected']],w=[['new','Sent'],['acknowledged','Accepted'],['preparing','Cooking'],['served','Food out'],['closed','Paid']];function f(){const{oid:e}=(0,s.useLocalSearchParams)(),r=(0,b.useOrder)(e),f=(0,b.useRestaurant)(r?.restaurantId),[C,S]=(0,l.useState)(0),[k,T]=(0,l.useState)(''),[v,P]=(0,l.useState)(!1),[M,$]=(0,l.useState)(!1),[R,A]=(0,l.useState)(1),[I,N]=(0,l.useState)(0),[O,B]=(0,l.useState)(r?.split?.ways??1);if(!r||!f)return(0,j.jsx)(c.Screen,{title:"Order",children:(0,j.jsx)(c.T,{children:"Order not found."})});const H='takeaway'===r.type?x:w,_=Math.max(0,H.findIndex(([e])=>e===r.status)),D=Math.round(r.subtotal*I/100),F='table'===r.type?r.subtotal+(r.split?r.tip:D):r.total,q=F-r.paid,L=r.split?.ways??O,W=r.split?.paidShares??0,Y=Math.ceil(F/L),E='collected'===r.status||'closed'===r.status;return(0,j.jsxs)(c.Screen,{title:`Order ${r.ref}`,subtitle:`${f.name} \xb7 ${'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Collection at ${r.slotTime?(0,p.hm)(new Date(r.slotTime)):'\u2014'}`}`,children:['takeaway'===r.type?(0,j.jsx)(c.Banner,{kind:"success",title:'ready'===r.status?'Your order is ready!':'Order placed',children:'ready'===r.status?'Head to the bar and give your order number. Staff will check allergies with you at handover.':`Show order number ${r.ref} at the bar when you arrive.`}):null,(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Status"}),H.map(([e,t],s)=>(0,j.jsxs)(c.Row,{gap:10,children:[(0,j.jsx)(n.default,{style:{width:22,height:22,borderRadius:11,backgroundColor:s<=_?y.colours.gold:y.colours.surface2,borderWidth:1,borderColor:y.colours.gold}}),(0,j.jsx)(c.T,{weight:s===_?'semibold':'regular',colour:s<=_?y.colours.text:y.colours.muted,children:t})]},e)),r.allergyAck?(0,j.jsxs)(c.Muted,{children:["Kitchen signed off your allergies (",r.allergyAck.by,", ",(0,p.hm)(new Date(r.allergyAck.at)),")"]}):r.allergies.length?(0,j.jsx)(c.Muted,{children:"Waiting for the kitchen to sign off your allergies\u2026"}):null,'takeaway'!==r.type||E?null:(0,j.jsxs)(c.Row,{gap:8,children:[(0,j.jsx)(c.Button,{small:!0,kind:'on-my-way'===r.customerSignal?'primary':'secondary',label:"On my way",onPress:()=>b.repo.orders.customerSignal(r.id,'on-my-way')}),(0,j.jsx)(c.Button,{small:!0,kind:'here'===r.customerSignal?'primary':'secondary',label:"I\u2019m here",onPress:()=>b.repo.orders.customerSignal(r.id,'here')})]})]}),(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Items"}),r.lines.map((e,t)=>(0,j.jsxs)(n.default,{children:[(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsxs)(c.T,{style:{flex:1},children:[e.qty,"\xd7 ",e.name]}),(0,j.jsx)(c.T,{children:(0,h.gbp)(e.unitPrice*e.qty)})]}),e.choices.length?(0,j.jsx)(c.Muted,{children:e.choices.join(' \xb7 ')}):null,e.overridden?(0,j.jsx)(c.Badge,{kind:"red",label:`Allergy override: ${e.contains.map(u.allergenLabel).join(', ')}`}):null]},t)),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Subtotal"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.subtotal)})]}),r.giftCardApplied?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Of which gift card"}),(0,j.jsxs)(c.T,{colour:y.colours.ok,children:["\u2212",(0,h.gbp)(r.giftCardApplied)]})]}):null,r.tip?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Tip"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.tip)})]}):null,(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Paid (test, no real money)"}),(0,j.jsx)(c.T,{weight:"semibold",colour:y.colours.gold,children:(0,h.gbp)(r.paid)})]})]}),'table'===r.type&&'closed'!==r.status&&'cancelled'!==r.status?(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsxs)(c.H2,{children:["Your bill \u2014 ",(0,t.tableNumbers)(r.tableNo)]}),r.split?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(F)," \xb7 split ",L," way",L>1?'s':''," \xb7 ",(0,h.gbp)(Y)," each"]}),(0,j.jsxs)(c.T,{children:["Shares paid: ",W," of ",L," \xb7 remaining ",(0,h.gbp)(q)]}),L>1?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{children:"Shares to pay now"}),(0,j.jsx)(c.Stepper,{value:R,onChange:A,min:1,max:L-W,label:"shares"})]}):null,(0,j.jsx)(c.Button,{label:`Pay ${L>1?`${R} share${R>1?'s':''}`:'bill'} \xb7 ${(0,h.gbp)(Math.min(q,Y*R))}`,onPress:()=>$(!0),testID:"pay-bill"})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Add a tip?"}),(0,j.jsx)(c.Row,{wrap:!0,children:[0,10,12.5,15].map(e=>(0,j.jsx)(c.Chip,{label:e?`${e}%`:'No tip',selected:I===e,onPress:()=>N(e)},e))}),(0,j.jsx)(c.Muted,{children:"Tips go to staff under the restaurant\u2019s tipping policy (Employment (Allocation of Tips) Act 2023)."}),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Split evenly between"}),(0,j.jsx)(c.Stepper,{value:O,onChange:B,min:1,max:8,label:"people"})]}),(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(r.subtotal+D),O>1?` \xb7 ${(0,h.gbp)(Math.ceil((r.subtotal+D)/O))} each`:'']}),(0,j.jsx)(c.Button,{label:"Get the bill",onPress:()=>b.repo.orders.setSplit(r.id,O,D),testID:"get-bill"})]})]}):null,!E||r.rated||v?null:(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsx)(c.H2,{children:"How was everything?"}),(0,j.jsxs)(c.Muted,{children:["One tap \u2014 this goes privately to ",f.name," only, never published."]}),(0,j.jsx)(i.Stars,{value:C,onChange:S}),C?(0,j.jsx)(c.Field,{label:"Anything to add? (optional)",value:k,onChangeText:T}):null,(0,j.jsx)(c.Button,{label:"Send feedback",disabled:!C,onPress:()=>{b.repo.feedback.add({restaurantId:f.id,orderId:r.id,customerId:r.customerId,customerName:r.customerName,stars:C,comment:k,context:'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Takeaway ${r.ref}`}),P(!0)},testID:"send-rating"})]}),v||r.rated?(0,j.jsx)(c.Banner,{kind:"success",children:"Thanks \u2014 your feedback went privately to the restaurant."}):null,E?(0,j.jsx)(c.Button,{kind:"secondary",label:"View stamp card",onPress:()=>s.router.push(`/customer/${f.id}/loyalty`)}):null,(0,j.jsx)(o.MockPay,{visible:M,onClose:()=>$(!1),amount:Math.min(q,Y*R),restaurantId:f.id,title:`Pay \u2014 ${(0,t.tableNumbers)(r.tableNo)}`,onPaid:e=>{b.repo.orders.payTable(r.id,{shares:R,giftCardCode:e.giftCardCode}),$(!1),A(1)}})]})}},791,[808,804,30,127,834,832,813,814,816,818,819,821,24]);
williewastles/customer-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js ADDED
@@ -0,0 +1 @@
 
 
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 s}});var t=r(d[0]);r(d[1]);var n=r(d[2]),c=r(d[3]),o=r(d[4]),f=r(d[5]);function s(){const{section:s}=(0,t.useLocalSearchParams)();return(0,c.canShow)('chef')?s&&(0,o.chefSectionAllowed)(String(s))?(0,f.jsx)(n.ChefApp,{section:String(s)},String(s)):(0,f.jsx)(t.Redirect,{href:"/kitchen"}):(0,f.jsx)(t.Redirect,{href:c.ENTRY[c.APP_VARIANT]})}},775,[804,30,805,806,807,24]);
williewastles/customer-app/_expo/static/js/web/[token]-6c815095a584dc0399e5918b52874b98.js ADDED
@@ -0,0 +1,3 @@
 
 
 
 
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 u}});var t=r(d[0]);r(d[1]);var n=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(d[5]),l=r(d[6]);function u(){const{token:u}=(0,t.useLocalSearchParams)(),h=(0,c.cleanToken)(u);return h?(0,s.guestServer)()?(0,l.jsx)(o.TableOrderLive,{token:h}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"demo",title:"Not connected",children:"This preview isn't connected to a venue, so table orders can't be sent from here."})}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"warn",title:"This code isn't working",children:"Please scan the QR code on your table again, or ask a member of staff."})})}},795,[804,30,813,874,876,836,24]);
2
+ __d(function(g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.TableOrderLive=function({token:e}){const[s,b]=(0,n.useState)(null),[m,f]=(0,n.useState)(null),[j,y]=(0,n.useState)([]),[k,w]=(0,n.useState)(null),T=(0,h.useCustomer)(),[C,S]=(0,n.useState)(()=>(T?.allergies??[]).map(e=>e.allergen)),[v,P]=(0,n.useState)(''),[O,N]=(0,n.useState)(''),[B,I]=(0,n.useState)(!1),[L,M]=(0,n.useState)(null),[R,$]=(0,n.useState)([]),A=(0,n.useCallback)(async()=>{try{b(await(0,c.tablePublic)(e)),f(null)}catch(e){f(e?.message??'Could not load the menu.')}},[e]),D=(0,n.useCallback)(async()=>{try{$(await(0,c.myTableOrders)(e))}catch{}},[e]);(0,n.useEffect)(()=>{A(),D();const e=setInterval(()=>{D(),A()},8e3);return()=>clearInterval(e)},[A,D]);const _=s?.menu??[];(0,n.useEffect)(()=>{y(e=>e.filter(e=>_.some(t=>t.id===e.id&&!t.soldOut)))},[s]);const q=(0,n.useMemo)(()=>{const e=new Map;for(const t of _)e.set(t.section,[...e.get(t.section)??[],t]);return[...e.entries()]},[s]),Y=(0,d.cartTotal)(j,_),W='yes'===k?C.map(e=>({allergen:e,severity:T?.allergies?.find(t=>t.allergen===e)?.severity??'allergy'})):[],E=(0,d.allergyClashes)(j,_,W.map(e=>e.allergen)),z=e=>j.find(t=>t.id===e)?.qty??0,G=(e,t)=>y(l=>t<=0?l.filter(t=>t.id!==e):l.some(t=>t.id===e)?l.map(l=>l.id===e?{...l,qty:t}:l):[...l,{id:e,qty:t,note:''}]),H=(e,t)=>y(l=>l.map(l=>l.id===e?{...l,note:t}:l)),V=async()=>{I(!0),M(null);try{const t=await(0,c.sendTableOrder)(e,j,{note:O,name:v,allergies:W});y([]),N(''),M({kind:'success',text:t.held?`Order ${t.ref} sent. A member of staff will check it, then it goes to the kitchen.`:`Order ${t.ref} sent to the kitchen.`}),D()}catch(e){M({kind:'warn',text:e?.message??'The order was not sent. Please try again or ask a member of staff.'}),A()}finally{I(!1)}};if(m)return(0,x.jsxs)(r.Screen,{title:"Order at the table",children:[(0,x.jsx)(r.Banner,{kind:"warn",title:"Couldn't open the menu",children:m}),(0,x.jsx)(r.Button,{label:"Try again",onPress:()=>{A()}})]});if(!s)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Muted,{children:"Opening the menu\u2026"})});if(!s.ok)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Banner,{kind:"warn",title:"This code isn't working",children:s.reason??'Please ask a member of staff.'})});const F=s.open&&j.length>0&&null!==k&&('none'===k||C.length>0)&&!B;return(0,x.jsxs)(r.Screen,{title:`${(0,l.tableNumbers)(s.table)}`,subtitle:s.venueName,footer:s.open?(0,x.jsx)(r.Button,{label:B?'Sending\u2026':j.length?`Send order to the kitchen (${(0,o.gbp)(Y)})`:'Add a dish to order',disabled:!F,onPress:()=>{V()},testID:"send-table-order-live"}):void 0,children:[(0,x.jsxs)(r.Muted,{children:["Tip: add dishes, answer the allergy question, then send. Staff bring it to ",(0,l.tableNumbers)(s.table),". ",d.PAY_WORDS]}),s.tip?(0,x.jsx)(r.Banner,{kind:"demo",children:s.tip}):null,s.open?null:(0,x.jsx)(r.Banner,{kind:"warn",title:"Not taking table orders right now",children:s.reason}),s.open&&s.staffAccept&&!R.some(e=>e.accepted)?(0,x.jsx)(r.Muted,{children:"The first order from your phone is checked by a member of staff before it goes to the kitchen."}):null,L?(0,x.jsx)(r.Banner,{kind:L.kind,children:L.text}):null,R.length?(0,x.jsx)(a.default,{testID:"my-table-orders",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your orders at this table"}),R.map(e=>(0,x.jsxs)(a.default,{style:{gap:2,paddingVertical:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{children:e.ref}),(0,x.jsx)(r.T,{size:13,colour:'cancelled'===e.status?u.colours.amber:u.colours.gold,children:(0,d.guestStatusWords)(e)})]}),(0,x.jsxs)(r.Muted,{children:[e.lines.map(e=>`${e.qty}\xd7 ${e.name}`).join(', ')," \xb7 ",(0,o.gbp)(e.totalPence)," to pay at the bar or till"]})]},e.id))]})}):null,s.open?q.map(([e,t])=>(0,x.jsxs)(a.default,{style:{gap:8},children:[(0,x.jsx)(r.H2,{children:e}),t.map(e=>(0,x.jsxs)(r.Card,{children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,x.jsxs)(a.default,{style:{flex:1,gap:2},children:[(0,x.jsx)(r.T,{weight:"semibold",children:e.name}),e.description?(0,x.jsx)(r.Muted,{children:e.description}):null,(0,x.jsxs)(r.T,{size:13,colour:u.colours.muted,children:[e.allergens.length?`Contains: ${e.allergens.map(i.allergenLabel).join(', ')}`:'No allergens listed: ask staff if unsure',e.mayContain.length?` \xb7 May contain: ${e.mayContain.map(i.allergenLabel).join(', ')}`:'']})]}),(0,x.jsx)(r.T,{weight:"semibold",colour:u.colours.gold,children:(0,o.gbp)(e.pricePence)})]}),e.soldOut?(0,x.jsx)(r.Badge,{kind:"amber",label:"Sold out today"}):z(e.id)?(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.Stepper,{value:z(e.id),min:0,max:20,onChange:t=>G(e.id,t),label:e.name}),(0,x.jsx)(r.Button,{small:!0,kind:"ghost",label:"Remove",onPress:()=>G(e.id,0)})]}):(0,x.jsx)(r.Button,{small:!0,kind:"secondary",label:"Add",accessibilityLabel:`Add ${e.name}`,onPress:()=>G(e.id,1)})]},e.id))]},e)):null,s.open&&!_.length?(0,x.jsx)(r.Banner,{kind:"demo",title:"No dishes to order yet",children:"The venue hasn't put any priced dishes on the table menu yet. Please order at the bar."}):null,s.open&&j.length?(0,x.jsx)(a.default,{testID:"table-cart",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your order"}),j.map(e=>{const l=_.find(t=>t.id===e.id);return(0,x.jsxs)(a.default,{style:{gap:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsxs)(r.T,{children:[e.qty,"\xd7 ",l?.name]}),(0,x.jsx)(r.T,{children:(0,o.gbp)(e.qty*(l?.pricePence??0))})]}),(0,x.jsx)(t.TextInput,{style:p,value:e.note,onChangeText:t=>H(e.id,t),placeholder:"Note for the kitchen (optional), e.g. no onions",placeholderTextColor:u.colours.muted,maxLength:140,accessibilityLabel:`Note for ${l?.name}`,testID:`table-note-${e.id}`})]},e.id)}),(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Total"}),(0,x.jsx)(r.T,{weight:"semibold",children:(0,o.gbp)(Y)})]})]})}):null,s.open?(0,x.jsx)(a.default,{testID:"table-allergy",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Does anyone at the table have a food allergy?"}),(0,x.jsx)(r.Muted,{children:"We ask everyone, so the kitchen can keep you safe."}),(0,x.jsxs)(r.Row,{gap:8,children:[(0,x.jsx)(r.Chip,{label:"No allergies",selected:'none'===k,onPress:()=>w('none')}),(0,x.jsx)(r.Chip,{label:"Yes, allergies",selected:'yes'===k,onPress:()=>w('yes')})]}),'yes'===k?(0,x.jsx)(r.Row,{wrap:!0,gap:6,children:i.ALLERGENS.map(e=>(0,x.jsx)(r.Chip,{label:e.short,selected:C.includes(e.id),onPress:()=>S(t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id])},e.id))}):null,E.length?(0,x.jsxs)(r.Banner,{kind:"warn",title:"Check with staff",children:[E.map(e=>e.name).join(', ')," ",E.length>1?'contain':'contains'," or may contain an allergy you picked. The kitchen will see your allergies on the ticket."]}):null]})}):null,s.open?(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Anything else?"}),(0,x.jsx)(t.TextInput,{style:p,value:v,onChangeText:P,placeholder:"Your first name (optional)",placeholderTextColor:u.colours.muted,maxLength:40,accessibilityLabel:"Your first name (optional)"}),(0,x.jsx)(t.TextInput,{style:p,value:O,onChangeText:N,placeholder:"Note for the staff (optional)",placeholderTextColor:u.colours.muted,maxLength:300,accessibilityLabel:"Note for the staff (optional)"})]}):null,(0,x.jsx)(a.default,{testID:"pay-placeholder",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Paying"}),(0,x.jsx)(r.T,{children:d.PAY_WORDS}),(0,x.jsx)(r.Muted,{children:"No card details are asked for or kept in this app."})]})})]})};var e,t=_r(_d[0]),l=_r(_d[1]),n=_r(_d[2]),s=_r(_d[3]),a=(e=s)&&e.__esModule?e:{default:e},r=_r(_d[4]),i=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),h=_r(_d[9]),u=_r(_d[10]),x=_r(_d[11]);const p={borderWidth:1,borderColor:u.colours.border,borderRadius:10,padding:10,color:u.colours.text,backgroundColor:u.colours.surface2}},874,[877,808,30,127,813,814,816,876,875,819,821,24]);
3
+ __d(function(g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"tablePublic",{enumerable:!0,get:function(){return s}}),e.sendTableOrder=async function(t,r,a){if(!await(0,n.guestSession)())throw new Error('No connection. Try again when you are back online.');return(0,n.rpc)('guest_table_order',{p_token:t,p_lines:r.map(t=>({id:t.id,qty:t.qty,note:t.note.trim().slice(0,140)})),p_note:a.note.trim().slice(0,300)||null,p_allergies:a.allergies.map(t=>({allergen:t.allergen,severity:t.severity})),p_name:a.name.trim().slice(0,40)||null})},e.myTableOrders=async function(t){return await(0,n.guestSession)()?await(0,n.rpc)('guest_table_my_orders',{p_token:t})??[]:[]},e.loadTableSettings=async function(){const{data:t,error:n}=await a().from('table_order_settings').select('*').eq('venue_id',o()).maybeSingle();if(n)throw n;return(0,r.fromRow)(t)},e.saveTableSettings=async function(t,n){const{error:s}=await a().from('table_order_settings').upsert({venue_id:o(),...(0,r.toRow)(t),updated_at:(new Date).toISOString(),updated_by:n.slice(0,80)});if(s)throw s},e.listTableCodes=async function(){const{data:t,error:n}=await a().from('table_qr_codes').select('table_no, token, created_at').eq('venue_id',o()).eq('is_on',!0);if(n)throw n;return(t??[]).map(t=>({table:String(t.table_no),token:String(t.token),createdAt:String(t.created_at)})).sort((t,n)=>Number(t.table)-Number(n.table))},Object.defineProperty(e,"makeTableCodes",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"renewTableCode",{enumerable:!0,get:function(){return c}}),e.watchTableSettings=function(t){const r=n.useSync.getState().venueId;if(!r)return()=>{};const o=a().channel(`tos-${r}-${Math.random().toString(36).slice(2,8)}`).on('postgres_changes',{event:'*',schema:'public',table:'table_order_settings',filter:`venue_id=eq.${r}`},()=>t()).subscribe();return()=>{a().removeChannel(o)}};var t=_r(d[0]),n=_r(d[1]),r=_r(d[2]);const a=()=>(0,t.getSupabase)(),o=()=>{const t=n.useSync.getState().venueId;if(!t)throw new Error('Not connected to the venue yet.');return t},s=t=>(0,n.rpc)('table_public',{p_token:t});const l=t=>(0,n.rpc)('table_qr_make',{p_venue:o(),p_tables:t}),c=t=>(0,n.rpc)('table_qr_renew',{p_venue:o(),p_table:t})},875,[863,820,876]);
williewastles/customer-app/_expo/static/js/web/__common-ef5ce552e6a046115d7c05238b63bbc9.js ADDED
The diff for this file is too large to render. See raw diff
 
williewastles/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ var __BUNDLE_START_TIME__=globalThis.nativePerformanceNow?nativePerformanceNow():Date.now(),__DEV__=false,process=globalThis.process||{},__METRO_GLOBAL_PREFIX__='';process.env=process.env||{};process.env.NODE_ENV=process.env.NODE_ENV||"production";
2
+ !(function(e){'use strict';e[`${__METRO_GLOBAL_PREFIX__}__d`]||(e.__r=i,e[`${__METRO_GLOBAL_PREFIX__}__d`]=function(e,o,n){if(t.has(o))return;const i={dependencyMap:n,factory:e,hasError:!1,importedAll:r,importedDefault:r,isInitialized:!1,publicModule:{exports:{}}};t.set(o,i)},e.__c=n,e.__registerSegment=function(e,r,o){c[e]=r,o&&o.forEach(r=>{t.has(r)||s.has(r)||s.set(r,e)})});var t=n();const r={},{hasOwnProperty:o}={};function n(){return t=new Map}function i(e,r){if(null===e)throw new Error('Cannot find module');const o=t.get(e);return o&&o.isInitialized?o.publicModule.exports:a(e,o,r)}function l(e,o){if(t.has(e)&&t.get(e)?.importedDefault!==r)return t.get(e).importedDefault;const n=i(e,o),l=n&&n.__esModule?n.default:n;return t.get(e).importedDefault=l}function u(e,n){if(t.has(e)&&t.get(e)?.importedAll!==r)return t.get(e).importedAll;const l=i(e,n);let u;if(l&&l.__esModule)u=l;else{if(u={},l)for(const e in l)o.call(l,e)&&(u[e]=l[e]);u.default=l}return t.get(e).importedAll=u}i.importDefault=l,i[Symbol.for('expo.require')]=!0,i.importAll=u,i.context=function(){throw new Error('The experimental Metro feature `require.context` is not enabled in your project.')},i.resolveWeak=function(){throw new Error('require.resolveWeak cannot be called dynamically.')},i.unguarded=function(e,r){const o=t.get(e);return o&&o.isInitialized?o.publicModule.exports:f(e,o,r)};let d=!1;function a(t,r,o){if(!d&&e.ErrorUtils){let n;d=!0;try{n=f(t,r,o)}catch(t){e.ErrorUtils.reportFatalError(t)}return d=!1,n}return f(t,r,o)}i.unpackModuleId=function(e){if('number'!=typeof e)throw new Error('Module ID must be a number in unpackModuleId.');return{segmentId:e>>>16,localId:65535&e}},i.packModuleId=function(e){return(e.segmentId<<16)+e.localId};const c=[],s=new Map;function f(r,o,n){if(!o&&c.length>0){const e=s.get(r)??0,n=c[e];null!=n&&(n(r),o=t.get(r),s.delete(r))}if(!o)throw p(r,n);if(o.hasError)throw o.error;o.isInitialized=!0;const{factory:d,dependencyMap:a}=o;try{const t=o.publicModule;return t.id=r,d?.(e,i,l,u,t,t.exports,a),o.factory=void 0,o.dependencyMap=void 0,t.exports}catch(e){throw o.hasError=!0,o.error=e,o.isInitialized=!1,o.publicModule.exports=void 0,e}}function p(e,t){return Error('Requiring unknown module "'+(e??t??"[unknown optional import]")+'".')}})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
3
+ !(function(e){e.$$require_external="undefined"!=typeof require?e=>require(e):()=>null})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
4
+ 'undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window&&window;
5
+ !(function(r){let l=0,n=!0===r.RN$useAlwaysAvailableJSErrorHandling?r.RN$handleException:(r,l)=>{throw r};const t={setGlobalHandler(r){n=r},getGlobalHandler:()=>n,reportError(r){n&&n(r,!1)},reportFatalError(r){n&&n(r,!0)},applyWithGuard(r,n,e,a,o){try{return l++,r.apply(n,e)}catch(r){t.reportError(r)}finally{l--}return null},applyWithGuardIfNeeded:(r,l,n)=>t.inGuard()?r.apply(l,n):(t.applyWithGuard(r,l,n),null),inGuard:()=>!!l,guard(r,l,n){if('function'!=typeof r)return console.warn('A function must be passed to ErrorUtils.guard, got ',r),null;const e=l??r.name??'<generated guard>';return function(...l){return t.applyWithGuard(r,n??this,l,null,e)}}};r.ErrorUtils=t})('undefined'!=typeof globalThis?globalThis:'undefined'!=typeof global?global:'undefined'!=typeof window?window:this);
williewastles/customer-app/_expo/static/js/web/_layout-15ff776f09a1c77857089450986263f0.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 N}}),r(_d[0]);var t=r(_d[1]),s=r(_d[2]),o=r(_d[3]),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[4])),u=r(_d[5]),l=r(_d[6]),c=e(r(_d[7])),d=e(r(_d[8]));r(_d[9]);var f=e(r(_d[10])),p=e(r(_d[11])),y=r(_d[12]),h=r(_d[13]),S=r(_d[14]),O=r(_d[15]),j=r(_d[16]),_=r(_d[17]),b=r(_d[18]),P=r(_d[19]),w=r(_d[20]),x=r(_d[21]),E=r(_d[22]),v=r(_d[23]);r(_d[24]);var k=r(_d[25]),H=r(_d[26]),A=r(_d[27]),T=r(_d[28]),R=r(_d[29]),B=r(_d[30]),C=r(_d[31]),F=r(_d[32]);const I=r(_d[33]),V=r(_d[34]),L=r(_d[35]),M=r(_d[36]);function N(){const[e]=(0,t.useFonts)({Poppins_400Regular:I,Poppins_500Medium:V,Poppins_600SemiBold:L,Poppins_700Bold:M}),[x,R]=(0,l.useState)(j.useStore.persist.hasHydrated()),[B,C]=(0,l.useState)(b.useOwner.persist.hasHydrated()),N=x&&B;(0,l.useEffect)(()=>{const e=j.useStore.persist.onFinishHydration(()=>R(!0)),t=b.useOwner.persist.onFinishHydration(()=>C(!0));return j.useStore.persist.hasHydrated()&&R(!0),b.useOwner.persist.hasHydrated()&&C(!0),()=>{e(),t()}},[]),(0,l.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===(0,y.venueKey)(j.useStore.persist.getOptions().name??'')&&(0,v.quietly)(()=>j.useStore.persist.rehydrate()),e.key===(0,y.venueKey)(_.useFloor.persist.getOptions().name??'')&&(0,v.quietly)(()=>_.useFloor.persist.rehydrate()),e.key===(0,y.venueKey)(s.useBlocks.persist.getOptions().name??'')&&(0,v.quietly)(()=>s.useBlocks.persist.rehydrate())};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]),(0,l.useEffect)(()=>{N&&b.useOwner.getState().syncRoster()},[N]),(0,l.useEffect)(()=>{N&&(0,E.startAppSync)()},[N]);const G=e&&N,U=(0,w.useSignedOutGate)(),q=(0,o.usePathname)(),D=G&&!(0,S.isAllowedPath)(q||'/');return(0,l.useEffect)(()=>{if(!D)return;const e=setTimeout(()=>o.router.replace(S.ENTRY[S.APP_VARIANT]),0);return()=>clearTimeout(e)},[D,q]),(0,l.useEffect)(()=>{G&&n.hideAsync().catch(()=>{})},[G]),G?(0,F.jsxs)(O.SafeAreaProvider,{children:[(0,F.jsx)(u.StatusBar,{style:"light"}),U?(0,F.jsx)(p.default,{style:{flex:1,backgroundColor:P.colours.bg}}):(0,F.jsx)(p.default,{style:{flex:1},children:(0,F.jsx)(o.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:P.colours.bg}}})}),D&&!U?(0,F.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:P.colours.bg}]}):null,D||U?null:(0,F.jsx)(A.VoiceHost,{}),U?null:(0,F.jsx)(k.SyncBadge,{}),D||U?null:(0,F.jsx)(H.PushPrompt,{}),(0,F.jsx)(w.InviteGate,{}),D||U?null:(0,F.jsx)(T.SliderHost,{})]}):(0,F.jsxs)(p.default,{style:{flex:1,backgroundColor:P.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[h.HERO_LOGOS[y.VENUE_RID]?(0,F.jsx)(d.default,{source:h.HERO_LOGOS[y.VENUE_RID],accessibilityLabel:"Venue logo",style:{width:180,height:180},resizeMode:"contain"}):null,(0,F.jsx)(c.default,{color:P.colours.gold})]})}R.PITCH&&(globalThis.__pitch={useStore:j.useStore,useOwner:b.useOwner,useFloor:_.useFloor,useBlocks:s.useBlocks,useSession:x.useSession,useCashUp:B.useCashUp,seedPitch:C.seedPitch},setTimeout(()=>{try{(0,C.seedPitch)()}catch(e){console.warn('pitch seed',e)}},1500)),x.START_INVITE,n.preventAutoHideAsync().catch(()=>{})},802,[960,1036,824,804,1063,567,30,246,196,122,46,127,5,861,806,289,819,825,856,821,1006,859,820,1075,1065,1066,1068,1069,919,2,1076,1070,24,1071,1072,1073,1074]);
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])},1036,[1037,1060,1062]);
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)}}},1037,[301,1038,1041,1055,1056,1057,1058,1059]);
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}},1038,[301,1039]);
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}},1039,[1040]);
6
+ __d(function(g,r,i,a,m,e,d){},1040,[]);
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)}},1041,[1042,301,1038,1055,1056]);
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]}})})},1042,[1043,1044,1054]);
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()}})}},1043,[1044,1048,1053]);
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}}},1044,[301,232,1045,1049,1050,1051,1052,1048,1053]);
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}},1045,[301,1046,199,112,1047,1048]);
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])},1046,[575]);
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}}},1047,[301,199]);
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},1048,[]);
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}},1049,[]);
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}},1050,[]);
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])},1051,[1049]);
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}},1052,[]);
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},1053,[232,1047]);
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])},1054,[30,1044]);
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}},1055,[1042,301]);
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])},1056,[1042,1055]);
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}},1057,[1038]);
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])},1058,[301,1038,1041,1039]);
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})({})},1059,[]);
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]))},1060,[301,53,1061]);
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')},1061,[301]);
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]}},1062,[30,1037]);
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]}})})},1063,[1064]);
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(){}},1064,[]);
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()})},1065,[1077,831,820]);
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 C}}),_e.SyncBadge=function(){const e=(0,y.useSync)(),[R,P]=(0,n.useState)(!1),[z,S]=(0,n.useState)(e.refused?.at??''),k=e.refused&&e.refused.at!==z?e.refused:void 0,[W,A]=(0,n.useState)(!1),[H,L]=(0,n.useState)(''),N=(0,p.useDisplaySettings)(f.VENUE_RID),$=(0,T.useScreensaverAsleep)(e=>e.asleep),O='off'===e.mode&&(I.PITCH||!(0,j.isSupabaseConfigured)());if('customer'===h.APP_VARIANT||'off'===e.mode&&!O)return null;if($)return(0,w.jsx)(u.default,{testID:"sync-strip-asleep",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",style:{height:C,backgroundColor:x.colours.bg}});const _='live'===e.mode,E='display'===h.APP_VARIANT,V=e.waiting??0,M=`${V} change${1===V?'':'s'} waiting to save`,K=O?I.PITCH?'Demo \xb7 this device only':'This device only':_?V?M: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',U=O||_&&V?x.colours.gold:_?x.colours.ok:'offline'===e.mode||'connecting'===e.mode?x.colours.gold:x.colours.muted,Y=O?I.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.':_?`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,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.default,{testID:"sync-strip",style:{height:C,paddingHorizontal:10,justifyContent:'center',alignItems:'flex-start',backgroundColor:x.colours.bg,borderTopWidth:1,borderTopColor:'rgba(255,255,255,0.06)'},children:(0,w.jsxs)(c.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:V&&_?`${M}. Kept on this device and tried again by itself. Tap for details.`:`Sync: ${K}`,accessibilityLiveRegion:"polite",onPress:()=>P(e=>!e),style:{flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:14,minHeight:44,borderRadius:999,backgroundColor:(0,s.soutersSurface)('rgba(16,14,11,0.92)'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,w.jsx)(u.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:U}}),(0,w.jsx)(v.T,{size:12,weight:"semibold",children:K})]})}),R?(0,w.jsxs)(u.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:52,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:(0,s.soutersSurface)('#15120E'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,w.jsx)(v.T,{size:13,children:Y}),V?(0,w.jsxs)(u.default,{testID:"sync-waiting",style:{gap:4},children:[(0,w.jsxs)(v.T,{size:12,colour:x.colours.gold,children:[M,". ",1===V?'It is':'They are'," kept on this device and tried again by ",1===V?'itself':'themselves'," until the shared system takes ",1===V?'it':'them',".",e.waitingWhat?` Waiting: ${e.waitingWhat}.`:'']}),(0,w.jsx)(c.default,{testID:"sync-retry",accessibilityRole:"button",accessibilityLabel:"Try saving again now",onPress:()=>{b.mutationQueue.retryNow()},style:{minHeight:44,justifyContent:'center',alignSelf:'flex-start',paddingHorizontal:12,borderRadius:8,borderWidth:1,borderColor:x.colours.gold},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:"Try again now"})})]}):null,e.refused?(0,w.jsxs)(v.T,{size:12,colour:x.colours.red,children:["Last change not saved: ",e.refused.what,". ",e.refused.why,"."]}):null,e.message?(0,w.jsx)(v.T,{size:12,colour:x.colours.muted,children:e.message}):null,e.venueId&&(_||'offline'===e.mode)?W?(0,w.jsxs)(u.default,{style:{gap:6,marginTop:6},children:[(0,w.jsx)(v.T,{size:12,children:E?'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.'}),E&&N.pinOn?(0,w.jsx)(t.TextInput,{testID:"unpair-pin",value:H,onChangeText:L,placeholder:"Display PIN",placeholderTextColor:x.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:x.colours.text}}):null,(0,w.jsxs)(u.default,{style:{flexDirection:'row',gap:8},children:[(0,w.jsx)(c.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:E?'Yes, unpair':'Yes, disconnect',disabled:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H),onPress:()=>{A(!1),P(!1),L(''),E?(0,y.unpairDisplay)():(0,y.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H)?'rgba(255,255,255,0.08)':x.colours.red},children:(0,w.jsx)(v.T,{size:12,weight:"semibold",children:E?'Yes, unpair':'Yes, disconnect'})}),(0,w.jsx)(c.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{A(!1),L('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,w.jsx)(v.T,{size:12,children:"Keep"})})]})]}):(0,w.jsx)(c.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:E?'Unpair this display':'Disconnect this device',onPress:()=>A(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:E?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null,(0,w.jsx)(o.WipeDevice,{compact:!0})]}):null,k?(0,w.jsx)(u.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:C+D+8,zIndex:950,alignItems:'center'},pointerEvents:"box-none",children:(0,w.jsxs)(u.default,{accessibilityRole:"alert",accessibilityLiveRegion:"assertive",style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:x.colours.red,maxWidth:460,gap:8},children:[(0,w.jsx)(v.T,{size:13,children:`Not saved: ${k.what}. Why: ${k.why}. This device now shows what the shared system has, so please make the change again if it is still needed.`}),(0,w.jsx)(c.default,{testID:"sync-toast-ok",accessibilityRole:"button",accessibilityLabel:"OK, dismiss this message",onPress:()=>S(k.at),style:{minHeight:44,minWidth:64,justifyContent:'center',alignItems:'center',alignSelf:'flex-end',paddingHorizontal:14,borderRadius:8,backgroundColor:x.colours.red},children:(0,w.jsx)(v.T,{size:13,weight:"semibold",children:"OK"})})]})}):null]})};var s=r(d[0]),t=r(d[1]),n=r(d[2]),o=r(d[3]),l=r(d[4]),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),y=r(d[8]),b=r(d[9]),p=r(d[10]),f=r(d[11]),x=r(d[12]),v=r(d[13]),T=r(d[14]),j=r(d[15]),I=r(d[16]),w=r(d[17]);const C=48,D='display'===h.APP_VARIANT?0:60},1066,[868,877,30,1067,946,263,127,806,820,1078,825,5,821,813,917,1079,2,24]);
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,T]=(0,s.useState)(!1),[w,j]=(0,s.useState)(''),[D,C]=(0,s.useState)(!1),I='display'===h.APP_VARIANT&&f.pinOn,P=!I||(0,b.wakePinMatches)(f,w);return v?(0,x.jsxs)(o.default,{testID:"wipe-confirm-box",style:{gap:6,marginTop:6},children:[(0,x.jsx)(l.T,{size:e?12:14,children:"Sign out and remove everything CoverCharge 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."}),I?(0,x.jsx)(t.TextInput,{testID:"wipe-pin",value:w,onChangeText:j,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)(o.default,{style:{flexDirection:'row',gap:8},children:[(0,x.jsx)(n.default,{testID:"wipe-confirm",accessibilityRole:"button",accessibilityLabel:"Yes, wipe this device",disabled:!P||D,onPress:()=>{C(!0),(0,y.wipeThisDevice)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:P?c.colours.red:'rgba(255,255,255,0.08)'},children:(0,x.jsx)(l.T,{size:12,weight:"semibold",children:D?'Wiping\u2026':'Yes, wipe this device'})}),(0,x.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Cancel",onPress:()=>{T(!1),j('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,x.jsx)(l.T,{size:12,children:"Cancel"})})]})]}):(0,x.jsx)(n.default,{testID:"wipe-device",accessibilityRole:"button",accessibilityLabel:"Sign out and wipe this device",onPress:()=>T(!0),style:{alignSelf:'flex-start',marginTop:e?4:0,minHeight:44,justifyContent:'center'},children:(0,x.jsx)(l.T,{size:e?12:14,colour:c.colours.gold,children:"Sign out and wipe this device\u2026"})})};var t=r(d[0]),s=r(d[1]),n=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]),b=r(d[8]),h=r(d[9]),y=r(d[10]),x=r(d[11])},1067,[877,30,263,127,813,821,825,5,946,806,820,24]);
34
+ __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.PushPrompt=function(){const e=(0,l.useSync)(e=>e.kind),b=(0,l.useSync)(e=>e.staffRef),x=(0,l.useSync)(e=>e.venueId),[p,S]=(0,o.useState)(!1),[j,v]=(0,o.useState)(null);if((0,o.useEffect)(()=>{if(u.PITCH||y()||'staff'!==e||!b||!x)return;let t=!0;return(async()=>{const e=await(0,c.pushState)();if(!t)return;if('undefined'!=typeof Notification&&'granted'===Notification.permission&&('on'===e||'off'===e))return void(0,c.turnOnPush)();if('off'!==e)return;const o=Number(localStorage.getItem(h)||0);Date.now()-o>2592e5&&S(!0)})(),()=>{t=!1}},[e,b,x]),!p)return null;const w={minHeight:48,borderRadius:12,justifyContent:'center',paddingHorizontal:18};return(0,f.jsxs)(r.default,{accessibilityRole:"alert",style:{position:'absolute',left:12,right:12,bottom:72,backgroundColor:s.colours.surface2,borderColor:s.colours.gold,borderWidth:1,borderRadius:14,padding:16,zIndex:50},children:[(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:18,fontWeight:'700',marginBottom:6},children:"Get notifications on this phone"}),(0,f.jsx)(t.Text,{style:{color:'#F2E6C9',fontSize:16,marginBottom:12},children:j??'So you hear about rota changes, swaps and reminders even when the app is closed.'}),(0,f.jsxs)(r.default,{style:{flexDirection:'row',gap:12},children:[(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Turn on notifications",style:[w,{backgroundColor:s.colours.gold,flex:1}],onPress:async()=>{const e=await(0,c.turnOnPush)();e.ok?S(!1):v(e.message)},children:(0,f.jsx)(t.Text,{style:{color:'#0B0B0B',fontSize:17,fontWeight:'700',textAlign:'center'},children:"Turn on"})}),(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Not now",style:[w,{borderColor:s.colours.gold,borderWidth:1}],onPress:()=>{try{localStorage.setItem(h,String(Date.now()))}catch{}S(!1)},children:(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:17,textAlign:'center'},children:"Not now"})})]})]})};var t=_r(d[0]),o=_r(d[1]);_r(d[2]);var n=e(_r(d[3])),r=e(_r(d[4])),s=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),f=_r(d[9]);const h='cc-push-later-v1',y=()=>'undefined'!=typeof navigator&&/CoverChargePhone\//.test(navigator.userAgent)},1068,[877,30,122,263,127,821,820,1080,2,24]);
35
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.VoiceHost=function(){return null}},1069,[]);
36
+ __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]]}},1070,[819,872,856,1076,14,859,806]);
37
+ __d(function(e,s,o,t,p,a,l){"use strict";p.exports="/williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},1071,[]);
38
+ __d(function(s,e,o,t,p,c,i){"use strict";p.exports="/williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},1072,[]);
39
+ __d(function(o,s,e,t,p,i,d){"use strict";p.exports="/williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},1073,[]);
40
+ __d(function(o,s,e,t,p,d,l){"use strict";p.exports="/williewastles/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},1074,[]);
williewastles/customer-app/_expo/static/js/web/basket-b17831f04afc73d6dfc4107f720f1f19.js ADDED
@@ -0,0 +1 @@
 
 
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 f}});var l=_r(d[0]),t=_r(d[1]),n=_r(d[2]),s=e(n),o=_r(d[3]),a=_r(d[4]),r=e(_r(d[5])),i=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),m=_r(d[10]),b=_r(d[11]),y=_r(d[12]),j=_r(d[13]),x=_r(d[14]),p=_r(d[15]),k=_r(d[16]);function f(){const e=(0,y.useBasket)(),f=(0,y.useRestaurant)(e.restaurantId??void 0),v=(0,y.useAllMenu)(e.restaurantId??void 0),w=(0,y.useCustomer)(),C=(0,y.useOrders)(f?.id),S=(0,y.useStore)(e=>e.setLineQty),B=(0,y.useStore)(e=>e.overrideLine),T=(0,y.useStore)(e=>e.startBasket),P=(0,y.useNow)(15e3),[$,O]=(0,n.useState)(null),[I,M]=(0,n.useState)(!1),[N,F]=(0,n.useState)(''),[L]=(0,n.useState)(()=>(0,a.startForm)()),[R,z]=(0,n.useState)(''),[A,D]=(0,n.useState)(w.phone??''),[E,_]=(0,n.useState)(w.email??''),[Y,q]=(0,n.useState)(!1),H=(0,y.useOrderAtTable)(e.restaurantId??void 0);s.default.useEffect(()=>{H||'table'!==e.mode||y.useStore.setState(e=>({basket:{...e.basket,mode:'takeaway',tableNo:void 0}}))},[H,e.mode]);const[G,K]=(0,n.useState)(null),[Q,W]=(0,n.useState)(!1),J=(0,n.useMemo)(()=>(0,j.linesFromBasket)(e,v,w.allergies),[e,v,w.allergies]);if(!f||!e.lines.length)return(0,k.jsxs)(u.Screen,{title:"Your basket",children:[(0,k.jsx)(u.Muted,{children:"Your basket is empty."}),(0,k.jsx)(u.Button,{label:"Browse restaurants",onPress:()=>t.router.replace('/customer')})]});const U=H&&'table'===e.mode,V=(0,m.takeawaySlots)(f,C,P),X=J.reduce((e,l)=>e+l.unitPrice*l.qty,0),Z=J.some(e=>e.contains.length&&!e.overridden),ee=e.lines.filter(e=>{const l=v.find(l=>l.id===e.itemId);return!l||l.soldOut||!l.signOff}),le=!U&&!$,te=!U&&f.settings.takeawayPaused,ne=(0,p.ukPhone)(A),se=!Z&&!ee.length&&I&&!le&&!te&&(U||ne.ok&&(0,p.emailOk)(E)),oe=async e=>{const l=await y.repo.orders.placeFromBasket({slotTime:U?void 0:$,tip:0,giftCardCode:e?.giftCardCode,notes:N,paidNow:!U,phone:U?void 0:ne.pretty,email:U?void 0:E.trim()||void 0});(0,a.rememberGuard)(l.id,(0,a.guardFor)({...L,hp:R})),q(!1),t.router.replace(`/customer/order/${l.id}`)},ae=e.lines.find(e=>e.key===G),re=ae?J[e.lines.indexOf(ae)]:void 0;return(0,k.jsxs)(u.Screen,{title:"Your basket",subtitle:`${f.name} \xb7 ${U?`${(0,l.tableNumbers)(e.tableNo)} (order at table)`:'Takeaway \u2014 collection'}`,footer:(0,k.jsxs)(r.default,{style:{gap:8},children:[(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between'},children:[(0,k.jsx)(u.T,{weight:"semibold",children:"Subtotal"}),(0,k.jsx)(u.T,{weight:"bold",size:20,colour:x.colours.gold,children:(0,h.gbp)(X)})]}),Z?(0,k.jsx)(u.T,{size:14,colour:x.colours.red,children:"Resolve the blocked allergy item(s) before continuing."}):I?le&&!te?(0,k.jsx)(u.T,{size:14,colour:x.colours.amber,children:"Choose a collection time."}):null:(0,k.jsx)(u.T,{size:14,colour:x.colours.amber,children:"Confirm your allergies to continue."}),U?(0,k.jsx)(u.Button,{label:"Send order to the kitchen",disabled:!se,onPress:()=>oe(),testID:"send-table-order"}):(0,k.jsx)(u.Button,{label:`Continue to payment \xb7 ${(0,h.gbp)(X)}`,disabled:!se,onPress:()=>q(!0),testID:"checkout"})]}),children:[(U||e.tableNo,null),U?(0,k.jsx)(u.Banner,{kind:"success",title:`${(0,l.tableNumbers)(e.tableNo)}`,children:"Ordered food goes to the kitchen straight away; you pay at the end (split the bill if you like)."}):null,f.fictional?null:(0,k.jsx)(u.ExampleAllergenNotice,{}),J.map((l,t)=>{const n=e.lines[t],s=l.contains.length&&!l.overridden;return(0,k.jsxs)(u.Card,{highlight:l.contains.length?x.colours.red:l.may.length?x.colours.amber:void 0,children:[(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,k.jsxs)(r.default,{style:{flex:1,paddingRight:8},children:[(0,k.jsx)(u.T,{weight:"semibold",children:l.name}),l.choices.length?(0,k.jsx)(u.Muted,{children:l.choices.join(' \xb7 ')}):null,l.notes?(0,k.jsxs)(u.Muted,{children:["Note: ",l.notes]}):null]}),(0,k.jsx)(u.T,{weight:"semibold",children:(0,h.gbp)(l.unitPrice*l.qty)})]}),s?(0,k.jsxs)(u.Banner,{kind:"danger",title:`BLOCKED \u2014 contains ${l.contains.map(c.allergenLabel).join(', ')}`,children:[(0,k.jsx)(u.T,{size:14,colour:"#FFE3DF",children:`Conflicts with your declared ${w.allergies.filter(e=>l.contains.includes(e.allergen)).map(e=>`${(0,c.allergenLabel)(e.allergen)} (${(0,c.severityLabel)(e.severity)})`).join(', ')}.`}),(0,k.jsxs)(u.Row,{gap:8,style:{marginTop:6},children:[(0,k.jsx)(u.Button,{small:!0,kind:"secondary",label:"Remove",onPress:()=>S(n.key,0)}),(0,k.jsx)(u.Button,{small:!0,kind:"danger",label:"Override\u2026",onPress:()=>{W(!1),K(n.key)}})]})]}):l.contains.length?(0,k.jsx)(u.Banner,{kind:"danger",title:`Allergy override recorded \u2014 contains ${l.contains.map(c.allergenLabel).join(', ')}`,children:"The kitchen will get an allergy alert that must be acknowledged, and staff will check with you at handover."}):null,l.may.length?(0,k.jsx)(u.Banner,{kind:"warn",title:`May contain ${l.may.map(c.allergenLabel).join(', ')}`,children:"Cross-contact risk (e.g. shared fryer). Please check with staff."}):null,ee.includes(n)?(0,k.jsx)(u.Badge,{kind:"amber",label:"No longer available online \u2014 please remove"}):null,(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between'},children:[(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Remove",onPress:()=>S(n.key,0)}),(0,k.jsx)(u.Stepper,{value:n.qty,onChange:e=>S(n.key,e),min:1,label:l.name})]})]},n.key)}),(0,k.jsx)(u.Button,{kind:"ghost",label:"Add more items",onPress:()=>t.router.push(`/customer/${f.id}`)}),U?null:(0,k.jsxs)(u.Card,{children:[(0,k.jsxs)(u.H2,{children:["Collection time \u2014 ",(0,b.niceDate)(P)]}),te?(0,k.jsx)(u.Banner,{kind:"warn",title:"Takeaway paused",children:"The restaurant has paused takeaway slots for now. Please try again later or book a table."}):0===V.length?(0,k.jsx)(u.Banner,{kind:"warn",children:"No collection slots left today."}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(u.Muted,{children:["15-minute slots, max ",f.settings.slotCap," orders each so the kitchen isn\u2019t overloaded."]}),(0,k.jsx)(u.Row,{wrap:!0,gap:6,children:V.slice(0,16).map(e=>(0,k.jsx)(u.Chip,{label:e.label,sub:e.full?'Full':e.cap-e.taken+" left",disabled:e.full,selected:$===e.time.toISOString(),onPress:()=>O(e.time.toISOString())},e.label))})]})]}),(0,k.jsxs)(u.Card,{highlight:I?void 0:x.colours.amber,children:[(0,k.jsx)(u.H2,{children:"Confirm allergies for this order"}),(0,k.jsx)(u.Row,{wrap:!0,gap:6,children:w.allergies.length?w.allergies.map(e=>(0,k.jsx)(u.Badge,{kind:"red",label:`${(0,c.allergenLabel)(e.allergen)} \u2014 ${(0,c.severityLabel)(e.severity)}`},e.allergen)):(0,k.jsx)(u.Muted,{children:"No allergies declared on your profile."})}),(0,k.jsx)(u.Toggle,{label:w.allergies.length?'Yes, these are correct for everyone this order is for':'I confirm no one in this order has a food allergy',value:I,onChange:M}),(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Edit allergies in profile",onPress:()=>t.router.push('/customer/profile')})]}),U?null:(0,k.jsxs)(u.Card,{children:[(0,k.jsx)(u.H2,{children:"Your details"}),(0,k.jsx)(u.Field,{testID:"order-phone",label:"Mobile number (needed for collection)",value:A,onChangeText:D,keyboardType:"phone-pad",autoComplete:"tel",placeholder:"e.g. 07700 900123"}),!ne.ok&&A?(0,k.jsx)(u.T,{size:13,colour:x.colours.amber,children:ne.error}):null,(0,k.jsx)(u.Field,{label:"Email (optional)",value:E,onChangeText:_,keyboardType:"email-address",autoCapitalize:"none",placeholder:"you@example.com"}),(0,p.emailOk)(E)?null:(0,k.jsx)(u.T,{size:13,colour:x.colours.amber,children:"That email doesn\u2019t look quite right. Check it, or leave it blank."}),(0,k.jsx)(u.Muted,{children:"We\u2019ll text your order confirmation and collection time. Preview mode: nothing is sent in this pilot."})]}),(0,k.jsx)(u.Field,{label:"Order notes (optional)",value:N,onChangeText:F,placeholder:"e.g. cutlery please"}),U?(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Switch to takeaway instead",onPress:()=>T(f.id,'takeaway')}):null,(0,k.jsx)(i.MockPay,{visible:Y,onClose:()=>q(!1),amount:X,restaurantId:f.id,onPaid:e=>oe({giftCardCode:e.giftCardCode}),title:"Pay for your takeaway"}),(0,k.jsxs)(u.Sheet,{visible:!!ae,onClose:()=>K(null),title:"Allergy override",children:[re?(0,k.jsx)(u.Banner,{kind:"danger",title:`${re.name} contains ${re.contains.map(c.allergenLabel).join(', ')}`,children:"Only continue if this item is for someone without this allergy, or you have spoken to staff."}):null,(0,k.jsx)(u.Toggle,{label:"I understand and want to add it anyway",value:Q,onChange:W}),(0,k.jsx)(u.Button,{kind:"danger",disabled:!Q,label:"Confirm override",onPress:()=>{ae&&re&&B(ae.key,re.contains),K(null)}})]}),(0,k.jsx)(o.Honeypot,{value:R,onChange:z})]})}},789,[808,804,30,810,811,127,834,813,814,816,817,818,819,872,821,823,24]);
williewastles/customer-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js ADDED
@@ -0,0 +1 @@
 
 
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 M}});var e,t=_r(_d[0]),o=_r(_d[1]),s=_r(_d[2]),n=_r(_d[3]),l=_r(_d[4]),i=_r(_d[5]),a=_r(_d[6]),r=(e=a)&&e.__esModule?e:{default:e},d=_r(_d[7]),u=_r(_d[8]),c=_r(_d[9]),h=_r(_d[10]),p=_r(_d[11]),b=_r(_d[12]),f=_r(_d[13]),y=_r(_d[14]),x=_r(_d[15]),j=_r(_d[16]),k=_r(_d[17]),v=_r(_d[18]),w=_r(_d[19]),S=_r(_d[20]),T=_r(_d[21]),D=_r(_d[22]),C=_r(_d[23]),$=_r(_d[24]),P=_r(_d[25]);function M(){const{rid:e,date:a}=(0,s.useLocalSearchParams)(),M=(0,x.useRestaurant)(e),A=(0,x.useCustomer)(),B=(0,x.useBookings)(e),O=(0,x.useEvents)(e),N=(0,x.useNow)(6e4),[R]=(0,n.useState)(()=>(0,i.startForm)()),[z,F]=(0,n.useState)(''),[q,W]=(0,n.useState)(2),[E,H]=(0,n.useState)(a??(0,y.ymd)(N)),[L,I]=(0,n.useState)(null),[_,Y]=(0,n.useState)(A.name),[U,G]=(0,n.useState)(A.phone??''),[Q,V]=(0,n.useState)(A.email??''),[J,K]=(0,n.useState)(!1),[X,Z]=(0,n.useState)(''),[ee,te]=(0,n.useState)(!1),[oe,se]=(0,n.useState)([]),[ne,le]=(0,n.useState)(!1),ie=[...A.allergies,...oe.filter(e=>!A.allergies.some(t=>t.allergen===e)).map(e=>({allergen:e,severity:'allergy'}))],[ae,re]=(0,n.useState)(null),de=(0,S.useBlocks)(e=>e.blocks);(0,j.usePublicDayStore)(e=>e.n);const ue=e?(0,j.publicDay)(e,E):null,ce=ue?[...ue.bookings,...B.filter(e=>e.date!==E)]:B,he=ue?[...de.filter(t=>t.rid!==e||t.date!==E),...ue.blocks]:de,me=(0,T.usePlan)(e),[ge,pe]=(0,n.useState)((0,C.emptyNeeds)()),be=!0===ge.dog,fe=be?ge.dogs:0,ye=(0,n.useMemo)(()=>{const e=[],t=new Date(N);t.setHours(12,0,0,0);for(let o=0;o<21;o++){const s=new Date(t);s.setDate(t.getDate()+o),e.push(s)}return a&&!e.some(e=>(0,y.ymd)(e)===a)&&e.push((0,y.parseYmd)(a)),e},[N.toDateString(),a]);if(!M)return(0,P.jsx)(c.Screen,{title:"Not found",children:(0,P.jsx)(c.T,{children:"Restaurant not found."})});const xe=M.settings,je=(0,y.parseYmd)(E),ke=(0,S.blocksOn)(he,M.id,E),ve=ce.filter(e=>e.date===E),we=me.areas.filter(e=>e.dogs),Se=(0,$.dogSetUp)(me),Te=e=>(0,D.freeTablesAt)(me,ve,q,new Date(`${E}${(0,t.tableNumbers)(e)}:00`),(0,D.turnFor)(q,xe.turnMins),xe.turnMins,{dog:!0,closed:(0,S.closedAreasAt)(he,M.id,E,e)}),De=(0,f.bookingSlots)(M,je,e=>ce.filter(t=>t.date===E&&t.time===e&&!['cancelled','noshow'].includes(t.status)).reduce((e,t)=>e+t.partySize,0),q,N).map(e=>{const t=(0,S.blockAt)(he,M.id,E,e.time),o=be&&Se&&e.available&&!t&&(!Te(e.time).length||!(0,C.dogTimeOk)(M,ce,E,e.time,fe));return{...e,blocked:!!t,noDog:o,available:e.available&&!t&&!o}}),Ce=De.some(e=>e.available),$e=(0,d.depositOf)(xe),Pe=(0,d.depositDue)($e,q),Me=Pe>0?'deposit':'none',Ae=(0,d.depositWords)($e,q,M.name),Be=O.filter(e=>e.date===E),Oe=(0,w.ukPhone)(U),Ne=(0,w.emailOk)(Q),Re=(0,C.needsMissing)(ge,A.allergies),ze=!!L&&ee&&!Re.length&&_.trim().length>1&&Oe.ok&&Ne,Fe=async()=>{const e=(0,C.needsPatch)(ge,A.allergies),t=be&&Se?Te(L).map(e=>e.table):[],o=be?ge.tableReq.find(e=>t.includes(e))??t[0]:void 0,s=await x.repo.bookings.create({restaurantId:M.id,customerId:A.id,name:_,partySize:q,date:E,time:L,notes:X.trim(),security:Me,depositPaid:0,...Pe?{depositDue:Pe,depositPolicy:Ae.join(' '),depositRefundable:$e.refundable,depositCutoffHours:$e.cutoffHours}:{},phone:Oe.pretty,email:Q.trim()||void 0,source:'online',...e,...De.find(e=>e.time===L)?.drinksOnly?{drinksOnly:!0}:{},allergies:e.allergies??ie,...o?{table:o}:{}});(0,i.rememberGuard)(s.id,(0,i.guardFor)({...R,hp:z})),re(s)},qe=(0,x.useStore)(e=>ae?e.bookings.find(e=>e.id===ae.id)?.ref:void 0),We=e=>(0,v.waMeLink)(M.settings.whatsapp,(0,v.guestWhatsAppText)({name:e.name,ref:qe??e.ref,date:e.date,time:e.time,partySize:e.partySize},M.name));if(ae){const e='pending'===ae.status;return(0,P.jsxs)(c.Screen,{title:e?'Booking request received':'Booking confirmed',subtitle:M.name,children:[(0,P.jsx)(c.Banner,{kind:e?'info':'success',title:`Reference ${qe??ae.ref}`,children:`${ae.partySize} people \xb7 ${(0,y.niceDateYear)((0,y.parseYmd)(ae.date))} at ${ae.time}`}),e?(0,P.jsx)(c.Banner,{kind:"warn",title:"The team will confirm shortly",children:"For larger parties and special requests, a member of the team checks your booking first. We\u2019ll text you as soon as it\u2019s confirmed."}):null,(0,P.jsxs)(c.Card,{children:[(0,P.jsxs)(c.T,{children:["Name: ",ae.name]}),(0,P.jsxs)(c.T,{children:["Mobile: ",ae.phone]}),ae.email?(0,P.jsxs)(c.T,{children:["Email: ",ae.email]}):null,(0,P.jsxs)(c.T,{children:["Allergies shared with the restaurant: ",ae.allergies.length?ae.allergies.map(e=>`${(0,h.allergenLabel)(e.allergen)} (${(0,h.severityLabel)(e.severity)})`).join(', '):'none']}),ae.notes?(0,P.jsxs)(c.T,{children:["Notes: ",ae.notes]}):null,ae.dog?(0,P.jsxs)(c.T,{children:["\ud83d\udc15 Dog coming too",ae.table?` \xb7 dog-friendly table ${ae.table}`:'']}):null,ae.holds?.length?(0,P.jsxs)(c.T,{children:["Reserved: ",ae.holds.map(e=>`${e.qty} \xd7 ${'item'===e.kind?(M.settings.reservables??$.ANCHORAGE_RESERVABLES).find(t=>t.id===e.id)?.name??'item':e.id}`).join(', ')," (the kitchen confirms it)"]}):null,ae.tableReq?.length?(0,P.jsxs)(c.T,{children:["Table requested: ",ae.tableReq.map(e=>`${(0,t.tableNumbers)(e)}`).join(' or ')," (not guaranteed, but we\u2019ll do our best)"]}):null,'deposit'===ae.security&&ae.depositDue?(0,P.jsxs)(c.T,{weight:"semibold",children:["Deposit due: ",(0,b.gbp)(ae.depositDue),". ",M.name," will tell you how to pay it."]}):null,'deposit'===ae.security&&ae.depositPolicy?(0,P.jsx)(c.Muted,{children:ae.depositPolicy}):null,(0,P.jsxs)(c.Muted,{children:[e?'A text':'A confirmation text',ae.email?' and email':''," to ",ae.phone," ",ae.email?'and your inbox ':'',"is ready. This pilot is in preview mode, so nothing is actually sent yet."]}),(0,P.jsxs)(c.Muted,{children:["Need to change or cancel? Call ",M.phone," and quote ",qe??ae.ref,"."]})]}),We(ae)?(0,P.jsxs)(r.default,{style:{gap:4},children:[(0,P.jsx)(c.Button,{kind:"secondary",label:"\ud83d\udcac Message us on WhatsApp",testID:"guest-whatsapp",onPress:()=>{const e=We(ae);e&&(0,v.openWhatsApp)(e)}}),(0,P.jsx)(c.Muted,{size:13,children:"Opens WhatsApp with your booking details typed in. You can change the message before you send it."})]}):null,(0,P.jsx)(c.Button,{label:"Back to restaurant",onPress:()=>s.router.replace(`/customer/${M.id}`)})]})}return(0,P.jsxs)(c.Screen,{title:"Book a table",subtitle:M.name,footer:(0,P.jsx)(c.Button,{label:Re.length?Re[0]:q>(xe.autoAcceptUpTo??7)?'Send booking request':'Confirm booking',disabled:!ze,onPress:()=>Fe(),testID:"confirm-booking"}),children:[(0,P.jsx)(C.FirstQuestions,{rid:M.id,value:ge,onChange:e=>{e.dog===ge.dog&&e.dogs===ge.dogs||I(null),pe(e)},party:q,audience:"guest",profile:A.allergies}),(0,P.jsxs)(c.Card,{children:[(0,P.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,P.jsx)(c.H2,{children:"Party size"}),(0,P.jsx)(c.Stepper,{value:q,onChange:e=>{W(e),I(null)},min:1,max:16,label:"party size"})]}),Pe?(0,P.jsx)(c.Banner,{kind:"info",title:`Deposit: ${(0,b.gbp)(Pe)} for ${q} guests`,children:(0,P.jsx)(r.default,{style:{gap:4},children:Ae.map(e=>(0,P.jsx)(c.T,{size:13,children:e},e))})}):$e.on&&$e.perPersonPence>0?(0,P.jsxs)(c.Muted,{children:["No deposit for fewer than ",$e.fromParty," guests."]}):null,q>(xe.autoAcceptUpTo??7)?(0,P.jsxs)(c.Muted,{children:["For ",q," people the team checks the booking first, then texts you to confirm."]}):null,be&&Se?(0,P.jsxs)(c.Muted,{children:["Dogs are welcome in the ",we.map(e=>`${e.name}${e.outdoor?' (outdoors, weather permitting)':''}`).join(' and ')||'dog-friendly tables',". We\u2019ll only show times with a dog-friendly table",M.settings.maxDogsPerSlot?' and room for your dog':'',"."]}):null]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Date"}),(0,P.jsx)(c.Row,{wrap:!0,gap:6,children:ye.map(e=>{const t=!!(0,p.hoursFor)(M,e),o=O.some(t=>t.date===(0,y.ymd)(e));return(0,P.jsx)(c.Chip,{label:(0,y.niceDate)(e),sub:t?o?'\u2605 event':void 0:'Closed',disabled:!t,selected:E===(0,y.ymd)(e),onPress:()=>{H((0,y.ymd)(e)),I(null)}},(0,y.ymd)(e))})}),Be.map(e=>(0,P.jsx)(c.Banner,{kind:"demo",title:e.title,children:e.description},e.id))]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Time"}),0===De.length?(0,P.jsx)(c.Muted,{children:"Closed on this day (per listed kitchen hours)."}):(0,P.jsx)(c.Row,{wrap:!0,gap:6,children:De.map(e=>(0,P.jsx)(c.Chip,{label:e.time,sub:e.available?e.drinksOnly?'Drinks only':void 0:e.blocked?'Unavailable':e.noDog?'No dog table':e.left<q?'Full':'\u2014',disabled:!e.available,selected:L===e.time,onPress:()=>I(e.time)},e.time))}),ke.length>0&&De.some(e=>e.blocked)?(0,P.jsx)(c.Banner,{kind:"info",title:Ce?'Some times aren\u2019t available online':'Online booking isn\u2019t available for this time',children:`We\u2019re not taking online bookings ${ke.map(e=>`${e.from}\u2013${e.to}`).join(', ')} on ${(0,y.niceDate)(je)}. Please give us a ring on ${M.phone??"the restaurant"} and we\u2019ll do our best to fit you in.`}):null,(()=>{const e=(0,o.lastFoodOn)(M,E);return e&&De.some(e=>e.drinksOnly)?(0,P.jsx)(c.Banner,{kind:"info",title:`Last food orders ${(0,o.fmt12)(e.time)}${'kitchen closes'!==e.reason?` (${e.reason})`:''}`,children:"Times marked \u201cDrinks only\u201d are after the kitchen\u2019s last food orders that day: you\u2019re welcome for drinks, but we can\u2019t serve food."}):null})(),be&&De.some(e=>e.noDog)?(0,P.jsx)(c.Banner,{kind:"info",title:"Some times are full for dogs",children:`Times marked "No dog table" are full in the ${we.map(e=>e.name).join(' and ')}${M.settings.maxDogsPerSlot?' or already have the most dogs we can look after':''}${(0,S.closedAreasAt)(he,M.id,E,L??'12:00').size?', or the garden is closed for weather':''}. We\u2019d love to see you both, so please try one of the other times shown.`}):null,(0,P.jsxs)(c.Muted,{children:["Times come from covers per slot (",xe.bookingCoversPerSlot," per half hour) and table rules."]})]}),(0,P.jsx)(C.MoreQuestions,{rid:M.id,r:M,value:ge,onChange:pe,party:q,date:E,time:L,today:(0,y.ymd)(N),bookings:ce,audience:"guest",showTables:!0}),(0,P.jsxs)(c.Card,{highlight:ee?void 0:k.colours.amber,children:[(0,P.jsx)(c.Field,{label:"Notes (optional)",value:X,onChangeText:Z,placeholder:u.NOTES_PLACEHOLDER,multiline:!0,numberOfLines:3,testID:"book-notes"}),(0,P.jsx)(c.Toggle,{label:"I confirm the allergy information for this booking",value:ee,onChange:te}),(0,P.jsx)(c.Muted,{children:"Table requests aren\u2019t guaranteed, but we\u2019ll do our best. Nothing here is charged now; reserved dishes are paid on the night."})]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Your details"}),(0,P.jsx)(c.Field,{label:"Name for the booking",value:_,onChangeText:Y}),(0,P.jsx)(c.Field,{testID:"book-phone",label:"Mobile number (needed to book)",value:U,onChangeText:G,onBlur:()=>K(!0),keyboardType:"phone-pad",autoComplete:"tel",placeholder:"e.g. 07700 900123"}),Oe.ok||!J&&!U?null:(0,P.jsx)(c.T,{size:13,colour:k.colours.amber,children:Oe.error}),(0,P.jsx)(c.Field,{testID:"book-email",label:"Email (optional)",value:Q,onChangeText:V,keyboardType:"email-address",autoCapitalize:"none",autoComplete:"email",placeholder:"you@example.com"}),Ne?null:(0,P.jsx)(c.T,{size:13,colour:k.colours.amber,children:"That email doesn\u2019t look quite right. Check it, or leave it blank."}),(0,P.jsxs)(c.Muted,{children:["We\u2019ll text you a confirmation",Q.trim()?' and email it too':'',", with how to change or cancel. We only use your number for this booking."]})]}),(0,P.jsx)(l.Honeypot,{value:z,onChange:F})]})}},777,[808,809,804,30,810,811,127,13,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,24]);
williewastles/customer-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},793,[804,30,806,24]);
williewastles/customer-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=_r(d[0]),a=_r(d[1]),s=_r(d[2]),n=_r(d[3]),r=_r(d[4]),o=_r(d[5]);const l=['Food','Service','Takeaway','Booking','Allergens','Something else'];function c(){const{rid:c}=(0,t.useLocalSearchParams)(),u=(0,r.useRestaurant)(c),h=(0,r.useCustomer)(),[p,b]=(0,a.useState)(0),[y,j]=(0,a.useState)('Food'),[x,v]=(0,a.useState)(''),[f,S]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1);return u?(0,o.jsxs)(s.Screen,{title:"Private feedback",subtitle:`Straight to the team at ${u.name}`,children:[w?(0,o.jsxs)(s.Banner,{kind:"success",title:"Thank you",children:["Your feedback went privately to ",u.name,". It is never published.",f?' They may reply by email (demo: nothing is sent).':'']}):null,w?(0,o.jsx)(s.Button,{kind:"secondary",label:"Send more feedback",onPress:()=>{k(!1),b(0),v('')}}):(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"How did we do?"}),(0,o.jsx)(n.Stars,{value:p,onChange:b}),(0,o.jsx)(s.T,{size:14,children:"What's it about?"}),(0,o.jsx)(s.Row,{wrap:!0,gap:6,children:l.map(t=>(0,o.jsx)(s.Chip,{label:t,selected:y===t,onPress:()=>j(t)},t))}),(0,o.jsx)(s.Field,{label:"Tell us more (optional)",value:x,onChangeText:v,multiline:!0,placeholder:"What went well, what could be better?"}),(0,o.jsx)(s.Chip,{label:f?'\u2713 Happy to be contacted':'Happy to be contacted?',selected:f,onPress:()=>S(!f)}),(0,o.jsx)(s.Button,{label:"Send privately",disabled:!p,onPress:()=>{r.repo.feedback.add({restaurantId:u.id,customerId:h.id,customerName:h.name,stars:p,comment:`${y}: ${x.trim()}${f?` (happy to be contacted: ${h.email})`:''}`,context:`App feedback \xb7 ${y}`}),k(!0)}})]}),(0,o.jsx)(s.Muted,{children:"Every rating, from 1 to 5 stars, goes the same way: privately to the restaurant. We never ask only happy guests to post a public review, and stamps or rewards are never given for reviews."})]}):(0,o.jsx)(s.Screen,{title:"Not found",children:(0,o.jsx)(s.T,{children:"Restaurant not found."})})}},779,[804,30,813,832,819,24]);
williewastles/customer-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js ADDED
@@ -0,0 +1 @@
 
 
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 x}});var t=_r(d[0]),a=_r(d[1]),n=_r(d[2]),s=_r(d[3]),r=_r(d[4]),l=_r(d[5]),o=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),b=_r(d[10]);function x(){const{rid:n}=(0,a.useLocalSearchParams)(),s=(0,o.useRestaurant)(n);(0,o.useCustomer)();return t.LIVE_VENUE_BUILD||(0,h.guestServer)()?s?(0,b.jsx)(c.GiftLive,{slug:n,venue:s.name}):(0,b.jsx)(r.Screen,{title:"Not found",children:(0,b.jsx)(r.T,{children:"Restaurant not found."})}):(0,b.jsx)(f,{})}function f(){const{rid:t}=(0,a.useLocalSearchParams)(),c=(0,o.useRestaurant)(t),h=(0,o.useGiftCards)(t),[x,f]=(0,n.useState)(5e3),[j,p]=(0,n.useState)(''),[g,y]=(0,n.useState)(''),[C,S]=(0,n.useState)(''),[v,w]=(0,n.useState)(!1),[P,T]=(0,n.useState)(null);if(!c)return(0,b.jsx)(r.Screen,{title:"Not found",children:(0,b.jsx)(r.T,{children:"Restaurant not found."})});const B=j?Math.round(100*Number(j))||0:x;return(0,b.jsxs)(r.Screen,{title:"Gift cards",subtitle:`${c.name} \u2014 redeemable only at ${c.name}`,children:[P?(0,b.jsx)(r.Banner,{kind:"success",title:`Gift card created \u2014 ${(0,l.gbp)(P.initial)}`,children:`Code ${P.code}. In production it would be emailed or sent in-app to ${P.recipientName||'the recipient'} (nothing sent in this demo).`}):null,(0,b.jsxs)(r.Card,{children:[(0,b.jsx)(r.H2,{children:"Your gift cards"}),h.length?h.map(t=>(0,b.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsx)(r.T,{style:{flex:1},children:t.code}),(0,b.jsxs)(r.T,{weight:"semibold",colour:u.colours.gold,children:[(0,l.gbp)(t.balance)," of ",(0,l.gbp)(t.initial)]})]},t.id)):(0,b.jsx)(r.Muted,{children:"None yet."}),(0,b.jsx)(r.Muted,{children:"Balances can be used at checkout on takeaway orders and table bills. Part-use leaves a balance."})]}),(0,b.jsxs)(r.Card,{children:[(0,b.jsx)(r.H2,{children:"Buy a gift card"}),(0,b.jsx)(r.Row,{wrap:!0,children:[1e3,2500,5e3,15e3].map(t=>(0,b.jsx)(r.Chip,{label:(0,l.gbp)(t),selected:!j&&x===t,onPress:()=>{p(''),f(t)}},t))}),(0,b.jsx)(r.Field,{label:"Or another amount (\xa3)",keyboardType:"decimal-pad",value:j,onChangeText:p,placeholder:"e.g. 40"}),(0,b.jsx)(r.Field,{label:"Recipient\u2019s name",value:g,onChangeText:y}),(0,b.jsx)(r.Field,{label:"Message",value:C,onChangeText:S,multiline:!0,placeholder:"Happy birthday!"}),(0,b.jsx)(r.Muted,{children:"Valid for 24 months from purchase (suggested terms \u2014 to be confirmed by the restaurant)."}),(0,b.jsx)(r.Button,{label:`Buy ${(0,l.gbp)(B)} gift card`,disabled:B<500||B>5e4,onPress:()=>w(!0)})]}),(0,b.jsx)(s.MockPay,{visible:v,onClose:()=>w(!1),amount:B,restaurantId:c.id,allowGiftCard:!1,title:"Buy gift card",onPaid:async()=>{const t=await o.repo.giftCards.purchase(c.id,B,g,C);w(!1),T(t)}})]})}},780,[833,804,30,834,813,816,819,821,835,836,24]);
williewastles/customer-app/_expo/static/js/web/index-08f47ce9345574523241cee01d2a7020.js ADDED
The diff for this file is too large to render. See raw diff
 
williewastles/customer-app/_expo/static/js/web/index-1ca3ee630447c7d027b33568fe68d67d.js ADDED
The diff for this file is too large to render. See raw diff
 
williewastles/customer-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},797,[804,30,806,24]);
williewastles/customer-app/_expo/static/js/web/index-5c634de6ad187be6c30eaf496c8cd727.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,{})}},799,[804,30,961,806,24]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},961,[]);
williewastles/customer-app/_expo/static/js/web/index-6431f0ca227658be1a04d504ea7c00b0.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 K}});var l=e(_r(_d[0])),t=_r(_d[1]),s=_r(_d[2]),n=e(_r(_d[3])),r=e(_r(_d[4])),o=e(_r(_d[5])),i=e(_r(_d[6])),d=e(_r(_d[7])),u=_r(_d[8]),c=_r(_d[9]),b=_r(_d[10]),h=_r(_d[11]),f=e(h);_r(_d[12]);var p=e(_r(_d[13])),m=e(_r(_d[14])),x=_r(_d[15]),y=_r(_d[16]),j=_r(_d[17]),k=_r(_d[18]),S=_r(_d[19]),w=_r(_d[20]),T=_r(_d[21]),O=_r(_d[22]),I=_r(_d[23]),R=_r(_d[24]),A=_r(_d[25]),B=_r(_d[26]),P=_r(_d[27]),C=_r(_d[28]),_=_r(_d[29]),N=_r(_d[30]),$=_r(_d[31]),v=_r(_d[32]);const E=['book','takeaway'].includes(_.START_GO??'')?_.START_GO:null;let M=!1,L=!1,D=!1;const H=[{id:'main',label:'Main menu'},{id:'specials',label:'Specials'},{id:'takeaway',label:'Takeaway'}];function K(){const{rid:e}=(0,b.useLocalSearchParams)(),c=(0,T.useRestaurant)(e),h=t.IS_QUEUED_VENUE?(0,v.jsx)(l.default,{}):t.IS_ABBOTSFORD?(0,v.jsx)(o.default,{}):t.IS_KIRKTON?(0,v.jsx)(i.default,{}):t.IS_GREENSIDE?(0,v.jsx)(n.default,{}):t.IS_WILDINGS?(0,v.jsx)(d.default,{}):t.IS_KIRKMICHAEL?(0,v.jsx)(r.default,{}):t.IS_SOUTERS?(0,v.jsx)(u.SoutersCustomerHome,{}):(0,v.jsx)(G,{});return t.IS_ABBOTSFORD||t.IS_KIRKTON||t.IS_WILDINGS||!c?.settings.hotel?.enabled?h:(0,v.jsx)(s.HotelRequestGate,{rid:e,hotel:c.settings.hotel,children:h})}function G(){const{rid:e}=(0,b.useLocalSearchParams)(),l=(0,T.useRestaurant)(e),t=(0,T.useMenu)(e),s=(0,T.useCustomer)(),n=(0,T.useBasket)(),r=(0,T.useStore)(e=>e.startBasket),o=(0,T.useNow)(3e4),[i,d]=(0,h.useState)('All'),[u,K]=(0,h.useState)(null),[G,W]=(0,h.useState)(!1),[F,U]=(0,h.useState)(!1),[Q,V]=(0,h.useState)('takeaway'===E?'takeaway':'main');f.default.useEffect(()=>{E&&!M&&(M=!0,'book'===E?setTimeout(()=>b.router.push(`/customer/${e}/book`),0):setTimeout(()=>{try{document.querySelector('[data-testid="menu-tabs"]')?.scrollIntoView({block:'start'})}catch{}},400))},[e]);const Y=(0,P.useSpecials)(l=>l.current[e]??null),q=!!Y&&(0,C.isToday)(Y.postedAt,o),z=(0,A.useOwner)(e=>e.offers.filter(e=>e.live).length),J=(0,T.useStore)(l=>l.stampCards.find(t=>t.restaurantId===e&&t.customerId===l.customer.id)),X=(0,N.useLiveTile)(e),Z=(0,$.guestServer)();f.default.useEffect(()=>{_.START_TABLE_TOKEN&&!D&&(D=!0,setTimeout(()=>b.router.push(`/table/live/${_.START_TABLE_TOKEN}`),0))},[e]),f.default.useEffect(()=>{_.START_LOYALTY_CODE&&!L&&(L=!0,setTimeout(()=>b.router.push(`/customer/${e}/loyalty`),0))},[e]);const ee=(0,T.useOrderAtTable)(e);if(f.default.useEffect(()=>{ee||n.restaurantId!==e||'table'!==n.mode||T.useStore.setState(e=>({basket:{...e.basket,mode:'takeaway',tableNo:void 0}}))},[ee,n.mode,n.restaurantId,e]),!l)return(0,v.jsx)(j.Screen,{title:"Not found",children:(0,v.jsx)(j.T,{children:"Restaurant not found."})});const le=ee&&n.restaurantId===l.id&&'table'===n.mode,te=l.sections.length?l.sections:Array.from(new Set(t.map(e=>e.section))),se=e=>!(e.soldOut||!e.signOff||null===e.price),ae=t.filter(e=>('All'===i||e.section===i)&&('takeaway'!==Q||se(e))),ne=(0,w.hoursFor)(l,o),re=e=>()=>b.router.push(`/customer/${l.id}${e}`),oe=[{icon:'box',label:'Takeaway',sub:'Order to collect',on:()=>{d('All'),V('takeaway'),le&&r(l.id,'takeaway')}},...ee?[{icon:'phone',label:'Order at table',sub:'Scan the QR',on:()=>U(!0)}]:[],{icon:'calendarPlus',label:'Book a table',on:re('/book')},{icon:'clock',label:'Waitlist',sub:'Walk in',on:re('/waitlist')},{icon:'star',label:'Stamp card',sub:Z?X.stamps:`${J?.stamps??0} of ${l.settings.stampTarget}`,on:re('/loyalty')},{icon:'userPlus',label:'Bring a friend',on:re('/refer')},{icon:'gift',label:'Gift cards',on:re('/gift')},{icon:'alert',label:'My allergens',sub:s.allergies.length?`${s.allergies.length} declared`:'None declared',on:()=>b.router.push('/customer/profile')},{icon:'tag',label:'Offers',sub:Z?void 0:s.marketingOptIn[l.id]?'Opted in':'Opt in',on:re('/offers'),badge:(Z?X.offers:z)?String(Z?X.offers:z):void 0},{icon:'sparkle',label:"What's on",on:re('/whatson')},{icon:'chat',label:'Feedback',sub:'Private',on:re('/feedback')},{icon:'hanger',label:'Lost property',on:re('/lost')},{icon:'bag',label:'Shop',sub:'Merch',on:re('/merch')}];return(0,v.jsxs)(j.Screen,{title:l.name,subtitle:`${l.location}${l.phone?` \xb7 ${l.phone}`:''}`,back:'customer'!==R.APP_VARIANT,right:(0,v.jsxs)(j.Row,{children:[(0,v.jsx)(y.BasketButton,{}),(0,v.jsx)(j.Button,{small:!0,kind:"ghost",label:"Account",onPress:()=>b.router.push('/customer/profile')})]}),children:[l.fictional?(0,v.jsx)(j.Banner,{kind:"warn",title:"Fictional demo restaurant",children:"Shown only to demonstrate multi-restaurant support."}):null,le?(0,v.jsx)(j.Banner,{kind:"success",title:`Ordering at ${(0,c.tableNumbers)(n.tableNo)}`,children:"Your order goes straight to the kitchen. Pay and split the bill from your order page. A member of staff is always available \u2014 tap \u201cCall staff\u201d any time."}):(0,v.jsx)(j.Card,{children:(0,v.jsxs)(j.Row,{style:{justifyContent:'space-between'},children:[(0,v.jsxs)(m.default,{style:{flex:1},children:[(0,v.jsx)(j.T,{weight:"semibold",children:"Takeaway \u2014 collection"}),(0,v.jsxs)(j.Muted,{children:[ne?`Kitchen today ${(0,w.kitchenHoursOn)(l,o)[0]}\u2013${(0,w.kitchenHoursOn)(l,o)[1]}`:'Kitchen closed today',l.settings.takeawayPaused?' \xb7 slots paused by the restaurant':'']})]}),(0,v.jsx)(j.Badge,{kind:l.settings.takeawayPaused||!ne?'amber':'ok',label:l.settings.takeawayPaused?'Paused':ne?'Taking orders':'Closed'})]})}),l.fictional?(0,v.jsx)(j.Row,{wrap:!0,gap:8,children:oe.slice(2,7).map(e=>(0,v.jsx)(j.Button,{small:!0,kind:"secondary",label:e.label,onPress:e.on},e.label))}):(0,v.jsx)(m.default,{style:{flexDirection:'row',flexWrap:'wrap',gap:8},children:oe.map(e=>(0,v.jsx)(I.HubTile,{icon:e.icon,label:e.label,sub:e.sub,badge:e.badge,onPress:e.on},e.label))}),le?(0,v.jsx)(j.Button,{small:!0,kind:"danger",label:"Call staff",onPress:()=>W(!0)}):null,G?(0,v.jsx)(j.Banner,{kind:"success",children:"We've told the staff on this device. Calling staff: not set up yet."}):null,l.hoursNote?(0,v.jsx)(j.Muted,{children:l.hoursNote}):null,l.fictional?null:(0,v.jsx)(j.ExampleAllergenNotice,{}),(0,v.jsxs)(j.Muted,{children:["Menu dishes and prices from ",l.name,"\u2019s menu. Items marked \u26a0 conflict with your declared allergies."]}),(0,v.jsx)(m.default,{accessibilityRole:"tablist",testID:"menu-tabs",style:{flexDirection:'row',gap:6,backgroundColor:O.colours.surface,borderRadius:14,borderWidth:1,borderColor:O.colours.border,padding:4},children:H.map(e=>{const l=Q===e.id;return(0,v.jsxs)(p.default,{testID:`menu-tab-${e.id}`,accessibilityRole:"tab",accessibilityState:{selected:l},"aria-selected":l,accessibilityLabel:'specials'===e.id&&q?'Specials, updated today':e.label,onPress:()=>V(e.id),style:{flex:1,minHeight:44,borderRadius:10,alignItems:'center',justifyContent:'center',paddingHorizontal:4,backgroundColor:l?O.colours.gold:'transparent'},children:[(0,v.jsx)(j.T,{size:14,weight:"semibold",colour:l?O.colours.onGold:O.colours.text,center:!0,children:e.label}),'specials'===e.id&&q&&!l?(0,v.jsx)(m.default,{style:{position:'absolute',top:6,right:8,width:7,height:7,borderRadius:4,backgroundColor:O.colours.gold}}):null]},e.id)})}),'specials'===Q?(0,v.jsx)(B.SpecialsTab,{rid:l.id,declared:s.allergies,now:o}):null,'takeaway'===Q?(0,v.jsx)(j.Muted,{children:"Order to collect. Only dishes available to order online are shown; pick a collection slot at checkout."}):null,'specials'!==Q?(0,v.jsxs)(j.Row,{wrap:!0,gap:6,children:[(0,v.jsx)(j.Chip,{label:"All",selected:'All'===i,onPress:()=>d('All')}),te.map(e=>(0,v.jsx)(j.Chip,{label:e,selected:i===e,onPress:()=>d(e)},e))]}):null,'specials'!==Q?te.filter(e=>('All'===i||e===i)&&ae.some(l=>l.section===e)).map(e=>(0,v.jsxs)(m.default,{style:{gap:10},children:[(0,v.jsx)(j.H2,{style:{color:O.colours.gold,marginTop:6},children:e}),ae.filter(l=>l.section===e).map(e=>{const t=(0,k.conflictsFor)(e.allergens,s.allergies),o=e.soldOut||!e.signOff||null===e.price;return(0,v.jsxs)(j.Card,{highlight:t.contains.length?O.colours.red:t.may.length?O.colours.amber:void 0,children:[(0,v.jsxs)(p.default,{accessibilityRole:"button",onPress:()=>{n.restaurantId&&n.restaurantId===l.id||r(l.id,'takeaway'),b.router.push(`/customer/${l.id}/dish/${e.id}`)},children:[(0,v.jsxs)(j.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,v.jsx)(j.T,{weight:"semibold",style:{flex:1,paddingRight:8},children:e.name}),(0,v.jsx)(j.T,{weight:"semibold",colour:O.colours.gold,children:null===e.price?e.priceNote??'\u2014':(0,S.gbp)(e.price)})]}),(0,v.jsx)(j.Muted,{numberOfLines:2,children:e.description})]}),(0,v.jsxs)(j.Row,{wrap:!0,gap:6,children:[e.dietary.map(e=>(0,v.jsx)(j.Badge,{kind:"ok",label:e},e)),e.special?(0,v.jsx)(j.Badge,{kind:"gold",label:"Special"}):null,e.soldOut?(0,v.jsx)(j.Badge,{kind:"neutral",label:"Sold out"}):null,e.signOff?null:(0,v.jsx)(j.Badge,{kind:"amber",label:"Awaiting allergen sign-off"}),t.contains.length?(0,v.jsx)(j.Badge,{kind:"red",label:"\u26a0 Contains your allergen"}):t.may.length?(0,v.jsx)(j.Badge,{kind:"amber",label:"\u26a0 May contain your allergen"}):null]}),(0,v.jsx)(x.AllergenChips,{map:e.allergens,declared:s.allergies}),u===e.id?(0,v.jsx)(x.AllergenPanel,{item:e,map:e.allergens,declared:s.allergies}):null,(0,v.jsxs)(j.Row,{gap:8,children:[(0,v.jsx)(j.Button,{small:!0,kind:"ghost",label:u===e.id?'Hide allergen panel':'Allergen panel',onPress:()=>K(u===e.id?null:e.id)}),(0,v.jsx)(m.default,{style:{flex:1}}),(0,v.jsx)(j.Button,{small:!0,label:o?e.soldOut?'Sold out':'Not available online':'Choose',disabled:o,onPress:()=>{n.restaurantId&&n.restaurantId===l.id||r(l.id,'takeaway'),b.router.push(`/customer/${l.id}/dish/${e.id}`)}})]})]},e.id)})]},e)):null,(0,v.jsx)(j.Muted,{children:"Drinks list coming soon. Ask your server for today\u2019s drinks."}),(0,v.jsx)(j.Muted,{children:"Card payments: not set up yet. Pay at the till as usual."}),(0,v.jsx)(I.LauncherLine,{}),ee?(0,v.jsxs)(j.Sheet,{visible:F,onClose:()=>U(!1),title:"Order at your table",children:[(0,v.jsx)(j.Muted,{children:"Scan the QR code on your table with your phone camera, or pick your table number."}),(0,v.jsx)(j.Row,{wrap:!0,gap:6,children:Array.from({length:12},(e,l)=>String(l+1)).map(e=>(0,v.jsx)(j.Button,{small:!0,kind:"secondary",label:`${(0,c.tableNumbers)(e)}`,onPress:()=>{U(!1),r(l.id,'table',e)}},e))}),(0,v.jsx)(j.Muted,{children:"Orders go straight to the kitchen. Card payments: not set up yet. Pay at the till as usual."})]}):null]})}},781,[837,5,840,841,842,845,848,849,854,808,804,30,122,263,127,829,830,813,814,816,815,819,821,855,806,856,852,857,858,859,860,836,24]);
2
+ __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 e,n=_r(d[0]),t=_r(d[1]),s=(e=t)&&e.__esModule?e:{default:e},r=_r(d[2]),o=_r(d[3]),u=_r(d[4]),l=_r(d[5]),c=_r(d[6]),h=_r(d[7]),j=_r(d[8]),x=_r(d[9]),b=_r(d[10]);function f(){const e=j.VENUE_RID,t=x.queuedVenues[e],f=(0,h.useRestaurant)(e)??(0,x.queuedRestaurant)(e),[p,k]=(0,n.useState)(!1),y=f.kitchenSessionsByDay;return(0,b.jsxs)(r.Screen,{title:t.name,back:!1,children:[(0,b.jsx)(o.RestaurantHero,{rid:e,size:240}),p?(0,b.jsx)(l.NativeRequestSetup,{rid:e,kind:"table",sessionHours:y,onClose:()=>k(!1)}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(r.Button,{testID:`${e}-book-table`,label:"Book a table",onPress:()=>k(!0)}),t.phone?(0,b.jsx)(r.Button,{kind:"secondary",label:`Call ${t.phone}`,onPress:()=>{s.default.openURL('tel:'+t.phone.replace(/[^0-9+]/g,''))}}):null,(0,b.jsx)(r.Muted,{children:"Send a table request for this venue\u2019s managers to confirm. This is not an instant booking. No deposit or payment is taken. No emails or texts are sent by this app."}),(0,b.jsxs)(r.Card,{children:[(0,b.jsx)(r.H2,{children:"Kitchen and venue hours"}),(0,b.jsx)(r.T,{children:t.hours.note})]}),t.clockArea.on?(0,b.jsx)(u.FindPub,{rid:e}):(0,b.jsxs)(r.Muted,{children:["Find us: ",t.address,". Precise map location to confirm."]}),(0,b.jsx)(c.QueuedMenus,{menu:t.menu,context:t.menuServiceContext,allergens:t.allergenCaveat}),(0,b.jsxs)(r.Banner,{kind:"warn",title:"To confirm",children:[t.gatesToConfirm.join(', '),"."]}),(0,b.jsx)(r.Muted,{children:"Ordering, takeaway, delivery and loyalty: to set up. Deposits are blank and off."})]})]})}},837,[30,239,813,861,862,838,839,819,5,6,24]);
3
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.NativeRequestSetup=function(l){const[h,p]=(0,u.useState)(null);return(0,u.useEffect)(()=>{let u=!0;p(null);const s=(0,t.isQueuedVenue)(l.rid),o=s?'queued_venue_request_setup_ready':'kirkton'===l.rid?'kirkton_request_setup_ready':'abbotsford_request_setup_ready';return(0,n.getSupabase)().rpc(o,s?{p_slug:(0,t.queuedDatabaseSlug)(l.rid)}:void 0).then(({data:t,error:n})=>{u&&p(!n&&!0===t)},()=>{u&&p(!1)}),()=>{u=!1}},[l.rid,l.kind]),!0===h?(0,c.jsx)(o.VenueRequestForm,{...l}):(0,c.jsxs)(s.Card,{children:[(0,c.jsx)(s.H2,{children:null===h?'Checking booking setup\u2026':'Manager setup needed'}),(0,c.jsx)(s.Muted,{children:null===h?'Checking whether requests are ready.':(0,t.isQueuedVenue)(l.rid)?'An authorised manager must complete setup and confirm current kitchen hours before requests can be sent.':'kirkton'===l.rid?'An authorised manager must complete setup and confirm current kitchen hours before table requests can be sent. Contact details are to confirm.':'An authorised hotel manager must complete setup before requests can be sent.'}),(0,c.jsx)(s.Button,{kind:"secondary",label:"Back to Customer home",onPress:l.onClose})]})};var t=r(d[0]),u=r(d[1]),n=r(d[2]),s=r(d[3]),o=r(d[4]),c=r(d[5])},838,[6,30,863,813,864,24]);
4
+ __d(function(g,r,_i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.QueuedMenus=function({menu:c,context:o,allergens:a}){const u=c,f=(0,n.useMemo)(()=>t(c),[c]),[p,b]=(0,n.useState)(null);return(0,s.jsxs)(i.Card,{children:[(0,s.jsx)(i.H2,{children:"Published menus"}),(0,s.jsx)(i.Banner,{kind:"warn",title:"Menu \u2014 to confirm",children:"Published reference only. Current prices, availability and allergens need confirmation. Items cannot be ordered here."}),o?(0,s.jsx)(i.Muted,{children:o}):null,a?(0,s.jsx)(i.Muted,{children:a}):(0,s.jsx)(i.Muted,{children:"Ask the restaurant about every allergy. Published dietary labels are not an allergen guarantee."}),u.offers?.map((n,t)=>(0,s.jsxs)(i.Muted,{children:["Published offer \u2014 ",n.name,'number'==typeof n.priceGbp?` \xb7 \xa3${n.priceGbp.toFixed(2)}`:'',": ",n.when||'Terms to confirm',". To confirm."]},'offer'+t)),u.buffetSessionPrices?.sessions?.map((n,t)=>(0,s.jsxs)(i.Muted,{children:[n.label,": \xa3",n.price.toFixed(2)," \xb7 to confirm"]},'session'+t)),u.buffetSessionPrices?.kids?(0,s.jsxs)(i.Muted,{children:["Published children\u2019s prices \u2014 ",u.buffetSessionPrices.kids,". To confirm."]}):null,f.map((n,t)=>(0,s.jsx)(i.Button,{kind:"secondary",label:n.name+(p===t?' \xb7 selected':''),onPress:()=>b(p===t?null:t)},t)),null!==p?f[p]?.items.map((n,t)=>(0,s.jsxs)(i.Card,{children:[(0,s.jsx)(i.T,{weight:"bold",children:n.name||n.label||'Published item'}),(0,s.jsx)(i.T,{children:l(n)}),n.description||n.desc?(0,s.jsx)(i.Muted,{children:n.description||n.desc}):null,n.options?.map((n,t)=>(0,s.jsxs)(i.Muted,{children:[n.name||n.label,": ",l(n)]},t))]},t)):null]})};var n=r(d[0]),i=r(d[1]),s=r(d[2]);function t(n,i=""){if(Array.isArray(n))return n.flatMap(n=>t(n,i));if(!n||'object'!=typeof n)return[];const s=n,l='string'==typeof s.name?s.name:'string'==typeof s.label?s.label:i;return(Array.isArray(s.items)?[{name:[i,l].filter((n,i,s)=>n&&s.indexOf(n)===i).join(' \xb7 ')||'Published menu',items:s.items}]:[]).concat(Object.entries(s).filter(([n])=>'items'!==n&&'options'!==n).flatMap(([,n])=>t(n,l||i)))}const l=n=>'included_in_buffet'===n.priceType?'Included in buffet \xb7 session price to confirm':n.priceLabel||('number'==typeof(n.priceGbp??n.price)?`\xa3${(n.priceGbp??n.price).toFixed(2)}`:'Price to confirm')},839,[30,813,24]);
5
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.HotelRequestGate=function({rid:e,hotel:l,children:c}){const[h,f]=(0,t.useState)(!1);return l?.enabled?(0,u.jsxs)(o.default,{style:{flex:1},children:[c,(0,u.jsx)(o.default,{style:{padding:12},children:(0,u.jsx)(s.Button,{label:"Book a room",onPress:()=>f(!0)})}),(0,u.jsx)(s.Sheet,{visible:h,onClose:()=>f(!1),title:"Room request",children:(0,u.jsx)(n.VenueRequestForm,{rid:e,kind:"room",hotel:l,onClose:()=>f(!1)})})]}):(0,u.jsx)(u.Fragment,{children:c})};var e,t=r(d[0]),l=r(d[1]),o=(e=l)&&e.__esModule?e:{default:e},s=r(d[2]),n=r(d[3]),u=r(d[4])},840,[30,127,813,864,24]);
6
+ __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 x}});var e,n=r(d[0]),s=r(d[1]),t=(e=s)&&e.__esModule?e:{default:e},o=r(d[2]),l=r(d[3]),u=r(d[4]),c=r(d[5]),h=r(d[6]),b=r(d[7]),j=r(d[8]);function x(){const[e,s]=(0,n.useState)(!1),[x,p]=(0,n.useState)(null);return(0,n.useEffect)(()=>{if(!e)return;let n=!0;return p(null),(0,o.getSupabase)().rpc('greenside_request_setup_ready').then(({data:e,error:s})=>{n&&p(!s&&!0===e)},()=>{n&&p(!1)}),()=>{n=!1}},[e]),(0,j.jsxs)(l.Screen,{title:b.GREENSIDE_RESTAURANT.name,back:!1,children:[(0,j.jsx)(u.RestaurantHero,{rid:"greenside",size:240}),e?!0===x?(0,j.jsx)(h.VenueRequestForm,{rid:"greenside",kind:"table",onClose:()=>s(!1)}):(0,j.jsxs)(l.Card,{children:[(0,j.jsx)(l.H2,{children:null===x?'Checking booking setup\u2026':'Manager setup needed'}),(0,j.jsx)(l.Muted,{children:null===x?'Checking whether table requests are ready.':'An authorised manager must complete setup before table requests can be sent. Please call 01655 889685.'}),(0,j.jsx)(l.Button,{label:"Call 01655 889685",kind:"secondary",onPress:()=>{t.default.openURL(b.GREENSIDE_BOOKING_PHONE)}}),(0,j.jsx)(l.Button,{label:"Back to Customer home",kind:"secondary",onPress:()=>s(!1)})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(l.T,{center:!0,children:"Bar, restaurant and wood-fired pizza"}),(0,j.jsxs)(l.Row,{wrap:!0,children:[(0,j.jsx)(l.Button,{testID:"greenside-book-table",label:"Book a table",onPress:()=>s(!0)}),(0,j.jsx)(l.Button,{testID:"greenside-book-phone",kind:"secondary",label:"Call 01655 889685",onPress:()=>{t.default.openURL(b.GREENSIDE_BOOKING_PHONE)}})]}),(0,j.jsx)(l.Muted,{children:"Send a table request for a Greenside manager to confirm. This is not an instant booking. No deposit, payment, email or text is taken or sent by this app."}),(0,j.jsxs)(l.Card,{children:[(0,j.jsx)(l.H2,{children:"Kitchen hours"}),(0,j.jsx)(l.T,{children:"Wednesday, Thursday and Sunday: 10:00\u201320:00"}),(0,j.jsx)(l.T,{children:"Friday and Saturday: 10:00\u201321:00"}),(0,j.jsx)(l.T,{children:"Closed Monday and Tuesday"}),(0,j.jsx)(l.H2,{children:"Venue hours"}),(0,j.jsx)(l.T,{children:"Wednesday and Thursday: 10:00\u201323:00"}),(0,j.jsx)(l.T,{children:"Friday to Sunday: 10:00\u201300:00"}),(0,j.jsx)(l.T,{children:"Cash only"})]}),(0,j.jsx)(c.FindPub,{rid:"greenside"}),(0,j.jsx)(l.Banner,{kind:"warn",title:"Menus \u2014 unconfirmed",children:"The published menus, prices, availability and allergens need confirmation. Ask the restaurant about every allergy. No menu items are available to order here."}),(0,j.jsx)(l.Muted,{children:"Deposit policy needs confirmation. Deposits are off. The public email address needs confirmation."}),(0,j.jsx)(l.Button,{kind:"secondary",label:"View published menus on our website",onPress:()=>{t.default.openURL('https://thegreensiderestaurant.co.uk/menus/')}})]})]})}},841,[30,239,863,813,861,862,864,4,24]);
7
+ __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}});var n=r(d[0]),s=r(d[1]),t=e(r(d[2])),l=e(r(d[3])),o=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),m=r(d[8]),j=r(d[9]),x=r(d[10]);function f(){const[e,f]=(0,s.useState)(!1),p=h.KIRKMICHAEL_SAMPLE_MENU.menus.find(e=>'main-menu'===e.id);return e?(0,x.jsx)(o.Screen,{title:u.KIRKMICHAEL_RESTAURANT.name,back:!1,children:(0,x.jsx)(m.VenueRequestForm,{rid:"kirkmichael",kind:"table",onClose:()=>f(!1)})}):(0,x.jsxs)(o.Screen,{title:u.KIRKMICHAEL_RESTAURANT.name,back:!1,children:[(0,x.jsx)(c.RestaurantHero,{rid:"kirkmichael",size:180}),(0,x.jsx)(o.T,{center:!0,children:u.KIRKMICHAEL_RESTAURANT.tagline}),(0,x.jsxs)(o.Row,{wrap:!0,children:[(0,x.jsx)(o.Button,{testID:"kirkmichael-book",label:"Book a table",onPress:()=>f(!0)}),(0,x.jsx)(o.Button,{kind:"secondary",label:"Call 01655 750 200",onPress:()=>{t.default.openURL('tel:01655750200')}})]}),(0,x.jsx)(n.FindPub,{rid:"kirkmichael"}),(0,x.jsxs)(o.Card,{children:[(0,x.jsx)(o.H2,{children:"Opening hours"}),(0,x.jsx)(o.T,{children:"Monday to Wednesday: closed"}),(0,x.jsx)(o.T,{children:"Thursday to Sunday: 13:00\u201322:30"}),(0,x.jsx)(o.Muted,{children:u.KIRKMICHAEL_RESTAURANT.hoursNote}),(0,x.jsx)(o.T,{children:u.KIRKMICHAEL_RESTAURANT.address})]}),(0,x.jsxs)(o.Card,{children:[(0,x.jsx)(o.H2,{children:"Contacts"}),u.KIRKMICHAEL_CONTACTS.map(e=>(0,x.jsxs)(l.default,{style:{gap:2,marginBottom:8},children:[(0,x.jsxs)(o.T,{weight:"semibold",children:[e.name," \xb7 ",e.job]}),(0,x.jsxs)(o.Muted,{children:[e.email||'Email via enquiries@ only',e.phone?` \xb7 ${e.phone}`:'']})]},e.name)),(0,x.jsx)(o.Muted,{children:"Profile contacts only \u2014 no staff accounts or invite links have been created."})]}),(0,x.jsx)(o.Banner,{kind:"warn",title:"Deposits are off",children:"No deposit is taken in the app. Confirm directly with the venue if needed."}),(0,x.jsx)(o.Banner,{kind:"warn",title:"Current Sample Menu \u2014 unconfirmed",children:"Reference only, from the venue\u2019s Sample menus. Specials change regularly. Dishes, prices and availability are unconfirmed; ask the venue about every allergy. No allergen information has been signed off. Online ordering, takeaway and loyalty are not enabled."}),(0,x.jsx)(o.Muted,{children:"Bookings are taken in CoverCharge. Capacity about 56 covers; areas Restaurant, Bar and Private dining. Table plan to confirm \u2014 no sample tables."}),p?.categories.map(e=>(0,x.jsxs)(l.default,{style:{gap:10},children:[(0,x.jsx)(o.H2,{children:e.name}),e.items.filter(e=>null!==e.price).map(e=>(0,x.jsxs)(o.Card,{children:[(0,x.jsxs)(o.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,x.jsx)(o.T,{weight:"semibold",style:{flex:1},children:e.name}),(0,x.jsx)(o.T,{children:null===e.price?'Ask the venue':(0,j.gbp)(Math.round(100*e.price))})]}),e.description?(0,x.jsx)(o.Muted,{children:e.description}):null,(0,x.jsx)(o.Muted,{children:"Sample only \xb7 unconfirmed \xb7 allergens: ask the venue"})]},e.name))]},e.name)),(0,x.jsx)(o.Button,{kind:"secondary",label:"View all current menus on our website",onPress:()=>{t.default.openURL('https://www.kirkmichaelarms.co.uk/menus')}})]})}},842,[862,30,239,127,813,861,12,843,864,816,24]);
8
+ __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,"KIRKMICHAEL_ANSWERS",{enumerable:!0,get:function(){return c}}),Object.defineProperty(_e,"KIRKMICHAEL_SAMPLE_MENU",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=e(r(d[1])),u=e(r(d[2]));const c=(0,t.cleanQuestionnaire)(n.default,'kirkmichael'),o=u.default},843,[865,866,844]);
9
+ __d(function(e,l,n,i,r,a,p){r.exports={currency:"GBP",source:"Live site https://www.kirkmichaelarms.co.uk/menus (RSC payload), scraped 2026-11-05",note:"Sample menus change with the specials board. Prices shown are as published on the live Sample menus. Older main-menu.php pub classics appear on third-party aggregators but the live /menus page currently shows these Sample menus \u2014 prefer live data; confirm with Justin/Gordon before seeding stock.",conflicts:["Aggregator/search listings still show an older pub main menu (Soup \xa35.25, Beef Lasagne \xa314.95, etc. from main-menu.php which currently 403s). Live /menus Sample menus differ (sharing plates + specials board). Marked as conflict \u2014 do not merge silently."],menus:[{id:"main-menu",name:"Sample Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Main Courses on the specials board",items:[{name:"Slow Roasted Apple Orchard Tamworth Pork Belly",description:"Truffle Mash-Roasted Carrot-Spring Cabbage-Apple Puree",price:28,priceType:"single",allergens:null},{name:"Char Roasted Lamb Neck Fillet",description:"Autumn Cabbage, Boiled Potatoes, Roast Carrot, Red Wine Jus",price:38,priceType:"single",allergens:null},{name:"Fire Roasted Lochryan Venison Loin",description:"Celeriac Parsley Puree-Wild Leeks-Potato Terrine-Juniper Jus",price:39,priceType:"single",allergens:null},{name:"Butter Poached Lemon Sole Fillet",description:"Langoustines Tails-Pernod Chive Nage-Paris Mash-Truffle",price:38,priceType:"single",allergens:null},{name:"Grilled Tranche of Turbot",description:"Lemon Scented Monk's Beard-Pink Fir Apple Potatoes-Bearnaise",price:44,priceType:"single",allergens:null}]},{name:"Sample Specials Board",items:[{name:"Sample Specials Board",description:null,price:null,priceType:"single",allergens:null}]}]},{id:"menu-lunch",name:"Sample Lunch Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Mains",items:[{name:"Choose a Main Course From Our Specials Board",description:"Specials change daily/weekly",price:null,priceType:"single",allergens:null},{name:"Sample Specials Board",description:"Changes Daily/Weekly",price:null,priceType:"single",allergens:null}]},{name:"Girvan Mains Dry Aged Steaks",items:[{name:"A large selection of cuts and sizes daily",description:null,price:null,priceType:"single",allergens:null},{name:"Sample Specials",description:null,price:null,priceType:"single",allergens:null}]},{name:"Sides",items:[{name:"Triple Cooked Hand Cut Chips",description:null,price:6,priceType:"single",allergens:null}]}]},{id:"menu-bar-food",name:"Sample Sunday Lunch Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Main Courses from the specials board",items:[{name:"Maple Glazed Bacon Loin",description:null,price:25,priceType:"single",allergens:null},{name:"Roasted Sirloin of Scotch Beef",description:"Beef Fat Roast Potatoes-Yorkshire Pudding-Spring Cabbage-Carrot-Peppercorn Sauce",price:25,priceType:"single",allergens:null},{name:"Lemon and Thyme Corn Fed Chicken",description:null,price:25,priceType:"single",allergens:null},{name:"Carvery Plate",description:"Beef, Bacon Loin, Corn Fed Chicken",price:31,priceType:"single",allergens:null},{name:"Fire Roasted Lochryan Venison Loin",description:"Celeriac Parsley Puree-Wild Leeks-Potato Terrine-Juniper Jus",price:39,priceType:"single",allergens:null},{name:"Butter Poached Lemon Sole Fillet",description:"Langoustines Tails-Pernod Chive Nage-Paris Mash-Truffle",price:38,priceType:"single",allergens:null},{name:"Grilled Tranche of Turbot",description:"Lemon Scented Monk's Beard-Pink Fir Apple Potatoes-Bearnaise",price:44,priceType:"single",allergens:null},{name:"Sample Specials",description:null,price:null,priceType:"single",allergens:null}]}]},{id:"menu-kids",name:"Sample Kids' Menu",setPrice:14.95,setPriceNote:"3 courses \u2014 \xa314.95",categories:[{name:"Starters",items:[{name:"Garlic Bread",description:null,price:null,priceType:"single",allergens:null},{name:"Cheesy Garlic Bread",description:null,price:null,priceType:null,allergens:null},{name:"Soup",description:null,price:null,priceType:null,allergens:null}]},{name:"Mains",items:[{name:"Hamburger",description:"Scotch beef burger with brioche bun, lettuce, tomato & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Cheese Burger",description:"Scotch beef burger with cheddar cheese, brioche bun, lettuce, tomato & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Chicken Goujons",description:"Crisp fried chicken strips with tortilla wraps, grated cheddar & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Fish 'n Chips",description:"Battered haddock, lemon, tartare sauce & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Mac 'n Cheese",description:"Creamy Macaroni with cheddar cheese sauce",price:null,priceType:null,allergens:null}]},{name:"Desserts",items:[{name:"Strawberry Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Chocolate Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Vanilla Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Sticky Toffee Pudding",description:null,price:null,priceType:null,allergens:null}]}]},{id:"menu-whisky",name:"Sample Whisky Menu",setPrice:null,setPriceNote:null,categories:[{name:"Blended Whisky",items:[{name:"Whyte & Macay",description:null,price:null,priceType:"multiple",allergens:null},{name:"Johnnie Walker Black Label",description:null,price:null,priceType:"multiple",allergens:null},{name:"Canadian Club",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Bourbon & Whiskey Liqueurs",items:[{name:"Jack Daniel's Tennessee",description:null,price:null,priceType:"multiple",allergens:null},{name:"Southern Comfort",description:null,price:null,priceType:"multiple",allergens:null},{name:"Maker's Mark Classic",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bulleit",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bulleit Rye",description:null,price:null,priceType:"multiple",allergens:null},{name:"Jim Beam White Label",description:null,price:null,priceType:"multiple",allergens:null},{name:"Woodford Reserve",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Irish Whiskey",items:[{name:"Jameson",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Japanese Whisky",items:[{name:"Hibiki Harmony Masters Masters Select",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Speyside",items:[{name:"Glenfiddich 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glenrothes 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Macallan 12 Year Old Double Cask",description:null,price:null,priceType:"multiple",allergens:null},{name:"Benrinnes Flora & Fauna 15",description:null,price:null,priceType:"multiple",allergens:null},{name:"Benrinnes 1997 Maltman 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Balvenie 18 Year Old Pedro Ximenez",description:null,price:null,priceType:"multiple",allergens:null},{name:"Macallan 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Aberlour Abunadh Cask Strength",description:null,price:null,priceType:"multiple",allergens:null},{name:"Mortlach 16yo",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Highland",items:[{name:"Dalmore 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Oban 14 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glencadam 10",description:null,price:7,priceType:"single",allergens:null},{name:"Tomatin Legacy",description:null,price:6.75,priceType:"single",allergens:null},{name:"Tomatin 14",description:null,price:8,priceType:"single",allergens:null},{name:"Glendronach 15",description:null,price:9,priceType:"single",allergens:null},{name:"Glenfarclas 21",description:null,price:18.5,priceType:"single",allergens:null},{name:"Glendronach Sherry Cask 18",description:null,price:22.5,priceType:"single",allergens:null}]},{name:"Single Malt - Islay",items:[{name:"Bowmore 15 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lagavulin 16 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Caol Ila 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Caol Ila Moch",description:null,price:null,priceType:"multiple",allergens:null},{name:"Ardbeg 10",description:null,price:5.75,priceType:"single",allergens:null}]},{name:"Single Malt - Islands",items:[{name:"Highland Park 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Talisker 10 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran 10 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran Port Cask Finish",description:null,price:null,priceType:"multiple",allergens:null},{name:"Machrie Moor Cask Strength",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran Amarone Cask",description:null,price:7.25,priceType:"single",allergens:null},{name:"Hearach Oloroso, Harris",description:null,price:9,priceType:"single",allergens:null},{name:"Ledaig 1974, Mull",description:null,price:22.5,priceType:"single",allergens:null}]},{name:"Single Malt - Lowlands",items:[{name:"Auchentoshan Three Wood",description:null,price:null,priceType:"multiple",allergens:null},{name:"Ailsa Bay",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glenkinchie 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Our Barley\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Fallow Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Ploughing Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"5\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Cask Strength 2nd Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch Spirit Drink",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch Vinaya",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch 22 Year Old Vintage Release",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Campbeltown",items:[{name:"Springbank 15 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Springbank 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null}]}]},{id:"menu-wine",name:"Sample Wine Menu",setPrice:null,setPriceNote:null,categories:[{name:"Champagne/Sparkling",items:[{name:"Greyfriars Cuvee Brut",description:"England",price:null,priceType:"multiple",allergens:null},{name:"Greyfriars Rose Reserve",description:"England",price:null,priceType:"multiple",allergens:null},{name:"Ruinart Blank De Blank",description:null,price:190,priceType:"single",allergens:null}]},{name:"Rose",items:[{name:"Sanziana, Pinot Noir, Rose",description:"Romania",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre Rose Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null}]},{name:"Orange",items:[{name:"Orange Gold White Organic",description:"Gerard Bertrand Organic, France",price:68,priceType:"single",allergens:null}]},{name:"White",items:[{name:"Les Lys De Leon - Sauvignon Blanc",description:"Loir, France",price:null,priceType:"multiple",allergens:null},{name:"Fetele Feteasca Regala Recas Cramele",description:"Bannat, Romania",price:null,priceType:"multiple",allergens:null},{name:"Adam Who, Riesling",description:"Eden Valley, Australia",price:null,priceType:"multiple",allergens:null},{name:"Rare Vineyards Marsanne-Viognier",description:"Languedoc France",price:null,priceType:"multiple",allergens:null},{name:"La Bergerie Chardonnay, Francois Carillon",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre Blanc Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null},{name:"Acrobat Pinot Gris",description:"Oregon, U.S.A",price:null,priceType:"multiple",allergens:null},{name:"Dashwood Sauvignon Blanc",description:"Marlborough New Zealand",price:null,priceType:"multiple",allergens:null},{name:"Sancerre La Graveli\xe8re",description:"Joseph Mellot, France",price:null,priceType:"multiple",allergens:null},{name:"Petaluma Hanlin Hill Riesling",description:"Australia",price:null,priceType:"multiple",allergens:null},{name:"Louis Jadot Puligny Montrachet",description:"France",price:null,priceType:"multiple",allergens:null}]},{name:"Red",items:[{name:"Vinvua Organic Nero d'Avola DOC",description:"Sicilia Italy",price:null,priceType:"multiple",allergens:null},{name:"Les Lys De Leon, Pinot Grigio",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Tres Priors Trepat Merlot",description:"Catalonia, Spain",price:null,priceType:"multiple",allergens:null},{name:"Alma Mora Malbec",description:"San Juan, Argentina",price:null,priceType:"multiple",allergens:null},{name:"Drifting Old Vine Zinfandel Lodi",description:"California, U.S.A",price:null,priceType:"multiple",allergens:null},{name:"Ch\xe2teau Caz\xe9au Maret Organic",description:"Bordeaux, France",price:null,priceType:"multiple",allergens:null},{name:"Inzuzo Red Blend",description:"Western Cape South Africa",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre LangueDOC Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null},{name:"Journeys End V4 Cabernet Sauvignon",description:"South Africa",price:null,priceType:"multiple",allergens:null},{name:"Mucchietto Primitivo",description:"Puglia, Italy",price:null,priceType:"multiple",allergens:null},{name:"Yalumba The Cigar Cabernet Sauvignon",description:null,price:null,priceType:"multiple",allergens:null},{name:"Black Angus Cabernet Sauvignon",description:"Australia",price:null,priceType:"multiple",allergens:null},{name:"Ch\xe2teauneuf du Pape 'Le Mioc\xe8ne'",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Catena Zapata Malbec Argentino",description:null,price:null,priceType:"multiple",allergens:null},{name:"Amarone della Valpolicella Classico Reserva",description:"Italy",price:null,priceType:"multiple",allergens:null},{name:"Psi Bodegas Ribera Del Duero",description:"Spain",price:106,priceType:"single",allergens:null},{name:"Brunelo Di Mortlachino Ridolfi",description:"Italy",price:160,priceType:"single",allergens:null},{name:"Flor De Pingus, Domain De Pingus",description:"Spain",price:295,priceType:"single",allergens:null}]}]}],confirmed:!1,needsConfirmation:!0}},844,[]);
10
+ __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 j}});var e,o=r(d[0]),t=r(d[1]),n=(e=t)&&e.__esModule?e:{default:e},l=r(d[2]),s=r(d[3]),c=r(d[4]),u=r(d[5]),h=r(d[6]),b=r(d[7]),f=r(d[8]);function j(){const[e,t]=(0,o.useState)(null);return(0,f.jsxs)(l.Screen,{title:"The Abbotsford Hotel",back:!1,children:[(0,f.jsx)(c.RestaurantHero,{rid:"abbotsford",size:240}),(0,f.jsx)(l.T,{center:!0,children:"Epicurious restaurant \xb7 The Copper Bar"}),(0,f.jsx)(l.T,{children:"14 Corsehill Road, Ayr KA7 2ST"}),(0,f.jsx)(l.T,{children:"Daily 10:00\u201320:30 \u2014 to confirm. Copper Bar hours to confirm."}),(0,f.jsxs)(l.Card,{children:[(0,f.jsx)(l.H2,{children:"Book with the hotel"}),(0,f.jsx)(l.T,{children:"Table and room requests go to the hotel managers to confirm. They are not instant bookings or a guarantee of availability. No payment or deposit."}),(0,f.jsx)(l.Button,{label:"Book a table",onPress:()=>t('table')}),(0,f.jsx)(l.Button,{label:"Book a room",onPress:()=>t('room')}),(0,f.jsx)(l.Muted,{children:"Rooms: Prices to confirm with the hotel. Room details and inclusions need confirmation."})]}),(0,f.jsx)(b.AbbotsfordMenus,{}),(0,f.jsx)(s.FindPub,{rid:"abbotsford"}),(0,f.jsxs)(l.Card,{children:[(0,f.jsx)(l.H2,{children:"Contact the hotel"}),(0,f.jsx)(l.Button,{kind:"secondary",label:"Call 01292 261506",onPress:()=>{n.default.openURL('tel:01292261506')}}),(0,f.jsx)(l.T,{children:"info@abbotsfordhotel.co.uk"})]}),(0,f.jsx)(l.Banner,{kind:"info",title:"Details to confirm",children:"Covers and table plan, deposit, Copper Bar hours, dog policy and allergens are still to confirm."}),(0,f.jsx)(l.Sheet,{visible:!!e,onClose:()=>t(null),title:'room'===e?'Book a room':'Book a table',children:e?(0,f.jsx)(u.NativeRequestSetup,{rid:"abbotsford",kind:e,hotel:h.ABBOTSFORD_HOTEL,allDayHours:h.ABBOTSFORD_HOURS,onClose:()=>t(null)}):null})]})}},845,[30,239,813,862,861,838,8,846,24]);
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.AbbotsfordMenus=function(){const[e,t]=(0,n.useState)(null),h=o.find(n=>n.id===e);return(0,c.jsxs)(s.default,{testID:"abbotsford-menus",style:{gap:12},children:[(0,c.jsxs)(l.Card,{children:[(0,c.jsx)(l.H2,{children:"Menus"}),(0,c.jsx)(l.T,{children:"Published menus for reference. Confirm availability, current prices and allergens with the team. No ordering is available here."}),(0,c.jsx)(l.T,{children:"Allergens: please speak to staff. Published dietary marks are not a complete allergen check."}),o.map(n=>(0,c.jsx)(l.Button,{kind:n.id===e?'primary':'secondary',label:`${n.name}${n.id===e?' \xb7 selected':''}`,onPress:()=>t(n.id)},n.id))]}),h?(0,c.jsxs)(s.default,{style:{gap:12},children:[(0,c.jsx)(l.H2,{children:h.name}),h.when?(0,c.jsx)(l.Muted,{children:h.when}):null,h.note?(0,c.jsx)(l.T,{children:h.note}):null,h.categories.map((e,n)=>(0,c.jsxs)(s.default,{style:{gap:10},children:[(0,c.jsx)(l.H2,{children:e.name}),e.note?(0,c.jsx)(l.T,{children:e.note}):null,e.items.map((e,n)=>(0,c.jsx)(l.Card,{children:(0,c.jsxs)(s.default,{style:{gap:8},children:[(0,c.jsxs)(l.Row,{wrap:!0,children:[(0,c.jsx)(l.T,{size:18,weight:"semibold",style:{flex:1},children:e.name}),(0,c.jsx)(l.T,{children:'number'==typeof e.price?u(e.price):'Price to confirm'})]}),e.description?(0,c.jsx)(l.T,{children:e.description}):null,e.note?(0,c.jsx)(l.T,{children:e.note}):null,e.priceOptions?.length?(0,c.jsxs)(l.T,{children:["Published price options: ",e.priceOptions.map(u).join(' / ')]}):null,'number'==typeof e.sharedPrice?(0,c.jsxs)(l.T,{children:["Published group price: ",u(e.sharedPrice)," \u2014 confirm with staff"]}):null,e.dietary?.length?(0,c.jsxs)(l.Muted,{children:["Published marks: ",e.dietary.join(', '),". Ask staff about allergens."]}):null]})},n))]},n))]}):null]})};var n=r(d[0]),s=e(r(d[1])),l=r(d[2]),t=e(r(d[3])),c=r(d[4]);const o=t.default.menus,u=e=>new Intl.NumberFormat('en-GB',{style:'currency',currency:'GBP'}).format(e)},846,[30,127,813,847,24]);
12
+ __d(function(e,i,a,r,n,t,o){n.exports={currency:"GBP",note:"Parsed with pdftotext. Do not invent dishes. Menus subject to change. Dietary codes from a la carte: GF, GFA, V, VV.",menus:[{id:"breakfast",name:"Breakfast \u2014 Morning Edition",when:"Breakfast service; Morning Deals Monday\u2013Friday",sourcePdf:"raw/menu-breakfast.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/10/Abbotsford-Breakfast-Menu-1.pdf",categories:[{name:"Morning Deals (Monday\u2013Friday)",items:[{name:"Rolling Report",description:"Morning roll with choice of 2 fillings: Ayrshire Bacon, Pork Link Sausage, Potato Scone or Egg, plus filter tea or coffee",price:6.5,dietary:[]},{name:"The Full Feature",description:"The Abbotsford Breakfast plus fruit juice and filter tea or coffee",price:15,dietary:[]}]},{name:"The Epicurious Express",items:[{name:"The Abbotsford Breakfast",description:"Ayrshire bacon, link sausage, black pudding, haggis, potato scone, beans, tomato, mushrooms and two eggs (poached, scrambled or fried) with white or wholemeal toasted bloomer",price:11.95,dietary:[]},{name:"Light Breakfast",description:"Ayrshire bacon, link sausage, beans, tomato and two eggs with white or wholemeal toasted bloomer",price:9.5,dietary:[]},{name:"Vegetarian Breakfast",description:"Potato scone, tomato, mushrooms, beans and two eggs with white or wholemeal toasted bloomer",price:9.5,dietary:["V"]},{name:"Breakfast Roll",description:"Choice of Ayrshire bacon, pork link sausage, potato scone or egg; 2 items 4.50 | 3 items 5.50",price:3.95,dietary:[]},{name:"Eggs Benedict",description:"Two poached eggs with Ayrshire bacon on toasted muffin, hollandaise",price:10.95,dietary:[]},{name:"Eggs Royale",description:"Two poached eggs with flaked smoked salmon on toasted muffin, hollandaise",price:11.45,dietary:[]},{name:"Smashed Avocado Benedict",description:"Smashed avocado guacamole, two poached eggs on toasted muffin, hollandaise",price:10.95,dietary:["V"]},{name:"Pancake Stack",description:"American-style pancakes with Biscoff, Nutella, chocolate sauce and fresh strawberries",price:9.95,dietary:["V"]},{name:"French Toast",description:"Two slices of bloomer eggy bread with Ayrshire bacon and maple syrup",price:10.95,dietary:[]},{name:"The Morning Stack",description:"American-style pancakes with Ayrshire bacon and maple syrup; add two eggs 2.00",price:9.95,dietary:[]},{name:"Granola Bowl",description:"Almond and raisin granola topped with berries, natural yoghurt and honey",price:8.95,dietary:["V"]},{name:"Brunch \xc0 La Tina",description:"Wholemeal toasted bloomer, smashed avocado, grilled Bonnet goats cheese, smoked salmon, fried free-range egg and balsamic glaze",price:12.5,dietary:[]}]},{name:"Little Legends Ledger (Kids)",items:[{name:"Kids Breakfast",description:"Pork link sausage, beans, potato scone, slice of toast",price:5.95,dietary:[]},{name:"Kids Pancakes",description:"American-style pancakes with syrup, Nutella or butter and jam; add banana or strawberries 1.50",price:5.95,dietary:[]}]},{name:"Extras Desk",items:[{name:"Black Pudding",description:null,price:1.5,dietary:[]},{name:"Pork Link Sausage",description:null,price:1.5,dietary:[]},{name:"Ayrshire Bacon (2)",description:null,price:1.5,dietary:[]},{name:"Smashed Avocado",description:null,price:2,dietary:[]},{name:"Haggis",description:null,price:1.5,dietary:[]},{name:"Mushrooms",description:null,price:1.5,dietary:[]},{name:"Beans",description:null,price:1,dietary:[]},{name:"Tomato",description:null,price:1,dietary:[]},{name:"Egg",description:null,price:1,dietary:[]},{name:"Potato Scone",description:null,price:1,dietary:[]},{name:"Bucket of Chips",description:null,price:4.25,dietary:[]},{name:"Toasted White or Wholemeal Bread",description:"Served with butter and preserve",price:4.5,dietary:[]}]},{name:"Treat Tales",items:[{name:"Scone with butter, jam and hot drink",description:"9am\u201312noon offer",price:4.5,dietary:[]},{name:"Scones, Traybakes and Cakes",description:"From 2.50, available all day",price:2.5,dietary:[],note:"Price 'from' as printed"}]},{name:"Coffee",items:[{name:"Latte",description:null,price:3.75,dietary:[]},{name:"Espresso",description:null,price:3.25,dietary:[]},{name:"Cappuccino",description:null,price:3.75,dietary:[]},{name:"Americano",description:null,price:3.5,dietary:[]},{name:"Double Espresso",description:null,price:3.75,dietary:[]},{name:"Macchiato",description:null,price:3.75,dietary:[]},{name:"Espresso Con Panna",description:null,price:3.75,dietary:[]},{name:"Flavour Shot",description:null,price:.75,dietary:[]},{name:"Extra Shot of Coffee",description:null,price:.75,dietary:[]}]},{name:"Tea and Hot Chocolate",items:[{name:"Breakfast Tea",description:null,price:3.5,dietary:[]},{name:"Camomile Tea",description:null,price:3.5,dietary:[]},{name:"Earl Grey Tea",description:null,price:3.5,dietary:[]},{name:"Green Tea",description:null,price:3.5,dietary:[]},{name:"Peppermint Tea",description:null,price:3.5,dietary:[]},{name:"Red Berry Tea",description:null,price:3.5,dietary:[]},{name:"Lemon and Ginger Tea",description:null,price:3.5,dietary:[]},{name:"Hot Chocolate",description:null,price:3.95,dietary:[]},{name:"Luxury Hot Chocolate",description:"With cream and marshmallows",price:4.95,dietary:[]}]}]},{id:"alacarte",name:"\xc0 La Carte \u2014 Epicurious",when:"Sept 2026 menu; sandwiches 12noon\u20134pm",sourcePdf:"raw/menu-alacarte.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/09/Sept-2026-NEW-Menu-Abbotsford-A-La-Carte.pdf",categories:[{name:"The Birch Wine Board",items:[{name:"The Birch Wine Board",description:"Charred halloumi, roasted cauliflower, cured meats, chicken liver parfait, chutney, Scottish cheese, pickled onions, gherkins and fresh seasonal vegetables",price:19.95,dietary:[]}]},{name:"Starters",items:[{name:"Haggis Scotch Egg",description:"Smoked turnip veloute, Arran mustard and crispy leeks",price:10.95,dietary:[]},{name:"Traditional Cullen Skink",description:"With crusty ciabatta bread",price:10.95,dietary:["GFA"]},{name:"Chef's Soup of the Day",description:"With freshly baked bread",price:6.5,dietary:["GFA","VV"]},{name:"Moules Marini\xe8re",description:"Shetland mussels, white wine and garlic cream with garlic ciabatta",price:12.95,dietary:["GFA"]},{name:"Chicken Liver and Brandy Parfait",description:"Red onion chutney and bannocks",price:9.5,dietary:["GFA"]},{name:"Sweet Chilli and Soy Glazed Pork Belly Bites",description:"Chilli mint yogurt and pickled cucumber ribbons",price:10.5,dietary:["GFA"]},{name:"Fruit Platter",description:"Duo of melon, seasonal berries, passionfruit sorbet and raspberry coulis",price:9.95,dietary:["GF","VV"]}]},{name:"Sandwiches",note:"Served 12noon\u20134pm. White or malted bloomer with tortilla chips, house salad and coleslaw. GF on request. Add soup 3.95 | chips 4.50",items:[{name:"Tuna Mayonnaise",description:null,price:10.95,dietary:[]},{name:"Ploughman's",description:null,price:11.95,dietary:[]},{name:"Coronation Chicken",description:null,price:10.95,dietary:[]},{name:"Chicken and Bacon Club",description:null,price:12.95,dietary:[]}]},{name:"Burgers",note:"Toasted brioche, house slaw and hand-cut chips",items:[{name:"6oz Homemade Abbotsford Burger",description:"Burger sauce, pickles, tomato and baby gem; add cheese/blue cheese/bacon 1.50",price:16.95,dietary:[]},{name:"Abbotsford Spiced Buttermilk Chicken Burger",description:"BBQ pulled beef, garlic mayonnaise, pickles, tomato and baby gem",price:18.95,dietary:[]},{name:"The Burns Burger",description:"6oz Scotch beef, haggis, tattie scone, smoked Arran cheddar and peppercorn sauce",price:18.95,dietary:[]},{name:"Moving Mountains Burger",description:"Plant-based patty, lettuce, tomato, red onion and vegan garlic mayonnaise",price:16.95,dietary:["VV"]}]},{name:"From the Grill",note:"Flat-cap mushrooms, grilled plum tomato, fries and onion rings (GFA). Sauce 2.50: peppercorn | garlic butter | red wine jus",items:[{name:"8 oz Fillet Steak",description:null,price:38.95,dietary:["GFA"]},{name:"10 oz Sirloin Steak",description:null,price:35.95,dietary:["GFA"]}]},{name:"Mains",items:[{name:"Cajun Spiced Breast of Chicken",description:"Rice pilaf, proven\xe7al vegetables, coconut curry cream and spiced onions",price:null,dietary:["GFA"],note:"Printed 14.50 // 18.50",priceOptions:[14.5,18.5]},{name:"Confit Pork Belly",description:"Chorizo creamed potatoes, black pudding bon bons, beer-braised onion and mustard jus",price:21.95,dietary:[]},{name:"Individual Steak and Ale Pie",description:"Creamed potatoes, roasted carrot, tenderstem broccoli and red wine jus",price:19.95,dietary:[]},{name:"Trio of Seafood",description:"Chef's catch of the day, potato fondant, buttered greens and white wine chive cream",price:23.95,dietary:["GF"]},{name:"Beer Battered Haddock",description:"Pickled onion, mushy peas, tartare, fries and lemon",price:null,dietary:["GFA"],note:"Printed 13.45 // 18.50",priceOptions:[13.45,18.5]},{name:"Wild Mushroom Stroganoff",description:"Pilaf rice and tempura gherkins",price:null,dietary:["V"],note:"Printed 13.95 // 17.95",priceOptions:[13.95,17.95]}]},{name:"Sides",note:"All sides vegetarian; ask for GF",items:[{name:"Onion Rings",description:null,price:4,dietary:["V"]},{name:"House Slaw",description:null,price:4,dietary:["V"]},{name:"Creamed Potatoes",description:null,price:5,dietary:["V"]},{name:"House Salad",description:null,price:4,dietary:["V"]},{name:"Hand Cut Chips",description:null,price:4.5,dietary:["V"]},{name:"Sweet Potato Wedges",description:null,price:5.25,dietary:["V"]},{name:"Chilli and Parmesan Hand Cut Chips",description:null,price:5.25,dietary:["V"]}]},{name:"Desserts",items:[{name:"Sticky Toffee Pudding",description:"Butterscotch sauce and vanilla ice cream",price:8.95,dietary:["V","GF"]},{name:"Passionfruit Martini Panna Cotta",description:"Passionfruit syrup and prosecco sorbet",price:9.95,dietary:["GF"]},{name:"Warm Orange Scented Rice Pudding",description:"Ginger biscuit crumb",price:8.95,dietary:["VV","GF"]},{name:"Cheesecake of the Day",description:"With vanilla ice cream and fresh fruit garnish",price:9.95,dietary:["V"]},{name:"Traditional Tiramisu",description:"Coffee sponge fingers, amaretto mascarpone and dark chocolate powder",price:9.95,dietary:["V"]},{name:"Trio of Scottish Cheeses",description:"Cheese, fig chutney, biscuits and grapes",price:10.95,dietary:["GFA"]}]},{name:"Notes",items:[{name:"Chef's Daily Specials",description:"Ask your server",price:null,dietary:[]},{name:"The Ultimate Sunday Roast",description:"Every Sunday until stock runs out",price:null,dietary:[]}]}]},{id:"kids",name:"Kids \u2014 Abby's Favourites",when:null,sourcePdf:"raw/menu-kids.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/02/NEW-Menu-Abbotsford-Kids-Menu.pdf",categories:[{name:"Wee Lamb \xb7 Starters (\xa33)",items:[{name:"Garlic Bread",description:null,price:3,dietary:[]},{name:"Soup of the Day",description:null,price:3,dietary:[]}]},{name:"Rowan Pony \xb7 Mains (\xa37)",note:"Add bacon \xa31 | add cheese \xa31",items:[{name:"Chicken Goujons and Chips",description:null,price:7,dietary:[]},{name:"Cheesy Pasta and Garlic Bread",description:null,price:7,dietary:[]},{name:"Haddock and Chips",description:null,price:7,dietary:[]},{name:"3oz Beef Burger and Chips",description:null,price:7,dietary:[]}]},{name:"Scottie Dog \xb7 Treats (\xa33)",items:[{name:"Sticky Toffee Pudding",description:null,price:3,dietary:[]},{name:"Two Scoops of Ice Cream",description:null,price:3,dietary:[]}]}]},{id:"taco-tuesday",name:"Taco Tuesday",when:"Tuesdays",sourcePdf:"raw/menu-taco-tuesday.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/08/Taco-Tuesday-Menu-The-Abbotsford.pdf",categories:[{name:"Tacos",note:"Salad, pickled red onion, pico de gallo, fresh lime. Single \xa35 / Double \xa310",items:[{name:"Crispy Fried Chicken",description:"Sriracha mayo",price:null,dietary:[],note:"Single 5.00 / Double 10.00",priceOptions:[5,10]},{name:"Beef Birria and Cheese",description:"Birria dip",price:null,dietary:[],note:"Single 5.00 / Double 10.00",priceOptions:[5,10]},{name:"Breaded Haddock",description:"Tartare sauce",price:null,dietary:[],note:"Single 5.00 / Double 10.00",priceOptions:[5,10]},{name:"Sweet Potato and Chickpea Falafel",description:"Sriracha mayo",price:null,dietary:["V"],note:"Single 5.00 / Double 10.00",priceOptions:[5,10]}]},{name:"Sides and Extras",items:[{name:"Nachos",description:"Guacamole, pico de gallo, sour cream and cheese",price:5,dietary:[]},{name:"Onion Rings",description:null,price:4,dietary:[]},{name:"Fries",description:null,price:4,dietary:[]},{name:"House Slaw",description:null,price:4,dietary:[]},{name:"Mexican Black Bean and Rice",description:null,price:4,dietary:[]},{name:"Chargrilled Cob",description:null,price:null,dietary:[],note:"Single \xa32 / Double \xa34",priceOptions:[2,4]}]},{name:"Cocktails",items:[{name:"Classic Margarita",description:"Or Spicy | Mango | Passionfruit",price:9.95,dietary:[]}]}]},{id:"bar-bites",name:"Bar Bites",when:"The Copper Bar",sourcePdf:"raw/menu-bar-bites.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/08/The-Abbotsford-Bar-Bites.pdf",categories:[{name:"Small Plates (\xa35)",items:[{name:"Ham Hough, Confit Chicken and Apricot Croquette",description:null,price:5,dietary:[]},{name:"Sriracha and Maple Glazed Chicken Goujons",description:null,price:5,dietary:[]},{name:"Goats Cheese, Caramelised Onion and Truffle Oil Arancini",description:null,price:5,dietary:["V"]},{name:"Homemade Sausage Roll",description:"Whole grain mustard, Arran cheddar, apple and walnut ketchup",price:5,dietary:[]}]},{name:"Loaded Fries (\xa38.95)",items:[{name:"Cajun Chicken Loaded Fries",description:"Cajun fries, diced cajun chicken, peppers, onions, cheddar and sriracha mayo",price:8.95,dietary:[]},{name:"Locally Caught Haggis Loaded Fries",description:"Seasoned fries, haggis, cheese and peppercorn sauce",price:8.95,dietary:[]}]},{name:"Sharing Plates",items:[{name:"Nice to Meat You",description:"Cold meats, olives and sun-dried tomatoes",price:10,dietary:[]},{name:"Say Cheese",description:"Scottish cheeses, quince jelly, chutney and oatcakes",price:10,dietary:[]},{name:"Sharing is Caring",description:"Nice to Meat You and Say Cheese combo",price:18,dietary:[]}]}]},{id:"drinks",name:"Drinks \u2014 Social Pours",when:null,sourcePdf:"raw/menu-drinks.pdf",sourceUrl:"https://www.abbotsfordhotel.co.uk/wp-content/uploads/2026/08/The-Abbotsford-Drinks-Menu.pdf",note:"Some cocktail groups share one printed price on the PDF.",categories:[{name:"The Classics",note:"Shared price line 9.95",items:[{name:"Daiquiri",description:"White rum, lime and sugar syrup; Strawberry, Passionfruit or Mango",price:null,dietary:[],sharedPrice:9.95},{name:"Old Fashioned",description:"Bourbon, sugar syrup and orange bitters",price:null,dietary:[],sharedPrice:9.95},{name:"Whisky Sour",description:"Whisky, lemon, sugar syrup, Angostura and egg white",price:null,dietary:[],sharedPrice:9.95},{name:"Margarita",description:"Tequila, lime, sugar syrup and triple sec",price:null,dietary:[],sharedPrice:9.95},{name:"Cosmopolitan",description:"Heroes vodka, cranberry, lime, triple sec and sugar syrup",price:9.95,dietary:[]}]},{name:"Martini Style",items:[{name:"Pornstar Martini",description:"Vanilla vodka, passionfruit, Passoa and pineapple",price:null,dietary:[],sharedPrice:10.95},{name:"French Martini",description:"Heroes vodka, pineapple and Chambord",price:null,dietary:[],sharedPrice:10.95},{name:"Espresso Martini",description:"Heroes vodka, coffee liqueur, sugar syrup and espresso",price:10.95,dietary:[]}]},{name:"That's the Spritz",note:"Shared price 9.95",items:[{name:"Aperol Spritz",description:"Aperol, prosecco and soda",price:null,dietary:[],sharedPrice:9.95},{name:"Hugo Spritz",description:"Elderflower liqueur, prosecco and soda",price:null,dietary:[],sharedPrice:9.95},{name:"Limoncello Spritz",description:"Limoncello, prosecco and lemonade",price:null,dietary:[],sharedPrice:9.95},{name:"Pink Gin Spritz",description:"Pink gin, prosecco and lemonade",price:9.95,dietary:[]}]},{name:"Hangover Free (Mocktails)",note:"Shared price 6.95",items:[{name:"Abbotsford Sunset",description:"Tanqueray Flor De Sevilla 0%, orange, lemon, grenadine and lemonade",price:null,dietary:[],sharedPrice:6.95},{name:"Mixed Berry Fizz",description:"Whitley Neill Raspberry 0%, lemon and soda",price:null,dietary:[],sharedPrice:6.95},{name:"Not So Mojito",description:"Apple juice, lime, sugar syrup, mint and soda",price:6.95,dietary:[]}]},{name:"Wine by the Glass \u2014 White",items:[{name:"Berri Estates Chardonnay, South Eastern Australia",description:null,price:null,dietary:[],glass:{"175ml":6.5,"250ml":8.5}},{name:"Petal and Stem Sauvignon Blanc, Marlborough, New Zealand",description:null,price:null,dietary:[],glass:{"175ml":7.5,"250ml":10}},{name:"Grave del Friuli Pinot Grigio, Fantinel, Italy",description:null,price:null,dietary:[],glass:{"175ml":7.5,"250ml":10}},{name:"Mas Puech Picpoul de Pinet, France",description:null,price:null,dietary:[],glass:{"175ml":7.5,"250ml":10}},{name:"Leiras Albarino, Rias Baixas, Spain",description:null,price:null,dietary:[],glass:{"175ml":9.95,"250ml":11.95}}]},{name:"Wine by the Glass \u2014 Rose",items:[{name:"La Maglia Rosa Pinot Grigio Blush, Pavia, Italy",description:null,price:null,dietary:[],glass:{"175ml":7.5,"250ml":10}},{name:"Whispering Hills Zinfandel Rose, California, USA",description:null,price:null,dietary:[],glass:{"175ml":6.5,"250ml":8.5}}]},{name:"Wine by the Glass \u2014 Red",items:[{name:"Berri Estates Shiraz, South Eastern Australia",description:null,price:null,dietary:[],glass:{"175ml":6.95,"250ml":8.95}},{name:"La Campagne Merlot, Pays d'Oc, France",description:null,price:null,dietary:[],glass:{"175ml":7.95,"250ml":10.5}},{name:"Fico Grande Sangiovese, Italy",description:null,price:null,dietary:[],glass:{"175ml":7.5,"250ml":10}},{name:"Alma Mora Malbec, San Juan, Argentina",description:null,price:null,dietary:[],glass:{"175ml":8.95,"250ml":10.95}}]},{name:"Cellar Table \u2014 White (bottle)",items:[{name:"Petal and Stem Sauvignon Blanc, Marlborough, New Zealand",description:null,price:29.95,dietary:[]},{name:"Berri Estates Chardonnay, South Eastern Australia",description:null,price:24.95,dietary:[]},{name:"Grave del Friuli Pinot Grigio, Fantinel, Italy",description:null,price:29.95,dietary:[]},{name:"Mas Puech Picpoul de Pinet, France",description:null,price:29.95,dietary:[]},{name:"Monte di Sarocco Gavi, Italy",description:null,price:34.95,dietary:[]},{name:"Leiras Albarino, Rias Baixas, Spain",description:null,price:35.95,dietary:[]},{name:"Chateau Ste Michelle Chardonnay, Washington State, USA",description:null,price:47.95,dietary:[]},{name:"Louis Jadot Macon-Villages, France",description:null,price:60,dietary:[]}]},{name:"Cellar Table \u2014 Red (bottle)",items:[{name:"Berri Estates Shiraz, South Eastern Australia",description:null,price:25.95,dietary:[]},{name:"La Campagne Merlot, Pays d'Oc, France",description:null,price:30.95,dietary:[]},{name:"Fico Grande Sangiovese, Italy",description:null,price:29.95,dietary:[]},{name:"Zensa Primitivo Salento, Italy",description:null,price:30.95,dietary:[]},{name:"Chateauneuf-du-Pape, France",description:null,price:74.95,dietary:[]},{name:"Louis Jadot Pinot Noir, France",description:null,price:42,dietary:[]},{name:"Vina Pomal Reserva Centenario, Spain",description:null,price:55,dietary:[]}]},{name:"Cellar Table \u2014 Rose (bottle)",items:[{name:"Coteaux Varois en Provence Rose, Estandon, France",description:null,price:55,dietary:[]},{name:"La Maglia Rosa Pinot Grigio Blush, Italy",description:null,price:29.95,dietary:[]},{name:"Whispering Hills Zinfandel, USA",description:null,price:24.95,dietary:[]}]},{name:"Sparkling and Champagne",items:[{name:"Oliver and Greg's Prosecco Brut, Italy",description:null,price:29.95,dietary:[],note:"200ml 8.95 | Bottle 29.95",glass:{"200ml":8.95}},{name:"Bottega Gold Prosecco Brut, Italy",description:null,price:40,dietary:[]},{name:"Veuve Clicquot Yellow Label, France",description:null,price:89,dietary:[]},{name:"Veuve Clicquot Rose, France",description:null,price:99,dietary:[]}]},{name:"Abbotsford Top Picks",items:[{name:"Sancerre, Domaine des Chaintres, France",description:null,price:70,dietary:[]},{name:"Peth Wetz Riesling, Germany",description:null,price:55,dietary:[]},{name:"Fico Grande Sangiovese, Italy",description:null,price:29.95,dietary:[]},{name:"Valpolicella Classico Superiore Ripasso, Italy",description:null,price:65,dietary:[]},{name:"Chateau Ste. Michelle Cabernet Sauvignon, USA",description:null,price:60,dietary:[]},{name:"Chateau Grand Jauga Sauternes, France",description:null,price:40,dietary:[],note:"Dessert wine"}]}]}]}},847,[]);
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 k}});var n=r(d[0]),t=r(d[1]),o=r(d[2]),s=r(d[3]),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]);function k(){const[k,j]=(0,n.useState)(!1),p=(0,c.useRestaurant)('kirkton')??u.KIRKTON_RESTAURANT;return(0,h.jsxs)(t.Screen,{title:p.name,back:!1,children:[(0,h.jsx)(o.RestaurantHero,{rid:"kirkton",size:240}),(0,h.jsx)(t.T,{center:!0,children:"Bar and restaurant in Dalrymple"}),k?(0,h.jsx)(l.NativeRequestSetup,{rid:"kirkton",kind:"table",allDayHours:p.kitchenHours,onClose:()=>j(!1)}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(t.Card,{children:[(0,h.jsx)(t.H2,{children:"Book a table"}),(0,h.jsx)(t.Button,{testID:"kirkton-book-table",label:"Book a table",onPress:()=>j(!0)}),(0,h.jsx)(t.T,{children:"Send a table request for the venue managers to confirm once setup is complete. This is not an instant booking."}),(0,h.jsx)(t.Muted,{children:"No deposit, payment, email or text is taken or sent by this app."})]}),(0,h.jsxs)(t.Card,{children:[(0,h.jsx)(t.H2,{children:"Venue setup in progress"}),(0,h.jsx)(t.T,{children:"Contact phone: to confirm"}),(0,h.jsx)(t.T,{children:"Opening and kitchen hours: to confirm"}),(0,h.jsx)(t.T,{children:"Table plan and Covers: to confirm"}),(0,h.jsx)(t.T,{children:"Takeaway: to confirm"}),(0,h.jsx)(t.Muted,{children:"Table requests need an authorised manager and confirmed kitchen hours. Orders and payments are not enabled. Deposit policy needs confirmation; deposits are off."})]}),(0,h.jsx)(s.FindPub,{rid:"kirkton"}),(0,h.jsx)(t.Banner,{kind:"warn",title:"Menus \u2014 provisional and unconfirmed",children:"The available menu records are archived from 2019. They are not current prices, availability or allergen information. No menu items are available to order here."})]})]})}},848,[30,813,861,862,838,819,9,24]);
14
+ __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}});var n=r(d[0]),t=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]),h=r(d[7]),j=r(d[8]),b=r(d[9]);function f(){const[e,f]=(0,t.useState)(null);return e?(0,b.jsx)(l.Screen,{title:u.WILDINGS_RESTAURANT.name,back:!1,children:(0,b.jsx)(n.VenueRequestForm,{rid:"wildings",kind:e,hotel:u.WILDINGS_RESTAURANT.settings.hotel,onClose:()=>f(null)})}):(0,b.jsxs)(l.Screen,{title:u.WILDINGS_RESTAURANT.name,back:!1,children:[(0,b.jsx)(c.RestaurantHero,{rid:"wildings",size:240}),(0,b.jsx)(l.T,{center:!0,children:u.WILDINGS_RESTAURANT.tagline}),(0,b.jsxs)(o.default,{style:{gap:12},children:[(0,b.jsx)(l.Button,{testID:"wildings-book-table",label:"Book a table",onPress:()=>f('table')}),(0,b.jsx)(l.Button,{testID:"wildings-book-room",label:"Book a room",onPress:()=>f('room')})]}),(0,b.jsxs)(l.Row,{wrap:!0,children:[(0,b.jsx)(l.Button,{testID:"wildings-book-phone",kind:"secondary",label:"Call 01655 331 401",onPress:()=>{s.default.openURL(u.WILDINGS_BOOKING_PHONE)},style:{alignSelf:'auto'}}),(0,b.jsx)(l.Button,{testID:"wildings-book-email",kind:"secondary",label:"Email to book",onPress:()=>{s.default.openURL(u.WILDINGS_BOOKING_EMAIL)},style:{alignSelf:'auto'}})]}),(0,b.jsx)(o.default,{testID:"wildings-kitchen-hours",children:(0,b.jsxs)(l.Card,{children:[(0,b.jsx)(l.H2,{children:"Kitchen hours"}),(0,b.jsx)(l.T,{center:!0,children:"Lunch Monday to Saturday: 12:00\u201314:00"}),(0,b.jsx)(l.T,{center:!0,children:"Sunday lunch: 12:00\u201314:30"}),(0,b.jsx)(l.T,{center:!0,children:"Dinner every day: 18:00\u201321:00"}),(0,b.jsx)(l.Muted,{center:!0,children:"Closed between lunch and dinner. Bar hours to confirm."}),(0,b.jsx)(l.T,{center:!0,children:u.WILDINGS_RESTAURANT.address}),(0,b.jsx)(l.Button,{kind:"secondary",testID:"wildings-directions",label:"Find us \u2014 directions",accessibilityLabel:"Open directions to Wildings, Maidens, KA26 9NR",onPress:()=>{s.default.openURL('https://www.google.com/maps/dir/?api=1&destination='+encodeURIComponent(u.WILDINGS_RESTAURANT.address??u.WILDINGS_RESTAURANT.location))}})]})}),(0,b.jsx)(l.Banner,{kind:"warn",title:"Deposit policy \u2014 needs confirmation",children:"Deposits are off until the venue confirms its policy. Book directly by phone or email."}),(0,b.jsx)(l.Banner,{kind:"warn",title:"Menus \u2014 unconfirmed",children:"Reference only, from the venue\u2019s published menus collected 5 November 2026. Menus, prices and availability need confirmation. Ask the venue about every allergy: no allergen information is signed off."}),(0,b.jsx)(l.Muted,{center:!0,children:"Requests need confirmation from the hotel. Online ordering, takeaway and loyalty are not enabled here."}),h.WILDINGS_REFERENCE_MENU.menus.map(e=>(0,b.jsxs)(o.default,{style:{gap:10},children:[(0,b.jsx)(l.H2,{children:e.name}),e.setPrices?(0,b.jsxs)(l.T,{children:[Object.entries(e.setPrices).map(([e,n])=>`${e}: ${(0,j.gbp)(Math.round(100*Number(n)))}`).join(' \xb7 ')," \xb7 unconfirmed"]}):null,e.categories.map(e=>(0,b.jsxs)(l.Card,{children:[(0,b.jsx)(l.T,{weight:"semibold",children:e.name}),e.items.map(e=>(0,b.jsx)(l.Muted,{children:e.name},e.name)),(0,b.jsx)(l.Muted,{children:"Reference only \xb7 prices and allergens: ask the venue"})]},e.name))]},e.id)),(0,b.jsx)(l.Button,{kind:"secondary",label:"View published menus on our website",onPress:()=>{s.default.openURL('https://www.wildingshotel.com/team')}})]})}},849,[864,30,239,127,813,861,10,850,816,24]);
15
+ __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,"WILDINGS_ANSWERS",{enumerable:!0,get:function(){return o}}),Object.defineProperty(_e,"WILDINGS_REFERENCE_MENU",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=e(r(d[1])),u=e(r(d[2]));const o=(0,t.cleanQuestionnaire)(n.default,'wildings'),c=u.default},850,[865,867,851]);
16
+ __d(function(e,n,i,l,r,t,p){r.exports={currency:"GBP",source:"Official PDF menus linked from https://www.wildingshotel.com/team, downloaded 2026-11-05",note:"Lunch and dinner are set-price course menus; dish lines have no individual price, only supplements. Confirm with venue before seeding.",conflicts:["Lunch and vegetarian PDFs say 'Served From 12 Noon \u2013 2:00pm, 7 days'; website says Sunday lunch runs to 2.30pm. Not merged."],menus:[{id:"lunch",name:"Lunch Menu",when:"12 noon to 2pm",setPrices:{"2 courses":24,"3 courses":31},extraServings:3.95,categories:[{name:"Starters",items:[{name:"Smoked Haddock Gratin with Creamed Potatoes",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pear Poached in Grenadine with Prawns Marie Rose",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chefs Pate with Grape Chutney & Toast",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Sorbet & Fruit Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spiced Chicken Salad with Caesar Dressing & Parmesan",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Mushrooms Baked in a Cream & Cheese Sauce with Toasted Ciabatta",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Salmon Chowder",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Blackened Salmon, Warm Potato Salad & a Pepper & Mustard Seed Dressing",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chicken Breast Coated in Panko Crumb with a Lightly Spiced Sweet & Sour Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet of Pork Topped with Banana Finished with a Creamy Coconut & Mango Curry Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock \u201cMornay\u201d or a Lemon Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chicken \u2018Piri-Piri\u2019 Szechuan Peppers & Spices served with a Yoghurt & Spring Onion Mayonnaise",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lamb Fillet with a Cracked Black Pepper Cream & Brandy Sauce",description:null,price:null,priceType:"set-menu",supplement:2,dietary:[]},{name:"Pan Fried Fillet of Hake with a Lobster Glaze",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Supreme of Chicken \u2018Suedoise\u2019 White Wine, Swiss Cheese, Cream & Mushrooms",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spicy Chilli with Rice Topped with Onions & Cheese",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock in Breadcrumbs or Tempura served with Tartar Sauce & Lemon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lambs Liver & Bacon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"dinner",name:"Dinner Menu",when:"6pm to 9pm, 7 days",setPrices:{"2 courses":27.5,"3 courses":34.5},extraServings:3.95,categories:[{name:"Starters",items:[{name:"Tiger Prawns Tempura with a Sweet Chilli Dip",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Bacon Gratin with Braised Rice",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spiced Chicken Salad with Caesar Dressing & Parmesan",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chefs Pate with Grape Chutney & Toast",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Fresh Fruits, Sorbet & Mango Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Salmon Chowder",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pear Poached in Grenadine with Prawns Marie Rose",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Crayfish, Avocado & Melon Cocktail",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Blackened Sea Bass served with Mixed Salad & a Sweet Pepper Vinaigrette",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Roast Rack of Lamb, Minted Peas & Pan Juices",description:null,price:null,priceType:"set-menu",supplement:2.5,dietary:[]},{name:"Roast Breast of Duck with a Pink Peppercorn & Brandy Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Supreme of Chicken \u2018Suedoise\u2019 White Wine, Swiss Cheese, Cream & Mushrooms",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lambs Liver & Bacon with a Red Wine Jus",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock \u201cMornay\u201d or a Lemon Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Entrecote Steak with Large Onion Rings & a Choice of Sauces",description:"Diane, Pepper or Caf\xe9 de Paris",price:null,priceType:"set-menu",supplement:8,dietary:[]},{name:"Haddock in Breadcrumbs or Tempura served with Tartar Sauce & Lemon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet of Salmon & Chicken with Two Sauces - \u2018Lobster\u2019 & White Wine Cream & Mushroom",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet Steak with a Cracked Black Pepper & Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:12,dietary:[]},{name:"Fillet of Pork on a Haggis Cake with a Mustard Grain Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Wildings Chicken Schnitzel Topped with Garlic & Herb Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spicy Chilli with Rice Topped with Onions & Cheese",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"vegetarian",name:"Vegetarian Menu",when:"12 noon to 2pm (per PDF)",setPrices:null,note:"Prices not printed on PDF; GF = gluten free, V = vegan",categories:[{name:"Starters",items:[{name:"Roast Red Pepper & Tomato Soup",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF"]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Sorbet & Fruit Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Mushrooms Baked in a Cream & Cheese Sauce with Toasted Ciabatta",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Cajun Vegetables Crepe Glazed in a Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Vegan Curried Chickpea with Cherry Tomatoes & Wilted Spinach",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Vegetable Tempura",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Mushroom Stroganoff with Rice",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF"]},{name:"Sundried Tomato, Feta & Olive Tartlet, Finished with a Tomato Concasse & a Basil Dressing",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"sweets",name:"Sweet Menu",setPrices:null,note:"Desserts form the third course of the set menus. Cheese is a \xa33.00 supplement.",categories:[{name:"Desserts",items:[{name:"Trio of Homemade Ice Creams",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Cr\xe8me Caramel with Passion Fruit Ice Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Vanilla Cheesecake with Strawberry Coulis & Fresh Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Sticky Toffee Pudding",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"\u2018Affogato\u2019",description:"Wildings Ice Cream with a Shot of Espresso",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chocolate and Orange Liqueur Pot",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Rice Pudding with an Apple Compote",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Crepes filled with Bananas and Maple Syrup",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Meringue Vacherin with a Berry Liqueur Compote",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Bread & Butter Pudding with Pouring Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Selection of Cheese with Biscuits, Grapes & Chutney",description:null,price:null,priceType:"set-menu",supplement:3,dietary:[]}]},{name:"Hot drinks",items:[{name:"Tea",price:3.25,priceType:"single"},{name:"Decaf Tea",price:3.25,priceType:"single"},{name:"Espresso",price:3.25,priceType:"single"},{name:"Americano",price:3.25,priceType:"single"},{name:"Latte",price:3.65,priceType:"single"},{name:"Flat White",price:3.25,priceType:"single"},{name:"Cappuccino",price:3.65,priceType:"single"},{name:"Mocha",price:3.65,priceType:"single"},{name:"Irish Coffee",price:7.75,priceType:"single"}]}]},{id:"kids",name:"Kids Menu",when:"Children under 11",setPrices:{"1 course":9,"2 courses":10,"3 courses":11},categories:[{name:"Starters",items:[{name:"Cheesy Garlic Bread",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon & Sorbet",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Soup of the Day",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Breaded Haddock",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pasta with a Cheese Sauce or Tomato Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fish Pie",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Tempura Chicken Goujons",description:"All can be served with Fries and a choice of Beans or Vegetables",price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Dessert",items:[{name:"Homemade Ice Cream",description:"Please ask Staff for Our Ice Cream Selection",price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]}],policies:["Please inform the person taking your order of any allergies.","Cannot guarantee items are 100% safe for coeliac disease or severe gluten allergies.","Parties of 6 or more: no separate or split bills."],venueId:"wildings",confirmed:!1,needsConfirmation:!0,operational:!1,allergensConfirmed:!1}},851,[]);
17
+ __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,"photoSource",{enumerable:!0,get:function(){return C}}),_e.BoardPhoto=T,_e.PhotoZoom=M,_e.SpecialRow=P,_e.SpecialsTab=function({rid:e,declared:t,now:l}){const o=(0,f.useSpecials)(t=>t.current[e]??null),[n,c]=(0,s.useState)(null);if(!o)return(0,w.jsx)(p.Card,{children:(0,w.jsxs)(u.default,{testID:"specials-empty",style:{alignItems:'center',gap:6,paddingVertical:18},children:[(0,w.jsx)(p.T,{size:34,children:"\ud83e\uddd1\u200d\ud83c\udf73"}),(0,w.jsx)(p.T,{weight:"semibold",size:18,center:!0,children:"Today\u2019s specials are on their way"}),(0,w.jsx)(p.Muted,{center:!0,children:"The kitchen posts the specials board here as soon as it\u2019s written up. Check back soon, or ask a member of staff."})]})});const h=o.allergenCheck;return(0,w.jsxs)(u.default,{style:{gap:10},testID:"specials-tab",children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between'},children:[(0,w.jsx)(u.default,{testID:"specials-updated",style:{flex:1},children:(0,w.jsx)(p.T,{weight:"semibold",colour:b.colours.goldLight,children:(0,y.freshness)(o,l)})}),(0,y.isToday)(o.postedAt,l)?(0,w.jsx)(p.Badge,{kind:"ok",label:"Today"}):(0,w.jsx)(p.Badge,{kind:"amber",label:"Not updated today"})]}),(0,y.isToday)(o.postedAt,l)?null:(0,w.jsx)(p.Muted,{children:"These are the most recent specials posted. Today\u2019s may differ, so please ask."}),o.photo?(0,w.jsxs)(u.default,{style:{gap:4},children:[(0,w.jsx)(T,{photo:o.photo,testID:"specials-photo",onPress:()=>c(o.photo)}),(0,w.jsx)(p.Muted,{center:!0,children:"Tap the photo to zoom"})]}):null,o.items.map(e=>(0,w.jsx)(P,{it:e,declared:t,signedBy:h?.by},e.id)),h?(0,w.jsxs)(p.Muted,{children:["Allergens for the typed specials were checked by ",h.by.replace(' (example)','')," at ",(0,j.hm)(new Date(h.at)),"."]}):null,o.photo&&!o.items.length?(0,w.jsx)(p.Muted,{children:"For allergens in these specials, please ask a member of staff before you order."}):null,(0,w.jsx)(p.Muted,{children:"Specials are served in the restaurant while they last. Ask your server to order one."}),(0,w.jsx)(M,{photo:n,onClose:()=>c(null)})]})};var t=r(d[0]),s=r(d[1]),l=e(r(d[2])),o=e(r(d[3])),n=e(r(d[4])),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),p=r(d[8]),f=r(d[9]),x=r(d[10]),y=r(d[11]),j=r(d[12]),b=r(d[13]),w=r(d[14]);const k=r(d[15]),C=e=>e===y.SAMPLE_PHOTO?k:{uri:e};function T({photo:e,width:o,onPress:c,testID:h,label:p="Photo of the specials board"}){const[f,x]=(0,s.useState)(.75);(0,s.useEffect)(()=>{e!==y.SAMPLE_PHOTO?l.default.getSize(e,(e,t)=>e&&t&&x(e/t),()=>{}):x(.75)},[e]);const j=(0,w.jsx)(l.default,{source:C(e),resizeMode:"contain",accessibilityLabel:p,style:{width:o??'100%',aspectRatio:f,borderRadius:12,backgroundColor:(0,t.soutersSurface)('#1b1f1d')}});return c?(0,w.jsx)(n.default,{testID:h,accessibilityRole:"button",accessibilityLabel:`${p}. Tap to zoom`,onPress:c,children:j}):(0,w.jsx)(u.default,{testID:h,children:j})}function M({photo:e,onClose:l}){const[h,f]=(0,s.useState)(!1);return(0,s.useEffect)(()=>f(!1),[e]),(0,w.jsx)(o.default,{visible:!!e,transparent:!0,animationType:"fade",onRequestClose:l,children:(0,w.jsxs)(u.default,{testID:"specials-zoom",style:{flex:1,backgroundColor:(0,t.soutersSurface)('rgba(5,5,5,0.97)')},children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between',padding:12},children:[(0,w.jsx)(p.Button,{small:!0,kind:"secondary",label:h?'Zoom out':'Zoom in',onPress:()=>f(!h)}),(0,w.jsx)(p.Button,{small:!0,label:"Close",accessibilityLabel:"Close photo",onPress:l})]}),(0,w.jsx)(c.default,{horizontal:h,contentContainerStyle:{padding:12,alignItems:'center',justifyContent:'center',flexGrow:1},children:(0,w.jsx)(c.default,{contentContainerStyle:{alignItems:'center'},children:e?(0,w.jsx)(n.default,{onPress:()=>f(!h),accessibilityLabel:h?'Zoom out':'Zoom in',children:(0,w.jsx)(T,{photo:e,width:h?820:360})}):null})})]})})}function P({it:e,declared:t,signedBy:s}){const l=(0,x.conflictsFor)(e.allergens,t);return(0,w.jsx)(p.Card,{highlight:l.contains.length?b.colours.red:l.may.length?b.colours.amber:void 0,children:(0,w.jsxs)(u.default,{testID:"special-item",style:{gap:6},children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,w.jsx)(p.T,{weight:"semibold",style:{flex:1,paddingRight:8},children:e.name}),(0,w.jsx)(p.T,{weight:"semibold",colour:b.colours.gold,children:(0,y.priceText)(e.price)})]}),e.description?(0,w.jsx)(p.Muted,{children:e.description}):null,l.contains.length?(0,w.jsx)(p.Badge,{kind:"red",label:"\u26a0 Contains your allergen"}):l.may.length?(0,w.jsx)(p.Badge,{kind:"amber",label:"\u26a0 May contain your allergen"}):null,e.noAllergens&&!Object.keys(e.allergens).length?(0,w.jsx)(p.Muted,{children:"None of the 14 allergens listed"}):(0,w.jsx)(h.AllergenChips,{map:e.allergens,declared:t}),s?(0,w.jsxs)(p.Muted,{children:["Allergens checked by ",s.replace(' (example)','')]}):null]})})}},852,[868,30,196,256,263,151,127,829,813,857,814,858,818,821,24,853]);
18
+ __d(function(g,r,i,a,m,e,d){"use strict";m.exports={uri:"/williewastles/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg",width:900,height:1200,toString(){return this.uri}}},853,[]);
williewastles/customer-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js ADDED
@@ -0,0 +1 @@
 
 
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(0,u.canShow)('chef')?(0,c.jsx)(n.ChefApp,{}):(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]})}},776,[804,30,805,806,24]);
williewastles/customer-app/_expo/static/js/web/index-8fc8936078751ca6b6cbc4204b661133.js ADDED
The diff for this file is too large to render. See raw diff
 
williewastles/customer-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},803,[804,30,806,24]);
williewastles/customer-app/_expo/static/js/web/index-a87fa345a0c01a0150c6e7893fe81768.js ADDED
@@ -0,0 +1 @@
 
 
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 e=_r(d[0]);_r(d[1]);var s,r=_r(d[2]),n=(s=r)&&s.__esModule?s:{default:s},t=_r(d[3]),l=_r(d[4]),o=_r(d[5]),a=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),j=_r(d[10]),x=_r(d[11]);function f(){const s=(0,u.useStore)(e=>e.restaurants),r=(0,u.useCustomer)(),f=(0,u.useNow)(3e4);return(0,x.jsxs)(l.Screen,{title:"Restaurants",subtitle:"Book, order and pay at local restaurants",right:(0,x.jsxs)(l.Row,{children:[(0,x.jsx)(t.BasketButton,{}),(0,x.jsx)(l.Button,{small:!0,kind:"ghost",label:"Profile",onPress:()=>e.router.push('/customer/profile')})]}),children:[(0,x.jsxs)(l.Card,{onPress:()=>e.router.push('/customer/profile'),children:[(0,x.jsxs)(l.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(l.T,{weight:"semibold",children:r.name?`Hello, ${r.name.split(' ')[0]}`:'Add your profile'}),(0,x.jsx)(l.Muted,{children:"Edit profile \u203a"})]}),(0,x.jsx)(l.Muted,{children:"Your allergies (stored once, confirmed on every order and booking):"}),(0,x.jsx)(l.Row,{wrap:!0,gap:6,children:r.allergies.length?r.allergies.map(e=>(0,x.jsx)(l.Badge,{kind:"red",label:`${(0,o.allergenLabel)(e.allergen)} \u2014 ${(0,o.severityLabel)(e.severity)}`},e.allergen)):(0,x.jsx)(l.Muted,{children:"None declared"})})]}),s.map(s=>{const r=(0,a.hoursFor)(s,f);return(0,x.jsxs)(l.Card,{onPress:()=>e.router.push(`/customer/${s.id}`),highlight:s.id===j.VENUE_RID?c.colours.gold:void 0,children:[(0,x.jsxs)(l.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(l.H2,{style:{flex:1},children:s.name}),s.fictional?(0,x.jsx)(l.Badge,{kind:"amber",label:"FICTIONAL DEMO"}):(0,x.jsx)(l.Badge,{kind:"gold",label:"PILOT"})]}),(0,x.jsx)(l.Muted,{children:s.tagline}),(0,x.jsx)(l.Muted,{children:s.location}),(0,x.jsx)(l.T,{size:14,colour:r?c.colours.ok:c.colours.amber,children:r?`Kitchen today ${(0,a.kitchenHoursOn)(s,f)[0]}\u2013${(0,a.kitchenHoursOn)(s,f)[1]}`:'Kitchen closed today (hours not listed)'})]},s.id)}),(0,x.jsx)(l.Banner,{kind:"info",children:"Each venue uses only its own saved menu, cards and booking details."}),(0,x.jsx)(h.LauncherLine,{}),(0,x.jsx)(n.default,{style:{height:8}})]})}},790,[804,30,127,830,813,814,815,819,821,855,5,24]);
williewastles/customer-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js ADDED
@@ -0,0 +1 @@
 
 
1
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},798,[804,30,806,24]);
williewastles/customer-app/_expo/static/js/web/lost-817d2886f8973bfa630e2a69674dc584.js ADDED
@@ -0,0 +1 @@
 
 
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 u}});var t=_r(d[0]),n=_r(d[1]),s=_r(d[2]),r=_r(d[3]),l=_r(d[4]),o=_r(d[5]);function u(){const{rid:u}=(0,t.useLocalSearchParams)(),h=(0,r.useRestaurant)(u),c=(0,r.useCustomer)(),x=(0,r.useNow)(6e4),j=(0,l.useOwner)(t=>t.lost),p=(0,l.useOwner)(t=>t.lostReports),[f,y]=(0,n.useState)(''),[w,b]=(0,n.useState)(''),[S,C]=(0,n.useState)(''),[R,v]=(0,n.useState)(!1);if(!h)return(0,o.jsx)(s.Screen,{title:"Not found",children:(0,o.jsx)(s.T,{children:"Restaurant not found."})});const O=p.filter(t=>t.contact.includes(c.email));return(0,o.jsxs)(s.Screen,{title:"Lost property",subtitle:h.name,children:[(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Recently handed in"}),j.filter(t=>'held'===t.status).map(t=>(0,o.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,o.jsx)(s.T,{style:{flex:1},children:t.item}),(0,o.jsx)(s.Muted,{children:t.foundAt.slice(0,10)})]},t.id)),j.some(t=>'held'===t.status)?null:(0,o.jsx)(s.Muted,{children:"Nothing handed in right now."}),(0,o.jsx)(s.Muted,{children:"To collect, bring ID or describe the item to staff. Items are kept for 3 months."})]}),R?(0,o.jsxs)(s.Banner,{kind:"success",children:["Report sent to ",h.name,". They'll be in touch if it turns up (sent to the venue on this device only: messaging is not set up yet)."]}):null,(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Lost something?"}),(0,o.jsx)(s.Field,{label:"What did you lose?",value:f,onChangeText:y,placeholder:"e.g. Grey scarf"}),(0,o.jsx)(s.Field,{label:"When were you in?",value:w,onChangeText:b,placeholder:"e.g. Saturday evening"}),(0,o.jsx)(s.Field,{label:"Where were you sitting? (optional)",value:S,onChangeText:C,placeholder:"e.g. By the window"}),(0,o.jsxs)(s.Muted,{children:["We'll share your name and email (",c.email,") with ",h.name," for this report only."]}),(0,o.jsx)(s.Button,{label:"Send report",disabled:f.trim().length<2||w.trim().length<2,onPress:()=>{l.useOwner.getState().setOwner({lostReports:[{id:`lr-${Date.now()}`,item:f.trim(),when:w.trim(),where:S.trim()||'Not sure',contact:`${c.name} \xb7 ${c.email}`,at:x.toISOString(),status:'open'},...l.useOwner.getState().lostReports]}),y(''),b(''),C(''),v(!0)}})]}),O.length?(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Your reports"}),O.map(t=>(0,o.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,o.jsxs)(s.T,{style:{flex:1},children:[t.item," \xb7 ",t.when]}),(0,o.jsx)(s.Badge,{kind:'matched'===t.status?'ok':'open'===t.status?'amber':'neutral',label:'matched'===t.status?'Found!':'open'===t.status?'Looking':'Closed'})]},t.id))]}):null]})}},782,[804,30,813,819,856,24]);
williewastles/customer-app/_expo/static/js/web/loyalty-679d7aa42c3cddfce82c3e1207d2d4cf.js ADDED
@@ -0,0 +1 @@
 
 
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 j}});var e=_r(d[0]),r=_r(d[1]);_r(d[2]);var s,t=_r(d[3]),n=(s=t)&&s.__esModule?s:{default:s},i=_r(d[4]),o=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),h=_r(d[9]),p=_r(d[10]),f=_r(d[11]);function j(){const{rid:s}=(0,r.useLocalSearchParams)(),t=(0,c.useRestaurant)(s);return e.LIVE_VENUE_BUILD||(0,p.guestServer)()?t?(0,f.jsx)(h.LoyaltyLive,{slug:s,venue:t.name}):(0,f.jsx)(o.Screen,{title:"Not found",children:(0,f.jsx)(o.T,{children:"Restaurant not found."})}):(0,f.jsx)(x,{})}function x(){const{rid:e}=(0,r.useLocalSearchParams)(),s=(0,c.useRestaurant)(e),t=(0,c.useCustomer)(),h=(0,c.useStampCard)(e);if(!s)return(0,f.jsx)(o.Screen,{title:"Not found",children:(0,f.jsx)(o.T,{children:"Restaurant not found."})});const p=s.settings.stampTarget,j=h?.stamps??0;return(0,f.jsxs)(o.Screen,{title:"Stamp card",subtitle:`${s.name} \u2014 this card is just for ${s.name}`,children:[(0,f.jsx)(o.Banner,{kind:"example",title:"Example card (demo)",children:"On a real venue your card is saved by the venue and is the same on any phone."}),(0,f.jsxs)(o.Card,{highlight:u.colours.gold,children:[(0,f.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,f.jsxs)(o.H2,{children:[j," of ",p," stamps"]}),(0,f.jsxs)(o.T,{colour:u.colours.gold,weight:"semibold",children:["Reward: ",s.settings.stampReward]})]}),(0,f.jsx)(n.default,{style:{flexDirection:'row',flexWrap:'wrap',gap:10,justifyContent:'center',paddingVertical:8},children:Array.from({length:p}).map((e,r)=>(0,f.jsx)(n.default,{accessibilityLabel:r<j?'Stamp collected':'Empty stamp',style:{width:52,height:52,borderRadius:26,borderWidth:2,borderColor:u.colours.gold,backgroundColor:r<j?u.colours.gold:'transparent',alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(o.T,{size:22,colour:r<j?u.colours.onGold:u.colours.border,children:"\u2605"})},r))}),(0,f.jsxs)(o.Muted,{children:["One stamp per paid visit or order over ",(0,l.gbp)(s.settings.stampMinSpend)," \u2014 dine-in, table QR or takeaway. Rewards are funded by ",s.name,"."]}),h?.rewardsAvailable?(0,f.jsx)(o.Banner,{kind:"success",title:`${h.rewardsAvailable} reward${h.rewardsAvailable>1?'s':''} ready: ${s.settings.stampReward}`,children:(0,f.jsx)(o.Button,{small:!0,label:"Use reward (show staff)",onPress:()=>c.repo.loyalty.redeemReward(s.id,t.id)})}):null]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"Show this to staff"}),(0,f.jsx)(o.Muted,{children:"Staff scan this on the tablet to add a stamp for dine-in visits not paid by table QR."}),(0,f.jsx)(i.QR,{value:`covercharge:stamp:${s.id}:${t.id}`,size:190}),(0,f.jsx)(o.T,{center:!0,weight:"semibold",children:t.name})]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"Bring a friend"}),(0,f.jsx)(o.T,{children:"Your referral code"}),(0,f.jsx)(o.T,{size:28,weight:"bold",colour:u.colours.gold,center:!0,children:t.referralCode}),(0,f.jsx)(o.Muted,{children:"When a friend completes their first qualifying paid visit or order, you both get a stamp. One referral reward per new account, phone and card; monthly cap applies."})]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"History"}),(h?.history??[]).length?h.history.slice(0,10).map((e,r)=>(0,f.jsxs)(o.Muted,{children:[e.at.slice(0,10)," \xb7 ",e.source]},r)):(0,f.jsx)(o.Muted,{children:"No stamps yet."})]}),(0,f.jsx)(o.Muted,{children:"Rewards are kept on food (Scottish licensing rules restrict drinks promotions). Stamps are never given for reviews."})]})}},783,[833,804,30,127,869,813,816,819,821,860,836,24]);
williewastles/customer-app/_expo/static/js/web/merch-63634eac687774d71f27698748247bd2.js ADDED
@@ -0,0 +1 @@
 
 
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 y}});var e,t=_r(d[0]),n=_r(d[1]),s=_r(d[2]),l=_r(d[3]),r=(e=l)&&e.__esModule?e:{default:e},u=_r(d[4]),o=_r(d[5]),c=_r(d[6]),m=_r(d[7]),h=_r(d[8]),j=_r(d[9]),x=_r(d[10]),f=_r(d[11]),b=_r(d[12]),p=_r(d[13]);function y(){const{rid:e}=(0,n.useLocalSearchParams)(),s=(0,c.useRestaurant)(e),l=(0,c.useCustomer)();return t.LIVE_VENUE_BUILD||(0,b.guestServer)()?s?(0,p.jsx)(f.ShopLive,{slug:e,venue:s.name,guestName:l.name}):(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Restaurant not found."})}):(0,p.jsx)(S,{})}function S(){const{rid:e}=(0,n.useLocalSearchParams)(),t=(0,c.useRestaurant)(e),l=(0,c.useCustomer)(),f=(0,c.useNow)(6e4),b=(0,m.useOwner)(e=>e.merch),[y,S]=(0,s.useState)({}),[k,w]=(0,s.useState)(null),[v,C]=(0,s.useState)(null);if(!t)return(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Restaurant not found."})});const $=b.find(e=>e.id===k),O=e=>y[e]??1;return(0,p.jsxs)(o.Screen,{title:"Shop",subtitle:`${t.name} merch \xb7 collect in the restaurant`,children:[v?(0,p.jsxs)(o.Banner,{kind:"success",title:"Order noted (no payment taken)",children:[v," Collect it at the bar on your next visit."]}):null,b.filter(e=>e.live||0===e.stock).map(e=>(0,p.jsxs)(o.Card,{children:[(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsxs)(r.default,{style:{flex:1},children:[(0,p.jsx)(o.T,{weight:"semibold",children:e.name}),(0,p.jsx)(o.T,{colour:x.colours.gold,weight:"semibold",children:(0,h.gbp)(e.price)})]}),0!==e.stock&&e.live?e.stock<8?(0,p.jsx)(o.Badge,{kind:"amber",label:`${e.stock} left`}):null:(0,p.jsx)(o.Badge,{kind:"neutral",label:"Sold out"})]}),e.live&&e.stock>0?(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsx)(o.Stepper,{value:O(e.id),min:1,max:Math.min(5,e.stock),onChange:t=>S({...y,[e.id]:t}),label:`${e.name} quantity`}),(0,p.jsx)(o.Button,{small:!0,label:`Buy \xb7 ${(0,h.gbp)(e.price*O(e.id))}`,onPress:()=>w(e.id)})]}):null]},e.id)),(0,p.jsxs)(o.Muted,{children:["Collection only. Prices set by ",t.name,"."]}),$?(0,p.jsx)(u.MockPay,{visible:!0,onClose:()=>w(null),amount:$.price*O($.id),restaurantId:t.id,allowGiftCard:!1,title:`Buy ${$.name}`,onPaid:()=>{const e=m.useOwner.getState();e.setOwner({merch:e.merch.map(e=>e.id===$.id?{...e,stock:Math.max(0,e.stock-O($.id))}:e),merchOrders:[{id:`mo-${Date.now()}`,productId:$.id,qty:O($.id),customer:l.name,at:(0,j.ymd)(f),status:'new'},...e.merchOrders]}),C(`${O($.id)} \xd7 ${$.name}, ${(0,h.gbp)($.price*O($.id))}.`),w(null)}}):null]})}},784,[833,804,30,127,834,813,819,856,816,818,821,835,836,24]);
williewastles/customer-app/_expo/static/js/web/offers-eba5409c285b6031064e79e9f1ea19e0.js ADDED
@@ -0,0 +1 @@
 
 
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 j}});var n=_r(d[0]),t=_r(d[1]);_r(d[2]);var s=_r(d[3]),r=_r(d[4]),o=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),f=_r(d[9]),h=_r(d[10]);function j(){const{rid:o}=(0,t.useLocalSearchParams)(),l=(0,r.useRestaurant)(o);return n.LIVE_VENUE_BUILD||(0,f.guestServer)()?l?(0,h.jsx)(u.OffersLive,{slug:o,venue:l.name}):(0,h.jsx)(s.Screen,{title:"Not found",children:(0,h.jsx)(s.T,{children:"Restaurant not found."})}):(0,h.jsx)(x,{})}function x(){const{rid:n}=(0,t.useLocalSearchParams)(),u=(0,r.useRestaurant)(n),f=(0,r.useCustomer)(),j=(0,o.useOwner)(n=>n.offers);if(!u)return(0,h.jsx)(s.Screen,{title:"Not found",children:(0,h.jsx)(s.T,{children:"Restaurant not found."})});const x=!!f.marketingOptIn[u.id],b=j.filter(n=>n.live),p=b.filter(n=>'special'===n.kind),y=b.filter(n=>'offer'===n.kind);return(0,h.jsxs)(s.Screen,{title:"Specials & offers",subtitle:u.name,children:[(0,h.jsxs)(s.Card,{highlight:x?c.colours.ok:c.colours.gold,children:[(0,h.jsx)(s.Toggle,{label:`Send me offers from ${u.name}`,value:x,onChange:n=>r.repo.customers.update({marketingOptIn:{...f.marketingOptIn,[u.id]:n}})}),(0,h.jsx)(s.Muted,{children:x?'You can switch this off any time. We only use it for this restaurant.':'Off by default. Turn on to see member offers and get the occasional notification (max one a week). You can switch it off any time.'})]}),(0,h.jsx)(s.H2,{children:"Today's specials"}),p.length?p.map(n=>(0,h.jsxs)(s.Card,{children:[(0,h.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,h.jsx)(s.T,{weight:"semibold",style:{flex:1},children:n.title}),(0,h.jsx)(s.Badge,{kind:"gold",label:"Special"})]}),(0,h.jsx)(s.Muted,{children:n.body})]},n.id)):(0,h.jsx)(s.Muted,{children:"No specials on the board right now."}),(0,h.jsx)(s.H2,{children:"Member offers"}),x?y.length?y.map(n=>(0,h.jsxs)(s.Card,{children:[(0,h.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,h.jsx)(s.T,{weight:"semibold",style:{flex:1},children:n.title}),(0,h.jsx)(s.Badge,{kind:"ok",label:"Offer"})]}),(0,h.jsx)(s.Muted,{children:n.body}),n.until?(0,h.jsxs)(s.Muted,{children:["Until ",(0,l.niceDate)((0,l.parseYmd)(n.until))]}):null]},n.id)):(0,h.jsx)(s.Muted,{children:"No offers right now."}):(0,h.jsxs)(s.Banner,{kind:"info",children:["Turn on offers above to see ",y.length," member offer",1===y.length?'':'s',"."]}),(0,h.jsxs)(s.Muted,{children:["Offers are set by ",u.name,". Drinks promotions follow Scottish licensing rules. Demo: no notifications are sent."]})]})}},785,[833,804,30,813,819,856,818,821,860,836,24]);
williewastles/customer-app/_expo/static/js/web/profile-b82887516ccba728915e95d502c0081a.js ADDED
@@ -0,0 +1 @@
 
 
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 y}});var e=_r(d[0]),r=_r(d[1]),s=_r(d[2]);_r(d[3]);var t,l=_r(d[4]),n=(t=l)&&t.__esModule?t:{default:t},a=_r(d[5]),o=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),p=_r(d[10]),b=_r(d[11]);function y(){const t=(0,h.useCustomer)(),l=(0,h.useStore)((0,p.useShallow)(e=>e.orders.filter(r=>r.customerId===e.customer.id))),y=(0,h.useStore)((0,p.useShallow)(e=>e.bookings.filter(r=>r.customerId===e.customer.id))),x=(0,h.useStore)(e=>e.restaurants),j=e=>x.find(r=>r.id===e)?.name??e;return(0,b.jsxs)(a.Screen,{title:"Your account",subtitle:"One CoverCharge account for every restaurant",children:[(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.Field,{label:"Name",value:t.name,onChangeText:e=>h.repo.customers.update({name:e})}),(0,b.jsx)(a.Field,{label:"Email",value:t.email,keyboardType:"email-address",onChangeText:e=>h.repo.customers.update({email:e})}),(0,b.jsx)(a.Field,{label:"Mobile",value:t.phone,keyboardType:"phone-pad",onChangeText:e=>h.repo.customers.update({phone:e})}),(0,b.jsx)(a.Muted,{children:(0,r.guestServer)()?'Your bring-a-friend code is on each restaurant\u2019s stamp card.':`Referral code: ${t.referralCode}`})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Allergies & severity"}),(0,b.jsx)(a.Muted,{children:"Stored once and shared with a restaurant only when you order or book there. You confirm them on every order, table session and booking."}),(0,b.jsx)(a.Toggle,{label:"I consent to CoverCharge storing my allergy information (health data, UK GDPR)",value:t.allergyConsent,onChange:e=>h.repo.customers.update({allergyConsent:e})}),t.allergyConsent?null:(0,b.jsx)(a.Banner,{kind:"warn",children:"Without consent your allergies won\u2019t be stored \u2014 tell staff directly."}),o.ALLERGENS.map(e=>{const r=t.allergies.find(r=>r.allergen===e.id);return(0,b.jsxs)(n.default,{style:{gap:6,paddingVertical:6},children:[(0,b.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsx)(a.T,{weight:r?'semibold':'regular',children:e.label}),r?(0,b.jsx)(a.Badge,{kind:"red",label:"Declared"}):null]}),(0,b.jsxs)(a.Row,{wrap:!0,gap:6,children:[(0,b.jsx)(a.Chip,{label:"None",selected:!r,onPress:()=>h.repo.customers.setAllergy(e.id,null),disabled:!t.allergyConsent&&!r}),o.SEVERITIES.map(s=>(0,b.jsx)(a.Chip,{label:s.label,selected:r?.severity===s.id,disabled:!t.allergyConsent,onPress:()=>h.repo.customers.setAllergy(e.id,s.id)},s.id))]})]},e.id)})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Your orders"}),l.length?l.map(r=>(0,b.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsxs)(a.T,{style:{flex:1},children:[r.ref," \xb7 ",j(r.restaurantId)," \xb7 ",'table'===r.type?`${(0,e.tableNumbers)(r.tableNo)}`:'Takeaway']}),(0,b.jsx)(a.Button,{small:!0,kind:"secondary",label:`${r.status} \xb7 ${(0,u.gbp)(r.subtotal+r.tip)}`,onPress:()=>s.router.push(`/customer/order/${r.id}`)})]},r.id)):(0,b.jsx)(a.Muted,{children:"No orders yet."})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Your bookings"}),y.length?y.map(e=>(0,b.jsxs)(a.T,{children:[e.ref," \xb7 ",j(e.restaurantId)," \xb7 ",(0,c.niceDate)((0,c.parseYmd)(e.date))," ",e.time," \xb7 ",e.partySize," people \xb7 ",e.status]},e.id)):(0,b.jsx)(a.Muted,{children:"No bookings yet."})]}),(0,b.jsx)(a.Muted,{children:"Account deletion and data export would live here (Apple 5.1.1(v); Google web deletion link)."})]})}},792,[808,836,804,30,127,813,814,816,818,819,873,24]);