text: /*!
   * codebase - v4.3.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2021
   */
  !function(){function a(a,e){for(var n=0;n<e.length;n++){var t=e[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,t.key,t)}}var e=function(){function e(){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,t;return n=e,t=[{key:"initMapSearch",value:function(){if(jQuery("#js-map-search").length){var a=new GMaps({div:"#js-map-search",lat:20,lng:0,zoom:2,scrollwheel:!1});jQuery(".js-form-search").on("submit",(function(e){var n=jQuery(".js-search-address").parent(".input-group");return GMaps.geocode({address:jQuery(".js-search-address").val().trim(),callback:function(e,t){if("OK"===t&&e){var r=e[0].geometry.location;a.removeMarkers(),a.addMarker({lat:r.lat(),lng:r.lng()}),a.fitBounds(e[0].geometry.viewport),n.siblings(".form-text").remove()}else n.after('<div class="font-text text-danger text-center animated fadeInDown">Address not found!</div>')}}),!1}))}}},{key:"initMapSat",value:function(){jQuery("#js-map-sat").length&&new GMaps({div:"#js-map-sat",lat:20,lng:0,zoom:2,scrollwheel:!1}).setMapTypeId(google.maps.MapTypeId.SATELLITE)}},{key:"initMapTer",value:function(){jQuery("#js-map-ter").length&&new GMaps({div:"#js-map-ter",lat:20,lng:0,zoom:2,scrollwheel:!1}).setMapTypeId(google.maps.MapTypeId.TERRAIN)}},{key:"initMapOverlay",value:function(){jQuery("#js-map-overlay").length&&new GMaps({div:"#js-map-overlay",lat:35,lng:139,zoom:6,scrollwheel:!1}).drawOverlay({lat:35,lng:139,content:'<div class="alert alert-info text-xs-center"><h4 class="alert-heading mt-5 mb-15">Message</h4><p class="font-size-h5 mb-0">You can overlay messages on your maps!</p></div>'})}},{key:"initMapMarkers",value:function(){jQuery("#js-map-markers").length&&new GMaps({div:"#js-map-markers",lat:35.652832,lng:139.839478,zoom:11,scrollwheel:!1}).addMarkers([{lat:35.65,lng:139.83,title:"Map Marker #1",animation:google.maps.Animation.DROP,infoWindow:{content:"Map Marker #1"}},{lat:35.71,lng:139.89,title:"Map Marker #2",animation:google.maps.Animation.DROP,infoWindow:{content:"Map Marker #2"}},{lat:35.68,lng:139.8,title:"Map Marker #3",animation:google.maps.Animation.DROP,infoWindow:{content:"Map Marker #3"}},{lat:35.63,lng:139.88,title:"Map Marker #4",animation:google.maps.Animation.DROP,infoWindow:{content:"Map Marker #4"}},{lat:35.7,lng:139.85,title:"Map Marker #5",animation:google.maps.Animation.DROP,infoWindow:{content:"Map Marker #5"}}])}},{key:"init",value:function(){this.initMapSearch(),this.initMapSat(),this.initMapTer(),this.initMapOverlay(),this.initMapMarkers()}}],null&&a(n.prototype,null),t&&a(n,t),e}();jQuery((function(){e.init()}))}();