PageSourceSearch

https://rccgsolidrock.org.uk/wp-content/plugins/cmsmasters-element…/gallery.d36a4e341361ffc87dcb.bundle.min.js

js rccgsolidrock.org.uk collected 2026-10-07 01:52:39 UTC 7,354 bytes, 2 lines download raw bytes

1/*! cmsmasters-elementor-addon - v1.19.4 - 12-12-2025 */
2"use strict";(self.webpackChunkcmsmasters_elementor_addon=self.webpackChunkcmsmasters_elementor_addon||[]).push([[5121],{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[i]=t;Array.isArray(i)||(i=i.split(/\s/));const[,s]=t;i.some((t=>{if(-1!==[t,`${t}_tablet`,`${t}_mobile`].indexOf(e))return s(...arguments),!0}))}))}onDestroy(){this.trigger("destroy:before"),super.onDestroy()}getCurrentDeviceSettingInherit(e){const t=["desktop","tablet","mobile"],i=elementorFrontend.getCurrentDeviceMode(),s=this.getElementSettings();let a=t.indexOf(i);for(;a>0;){const i=s[e+"_"+t[a]];if(i&&"object"==typeof i&&Object.prototype.hasOwnProperty.call(i,"size")&&i.size)return i;a--}return s[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},2434:(e,t,i)=>{var s=i(3203);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=s(i(2277)),n=s(i(2533));class Gallery extends a.default{__construct(e){super.__construct(e),this.keydownHelper=new n.default}getDefaultSettings(){const e="elementor-widget-cmsmasters-gallery";return{controls:{bgOverlayHover:"background_overlay_hover_animation",imgHover:"image_hover_animation",contentHover:"content_hover_animation"},classes:{activeTitle:`${e}__bar-item-active`,animatedContent:`${e}__animated-content`,sequencedAnimation:`${e}__sequenced-animation`,animatedItemPrefix:`${e}__animated-item-`},selectors:{itemsWrapper:`.${e}__items-wrapper`,container:`.${e}__container`,titles:`.${e}__title`,galleryItemOverlayBG:`.${e}__item-overlay`,galleryItemOverlayContent:`.${e}__item-content`,galleryItems:".e-gallery-item",galleryImages:".e-gallery-image"}}}getDefaultElements(){const{selectors:e}=this.getSettings();return{$itemsWrapper:this.findElement(e.itemsWrapper),$container:this.findElement(e.container),$titles:this.findElement(e.titles)}}bindEvents(){this.keydownHelper.bindAccessibleClick(this.elements.$titles,(e=>this.galleriesNavigationListener(e)))}onInit(){super.onInit(),this.initGallery(),this.elements.$titles.first().trigger("click")}initGallery(){const e=this.getGallerySettings();this.gallery=new EGallery(e),this.appendAnimationClasses("all")}getGallerySettings(){const e=this.getElementSettings();let t=this.getDeviceSetting("gap").size;void 0!==this.getDeviceSetting("vertical_gap").size&&""!==this.getDeviceSetting("vertical_gap").size&&(t=this.getDeviceSetting("vertical_gap").size);const i={type:e.gallery_layout,container:this.elements.$container,columns:e.columns,aspectRatio:e.aspect_ratio,lastRow:"normal",horizontalGap:this.getDeviceSetting("gap").size,verticalGap:t,animationDuration:500,classesPrefix:"e-gallery-",lazyLoad:"yes"===e.lazyload,breakpoints:{}},s=this.getDeviceSetting("ideal_row_height");i.idealRowHeight=s&&s.size?s.size:null;const a=elementorFrontend.config.breakpoints,n=this.getDeviceSetting("ideal_row_height","tablet");let l=this.getDeviceSetting("gap","tablet").size;void 0!==this.getDeviceSetting("vertical_gap","tablet").size&&""!==this.getDeviceSetting("vertical_gap","tablet").size?l=this.getDeviceSetting("vertical_gap","tablet").size:void 0!==this.getDeviceSetting("vertical_gap").size&&""!==this.getDeviceSetting("vertical_gap").size&&(l=this.getDeviceSetting("vertical_gap").size),i.breakpoints[a.lg-1]={horizontalGap:this.getDeviceSetting("gap","tablet").size,verticalGap:l,columns:this.getDeviceSetting("columns","tablet"),idealRowHeight:n&&n.size?n.size:null};const o=this.getDeviceSetting("ideal_row_height","mobile");let r=this.getDeviceSetting("gap","mobile").size;return void 0!==this.getDeviceSetting("vertical_gap","mobile").size&&""!==this.getDeviceSetting("vertical_gap","mobile").size?r=this.getDeviceSetting("vertical_gap","mobile").size:(void 0!==this.getDeviceSetting("vertical_gap").size&&""!==this.getDeviceSetting("vertical_gap").size&&(r=this.getDeviceSetting("vertical_gap").size),void 0!==this.getDeviceSetting("vertical_gap","tablet").size&&""!==this.getDeviceSetting("vertical_gap","tablet").size&&(r=this.getDeviceSetting("vertical_gap","tablet").size)),i.breakpoints[a.md-1]={horizontalGap:this.getDeviceSetting("gap","mobile").size,verticalGap:r,columns:this.getDeviceSetting("columns","mobile"),idealRowHeight:o&&o.size?o.size:null},i}getDeviceSetting(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop";const i=this.getElementSettings();return elementorFrontend.getDeviceSetting(t,i,e)}appendAnimationClasses(e){const t=this.getElementSettings(),{controls:i,classes:s,selectors:a}=this.getSettings(),n=this.findElement(a.galleryItems);if(t.background_overlay_hover_animation||t.content_hover_animation||t.image_hover_animation?n.addClass(s.animatedContent):n.removeClass(s.animatedContent),i.bgOverlayHover===e||"all"===e){const e=this.findElement(a.galleryItemOverlayBG);e.removeClass(((e,t)=>this.getClassesToRemove(t))),""!==t.background_overlay_hover_animation&&e.addClass(`${s.animatedItemPrefix}-${t.background_overlay_hover_animation}`)}if(i.contentHover===e||i.contentSequenced===e||"all"===e){const n=this.findElement(a.galleryItemOverlayContent);if(i.contentSequenced===e)return;const l=n.children();l.removeClass(((e,t)=>this.getClassesToRemove(t))),""!==t.content_hover_animation&&l.addClass(`${s.animatedItemPrefix}-${t.content_hover_animation}`)}if(i.imgHover===e||"all"===e){const e=this.findElement(a.galleryImages);e.removeClass(((e,t)=>this.getClassesToRemove(t))),""!==t.image_hover_animation&&e.addClass(`${s.animatedItemPrefix}-${t.image_hover_animation}`)}}getClassesToRemove(e){const{classes:t}=this.getSettings(),i=new RegExp(`(^|\\s)${t.animatedItemPrefix}\\S+`,"g");return(e.match(i)||[]).join(" ")}galleriesNavigationListener(e){const{classes:t}=this.getSettings();e.preventDefault();const i=jQuery(e.target);this.elements.$titles.removeClass(t.activeTitle).attr({tabindex:"0"}),i.addClass(t.activeTitle).attr({tabindex:"-1"}),this.setGalleryTags(i.data("gallery-index"))}setGalleryTags(e){const t="all"!==e?[""+e]:[];this.gallery.setSettings("tags",t)}onElementChange(e){const{controls:t}=this.getSettings();if(-1!==Object.values(t).indexOf(e))return void this.appendAnimationClasses(e);const i={columns:["columns"],columns_tablet:["breakpoints.1024.columns"],columns_mobile:["breakpoints.767.columns"],gap:["horizontalGap","verticalGap"],gap_tablet:["breakpoints.1024.horizontalGap","breakpoints.1024.verticalGap"],gap_mobile:["breakpoints.767.horizontalGap","breakpoints.767.verticalGap"],aspect_ratio:["aspectRatio"],ideal_row_height:["idealRowHeight"],ideal_row_height_tablet:["breakpoints.1024.idealRowHeight"],ideal_row_height_mobile:["breakpoints.767.idealRowHeight"]}[e];if(i){const e=this.getGallerySettings();
2i.forEach((t=>{this.gallery.setSettings(t,this.getItems(e,t))}))}}onDestroy(){this.gallery&&this.gallery.destroy()}}t.default=Gallery}}]);

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.