PageSourceSearch

https://iveybusinessjournal.com/wp-content/plugins/cmsmasters-elem…gle-maps.7f4e4e3377f159959528.bundle.min.js

js iveybusinessjournal.com collected 2026-10-02 02:34:59 UTC 4,018 bytes, 2 lines download raw bytes

1/*! cmsmasters-elementor-addon - v1.19.1 - 03-11-2025 */
2"use strict";(self.webpackChunkcmsmasters_elementor_addon=self.webpackChunkcmsmasters_elementor_addon||[]).push([[567],{2277:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class _default extends elementorModules.frontend.handlers.Base{__construct(){super.__construct(...arguments),this.bindElements=[],this.deviceNames=["mobile","tablet","desktop"],this.devicePrefixMaps={mobile:"mobile",tablet:"tablet",desktop:""}}bindElementChange(e,t){this.bindElements.push([e,t])}onElementChange(e){this.bindElements&&this.bindElements.length&&this.bindElements.forEach((t=>{let[s]=t;Array.isArray(s)||(s=s.split(/\s/));const[,o]=t;s.some((t=>{if(-1!==[t,`${t}_tablet`,`${t}_mobile`].indexOf(e))return o(...arguments),!0}))}))}onDestroy(){this.trigger("destroy:before"),super.onDestroy()}getCurrentDeviceSettingInherit(e){const t=["desktop","tablet","mobile"],s=elementorFrontend.getCurrentDeviceMode(),o=this.getElementSettings();let n=t.indexOf(s);for(;n>0;){const s=o[e+"_"+t[n]];if(s&&"object"==typeof s&&Object.prototype.hasOwnProperty.call(s,"size")&&s.size)return s;n--}return o[e]}getCurrentDeviceSettingSize(e){let t=this.getCurrentDeviceSettingInherit(e);return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"size")&&(t=t.size),t}}t.default=_default},2554:(e,t,s)=>{var o=s(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(s(2277));class GoogleMaps extends n.default{getDefaultSettings(){return{selectors:{map:".elementor-widget-cmsmasters-google-maps__wrapper"}}}getDefaultElements(){const{selectors:e}=this.getSettings();return{$map:this.findElement(e.map)}}onInit(){super.onInit(),this.initMaps(),this.initGeoCoder(),this.initByAddress(),this.initMarkers()}initMaps(){this.map=new google.maps.Map(this.elements.$map.get(0),this.getOptions()),this.getTitle()}getTitle(){const e=this.getElementSettings();let t="Google Map";t="address-g"===e.address_type_global?e.address:`lat: ${e.coordinates_lat_global}, lng: ${e.coordinates_lng_global}`,new google.maps.event.addListenerOnce(this.map,"idle",(()=>{this.elements.$map.find("iframe").attr("title",`${t}`)}))}getOptions(){const e=this.getElementSettings(),t="yes"===e.zoom_control,s="yes"===e.map_type_control,o="yes"===e.street_view_control,n="yes"===e.fullscreen_control,i="yes"===e.gesture_handling?"greedy":"none";return{zoom:e.zoom.size||4,mapTypeId:e.map_type||"satellite",zoomControl:t,mapTypeControl:s,streetViewControl:o,fullscreenControl:n,gestureHandling:i,styles:this.getConfigStyle()}}getConfigStyle(){const e=this.getElementSettings().custom_styling;let t;try{t=JSON.parse(e)}catch(e){}return"object"!=typeof t&&(t=[]),t}initGeoCoder(){this.geocoder=new google.maps.Geocoder}initByAddress(){const e=this.getElementSettings(),{address:t}=e;"address-g"===e.address_type_global?this.getGeoCode(t,((e,t)=>{"OK"===t&&this.map.setCenter(e[0].geometry.location)})):this.map.setCenter({lat:Number(e.coordinates_lat_global),lng:Number(e.coordinates_lng_global)})}getGeoCode(e,t){this.geocoder.geocode({address:e},t)}initMarkers(){const{markers:e}=this.getElementSettings();e.forEach((e=>{"address"===e.address_type?this.getGeoCode(e.address_mark,((t,s)=>{if("OK"!==s)return;const{lat:o,lng:n}=t[0].geometry.location;e.coordinates_mark_lat=o(),e.coordinates_mark_lng=n(),this.initMarker(e)})):this.initMarker(e)}))}initMarker(e){const t=new google.maps.Marker({map:this.map,position:{lat:Number(e.coordinates_mark_lat),lng:Number(e.coordinates_mark_lng)},icon:e.mark_icon.url,title:e.mark_title,animation:this.getAnimationMarker(e)});if(""!==e.mark_desc){const s=new google.maps.InfoWindow({content:`<div class="cmsmasters-google-map-desc">${e.mark_desc}<div>`});"yes"===e.desc_show&&s.open(this.map,t),t.addListener("click",(()=>{s.open(this.map,t)}))}}getAnimationMarker(e){let t="";switch(e.animation_marker){case"bounce":t=google.maps.Animation.BOUNCE;break;case"drop":t=google.maps.Animation.DROP}return t}}t.default=GoogleMaps}}]);

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.