var mi_version = '8.19';
var mi_track_user = true;
var mi_no_track_reason = '';
var disableStrs = [
'ga-disable-G-158X3Y3RM5',
];/* Function to detect opted out users */
function __gtagTrackerIsOptedOut() {
for (var index = 0; index < disableStrs.length; index++) {
if (document.cookie.indexOf(disableStrs[index] + '=true') > -1) {
return true;
}
}return false;
}/* Disable tracking if the opt-out cookie exists. */
if (__gtagTrackerIsOptedOut()) {
for (var index = 0; index < disableStrs.length; index++) {
window[disableStrs[index]] = true;
}
}/* Opt-out function */
function __gtagTrackerOptout() {
for (var index = 0; index < disableStrs.length; index++) {
document.cookie = disableStrs[index] + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
window[disableStrs[index]] = true;
}
}if ('undefined' === typeof gaOptout) {
function gaOptout() {
__gtagTrackerOptout();
}
}
window.dataLayer = window.dataLayer || [];window.MonsterInsightsDualTracker = {
helpers: {},
trackers: {},
};
if (mi_track_user) {
function __gtagDataLayer() {
dataLayer.push(arguments);
}function __gtagTracker(type, name, parameters) {
if (!parameters) {
parameters = {};
}if (parameters.send_to) {
__gtagDataLayer.apply(null, arguments);
return;
}if (type === 'event') {
parameters.send_to = monsterinsights_frontend.v4_id;
var hookName = name;
if (typeof parameters['event_category'] !== 'undefined') {
hookName = parameters['event_category'] + ':' + name;
}if (typeof MonsterInsightsDualTracker.trackers[hookName] !== 'undefined') {
MonsterInsightsDualTracker.trackers[hookName](parameters);
} else {
__gtagDataLayer('event', name, parameters);
}
} else {
__gtagDataLayer.apply(null, arguments);
}
}__gtagTracker('js', new Date());
__gtagTracker('set', {
'developer_id.dZGIzZG': true,
});
__gtagTracker('config', 'G-158X3Y3RM5', {"forceSSL":"true","link_attribution":"true"} );
window.gtag = __gtagTracker; (function () {
/* https://developers.google.com/analytics/devguides/collection/analyticsjs/ */
/* ga and __gaTracker compatibility shim. */
var noopfn = function () {
return null;
};
var newtracker = function () {
return new Tracker();
};
var Tracker = function () {
return null;
};
var p = Tracker.prototype;
p.get = noopfn;
p.set = noopfn;
p.send = function () {
var args = Array.prototype.slice.call(arguments);
args.unshift('send');
__gaTracker.apply(null, args);
};
var __gaTracker = function () {
var len = arguments.length;
if (len === 0) {
return;
}
var f = arguments[len - 1];
if (typeof f !== 'object' || f === null || typeof f.hitCallback !== 'function') {
if ('send' === arguments[0]) {
var hitConverted, hitObject = false, action;
if ('event' === arguments[1]) {
if ('undefined' !== typeof arguments[3]) {
hitObject = {
'eventAction': arguments[3],
'eventCategory': arguments[2],
'eventLabel': arguments[4],
'value': arguments[5] ? arguments[5] : 1,
}
}
}
if ('pageview' === arguments[1]) {
if ('undefined' !== typeof arguments[2]) {
hitObject = {
'eventAction': 'page_view',
'page_path': arguments[2],
}
}
}
if (typeof arguments[2] === 'object') {
hitObject = arguments[2];
}
if (typeof arguments[5] === 'object') {
Object.assign(hitObject, arguments[5]);
}
if ('undefined' !== typeof arguments[1].hitType) {
hitObject = arguments[1];
if ('pageview' === hitObject.hitType) {
hitObject.eventAction = 'page_view';
}
}
if (hitObject) {
action = 'timing' === arguments[1].hitType ? 'timing_complete' : hitObject.eventAction;
hitConverted = mapArgs(hitObject);
__gtagTracker('event', action, hitConverted);
}
}
return;
}function mapArgs(args) {
var arg, hit = {};
var gaMap = {
'eventCategory': 'event_category',
'eventAction': 'event_action',
'eventLabel': 'event_label',
'eventValue': 'event_value',
'nonInteraction': 'non_interaction',
'timingCategory': 'event_category',
'timingVar': 'name',
'timingValue': 'value',
'timingLabel': 'event_label',
'page': 'page_path',
'location': 'page_location',
'title': 'page_title',
};
for (arg in args) {
if (!(!args.hasOwnProperty(arg) || !gaMap.hasOwnProperty(arg))) {
hit[gaMap[arg]] = args[arg];
} else {
hit[arg] = args[arg];
}
}
return hit;
}try {
f.hitCallback();
} catch (ex) {
}
};
__gaTracker.create = newtracker;
__gaTracker.getByName = newtracker;
__gaTracker.getAll = function () {
return [];
};
__gaTracker.remove = noopfn;
__gaTracker.loaded = true;
window['__gaTracker'] = __gaTracker;
})();
} else {
console.log("");
(function () {
function __gtagTracker() {
return null;
}window['__gtagTracker'] = __gtagTracker;
window['gtag'] = __gtagTracker;
})();
}
window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/officialmauritius.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.5.3"}};
/*! This file is auto-generated */
!function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings);
https://officialmauritius.com/wp-content/plugins/google-analytics-premium/assets/js/frontend-gtag.min.js
var monsterinsights_frontend = {"js_events_tracking":"true","download_extensions":"doc,pdf,ppt,zip,xls,docx,pptx,xlsx","inbound_paths":"[{\"path\":\"\\\/go\\\/\",\"label\":\"affiliate\"},{\"path\":\"\\\/recommend\\\/\",\"label\":\"affiliate\"}]","home_url":"https:\/\/officialmauritius.com","hash_tracking":"false","v4_id":"G-158X3Y3RM5"};
https://officialmauritius.com/wp-includes/js/jquery/jquery.min.js
https://officialmauritius.com/wp-includes/js/jquery/jquery-migrate.min.js
var pbLocalizeObj = {"ajax":"https:\/\/officialmauritius.com\/wp-admin\/admin-ajax.php","seconds":"seconds","thisWillClose":"This will close in","icons":{"close_icon":"<svg class=\"ays_pb_material_close_icon\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"36px\" viewBox=\"0 0 24 24\" width=\"36px\" fill=\"#000000\" alt=\"Pop-up Close\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\"\/><\/svg>","close_circle_icon":"<svg class=\"ays_pb_material_close_circle_icon\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"36\" alt=\"Pop-up Close\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\"\/><\/svg>","volume_up_icon":"<svg class=\"ays_pb_fa_volume\" xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"36\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z\"\/><\/svg>","volume_mute_icon":"<svg xmlns=\"https:\/\/www.w3.org\/2000\/svg\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\"><path d=\"M0 0h24v24H0z\" fill=\"none\"\/><path d=\"M7 9v6h4l5 5V4l-5 5H7z\"\/><\/svg>"}};
https://officialmauritius.com/wp-content/plugins/ays-popup-box/public/js/ays-pb-public.js
var breeze_prefetch = {"local_url":"https:\/\/officialmauritius.com","ignore_remote_prefetch":"1","ignore_list":["\/wp-admin\/"]};
https://officialmauritius.com/wp-content/plugins/breeze/assets/js/js-front-end/breeze-prefetch-links.min.js
var dwnotif = {"dwnotif_nonce":"9167e3acfe","dwnotif_ajax_url":"https:\/\/officialmauritius.com\/wp-admin\/admin-ajax.php","dwnotif_is_user_logged_in":"","dwnotif_current_time":"1715634180","dwnotif_constants":{"MINUTE_IN_SECONDS":60,"HOUR_IN_SECONDS":3600,"DAY_IN_SECONDS":86400,"WEEK_IN_SECONDS":604800,"MONTH_IN_SECONDS":2592000,"YEAR_IN_SECONDS":31536000}};
https://officialmauritius.com/wp-content/plugins/dw-notifications/assets/js/dw-notifications.js
https://officialmauritius.com/wp-content/plugins/dw-question-answer-pro/assets/js/simplemde.min.js
https://officialmauritius.com/wp-includes/js/jquery/ui/core.min.js
https://officialmauritius.com/wp-includes/js/jquery/ui/menu.min.js
https://officialmauritius.com/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js
https://officialmauritius.com/wp-includes/js/dist/vendor/regenerator-runtime.min.js
https://officialmauritius.com/wp-includes/js/dist/vendor/wp-polyfill.min.js
https://officialmauritius.com/wp-includes/js/dist/dom-ready.min.js
https://officialmauritius.com/wp-includes/js/dist/hooks.min.js
https://officialmauritius.com/wp-includes/js/dist/i18n.min.js
wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } );
https://officialmauritius.com/wp-includes/js/dist/a11y.min.js
https://officialmauritius.com/wp-includes/js/jquery/ui/autocomplete.min.js
var dwqa_mention = {"dwqa_mention_nonce":"1e36983840","dwqa_mention_ajax_url":"https:\/\/officialmauritius.com\/wp-admin\/admin-ajax.php"};
https://officialmauritius.com/wp-content/plugins/dw-question-answer-pro/assets/js/dwqa-mention-user.js
https://officialmauritius.com/wp-content/plugins/ninja-google-review/assets/frontend/slick/slick.min.js
var njt_ggreviews = {"read_more":"Read more","read_less":"Read less"};
var njt_ggreviews = {"read_more":"Read more","read_less":"Read less"};
https://officialmauritius.com/wp-content/plugins/ninja-google-review/assets/frontend/js/google-review.js
var qcpdr_frontend_objects = {"ajax_url":"https:\/\/officialmauritius.com\/wp-admin\/admin-ajax.php"};
https://officialmauritius.com/wp-content/plugins/sbd-rating-review-addon/frontend/assets/js/script.js
https://officialmauritius.com/wp-content/plugins/woo-social-login/includes/js/sdk/google/api_client.js
var pd_snazzymap_js = [
{
"featureType": "all",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#ffffff"
}
]
},
{
"featureType": "all",
"elementType": "labels.text.stroke",
"stylers": [
{
"color": "#000000"
},
{
"lightness": 13
}
]
},
{
"featureType": "administrative",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#000000"
}
]
},
{
"featureType": "administrative",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#144b53"
},
{
"lightness": 14
},
{
"weight": 1.4
}
]
},
{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{
"color": "#08304b"
}
]
},
{
"featureType": "poi",
"elementType": "labels",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "road.highway",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#000000"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#0b434f"
},
{
"lightness": 25
}
]
},
{
"featureType": "road.arterial",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#000000"
}
]
},
{
"featureType": "road.arterial",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#0b3d51"
},
{
"lightness": 16
}
]
},
{
"featureType": "road.local",
"elementType": "geometry",
"stylers": [
{
"color": "#000000"
}
]
},
{
"featureType": "transit",
"elementType": "all",
"stylers": [
{
"color": "#146474"
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"color": "#021019"
}
]
}
];
var ajaxurl = "https://officialmauritius.com/wp-admin/admin-ajax.php";
var qc_sbd_get_ajax_nonce = "cc8be8cc36";
jQuery(document).ready(function ($){
if (navigator.userAgent.match(/OFFICIALMAURITIUS/i)) {
$('.site-header').hide();
$('#site-footer').hide();
$('#announcement_bar_slider').hide();
$('#catchflights').hide();
};
});
Skip to content
The beautiful bays of the north coast of Mauritius are well-known, with the lively hub of Grand Baie at the island’s northern tip. In the early morning light, fishermen sail across the wide lagoon and out to sea to catch their daily haul. Visitors can enjoy the stunning beaches and indulge in various activities, including diving to witness the wild dolphins often spotted off the north coast. Additionally, this area is perfect for embarking on a boat trip to explore the offshore islands in the north.
The southern coast of Mauritius exudes a rugged and untamed atmosphere. It is characterized by authentic fishing villages, expansive and picturesque beaches, and the crashing of waves against volcanic rock cliffs. This region offers a more tranquil and laid-back ambiance, allowing visitors to immerse themselves in the stunning natural beauty of attractions like Rochester Falls or the Le Souffleur water spring, which shoots up into the air like a geyser. As for the eastern coast of Mauritius, it boasts some of the finest beaches and crystal-clear waters on the island. The vast stretches of sand are accompanied by a refreshing breeze for most of the year. In addition, you can take a boat trip to the popular island paradise of Ile aux Cerfs , where you can enjoy a day at the beach, play a round of golf, or savour a delightful meal in one of the island’s restaurants. On the western coast of Mauritius, you will discover long stretches of stunning beaches and ideal conditions for kitesurfing enthusiasts. The southwest coast is home to Le Morne mountain , an iconic landmark that has been designated as a UNESCO World Heritage Site. By embarking on a hike to its summit, you will be rewarded with breathtaking views. Meanwhile, in Black River Gorges National Park , you can explore well-marked trails and seek out waterfalls, expansive canyons, dramatic mountain ranges, and rare wildlife species, such as the echo parakeet. The scenery in this area is truly awe-inspiring!
Discover more of Mauritius from above…
RIAMBEL AND POMPONETTE
ILE AUX BENITIERS
FLYOVER GOLF 1
FLYOVER GOLF 2
KAYAK AND PADDLE TRAILS
ILOT FOURNEAUX
FLYOVER OUR WILDSIDE
MOUNTAIN BIKING TRAILS
Get our Android app
Play Store
Discover the best restaurants
Go
Where to stay in Mauritius
Go
Watch 50+ live cameras
Go
Get the Mauritius Recipes app
Go
c https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/video.min.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/youtube.min.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/watermark.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/remember.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/volume.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/share.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/social.js
https://officialmauritius.com/wp-content/plugins/bzplayerpro/player/js/toggle.min.js
videojs('player1', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=LxMv0n8Y1a8"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player1');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player1");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player2', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=0-XbSskqZYw"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player2');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player2");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player3', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=oHjmu7WXkNM"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player3');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player3");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player4', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=DaXouXCuksM"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player4');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player4");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player5', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=DOppsLxsh6w"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player5');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player5");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player6', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=nZM5jNTn454"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player6');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player6");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player7', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=WFuvZUeOPr8"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player7');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player7");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
videojs('player8', {
controls: true,
techOrder: ["youtube"],
sources: [{ "type": "video/youtube", "src": "https://www.youtube.com/watch?v=UtN-5kqpQjo"}],
}, function(){
var player = this;
player.on('resolutionchange', function(){
console.info('Source changed')
})
});
var player = videojs('#player8');
player.watermark({ file: 'https://officialmauritius.com/wp-content/uploads/2023/08/wplogo.png', clickable: true, url: "https://officialmauritius.com" });
var myVideo = document.getElementById("player8");
if (myVideo.addEventListener) {
myVideo.addEventListener('contextmenu', function(e) {
e.preventDefault();
}, false);
} else {
myVideo.attachEvent('oncontextmenu', function() {
window.event.returnValue = false;
});
}
player.remember({"localStorageKey": "videojs.remember.https://officialmauritius.com/fly-over-mauritius/"});
player.persistvolume({
namespace: "set volume"
});
player.share();
(function(window, videojs) {
player.theaterToggle({
"saveTheaterState" : true,
"localItemName" : 'theaterVideoState'
});
player.on("theaterMode",function(){
if(player.theaterToggle().isTheater()){
player.fluid(true);
}else {
player.fluid(false);
}
});
}(window, window.videojs));
var relevanssi_rt_regex = /(&|\?)_(rt|rt_nonce)=(\w+)/g
var newUrl = window.location.search.replace(relevanssi_rt_regex, '')
history.replaceState(null, null, window.location.pathname + newUrl + window.location.hash)
/* MonsterInsights Scroll Tracking */
if ( typeof(jQuery) !== 'undefined' ) {
jQuery( document ).ready(function(){
function monsterinsights_scroll_tracking_load() {
if ( ( typeof(__gaTracker) !== 'undefined' && __gaTracker && __gaTracker.hasOwnProperty( "loaded" ) && __gaTracker.loaded == true ) || ( typeof(__gtagTracker) !== 'undefined' && __gtagTracker ) ) {
(function(factory) {
factory(jQuery);
}(function($) {/* Scroll Depth */
"use strict";
var defaults = {
percentage: true
};var $window = $(window),
cache = [],
scrollEventBound = false,
lastPixelDepth = 0;/*
* Plugin
*/$.scrollDepth = function(options) {var startTime = +new Date();options = $.extend({}, defaults, options);/*
* Functions
*/function sendEvent(action, label, scrollDistance, timing) {
if ( 'undefined' === typeof MonsterInsightsObject || 'undefined' === typeof MonsterInsightsObject.sendEvent ) {
return;
}
var paramName = action.toLowerCase();
var fieldsArray = {
send_to: 'G-158X3Y3RM5',
non_interaction: true
};
fieldsArray[paramName] = label;if (arguments.length > 3) {
fieldsArray.scroll_timing = timing
MonsterInsightsObject.sendEvent('event', 'scroll_depth', fieldsArray);
} else {
MonsterInsightsObject.sendEvent('event', 'scroll_depth', fieldsArray);
}
}function calculateMarks(docHeight) {
return {
'25%' : parseInt(docHeight * 0.25, 10),
'50%' : parseInt(docHeight * 0.50, 10),
'75%' : parseInt(docHeight * 0.75, 10),
/* Cushion to trigger 100% event in iOS */
'100%': docHeight - 5
};
}function checkMarks(marks, scrollDistance, timing) {
/* Check each active mark */
$.each(marks, function(key, val) {
if ( $.inArray(key, cache) === -1 && scrollDistance >= val ) {
sendEvent('Percentage', key, scrollDistance, timing);
cache.push(key);
}
});
}function rounded(scrollDistance) {
/* Returns String */
return (Math.floor(scrollDistance/250) * 250).toString();
}function init() {
bindScrollDepth();
}/*
* Public Methods
*//* Reset Scroll Depth with the originally initialized options */
$.scrollDepth.reset = function() {
cache = [];
lastPixelDepth = 0;
$window.off('scroll.scrollDepth');
bindScrollDepth();
};/* Add DOM elements to be tracked */
$.scrollDepth.addElements = function(elems) {if (typeof elems == "undefined" || !$.isArray(elems)) {
return;
}$.merge(options.elements, elems);/* If scroll event has been unbound from window, rebind */
if (!scrollEventBound) {
bindScrollDepth();
}};/* Remove DOM elements currently tracked */
$.scrollDepth.removeElements = function(elems) {if (typeof elems == "undefined" || !$.isArray(elems)) {
return;
}$.each(elems, function(index, elem) {var inElementsArray = $.inArray(elem, options.elements);
var inCacheArray = $.inArray(elem, cache);if (inElementsArray != -1) {
options.elements.splice(inElementsArray, 1);
}if (inCacheArray != -1) {
cache.splice(inCacheArray, 1);
}});};/*
* Throttle function borrowed from:
* Underscore.js 1.5.2
* http://underscorejs.org
* (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Underscore may be freely distributed under the MIT license.
*/function throttle(func, wait) {
var context, args, result;
var timeout = null;
var previous = 0;
var later = function() {
previous = new Date;
timeout = null;
result = func.apply(context, args);
};
return function() {
var now = new Date;
if (!previous) previous = now;
var remaining = wait - (now - previous);
context = this;
args = arguments;
if (remaining <= 0) {
clearTimeout(timeout);
timeout = null;
previous = now;
result = func.apply(context, args);
} else if (!timeout) {
timeout = setTimeout(later, remaining);
}
return result;
};
}/*
* Scroll Event
*/function bindScrollDepth() {scrollEventBound = true;$window.on('scroll.scrollDepth', throttle(function() {
/*
* We calculate document and window height on each scroll event to
* account for dynamic DOM changes.
*/var docHeight = $(document).height(),
winHeight = window.innerHeight ? window.innerHeight : $window.height(),
scrollDistance = $window.scrollTop() + winHeight,/* Recalculate percentage marks */
marks = calculateMarks(docHeight),/* Timing */
timing = +new Date - startTime;checkMarks(marks, scrollDistance, timing);
}, 500));}init();
};/* UMD export */
return $.scrollDepth;}));jQuery.scrollDepth();
} else {
setTimeout(monsterinsights_scroll_tracking_load, 200);
}
}
monsterinsights_scroll_tracking_load();
});
}
/* End MonsterInsights Scroll Tracking */
https://officialmauritius.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js
var wpcf7 = {"api":{"root":"https:\/\/officialmauritius.com\/wp-json\/","namespace":"contact-form-7\/v1"},"cached":"1"};
https://officialmauritius.com/wp-content/plugins/contact-form-7/includes/js/index.js
var wpilFrontend = {"ajaxUrl":"\/wp-admin\/admin-ajax.php","postId":"2267","postType":"post","openInternalInNewTab":"0","openExternalInNewTab":"1","disableClicks":"0","openLinksWithJS":"0","trackAllElementClicks":"0","clicksI18n":{"imageNoText":"Image in link: No Text","imageText":"Image Title: ","noText":"No Anchor Text Found"}};
https://officialmauritius.com/wp-content/plugins/link-whisper-premium/js/frontend.min.js
https://officialmauritius.com/wp-content/themes/hello-elementor/assets/js/mobilesearch.js
https://officialmauritius.com/wp-content/themes/hello-elementor/assets/js/hello-frontend.min.js
function heateorSssLoadEvent(e) {var t=window.onload;if (typeof window.onload!="function") {window.onload=e}else{window.onload=function() {t();e()}}}; var heateorSssSharingAjaxUrl = 'https://officialmauritius.com/wp-admin/admin-ajax.php', heateorSssCloseIconPath = 'https://officialmauritius.com/wp-content/plugins/sassy-social-share/public/../images/close.png', heateorSssPluginIconPath = 'https://officialmauritius.com/wp-content/plugins/sassy-social-share/public/../images/logo.png', heateorSssHorizontalSharingCountEnable = 0, heateorSssVerticalSharingCountEnable = 0, heateorSssSharingOffset = -10; var heateorSssMobileStickySharingEnabled = 1;var heateorSssCopyLinkMessage = "Link copied.";var heateorSssUrlCountFetched = [], heateorSssSharesText = 'Shares', heateorSssShareText = 'Share';function heateorSssPopup(e) {window.open(e,"popUpWindow","height=400,width=600,left=400,top=100,resizable,scrollbars,toolbar=0,personalbar=0,menubar=no,location=no,directories=no,status")}
https://officialmauritius.com/wp-content/plugins/sassy-social-share/public/js/sassy-social-share-public.js
https://officialmauritius.com/wp-includes/js/hoverIntent.min.js
var megamenu = {"timeout":"300","interval":"100"};
https://officialmauritius.com/wp-content/plugins/megamenu/js/maxmegamenu.js
https://officialmauritius.com/wp-content/plugins/megamenu-pro/assets/public.js
var fifuImageVars = {"fifu_lazy":"","fifu_should_crop":"","fifu_should_crop_with_theme_sizes":"","fifu_slider":"","fifu_slider_vertical":"","fifu_is_front_page":"","fifu_is_shop":"","fifu_crop_selectors":"","fifu_fit":"cover","fifu_crop_ratio":"4:3","fifu_crop_default":"div[id^='post'],ul.products,div.products,div.product-thumbnails,ol.flex-control-nav.flex-control-thumbs","fifu_crop_ignore_parent":"a.lSPrev,a.lSNext,","fifu_woo_lbox_enabled":"","fifu_woo_zoom":"none","fifu_is_product":"","fifu_adaptive_height":"1","fifu_error_url":"","fifu_crop_delay":"0","fifu_is_flatsome_active":"","fifu_rest_url":"https:\/\/officialmauritius.com\/wp-json\/","fifu_nonce":"0240bf69b6","fifu_block":"","fifu_redirection":"","fifu_forwarding_url":"","fifu_main_image_url":"https:\/\/mauritiusnow.com\/wp-content\/uploads\/2020\/10\/best_time.jpg","fifu_local_image_url":""};
https://officialmauritius.com/wp-content/plugins/fifu-premium/includes/html/js/image.js
https://officialmauritius.com/wp-content/plugins/announcement-bar/js/carousel.min.js
var announcementBar = {"margin_top_to_bar_height":"header","padding_top_to_bar_height":"","abar_position":"sticky","include_admin_bar":"1"};
https://officialmauritius.com/wp-content/plugins/announcement-bar/js/scripts.js
( function( grecaptcha ) {var c4wp_onloadCallback = function() {
grecaptcha.execute(
'6Lf-hkIpAAAAABc7XRzp71ezosqE6HlQQCH0yHkg',
{ action: 'advanced_nocaptcha_recaptcha' }
).then( function( token ) {
for ( var i = 0; i < document.forms.length; i++ ) {
var form = document.forms[i];
var captcha = form.querySelector( 'input[name="g-recaptcha-response"]' );
if ( null === captcha )
continue;captcha.value = token;
}
// Apply relevent accessibility attributes to response.
var responseTextareas = document.querySelectorAll(".g-recaptcha-response");
responseTextareas.forEach(function(textarea) {
textarea.setAttribute("aria-hidden", "true");
textarea.setAttribute("aria-label", "do not use");
textarea.setAttribute("aria-readonly", "true");
});
});
};grecaptcha.ready( c4wp_onloadCallback );//token is valid for 2 minutes, So get new token every after 1 minutes 50 seconds
setInterval(c4wp_onloadCallback, 110000);} )( grecaptcha );