@timardex/cluemart-shared 1.7.0 → 1.7.2

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 (145) hide show
  1. package/dist/ad-BUYzE6zx.d.ts +181 -0
  2. package/dist/ad-BhLoEul3.d.mts +181 -0
  3. package/dist/affiliate-BbtjeUP4.d.mts +73 -0
  4. package/dist/affiliate-C51nzKsw.d.ts +73 -0
  5. package/dist/apollo/index.cjs +1383 -0
  6. package/dist/apollo/index.cjs.map +1 -0
  7. package/dist/apollo/index.d.mts +323 -0
  8. package/dist/apollo/index.d.ts +323 -0
  9. package/dist/apollo/index.mjs +1295 -0
  10. package/dist/apollo/index.mjs.map +1 -0
  11. package/dist/auth/index.cjs +1727 -0
  12. package/dist/auth/index.cjs.map +1 -0
  13. package/dist/auth/index.d.mts +166 -0
  14. package/dist/auth/index.d.ts +166 -0
  15. package/dist/auth/index.mjs +380 -0
  16. package/dist/auth/index.mjs.map +1 -0
  17. package/dist/chunk-32MKHJTX.mjs +1207 -0
  18. package/dist/chunk-32MKHJTX.mjs.map +1 -0
  19. package/dist/{chunk-HZMP7GXC.mjs → chunk-447EYKHL.mjs} +1010 -2671
  20. package/dist/chunk-447EYKHL.mjs.map +1 -0
  21. package/dist/{chunk-RKIRWZCH.mjs → chunk-AYO3E4DM.mjs} +39 -183
  22. package/dist/chunk-AYO3E4DM.mjs.map +1 -0
  23. package/dist/{chunk-ZZJSCYJK.mjs → chunk-BIJ5NDXW.mjs} +46 -42
  24. package/dist/chunk-BIJ5NDXW.mjs.map +1 -0
  25. package/dist/chunk-DQ7ZHIXW.mjs +26 -0
  26. package/dist/chunk-DQ7ZHIXW.mjs.map +1 -0
  27. package/dist/{chunk-MVQ3CFQR.mjs → chunk-ILILH7E2.mjs} +12 -23
  28. package/dist/chunk-ILILH7E2.mjs.map +1 -0
  29. package/dist/{chunk-TAECMXM4.mjs → chunk-LBEJECG3.mjs} +249 -219
  30. package/dist/{chunk-TAECMXM4.mjs.map → chunk-LBEJECG3.mjs.map} +1 -1
  31. package/dist/chunk-RAYUJODN.mjs +45 -0
  32. package/dist/chunk-RAYUJODN.mjs.map +1 -0
  33. package/dist/chunk-SD42WIMV.mjs +297 -0
  34. package/dist/chunk-SD42WIMV.mjs.map +1 -0
  35. package/dist/chunk-VPANTTZI.mjs +262 -0
  36. package/dist/chunk-VPANTTZI.mjs.map +1 -0
  37. package/dist/{chunk-KZTOISPA.mjs → chunk-X3OLM35T.mjs} +14 -8
  38. package/dist/chunk-X3OLM35T.mjs.map +1 -0
  39. package/dist/{contactUs-H7799pWe.d.ts → contactUs--NoohZBu.d.ts} +1 -1
  40. package/dist/{contactUs-DGrDzJaM.d.mts → contactUs-CBWzefUS.d.mts} +1 -1
  41. package/dist/enums/index.cjs +13 -7
  42. package/dist/enums/index.cjs.map +1 -1
  43. package/dist/enums/index.d.mts +15 -9
  44. package/dist/enums/index.d.ts +15 -9
  45. package/dist/enums/index.mjs +1 -1
  46. package/dist/formFields/index.cjs +136 -73
  47. package/dist/formFields/index.cjs.map +1 -1
  48. package/dist/formFields/index.d.mts +3 -2
  49. package/dist/formFields/index.d.ts +3 -2
  50. package/dist/formFields/index.mjs +9 -4
  51. package/dist/{global-fKbMmluy.d.ts → global-CUYYxpy2.d.ts} +12 -11
  52. package/dist/{global-BUUfmCo7.d.mts → global-DePDtOFt.d.mts} +12 -11
  53. package/dist/graphql/index.cjs +734 -1271
  54. package/dist/graphql/index.cjs.map +1 -1
  55. package/dist/graphql/index.d.mts +434 -176
  56. package/dist/graphql/index.d.ts +434 -176
  57. package/dist/graphql/index.mjs +37 -23
  58. package/dist/hooks/index.cjs +947 -309
  59. package/dist/hooks/index.cjs.map +1 -1
  60. package/dist/hooks/index.d.mts +10 -4
  61. package/dist/hooks/index.d.ts +10 -4
  62. package/dist/hooks/index.mjs +170 -58
  63. package/dist/hooks/index.mjs.map +1 -1
  64. package/dist/images/apple-maps-icon.webp.d.ts +8 -1
  65. package/dist/images/banner-horizontal.webp.d.ts +8 -1
  66. package/dist/images/banner-vertical.webp.d.ts +8 -1
  67. package/dist/images/cluiTui.webp.d.ts +8 -1
  68. package/dist/images/corporate.webp.d.ts +8 -1
  69. package/dist/images/facebook.webp.d.ts +8 -1
  70. package/dist/images/gazebo-top.webp.d.ts +8 -1
  71. package/dist/images/google-maps-icon.webp.d.ts +8 -1
  72. package/dist/images/googleMaps-logo-dark.webp.d.ts +8 -1
  73. package/dist/images/googleMaps-logo-light.webp.d.ts +8 -1
  74. package/dist/images/instagram.webp.d.ts +8 -1
  75. package/dist/images/logo-atr.webp.d.ts +8 -1
  76. package/dist/images/logo-dark.webp.d.ts +8 -1
  77. package/dist/images/logo.webp.d.ts +8 -1
  78. package/dist/images/meet.webp.d.ts +8 -1
  79. package/dist/images/mini-market1.webp.d.ts +8 -1
  80. package/dist/images/mini-market2.webp.d.ts +8 -1
  81. package/dist/images/mini-market3.webp.d.ts +8 -1
  82. package/dist/images/mini-market4.webp.d.ts +8 -1
  83. package/dist/images/mini-market5.webp.d.ts +8 -1
  84. package/dist/images/poll.webp.d.ts +8 -1
  85. package/dist/images/poster1.webp.d.ts +8 -1
  86. package/dist/images/poster2.webp.d.ts +8 -1
  87. package/dist/images/poster3.webp.d.ts +8 -1
  88. package/dist/images/poster4.webp.d.ts +8 -1
  89. package/dist/images/private.webp.d.ts +8 -1
  90. package/dist/images/qr-code.webp.d.ts +8 -1
  91. package/dist/images/school.webp.d.ts +8 -1
  92. package/dist/images/sima.webp.d.ts +8 -1
  93. package/dist/images/store-android.webp.d.ts +8 -1
  94. package/dist/images/store-ios.webp.d.ts +8 -1
  95. package/dist/images/tablas.webp.d.ts +8 -1
  96. package/dist/images/telefonos.webp.d.ts +8 -1
  97. package/dist/images/tiktok.webp.d.ts +8 -1
  98. package/dist/images/tip.webp.d.ts +8 -1
  99. package/dist/images/ugralos.webp.d.ts +8 -1
  100. package/dist/images/waze-maps-icon.webp.d.ts +8 -1
  101. package/dist/images/website.webp.d.ts +8 -1
  102. package/dist/images/youtube.webp.d.ts +8 -1
  103. package/dist/index.cjs +1751 -1781
  104. package/dist/index.cjs.map +1 -1
  105. package/dist/index.d.mts +665 -243
  106. package/dist/index.d.ts +665 -243
  107. package/dist/index.mjs +1711 -1779
  108. package/dist/index.mjs.map +1 -1
  109. package/dist/map/index.cjs +14 -9
  110. package/dist/map/index.cjs.map +1 -1
  111. package/dist/map/index.d.mts +16 -13
  112. package/dist/map/index.d.ts +16 -13
  113. package/dist/map/index.mjs +14 -9
  114. package/dist/map/index.mjs.map +1 -1
  115. package/dist/{resourceActivities-BL_12IAo.d.ts → resourceActivities-CMUcn2P7.d.ts} +9 -4
  116. package/dist/{resourceActivities-zczOntNk.d.mts → resourceActivities-CwbJFGIp.d.mts} +9 -4
  117. package/dist/sharing/index.cjs +39 -1252
  118. package/dist/sharing/index.cjs.map +1 -1
  119. package/dist/sharing/index.d.mts +17 -5
  120. package/dist/sharing/index.d.ts +17 -5
  121. package/dist/sharing/index.mjs +34 -30
  122. package/dist/subscription-BU8GvH2K.d.ts +12 -0
  123. package/dist/subscription-bmAdrnfi.d.mts +12 -0
  124. package/dist/types/index.cjs +15 -2
  125. package/dist/types/index.cjs.map +1 -1
  126. package/dist/types/index.d.mts +10 -23
  127. package/dist/types/index.d.ts +10 -23
  128. package/dist/types/index.mjs +9 -5
  129. package/dist/user-D47MLFyH.d.ts +134 -0
  130. package/dist/user-DE8edl3u.d.mts +134 -0
  131. package/dist/utils/index.cjs +355 -136
  132. package/dist/utils/index.cjs.map +1 -1
  133. package/dist/utils/index.d.mts +87 -35
  134. package/dist/utils/index.d.ts +87 -35
  135. package/dist/utils/index.mjs +42 -15
  136. package/package.json +31 -10
  137. package/dist/ad-CVkVX_z5.d.ts +0 -296
  138. package/dist/ad-DA9ECAhK.d.mts +0 -296
  139. package/dist/affiliate-1RtkLnLP.d.ts +0 -35
  140. package/dist/affiliate-Cos2Syz5.d.mts +0 -35
  141. package/dist/chunk-HZMP7GXC.mjs.map +0 -1
  142. package/dist/chunk-KZTOISPA.mjs.map +0 -1
  143. package/dist/chunk-MVQ3CFQR.mjs.map +0 -1
  144. package/dist/chunk-RKIRWZCH.mjs.map +0 -1
  145. package/dist/chunk-ZZJSCYJK.mjs.map +0 -1
