(()=>{function n(a,c,n){var t,d=this,l=$(window);function e(){var n=l.scrollTop(),e=l.height(),o=t.offset().top,s=a.outerHeight(),o=s<o+s+90-n-e;o!==d.showChangedClass&&c.$applyAsync(),d.showChangedClass=o}_.assign(d,{$onInit:function(){t=a.parent(),l.on("scroll",e),d.changed=void 0===d.changed||d.changed},$onDestroy:function(){l.off("scroll",e)},$doCheck:function(){d.changed&&e()},changedCss:function(){return d.showChangedClass&&d.changed&&!n.e2e}})}n.$inject=["$element","$scope","info"],angular.module("c8y.ui").component("c8yUiButtonFooter",{controller:n,controllerAs:"vm",transclude:!0,template:'<div class="btn-save-wrapper animated" ng-class="{\'slideInUp changed\': vm.changedCss()}"><ng-transclude></ng-transclude></div>',bindings:{changed:"<changed"}})})();