PageSourceSearch

https://www.healtdevavillage.com/scripts.b5010582aa703094.js

js healtdevavillage.com collected 2026-10-05 19:08:53 UTC 25,559 bytes, 1 lines download raw bytes

1!function(y,F){"function"==typeof define&&define.amd?define(F):"object"==typeof exports?module.exports=F():y.ScrollMagic=F()}(this,function(){"use strict";function y(){}y.version="2.0.8",typeof window<"u"&&window.addEventListener("mousewheel",void 0);var F="data-scrollmagic-pin-spacer";y.Controller=function(i){function b(){var u,L,P;p&&w&&(u=n.type.Array(w)?w:h.slice(0),w=!1,L=z,0!=(P=(z=f.scrollPos())-L)&&(t=0<P?"FORWARD":v),t===v&&u.reverse(),u.forEach(function(M,H){M.update(!0)}))}function r(){s=n.rAF(b)}var s,g,v="REVERSE",m="PAUSED",o=k.defaults,f=this,a=n.extend({},o,i),h=[],w=!1,z=0,t=m,c=!0,l=0,p=!0,E=function(){0<a.refreshInterval&&(g=window.setTimeout(j,a.refreshInterval))},_=function(){return a.vertical?n.get.scrollTop(a.container):n.get.scrollLeft(a.container)},N=function(){return a.vertical?n.get.height(a.container):n.get.width(a.container)},R=this._setScrollPos=function(u){a.vertical?c?window.scrollTo(n.get.scrollLeft(),u):a.container.scrollTop=u:c?window.scrollTo(u,n.get.scrollTop()):a.container.scrollLeft=u},A=function(u){"resize"==u.type&&(l=N(),t=m),!0!==w&&(w=!0,r())},j=function(){if(!c&&l!=N()){var u;try{u=new Event("resize",{bubbles:!1,cancelable:!1})}catch{(u=document.createEvent("Event")).initEvent("resize",!1,!1)}a.container.dispatchEvent(u)}h.forEach(function(L,P){L.refresh()}),E()};function B(u){if(u.length<=1)return u;var L=u.slice(0);return L.sort(function(P,M){return P.scrollOffset()>M.scrollOffset()?1:-1}),L}return this._options=a,this.addScene=function(u){if(n.type.Array(u))u.forEach(function(P,M){f.addScene(P)});else if(u instanceof y.Scene)if(u.controller()!==f)u.addTo(f);else if(!~h.indexOf(u))for(var L in h.push(u),h=B(h),u.on("shift.controller_sort",function(){h=B(h)}),a.globalSceneOptions)u[L]&&u[L].call(u,a.globalSceneOptions[L]);return f},this.removeScene=function(u){var L;return n.type.Array(u)?u.forEach(function(P,M){f.removeScene(P)}):-1<(L=h.indexOf(u))&&(u.off("shift.controller_sort"),h.splice(L,1),u.remove()),f},this.updateScene=function(u,L){return n.type.Array(u)?u.forEach(function(P,M){f.updateScene(P,L)}):L?u.update(!0):!0!==w&&u instanceof y.Scene&&(~(w=w||[]).indexOf(u)||w.push(u),w=B(w),r()),f},this.update=function(u){return A({type:"resize"}),u&&b(),f},this.scrollTo=function(u,L){if(n.type.Number(u))R.call(a.container,u,L);else if(u instanceof y.Scene)u.controller()===f&&f.scrollTo(u.scrollOffset(),L);else if(n.type.Function(u))R=u;else{var P=n.get.elements(u)[0];if(P){for(;P.parentNode.hasAttribute(F);)P=P.parentNode;var M=a.vertical?"top":"left",H=n.get.offset(a.container),$=n.get.offset(P);c||(H[M]-=f.scrollPos()),f.scrollTo($[M]-H[M],L)}}return f},this.scrollPos=function(u){return arguments.length?(n.type.Function(u)&&(_=u),f):_.call(f)},this.info=function(u){var L={size:l,vertical:a.vertical,scrollPos:z,scrollDirection:t,container:a.container,isDocument:c};return arguments.length?void 0!==L[u]?L[u]:void 0:L},this.loglevel=function(u){return f},this.enabled=function(u){return arguments.length?(p!=u&&(p=!!u,f.updateScene(h,!0)),f):p},this.destroy=function(u){window.clearTimeout(g);for(var L=h.length;L--;)h[L].destroy(u);return a.container.removeEventListener("resize",A),a.container.removeEventListener("scroll",A),n.cAF(s),null},function(){for(var u in a)o.hasOwnProperty(u)||delete a[u];if(a.container=n.get.elements(a.container)[0],!a.container)throw"ScrollMagic.Controller init failed.";(c=a.container===window||a.container===document.body||!document.body.contains(a.container))&&(a.container=window),l=N(),a.container.addEventListener("resize",A),a.container.addEventListener("scroll",A);var L=parseInt(a.refreshInterval,10);a.refreshInterval=n.type.Number(L)?L:o.refreshInterval,E()}(),f};var k={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};y.Controller.addOption=function(i,b){k.defaults[i]=b},y.Controller.extend=function(i){var b=this;y.Controller=function(){return b.apply(this,arguments),this.$super=n.extend({},this),i.apply(this,arguments)||this},n.extend(y.Controller,b),(y.Controller.prototype=b.prototype).constructor=y.Controller},y.Scene=function(i){var b,r,s="BEFORE",g="DURING",v="AFTER",m=C.defaults,o=this,f=n.extend({},m,i),a=s,h=0,w={start:0,end:0},z=0,t=!0,c={};this.on=function(e,d){return n.type.Function(d)&&(e=e.trim().split(" ")).forEac
vendor: 10,151 bytes, line 1
1h(function(x){var T=x.split("."),S=T[0],G=T[1];"*"!=S&&(c[S]||(c[S]=[]),c[S].push({namespace:G||"",callback:d}))}),o},this.off=function(e,d){return e&&(e=e.trim().split(" ")).forEach(function(x,T){var S=x.split("."),G=S[0],O=S[1]||"";("*"===G?Object.keys(c):[G]).forEach(function(I){for(var D=c[I]||[],q=D.length;q--;){var U=D[q];!U||O!==U.namespace&&"*"!==O||d&&d!=U.callback||D.splice(q,1)}D.length||delete c[I]})}),o},this.trigger=function(e,d){var x,T,S,G;return e&&(x=e.trim().split("."),S=x[1],(G=c[T=x[0]])&&G.forEach(function(O,I){S&&S!==O.namespace||O.callback.call(o,new y.Event(T,O.namespace,o,d))})),o},o.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?N():"reverse"===e.what&&o.update())}).on("shift.internal",function(e){E(),o.update()}),this.addTo=function(e){return e instanceof y.Controller&&r!=e&&(r&&r.removeScene(o),r=e,j(),_(!0),N(!0),E(),r.info("container").addEventListener("resize",R),e.addScene(o),o.trigger("add",{controller:r}),o.update()),o},this.enabled=function(e){return arguments.length?(t!=e&&(t=!!e,o.update(!0)),o):t},this.remove=function(){var e;return r&&(r.info("container").removeEventListener("resize",R),e=r,r=void 0,e.removeScene(o),o.trigger("remove")),o},this.destroy=function(e){return o.trigger("destroy",{reset:e}),o.remove(),o.off("*.*"),null},this.update=function(e){var d,x;return r&&(e?r.enabled()&&t?(d=r.info("scrollPos"),x=0<f.duration?(d-w.start)/(w.end-w.start):d>=w.start?1:0,o.trigger("update",{startPos:w.start,endPos:w.end,scrollPos:d}),o.progress(x)):l&&a===g&&H(!0):r.updateScene(o,!1)),o},this.refresh=function(){return _(),N(),o},this.progress=function(e){if(arguments.length){var d,x,T,S=!1,G=a,O=r?r.info("scrollDirection"):"PAUSED",I=f.reverse||h<=e;return 0===f.duration?(S=h!=e,a=0==(h=e<1&&I?0:1)?s:g):e<0&&a!==s&&I?(a=s,S=!(h=0)):0<=e&&e<1&&I?(h=e,a=g,S=!0):1<=e&&a!==v?(h=1,a=v,S=!0):a!==g||I||H(),S&&(d={progress:h,state:a,scrollDirection:O},T=function(D){o.trigger(D,d)},(x=a!=G)&&G!==g&&(T("enter"),T(G===s?"start":"end")),T("progress"),x&&a!==g&&(T(a===s?"start":"end"),T("leave"))),o}return h};var l,p,E=function(){w={start:z+f.offset},r&&f.triggerElement&&(w.start-=r.info("size")*f.triggerHook),w.end=w.start+f.duration},_=function(e){var d;!b||B(d="duration",b.call(o))&&!e&&(o.trigger("change",{what:d,newval:f[d]}),o.trigger("shift",{reason:d}))},N=function(e){var d=0,x=f.triggerElement;if(r&&(x||0<z)){if(x)if(x.parentNode){for(var T=r.info(),S=n.get.offset(T.container),G=T.vertical?"top":"left";x.parentNode.hasAttribute(F);)x=x.parentNode;var O=n.get.offset(x);T.isDocument||(S[G]-=r.scrollPos()),d=O[G]-S[G]}else o.triggerElement(void 0);var I=d!=z;z=d,I&&!e&&o.trigger("shift",{reason:"triggerElementPosition"})}},R=function(e){0<f.triggerHook&&o.trigger("shift",{reason:"containerResize"})},A=n.extend(C.validate,{duration:function(e){var d;if(n.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)&&(d=parseFloat(e)/100,e=function(){return r?r.info("size")*d:0}),n.type.Function(e)){b=e;try{e=parseFloat(b.call(o))}catch{e=-1}}if(e=parseFloat(e),!n.type.Number(e)||e<0)throw b=b&&void 0,0;return e}}),j=function(e){(e=arguments.length?[e]:Object.keys(A)).forEach(function(d,x){var T;if(A[d])try{T=A[d](f[d])}catch{T=m[d]}finally{f[d]=T}})},B=function(e,d){var x=!1,T=f[e];return f[e]!=d&&(f[e]=d,j(e),x=T!=f[e]),x},u=function(e){o[e]||(o[e]=function(d){return arguments.length?("duration"===e&&(b=void 0),B(e,d)&&(o.trigger("change",{what:e,newval:f[e]}),~C.shifts.indexOf(e)&&o.trigger("shift",{reason:e})),o):f[e]})};function L(){r&&l&&a===g&&!r.info("isDocument")&&H()}function P(){r&&l&&a===g&&((p.relSize.width||p.relSize.autoFullWidth)&&n.get.width(window)!=n.get.width(p.spacer.parentNode)||p.relSize.height&&n.get.height(window)!=n.get.height(p.spacer.parentNode))&&$()}function M(e){r&&l&&a===g&&!r.info("isDocument")&&(e.preventDefault(),r._setScrollPos(r.info("scrollPos")-((e.wheelDelta||e[r.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))}this.controller=function(){return r},this.state=function(){return a},this.scrollOffset=function(){return w.start},this.triggerPosition=function(){var e=f.offset;return r&&(e+=f.triggerElement?z:r.info("size")*o.triggerHook()),e},o.on("shift.internal",function(e){var d="duration"===e.reason;(a===v&&d||a===g&&0===f.duration)&&H(),d&&$()}).on("progress.internal",function(e){H()}).on("add.internal",function(e){$()}).on("destroy.internal",function(e){o.removePin(e.reset)});var H=function(e){var d,x,T,S,G,O;l&&r&&(d=r.info(),x=p.spacer.firstChild,e||a!==g?(T={position:p.inFlow?"relative":"absolute",top:0,left:0},S=n.css(x,"position")!=T.position,p.pushFollowers?0<f.duration&&(a===v&&0===parseFloat(n.css(p.spacer,"padding-top"))||a===s&&0===parseFloat(n.css(p.spacer,"padding-bottom")))&&(S=!0):T[d.vertical?"top":"left"]=f.duration*h,n.css(x,T),S&&$()):("fixed"!=n.css(x,"position")&&(n.css(x,{position:"fixed"}),$()),G=n.get.offset(p.spacer,!0),O=f.reverse||0===f.duration?d.scrollPos-w.start:Math.round(h*f.duration*10)/10,G[d.vertical?"top":"left"]+=O,n.css(p.spacer.firstChild,{top:G.top,left:G.left})))},$=function(){var e,d,x,T,S;l&&r&&p.inFlow&&(e=a===g,d=r.info("vertical"),x=p.spacer.firstChild,T=n.isMarginCollapseType(n.css(p.spacer,"display")),S={},p.relSize.width||p.relSize.autoFullWidth?n.css(l,e?{width:n.get.width(p.spacer)}:{width:"100%"}):(S["min-width"]=n.get.width(d?l:x,!0,!0),S.width=e?S["min-width"]:"auto"),p.relSize.height?n.css(l,e?{height:n.get.height(p.spacer)-(p.pushFollowers?f.duration:0)}:{height:"100%"}):(S["min-height"]=n.get.height(d?x:l,!0,!T),S.height=e?S["min-height"]:"auto"),p.pushFollowers&&(S["padding"+(d?"Top":"Left")]=f.duration*h,S["padding"+(d?"Bottom":"Right")]=f.duration*(1-h)),n.css(p.spacer,S))};this.setPin=function(e,d){if(d=n.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},d),!(e=n.get.elements(e)[0])||"fixed"===n.css(e,"position"))return o;if(l){if(l===e)return o;o.removePin()}var x=(l=e).parentNode.style.display,T=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];l.parentNode.style.display="none";var S="absolute"!=n.css(l,"position"),G=n.css(l,T.concat(["display"])),O=n.css(l,["width","height"]);l.parentNode.style.display=x,!S&&d.pushFollowers&&(d.pushFollowers=!1);var I,D=l.parentNode.insertBefore(document.createElement("div"),l),q=n.extend(G,{position:S?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});return S||n.extend(q,n.css(l,["width","height"])),n.css(D,q),D.setAttribute(F,""),n.addClass(D,d.spacerClass),p={spacer:D,relSize:{width:"%"===O.width.slice(-1),height:"%"===O.height.slice(-1),autoFullWidth:"auto"===O.width&&S&&n.isMarginCollapseType(G.display)},pushFollowers:d.pushFollowers,inFlow:S},l.___origStyle||(l.___origStyle={},I=l.style,T.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(U){l.___origStyle[U]=I[U]||""})),p.relSize.width&&n.css(D,{width:O.width}),p.relSize.height&&n.css(D,{height:O.height}),D.appendChild(l),n.css(l,{position:S?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(p.relSize.width||p.relSize.autoFullWidth)&&n.css(l,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",L),window.addEventListener("resize",L),window.addEventListener("resize",P),l.addEventListener("mousewheel",M),l.addEventListener("DOMMouseScroll",M),H(),o},this.removePin=function(e){var d,x,T;return l&&(a===g&&H(!0),!e&&r||((d=p.spacer.firstChild).hasAttribute(F)&&(x=p.spacer.style,T={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(S){T[S]=x[S]||""}),n.css(d,T)),p.spacer.parentNode.insertBefore(d,p.spacer),p.spacer.parentNode.removeChild(p.spacer),l.parentNode.hasAttribute(F)||(n.css(l,l.___origStyle),delete l.___origStyle)),window.removeEventListener("scroll",L),window.removeEventListener("resize",L),window.removeEventListener("resize",P),l.removeEventListener("mousewheel",M),l.removeEventListener("DOMMouseScroll",M),l=void 0),o};var Q,W=[];return o.on("destroy.internal",function(e){o.removeClassToggle(e.reset)}),this.setClassToggle=function(e,d){var x=n.get.elements(e);return 0!==x.length&&n.type.String(d)&&(0<W.length&&o.removeClassToggle(),Q=d,W=x,o.on("enter.internal_class leave.internal_class",function(T){var S="enter"===T.type?n.addClass:n.removeClass;W.forEach(function(G,O){S(G,Q)})})),o},this.removeClassToggle=function(e){return e&&W.forEach(function(d,x){n.removeClass(d,Q)}),o.off("start.internal_class end.internal_class"),Q=void 0,W=[],o},function(){for(var e in f)m.hasOwnProperty(e)||delete f[e];for(var d in m)u(d);j()}(),o};var C={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(i){if(i=parseFloat(i),!n.type.Number(i))throw 0;return i},triggerElement:function(i){if(i=i||void 0){var b=n.get.elements(i)[0];if(!b||!b.parentNode)throw 0;i=b}return i},triggerHook:function(i){var b={onCenter:.5,onEnter:1,onLeave:0};if(n.type.Number(i))i=Math.max(0,Math.min(parseFloat(i),1));else{if(!(i in b))throw 0;i=b[i]}return i},reverse:function(i){return!!i}},shifts:["duration","offset","triggerHook"]};y.Scene.addOption=function(i,b,r,s){i in C.defaults||(C.defaults[i]=b,C.validate[i]=r,s&&C.shifts.push(i))},y.Scene.extend=function(i){var b=this;y.Scene=function(){return b.apply(this,arguments),this.$super=n.extend({},this),i.apply(this,arguments)||this},n.extend(y.Scene,b),(y.Scene.prototype=b.prototype).constructor=y.Scene},y.Event=function(i,b,r,s){for(var g in s=s||{})this[g]=s[g];return this.type=i,this.target=this.currentTarget=r,this.namespace=b||"",this.timeStamp=this.timestamp=Date.now(),this};var n=y._util=function(i){function b(t){return parseFloat(t)||0}function r(t){return t.currentStyle?t.currentStyle:i.getComputedStyle(t)}function s(t,c,l,p){if((c=c===document?i:c)===i)p=!1;else if(!w.DomElement(c))return 0;t=t[0].toUpperCase()+t.substr(1).toLowerCase();var E,_=(l?c["offset"+t]||c["outer"+t]:c["client"+t]||c["inner"+t])||0;
1return l&&p&&(E=r(c),_+="Height"===t?b(E.marginTop)+b(E.marginBottom):b(E.marginLeft)+b(E.marginRight)),_}function g(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(c){return c[1].toUpperCase()})}for(var v={extend:function(t){for(t=t||{},h=1;h<arguments.length;h++)if(arguments[h])for(var c in arguments[h])arguments[h].hasOwnProperty(c)&&(t[c]=arguments[h][c]);return t},isMarginCollapseType:function(t){return!!~["block","flex","list-item","table","-webkit-box"].indexOf(t)}},m=0,o=["ms","moz","webkit","o"],f=i.requestAnimationFrame,a=i.cancelAnimationFrame,h=0;!f&&h<4;++h)f=i[o[h]+"RequestAnimationFrame"],a=i[o[h]+"CancelAnimationFrame"]||i[o[h]+"CancelRequestAnimationFrame"];a=a||function(t){i.clearTimeout(t)},v.rAF=(f=f||function(t){var c=(new Date).getTime(),l=Math.max(0,16-(c-m)),p=i.setTimeout(function(){t(c+l)},l);return m=c+l,p}).bind(i),v.cAF=a.bind(i);var w=v.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};w.String=function(t){return"string"===w(t)},w.Function=function(t){return"function"===w(t)},w.Array=function(t){return Array.isArray(t)},w.Number=function(t){return!w.Array(t)&&0<=t-parseFloat(t)+1},w.DomElement=function(t){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?t instanceof HTMLElement||t instanceof SVGElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};var z=v.get={};return z.elements=function(t){var c=[];if(w.String(t))try{t=document.querySelectorAll(t)}catch{return c}if("nodelist"===w(t)||w.Array(t)||t instanceof NodeList)for(var l=0,p=c.length=t.length;l<p;l++){var E=t[l];c[l]=w.DomElement(E)?E:z.elements(E)}else!w.DomElement(t)&&t!==document&&t!==i||(c=[t]);return c},z.scrollTop=function(t){return t&&"number"==typeof t.scrollTop?t.scrollTop:i.pageYOffset||0},z.scrollLeft=function(t){return t&&"number"==typeof t.scrollLeft?t.scrollLeft:i.pageXOffset||0},z.width=function(t,c,l){return s("width",t,c,l)},z.height=function(t,c,l){return s("height",t,c,l)},z.offset=function(t,c){var l,p={top:0,left:0};return t&&t.getBoundingClientRect&&(l=t.getBoundingClientRect(),p.top=l.top,p.left=l.left,c||(p.top+=z.scrollTop(),p.left+=z.scrollLeft())),p},v.addClass=function(t,c){c&&(t.classList?t.classList.add(c):t.className+=" "+c)},v.removeClass=function(t,c){c&&(t.classList?t.classList.remove(c):t.className=t.className.replace(RegExp("(^|\\b)"+c.split(" ").join("|")+"(\\b|$)","gi")," "))},v.css=function(t,c){if(w.String(c))return r(t)[g(c)];if(w.Array(c)){var l={},p=r(t);return c.forEach(function(N,R){l[N]=p[g(N)]}),l}for(var E in c){var _=c[E];_==parseFloat(_)&&(_+="px"),t.style[g(E)]=_}},v}(window||{});return y}),function(y,F){var k;"function"==typeof define&&define.amd?define(["ScrollMagic","gsap","TweenMax","TimelineMax"],F):"object"==typeof exports?(k=require("gsap/dist/gsap")||require("gsap"),F(require("scrollmagic"),k,TweenMax||k,TimelineMax||k)):F(y.ScrollMagic||y.jQuery&&y.jQuery.ScrollMagic,y.gsap,y.gsap||y.TweenMax||y.TweenLite,y.gsap||y.TimelineMax||y.TimelineLite)}(this,function(y,F,k,C){"use strict";var n=F&&3<=parseFloat(F.version);y.Scene.addOption("tweenChanges",!1,function(i){return!!i}),y.Scene.extend(function(){var i,b=this;b.on("progress.plugin_gsap",function(){r()}),b.on("destroy.plugin_gsap",function(s){b.removeTween(s.reset)});var r=function(){var s,g;i&&(s=b.progress(),g=b.state(),i.repeat&&-1===i.repeat()?"DURING"===g&&i.paused()?i.play():"DURING"===g||i.paused()||i.pause():s!=i.progress()&&(0===b.duration()?0<s?i.play():i.reverse():b.tweenChanges()&&i.tweenTo?i.tweenTo(s*i.duration()):i.progress(s).pause()))};b.setTween=function(s,g,v){var m,o;1<arguments.length&&(o="number"==typeof arguments[1],n?(o||(v=g),v.hasOwnProperty("duration")||(v.duration=o?g:1)):arguments.length<3&&(v=g,g=1),s=n?k.to(s,v):k.to(s,g,v));try{(m=C&&!n?new C({smoothChildTiming:!0}).add(s):s).pause()}catch{return b}return i&&b.removeTween(),i=m,s.repeat&&-1===s.repeat()&&(i.repeat(-1),i.yoyo(s.yoyo())),r(),b},b.removeTween=function(s){return i&&(s&&i.progress(0).pause(),i.kill(),i=void 0),b}})}),function(y,F){"function"==typeof define&&define.amd?define(["ScrollMagic"],F):F("object"==typeof exports?require("scrollmagic"):y.ScrollMagic||y.jQuery&&y.jQuery.ScrollMagic)}(this,function(y){"use strict";var F="0.85em",k="9999",C=y._util,n=0;y.Scene.extend(function(){var r,s=this;s.addIndicators=function(g){return r||(g=C.extend({},{name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"},g),n++,r=new i(s,g),s.on("add.plugin_addIndicators",r.add),s.on("remove.plugin_addIndicators",r.remove),s.on("destroy.plugin_addIndicators",s.removeIndicators),s.controller()&&r.add()),s},s.removeIndicators=function(){return r&&(r.remove(),this.off("*.plugin_addIndicators"),r=void 0),s}}),y.Controller.addOption("addIndicators",!1),y.Controller.extend(function(){var r=this,s=r.info(),g=s.container,v=s.isDocument,m=s.vertical,o={groups:[]};function f(){o.updateBoundsPositions()}function a(){o.updateTriggerGroupPositions()}return this._indicators=o,g.addEventListener("resize",a),v||(window.addEventListener("resize",a),window.addEventListener("scroll",a)),g.addEventListener("resize",f),g.addEventListener("scroll",f),this._indicators.updateBoundsPositions=function(h){for(var w,z,t,c=h?[C.extend({},h.triggerGroup,{members:[h]})]:o.groups,l=c.length,p={}
vendor: 5,686 bytes, line 1
1,E=m?"left":"top",_=m?"width":"height",N=m?C.get.scrollLeft(g)+C.get.width(g)-15:C.get.scrollTop(g)+C.get.height(g)-15;l--;)for(w=(t=c[l]).members.length,z=C.get[_](t.element.firstChild);w--;)p[E]=N-z,C.css(t.members[w].bounds,p)},this._indicators.updateTriggerGroupPositions=function(h){for(var w,z,t,c,l=h?[h]:o.groups,p=l.length,E=v?document.body:g,_=v?{top:0,left:0}:C.get.offset(E,!0),N=m?C.get.width(g)-15:C.get.height(g)-15,R=m?"width":"height",A=m?"Y":"X";p--;)z=(w=l[p]).element,t=w.triggerHook*r.info("size"),c=C.get[R](z.firstChild.firstChild)<t?"translate"+A+"(-100%)":"",C.css(z,{top:_.top+(m?t:N-w.members[0].options.indent),left:_.left+(m?N-w.members[0].options.indent:t)}),C.css(z.firstChild.firstChild,{"-ms-transform":c,"-webkit-transform":c,transform:c})},this._indicators.updateTriggerGroupLabel=function(h){var w="trigger"+(1<h.members.length?"":" "+h.members[0].options.name),z=h.element.firstChild.firstChild;z.textContent!==w&&(z.textContent=w,m&&o.updateBoundsPositions())},this.addScene=function(h){this._options.addIndicators&&h instanceof y.Scene&&h.controller()===r&&h.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){g.removeEventListener("resize",a),v||(window.removeEventListener("resize",a),window.removeEventListener("scroll",a)),g.removeEventListener("resize",f),g.removeEventListener("scroll",f),this.$super.destroy.apply(this,arguments)},r});var i=function(r,s){var g,v,m=this,o=b.bounds(),f=b.start(s.colorStart),a=b.end(s.colorEnd),h=s.parent&&C.get.elements(s.parent)[0];s.name=s.name||n,f.firstChild.textContent+=" "+s.name,a.textContent+=" "+s.name,o.appendChild(f),o.appendChild(a),m.options=s,m.bounds=o,m.triggerGroup=void 0,this.add=function(){v=r.controller(),g=v.info("vertical");var E=v.info("isDocument");h=h||(E?document.body:v.info("container")),E||"static"!==C.css(h,"position")||C.css(h,{position:"relative"}),r.on("change.plugin_addIndicators",z),r.on("shift.plugin_addIndicators",w),p(),c(),setTimeout(function(){v._indicators.updateBoundsPositions(m)},0)},this.remove=function(){var E;m.triggerGroup&&(r.off("change.plugin_addIndicators",z),r.off("shift.plugin_addIndicators",w),1<m.triggerGroup.members.length?((E=m.triggerGroup).members.splice(E.members.indexOf(m),1),v._indicators.updateTriggerGroupLabel(E),v._indicators.updateTriggerGroupPositions(E),m.triggerGroup=void 0):l(),t())};var w=function(){c()},z=function(E){"triggerHook"===E.what&&p()},t=function(){o.parentNode.removeChild(o)},c=function(){var E;o.parentNode!==h&&(E=v.info("vertical"),C.css(f.firstChild,{"border-bottom-width":E?1:0,"border-right-width":E?0:1,bottom:E?-1:s.indent,right:E?s.indent:-1,padding:E?"0 8px":"2px 4px"}),C.css(a,{"border-top-width":E?1:0,"border-left-width":E?0:1,top:E?"100%":"",right:E?s.indent:"",bottom:E?"":s.indent,left:E?"":"100%",padding:E?"0 8px":"2px 4px"}),h.appendChild(o));var _={};_[g?"top":"left"]=r.triggerPosition(),_[g?"height":"width"]=r.duration(),C.css(o,_),C.css(a,{display:0<r.duration()?"":"none"})},l=function(){v._indicators.groups.splice(v._indicators.groups.indexOf(m.triggerGroup),1),m.triggerGroup.element.parentNode.removeChild(m.triggerGroup.element),m.triggerGroup=void 0},p=function(){var E=r.triggerHook();if(!(m.triggerGroup&&Math.abs(m.triggerGroup.triggerHook-E)<1e-4)){for(var _,N=v._indicators.groups,R=N.length;R--;)if(_=N[R],Math.abs(_.triggerHook-E)<1e-4)return m.triggerGroup&&(1===m.triggerGroup.members.length?l():(m.triggerGroup.members.splice(m.triggerGroup.members.indexOf(m),1),v._indicators.updateTriggerGroupLabel(m.triggerGroup),v._indicators.updateTriggerGroupPositions(m.triggerGroup))),_.members.push(m),m.triggerGroup=_,void v._indicators.updateTriggerGroupLabel(_);if(m.triggerGroup){if(1===m.triggerGroup.members.length)return m.triggerGroup.triggerHook=E,void v._indicators.updateTriggerGroupPositions(m.triggerGroup);m.triggerGroup.members.splice(m.triggerGroup.members.indexOf(m),1),v._indicators.updateTriggerGroupLabel(m.triggerGroup),v._indicators.updateTriggerGroupPositions(m.triggerGroup),m.triggerGroup=void 0}!function(){var A=b.trigger(s.colorTrigger),j={};j[g?"right":"bottom"]=0,j[g?"border-top-width":"border-left-width"]=1,C.css(A.firstChild,j),C.css(A.firstChild.firstChild,{padding:g?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(A);var B={triggerHook:r.triggerHook(),element:A,members:[m]};v._indicators.groups.push(B),m.triggerGroup=B,v._indicators.updateTriggerGroupLabel(B),v._indicators.updateTriggerGroupPositions(B)}()}}},b={start:function(r){var s=document.createElement("div");s.textContent="start",C.css(s,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:r,"border-color":r});var g=document.createElement("div");return C.css(g,{position:"absolute",overflow:"visible",width:0,height:0}),g.appendChild(s),g},end:function(r){var s=document.createElement("div");return s.textContent="end",C.css(s,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:r,"border-color":r}),s},bounds:function(){var r=document.createElement("div");return C.css(r,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":F}),r.style.zIndex=k,r},trigger:function(r){var s=document.createElement("div");s.textContent="trigger",C.css(s,{position:"relative"});var g=document.createElement("div");C.css(g,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:r,"border-color":r}),g.appendChild(s);var v=document.createElement("div");return C.css(v,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":F}),v.style.zIndex=k,v.appendChild(g),v}}});

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.