HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux vm8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: afleverb (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //var/www/drakkar_site/wp-content/plugins/otter-blocks/build/blocks/leaflet-map.js
!function(){"use strict";var e;e=()=>{if(!window.themeisleLeafletMaps)return void console.warn("The leaflet map attributes did not load on the page!");document.querySelectorAll(".wp-block-themeisle-blocks-leaflet-map").forEach((e=>{e.style.margin="20px 0",e.style.backgroundColor="#ccc"}));const e=setInterval((()=>{if(!window.L)return void console.warn("The leaflet script did not load on the page! Waiting for loading.");clearInterval(e);const t=Array.from(window.themeisleLeafletMaps).reduce(((e,t)=>(e[t.container]=t.attributes,e)),{});document.querySelectorAll(".wp-block-themeisle-blocks-leaflet-map").forEach((e=>{void 0!==t[e.id]&&(((e,t)=>{if(!e)return void console.warn(`The placeholder for the leaflet map block with id: ${e} does not exist!`);e.classList.add("wp-block-themeisle-leaflet-blocks-map");const o=window.L.map(e,{zoomControl:t.zoomControl,dragging:t.draggable,gestureHandling:t.draggable,gestureHandlingOptions:{text:{touch:"Use two fingers to move the map",scroll:"Use ctrl + scroll to zoom the map",scrollMac:"Use ⌘ + scroll to zoom the map"}}});window.L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',subdomains:["a","b","c"]}).addTo(o),o.setView([t.latitude,t.longitude],t.zoom||15),t.markers.map((e=>(e=>{const t=window.L.marker([e.latitude,e.longitude]);return t.bindTooltip(e.title,{direction:"auto"}),t.bindPopup((e=>{const t=document.createElement("div"),o=document.createElement("h6"),l=document.createElement("div"),a=document.createElement("p");return o.innerHTML=e.title,a.innerHTML=e.description,t.classList.add("wp-block-themeisle-blocks-leaflet-map-overview"),l.classList.add("wp-block-themeisle-blocks-leaflet-map-overview-content"),o.classList.add("wp-block-themeisle-blocks-leaflet-map-overview-title"),t.appendChild(o),t.appendChild(l),l.appendChild(a),t})(e)),t})(e))).forEach((e=>{o.addLayer(e)})),new ResizeObserver((()=>{o.invalidateSize()})).observe(e)})(e,t[e.id]),e.style.removeProperty("margin"),e.style.removeProperty("background-color"))}))}),2e3)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e())}();