PageSourceSearch

https://www.similandivingtours.com/media/com_jchoptimize/assets/nz…ccf133b9b001ecaae8e097fa9ecbd2d6daca93de.js

js similandivingtours.com collected 2026-10-09 01:42:49 UTC 12,937 bytes, 30 lines download raw bytes

1var gdprConfigurationOptions={complianceType:'opt-out',cookieConsentLifetime:365,cookieConsentSamesitePolicy:'',cookieConsentSecure:0,cookieJoomlaSettings:0,cookieConsentDomain:'.www.similandivingtours.com',cookieConsentPath:'/',disableFirstReload:0,blockJoomlaSessionCookie:0,blockExternalCookiesDomains:0,externalAdvancedBlockingModeCustomAttribute:'',allowedCookies:'_gcl_aw, _gcl_au, _gcl_dc, _ga, _gid, _gat, _fbp',blockCookieDefine:0,autoAcceptOnNextPage:0,revokable:1,lawByCountry:1,checkboxLawByCountry:0,blockPrivacyPolicy:0,cacheGeolocationCountry:1,countryAcceptReloadTimeout:1000,usaCCPARegions:null,countryEnableReload:0,customHasLawCountries:["GB","IE","FR","DE","NL","BE","ES","IT","PT","SE","DK","FI","AT","PL","CZ","SK","HU","RO","BG","HR","SI","EE","LV","LT","LU","MT","CY","GR","IS","LI","NO","CH"],dismissOnScroll:0,dismissOnTimeout:0,containerSelector:'body',hideOnMobileDevices:0,autoFloatingOnMobile:0,autoFloatingOnMobileThreshold:1024,autoRedirectOnDecline:0,autoRedirectOnDeclineLink:'',showReloadMsg:0,showReloadMsgText:'Applying preferences and reloading the page...',showConsentID:0,defaultClosedToolbar:0,toolbarLayout:'basic',toolbarTheme:'block',toolbarButtonsTheme:'allow_first',revocableToolbarTheme:'basic',toolbarPosition:'bottom-left',toolbarCenterTheme:'compact',revokePosition:'revoke-bottom',toolbarPositionmentType:1,positionCenterSimpleBackdrop:1,positionCenterBlurEffect:0,positionCenterBlurEffectAlwaysFirstVisit:0,preventPageScrolling:0,popupEffect:'fade',popupBackground:'#000000',popupText:'#ffffff',popupLink:'#ffffff',buttonBackground:'#ffffff',buttonBorder:'#ffffff',buttonText:'#000000',highlightOpacity:'100',highlightBackgroun
1d:'#000000',highlightBorder:'#000000',highlightText:'#ab9595',highlightDismissBackground:'#000000',highlightDismissBorder:'#000000',highlightDismissText:'#ffffff',autocenterRevokableButton:1,hideRevokableButton:0,hideRevokableButtonOnscroll:0,customRevokableButton:0,customRevokableButtonAction:0,headerText:'<p>This site asks for consent to use your data</p>',messageText:'<span style=\"font-size: 10pt;\">We use cookies to improve your experience, analyse site usage and help us improve our services.</span>',denyMessageEnabled:0,denyMessage:'You have declined cookies, to ensure the best experience on this website please consent the cookie usage.',placeholderBlockedResources:0,placeholderBlockedResourcesAction:'',placeholderBlockedResourcesText:'You must accept cookies and reload the page to view this content',placeholderIndividualBlockedResourcesText:'You must accept cookies from {domain} and reload the page to view this content',placeholderIndividualBlockedResourcesAction:0,placeholderOnpageUnlock:0,scriptsOnpageUnlock:0,autoDetectYoutubePoster:0,autoDetectYoutubePosterApikey:'AIzaSyAV_WIyYrUkFV1H8OKFYG8wIK8wVH9c82U',dismissText:'Got it!',allowText:'Got it!',denyText:'No Thanks',cookiePolicyLinkText:'',cookiePolicyLink:'javascript:void(0)',cookiePolicyRevocableTabText:'Cookie policy',cookiePolicyRevocableTabIcon:'text',cookiePolicyRevocableTabIconCustom:'',privacyPolicyLinkText:'Privacy policy',privacyPolicyLink:'/privacy-policy',googleCMPTemplate:0,enableGdprBulkConsent:0,displayBulkConsentDomains:0,bulkConsentDomains:[""],enableCustomScriptExecGeneric:0,customScriptExecGeneric:'',categoriesCheckboxTemplate:'cc-checkboxes-light',toggleCookieSettings:1,toggleCookieSettingsLinkedView:0,toggleCookieSettingsButtonsArea:0,toggleCookieSettingsLinkedViewSefLink:'/component/gdpr/',toggleCookieSettingsText:'<span class="cc-cookie-settings-toggle" role="button" tabindex="0">Settings <span class="cc-cookie-settings-toggler">&#x25EE</span></span>',toggleCookieSettingsButtonBackground:'#000000',toggleCookieSettingsButtonBorder:'#000000',toggleCookieSettingsButtonText:'#ffffff',showLinks:0,blankLinks:'_blank',autoOpenPrivacyPolicy:0,openAlwaysDeclined:1,cookieSettingsLabel:'Cookie settings:',cookieSettingsDesc:'Choose which kind of cookies you want to disable by clicking on the checkboxes. Click on a category name for more informations about used cookies.',cookieCategory1Enable:1,cookieCategory1Name:'Necessary',cookieCategory1Locked:1,cookieCategory2Enable:1,cookieCategory2Name:'Preferences',cookieCategory2Locked:0,cookieCategory3Enable:1,cookieCategory3Name:'Statistics',cookieCategory3Locked:0,cookieCategory4Enable:1,cookieCategory4Name:'Marketing',cookieCategory4Locked:0,cookieCategoriesDescriptions:{},alwaysReloadAfterCategoriesChange:0,preserveLockedCategories:0,declineButtonBehavior:'hard',honorGpc:0,blockCheckedCategoriesByDefault:0,reloadOnfirstDeclineall:0,trackExistingCheckboxSelectors:'',trackExistingCheckboxConsentLogsFormfields:'name,email,subject,message',allowallShowbutton:0,allowallText:'Allow all cookies',allowallButtonBackground:'#ffffff',allowallButtonBorder:'#ffffff',allowallButtonText:'#000000',allowallButtonTimingAjax:'fast',includeAcceptButton:0,includeDenyButton:0,trackConsentDate:0,execCustomScriptsOnce:1,optoutIndividualResources:0,blockIndividualResourcesServerside:0,disableSwitchersOptoutCategory:0,autoAcceptCategories:0,allowallIndividualResources:1,blockLocalStorage:0,blockSessionStorage:0,externalAdvancedBlockingModeTags:'iframe,script,img,source,link',enableCustomScriptExecCategory1:0,customScriptExecCategory1:'',enableCustomScriptExecCategory2:0,customScriptExecCategory2:'',enableCustomScriptExecCategory3:0,customScriptExecCategory3:'',enableCustomScriptExecCategory4:0,customScriptExecCategory4:'',enableCustomDeclineScriptExecCategory1:0,customScriptDeclineExecCategory1:'',enableCustomDeclineScriptExecCategory2:0,customScriptDeclineExecCategory2:'',enableCustomDeclineScriptExecCategory3:0,customScriptDeclineExecCategory3:'',enableCustomDeclineScriptExecCategory4:0,customScriptDeclineExecCategory4:'',enableCMPPreferences:0,enableGTMEventsPreferences:0,enableCMPStatistics:1,enableGTMEventsStatistics:0,enableCMPAds:1,enableUETAds:0,enableGTMEventsAds:0,enableClarityAnalytics:0,enableClarityAds:0,fancyboxAlwaysBody:0,debugMode:0};var gdpr_ajax_livesite='https://www.similandivingtours.com/';var gdpr_enable_log_cookie_consent=1;
2var gdprUseCookieCategories=1;var gdpr_ajaxendpoint_cookie_category_desc='https://www.similandivingtours.com/index.php?option=com_gdpr&task=user.getCookieCategoryDescription&format=raw';
3var gdprJSessCook='670b7a663abb59ee7ae69095d895bb8a';var gdprJSessVal='5643e563da5a3aa5610e578f2349d253';var gdprJAdminSessCook='cb6a0cc1e1762acf6c7b74187f2d1a18';var gdprPropagateCategoriesSession=1;var gdprAlwaysPropagateCategoriesSession=1;var gdprAlwaysCheckCategoriesSession=0;
4var gdprFancyboxWidth=700;var gdprFancyboxHeight=800;var gdprCloseText='Close';
5jQuery(document).ready(function(){WfMediabox.init({"base":"\/","theme":"squeeze","width":"","height":"","lightbox":0,"shadowbox":0,"icons":0,"overlay":1,"overlay_opacity":0,"overlay_color":"","transition_speed":500,"close":2,"labels":{"close"
5:"Close","next":"Next","previous":"Previous","cancel":"Cancel","numbers":"{{numbers}}","numbers_count":"{{current}} of {{total}}","download":"Download"},"swipe":true,"expand_on_click":true,"display_mode":"fit"});});
6window.gdprConfigurationOptions=window.gdprConfigurationOptions||{};
7(function(w){if(w.Joomla)return;w.Joomla={JText:{_strings:{},_:function(key){return this._strings[key]||key;},load:function(obj){if(!obj)return;for(var k in obj){if(Object.prototype.hasOwnProperty.call(obj,k)){this._strings[k]=obj[k];}}}},getOptions:function(){return{};},optionsStorage:{},setOptions:function(key,val){this.optionsStorage[key]=val;},getOption:function(key,def){var v=this.optionsStorage[key];return v===undefined?def:v;}};})(window);
8document.addEventListener('DOMContentLoaded',function(){var $=window.jQuery;if(!$||!$.fn||!$.fn.pickadate)return;(function($){function blurAfterClose(){if(document.activeElement&&typeof document.activeElement.blur==='function'){document.activeElement.blur();}
9setTimeout(function(){if(document.activeElement&&typeof document.activeElement.blur==='function'){document.activeElement.blur();}},0);}
10function initOne(sel){var $el=$(sel);if(!$el.length)return null;$el.pickadate({labelMonthNext:'Go to the next month',labelMonthPrev:'Go to the previous month',format:'dd-mmm-yyyy',formatSubmit:'yyyy-mm-dd',hiddenName:true});var p=$el.pickadate('picker');$el.attr('aria-haspopup','dialog').attr('aria-readonly','true').attr('aria-controls',sel.slice(1)+'_root').removeAttr('aria-owns').removeAttr('aria-expanded');if(p&&p.on){p.on('open',function(){$el.attr('aria-expanded','true');});p.on('close',function(){$el.removeAttr('aria-expanded');blurAfterClose();});}
11return p;}
12var fromPicker=initOne('#from');var toPicker=initOne('#to');if(fromPicker&&toPicker){if(fromPicker.get('value')){toPicker.set('min',fromPicker.get('select'));}
13if(toPicker.get('value')){fromPicker.set('max',toPicker.get('select'));}
14fromPicker.on('set',function(e){if(e.select){toPicker.set('min',fromPicker.get('select'));}else if('clear'in e){toPicker.set('min',false);}});toPicker.on('set',function(e){if(e.select){fromPicker.set('max',toPicker.get('select'));}else if('clear'in e){fromPicker.set('max',false);}});}
15var startPicker=initOne('#preferred_start_date');var finishPicker=initOne('#preferred_finish_dat');if(startPicker&&finishPicker){if(startPicker.get('value')){finishPicker.set('min',startPicker.get('select'));}
16if(finishPicker.get('value')){startPicker.set('max',finishPicker.get('select'));}
17startPicker.on('set',function(e){if(e.select){finishPicker.set('min',startPicker.get('select'));}else if('clear'in e){finishPicker.set('min',false);}});finishPicker.on('set',function(e){if(e.select){startPicker.set('max',finishPicker.get('select'));}else if('clear'in e){startPicker.set('max',false);}});}})(jQuery);});
18(function($){$(document).ready(function(){$("#back-to-top").click(function(){if($(this).hasClass("reveal")){$("html, body").stop(true).animate({scrollTop:0});}});$(window).scroll(function(){$("#back-to-top").toggleClass("reveal",$(window).scrollTop()>(Math.min($("#t3-mainbody").length?$("#t3-mainbody").offset().top:0,150)));});});})(jQuery);
19(function($){'use strict';var rootSelector='#boatlistajax-430';var request=null;var searchTimer=null;function getRoot(){return $(rootSelector);}
20function collectFilters(page){var root=getRoot();return{searchname:$.trim(root.find('#searchboataj').val()||''),price:root.find('#priceaj').val()||'',triplength:root.find('#triplengthaj').val()||'',boatamount:root.find('#boatamountaj').val()||'',mypag:page||root.find('[name="mypag"]:checked').val()||1,views:root.find('[name="optionsaj"]:checked').val()||1};}
21function setLoading(isLoading){var root=getRoot();root.toggleClass('is-loading',isLoading);root.find('.boatlist-loading').attr('aria-hidden',isLoading?'false':'true');}
22function loadBoats(page){var root=getRoot();if(!root.length){return;}
23if(request&&request.readyState!==4){request.abort();}
24setLoading(true);request=$.ajax({url:'https://www.similandivingtours.com/index.php',type:'POST',dataType:'html',data:{option:'com_ajax',module:'boatlistajax',format:'raw',id:root.data('category-id')||0,stuff:collectFilters(page)}}).done(function(response){root.find('.boatresultsaj').html(response);if(window.jcepopup&&typeof window.jcepopup.create==='function'){window.jcepopup.create();}}).fail(function(xhr,status){if(status!=='abort'){root.find('.boatresultsaj').html('<div class="boatlist-message boatlist-message-error">The boat list could not be loaded. Please refresh the page and try again.</div>');}}).always(function(){setLoading(false);});}
25$(function(){var root=getRoot();if(!root.length){return;}
26loadBoats(1);root.on('change','#priceaj, #triplengthaj, #boatamountaj, [name="optionsaj"]',function(){loadBoats(1);});root.on('input','#searchboataj',function(){window.clearTimeout(searchTimer);searchTimer=window.setTimeout(function(){loadBoats(1);},350);});root.on('click','.boatlist-page-button',function(event){event.preventDefault();loadBoats(parseInt($(this).data('page'),10)||1);});});}(jQuery));
27jQuery(function($){$('.trip-type-drop li').on('click',function(){var value=$(this).attr('value');$('input[name="trip_type"]').val(value);$('#trip_type_id').text($(this).text());});$(document).on('click','#button',function(){$('#spinner1').fadeIn().delay(100);setTimeout(function(){$('#spinner1').fadeOut();},5000);});});function validateForm(){var s1=document.getElementById('from').value;var s2=document.getElementById('to').value;if(s1===''){alert('Please select a From date');return false;}else if(s2===''){alert('Please select a To date');return false;}
28return true;};
29if(navigator.userAgent.match(/IEMobile\/10\.0/)){var msViewportStyle=document.createElement("style");msViewportStyle.appendChild(document.createTextNode("@-ms-viewport{width:auto!important}"));document.getElementsByTagName("head")[0].appendChild(msViewportStyle);};
30window.dataLayer=window.dataLayer||[];window.dataLayer.push({'gtm.start':new Date().getTime(),event:'gtm.js'});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.