// en/group_deal
// reserved for pending features (group-deal admin, dashboard KPIs)
export const group_deal = {
  type_label: 'Group Deal',
  type_description: 'Group buying deal - gather enough people and enjoy a special price',

  // Fill rules
  fill_rule_all_or_nothing: 'All or Nothing',
  fill_rule_all_or_nothing_desc: 'Deal executes only if all slots are filled',
  fill_rule_minimum_threshold: 'Minimum Threshold',
  fill_rule_minimum_threshold_desc: 'Deal executes when minimum participants are reached',

  // Sizes & limits
  min_group_size: 'Minimum participants',
  max_group_size: 'Maximum participants',
  max_size: 'Maximum: {{count}}',
  per_customer_limit: 'Per customer limit',
  per_customer_limit_desc: 'Maximum units per customer',
  qty_at_limit: 'You have reached the maximum quantity per customer ({{max}} units)',
  quantity: 'Quantity',

  // Progress
  progress_label: 'Progress',
  participants_of: '{{current}} of {{target}} joined',
  purchased_of: '{{current}} of {{target}} purchased',
  units_to_next_tier: '{{count}} more for {{percent}}% off',
  best_price_unlocked: 'Best price unlocked',
  spots_remaining: '{{count}} spots remaining',
  threshold_met: 'Minimum reached! Deal will execute',
  threshold_not_met: '{{count}} more needed to reach minimum',
  group_full: 'Group full',

  // Actions
  join_group: 'Join Group Deal',
  join_waitlist: 'Join Waitlist',
  leave_waitlist: 'Leave Waitlist',
  cancel_reservation: 'Cancel Reservation',
  reserve_spot: 'Reserve Your Spot',

  // Hold/charge notices
  hold_notice:
    'The amount will be held on your card. You will only be charged if the deal succeeds.',
  charge_notice: 'Deal executed - your card was charged {{amount}}',
  release_notice:
    'Deal did not complete - the hold on your card has been released, you were not charged',

  // Deadline
  deadline_label: 'Deadline',
  time_remaining: '{{time}} remaining',
  extended_until: 'Extended until {{date}}',
  deadline_passed: 'Deal ended',

  // Tiered pricing
  tier_pricing_header: 'Price drops as more people join',
  tier_row: '{{participants}}+ participants - ₪{{price}} per unit',
  current_tier: 'Current price',
  next_tier: '{{count}} more to next price drop',

  // Early bird
  early_bird_badge: 'Early Bird',
  early_bird_remaining: '{{count}} early bird spots left',
  early_bird_discount: 'Extra {{percent}}% off for early joiners',

  // Social sharing
  social_share_cta: 'Share & earn a reward',
  social_share_reward: 'Sharing reward: {{reward}}',

  // Bulk pickup
  bulk_pickup_notice: 'This deal includes coordinated pickup. Details: {{details}}',

  // States
  state_collecting: 'Collecting Participants',
  state_threshold_met: 'Minimum Reached',
  state_executing: 'Processing Charges',
  state_succeeded: 'Successfully Executed',
  state_failed: 'Did Not Complete',
  state_partial_pending: 'Awaiting Vendor Decision',
  state_vendor_honored: 'Vendor Honored',
  state_extended: 'Extended',

  // Cancellation
  cancellation_legal_window: 'Free cancellation within 14 days of reservation',
  cancellation_flexible: 'Cancel any time before the deal closes',
  cancellation_custom_window: 'Cancel up to {{hours}} hours before deal closes',
  cancellation_not_allowed: 'This reservation cannot be cancelled',
  cancellation_confirmed: 'Reservation cancelled, card hold released',

  // Reservation affordance (detail page)
  your_reservation: 'Your Reservation',
  view_reservation: 'View reservation',
  cancel_reservation_confirm: 'Cancel your reservation?',
  cancel_reservation_success: 'Reservation cancelled successfully',
  waitlist_join_title: 'Join the Waitlist',

  // Waitlist
  waitlist_position: 'Your waitlist position: {{position}}',
  waitlist_promoted: "A spot opened up! You've been promoted from the waitlist",

  // Vendor actions
  vendor_honor_prompt: 'Deal did not reach minimum. Honor it at the original conditions?',
  vendor_honor_accept: 'Honor the Deal',
  vendor_honor_decline: 'Cancel the Deal',
  vendor_honor_deadline: 'You have 24 hours to decide',
  vendor_extend_prompt: 'Extend the deal deadline',
  vendor_extend_confirm: 'Extend Deal',
  vendor_relaunch: 'Relaunch',
  vendor_relaunch_confirm:
    'A new group deal with the same terms will be created and you will be redirected to it. Participants from the failed round are not carried over.',
  vendor_honor_confirm_desc:
    'Honor the deal for participants who joined, at the original price? This cannot be undone.',
  vendor_extend_confirm_desc:
    'Extend the deadline to {{date}}? Existing participants will stay enrolled.',
  vendor_tiers_title: 'Price tiers',
  vendor_tiers_participants: 'From participants',
  vendor_tiers_price: 'Price per unit',
  vendor_tiers_active: 'Active tier',

  // Vendor dashboard
  vendor_dashboard_title: 'Dashboard - Group Deal',
  vendor_dashboard_participants: 'Participants (of minimum)',
  vendor_dashboard_participants_max: 'max {{max}}',
  vendor_dashboard_revenue: 'Captured revenue',
  vendor_dashboard_held_revenue: 'Held revenue',
  vendor_dashboard_projected_revenue: 'Projected revenue',
  vendor_dashboard_time_remaining: 'Time Remaining',
  vendor_dashboard_fill_rate: 'Capacity filled',
  vendor_dashboard_error_title: 'Error loading data',
  vendor_dashboard_error_desc: 'Could not load group deal details.',
  vendor_dashboard_retry: 'Try again',
  vendor_dashboard_back: 'Back to my deals',

  // Execution/failure notifications
  execution_success_title: 'Group Deal Executed!',
  execution_success_body: 'All charges completed successfully. QR codes sent to all participants.',
  failure_title: 'Group Deal Did Not Complete',
  failure_body: 'Minimum participants were not reached. All card holds have been released.',
  failure_refund_notice: 'You were not charged - the card hold has been released',
  seo_title: '{dealTitle} - Group Deal - Multideal',
  seo_description:
    '{vendorName}: {dealTitle} at ₪{discountedPrice}. {currentCount} of {maxCount} joined.',
  page_title: 'Group Deal Dashboard - Multideal',
  buy_page_title: 'Join - {dealTitle} - Multideal',
  buy_page_description: 'Join this group deal: {dealTitle} by {vendorName}',
} as const;
