@camphoric/camphoric-event-lark 1.0.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +113 -13
  3. package/dist/camperSchema.js +1 -1
  4. package/dist/confirmationEmailTemplate.js +2 -2
  5. package/dist/index.d.ts +53 -0
  6. package/dist/index.js +12 -1
  7. package/dist/pricing/pricing.d.ts +2 -0
  8. package/dist/pricing/pricing.js +3 -0
  9. package/dist/promoCodes.d.ts +31 -0
  10. package/dist/promoCodes.js +32 -0
  11. package/dist/registrationErrorMessages.d.ts +33 -0
  12. package/dist/registrationErrorMessages.js +42 -0
  13. package/dist/registrationSchema.js +1 -1
  14. package/dist/registrationTypes.d.ts +4 -0
  15. package/dist/registrationTypes.js +3 -2
  16. package/dist/reports.d.ts +3 -0
  17. package/dist/reports.js +106 -42
  18. package/dist/testRegistrations.js +613 -84
  19. package/package.json +7 -5
  20. package/reports/Admin--All-Payments.j2 +40 -0
  21. package/reports/Admin--Meal-Income.j2 +64 -0
  22. package/reports/Admin--Non-Meal-Income.j2 +89 -0
  23. package/reports/All-Campers.j2 +2 -2
  24. package/reports/Campers--All-Camp-3.j2 +2 -2
  25. package/reports/Campers--By-Reg-Date.j2 +2 -2
  26. package/reports/Campers--By-Zip-Code--For-Carpool-.j2 +14 -14
  27. package/reports/Campers--Confirmation-Email-Info.j2 +2 -2
  28. package/reports/Campers--Early-Arrivals.j2 +1 -1
  29. package/reports/Campers--Half-Campers.j2 +3 -3
  30. package/reports/Campers--Lodging-by-Alpha.j2 +1 -1
  31. package/reports/Campers--Lodging-by-Lodging.j2 +1 -1
  32. package/reports/Campers--Minors.j2 +7 -4
  33. package/reports/Campers--NOT-Checked-In.j2 +3 -3
  34. package/reports/Campers--Name-Badges.j2 +4 -4
  35. package/reports/Campers--Parking-Exceptions.j2 +4 -4
  36. package/reports/Campers--Registration-Payments.j2 +2 -2
  37. package/reports/Campers--Registration-Volunteers.j2 +1 -1
  38. package/reports/Campers--Tent-Tags.j2 +5 -3
  39. package/reports/Community-Care--Campers.j2 +13 -11
  40. package/reports/Crew--Clean--C1.j2 +4 -4
  41. package/reports/Crew--Clean--C2-3.j2 +4 -4
  42. package/reports/Crew--Community-Care.j2 +2 -2
  43. package/reports/Crew--Kitchen--w--Lodging.j2 +1 -1
  44. package/reports/Crew--Managers-and-Others.j2 +2 -2
  45. package/reports/Crew--Office--Camp-1.j2 +2 -2
  46. package/reports/Crew--Office--Camp-2.j2 +2 -2
  47. package/reports/Crew--Office--Camp-3.j2 +2 -2
  48. package/reports/Crew--Setup-and-Teardown.j2 +2 -2
  49. package/reports/Crew--Special-Invites.j2 +1 -1
  50. package/reports/Donation-Report---Lark.j2 +2 -2
  51. package/reports/Kitchen--All-Meal-Tickets.j2 +2 -2
  52. package/reports/Kitchen--Meal-Location-Exceptions.j2 +2 -2
  53. package/reports/Kitchen--No-Meal-Ticket.j2 +2 -2
  54. package/reports/Registration--All-reg-workers.j2 +4 -4
  55. package/reports/Registration--Early-Arrivals.j2 +4 -4
  56. package/reports/Registration--First-Half-Arrivals.j2 +4 -4
  57. package/reports/Registration--PayPal-Invoices.j2 +4 -4
  58. package/reports/Registration--Second-Half-Arrivals.j2 +4 -4
  59. package/reports/Registration--Values-for-July-Email.j2 +2 -2
  60. package/reports/Security--Campers.j2 +13 -11
@@ -1,113 +1,642 @@
1
1
  import { mealsLookup, ageLookup } from "./pricing/camperPricingLogic.js";
