HEX
Server: LiteSpeed
System: Linux linux31.centraldnserver.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: salamatk (1501)
PHP: 8.1.33
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/salamatk/takarzan.ir/wp-content/themes/xts-luman/js/scripts/googleMapElement.min.js
(l=>{XTSThemeModule.xtsElementorAddAction("frontend/element_ready/xts_google_map.default",function(){XTSThemeModule.googleMapInit(),XTSThemeModule.googleMapCloseContent()}),XTSThemeModule.googleMapInit=function(){"undefined"!=typeof google&&l(".xts-map").each(function(){var o=l(this),e=o.data("map-args"),t={locations:[{lat:e.latitude,lon:e.longitude,icon:e.marker_icon,animation:google.maps.Animation.DROP}],controls_on_map:!1,map_div:"#"+e.selector,start:1,map_options:{zoom:parseInt(e.zoom),scrollwheel:"yes"===e.mouse_zoom,disableDefaultUI:e.default_ui}};e.json_style&&(t.styles={},t.styles[xts_settings.google_map_style_text]=JSON.parse(atob(e.json_style))),"yes"===e.marker_text_needed&&(t.locations[0].html=e.marker_text),"button"===e.lazy_type?o.find(".xts-map-button").on("click",function(e){e.preventDefault(),o.hasClass("xts-loaded")||(o.addClass("xts-loaded"),new Maplace(t).Load())}):"scroll"===e.lazy_type?(XTSThemeModule.$window.on("scroll",function(){window.innerHeight+XTSThemeModule.$window.scrollTop()+100>o.offset().top&&(o.hasClass("xts-loaded")||(o.addClass("xts-loaded"),new Maplace(t).Load()))}),XTSThemeModule.$window.scroll()):new Maplace(t).Load()})},XTSThemeModule.googleMapCloseContent=function(){var e=l(".xts-map-close");e.hasClass("xts-inited")||(e.addClass("xts-inited"),e.on("click",function(e){e.preventDefault(),l(this).parent().toggleClass("xts-opened")}))},l(document).ready(function(){XTSThemeModule.googleMapInit(),XTSThemeModule.googleMapCloseContent()})})(jQuery);