PageSourceSearch

https://mondriansuites.com/wp-content/cache/autoptimize/js/autopti…502d0061702688ef0acbbcf02d1d.js?ver=10.1.03

js mondriansuites.com collected 2026-10-08 01:59:59 UTC 21,228 bytes, 76 lines download raw bytes

1jQuery(function($){if(!document.querySelector('.wpgmza-atlas-major'))
2return;WPGMZA.AtlasMajorMarkerList=function(){var self=this;this.container=document.querySelector('.am-marker-list-container');this.paginationContainer=document.querySelector('.am-ml-pagination');this.searchInput=document.querySelector('.am-ml-search');this.countBadge=document.querySelector('.am-ml-count');this.datatableContainer=document.querySelector('#wpgmza-table-container-Marker');this.page=1;this.perPage=15;this.searchTerm='';this.debounceTimer=null;this.selectedIds={};if(!this.container)
3return;if(this.datatableContainer){$(this.datatableContainer).addClass('am-dt-hidden-in-list');}
4this.initBulkBar();this.bindSearch();this.initKebabDismiss();this.render();this.bindMapEvents();WPGMZA.AtlasMajorMarkerList.applySidebarLabels();var map=WPGMZA.maps[0];if(map&&!map.markersPlaced){this.setBusy(true);}}
5WPGMZA.AtlasMajorMarkerList.prototype.setBusy=function(busy){if(!this.container)return;if(busy){this.container.classList.add('am-marker-list-busy');}else{this.container.classList.remove('am-marker-list-busy');}}
6WPGMZA.AtlasMajorMarkerList.prototype.initKebabDismiss=function(){var self=this;$(document).on('click.ammkebab',function(e){if($(e.target).closest('.am-mi-kebab, .am-mi-menu').length)return;$(self.container).find('.am-mi.am-mi-menu-open').removeClass('am-mi-menu-open').find('.am-mi-kebab').attr('aria-expanded','false');});$(document).on('keydown.ammkebab',function(e){if(e.key==='Escape'){$(self.container).find('.am-mi.am-mi-menu-open').removeClass('am-mi-menu-open').find('.am-mi-kebab').attr('aria-expanded','false');}});}
7WPGMZA.AtlasMajorMarkerList.applySidebarLabels=function(){var L=(WPGMZA.localized_strings)||{};var addLabel=function(group){if(group==='map-markers')return L.am_sidebar_add_marker||'Add Marker';return L.am_sidebar_add_default||'Add';};var listLabel=function(group){switch(group){case'map-markers':return L.am_sidebar_list_marker||'Marker List';case'map-polygons':return L.am_sidebar_list_polygon||'Polygon List';case'map-polylines':return L.am_sidebar_list_polyline||'Polyline List';case'map-circles':return L.am_sidebar_list_circle||'Circle List';case'map-rectangles':return L.am_sidebar_list_rectangle||'Rectangle List';case'map-heatmaps':return L.am_sidebar_list_heatmap||'Heatmap List';case'map-point-labels':return L.am_sidebar_list_point_label||'Point Label List';case'map-image-overlays':return L.am_sidebar_list_image_overlay||'Image Overlay List';default:return L.am_sidebar_list_default||'List';}};jQuery('.wpgmza-atlas-major .wpgmza-editor .sidebar .grouping[data-group]').each(function(){var $grouping=jQuery(this);var group=$grouping.attr('data-group');$grouping.children('.navigation').attr('data-am-label',addLabel(group));$grouping.find('.feature-list').attr('data-am-label',listLabel(group));});};WPGMZA.AtlasMajorMarkerList.PIN_COLORS=['#e8473f','#3b82f6','#10b981','#f59e0b','#8b5cf6','#ec4899','#06b6d4','#84cc16'];WPGMZA.AtlasMajorMarkerList.prototype.getFilteredMarkers=function(){var map=WPGMZA.maps[0];if(!map)return[];var markers=map.markers||[];var term=this.searchTerm.toLowerCase().trim();if(!term)
8return markers;return markers.filter(function(m){var title=(m.title||'').toLowerCase();var address=(m.address||'').toLowerCase();var id=String(m.id||'');if(title.indexOf(term)!==-1||address.indexOf(term)!==-1||id.indexOf(term)!==-1)
9return true;if(m.description){var desc=m.description.replace(/<[^>]*>/g,'').toLowerCase();if(desc.indexOf(term)!==-1)
10return true;}
11if(m.categories&&m.categories.length&&WPGMZA.categories){for(var i=0;i<m.categories.length;i++){var cat=WPGMZA.categories.getCategoryByID(parseInt(m.categories[i]));if(cat&&cat.name&&cat.name.toLowerCase().indexOf(term)!==-1)
12return true;}}
13return false;});}
14WPGMZA.AtlasMajorMarkerList.prototype.render=function(){if(!this.container)return;var filtered=this.getFilteredMarkers();var total=filtered.length;var totalPages=Math.ceil(total/this.perPage);if(this.page>totalPages)this.page=Math.max(1,totalPages);var start=(this.page-1)*this.perPage;var pageItems=filtered.slice(start,start+this.perPage);var html='';if(total===0){var msg=this.searchTerm?(WPGMZA.localized_strings.no_results_found||'No markers match your search'):(WPGMZA.localized_strings.no_markers_found||'No markers yet');html='<div class="am-ml-empty"><div class="am-empty-text">'+msg+'</div></div>';}else{html='<ul class="am-ml">';
14for(var i=0;i<pageItems.length;i++){html+=this.renderItem(pageItems[i],start+i);}
15html+='</ul>';}
16this.container.innerHTML=html;this.renderPagination(total,totalPages);this.updateCount(total);this.bindItemEvents();}
17WPGMZA.AtlasMajorMarkerList.prototype.scheduleRender=function(){var self=this;var map=WPGMZA.maps[0];if(map&&!map.markersPlaced)
18return;if(self._renderScheduled)
19return;self._renderScheduled=true;var run=function(){self._renderScheduled=false;self.render();};if(typeof window.requestAnimationFrame==='function')
20window.requestAnimationFrame(run);else
21setTimeout(run,16);}
22WPGMZA.AtlasMajorMarkerList.prototype.renderItem=function(marker,index){var title=this.esc(marker.title||'');var address=this.esc(marker.address||'');var id=marker.id;if(!title&&address){title=address;address='';}
23if(!title)title='Marker #'+id;var iconUrl='';var rawIcon=marker.icon;if(rawIcon&&rawIcon!==''){if(typeof rawIcon==='object'&&rawIcon.url){iconUrl=rawIcon.url;}else if(typeof rawIcon==='string'){try{var parsed=JSON.parse(rawIcon);iconUrl=parsed.url||rawIcon;}catch(e){iconUrl=rawIcon;}}}else if(typeof marker.getIcon==='function'){var fetched=marker.getIcon();if(typeof fetched==='object'&&fetched.url){iconUrl=fetched.url;}else if(typeof fetched==='string'){iconUrl=fetched;}}
24if(!iconUrl&&WPGMZA.defaultMarkerIcon){iconUrl=WPGMZA.defaultMarkerIcon;}
25if(!iconUrl&&WPGMZA.settings&&WPGMZA.settings.default_marker_icon){iconUrl=WPGMZA.settings.default_marker_icon;}
26var iconHtml=iconUrl?'<img src="'+this.esc(iconUrl)+'" alt="" />':'<div style="width:10px;height:10px;border-radius:50%;background:#e8473f;"></div>';var catHtml='';if(marker.categories&&marker.categories.length&&WPGMZA.categories){var pills=[];for(var c=0;c<marker.categories.length;c++){var cat=WPGMZA.categories.getCategoryByID(parseInt(marker.categories[c]));if(cat&&cat.name&&cat.name.trim()!==''){pills.push('<span class="am-mi-cat">'+this.esc(cat.name)+'</span>');}}
27if(pills.length){catHtml='<div class="am-mi-cats">'+pills.join('')+'</div>';}}
28var checked=this.selectedIds[id]?' checked':'';var needsApproval=(typeof marker.approved!=='undefined'&&parseInt(marker.approved)===0);var isPro=WPGMZA.isProVersion();var menuItems='';menuItems+=this.renderMenuItem('edit-marker-id',id,'Edit','<path d="M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z"/>');menuItems+=this.renderMenuItem('adjust-marker-id',id,'Adjust','<path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/><circle cx="12" cy="9" r="2.5"/>');menuItems+=this.renderMenuItem('center-marker-id',id,'Center','<circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="3"/>');if(isPro){menuItems+=this.renderMenuItem('duplicate-feature-id',id,'Duplicate','<rect x="9" y="9" width="13" height="13" rx="2"/><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"/>');menuItems+=this.renderMenuItem('move-map-feature-id',id,'Move Map','<polyline points="5 9 2 12 5 15"/><polyline points="9 5 12 2 15 5"/><polyline points="15 19 12 22 9 19"/><polyline points="19 9 22 12 19 15"/><line x1="2" y1="12" x2="22" y2="12"/><line x1="12" y1="2" x2="12" y2="22"/>');}
29if(needsApproval){menuItems+=this.renderMenuItem('approve-marker-id',id,'Approve','<polyline points="20 6 9 17 4 12"/>','am-mi-mi-approve am-mi-mi-attention');}
30menuItems+=this.renderMenuItem('delete-marker-id',id,'Delete','<polyline points="3 6 5 6 21 6"/><path d="M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"/>','am-mi-mi-danger');var parts={marker:marker,id:id,title:title,address:address,iconHtml:iconHtml,catHtml:catHtml,menuItems:menuItems,checked:checked,needsApproval:needsApproval};$(document.body).trigger('wpgmza_atlas_major_marker_list_item',[parts]);var rowHtml='<li class="am-mi'+(parts.checked?' am-mi-selected':'')+(parts.needsApproval?' am-mi-needs-approval':'')+'" data-marker-id="'+id+'">'+'<label class="am-mi-check"><input type="checkbox" data-bulk-marker-id="'+id+'"'+parts.checked+'/></label>'+'<div class="am-mi-pin">'+parts.iconHtml+'</div>'+'<div class="am-mi-body">'+'<div class="am-mi-name">'+parts.title+'</div>'+
31(parts.address?'<div class="am-mi-addr">'+parts.address+'</div>':'')+
32parts.catHtml+'</div>'+'<div class="am-mi-ops">'+'<button class="am-mi-kebab" data-marker-menu-id="'+id+'" aria-label="Marker actions" aria-haspopup="true" aria-expanded="false">'+'<svg viewBox="0 0 24 24" width="14" height="14" fill="currentColor"><circle cx="5" cy="12" r="1.7"/><circle cx="12" cy="12" r="1.7"/><circle cx="19" cy="12" r="1.7"/></svg>'+'</button>'+'<div class="am-mi-menu" data-marker-menu-for="'+id+'" role="menu">'+
33parts.menuItems+'</div>'+'</div>'+'</li>';var result={html:rowHtml,marker:marker,id:id};$(document.body).trigger('wpgmza_atlas_major_marker_list_item_html',[result]);return result.html;}
34WPGMZA.AtlasMajorMarkerList.prototype.renderMenuItem=function(dataKey,id,label,svgBody,extraClass){var cls='am-mi-mi'+(extraClass?' '+extraClass:'');return'<button class="'+cls+'" data-'+dataKey+'="'+id+'" role="menuitem">'+'<svg class="am-mi-mi-icon" viewBox="0 0 24 24" width="14" height="14" stroke="currentColor" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">'+svgBody+'</svg>'+'<span class="am-mi-mi-label">'+label+'</span>'+'</button>';}
35WPGMZA.AtlasMajorMarkerList.prototype.renderPagination=function(total,totalPages){if(!this.paginationContainer)return;if(totalPages<=1){this.paginationContainer.innerHTML='';return;}
36var self=this;var html='<div class="am-pag">';html+='<button class="am-pag-btn'+(this.page<=1?' disabled':'')+'" data-page="'+(this.page-1)+'">'+'<svg viewBox="0 0 24 24" width="14" height="14" stroke="currentColor" fill="none" stroke-width="2"><polyline points="15 18 9 12 15 6"/></svg>'+'</button>';var startPage=Math.max(1,this.page-2);var endPage=Math.min(totalPages,startPage+4);if(endPage-startPage<4)startPage=Math.max(1,endPage-4);for(var p=startPage;p<=endPage;p++){html+='<button class="am-pag-btn am-pag-num'+(p===this.page?' on':'')+'" data-page="'+p+'">'+p+'</button>';}
37html+='<button class="am-pag-btn'+(this.page>=totalPages?' disabled':'')+'" data-page="'+(this.page+1)+'">'+'<svg viewBox="0 0 24 24" width="14" height="14" stroke="currentColor" fill="none" stroke-width="2"><polyline points="9 6 15 12 9 18"/></svg>'+'</button>';html+='<span class="am-pag-info">'+this.page+' / '+totalPages+'</span>';html+='</div>';this.paginationContainer.innerHTML=html;$(this.paginationContainer).off('click.ampag').on('click.ampag','.am-pag-btn:not(.disabled)',function(){var page=parseInt($(this).attr('data-page'));if(page>=1&&page<=totalPages){self.page=page;self.render();$(self.container).closest('.am-panel-scroll')[0].scrollTop=0;}});}
38WPGMZA.AtlasMajorMarkerList.prototype.bindSearch=function(){var self=this;if(!this.searchInput)return;$(this.searchInput).on('input',function(){clearTimeout(self.debounceTimer);self.debounceTimer=setTimeout(function(){self.searchTerm=$(self.searchInput).val();self.page=1;self.render();},200);});}
39WPGMZA.AtlasMajorMarkerList.prototype.updateCount=function(filteredCount){if(!this.countBadge)return;var map=WPGMZA.maps[0];var total=(map&&map.markers)?map.markers.length:0;if(this.searchTerm){this.countBadge.textContent=filteredCount+' / '+total;}else{this.countBadge.textContent=total;}}
40WPGMZA.AtlasMajorMarkerList.prototype.bindItemEvents=function(){var self=this;var container=$(this.container);container.off('click.amlist').on('click.amlist','.am-mi',function(e){if($(e.target).closest('.am-mi-ops').length)return;if($(e.target).closest('.am-mi-check').length)return;self.editMarker($(this).data('marker-id'));});container.on('click.amlist','.am-mi-kebab',function(e){e.stopPropagation();var $kebab=$(this);var $li=$kebab.closest('.am-mi');var alreadyOpen=$li.hasClass('am-mi-menu-open');$(self.container).find('.am-mi.am-mi-menu-open').removeClass('am-mi-menu-open').find('.am-mi-kebab').attr('aria-expanded','false');if(!alreadyOpen){$li.addClass('am-mi-menu-open');$kebab.attr('aria-expanded','true');}});container.on('click.amlist','.am-mi-menu .am-mi-mi',function(){$(this).closest('.am-mi').removeClass('am-mi-menu-open').find('.am-mi-kebab').attr('aria-expanded','false');});self.bindBulkCheckboxes();self.updateBulkBar();container.on('click.amlist','[data-edit-marker-id]',function(e){e.stopPropagation();self.editMarker($(this).attr('data-edit-marker-id'));});container.on('click.amlist','[data-center-marker-id]',function(e){e.stopPropagation();self.centerMarker($(this).attr('data-center-marker-id'));});container.on('click.amlist','[data-adjust-marker-id]',function(e){});container.on('click.amlist','[data-duplicate-feature-id]',function(e){e.stopPropagation();self.duplicateMarker($(this).attr('data-duplicate-feature-id'));});container.on('click.amlist','[data-move-map-feature-id]',function(e){e.stopPropagation();self.moveMarkerToMap($(this).attr('data-move-map-feature-id'));});container.on('click.amlist','[data-approve-marker-id]',function(e){e.stopPropagation();self.approveMarker($(this).attr('data-approve-marker-id'));});container.on('click.amlist','[data-delete-marker-id]',function(e){e.stopPropagation();self.deleteMarker($(this).attr('data-delete-marker-id'));});}
41WPGMZA.AtlasMajorMarkerList.prototype.bindMapEvents=function(){var self=this;var map=WPGMZA.maps[0];if(!map)return;map.on('markeradded',function(){self.scheduleRender();});map.on('markerremoved',function(){self.scheduleRender();});if(map.markersPlaced){self.render();self.setBusy(false);}else{map.on('markersplaced',function(){self.render();self.setBusy(false);});}
42$(document.body).on('datatable.reload',function(){setTimeout(function(){self.render();},500);});}
43WPGMZA.AtlasMajorMarkerList.prototype.editMarker=function(id){var panel=WPGMZA.mapEditPage?WPGMZA.mapEditPage.markerPanel:null;if(panel&&typeof panel.select==='function'){panel.select(id);}
44if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.sidebarGroupings){WPGMZA.mapEditPage.sidebarGroupings.openTabByGroupId('map-markers-editor');}
45var map=WPGMZA.maps[0];var marker=map?map.getMarkerByID(id):null;if(marker&&typeof marker.openInfoWindow==='function'){marker.openInfoWindow();}}
46WPGMZA.AtlasMajorMarkerList.prototype.centerMarker=function(id){var marker=WPGMZA.maps[0].getMarkerByID(id);if(marker){WPGMZA.maps[0].setCenter(new WPGMZA.LatLng({lat:marker.lat,lng:marker.lng}));}}
47WPGMZA.AtlasMajorMarkerList.prototype.duplicateMarker=function(id){var self=this;var map=WPGMZA.maps[0];self.setBusy(true);WPGMZA.restAPI.call("/markers/",{method:"POST",data:{id:id,action:"duplicate"},success:function(response,status,xhr){if(response&&response.marker&&map&&typeof map.addMarker==='function'){var marker=WPGMZA.Marker.createInstance(response.marker);map.addMarker(marker);}else{self.render();}
48if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.markerAdminDataTable){WPGMZA.mapEditPage.markerAdminDataTable.reload();}
49self.setBusy(false);},error:function(){self.setBusy(false);}});}
50WPGMZA.AtlasMajorMarkerList.prototype.moveMarkerToMap=function(id){var self=this;var dt=WPGMZA.mapEditPage?WPGMZA.mapEditPage.markerAdminDataTable:null;if(!dt||typeof dt.onMoveMap!=='function')
51return;dt.onMoveMap(id);}
52WPGMZA.AtlasMajorMarkerList.prototype.approveMarker=function(id){var self=this;var map=WPGMZA.maps[0];if(!map)return;self.setBusy(true);WPGMZA.restAPI.call("/markers/"+id,{method:"POST",data:{approved:"1"},success:function(){var marker=map.getMarkerByID(id);if(marker){marker.approved=1;}
53self.render();if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.markerAdminDataTable){WPGMZA.mapEditPage.markerAdminDataTable.reload();}
54self.setBusy(false);},error:function(){self.setBusy(false);}});}
55WPGMZA.AtlasMajorMarkerList.prototype.deleteMarker=function(id){var self=this;if(!confirm(WPGMZA.localized_strings.general_delete_prompt_text||'Are you sure you want to delete this marker?'))
56return;var map=WPGMZA.maps[0];var marker=map.getMarkerByID(id);self.setBusy(true);WPGMZA.restAPI.call("/markers/"+id,{method:"DELETE",success:function(data,status,xhr){if(marker)
57map.removeMarker(marker);else
58map.removeMarkerByID(id);self.render();if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.markerAdminDataTable){WPGMZA.mapEditPage.markerAdminDataTable.reload();}
59self.setBusy(false);},error:function(){self.setBusy(false);}});}
60WPGMZA.AtlasMajorMarkerList.prototype.initBulkBar=function(){var self=this;var searchField=document.querySelector('.am-search-field');if(!searchField)return;var bar=document.createElement('div');bar.className='am-bulk-bar';bar.style.display='none';bar.innerHTML='<button type="button" class="am-bulk-btn" data-bulk-action="select-all">'+(WPGMZA.localized_strings.select_all||'Select All')+'</button>'+'<button type="button" class="am-bulk-btn" data-bulk-action="deselect-all">'+(WPGMZA.localized_strings.deselect_all||'Deselect All')+'</button>'+'<button type="button" class="am-bulk-btn" data-bulk-action="bulk-edit">'+(WPGMZA.localized_strings.bulk_edit||'Bulk Edit')+'</button>'+'<button type="button" class="am-bulk-btn am-bulk-btn-danger" data-bulk-action="bulk-delete">'+(WPGMZA.localized_strings.bulk_delete||'Bulk Delete')+'</button>';searchField.after(bar);this.bulkBar=bar;$(bar).on('click','[data-bulk-action]',function(e){var action=$(this).attr('data-bulk-action');if(action==='select-all')self.bulkSelectAll();else if(action==='deselect-all')self.bulkDeselectAll();else if(action==='bulk-edit')self.bulkEdit();else if(action==='bulk-delete')self.bulkDelete();});}
61WPGMZA.AtlasMajorMarkerList.prototype.getBulkEditModal=function(){var tables=WPGMZA.mapEditPage?WPGMZA.mapEditPage.markerDataTable||WPGMZA.mapEditPage.markerAdminDataTable:null;if(tables&&typeof tables.getBulkEditorModal==='function'){return tables.getBulkEditorModal();}
62if(WPGMZA.AdminFeatureDataTable){var el=$('[data-wpgmza-table][data-wpgmza-feature-type="marker"]')[0];
62if(el&&el.wpgmzaDataTable&&typeof el.wpgmzaDataTable.getBulkEditorModal==='function'){return el.wpgmzaDataTable.getBulkEditorModal();}}
63return false;}
64WPGMZA.AtlasMajorMarkerList.prototype.updateBulkBar=function(){if(!this.bulkBar)return;var count=Object.keys(this.selectedIds).length;if(count>0){this.bulkBar.style.display='flex';}else{this.bulkBar.style.display='none';}}
65WPGMZA.AtlasMajorMarkerList.prototype.bindBulkCheckboxes=function(){var self=this;$(this.container).off('change.ambulk').on('change.ambulk','[data-bulk-marker-id]',function(e){e.stopPropagation();var id=$(this).attr('data-bulk-marker-id');if(this.checked){self.selectedIds[id]=true;}else{delete self.selectedIds[id];}
66$(this).closest('.am-mi').toggleClass('am-mi-selected',this.checked);self.updateBulkBar();});$(this.container).off('click.ambulkstop').on('click.ambulkstop','.am-mi-check',function(e){e.stopPropagation();});}
67WPGMZA.AtlasMajorMarkerList.prototype.bulkSelectAll=function(){var filtered=this.getFilteredMarkers();for(var i=0;i<filtered.length;i++){this.selectedIds[filtered[i].id]=true;}
68this.render();}
69WPGMZA.AtlasMajorMarkerList.prototype.bulkDeselectAll=function(){this.selectedIds={};this.render();}
70WPGMZA.AtlasMajorMarkerList.prototype.getSelectedIds=function(){return Object.keys(this.selectedIds).map(function(id){return parseInt(id);});}
71WPGMZA.AtlasMajorMarkerList.prototype.bulkDelete=function(){var self=this;var ids=this.getSelectedIds();if(!ids.length)return;if(!confirm(WPGMZA.localized_strings.general_delete_prompt_text||'Are you sure you want to delete these markers?'))
72return;var map=WPGMZA.maps[0];ids.forEach(function(id){try{map.removeMarkerByID(id);}catch(e){}});WPGMZA.restAPI.call("/markers/",{method:"DELETE",data:{ids:ids},complete:function(){self.selectedIds={};self.render();if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.markerAdminDataTable){WPGMZA.mapEditPage.markerAdminDataTable.reload();}}});}
73WPGMZA.AtlasMajorMarkerList.prototype.bulkEdit=function(){var self=this;var ids=this.getSelectedIds();if(!ids.length)return;var modal=this.getBulkEditModal();if(modal){modal.show(function(data){data.ids=ids;data.action="bulk_edit";WPGMZA.restAPI.call("/markers/",{method:"POST",data:data,success:function(){self.selectedIds={};self.render();if(WPGMZA.mapEditPage&&WPGMZA.mapEditPage.markerAdminDataTable){WPGMZA.mapEditPage.markerAdminDataTable.reload();}}});});}}
74WPGMZA.AtlasMajorMarkerList.prototype.esc=function(str){var d=document.createElement('div');d.textContent=str;return d.innerHTML;}
75function initMarkerList(){if(WPGMZA.maps&&WPGMZA.maps[0]&&document.querySelector('.am-marker-list-container')){if(!WPGMZA.atlasMajorMarkerList){WPGMZA.atlasMajorMarkerList=new WPGMZA.AtlasMajorMarkerList();}}}
76$(document.body).on('wpgmza_map_edit_page_created',function(){setTimeout(initMarkerList,1000);});$(window).on('load',function(){setTimeout(initMarkerList,1500);});$(document.body).on('markersfetched',function(){if(WPGMZA.atlasMajorMarkerList){WPGMZA.atlasMajorMarkerList.render();}});});

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.