Area restrita - Questionario
This commit is contained in:
+25
-19
@@ -21,10 +21,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* Observer 3.14.2
|
||||
* Observer 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -207,7 +207,7 @@
|
||||
};
|
||||
},
|
||||
_getEvent = function _getEvent(e, preventDefault) {
|
||||
preventDefault && !e._gsapAllow && e.preventDefault();
|
||||
preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();
|
||||
return e.changedTouches ? e.changedTouches[0] : e;
|
||||
},
|
||||
_getAbsoluteMax = function _getAbsoluteMax(a) {
|
||||
@@ -238,12 +238,10 @@
|
||||
setTimeout(function () {
|
||||
return _startup = 0;
|
||||
}, 500);
|
||||
|
||||
_setScrollTrigger();
|
||||
|
||||
_coreInitted = 1;
|
||||
}
|
||||
|
||||
ScrollTrigger || _setScrollTrigger();
|
||||
return _coreInitted;
|
||||
};
|
||||
|
||||
@@ -681,7 +679,7 @@
|
||||
|
||||
return Observer;
|
||||
}();
|
||||
Observer.version = "3.14.2";
|
||||
Observer.version = "3.15.0";
|
||||
|
||||
Observer.create = function (vars) {
|
||||
return new Observer(vars);
|
||||
@@ -702,10 +700,10 @@
|
||||
_getGSAP() && gsap.registerPlugin(Observer);
|
||||
|
||||
/*!
|
||||
* ScrollTrigger 3.14.2
|
||||
* ScrollTrigger 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -835,11 +833,11 @@
|
||||
_endAnimation = function _endAnimation(animation, reversed, pause) {
|
||||
return animation && animation.progress(reversed ? 0 : 1) && pause && animation.pause();
|
||||
},
|
||||
_callback = function _callback(self, func) {
|
||||
_callback = function _callback(self, func, extraParam) {
|
||||
if (self.enabled) {
|
||||
var result = self._ctx ? self._ctx.add(function () {
|
||||
return func(self);
|
||||
}) : func(self);
|
||||
return func(self, extraParam);
|
||||
}) : func(self, extraParam);
|
||||
result && result.totalTime && (self.callbackAnimation = result);
|
||||
}
|
||||
},
|
||||
@@ -860,7 +858,7 @@
|
||||
_Height = "Height",
|
||||
_px = "px",
|
||||
_getComputedStyle = function _getComputedStyle(element) {
|
||||
return _win$1.getComputedStyle(element);
|
||||
return _win$1.getComputedStyle(element.nodeType === Node.DOCUMENT_NODE ? element.scrollingElement : element);
|
||||
},
|
||||
_makePositionable = function _makePositionable(element) {
|
||||
var position = _getComputedStyle(element).position;
|
||||
@@ -887,7 +885,7 @@
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
}).progress(1),
|
||||
bounds = element.getBoundingClientRect();
|
||||
bounds = element.getBoundingClientRect ? element.getBoundingClientRect() : element.scrollingElement.getBoundingClientRect();
|
||||
tween && tween.progress(0).kill();
|
||||
return bounds;
|
||||
},
|
||||
@@ -1029,7 +1027,7 @@
|
||||
var e = _doc$1.createElement("div"),
|
||||
useFixedPosition = _isViewport$1(container) || _getProxyProp(container, "pinType") === "fixed",
|
||||
isScroller = type.indexOf("scroller") !== -1,
|
||||
parent = useFixedPosition ? _body$1 : container,
|
||||
parent = useFixedPosition ? _body$1 : container.tagName === "IFRAME" ? container.contentDocument.body : container,
|
||||
isStart = type.indexOf("start") !== -1,
|
||||
color = isStart ? startColor : endColor,
|
||||
css = "border-color:" + color + ";font-size:" + fontSize + ";color:" + color + ";font-weight:" + fontWeight + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
|
||||
@@ -1790,7 +1788,7 @@
|
||||
ease: snap.ease || "power3",
|
||||
data: _abs(endScroll - scroll),
|
||||
onInterrupt: function onInterrupt() {
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _onInterrupt(self);
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _callback(self, _onInterrupt);
|
||||
},
|
||||
onComplete: function onComplete() {
|
||||
self.update();
|
||||
@@ -1802,10 +1800,10 @@
|
||||
|
||||
snap1 = snap2 = animation && !isToggle ? animation.totalProgress() : self.progress;
|
||||
onSnapComplete && onSnapComplete(self);
|
||||
_onComplete && _onComplete(self);
|
||||
_onComplete && _callback(self, _onComplete);
|
||||
}
|
||||
}, scroll, change1 * change, endScroll - scroll - change1 * change);
|
||||
onStart && onStart(self, tweenTo.tween);
|
||||
onStart && _callback(self, onStart, tweenTo.tween);
|
||||
}
|
||||
} else if (self.isActive && lastSnap !== scroll) {
|
||||
snapDelayedCall.restart(true);
|
||||
@@ -2745,6 +2743,14 @@
|
||||
|
||||
_wheelListener(_removeListener$1, _scrollers[i], _scrollers[i + 2]);
|
||||
}
|
||||
} else if (_doc$1) {
|
||||
var onLoad = function onLoad() {
|
||||
ScrollTrigger.enable();
|
||||
|
||||
_doc$1.removeEventListener("DOMContentLoaded", onLoad);
|
||||
};
|
||||
|
||||
_doc$1.addEventListener("DOMContentLoaded", onLoad);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -2811,7 +2817,7 @@
|
||||
|
||||
return ScrollTrigger;
|
||||
}();
|
||||
ScrollTrigger$1.version = "3.14.2";
|
||||
ScrollTrigger$1.version = "3.15.0";
|
||||
|
||||
ScrollTrigger$1.saveStyles = function (targets) {
|
||||
return targets ? _toArray(targets).forEach(function (target) {
|
||||
|
||||
Reference in New Issue
Block a user