PageSourceSearch

https://artsetmetiers.fr/sites/default/modules/contrib/blazy/js/base/io/bio.min.js?tlv2yw

js artsetmetiers.fr collected 2026-09-24 09:16:41 UTC 3,956 bytes, 1 lines download raw bytes

1!function(i,e,s){"use strict";var t,n={nick:"bio",winData:{},bioTick:0,revTick:0,hitTick:0,bgClass:"b-bg",isVisibleClass:"is-b-visible",eIntersecting:"bio:intersecting",sParent:".media",addClass:"addClass",removeClass:"removeClass",initialized:!1,isNative:i.isNativeLazy,isResizing:!1,validateDelay:25,ww:0},o=s,a={},r=i.observer,d=i.viewport;function l(e){var s=i.extend({},t,this);return s.name="Bio",s.options=a=i.extend({},i._defaults,e||{}),s.options.isNative=n.isNative,n.bgClass=a.bgClass||n.bgClass,n.validateDelay=a.validateDelay||n.validateDelay,n.sParent=a.parent||n.sParent,o=a.root||o,i.ready((function(){s.reinit()})),s}function c(s,t){var o=this,a=o.options,d=a.selector,l=o.count,c=o.ioObserver,u=a.visibleClass||t||!1;if(n.bioTick===l-1&&(i.trigger(e,n.nick+":done",[o,a]),u||o.destroyQuietly()),c){var v=r.hiddenChild(s,d);v&&(s=v),o.isLoaded(s)&&!t&&(a.isMedia&&!u&&c.unobserve(s),n.bioTick++)}s.bhit&&!t||(o.lazyLoad(s,n.winData),n.hitTick++,s.bhit=!0),i.isFun(a.intersecting)&&a.intersecting(s,a),i.trigger(s,n.eIntersecting,[o,a])}function u(s){var t=this,o=t.options,a=d.vp||{},r=d.ww||0,l=s[0],u=i.isBlur(l),v=d.isResized(t,l),b=o.visibleClass,f=i.isBool(b)&&b;if(v){if(n.winData=d.update(o),d.onresizing(t,n.winData),n.ww>0){var h={winData:n.winData,entries:t.elms,currentWidth:r,oldWidth:n.ww,enlarged:r>n.ww};n.ww!==r?i.trigger(e,n.nick+":resizing",h):i.trigger(e,n.nick+":resized",h),t.resizeTick++}}else if(t.destroyed&&!b)return;i.each(s,(function(e){var s=e.target||e,l=d.isResized(t,e),v=d.isVisible(e,a),h=s._bioParent||s;u=u&&!i.hasClass(h,"is-b-animated"),v?(t.isLoaded(s)||i[n.addClass](h,n.isVisibleClass),c.call(t,s),t.isLoaded(s)&&((u||f)&&i[n.addClass](h,n.isVisibleClass),f||setTimeout((function(){i[n.removeClass](h,n.isVisibleClass)}),601))):i[n.removeClass](h,n.isVisibleClass),b&&i.isStr(b)&&i[v?n.addClass:n.removeClass](h,b),n.isResizing=l&&n.ww>0,n.isResizing&&!u&&n.ww!==r&&t.resizing(s,n.winData),i.isFun(o.observing)&&o.observing(e,v,o)})),n.ww=r}function v(e,s,t){s.length&&i.each(s,(function(s){s._bioParent||(s._bioParent=i.closest(s,n.sParent)||s,e.preprocess(s),i.isFun(t)&&t(s))}))}(t=l.prototype).constructor=l,t.count=0,t.erCount=0,t.resizeTick=0,t.destroyed=!1,t.elms=[],t.options={},t.preprocess=function(i,e,s){},t.lazyLoad=function(i,e){},t.loadImage=function(i,e,s){},t.resizing=function(i,e){},t.prepare=function(){},t.windowData=function(){return i.isUnd(n.winData.vp)?d.windowData(this.options,!0):n.winData},t.load=function(e,s,t){var n=this;e=e&&i.toArray(e),i.isUnd(t)||(n.options=i.extend({},n.options,t||{})),s=s||n.options.loadInvisible,v(n,e,(function(e){(!n.isLoaded(e)||i.isElm(e)&&s)&&(e._bioValidated||(e._bioValidated=!0,n.elms.push(e)),c.call(n,e,s))}))},t.isLoaded=function(e){return!!i.isElm(e)&&(e._bioLoaded||i.hasClass(e,this.options.successClass))},t.isNotLoaded=function(i){return!this.isLoaded(i)},t.revalidate=function(e){var s=this;if((!0===e||s.count!==n.hitTick)&&n.revTick<n.hitTick){var t=i.findAll(o,i.selector(s.options));t.length&&(v(s,t,(function(i){s.isLoaded(i)||i._bioValidated||(i._bioValidated=!0,s.elms.push(i))})),s.observe(!0),n.revTick++)}},t.destroyQuietly=function(e){var t=this,n=t.options;if(!t.destroyed&&(e||i.isUnd(Drupal.io))){var o=i.find(s,i.selector(n,":not(."+n.successClass+")"));i.isElm(o)||t.destroy(e)}},t.destroy=function(i){var e=this,s=e.options,t=e.ioObserver,o=n.bioTick===e.count-1&&s.disconnect;e.destroyed||e.erCount>0&&!i||(o||i)&&(t&&t.disconnect(),r.unload(),e.count=0,e.elms=[],e.ioObserver=null,e.destroyed=!0)},t.observe=function(i){var e=this;i=i||e.destroyed,n.initialized&&!i||(n.winData=r.init(e,u,e.elms,!0),e.destroyed=!1,r.observe(),n.initialized=!0)},t.reinit=function(){this.destroyed=!0,n.bioTick=0,function(e){e.elms=i.findAll(o,i.selector(e.options)),e.count=e.elms.length,e.elms.length&&(v(e,e.elms),e.prepare(),e._raf=[],e._queue=[],e.withIo=!0,e.observe(!0))}(this)},e.Bio=l}(dBlazy,this,this.document);

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.