PageSourceSearch

https://www.sanvensa.fr/cache/min/16/plugins/lae-elementor-widgets/assets/js/lae-photos-grid.js?ver=1786983265

js sanvensa.fr collected 2026-10-02 21:30:07 UTC 1,983 bytes, 3 lines download raw bytes

1(function($){var PhotosGrid=function($scope){this.gridID='fancy-'+$scope.data('id');this.boxOptions={buttons:["zoom","thumbs","close"],protect:!0,hideScrollbar:!1,autoFocus:!1,afterShow:function(instance,current){if(!current||!current.$content){return}
2var $warning=current.$content.find('.lae-photos-grid-video-modal__eco').first();if($warning.length){window.setTimeout(function(){$warning.trigger('focus')},0)}}};this.initialize($scope)};PhotosGrid.prototype.initialize=function($scope){var that=this;this.$liens=$scope.find('a.fancy');this.$liens.attr('data-fancybox',that.gridID);this.$liens.fancybox(that.boxOptions);$scope.on('click','.trigger-diapo',function(e){e.preventDefault();that.$liens.first().trigger('click')});var toggleTranscription=function($button,open){var targetId=$button.attr('aria-controls');var playerId=$button.data('player-id');var $target=$('#'+targetId);var $player=$('#'+playerId);var $media=$player.closest('.lae-photos-grid-video-modal__media');var $iframe=$media.find('iframe').first();var showLabel=$button.data('show-label');var hideLabel=$button.data('hide-label');var shouldOpen=typeof open==='boolean'?open:$button.attr('aria-expanded')!=='true';$button.attr('aria-expanded',shouldOpen?'true':'false');$button.text(shouldOpen?hideLabel:showLabel);$target.attr('aria-hidden',shouldOpen?'false':'true');$player.attr('aria-hidden',shouldOpen?'true':'false');$media.toggleClass('is-transcription-open',shouldOpen);if($iframe.length){if(shouldOpen){$iframe.attr('tabindex','-1')}else{$iframe.removeAttr('tabindex')}}
3if(shouldOpen){$target.trigger('focus')}else{$button.trigger('focus')}};$scope.find('.lae-photos-grid-video-modal__toggle').on('click',function(){var $button=$(this);toggleTranscription($button)})};var LaePhotosGridHandler=function($scope,$){new PhotosGrid($scope)};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/lae-photos-grid.default',LaePhotosGridHandler)})})(jQuery)

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.