(function(){// During the rave-accessibility.js build, this file is added to the top. // Create an inner self-executing function that will be run with the global scope // On browsers, this is 'window'. Everywhere else should use 'this' if available. // Need to run eval('this') "indirectly" by having eval returned by (1,eval). OBVIOUSLY :) var _window = (1, eval)('this'); (function (global, factory) { // dynamically determine how 'rave' variable should be loaded depeneding on loader type var _rave; if (typeof module === "object" && typeof module.exports === "object" && typeof require == "function") { // CommonJS/node.js var rave = require("rave-navigation"); var _accessibility = factory(global,rave); module.exports = rave; } else if (typeof define === "function" && define.amd) { // AMD define(['rave-navigation'], function(rave) { return factory(global,rave); }); } else { // probably loading via script tag. run as is, setting stuff on rave factory(global,global['rave']); } }(_window, function (_global, _rave) {function gb(){return function(ob){return ob}}function q(){return function(){}}function w(ob){return function(U){this[ob]=U}}function x(ob){return function(){return this[ob]}}function A(ob){return function(){return ob}} var a="undefined"!==typeof _global?_global:(0,eval)("this"),b="undefined"!==typeof _rave?_rave:a.rave,c=b._.rave_document,a={},d=b,e=b._.com_ibm_rave_core_nativeImpl_Declare, f=b.internal.Selector,g=b.internal.SelectorDelegate,h=b.navigation.internal.FocusController,k=b.internal.RaveContextManager,l=b.navigation,n=a.AccessibilityConstants={};n.SELECTOR_ID="raveAccessibility";n.ACCESSIBLE_INFO_KEY="__accessibleInfo__";n.SHADOW_TREE_BUILDER_KEY="__shadowTreeBuilder__";var t={extend:function(a){var b=a.appendChild;a.appendChild=function(a){b.call(this,a);d.configuration.extendRecursive(a);var c=p.bi(this);c&&(p.Ji(a,c),c.Uo(this,a))};var c=a.insertBefore;a.insertBefore=function(a, b){c.call(this,a,b);d.configuration.extendRecursive(a);var e=p.bi(this);e&&(p.Ji(a,e),e.CF(this,a,b))};var e=a.removeChild;a.removeChild=function(a){var b=this.rave_getChildNodes().indexOf(a);if(-1!=b){e.call(this,a);d.configuration.extendRecursive(a);var c=p.bi(a);c&&(c.DF(this,a,b),p.Ji(a,null));return!0}return!1};var f=a.rave_setProperty;a.rave_setProperty=function(a,b){f.call(this,a,b);if(n.ACCESSIBLE_INFO_KEY==a){var c=p.bi(this);c&&c.BF(this)}}},Df:function(){d.configuration.addSceneNodeExtensionFactory("http://www.w3.org/2000/svg", function(a,b){(b&&b.rave_hasProperty(n.SHADOW_TREE_BUILDER_KEY)||a.rave_hasProperty(n.SHADOW_TREE_BUILDER_KEY))&&t.extend(a)},0)}},p={bi:function(a){return a.rave_getProperty(n.SHADOW_TREE_BUILDER_KEY)},Pc:function(a){return null!=a.rave_getProperty(n.ACCESSIBLE_INFO_KEY)},Ji:function(a,b){a.rave_setProperty(n.SHADOW_TREE_BUILDER_KEY,b);if(a.rave_hasChildNodes())for(var c=0,d=a.rave_getChildNodes(),e=d.length;ce&&g;)if((g=h.nextFocusableNode(g))&&p.Pc(g))f=g,e++;f!=d&&a.aa.fireFocus(f)}b.event.preventDefault();return null};this.YF=function(c){if(null!==c||1e&&g;)if((g=h.previousFocusableNode(g))&&p.Pc(g))f=g,e++;f!=d&&a.aa.fireFocus(f)}b.event.preventDefault(); return null};this.Zh=function(c){if(null!==c||1