@@ -97,7 +97,9 @@ __export(sharing_exports, {
97
97
  normalizeShareText: () => normalizeShareText,
98
98
  shareMessageFooterPlacementForType: () => shareMessageFooterPlacementForType,
99
99
  shareSlugResourceId: () => shareSlugResourceId,
100
- splitShareDescriptionSections: () => splitShareDescriptionSections
100
+ splitShareDescriptionSections: () => splitShareDescriptionSections,
101
+ stripOverlaySubtitleSpecialChars: () => stripOverlaySubtitleSpecialChars,
102
+ toShareSocialImageCacheVersion: () => toShareSocialImageCacheVersion
101
103
  });
102
104
  module.exports = __toCommonJS(sharing_exports);
103
105
 
@@ -109,40 +111,6 @@ var import_timezone = __toESM(require("dayjs/plugin/timezone.js"));
109
111
  var import_utc = __toESM(require("dayjs/plugin/utc.js"));
110
112
 
111
113
  // src/enums/index.ts
112
- var EnumInviteStatus = /* @__PURE__ */ ((EnumInviteStatus2) => {
113
- EnumInviteStatus2["ACCEPTED"] = "Accepted";
114
- EnumInviteStatus2["COMPLETED"] = "Completed";
115
- EnumInviteStatus2["EXPIRED"] = "Expired";
116
- EnumInviteStatus2["NO_STATUS"] = "No_Status";
117
- EnumInviteStatus2["PENDING"] = "Pending";
118
- EnumInviteStatus2["REJECTED"] = "Rejected";
119
- EnumInviteStatus2["UNAVAILABLE"] = "Unavailable";
120
- return EnumInviteStatus2;
121
- })(EnumInviteStatus || {});
122
- var EnumPaymentMethod = /* @__PURE__ */ ((EnumPaymentMethod2) => {
123
- EnumPaymentMethod2["CASH"] = "cash";
124
- EnumPaymentMethod2["EFTPOS"] = "eftpos";
125
- EnumPaymentMethod2["BANK_TRANSFER"] = "bank_transfer";
126
- EnumPaymentMethod2["PAYPAL"] = "paypal";
127
- EnumPaymentMethod2["STRIPE"] = "stripe";
128
- return EnumPaymentMethod2;
129
- })(EnumPaymentMethod || {});
130
- var EnumRegions = /* @__PURE__ */ ((EnumRegions2) => {
131
- EnumRegions2["All"] = "All Regions";
132
- EnumRegions2["Auckland"] = "Auckland";
133
- EnumRegions2["BayOfPlentyGisborne"] = "Bay of Plenty & Gisborne";
134
- EnumRegions2["CanterburyWestCoast"] = "Canterbury & West Coast";
135
- EnumRegions2["HawkesBay"] = "Hawke's Bay";
136
- EnumRegions2["ManawatuWanganui"] = "Manawatu-Wanganui";
137
- EnumRegions2["MarlboroughNelsonTasman"] = "Marlborough & Nelson & Tasman";
138
- EnumRegions2["Northland"] = "Northland";
139
- EnumRegions2["Otago"] = "Otago";
140
- EnumRegions2["Southland"] = "Southland";
141
- EnumRegions2["Taranaki"] = "Taranaki";
142
- EnumRegions2["Waikato"] = "Waikato";
143
- EnumRegions2["Wellington"] = "Wellington";
144
- return EnumRegions2;
145
- })(EnumRegions || {});
146
114
  var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
147
115
  EnumEventDateStatus2["STARTING_SOON"] = "Starting_Soon";
148
116
  EnumEventDateStatus2["STARTED"] = "Started";
@@ -158,187 +126,11 @@ var EnumEventDateStatus = /* @__PURE__ */ ((EnumEventDateStatus2) => {
158
126
  return EnumEventDateStatus2;
159
127
  })(EnumEventDateStatus || {});
160
128
 
