-->
`;
const embedded = createRawHtml(rawHtml);
embedded.appendChild(appendScript("https://platform.twitter.com/widgets.js"));
return embedded;
}
function processSingleContentElement(contentElement) {
switch (contentElement.displayType) {
case 'section': return contentElement.elements.map(it => processSingleContentElement(it));
case 'paragraph': return createSimpleTextElement(contentElement.text);
case 'header': return createSimpleTextElement(contentElement.text, 'h' + contentElement.level);
case 'image': return createImage(contentElement);
case 'twitter': return createTwitter(contentElement);
case 'youtube': return createYoutube(contentElement);
default: return createSimpleTextElement(JSON.stringify(contentElement));
}
}
function fillContentIntoElement(createdElement, htmlEl) {
try {
console.log(createdElement, htmlEl);
if (createdElement.length) {
createdElement.forEach(ch => htmlEl.appendChild(ch));
} else {
htmlEl.appendChild(createdElement);
}
} catch (e) {
console.error(e.message);
}
}
function fillContent(contentElementsList, htmlElements) {
const contentElements = Array.from(contentElementsList);
console.log(contentElements);
const lastElementIndex = htmlElements.length - 1;
htmlElements.forEach((htmlEl, index) => {
htmlEl.innerHTML = '';
if(contentElements.length > index) {
if(index === lastElementIndex) {
contentElements.slice(index).forEach(ce => fillContentIntoElement(processSingleContentElement(ce),htmlEl))
} else {
const createdElement = processSingleContentElement(contentElements[index]);
fillContentIntoElement(createdElement, htmlEl);
}
}
});
}
function createSlides(slides) {
const templateWrapper = document.getElementById('slide-template');
const template = templateWrapper.content.querySelector(".slide-template");
return slides.map((it, index) => {
const cloned = template.cloneNode(true);
const contentPlaceholders = cloned.querySelectorAll(".content-placeholder");
fillContent(it.elements, contentPlaceholders)
if (infiniteLayout) {
cloned.querySelectorAll(".adslot").forEach(slot => {
slot.id = slot.id + '_' + index;
});
}
return cloned;
});
}
var slides = [{"elements":[{"text":"","level":3,"displayType":"header"},{"elements":[{"text":"Whether it's the abundance of sunshine, crashing waves, or silky sand, we all have our favorite beach features. Thousands of people visit seaside locations every year in search of the perfect beach to rest and unwind on. Beaches are available in a variety of colors and sizes. But some beaches are truly unique and one-of-a-kind, attracting throngs of people each year due to their exceptional beauty. Here are ten of the world's most distinctive and unique beaches, all of which are testaments to nature's magnificent handiwork.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"elements":[{"text":"","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"1. Giant’s Causeway, Northern Ireland","level":3,"displayType":"header"},{"elements":[{"text":"The\nGiant's Causeway is located on the edge of the Antrim plateau in Northern\nIreland, at the foot of basalt cliffs along the sea shore. It consists of\n40,000 enormous black basalt columns protruding from the sea. ","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/60e6d25e-d3bd-404b-92bc-238389593788.jpeg","caption":"Pexels","displayType":"image"},{"elements":[{"text":"The\nmost famous legend about the Giant's Causeway, which gives the attraction its\nname, is that the columns are relics of a causeway built by the giant Finn\nMacCool. Over the last 300 years, geological studies of these formations have\nsubstantially aided the development of the earth sciences, demonstrating that this\nstunning landscape was created by volcanic activity during the Tertiary period,\nsome 50–60 million years ago.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"2. Shell Beach in Shark Bay Region, Australia","level":3,"displayType":"header"},{"elements":[{"text":"Shell\nBeach, 45 kilometers south-east of Denham in the Shark Bay World Heritage Area,\nis home to billions of small shells and is close to the Hamelin Pool Stromatolites.\nThis stunning snow-white beach stretches for nearly 70 kilometers and is made\nup of billions of tiny shells up to 10 meters deep.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/1011ae10-ce91-48fc-a519-0f5d06ef6066.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"Shell\nBeach is one of only a few spots on the planet where beach sand is replaced by\nshells in such a dramatic and beautiful fashion. Shell Beach offers a unique\nwalking experience. Shell Beach also boasts extremely salty ocean waters,\nallowing swimmers to effortlessly float on the surface.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"3. Pink Sand Beach in Harbour Island, Bahamas","level":3,"displayType":"header"},{"elements":[{"text":"The\nbeach, which is located on one of the Bahamas' smaller islands, is ideal for\nsunbathing and swimming in the warm, clear water. The most remarkable feature,\nthough, is a 5-kilometer stretch of beautiful pink sand! It is one of the\nworld's most extraordinary beaches.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/610a066b-137e-4389-81f2-663ae31d24f3.jpeg","caption":"Unsplash","displayType":"image"},{"elements":[{"text":"Foraminifera\n— a marine invertebrate – and its red shell, which crushes and then blends with\nthe white sand, gives the sand its light rose tint. Numerous resorts adorn the\nexquisite island, ensuring complete relaxation in these idyllic surroundings.\nVisitors can go swimming, snorkeling, and fishing during the day, and then\nvisit the town in the evening to enjoy the vibrant nightlife.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"4. Moon Beach in Milos Islands, Greece","level":3,"displayType":"header"},{"elements":[{"text":"Sarakiniko,\non the island of Milos, is a well-known beach with white rock formations. It is\nsituated on the Greek island of Milos. Sarakiniko Beach is also known as Moon\nBeach. The island lies in the Cyclades archipelago, which also includes Santorini\nand Naxos, and is formed like a horseshoe. In contrast to many other well-known\nGreek islands, the island is gorgeous and calm.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/1bc94bdf-7a09-416c-b050-a2f22b7cf953.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"With\nits gleaming white tone, the entire landscape built by volcanic rocks shows no\nindications of vegetation. This contrasts beautifully with the surrounding\nwater's vivid blue and turquoise hues. The scene provides the feeling of being\non the moon's surface.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"5. Koekohe Beach, New Zealand","level":3,"displayType":"header"},{"elements":[{"text":"Koekohe\nBeach is a strange, slightly wonderful location near the fishing community of\nMoeraki in the Otago area of New Zealand's south island's beach line. These\nparticularly large spherical boulders are technically known as septarian\nconcretions.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/64d07c0e-4aea-4dee-bbc3-bbb5fab687e7.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"Some\nof the rocks are approximately three meters large, and the majority of them\nhave fissures on their surfaces, making them look like huge dinosaur eggs. The\nMoeraki Boulders are said to be gourds that washed ashore when the Araiteuru\nboat was destroyed hundreds of years ago.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"6. Glass Beach in Fort Bragg, California","level":3,"displayType":"header"},{"elements":[{"text":"Glass\nBeach is MacKerricher State Park's well-known southern beach in Fort Bragg.\nGlass Beach is named after the smooth, multicolored glass pieces that can be\nfound strewn across the pebbly beach. It's the result of years of trash being\ndumped in the neighborhood by locals. The debris was finally crushed into the\nsand by the ebb and flow of the tides and surf. ","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/9c23ed6f-80b2-4fec-a105-7faca67dabf7.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"Thousands\nof people visit the glass beach every day. Although it is prohibited to take\nany glass from Glass Beach, this hasn't stopped people from stealing what\nappears to be a little amount.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"7. Scala Dei Turchi in Sicily, Italy","level":3,"displayType":"header"},{"elements":[{"text":"This\nis without a doubt one of the most fascinating stairways you've ever seen. It\nis a stunning stretch of shoreline that has become a symbol of Sicilian\nbeach tourism due to its uniqueness.","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/370b12ad-7256-4467-bd96-c9bd66de1a27.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"This\nwhite cliff can be found between Realmonte and Porto Empedocle (Agrigento), and\nits rock is made of soft limestone and brilliant white marl. Visitors are\nwelcome to wander on the soft, white cliffs, however, they are not permitted to\ntake any of the rocks. Sicily is committed to preserving this outstanding\nlandmark for the foreseeable future.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"8. Black Beach, Iceland","level":3,"displayType":"header"},{"elements":[{"text":"Reynisfjara\nis a world-famous black-sand beach on Iceland's south coast, close to the\nlittle fishing community of Vk Mrdal. It features characteristic Icelandic\nblack sand, towering basalt columns, and big waves rushing onto the beach. The\nbasalt rock formations were used in a couple of Game of Thrones episodes because of their unusual shape!","level":0,"displayType":"paragraph"},{"text":"","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/62a637d9-e620-4f2b-bd70-21885e432923.png","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"These\nmassive basalt columns were formerly thought to be trolls attempting to draw\nships from the sea to land, according to local legend. These trolls, on the\nother hand, were dim and ventured out late at night; daylight came on the\nhorizon, turning the trolls into solid stone.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"9. Hidden Beach in Marieta, Mexico","level":3,"displayType":"header"},{"elements":[{"text":"The\nHidden Beach, or Playa del Amor, is a highlight of the Marieta Islands, which are\nlocated 22 nautical miles west of Puerto Vallarta, Mexico, at the inlet of\nBanderas Bay. A huge, sandy cavern with the Pacific's azure seas flowing in\nlooks like something out of a dream story.","level":0,"displayType":"paragraph"},{"text":"","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/de0f8e1b-0a1c-4eb4-af4f-c79128ff3677.jpeg","caption":"Amusing Planet","displayType":"image"},{"elements":[{"text":"The\nhole that created the Hidden Beach is said to have been created by intentional\nbombings. The Hidden Beach is hidden from view and can only be reached by a\nlong water tunnel that connects the beach to the Pacific Ocean. Visitors can\nswim or kayak to the beach because there is around six feet of space above sea\nlevel.","level":1,"displayType":"paragraph"}],"displayType":"section"}]},{"elements":[{"text":"10. Cave Beach in Algarve, Portugal","level":3,"displayType":"header"},{"elements":[{"text":"The\ngolden beaches and magnificent azure seas at Algar de Benagil, also known as\ncave beach, are spectacular within the cave, with sunshine shining through the\nroof and golden sand. For those who have not visited, it is a natural wonder of\nthe world and pure travel inspiration. ","level":0,"displayType":"paragraph"}],"displayType":"section"},{"imageUrl":"/static/a3764d3b-8d8c-42ba-b4d7-1658915cf604.jpeg","caption":"Wikimedia Commons","displayType":"image"},{"elements":[{"text":"With\nsunlight spilling through the cave's roof, golden sand, and magnificent\nturquoise waters, Algar de Benagil, the cave's Portuguese name, is\nbreathtaking. Natural light pours in through the wide natural hole at the top,\nand the sun's rays create a breathtaking natural sight. The lighting reflects\nmagnificent colors everywhere as it dips into the ocean, accentuating the\nwater's emerald green and the rocks' gold.","level":1,"displayType":"paragraph"}],"displayType":"section"}]}];
var slide_index = parseInt(0);
var slide_json = createSlides(slides);
var initial_slide = slide_index;
var initial_url = location.pathname + location.search;
var base_url = '/10-most-unique-beaches-in-the-world-you-must-visit';
var next_gallery = '/spoiled-pets';
var first_load = true;
var has_scrolled = false;
var title = "10 Most Unique Beaches In The World You Must Visit";
var path = base_url
var utm_campaign, utm_subid, utm_source, utm_content, utm_term = 'n/a';
// try {
// var url = new URL(window.location.href);
// utm_campaign = encodeURIComponent(url.searchParams.get("utm_campaign"));
// utm_source = encodeURIComponent(url.searchParams.get("utm_source"));
// utm_content = encodeURIComponent(url.searchParams.get("utm_content"));
// utm_term = encodeURIComponent(url.searchParams.get("utm_term"));
// utm_medium = encodeURIComponent(url.searchParams.get("utm_medium"));
// if (utm_content && utm_campaign){
// var googletag = googletag || {};
// googletag.cmd = googletag.cmd || [];
// googletag.cmd.push(function() {
// googletag.pubads().setTargeting("utm_subid", utm_term);
// googletag.pubads().setTargeting("utm_subid_c", utm_campaign);
// });
// }
// } catch (e) {
// }