text: !function(){"use strict";angular.module("w2w.widgets",[])}(),function(){"use strict";function a(){function a(a,b,c){b.bind("scroll",function(){var c=b[0];c.offsetHeight+c.scrollTop>=c.scrollHeight&&a.$apply(a.addItems())})}return{restrict:"AE",scope:{addItems:"&"},link:a}}angular.module("w2w.widgets").directive("infiniteScroll",a)}(),function(){"use strict";angular.module("w2w.widgets").directive("rowSelect",function(){function a(a,f,g){a.selectedIndices=a.selectedIndices||[],f.bind("click",function(f){f.preventDefault();var g=a.$parent.$index;f.shiftKey||f.ctrlKey||a.$apply(b(a,g)),f.shiftKey&&!f.ctrlKey&&a.$apply(c(a,g)),!f.shiftKey&&f.ctrlKey&&a.$apply(d(a,g)),f.shiftKey&&f.ctrlKey&&a.$apply(e(a,g))})}function b(a,b){1==a.selectedIndices.length?a.selectedIndices[0]!=b&&(a.selectedIndices[0]=b):(a.selectedIndices=[],a.selectedIndices=[b])}function c(a,b){if(0!=a.selectedIndices.length){var c=a.selectedIndices[0],d=b;if(a.selectedIndices=[],c>d)for(var e=c;e>=d;e--)a.selectedIndices.push(e);else for(var f=c;d>=f;f++)a.selectedIndices.push(f)}}function d(a,b){var c=a.selectedIndices.indexOf(b);-1==c?a.selectedIndices.push(b):a.selectedIndices.splice(c,1)}function e(a,b){var c=a.selectedIndices,d=c.reverse()[0];if(b>d)for(var e=d;b>=e;e++)-1===a.selectedIndices.indexOf(e)&&a.selectedIndices.push(e);else for(var f=b;d>=f;f++)-1===a.selectedIndices.indexOf(f)&&a.selectedIndices.push(f)}return{restrict:"EA",scope:{selectedIndices:"=selectedIndices"},link:a}})}();