161
- // src/types/global.ts
162
- var PROMO_CODE_PREFIX = "CM-";
163
-
164
- // src/types/game/dailyClue.ts
165
- var OBJECT_ID_PATH_SEGMENT = "[a-f0-9]{24}";
166
- var OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;
167
- var gameScreenIdentifierList = [
168
- {
169
- clue: "Where your actions turn into a timeline.",
170
- id: "activities",
171
- match: "/profile/activities"
172
- },
173
- {
174
- clue: "Where conversations happen without speaking.",
175
- id: "chat",
176
- match: "/profile/chat"
177
- },
178
- {
179
- clue: "The place to redefine who you are.",
180
- id: "edit-profile",
181
- match: "/profile/edit-profile"
182
- },
183
- {
184
- clue: "A single moment worth showing up for.",
185
- id: "single-event",
186
- match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`)
187
- },
188
- {
189
- clue: "What\u2019s happening around you, right now.",
190
- id: "events-near-me",
191
- match: "/events/events-near-me"
192
- },
193
- {
194
- clue: "Where events appear as pins on a map.",
195
- id: "events-map",
196
- match: "/events/events-map"
197
- },
198
- {
199
- clue: "A collection of events worth attending.",
200
- id: "events",
201
- match: "/events"
202
- },
203
- {
204
- clue: "What\u2019s happening in a wider area \u2014 not just nearby.",
205
- id: "events-region",
206
- match: /^\/events\/region\/[^/]+$/
207
- },
208
- {
209
- clue: "Where fun becomes a challenge.",
210
- id: "games",
211
- match: "/games"
212
- },
213
- {
214
- clue: "Your starting point for everything.",
215
- id: "home",
216
- match: "/"
217
- },
218
- {
219
- clue: "Where the app whispers what you shouldn\u2019t miss.",
220
- id: "notifications",
221
- match: "/notifications"
222
- },
223
- {
224
- clue: "Where you fine-tune your experience.",
225
- id: "options",
226
- match: "/options"
227
- },
228
- {
229
- clue: "An organisation or creator supporting the community.",
230
- id: "single-partner",
231
- match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`)
232
- },
233
- {
234
- clue: "Organisations and creators supporting the community.",
235
- id: "partners",
236
- match: "/partners"
237
- },
238
- {
239
- clue: "A single published post in full view.",
240
- id: "single-visitor-post",
241
- match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`)
242
- },
243
- {
244
- clue: "Your identity, on display.",
245
- id: "profile",
246
- match: "/profile"
247
- },
248
- {
249
- clue: "One stallholder offering something valuable.",
250
- id: "single-vendor",
251
- match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`)
252
- },
253
- {
254
- clue: "Where every stallholder waits under the right category.",
255
- id: "vendors",
256
- match: "/vendors"
257
- },
258
- {
259
- clue: "Where you browse articles and posts from around the platform.",
260
- id: "visitors",
261
- match: "/visitors"
262
- }
263
- ];
264
-
265
- // src/types/subscription.ts
266
- var TIER_FROM_LICENCE = {
267
- ["pro_event" /* PRO_EVENT */]: "pro",
268
- ["pro_plus_event" /* PRO_PLUS_EVENT */]: "pro_plus",
269
- ["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "pro_plus",
270
- ["pro_vendor" /* PRO_VENDOR */]: "pro",
271
- ["standard_event" /* STANDARD_EVENT */]: "standard",
272
- ["standard_partner" /* STANDARD_PARTNER */]: "standard",
273
- ["standard_vendor" /* STANDARD_VENDOR */]: "standard"
274
- };
275
-
276
- // src/utils/utils.ts
129
+ // src/utils/mapArrayToOptions.ts
277
130
  var mapArrayToOptions = (items) => items.map((item) => ({
278
131
  label: item,
279
132
  value: item
280
133
  }));
281
- var statusOptions = [
282
- ...Object.values(EnumInviteStatus).map((status) => ({
283
- label: status,
284
- value: status
285
- })).sort((a, b) => a.label.localeCompare(b.label))
286
- // Sort the options alphabetically
287
- ];
288
- var availableRegionTypes = Object.values(EnumRegions);
289
- var availableRegionOptions = mapArrayToOptions(availableRegionTypes);
290
- var paymentMethodOptions = mapArrayToOptions(
291
- Object.values(EnumPaymentMethod)
292
- );
293
- var licenseNiceNames = {
294
- ["pro_event" /* PRO_EVENT */]: "Pro Event",
295
- ["pro_vendor" /* PRO_VENDOR */]: "Pro Stallholder",
296
- ["standard_event" /* STANDARD_EVENT */]: "Standard Event",
297
- ["standard_vendor" /* STANDARD_VENDOR */]: "Standard Stallholder",
298
- ["pro_plus_event" /* PRO_PLUS_EVENT */]: "Pro+Ads Event",
299
- ["pro_plus_vendor" /* PRO_PLUS_VENDOR */]: "Pro+Ads Stallholder",
300
- ["standard_partner" /* STANDARD_PARTNER */]: "Partner"
301
- };
302
- var cluemartSocialMedia = [
303
- {
304
- link: "https://www.facebook.com/ClueMartApp",
305
- name: "facebook" /* FACEBOOK */
306
- },
307
- {
308
- link: "https://www.instagram.com/cluemart_app",
309
- name: "instagram" /* INSTAGRAM */
310
- },
311
- {
312
- link: "https://www.tiktok.com/@cluemart",
313
- name: "tiktok" /* TIKTOK */
314
- },
315
- {
316
- link: "https://www.youtube.com/@ClueMart-App-NZ",
317
- name: "youtube" /* YOUTUBE */
318
- }
319
- ];
320
- var CLUEMART_MAIN_DOMAIN_URL = "https://cluemart.co.nz";
321
- var rewardNiceNames = {
322
- ["mystery_joy_box" /* MYSTERY_JOY_BOX */]: {
323
- name: "Mystery Joy Box",
324
- points: 250
325
- },
326
- ["mystery_squeeze_box" /* MYSTERY_SQUEEZE_BOX */]: {
327
- name: "Mystery Squeeze Box",
328
- points: 350
329
- },
330
- ["mystery_deluxe_box" /* MYSTERY_DELUXE_BOX */]: {
331
- name: "Mystery Deluxe Box",
332
- points: 500
333
- }
334
- };
335
- var PostTypeLabels = {
336
- ["market_faces" /* MARKET_FACES */]: "Market Faces",
337
- ["clue_bites" /* CLUE_BITES */]: "Clue Bites",
338
- ["play_and_win" /* PLAY_AND_WIN */]: "Play & Win"
339
- };
340
- var CM_SCHOOL_PROMO_CODE = `${PROMO_CODE_PREFIX}SCHOOL`;
341
- var CM_AFFILIATE_PROMO_CODE = `${PROMO_CODE_PREFIX}AFFILIATE`;
342
134
 
343
135
  // src/utils/date.ts
344
136
  var dateFormat = "DD-MM-YYYY";
@@ -372,1045 +164,10 @@ var futureTimePeriods = mapArrayToOptions(
372
164
  value: period.value
373
165
  }));
374
166
 
