HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (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/html/wppartneramazingsecret/wp-content/themes/themify-ultra/themify/js/modules/map.min.js
'use strict';var ThemifyGoogleMap,ThemifyBingMap;
(function(k,m,p){let r=null,x=null,t=null,y=null,v=function(h){if(null===t){t=new google.maps.Geocoder;var d=document.createElement("style");d.textContent=".gmnoprint{overflow-wrap:normal}.themify_builder_map_info_window{color:#000}";document.head.appendChild(d)}for(d=h.length-1;-1<d;--d){let a=h[d];a.classList.contains("tf_map_loaded")||(a.classList.add("tf_map_loaded"),k.requestIdleCallback(function(){var e=new google.maps.LatLng(-34.397,150.644),g=a.getAttribute("data-address");let b=a.getAttribute("data-type"),
n=a.getAttribute("data-reverse-geocoding"),l=null;e={zoom:parseInt(a.getAttribute("data-zoom")),center:e,mapTypeId:google.maps.MapTypeId.ROADMAP,scrollwheel:"1"===a.getAttribute("data-scroll"),draggable:"1"===a.getAttribute("data-drag"),disableDefaultUI:"1"===a.getAttribute("data-control")};k.isTouch&&"0"!==a.getAttribute("data-mdrag")&&(e.draggable=!1);switch(b.toUpperCase()){case "ROADMAP":e.mapTypeId=google.maps.MapTypeId.ROADMAP;break;case "SATELLITE":e.mapTypeId=google.maps.MapTypeId.SATELLITE;
break;case "HYBRID":e.mapTypeId=google.maps.MapTypeId.HYBRID;break;case "TERRAIN":e.mapTypeId=google.maps.MapTypeId.TERRAIN}let f=new google.maps.Map(a,e);google.maps.event.addListenerOnce(f,"idle",function(){k.trigger("themify_map_loaded",[a,f])});a.setAttribute("data-gmap_object",f);n&&"false"!==n?(g=g.split(",",2),l=new google.maps.LatLng(parseFloat(g[0]),parseFloat(g[1])),g={latLng:l}):g={address:g};t.geocode(g,function(c,q){if(q==google.maps.GeocoderStatus.OK){c=null!==l?l:c[0].geometry.location;
const u=new google.maps.Marker({map:f,position:c});q=a.getAttribute("data-info-window");f.setCenter(c);if(q){const z=new google.maps.InfoWindow({content:'<div class="themify_builder_map_info_window">'+q+"</div>"});m.google.maps.event.addListener(u,"click",function(){z.open(f,u)})}}})},1E3*(d+1)))}},w=function(h){const d=function(a){const e=function(g,b,n,l){g.geocode({where:l,count:1,userData:{map:b,info:n},callback:function(f,c){if(f&&f.results&&0<f.results.length){b=c.map;n=c.info;b.setView({center:f.results[0].bestView.center});
f=new Microsoft.Maps.Pushpin(b.getCenter(),null);if(n){const q=new Microsoft.Maps.Infobox(b.getCenter(),{description:n,visible:!1});q.setMap(b);m.Microsoft.Maps.Events.addHandler(f,"click",function(u){q.setOptions({visible:!0})})}b.entities.push(f)}}})};for(let g=a.length-1;-1<g;--g){let b=a[g];k.requestIdleCallback(function(){const n=b.getAttribute("data-address").split(",");var l=b.getAttribute("data-type");const f=b.getAttribute("data-info-window"),c={disableBirdseye:!0,disableScrollWheelZoom:"1"!==
b.getAttribute("data-scroll"),showDashboard:1!==b.getAttribute("data-control"),credentials:p.bing_map_key,disablePanning:"1"!==b.getAttribute("data-drag"),zoom:parseInt(b.getAttribute("data-zoom"))};switch(l){case "aerial":c.mapTypeId=Microsoft.Maps.MapTypeId.aerial;break;case "road":c.mapTypeId=Microsoft.Maps.MapTypeId.road;break;case "streetside":c.mapTypeId=Microsoft.Maps.MapTypeId.streetside;break;case "canvasDark":c.mapTypeId=Microsoft.Maps.MapTypeId.canvasDark;break;case "canvasLight":c.mapTypeId=
Microsoft.Maps.MapTypeId.canvasLight;break;case "birdseye":c.mapTypeId=Microsoft.Maps.MapTypeId.birdseye;break;case "ordnanceSurvey":c.mapTypeId=Microsoft.Maps.MapTypeId.ordnanceSurvey;break;case "grayscale":c.mapTypeId=Microsoft.Maps.MapTypeId.grayscale}l=new Microsoft.Maps.Map(b,c);e(new Microsoft.Maps.Search.SearchManager(l),l,f,n)},1E3*(g+1))}};null===y?Microsoft.Maps.loadModule("Microsoft.Maps.Search",function(a){y=!0;d(a)}.bind(null,h)):d(h)};ThemifyGoogleMap=function(){r=!0;k.trigger("themify_google_map_loaded")};
ThemifyBingMap=function(){x=!0;k.trigger("themify_bing_map_loaded")};k.on("themify_map_init",function(h){const d=[],a=[];h instanceof jQuery&&(h=h.get());for(let e=h.length-1;-1<e;--e)h[e].classList.contains("themify_bing_map")?a.push(h[e]):d.push(h[e]);h=null;0<d.length&&(null!==r||m.google&&"object"===typeof m.google.maps?(r=!0,v(d)):(p.map_key||(p.map_key=""),k.LoadAsync("//maps.googleapis.com/maps/api/js",function(){if(!0===r)v(d);else k.on("themify_google_map_loaded",v.bind(null,d),!0)},"v=3.exp&callback=ThemifyGoogleMap&key="+
p.map_key,null,function(){return!!m.google&&"object"===typeof m.google.maps})));0<a.length&&(m.Microsoft&&"object"===typeof m.Microsoft.Maps?w(a):(p.bing_map_key||(p.bing_map_key=""),k.LoadAsync("//www.bing.com/api/maps/mapcontrol",function(){if(!0===x)w(a);else k.on("themify_bing_map_loaded",w.bind(null,a),!0)},"&callback=ThemifyBingMap&key="+p.bing_map_key,!0,function(){return!!m.Microsoft&&"object"===typeof m.Microsoft.Maps})))})})(Themify,window,themify_vars);