PageSourceSearch

https://www.fantasticgardenersmelbourne.com.au/cache/js/43ac7fad3810589a4b6031b26a825296-head.js?ver=7.0.6

js fantasticgardenersmelbourne.com.au collected 2026-10-04 06:45:16 UTC 20,345 bytes, 68 lines download raw bytes

1(function(){if(typeof window==='undefined'){return;}
2try{var ce=new window.CustomEvent('test',{cancelable:true});ce.preventDefault();if(ce.defaultPrevented!==true){throw new Error('Could not prevent default');}}catch(e){var CustomEvent=function(event,params){var evt,origPrevent;params=params||{};params.bubbles=!!params.bubbles;params.cancelable=!!params.cancelable;evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);origPrevent=evt.preventDefault;evt.preventDefault=function(){origPrevent.call(this);try{Object.defineProperty(this,'defaultPrevented',{get:function(){return true;},});}catch(e){this.defaultPrevented=true;}};return evt;};CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent;}})();try{var options={get passive(){window.passiveSupported=true;return false;},};window.addEventListener('test',null,options);window.removeEventListener('test',null,options);}catch(err){window.passiveSupported=false;}
3function newAddEventListener(a,b,c){if(!Array.isArray(this.attachedEvents)){this.attachedEvents=[];}
4if(typeof c==='undefined'){c={capture:false,};}
5if(window.passiveSupported){if(typeof c==='boolean'){c={capture:c,};}
6c.passive=c&&c.passive?true:false;this.attachedEvents.push({type:a,listener:b,useCapture:c.capture,passive:c.passive,executed:false,});this.realAddEventListener(a,b,c);}else{if(typeof c!=='boolean'){c=c&&c.capture?c.capture:false;}
7this.attachedEvents.push({type:a,listener:b,useCapture:c,executed:false,});this.realAddEventListener(a,b,c);}}
8function userUnderFold(){var clientHeightViewPort=window.innerHeight||document.documentElement.clientHeight;var aboveTheFoldElements=document.querySelectorAll('[data-above-the-fold="true"]');if(aboveTheFoldElements.length){var lastAboveTheFoldElement=aboveTheFoldElements[aboveTheFoldElements.length-1];var endOfAboveTheFold=lastAboveTheFoldElement.getBoundingClientRect().bottom;if(clientHeightViewPort>endOfAboveTheFold){if(window.pageYOffset===0){console.warn('Under fold elements inside above the fold of the page');}
9return true;}else{return false;}}else{return true;}}
10function customEventHandler(event,type,element){event.preventDefault();event.stopPropagation();event.stopImmediatePropagation();element.attachedEvents=element.attachedEvents||[];for(var i=0;i<element.attachedEvents.length;i++){var eventObject=element.attachedEvents[i];if(eventObject.type===type&&typeof eventObject.listener==='function'&&!eventObject.executed){eventObject.listener(event);eventObject.executed=true;}}}
11document.addEventListener('DOMContentLoaded',function(e){customEventHandler(e,'DOMContentLoaded',document);});window.addEventListener('load',function(e){customEventHandler(e,'load',window);if(typeof window.onload==='function'){window.onload(e);}
12window.onload=null;});HTMLElement.prototype.realAddEventListener=HTMLElement.prototype.addEventListener;HTMLElement.prototype.addEventListener=newAddEventListener;window.realAddEventListener=window.addEventListener;window.addEventListener=newAddEventListener;if(typeof HTMLDocument!=='undefined'){HTMLDocument.prototype.realAddEventListener=HTMLDocument.prototype.addEventListener;HTMLDocument.prototype.addEventListener=newAddEventListener;}else{Document.prototype.realAddEventListener=Document.prototype.addEventListener;Document.prototype.addEventListener=newAddEventListener;}
13var scriptsLoadedCounter=0,afterLoadScriptsExecuted=false,urlRegex=/^((https?:)?\/\/)?((([a-z\d]([a-z\d-]*[a-z\d])*)\.)+[a-z]{2,}|((\d{1,3}\.){3}\d{1,3}))(\:\d+)?(\/[-a-z\d%_.~+]*)*(\?[;&a-z\d%_.~+=-]*)?(\#[-a-z\d_]*)?$/;(function(){var userEvents=['touchstart','touchend','touchmove','mouseover','mouseenter','wheel','click','mousemove',];var userTouchEvents=['touchstart','touchend','touchmove'];var pageDomContentLoad=false;var pageLoad=false;var preload=false;var interaction=false;var specialQueryParamsCheck=false;var queryParamsRegex=new RegExp('new_booking|form=open|restored_booking','g');if(location.search.match(queryParamsRegex)&&location.search.match(queryParamsRegex).length){specialQueryParamsCheck=true;}
14var pageDomUInteract=new CustomEvent('page-dom-uinteract',{bubbles:true,cancelable:true,});var pageLoadUInteract=new CustomEvent('page-load-uinteract',{bubbles:true,cancelable:true,});var handleEvents=function(event){if(userEvents.indexOf(event.type)!=-1){if(!specialQueryParamsCheck){for(var index=0;
14index<userEvents.length;index++){var userEvent=userEvents[index];document.removeEventListener(userEvent,handleEvents);}
15interaction=true;if(preload&&interaction&&pageDomContentLoad){document.dispatchEvent(pageDomUInteract);}
16if(preload&&interaction&&pageLoad){document.dispatchEvent(pageLoadUInteract);}}}
17if(event.type=='preload'){preload=true;if(preload&&interaction&&pageDomContentLoad){document.dispatchEvent(pageDomUInteract);}
18if(preload&&interaction&&pageLoad){document.dispatchEvent(pageLoadUInteract);}}
19if(event.type=='readystatechange'){if(document.readyState==='complete'){document.removeEventListener('readystatechange',handleEvents);}
20pageReadyState=document.readyState;return;}
21if(event.type=='DOMContentLoaded'){document.removeEventListener('DOMContentLoaded',handleEvents);if(userUnderFold()){document.body.click();}
22pageDomContentLoad=true;if(preload&&interaction){document.dispatchEvent(pageDomUInteract);}}
23if(event.type=='load'){window.removeEventListener('load',handleEvents);pageLoad=true;if(userUnderFold()){document.body.click();}
24if(preload&&interaction){document.dispatchEvent(pageLoadUInteract);}else{document.addEventListener('visibilitychange',visibilityCheck);document.cookie="triggerData=false; max-age=4; path=/; SameSite=Strict; Secure;";var myVar=setInterval(myTimer,300);function myTimer(){if(!document.cookie.match(/^(.*;)?\s*triggerData\s*=\s*[^;]+(.*)?$/)){document.body.click();clearInterval(myVar);}}}}};preloadFiles(function(e){handleEvents({type:'preload'});});document.addEventListener('readystatechange',handleEvents);document.addEventListener('DOMContentLoaded',handleEvents);window.addEventListener('load',handleEvents);for(var index=0;index<userEvents.length;index++){var userEvent=userEvents[index];if(userTouchEvents.indexOf!==-1){document.addEventListener(userEvent,handleEvents,{passive:true,});}else{document.addEventListener(userEvent,handleEvents);}}
25if(specialQueryParamsCheck){listenerLoadObf(function(e){removeLoader();specialQueryParamsCheck=false;document.body.click();});showLoader();loadDataScriptsQueryParams();}})();function visibilityCheck(){document.body.click();document.removeEventListener('visibilitychange',visibilityCheck);}
26document.addEventListener('page-load-uinteract',initialLoad);function initialLoad(){if(afterLoadScriptsExecuted){return;}
27loadDataScripts();loadLazyCSS();afterLoadScriptsExecuted=true;loadScripts(dynamicScripts);document.removeEventListener('page-load-uinteract',initialLoad);}
28function loadLazyCSS(){var templateStyles=document.querySelectorAll('template[data-style-id^="style-"]'),styles=[];if(!templateStyles.length){return;}
29for(var index=0;index<templateStyles.length;index++){styles.push({loaded:false,templateElement:templateStyles[index],id:index,});}
30for(var index=0;index<styles.length;index++){var templateStyle=styles[index].templateElement;var linkElement=document.createElement('link');for(var att,i=0,atts=templateStyle.attributes,n=atts.length;i<n;i++){att=atts[i];if(att.nodeName==='data-style-href'){linkElement.setAttribute('href',att.nodeValue);}else if(att.nodeName!=='media'){linkElement.setAttribute(att.nodeName,att.nodeValue);}}
31linkElement.addEventListener('load',allStylesLoaded(styles[index]));templateStyle.parentNode.insertBefore(linkElement,templateStyle.nextSibling);templateStyle.parentNode.removeChild(templateStyle);}
32function allStylesLoaded(style){return function(e){var currentStyle=styles.filter(function(elStyle){return elStyle.id==style.id;});if(currentStyle&&currentStyle.length){currentStyle[0].loaded=true;}
33var notLoadedStyles=styles.filter(function(elStyle){return elStyle.loaded!=true;});if(notLoadedStyles.length==0){var criticalCssEl=document.querySelector('[data-critical-css="true"]');if(criticalCssEl){criticalCssEl.remove();}}};}}
34function loadDataScriptsQueryParams(){var templateScripts=document.querySelectorAll('template[data-script-id^="script-"][data-query-params-template="true"]');for(var index=0;index<templateScripts.length;index++){var templateScript=templateScripts[index];scriptElement=document.createElement('script');if(inlineScriptsContent[templateScript.getAttribute('data-script-id')]){scriptElement.innerHTML=inlineScriptsContent[templateScript.getAttribute('data-script-id')];}
35for(var att,i=0,atts=templateScript.attributes,n=atts.length;i<n;
35i++){att=atts[i];if(att.nodeName==='data-script-src'){scriptElement.setAttribute('src',srcScripts[templateScript.getAttribute('data-script-id')]);}else if(att.nodeName==='type'){scriptElement.setAttribute(att.nodeName,att.nodeValue.replace('template','script'));}else if(att.nodeName!=='async'){scriptElement.setAttribute(att.nodeName,att.nodeValue);}}
36templateScript.parentNode.insertBefore(scriptElement,templateScript.nextSibling);templateScript.parentNode.removeChild(templateScript);}}
37function loadDataScripts(){var templateScripts=document.querySelectorAll('template[data-script-id^="script-"]');for(var index=0;index<templateScripts.length;index++){var templateScript=templateScripts[index];scriptElement=document.createElement('script');if(inlineScriptsContent[templateScript.getAttribute('data-script-id')]){scriptElement.innerHTML=inlineScriptsContent[templateScript.getAttribute('data-script-id')];}
38for(var att,i=0,atts=templateScript.attributes,n=atts.length;i<n;i++){att=atts[i];if(att.nodeName==='data-script-src'){scriptElement.setAttribute('src',srcScripts[templateScript.getAttribute('data-script-id')]);}else if(att.nodeName==='type'){scriptElement.setAttribute(att.nodeName,att.nodeValue.replace('template','script'));}else if(att.nodeName!=='async'){scriptElement.setAttribute(att.nodeName,att.nodeValue);}}
39templateScript.parentNode.insertBefore(scriptElement,templateScript.nextSibling);templateScript.parentNode.removeChild(templateScript);}}
40function preloadFiles(callback){var preloadWorker="var preloadRequests = 0; var remainingCount = {}; self.onmessage = function (e) { switch (e.data.cmd) { case 'RESOURCE_PRELOAD': var a = e.data.requestId; remainingCount[a] = 0; e.data.resources.forEach(function (o) { preload( o, (function (e) { return function () { if (--remainingCount[e] == 0) { self.postMessage({ cmd: 'RESOURCE_PRELOAD', requestId: e, }); } }; })(a) ); remainingCount[a]++; }); break; } }; async function preload(o, a) { try { var n = new Request(o, { mode: 'no-cors', redirect: 'follow', }); await fetch(n); a(); } catch (e) { var r = new XMLHttpRequest(); r.responseType = 'blob'; r.onload = a; r.onerror = a; r.open('GET', o, true); r.send(); } }";var worker=new Worker(URL.createObjectURL(new Blob([preloadWorker],{type:'application/javascript',})));var resourcesToPreload=[];var templateStyles=document.querySelectorAll('template[data-style-id^="style-"]');for(var index=0;index<templateStyles.length;index++){var templateElement=templateStyles[index];if(templateElement.getAttribute('data-style-href')){resourcesToPreload.push(templateElement.getAttribute('data-style-href'));}}
41Object.keys(srcScripts).map(function(key){resourcesToPreload.push(srcScripts[key]);});dynamicScripts.map((script)=>{resourcesToPreload.push(script.name+'?ver='+cacheTime);});worker.onmessage=function(e){callback(e);};resourcesToPreload=resourcesToPreload.map((el)=>{if(el.indexOf('http')===-1){try{const urlO=new URL(el,location.origin);return urlO.href;}catch(e){return null;}}
42return el;}).filter((el)=>el);worker.postMessage({cmd:'RESOURCE_PRELOAD',resources:resourcesToPreload,requestId:'load-files',});}
43function loadScripts(dynamicScripts,withDynamicContent){withDynamicContent=withDynamicContent||false;if(dynamicScripts&&Array.isArray(dynamicScripts)&&dynamicScripts.length>0){for(var i=0;i<dynamicScripts.length;i++){var script=document.createElement('script');if(!withDynamicContent){script.addEventListener('load',dynamicScriptsFinished);}
44script.setAttribute('type','text/javascript');script.addEventListener('error',function(e){var event=document.createEvent('Event');event.initEvent('custom-dynamic-scripts-loaded',true,true);document.dispatchEvent(event);},true);var scriptSrc='';if(dynamicScripts[i].name.indexOf('?')>0){scriptSrc=dynamicScripts[i].name+('&ver='+cacheTime);}else{scriptSrc=dynamicScripts[i].name+('?ver='+cacheTime);}
45if(urlRegex.test(dynamicScripts[i].name)){script.setAttribute('src',scriptSrc);}else{script.setAttribute('src',siteUrl+scriptSrc);}
46if(dynamicScripts[i].dependant||(Array.isArray(dynamicScripts[i].dependencies)&&dynamicScripts[i].dependencies.length>0)){script.async=false;}
47document.body.appendChild(script);}}else{window.onload=noDynamicScripts;}}
48window.FBTdocumentLoaded=false;function noDynamicScripts(e){if(window.FBTdocumentLoaded){return;}
49window.FBTdocumentLoaded=true;fireBaseThemeScriptsLoadedEvent();}
50function fireBaseThemeScriptsLoadedEvent(){var documentEvent,windowEvent,scriptsFinishedEvent;if(document.createEvent){documentEvent=document.createEvent('HTMLEvents');documentEvent.initEvent('DOMContentLoaded',true,true);scriptsFinishedEvent=document.createEvent('HTMLEvents');scriptsFinishedEvent.initEvent('base-theme-scripts-loaded',true,true);}else{documentEvent=document.createEventObject();documentEvent.eventType='DOMContentLoaded';scriptsFinishedEvent=document.createEventObject();scriptsFinishedEvent.eventType='base-theme-scripts-loaded';}
51documentEvent.eventName='DOMContentLoaded';scriptsFinishedEvent.eventName='base-theme-scripts-loaded';windowEvent=document.createEvent('Event');windowEvent.initEvent('load',true,true);if(document.createEvent){document.dispatchEvent(documentEvent);document.dispatchEvent(scriptsFinishedEvent);window.dispatchEvent(windowEvent);window.dispatchEvent(documentEvent);}else{document.fireEvent('on'+documentEvent.eventType,documentEvent);document.fireEvent('on'+scriptsFinishedEvent.eventType,scriptsFinishedEvent);window.fireEvent('on'+windowEvent.eventType,windowEvent);window.fireEvent('on'+documentEvent.eventType,documentEvent);}}
52function dynamicScriptsFinished(e){scriptsLoadedCounter++;if(scriptsLoadedCounter===dynamicScripts.length){fireBaseThemeScriptsLoadedEvent();var event=document.createEvent('Event');event.initEvent('custom-dynamic-scripts-loaded',true,true);document.dispatchEvent(event);}}
53var loader;function showLoader(){loader=document.createElement('div');loader.setAttribute('class','obf-Loader show');loader.innerHTML='<div id="overlay-obf"></div><div class="loader-obf"><div class="centered"> <div id="loader-wrapper-obf"><div id="inner-loader-obf" class="loading-obf"></div><div class="loader-section-obf section-left-obf"></div><div class="loader-section-obf section-right-obf"></div></div><div class="loading-text-container-obf"><span>Just a sec, we\'re getting ready...</span></div></div></div>';style=document.createElement('style');style.innerHTML=":root{--client-loader-outside-circle:#949494; --client-loader-middle-circle:#c9c9c9; --client-loader-inside-circle:#ffffff } .obf-Loader { position: fixed; z-index: 99999999999; top: 0; display: none; left: 0; right: 0; bottom: 0; } .obf-Loader.show { display: block; } #inner-loader-obf.loading-obf { display: block; position: relative; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; border: 2px solid transparent; border-top-color: #949494; border-top-color: var(--client-loader-outside-circle); -webkit-animation: spin-obf 1s linear infinite; animation: spin-obf 1s linear infinite; z-index: 1001; } #inner-loader-obf.loading-obf:before { content: ''; position: absolute; top: 3px; left: 3px; right: 3px; bottom: 3px; border-radius: 50%; border: 2px solid transparent; border-top-color: #c9c9c9; border-top-color: var(--client-loader-middle-circle); -webkit-animation: spin-obf 1.6s linear infinite; animation: spin-obf 1.6s linear infinite; } #inner-loader-obf.loading-obf:after { content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px; border-radius: 50%; border: 2px solid transparent; border-top-color: #ffffff; border-top-color: var(--client-loader-inside-circle); -webkit-animation: spin-obf 0.8s linear infinite; animation: spin-obf 0.8s linear infinite; } @-webkit-keyframes spin-obf { 0% { -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); } } @keyframes spin-obf { 0% { -webkit-transform: rotate(0); -ms-transform: rotate(0); transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); } } #loader-wrapper-obf .loader-section-obf { position: fixed; top: 0; width: 50%; height: 100%; z-index: 1000; -webkit-transform: translateX(0); -ms-transform: translateX(0); transform: translateX(0); } #loader-wrapper-obf .loader-section-obf.section-left-obf { left: 0; } #loader-wrapper-obf .loader-section-obf.section-right-obf { right: 0; } #overlay-obf { z-index: 1150; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: rgba(0, 0, 0, 0.5); } .loader-obf { z-index: 1200; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); } .loading-text-container-obf { color: #fff; z-index: 1200; margin-top: 15px; }";style.id='obf-loader-style';document.querySelector('head').appendChild(style);document.body.appendChild(loader);}
54function removeLoader(){loader.parentNode.removeChild(loader);}
55function listenerLoadObf(callback){var listener=function(event){callback(event);document.removeEventListener('obf-client-fail',listener);document.removeEventListener('obf-client-loaded',listener);};document.addEventListener('obf-client-fail',listener);document.addEventListener('obf-client-loaded',listener);}
56window.base_href=window.base_href||document.location.origin;var oldSidebarScrollY=0;function getCookies(allCookie){var conver={};allCookie=allCookie.split("; ");allCookie.map(function(el){el=el.split("=");conver[el[0]]=el[1];});return conver;}
57function createRequest(){var req=false;if(window.XMLHttpRequest){try{req=new XMLHttpRequest();}catch(e){req=false;}}else if(window.ActiveXObject){try{req=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){req=false;}}
58return req;}
59function setCookie(cookieName,cookieValue,nDays){var today=new Date(),expire=new Date();if(nDays==null||nDays==0){nDays=1;}
60expire.setTime(today.getTime()+3600000*24*nDays);document.cookie=cookieName+"="+cookieValue+";expires="+expire.toGMTString()+";path=/";}
61var sidebarMenu=function(){var sidebarButton=document.getElementById('sidebar-button'),bodyElement=document.body,closeSidebar=document.querySelector('.close-sidebar'),mainContent=document.querySelector('.main-content'),sidebarBookBtn=document.querySelector('#sidebar-phone [data-book-btn="true"]'),sidebarChatBtn=document.querySelector('#sidebar-phone .chatOpenButton ');if(sidebarButton){sidebarButton.addEventListener('click',function(){toggleSidebar(bodyElement);});mainContent.addEventListener('click',function(event){if(bodyElement.classList.contains('sidebar-opened')&&!event.target.classList.contains('icon-bar')&&!event.target.classList.contains('sidebar-button')){toggleSidebar(bodyElement);}});}
62if(sidebarBookBtn){sidebarBookBtn.addEventListener('click',function(){if(bodyElement.classList.contains('sidebar-opened')){if(window.innerWidth>767){bodyElement.style.width='auto';}
63bodyElement.classList.remove('sidebar-opened');
63window.scrollTo(0,oldSidebarScrollY);}});}
64if(sidebarChatBtn){sidebarChatBtn.addEventListener('click',function(){toggleSidebar(bodyElement);});}}
65function toggleSidebar(bodyElement){if(bodyElement.classList.contains('sidebar-opened')){if(window.innerWidth>767){bodyElement.style.width='auto';}
66bodyElement.classList.remove('sidebar-opened');window.scrollTo(0,oldSidebarScrollY);}else{if(window.innerWidth>767){bodyElement.style.width=bodyElement.offsetWidth+'px';}
67oldSidebarScrollY=window.scrollY||window.pageYOffset;bodyElement.classList.add('sidebar-opened');}}
68document.addEventListener('DOMContentLoaded',function(e){sidebarMenu();});

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.