375
- // src/utils/affiliate.ts
376
- var AFFILIATE_REWARDS = {
377
- ["NEW_EVENT_REGISTRATION" /* NEW_EVENT_REGISTRATION */]: {
378
- description: "10 points for new event registration (one-time reward)",
379
- value: 10
380
- },
381
- ["NEW_VENDOR_REGISTRATION" /* NEW_VENDOR_REGISTRATION */]: {
382
- description: "5 points for new vendor registration (one-time reward)",
383
- value: 5
384
- },
385
- ["NEW_PARTNER_REGISTRATION" /* NEW_PARTNER_REGISTRATION */]: {
386
- description: "",
387
- value: 0
388
- }
389
- };
390
-
391
- // src/utils/eventDateStatus.ts
392
- var EVENT_DATE_STATUS_PERIOD_MAP = {
393
- ["Today" /* TODAY */]: [
394
- "Started" /* STARTED */,
395
- "Starting_Soon" /* STARTING_SOON */,
396
- "Today" /* TODAY */
397
- ],
398
- ["This_Week" /* THIS_WEEK */]: [
399
- "Started" /* STARTED */,
400
- "Starting_Soon" /* STARTING_SOON */,
401
- "This_Week" /* THIS_WEEK */,
402
- "Today" /* TODAY */,
403
- "Tomorrow" /* TOMORROW */
404
- ]
405
- };
406
-
407
- // src/calendar/eventCalendar.ts
408
- var import_dayjs2 = __toESM(require("dayjs"));
409
- var KNOWN_EVENT_SCHEDULE_STATUSES = /* @__PURE__ */ new Set([
410
- "Started" /* STARTED */,
411
- "Starting_Soon" /* STARTING_SOON */,
412
- "Ended" /* ENDED */
413
- ]);
414
-
415
- // src/formFields/categories/clothingAndFashion.ts
416
- var clothingAndFashion = [
417
- {
418
- id: "clothing-fashion",
419
- name: "Clothing & Fashion",
420
- description: "New, handmade, or upcycled clothing and accessories with a creative twist.",
421
- subcategories: [
422
- {
423
- id: "apparel-babywear",
424
- name: "Apparel & Babywear",
425
- items: [
426
- {
427
- id: "apparel",
428
- name: "Apparel",
429
- description: "Dresses, t-shirts, jumpers, rompers, sets, kidswear."
430
- },
431
- {
432
- id: "baby-toddler-apparel",
433
- name: "Baby & Toddler Apparel",
434
- description: "Handmade baby clothes, soft shoes, bibs, hats, knitted sets."
435
- },
436
- {
437
- id: "upcycled-fashion",
438
- name: "Upcycled Fashion",
439
- description: "Reworked garments, patchwork pieces, restyled vintage."
440
- },
441
- {
442
- id: "other-wearable-items",
443
- name: "Other wearable items",
444
- description: "Unique clothing not listed above."
445
- }
446
- ]
447
- },
448
- {
449
- id: "fashion-accessories",
450
- name: "Fashion Accessories",
451
- items: [
452
- {
453
- id: "accessories",
454
- name: "Accessories",
455
- description: "Scarves, belts, gloves, hats, headbands, caps."
456
- },
457
- {
458
- id: "shoes",
459
- name: "Shoes",
460
- description: "Handmade shoes, baby booties, sandals, slippers."
461
- },
462
- {
463
- id: "bags-wallets",
464
- name: "Bags & Wallets",
465
- description: "Leather bags, fabric purses, wallets, backpacks, totes."
466
- },
467
- {
468
- id: "other-accessories",
469
- name: "Other accessories",
470
- description: "Brooches, pins, or hybrid functional items."
471
- }
472
- ]
473
- },
474
- {
475
- id: "jewelry-creative-wearables",
476
- name: "Jewelry & Creative Wearables",
477
- items: [
478
- {
479
- id: "jewelry",
480
- name: "Jewelry",
481
- description: "Necklaces, earrings, bracelets, rings, anklets."
482
- },
483
- {
484
- id: "other-creative-wearables",
485
- name: "Other creative wearables",
486
- description: "Wearable art, statement pieces, bold handmade designs."
487
- }
488
- ]
489
- },
490
- {
491
- id: "traditional-cultural-clothing-accessories",
492
- name: "Traditional & Cultural Clothing and Accessories",
493
- items: [
494
- {
495
- id: "traditional-clothing-accessories",
496
- name: "Traditional Clothing & Accessories ",
497
- description: "raditional clothing, jewellery, accessories and footwear from around the world, including both handmade and non-handmade items."
498
- },
499
- {
500
- id: "other-traditional-cultural-items",
501
- name: "Other Traditional & Cultural Items",
502
- description: "traditional or culturally inspired wearables and decorative cultural pieces such as plates, table linens and similar items."
503
- }
504
- ]
505
- }
506
- ]
507
- }
508
- ];
509
-
510
- // src/formFields/categories/electronicsAndTechnology.ts
511
- var electronicsAndTechnology = [
512
- {
513
- id: "electronics-technology",
514
- name: "Electronics & Technology",
515
- description: "New, second-hand, or handmade tech and digital items commonly found at markets.",
516
- subcategories: [
517
- {
518
- id: "mobile-everyday-tech",
519
- name: "Mobile & Everyday Tech",
520
- items: [
521
- {
522
- id: "mobile-phone-accessories",
523
- name: "Mobile & Phone Accessories",
524
- description: "Phone cases, holders, screen protectors, charging cables, power banks, grips."
525
- },
526
- {
527
- id: "other-mobile-gadgets",
528
- name: "Other mobile gadgets",
529
- description: "Stands, styluses, SIM tools, cleaning kits, wallet accessories."
530
- }
531
- ]
532
- },
533
- {
534
- id: "audio-music-creative-tech",
535
- name: "Audio, Music & Creative Tech",
536
- items: [
537
- {
538
- id: "audio-music-tech",
539
- name: "Audio & Music Tech",
540
- description: "Portable speakers, headphones, mini radios, Bluetooth adapters, sound accessories."
541
- },
542
- {
543
- id: "instruments-music-gear",
544
- name: "Instruments & Music Gear",
545
- description: "Small electronic instruments, DIY synth kits, drum pads, loop machines."
546
- },
547
- {
548
- id: "recording-creative-devices",
549
- name: "Recording & Creative Devices",
550
- description: "USB microphones, podcast tools, voice recorders, mobile lighting, content tools."
551
- },
552
- {
553
- id: "other-audio-music-items",
554
- name: "Other audio or music-related items",
555
- description: "Musical gadgets or creative gear not listed above."
556
- }
557
- ]
558
- },
559
- {
560
- id: "diy-gadgets-secondhand-finds",
561
- name: "DIY, Gadgets & Second-Hand Finds",
562
- items: [
563
- {
564
- id: "diy-electronics-tools",
565
- name: "DIY Electronics & Tools",
566
- description: "LED lights, USB gadgets, circuit boards, repair kits, tech-themed toys, novelty items."
567
- },
568
- {
569
- id: "other-tech-finds",
570
- name: "Other Tech Finds",
571
- description: "Used electronics, smart gadgets, wearable tech, calculators, tablet stands, e-waste upcycles."
572
- },
573
- {
574
- id: "other-technology-innovation-items",
575
- name: "Other technology or innovation-related items",
576
- description: "Anything not covered but clearly tech-driven."
577
- }
578
- ]
579
- }
580
- ]
581
- }
582
- ];
583
-
584
- // src/formFields/categories/foodAndBeverages.ts
585
- var foodAndBeverages = [
586
- {
587
- id: "food-beverages",
588
- name: "Food & Beverages",
589
- description: "Fresh produce, drinks, sweet and savoury street food, ready-to-eat meals, and packaged goods.",
590
- subcategories: [
591
- {
592
- id: "fresh-food-groceries",
593
- name: "Fresh Food & Groceries",
594
- items: [
595
- {
596
- id: "fruits-vegetables",
597
- name: "Fruits & Vegetables",
598
- description: "Fresh seasonal fruit, organic vegetables, specialty produce, berries, tropical fruit, heritage varieties."
599
- },
600
- {
601
- id: "meat-seafood",
602
- name: "Meat & Seafood",
603
- description: "Butcher cuts, fresh fish, smoked meats, sausages, seafood platters, artisanal jerky."
604
- },
605
- {
606
- id: "dairy-eggs",
607
- name: "Dairy & Eggs",
608
- description: "Farm eggs, handmade cheeses, yoghurt, fresh milk, goat\u2019s milk products."
609
- },
610
- {
611
- id: "bakery-pastries",
612
- name: "Bakery & Pastries",
613
- description: "Freshly baked bread, sourdough, bagels, croissants, focaccia, traditional baked goods."
614
- },
615
- {
616
- id: "spices-condiments",
617
- name: "Spices & Condiments",
618
- description: "Dried herbs, spice blends, specialty salts, hot sauces, infused oils, chutneys."
619
- },
620
- {
621
- id: "packaged-specialty-foods",
622
- name: "Packaged & Specialty Foods",
623
- description: "Honey, jams, preserves, pickles, nut butters, sauces, pre-packaged snacks."
624
- },
625
- {
626
- id: "other-fresh-food-items",
627
- name: "Other fresh food items",
628
- description: "Items that don\u2019t fit above, e.g. fermented foods, plant-based substitutes."
629
- }
630
- ]
631
- },
632
- {
633
- id: "beverages-specialty-drinks",
634
- name: "Beverages & Specialty Drinks",
635
- items: [
636
- {
637
- id: "fresh-juices-smoothies",
638
- name: "Fresh Juices & Smoothies",
639
- description: "Cold-pressed juices, detox blends, fruit smoothies, tropical mixes."
640
- },
641
- {
642
- id: "coffee-teas",
643
- name: "Coffee & Teas",
644
- description: "Espresso, pour-over coffee, herbal teas, matcha, bubble tea, locally blended tea."
645
- },
646
- {
647
- id: "dairy-plant-based-drinks",
648
- name: "Dairy & Plant-Based Drinks",
649
- description: "Milkshakes, lassis, almond/oat milk drinks, coconut water."
650
- },
651
- {
652
- id: "alcoholic-beverages",
653
- name: "Alcoholic Beverages",
654
- description: "Local wines, craft beer, mead, cider, infused spirits, cocktail kits."
655
- },
656
- {
657
- id: "other-beverages",
658
- name: "Other beverages",
659
- description: "Kombucha, kefir, energy drinks, non-alcoholic wines or beers."
660
- }
661
- ]
662
- },
663
- {
664
- id: "savoury-prepared-foods-street-food",
665
- name: "Savoury Prepared Foods & Street Food",
666
- items: [
667
- {
668
- id: "local-specialties",
669
- name: "Local Specialties",
670
- description: "Meat pies, hangi, seafood chowder, fry bread, traditional NZ dishes."
671
- },
672
- {
673
- id: "asian-cuisine",
674
- name: "Asian Cuisine",
675
- description: "Sushi, bao buns, dumplings, ramen, satay, spring rolls, fried rice."
676
- },
677
- {
678
- id: "mediterranean-cuisine",
679
- name: "Mediterranean Cuisine",
680
- description: "Falafel, hummus wraps, souvlaki, Greek salad, dolma."
681
- },
682
- {
683
- id: "italian-delights",
684
- name: "Italian Delights",
685
- description: "Pizza, calzone, focaccia, fresh pasta, arancini."
686
- },
687
- {
688
- id: "bbq-grilled-foods",
689
- name: "BBQ & Grilled Foods",
690
- description: "Kebabs, grilled chicken, ribs, burgers, sausages."
691
- },
692
- {
693
- id: "savoury-crepes-pancakes",
694
- name: "Savoury Crepes & Pancakes",
695
- description: "Filled savoury crepes, mini savoury pancakes."
696
- },
697
- {
698
- id: "savoury-baked-goods-pastries",
699
- name: "Savoury Baked Goods & Pastries",
700
- description: "Quiches, savoury muffins, filled savoury pastries, empanadas."
701
- },
702
- {
703
- id: "vegan-vegetarian-dishes",
704
- name: "Vegan & Vegetarian Dishes",
705
- description: "Buddha bowls, plant-based burgers, salads, vegan sushi."
706
- },
707
- {
708
- id: "other-savoury-foods",
709
- name: "Other Savoury Foods",
710
- description: "Fusion dishes, mixed platters, savoury meal kits."
711
- }
712
- ]
713
- },
714
- {
715
- id: "sweet-prepared-foods",
716
- name: "Sweet Prepared Foods",
717
- items: [
718
- {
719
- id: "sweet-crepes-pancakes-fried-treats",
720
- name: "Sweet Crepes, Pancakes & Fried Treats",
721
- description: "Crepes, waffles, mini pancakes, muffins, doughnuts."
722
- },
723
- {
724
- id: "sweet-baked-goods-desserts",
725
- name: "Sweet Baked Goods & Desserts",
726
- description: "Cakes, pastries, slices, trifles, layered desserts."
727
- },
728
- {
729
- id: "fruit-based-snacks",
730
- name: "Fruit-Based Snacks",
731
- description: "Fruit skewers, dried fruit packs, chocolate-dipped fruit."
732
- },
733
- {
734
- id: "candy-confectionery",
735
- name: "Candy & Confectionery",
736
- description: "Fudge, handmade candies, toffee, nougat, brittle."
737
- },
738
- {
739
- id: "other-sweet-foods",
740
- name: "Other Sweet Foods",
741
- description: "Fusion desserts, sweet platters, sweet meal kits."
742
- }
743
- ]
744
- }
745
- ]
746
- }
747
- ];
748
-
749
- // src/formFields/categories/handmadeAndLocalProducts.ts
750
- var handmadeAndLocalProducts = [
751
- {
752
- id: "handmade-local-products",
753
- name: "Handmade & Local Products",
754
- description: "Unique, handmade, or locally produced artisan goods.",
755
- subcategories: [
756
- {
757
- id: "home-living",
758
- name: "Home & Living",
759
- items: [
760
- {
761
- id: "ceramics-pottery",
762
- name: "Ceramics & Pottery",
763
- description: "Handmade mugs, vases, bowls, decorative plates, plant pots."
764
- },
765
- {
766
- id: "candles-home-scents",
767
- name: "Candles & Home Scents",
768
- description: "Soy candles, beeswax candles, wax melts, incense sticks, room sprays and herbal sachets."
769
- },
770
- {
771
- id: "botanical-crafts",
772
- name: "Botanical Crafts",
773
- description: "Dried-flower d\xE9cor and pressed-flower crafts"
774
- },
775
- {
776
- id: "textiles-embroidery",
777
- name: "Textiles & Embroidery",
778
- description: "Handsewn items, embroidered napkins, home linens, aprons, fabric gift wraps, handmade fabric bags, quilted goods, personalized textile gifts."
779
- },
780
- {
781
- id: "woodcraft-metalcraft",
782
- name: "Woodcraft & Metalcraft",
783
- description: "Wooden boards, handmade frames, sculptures, metal signs, furniture."
784
- },
785
- {
786
- id: "handmade-soaps-natural-body-goods",
787
- name: "Handmade Soaps & Natural Body Goods",
788
- description: "Handmade soaps, balms, oils, bath items"
789
- },
790
- {
791
- id: "seasonal-festive-crafts",
792
- name: "Seasonal & Festive Crafts",
793
- description: "Christmas, Easter and seasonal handmade decor"
794
- },
795
- {
796
- id: "other-home-living-products",
797
- name: "Other home & living products",
798
- description: "Items that don't fit above but serve home-related purposes."
799
- }
800
- ]
801
- },
802
- {
803
- id: "art-personal-expression",
804
- name: "Art & Personal Expression",
805
- items: [
806
- {
807
- id: "paintings-illustrations",
808
- name: "Paintings & Illustrations",
809
- description: "Paintings, canvas art, hand-drawn illustrations, digital prints, graphic art and calligraphy pieces."
810
- },
811
- {
812
- id: "sculptures-carvings",
813
- name: "Sculptures & Carvings ",
814
- description: "Sculptures made from wood, stone, metal, clay or resin, carved decorative pieces and artistic 3D works."
815
- },
816
- {
817
- id: "creative-handmade-alternative-art",
818
- name: "Creative Handmade & Alternative Art",
819
- description: "Handmade textile d\xE9cor, fabric ornaments, mixed-media art, creative craft pieces and modern handmade artworks."
820
- },
821
- {
822
- id: "handmade-mini-figures-decor",
823
- name: "Handmade Mini Figures & D\xE9cor",
824
- description: "Small handmade figures, tiny houses and crafted mini decorative items."
825
- },
826
- {
827
- id: "other-artistic-expressive-products",
828
- name: "Other Artistic or Expressive Products",
829
- description: "Custom artworks, specialty handmade d\xE9cor, unique crafts."
830
- }
831
- ]
832
- },
833
- {
834
- id: "handmade-jewellery-accessories-cultural-crafts",
835
- name: "Handmade Jewellery, Accessories & Cultural Crafts",
836
- items: [
837
- {
838
- id: "jewellery-handmade-items-nz-traditional-materials",
839
- name: "Jewellery & Handmade Items from NZ Traditional Materials",
840
- description: "Handmade jewellery and decorative or functional items crafted from pounamu, bone, wood and other traditional New Zealand materials."
841
- },
842
- {
843
- id: "maori-pasifika-cultural-crafts-clothing",
844
- name: "M\u0101ori & Pasifika Cultural Crafts and Clothing",
845
- description: "Culturally inspired handmade items, accessories and garments featuring M\u0101ori or Pasifika motifs, traditional patterns and regional craftsmanship."
846
- },
847
- {
848
- id: "traditional-handmade-clothing-jewellery-crafts-global-cultures",
849
- name: "Traditional Handmade Clothing, Jewellery & Crafts from Global Cultures",
850
- description: "Handcrafted clothing, jewellery and cultural items from diverse traditions \u2014 including Asian, African, European, Middle Eastern, Indian, Chinese, Japanese, Pacific, and other culturally significant handmade pieces."
851
- },
852
- {
853
- id: "other-handmade-cultural-items",
854
- name: "Other Handmade Cultural Items",
855
- description: "Unique or culturally inspired handmade pieces not specifically covered in the categories above."
856
- }
857
- ]
858
- },
859
- {
860
- id: "gift-ideas-accessories",
861
- name: "Gift Ideas & Accessories",
862
- items: [
863
- {
864
- id: "handmade-pens-keychains-fridge-magnets",
865
- name: "Handmade Pens, Keychains and Fridge Magnets",
866
- description: null
867
- },
868
- {
869
- id: "gift-packaging-wrapping-accessories",
870
- name: "Gift Packaging & Wrapping Accessories",
871
- description: null
872
- },
873
- {
874
- id: "handmade-crochet-knitting-fibre-crafts",
875
- name: "Handmade Crochet, Knitting & Fibre Crafts",
876
- description: "Handmade crochet and knitted items, fabric-based crafts, small decorative pieces, creative fibre artworks and unique handcrafted accessories."
877
- },
878
- {
879
- id: "handmade-toys-mini-play-items",
880
- name: "Handmade Toys & Mini Play Items",
881
- description: "small handmade toys, soft toys, wooden miniatures, crochet or felt play pieces"
882
- },
883
- {
884
- id: "other-small-handmade-gifts-accessories",
885
- name: "Other small handmade gifts or accessories",
886
- description: "Compact creative items made to surprise or delight."
887
- }
888
- ]
889
- }
890
- ]
891
- }
892
- ];
893
-
894
- // src/formFields/categories/healthAndWellness.ts
895
- var healthAndWellness = [
896
- {
897
- id: "health-wellness",
898
- name: "Health & Wellness",
899
- description: "Natural products and services that promote wellbeing, body care, and holistic health.",
900
- subcategories: [
901
- {
902
- id: "body-skincare",
903
- name: "Body & Skincare",
904
- items: [
905
- {
906
- id: "skincare-body-products",
907
- name: "Skincare & Body Products",
908
- description: "Soaps, creams, lip balms, bath salts, bath bombs, body oils, natural deodorants."
909
- },
910
- {
911
- id: "other-body-care-items",
912
- name: "Other body care items",
913
- description: "Additional handmade or eco-conscious personal care goods."
914
- }
915
- ]
916
- },
917
- {
918
- id: "aromatherapy-herbal-wellness",
919
- name: "Aromatherapy & Herbal Wellness",
920
- items: [
921
- {
922
- id: "aromatherapy-herbal-remedies",
923
- name: "Aromatherapy & Herbal Remedies",
924
- description: "Essential oils, herbal balms, massage oils, salves, natural teas, rollers."
925
- },
926
- {
927
- id: "other-herbal-aroma-products",
928
- name: "Other herbal or aroma-based products",
929
- description: "Wellness blends, herb sachets, custom infusions."
930
- }
931
- ]
932
- },
933
- {
934
- id: "wellness-tools-accessories",
935
- name: "Wellness Tools & Accessories",
936
- items: [
937
- {
938
- id: "wellness-accessories",
939
- name: "Wellness Accessories",
940
- description: "Yoga mats, meditation cushions, eye pillows, incense, smudging sticks, eco water bottles, wellness journals."
941
- },
942
- {
943
- id: "spiritual-tools-crystals",
944
- name: "Spiritual Tools & Crystals",
945
- description: "Healing crystals, gemstone bracelets, pendulums, sprays, spiritual kits, altar decor."
946
- },
947
- {
948
- id: "other-wellness-spiritual-items",
949
- name: "Other wellness or spiritual items",
950
- description: "Items that aid relaxation, focus, or inner work."
951
- }
952
- ]
953
- }
954
- ]
955
- }
956
- ];
957
-
958
- // src/formFields/categories/homeGardenHousehold.ts
959
- var homeGardenHousehold = [
960
- {
961
- id: "home-garden-household-goods",
962
- name: "Home, Garden & Household Goods",
963
- description: "Functional, decorative, and eco-conscious products designed for everyday use indoors and outdoors.",
964
- subcategories: [
965
- {
966
- id: "home-decor-living",
967
- name: "Home Decor & Living",
968
- items: [
969
- {
970
- id: "home-decor",
971
- name: "Home Decor",
972
- description: "Cushions, wall art, table runners, vases, trays, mirrors, handmade centerpieces."
973
- },
974
- {
975
- id: "kitchenware-dining",
976
- name: "Kitchenware & Dining",
977
- description: "Mugs, bowls, cutting boards, utensils, jars, coasters, kitchen textiles."
978
- },
979
- {
980
- id: "mini-figures-decor",
981
- name: "Mini Figures & D\xE9cor",
982
- description: "handmade or non-handmade small figures, tiny houses and miniature decorative items."
983
- },
984
- {
985
- id: "other-indoor-home-items",
986
- name: "Other indoor home items",
987
- description: "Any decorative or practical household items not listed above."
988
- }
989
- ]
990
- },
991
- {
992
- id: "cleaning-eco-essentials",
993
- name: "Cleaning & Eco Essentials",
994
- items: [
995
- {
996
- id: "cleaning-eco-supplies",
997
- name: "Cleaning & Eco Supplies",
998
- description: "Beeswax wraps, reusable cloths, brushes, natural soaps, detergent bars, eco sponges."
999
- },
1000
- {
1001
- id: "other-eco-cleaning-items",
1002
- name: "Other eco or cleaning items",
1003
- description: "Environmentally friendly goods not listed above."
1004
- }
1005
- ]
1006
- },
1007
- {
1008
- id: "garden-outdoor-living",
1009
- name: "Garden & Outdoor Living",
1010
- items: [
1011
- {
1012
- id: "plants-botanical-decor",
1013
- name: "Plants & Botanical Decor",
1014
- description: "Potted herbs, succulents, dried flowers, terrariums, plant-based ornaments."
1015
- },
1016
- {
1017
- id: "fresh-flowers-botanical-bouquets",
1018
- name: "Fresh Flowers & Botanical Bouquets",
1019
- description: "Cut flowers, seasonal bouquets, simple floral arrangements, native flower selections, and other fresh botanical items."
1020
- },
1021
- {
1022
- id: "natural-decor-nature-inspired-elements",
1023
- name: "Natural Decor & Nature-Inspired Elements",
1024
- description: "Seashell d\xE9cor, driftwood pieces, sand ornaments, natural wood accents, stone or mineral decorations, and other nature-based decorative items."
1025
- },
1026
- {
1027
- id: "garden-tools-outdoor-items",
1028
- name: "Garden Tools & Outdoor Items",
1029
- description: "Plant markers, garden signs, stakes, small tools, wind chimes, gifts."
1030
- },
1031
- {
1032
- id: "other-outdoor-garden-products",
1033
- name: "Other outdoor or garden products",
1034
- description: "Functional or decorative items for outside use."
1035
- }
1036
- ]
1037
- }
1038
- ]
1039
- }
1040
- ];
1041
-
1042
- // src/formFields/categories/petProductsAndAnimalGoods.ts
1043
- var petProductsAndAnimalGoods = [
1044
- {
1045
- id: "pet-products-animal-goods",
1046
- name: "Pet Products & Animal Goods",
1047
- description: "Items for pets, pet lovers, or animal-themed market stalls.",
1048
- subcategories: [
1049
- {
1050
- id: "products-for-pets",
1051
- name: "Products for Pets",
1052
- items: [
1053
- {
1054
- id: "pet-food-treats",
1055
- name: "Pet Food & Treats",
1056
- description: "Homemade dog biscuits, cat snacks, natural chews, pet-safe cakes, training treats."
1057
- },
1058
- {
1059
- id: "apparel-toys-accessories",
1060
- name: "Apparel, Toys & Accessories",
1061
- description: "Leashes, collars, harnesses, toys, grooming tools, beds, travel gear, jumpers, bandanas."
1062
- },
1063
- {
1064
- id: "other-pet-products",
1065
- name: "Other pet products",
1066
- description: "Any pet-related items not listed above."
1067
- }
1068
- ]
1069
- },
1070
- {
1071
- id: "small-pets-birds-exotic-animals",
1072
- name: "Small Pets, Birds & Exotic Animals",
1073
- items: [
1074
- {
1075
- id: "products-small-pets-birds-exotics",
1076
- name: "Products for Small Pets, Birds & Exotics",
1077
- description: "Toys, enclosures, perches, feeding bowls, bedding, habitat decor, transport gear, and care items for birds, rabbits, hamsters, reptiles, turtles, aquarium pets, and other exotic species."
1078
- },
1079
- {
1080
- id: "other-small-exotic-animal-items",
1081
- name: "Other small or exotic animal items",
1082
- description: "Unusual accessories for non-mainstream pets."
1083
- }
1084
- ]
1085
- },
1086
- {
1087
- id: "farm-working-animals",
1088
- name: "Farm & Working Animals",
1089
- items: [
1090
- {
1091
- id: "goods-for-farm-working-animals",
1092
- name: "Goods for Farm & Working Animals",
1093
- description: "Treats, care products, equipment, signage and accessories for chickens, goats, alpacas, horses, and other livestock."
1094
- },
1095
- {
1096
- id: "other-farm-animal-items",
1097
- name: "Other farm animal-related items",
1098
- description: "Rural, barnyard, or utility-specific gear not listed above."
1099
- }
1100
- ]
1101
- },
1102
- {
1103
- id: "animal-themed-gifts-custom-items",
1104
- name: "Animal-Themed Gifts & Custom Items",
1105
- items: [
1106
- {
1107
- id: "pet-art-custom-gifts",
1108
- name: "Pet Art & Custom Gifts",
1109
- description: "Pet portraits, name tags, personalized bowls, breed-specific items, pet-themed home decor and stationery."
1110
- },
1111
- {
1112
- id: "other-animal-themed-gifts",
1113
- name: "Other animal-themed gifts",
1114
- description: "Artistic or sentimental items made for animal lovers."
1115
- }
1116
- ]
1117
- }
1118
- ]
1119
- }
1120
- ];
1121
-
1122
- // src/formFields/categories/serviceAndExperience.ts
1123
- var serviceAndExperience = [
1124
- {
1125
- id: "services-experiences",
1126
- name: "Services & Experiences",
1127
- description: "On-site offerings that provide entertainment, personal care, learning, or interactive activities beyond products.",
1128
- subcategories: [
1129
- {
1130
- id: "personal-care-body-art",
1131
- name: "Personal Care & Body Art",
1132
- items: [
1133
- {
1134
- id: "nails-handcare",
1135
- name: "Nails & Handcare",
1136
- description: "Nail painting, decoration, quick manicures, temporary nail extensions."
1137
- },
1138
- {
1139
- id: "hair-styling-braiding",
1140
- name: "Hair Styling & Braiding",
1141
- description: "Hair braiding, plaits, child-friendly festival hairstyles."
1142
- },
1143
- {
1144
- id: "face-body-decoration",
1145
- name: "Face & Body Decoration",
1146
- description: "Henna, glitter tattoos, face painting, light makeup, eyelash styling, professional tattooing (where permitted)."
1147
- },
1148
- {
1149
- id: "other-beauty-grooming-services",
1150
- name: "Other beauty or grooming services",
1151
- description: "Small-scale personal care options offered on-site."
1152
- }
1153
- ]
1154
- },
1155
- {
1156
- id: "practical-wellness-services",
1157
- name: "Practical & Wellness Services",
1158
- items: [
1159
- {
1160
- id: "mobile-practical-services",
1161
- name: "Mobile & Practical Services",
1162
- description: "Shoe repair, phone repairs, knife sharpening, key cutting, battery replacement, bike repairs, engraving."
1163
- },
1164
- {
1165
- id: "wellness-alternative-therapies",
1166
- name: "Wellness & Alternative Therapies",
1167
- description: "Massage, aromatherapy, reflexology, energy healing (e.g. Reiki), natural consultations."
1168
- },
1169
- {
1170
- id: "other-service-based-offerings",
1171
- name: "Other service-based offerings",
1172
- description: "Wellness or functional services not listed above."
1173
- }
1174
- ]
1175
- },
1176
- {
1177
- id: "creative-educational-experiences",
1178
- name: "Creative & Educational Experiences",
1179
- items: [
1180
- {
1181
- id: "creative-workshops-maker-services",
1182
- name: "Creative Workshops & Maker Services",
1183
- description: "Candle making, pottery, jewelry crafting, soap or balm workshops, calligraphy, seasonal crafts."
1184
- },
1185
- {
1186
- id: "education-awareness-stalls",
1187
- name: "Education & Awareness Stalls",
1188
- description: "Eco awareness, cultural storytelling, local history, first aid demos, health booths, sustainability education, kids\u2019 science displays."
1189
- },
1190
- {
1191
- id: "other-creative-educational-services",
1192
- name: "Other creative or educational services",
1193
- description: "Informal learning, demonstrations, or community-focused sessions."
1194
- }
1195
- ]
1196
- },
1197
- {
1198
- id: "kids-activities-family-fun",
1199
- name: "Kids\u2019 Activities & Family Fun",
1200
- items: [
1201
- {
1202
- id: "kids-activities-fun",
1203
- name: "Kids\u2019 Activities & Fun",
1204
- description: "Face painting, glitter tattoos, pony rides, bouncy castles, small amusement rides, balloon twisting, animal petting zones."
1205
- },
1206
- {
1207
- id: "other-family-oriented-activities",
1208
- name: "Other family-oriented activities",
1209
- description: "On-site entertainment that engages children or family groups."
1210
- }
1211
- ]
1212
- }
1213
- ]
1214
- }
1215
- ];
1216
-
1217
- // src/formFields/categories/toysChildren.ts
1218
- var toysChildren = [
1219
- {
1220
- id: "toys-childrens-items",
1221
- name: "Toys & Children\u2019s Items",
1222
- description: "Products and services made for or inspired by children.",
1223
- subcategories: [
1224
- {
1225
- id: "toys-playthings",
1226
- name: "Toys & Playthings",
1227
- items: [
1228
- {
1229
- id: "toys-classic-electric-character",
1230
- name: "Toys \u2013 Classic, Electric & Character-Based",
1231
- description: "Building blocks, dolls, puzzles, plush animals, toy vehicles, remote-control toys, light-up gadgets, character figurines, themed playsets."
1232
- },
1233
- {
1234
- id: "handmade-toys-crafty-playthings",
1235
- name: "Handmade Toys & Crafty Playthings",
1236
- description: "Wooden puzzles, crocheted animals, felt toys, fabric dolls, DIY kits, nature-inspired games, sensory toys."
1237
- },
1238
- {
1239
- id: "other-play-items",
1240
- name: "Other play items",
1241
- description: "Toys not listed above, including limited-edition or hybrid items."
1242
- }
1243
- ]
1244
- },
1245
- {
1246
- id: "educational-developmental",
1247
- name: "Educational & Developmental",
1248
- items: [
1249
- {
1250
- id: "educational-developmental-tools",
1251
- name: "Educational & Developmental Tools",
1252
- description: "STEM kits, Montessori toys, storybooks, picture books, flashcards, early learning games, language tools."
1253
- },
1254
- {
1255
- id: "other-educational-experience-based-items",
1256
- name: "Other educational or experience-based items",
1257
- description: "Creative experiences or learning aids not listed above."
1258
- }
1259
- ]
1260
- },
1261
- {
1262
- id: "baby-kidswear-accessories",
1263
- name: "Baby & Kidswear + Accessories",
1264
- items: [
1265
- {
1266
- id: "baby-kidswear-accessories",
1267
- name: "Baby & Kidswear + Accessories",
1268
- description: "Handmade baby clothes, toddler outfits, bibs, hats, headbands, bags, pacifier clips, soft shoes."
1269
- },
1270
- {
1271
- id: "baby-developmental-soft-toys",
1272
- name: "Baby Developmental Soft Toys",
1273
- description: "Sensory toys, rattles, fabric books, teething items, high-contrast cards, and early-skill. Montessori materials designed to support infants\u2019 cognitive and motor development."
1274
- },
1275
- {
1276
- id: "other-childrens-clothing-accessories",
1277
- name: "Other children\u2019s clothing or accessories",
1278
- description: "Unique fashion or functional pieces for kids."
1279
- }
1280
- ]
1281
- }
1282
- ]
1283
- }
1284
- ];
1285
-
1286
- // src/formFields/categories/vintageAndAntique.ts
1287
- var vintageAndAntique = [
1288
- {
1289
- id: "vintage-antique",
1290
- name: "Vintage & Antique",
1291
- description: "Unique, historic, or nostalgic items with collectible or decorative value.",
1292
- subcategories: [
1293
- {
1294
- id: "vintage-antique-clothing-accessories",
1295
- name: "Vintage & Antique Clothing & Accessories",
1296
- items: [
1297
- {
1298
- id: "clothing-vintage-fashion",
1299
- name: "Clothing and wearable items from past eras",
1300
- description: "Vintage dresses, jackets, hats, gloves, belts, bags, shoes, jewellery."
1301
- },
1302
- {
1303
- id: "other-clothing-accessory-items",
1304
- name: "Other clothing-related items",
1305
- description: "Hair clips, brooches, pins, scarf rings, small fashion accessories."
1306
- }
1307
- ]
1308
- },
1309
- {
1310
- id: "collectibles-memorabilia",
1311
- name: "Collectibles & Memorabilia",
1312
- items: [
1313
- {
1314
- id: "small-collectible-items",
1315
- name: "Small collectible items with historical or nostalgic significance",
1316
- description: "Coins, stamps, toys, postcards, comics, sports cards, vintage packaging."
1317
- },
1318
- {
1319
- id: "other-collectible-items",
1320
- name: "Other collectible items",
1321
- description: "Rare small objects, miniature figurines, special-edition items."
1322
- }
1323
- ]
1324
- },
1325
- {
1326
- id: "homewares-decor-curiosities",
1327
- name: "Homewares, Decor & Curiosities",
1328
- items: [
1329
- {
1330
- id: "decorative-functional-vintage-items",
1331
- name: "Decorative or functional items with a vintage or antique aesthetic",
1332
- description: "Teacups, plates, vases, mirrors, clocks, furniture, old tools, lanterns, typewriters, curiosities."
1333
- },
1334
- {
1335
- id: "handmade-vintage-art",
1336
- name: "Handmade vintage art",
1337
- description: "Paintings, sculptures, crafted pieces."
1338
- },
1339
- {
1340
- id: "other-home-decor-items",
1341
- name: "Other home or decor items",
1342
- description: "Decorative pieces not listed above, unique household objects."
1343
- }
1344
- ]
1345
- },
1346
- {
1347
- id: "vintage-media-printed-nostalgia",
1348
- name: "Vintage Media & Printed Nostalgia",
1349
- items: [
1350
- {
1351
- id: "older-media-printed-works",
1352
- name: "Older media formats and printed works",
1353
- description: "Vinyl records, cassette tapes, CDs, DVDs, books, magazines, board games, posters."
1354
- },
1355
- {
1356
- id: "other-media-printed-items",
1357
- name: "Other media or printed items",
1358
- description: "Maps, manuals, leaflets, out-of-print materials."
1359
- }
1360
- ]
1361
- },
1362
- {
1363
- id: "other-vintage-antique-items",
1364
- name: "Other Vintage & Antique Items",
1365
- items: [
1366
- {
1367
- id: "any-vintage-antique-items-not-listed",
1368
- name: "Any vintage or antique items not listed above",
1369
- description: "Unique, rare or uncategorised pieces."
1370
- }
1371
- ]
1372
- }
1373
- ]
1374
- }
1375
- ];
1376
-
1377
- // src/formFields/categories/index.ts
1378
- var categoryColors = {
1379
- "clothing-fashion": "#9D4EDD",
1380
- "electronics-technology": "#3AF3FF",
1381
- "food-beverages": "#FF0D1F",
1382
- "handmade-local-products": "#EE7E54",
1383
- "health-wellness": "#E23794",
1384
- "home-garden-household-goods": "#067325",
1385
- "pet-products-animal-goods": "#68E788",
1386
- "services-experiences": "#2E16A5",
1387
- "toys-childrens-items": "#FFF966",
1388
- "vintage-antique": "#8D6748"
1389
- };
1390
- var assignColorToCategories = (categories) => {
1391
- const result = categories.map((category) => ({
1392
- ...category,
1393
- color: categoryColors[category.id]
1394
- }));
1395
- return result;
1396
- };
1397
- var availableCategories = assignColorToCategories([
1398
- ...foodAndBeverages,
1399
- ...handmadeAndLocalProducts,
1400
- ...clothingAndFashion,
1401
- ...homeGardenHousehold,
1402
- ...toysChildren,
1403
- ...healthAndWellness,
1404
- ...electronicsAndTechnology,
1405
- ...vintageAndAntique,
1406
- ...petProductsAndAnimalGoods,
1407
- ...serviceAndExperience
1408
- ]);
1409
-
1410
167
  // src/sharing/relationShareTypes.ts
