October Trip Packing List for 1

","categories": [{"n": "Clothing","i": ["Lightweight sweater (2) for layering during cooler evenings.","Comfortable walking shoes (1 pair) for exploring the area.","Casual outfits (5) suitable for day and night activities.","Warm jacket (1) in case of unexpected weather changes.","Undergarments (7) for daily freshness.","Socks (7 pairs) for comfort while walking.","Scarf and gloves (1 set) if temperatures drop."]},{"n": "Toiletries","i": ["Travel-sized shampoo and conditioner (1 each) for personal use.","Toothbrush and toothpaste (1 each) to maintain oral hygiene.","Deodorant (1) to stay fresh throughout the trip.","Sunscreen (1) with high SPF to protect from UV rays.","Moisturizer (1) to keep skin hydrated in varying climates.","Make-up kit (optional) for those who wear it.","Personal hygiene items (tampons/pads) as needed."]},{"n": "Electronics","i": ["Smartphone (1) for communication and navigation.","Chargers for all devices (1 set) to keep electronics powered.","Camera (1) for capturing memories of the trip.","Portable power bank (1) to charge devices on the go.","Laptop or tablet (optional) if needed for work or entertainment."]},{"n": "Travel Essentials","i": ["Passport and travel documents (1 set) for identification.","Travel itinerary and accommodation confirmations (1 set) for guidance.","Travel insurance information (1 copy) for safety.","Reusable water bottle (1) to stay hydrated.","Snacks (various) for quick energy boosts during outings.","Local currency or credit/debit cards (1 set) for expenses.","Map or guidebook (1) for exploring the area."]},{"n": "Miscellaneous","i": ["Books or e-reader (1) for leisure reading during downtime.","Travel pillow (1) for comfort during transit.","First aid kit (1) with basic supplies for emergencies.","Umbrella or raincoat (1) in case of rainy weather.","Travel laundry bag (1) to keep dirty clothes separate."]}]}'; var version = '2'; var hashtag = 'packinglist'; socialMessage = 'Check out this amazing ' + pageWord + ' #plantrip #' + hashtag; socialUrl = 'https://plantrip.io/' + type + '/' + id; // on document ready jquery $(document).ready(function() { $(".share-page-buttons").show(); }); if (type == "packing-list") { if (version != 2) { // simply put the content into the container $("#list-container").html(content); } else { Handlebars.registerHelper("formatDate", function(dateString) { if (dateString == null) return ""; return " / " + moment(dateString).format("dddd, D MMMM"); }); var html = getFormattedPackingList(content); $("#list-container").html(html); } } $(document).on("click", "#save-packing-list-to-trips", function() { // post to /api/saveToTrips $.post( "/api/saveToTrips", { mode: "packingList", id: id, userAuthToken: userAuthToken, }, function(data) { // parse the raw json string into a javascript object data = JSON.parse(data); window.location.href = data.redirect; } ); });