PageSourceSearch

https://www.winningsmile.ie/wp-content/plugins/cmsmasters-elemento…gle-maps.6b4bcb73e461806bb9e6.bundle.min.js

js winningsmile.ie collected 2026-10-05 22:02:49 UTC 4,451 bytes, 2 lines download raw bytes

1/*! cmsmasters-elementor-addon - v1.25.1 - 16-06-2026 */
2"use strict";(self.webpackChunkcmsmasters_elementor_addon=self.webpackChunkcmsmasters_elementor_addon||[]).push([[7246],{1395:(e,t,s)=>{var o=s(6784);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,s(4364),s(4846),s(6211),s(9655);var n=o(s(3792));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,r="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:r,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},3792:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,s(4846),s(9655),s(5568);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},5568:(e,t,s)=>{s(9217)},9217:(e,t,s)=>{var o=s(8612),n=s(1807),r=s(1506),i=s(8120),a=s(2293),l=s(41),d=s(6721),m=s(5267)("some",TypeError);o({target:"Iterator",proto:!0,real:!0,forced:m},{some:function some(e){a(this);try{i(e)}catch(e){d(this,"throw",e)}if(m)return n(m,this,e);var t=l(this),s=0;return r(t,function(t,o){if(e(t,s++))return o()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})}}]);

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.