1411
168
  var RELATION_SHARE_INVITATION = "invitation";
1412
169
  var RELATION_SHARE_APPLICATION = "application";
1413
- var RELATION_OVERLAY_LAYOUT_VERSION = 36;
170
+ var RELATION_OVERLAY_LAYOUT_VERSION = 43;
1414
171
  var RELATION_SHARE_RESOURCE_TYPES = [
1415
172
  RELATION_SHARE_INVITATION,
1416
173
  RELATION_SHARE_APPLICATION
@@ -1424,7 +181,7 @@ function isRelationShareResourceType(resourceType) {
1424
181
  // src/sharing/constants.ts
1425
182
  var SOCIAL_IMAGE_WIDTH = 1200;
1426
183
  var SOCIAL_IMAGE_HEIGHT = 630;
1427
- var SHARE_SITE_URL = CLUEMART_MAIN_DOMAIN_URL;
184
+ var SHARE_SITE_URL = "https://cluemart.co.nz";
1428
185
  var SHARE_CALENDAR_ICON = "\u{1F4C5}";
1429
186
  var SHARE_MARKET_DATES_SECTION_HEADING = `${SHARE_CALENDAR_ICON} Market dates:`;
1430
187
  var SHARE_CHECKMARK_ICON = "\u2705";
@@ -1447,7 +204,9 @@ var DEFAULT_SHARE_OG_IMAGE = `${SHARE_SITE_URL}/assets/logo.webp`;
1447
204
  var RESOURCE_SHARE_TYPES = [
1448
205
  "market",
1449
206
  "stallholder",
1450
- "partner"
207
+ "partner",
208
+ "affiliate",
209
+ "school"
1451
210
  ];
1452
211
  var POST_SHARE_RESOURCE_TYPES = [
1453
212
  "market_faces",
@@ -1462,7 +221,9 @@ var SHARE_RESOURCE_LABEL = {
1462
221
  play_and_win: "Play & Win",
1463
222
  market: "Market",
1464
223
  partner: "Partner",
1465
- stallholder: "Stallholder"
224
+ stallholder: "Stallholder",
225
+ affiliate: "Affiliate",
226
+ school: "School"
1466
227
  };
1467
228
  function isPostShareResourceType(resourceType) {
1468
229
  return POST_SHARE_RESOURCE_TYPES.includes(
@@ -1681,6 +442,11 @@ function buildShareOgDescription(_title, description) {
1681
442
  splitShareDescriptionSections(description)
1682
443
  );
1683
444
  }
445
+ function stripOverlaySubtitleSpecialChars(text) {
446
+ const regex = /[^\p{L}\p{M}\p{N}\s.,!?'"&\-():;/]/gu;
447
+ const result = text.replace(/\p{Extended_Pictographic}/gu, "").replace(regex, "");
448
+ return result.trim();
449
+ }
1684
450
 
1685
451
  // src/sharing/normalizeShareRouteId.ts
1686
452
  function normalizeShareRouteId(id) {
@@ -1698,6 +464,25 @@ function buildSharePagePath(resourceType, slug) {
1698
464
  function shareSlugResourceId(resource) {
1699
465
  return resource?._id ?? null;
1700
466
  }
467
+
468
+ // src/sharing/toShareSocialImageCacheVersion.ts
469
+ function toShareSocialImageCacheVersion(updatedAt) {
470
+ if (updatedAt == null || updatedAt === "") {
471
+ return null;
472
+ }
473
+ let ms;
474
+ if (typeof updatedAt === "number") {
475
+ ms = updatedAt;
476
+ } else if (updatedAt instanceof Date) {
477
+ ms = updatedAt.getTime();
478
+ } else {
479
+ ms = Date.parse(String(updatedAt));
480
+ }
481
+ if (!Number.isFinite(ms)) {
482
+ return null;
483
+ }
484
+ return String(Math.trunc(ms));
485
+ }
1701
486
  // Annotate the CommonJS export names for ESM import in node:
1702
487
  0 && (module.exports = {
1703
488
  DEFAULT_SHARE_OG_IMAGE,
@@ -1767,6 +552,8 @@ function shareSlugResourceId(resource) {
1767
552
  normalizeShareText,
1768
553
  shareMessageFooterPlacementForType,
1769
554
  shareSlugResourceId,
1770
- splitShareDescriptionSections
555
+ splitShareDescriptionSections,
556
+ stripOverlaySubtitleSpecialChars,
557
+ toShareSocialImageCacheVersion
1771
558
  });
1772
559
  //# sourceMappingURL=index.cjs.map