2
- const genderLookup = {
3
- M: 'Man',
4
- F: 'Woman',
5
- N: 'Non-binary',
6
- };
7
- const mealTypeLookup = {
8
- 'O': 'Non-Vegetarian',
9
- 'V': 'Vegetarian',
10
- 'E': 'Vegan',
11
- };
12
- const registrations = [
2
+ const us = (street_address, city, state_or_province, zip_code) => ({ street_address, city, state_or_province, zip_code, country: 'United States' });
3
+ const abroad = (street_address, city, state_or_province, zip_code, country) => ({ street_address, city, state_or_province, zip_code, country });
4
+ // Meals: all meals, just dinners, or a half's meals, with their type
5
+ const F = (type = 'Non-Vegetarian') => ({ plan: 'F', type });
6
+ const D = (type = 'Non-Vegetarian') => ({ plan: 'D', type });
7
+ const A = (type = 'Non-Vegetarian') => ({ plan: 'A', type });
8
+ const B = (type = 'Non-Vegetarian') => ({ plan: 'B', type });
9
+ const VEG = 'Vegetarian';
10
+ const VEGAN = 'Vegan';
11
+ const FIRST_HALF = 'Half camp - 1st half';
12
+ const SECOND_HALF = 'Half camp - 2nd half';
13
+ const CAR = 'Regular car';
14
+ const RV_SM = 'RV under 15\' long';
15
+ const RV_LG = 'RV 15\'-20\' long';
16
+ const C1_TENT_B = ['camp1', 'camp1_tent', 'camp1_tent_area_B'];
17
+ const C1_TENT_C = ['camp1', 'camp1_tent', 'camp1_tent_area_C'];
18
+ const C1_RV_SM = ['camp1', 'camp1_rv', 'camp1_rv_sm'];
19
+ const C1_RV_LG = ['camp1', 'camp1_rv', 'camp1_rv_lg'];
20
+ const C1_CABIN = ['camp1', 'camp1_cabin'];
21
+ const C2_TENT_D = ['camp2', 'camp2_tent', 'camp2_tent_area_D'];
22
+ const C2_TENT_E = ['camp2', 'camp2_tent', 'camp2_tent_area_E'];
23
+ const C2_TENT_F = ['camp2', 'camp2_tent', 'camp2_tent_area_F'];
24
+ const C2_TENT_G = ['camp2', 'camp2_tent', 'camp2_tent_area_G'];
25
+ const C2_TENT_H = ['camp2', 'camp2_tent', 'camp2_tent_area_H'];
26
+ const C2_RV_SM = ['camp2', 'camp2_rv', 'camp2_rv_sm'];
27
+ const C2_RV_LG = ['camp2', 'camp2_rv', 'camp2_rv_lg'];
28
+ const C2_RV_XL = ['camp2', 'camp2_rv', 'camp2_rv_xl'];
29
+ const C2_CABIN = ['camp2', 'camp2_cabin'];
30
+ const C3_TENT_J = ['camp3', 'camp3_tent', 'camp3_tent_area_J'];
31
+ const C3_TENT_K = ['camp3', 'camp3_tent', 'camp3_tent_area_K'];
32
+ const C3_TENT_L = ['camp3', 'camp3_tent', 'camp3_tent_area_L'];
33
+ const C3_TENT_I = ['camp3', 'camp3_tent', 'camp3_tent_area_I'];
34
+ const C3_RV_SM = ['camp3', 'camp3_rv', 'camp3_rv_sm'];
35
+ const C3_RV_LG = ['camp3', 'camp3_rv', 'camp3_rv_lg'];
36
+ const C3_CABIN = ['camp3', 'camp3_cabin'];
37
+ const REGISTRAR = ['reg_choice'];
38
+ const households = [
13
39
  {
14
- address: ['1234 Easy St', 'Berkeley', 'CA', '94703'],
15
- email: 'bobross123456@dontsend.com',
16
- parking_passes: 1,
40
+ // Star Wars: the Skywalker–Solo family, in a Camp 1 tent
41
+ address: us('1 Lars Homestead Rd', 'Anchorhead', 'AZ', '85001'),
42
+ email: 'skywalker.solo@dontsend.com',
43
+ phone: '+16025550101',
17
44
  campers: [
18
- [64, 'M', 'BobLC', 'Ross', 'camp1', 'camp1_tent', 'camp1_tent_area_A', 'F|O', 'Jane Ross'],
19
- [64, 'F', 'JaneLC', 'Ross', 'camp1', 'camp1_tent', 'camp1_tent_area_A', 'F|O', 'Bob Ross'],
45
+ { first: 'Leia', last: 'Organa', age: 49, gender: 'Woman', meals: F(), lodging: C1_TENT_B,
46
+ sharedWith: 'Skywalker-Solo family', badge: { name: 'General Organa', pronouns: 'she/her' },
47
+ passes: [[CAR, 'Camp 1']] },
48
+ { first: 'Han', last: 'Solo', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_B,
49
+ sharedWith: 'Skywalker-Solo family' },
50
+ { first: 'Luke', last: 'Skywalker', age: 49, gender: 'Man', meals: F(VEG), lodging: C1_TENT_B,
51
+ sharedWith: 'Skywalker-Solo family', email: 'luke.skywalker@dontsend.com' },
52
+ { first: 'Ben', last: 'Solo', age: 11, gender: 'Man', meals: F(), lodging: C1_TENT_B,
53
+ sharedWith: 'Skywalker-Solo family' },
20
54
  ],
21
55
  },
22
56
  {
23
- address: ['5678 Hard St', 'Napa', 'CA', '94558'],
24
- email: 'skywalker123456@dontsend.com',
25
- parking_passes: 1,
57
+ // Star Trek: The Next Generation: the senior staff, in a Camp 1 cabin
58
+ address: us('24 Starfleet Way', 'San Francisco', 'CA', '94129'),
59
+ email: 'enterprise.d@dontsend.com',
60
+ phone: '+14155550102',
61
+ heardFrom: 'Subspace',
26
62
  campers: [
27
- [64, 'M', 'AniLC', 'Skywalker', 'camp1', 'camp1_tent', 'camp1_tent_area_A', 'F|V', 'Padmé Skywalker'],
28
- [64, 'F', 'PadméLC', 'Amidala', 'camp1', 'camp1_tent', 'camp1_tent_area_A', 'F|O', 'Ani Skywalker'],
29
- [17, 'M', 'LukeLC', 'Skywalker', 'camp3', 'camp3_tent', 'camp3_tent_area_K', 'D|E'],
30
- [17, 'F', 'LeiaLC', 'Organa', 'camp3', 'camp3_tent', 'camp3_tent_area_K', 'D|E'],
63
+ { first: 'Jean-Luc', last: 'Picard', age: 65, gender: 'Man', meals: F(), lodging: C1_CABIN,
64
+ sharedWith: 'Enterprise crew', badge: { name: 'Captain Picard' } },
65
+ { first: 'William', last: 'Riker', age: 49, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'Enterprise crew' },
66
+ // No age given
67
+ { first: 'Data', last: 'Soong', gender: 'Man', lodging: C1_CABIN, sharedWith: 'Enterprise crew' },
68
+ { first: 'Worf', last: 'Son of Mogh, House of Martok', age: 49, gender: 'Man', meals: F(), lodging: C1_CABIN,
69
+ sharedWith: 'Enterprise crew' },
70
+ { first: 'Beverly', last: 'Crusher', age: 49, gender: 'Woman', meals: F(VEG), lodging: C1_CABIN,
71
+ sharedWith: 'Enterprise crew', volunteer: { skills: ['Medical', 'Emergency management'], credentials: 'MD, Chief Medical Officer' } },
72
+ { first: 'Wesley', last: 'Crusher', age: 17, gender: 'Man', meals: F(VEG), lodging: C1_CABIN,
73
+ sharedWith: 'Enterprise crew', email: 'wesley.crusher@dontsend.com' },
31
74
  ],
32
75
  },
33
76
  {
34
- address: ['1630 Revello Drive', 'Sunnydale', 'CA', '94008'],
35
- email: 'vampslayer2345@dontsend.com',
36
- parking_passes: 1,
77
+ // Avatar: The Last Airbender: Team Avatar, in a Camp 3 tent
78
+ address: us('1 Air Temple Rd', 'Bend', 'OR', '97701'),
79
+ email: 'team.avatar@dontsend.com',
80
+ phone: '+15415550103',
37
81
  campers: [
38
- [49, 'F', 'BuffyLC', 'Summers', 'camp2', 'camp2_rv', 'camp2_rv_sm', 'F|V', 'Willow Rosenberg'],
39
- [49, 'F', 'WillowLC', 'Rosenberg', 'camp2', 'camp2_rv', 'camp2_rv_sm', 'F|O', 'Buffy Summers'],
40
- [49, 'M', 'XanderLC', 'Harris', 'camp2', 'camp2_rv', 'camp2_rv_sm', 'F|O', 'Willow Rosenberg'],
41
- [17, 'F', 'DawnLC', 'Summers', 'camp3', 'camp3_tent', 'camp3_tent_area_K', 'F|E'],
82
+ { first: 'Iroh', last: 'of the Fire Nation', age: 65, gender: 'Man', meals: F(VEG), lodging: C3_TENT_J,
83
+ sharedWith: 'Team Avatar', badge: { name: 'Uncle Iroh' }, passes: [[CAR, 'Camp 3']] },
84
+ { first: 'Aang', last: 'of the Air Nomads', age: 11, gender: 'Man', meals: F(VEGAN), lodging: C3_TENT_J, sharedWith: 'Team Avatar' },
85
+ { first: 'Katara', last: 'of the Southern Water Tribe', age: 17, gender: 'Woman', meals: F(), lodging: C3_TENT_J, sharedWith: 'Team Avatar' },
86
+ { first: 'Sokka', last: 'of the Southern Water Tribe', age: 17, gender: 'Man', meals: F(), lodging: C3_TENT_J, sharedWith: 'Team Avatar' },
87
+ { first: 'Toph', last: 'Beifong', age: 11, gender: 'Woman', meals: F(), lodging: C3_TENT_J, sharedWith: 'Team Avatar' },
88
+ { first: 'Zuko', last: 'of the Fire Nation', age: 17, gender: 'Man', meals: F(), lodging: C3_TENT_J, sharedWith: 'Team Avatar' },
42
89
  ],
43
90
  },
44
91
  {
45
- address: ['5932 Firefly Ln', 'Verse', 'CA', '94008'],
46
- email: 'notarever3q450@dontsend.com',
47
- parking_passes: 1,
92
+ // The Legend of Korra: the new Team Avatar, in a Camp 2 RV
93
+ address: us('88 Air Temple Island', 'Republic City', 'WA', '98101'),
94
+ email: 'new.team.avatar@dontsend.com',
95
+ phone: '+12065550104',
48
96
  campers: [
49
- [49, 'M', 'MalcomLC', 'Reynolds', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
50
- [49, 'M', 'JayneLC', 'Cobb', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
51
- [49, 'F', 'ZoeLC', 'Washburn', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
52
- [49, 'M', 'HobanLC', 'Washburn', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
53
- [49, 'F', 'InaraLC', 'Serra', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
54
- [49, 'F', 'KayleeLC', 'Frye', 'camp2', 'camp2_rv', 'camp2_rv_lg', '', 'Reynolds'],
97
+ { first: 'Korra', last: 'of the Southern Water Tribe', age: 25, gender: 'Woman', meals: F(), lodging: C2_RV_SM,
98
+ sharedWith: 'Korra, Asami, Mako and Bolin', passes: [[RV_SM, 'Vehicle Camp 2']] },
99
+ { first: 'Asami', last: 'Sato', age: 25, gender: 'Woman', meals: F(), lodging: C2_RV_SM,
100
+ sharedWith: 'Korra, Asami, Mako and Bolin', passes: [[CAR, 'Long Term']] },
101
+ { first: 'Mako', last: 'of Republic City', age: 25, gender: 'Man', meals: D(), lodging: C2_RV_SM, sharedWith: 'Korra, Asami, Mako and Bolin' },
102
+ { first: 'Bolin', last: 'of Republic City', age: 25, gender: 'Man', meals: D(), lodging: C2_RV_SM, sharedWith: 'Korra, Asami, Mako and Bolin' },
103
+ ],
104
+ },
105
+ {
106
+ // Frieren: Beyond Journey's End: Frieren's party, first half only
107
+ address: us('3 Northern Plateau Trl', 'Missoula', 'MT', '59801'),
108
+ email: 'frierens.party@dontsend.com',
109
+ phone: '+14065550105',
110
+ comments: 'Frieren will be looking for grimoires. Please point her at the library, if there is one.',
111
+ campers: [
112
+ { first: 'Frieren', last: 'the Slayer', age: 65, gender: 'Woman', session: FIRST_HALF, meals: A(VEG), lodging: C2_TENT_D,
113
+ sharedWith: 'Frieren\'s party', badge: { name: 'Frieren', pronouns: 'she/her' } },
114
+ { first: 'Fern', last: 'of Heiter\'s Church', age: 17, gender: 'Woman', session: FIRST_HALF, meals: A(), lodging: C2_TENT_D,
115
+ sharedWith: 'Frieren\'s party' },
116
+ { first: 'Stark', last: 'of the Warrior Village', age: 17, gender: 'Man', session: FIRST_HALF, meals: A(), lodging: C2_TENT_D,
117
+ sharedWith: 'Frieren\'s party', passes: [[CAR, 'Short Term']] },
118
+ ],
119
+ },
120
+ {
121
+ // Buffy the Vampire Slayer: the Scooby Gang, in a Camp 2 tent
122
+ address: us('1630 Revello Drive', 'Sunnydale', 'CA', '94008'),
123
+ email: 'scooby.gang@dontsend.com',
124
+ phone: '+18055550106',
125
+ campers: [
126
+ { first: 'Rupert', last: 'Giles', age: 64, gender: 'Man', meals: F(), lodging: C2_TENT_G, sharedWith: 'Scooby Gang',
127
+ passes: [[CAR, 'Camp 2']] },
128
+ { first: 'Buffy', last: 'Summers', age: 25, gender: 'Woman', meals: F(), lodging: C2_TENT_G, sharedWith: 'Scooby Gang',
129
+ badge: { name: 'Buffy', pronouns: 'she/her' } },
130
+ { first: 'Willow', last: 'Rosenberg', age: 25, gender: 'Woman', meals: F(VEGAN), lodging: C2_TENT_G, sharedWith: 'Scooby Gang' },
131
+ { first: 'Xander', last: 'Harris', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_G, sharedWith: 'Scooby Gang' },
132
+ { first: 'Dawn', last: 'Summers', age: 17, gender: 'Woman', meals: F(VEG), lodging: C2_TENT_G, sharedWith: 'Scooby Gang' },
133
+ ],
134
+ },
135
+ {
136
+ // Game of Thrones: the Starks of Winterfell, in a Camp 1 cabin
137
+ address: us('1 Winterfell Keep', 'Fairbanks', 'AK', '99701'),
138
+ email: 'house.stark@dontsend.com',
139
+ phone: '+19075550107',
140
+ donation: 50,
141
+ campers: [
142
+ { first: 'Eddard', last: 'Stark', age: 64, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'House Stark',
143
+ badge: { name: 'Ned' }, passes: [[CAR, 'Camp 1'], [CAR, 'Long Term']] },
144
+ { first: 'Catelyn', last: 'Stark', age: 64, gender: 'Woman', meals: F(), lodging: C1_CABIN, sharedWith: 'House Stark' },
145
+ { first: 'Sansa', last: 'Stark', age: 17, gender: 'Woman', meals: F(), lodging: C1_CABIN, sharedWith: 'House Stark' },
146
+ { first: 'Arya', last: 'Stark', age: 11, gender: 'Woman', meals: F(), lodging: C1_CABIN, sharedWith: 'House Stark' },
147
+ { first: 'Bran', last: 'Stark', age: 11, gender: 'Man', meals: F(VEG), lodging: C1_CABIN, sharedWith: 'House Stark' },
148
+ { first: 'Rickon', last: 'Stark', age: 4, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'House Stark' },
149
+ ],
150
+ },
151
+ {
152
+ // Firefly: Serenity's crew, mostly no meals, large RVs, on the 50% deposit
153
+ address: us('5932 Firefly Ln', 'Persephone', 'CA', '94008'),
154
+ email: 'serenity.crew@dontsend.com',
155
+ phone: '+16505550108',
156
+ paymentOption: '50% Deposit',
157
+ campers: [
158
+ { first: 'Malcolm', last: 'Reynolds', age: 49, gender: 'Man', lodging: C2_RV_LG, sharedWith: 'Serenity',
159
+ badge: { name: 'Captain Tightpants' }, passes: [[RV_LG, 'Vehicle Camp 2']] },
160
+ { first: 'Zoë', last: 'Washburne', age: 49, gender: 'Woman', lodging: C2_RV_LG, sharedWith: 'Serenity' },
161
+ { first: 'Hoban', last: 'Washburne', age: 49, gender: 'Man', lodging: C2_RV_LG, sharedWith: 'Serenity',
162
+ badge: { name: 'Hoban "Wash" Washburne', pronouns: 'he/him' } },
163
+ { first: 'Inara', last: 'Serra', age: 49, gender: 'Woman', lodging: C2_RV_XL, sharedWith: 'Inara\'s shuttle',
164
+ passes: [[RV_LG, 'Vehicle Camp 2']] },
165
+ { first: 'Jayne', last: 'Cobb', age: 49, gender: 'Man', meals: F(), lodging: C2_RV_LG, sharedWith: 'Serenity' },
166
+ { first: 'Kaywinnet Lee', last: 'Frye', age: 25, gender: 'Woman', lodging: C2_RV_LG, sharedWith: 'Serenity',
167
+ badge: { name: 'Kaylee' } },
168
+ ],
169
+ },
170
+ {
171
+ // The X-Files: the FBI's X-Files unit; the registrar picks their lodging
172
+ address: us('935 Pennsylvania Ave NW', 'Washington', 'DC', '20535'),
173
+ email: 'x.files@dontsend.com',
174
+ phone: '+12025550109',
175
+ comments: 'The truth is out there.',
176
+ campers: [
177
+ { first: 'Fox', last: 'Mulder', age: 49, gender: 'Man', meals: D(), lodging: REGISTRAR,
178
+ badge: { name: 'Spooky Mulder' }, passes: [[CAR, 'Park Anywhere']] },
179
+ { first: 'Dana', last: 'Scully', age: 49, gender: 'Woman', meals: F(), lodging: REGISTRAR,
180
+ volunteer: { skills: ['Medical'], credentials: 'MD, forensic pathology' }, email: 'dana.scully@dontsend.com' },
181
+ { first: 'Walter', last: 'Skinner', age: 64, gender: 'Man', meals: D(), lodging: REGISTRAR },
182
+ ],
183
+ },
184
+ {
185
+ // The Witcher: Geralt's family, paid for from Poland, in a Camp 3 tent
186
+ address: abroad('Kaer Morhen', 'Kraków', 'Małopolskie', '30-001', 'Poland'),
187
+ email: 'kaer.morhen@dontsend.com',
188
+ phone: '+48125550110',
189
+ campers: [
190
+ { first: 'Geralt', last: 'of Rivia', age: 65, gender: 'Man', meals: F(), lodging: C3_TENT_L, sharedWith: 'Geralt\'s family',
191
+ address: us('12 Roach Stable Rd', 'Healdsburg', 'CA', '95448') },
192
+ { first: 'Yennefer', last: 'of Vengerberg', age: 65, gender: 'Woman', meals: F(VEG), lodging: C3_TENT_L,
193
+ sharedWith: 'Geralt\'s family' },
194
+ { first: 'Cirilla', last: 'Fiona Elen Riannon', age: 17, gender: 'Woman', meals: F(), lodging: C3_TENT_L,
195
+ sharedWith: 'Geralt\'s family', badge: { name: 'Ciri' } },
196
+ { first: 'Julian', last: 'Alfred Pankratz, Viscount de Lettenhove', age: 49, gender: 'Man', meals: F(), lodging: C3_TENT_I,
197
+ badge: { name: 'Jaskier', pronouns: 'he/him' } },
198
+ ],
199
+ },
200
+ {
201
+ // Supernatural: the Winchesters and Castiel; the Impala parks anywhere
202
+ address: us('1 Bunker Rd', 'Lebanon', 'KS', '66952'),
203
+ email: 'winchester.bros@dontsend.com',
204
+ phone: '+17855550111',
205
+ campers: [
206
+ { first: 'John', last: 'Winchester, Sr.', age: 64, gender: 'Man', meals: F(), lodging: C3_TENT_K,
207
+ passes: [[CAR, 'Park Anywhere'], [CAR, 'Short Term'], [CAR, 'Camp 3']] },
208
+ { first: 'Dean', last: 'Winchester', age: 49, gender: 'Man', meals: F(), lodging: C3_TENT_K, sharedWith: 'Sam Winchester',
209
+ badge: { name: 'Dean' } },
210
+ { first: 'Sam', last: 'Winchester', age: 49, gender: 'Man', meals: F(VEG), lodging: C3_TENT_K, sharedWith: 'Dean Winchester' },
211
+ { first: 'Castiel', last: 'Angel of the Lord', age: 65, gender: 'Nonbinary/other', meals: D(), lodging: C3_TENT_K,
212
+ badge: { name: 'Cas', pronouns: 'he/they' } },
213
+ ],
214
+ },
215
+ {
216
+ // Stranger Things: the Party and their parents, in a Camp 3 cabin
217
+ address: us('1 Maple St', 'Hawkins', 'IN', '46201'),
218
+ email: 'hawkins.party@dontsend.com',
219
+ phone: '+13175550112',
220
+ campers: [
221
+ { first: 'Joyce', last: 'Byers', age: 49, gender: 'Woman', meals: F(), lodging: C3_CABIN, sharedWith: 'Hawkins party',
222
+ passes: [[CAR, 'Camp 3']] },
223
+ { first: 'Jim', last: 'Hopper', age: 49, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Hawkins party',
224
+ badge: { name: 'Chief Hopper' } },
225
+ { first: 'Jane', last: 'Hopper', age: 17, gender: 'Woman', meals: F(), lodging: C3_CABIN, sharedWith: 'Hawkins party',
226
+ badge: { name: 'Eleven', pronouns: 'she/her' } },
227
+ { first: 'Mike', last: 'Wheeler', age: 17, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Hawkins party' },
228
+ { first: 'Dustin', last: 'Henderson', age: 17, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Hawkins party' },
229
+ { first: 'Will', last: 'Byers', age: 17, gender: 'Man', meals: F(VEG), lodging: C3_CABIN, sharedWith: 'Hawkins party' },
230
+ ],
231
+ },
232
+ {
233
+ // Stargate SG-1: SG-1, in a Camp 2 tent
234
+ address: us('1 Cheyenne Mountain Complex', 'Colorado Springs', 'CO', '80914'),
235
+ email: 'sg1@dontsend.com',
236
+ phone: '+17195550113',
237
+ campers: [
238
+ { first: 'Jack', last: 'O\'Neill', age: 64, gender: 'Man', meals: F(), lodging: C2_TENT_H, sharedWith: 'SG-1',
239
+ badge: { name: 'Jack O\'Neill', pronouns: 'two Ls' }, passes: [[CAR, 'Camp 2']] },
240
+ { first: 'Samantha', last: 'Carter', age: 49, gender: 'Woman', meals: F(), lodging: C2_TENT_H, sharedWith: 'SG-1',
241
+ volunteer: { skills: ['Emergency management', 'Firefighting'], credentials: 'Lt. Col., USAF; PhD' } },
242
+ { first: 'Daniel', last: 'Jackson', age: 49, gender: 'Man', meals: F(VEG), lodging: C2_TENT_H, sharedWith: 'SG-1' },
243
+ { first: 'Teal\'c', last: 'of Chulak', age: 65, gender: 'Man', meals: F(), lodging: C2_TENT_H, sharedWith: 'SG-1' },
244
+ ],
245
+ },
246
+ {
247
+ // The Boys: the Boys, paid for from London, in a Camp 1 RV
248
+ address: abroad('221 Leman St', 'London', 'Greater London', 'E1 8PY', 'United Kingdom'),
249
+ email: 'the.boys@dontsend.com',
250
+ phone: '+442075550114',
251
+ campers: [
252
+ { first: 'Billy', last: 'Butcher', age: 49, gender: 'Man', meals: F(), lodging: C1_RV_SM, sharedWith: 'The Boys',
253
+ passes: [[RV_SM, 'Vehicle Camp 1']] },
254
+ { first: 'Hughie', last: 'Campbell', age: 25, gender: 'Man', meals: F(), lodging: C1_RV_SM, sharedWith: 'The Boys',
255
+ address: us('300 Vought Tower', 'New York', 'NY', '10001') },
256
+ { first: 'Annie', last: 'January', age: 25, gender: 'Woman', meals: F(VEG), lodging: C1_RV_SM, sharedWith: 'The Boys',
257
+ badge: { name: 'Starlight' } },
258
+ { first: 'Marvin', last: 'Milk', age: 49, gender: 'Man', meals: D(), lodging: C1_RV_SM, sharedWith: 'The Boys',
259
+ badge: { name: 'Mother\'s Milk', pronouns: 'he/him' } },
260
+ { first: 'Serge', last: 'Frenchie', age: 49, gender: 'Man', meals: D(VEG), lodging: C1_RV_SM, sharedWith: 'The Boys' },
261
+ { first: 'Kimiko', last: 'Miyashiro', age: 25, gender: 'Woman', meals: D(), lodging: C1_RV_SM, sharedWith: 'The Boys' },
262
+ ],
263
+ },
264
+ {
265
+ // Babylon 5: the station's command staff and ambassadors, in a Camp 2 cabin
266
+ address: us('5 Babylon Station', 'Tucson', 'AZ', '85701'),
267
+ email: 'babylon5@dontsend.com',
268
+ phone: '+15205550115',
269
+ donation: 250,
270
+ campers: [
271
+ { first: 'John', last: 'Sheridan', age: 49, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Babylon 5' },
272
+ { first: 'Delenn', last: 'of Minbar', age: 49, gender: 'Woman', meals: F(VEGAN), lodging: C2_CABIN, sharedWith: 'Babylon 5',
273
+ badge: { name: 'Ambassador Delenn' } },
274
+ { first: 'Michael', last: 'Garibaldi', age: 49, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Babylon 5' },
275
+ { first: 'Susan', last: 'Ivanova', age: 49, gender: 'Woman', meals: F(), lodging: C2_CABIN, sharedWith: 'Babylon 5' },
276
+ { first: 'G\'Kar', last: 'of Narn', age: 64, gender: 'Man', meals: D(), lodging: C2_CABIN, sharedWith: 'Babylon 5' },
277
+ { first: 'Londo', last: 'Mollari', age: 64, gender: 'Man', meals: D(), lodging: C2_CABIN, sharedWith: 'Babylon 5' },
278
+ ],
279
+ },
280
+ {
281
+ // The Avengers: the original six, in a Camp 1 cabin, with the biggest donation
282
+ address: us('890 Fifth Avenue', 'New York', 'NY', '10021'),
283
+ email: 'avengers.assemble@dontsend.com',
284
+ phone: '+12125550116',
285
+ donation: 10000,
286
+ heardFrom: 'Nick Fury',
287
+ campers: [
288
+ { first: 'Tony', last: 'Stark', age: 49, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'Avengers',
289
+ passes: [[CAR, 'Park Anywhere'], [CAR, 'Long Term']] },
290
+ { first: 'Steve', last: 'Rogers', age: 65, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'Avengers' },
291
+ { first: 'Natasha', last: 'Romanoff', age: 49, gender: 'Woman', meals: F(), lodging: C1_CABIN, sharedWith: 'Avengers' },
292
+ { first: 'Bruce', last: 'Banner', age: 49, gender: 'Man', meals: F(VEG), lodging: C1_CABIN, sharedWith: 'Avengers',
293
+ volunteer: { skills: ['Medical'], credentials: 'MD, PhD' } },
294
+ { first: 'Thor', last: 'Odinson', age: 65, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'Avengers' },
295
+ { first: 'Clint', last: 'Barton', age: 49, gender: 'Man', meals: F(), lodging: C1_CABIN, sharedWith: 'Avengers' },
296
+ ],
297
+ },
298
+ {
299
+ // Harry Potter: the Malfoys, in a large Camp 1 RV
300
+ address: us('1 Malfoy Manor Dr', 'Wiltshire', 'VT', '05001'),
301
+ email: 'malfoy.manor@dontsend.com',
302
+ phone: '+18025550117',
303
+ comments: 'Lucius asks that the Malfoys are not lodged near the Weasleys.',
304
+ campers: [
305
+ { first: 'Lucius', last: 'Malfoy', age: 64, gender: 'Man', meals: F(), lodging: C1_RV_LG, sharedWith: 'Malfoy family',
306
+ passes: [[RV_LG, 'Vehicle Camp 1']] },
307
+ { first: 'Narcissa', last: 'Malfoy', age: 64, gender: 'Woman', meals: F(VEG), lodging: C1_RV_LG, sharedWith: 'Malfoy family' },
308
+ { first: 'Draco', last: 'Malfoy', age: 17, gender: 'Man', meals: F(), lodging: C1_RV_LG, sharedWith: 'Malfoy family' },
309
+ ],
310
+ },
311
+ {
312
+ // Harry Potter: the Weasleys, in a Camp 2 tent
313
+ address: us('1 The Burrow', 'Ottery St Catchpole', 'MA', '01001'),
314
+ email: 'the.burrow@dontsend.com',
315
+ phone: '+14135550118',
316
+ campers: [
317
+ { first: 'Arthur', last: 'Weasley', age: 64, gender: 'Man', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family',
318
+ passes: [[CAR, 'Camp 2']] },
319
+ { first: 'Molly', last: 'Weasley', age: 64, gender: 'Woman', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family' },
320
+ { first: 'Ron', last: 'Weasley', age: 17, gender: 'Man', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family' },
321
+ { first: 'Ginny', last: 'Weasley', age: 11, gender: 'Woman', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family' },
322
+ { first: 'Fred', last: 'Weasley', age: 17, gender: 'Man', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family' },
323
+ { first: 'George', last: 'Weasley', age: 17, gender: 'Man', meals: F(), lodging: C2_TENT_E, sharedWith: 'Weasley family' },
324
+ ],
325
+ },
326
+ {
327
+ // X-Men: the first class; the registrar picks their lodging
328
+ address: us('1407 Graymalkin Ln', 'Salem Center', 'NY', '10560'),
329
+ email: 'xavier.school@dontsend.com',
330
+ phone: '+19145550119',
331
+ campers: [
332
+ { first: 'Charles', last: 'Xavier', age: 65, gender: 'Man', meals: F(), lodging: REGISTRAR, badge: { name: 'Professor X' } },
333
+ { first: 'Jean', last: 'Grey', age: 25, gender: 'Woman', meals: F(), lodging: REGISTRAR },
334
+ { first: 'Scott', last: 'Summers', age: 25, gender: 'Man', meals: F(), lodging: REGISTRAR, badge: { name: 'Cyclops' } },
335
+ { first: 'Ororo', last: 'Munroe', age: 49, gender: 'Woman', meals: F(VEG), lodging: REGISTRAR, badge: { name: 'Storm' } },
336
+ { first: 'James "Logan"', last: 'Howlett', age: 65, gender: 'Man', meals: F(), lodging: REGISTRAR,
337
+ badge: { name: 'Wolverine' }, passes: [[CAR, 'Park Anywhere']] },
338
+ { first: 'Kitty', last: 'Pryde', age: 17, gender: 'Woman', meals: F(VEG), lodging: REGISTRAR },
339
+ ],
340
+ },
341
+ {
342
+ // Jurassic Park: the park's first tour group, in a Camp 3 RV
343
+ address: us('1 Isla Nublar Way', 'Choteau', 'MT', '59422'),
344
+ email: 'isla.nublar@dontsend.com',
345
+ phone: '+14065550120',
346
+ campers: [
347
+ { first: 'Alan', last: 'Grant', age: 49, gender: 'Man', meals: F(), lodging: C3_RV_SM, sharedWith: 'Jurassic Park tour',
348
+ passes: [[RV_SM, 'Vehicle Camp 3']] },
349
+ { first: 'Ellie', last: 'Sattler', age: 49, gender: 'Woman', meals: F(VEG), lodging: C3_RV_SM, sharedWith: 'Jurassic Park tour' },
350
+ { first: 'Ian', last: 'Malcolm', age: 49, gender: 'Man', meals: D(), lodging: C3_RV_SM, sharedWith: 'Jurassic Park tour' },
351
+ { first: 'Lex', last: 'Murphy', age: 17, gender: 'Woman', meals: F(VEG), lodging: C3_RV_SM, sharedWith: 'Jurassic Park tour' },
352
+ { first: 'Tim', last: 'Murphy', age: 11, gender: 'Man', meals: F(), lodging: C3_RV_SM, sharedWith: 'Jurassic Park tour' },
353
+ ],
354
+ },
355
+ {
356
+ // Ghostbusters (Afterlife, Frozen Empire): the Spenglers, second half only, in a Camp 3 tent
357
+ address: us('1 Spengler Farm Rd', 'Summerville', 'OK', '74001'),
358
+ email: 'spengler.farm@dontsend.com',
359
+ phone: '+19185550121',
360
+ campers: [
361
+ { first: 'Callie', last: 'Spengler', age: 49, gender: 'Woman', session: SECOND_HALF, meals: B(), lodging: C3_TENT_L,
362
+ sharedWith: 'Spenglers', passes: [[CAR, 'Camp 3']] },
363
+ { first: 'Gary', last: 'Grooberson', age: 49, gender: 'Man', session: SECOND_HALF, meals: B(), lodging: C3_TENT_L,
364
+ sharedWith: 'Spenglers' },
365
+ { first: 'Trevor', last: 'Spengler', age: 17, gender: 'Man', session: SECOND_HALF, meals: B(), lodging: C3_TENT_L,
366
+ sharedWith: 'Spenglers' },
367
+ { first: 'Phoebe', last: 'Spengler', age: 11, gender: 'Woman', session: SECOND_HALF, meals: B(VEG), lodging: C3_TENT_L,
368
+ sharedWith: 'Spenglers' },
369
+ { first: 'Podcast', last: '(Podcast)', age: 11, gender: 'Man', session: SECOND_HALF, lodging: C3_TENT_L, sharedWith: 'Spenglers' },
370
+ ],
371
+ },
372
+ {
373
+ // The Matrix: the crew of the Nebuchadnezzar, filling Camp 3 Tent Area I with Jaskier
374
+ address: us('101 Zion Way', 'Chicago', 'IL', '60601'),
375
+ email: 'nebuchadnezzar@dontsend.com',
376
+ phone: '+13125550122',
377
+ campers: [
378
+ { first: 'Morpheus', last: 'of Zion', age: 49, gender: 'Man', meals: F(), lodging: C3_TENT_I, sharedWith: 'Nebuchadnezzar' },
379
+ { first: 'Thomas', last: 'Anderson', age: 49, gender: 'Man', meals: F(VEGAN), lodging: C3_TENT_I, sharedWith: 'Nebuchadnezzar',
380
+ badge: { name: 'Neo' } },
381
+ { first: 'Trinity', last: 'of Zion', age: 49, gender: 'Woman', meals: F(), lodging: C3_TENT_I, sharedWith: 'Nebuchadnezzar' },
382
+ { first: 'Niobe', last: 'of Zion', age: 49, gender: 'Woman', meals: D(), lodging: C3_TENT_I },
383
+ ],
384
+ },
385
+ {
386
+ // Young Justice: the Team, in a Camp 2 tent
387
+ address: us('1 Mount Justice', 'Happy Harbor', 'RI', '02840'),
388
+ email: 'the.team@dontsend.com',
389
+ phone: '+14015550123',
390
+ campers: [
391
+ { first: 'Kaldur\'ahm', last: 'of Atlantis', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_F, sharedWith: 'The Team',
392
+ badge: { name: 'Aqualad' } },
393
+ { first: 'Dick', last: 'Grayson', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_F, sharedWith: 'The Team',
394
+ badge: { name: 'Nightwing', pronouns: 'he/him' } },
395
+ { first: 'Wally', last: 'West', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_F, sharedWith: 'The Team' },
396
+ { first: 'M\'gann', last: 'M\'orzz', age: 25, gender: 'Woman', meals: F(VEG), lodging: C2_TENT_F, sharedWith: 'The Team',
397
+ badge: { name: 'Miss Martian' } },
398
+ { first: 'Conner', last: 'Kent', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_F, sharedWith: 'The Team' },
399
+ ],
400
+ },
401
+ {
402
+ // Adventure Time: the Land of Ooo, in a Camp 1 tent
403
+ address: us('1 Tree Fort Ln', 'Ooo', 'OH', '43001'),
404
+ email: 'tree.fort@dontsend.com',
405
+ phone: '+16145550124',
406
+ campers: [
407
+ { first: 'Finn', last: 'Mertens', age: 17, gender: 'Man', meals: F(), lodging: C1_TENT_C, sharedWith: 'Tree Fort' },
408
+ { first: 'Jake', last: 'the Dog', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_C, sharedWith: 'Tree Fort' },
409
+ { first: 'Bonnibel', last: 'Bubblegum', age: 65, gender: 'Woman', meals: F(VEGAN), lodging: C1_TENT_C,
410
+ badge: { name: 'Princess Bubblegum', pronouns: 'she/her' } },
411
+ { first: 'Marceline', last: 'Abadeer', age: 65, gender: 'Woman', meals: D(), lodging: C1_TENT_C,
412
+ badge: { name: 'Marceline the Vampire Queen' } },
413
+ { first: 'BMO', last: 'Mertens', age: 4, gender: 'Nonbinary/other', lodging: C1_TENT_C, sharedWith: 'Tree Fort' },
414
+ ],
415
+ },
416
+ {
417
+ // Scott Pilgrim vs. the World: Sex Bob-Omb and friends, paid from Toronto
418
+ address: abroad('1 Casa Loma Ave', 'Toronto', 'ON', 'M5R 1X8', 'Canada'),
419
+ email: 'sex.bob.omb@dontsend.com',
420
+ phone: '+14165550125',
421
+ campers: [
422
+ { first: 'Scott', last: 'Pilgrim', age: 25, gender: 'Man', meals: F(), lodging: C2_RV_SM, sharedWith: 'Sex Bob-Omb',
423
+ passes: [[RV_SM, 'Vehicle Camp 2']] },
424
+ { first: 'Ramona', last: 'Flowers', age: 25, gender: 'Woman', meals: F(VEGAN), lodging: C2_RV_SM, sharedWith: 'Sex Bob-Omb',
425
+ email: 'ramona.flowers@dontsend.com' },
426
+ { first: 'Kim', last: 'Pine', age: 25, gender: 'Woman', meals: F(), lodging: C2_RV_SM, sharedWith: 'Sex Bob-Omb' },
427
+ { first: 'Stephen', last: 'Stills', age: 25, gender: 'Man', meals: F(), lodging: C2_RV_SM, sharedWith: 'Sex Bob-Omb' },
428
+ { first: 'Wallace', last: 'Wells', age: 25, gender: 'Man', meals: D(), lodging: C2_RV_SM,
429
+ badge: { name: 'Wallace "Cool Gay Roommate" Wells', pronouns: 'he/him' } },
430
+ ],
431
+ },
432
+ {
433
+ // Veronica Mars: the Mars family and friends, first half only
434
+ address: us('1 Neptune High Rd', 'Neptune', 'CA', '92651'),
435
+ email: 'mars.investigations@dontsend.com',
436
+ phone: '+19495550126',
437
+ campers: [
438
+ { first: 'Keith', last: 'Mars', age: 49, gender: 'Man', session: FIRST_HALF, meals: A(), lodging: C1_TENT_C,
439
+ passes: [[CAR, 'Short Term']] },
440
+ { first: 'Veronica', last: 'Mars', age: 17, gender: 'Woman', session: FIRST_HALF, meals: A(), lodging: C1_TENT_C,
441
+ sharedWith: 'Keith Mars' },
442
+ { first: 'Wallace', last: 'Fennel', age: 17, gender: 'Man', session: FIRST_HALF, lodging: C1_TENT_C },
443
+ { first: 'Logan', last: 'Echolls', age: 17, gender: 'Man', session: FIRST_HALF, meals: A(VEG), lodging: C1_TENT_C },
444
+ ],
445
+ },
446
+ {
447
+ // Critical Role: Vox Machina, in a Camp 2 cabin
448
+ address: us('1 Whitestone Castle Rd', 'Whitestone', 'WA', '98001'),
449
+ email: 'vox.machina@dontsend.com',
450
+ phone: '+13235550127',
451
+ heardFrom: 'A bard in Emon',
452
+ campers: [
453
+ { first: 'Vex\'ahlia', last: 'de Rolo', age: 25, gender: 'Woman', meals: F(), lodging: C2_CABIN, sharedWith: 'Vox Machina',
454
+ badge: { name: 'Lady Vex\'ahlia, Baroness of Whitestone' } },
455
+ { first: 'Vax\'ildan', last: 'Vessar', age: 25, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Vox Machina' },
456
+ { first: 'Percival', last: 'Fredrickstein von Musel Klossowski de Rolo III', age: 25, gender: 'Man', meals: F(),
457
+ lodging: C2_CABIN, sharedWith: 'Vox Machina', badge: { name: 'Percy' } },
458
+ { first: 'Grog', last: 'Strongjaw', age: 49, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Vox Machina' },
459
+ { first: 'Keyleth', last: 'of the Air Ashari', age: 25, gender: 'Woman', meals: F(VEGAN), lodging: C2_CABIN, sharedWith: 'Vox Machina' },
460
+ { first: 'Pike', last: 'Trickfoot', age: 49, gender: 'Woman', meals: F(VEG), lodging: C2_CABIN, sharedWith: 'Vox Machina',
461
+ volunteer: { skills: ['Medical'], credentials: 'Cleric of the Everlight' } },
462
+ { first: 'Scanlan', last: 'Shorthalt', age: 49, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Vox Machina',
463
+ passes: [[CAR, 'Camp 2']] },
464
+ { first: 'Taryon', last: 'Darrington', age: 25, gender: 'Man', meals: F(), lodging: C2_CABIN, sharedWith: 'Vox Machina' },
465
+ ],
466
+ },
467
+ {
468
+ // Dimension 20: the Fantasy High party (the Bad Kids), in a Camp 3 cabin
469
+ address: us('1 Aguefort Adventuring Academy', 'Elmville', 'OR', '97301'),
470
+ email: 'bad.kids@dontsend.com',
471
+ phone: '+13235550128',
472
+ campers: [
473
+ { first: 'Figueroth', last: 'Faeth', age: 17, gender: 'Woman', meals: F(), lodging: C3_CABIN, sharedWith: 'Bad Kids',
474
+ badge: { name: 'Fig "Baleful Strega" Faeth', pronouns: 'she/her' } },
475
+ { first: 'Gorgug', last: 'Thistlespring', age: 17, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Bad Kids' },
476
+ { first: 'Kristen', last: 'Applebees', age: 17, gender: 'Woman', meals: F(VEG), lodging: C3_CABIN, sharedWith: 'Bad Kids' },
477
+ { first: 'Fabian', last: 'Aramais Seacaster', age: 17, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Bad Kids' },
478
+ { first: 'Riz', last: 'Gukgak', age: 17, gender: 'Man', meals: F(), lodging: C3_CABIN, sharedWith: 'Bad Kids',
479
+ badge: { name: 'The Ball' } },
480
+ { first: 'Adaine', last: 'Abernant', age: 17, gender: 'Woman', meals: F(VEGAN), lodging: C3_CABIN, sharedWith: 'Bad Kids' },
481
+ { first: 'Arthur', last: 'Aguefort', age: 65, gender: 'Man', meals: D(), lodging: C3_CABIN,
482
+ email: 'headmaster.aguefort@dontsend.com', passes: [[CAR, 'Camp 3']] },
483
+ ],
484
+ },
485
+ {
486
+ // Ted Lasso: AFC Richmond's coaches and front office, in a Camp 1 tent
487
+ address: us('1 Nelson Rd', 'Wichita', 'KS', '67202'),
488
+ email: 'afc.richmond@dontsend.com',
489
+ phone: '+13165550129',
490
+ comments: 'The sign over the door says "Believe." We\'d like to camp near it, please.',
491
+ campers: [
492
+ { first: 'Ted', last: 'Lasso', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_B, sharedWith: 'Lasso family',
493
+ badge: { name: 'Coach Lasso' }, passes: [[CAR, 'Camp 1']] },
494
+ { first: 'Henry', last: 'Lasso', age: 11, gender: 'Man', meals: F(), lodging: C1_TENT_B, sharedWith: 'Lasso family' },
495
+ { first: 'Rebecca', last: 'Welton', age: 49, gender: 'Woman', meals: F(VEG), lodging: C1_TENT_B },
496
+ { first: 'Roy', last: 'Kent', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_B, sharedWith: 'Keeley Jones' },
497
+ { first: 'Keeley', last: 'Jones', age: 25, gender: 'Woman', meals: F(VEGAN), lodging: C1_TENT_B, sharedWith: 'Roy Kent' },
498
+ { first: 'Coach', last: 'Beard', age: 49, gender: 'Man', meals: D(), lodging: C1_TENT_B },
499
+ ],
500
+ },
501
+ {
502
+ // Spider-Man: the Parkers and friends, in a Camp 2 tent
503
+ address: us('20 Ingram St', 'Queens', 'NY', '11375'),
504
+ email: 'friendly.neighborhood@dontsend.com',
505
+ phone: '+17185550130',
506
+ campers: [
507
+ { first: 'May', last: 'Parker', age: 65, gender: 'Woman', meals: F(), lodging: C2_TENT_G, sharedWith: 'Parkers',
508
+ passes: [[CAR, 'Long Term']] },
509
+ { first: 'Peter', last: 'Parker', age: 25, gender: 'Man', meals: F(), lodging: C2_TENT_G, sharedWith: 'Parkers' },
510
+ { first: 'Mary Jane', last: 'Watson', age: 25, gender: 'Woman', meals: F(VEG), lodging: C2_TENT_G, sharedWith: 'Parkers',
511
+ badge: { name: 'MJ' } },
512
+ { first: 'Miles', last: 'Morales', age: 17, gender: 'Man', meals: F(), lodging: C2_TENT_G },
513
+ { first: 'Gwen', last: 'Stacy', age: 17, gender: 'Woman', meals: F(VEGAN), lodging: C2_TENT_G },
514
+ ],
515
+ },
516
+ {
517
+ // Interview with the Vampire: the coven, second half only, few meals
518
+ address: us('1 Royal St, "The Townhouse"', 'New Orleans', 'LA', '70130'),
519
+ email: 'rue.royale@dontsend.com',
520
+ phone: '+15045550131',
521
+ comments: 'Late arrivals; we prefer evenings.\nNo garlic, please.',
522
+ campers: [
523
+ { first: 'Louis', last: 'de Pointe du Lac', age: 65, gender: 'Man', session: SECOND_HALF, lodging: C3_TENT_J,
524
+ sharedWith: 'Lestat de Lioncourt' },
525
+ { first: 'Lestat', last: 'de Lioncourt', age: 65, gender: 'Man', session: SECOND_HALF, lodging: C3_TENT_J,
526
+ sharedWith: 'Louis de Pointe du Lac', badge: { name: 'Lestat, the Vampire', pronouns: 'he/him' } },
527
+ { first: 'Claudia', last: 'de Pointe du Lac', age: 17, gender: 'Woman', session: SECOND_HALF, meals: B(), lodging: C3_TENT_J },
528
+ { first: 'Armand', last: 'of Paris', age: 65, gender: 'Man', session: SECOND_HALF, lodging: C3_TENT_J },
529
+ { first: 'Daniel', last: 'Molloy', age: 64, gender: 'Man', session: SECOND_HALF, meals: B(), lodging: C3_TENT_J,
530
+ passes: [[CAR, 'Short Term']] },
531
+ ],
532
+ },
533
+ {
534
+ // The Pitt: the Pittsburgh Trauma Medical Center ED, all medical volunteers, in a Camp 2 cabin
535
+ address: us('1 Trauma Center Blvd', 'Pittsburgh', 'PA', '15213'),
536
+ email: 'pttmc.ed@dontsend.com',
537
+ phone: '+14125550132',
538
+ campers: [
539
+ { first: 'Michael', last: 'Robinavitch', age: 49, gender: 'Man', meals: D(), lodging: C2_CABIN,
540
+ badge: { name: 'Dr. Robby' }, volunteer: { skills: ['Medical', 'Emergency management'], credentials: 'MD, attending emergency physician' } },
541
+ { first: 'Dana', last: 'Evans', age: 49, gender: 'Woman', meals: D(), lodging: C2_CABIN,
542
+ volunteer: { skills: ['Medical', 'Counseling/psychiatric'], credentials: 'RN, charge nurse' } },
543
+ { first: 'Cassie', last: 'McKay', age: 25, gender: 'Woman', meals: D(VEG), lodging: C2_CABIN,
544
+ volunteer: { skills: ['Medical'], credentials: 'MD (resident)' } },
545
+ { first: 'Mel', last: 'King', age: 25, gender: 'Woman', meals: D(VEG), lodging: C2_CABIN,
546
+ volunteer: { skills: ['Medical', 'Counseling/psychiatric'], credentials: 'MD (resident)' } },
547
+ ],
548
+ },
549
+ {
550
+ // Inglourious Basterds: the Basterds, in a Camp 1 tent
551
+ address: us('1 Smoky Mountain Rd', 'Maynardville', 'TN', '37807'),
552
+ email: 'the.basterds@dontsend.com',
553
+ phone: '+18655550133',
554
+ campers: [
555
+ { first: 'Aldo', last: 'Raine', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_C,
556
+ badge: { name: 'Lt. Aldo "the Apache" Raine' }, passes: [[CAR, 'Camp 1']] },
557
+ { first: 'Donny', last: 'Donowitz', age: 25, gender: 'Man', meals: F(), lodging: C1_TENT_C, badge: { name: 'The Bear Jew' } },
558
+ { first: 'Hugo', last: 'Stiglitz', age: 49, gender: 'Man', meals: F(), lodging: C1_TENT_C },
559
+ { first: 'Shosanna', last: 'Dreyfus', age: 25, gender: 'Woman', meals: F(VEG), lodging: C1_TENT_C,
560
+ address: abroad('1 Rue du Cinéma, "Le Gamaar"', 'Paris', 'Île-de-France', '75001', 'France') },
561
+ ],
562
+ },
563
+ {
564
+ // Spider-Noir: Ben Reilly, on his own in a large Camp 3 RV
565
+ address: us('1 Gumshoe Alley', 'New York', 'NY', '10002'),
566
+ email: 'spider.noir@dontsend.com',
567
+ phone: '+12125550134',
568
+ campers: [
569
+ { first: 'Ben', last: 'Reilly', age: 49, gender: 'Man', meals: D(), lodging: C3_RV_LG,
570
+ badge: { name: 'The Spider', pronouns: 'he/him' }, passes: [[RV_LG, 'Vehicle Camp 3'], [CAR, 'Short Term']] },
571
+ ],
572
+ },
573
+ {
574
+ // Delicious in Dungeon: Laios's party, all meals, on the 50% deposit
575
+ address: abroad('1 Golden Kingdom Rd', 'Sapporo', 'Hokkaido', '060-0001', 'Japan'),
576
+ email: 'laios.party@dontsend.com',
577
+ phone: '+81115550135',
578
+ paymentOption: '50% Deposit',
579
+ comments: 'Senshi will cook for the party, but they would like all meals anyway.',
580
+ campers: [
581
+ { first: 'Laios', last: 'Touden', age: 25, gender: 'Man', meals: F(), lodging: C3_RV_SM, sharedWith: 'Laios\'s party',
582
+ address: us('2 Dungeon Entrance Rd', 'Arcata', 'CA', '95521'), passes: [[RV_SM, 'Vehicle Camp 3']] },
583
+ { first: 'Falin', last: 'Touden', age: 25, gender: 'Woman', meals: F(VEG), lodging: C3_RV_SM, sharedWith: 'Laios\'s party' },
584
+ { first: 'Marcille', last: 'Donato', age: 49, gender: 'Woman', meals: F(VEG), lodging: C3_RV_SM, sharedWith: 'Laios\'s party' },
585
+ { first: 'Chilchuck', last: 'Tims', age: 49, gender: 'Man', meals: F(), lodging: C3_RV_SM, sharedWith: 'Laios\'s party' },
586
+ { first: 'Senshi', last: 'of Izganda', age: 65, gender: 'Man', meals: F(), lodging: C3_RV_SM, sharedWith: 'Laios\'s party',
587
+ badge: { name: 'Senshi' } },
55
588
  ],
56
589
  },
57
590
  ];
58
- function makeRegistration(reg, lodgingMap) {
591
+ const mealsOf = (camper) => (camper.meals
592
+ ? { meal_plan: mealsLookup[camper.meals.plan], meal_type: camper.meals.type }
593
+ : { meal_plan: 'No meals' });
594
+ function makeRegistration(household, lodgingMap) {
595
+ const [payer] = household.campers;
59
596
  return {
60
- 'formData': {
61
- 'payment': {
62
- 'payer_billing_address': {
63
- 'country': 'United States',
64
- 'street_address': reg.address[0],
65
- 'city': reg.address[1],
66
- 'state_or_province': reg.address[2],
67
- 'zip_code': reg.address[3],
68
- },
69
- 'payer_first_name': reg.campers[0][2],
70
- 'payer_last_name': reg.campers[0][3],
71
- 'payer_number': '+15555555555',
597
+ formData: {
598
+ payment: {
599
+ payer_billing_address: household.address,
600
+ payer_first_name: payer.first,
601
+ payer_last_name: payer.last,
602
+ payer_number: household.phone,
72
603
  },
73
- 'campers': reg.campers.map((c) => ({
74
- 'age': ageLookup[c[0]],
75
- 'meals': {
76
- ...(!c[7].length ? { meal_plan: 'No meals' } : {
77
- meal_plan: mealsLookup[c[7].split('|')[0]],
78
- meal_type: mealTypeLookup[c[7].split('|')[1]],
79
- })
80
- },
81
- 'session': 'Full camp',
82
- 'address_different_than_payer': false,
83
- 'lodging': {
84
- 'lodging_requested': {
85
- 'choices': [lodgingMap[c[4]].id, lodgingMap[c[5]].id, lodgingMap[c[6]].id],
86
- 'id': lodgingMap[c[6]].id,
87
- 'name': 'Something',
604
+ campers: household.campers.map(camper => ({
605
+ first_name: camper.first,
606
+ last_name: camper.last,
607
+ ...(camper.age ? { age: ageLookup[camper.age] } : {}),
608
+ gender: camper.gender,
609
+ ...(camper.email ? { email: camper.email } : {}),
610
+ session: camper.session ?? 'Full camp',
611
+ meals: mealsOf(camper),
612
+ name_badge: camper.badge ? { purchase: true, ...camper.badge } : { purchase: false },
613
+ good_samaritan: camper.volunteer ? { volunteer: true, ...camper.volunteer } : { volunteer: false },
614
+ address_different_than_payer: Boolean(camper.address),
615
+ ...(camper.address ? { camper_address: camper.address } : {}),
616
+ parking_passes: (camper.passes ?? []).map(([vehicle_type, pass_type]) => ({ vehicle_type, pass_type })),
617
+ lodging: {
618
+ lodging_requested: {
619
+ choices: camper.lodging.map(key => lodgingMap[key].id),
620
+ id: lodgingMap[camper.lodging[camper.lodging.length - 1]].id,
621
+ name: 'Something',
88
622
  },
89
- ...(c[8] ? { lodging_shared: true, lodging_shared_with: c[8] } : {})
623
+ ...(camper.sharedWith ? { lodging_shared: true, lodging_shared_with: camper.sharedWith } : {}),
90
624
  },
91
- 'first_name': c[2],
92
- 'last_name': c[3],
93
- 'gender': genderLookup[c[1]],
94
625
  })),
95
- 'registrant_email': reg.email,
626
+ registrant_email: household.email,
627
+ ...(household.donation ? { lta_donation: household.donation } : {}),
628
+ ...(household.heardFrom ? { how_did_you_hear: household.heardFrom } : {}),
629
+ ...(household.comments ? { comments: household.comments } : {}),
96
630
  },
97
- 'pricingResults': {
98
- 'campers': reg.campers.map(() => ({
99
- 'tuition': 0,
100
- 'meals': 0,
101
- 'total': 0
102
- })),
103
- 'parking': 65 * (reg.parking_passes || 1),
104
- 'donation': 0,
105
- 'total': 0,
106
- 'tuition': 0,
107
- 'meals': 0
631
+ // The server prices each registration itself; this is only what a client
632
+ // would report
633
+ pricingResults: {
634
+ campers: household.campers.map(() => ({ tuition: 0, meals: 0, total: 0 })),
635
+ total: 0,
108
636
  },
637
+ ...(household.paymentOption ? { paymentData: { paymentOption: household.paymentOption } } : {}),
109
638
  };
110
639
  }
111
640
  export default function makeRegistrations(lodgingMap) {
112
- return registrations.map(r => makeRegistration(r, lodgingMap));
641
+ return households.map(household => makeRegistration(household, lodgingMap));
113
642
  }